Motor Resonance
31 Dec 2019 17:20 #153618
by CNC32
Replied by CNC32 on topic Motor Resonance
I have just tried to delete only the lines likebut it still gave me an error. I don't know if that makes any difference but my motors still resonate after I move them in the Pncconf Wizard
setp pid.X.maxerror .0005
Please Log in or Create an account to join the conversation.
31 Dec 2019 17:22 #153620
by Grotius
Replied by Grotius on topic Motor Resonance
I move the axis and then stop it and it starts to resonate.
It could be a servo drive setting. Can you adjust something like gain?
It could be a servo drive setting. Can you adjust something like gain?
Please Log in or Create an account to join the conversation.
31 Dec 2019 17:40 #153624
by CNC32
Replied by CNC32 on topic Motor Resonance
PCW said
To reply to Grotius he siad
Thanks for the replies PCW and Grotius!
Forgive me for not knowing but what is a P term and where can I adjust it.The reason the step/dir output is dithering is because you have a P term of 10000
This should normally be 1/servo thread period = 1000
To reply to Grotius he siad
I don't think this is the issue for one I did not change to servo motor tuning and when I jog the servo motor with the Clearpath software the motos behave exactly as expected and two I did not change anything in the servos when I used mach4 to control them. I think there are some funny step and direction singles going on but I could be wrong.It could be a servo drive setting. Can you adjust something like gain?
Thanks for the replies PCW and Grotius!
Please Log in or Create an account to join the conversation.
31 Dec 2019 17:45 - 31 Dec 2019 17:52 #153625
by PCW
Replied by PCW on topic Motor Resonance
For all joints the P term should be changed to 1000
[JOINT_0]
# If using BACKLASH compensation STEPGEN_MAXACCEL should be 100% larger.
STEPGEN_MAXVEL = 4.58
STEPGEN_MAXACCEL = 37.50
P = 10000.0
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
This was probably set wrong because you initially had set a very high servo thread rate instead of the default 1 ms (= 1000000 ns)
[JOINT_0]
# If using BACKLASH compensation STEPGEN_MAXACCEL should be 100% larger.
STEPGEN_MAXVEL = 4.58
STEPGEN_MAXACCEL = 37.50
P = 10000.0
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
This was probably set wrong because you initially had set a very high servo thread rate instead of the default 1 ms (= 1000000 ns)
Last edit: 31 Dec 2019 17:52 by PCW.
Please Log in or Create an account to join the conversation.
31 Dec 2019 17:54 #153626
by CNC32
Replied by CNC32 on topic Motor Resonance
Thank you so much PCW! changing the P term to 1000 in the ini file worked! thanks!
Please Log in or Create an account to join the conversation.
Time to create page: 0.734 seconds