JP2000010602A - Pid control method and its controller - Google Patents

Pid control method and its controller

Info

Publication number
JP2000010602A
JP2000010602A JP17723398A JP17723398A JP2000010602A JP 2000010602 A JP2000010602 A JP 2000010602A JP 17723398 A JP17723398 A JP 17723398A JP 17723398 A JP17723398 A JP 17723398A JP 2000010602 A JP2000010602 A JP 2000010602A
Authority
JP
Japan
Prior art keywords
value
deviation
pid
control
flow rate
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.)
Pending
Application number
JP17723398A
Other languages
Japanese (ja)
Inventor
Kazuhide Akiyama
和英 秋山
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Kubota Corp
Original Assignee
Kubota Corp
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Kubota Corp filed Critical Kubota Corp
Priority to JP17723398A priority Critical patent/JP2000010602A/en
Publication of JP2000010602A publication Critical patent/JP2000010602A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To execute proper and stable control by performing PID control operation after a value corresponding to a deviation between a current value detected from a controller object and a target setting value is multiplied by a PID parameter when the deviation is larger than a specified value and performing the PID control operation corresponding to the deviation when it is smaller than the specified value. SOLUTION: An operated deviation ε is compared with the specified value and it is discriminated whether the deviation ε is larger than the specified value or not (S25). When the deviation value εis larger than the specified value as a result of discrimination, a value (f) preset corresponding to a deviation (%) is multiplied by the PID parameter P×f (P), I×f (I), D×f (D)} (S26) and after wards, the PID operation is performed corresponding to that multiplied value (S27). Control output is operated so that a current flow rate value PV can be kept at a setting flow rate value SV (S28). When the deviation ε is smaller than the specified value, on the other hand, PID control operation is performed corresponding to the deviation (S27). Control output is operated so that the current flow rate value PV can be kept at the setting flow rate value SV (S28).

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、例えば水道用バル
ブの開度を調整することにより配水池から需要先への給
水量を所定範囲内に保持する流量制御などに適用される
PID制御方法及びその制御用コントローラに関するも
のである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a PID control method applied to, for example, a flow rate control in which the amount of water supplied from a reservoir to a demand destination is maintained within a predetermined range by adjusting an opening of a water supply valve. It relates to the control controller.

【0002】[0002]

【従来の技術】この種の従来一般の制御方法は、図5の
タイムチャートで示すように、予め定められた一定の周
期ごとに制御対象の現在値PVを検出し、その検出した
現在値PVと目標値として予め設定されている設定値S
Vとの偏差ε(=PV−SV)の絶対値(以下、偏差と
略称する)を演算し、その演算された偏差εが許容範囲
である不感帯を越えているとき、その偏差εの大きさに
応じてPID制御演算を行ない、バルブなどの制御対象
機器に対して偏差εが一定の許容範囲内に収束されるよ
うな制御信号を出力させるという制御方法が採用されて
いた。
2. Description of the Related Art As shown in a time chart of FIG. 5, a conventional general control method of this kind detects a current value PV of a control object at predetermined predetermined cycles, and detects the detected current value PV. And a set value S preset as a target value
The absolute value of the deviation ε (= PV−SV) from V (hereinafter referred to as deviation) is calculated, and when the calculated deviation ε exceeds a dead zone which is an allowable range, the magnitude of the deviation ε A control method has been adopted in which a PID control operation is performed in response to the control signal and a control signal is output to a control target device such as a valve so that the deviation ε converges within a certain allowable range.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、上記の
ような従来のPID制御方法によれば、偏差εが大きい
場合、制御信号の出力時間、例えば水道用バルブで考え
てみると、バルブの開閉動作時間tが長くなるために、
需要先への給水量が一時的に極端に増減して水撃現象を
起こすなどの可能性があった。
However, according to the conventional PID control method as described above, when the deviation ε is large, the output time of the control signal, for example, the opening and closing operation of the valve is considered in the case of a water valve. Because the time t becomes longer,
There was a possibility that the amount of water supplied to the demand destination temporarily increased or decreased extremely, causing a water hammer phenomenon.

【0004】本発明は上記のような実情に鑑みてなされ
たもので、偏差が大きい場合でも、制御対象機器に対す
る制御出力時間を短く抑えて水撃現象等の発生を防止
し、適正かつ安定よい制御を行なうことができるPID
制御方法及びその制御用コントローラを提供することを
目的としている。
The present invention has been made in view of the above-described circumstances. Even when the deviation is large, the control output time to the controlled device is kept short to prevent the occurrence of a water hammer phenomenon and the like, and it is appropriate and stable. PID that can perform control
It is an object to provide a control method and a controller for the control.

【0005】[0005]

【課題を解決するための手段】上記目的を達成するため
に、本発明に係るPID制御方法は、制御対象から検出
された現在値と目標となる設定値との偏差を演算すると
ともに、その偏差が規定値以上であるか否かを判定し、
規定値以上であるときは、その偏差量に応じて設定され
ている値をPIDパラメータに乗算した後、PID制御
演算を行なって制御信号を出力し、また、規定値未満で
あるときは、偏差に応じてPID制御演算を行なって制
御信号を出力することを特徴とするものである。
In order to achieve the above object, a PID control method according to the present invention calculates a deviation between a current value detected from a control target and a target set value, and calculates the deviation. Is determined to be greater than or equal to a specified value,
When the difference is equal to or more than the specified value, the PID parameter is multiplied by a value set according to the deviation amount, and then a PID control operation is performed to output a control signal. And performs a PID control operation to output a control signal.

【0006】また、本発明に係るPID制御用コントロ
ーラは、制御対象の現在値を検出する手段と、目標とな
る設定値を予め設定する手段と、検出された制御対象の
現在値と予め設定された設定値との偏差を演算する手段
と、演算された偏差が規定値以上であるか否かを判定す
る判定手段と、その判定結果において偏差が規定値以上
であるときは、その偏差量に応じて設定されている値を
PIDパラメータに乗算する手段と、その乗算値に応じ
て、もしくは、上記判定結果において偏差の絶対値が規
定値未満であるときはその偏差の絶対値に応じてPID
制御演算を行なって制御信号を出力するPID制御演算
手段とを備えていることを特徴とするものである。
A PID control controller according to the present invention includes a means for detecting a current value of a control object, a means for presetting a target set value, and a means for presetting a detected current value of the control object. Means for calculating a deviation from the set value, and determining means for determining whether or not the calculated deviation is equal to or greater than a specified value. Means for multiplying the PID parameter by a value set accordingly, and the PID parameter according to the multiplied value or, if the absolute value of the deviation is less than a specified value in the determination result, according to the absolute value of the deviation.
And a PID control calculating means for performing a control calculation and outputting a control signal.

【0007】上記のような構成の本発明によれば、検出
された制御対象の現在値と予め設定されている設定値と
の偏差が演算されるとともに、その演算された偏差が規
定値以上であるか否かが判定される。そして、その判定
結果で偏差が規定値以上である場合、上記偏差量に応じ
て設定されている値がPIDパラメータに乗算された
後、その乗算値に応じてPID制御演算が行なわれて制
御信号が出力され、また、上記判定結果で偏差が規定値
未満である場合はその偏差に応じてPID制御演算が行
なわれて制御信号が出力されて偏差が許容範囲内に収束
されるような制御を行なう。これによって、偏差が規定
値以上に大きいときの制御信号の出力時間が短く抑えら
れ、バルブなどの制御対象機器の動作時間が不当に長く
なることに起因する水撃現象など不良事態の発生を抑制
し、常に適正かつ安定よい制御が可能となる。
According to the present invention having the above-described configuration, a deviation between the detected current value of the control target and a preset set value is calculated, and when the calculated deviation is equal to or greater than a specified value. It is determined whether there is. If the result of the determination indicates that the deviation is equal to or greater than a specified value, a value set in accordance with the deviation amount is multiplied by the PID parameter, and a PID control operation is performed in accordance with the multiplied value. Is output, and if the deviation is less than the specified value in the above determination result, PID control calculation is performed in accordance with the deviation, a control signal is output, and control is performed such that the deviation converges within an allowable range. Do. As a result, when the deviation is larger than the specified value, the output time of the control signal is suppressed to be short, and the occurrence of a bad situation such as a water hammer phenomenon caused by an unduly long operation time of the controlled device such as a valve is suppressed. In addition, appropriate and stable control can always be performed.

【0008】[0008]

【発明の実施の形態】以下、本発明の実施の形態を図面
に基づいて説明する。図1は本発明に係るPID制御方
法を水道用バルブの開閉による流量制御に適用した場合
の配管系統の概略構成図である。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a schematic configuration diagram of a piping system when the PID control method according to the present invention is applied to flow control by opening and closing a water supply valve.

【0009】図1において、1は水道水の需要先への給
水用配管2が接続された配水池であり、上記給水用配管
2には、制御対象機器となる水道用バルブ3が介在され
ており、この水道用バルブ3にはそれの開度を駆動調整
するモータ4が連結されているとともに、この水道用バ
ルブ3の現在開度を検出する開度検出器5及び該バルブ
3前後の差圧を検出する差圧検出器6が備えられてい
る。
In FIG. 1, reference numeral 1 denotes a water distribution reservoir to which a water supply pipe 2 to a destination of tap water is connected. The water supply pipe 2 is provided with a water supply valve 3 serving as a device to be controlled. A motor 4 for driving and adjusting the opening of the water valve 3 is connected to the water valve 3, and an opening detector 5 for detecting the current opening of the water valve 3 and a difference between the front and rear of the valve 3 are provided. A differential pressure detector 6 for detecting pressure is provided.

【0010】7はバルブコントローラであり、流量現在
値PVを演算するために上記開度検出器5からの開度信
号および差圧検出器6からの差圧信号が入力されるとと
もに、制御目標値として予め設定器8に設定入力されて
いる流量設定値SVが入力されており、このコントロー
ラ7は所定の周期ごとに制御動作するものである。
Reference numeral 7 denotes a valve controller which receives an opening signal from the opening detector 5 and a differential pressure signal from the differential pressure detector 6 to calculate a current flow value PV, and outputs a control target value. The flow rate set value SV previously set and input to the setting device 8 is input, and the controller 7 performs a control operation at predetermined intervals.

【0011】つぎに、上記構成の水道用バルブ開閉によ
る流量制御装置の動作を、図2に示すフローチャートを
参照して説明する。制御周期にあるとき、コントローラ
7に流量設定値SVが読み込まれるとともに、その時点
で差圧検出器6により検出される現在差圧と開度検出器
5により検出される水道用バルブ3の現在開度との演算
で求められた流量現在値PVが読み込まれ、それら読み
込まれた流量設定値SVと流量現在値PVとの偏差εが
演算される(ステップS21〜S24)。
Next, the operation of the flow rate control device for opening and closing the water supply valve having the above configuration will be described with reference to the flowchart shown in FIG. During the control cycle, the flow rate set value SV is read into the controller 7, and the current differential pressure detected by the differential pressure detector 6 and the current opening of the water valve 3 detected by the opening degree detector 5 at that time. The flow rate current value PV obtained by the calculation of the degree is read, and the deviation ε between the read flow set value SV and the flow rate current value PV is calculated (steps S21 to S24).

【0012】次いで、図3に示すように、演算された偏
差εと規定値(+Aおよび−A)とを比較して偏差εが
規定値(+Aおよび−A)以上であるか否かが判定され
(ステップS25)、その判定結果で偏差εが規定値以
上であるときは、図4に示すように、その偏差量(%)
に応じて予め設定されている値fをPIDパラメータに
乗算{P×f(P)、I×f(I)、D×f(D)}し
た(ステップS26)後、その乗算値に応じてPID制
御演算が行なわれ(ステップS27)、流量現在値PV
が流量設定値SVに保たれるような制御出力(動作時
間)が演算され、その制御信号が上記水道用バルブ3の
モータ4に対して出力される(ステップS28,S2
9)。
Next, as shown in FIG. 3, the calculated deviation ε is compared with the specified values (+ A and −A) to determine whether the deviation ε is equal to or more than the specified values (+ A and −A). (Step S25), and when the deviation ε is equal to or greater than the specified value as a result of the determination, as shown in FIG. 4, the deviation amount (%)
After multiplying {P × f (P), I × f (I), and D × f (D)} by the PID parameter with a value f set in advance according to (step S26), PID control calculation is performed (step S27), and the current flow rate value PV
A control output (operating time) is calculated such that is maintained at the flow rate set value SV, and the control signal is output to the motor 4 of the water valve 3 (steps S28 and S2).
9).

【0013】一方、上記ステップS25の判定結果で偏
差εが規定値未満であるときは、上記のステップS26
を経ないで、その偏差εに応じてPID制御演算が行な
われ(ステップS27)、上記と同様に、流量現在値P
Vが流量設定値SVに保たれるような制御出力(動作時
間)が演算され、その制御信号が上記水道用バルブ3の
モータ4に対して出力される(ステップS28,S2
9)。
On the other hand, if the result of the determination in step S25 indicates that the deviation ε is less than the specified value, the above-described step S26
, The PID control calculation is performed according to the deviation ε (step S27), and the flow rate current value P
A control output (operating time) for maintaining V at the flow rate set value SV is calculated, and the control signal is output to the motor 4 of the water valve 3 (steps S28 and S2).
9).

【0014】以上のように、偏差εが規定値(+Aおよ
び−A)以上に大きい場合(図3の斜線挿入部分)、そ
の偏差量に応じて予め設定されている値をPIDパラメ
ータに乗算した後、PID制御演算を行なうことによっ
て、水道用バルブ3のモータ4に対する制御出力時間、
つまり、バルブ3の動作時間tが従来に比べてΔtだけ
短縮されることになるため、需要先への給水量が一時的
に極端に増減して水撃現象などが発生することを抑制
し、流量を常に適正かつ安定よく制御することが可能と
なる。
As described above, when the deviation ε is larger than the specified values (+ A and −A) (the hatched portion in FIG. 3), the PID parameter is multiplied by a value preset according to the deviation. Thereafter, by performing PID control calculation, the control output time of the water valve 3 with respect to the motor 4
That is, since the operation time t of the valve 3 is shortened by Δt as compared with the related art, it is possible to suppress the occurrence of a water hammer phenomenon due to a temporary extreme increase or decrease in the amount of water supplied to a demand destination. The flow rate can always be controlled appropriately and stably.

【0015】なお、上記実施の形態では、制御対象機器
が水道用バルブ3である場合について説明したが、これ
以外に、どのような制御対象機器の制御に適用すること
によっても、上記と同様な効果を奏するものである。
In the above-described embodiment, the case where the control target device is the water supply valve 3 has been described. However, the present invention can be applied to the control of any control target device other than the above. It is effective.

【0016】[0016]

【発明の効果】以上のように、本発明によれば、現在値
と設定値との偏差が規定値以上である場合、その偏差量
に応じて設定されている値をPIDパラメータに乗算
し、その乗算値に応じてPID制御演算を行なって制御
信号を出力するようにしているので、偏差が規定値以上
に大きいときの制御信号の出力時間を短く抑えることが
でき、したがって、バルブなどの制御対象機器の動作時
間が不当に長くなることに起因する水撃現象などの発生
を抑制し、常に適正かつ安定よい制御を行なうことがで
きるという効果を奏する。
As described above, according to the present invention, when the deviation between the current value and the set value is equal to or greater than the specified value, the PID parameter is multiplied by the value set according to the deviation amount, Since the control signal is output by performing the PID control operation according to the multiplied value, the output time of the control signal when the deviation is larger than the specified value can be reduced, and therefore, the control of the valve and the like can be suppressed. It is possible to suppress the occurrence of a water hammer phenomenon or the like due to the operation time of the target device being unduly lengthened, and it is possible to always perform appropriate and stable control.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明に係るPID制御方法を適用した水道用
バルブ開閉による流量制御装置の配管系統の概略構成図
である。
FIG. 1 is a schematic configuration diagram of a piping system of a flow rate control device for opening and closing a water supply valve to which a PID control method according to the present invention is applied.

【図2】同上実施形態における流量制御装置の動作を説
明するフローチャートである。
FIG. 2 is a flowchart illustrating an operation of the flow control device in the embodiment.

【図3】同上動作のタイムチャートである。FIG. 3 is a time chart of the above operation.

【図4】同上動作における偏差に対するPIDパラメー
タの乗算値の一例を説明する図である。
FIG. 4 is a diagram illustrating an example of a multiplication value of a PID parameter with respect to a deviation in the same operation.

【図5】従来のPID制御方法による動作のタイムチャ
ートである。
FIG. 5 is a time chart of an operation according to a conventional PID control method.

【符号の説明】[Explanation of symbols]

3 水道用バルブ(制御対象機器の例) 5 開度検出器 6 差圧検出器 7 バルブコントローラ PV 流量現在値 SV 流量設定値 ε 偏差 3 Water supply valve (example of controlled device) 5 Opening detector 6 Differential pressure detector 7 Valve controller PV Flow rate present value SV Flow rate setting value ε Deviation

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 制御対象から検出された現在値と目標と
なる設定値との偏差の絶対値を演算するとともに、 その偏差の絶対値が規定値以上であるか否かを判定し、 規定値以上であるときは、その偏差量に応じて設定され
ている値をPIDパラメータに乗算した後、PID制御
演算を行なって制御信号を出力し、 また、規定値未満であるときは、偏差に応じてPID制
御演算を行なって制御信号を出力することを特徴とする
PID制御方法。
An absolute value of a deviation between a current value detected from a control target and a target set value is calculated, and it is determined whether or not the absolute value of the deviation is equal to or greater than a specified value. If it is above, after multiplying the PID parameter by a value set in accordance with the deviation amount, a PID control operation is performed and a control signal is output. A PID control operation and outputting a control signal.
【請求項2】 制御対象の現在値を検出する手段と、 目標となる設定値を予め設定する手段と、 検出された制御対象の現在値と予め設定された設定値と
の偏差の絶対値を演算する手段と、 演算された偏差の絶対値が規定値以上であるか否かを判
定する判定手段と、 その判定結果において偏差の絶対値が規定値以上である
ときは、その偏差量に応じて設定されている値をPID
パラメータに乗算する手段と、 その乗算値に応じて、もしくは、上記判定結果において
偏差の絶対値が規定値未満であるときはその偏差の絶対
値に応じてPID制御演算を行なって制御信号を出力す
るPID制御演算手段とを備えていることを特徴とする
PID制御用コントローラ。
2. A means for detecting a current value of a control object, a means for presetting a target set value, and an absolute value of a deviation between the detected current value of the control object and a preset set value. Means for calculating; determining means for determining whether the calculated absolute value of the deviation is greater than or equal to a specified value; PID is set value
Means for multiplying the parameter; and, when the absolute value of the deviation is less than a specified value in the above determination result, performing a PID control operation in accordance with the absolute value of the deviation and outputting a control signal. A PID control controller, comprising:
JP17723398A 1998-06-24 1998-06-24 Pid control method and its controller Pending JP2000010602A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP17723398A JP2000010602A (en) 1998-06-24 1998-06-24 Pid control method and its controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP17723398A JP2000010602A (en) 1998-06-24 1998-06-24 Pid control method and its controller

Publications (1)

Publication Number Publication Date
JP2000010602A true JP2000010602A (en) 2000-01-14

Family

ID=16027489

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17723398A Pending JP2000010602A (en) 1998-06-24 1998-06-24 Pid control method and its controller

Country Status (1)

Country Link
JP (1) JP2000010602A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7080658B2 (en) 2002-12-19 2006-07-25 Fujikin Incorporated Method for closing fluid passage, and water hammerless valve device and water hammerless closing device used in the method
US7849869B2 (en) 2004-01-20 2010-12-14 Fujikin Incorporated Method for water hammerless opening of fluid passage, and method for supplying chemical solutions and device for water hammerless opening for which the method is used
CN103713519A (en) * 2013-12-17 2014-04-09 宁波华液机器制造有限公司 Proportional amplifier PID parameter self-tuning control method, and proportional amplifier and proportional electromagnetic valve

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7080658B2 (en) 2002-12-19 2006-07-25 Fujikin Incorporated Method for closing fluid passage, and water hammerless valve device and water hammerless closing device used in the method
US7278437B2 (en) 2002-12-19 2007-10-09 Fujikin Incorporated Method for closing fluid passage, and water hammerless valve device and water hammerless closing device used in the method
EP1852764A1 (en) 2002-12-19 2007-11-07 Fujikin Incorporated Water hammerless closing devices and corresponding methods
US8020574B2 (en) 2002-12-19 2011-09-20 Tadahiro Ohmi Method for closing fluid passage, and water hammerless valve device and water hammerless closing device used in the method
US7849869B2 (en) 2004-01-20 2010-12-14 Fujikin Incorporated Method for water hammerless opening of fluid passage, and method for supplying chemical solutions and device for water hammerless opening for which the method is used
US8047225B2 (en) 2004-01-20 2011-11-01 Fujikin Incorporated Method for water hammerless opening of fluid passage, and method for supplying chemical solutions and device for water hammerless opening for which the method is used
US8714188B2 (en) 2004-01-20 2014-05-06 Fujikin Incorporated Method for water hammerless opening of fluid passage, and method for supplying chemical solutions and device for water hammerless opening for which the method is used
CN103713519A (en) * 2013-12-17 2014-04-09 宁波华液机器制造有限公司 Proportional amplifier PID parameter self-tuning control method, and proportional amplifier and proportional electromagnetic valve
CN103713519B (en) * 2013-12-17 2016-06-15 宁波华液机器制造有限公司 Proportional amplifier pid parameter self-adjusting control and proportional amplifier, proportional solenoid

Similar Documents

Publication Publication Date Title
EP1321836B1 (en) Controller, temperature controller and heat processor using same
EP2194319A1 (en) System and method for controlling liquid level in a vessel
JP3437807B2 (en) Control calculation device and control calculation method
CN112413953A (en) Electronic expansion valve control method and device of carbon dioxide heat pump
JP2001012808A (en) Method of and apparatus for controlling expansion valve of air conditioner
JP2000010602A (en) Pid control method and its controller
US7668606B2 (en) Control device for controlling a control object at a ratio of on-time to off-time for a time-proportional output
JP3772340B2 (en) Valve positioner
JP2000163101A (en) Pid control method
JP2955728B2 (en) Boiler main steam temperature control method and apparatus
JP2003106684A (en) Method for controlling refrigerating cycle
JP3279745B2 (en) Controller with fuzzy inference function
JP2000288613A (en) Automatic gage control method for rolling mill
JP3396375B2 (en) Electro-pneumatic converter output control method and system
JPH10326101A (en) Pid control method and device therefor
JP4123826B2 (en) Water temperature control device
JP3057635B2 (en) Valve positioner
JP2001063541A (en) Brake control device
JPH0229420B2 (en) RENCHUKINIOKERUIGATANAIYUMENREBERUSEIGYOHOHO
CN108631665B (en) Motor control method and motor control device
JP2001242939A (en) Valve open/close control method
JPH0354368Y2 (en)
JP3335206B2 (en) Water heater
JPH10207502A (en) Pid controlling method and its device
JPH0833375A (en) Speed control device