Professional Documents
Culture Documents
To review: (1) Inputs to the controller are a measured indication of both the controlled variable and a setpoint representing the desired value of the
variable, expressed in the same fashion as the measurement; (2) the controller output is a signal representing action to be taken when the measured
value of the controlled variable deviates from the setpoint. The measured indication of a variable is denoted by b, and the actual variable is de-
noted by c. Thus, if a sensor measures temperature by conversion to resistance, the actual variable is temperature in degrees Celsius, but the
measured indication is resistance in ohms. Further conversion may be performed by transducers or transmitters to provide a current in mA, for
example. In such a case, the current becomes the measured indication of the variable.
Error
The deviation or error of the controlled variable from the setpoint is given by
e=r- b
where
e = error
Equation (2) expresses error in an absolute sense, or in units of the measured ana-
log of the control signal. Thus, if the setpoint in a 4- to 20-mA range corresponds to
9.9 mA and the measured value is 10.7 mA, we have an error of -0.8 mA. Obviously,
this current error has little direct meaning unless related to the controlled variable.
We could work back through the loop and prove that it corresponds to a flow rate of
1.1 m3/h, for example. This would show the significance of the error relative to the
actual process-control loop.
To describe controller operation in a general way, it is better to express the error as
percent of the measured variable range (i.e., the span). The measured value of a
variable can be expressed as percent of span over a range of measurement by the
equation
c - cmin
CP = * 100
cmax - cmin
cp = measured value as percent of measurement range
c = actual measured value
cmax = maximum of measured value
cmin = minimum of measured value
The previous equation is in terms of the actual measured variable, c, but the same
equation can be expressed in terms of the measured indication, b. It is necessary only
to translate the measured minimum and maximum to bmin and bmax.
To express error as percent of span, it is necessary only to write both the setpoint
and measurement in terms of percent of span and take the difference according to
Equation (2). The result is
r- b
eP = * 100
bmax - bmin
(1)
ep = error expressed as percent of span
You can see the convenience of using a standard measured indication range like 4 to
20 mA, because the span is always 16 mA. Suppose we have a setpoint of 10.5 mA and
a mea- surement of 13.7 mA. Then, without even knowing what is being measured, we
know the error is
10.5 mA - 13.7 mA
ep= 20 mA - 4 mA * 100
ep = -20%
A positive error indicates a measurement below the setpoint, and a negative error
indicates a measurement above the setpoint.
In the following treatment of electronic methods of realizing controller modes, emphasis is on the use of op amps as the primary circuit element.
Discrete electronic components also are used to implement this function, but the basic principles are best illustrated using op amp circuits. Op amp
Error Detector
The detection of an error signal is accomplished in electronic controllers by taking the dif- ference between voltages. One voltage is generated by
the process signal current passed through a resistor. The second voltage represents the setpoint. This is usually generated by
opposition to a voltage, Vsp, tapped from a variable resistor, Rsp, connected to a constant positive source, V0. The result is an error voltage,
Ve = Vsp - IR. This is then used in the process controller to calculate controller output.
An error detector also can be made from a differential amplifier. Such a system can be used only if the current from the transducer is referenced
to ground. Figure 3 shows one typical configuration. The sensor signal current passes to ground through RL, provid- ing a signal voltage, Vm = IRL. The
differential amplifier then subtracts this from the set- point voltage.
Proportional Mode
Implementation of this mode requires a circuit that has a re- sponse given by
KP = proportional gain
p = KPep + p0
ep = error in percent of variable range
The op amp circuit in Figure shows such an electronic proportional controller. In this case, the analog electronic equation for the output voltage is
V out P e + V0
=G V
Where
output for an error of 1% of the measurement range. Alternatively it could be described as the proportional band, PB 100/KP. This must now be
expressed in terms of the voltage gain, GP , in Equation (3). The relationship between GP and K is given by,
where
this temperature range. The controller output drives a heater with an output of 0 to 5 volts. What circuit
gain is needed if the controller of Figure 7 is to be used with a proportional gain of 4%/%?
The range of measurement voltage will be Vm 8V - 2V = 6 V. The output range is 5 volts. Thus, the