Sawtooth PID error

More
07 Oct 2024 14:15 #311490 by alangibson
Hello all. I'm tring to get rid of a small steady state following error on the X axis of an XYYZ cartesian plasma cutter [see first screenshot].

Any amount of P produces a sawtooth error pattern [see screenshots 2, 3, 4]. I can't find any combination of P, I, D or FF1 that even starts to get rid of this jumpyness.

Has anyone experienced this before?

I'm beginning to think that the error is somewhere else in my configuration and I'm not seeing it, so I've also uploaded my hal and ini files.
Thanks in advance for any help you can offer.

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

More
07 Oct 2024 14:37 #311495 by tommylight
Replied by tommylight on topic Sawtooth PID error
FF1 = 0
FF1 needs a value, but getting it might be very easy or very hard.
It is easy if you know the max RPM at max output from LinuxCNC, but harder when no such info is available, so a bit of tuning is needed to find the right value.
Here is a how to find it for Mesa analog stuff, should be the same procedure
forum.linuxcnc.org/10-advanced-configura...ning-detailed-how-to
Skip the wiring part.

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

More
07 Oct 2024 17:46 #311506 by Todd Zuercher
Replied by Todd Zuercher on topic Sawtooth PID error
What could cause cyclic perturbation like that? Would seem like it might be a mechanical issue, once per revolution of a messed up belt, pulley, bearing? Or maybe a latency or electrical interference spike every 1.66secons? If you move at a different velocity, does the frequency of the error pattern change? What does the velocity feedback plot look like?

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

Time to create page: 0.149 seconds
Powered by Kunena Forum