JP2949849B2 - Digital controller - Google Patents

Digital controller

Info

Publication number
JP2949849B2
JP2949849B2 JP2400484A JP40048490A JP2949849B2 JP 2949849 B2 JP2949849 B2 JP 2949849B2 JP 2400484 A JP2400484 A JP 2400484A JP 40048490 A JP40048490 A JP 40048490A JP 2949849 B2 JP2949849 B2 JP 2949849B2
Authority
JP
Japan
Prior art keywords
program
program pattern
target set
transition
set value
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.)
Expired - Fee Related
Application number
JP2400484A
Other languages
Japanese (ja)
Other versions
JPH04209005A (en
Inventor
正樹 浪江
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.)
Omron Corp
Original Assignee
Omron 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 Omron Corp filed Critical Omron Corp
Priority to JP2400484A priority Critical patent/JP2949849B2/en
Publication of JPH04209005A publication Critical patent/JPH04209005A/en
Application granted granted Critical
Publication of JP2949849B2 publication Critical patent/JP2949849B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Feedback Control In General (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、例えば、プログラム機
能を内蔵した温度調節器などのようなプログラム機能を
備えるデジタル調節計に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a digital controller having a program function such as a temperature controller having a program function.

【0002】[0002]

【従来の技術】この種のデジタル調節計においては、到
達時間と到達設定値とを入力するだけで、図5の実線の
ように実行時間に対する目標設定値を示す折れ線のプロ
グラムパターンを設定できるようになっている。
2. Description of the Related Art In a digital controller of this type, a program pattern of a polygonal line indicating a target set value with respect to an execution time as shown by a solid line in FIG. 5 can be set only by inputting an arrival time and an arrival set value. It has become.

【0003】このようにして設定されるプログラムパタ
ーンどうりの制御、例えば、PID制御を行うと、目標
設定値の変化率、すなわち、プログラムパターンの傾き
が変わる移行部分、例えば、ランプ帯からソーク帯に移
行するような部分で、破線で示されるように制御量が目
標設定値を超えてしまう現象、いわゆる、オーバーシュ
ートが生じてしまうことになる。
When the control of the program pattern set in this way, for example, PID control, is performed, the rate of change of the target set value, that is, the transition portion where the slope of the program pattern changes, for example, from the ramp band to the soak band In a portion where the control shifts to, a phenomenon in which the control amount exceeds the target set value as shown by a broken line, that is, a so-called overshoot occurs.

【0004】[0004]

【発明が解決しようとする課題】そこで、このようなオ
ーバーシュートなどの発生を防止するために、従来で
は、プログラムパターンを変更してランプ帯とソーク帯
との間に、図6に示されるように1ステップを挿入する
ようにしている。
Therefore, in order to prevent the occurrence of such overshoot or the like, conventionally, a program pattern is changed between a ramp band and a soak band as shown in FIG. One step is inserted in

【0005】しかしながら、このようにランプ帯とソー
ク帯との間に、1ステップ挿入してプログラムパターン
を変更するものでは、設定入力がその分面倒であるとと
もに、メモリの容量の関係から設定できるステップ数に
限界があることからステップ数の無駄使いになるといっ
た難点がある。
[0005] However, in the case where the program pattern is changed by inserting one step between the ramp band and the soak band, the setting input is troublesome and the step which can be set from the relation of the memory capacity is required. There is a disadvantage that the number of steps is wasted because the number is limited.

【0006】本発明は、上述の点に鑑みて為されたもの
であって、オーバーシュートやアンダーシュートなどを
防止するためにステップを挿入するという必要をなくし
てプログラムデータの設定操作を容易にするとともに、
ステップを有効に使用できるようにすることを目的とす
る。
SUMMARY OF THE INVENTION The present invention has been made in view of the above points, and eliminates the need to insert a step to prevent overshoot or undershoot, thereby facilitating the operation of setting program data. With
The purpose is to enable the steps to be used effectively.

【0007】[0007]

【課題を解決するための手段】本発明では、上述の目的
を達成するために、次のように構成している。
In order to achieve the above-mentioned object, the present invention is configured as follows.

【0008】すなわち、本発明は、各ステップの到達時
間および到達設定値を入力することにより、実行時間に
対する目標設定値を示すプログラムパターンが設定され
て該プログラムパターンに従った制御が行われるプログ
ラム機能を備えるデジタル調節計において、 設定された前記プログラムパターンの内、目標設定値の
変化率が変わる移行部分を検出し、当該移行部分で制御
量が目標設定値から外れないように、プログラムパター
ンを修正するプログラムパターン修正部を備え、 前記プログラムパターン修正部は、設定された前記プロ
グラムパターンの前記移行部分の前後の両時点における
両目標設定値の間を、直線的に結ぶように目標設定値を
修正するものである。
That is, according to the present invention, a program function in which a program pattern indicating a target set value with respect to an execution time is set by inputting an arrival time and an arrival set value of each step, and control according to the program pattern is performed. In the digital controller provided with, a transition portion where the rate of change of the target set value changes is detected from among the set program patterns, and the program pattern is corrected so that the control amount does not deviate from the target set value at the transition portion. The program pattern correction unit corrects the target set values so as to linearly connect the target set values at both time points before and after the transition part of the set program pattern. Is what you do.

【0009】[0009]

【作用】上記構成によれば、従来例と同様にして設定さ
れたプログラムパターンの内、オーバーシュートやアン
ダーシュートなどが生じる部分、すなわち、目標設定値
の変化率が変わる部分、例えば、ランプ帯からソーク帯
への移行部分を検出し、その移行部分の前後の両時点に
おける両目標設定値の間を、直線的に結ぶように目標設
定値を修正するので、移行部分に1ステップを実質的に
挿入したことになり、オーバーシュートなどの発生を防
止できるとともに、前記1ステップを挿入するための設
定入力を行う必要もなく、限界のあるステップ数の無駄
使いも回避できてステップを有効に使用できることにな
る。
According to the above configuration, of the program pattern set in the same manner as in the conventional example, a portion where an overshoot or an undershoot occurs, that is, a portion where the rate of change of the target set value changes, for example, from a ramp band. Since the transition to the soak zone is detected and the target set value is corrected so as to linearly connect between the two target set values at the two points before and after the transition, one step is substantially added to the transition. Insertion means that overshoot and the like can be prevented, and there is no need to perform setting input for inserting the one step, and it is possible to avoid wasting a limited number of steps and to use the steps effectively. become.

【0010】[0010]

【実施例】以下、図面によって本発明の実施例につい
て、詳細に説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiments of the present invention will be described below in detail with reference to the drawings.

【0011】図1は、本発明の一実施例のブロック図で
あり、この実施例は、PID制御を行うプログラム機能
を備えるデジタル調節計1である。
FIG. 1 is a block diagram of one embodiment of the present invention. This embodiment is a digital controller 1 having a program function for performing PID control.

【0012】同図において、2は従来と同様に各ステッ
プの到達設定値および到達時間などのプログラムデータ
を設定入力する設定入力部、3は設定入力部2からのプ
ログラムデータが格納される記憶部、4はプログラムデ
ータに基づいて、実行時間に対する目標設定値を示すプ
ログラムパターンを求め、このプログラムパターンに従
った制御を行うとともに、プログラムパターンを記憶部
3に格納するプログラム制御部であり、このプログラム
制御部4は、目標設定値を出力するとともに、PID制
御パラメータを出力してPID演算部5などを制御す
る。なお、6は制御対象、7は検出部である。
In FIG. 1, reference numeral 2 denotes a setting input unit for setting and inputting program data such as an arrival set value and an arrival time of each step, as in the prior art; and 3, a storage unit for storing program data from the setting input unit 2. Reference numeral 4 denotes a program control unit that obtains a program pattern indicating a target set value for the execution time based on the program data, performs control according to the program pattern, and stores the program pattern in the storage unit 3. The control unit 4 outputs a target set value and outputs a PID control parameter to control the PID calculation unit 5 and the like. In addition, 6 is a control object, and 7 is a detection unit.

【0013】この実施例のデジタル調節計1では、ラン
プ帯とソーク帯との間にオーバーシュートなどの防止の
ためのステップを挿入する必要をなくしてプログラムデ
ータの設定操作を容易にするとともに、ステップを有効
に使用できるようにするために、設定されたプログラム
パターンの内のランプ帯からソーク帯への移行部分を検
出し、当該移行部分で制御量が目標設定値から外れない
ように、プログラムパターンを修正するプログラムパタ
ーン修正部8を設けている。
In the digital controller 1 of this embodiment, it is not necessary to insert a step for preventing overshoot or the like between the ramp band and the soak band. In order to enable the effective use of the program pattern, a transition portion from the ramp band to the soak band in the set program pattern is detected, and the program pattern is controlled so that the control amount does not deviate from the target set value at the transition portion. Is provided.

【0014】このプログラムパターン修正部8は、設定
入力部2からのプログラムデータに基づいて、例えば、
図2の実線で示されるプログラムパターンが設定される
と、ランプ帯からソーク帯への移行部分を検出してその
移行のT時間前に、仮想線で示されるように、プログラ
ムパターンを演算修正し、プログラム制御部4は、移行
部分において、この修正されたプログラムパターンに従
った制御を行うものである。
The program pattern correcting unit 8 is configured to execute, for example, based on the program data from the setting input unit 2,
When the program pattern indicated by the solid line in FIG. 2 is set, the transition from the ramp zone to the soak zone is detected, and the program pattern is calculated and corrected as indicated by the imaginary line T time before the transition. The program control section 4 performs control according to the corrected program pattern in the transition portion.

【0015】この実施例のプログラムパターンの修正
は、図2に示されるように、ランプ帯からソーク帯への
変化点Aの前後の等しい時間Tにおける点を結ぶよう
に、すなわち、ランプ帯からソーク帯への移行部分の前
後の両時点における両目標設定値の間を直線的に結ぶよ
うに修正され、これによって、実質的に移行部分に1ス
テップ挿入されたことになる。
The modification of the program pattern of this embodiment is such that points at the same time T before and after the transition point A from the ramp band to the soak band are connected as shown in FIG. The correction has been made so that there is a linear connection between the two target setpoints at both times before and after the transition to the band, thereby essentially inserting one step into the transition.

【0016】すなわち、本発明のデジタル調節計では、
従来例のように、ランプ帯とソーク帯との移行部分に、
1ステップを挿入しなくても、自動的にランプ帯からソ
ーク帯への移行部分が検出されて移行部分のプログラム
パターンが修正され、この修正されたプログラムパター
ンに従って制御されるので、従来例のようにオーバーシ
ュートやアンダーシュート防止のためのステップを設定
入力する必要がなく、ステップを有効に使用できること
になる。
That is, in the digital controller of the present invention,
As in the conventional example, at the transition between the lamp zone and the soak zone,
Even if one step is not inserted, the transition from the ramp band to the soak band is automatically detected, the program pattern of the transition is corrected, and control is performed according to the corrected program pattern. It is not necessary to set and input a step for preventing overshoot or undershoot, and the step can be used effectively.

【0017】図3は、プログラムパターンが設定された
後のPID制御のフローチャートである。
FIG. 3 is a flowchart of PID control after a program pattern is set.

【0018】先ず、プログラムのステップ番号を示すn
として、初期値1が設定され(S1)、このステップn
に対応するプログラムパターンに従ったPID制御が開
始される(S2)。
First, n indicating the step number of the program
Is set to an initial value 1 (S1), and this step n
Is started in accordance with the program pattern corresponding to (2) (S2).

【0019】次に、ステップn+1への移行前T時間に
達したか否かを判断し(S3)、達したときには、プロ
グラムパターンに基づいて、ステップnからステップn
+1への移行が、ランプ帯からソーク帯への移行である
か否かを判断し(S4)、ランプ帯からソーク帯への移
行であるときには、図2の仮想線で示されるように、ラ
ンプ帯からソーク帯への変化点の前後の等しい時間Tを
結ぶようなプログラムパターンに修正する(S5)。
Next, it is determined whether or not the time T before the shift to the step n + 1 has been reached (S3). When the time has reached, it is determined from the step n to the step n based on the program pattern.
It is determined whether the shift to +1 is a shift from the ramp zone to the soak zone (S4). If the shift to the +1 zone is a shift from the ramp zone to the soak zone, as shown by a virtual line in FIG. The program pattern is modified to connect the same time T before and after the change point from the band to the soak band (S5).

【0020】そして、この修正されたプログラムパター
ンに従ってPID制御を期間2Tに亘って行い(S
6)、その後プログラムのステップ番号nに1を加算し
て新たなステップ番号nとし(S7)、この新たなステ
ップnに対応するプログラムパターンに従ったPID制
御が開始され(S8)、次に、ステップnが終了したか
否かを判断し(S9)、終了したときには、ステップn
が最終のステップであるか否かを判断し(S10)、最
終のステップでないときには、プログラムのステップ番
号nに1を加算して新たなステップ番号nとし(S1
1)てS2に戻る。
Then, PID control is performed over a period 2T according to the corrected program pattern (S
6) Then, 1 is added to the step number n of the program to obtain a new step number n (S7), and PID control according to the program pattern corresponding to the new step n is started (S8). It is determined whether or not step n has been completed (S9).
Is determined as the last step (S10), and if not the last step, 1 is added to the step number n of the program to obtain a new step number n (S1).
1) Return to S2.

【0021】このようにしてランプ帯からソーク帯への
移行の際には、オーバーシュートやアンダーシュートを
防止するように、プログラムパターンが修正されて制御
されることになる。
As described above, at the time of transition from the ramp band to the soak band, the program pattern is corrected and controlled so as to prevent overshoot and undershoot.

【0022】上述の実施例では、プログラムパターン
は、図2に示されるように、ランプ帯からソーク帯への
変化点の前後の等しい時間Tにおける点を結ぶように修
正されたけれども、本発明の他の実施例として、例え
ば、図4の仮想線で示されるように、ランプ帯からソー
ク帯への移行のT時間前からの元のプログラムパターン
と修正されたプログラムパターンとで二等辺三角形が形
成されるように修正してもよい。
In the embodiment described above, the program pattern was modified to connect points at equal times T before and after the transition from ramp to soak as shown in FIG. In another embodiment, for example, as shown by a virtual line in FIG. 4, an isosceles triangle is formed by the original program pattern and the corrected program pattern from the time T before the transition from the ramp band to the soak band. May be modified so that

【0023】また、時間Tは、設定入力部2から設定し
てもよいが、PID制御パラメータの積分時間に比例し
た時間になるように構成してもよい。
The time T may be set from the setting input unit 2, but may be configured to be a time proportional to the integration time of the PID control parameter.

【0024】上述の実施例では、ランプ帯からソーク帯
への移行部分について説明したけれども、本発明はこれ
に限るものではなく、目標設定値の変化率が大きく変わ
るような移行部分であれば、ランプ帯からランプ帯ある
いはソーク帯からランプ帯への移行部分にも同様に適用
できるのは勿論である。
In the above-described embodiment, the transition from the ramp zone to the soak zone has been described. However, the present invention is not limited to this, and any transition where the rate of change of the target set value greatly changes may be used. Of course, the present invention can be similarly applied to the transition from the ramp band to the ramp band or from the soak band to the ramp band.

【0025】[0025]

【発明の効果】以上のように本発明によれば、従来例と
同様にして設定されたプログラムパターンの内、目標設
定値の変化率が変わる移行部分を検出し、その移行部分
の前後の両時点における両目標設定値の間を、直線的に
結ぶように目標設定値を修正するので、移行部分に1ス
テップを実質的に挿入したことになり、オーバーシュー
トなどの発生を防止できるとともに、前記1ステップを
挿入するための設定入力を行う必要もなく、ステップを
有効に使用できることになる。
As described above, according to the present invention, a transition portion where the rate of change of the target set value changes is detected from among the program patterns set in the same manner as in the prior art, and both before and after the transition portion are detected. Since the target set values are corrected so as to be linearly connected between the two target set values at the time, one step is substantially inserted in the transition portion, and the occurrence of overshoot and the like can be prevented, and There is no need to input settings for inserting one step, and the step can be used effectively.

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

【図1】図1は本発明の一実施例のブロック図である。FIG. 1 is a block diagram of one embodiment of the present invention.

【図2】図2は図1の一実施例のプログラムパターンを
示す図である。
FIG. 2 is a diagram showing a program pattern according to the embodiment of FIG. 1;

【図3】図3は動作説明に供するフローチャートであ
る。
FIG. 3 is a flowchart for explaining an operation;

【図4】図4は本発明の他の実施例のプログラムパター
ンを示す図である。
FIG. 4 is a diagram showing a program pattern according to another embodiment of the present invention.

【図5】図5はオーバーシュートの発生を示す図であ
る。
FIG. 5 is a diagram showing the occurrence of overshoot.

【図6】図6は従来例のプログラムパターンを示す図で
ある。
FIG. 6 is a diagram showing a program pattern of a conventional example.

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

1 デジタル調節計 2 設定入力部 4 プログラム制御部 8 プログラムパターン修正部 1 digital controller 2 setting input section 4 program control section 8 program pattern correction section

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 各ステップの到達時間および到達設定値
を入力することにより、実行時間に対する目標設定値を
示すプログラムパターンが設定されて該プログラムパタ
ーンに従った制御が行われるプログラム機能を備えるデ
ジタル調節計において、 設定された前記プログラムパターンの内、目標設定値の
変化率が変わる移行部分を検出し、当該移行部分で制御
量が目標設定値から外れないように、プログラムパター
ンを修正するプログラムパターン修正部を備え、 前記プログラムパターン修正部は、設定された前記プロ
グラムパターンの前記移行部分の前後の両時点における
両目標設定値の間を、直線的に結ぶように目標設定値を
修正することを特徴とするデジタル調節計。
1. A digital adjustment having a program function in which a program pattern indicating a target set value with respect to an execution time is set by inputting an arrival time and an arrival set value of each step, and control according to the program pattern is performed. A program pattern correction for detecting a transition portion where a change rate of a target set value changes in the set program pattern, and correcting the program pattern so that the control amount does not deviate from the target set value at the transition portion. A program setting unit, wherein the program pattern correction unit corrects the target set values so as to linearly connect the target set values at both time points before and after the transition part of the set program pattern. Digital controller.
JP2400484A 1990-12-05 1990-12-05 Digital controller Expired - Fee Related JP2949849B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2400484A JP2949849B2 (en) 1990-12-05 1990-12-05 Digital controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2400484A JP2949849B2 (en) 1990-12-05 1990-12-05 Digital controller

Publications (2)

Publication Number Publication Date
JPH04209005A JPH04209005A (en) 1992-07-30
JP2949849B2 true JP2949849B2 (en) 1999-09-20

Family

ID=18510383

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2400484A Expired - Fee Related JP2949849B2 (en) 1990-12-05 1990-12-05 Digital controller

Country Status (1)

Country Link
JP (1) JP2949849B2 (en)

Also Published As

Publication number Publication date
JPH04209005A (en) 1992-07-30

Similar Documents

Publication Publication Date Title
US8023015B2 (en) System, method and medium correcting brightness of an image
KR930011718B1 (en) Method of operating a fuzzy controller and an adjusting therefor
US5497330A (en) Method for retaining the correction value of a control variable in an engine control device
JP2949849B2 (en) Digital controller
JP2004126733A (en) Controller
JP2506900B2 (en) Time proportional controller
JPS58149503A (en) Method for controlling operation of controller
JP3279745B2 (en) Controller with fuzzy inference function
JP4106758B2 (en) Plant basic program automatic adjustment method
JP4159965B2 (en) Image processing device
JP2620248B2 (en) PID control device
JPH04209006A (en) Digital controller
JPH0743601B2 (en) Control device
JP2875841B2 (en) Programmable controller
JP2748399B2 (en) Error correction device
KR0180380B1 (en) Method for preventing air/fuel ratio from changing suddenly when compensating fuel feedback
JP2004207830A (en) Filter
JP2000078461A (en) Device and method for controlling exposure
JPH0833375A (en) Speed control device
JP3275316B2 (en) Control system
JPH0546752B2 (en)
JPH0447329A (en) Computer system
JPH06289904A (en) State feedback controller
JP2504147B2 (en) Program controller
JPH06337702A (en) Controller

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees