News for hackers. Stuff that matters.
Re:PID Controller Explainer (2022) by jcgrillo on Saturday April 06, 2024 @12:01PM (#39953305)
Any recommendations for an algorithm for safe online PID tuning? Maybe something involving pole placement or frequency response analysis?
Re:PID Controller Explainer (2022) by jopizio on Saturday April 06, 2024 @12:22PM (#39953449)
I've used this successfully for some hardware projects: https://pidtuner.com/#/
Re:PID Controller Explainer (2022) by jcgrillo on Saturday April 06, 2024 @02:23PM (#39954345)
That looks like it's using the step response, which is on for an offline tuner but it wouldn't work for online tuning. Think of an automotive cruise control--to measure the step response the controller would have to floor it, which wouldn't be safe. I'm looking for something that slowly, continuously optimizes the tuning parameters as the controller is running.
Re:PID Controller Explainer (2022) by salamanderman on Saturday April 06, 2024 @02:51PM (#39954523)
It really is mostly empirical, especially since any real system has limits on the amount of proportional, derivative, or integral control authority you can apply. Still, every controls student is taught Zeigler Nichols, and are simultaneously told by their professors that nobody uses it. https://en.m.wikipedia.org/wiki/Ziegler%E2%80%93Nichols_meth...