Spindle PID Tuning question

More
13 May 2022 03:50 #242850 by hoverdj
I've read variously that basically, start with PID all set at 0 and increase P incrementally until a disturbance in the force is felt, then increase I and D until things become stable and the speed settles in a reasonable amount of time. That all sounds great. However, I've noticed a couple things in my setup that makes me hope for more detail.

Is the instability I'm looking for when I start from a dead standstill, or when the spindle has been already been running? I ask because of the following:
1) I can increase P to a point where I get a wobble (a "ringing" of sorts) in Hal Scope when the spindle turns on, but it eventually smooths out. But If I increase P more, it turns into a consistent oscillation. So, am I looking for the point where the ringing starts, or the full-on oscillation?
2) If I increase P while the spindle is running until there is instability, then stop the spindle and restart at the same speed, it will oscillate badly and not recover (at least not for as long as my patience lasts).

Similarly, when I try the Ziegler-Nichols method of increasing P until a knock on the spindle axis results in instability, there are different degrees of instability: 1) a slight bounce of the speed 2) a bit of a wobble that recovers quickly and 3) full blown oscillations. Which sort of "instability" should I be looking for?

Thanks
Darryl 

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

More
13 May 2022 10:38 #242867 by tommylight
Not sure about spindles, but for servo you get to 1 and then back off till there is no wobble or oscillations.

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

More
13 May 2022 22:35 #242916 by hoverdj
Replied by hoverdj on topic Spindle PID Tuning question
So are you saying that when I see things like in the attached screenshot when starting the spindle, I should back off P?
Attachments:

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

More
13 May 2022 23:32 #242919 by andypugh
The halscope is over-tuned. So if you can't pull it back under control with D then reduce the P some more.

For spindle alignment you don't really need great dynamic performance anyway, I would probably leave it quite under-tuned, aiming mainly for low final error.

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

More
15 May 2022 14:03 #243020 by hoverdj
Replied by hoverdj on topic Spindle PID Tuning question
Thank you both for your comments. They are very helpful.
Darryl

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

Time to create page: 0.067 seconds
Powered by Kunena Forum