Automation of Water Resource Recovery Facilities. Water Environment Federation

Чтение книги онлайн.

Читать онлайн книгу Automation of Water Resource Recovery Facilities - Water Environment Federation страница 49

Automation of Water Resource Recovery Facilities - Water Environment Federation

Скачать книгу

Control

      Perhaps the most common control mechanism in the wastewater treatment industry is the proportional–integral–derivative (PID) controller. To understand how it works, consider its use in controlling the speed of an automobile via a cruise control system.

      If a car maintaining a speed of 88 km/h (55 mph) on a flat road slowed down because of a change in wind or road slope, the proportional (P) control loop would press the accelerator in proportion to the error (E), as follows:

      Where

      PV = actual speed (process variable) and

      SP = desired speed (setpoint).

      The accelerator position is the manipulated variable (M). This type of control can be expressed as

      Where

      M’ = the setting of the manipulated variable when E = 0 and

      KC = the controller’s proportional gain (e.g., how far the accelerator is pressed or released per increment of error).

      The response of the proportional control loop depends on the value of the gain. Suppose KC is 3.9 mm per km/h (0.25 in. per mph) above or below the setpoint speed. If this is too large, a drop in speed would cause the cruise control system to press the accelerator too far, increasing the speed too much, and then the system would release the accelerator too far, slowing the car too much. If it exceeds a critical value, a disturbance could cause the system to oscillate. So, KC affects the system’s stability, which is a crucial consideration in control system design.

      If, on the other hand, KC is too small, a drop in speed would not be compensated for sufficiently, and the car’s speed would settle at a new value with a nonzero error. This steady-state error is called the controller offset (droop), which cannot be completely eliminated while maintaining a stable system, except by an integral control loop.

      An integral control loop continuously adjusts the manipulated variable at a rate proportional to the amount of error until the offset is eliminated. As such, when the car starts moving up a hill, the proportional control loop presses the accelerator a preset distance, which partially compensates for the incline. The integral control loop continues pressing the accelerator until the setpoint speed is reached, which can completely eliminate the controller offset.

      The combination of proportional and integral control is described as

      Where

tI = integral time constant (reset time) and
1/tI = minutes per reset (i.e., how fast the controller increases its action in proportion to the amount of error).

      If 1/tI were large, the controller would press the accelerator rapidly whenever the speed dropped. As a result, the car would still be accelerating when the setpoint was reached and would overshoot the desired speed. During each overshoot, the controller would correct itself, causing the system to oscillate around the setpoint. Depending on KC and tI, the oscillations would either decrease until the system settles at the setpoint or they would increase, indicating that the system is unstable.

      The third type of control in a PID controller is a derivative control loop, which adjusts the manipulated variable in proportion to the rate of change of the process variable. As such, when the car’s speed changes, the accelerator is moved in proportion to how fast the speed is changing. This helps dampen changes in response to large disturbances. (Derivative control is rarely needed in wastewater treatment applications.)

      The equation for combined PID control is

      Where tD is the derivative rate parameter (how much the controller responds based on the error’s rate of change). Therefore, in a PID controller, the proportional control loop responds to the control variable’s current value, the integral control loop responds to the control variable’s history, and the derivative control loop anticipates the control variable’s future values. Because PID is the most common control mechanism used, it is implied, if not explicitly stated, in many of the strategies in the remainder of this chapter.

      Selecting appropriate proportional-gain, reset-time, and rate-of-change parameters for a PID controller can be difficult. One option is to calculate the parameters based on a simple analytical model of the process using the basic control theory found in textbooks. Another is to tune the control system experimentally by introducing a disturbance to the treatment process, observing the dynamic response, calibrating a simplified model based on that response, and then calculating the parameters based on the model, again using basic control theory. To compare the effectiveness of various controller settings, engineers typically use standardized controller-performance measures such as minimum offset, one-quarter decay ratio, or minimum integral square error (Stephanopolous, 1984).

      Some of the most common methods for tuning a PID controller are experience-based principles, online trial and error, Cohen–Coon and Ziegler–Nichols analytical methods, and computer simulation. Experience is the tuning method of choice for common control loops (e.g., flow, level, pressure, or temperature). In flow control, for example, engineers typically set the proportional gain low to reduce the effects of noise, which are inherent in many flow meters (Luyben, 1973). They also set the integral reset time low to respond quickly to changes in setpoint error.

      The online trial-and-error and Cohen–Coon and Ziegler–Nichols methods are experimental. During online trial and error, engineers repeatedly double KC until the process starts to oscillate (Luyben, 1973). The value of KC at this point is called the ultimate gain. They then set KC at half the ultimate gain. Then, they repeatedly double the integral control loop by repeatedly halving tI until the system begins oscillating again. They then set tI to twice that value. Finally, they increase tD until signal noise begins to affect the system and then set tD to half of that value. Engineers repeat this procedure using smaller changes in controller settings until the desired controller performance is achieved.

      In the Cohen–Coon method, engineers first allow the process to achieve steady state without the controller (Stephanopolous, 1984). They then change the manipulated variable and plot the process variable’s response over time as the process returns to steady state. This plot is known as the process reaction curve, from which two measurements are made. This curve is used to estimate the process gain, process time constant, and dead time (a first-order relationship with dead time is assumed). Engineers then use these values to calculate the controller tuning parameters KC, tI, and tD.

      The Ziegler–Nichols method involves using formulas to calculate tuning parameters based on KC measured in the trial-and-error method. Both the Cohen–Coon and Ziegler–Nichols methods have some practical shortcomings. They are not always

Скачать книгу