using linuxcnc for laser fiber marking

More
12 Oct 2021 16:13 #222946 by andypugh
Sorry, can you describe the current problem in more detail?

Please Log in or Create an account to join the conversation.

More
13 Oct 2021 06:36 - 13 Oct 2021 06:40 #223005 by mahdi2001h
Sure! 
in below I uploaded one zip file contains two videos , video 1 shows the gcode output in linuxcnc , and video 2 shows the actual output with galvo 

File Attachment:

File Name: video.zip
File Size:878 KB


I used configuration provided by PCW in here
Attachments:
Last edit: 13 Oct 2021 06:40 by mahdi2001h.

Please Log in or Create an account to join the conversation.

More
13 Oct 2021 11:59 #223018 by andypugh
A possibility is that the acceleration (or velocity) is now _too_ high and the actuators are skipping steps. Note that I don't know if this is even possible, I don't know what the internal actuators are in your galvanometer (I have one driven by stepper motors, but that is more intended for position indication in a manual PCB assembly system)
This frame from your video would appear to be consistent with this possibility.

Does the galvanometer have any specifications for angular velocity an acceleration?
Attachments:

Please Log in or Create an account to join the conversation.

More
13 Oct 2021 14:09 #223023 by mahdi2001h
in fact galvo, haven't stepper motor , it uses a special actuator, This is a picture of it:
 

I must also say the problem is not the hardware
I checked the position command from start to finish
The last place where the position is stored is the pid controller,  The speed is then used to command the xy2-100 hal component , and position of xy2-100 output (in software) always is same with hardware output.
i think the problem is pid !
Attachments:

Please Log in or Create an account to join the conversation.

More
13 Oct 2021 14:44 #223025 by PCW
If you don't get following errors, the PID is not the issue
What are your following error limits?

Please Log in or Create an account to join the conversation.

More
13 Oct 2021 14:48 #223026 by mahdi2001h

If you don't get following errors, the PID is not the issue
What are your following error limits?
 

I do not have following errors

Please Log in or Create an account to join the conversation.

More
13 Oct 2021 14:50 #223027 by PCW
What are your following error limits?

Please Log in or Create an account to join the conversation.

More
13 Oct 2021 15:03 #223029 by mahdi2001h

What are your following error limits?

Sorry didn't notice

FERROR =    .020
MIN_FERROR = .002

Please Log in or Create an account to join the conversation.

More
13 Oct 2021 15:07 #223030 by PCW
OK that means the PID is not the issue.

It means the XY2-100 interface is outputting the numbers
that LinuxCNC commands within the following error limits

Maybe the error is in the interface, are you sure you have the clock and data polarity correct?

Please Log in or Create an account to join the conversation.

More
14 Oct 2021 09:18 #223067 by mahdi2001h
I used to use your configuration for testing, but now I have edited that configuration and now I know that my configuration was incorrect
this is my new config :

File Attachment:

File Name: configs_20...0-14.zip
File Size:4 KB


with :
FERROR =    3
MIN_FERROR = 3

i have following error.

The error is related to my high speed!
What should I do to configure pid for high speed ?! 
Attachments:

Please Log in or Create an account to join the conversation.

Time to create page: 0.111 seconds
Powered by Kunena Forum