Apparatus for producing process control signals from process variable signals

Abstract: A proportional plus integral plus differential (PID) controller (10) contains an algorithm option which allows the selection of a classical interacting type of controller or a non-interacting type of controller. The classical interacting type of controller is characterised by the property that tuning any one of the proportional, integral or derivative terms changes the effective value of the other terms. In contrast, the non-interacting type of controller is characterised by the property that tuning any one of the proportional, integral or derivative terms has no effect on the other terms.

Description: This invention relates to apparatus for producing process control signals from process variable signals, typically in the form of proportional plus integral plus differential (PID) controllers. Proportional plus integral plus derivative (PID) control is well known. This type of control, while originally used in time mechanisms and steam engine governors, was first described in a mathematical context early in the 20th century. Utilisation of PID control led to further development of the concept resulting in the incorporation of PID controllers in a substantial majority of process control applications. PID control algorithms are discussed in an article entitled "A Comparison of PID Control Algorithms" published in Control Engineering, Volumn 34, No 3, March 1987, US, pp102-105, and examples of PID control systems are provided by US patents numbers US-A-4 390 942 and US-A-4 630 178. Evolution of the PID controller has led to a current abundance of variants of the basic control algorithm. These variants have resulted from restrictions imposed by available hardware. Three principle forms of the PID algorithm are the parallel algorithm (equation 1), the non-interacting algorithm (equation 2), and the interacting algorithm (equation 3), shown below: U(t) = k c (e(t) + k I e(t) S + k D S e(t) ) U(t) = k p e(t) + k I e(t) S + k D S e(t) U(t) = k c [k p e(t) + k D S e(t)] [1 + k I S ] where U(t) = control signal calculated by PID at time t e(t) = error between process variable measurement and reference trajectory at time t k c = overall controller gain (output units/error units) k p = proportional gain (output units/error units) k I = integral gain (output units/minutes - error units) k D = derivative gain (output units - minutes/error units) S = Laplace operator. Three variants of these basic PID algorithms exist. These algorithm variants can be either position or velocity type; the derivative can be calculated on an error signal or an actual measurement, and the derivative can be calculated directly or through the use of a lead lag. Equations 1, 2 and 3, as shown above, are written in positional form. In corresponding velocity equations, the error signal is replaced with a change in the error signal and a change in control effort is calculated according to the standard equations 1, 2 and 3. This change in control effort is integrated over time to generate a control effort. In normal operating modes there is no performance difference between the positional algorithm and its velocity counterpart. However, during saturation, when the control effort becomes constrained by one of its limits, the behaviour of the foregoing two algorithms is quite different. The velocity type algorithm will move away from its constraints as soon as the absolute value of the error signal on which it is acting decreases. In contrast, a positional type algorithm will not move away from its constraints until the sign of the error signal changes. Equations 1, 2 and 3 are written to apply derivative action to the error signal. One variant of these algorithms is to replace the error signal with the process measurement in the derivative calculation. This change results in smoother transition of the process between setpoint values while not adversely affecting disturbance rejection. In addition, equations 1, 2 and 3 are written in a form that calculates the derivative contribution directly. Typically, this calculation is implemented in conjunction with a first order filter operating at a time constant of 10% of the derivative time. Equation 4, shown below, illustrates this implementation of the derivative calculation. This modification is made to minimise the effect of process noise on the control signal: Derivative Contribution = k D S 0.1k D S+1 Another modification of the PID algorithm is external reset. This variation of equation 3 substitutes an external measurement for the control output in the integral equation. This modification is used to prevent wind-up of the integral term resulting from saturation of the inner loop of cascade control strategies. Previously-proposed industrial PID controllers allow a user to select between the various algorithm forms only by selection of actual hardware. Thus, the hardware utilised determines the forms of algorithms available in a controller. According to this invention there is provided apparatus for producing an interacting proportional, derivative and integral process control signal, or a proportional, derivative and external reset signal, from a process variable signal, the apparatus comprising: means for converting the process variable signal into a first signal which is proportional to said process variable signal; means for converting the process variable signal into a second signal which is a function of the derivative of said process variable signal; means for converting the process variable signal into a third signal which is a function of the integral of said process variable signal; and means for combining said first, second and third signals to produce said process control signal, wherein variation of any one of said first, second and third signals causes a variation in the remainder of said first, second and third signals in accordance with an interacting algorithm, characterised by: switch means for selectively supplying an external reset signal to the combining means instead of the said third signal. A preferred embodiment of the invention, to be described in greater detail hereinafter, provides a PID controller whose ability to produce a multiplicity of algorithms is not limited by the hardware utilised. A controller can, for example, be any one of the controllers, or variations thereof, discussed in the book Distributed Control Systems by Michael P. Lukas, Van-Nostrand Reinhold Co., 1986. Several options are provided permitting the user to tailor the controller to a specific problem. An algorithm option allows the selection of a non-interacting type of controller or a classical interacting type of controller. A non-interacting type of controller may be characterised by the property that tuning any of the controller's three modes does not affect the tuning of the remaining modes. In contrast, the classical interacting type of controller exhibits interaction among the tuning parameters, thus closely resembling the behaviour of analog controllers. The algorithm option thus selects an external reset controller. This is based upon the classical interacting type of algorithm and provides a mechanism for controlling integration external to the PID algorithm. External reset provides a mechanism for coordinating the action of controllers used in combinations such as cascade configurations. The invention will now be described, by way of illustrative and non-limiting example. with reference to the accompanying drawings throughout which like parts are referred to by like references, and in which: Figure 1 is a block diagram of a classical interacting type of algorithm for a PID controller; Figure 2 is a block diagram of the algorithm shown in Figure 1 and in the Laplace domain; and Figure 3 is a block diagram of the algorithm illustrated in Figure 1 and in the reset mode of operation. Referring to the drawings, Figure 1 is a block diagram of a classical interacting type of algorithm 10, namely one in which the integral term is a function of the proportional term and the derivative term. As such, Figure 1 comprises an upper portion which represents the integral term, a middle portion which represents the proportional term, and a lower portion which represents the derivative term. Referring firstly to the middle portion, a signal PY representative of the process to be controlled is applied to the negative input to a summer 12 having a setpoint signal SP applied to its positive input. The output of the summer 12, which represents an error signal, is applied to the input to a proportional multiplier 14 wherein the error is multiplied by a factor kkp. The output of the proportional multiplier 14 is applied to a positive input to a summer 16. The signal representative of the process variable is also applied to the positive input to a summer 18. A signal representative of the previous process variable is supplied by a Z transformation function block 20 to the negative input to the summer 18. The output of the summer 18 is applied to a proportional multiplier 22 which multiplies the incoming signal by a factor kk A . The output of the proportional multiplier 22 is applied to a positive input to a summer 24 whose other positive input is connected to a Z transformation function block 26 which provides a signal representative of the previous derivative term. The output of the summer 24 is applied to a proportional multiplier 28 which represents the factor 60 k D /(60k D + k A Δt). The output of the proportional multiplier 28 is representative of the derivative term and is applied to a high/low limiter 30 whose output is applied to a negative input to the summer 16. With respect to the integral term of the algorithm, the previous algorithm is applied to the negative input to a summer 32 via a Z transformation function block 34 and a switch 36. The previous integral term is applied to the positive input to the summer 32 via a Z transformation function block 38. The output of the summer 32 is applied to a proportional multiplier 40 representative of the function 60/(60 + k I Δ t) whose output is applied to the positive input to a summer 42. The other positive input to the summer 42 is connected to the switch 36. The output of the summer 42 represents the integral term and is applied to a high/low limiter 44 whose output is connected to a positive input to the summer 16. The output of the summer 16 is applied to a high/low limiter 46 whose output is connected to a positive input to a summer 48 whose other positive input receives a feed forward signal. The output of the summer 48 is a process control signal CO based on the classical interacting type of proportional plus integral plus derivative algorithm. Referring to Figure 2, there is illustrated a block diagram of the algorithm shown in Figure 1 and in the Laplace domain. Those elements which are similar to those shown in Figure 1 have the same reference numerals and will not be discussed further. In Figure 2, the elements which produce the derivative term in Figure 1 have been replaced by proportional multipliers 50 and 52 representative of the functions 60 kk d S and 1/(60 k d k s S + 1) respectively. The elements which produce the integral term have been replaced by a proportional multiplier 54 representative of the function 60k i /S. The output signal CO of the summer 48 represents the control output. Figure 3 is a block diagram of the algorithm shown in Figure 1 wherein the switch 36 is in the manual reset position. Here again, those elements which are similar to those in Figure 1 have the same reference numerals and will not be discussed further. By placing the switch 36 in Figure 1 in the external reset position, the Z transformation function block 34 is omitted so that Figure 3 differs from Figure 1 only with respect to the upper portion thereof, that is the portion producing the integral term of the algorithm. The algorithm resulting from the switch 36 being in the reset position is used to calculate the output of the feed forward and the algorithm when the algorithm specification is set to 2. From the foregoing, it will be apparent that the type of algorithm produced depends upon appropriate selection. A selection of 0 causes the PID output to be calculated using a classical interacting algorithm, as shown in Figures 1 and 2. This algorithm is interacting in the sense that tuning any one of the proportional, integral or derivative terms changes the effective value of the other terms. Furthermore, a selection of 2 causes the PID output to be calculated using the classical interacting algorithm, as shown in Figure 1; however, for this selection, the integral term is calculated as a function of the external reset signal, as shown in Figure 3. Lastly, a selection of 3 causes the PID output to be calculated from the proportional and derivative terms only.

Claims: Apparatus for producing an interacting proportional, derivative and integral process control signal (CO), or a proportional, derivative and external reset signal (CO), from a process variable signal (PY), the apparatus comprising: means (12, 14) for converting the process variable signal (PY) into a first signal which is proportional to said process variable signal (PY); means (18 to 30) for converting the process variable signal (PY) into a second signal which is a function of the derivative of said process variable signal (PY); means (32 to 44) for converting the process variable signal (PY) into a third signal which is a function of the integral of said process variable signal (PY); and means (48) for combining said first, second and third signals to produce said process control signal (CO), wherein variation of any one of said first, second and third signals causes a variation in the remainder of said first, second and third signals, in accordance with an interacting algorithm, characterised by: switch means (36) for selectively supplying an external reset signal to the combining means (48) instead of the said third signal. Apparatus according to claim 1, wherein said process variable signal converting means for producing said first signal comprises an algorithm (14) in the Laplace domain. Apparatus according to claim 2, wherein said algorithm (14) in the Laplace domain is kk p , where k p = proportional gain (output units/error units), and k = constant multiplier. Apparatus according to claim 1, claim 2 or claim 3, wherein said process variable signal converting means for producing said second signal comprises an algorithm (50, 52) in the Laplace domain. Apparatus according to claim 4, wherein said algorithm (50, 52) in the Laplace domain is 60 kk d S + 1/( 60 k d k a S + 1) where: k d = derivative gain (output units/minutes - error units) k = constant multiplier k a = process variable error signal S = Laplace operator Apparatus according to any one of the preceding claims, wherein said process variable signal converting means for producing said third signal comprises an algorithm (54; 70) in the Laplace domain. Apparatus according to claim 6, wherein said algorithm (54) in the Laplace domain is 60 k i /S, where k i = integral gain (output units/minutes - error units) and S = Laplace operator. Apparatus according to claim 6, wherein said algorithm (70) in the Laplace domain is kk i /S, where k i = integral gain (output units/minutes - error units); k = constant multiplier; S = Laplace operator.

Inventors: LANE JOHN DAVID, MATSKO THEODORE N, PATELLA JOSEPH GABRIEL, SCHEIB THOMAS JOSEPH, LANE, JOHN DAVID, MATSKO, THEODORE N., PATELLA, JOSEPH GABRIEL, SCHEIB, THOMAS JOSEPH
Applicants: INT CONTROL AUTOMATION FINANCE, INTERNATIONAL CONTROL AUTOMATION FINANCE S.A.
Application year: 1989
Main classification: G05B11
IPC codes: G05B11