JPH0375889B2 - - Google Patents

Info

Publication number
JPH0375889B2
JPH0375889B2 JP56073580A JP7358081A JPH0375889B2 JP H0375889 B2 JPH0375889 B2 JP H0375889B2 JP 56073580 A JP56073580 A JP 56073580A JP 7358081 A JP7358081 A JP 7358081A JP H0375889 B2 JPH0375889 B2 JP H0375889B2
Authority
JP
Japan
Prior art keywords
override
state
control
process state
program
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 - Lifetime
Application number
JP56073580A
Other languages
Japanese (ja)
Other versions
JPS57189213A (en
Inventor
Koichi Kawaguchi
Tetsuo Sato
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.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP56073580A priority Critical patent/JPS57189213A/en
Publication of JPS57189213A publication Critical patent/JPS57189213A/en
Publication of JPH0375889B2 publication Critical patent/JPH0375889B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • G05B23/0205Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
    • G05B23/0218Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterised by the fault detection method dealing with either existing or incipient faults
    • G05B23/0224Process history based detection method, e.g. whereby history implies the availability of large amounts of data
    • G05B23/0227Qualitative history assessment, whereby the type of data acted upon, e.g. waveforms, images or patterns, is not relevant, e.g. rule based assessment; if-then decisions
    • G05B23/0229Qualitative history assessment, whereby the type of data acted upon, e.g. waveforms, images or patterns, is not relevant, e.g. rule based assessment; if-then decisions knowledge based, e.g. expert systems; genetic algorithms
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • G05B23/0205Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
    • G05B23/0259Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterized by the response to fault detection
    • G05B23/0286Modifications to the monitored process, e.g. stopping operation or adapting control

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Evolutionary Biology (AREA)
  • Testing And Monitoring For Control Systems (AREA)
  • Safety Devices In Control Systems (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、制御用計算機システムにおけるプロ
セス制御方法に係り、特にバツチシーケンス制御
を行なうシステムにおいてオーバライド機能を備
えたプロセス制御方法に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a process control method in a control computer system, and particularly to a process control method provided with an override function in a system that performs batch sequence control.

〔従来技術とその問題点〕[Prior art and its problems]

シーケンス制御を行う計算機システムでは、プ
ロセスの状態が正常に維持されているか否かを、
常時監視する機能が要求される。例えば、あるポ
ンプを起動する場合、起動要求(デイジタル出力
信号を出力)後、ある一定時間内にポンプは動作
(デイジタル入力信号に反映)しなければならな
い。さらに、いつたん動作状態となつたポンプ
は、次に停止要求が発行されるまで動作し続け
る。その後、停止要求が出されるまで、動作状態
を維持し続けねばならない。
In a computer system that performs sequence control, it is necessary to check whether the process status is maintained normally.
A constant monitoring function is required. For example, when starting a certain pump, the pump must operate (reflected on the digital input signal) within a certain fixed time after the start request (outputting the digital output signal). Further, once the pump is in operation, it continues to operate until the next stop request is issued. Thereafter, the operating state must be maintained until a stop request is issued.

シーケンス制御においては、これらのいずれが
満たされない場合でも、プロセスの異常とみなさ
れ、安全状態にするために必要な、異常処理が行
なわれる。その後、異常となつたデバイス(プロ
セスを構成する機器でポンプ、弁、センサーな
ど)を修理し、回復の後に、あらためて、必要な
制御を続行する。
In sequence control, even if any of these conditions is not satisfied, it is regarded as an abnormality in the process, and necessary abnormality processing is performed to bring the process into a safe state. Then, repair the malfunctioning device (equipment that makes up the process, such as a pump, valve, sensor, etc.), and resume necessary control after recovery.

従来、これらの機能を実現すべく、様々な方法
がとられてきたが、その一例を第1図に示す。こ
の方式では、プロセスの状態はアナログ量変換プ
ログラム10、プロセス状態取込プログラム1に
よりビツト情報として、プロセス状態格納テーブ
ル2に格納されるが、この内容は、プロセス状態
監視プログラム4にて監視される。第1図で実線
はプログラムの実行手順を点線はデータの流れを
示している。その方法は、コマンド出力プログラ
ム7にて出力要求に応じて設定された監視状態格
納テーブル5の内容と、プロセス状態格納テーブ
ル2との内容を比較し、同一であれば正常とみな
すが、異なつている場合は、さらにマスクデータ
格納テーブル6を内容をみて、マスクが解除され
ていたら、プロセスの異常とみなし、制御プログ
ラム8に対し必要な異常処理を行うべく要求を発
行するものである。
Conventionally, various methods have been used to realize these functions, one example of which is shown in FIG. In this method, the process status is stored as bit information in the process status storage table 2 by the analog quantity conversion program 10 and the process status importing program 1, but this content is monitored by the process status monitoring program 4. . In FIG. 1, solid lines indicate program execution procedures and dotted lines indicate data flow. The method is to compare the contents of the monitoring status storage table 5 set in response to an output request with the command output program 7 and the contents of the process status storage table 2, and if they are the same, it is considered normal. If so, the contents of the mask data storage table 6 are checked, and if the mask is released, it is assumed that the process is abnormal, and a request is issued to the control program 8 to perform necessary abnormality processing.

ここで、監視状態格納テーブル5の内容とマス
クデータは、ともに、コマンド出力プログラム7
が、制御プログラム8からのコマンドに従い、順
次ダイナミツクに作成していくものである。特
に、マスクデータは、出力要求発行後、弁、ポン
プなどのデバイスが開/閉、起動/停止などの出
力要求に対応した状態となるまでの間、出力要求
と入力の不一致を誤つてプロセスの異常と判断す
るのを防ぐためにもうけられたものであり、出力
要求と同時に、マスクがセツトされ、出力要求に
対応した状態となつた時点で解除されるものであ
る。なおこの例では、プロセスの状態として、デ
イジタル入力信号のみでなく、アナログ信号で取
込まれるデータもある設定値との大小比較によ
り、ビツト情報に変換(10)することにより、デ
イジタル入力信号と同一の方法にて、状態監視を
行なつている。
Here, both the contents of the monitoring status storage table 5 and the mask data are stored in the command output program 7.
are created sequentially and dynamically according to commands from the control program 8. In particular, mask data is used after the output request is issued until devices such as valves and pumps are in a state that corresponds to the output request such as opening/closing or starting/stopping. This was created to prevent it from being judged as abnormal, and the mask is set at the same time as an output request is made, and is released when the state corresponding to the output request is reached. In this example, the process status is not only a digital input signal, but also data that is taken in as an analog signal. By comparing the magnitude with a set value and converting it to bit information (10), the data is the same as the digital input signal. Conditions are monitored using this method.

ここで、実際の制御プログラムの動作を示すた
めに、簡単なプロセスの例を第2図に示す。本例
で、弁V1、ポンプP1及びレベルスイツチLS
1はデイジタル入力信号でインターフエースが取
られているが、図の左側のタンクの温度T1及び
レベルL1は、アナログ信号にて取込まれている。
このアナログ量は、アナログ量変換プログラム1
0で設定値格納テーブル内の値と比較されビツト
情報に変換されたものが、制御プログラムに利用
されている。
Here, in order to show the operation of the actual control program, an example of a simple process is shown in FIG. In this example, valve V1, pump P1 and level switch LS
1 is interfaced with a digital input signal, but the temperature T 1 and level L 1 of the tank on the left side of the figure are input as analog signals.
This analog quantity is converted into analog quantity conversion program 1.
0 is compared with the value in the set value storage table and converted into bit information, which is used in the control program.

第2図のプロセスを制御するプログラムの処理
手順を第3図に示す。この制御プログラムの処理
手順では、制御を開始する前に、スタートするた
めの条件チエツク処理をおこなう(ステツプA)。
すなわち、弁が閉じ、ポンプは停止状態にあり、
左側タンクの温度及びレベルは、ある一定値以内
にあることを確認する。この条件が満たされた上
で、次のステツプBに進んで弁を開け、ステツプ
Cでポンプを起動し、ステツプD、Eでレベルス
イツチがONとなるのを待つた上で、ステツプ
F、Gでポンプを停止し弁を閉じて処理を終了す
るものである。
FIG. 3 shows the processing procedure of a program that controls the process shown in FIG. 2. In the processing procedure of this control program, before starting control, a condition check process for starting is performed (step A).
That is, the valve is closed and the pump is at rest;
Check that the temperature and level of the left tank are within certain limits. Once this condition is met, proceed to the next step B to open the valve, start the pump in step C, wait for the level switch to turn on in steps D and E, and then proceed to steps F and G. The pump is stopped and the valve is closed to complete the process.

異常が発生した場合の異常処理に関しては、ス
タート条件が不成立の場合は、ステツプHで一
旦、待ち状態となり、オペレータの再開要求によ
つて再度スタート条件のチエツク(ステツプA)
を行う。つぎに、ステツプBからステツプGまで
の処理を行なつている間に、何らかの異常が発生
した場合はステツプIにジヤンプし、安全状態と
すべく、弁を閉じ、ポンプを停止した上で、オペ
レータの再開要求を待つ(ステツプI〜K)。オ
ペレータは異常要因を排除した上で、再開を要求
するが、プログラムは、すぐに通常の処理を行う
ルーチンには戻らず、ステツプLで再開のための
条件、すなわち、弁が閉じ、ポンプは停止し、温
度やレベルが一定値以内にあることをチエツクす
る。この条件が満たされて、はじめて、通常の処
理ルーチンであるステツプB以降の処理を開始す
る。
Regarding abnormality processing when an abnormality occurs, if the start conditions are not satisfied, the process goes into a waiting state at step H, and then checks the start conditions again (step A) upon the operator's restart request.
I do. Next, if any abnormality occurs while processing from Step B to Step G, the system jumps to Step I, closes the valve, stops the pump, and then asks the operator to Waits for a restart request (steps I to K). The operator requests restart after eliminating the cause of the abnormality, but the program does not immediately return to the routine that performs normal processing, but meets the conditions for restart at step L, that is, the valve closes and the pump stops. and check that the temperature and level are within certain values. Only when this condition is satisfied does the processing from step B onwards, which is a normal processing routine, begin.

このような例において、弁の状態をデイジタル
入力信号で返信するリミツトスイツチが故障し、
弁は開状態となつても、弁のデイジタル入力信号
(DI)は開とならないという状態の場合、制御プ
ログラム8は、ステツプBの処理にて、プロセス
の異常を検出し、ステツプI、Jの異常処理を行
なつた上でステツプKの持ち状態となつてしま
う。仮りに、オペレータの再開要求があつても、
再びステツプBの弁を開ける所で異常となつてし
まい、リミツトスイツチの修理が完了するまでス
テツプC以降の処理へ進むことは出来ない。こよ
うな状況は、プロセスそのものは正常に動作して
いるにもかかわらず、まわりの条件不備のために
発生するもので、操業度を上げるための障害とな
る。
In such an example, the limit switch that sends back the status of the valve with a digital input signal may fail.
If the valve is in the open state but the digital input signal (DI) of the valve is not in the open state, the control program 8 detects a process abnormality in step B, and executes steps I and J. After the abnormality processing is performed, the state becomes the holding state of step K. Even if there is a restart request from the operator,
An abnormality occurs when the valve is opened again in Step B, and it is not possible to proceed to Step C and subsequent steps until the limit switch is repaired. This situation occurs due to inadequate surrounding conditions even though the process itself is operating normally, and becomes an obstacle to increasing the operating efficiency.

また、バツチシーケンス制御は、ある定まつた
手順を1バツチと称し、このバツチを順次繰返し
て運転を行なうものであるが、あるバツチにて、
第2図左側のタンクの温度T1は、当初予定して
いた規定値以内に入つてはいないが、第3図に示
す制御プログラム8は動作させたい、といつた場
合、制御プログラムを修正して、温度のチエツク
をはずすか、設定許容値の幅を拡げる以外に、プ
ログラムを動作させることは不可能になる。
Furthermore, in batch sequence control, a certain set procedure is called one batch, and this batch is sequentially repeated to perform operation, but in a certain batch,
If you say that the temperature T1 of the tank on the left side of Figure 2 is not within the originally planned specified value, but you want to run the control program 8 shown in Figure 3, you need to modify the control program. The only way to get the program working is to uncheck the temperature or widen the range of allowable settings.

以上のように、シーケンス制御における、各種
条件チエツク及び状態監視は、プラントの安全操
業を実現するという点で絶対に必要な条件である
が、反面、様々なチエツクが障害となり、フレキ
シブルな運転を不可能にして操業度の低下を招く
ものとなつている。
As mentioned above, various condition checks and status monitoring in sequence control are absolutely necessary conditions for realizing safe plant operation, but on the other hand, various checks become obstacles and make flexible operation impossible. This has led to a decline in operational efficiency.

一方、プログラムをテストする上での従来技術
としては、実際に弁、ポンプ等がなくても、プロ
グラムの実行を可能とするために、テストモード
機能をもうけ、実際のプロセス状態を入力するこ
となく、出力コマンドに従つてプロセス状態を自
動的に作り出したり、一切の異常要因を無視する
といつた機能を有したものがあるが、これはあく
までテストを行なうためであつて、実際の操業に
おいて適用できるようなものではなかつた。
On the other hand, as a conventional technology for testing programs, a test mode function is provided to enable program execution without actually having valves, pumps, etc., without inputting the actual process status. Some machines have functions such as automatically creating process conditions according to output commands or ignoring all abnormal factors, but these are for testing purposes only and cannot be applied in actual operations. It was nothing like that.

〔発明の目的〕[Purpose of the invention]

本願発明の目的は、プロセスの逐次的制御にお
ける各種の条件チエツクが、プロセスの運転中断
をしばしば生じ、操業度の低下を招くという欠点
を克服するため、オーバーライド機能を新たにも
うけ、安全確保しながら必要に応じ、中断状態か
ら制御を再開させプロセスの運転を続行するプロ
セス制御方法を提供することにある。
The purpose of the present invention is to provide a new override function to overcome the drawback that various condition checks in sequential control of a process often result in interruption of process operation and a decrease in operating efficiency, while ensuring safety. It is an object of the present invention to provide a process control method that resumes control from an interrupted state and continues operation of the process as necessary.

〔課題を解決するための手段〕[Means to solve the problem]

本発明の特徴は、プロセス制御方法において、
以下のステツプを有することを特徴とする。
The feature of the present invention is that in the process control method,
It is characterized by having the following steps.

(イ) プロセス状態信号を入力して記憶するプロセ
ス状態格納ステツプ (ロ) プロセス状態に対応して事前に設定される条
件と格納された前記プロセス状態信号を比較
し、両者の不一致を判定する監視ステツプ (ハ) 前記判定の結果が不一致のときに、正常なプ
ロセス状態において前記不一致を生ずることが
既知の場合について事前に設定されたマスクを
参照し、当該プロセス状態に対し前記マスクが
設定されている場合は正常時の制御を進めるマ
スクステツプ (ニ) 前記マスクが設定されていない前記不一致の
プロセス状態に対し当該プロセス状態を一致状
態にあるものとみなすオーバライドを参照し、
当該プロセス状態に対しオーバライドが設定さ
れている場合は正常時の制御を進めるオーバラ
イドステツプ (ホ) 前記オーバライドの参照により当該プロセス
状態に対し前記オーバライドが解除されている
場合はプロセスに所定の安全処理をして制御を
中断する中断ステツプ (ヘ) 前記中断ステツプに続き、前記不一致のプロ
セス状態に対して前記オーバライドを設定して
前記正常時の制御を再開する制御再開ステツプ 〔作用〕 このような本発明によれば、プロセスから入力
される状態信号に、マスクによつても回避できな
い設定条件との不一致が生じると、プロセスを一
旦、所定の安全処理をして中断し、その不一致信
号に対してオーバライドを設定して該不一致の無
視を可能とし、オペレータの再開要求があれば直
ちに正常な制御を再開させることができる。
(b) Process state storage step for inputting and storing process state signals; (b) Monitoring for comparing conditions set in advance corresponding to the process state with the stored process state signal and determining discrepancies between the two. Step (c) When the result of the determination is a discrepancy, refer to a mask set in advance for cases where the discrepancy is known to occur in a normal process state, and determine whether the mask is set for the process state. If so, proceed with normal control (d) Refer to the override to consider the process state to be in a matching state for the mismatched process state for which the mask is not set,
If an override has been set for the process state, an override step (e) that proceeds with normal control.If the override has been canceled for the process state by referring to the override, performs a predetermined safety process on the process. An interruption step (F) for interrupting the control by setting the override for the mismatched process state (f) A control restart step for resuming the normal control [Operation] Such the present invention According to , when a discrepancy occurs in the status signal input from a process with the setting conditions that cannot be avoided even with a mask, the process is temporarily interrupted after performing predetermined safety processing, and an override is performed for the discrepancy signal. The discrepancy can be ignored by setting , and normal control can be resumed immediately if the operator requests restarting.

このように本発明によれば、条件不一致のプロ
セス状態が発生すると、一旦必要な安全処理をし
て制御の中断をおこない、この間に不一致の原因
を調査し、原因がたとえばリレーやセンサー等の
故障(現場環境では頻繁に発生)にあり、制御の
進行に障害のないことが確認されれば、直ちに制
御の再開をし、プロセス運転を続けながら故障機
器の修理をおこなうことができる。そして、一度
オーバライドを設定した後は、その不一致原因が
除去され、該オーバライドの設定が解除されるま
で該不一致の状態信号は無視されるので、これに
よる再度の制御の中断は発生しない。このよう
に、本発明はプロセス制御の安全を確保しながら
操業率を飛躍的に向上する効果がある。
According to the present invention, when a process state in which conditions do not match occurs, the necessary safety procedures are performed and control is interrupted, and during this period, the cause of the mismatch is investigated and the cause is determined to be, for example, a malfunction of a relay or sensor. (This frequently occurs in the field environment), and if it is confirmed that there are no obstacles to the progress of control, control can be immediately restarted and the failed equipment can be repaired while continuing process operation. Once the override is set, the cause of the mismatch is removed and the mismatch status signal is ignored until the override setting is canceled, so that control will not be interrupted again. As described above, the present invention has the effect of dramatically improving the operating rate while ensuring the safety of process control.

〔実施例〕〔Example〕

このオーバライド機能を有した本発明の一実施
例として、機能ブロツクによる構成を第4図に示
す。同図において、第1図に示す機能ブロツクと
符号または名称が同一のものは、上述した第1図
の各機能と同様であり、以後の説明では相違点を
中心に説明する。
FIG. 4 shows a configuration of functional blocks as an embodiment of the present invention having this override function. In this figure, the functional blocks having the same reference numerals or names as those shown in FIG. 1 are the same as the functions shown in FIG. 1 described above, and the following description will focus on the differences.

第4図で従来のものとの違いは、オーバーライ
ド設定状態格納テーブルが追加されていることに
ある。これによつて、各プログラムの処理は以下
に述べるように機能の向上がはかられる。
The difference from the conventional one in FIG. 4 is that an override setting state storage table is added. This improves the functionality of each program's processing as described below.

すなわち、プロセス状態監視プログラム4は、
取込まれたプロセス状態(1で取込んだ2の値)
と、監視状態格納テープル5の値が不一致で、マ
スクデータが解除されていても、対応するデバイ
スにオーバーライドが設定されていれば、正常扱
いとする。また、制御プログラム8においては、
第3図のステツプA又はLに示す条件チエツクを
行う場合、対象デバイスにオーバーライドが設定
されている場合は、実際の入力信号から取り込ま
れプロセス格納状態テーブル2の状態とは無関係
に正常とみなす。
That is, the process status monitoring program 4
Captured process status (value of 2 captured in 1)
Even if the values in the monitoring state storage table 5 do not match and the mask data is canceled, if override is set for the corresponding device, it is treated as normal. In addition, in the control program 8,
When performing the condition check shown in step A or L in FIG. 3, if an override is set for the target device, it is taken from the actual input signal and is regarded as normal regardless of the state of the process storage state table 2.

さらに、コマンド出力プログラム7では、ポン
プの起動/停止などの出力要求に対するアンサー
バツクが制限時間内に返信されなくても、そのポ
ンプ等のデバイスにオーバーライドが設定されて
いる場合は、異常とはせず、正常にアンサーバツ
クが返信されたものとして、制御プログラムに対
し、正常終了する。これは、オーバーライド設定
時、デバイスが実際に動作する時間を確保するた
めであり、出力要求時、オーバライドが設定され
ていてもただちに正常終了の報告は行なわない。
また、制限時間内にアンサーバツクが返信された
場合は、オーバーライドの設定状態とは無関係
に、その時点で正常終了扱いとする。
Furthermore, in the command output program 7, even if an answer request for an output request such as starting/stopping a pump is not returned within the time limit, if an override is set for the device such as the pump, it is not considered an error. First, assuming that the answer request has been returned normally, the control program terminates normally. This is to ensure time for the device to actually operate when the override is set, and when an output request is made, normal completion is not immediately reported even if the override is set.
Furthermore, if an answer call is returned within the time limit, it is treated as a normal end at that point, regardless of the override setting state.

なお、上述のマスク機能は、本来正常な動作が
過渡応答や特定な動作から「異常」扱いを受ける
のを回避する機能であり、マスクする過渡応答の
期間や特定動作の範囲(例えば、車の安全は速度
と車間距離に関係し、接近しても速度が遅ければ
車間距離信号の異常は回避される)は予め知られ
ている。これに対し、本発明のオーバライド機能
はマスクによつては回避できない、予じめ知り得
ないデバイスの故障など、状態信号から得られる
実際のデバイス状態を無視し、正常なものとみな
して制御を進める機能であり、マスクとはその機
能を本質的に異にする。
The above-mentioned mask function is a function that prevents normally normal operations from being treated as "abnormal" due to transient responses or specific operations. Safety is related to speed and distance between vehicles, and it is known in advance that if the speed is slow even when approaching a vehicle, an abnormality in the distance signal will be avoided. In contrast, the override function of the present invention ignores the actual device status obtained from the status signal, such as device failures that cannot be avoided by masks or cannot be known in advance, and controls the device by assuming it as normal. This function is essentially different from that of a mask.

また、上記実施例のように、本発明のオーバラ
イド機能は、各デバイス毎に設けれるようにして
いる。これは、デイジタル入力信号とデバイス
が、必ずしも1対1に対応せず、複数の信号が1
つのデバイスの状態を検出する(例えば、弁の入
力信号のDIは開のリレー接点及び閉のリレー接
点の2つからなる)場合があり、かつ、実際の事
故や運転条件の変更はこのデバイスに生じること
が多いからである。したがつて、オーバライドを
デバイス単位に設定することで、運転員の操作は
大幅に軽減される。なお、オーバライドの設定は
デイジタル入力信号1点毎にしてもよい。また、
アナログ量の入力信号(AI)についても、DI同
様、各点ごとまたはデバイスごとにオーバライド
機能を設けることができる。
Further, as in the above embodiment, the override function of the present invention can be provided for each device. This means that digital input signals and devices do not necessarily have a one-to-one correspondence, and multiple signals
The state of one device may be detected (for example, a valve input signal DI consists of two relay contacts, one open and one closed), and an actual accident or change in operating conditions may be detected by this device. This is because it often occurs. Therefore, by setting overrides on a device-by-device basis, operator operations can be significantly reduced. Note that the override setting may be made for each digital input signal. Also,
Similar to DI, an override function can be provided for each point or device for analog input signals (AI).

以上のオーバライド機能を有したシステムにお
いて、第3図に示す制御手順を実行した場合の動
作タイムチヤートを、従来のものと比較して、第
5図a〜cに示す。この例では、弁V1のリミツ
トスイツチが故障し、弁は開状態となつても、リ
ミツトスイツチは、閉状態のままとなつている場
合を想定している。第5図a,bは、従来技術に
よるタイムチヤートであり、弁V1のリミツトス
イツチが修理されるまで、プログラムは、待状態
で動作出来ない状態を示している。第3図のフロ
ーでいえば、ステツプAは正常に行われ、ステツ
プBの「OPEN V1」の実行においてV1開の
信号が入力されないため、異常と判定されてステ
ツプIにジヤンプし、ポンプP1、バブルV1の
出力を各々停止、閉とプロセスを安全状態にする
ための処理をした上でオペレータの再開要求を待
つ、いわゆる制御の中断状態となる。
In the system having the above-mentioned override function, operation time charts when the control procedure shown in FIG. 3 is executed are shown in FIGS. 5a to 5c in comparison with the conventional system. In this example, it is assumed that the limit switch of valve V1 fails and the limit switch remains closed even though the valve is opened. FIGS. 5a and 5b are time charts according to the prior art, showing that the program is in a waiting state and cannot operate until the limit switch of valve V1 is repaired. In the flowchart of Fig. 3, step A is performed normally, and since the V1 open signal is not input during the execution of "OPEN V1" in step B, it is determined that there is an abnormality and jumps to step I, and pumps P1, After processing to bring the process into a safe state by stopping and closing the output of the bubble V1, a so-called control suspension state is entered, in which the operator waits for a restart request.

一方、第5図cは本発明による場合で、従来の
同様V1の異常判定で第3図のステツプIにジヤ
ンプし、ステツプKで中断状態となるが、弁V1
のリミツトスイツチの故障であることを確認し
て、オペレータがV1にオーバーライドを設定し
再開要求を発行すると、ただちに、制御が再開さ
れる。再開後も、V1開の入力信号は得られない
のでステツプBで異常を検知するが、当該V1の
オーバーライドの設定が確認されれば、あたかも
V1の入力があるように(第5図cV1に破線で
示す)実際のリミツトスイツチの状態は無視さ
れ、プログラム8によつて制御はステツプCに進
められる。また、一度、オーバライドが設定され
れば解除されるまで当該信号を無視するので、V
1が繰返しチエツクされる場合に、制御が中断す
ることはない。
On the other hand, FIG. 5c shows a case according to the present invention, in which the valve V1 jumps to step I in FIG.
After confirming that the limit switch is malfunctioning, the operator sets an override to V1 and issues a restart request, and control is immediately resumed. Even after restarting, the V1 open input signal cannot be obtained, so an abnormality is detected in step B. However, if the V1 override setting is confirmed, it will be treated as if there was an input to V1 (the broken line in cV1 in Figure 5). The actual limit switch state (indicated by ) is ignored and program 8 advances control to step C. Also, once the override is set, the signal is ignored until it is canceled, so V
Control will not be interrupted if 1 is checked repeatedly.

実際に現場の環境ではリミツトスイツチ等の故
障は頻繁であり、しかも、プロセス制御において
これらの機器は多数必要とするから、その修理、
交換には長時間を要することになる。しかし、こ
のようなセンサ/スイツチ類の故障は制御の進行
にとつて本質的な障害ではなく、かかる場合本発
明を適用すると、これら機器の故障が確認された
ら直ちに制御を再開できるので、修理の間も、実
際の制御を並行して行うことが可能になり、第5
図にてUT(操業度向上時間)で示したごとく、
大幅に、操業度を向上することができる。
In fact, limit switches and other devices break down frequently in the field environment, and many of these devices are required for process control, so repairs,
Replacement will take a long time. However, failure of such sensors/switches is not an essential obstacle to the progress of control, and in such cases, if the present invention is applied, control can be resumed immediately after a failure of these devices is confirmed, making it easier to repair. During this period, actual control can be performed in parallel, and the fifth
As shown in the figure, UT (operability improvement time)
Operation efficiency can be significantly improved.

第5図には、弁のリミツトスイツチが故障した
場合を示したが、ポンプが故障した場合も、本発
明の効果は、全く同一であり、さらに、あるバツ
チにて、タンクの温度又はレベルの条件をはずし
たい場合でも、オーバーライドを設定するのみで
容易に対処できるものである。
Although FIG. 5 shows the case where the limit switch of the valve fails, the effect of the present invention is exactly the same even if the pump fails. Even if you want to remove it, you can easily do so by simply setting an override.

以上、上記の実施例では、オーバーライドの設
定は、全てマニユアルによるものであつたが、こ
こでは、このオーバライドを自動的に計算機にて
設定する機能をもうけた実施例を示す。本実施例
では、第5図cの本発明適用時のV1の異常発見
から原因究明後、オーバーライド設定に至る手順
を自動的に行うものであり、本実施例におけるコ
マンド出力プログラムの動作タイムチヤートを第
6図a〜eに示す。この図において、出力デー
タ、チエツクデータ及びマスクデータ(ローレベ
ルでON)の出力手順は、第1図に示す従来のも
のと全く同一である。第6図では、起動要求後、
そのデバイスに定められた制限時間内に入力デー
タが返信されなかつた場合を示すが、従来はこの
時点で、マスクが解除されてデバイス異常とみな
され、制御プログラムに対して、必要な異常処理
を要求していたが、本実施例では、ただちに異常
とはせず、いつたん、オーバーライドを設定する
ことにより、正常終了扱いとし、その後、別の各
種入力情報により、そのデバイスは正しく動作し
たが、入力データに反映されなかつたのみなの
か、あるいは、デバイスそのものが動作しなかつ
たのかの判定を行い、前者と判断された場合は、
オーバーライドを設定したまま、制御を続行さ
せ、その後、リミツトスイツチが正常に回復され
た時点で、オーバーライドを解除するというもの
である。
In the above-mentioned embodiments, all override settings were made manually, but here an embodiment will be described in which a function is provided to automatically set the overrides using a computer. In this embodiment, the procedure from finding an abnormality in V1 to investigating the cause and setting an override when the present invention is applied as shown in Fig. 5c is automatically performed. Shown in Figures 6a-e. In this figure, the output procedure of output data, check data, and mask data (ON at low level) is exactly the same as the conventional one shown in FIG. In Figure 6, after the startup request,
This indicates when input data is not returned within the time limit set for the device. Conventionally, at this point, the mask is released and the device is considered to be abnormal, and the necessary abnormality processing is performed on the control program. However, in this embodiment, instead of immediately indicating an abnormality, by setting an override, it is treated as a normal termination, and after that, the device operates correctly according to various other input information. We will determine whether the input data was simply not reflected, or whether the device itself did not work, and if it is determined to be the former,
Control is continued with the override set, and then the override is canceled when the limit switch is restored to normal.

ここで、デバイスそのものは正常であるが、入
力データに反映されなかつたのか否かの判定方法
の1つの例として、第3図に示すプロセスにおい
て、ポンプに異常が検出された場合を示す。この
プロセスにおいて、ポンプが動作すれば、それ
は、左側のタンク内の液面の変化として表れるの
で、レベルセンサL1の出力(アナログ量)を図
示していないメータなどで監視し、変化が無い場
合は、ポンプそのものの故障であり、変化が有る
場合は、入力信号系統のみの異常であると判断す
る。
Here, as an example of a method for determining whether or not the device itself is normal but is not reflected in the input data, a case will be shown in which an abnormality is detected in the pump in the process shown in FIG. In this process, if the pump operates, it will appear as a change in the liquid level in the left tank, so monitor the output (analog amount) of level sensor L1 with a meter (not shown), and if there is no change, , it is a failure of the pump itself, and if there is a change, it is determined that only the input signal system is abnormal.

ところで、本実施例のオーバライド自動設定機
能は、制御対象とするデバイスの全てに適用でき
るとは限らない。第3図のプロセスの例で、ポン
プの起動は、弁が開いてから行なわれなければな
らないという制限があり、単に弁を開けたのみで
は、タンクのレベルに変化は現われないという場
合において、弁V1の異常が検出された場合は、
第5図に示す手順のごとく、リミツトスイツチの
故障を確認した上で、マニユアルにて、オーバー
ライドを設定すべきである。
By the way, the automatic override setting function of this embodiment is not necessarily applicable to all devices to be controlled. In the process example shown in Figure 3, there is a restriction that the pump must be started after the valve is opened, and simply opening the valve will not cause a change in the tank level. If an abnormality in V1 is detected,
As shown in the procedure shown in Figure 5, after confirming that the limit switch is malfunctioning, the override should be set manually.

本実施例によれば、オーバーライドの自動設定
機能により、さらに、プラント操業度が向上する
という効果が得られる。
According to this embodiment, the automatic override setting function further improves the plant operating efficiency.

さらに別の実施例として、前に示したオーバー
ライドのマニユアル又は自動設定に対するチエツ
ク機能をもうけた場合を以下に示す。
As yet another embodiment, a case will be described below in which a check function is provided for the manual or automatic override setting shown above.

一般に、プラント制御は、その制御ステツプあ
るいは、プラントの状態により、各デバイスの異
常のレベルはダイナミツクに変わつていくもので
ある。ここで、原料仕込、反応、製品取出しとい
う3つの「工程」を有する制御において、製品取
出し工程を実行している間は、原料仕込関係のデ
バイスの異常は、あまり重要でなく、逆に製品取
出し用デバイスの異常は重大であると判断可能な
制御系において、製品取出し用デバイスに対する
オーバーライドの設定は、一般のオペレータでは
なく、プラントエンジニアによるマニユアル設定
のみが可能であるのに対し、仕込用デバイスに対
しては、オーバーライドの自動設定及び一般のオ
ペレータによるマニユアル設定をも可能とすると
いう判断機能を計算機システムに、もうけるもの
である。
Generally, in plant control, the level of abnormality of each device changes dynamically depending on the control steps or the state of the plant. Here, in a control that has three "processes": raw material charging, reaction, and product unloading, abnormalities in devices related to raw material loading are not very important while the product unloading process is being executed; In a control system where an abnormality in a device for product removal can be determined to be serious, override settings for a device for product removal can only be set manually by a plant engineer rather than a general operator, whereas In contrast, the computer system is provided with a judgment function that enables automatic override setting and manual setting by general operators.

また、さらに別の実施例として、オーバーライ
ドの設定状態を常時監視し、必要に応じて、強制
的にオーバーライドを解除させた例を次に示す。
この実施例では、対象とするプラントにおいて、
極めて重要な役割をはたす1部のデバイスに対し
て、「設定」がなされていた場合、ただちに「解
除」し、その他のデバイスに対しては、一定時間
以上「設定」状態が続いた場合に、強制的に、
「解除」を行うものである。この実施例では、こ
れらの機能により、誤つてオーバーライドが設定
されたまま放置されるのを防ぐものであり、前の
実施例とあいまつて、製品品質及びプラント安全
操業という面で、極めて、大きな意味をもつもの
である。
Further, as yet another embodiment, an example in which the override setting state is constantly monitored and the override is forcibly canceled as necessary will be described below.
In this example, in the target plant,
If a certain device that plays an extremely important role is set, it will be canceled immediately, and for other devices, if it remains set for a certain period of time, Forcibly,
This is a "cancellation". In this example, these functions prevent overrides from being left unintentionally set, and together with the previous example, they have extremely significant implications in terms of product quality and safe plant operation. It is something that has.

〔発明の効果〕 本発明によれば、プロセスが所望する状態と異
なる場合に、一旦、安全処理をして制御の中断を
おこない、オーバーライド機能により、「正常と
みなす」又は「ある状態にあるものとみなす」こ
とによつて、制御の中断状態から制御の再開をす
ることができるので、プラントの操業を大幅に向
上させ、かつ、安全操業も確保できるという顕著
な効果が得られる。
[Effects of the Invention] According to the present invention, when a process differs from the desired state, safety processing is performed to interrupt control, and an override function is used to "deem it normal" or "in a certain state". As a result, control can be restarted from an interrupted state, resulting in significant improvements in plant operation and the ability to ensure safe operation.

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

第1図は従来のシステムを示す機能構成図、第
2図は簡単なプロセスの例、第3図は従来および
本発明の処理の流れを示すフローチヤート、第4
図は本発明のシステムの機能構成図、第5図は本
発明の一実施例における動作タイムチヤート、第
6図は別の実施例におけるオーバライド自動設定
機能を説明する動作タイムチヤートを示す。 1……プロセス状態取込プログラム、2……プ
ロセス状態格納テーブル、4……プロセス状態監
視プログラム、5……監視状態格納フアイル、、
6……マスクデータ格納テーブル、7……コマン
ド出力プログラム、10……アナログ量変換プロ
グラム。
Fig. 1 is a functional configuration diagram showing a conventional system, Fig. 2 is an example of a simple process, Fig. 3 is a flowchart showing the processing flow of the conventional system and the present invention, and Fig. 4 is a functional block diagram showing a conventional system.
5 is a functional block diagram of the system of the present invention, FIG. 5 is an operation time chart in one embodiment of the present invention, and FIG. 6 is an operation time chart explaining an override automatic setting function in another embodiment. 1...Process state capture program, 2...Process state storage table, 4...Process state monitoring program, 5...Monitoring state storage file,
6... Mask data storage table, 7... Command output program, 10... Analog amount conversion program.

Claims (1)

【特許請求の範囲】 1 逐次的にプロセスを制御するプロセス制御方
法において、 (イ) プロセス状態信号を入力して記憶するプロセ
ス状態格納ステツプ、 (ロ) プロセス状態に対応して事前に設定される条
件と格納された前記プロセス状態信号を比較
し、両者の不一致を判定する監視ステツプ、 (ハ) 前記判定の結果が不一致のときに、正常なプ
ロセス状態において前記不一致を生ずることが
既知の場合について事前に設定されたマスクを
参照し、当該プロセス状態に対し前記マスクが
設定されている場合は正常時の制御を進めるマ
スクステツプ、 (ニ) 前記マスクが設定されていない前記不一致の
プロセス状態に対し当該プロセス状態を一致状
態にあるものとみなすオーバライドを参照し、
当該プロセス状態に対しオーバライドが設定さ
れている場合は正常時の制御を進めるオーバラ
イドステツプ、 (ホ) 前記オーバライドの参照により当該プロセス
状態に対し前記オーバライドが解除されている
場合はプロセスに所定の安全処理をして制御を
中断する中断ステツプ、 (ヘ) 前記中断ステツプに続き、前記不一致のプロ
セス状態に対して前記オーバライドを設定して
前記正常時の制御を再開する制御再開ステツ
プ、 とを有することを特徴とするプロセス制御方法。
[Claims] 1. In a process control method for sequentially controlling a process, (a) a process state storage step for inputting and storing a process state signal; (b) a step set in advance in accordance with the process state; a monitoring step of comparing the condition with the stored process state signal and determining a mismatch between the two; (c) when the result of the judgment is a mismatch, a case where it is known that the mismatch occurs in a normal process state; (d) a masking step that refers to a preset mask and proceeds with normal control if the mask is set for the process state; (d) for the mismatched process state for which the mask is not set; refer to an override that considers the process state to be in a matching state,
(e) If the override has been canceled for the process state by referring to the override, perform a predetermined safety process on the process. (f) following the suspending step, setting the override for the mismatched process state and resuming the normal control; Characteristic process control method.
JP56073580A 1981-05-18 1981-05-18 Monitoring method of process state Granted JPS57189213A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP56073580A JPS57189213A (en) 1981-05-18 1981-05-18 Monitoring method of process state

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP56073580A JPS57189213A (en) 1981-05-18 1981-05-18 Monitoring method of process state

Publications (2)

Publication Number Publication Date
JPS57189213A JPS57189213A (en) 1982-11-20
JPH0375889B2 true JPH0375889B2 (en) 1991-12-03

Family

ID=13522374

Family Applications (1)

Application Number Title Priority Date Filing Date
JP56073580A Granted JPS57189213A (en) 1981-05-18 1981-05-18 Monitoring method of process state

Country Status (1)

Country Link
JP (1) JPS57189213A (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60144807A (en) * 1984-01-09 1985-07-31 Nippon Atom Ind Group Co Ltd Warning device of plant
JPH082723Y2 (en) * 1988-02-05 1996-01-29 日産自動車株式会社 Sequence controller
US6298454B1 (en) * 1999-02-22 2001-10-02 Fisher-Rosemount Systems, Inc. Diagnostics in a process control system
JP4511861B2 (en) * 2003-04-01 2010-07-28 フィッシャー−ローズマウント システムズ, インコーポレイテッド Coordinate operation of field devices in process control and safety systems using override and bypass
US7130703B2 (en) * 2003-04-08 2006-10-31 Fisher-Rosemount Systems, Inc. Voter logic block including operational and maintenance overrides in a process control system

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5311457A (en) * 1976-07-15 1978-02-01 Hitachi Ltd Device for detecting approached double arms of robot

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5311457A (en) * 1976-07-15 1978-02-01 Hitachi Ltd Device for detecting approached double arms of robot

Also Published As

Publication number Publication date
JPS57189213A (en) 1982-11-20

Similar Documents

Publication Publication Date Title
WO2021128974A1 (en) Self-driving control system, control method and device
WO2021114794A1 (en) Automatic driving control system, control method and device
US5115177A (en) Malfunction diagnosis method
JPH0375889B2 (en)
US11334049B2 (en) Machine control device
JPS60229106A (en) Real time correction type programmable logic controller
JPS6146543A (en) Fault processing system of transfer device
JP3337145B2 (en) Error recovery device for sequence control device
CN114607822B (en) Water valve control method and device and cleaning vehicle
JPH0444281B2 (en)
JPS62214407A (en) Power shovel control method
KR19980030956A (en) Control Method of Semiconductor Process Element
JPS60243747A (en) Reraising method of system program
JP2003271239A (en) Error diagnosis device, error foretaste diagnosis device, and unwanted event detecting device
JPH0160683B2 (en)
CN115681261A (en) Hydraulic system and control method, device and equipment thereof
JP2022130945A (en) Plant instrumentation control system, and program rewriting method for plant instrumentation control system
JPS60100213A (en) Control method of robot
JPH04259005A (en) Sequence controller
JPH06297358A (en) Control system for master slave type manipulator
JP2596304B2 (en) Interface controller
TW202109221A (en) Machining method and system performing simulation confirmation after starting machine tool
JPH0327447A (en) Detection of program abnormality
JPH01296302A (en) Controller for industrial robot
JPH07160314A (en) Input/output signal operation diagnostic device for programmable controller