JP6922224B2 - Control device, control method, control program - Google Patents
Control device, control method, control program Download PDFInfo
- Publication number
- JP6922224B2 JP6922224B2 JP2017002459A JP2017002459A JP6922224B2 JP 6922224 B2 JP6922224 B2 JP 6922224B2 JP 2017002459 A JP2017002459 A JP 2017002459A JP 2017002459 A JP2017002459 A JP 2017002459A JP 6922224 B2 JP6922224 B2 JP 6922224B2
- Authority
- JP
- Japan
- Prior art keywords
- value
- pid
- control
- target
- calculation
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B13/00—Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion
- G05B13/02—Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion electric
- G05B13/0205—Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion electric not using a model or a simulator of the controlled system
- G05B13/024—Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion electric not using a model or a simulator of the controlled system in which a parameter or coefficient is automatically adjusted to optimise the performance
- G05B13/0245—Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion electric not using a model or a simulator of the controlled system in which a parameter or coefficient is automatically adjusted to optimise the performance not using a perturbation signal
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/10—Plc systems
- G05B2219/13—Plc programming
- G05B2219/13103—Adaptive selftuning regulator
Landscapes
- Engineering & Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Evolutionary Computation (AREA)
- Medical Informatics (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Feedback Control In General (AREA)
Description
本発明は、温度制御、モータ制御等の対象装置への制御技術に関する。 The present invention relates to a control technique for a target device such as temperature control and motor control.
従来、温度調整器等に制御系機器では、特許文献1に示すようなPID制御が多く利用されている。 Conventionally, PID control as shown in Patent Document 1 is often used in control system devices such as temperature regulators.
PID制御機器は、特許文献1に示すように、PID制御部とPID調整部とを備える。PID調整部は、適応制御またはオートチューニングを用いて、PID値(比例帯P、積分時間TI、微分時間Td等)を算出し、PID制御部に与える。 As shown in Patent Document 1, the PID control device includes a PID control unit and a PID adjustment unit. The PID adjustment unit calculates a PID value (proportional band P, integration time TI, differential time Td, etc.) using adaptive control or auto-tuning and gives it to the PID control unit.
PID制御部は、PID値、PID制御の目標値、および現在値を用いて、制御対象に対する操作量を決定する。 The PID control unit determines the operation amount for the control target by using the PID value, the target value of PID control, and the current value.
操作量は、PID調整部にフィードバックされ、PID調整部は、この操作量を用いて、PID値を再算出して更新し、PID制御部に与える。 The operation amount is fed back to the PID adjustment unit, and the PID adjustment unit recalculates and updates the PID value using this operation amount and gives it to the PID control unit.
しかしながら、特許文献1に記載のような従来のPID制御では、PID値の異常等によって、PID制御の制御性能が低下することがある。 However, in the conventional PID control as described in Patent Document 1, the control performance of the PID control may be deteriorated due to an abnormality of the PID value or the like.
したがって、本発明の目的は、PID制御の制御性能の低下を抑制することにある。 Therefore, an object of the present invention is to suppress a decrease in control performance of PID control.
この発明の制御装置は、PID値を算出するPID算出部、PID制御部、および、判定部を備える。PID制御部は、PID値、制御対象の目標値、および、制御対象の実測値を用いて、PID制御を実行し、制御対象に対する操作量を算出する。判定部は、目標値と実測値との組合せ、および、PID値の少なくとも一方を用いて、PID値の算出の停止を判定する。 The control device of the present invention includes a PID calculation unit for calculating a PID value, a PID control unit, and a determination unit. The PID control unit executes PID control using the PID value, the target value of the control target, and the actually measured value of the control target, and calculates the operation amount for the control target. The determination unit determines whether to stop calculating the PID value by using the combination of the target value and the actually measured value and at least one of the PID values.
この構成は、PID制御に用いる各値を用いて、PID制御の異常が検出される。 In this configuration, an abnormality in PID control is detected by using each value used for PID control.
また、この発明の制御装置では、判定部は、目標値と実測値との組合せを用いるときに、目標値と、PID制御の動作可能基準値とから、動作可能基準値よりも目標値に近い値の範囲からなる禁止領域を算出する。実測値の初期値が禁止領域内であることを検出すると、PID値の算出を停止する。 Further, in the control device of the present invention, when the determination unit uses the combination of the target value and the actually measured value, the target value and the operable reference value of PID control are closer to the target value than the operable reference value. Calculate the prohibited area consisting of the range of values. When it is detected that the initial value of the measured value is within the prohibited area, the calculation of the PID value is stopped.
この構成では、実測値の初期値が目標値に近いことによるPID制御の不安定な動作が抑制される。 In this configuration, the unstable operation of PID control due to the initial value of the measured value being close to the target value is suppressed.
また、この発明の制御装置では、禁止領域は前記目標値以上の範囲も含む。 Further, in the control device of the present invention, the prohibited area includes a range equal to or more than the target value.
この構成では、実測値の初期値が目標値以上であることによるPID制御の不安定な動作が抑制される。 In this configuration, the unstable operation of PID control due to the initial value of the measured value being equal to or higher than the target value is suppressed.
また、この発明の制御装置では、判定部は、目標値と実測値との組合せを用いるときに、PID値のむだ時間から第1判定時間を決定する。判定部は、第1判定時間の実測値と実測値の初期値とから実測値の変化量を算出する。判定部は、実測値の変化量が第1判定用閾値未満であることを検出すると、PID値の算出を停止する。 Further, in the control device of the present invention, the determination unit determines the first determination time from the wasted time of the PID value when the combination of the target value and the actually measured value is used. The determination unit calculates the amount of change in the actual measurement value from the actual measurement value of the first determination time and the initial value of the actual measurement value. When the determination unit detects that the amount of change in the measured value is less than the first determination threshold value, the determination unit stops the calculation of the PID value.
この構成では、実測値が変化しないことからPID制御の異常が検出される。 In this configuration, since the measured value does not change, an abnormality in PID control is detected.
また、この発明の制御装置では、判定部は、目標値と実測値との組合せを用いるときに、目標値と実測値の初期値から、目標値を中心値とする許容範囲を算出する。判定部は、適応制御によるPID値の算出に用いる時系列データの最後の時間から、第2判定時間を決定する。判定部は、第2判定時間の実測値が許容範囲に入っていないことを検出すると、PID値の算出を停止する。 Further, in the control device of the present invention, when the determination unit uses the combination of the target value and the actually measured value, the determination unit calculates an allowable range centered on the target value from the initial value of the target value and the actually measured value. The determination unit determines the second determination time from the last time of the time series data used for calculating the PID value by adaptive control. When the determination unit detects that the actually measured value of the second determination time is not within the permissible range, the determination unit stops the calculation of the PID value.
この構成では、適応制御後の実測値からPID制御の異常が検出される。 In this configuration, an abnormality in PID control is detected from the measured value after adaptive control.
また、この発明の制御装置では、判定部は、PID値を用いるときに、PID値の比例帯または積分時間のいずれかがそれぞれに設定された閾値未満であることを検出すると、PID値の算出を停止する。例えば、閾値は0である。 Further, in the control device of the present invention, when the determination unit uses the PID value, when it detects that either the proportional band of the PID value or the integration time is less than the threshold value set for each, the determination unit calculates the PID value. To stop. For example, the threshold is 0.
この構成では、PID値からPID制御の異常が検出される。 In this configuration, an abnormality in PID control is detected from the PID value.
また、この発明の制御装置では、判定部は、PID値を用いるときに、PID値の初期値と現在値との差を算出する。判定部は、差が閾値より大きいことを検出すると、PID値の算出を停止する。 Further, in the control device of the present invention, the determination unit calculates the difference between the initial value and the current value of the PID value when the PID value is used. When the determination unit detects that the difference is larger than the threshold value, the determination unit stops the calculation of the PID value.
この構成では、PID値の変化量からPID制御の異常が検出される。 In this configuration, an abnormality in PID control is detected from the amount of change in the PID value.
この発明によれば、PID制御の制御性能の低下を抑制できる。 According to the present invention, it is possible to suppress a decrease in control performance of PID control.
本発明の第1の実施形態に係る制御装置、制御方法、および、制御プログラムについて、図を参照して説明する。なお、以下の実施形態では、制御の具体例としてヒータ等の温度調整(温度制御)の場合を示しているが、モータ等の回転制御等、他の物理量の制御に対しても適用することができる。図1は、本発明の第1の実施形態に係る温度調整装置を含む温度調整システムの機能ブロック図である。 The control device, the control method, and the control program according to the first embodiment of the present invention will be described with reference to the drawings. In the following embodiment, the case of temperature adjustment (temperature control) of a heater or the like is shown as a specific example of control, but it can also be applied to control of other physical quantities such as rotation control of a motor or the like. can. FIG. 1 is a functional block diagram of a temperature control system including a temperature control device according to the first embodiment of the present invention.
図1に示すように、温度調整装置10は、目標値設定部11、PID算出部12、入力部13、PID制御部14、および、判定部15を備える。温度調整装置10は、本発明の「制御装置」に対応する。
As shown in FIG. 1, the
図1に示すように、温度調整装置10は、温度調整システム1の構成要素である。温度調整システム1は、温度調整装置10、操作器20、対象装置30、および、センサ40を備える。対象装置30は、例えばヒータ(図示を省略)を備える。したがって、この場合、制御対象は、対象装置30の所定位置の温度である。操作器20は、例えば、SSR、電磁開閉器、または、電力調整器である。操作器20は、温度調整装置10からの操作量MVに応じて動作し、対象装置30のヒータへの通電を制御する。センサ40は、例えば、熱電対等からなり、対象装置30の温度を計測し、計測データSSを出力する。計測データSSは、温度調整装置10の入力部13に入力される。
As shown in FIG. 1, the
次に、温度調整装置10の具体的な内容について説明する。
Next, the specific contents of the temperature adjusting
入力部13は、計測データSSから実測値PVを算出する。実測値PVは、後述の目標値SPと同じ単位の値である。例えば、目標値SPが摂氏温度(℃)であれば、実測値PVも摂氏温度(℃)である。
The
目標値設定部11は、目標値SPを設定する。目標値SPの設定は、オペレータ等によって設定される。なお、目標値設定部11は、目標値SPの記憶手段を備えていれば、記憶された目標値SPを用いることもできる。目標値SPは、例えば温度である。目標値設定部11は、目標値SPをPID制御部14と判定部15とに出力する。
The target
PID算出部12は、リミットサイクル法等のオートチューニングを実行し、温度波形情報から、PID値を設定する。PID値は、比例帯P、積分時間TI、および、微分時間Tdを含んでいる。具体的には、PID算出部12は、むだ時間Lを、リミットサイクル周期Tcから算出する。PID算出部12は、積分時間TIおよび微分時間Tdを、むだ時間Lから算出する。また、PID算出部12は、比例帯Pをリミットサイクルの振幅から算出する。また、PID算出部12は、PID制御部14から操作量MVが出力されていれば、操作量MVを用いた適応制御によってPID値を算出する。PID算出部12は、算出したPID値をPID制御部に与える。
The
入力部13は、算出した実測値PVを、PID制御部14および判定部15に出力する。
The
PID制御部14は、PID値、目標値SP、および、実測値PVを用いて、既知のPID制御演算を実行することで操作量MVを算出する。PID制御部14は、操作量MVを操作器20に出力する。
The
なお、PID制御部14は、デジタルフィルタよって構成されている。したがって、より具体的には、目標値SPおよび実測値PVは、A/D(アナログ/デジタル)変換部(図示を省略)してPID制御部14に入力され、操作量MVは、D/A(デジタル/アナログ)変換部(図示を省略)して操作器20に出力される。
The
判定部15は、目標値SPおよび実測値PVを用いて、次に示す方法によって、PID値の算出の停止を判定し、PID算出部12に対して、PID値の算出の停止制御を実行する。
The
図2は、本発明の第1のPID値の算出停止の判定方法を示すフローチャートである。図3は、本発明の第1のPID値の算出停止の判定概念を示す図である。図3における横軸は時間であり、縦軸は温度である。 FIG. 2 is a flowchart showing a method for determining the stop of calculation of the first PID value of the present invention. FIG. 3 is a diagram showing a determination concept of stopping the calculation of the first PID value of the present invention. In FIG. 3, the horizontal axis is time and the vertical axis is temperature.
判定部15は、制御の目標値SPを取得する(S101)。
The
判定部15は、温度調整装置10における動作可能基準値SP0を取得する(S102)。動作可能基準値SP0は、図3に示すように、温度調整装置10がPID制御を実行する際に設定できる初期値の最低値(この場合、最低温度)である。
The
判定部15は、目標値SPと動作可能基準値SP0を用いて、禁止領域ΔSPを設定する(S103)。図3に示すように、禁止領域ΔSPの幅(この場合温度幅)は、目標値SPと動作可能基準値SP0との差分値に基づいて設定されている。具体的には、例えば、禁止領域ΔSPの幅は、目標値SPと動作可能基準値SP0との差分の1/2に設定されている。そして、禁止領域ΔSPは、値の高い側の境界値が目標値SPとなる。
The
判定部15は、実測値PVの初期値PV0を取得する(S104)。
The
判定部15は、初期値PV0が禁止領域ΔSP内にあることを検出すると(S105:YES)、PID値の算出と更新を停止する(S106)。なお、判定部15は、初期値PV0が禁止領域ΔSP内にないことを検出すると(S105:NO)、PID値の算出と更新を実行する(S107)。
When the
例えば、図3に示すように、初期値PV01、PV02の場合、初期値PV01、PV02は、禁止領域ΔSP内にないので、PID値の算出および更新を実行する。一方、初期値PV03の場合、初期値PV03は、禁止領域ΔSP内にあるので、PID値の算出を行わない。すなわち、PID制御の特性から、初期値PV0が目標値SPに対して所定範囲内で近い場合、PID制御が不安定になることを考慮し、この場合には、PID値の算出を行わない。これにより、PID制御の制御性能の低下を抑制できる。 For example, as shown in FIG. 3, in the case of the initial values PV01 and PV02, since the initial values PV01 and PV02 are not in the prohibited area ΔSP, the PID value is calculated and updated. On the other hand, in the case of the initial value PV03, since the initial value PV03 is in the prohibited area ΔSP, the PID value is not calculated. That is, from the characteristics of PID control, if the initial value PV0 is close to the target value SP within a predetermined range, the PID control becomes unstable. In this case, the PID value is not calculated. As a result, deterioration of the control performance of PID control can be suppressed.
なお、禁止領域ΔSPは、目標値SP以上の温度領域を含んでいてもよい。初期値PV0が目標値SP以上の場合、操作量MVが0になり、適応制御が正しく実行されなくなってしまう。したがって、初期値PV0が目標値SP以上である場合を禁止領域ΔSPに含むことによって、PID制御の不安定な動作が抑制される。 The prohibited region ΔSP may include a temperature region equal to or higher than the target value SP. When the initial value PV0 is equal to or greater than the target value SP, the manipulated variable MV becomes 0 and the adaptive control cannot be executed correctly. Therefore, by including the case where the initial value PV0 is equal to or higher than the target value SP in the prohibited area ΔSP, the unstable operation of the PID control is suppressed.
次に、本発明の第2の実施形態に係る制御装置、制御方法、および、制御プログラムについて、図を参照して説明する。図4は、本発明の第2の実施形態に係る温度調整装置を含む温度調整システムの機能ブロック図である。 Next, the control device, the control method, and the control program according to the second embodiment of the present invention will be described with reference to the drawings. FIG. 4 is a functional block diagram of a temperature control system including a temperature control device according to a second embodiment of the present invention.
図4に示すように、温度調整システム1Aは、第1の実施形態に係る温度調整システム1に対して、温度調整装置10Aの判定部15Aの処理において異なる。温度調整システム1A、温度調整装置10Aの他の構成および処理は、温度調整システム1、温度調整装置10と同様であり、同様の箇所の説明は省略する。
As shown in FIG. 4, the temperature adjustment system 1A differs from the temperature adjustment system 1 according to the first embodiment in the processing of the
図4に示すように、判定部15Aには、PID算出部12からむだ時間Lが入力される。
As shown in FIG. 4, the dead time L is input to the
判定部15Aは、むだ時間Lおよび実測値PVを用いて、次に示す方法によって、PID値の算出の停止を判定し、PID算出部12に対して、PID値の算出の停止制御を実行する。
The
図5は、本発明の第2のPID値の算出停止の判定方法を示すフローチャートである。図6(A)、図6(B)は、本発明の第2のPID値の算出停止の判定概念を示す図である。図6(A)は異常の場合を示し、図6(B)は正常の場合を示す。図6(A)、図6(B)における横軸は時間であり、縦軸は温度と操作量MVである。 FIG. 5 is a flowchart showing a method for determining the stop of calculation of the second PID value of the present invention. 6 (A) and 6 (B) are diagrams showing a determination concept of stopping the calculation of the second PID value of the present invention. FIG. 6A shows an abnormal case, and FIG. 6B shows a normal case. In FIGS. 6 (A) and 6 (B), the horizontal axis is time, and the vertical axis is temperature and manipulated variable MV.
判定部15Aは、むだ時間Lから判定時間tD1を決定する(S201)。具体的には、例えば、判定時間tD1は、むだ時間Lの2倍(2L)である。なお、判定時間tD1は、むだ時間Lよりも長ければよく、適応制御によるPID値の算出に用いる時系列データの最後の時間(適応制御用最終時間)よりも短いことが好ましい。適応制御用最終時間は、整定時間を目安に決定してもよい。適応制御用最終時間および整定時間は、PID制御が正常に動作した場合を、事前に実験またはシミュレートして得ることができる。
The
判定部15Aは、判定時間tD1の実測値PVtD1を取得する(S202)。判定部15Aは、実測値PVtD1と初期値PV0とから変化量ΔPVを算出する(S203)。すなわち、ΔPV=PVtD1−PV0である。
The
判定部15Aは、変化量閾値TH(ΔPV)を予め記憶しており、変化量ΔPVと変化量閾値TH(ΔPV)とを比較する。変化量閾値TH(ΔPV)は、温度調整装置10Aおよび温度調整システム1Aの仕様等に応じて、PID制御が正常に動作した場合の値によって決定されている。
The
判定部15Aは、変化量ΔPVが変化量閾値TH(ΔPV)よりも小さいこと(ΔPV<TH(ΔPV))を検出すると(S204:YES)、PID値の算出と更新を停止する(S205)。なお、判定部15Aは、変化量ΔPVが変化量閾値TH(ΔPV)以上であることを検出すると(S204:NO)、PID値の算出と更新を実行する(S206)。
When the
例えば、図6(A)に示すように、PID制御が異常で、実測値PVtD1と初期値PV0とがほぼ同じ場合、変化量ΔPVが変化量閾値TH(ΔPV)よりも小さいので、PID値の算出、更新を行わない。一方、図6(B)に示すように、PID制御が正常で、実測値PVtD1と初期値PV0との差が大きい場合、変化量ΔPVが変化量閾値TH(ΔPV)以上なので、PID値の算出および更新を実行する。 For example, as shown in FIG. 6A, when the PID control is abnormal and the measured value PVtD1 and the initial value PV0 are almost the same, the change amount ΔPV is smaller than the change amount threshold TH (ΔPV), so that the PID value Do not calculate or update. On the other hand, as shown in FIG. 6B, when the PID control is normal and the difference between the measured value PVtD1 and the initial value PV0 is large, the change amount ΔPV is equal to or more than the change amount threshold TH (ΔPV), so the PID value is calculated. And perform updates.
これにより、PID制御の異常による制御低下を抑制できる。 As a result, it is possible to suppress a decrease in control due to an abnormality in PID control.
次に、本発明の第3の実施形態に係る制御装置、制御方法、および、制御プログラムについて、図を参照して説明する。 Next, the control device, the control method, and the control program according to the third embodiment of the present invention will be described with reference to the drawings.
本実施形態に係る温度調整システム、温度調整装置は、各構成要素の接続構成において温度調整システム1A、温度調整装置10Aと同様であるが、判定部15Aに入力されるデータおよび判定部15Aで実行する判定処理において異なる。他の構成および処理は、同様であり、同様の箇所の説明は省略する。
The temperature adjustment system and the temperature adjustment device according to the present embodiment are the same as the temperature adjustment system 1A and the
判定部15Aには、目標値SP、初期値PV0、および、適応制御用最終時間が入力される。適応制御用最終時間は、上述のように、適応制御によるPID値の算出に用いる時系列データの最後の時間である。適応制御用最終時間は、整定時間を目安に決定してもよく、適応制御用最終時間および整定時間は、PID制御が正常に動作した場合を、事前に実験またはシミュレートして得ることができる。
The target value SP, the initial value PV0, and the final time for adaptive control are input to the
判定部15Aは、目標値SP、初期値PV0、および、適応制御用最終時間を用いて、次に示す方法によって、PID値の算出の停止を判定し、PID算出部12に対して、PID値の算出の停止制御を実行する。
Using the target value SP, the initial value PV0, and the final time for adaptive control, the
図7は、本発明の第3のPID値の算出停止の判定方法を示すフローチャートである。図8(A)、図8(B)は、本発明の第3のPID値の算出停止の判定概念を示す図である。図8(A)は異常の場合を示し、図8(B)は正常の場合を示す。図8(A)、図8(B)における横軸は時間であり、縦軸は温度である。 FIG. 7 is a flowchart showing a method for determining the stop of calculation of the third PID value of the present invention. 8 (A) and 8 (B) are diagrams showing a determination concept of stopping the calculation of the third PID value of the present invention. FIG. 8A shows an abnormal case, and FIG. 8B shows a normal case. In FIGS. 8 (A) and 8 (B), the horizontal axis is time and the vertical axis is temperature.
判定部15Aは、目標値SPを取得する(S301)。判定部15Aは、初期値PV0を取得する(S302)。判定部15は、目標値SPと初期値PV0とを用いて、許容範囲ΔSPVを算出する(S303)。より具体的には、判定部15Aは、目標値SPと初期値PV0との差分値(SP−PV0)を算出し、差分値(SP−PV0)を0.4倍することで、許容範囲ΔSPVを算出する。この際、判定部15Aは、許容範囲ΔSPVの中心値を目標値SPに設定する。
The
なお、差分値(SP−PV0)への係数は、0.4に限るものではなく、0.1〜0.6の所定値等、PID制御の制御精度に応じて適宜設定すればよい。また、許容範囲ΔSPVの中心値と目標値SPとは、一致しなくてもよく、少なくとも目標値SPが許容範囲ΔSPV内にあればよい。ただし、許容範囲ΔSPVの中心値と目標値SPとは、一致することが好ましい。 The coefficient for the difference value (SP-PV0) is not limited to 0.4, and may be appropriately set according to the control accuracy of PID control, such as a predetermined value of 0.1 to 0.6. Further, the center value of the permissible range ΔSPV and the target value SP do not have to match, and at least the target value SP may be within the permissible range ΔSPV. However, it is preferable that the center value of the allowable range ΔSPV and the target value SP match.
判定部15Aは、適応制御用最終時間に応じた判定時間tD2を決定する(S304)。具体的には、例えば、判定時間tD2は、適応制御用最終時間よりも長く、できる限り短い方が好ましい。
判定部15Aは、判定時間tD2時の実測値PVtD2を取得する(S305)。そして、判定部15Aは、実測値PVtD2と許容範囲ΔSPVとを比較する。
The
判定部15Aは、実測値PVtD2が許容範囲ΔSPV外であることを検出すると(S306:YES)、PID値の算出と更新を停止する(S307)。なお、判定部15Aは、実測値PVtD2が許容範囲ΔSPV内であることを検出すると(S306:NO)、PID値の算出と更新を実行する(S308)。
When the
例えば、図8(A)に示すように、PID制御が異常で、実測値PVtD2が許容範囲ΔSPV外の場合、PID値の算出、更新を行わない。一方、図8(B)に示すように、PID制御が正常で、実測値PVtD2が許容範囲ΔSPV内の場合、PID値の算出および更新を実行する。 For example, as shown in FIG. 8A, when the PID control is abnormal and the measured value PVtD2 is outside the permissible range ΔSPV, the PID value is not calculated or updated. On the other hand, as shown in FIG. 8B, when the PID control is normal and the measured value PVtD2 is within the permissible range ΔSPV, the calculation and update of the PID value is executed.
これにより、PID制御の異常による制御低下を抑制できる。 As a result, it is possible to suppress a decrease in control due to an abnormality in PID control.
次に、本発明の第4の実施形態に係る制御装置、制御方法、および、制御プログラムについて、図を参照して説明する。図9は、本発明の第4の実施形態に係る温度調整装置を含む温度調整システムの機能ブロック図である。 Next, the control device, the control method, and the control program according to the fourth embodiment of the present invention will be described with reference to the drawings. FIG. 9 is a functional block diagram of a temperature control system including a temperature control device according to a fourth embodiment of the present invention.
図9に示すように、温度調整システム1Bは、第2の実施形態に係る温度調整システム1Aに対して、温度調整装置10Bの判定部15Bの処理において異なる。また、判定部15Bには、目標値SP、実測値PVが入力されず、PID算出部12から判定部15Bに入力されるデータが異なる。温度調整システム1B、温度調整装置10Bの他の構成および処理は、温度調整システム1A、温度調整装置10Aと同様であり、同様の箇所の説明は省略する。
As shown in FIG. 9, the
図9に示すように、判定部15Bには、PID算出部12からPID値が入力される。具体的には、判定部15Bには、比例帯Pおよび積分時間TIが入力される。
As shown in FIG. 9, a PID value is input to the
判定部15Bは、PID値(比例帯Pおよび積分時間TI)を用いて、次に示す方法によって、PID値の算出の停止を判定し、PID算出部12に対して、PID値の算出の停止制御を実行する。
The
図10は、本発明の第4のPID値の算出停止の判定方法を示すフローチャートである。 FIG. 10 is a flowchart showing a method for determining the stop of calculation of the fourth PID value of the present invention.
判定部15Bは、PID値(比例帯Pおよび積分時間TI)を取得する(S401)。また、判定部15Bは、比例帯Pおよび積分時間TIに対する閾値を設定する。本実施形態では、比例帯Pの閾値および積分時間TIの閾値は0である。なお、比例帯Pの閾値および積分時間TIの閾値は、それぞれに適宜設定可能である。
The
判定部15Bは、比例帯Pが0よりも小さいこと(P<0)を検出すると(S402:YES)、PID値の更新を停止する(S404)。判定部15Bは、比例帯Pが0以上であること(P≧0)を検出すると(S402:NO)、積分時間TIによる判定に移行する。
When the
判定部15Bは、積分時間TIが0よりも小さいこと(TI<0)を検出すると(S403:YES)、PID値の更新を停止する(S404)。判定部15Bは、積分時間TIが0以上であること(TI≧0)を検出すると(S403:NO)、PID値の算出と更新を実行する(S405)。
When the
すなわち、判定部15Bは、比例帯Pまたは積分時間TIが異常値であることを検出すると、PID値の更新を停止する。これにより、PID値の異常による制御低下を抑制できる。
That is, when the
次に、本発明の第5の実施形態に係る制御装置、制御方法、および、制御プログラムについて、図を参照して説明する。本実施形態の温度調整システム、温度調整装置は、第4の実施形態に係る温度調整システム、温度調整装置と同様の構成からなり、判定部における判定処理のみが異なる。以下、同様の箇所の説明は省略する。 Next, the control device, the control method, and the control program according to the fifth embodiment of the present invention will be described with reference to the drawings. The temperature adjusting system and the temperature adjusting device of the present embodiment have the same configurations as the temperature adjusting system and the temperature adjusting device according to the fourth embodiment, and only the determination process in the determination unit is different. Hereinafter, the description of the same part will be omitted.
判定部は、PID値(比例帯Pおよび積分時間TI)を用いて、次に示す方法によって、PID値の算出の停止を判定し、PID算出部12に対して、PID値の算出の停止制御を実行する。
The determination unit determines the stop of the calculation of the PID value by the following method using the PID value (proportional band P and the integration time TI), and controls the
図11は、本発明の第5のPID値の算出停止の判定方法を示すフローチャートである。 FIG. 11 is a flowchart showing a method for determining the stop of calculation of the fifth PID value of the present invention.
判定部は、初期のPID値(比例帯Pおよび積分時間TI)を取得する(S401)。その後、温度調整装置は、PID制御を開始し、繰り返す。 The determination unit acquires the initial PID value (proportional band P and integration time TI) (S401). After that, the temperature controller starts and repeats PID control.
判定部は、n(nは2以上の整数)回目のPID値、すなわち、第nPID値を取得する(S502)。 The determination unit acquires the nth (n is an integer of 2 or more) PID value, that is, the nth PID value (S502).
判定部は、第nPID値と初期PID値との差分値ΔPIDを算出する(S503)。 The determination unit calculates the difference value ΔPID between the nth PID value and the initial PID value (S503).
判定部は、PID変化量閾値TH(ΔPID)を予め記憶しており、差分値ΔPIDとPID変化量閾値TH(ΔPID)とを比較する。PID変化量閾値TH(ΔPID)は、温度調整装置および温度調整システムの仕様等に応じて、PID制御が正常に動作した場合の値によって決定されている。 The determination unit stores the PID change amount threshold value TH (ΔPID) in advance, and compares the difference value ΔPID with the PID change amount threshold value TH (ΔPID). The PID change amount threshold value TH (ΔPID) is determined by a value when the PID control operates normally according to the specifications of the temperature adjusting device and the temperature adjusting system.
判定部は、差分値ΔPIDがPID変化量閾値TH(ΔPID)よりも大きいこと(ΔPID>TH(ΔPID))を検出すると(S504:YES)、PID値の更新を停止する(S505)。なお、判定部は、差分値ΔPIDがPID変化量閾値TH(ΔPID)以下であることを検出すると(S504:NO)、PID値の算出と更新を実行する(S506)。 When the determination unit detects that the difference value ΔPID is larger than the PID change amount threshold value TH (ΔPID) (ΔPID> TH (ΔPID)) (S504: YES), the determination unit stops updating the PID value (S505). When the determination unit detects that the difference value ΔPID is equal to or less than the PID change amount threshold TH (ΔPID) (S504: NO), the determination unit calculates and updates the PID value (S506).
すなわち、判定部は、比例帯Pまたは積分時間TIが異常に変化したことを検出すると、PID値の更新を停止する。これにより、PID値の異常変化による制御低下を抑制できる。 That is, when the determination unit detects that the proportional band P or the integration time TI has changed abnormally, the determination unit stops updating the PID value. As a result, it is possible to suppress a decrease in control due to an abnormal change in the PID value.
なお、上述の説明では、各判定方法を単独で行う場合を示したが、複数の判定方法を組み合わせてもよい。例えば、目標値と実測値との組合せを用いた判定方法、および、PID値を用いた判定方法とを組み合わせてもよい。 In the above description, the case where each determination method is performed independently is shown, but a plurality of determination methods may be combined. For example, a determination method using a combination of a target value and an actually measured value and a determination method using a PID value may be combined.
また、上述の説明では、PID制御を例に説明したが、実質的なPI制御に適用することもできる。すなわち、PID制御の微分項の影響を無くすように設定してもよい。
Further, in the above description, PID control has been described as an example, but it can also be applied to substantial PI control. That is, it may be set so as to eliminate the influence of the differential term of PID control.
1、1A、1B:温度調整システム
10、10A、10B:温度調整装置
11:目標値設定部
12:PID算出部
13:入力部
14:PID制御部
15、15A、15B:判定部
20:操作器
30:対象装置
40:センサ
L:時間
MV:操作量
PV:実測値
SP:目標値
SP0:動作可能基準値
SS:計測データ
Tc:リミットサイクル周期
P:比例帯
TI:積分時間
Td:微分時間
tD1:判定時間
tD2:判定時間
1, 1A, 1B:
Claims (9)
前記PID値、制御対象の目標値、および、前記制御対象の実測値を用いて、PID制御を実行し、前記制御対象に対する操作量を算出するPID制御部と、
前記目標値と、前記PID制御の動作可能基準値とから、前記動作可能基準値よりも前記目標値に近い値の範囲からなる禁止領域を算出し、前記実測値の初期値が前記禁止領域内であることを検出すると、前記PID値の算出の停止を判定する判定部と、
を備える、制御装置。 The PID calculation unit that calculates the PID value and
A PID control unit that executes PID control using the PID value, the target value of the control target, and the actually measured value of the control target, and calculates the operation amount for the control target.
From the target value and the operable reference value of the PID control, a prohibited area consisting of a range of values closer to the target value than the operable reference value is calculated, and the initial value of the measured value is within the prohibited area. When it is detected, the determination unit for determining the stop of the calculation of the PID value and the determination unit
A control device.
請求項1に記載の制御装置。 The prohibited area also includes a range above the target value.
The control device according to claim 1.
前記PID値の比例帯または積分時間のいずれかがそれぞれに設定された閾値未満であることを検出したときも、前記PID値の算出の停止を判定する、
請求項1乃至請求項4のいずれかに記載の制御装置。 The determination unit
When it is detected that either the proportional band of the PID value or the integration time is less than the threshold value set for each, it is determined that the calculation of the PID value is stopped.
The control device according to any one of claims 1 to 4.
請求項5に記載の制御装置。 The threshold is 0,
The control device according to claim 5.
前記PID値の初期値と現在値との差を算出し、
前記差が閾値より大きいことを検出したときも、前記PID値の算出の停止を判定する、
請求項1乃至請求項6のいずれかに記載の制御装置。 The determination unit
Calculate the difference between the initial value and the current value of the PID value,
Even when it is detected that the difference is larger than the threshold value, it is determined to stop the calculation of the PID value.
The control device according to any one of claims 1 to 6.
PID値を算出するPID算出し、
前記PID値、制御対象の目標値、および、前記制御対象の実測値を用いて、PID制御を実行し、前記制御対象に対する操作量を算出し、
前記目標値と、前記PID制御の動作可能基準値とから、前記動作可能基準値よりも前記目標値に近い値の範囲からなる禁止領域を算出し、前記実測値の初期値が前記禁止領域内であることを検出すると、前記PID値の算出の停止を判定する、
制御方法。 The control device
Calculate PID value Calculate PID,
PID control is executed using the PID value, the target value of the control target, and the actually measured value of the control target, and the operation amount for the control target is calculated.
From the target value and the operable reference value of the PID control, a prohibited area consisting of a range of values closer to the target value than the operable reference value is calculated, and the initial value of the measured value is within the prohibited area. When it is detected that the PID value is calculated, it is determined to stop the calculation of the PID value.
Control method.
前記PID値、制御対象の目標値、および、前記制御対象の実測値を用いて、PID制御を実行し、前記制御対象に対する操作量を算出する処理と、
前記目標値と、前記PID制御の動作可能基準値とから、前記動作可能基準値よりも前記目標値に近い値の範囲からなる禁止領域を算出し、前記実測値の初期値が前記禁止領域内であることを検出すると、前記PID値の算出の停止を判定する処理と、
を、制御装置に実行させる、
制御プログラム。 PID calculation process to calculate PID value and
A process of executing PID control using the PID value, a target value of the control target, and an actually measured value of the control target, and calculating an operation amount for the control target.
From the target value and the operable reference value of the PID control, a prohibited area consisting of a range of values closer to the target value than the operable reference value is calculated, and the initial value of the measured value is within the prohibited area. When it is detected, the process of determining the stop of the calculation of the PID value and
To the control device,
Control program.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017002459A JP6922224B2 (en) | 2017-01-11 | 2017-01-11 | Control device, control method, control program |
EP17197340.7A EP3349077A1 (en) | 2017-01-11 | 2017-10-19 | Control device, control method, and control program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017002459A JP6922224B2 (en) | 2017-01-11 | 2017-01-11 | Control device, control method, control program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2018112858A JP2018112858A (en) | 2018-07-19 |
JP6922224B2 true JP6922224B2 (en) | 2021-08-18 |
Family
ID=60143622
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2017002459A Active JP6922224B2 (en) | 2017-01-11 | 2017-01-11 | Control device, control method, control program |
Country Status (2)
Country | Link |
---|---|
EP (1) | EP3349077A1 (en) |
JP (1) | JP6922224B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP7169950B2 (en) * | 2019-09-06 | 2022-11-11 | 株式会社日立製作所 | Control device |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH01260501A (en) * | 1988-04-12 | 1989-10-17 | Toshiba Corp | Control device |
JPH0713607A (en) * | 1993-06-21 | 1995-01-17 | Chino Corp | Controller |
JP3881593B2 (en) * | 2002-05-17 | 2007-02-14 | 株式会社山武 | Control device |
JP2004013542A (en) * | 2002-06-06 | 2004-01-15 | Yamatake Corp | Adjuster |
JP2004070932A (en) * | 2002-06-12 | 2004-03-04 | Omron Corp | Fault detection method, device and thermoregulator |
JP2005284828A (en) | 2004-03-30 | 2005-10-13 | Omron Corp | Controller, method for tuning control parameter, program, and recording medium |
JP6457194B2 (en) * | 2014-04-02 | 2019-01-23 | ファナック株式会社 | Temperature control device for injection molding machine having parameter adjustment function |
-
2017
- 2017-01-11 JP JP2017002459A patent/JP6922224B2/en active Active
- 2017-10-19 EP EP17197340.7A patent/EP3349077A1/en active Pending
Also Published As
Publication number | Publication date |
---|---|
EP3349077A1 (en) | 2018-07-18 |
JP2018112858A (en) | 2018-07-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
AU2015219814B2 (en) | Control Device for Machine Apparatus and Gain Determination Method for Friction Compensation | |
KR101478450B1 (en) | Design method of variable pid gains for multivariable nonlinear systems | |
CN106020124B (en) | Servo motor control device and collision detection method | |
Han | Fractional-order command filtered backstepping sliding mode control with fractional-order nonlinear disturbance observer for nonlinear systems | |
JP6111913B2 (en) | Control parameter adjustment system | |
EP2725434A1 (en) | Feedback control method, feedback control apparatus, and feedback control program | |
JP2016035677A (en) | Motor system | |
JP5813525B2 (en) | Apparatus and method for suppressing power consumption | |
JP6922224B2 (en) | Control device, control method, control program | |
JP6874379B2 (en) | Control device, control method, control program | |
CN106019934B (en) | Control device and control method | |
KR20140126851A (en) | Non-tuning non-linear control method for servo controller having current limiting device | |
US11086277B2 (en) | System and method for determining the parameters of a controller | |
JP7069702B2 (en) | Control system, control method, control program | |
JP2016173708A (en) | Control device and control method | |
JP6610676B2 (en) | Temperature control apparatus and temperature control method | |
JP6965516B2 (en) | Control device, control method, control program | |
JP5332763B2 (en) | Control device and temperature controller | |
RU2571371C2 (en) | Control device | |
KR102002237B1 (en) | Plate width control device of rolled material | |
JP2013161206A (en) | Feedback control device having reset windup countermeasure | |
JP7199926B2 (en) | Control device and physical quantity control method | |
JP7089335B2 (en) | Control device | |
JP4256236B2 (en) | Control apparatus and control method | |
JP2019101847A (en) | Control device and control method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20191111 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20200914 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20200923 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20201102 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20210323 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20210517 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20210629 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20210712 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6922224 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |