how to synchronize two servomotors

More
9 years 4 months ago #95162 by andypugh
Your Y motor PIDs seem to be running open-loop, you have an FF1 term but no P-gain. You need at least some P-term to close the loop.

If these are step-dir servos in position mode you could try configuring as a plain step/dir system without PID.

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

More
9 years 4 months ago #95203 by Jasper 3
hey,

I also tried higher P -values.
when I run the servomotors without an closed loop they turn off after a while. The Driver then says overcurrent. But I can run them without any withle or so.
In the halscope I also checkt the encoder -position of both servos. They were absolutely identical. The F-error were slightly different.
what i also noticed is, that when I quick change the dirction of the motors I get a following error 3.

One question I have is. How do I tune the servos? I cant connect them to my gantry while tuning, because of the issues. But tuning them without any load is also not ideal.

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

More
9 years 4 months ago #95222 by PCW
Did you fix the 0 P terms? (a 0 P term cannot work)
Did you use identical PID values for the two slaved axis?

Can you post your _current_ hal and ini files?

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

More
9 years 4 months ago #95224 by Jasper 3
hey,
here are my actual ini an hal files.

File Attachment:

File Name: Linuxcnc_P...6-30.hal
File Size:15.48 KB

File Attachment:

File Name: Linuxcnc_P...6-30.ini
File Size:5.03 KB

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

More
9 years 3 months ago #95282 by andypugh
How does the gantry behave with a P of one? How did you settle on that number?

I would suggest setting up the HAL so that the two motors share a set of PID terms from the INI file, just to make sure that the PID Gains stay identical for the two sides.

Or, there is the option (that I think I mentioned earlier) of running the drives in position mode.

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

More
9 years 3 months ago #95295 by Jasper 3
hey,
my servomotors get there cmd's in step dir signals. I set my servodrive up, so he runs in position mode. But not sure if you mean that?
The P value 1 is also ok but the servo overshoots a lot. For the p values I used the halscope. But I didnt connect the gantry cause of the whistle.

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

Time to create page: 0.308 seconds
Powered by Kunena Forum