by Tony » Mon May 26, 2008 12:00 am
The electronic manometer is exactly as discussed elsewhere.
The PID is the "brain" that decides how much, and how fast to apply any correction to the motor power, to reach and hold a stable test pressure setting.
Think of this as like being in under the shower at home, and adjusting the water temperature.
To get the water temperature exactly right needs a delicate touch. You cannot just wildly spin taps around and expect to reach a steady temperature. The water will likely swing from freezing cold to scalding hot as you get more angry with those taps !!!
But if you very slowly move one tap a little bit at a time, you can eventually get the water temperature just right. Controlling blower speed is exactly like that. You need to control how much correction to apply, and how fast to add in the correction.
Two tuning parameters "how much" and "how fast" to correct any error.
Too little, or too slow will work fine, but then it may take a very long time to reach a stable final exact pressure. Too much, or too fast, you will overshoot and the pressure then starts to swing wildly as it desperately keeps over correcting first one way, then the other.
The PID controller is the "brain" and tuning it, is really telling it how aggressive it can be, in correcting any error, without things going horribly wrong and totally out of control.
The control "knob" is just an adjustable voltage source that comes from a potentiometer. The PID controller attempts to reduce any difference between the required test pressure coming from the "knob" and the actual test pressure measured by the "manometer". When these are both the same, the pressure error will be zero, and the test pressure will be whatever you have set on the "knob".
Any difference between the two causes the controller to start slowly changing the power to the motor. But like your shower, you want this correction to be very gentle and gradual, but not to be so slow it takes forever.
The trick is to just make it aggressive enough to work reasonably fast, without any nervous over correction or instability. It is this ability to "tune" a PID controller that makes it so useful in adjusting all sorts of things automatically.
Also known as the infamous "Warpspeed" on some other Forums.