NOVEL BUMP-LESS TRANSFER TERM FOR CONTROL SYSTEM
DESCRIPTION :
Introduction:
In control engineering, an error signal is derived in response to a measurement of a parameter it is desired to control. An automatic control signal is then derived from the error signal by a controller and used to control some aspect of the system to compensate the error. In its simplest form, this control signal is made to be proportional to the error signal. However, quite often components of the control signal are also produced which are the first order derivative or integral of the error signal. Controllers which employ these components are usually called proportional plus derivative (P+D) or proportional plus integral (P+I) controllers. It is also possible to have a so-called three term controller, i.e. proportional plus integral plus derivative (P+I+D or PID) controller.
The derivative component is used if it is desired to reduce the lag (increase the response time of the system). Integral control is used primarily to eliminate offset, i.e. failure of the controlled parameter to return to exactly the required level (set point).
In the implementation of such an automatic control system, the process is normally put on manual control before it is transferred to automatic control.
Method Description and Implementation:
When a process control system is transferred from manual control to automatic control it is generally required to make this transfer bump-less, i.e. ensuring there is no change in output when the transfer from manual to automatic control is made. For proportional plus integral control and proportional plus integral plus derivative (PID) Control, there is no difficulty in achieving this. But, for proportional action only (P only) controllers, and proportional plus derivative (P+D) controllers no such easy solution at present exists. Hence, makers of Distributed Control Systems (DCS) do not provide an easy, convenient way to secure bump-less transfers for such controllers, suitable for the plant operators. However, when they claim they do, they go about it in the wrong way, leading to lopsided control systems, often to the confusion and dismay of the unsuspecting user.
In order now to explain the preferred embodiment for a bump-less transfer for a proportional controller without integral action according to the present invention, it is necessary to resort to a mathematical description. In the formulae used the terms are defined as follows :-
OP(t) Output of the controller in percent (time varying)
OP(m) Manual value of Output in percent
K Gain of the controller
PV(t) Process Value in percent (time varying)
SP Set Point in percent
BT(t) Bump-less Transfer term in percent (time varying)
B Bias value in percent (normally 50%)
T Sampling interval
OPn Output in percent at the nth sampling interval
Td Derivative action time
Tj Integral action time
BTn Bump-less Transfer term at the nth sampling interval β]_ error (PV -SP) at the kth sampling interval en error (PV -SP) at nth sampling interval en.ι error (PV -SP) at (n-1) th sampling interval
The output of a direct acting proportional controller follows the equation: OP(t) = K (PV(t) — SP) + B (1)
While the output of a reverse acting proportional controller follows the equation:
OP(t) = — K (PV(t) — SP) + B (2)
For a good control system, it is essential that the bias value 'B' must be kept at 50%, as can be seen from the several graphs shown in figure 1. However, for a bump-less transfer from manual to automatic control, where the manual output can be anywhere from 0% to 100%, keeping the bias value 'B' at a constant value of 50%, would mean that bump-less transfer cannot be achieved, using the above control equations. Hence, some makers of Distributed Control Systems have allowed the bias value to be floating, ranging from 0% to 100%, to enable bump-less transfer to take place. This means good proportional action control will not take place unless the bias value by chance happens to be around 50%. To overcome this conflicting requirement for good proportional action control and bump-less transfer, a novel method of control, using an additional term in the control equation, is introduced. This additional term may be called as the Bump-less Transfer term, 'BT(tY.
The additional term 'BT(t)' in the control equation has a magnitude as well as what may be called as the bleed rate. This bleed rate is given in minutes or in seconds, and it should be set, like integral and derivative action rates by the process control engineer. The initial value of BT(t)' depends on the manual value of the output before the bump- less transfer to automatic control. Hence, the magnitude of 'BT(t)' is internally set, and is not externally set as its bleed rate.
Thus the control equation for a direct acting proportional controller becomes as follows:-
OP(t) = K (PV(t) — SP) + B + BT(t) (3) while for a reverse acting proportional controller the equation is as follows :-
OP(t) = — K (PV(t) — SP) + B + BT(t) (4)
Where the initial magnitude of 'BT(t)' is set internally, and is dependent on the manual value of output before bump-less transfer to automatic control. Thus if PV(t) = SP, and
the value of the manual output OP(m)' were to be 75% , the magnitude of fBT(t)' will automatically be internally set as follows: BT(t) = OP(m) - B = 75% — 50% = 25%. However, the bleed rate of 'BT(t)' will be set externally by the process control engineer. The bleed rate determines how slowly or quickly the magnitude of BT(t)' falls at the same rate from its initial value to zero. Once the magnitude of 'BT(t)' is reduced to nothing, it remains zero for the rest of the time the system is on automatic control.
For a better understanding, the sampled data discrete DCS form of the equations using the Bump-less Transfer term 'BT(t)' is now compared with controllers having the integral action term, as controllers with integral action do not require the 'BT(t)' term. The equations for these are given below for the direct acting controllers: -
OP„ = Ken + KT/Ti 2 & + B (for P+I control) (5)
OP„ = Ken + B + BT„ (for P only control) (6)
From the equation of the P+I controller it can be seen how the output can be easily varied to match the manual output by varying the error value summation in the integral action term without varying 'B' the bias value. Hence, the bias value of 50% need not be compromised. However, for P only control this facility is not available for bump-less transfer from manual to automatic control. Thus the need for the additional 'BT(t)' term to facilitate the transfer. However, some DCS makers vary the bias value because of the unavailability of the integral action term in P only control. This brings about a totally unacceptable lopsided control system. In some DCS makes the bias value 'B' is varied even in P+I controllers to match the manual value of output OP(m)'. Perhaps this is because it may be easier to program the control system for bump-less transfer by varying the bias value rather than the summation of errors. These programmers are apparently not fully conversant with control theory and do not quite realize that they have brought on a lopsided control system, as they often go unnoticed in P+I controllers. However, for P only controllers the effect is unacceptable. See fig.l and the explanations on page 5.
P+D controllers are rarely used, as whenever derivative action is used the integral term is invariably used. Further, the transfer from manual to automatic control is usually done in the steady state. Hence, there will be no difference in the error at the nth sampling interval and the (n-l)th sampling interval, and so the derivative action term will be zero. If this is not so, it is still advisable to neglect the term as it is small, and at this stage it can be quite unreliable. However, if it is not ignored, the initial value of 'BTn for a direct acting controller is as follows:
BTn = OP(m) - B - Ken - KTd/ T (en_ en_,) (with B=50%) (7)
Some may be of the view that because of the difficulty in effecting bump-less transfer for proportional control without integral action, why not always have proportional plus integral action, or at least whenever it required to have bump-less transfer from manual to automatic control. However, integral action has a serious side effect, which makes it not
always desirable. Let us therefore examine what this is. The primary reason for having integral action is to eliminate offset. Hence, it was originally known as reset action. The side effect is, that when there is a process change, because of the memory of previous control actions it is unable to respond quickly to the process change. This can lead to wide oscillations about the set point while trying to arrive at the set point, or to even a process upset. Thus, proportional control without integral action is often necessary to bring about stability to the system. So, unless precise control at the set-point is absolutely necessary, integral action is generally avoided.
Since in the control of level, precise control at a particular level is very rarely needed, proportional control without integral action is almost always used for greater stability. Hence, for a further understanding of this novel method of control using the additional term 'BT(t)' for bump-less transfer, a level control application will now be considered. Suppose, for a certain flow into a tank, the control valve has to be opened 75% so that the level in the tank neither rises or falls, then the output to the control valve has to be 75%. Thus, if the plant operator had brought the level to 50% as shown in figure 2, because the set-point of the controller was at 50%, then PV(t) — SP will be 50% - 50% = 0. If at this point the control was switched from manual to automatic, then BT(t) would have to be 25% at the time of switching from manual to auto in order to match the output value, since the bias value remains fixed at 50%. However, it may be noted that, PV(t) does not have to be equal to SP when the bump-less transfer is made, as the initial magnitude of BT(t)' would be adjusted according to the equation:-
BT(t) = OP(m) - K ( PV(t) - SP) - B (for a direct acting controller) (8)
Now, suppose the bleed rate of 'BT(t)' is set at 2 minutes, then as the magnitude of BT(t) falls, the value of OP(t) also falls, causing the valve to close slightly. This in turn causes the level to rise, which in turn will cause PV(t) to be greater than SP. This will increase the value of OP(t). Thus slowly after 2 minutes the magnitude of 'BT(t)' would be reduced to zero from its initial value set internally at 25%. However, since the value of PV(t) would have risen to 75%, by the time BT(t) had fallen to zero, for a direct acting proportional controller with a gain of 1, the output remains at 75% as can be seen in the following equation:
OP(t) = K (PV(t) - SP) + B = 1(75 - 50) + 50 = 75. (9)
The equation also shows there will be an offset from the Set Point. However, this offset of 25% from the set point is perfectly acceptable for a proportional only controller that has a gain of one. Figure 3 shows the level in the tank when BT(t) = 0 after transfer from manual to automatic control. Without the ΕT(t)' term, a plant operator has to know the gain of the controller and calculate the required process value for a bump-less transfer that will be suitable for the manual output. This is difficult for the plant operators and so it is not preferred. Hence, some DCS makers have resorted to a floating bias to match the manual output of the controller, instead of the fixed bias of 50%. This, as mentioned earlier, results in a lopsided control system. Thus, to effect a bump-less transfer, it is imperative that the additional term 'BT(t)' is included in the control algorithm of all
proportional controllers that do not have integral action. Since the initial magnitude of BT(t) before bump-less transfer is done internally by the computer and the bleed rate of the BT(t) term is set by the control engineer, the plant operator has nothing to calculate. For a fUller understanding of the problems involved, and how by using the new 'BT(t) term the present shortcomings are overcome, three figures are given below to illustrate.
Figure 1 shows five graphs. Graph A shows the level input versus the controller output for a direct acting controller with a gain of 1 and a bias value of 50%. Graph B shows a reverse acting controller with a gain of 1 and a bias value of 50%. Graph C shows a direct acting controller with a gain of 1 but with a bias value of 75%. From graph C it can be easily seen why when the bias value of a controller is set at other than the mid range value of 50%, it will result in a lopsided control system that is quite unacceptable. Graph D shows another lopsided control system if the bias value was set at 25%, when the level was at 50%. As mere additional information, graph E shows a proportional control with a gain of 2, and a bias of 50%. A controller with a gain of 2 is also known as having a 50% proportional band (PB), while a gain of 1 is known as 100% PB.
Figure 2 shows a level control system at the time of transfer from manual to automatic control. Figure 3 shows the same system when the value of BT(t) is zero, by which time the level in the tank has risen to 75%, assuming the flow into the tank has remained the same. The system consists of a tank (1) containing a liquid (2). It is filled from an uncontrolled liquid conduit (3), and it is desired to maintain the liquid between 0% and 100%. To this end a displacer type of level sensing element (4), a level transmitter (5), and a DCS controller (6), are connected to a current to pneumatic positioner of a control valve (7). The controller, in this case, is made to be a direct acting proportional only controller with a gain of 1 and a set-point of 50%. Such a controller will ensure that the system is controlled between the prescribed limits, in this case between 0% and 100%. The control valve chosen, is such that it opens more as the controller output OP(t)' increases. Suppose the level in the tank was 50%, matching the set-point, and the manual output was 75%, for a bump-less transfer to take place the output of the controller has also to be 75%. However, this value cannot be achieved unless the bias value was also set at 75%, since the other portions of equation 1 contribute to zero at the mid-range value of 50% as, PV(t) — SP = 50% — 50% = 0, at the time of transfer from manual to automatic control. But, as can be seen in graph C of Figl, a bias value of 75% will result in a lopsided control system that is unacceptable. Thus, if the bias value was at 75% for the proportional only controller, the outlet valve will not close shut, as it should, even when the level had fallen to zero percent. This will lead to emptying the tank. On the other hand if the bias value was set at 25%, the outlet control valve will not open fully, as can be seen from graph D, even when the level in the tank has exceeded 100%. This will lead to an overflow in the tank. Hence, a system may not be controlled between the set limits, if we have a variable bias. So, if we are to avoid this, we require the new Bump- less Transfer BT(t) term, which, in this case adds another 25% to the output, but which is effective only for a very short period. Thus, for all proportional controllers that do not have integral action, with the new Bump-less Transfer term included in the control equation, the bias value 'B' setting at the mid-range value of 50% is not compromised, and proper control is maintained.