- Posts: 1943
- Thank you received: 0
Servo Tuning Help
10 years 1 week ago #81973
by bevins
Servo Tuning Help was created by bevins
Hi all,
I am having trouble getting my servo's tuned especially the slaved Y to A.
What I did was up the P until it stats to oscillate. Then I go back on the P until it stops oscillating. Then I have it like in the pic. But whatever I do, I cannot get the f-error to straight.
The other drives are much worse.
I tried, raising ff1, and it distorts the oscillating, but never can get it to go away.
I am having trouble getting my servo's tuned especially the slaved Y to A.
What I did was up the P until it stats to oscillate. Then I go back on the P until it stops oscillating. Then I have it like in the pic. But whatever I do, I cannot get the f-error to straight.
Attachment not found
The other drives are much worse.
I tried, raising ff1, and it distorts the oscillating, but never can get it to go away.
Please Log in to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
-
Less
More
- Posts: 4739
- Thank you received: 2
10 years 1 week ago #81978
by Todd Zuercher
Replied by Todd Zuercher on topic Servo Tuning Help
I'd say that is still too much P, back it off until the oscillation is minimized during the movement, as well. Then set FF1 to minimize flowing error.
Please Log in to join the conversation.
10 years 1 week ago #81991
by andypugh
Replied by andypugh on topic Servo Tuning Help
Do you have an I-Gain?
Please Log in to join the conversation.
10 years 6 days ago #82057
by bevins
Yes, This is on the X and it has to be - or it goes a bit crazy.
Replied by bevins on topic Servo Tuning Help
andypugh wrote: Do you have an I-Gain?
Yes, This is on the X and it has to be - or it goes a bit crazy.
Attachment not found
Please Log in to join the conversation.
10 years 6 days ago #82058
by bevins
Replied by bevins on topic Servo Tuning Help
OK, here it is with positive scale. And I fixed the div so it is more readable.
Attachment not found
Please Log in to join the conversation.
10 years 6 days ago #82061
by bevins
Replied by bevins on topic Servo Tuning Help
These are KRS drives, I have removed the option of the drives handling internal pid, so it is sending out to Linuxcnc the encoder and linuxcnc is handling the PID.
Please Log in to join the conversation.
10 years 6 days ago #82062
by bevins
Replied by bevins on topic Servo Tuning Help
Here are some pics of the machine.
Attachment not found
Attachment not found
Attachment not found
Please Log in to join the conversation.
10 years 4 days ago #82156
by bevins
Replied by bevins on topic Servo Tuning Help
Anyone have an at_pid config I can look at?
Please Log in to join the conversation.
10 years 4 days ago #82157
by PCW
Replied by PCW on topic Servo Tuning Help
Are the drives programmed for velocity or torque mode operation?
(if torque mode, you will likely need to run a faster servo thread to get decent performance)
(if torque mode, you will likely need to run a faster servo thread to get decent performance)
Please Log in to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
-
Less
More
- Posts: 4739
- Thank you received: 2
10 years 4 days ago #82158
by Todd Zuercher
Replied by Todd Zuercher on topic Servo Tuning Help
Peter, brings up a very good point. You said earlier that you disabled the drives PID. That may have been a mistake, if you disabled the drives velocity loop. Without that the drive would be operating in "torque mode" where the analog input would be a force command. This is much more difficult to tune in Linuxcnc that the usual velocity command. But to have a velocity control the drive needs to have some kind of feedback loop that needs to be tuned. You may need to study the manuals for your drives a bit more.
Please Log in to join the conversation.
Time to create page: 0.121 seconds
