PID tuning methods

OysterMan

Member
Join Date
Apr 2019
Location
Virginia
Posts
39
Hello,

I have somewhat minimal experience tuning PID systems. Ive done a small servo controlled camera gantry. In the process of tuning sometimes the camera would flail around wildly but it was okay due to how small and safe the system was. Im now faced with another system thats much larger and cant really be simulated easily so Im curious how PID is tuned for potentially dangerous systems. If I wanted to make a simulation it would take quite a while to set it up. Do you have any reading material that would help me learn about how the pros do it? Currently I know a little about how the values are related and how they affect each other but Im not quite experienced enough to apply it without the 'change this and see what happens method' which doesnt fly with something like a rocket or nuclear reactor lol.
 
Wow @ GaryS, those are great videos, and that last video by ElectroNoob is especially brilliant.


OP is going to have to either be very careful in the tuning as they note, or invest time in modeling. The latter is, to answer the OP's query, "how the pros do it," but will require significant effort to get good data and rigorous analysis to adequately characterize the system. The former is risky, but we almost always end up there. Actually, a simple conservative model might be useful to get a safe starting point for the former. Small moves, Ellie, small moves.


I can't think of other options, but that doesn't mean there aren't any.


TL;DR


As far as the mechanics of modeling, I found that AdvancedHMI is a simple and useful way to tie a simulation to a PLC control system. VB is a simple language; assuming one has the math and programming chops it is straightforward to make a model. I have also used simulation via Python as a another approach for the theory. As far as judging whether the model adequately matches the real process, I doubt that, short of a PO, anyone here can do more than encourage.




I am NOT* suggesting it here, but as an example, Zeigler-Nichols, is a form of characterizing (modeling) the process, and using that model to tune the PID. However, even if Z-N's model is close to reality, it's tuning goals (disturbance rejection) may be inconsistent with OP's (e.g. command tracking?). My point is that OP will need some kind of model to start. Computer CPU and programming is cheap; OP's time is not, but I suspect it is a lot cheaper than replacing a damaged process.



* Z-N is applicable to some processes (first-order and sluggish, IIRC) and not to others; we don't know enough about OP's process to say whether it would work here.
 
OysterMan said:
so Im curious how PID is tuned for potentially dangerous systems

Very carefully.... sorry had too



and that last video by ElectroNoob is especially brilliant.

I agree, I know what PIDs are and have been setting them up for years but I still watched that complete video... thinking about building something like his as a trainer

EDIT: Not sure what PLC your using or if a PLC but Tim has made some good videos for Allen Bradley PID's https://www.youtube.com/playlist?list=PLUi5cdVq3wTCs3PtNq68jYqlNbwMr5AwP
 
Last edited:

Similar Topics

Hello, I am attempting to tune a PID loop on a process. The process involves a valve with electronic actuator that has quite a high deadband...
Replies
10
Views
1,907
so i have 4 25gpm wells feeding a 1000gal tank (T-1), with an additional 15gpm from a decant tank for 3hrs every 12hrs. P1 and P2 both controlled...
Replies
154
Views
34,530
Hi everyone, yet another PID problem. I'm hoping I understand enough of the process I'm controlling that my request for help is reasonable. If a...
Replies
113
Views
26,614
A few months ago, I started to look into PID controllers and the tuning of first order processes. This has, partly thanks to you, resulted in a...
Replies
162
Views
59,932
I haven't had to tune a PID loop in a very long time. It's actually a PI loop for a pulse width modulation s.v. What was the name of that tuning...
Replies
16
Views
3,926
Back
Top Bottom