Motor Resonance
30 Dec 2019 23:00 #153572
by CNC32
Motor Resonance was created by CNC32
I have a mesa 7i96 and I am using clearpath servo motors which provide no singles back to the 7i96. But anyway when I am testing the motors I move the axis and then stop it and it starts to resonate. I have previously used Mach4 and I did not have this problem. When I looked at the clearpath diagnostics software I noticed that when I moved the axis and stoped the axis the direction signal was fluctuating and the step single was fluttering on and off. It is almost like Linuxcnc is trying to give the motors feedback when the clearpath servo motors already provide there own feedback. Some suggestions would be greatly appreciated.
Please Log in or Create an account to join the conversation.
30 Dec 2019 23:03 #153574
by cmorley
Replied by cmorley on topic Motor Resonance
please post your config files. probably need to adjust your PID values a bit.
Chris
Chris
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19209
- Thank you received: 6438
30 Dec 2019 23:04 #153575
by tommylight
Replied by tommylight on topic Motor Resonance
In the hal file, check if you have something like " .........maxerror 0.5 " or similar, delete all the line containing that.
It might also be from interferences from unshielded cables.
It might also be from interferences from unshielded cables.
Please Log in or Create an account to join the conversation.
30 Dec 2019 23:19 #153577
by CNC32
Replied by CNC32 on topic Motor Resonance
I have attached my config files. I searched the base_config.hall for maxerror and there are 6 instances that all say
step pid.x.maxerror .0005
Attachments:
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19209
- Thank you received: 6438
30 Dec 2019 23:27 #153579
by tommylight
Or just put # in front of those lines, save and restart Linuxcnc.
Replied by tommylight on topic Motor Resonance
Delete those lines and the lines above them. something with "previous error......."I have attached my config files. I searched the base_config.hall for maxerror and there are 6 instances that all say
step pid.x.maxerror .0005
Or just put # in front of those lines, save and restart Linuxcnc.
Please Log in or Create an account to join the conversation.
30 Dec 2019 23:54 #153581
by CNC32
Replied by CNC32 on topic Motor Resonance
Thakyou tommylight for the help!
I have just edited that hal file and commented them out with a # in front of the lines for exampleWhen I go to run linuxCNC I get an error message saying
I have reverted back to the original hal file.
I have included the modified hal file here
I have just edited that hal file and commented them out with a # in front of the lines for example
#setp pid.X.error-previous-target true
#setp pid.X.maxerror .0005
./Base_config.hal:1: Unknown command ' '
2373
I have reverted back to the original hal file.
I have included the modified hal file here
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19209
- Thank you received: 6438
31 Dec 2019 05:00 #153585
by tommylight
Replied by tommylight on topic Motor Resonance
That error says you have something wrong on line 1 of the hal file, everything else looks ok.
Please Log in or Create an account to join the conversation.
31 Dec 2019 16:25 #153612
by PCW
Replied by PCW on topic Motor Resonance
You need these lines:
setp pid.N.error-previous-target true
setp pid.N.error-previous-target true
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19209
- Thank you received: 6438
31 Dec 2019 16:51 #153614
by tommylight
Thank you.
Replied by tommylight on topic Motor Resonance
Sorry, i thought that should also go, was not sure though.You need these lines:
setp pid.N.error-previous-target true
Thank you.
Please Log in or Create an account to join the conversation.
31 Dec 2019 17:18 #153617
by PCW
Replied by PCW on topic Motor Resonance
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
This should normally be 1/servo thread period = 1000
Please Log in or Create an account to join the conversation.
Time to create page: 0.081 seconds