Closed Loop Method

Note: This text is meant to be used with a flow loop simulator.  If you do not see a flow controller above, please click here.

Our goal is to determine the control loop's Ultimate Gain (Ku) and Ultimate Period (Pu), and use them to calculate the tuning parameters.  The Ultimate Gain is the controller gain at which the process variable cycles at a constant amplitude, as shown below in figure C.  The Ultimate Period is the time it takes the process variable to complete one cycle.  To practice, and to get a feel for how this method works, follow the steps below to tune the flow loop above.  Notice the P term is implemented as gain (Kc); the I term, integral,  is in repeats per minute (Ri), and derivative, D, is in minutes (Td).  The controller is reverse acting; the flow control valve is "air to open."  That is, the flow control valve is closed when the controller output is at zero percent.

  1. Document the controller's current P, I, and D settings.  Of course, this step is irrelevant in this demonstration but should be observed in the real world.
  2. If the controller is in automatic, switch it to manual.
  3. Set the controller's integral (Ri) and derivative (Td) parameters to their minimum settings.  Remember, if integral is implemented as "minutes per repeat," its minimum setting is a very large number.  In this case, however, integral is implemented as "repeats per minute," so zero is ideal.  Zero is ideal for derivative also.
  4. Set the controller's gain (Kc) to a relatively small value.  When the technician or engineer is tuning an existing control loop, the controller gain as found is usually a good initial value.  This process loop is very responsive, so a gain of one should be a good starting point.
  5. With the controller in manual, set the controller's output (OP) to a value that maintains the process variable (PV) close to its normal operating point.  In this case, manipulate the controller output (OP) to achieve a flow rate (PV) of about fifty.  The astute technician or engineer may notice a deficiency here.  Do you?  After you accomplish this step, click here (future) for the answer.
  6. When the process variable  is stable, switch the controller to automatic.
  7. Step change the controller set point (SP) ten percent and observe the process variable.  The process variable may be easier to observe if the output trace is switched off.  To do so, remove the check mark beside the OP label.
  8. Analyze the process  variable: figure 1
Proportional and Integral (PI) Controller
Proportional Band PB = 2.2 * PBu
Gain (Kc) Kc = 0.45 * Ku
Integral (repeats per minute) Ri = 1.2 / Pu
Integral (minutes per repeat) Ti = Pu / 1.2

Proportional, Integral, and Derivative (PID) Controller

Proportional Band PB = 1.7 * PBu
Gain (Kc) Kc = 0.6 * Ku
Integral (repeats per minute) Ri = 2 / Pu
Integral (minutes per repeat) Ti = Pu / 2
Derivative Td = Pu / 8

Clabberhead used the Ultimate Method to determine the following PID settings for the above flow controller:
Kc = .844
Ri = 8.4
Td = 0

[Home]