Help with the big picture

More
11 Jan 2024 18:36 #290444 by tommylight
It does not matter if you use analog or step/dir with LinuxCNC, granted you close the loop in LinuxCNC, everything works perfectly.
Step/dir is easier to setup and tune with less chances of "run away" or mishaps.

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

More
23 Apr 2024 02:55 - 23 Apr 2024 02:56 #298887 by vre
Replied by vre on topic Help with the big picture

If you are using the 7i77 then you pretty much have to use analogie voltage control.
Position control with analogue voltage is a terrible idea, so not that.

Torque control and Speed control can both work, but speed control is likely to be much easier to tune.

I was recently introduced to a very simple and effective way to control an axis under speed control.

Set up the PID for position control, in the usual way.
Connect pid.N.command-deriv to joint.N.vel-cmd

Set P I and D to zero, and adjust the pid.N.FF1 value until the axis speed and commanded speed match exactly.

Then you should find that all you need is a very small amount of P gain to bring things under control.
 


Is this method a better alternative from classic method?
(increase P until oscillation then reduce P to 70% then eliminate cruise ferror with FF1 and fix start-stop error with little FF2)
Can you give an example for a hal file generated by pncconf ?
Last edit: 23 Apr 2024 02:56 by vre.

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

Moderators: cncbasher
Time to create page: 0.079 seconds
Powered by Kunena Forum