Digital pid control apparatus

Abstract: In the digital PID (P: proportional, I: integral, D: derivative) control apparatus of the present invention, a deviation (en) is obtained from a controlling amount (PVn) of an object to be controlled (8), and a target value (SVn), a velocity type PI control operation (2,3) is carried out on the deviation, a velocity type D control operation (4) is carried out on the deviation or the controlling amount, these velocity type control operation outputs are synthesized, and then converted into a position type manipulation signal, and this signal is supplied to the object to be controlled. The derivation processing unit (4) includes a judgment unit for judging whether K = 2·Δt / (Δt + 2η·TD) ≦ 1, or K > 1 by using a control operation period Δt, a derivative time TD and a derivative gain 1 / η, and the operation unit (11) which carries out a lagged derivative operation by a bilinear transfer method when K ≦ 1, or carries out an exact derivative operation when K > 1.

Description: The present invention relates to a digital PID control apparatus used in various process instrumentation control systems. The PID (P: proportional action, I: integral action, D: derivative action) control mode is considered as the main mode of the feedback control directly acting on plant , event at present time where the plant. are driven at substantially the optimal efficiency with an advanced flexibility, and the PID control mode is widely used in many process controls. The basic formula of the PID control is expressed in a sum of a proportional action (P action) for outputting a calculation result which is proportional to a deviation, an integral action (I action) for outputting a calculation result which is proportional to an integration of the deviation, and a derivative action (D action) for outputting a calculation result which is proportional to a derivative of the deviation. The basic formula can be expressed in the form of transfer function as the formula (1) below: C(s) = MV(s) / E(s) = KP {1 + 1 / TI·s) + (TD·s) / (1 + η·TD·s)} where C(s): transfer function of PID, MV(s): operation amount, E(s): deviation, KP: proportional gain, TI: integrated time, TD: derivative time, s: Laplace operator, and 1 /η: derivative time. The formula (1) can be expressed in the form of velocity-type digital operation formula by use of a control operation period Δ, as the following formulas (2a) and (2b): ΔMVn = KP {(en - en-1) + (Δt / TI)·en + ΔDn} MVn = MVn-1 + ΔMVn Further, the derivative output Dn can be expressed using backwards difference by the formula (3a) and (3b): ΔDn = {TD / (Δt + η·TD)}·(en - en-1) - (Δt / (Δt + η·TD)}·Dn-1 Dn = Dn-1 + ΔDn where MVn: operation amount at present point, MVn-1: operation amount at previous control operation period, ΔMVn: a difference in operation amount from previous time to present time, en: the amount of deviation at the present point, en-1: the amount of deviation at the immediately previous control operation period, Dn: derivative output at present point; Dn-1: derivative output at previous control operation period; ΔDn: a difference in derivative output from previous time to present time, and Δt + η·TD: effective differential gain. FIG. 1 is a diagram showing the structure of digital PID control apparatus operating on the basis of the formulas (2a) to (3b). In this apparatus, a deviation "en" between a target value SVn and a control amount PVn is obtained by a deviation operating unit 51, and then the deviation en is supplied to a velocity type proportional control unit 52, a velocity type integral portion 53 and a velocity type derivative control unit 54. The velocity type proportional control unit 52 calculates ΔPn = en - en-1 by a proportional adjustment operation, the velocity type integral controlling unit 53 calculates ΔIn = (Δt / TI)·en by integral adjustment operation, and the velocity type derivative control unit 54 calculates ΔDn by the operations of the formulas (3a) and (3b). Further, an output of each calculation result is guided to an adding unit 55, where an adding synthesis is carried out to obtain ΔPn + ΔIn + ΔDn. After a while, a proportional gain KP is multiplied with an addition output from the adding unit 55, at a proportional gain unit 56, thereby obtaining a velocity type signal, that is, ΔMVn = KP(ΔPn + ΔIn + ΔDn), which is further supplied to a velocity type/position type signal converting unit 57. In this signal converting unit 57, the velocity type signal is converted into a position type manipulation signal MVn by performing an operation of MVn = MVn-1 + ΔMVn, and the converted signal is supplied to a control object 58. Thus, the controlling amount PVn and the target value SVn are equalized to each other, in other words, the deviation en (= SVn - PVn) is made zero. It should be noted that in order to calculate ΔDn and Dn of the formulas (3a) and (3b), it is required that the control operation period Δt be sufficiently small as compared to (η·TD). However, in the DDC (direct digital control) employed in an actual plant, the relationship in amount between the control operation period Δt and (η·TD) is not satisfied in many cases, and there are some cases in which the relationship in amount is completely reversed. In order to solve this problem, there is proposed a bilinear transfer mode as one of the derivative calculation methods which can be operated even if the control operation period Δt is larger than those of the formulas (3a) and (3b). In connection with the derivative operation, when the bilinear transfer method is employed, and the differentiation conversion is carried out, the velocity type derivative digital operation formulas (4a) and (4b) as below can be obtained. ΔDn = {2.TD / (Δt + 2 . η.TD)} . (en - en-1) - (2 . Δt / (Δt + 2 . η.TD)}.Dn-1 Dn = Dn-1 + ΔDn As is clear from the formulas (4a) and (4b), when the bilinear transfer method is employed, the control operation period Δt can be doubled as compared to those of the formulas (3a) and (3b). However, when the above bilinear transfer method is employed in the control system under the condition represented by the formula (5) below, an oscillation response which involves a resonance phenomenon shown in Fig. 2, as an example, is obtained. (2.Δt) / (Δt + 2η.TD) > 1 The simulation conditions regarding what is shown in Fig. 2 are; the control operation period Δt = 0.5 sec, η = 0.1, the proportional gain KP, which is a PID parameter, = 2.5, the integral time T1 = 3.2 sec, and the derivative time TD = 0.8 sec, with respect to the control object G(s) = e -2s / (1 + 5s). Therefore, with regard to the digital control operation methods such as expressed by the formulas (4a) and (4b), the control operation period Δt can be set high by employing the bilinear transfer method; however at the same time, the control may become very unstable, depending upon the relationship between the control operation period Δt and the derivative time TD. The object of the present invention is to provide a digital PID control apparatus capable of maintaining the stability of the control and the safety of the plant, even for a digital derivative action employing a bilinear transfer method. EP 04 06 836 discloses a digital PID control apparatus in which a derivation processing unit comprising an operation unit carrying out a derivative operation only when the control operation period is at, or less than, a predetermined value. According to the present invention, there is provided a digital PID (P: proportional, I: integral, D: derivative) control apparatus, comprising means for obtaining a deviation from a controlling amount of an object to be controlled, and a target value, for carrying out a velocity type PI control operation on the deviation, and for carrying out a velocity type D control operation on the deviation or the controlling amount, and in which these velocity type control operation outputs are synthesized, and converted into a position type manipulation signal which is supplied to the object to be controlled, said digital PID control apparatus being characterized by comprising: a deviation processing unit including: a judgement unit for judging whether K = 2.Δt / (Δt + 2η . TD) ≦ 1, or K > 1 by using a control operation period Δt, a derivative time TD and a derivative gain 1 / η; and an operation unit which carries out a derivative operation by a bilinear transfer method when K ≤ 1, or carries out a direct derivative operation when K >1. One embodiment of the present invention provides a digital PID (P: proportional, I: integral, D: derivative) control apparatus, in which a deviation is obtained from a controlling amount of an object to be controlled, and a target value, a velocity type PI control operation is carried out on the deviation, a velocity type D control operation is carried out on the deviation or the controlling amount, these velocity type control operation outputs are synthesized, and then converted into a position type manipulation signal, and this signal is supplied to the object to be controlled, the digital PID control apparatus comprising: a derivation processing unit further comprising: a judgment unit for judging whether K = 2 · Δt / (Δt + 2η·TD) ≦ 1, or K > 1 by using a control operation period Δt, a derivative time TD and a derivative gain 1/η, and means for carrying out the velocity type D control operation on the deviation, including a means for extracting velocity type D control operation results ΔDn, ΔDn' and a derivative output Dn by performing the following operation: when K ≦ 1, ΔDn = {(2·TD / (Δt + 2η·TD)} ·(en - en-1) - K·Dn-1 Dn = Dn-1 + ΔDn when K > 1, ΔDn' = {(2·TD / (Δt + 2η·TD)} ·(en - 2en-1 + en-2) Dn = Dn-1 + ΔDn'; and means for carrying out the velocity type D control operation on the controlling amount, including a means for extracting velocity type D control operation results ΔDn, ΔDn' and a derivative output Dn by performing the following operation: when K ≦ 1, ΔDn = {(2·TD / (Δt + 2η·TD)} ·(PVn-1 - PVn) - K·Dn-1 Dn = Dn-1 + ΔDn when K > 1, ΔDn' = {(2·TD / (Δt + 2η·TD)} ·(2PVn-1 - PVn - PVn-2) Dn = Dn-1 + ΔDn', where en: the amount of deviation at the present time, en-1: the amount of deviation at the time of the immediately previous control operation period, en-2: the amount of deviation at the time of one before the immediately previous control operation period, PVn-1: the control amount at the time of the immediately previous control operation period, PVn-2: the control amount at the time of one before the immediately previous control operation period, Dn: the derivative output at present time, and Dn-1: the derivative output at the time of the immediately previous control operation period. A further embodiment of the present invention provides a digital PID (P: proportional, I: integral, D: derivative) control apparatus, in which a deviation is obtained from a controlling amount of an object to be controlled, and a target value, a velocity type PI control operation is carried out on the deviation, a velocity type D control operation is carried out on the deviation or the controlling amount, these velocity type control operation outputs are synthesized, and then converted into a position type manipulation signal, and this signal is supplied to the object to be controlled, the digital PID control apparatus comprising: a derivation processing unit further comprising: a judgment unit for judging whether K = 2·Δt / (Δt + 2η·TD) ≦ 1, or K > 1 by using a control operation period Δt, a derivative time TD and a derivative gain 1 / η, and means for carrying out the velocity type D control operation on the deviation, including a means for extracting velocity type D control operation results ΔDn, ΔDn' and a derivative output Dn by performing the following operation: when K ≦ 1, ΔDn = {(2·TD / (Δt + 2η·TD)} .(en - en-1) - K·Dn-1 Dn = Dn-1 + ΔDn when K > 1, ΔDn' = (TD / Δt)·(en - 2en-1 + en-2) Dn = Dn-1 + ΔDn'; and means for carrying out the velocity type D control operation on the controlling amount, including a means for extracting velocity type D control operation results ΔDn, ΔDn' and a derivative output Dn by performing the following operation: when K ≦ 1, ΔDn = {(2·TD / (Δt + 2η·TD)} ·(PVn-1 - PVn) - K·Dn-1 Dn = Dn-1 + ΔDn when K > 1, ΔDn' = (TD / Δt)·(2PVn-1 - PVn - PVn-2) Dn = Dn-1 + ΔDn', where en: the amount of deviation at the present time, en-1: the amount of deviation at the time of the immediately previous control operation period, en-2: the amount of deviation at the time of one before the immediately previous control operation period, PVn: the control amount at present time, PVn-1: the control amount at the time of the immediately previous control operation period, PVn-2: the control amount at the time of one before the immediately previous control operation period, Dn: the derivative output at present time, and Dn-1: the derivative output at the time of the immediately previous control operation period. A further embodiment of the present invention provides a digital PID (P: proportional, I: integral, D: derivative) control apparatus, in which a deviation is obtained from a controlling amount of an object to be controlled, and a target value, a velocity type PI control operation is carried out on the deviation, a velocity type D control operation is carried out on the deviation or the controlling amount, these velocity type control operation outputs are synthesized, and then converted into a position type manipulation signal, and this signal is supplied to the object to be controlled, the digital PID control apparatus comprising: a derivation processing unit further comprising: a judgment unit for judging whether K = 2·Δt /(Δt + 2η·TD) ≦ 1, or K > 1 by using a control operation period Δt, a derivative time TD and a derivative gain 1 / η; and means for carrying out the velocity type D control operation on the deviation, including a means for extracting velocity type D control operation results ΔDn, ΔDn' and a derivative output Dn by performing the following operation: when K ≦ 1, ΔDn = {(2·TD / (Δt + 2η·TD)} ·(en - en-1) - K·Dn-1 Dn = Dn-1 + ΔDn when K > 1, ΔDn' = (TD / Δt)·(en - en-1) - {(Δt + 2η·TD / (2·Δt)}·Dn-1 Dn = Dn-1 + ΔDn'; and means for carrying out the velocity type D control operation on the controlling amount, including a means for extracting velocity type D control operation results ΔDn, ΔDn' and a derivative output Dn by performing the following operation: when K ≦ 1, ΔDn = {(2·TD / (Δt + 2η·TD)} ·(PVn-1 - PVn) - K·Dn-1 Dn = Dn-1 + ΔDn when K > 1, ΔDn' = (TD / Δt)·(PVn-1 - PVn) - {(Δt + 2η·TD / (2·Δt)}·Dn-1 Dn = Dn-1 + ΔDn', where en: the amount of deviation at the present time, en-1: the amount of deviation at the time of the immediately previous control operation period, PV: the control amount at present time, PVn-1: the control amount at the time of the immediately previous control operation period, Dn: the derivative output at present time, and Dn-1: the derivative output at the time of the immediately previous control operation period. A further embodiment of the present invention provides a digital PID (P: proportional, I: integral, D: derivative) control apparatus, in which a deviation is obtained from a controlling amount of an object to be controlled, and a target value, a velocity type PI control operation is carried out on the deviation, a velocity type D control operation is carried out on the deviation or the controlling amount, these velocity type control operation outputs are synthesized, and then converted into a position type manipulation signal, and this signal is supplied to the object to be controlled, the digital PID control apparatus comprising: a derivation processing unit further comprising: a judgment unit for judging whether K = 2·Δt /(Δt + 2η·TD) ≦ 1, or K > 1 by using a control operation period Δt, a derivative time TD and a derivative gain 1 / η; and means for carrying out the velocity type D control operation on the deviation, including a means for extracting velocity type D control operation results ΔDn, ΔDn' and a derivative output Dn by performing the following operation: when K ≦ 1, ΔDn = {(2·TD / (Δt + 2η·TD)} ·(en - en-1) - K·Dn-1 Dn = Dn-1 + ΔDn when K > 1, ΔDn' = (TD / Δt) ·(en - en-1) - {(Δt / (Δt + η·TD)}·Dn-1 Dn = Dn-1 + ΔDn'; and means for carrying out the velocity type D control operation on the controlling amount, including a means for extracting velocity type D control operation results ΔDn, ΔDn' and a derivative output Dn by performing the following operation: when K ≦ 1, ΔDn = {(2·TD / (Δt + 2η·TD)} ·(PVn-1 - PVn) - K·Dn-1 Dn = Dn-1 + ΔDn when K > 1, ΔDn' = (TD / Δt)·(PVn-1 - PVn) - {Δt / (Δt + η·TD)}·Dn-1 Dn = Dn-1 + ΔDn', where en: the amount of deviation at the present time, en-1: the amount of deviation at the time of the immediately previous control operation period, PV: the control amount at present time, PVn-1: the control amount at the time of the immediately previous control operation period, Dn: the derivative output at present time, and Dn-1: the derivative output at the time of the immediately previous control operation period. Embodiments of the invention will now be described by way of example, with reference to the accompanying drawings, in which: FIG. 1 is a block diagram showing the structure of a conventional digital PID control apparatus; FIG. 2 is a diagram showing a simulation result of the conventional digital PID control apparatus, obtained in the case where the bilinear transfer method is employed and the control operation period is prolonged; FIGS. 3A to 3D are diagrams showing the open loop response characteristics of the conventional digital PID control apparatus, in the case where various control operation period is varied in various ways by the bilinear transfer method; FIG. 4 is a block diagram showing the structure of a PID control apparatus according to the present invention; FIG. 5 is a block diagram showing another example of the structure of the velocity type differentiating process unit provided in the digital PID control apparatus shown in FIG. 4; FIGS. 6A and 6B are diagrams showing the response characteristics in the case where derivative action according to a first embodiment of the present invention is employed; FIGS. 7A and 7B are diagrams showing the response characteristics in the case where derivative action according to a second embodiment of the present invention is employed; FIGS. 8A and 8B are diagrams showing the response characteristics in the case where the derivative action according to a third embodiment of the present invention is employed; FIGS. 9A and 9B are diagrams showing the response characteristics in the case where the derivative action according to a fourth embodiment of the present invention is employed; and FIG. 10 is a diagram showing a simulation result obtained by the derivative action of the second embodiment. Prior to the detailed description of the embodiments of the present invention, the relationship between the control operation period Δt and the derivative time TD, which causes instability in the control when using the digital derivative action method employing the bilinear transfer method, will now be described for the reader to be able to more easily understand the contents of the present invention. When the increment (en - en-1) in the deviation in the formula (4a) is rendered zero, and a difference ΔDn in the derivative output from the immediately previous time to the present time becomes larger than the derivative output Dn-1 at the immediately previous control operation period, the first half term of the formula is zero since the increment in the deviation is zero, and therefore the following formula (22) is obtained from the last half term of the formula (4a): ΔDn = - {(2·Δt / (Δt + 2·η·TD)}·Dn-1 that is, 2·Δt / (Δt + 2·η·TD) > 1 When a coefficient K is assigned to the left side of the formula (22), the following formula is obtained: K = 2·Δt / (Δt + 2·η·TD) Based on the formula (23), the relationship between the control operation period Δt and the derivative time TD, will now be described. First, as described in connection with the conventional example, when the control operation period Δt is rendered larger than η·TD, an oscillation occurs. In order to specify the cause for the oscillation, the open loop characteristics obtained when the digital derivative action method employing the bilinear transfer is applied, are examined while fixing the derivative time TD = 2 sec and the derivative gain η = 0.1, and varying the control operation period Δt, as can be seen in FIGS. 3A to 3D, and the obtained values in terms of the response properties are compared. FIG. 3A illustrates an example when the control operation period Δt = 0.01 sec. In this example, K « 1 (Δt « 2·η·TD). As can be seen in this figure, derivative response characteristics similar to those of the backward difference method or the conventionally used simplified operation method expressed by the formula (3a) and (3b), can be obtained. FIG. 3B illustrates an example when the control operation period Δt = 0.1 sec. In this example, K < 1. As can be seen in this figure, derivative response characteristics different from those of the backwards difference method expressed by the formula (3a) and (3b), gradually starts to appear. FIG. 3C illustrates an example when the control operation period Δt = 0.4 sec. In this example, K = 1 (Δt = 2·η·TD). As can be seen in this figure, complete derivative type response characteristics can be obtained. FIG. 3D illustrates an example when the control operation period Δt = 0.6 sec. In this example, K > 1 (Δt > 2·η·TD). As can be seen in this figure, a pull-back phenomenon, in which the derivative output is inverted (in a negative direction), occurs. More specifically, in the case of a bilinear transfer, a closer approximation to the continuous type differentiation (ideal differentiation) than that of the case of the backwards difference method; however, in a region where Δt > 2·η·TD, a pull-back phenomenon occurs. Consequently, when an operation control unit involving the derivative action in which a pull-back phenomenon occurs as shown in FIG. 3D, is applied to an object to be controlled, the response becomes unstable, and when the control operation period Δt is further prolonged, an oscillation occurs. Therefore, in order to obtain a stable derivative output, it is required that the derivative action should be carried out under the judgment condition where a pull-back phenomenon, which is an oscillation factor in the derivative action, does not occur. Regarding the apparatus of the present invention, the above-stated formula (23), that is, K = 2·Δt > (Δt + 2·η·TD) is considered as a judgment condition value, and the derivative action formula is changed depending upon whether K is larger than 1 or smaller than 1. In this manner, a PID operation control unit, which is stable regardless of the characteristics of the object to be controlled, can be obtained, and the safety of the plant can be improved. Embodiments of the present invention will now be described with reference to accompanying drawings. (First Embodiment) FIG. 4 is a block diagram showing the structure of a PID control apparatus according to the present invention. The control apparatus includes a deviation operation unit 1 for calculating a deviation en between a target value SVn and a control amount PVn (en = SVn - PVn), a velocity type proportional control unit 2 for calculating a proportional operation unit ΔPn by carrying out the following operation: ΔPn = en - en-1 using the deviation en and the deviation at the immediately previous time, en-1, obtained from the deviation operation unit 1, and a velocity type integral control unit 3 for calculating an integral operation output ΔIn by carrying out the following operation: ΔIn = (Δt / TI) ·en using the deviation en obtained from the deviation operation unit 1, the control operation period Δt and the integral time TI. In the apparatus, the velocity differentiating process unit 4 for calculating an operation output which is proportional to the derivative of the deviation en, is provided. The velocity derivation processing unit 4 includes a velocity type derivative control unit 11 for carrying out a velocity type derivative action based on the following operation formula: ΔDn = {(A·2·TD) / (Δt + 2·η·TD)}·(en - en-1) - B·Dn using the bilinear transfer as a derivative term of the deviation en, and condition judgment unit 12 for judging whether a judgment reference value K of the formula (24) is K ≦ 1 or K > 1, setting correction coefficients A and B to the formula (25) of the derivative control unit 11 in accordance with the following condition: when K ≦ 1, A = 1, B = K, or when K > 1, A = 1, B = 1 and allowing the apparatus to carry out a derivative action. Further, the apparatus includes an adding unit 5 for adding and synthesizing operation outputs from the control units 2 and 3 and the process unit 4, a proportional gain unit 6 for multiplying the synthesized output with a proportional gain KP, a velocity type/position type signal conversion unit 7 for converting a velocity type signal to a position signal, and an object 8 to be controlled. A difference ΔDn in the derivative output obtained from the velocity type derivative control unit 11 of the velocity type derivation process unit 4, will be as follows, depending upon the level of the judgment reference value K: When K ≦ 1, ΔDn = {(2·TD) / (Δt + 2·η·TD)}·(en - en-1) - K·Dn-1 K > 1, ΔDn' = {(2·TD) / (Δt + 2·η·TD)} ·(en - 2en-1 + en-2) where Dn: the derivative output at the present time, en: the amount of deviation at the present time; en-1: the amount of deviation at the time of the immediately previous control operation period; en-2: the amount of deviation at the time of one before the immediately previous control operation period; 1/ η: derivative gain and K: coefficient. When the velocity type signal is converted into a position type differentiation signal by use of a difference ΔDn in derivative output, the following relationships can be induced: When K ≦ 1, Dn = Dn-1 + ΔDn of the formula (26) When K > 1, Dn = Dn-1 + ΔDn' of the formula (27) With the above-described structure of the embodiment, when the judgment condition value K is equal to 1 or smaller, the derivative output by the bilinear transfer such as shown in FIG. 6A is obtained. However, when the judgment condition value K is larger than 1, the pull-back of the derivative output is completely cut as shown in FIG. 6B by performing the derivative action of a complete derivative type. Therefore, an oscillation response along with a resonance phenomenon, is never generated, and therefore the stability of control can be maintained. As another example of the velocity type derivation processing unit 4, the following structure can be considered. That is, as shown in FIG. 5, a first velocity type derivative control unit 11A and a second velocity type derivative control unit 11B for carrying out operations of differences ΔDn and ΔDn' in derivative output such as in the formulas (26) and (27) are prepared in advance, and each of the control units 11A and 11B are switched over by means of a switch unit 13 in accordance with the result of judgment by the condition judgment unit 12, that is, whether K ≦ 1 or K > 1. Further, the above-described embodiment has the structure in which a feedback signal, which indicates the controlling amount PVn, is guided to the deviation operation unit 1 for calculating the target value and the deviation. For example, it is possible that in the case of a proceeding derivative action control apparatus for carrying out a derivative action on a control amount, a difference in derivative output is calculated by the following operation: When K ≦ 1, ΔDn = {(2·TD) / (Δt + 2·η·TD)}·(PVn-1 - PVn) - K·Dn-1 K > 1, ΔDn' = {(2·TD / (Δt + 2·η·TD)} ·(2PVn-1 - PVn + PVn-2) (Second Embodiment) This embodiment involves a velocity derivation processing unit 4 which has the same structure as that shown in FIG. 4 or 5, except that the following correction coefficients A and B are set when K ≦ 1 and K > 1. More specifically, under the following conditions: that is, when K ≦ 1, A = 1, B = K, or when K > 1, A = 1 / K, B = 1, the condition judgment unit 12 sets the correction coefficients A and B in the derivative control unit 11. As a result, differences in derivative output, namely, ΔDn and ΔDn' are calculated by the following operation: When K ≦ 1, ΔDn = {(2·TD) / (Δt + 2·η·TD)}·(en - en-1) - K·Dn-1 When K > 1, ΔDn' = (TD / Δt)·(en - 2en-1 + en-2) When the velocity type signal is converted into a position type differentiation signal by use of a differences ΔDn and ΔDn' in derivative output, the following relationships can be induced: When K ≦ 1, Dn = Dn-1 + ΔDn of the formula (32) When K > 1, Dn = Dn-1 + ΔDn' of the formula (33) With the above-described structure of the embodiment, when the judgment condition value K is equal to 1 or smaller, the derivative output by the bilinear transfer such as shown in FIG. 7A is obtained. However, when the judgment condition value K is larger than 1, a derivative output is adjusted by the variation of the control operation period Δt, and the height of the derivative output is decreased as shown in FIG. 7B. However, the area of a differential is always constant, and therefore a complete derivative type derivative action is carried out. Therefore, the control waveform area same as that of the analog differentiation can be obtained. Consequently, the stability of the control can be further improved, and an effect similar to that of the analog differentiation can be obtained. The difference of the derivative action on the control amount is transformed as in the first embodiment, and can be obtained by the following equations: When K ≦ 1, ΔDn = {(2·TD) / (Δt + 2·η·TD)}·(PVn-1 - PVn) - K·Dn-1 When K > 1, ΔDn' = (TD / Δt)·(2PVn-1 - PVn - PVn-2) (Third Embodiment) This embodiment involves a velocity derivation processing unit 4 which has the same structure as that shown in FIG. 4 or 5, except that the following correction coefficients A and B are set when K ≦ 1 and K > 1. More specifically, under the following conditions: when K ≦ 1, A = 1, B = K, or when K > 1, A = 1 / K, B = 1 / K, the condition judgment unit 12 sets the correction coefficients A and B in the derivative control unit 11. As a result, differences in derivative output, namely, ΔDn and ΔDn' are calculated by the following operation: When K ≦ 1, ΔDn = {(2·TD) / (Δt + 2·η·TD)}·(en - en-1) - K·Dn-1 When K > 1, ΔDn' = (TD / Δt) ·(en - en-1) - {(Δt + 2·η·TD) / (2·Δt)}·Dn-1) The position type derivative signal Dn can be obtained by use of differences ΔDn and ΔDn' in derivative output, as mentioned before. The difference in the value of derivative action on the control amount can be obtained by transforming it as in the first embodiment by use of: When K ≦ 1, ΔDn = {(2·TD) / (Δt + 2·η·TD)}·(PVn-1 - PVn) - K·Dn-1 When K > 1, ΔDn = (TD / Δt)·(PVn-1 - PVn) - {(Δt + 2·η·TD) / (2·Δt)}·Dn-1) With the above-described structure of the embodiment, when the judgment condition value K is equal to 1 or smaller, the derivative output by the bilinear transfer such as shown in FIG. 8A is obtained. However, when the judgment condition value K is larger than 1, the derivative output is gradually and stepwise decreased. However, as shown in FIG. 8B, the portion corresponding to the pull-back portion in the conventional case appears in the positive direction, while keeping the area of the derivative output of each control operation period at constant. Consequently, the safety of the control can be maintained. (Fourth Embodiment) This embodiment involves a velocity derivation processing unit 4 which has the same structure as that shown in FIG. 4 or 5, except that the following correction coefficients A and B are set when K ≦ 1 and K > 1. More specifically, under the following conditions: when K ≦ 1, A = 1, B = K, or when K > 1, A = 1 / K, B = Δt / (Δt + η·TD), the condition judgment unit 12 sets the correction coefficients A and B in the derivative control unit 11. As a result, differences in derivative output, namely, ΔDn and ΔDn' are calculated by the following operation: When K ≦ 1, ΔDn = {(2·TD) / (Δt + 2·η·TD)}·(en - en-1) - K·Dn-1 When K > 1, ΔDn' = (TD / Δt)·(en - en-1) - {Δt / (Δt + η·TD)}·Dn-1 The position type derivative signal Dn can be obtained by use of differences ΔDn and ΔDn' in derivative output, as mentioned before. The difference in the value of derivative action on the control amount can be obtained by transforming it as in the first embodiment by use of: When K ≦ 1, ΔDn = {(2·TD) / (Δt + 2·η·TD)}·(PVn-1 - PVn) - K·Dn-1 When K > 1, ΔDn = (TD / Δt)·(PVn-1 - PVn) - {Δt / (Δt + η·TD)}·Dn-1) With the above-described structure of the embodiment, when the judgment condition value K is equal to 1 or smaller, the derivative output by the bilinear transfer such as shown in FIG. 9A is obtained. However, when the judgment condition value K is larger than 1, the derivative output is gradually and stepwise decreased. However, as shown in FIG. 9B, the portion corresponding to the pull-back portion in the conventional case appears in the positive direction, and response characteristics similar to those of the fourth embodiment can be obtained. Therefore, in each of the embodiments of the present invention, even if the control operation period Δt is prolonged with regard to the derivative time TD, a stable derivative control can be obtained. FIG. 10 is a diagram showing a simulation result in the case where the derivative action of the second embodiment is employed. The simulation conditions of this case are the same as those of the case shown in FIG. 2 (prior art). More specifically, with respect to the control object G(s) = e -2s / (1 + 5s), the following conditions are set: the control operation period Δt = 0.5 sec, η = 0.1, the proportional gain, which is a PID parameter, = 2.5, the integral time TI = 3.2 sec and the derivative time = 0.8 sec. With these conditions, K becomes larger than 1 (K > 1), and in the case of the bilinear transfer method, oscillation occurs in the prior art technique. However, with the apparatus of the present invention, the unstable region, which is created by the bilinear transfer method in the prior art, can be removed by setting the correction coefficients A and B and varying the derivative action method. Therefore, even in a DDC involving a long control operation period, a stable control can be realized by employing the bilinear transfer method. According to the present invention, various effects described below can be achieved. According to the first embodiment of the present invention, even in the case where the bilinear transfer method, if the judgment condition value K is larger than 1, a complete derivative type derivative action can be performed. Consequently, the pull-back of the derivative output can be completely cut, and the safety of the control can be maintained. According to the second embodiment of the present invention, even in the case where the bilinear transfer method, if the judgment condition value K is larger than 1, a complete derivative type derivative action can be performed. Consequently, the area of the control waveform can be made the same as that of the analog derivative, and the safety of the control can be further improved. According to the third embodiment of the present invention, even in the case where the bilinear transfer method, if the judgment condition value K is larger than 1, the derivative action method is varied. Thus, the derivative output is gradually and stepwise decreased, and the pull-back portion, which is created in the prior art technique, appears in the positive direction. Further, the area of the control waveform can be made the same as that of the analog derivative, and the safety of the control can be further improved. According to the fourth embodiment of the present invention, a differential operation substantially the same as that of the third embodiment, can be achieved, and therefore the safety of the control can be further improved. As described above, according to the present invention, even in the case of a long control operation period, a differentiation term operation which is appropriate for the control operation period, is performed. An oscillation which is caused by a change in control operation period, can be avoided, and it is possible to make an effective use of the derivative action.

Claims: A digital PID (P: proportional, I: integral, D: derivative) control apparatus, comprising means for obtaining a deviation from a controlling amount of an object to be controlled, and a target value, for carrying out a velocity type PI control operation on the deviation, and for carrying out a velocity type D control operation on the deviation or the controlling amount, and in which these velocity type control operation outputs are synthesized, and converted into a position type manipulation signal which is supplied to the object to be controlled, said digital PID control apparatus being characterized by comprising: a deviation processing unit (4) including: a judgement unit (12) for judging whether K = 2.Δt / (Δt + 2η . TD) ≦ 1, or K > 1 by using a control operation period Δt, a derivative time TD and a derivative gain 1 / η; and an operation unit (11) which carries out a derivative operation by a bilinear transfer method when K ≤ 1, or carries out a direct derivative operation when K >1. Apparatus according to claim 1, further characterized in that said operation unit (11) includes: means for carrying out a velocity type D control operation of the deviation, including a means for extracting velocity type D control operation results ΔDn, ΔDn' and a derivative output Dn by performing the following operation: when K ≦ 1 ΔDn = {(2.TD / (Δt + 2η.TD)} . (en - [en-1]) - K.[Dn-1] Dn = [Dn-1] + ΔDn when K > 1, ΔDn' = {(2 . TD/ (Δt + 2η . TD)} . (en - 2[en-1] + [en-2]) Dn = [Dn-1] + ΔDn'; and means for carrying out a velocity type D control operation, including a means for extracting velocity type D control operation results ΔDn, ΔDn' and a derivative output Dn by performing the following operation: when K ≦ 1, ΔDn = {(2.TD / (Δt + 2η.TD)} . ([PVn-1] - PVn ) - K . [Dn-1] Dn = Dn-1 + ΔDn when K > 1, ΔDn' = {(2. TD/ (Δt + 2η . TD)} (2[PVn - 1] - PVn - [PVn-2]) Dn = [Dn-1] + ΔDn', and where en: the current amount of deviation, [en-1]: the amount of deviation at the time of the immediately previous control operation period, [en-2]: the amount of deviation at the time of one before the immediately previous control operation period, [PVn-1]: the control amount at the time of the immediately previous control operation period, [PVn-2]: the control amount at the time of one period before the immediately previous control operation period, Dn: the current derivative output, and [Dn-1]: the derivative output at the time of the immediately previous control operation period. Apparatus according to claim 1, further characterized in that said operation unit (11) includes: means for carrying out a velocity type D control operation on the deviation, including a means for extracting velocity type D control operation results ΔDn, ΔDn' and a derivative output Dn by performing the following operation: when K ≦ 1, ΔDn = {(2.TD / (Δt + 2η.TD)} . (en - [en-1]) - K . [Dn-1] Dn = [Dn-1] + ΔDn when K > 1, ΔDn' = ( TD / Δt). (en - 2[en-1] + [en-2]) Dn = [Dn-1] + ΔDn'; and means for carrying out the velocity type D control operation, including a means for extracting velocity type D control operation results ΔDn, ΔDn' and a derivative output Dn by performing the following operation: when K ≦ 1, ΔDn = {(2.TD / (Δt + 2η.TD)} . [PVn-1] - PVn) - K . [Dn-1] Dn = [Dn-1] + ΔDn when K > 1, ΔDn' = ( TD / Δt). (2 [PVn-1] - PVn - [PVn - 2]) Dn = [Dn-1] + ΔDn', and where en: the current amount of deviation [en-1]: the amount of deviation at the time of the immediately previous control operation period, [en-2]: the amount of deviation at the time of one period before the immediately previous control operation period, PVn: the current control amount, [PVn-1]: the control amount at the time of the immediately previous control operation period, [PVn-2]: the control amount at the time of one period before the immediately previous control operation period, Dn: the current derivative output, and [Dn-1]: the derivative output at the time of the immediately previous control operation period. Apparatus according to claim 1 further characterized in that said operation unit (11) includes: means for carrying out the velocity type D control operation on the deviation, including a means for extracting velocity type D control operation results ΔDn, ΔDn' and a derivative output Dn by performing the following operation: when K ≦ 1, ΔDn = { (2.TD / (Δt + 2η.TD)} . (en - [en-1]) - K . [Dn-1] Dn = [Dn-1] + ΔDn when K > 1, ΔDn' = (TD / Δt).(en-[en-1]) - {(Δt + 2η.TD / (2. Δt)}.[Dn-1] Dn = [Dn-1] + ΔDn', and means for carrying out a velocity type D control operation, including a means for extracting velocity type D control operation results ΔDn, ΔDn' and a derivative output Dn by performing the following operation: when K ≦ 1, ΔDn = {(2.TD / (Δt + 2η.TD)} . [PVn-1] - PVn) - K . [Dn-1] Dn = Dn-1 + ΔDn when K > 1, ΔDn' = (TD / Δt).([PVn-1] - PVn ) - { (Δt + 2η.TD/(2.Δt)} . [Dn-1] Dn = [Dn-1] + ΔDn', where en: the current amount of deviation, [en-1]: the amount of deviation at the time of the immediately previous control operation period, PV: the control amount at present time, [PVn-1]: the control amount at the time of the immediately previous control operation period, Dn: the current derivative output, and [Dn-1]: the derivative output at the time of the immediately previous control operation period. An apparatus according to claim 1, further characterized in that said operation unit includes: means for carrying out a velocity type D control operation on the deviation, including a means for extracting velocity type D control operation results ΔDn, ΔDn' and a derivative output Dn by performing the following operation: when K ≦ 1, ΔDn = {(2.TD / (Δt + 2η.TD)} . ( en - [en-1]) - K . [Dn-1] Dn = [Dn-1] + ΔDn when K > 1, ΔDn' = (TD / Δt) . (en - [en-1]) - { (Δt / (Δt + η.TD)}. [Dn-1] Dn = [Dn-1] + ΔDn', and means for carrying out a velocity type D control operation, including a means for extracting velocity type D control operation results ΔDn, ΔDn' and a derivative output Dn by performing the following operation: when K ≦ 1, ΔDn = { (2.TD / (Δt + 2η.TD)} . ([PVn-1] - PVn) - K . Dn-1 Dn = [Dn-1] + ΔDn when K > 1, ΔDn' = ( TD / Δt).([PVn-1] - PVn) - { Δt / (Δt + η.TD)}.[Dn-1] Dn = [Dn-1] + ΔDn', where en: the current amount of deviation at the present time, [en-1]: the amount of deviation at the time of the immediately previous control operation period, PV: the control amount at present time, [PVn-1]: the control amount at the time of the immediately previous control operation period, Dn: the derivative output at present time, and Dn-1: the derivative output at the time of the immediately previous control operation period.

Inventors: HIROI KAZUO, YAMAMOTO YOSHIYUKI, HIROI, KAZUO, YAMAMOTO, YOSHIYUKI
Applicants: TOSHIBA KK, KABUSHIKI KAISHA TOSHIBA
Application year: 1996
Main classification: G05B13
IPC codes: G05B11, G05B13, G05B21