Digital control system

Abstract: A digital controller comprising a deviation calculator (16), a positional P-controlling algorithm device (21), a velocity-type I-controlling algorithm device (22), a signal converter (23), and an adder unit (24). The deviation-calculating means (16) for subtracts a control value (PV n ) of an object (25) from a desired value (SV n ), to obtain a deviation (e n ). The position-type P-controlling algorithm device (21) per­ forms positional P-calculation on the deviation (e n ) obtained by the deviation calculator (16). The velocity-type I-controlling algorithm device (22) per­ forms velocity-type I-calculation on the deviation (e n ). The signal-converting device (23) converts the velocity-­ type I-calculation output of the velocity-type I-­ controlling algorithm device (22), into a positional I-signal. The adder unit (24) adds the positional I-­ signal obtained by the signal-converting device (23) and the positional P-calculation output obtained by the positional P-controlling algorithm device (21), thereby obtaining a manipulative variable (MV n ). The manipula­ tive variable (MV n ) is supplied to the object (25) to control the object (25).

Description: The present invention relates to a digital controller which performs a PID (P: Proportional, I: Integral, D: Derivative) calculation by using positional and velocity algorithms, in accordance with the characteristics of each terms of the PID-calculation. Controllers are classified into two categories, i.e., analog PID calculational controllers and digital PID calculational controllers. Until very recently, analog PID calculational controllers have been widely used. An analog calculational control system performs a PID calculation by using the following PID basic equation: MV = K p (e + 1 T I ∫edt + T D de dt ) + MV 0 where MV is the manipulative variable, e is deviation, K P is the proportional gain, T I is the integral action time, T D is the derivative time, and MV 0 is the initial value of the manipulative variable. Recently, digital calculational control systems have come into use in increasing numbers, due to the spread use of electronic computers and the accomplishment of high-velocity processing of signals. A digital calculational control system includes a positional algorithm system and a velocity algorithm system. A positional algorithm system performs a PI or PID calculation during each sampling period τ, thereby obtaining an manipulative variable MV n , where n is an integer identifying the sampling period. More specifically, PID calculational equation of the positional algorithm system can be shown by the following equation (2): A velocity algorithm system finds a change ΔMV n in the variable MV, which occurs during each sampling period, and adds this change ΔMV n to the output MV n-1 acquired in the preceding sampling period, thereby obtaining the output MV n for the sampling period. More specifically, PID calculational equation of the velocity algorithm system can be represented by the following equations (3a) and (3b): ΔMV n = K p {(e n -e n-1 ) + τ T I e n + T D τ (e n -2e n-1 +e n-2 )} MV n = MV n-1 + ΔMV n The equation (2), (3a) and (3b) are obtained from the basic equation (1). In equations (2) and (3a), e n , e n-1 , and e n-2 are the deviations produced during the present sampling period, the preceding sampling period, and the sampling period preceding the preceding one, respectively. As can be understood from equation (2) with equations (3a) and (3b), the velocity algorithm system is advantageous over the positional algorithm system in the following respects: (1) The calculation which the velocity algorithm system performs is easy since equations (3a) and (3b) have no Σ-terms. (2) In the case of a velocity algorithm system which can be manually or automatically operated, it suffices to control an object in accordance with MV n-1 after the manual calculation has been switched to the automatic calculation and to add ΔMV n to ΔMV n-1 . The output obtained during the preceding sampling period, i.e., MV n-1 , need not be adjusted to allow the switching of the calculation mode. Hence, the calculation mode can be easily and smoothly changed from the manual one to the automatic one. (3) The velocity algorithm system can accomplish a precise PID control, only if ΔMV n is limited, or the gain thereof is adjusted. The system is, therefore, compatible with other arithmetic calculation devices. In other words, it can easily perform calculations on not only the signals generated in it self, but also the signals processed by the other calculation devices. For the advantages described above, most direct digital control (DDC) system in practical use is of the velocity-type. Two conventional digital controllers, which are a positional and a velocity-type, will be described in more detail with reference to Fig. 1 and Fig. 2, respectively. The positional PID controller shown in Fig. 1 is designed to perform the calculation according to equation (2). As Fig. 1 shows, the controller comprises a detector 1 for detecting a process variable PV n , a deviation calculator 2 for subtracting the value PV n detected by the detector 1, from a set point variable SV n , thereby calculating a deviation e n , and a positional PID calculation device 3 for performing a PID calculation according to equation (2), on the deviation e n , thereby obtaining a manipulative variable MV n . The device 3 supplies the value MV n to an object 4, thereby controlling the object 4 such that SV n becomes equal to PV n . The velocity-type PID controller illustrated in Fig. 2 is designed to perform calculations according to equations (3a) and (3b). As Fig. 2 shows, the velocity-type PID controller comprises a detector 1 for detecting a process variable PV n , a deviation calculator 2 for subtracting the value PV n by the detector 1, from a set point variable SV n , thereby calculating a deviation e n , and a velocity type PID calculation device 5 for performing a PID calculation according to equation (3a), on the deviation en, thereby obtaining a change ΔMV n in the value MV n , and a velocity-position signal converter 6 for receiving the change ΔMV n and performing an calculation according to equation (3b), thus converting the change ΔMV n to MV n . The converter 6 supplies the value MV n to an object 4, thereby controlling the object 4 such that SV n becomes equal to PV n . Upper and lower limits H and L of manipulative variable MV n are set to the velocity-position signal converter 6. The positional PID digital controller (Fig. 1) is disadvantageous in some respects. Firstly, it operates but at a low velocity since equation (2) includes a Σ-term. Secondly, the bumpless switching is complex, which must be carried out for the manual-automatic mode switching. Thirdly, the controller must perform complex calculations on the signals processed by the other calculating devices. The velocity-type PID digital controller (Fig. 2) is also disadvantageous in the following respect. If the set point variable SV n is altered at time n as is shown in Fig. 3, the output value MV n must be controlled as is indicated by the broken-line curve a. If the value SV n is altered at time n, increased over the upper limit H by value c, the output value MV n must be controlled as is indicated by the solid-line curve b, that is, the controller must perform a D calculation for reducing MV n quickly to the upper limit H. This specific control, i.e., an abrupt reduction of MV n to the upper limit H, is difficult to accomplish. Even if it is successfully achieved, it cannot apply to a boiler. Should it be used in controlling a boiler, the opening of a valve supplying air or fuel into a combustion chamber would be reduced too much, increasing the possibility of incomplete combustion and, ultimately, of an explosion. The velocity-type PID controller is disadvantageous in view of stability and safety. Prior art document US-A-4 727 303 discloses a control system controlling a motor driving a load in response to a position command signal. In this system, a velocity-type I-calculation is executed separately from a positional P- or PD-calculations. Then the results are combined by adding velocity-type signals for obtaining a final manipulative variable. Further, prior art document FR-A-2 384 292 discloses a controller using high- and low-limits of the manipulative variable when the resulting values for this variable from the controller are out of a prescribed range. In this way, the integration branch in cases of out-of-range responses for the controlled value is blocked. A first object of the present invention is to provide a digital controller which performs either a positional PID calculation or a velocity-type PID calculation on PID-calculation, in accordance with the characteristics of the PID-calculation terms, allowing a stable and reliable PID control, which suppresses a D calculation when a set point variable is altered, thereby to prevent a controlled system from malfunctioning or functioning unstably, and which obtains an appropriate I-calculation output when the output process variable increases above an upper limit or decreases below a lower limit, and which prevents a reset wind-up from occurring during the I control of the object. To solve this object the present invention provides a digital controller as specified in claim 1. A PI or PID controlling calculation is carried out on the deviation, i.e., the difference between a set point variable and a actual process variable. Velocity-type I controlling calculation is performed on the I-calculation term in accordance with the deviation, thereby obtaining an I-controlling calculation output value. The velocity-type I-controlling calculation output value is converted to a positional I signal. Meanwhile, positional P controlling calculation or positional PD controlling calculation are performed on the P-calculation term or the PD-calculation term, respectively, in accordance with the deviation, thereby obtaining a positional P controlling calculation and a positional PD controlling calculation. The positional I signal is added to the positional P controlling calculation output or the positional PD controlling calculation output, thus acquiring a manipulative variable. The manipulative variable, thus acquired, is supplied to an object, whereby the object is controlled in accordance with the manipulative variable. Alternatively, velocity-type I controlling calculation is performed on the I-calculation term in accordance with the deviation, thereby obtaining an I-controlling calculation output value. The I-controlling calculation output value is converted to a positional I signal. Meanwhile, positional P controlling calculation is performed on the P-calculation term, thereby obtaining a positional P controlling calculation, and positional D controlling calculation is carried out on the D-calculation term in accordance with a process variable, thereby obtaining a positional D controlling calculation. The positional D controlling calculation eliminates the possibility that problems arise when a D process variable increases above an upper and lower limit due to an alteration of the set point variable. The positional I signal, the positional P controlling calculation output, and the positional D controlling calculation output are added, thus providing a manipulative variable. This manipulative variable is supplied to an object, whereby the object is controlled in accordance with the manipulative variable. Alternatively, PI controlling output is performed on a P-calculation term and an I-calculation term in accordance the deviation, thereby obtaining an I-calculation output, or PID controlling output is performed on a PD-calculation term and an I-calculation term in accordance with the deviation, thereby obtaining an I-calculation output. In the first case, the I-controlling calculation output is converted into a positional I signal by sweep-position signal converting means, and the positional I signal is added to the P-calculation output value obtained from the P-calculation term. The sum of these terms is input to upper/lower limiting means, which produces a manipulative variable. In the second case, the I-calculation output is converted into a positional I signal by velocity-position signal converting means, and the positional I signal is added to the PD-controlling calculation output value obtained from the PD-calculation term. The sum of these terms is input to upper/lower limiting means, which produces a manipulative variable. In either case, upper and lower limits are set to the upper/lower limiting means. The limiting means supplies the upper limit, to the velocity-position signal converting means when the input signal is over the upper limit, and supplies the lower limit thereto when the input signal is below the lower limit. In other words, the limiting means limits the magnitude of a velocity-type I controlling calculation output. Hence, when the I-calculation term is extracted from the PI-calculation term or the PID-calculation term, and the velocity-type controlling calculation is performed on the I-calculation term, the I-calculation term will have no Σ-calculation terms. As a result of this, the digital controller according to the invention can perform calculations at high velocity to acquire a PID process variable within a short term, a bumpless transfer easily to switch the calculation mode, and calculations on the signals processed by other devices. According to another aspect, positional controlling calculation is performed on a D-calculation term in accordance with the process variable supplied from an object, not with a deviation i.e., the difference between a set point variable and a actual process variable. Therefore, the D-calculation term is not affected by the alteration of the set point variable. In other words, the D-calculation term causes neither malfunction nor unstable calculation of the digital controller. According to still another aspect, the I-calculation term is extracted from a PID-calculation term, then converted into a velocity-type I signal by means of velocity-type controlling calculation, and finally processed into a positional I signal by velocity-position signal converting means. Meanwhile, the PD-calculation term, i.e., the remaining part of the PID-calculation term, is subjected to positional adjustment and converted into a positional PD controlling calculation. The positional I signal and the positional PD controlling calculation are added. The sum of the I signal and the PD controlling calculation output is input to an upper/lower limiting means to which upper and lower limits have been set. When the sum is over the upper limit, the upper limit is set to the signal converting means. When the sum is below the lower limit, the lower limit is set to the signal converting means. Hence, the velocity-type I controlling calculation output continuously controls the object as long as its magnitude remains between the upper and lower limits set to the signal converting means. Further, no reset wind-up occurs during the I action of the object. This invention can be more fully understood from the following detailed description when taken in conjunction with the accompanying drawings, in which: Fig. 1 a block diagram showing a prior-art, positional PID digital controller; Fig. 2 is also a block diagram illustrating a conventional, velocity-type PID digital controller; Fig. 3 is a graph representing how the manipulative variable by the controller shown in Fig. 2 changes with respect to a set point variable; Fig. 4 is a block diagram illustrating a digital controller; Fig. 5 is a block diagram showing a PI calculation unit incorporated in the controller of Fig. 4; Fig. 6 is a block diagram showing the PID calculation unit incorporated in another digital controller Fig. 7 is a block diagram illustrating a PID calculation unit which can be used in place of the PID calculation unit shown in Fig. 6; Fig. 8 is a block diagram of an embodiment of the invention showing another PID calculation unit which can be incorporated in the controller of Fig. 6, in place of the PID calculation unit shown in Fig. 6, and also explaining how signals are controlled in the PID calculation unit; Fig. 9 is a block diagram of an embodiment of the invention showing still another PID calculation unit which can be incorporated in the controller of Fig. 6, in place of the PID calculation unit shown in Fig. 6, and also explaining how signals are controlled in the PID calculation unit; Fig. 10 is a block diagram showing another PID calculation unit which can be incorporated in the controller of Fig. 6, in place of the PID calculation unit shown in Fig. 6, and also illustrating a set point variable filter used in combination with the PID calculation unit; and Fig. 11 is a diagram showing the components of the PID calculation unit and the set point variable filter, in terms of transmission functions. Before the embodiments of the present invention are described, the principle of PID control, and the rules of processing signals involved in the PID control, will be explained. From equation (1), the P-calculation term is K p ·e, the I-calculation term is (K p /T 1 )∫edt, and the D-calculation term is K p ·T D ·(de/dt). Obviously, the P-calculation term is proportional to the present deviation e, the I-calculation term is proportional to the integrated value of the deviations obtained in the past, and the D-calculation term is proportional to the rate at which the deviation will change in the future. Each calculation term performs the control role based on the above equation. The I-calculation term is indefinite. The P-calculation term is 0 when e = 0. The D-calculation term is 0 as long as the deviation e remains unchanged. P and D-calculation term are zero standards. As a result, there is following restriction for signal processing. Velocity-type signals can be ignored in calculating the I-calculation term. By contrast, velocity-type signals cannot be ignored in calculating the D-calculation term and the P-calculation term. This is because, if the velocity-type signals are discarded, the P-calculation term and the D-calculation term cannot be 0 when the deviation is 0 or remains unchanged. The inventor hereof has repeated experiments, wherein signals involved in the PID control were processed in various ways, and he studied the characteristics of the P-calculation term, the I-calculation term, and the D-calculation term. The results of his study were as is shown in the following table. No. Term Position Velocity T. Remarks P I D P I D 1 Only P control possible? Y N Velocity-type are indefinite 2 P-calculation range decreased Y N Decreased only overrange for the velocity type 3 I calculation easy? N Y Very easy for the velocity type 4 Reset wind-up prevented in I calculation? N Y 5 D-calcualtion overragne decreased Y N Decreased only overrange for the velocity type 6 Bumpless transfer easy in manual-auto switching? N Y For the velocity type, MVn-1 is present manipulative variable 7 Complex calcualtion easy to perform? N Y Only changes are limited or gain-adjusted for the velocity type General Evaluation Y N Y N Y N Note: Y = Yes, N = No. As is evident from Table 1, the characteristics of the P-calculation term, the I-calculation term, and the D-calculation term are different for the positional algorithm system and the velocity-control algorithm system. Each calculation terms properly use the positional algorithm system and the velocity algorithm system, in accordance with the general evaluation shown in Table 1. Digital controllers will now be described with reference to the accompanying drawings. Fig. 4 illustrates a digital controller according to a first embodiment. As this figure shows, the digital controller comprises a set point variable generator 11, an interface 12, a detector 13, an analog-to-digital (A/D) converter 14, an interface 15, a deviation calculator 16, a PI or PID calculation control unit 17, and a digital-to-analog (D/A) converter 18. The set point variable generator 11 is designed to generate a set point variable SV. It is a memory of the ordinary type, a program setting device or a digital data generator. If a memory of the ordinary type is used as the generator 11, it reads the set point variable SV at predetermined intervals from the memory. If a program setting device is used as the generator 11, it outputs the set point variable SV every term a predetermined period has elapsed. If a digital data generator is used as the generator 11, it generates the set point variable, either automatically or when manually operated. The interface 12-receives the set point variable SV from the generator 11, in response to a sampling signal S supplied from the PI calculation control unit 17, and outputs a presently set point variable SV n . The detector 13 continuously detects the analog process variable PV A supplied form an object 19 which is connected to the D/A converter 18 and which is controlled by the digital controller. Alternatively, the detector 13 detects the analog process variable PV A during each sampling period. The A/D converter 14 receives the analog process variable PV A supplied from the detector 13, and converts the value PV A to digital process variable PV. The interface 15 has a memory. It receives the digital process variable PV from the A/D converter 14 in response to the sampling signal S supplied from the PI calculation control unit 17. The value PV, thus received, is stored in the memory for some term. The digital process variable PV is read from the interface 15 and is input to the deviation calculator 16 as a process variable PV n . The deviation calculator 15 receives the output of both interfaces 12 and 15, i.e., SV n and PV n . The deviation calculator 15 subtracts the process variable PV n from the set point variable SV n , thereby obtaining a present deviation e n . The deviation e n , thus obtained, is supplied to the PI calculation control unit 17. The PI calculation control unit 17 perform PI calculation on positional algorithm system or velocity algorithm system in accordance with the characteristics of the P-calculation term and the I-calculation term, thereby obtaining a manipulative variable MV n . The output value MV n is input to the D/A converter 18. The D/A converter 18 converts the output value MV n to an analog output value MV An , which is supplied to the object 19 to control the object 19. Fig. 5 illustrates the PI calculation control unit 17 in detail. The PI calculation unit 17 is suitable for use in a flow-rate control system or a pressure control system. For the sake of simplicity, it is assumed that a digital set point variable SV n and a digital process variable PV n are input to the deviation calculator 16 during each sampling period τ. The deviation calculator 16 subtracts the present process variable PV n from the present set point variable SV n , thus obtaining a present deviation e n made during the sampling period. The deviation e n is supplied to the PI calculation control unit 17. The unit 17 performs positional PI calculation or velocity-type PI calculation on the present deviation en, based on the table 1 and in accordance with the characteristics of the P-calculation term and the I-calculation term. As is shown in Fig. 5, the PI calculation control unit 17 comprises a positional P-controlling calculation device 21, a velocity-type I-controlling calculation device 22, a velocity-position signal converter 23, and an adder unit 24. The positional P-calculation device 21 is designed to perform positional P calculation on the present deviation e n . The velocity-type I-controlling calculation device 22 is designed to perform velocity-type I calculation on the present deviation e n , so as to obtain a velocity-type I calculational signal. The signal converter 23 converts the velocity-type I calculational signal into a positional I signal. The adder unit 24 is coupled to the object 25. It adds the output MV Pn of the positional P-calculation device 21 to the output MV In of the velocity-position signal converter 23, thereby obtaining a manipulative variable MV n . The operation of the digital controller shown in Figs. 4 and 5 will now be explained. First, the deviation calculator 16 subtracts the process variable PV n from the present set point variable SV n , thus obtaining a present deviation e n made during the sampling period. The deviation e n is supplied to the positional P-controlling calculation device 21 and the velocity-type I-controlling calculation device 22. The P-controlling calculation device 21 performs the following calculation, thus obtaining a positional P output MV Pn : MV Pn = K p ·e n Meanwhile, the velocity-type I-controlling calculation device 22 performs the following calculation, thereby obtaining a velocity-type I output ΔMV In : ΔMV In = Kp·(τ/T1) e n The velocity-type I output ΔMV In is input to the velocity-position signal converter 23. The signal converter 23 performs the following calculation, thus obtaining a positional I output MV In : MV In = MV In-1 + ΔMV In The positional P output MV Pn and the positional I output MV In are input to the adder unit 24. The adder unit 24 carries out the following calculation, obtaining a manipulative variable MV n : MV n = MV Pn + MV In The manipulative variable MV n , thus obtained, is supplied to the object 15, thereby controlling the object 15 until SV n becomes equal to PV n . As has been described, in the digital controller shown in Figs. 4 and 5, the P-calculation term and the I-calculation term are subject to a positional algorithm and a velocity algorithm, respectively. Therefore, this digital controller has several advantages. First, when the deviation e n varies step by step and P calculation output is over-ranged, an over-range P-calculation output, if any, is not decreased at all. Therefore, control disturbance is low and the PI control is greatly reliable. Second, the I calculation is easy and can be effected at high velocity since the I-calculation term is extracted from the PI-calculation term and then subjected to the velocity-type calculation. Third, no reset wind-up results from the integration terms since it suffices to limit only the change ΔMV In obtained for each sampling period. Furthermore, a bumpless transfer can be easily accomplished in switching the calculation mode, from the manual mode to the automatic mode, and vice versa. Fig. 6 shows the another digital controller which is a PID calculational system and a second embodiment. The PID calculational system shown in Fig. 6 is designed to generate an manipulative variable MV n suitable for controlling a temperature control system or a level control system. As is evident from Fig. 6, the PID calculation unit 17 comprises a positional P-controlling calculation device 21, a velocity-type I-controlling calculation device 22, a signal converter 23, an adder unit 24a, and a positional D-controlling calculation device 26. The operation of the second embodiment will now be explained. A deviation calculator 16 is used also in the second embodiment, and subtracts the process variable PV n from the set point variable SV n , thus obtaining a deviation e n . The deviation e n is input to the positional P-controlling calculation device 21, the velocity-type I-controlling calculation device 22, and the positional D-controlling calculation device 26. The positional P-controlling calculation device 21 performs the calculation of equation (4) on the deviation e n , thus obtaining a positional P-calculation output value MV Pn . The velocity-type I-controlling calculation device 22 performs the calculation of equation (5) on the deviation e n , thereby obtaining a velocity-type I-calculation output value ΔMV In . The value ΔMV In is input to the velocity-position signal converter 23. The signal converter 23 performs the calculation of equation (6), thus obtaining a positional I-signal MV In . In the meantime, the positional D-controlling calculation device 26 performs the following calculation on the deviation e n , thereby obtaining a positional D-output value MV Dn : MV Dn = K p ·(T D /τ)·(e n - e n-1 ) The values output by the controlling calculation devices 21, 23, and 26 are input to the adder unit 24a. The adder unit 24a performs the following calculation on these input value, thus obtaining a manipulative variable MVn: MV n = MV Pn + MV In + MV Dn The manipulative variable MV n , thus obtained, is supplied to the object 25, whereby the object 25 is controlled until PV n becomes equal to the set point variable SV n . In theory, the D-calculation term used in the second embodiment is exactly differential, i.e., Kp·(T D /τ) = K p ·s. In most cases, however, the actual D-calculation term is not exactly differential, that is, (K p ·T D ·s)/·(1 + η·T D ·s), where T D is derivative time, (1/η) is differential gain, η is 0.1 to 0.3 in most cases, and s is Laplace operator. Therefore, when the positional D-controlling calculation device 26 performs inexact differentiation, its output ΔMV Dn will be: MV Dn = n·T D τ+η·T D MV Dn-1 + K p ·T D τ+η·T D (e n - e n-1 ) Hence, the digital controller attains the same advantages as the digital controller having the PI calculation unit shown in Fig. 5. In addition, an over-range P-controlling calculation output and an over-range D-controlling calculation output, if any, are not decreased out. The digital controller, i.e., the second embodiment of the invention, performs a safe an reliable PID control. Fig. 7 illustrates another PID calculational system which can be used in the second embodiment, in place of the PID calculational system shown in Fig. 6. The PID calculational system shown in Fig. 7 is identical to the PID calculational system shown in Fig. 6, except that positional D-controlling calculation device 26a performs positional D-calculation on the process variable PV n , not on the deviation e n as in the calculational system illustrated in Figs. 5 and 6. Generally, when D-calculation is performed on the deviation e n , the D-calculation output changes if the set point variable SV n and the process variable PV n change. Therefore, the derivative term is adjusted in order to achieve a reliable process control. However, when the deviation e n changes greatly as the set point variable SV n is altered, the differentiation will be performed to an excessive degree, inevitably causing an over-shooting of the manipulation calculation output. According to the present invention, the changes in the set point variable SV n are ignored, and positional D-calculation is performed on the process variable PV n . Therefore, no over-shooting of the manipulative variable will occur, and the digital controller having the PID calculation unit shown in Fig. 7 accomplishes a safe and reliable PID control. Fig. 8 shows another PI calculational system which can be used in the second embodiment of the invention, in place of the PID calculational system illustrated in Fig. 6. The PI calculational system shown in Fig. 8 is designed to limit not only the manipulative variable MV n but also the I-calculation output, when necessary in accordance with the various conditions of an object 25. As is illustrated in Fig. 8, this PI calculational system comprises a positional P-controlling calculation device 21, a velocity-type I-controlling calculation device 22, a velocity-position signal converter 31, an adder unit 32, and an upper/lower limiter 33. The signal converter 31 performs two functions: (i) to convert the output of the velocity-type I-controlling calculation device 22 to a positional I-signal, and (ii) to limit the output of the positional I-signal in accordance with the upper limit H and the lower limit L set to it by the upper/lower limiter 33. -The adder unit 32 is used to add the outputs of the controlling calculation devices 21 and 31, so as to obtain an manipulative variable MV n . The upper limit H and the lower limit L have been externally set to the upper/lower limiter 33. The limiter 33 reduces the manipulative variable MV n output from the adder unit 32 to the upper limit H when the value MV n is over the upper limit H, and maintains the value MV n at the lower limit L when the value MV n is less than the lower limit L. The operation of the PI control unit shown in Fig. 8 will now be explained. The deviation calculator 16 subtracts the process variable PV n from the set point variable SV n , thus obtaining a deviation e n . The deviation e n is input to the positional P-controlling calculation device 21 and the velocity-type I-controlling calculation device 22. The positional P-controlling calculation device 21 performs the calculation of equation (4) on the deviation e n , thus obtaining a positional P-calculation output value MV Pn . The value MV Pn is input to the adder unit 32. The velocity-type I-controlling calculation device 22 performs the calculation of equation (5) on the deviation e n , thereby obtaining a velocity-type I-calculation output value ΔMV In . The value ΔMV In is input to the signal converter 31. The signal converter 31 converts the value ΔMV In , without limiting the same, to a positional I-signal. The I-signal is input to the adder unit 32. The adder unit 32 adds the value MV Pn and the value MV In , thus obtaining an manipulative variable MV n . The manipulative variable MV n is input to the upper/lower limiter 33. The upper/lower limiter 33 reduces the manipulative variable MV n to the upper limit H when the value MV n is greater than the upper limit H, and maintains the output value MV n at the lower limit L when the value MV n is less than the lower limit L. The manipulative variable MV n , thus processed, is supplied to the object 25. Unless the value ΔMV In is limited when the manipulative variable MV n is greater than the upper limit H or less than the lower limit L, the manipulative variable MV n gradually increases along with the I-signal MV In , eventually causing a reset wind-up. To prevent a reset wind-up, the integration can be stopped when the manipulative variable MV n reaches the upper limit H or the lower limit L. In this regard, the value MV n maintains over the upper limit H or maintain below the lower limit L, in most cases, due to the changes in the proportional component or differential component of the value MV n which appears before the integral component. It follows that the integral output value, which has yet to change, still remains when the manipulative variable MV n reaches the upper limit H or the lower limit L. Consequently, the integral component of the value MV n will be discarded. In the PI calculational system shown in Fig. 8, when the manipulative variable MV n reaches the upper limit H set to the upper/lower limiter 33 or the lower limit thereof, the upper limit H or the lower limit L is set to the signal converter 31. Then, the integration is performed until the I-signal MV In output by the signal converter 31 reaches the upper limit H or the lower limit L, thereby preventing a reset wind-up. Therefore, the digital controller having the PI calculational system shown in Fig. 8 is advantageous, in the following respects, over a digital controller wherein the integration is stopped the moment the manipulative variable MV n reaches the upper limit H or the lower limit L. First, the controller can control the object, exactly in accordance with the changes in the condition of the object, since the I-signal MV In has an appropriate value due to the continuous integration even if the manipulative variable MV n decreases below the upper limit H after it has reached the upper limit H, or is maintained above the lower limit L after it has reached the lower limit L. Second, that portion of the I-signal MV In which is maintained is reduced when a velocity-type signal SA is added to the I-signal during a feed-forward control, since the output of the signal converter 31 is set to the upper limit H when the output value MV n maintain to the upper limit H, or the lower limit L is set to the converter 31 when the manipulative variable MV n maintains at the lower limit L. Owing to the reduction of the discarded portion of the I-signal, the digital controller can not only prevent a reset wind-up, but also accomplish a reliable combined advanced control. Fig. 9 also illustrates a PID calculational system which can be used in the second embodiment, in place of the PID calculational unit shown in Fig. 6. The PID calculational system shown in Fig. 9 is identical to the unit shown in Fig. 8, except that a positional D-calculation controlling device 26 is used. The unit operates in the same way as the PID calculational system shown in Fig. 8, so as to attain the same advantages. Fig. 10 is a schematic representation of another PID calculational system which can be used in the second embodiment, in place of the PID calculational system shown in Fig. 6. Like the PID calculational system shown in Figs. 6, 7, 8, and 9, this unit performs either a positional or a velocity-type on a P-calculation term, an I-calculation term, and a D-calculation term, in accordance with the characteristics of these calculation terms. As can be understood from Fig. 10, this PID calculational system is different from those illustrated in Figs. 6, 7, 8, and 9, in that a set point variable filter 41 is connected between an interface 12 (Fig. 4) and a deviation calculator 16. The PID calculation unit shown in Fig. 10 is designed to add a control constant to a P-calculation term and an I-calculation term, thereby to control the influence of external disturbance on the manipulative variable MV n . More specifically, the parameter of the set point variable filter 41 is switched between two values in accordance with the magnitude of the external disturbance, thereby to change the control constant only, so that the object 25 is controlled most appropriately. The control system illustrated in Fig. 10 can be represented by the transmission functions shown in Fig. 11. The influence of the alteration of the set point variable SV n on the P-calculation term is given by: F(s)·C(s) = I + α·T I ·S 1 + T I ·S ·K p (1 + 1 T I ·S ) = 1 + α·T I ·S 1 + T I ·S ·K p · 1 + T I ·S T I ·S = K p (α + 1 T I ·S ) As is obviously understood from the above equation, the control constant K p of the P-calculation term changes between two values when the parameter a of the set point variable filter 41 is switched between two values in accordance with the magnitude of the external disturbance. Therefore, the digital controller having the PID calculational system shown in Fig. 10 performs an optimal control of the object 25 even when the set point variable SV n is altered.

Claims: A digital controller comprising: means (13) for detecting a process value (PV n ) of an object (25); means (16) for subtracting the process value (PV n ) from a set point value (SV n ), to obtain a deviation value (e n ); positional P-calculation means (21) for performing a positional P-calculation on the deviation value (e n ) to obtain a positional P-controlled signal (MVP n ); velocity-type I-calculation means (22) for performing velocity-type I-calculation on the deviation value (e n ) to obtain a velocity-type I-controlled signal (ΔMVI n ); and means (31, 32, 33) for forming a manipulative variable (MV n ) to be supplied to the object (25) by use of the positional P-controlled signal (MVP n ) and the velocity-type I-controlled signal (ΔMVI n ), characterized in that said manipulative variable forming means (31, 32, 33) comprises: signal converting means (31) having an upper limit (H) and a lower limit (L), for converting the velocity-type I-controlled signal (ΔMVI n ) into a positional I-signal (MVI n ) whose level is limited within a range between the upper limit (H) and the lower limit (L), means (32) for adding the positional I-signal (MVI n ) output from said signal-converting means (31) and the positional P-controlled signal (MVP n ) to obtain a manipulative variable (MV n ); and limiting means (33) having the upper limit (H) and the lower limit (L), for limiting a level of the manipulative variable (MV n ) output from said adding means (32) within a range between the upper limit (H) and the lower limit (L) (Fig. 8). A digital controller according to claim 1, characterized by further comprising positional D-calculation means (26) for performing a positional D-calculation on the deviation value (e n ) to obtain a positional D-controlled signal (MVD n ), wherein said adding means (27) adds the positional I-signal (MVI n ) obtained by said signal-converting means (23), the positional P-controlled signal (MVP n ), and the positional D-controlled signal (MVD n ) to obtain the manipulative variable (MV n ) (Fig. 9).

Inventors: HIROI KAZUO, HIROI, KAZUO, HIROI, KAZUO C/O INTELLECTUAL PROPERTY DIVISION
Applicants: TOSHIBA KK, KABUSHIKI KAISHA TOSHIBA
Application year: 1989
Main classification: G05B15
IPC codes: G05B13, G05B11, G05B15