- •Control valve sizing
- •Importance of proper valve sizing
- •Gas valve sizing
- •Control valve characterization
- •Inherent versus installed characteristics
- •Control valve performance with constant pressure
- •Control valve performance with varying pressure
- •Characterized valve trim
- •Control valve problems
- •Mechanical friction
- •Flashing
- •Cavitation
- •Valve noise
- •Erosion
- •Chemical attack
- •Review of fundamental principles
- •Variable-speed motor controls
- •DC motor speed control
- •AC motor speed control
- •AC motor braking
- •DC injection braking
- •Dynamic braking
- •Regenerative braking
- •Plugging
- •Motor drive features
- •Use of line reactors
- •Metering pumps
- •Review of fundamental principles
- •Closed-loop control
- •Basic feedback control principles
- •Diagnosing feedback control problems
- •On/off control
- •Proportional-only control
- •Integral (reset) control
- •Derivative (rate) control
- •Summary of PID control terms
- •Proportional control mode (P)
- •Integral control mode (I)
- •Derivative control mode (D)
- •P, I, and D responses graphed
- •Responses to a multiple ramps and steps
- •Responses to a sine wavelet
- •Note to students regarding quantitative graphing
- •Parallel PID equation
- •Ideal PID equation
- •Series PID equation
- •Pneumatic PID controllers
- •Proportional control action
- •Automatic and manual modes
- •Derivative control action
- •Integral control action
- •Fisher MultiTrol
- •Foxboro model 43AP
- •Foxboro model 130
- •External reset (integral) feedback
- •Analog electronic PID controllers
- •Proportional control action
- •Derivative and integral control actions
- •Digital PID controllers
- •Direct digital control (DDC)
- •SCADA and telemetry systems
29.13. DIGITAL PID CONTROLLERS |
2359 |
The following photograph shows a set of functioning Foxboro SPEC 200 controller modules residing in a “nest,” used to control a flow loop and a pressure loop in a wood pulping process. Both active controller modules are P + I units. An unused PID module resides just to the left of the flow controller module:
Foxboro engineers went to great lengths in their design process to maximize reliability of the SPEC 200 system, already an inherently reliable technology by virtue of its simple, analog nature. As a result, the reliability of SPEC 200 control systems is the stu of legend32.
29.13Digital PID controllers
The vast majority of PID controllers in service today are digital in nature. Microprocessors executing PID algorithms provide many advantages over any form of analog PID control (pneumatic or electronic), not the least of which being the ability to network with personal computer workstations and other controllers over wired or wireless (radio) networks.
32I once encountered an engineer who joked that the number “200” in “SPEC 200” represented the number of years the system was designed to continuously operate. At another facility, I encountered instrument technicians who were a bit afraid of a SPEC 200 system running a section of their plant: the system had never su ered a failure of any kind since it was installed decades ago, and as a result no one in the shop had any experience troubleshooting it. As it turns out, the entire facility was eventually shut down and sold, with the SPEC 200 nest running faithfully until the day its power was turned o ! The functioning SPEC 200 controllers shown in the photograph were in continuous use at British Columbia Institute of Technology at the time of the photograph, taken in December of 2014.
2360 |
CHAPTER 29. CLOSED-LOOP CONTROL |
29.13.1Stand-alone digital controllers
If the internal components of a panel-mounted pneumatic or analog electronic controller (such as the Foxboro models 130 or 62, respectively) were completely removed and replaced by all-digital electronic componentry, the result would be a stand-alone digital PID controller. From the outside, such a digital controller looks very similar its technological ancestors, but its capabilities are far greater.
An example of a popular panel-mounted digital controller is the Siemens model 353 (formerly the Moore Products model 353):
This particular controller, like many high-end digital controllers and larger digital control systems, is programmed in a function block language. Each function block in the controller is a software subroutine performing a specific function on input signals, generating at least one output signal. Each function block has a set of configuration parameters telling it how to behave. For example, the PID function block in a digital controller would have parameters specifying direct or reverse action, gain (Kp), integral time constant (τi), derivative time constant (τd), output limits, etc.
29.13. DIGITAL PID CONTROLLERS |
2361 |
Even the “stock” configuration for simple, single-loop PID control is a collection of function blocks linked together:
|
|
|
|
|
|
Factory Configured Option 101 |
|
|
|
|
||||||||
|
|
TC |
SETPT |
|
|
|
|
Single Loop Controller |
|
|
|
|
|
|||||
|
|
|
|
|
|
|
|
with Tracking Setpoint |
|
|
|
|
|
|||||
|
|
TV |
|
01 |
|
|
|
|
|
|
|
|||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
NA |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
A/M |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
01 |
|
|
|
|
|
|
P |
|
|
01 A |
01 |
|
S |
|
|||
|
|
|
|
|
|
|
|
|
|
|
|
|||||||
AIN1 |
|
PID |
AOUT1 |
|||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|||
|
|
|
|
|
|
|
S |
|
|
|
|
AS |
|
|
|
|||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
F |
|
|
|
|
|
|
|
|
|
|
|
|
P |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ALARM |
|
|
|
A |
|
|
|
|
|
|
|
|
|
|
||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||
|
|
D |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The beauty of function block programming is that the same blocks may be easily re-linked to implement custom control strategies. Take for instance the following function block program written for a Siemens model 353 controller to provide a pulse-width-modulation (PWM, or timeproportioned) output signal instead of the customary 4-20 mA DC analog output signal. The application is for an electric oven temperature control system, where the oven’s heating element could only be turned on and o fully rather than continuously varied:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
PWM digital output |
||||
|
|
TC |
|
SETPT |
01 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
controller configuration |
|||||||
|
|
TV |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Tony R. Kuphaldt (2008) |
||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
and a duty cycle varying |
|||||
|
|
|
|
|
|
PS |
|
S |
|
|
|
ET A |
|
|
01 |
|
|
between 0% and 100%, |
|||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||||||
|
|
|
PB1SW |
|
|
RCT01 |
GB01 |
|
|
inclusive. |
|
|
|
||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Action = "sus" |
Off time = 0.001 min |
|
On time = 0.001 min |
|
Note: these short times are |
|
possible only with rev 1.3 or |
|
later controller firmware |
INA Gain = 50,000
OUT Gain = 1
INA Bias = 0
OUT Bias = 0
2362 |
CHAPTER 29. CLOSED-LOOP CONTROL |
In order to specify links between function blocks, each of the used lettered block inputs is mapped to the output channel of another block. In the case of the time-proportioned function block program, for example, the “P” (process variable) input of the PID function block is set to get its signal from the “01” output channel of the AIN1 (analog input 1) function block. The “TV” (tracking value) input of the SETPT (setpoint) function block is also set to the “01” output channel of the AIN1 function block, so that the setpoint value generator has access to the process variable value in order to implement setpoint tracking. Any function block output may drive an unlimited number of function block inputs (fan-out), but each function block input may receive a signal from only one function block output. This is a rule followed within all function block languages to prevent multiple block output signals from conflicting (attempting to insert di erent signal values into the same input).
In the Siemens controllers, function block programming may be done by entering configuration data using the front-panel keypad, or by using graphical software running on a personal computer networked with the controller.
For applications not requiring so much capability, and/or requiring a smaller form factor, other panel-mounted digital controllers exist. The Honeywell model UDC3000 is a popular example of a 1/4 DIN (96 mm × 96 mm) size digital controller:
Even smaller panel-mounted controllers are produced by a wide array of manufacturers for applications requiring minimum functionality: 1/8 DIN (96 mm × 48 mm), 1/16 DIN (48 mm × 48 mm), and even 1/32 DIN (48 mm × 24 mm) sizes are available.
29.13. DIGITAL PID CONTROLLERS |
2363 |
One of the advantageous capabilities of modern stand-alone controllers is the ability to exchange data over digital networks. This provides operations and maintenance personnel alike the ability to remotely monitor and even control (adjust setpoints, switch modes, change tuning parameters, etc.) the process controller from a computer workstation. The Siemens model 353 controller (with appropriate options) has the ability to digitally network over Ethernet, a very common and robust digital network standard. The following photographs show three such controllers connected to a network through a common 4-port Ethernet “hub” device:
2364 |
CHAPTER 29. CLOSED-LOOP CONTROL |
Special software (in this case, Siemens Procidia) running on a computer workstation connected to the same Ethernet network acquires data from and sends data to the networked controllers. Screenshots of this software show typical displays allowing complete control over the function of the process controllers: