JP3196256B2 - Communication error handling method for distributed process control device - Google Patents

Communication error handling method for distributed process control device

Info

Publication number
JP3196256B2
JP3196256B2 JP27819291A JP27819291A JP3196256B2 JP 3196256 B2 JP3196256 B2 JP 3196256B2 JP 27819291 A JP27819291 A JP 27819291A JP 27819291 A JP27819291 A JP 27819291A JP 3196256 B2 JP3196256 B2 JP 3196256B2
Authority
JP
Japan
Prior art keywords
data
communication error
process control
processing unit
data processing
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
JP27819291A
Other languages
Japanese (ja)
Other versions
JPH05122292A (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.)
Shimadzu Corp
Original Assignee
Shimadzu 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 Shimadzu Corp filed Critical Shimadzu Corp
Priority to JP27819291A priority Critical patent/JP3196256B2/en
Publication of JPH05122292A publication Critical patent/JPH05122292A/en
Application granted granted Critical
Publication of JP3196256B2 publication Critical patent/JP3196256B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、分散形デジタル式プ
ロセス制御装置における通信異常状態を認識して、受信
データを受信側装置のデータ処理部に適宜に供給する通
信異常処理方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a communication error processing method for recognizing a communication error state in a distributed digital process control apparatus and appropriately supplying received data to a data processing unit of a receiving apparatus.

【0002】[0002]

【従来の技術】分散形デジタル式プロセス制御装置にお
ける互いに関連する装置間では、CPUの処理によって
データの送受信が行われている。ところで、かかるシス
テムにおいて通信異常が生じた場合、従来は、関連する
制御装置を手動モードに移行させてプラントの安全性を
確保していた。
2. Description of the Related Art Data transmission / reception is performed by CPU processing between related devices in a distributed digital process control device. By the way, when a communication abnormality occurs in such a system, conventionally, a related control device is shifted to a manual mode to secure the safety of the plant.

【0003】[0003]

【発明が解決しようとする課題】しかし、通信異常時で
も、可能な限り自動運転を継続させるのが望ましい。な
ぜなら、手動モードではオペレータの操作ミス等によっ
てプラントに悪影響が及ぶ恐れがあるし、また、省力化
や制御装置の高度化の進んだ現状では、オペレータの手
動操作では対応しにくい状況もあるからである。
However, it is desirable to continue automatic operation as much as possible even when communication is abnormal. This is because, in the manual mode, there is a risk that the plant may be adversely affected by an operator's operation error or the like, and there are situations where it is difficult to deal with manual operations by the operator under the current situation of labor saving and advanced control devices. is there.

【0004】一方、受信データが、所定の時間、それ以
前の値に保持されても特に問題にならない場合も多い。
この発明は、これら諸点に着目してなされたものであっ
て、通信異常時、及び異常回復時において出来る限りオ
ペレータの作業を不要にする通信異常処理方法を提供す
ることを目的とする。
On the other hand, there is often no problem even if the received data is held at a value before the predetermined time.
SUMMARY OF THE INVENTION The present invention has been made in view of these points, and has as its object to provide a communication error processing method that makes the operator's work as unnecessary as possible at the time of communication error and at the time of error recovery.

【0005】[0005]

【課題を解決するための手段】上記の目的を達成する
為、以下の構成としている。
[Means for Solving the Problems] In order to achieve the above object, it is with the following configuration.

【0006】この発明の分散型プロセス制御装置の通信
異常処理方法は、分散デジタル式プロセス制御装置相
互間において通信異常状態が生じた場合に、受信側装置
のデータ処理部が引き続き適切なデータ処理を行う為の
通信異常処理方法であって、受信側のプロセス制御装
置が通信異常を認識した場合に、その直前の受信データ
を通信異常回復時まで保持し、データ処理部ではこの
保持データに基づいて引き続きデータ処理を行い、受
信側のプロセス制御装置が異常回復を認識した場合に、
前記保持データと新たな受信データとを比較し、新た
な受信データが前記保持データより所定値以上相違する
場合には、前記データ処理部に供給するデータを所定の
変化率で変化させて、漸次、本来の受信データに近づけ
ることを特徴とする。
[0006] communication abnormality processing method for distributed process control system of the present invention, distributed in the case where communication error occurs in the digital process controller mutual continues suitable data processing data processing unit of the receiving device Is a communication error processing method for performing communication, when the receiving side process control device recognizes a communication error, holds the received data immediately before the communication error recovery time, the data processing unit based on this held data If the process control unit on the receiving side recognizes the abnormal recovery,
The stored data is compared with the new received data, and when the new received data differs from the stored data by a predetermined value or more, the data supplied to the data processing unit is changed at a predetermined change rate, and gradually , Which is close to the original received data.

【0007】[0007]

【作用】この発明では、受信側のプロセス制御装置が
通信異常を認識した場合に、その直前の受信データを通
信異常回復時まで保持し、データ処理部ではこの保持
データに基づいて引き続きデータ処理を行い、受信側
のプロセス制御装置が異常回復を認識した場合に、前記
保持データと新たな受信データとを比較し、新たな受
信データが前記保持データより所定値以上相違する場合
には、前記データ処理部に供給するデータを所定の変化
率で変化させて、漸次、本来の受信データに近づける。
According to the present invention, the process control device on the receiving side is
When a communication error is recognized, the
The data processing unit keeps the data until the communication error recovery.
Continues data processing based on the data, and
If the process control unit of the
Compares the held data with the new received data and
When the communication data differs from the held data by a predetermined value or more
Changes the data supplied to the data processing unit to a predetermined value.
The rate is changed at a rate to gradually approach the original received data.

【0008】従って、通信回線が正常に戻った過渡期に
おいて、データ処理部に供給されるデータが大きく変化
することがない。
Therefore, during the transition period when the communication line returns to normal,
The data supplied to the data processing unit changes significantly
Never do.

【0009】なお、どのようにして異常回復を認識する
かは、特に限定されないが、例えば、オペレータが送信
側装置を自動モードに設定した場合に、このことに基づ
いて、受信装置側で異常回復を認識してもよく、そうす
れば、通信機能回復のための特別な作業が不要になる。
[0009] Note that how a recognizing abnormal restoration is not particularly limited, for example, when the operator sets the transmitting device in the automatic mode, on the basis of this fact, the abnormality restored at the receiving apparatus side May be recognized, so that a special operation for restoring the communication function is not required.

【0010】[0010]

【実施例】以下、実施例に基づいてこの発明を更に詳細
に説明する。 〔実施例1〕図1は請求項1の発明の一実施例を示す機
能ブロック図である。このブロック図は、送信側装置の
CPU1と、受信側装置のCPU2とが通信バス3を介
して接続されている状態を示している。そして、受信側
装置には、通信エラー時にリセットされ、エラー回復時
にセットされるフリップフロップ(FF)4と、CPU
1から通信バス3を介して送信される送信データAi
受け、これをデータ処理部(図示せず)に供給する切換
器(T)5とが設けられている。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described below in more detail with reference to embodiments. [Embodiment 1] FIG. 1 is a functional block diagram showing an embodiment of the first aspect of the present invention. This block diagram shows a state in which the CPU 1 of the transmitting device and the CPU 2 of the receiving device are connected via the communication bus 3. A flip-flop (FF) 4 that is reset at the time of a communication error and set at the time of error recovery,
Receiving the transmission data A i to be transmitted through the communication bus 3 from 1, and the switching device (T) 5 to feed is provided this data processing unit (not shown).

【0011】切換器5にはフリップフロップ4の出力が
供給されており、切換器5は、フリップフロップ4がセ
ット状態なら、CPU1からの送信データAi をそのま
まデータ処理部に供給するが、フリップフロップ4がリ
セット状態なら、それ以前の出力データを保持する。な
お、この実施例の場合には、フリップフロップ4や切換
器5をハードウェア的に表現しているが、実際にはプロ
グラムによって処理している。
[0011] A is the switching device 5 is supplied the output of the flip-flop 4, switching device 5, if the flip-flop 4 is set state, supplies the unchanged data processing unit to transmit data A i from CPU 1, the flip If the loop 4 is in the reset state, the previous output data is held. In this embodiment, the flip-flop 4 and the switch 5 are represented by hardware, but are actually processed by a program.

【0012】以下、図1を参照しながら実施例1の装置
の動作を説明する。CPU2は、所定の通信プロトコル
に従って、CPU1側のデータAi を受信し、このデー
タをデータ処理部に供給している。ところが、何らかの
原因により通信エラーが生じた場合、CPU2は、この
通信エラーに対応してフリップフロップ4をリセットす
る。具体的には、例えば、フリップフロップ用のメモリ
番地のデータを0に設定する。
The operation of the apparatus according to the first embodiment will be described below with reference to FIG. CPU2 according to a predetermined communication protocol, receiving the data A i of CPU1 side, and supplies this data to the data processing unit. However, when a communication error occurs for some reason, the CPU 2 resets the flip-flop 4 in response to the communication error. Specifically, for example, the data at the memory address for the flip-flop is set to 0.

【0013】切換器5は、通信バス3より受けたデータ
i をデータ処理部に供給する動作をする部分である
が、データ処理部に受信データを供給するに当たって、
フリップフロップ4の出力を参照する。具体的には、例
えば、フリップフロップ用のメモリ番地のデータ値が0
か否かをチェックする。今、通信エラーが生じた場合を
想定すると、切換器5は、フリップフロップ4のデータ
値より通信エラーが生じている旨を認識して、それ以前
と同じデータ(以下、ホールドデータという)をデータ
処理部に供給する。
[0013] switching device 5, when it is a part that the operation of supplying the data A i which has received from the communication bus 3 into the data processing unit, for supplying the received data to the data processing unit,
Reference is made to the output of the flip-flop 4. Specifically, for example, when the data value of the memory address for the flip-flop is 0
Check whether or not. Now, assuming that a communication error has occurred, the switch 5 recognizes that a communication error has occurred from the data value of the flip-flop 4, and changes the same data (hereinafter referred to as hold data) as before. Supply to the processing unit.

【0014】従って、例え通信エラーが生じても、CP
U2の側では、自動運転が継続されることになる。尚、
データ処理部にはホールドデータが供給されるので、正
常時と同じ動作とは言えないが、以前と同じデータを供
給しても問題にならない場合もあり、この発明は、かか
る制御対象に対して有効に機能する。やがて、通信異常
が回復すると、前記フリップフロップ4は、通信回線の
回復に対応してセットされる(例えば、フリップフロッ
プ用のメモリ番地に0以外のデータが格納される)。す
ると、切換器5は、それ以降、通常の動作状態に戻り、
送信側CPU1より受信したデータAi をそのままデー
タ処理部に供給する。
Therefore, even if a communication error occurs, the CP
Automatic operation will be continued on the U2 side. still,
Since the hold data is supplied to the data processing unit, the operation is not the same as the normal operation, but there is a case where supplying the same data as before does not cause any problem. Works effectively. When the communication abnormality recovers, the flip-flop 4 is set in response to the recovery of the communication line (for example, data other than 0 is stored in the memory address for the flip-flop). Then, the switch 5 returns to the normal operation state thereafter,
Supplied directly to the data processing unit data A i received from the transmitting side CPU 1.

【0015】なお、CPU1側が正常状態に回復する
と、オペレータは、その事を確認した上でその系を自動
モードに設定するのが通例であるが、CPU2は、この
設定に伴う信号を最終正常確認信号として受信し、フリ
ップフロップ4をセットするようにしてもよい。 〔実施例2〕図3は、請求項2の発明の一実施例を示す
機能ブロック図である。この実施例の特徴は、切換器5
の次段に変化率設定器(RG)6と偏差モニタ(MO)
7を設けた点にある。また、フリップフロップ4は、C
PU1から送信されてくる自動信号でセットされるよう
構成されている。
When the CPU 1 recovers to a normal state, the operator normally checks the fact and sets the system to the automatic mode. However, the CPU 2 checks the signal accompanying this setting for final normality. A signal may be received and the flip-flop 4 may be set. [Embodiment 2] FIG. 3 is a functional block diagram showing an embodiment of the second aspect of the present invention. The feature of this embodiment is that the switch 5
Next to the change rate setting device (RG) 6 and the deviation monitor (MO)
7 is provided. Also, the flip-flop 4 has C
It is configured to be set by an automatic signal transmitted from PU1.

【0016】変化率設定器6は、通信エラーが回復した
当初のみ動作する部分であり、エラー回復当初のデータ
値Ai とそれ以前のホールドデータ値A0 とを比較し
て、両者が所定値以上相違する場合は出力値を一定の割
合で変化させる。なお、この実施例の場合、変化率設定
器6と偏差モニタ7とは、プログラムによって実現され
ているが、これらをハードウェア的に構成してもよい。
The change rate setting unit 6 is a portion which operates initially a communication error is recovered only by comparing the error recovery original data values A i and previous hold data values A 0, both the predetermined value In the case of a difference, the output value is changed at a constant rate. In this embodiment, the change rate setting device 6 and the deviation monitor 7 are realized by a program, but they may be configured by hardware.

【0017】以下、通信エラー発生時から通信エラー回
復までについて、図3の装置の動作を説明する。CPU
2は、所定の通信プロトコルに従って、CPU1側のデ
ータAi を受信し、これをデータ処理部に供給している
が、通信エラーが生じた場合は、これに対応してフリッ
プフロップ4をリセットする。
The operation of the apparatus shown in FIG. 3 will be described below from the occurrence of a communication error to the recovery of the communication error. CPU
2 according to a predetermined communication protocol, receiving the data A i of CPU1 side and supplies it to the data processing unit, when a communication error occurs, to reset the flip-flop 4 corresponds to this .

【0018】すると、切換器5は、フリップフロップ4
のデータ値より通信エラーが生じている旨を認識して、
これ以降は、それ以前と同じデータ(ホールドデータ)
をデータ処理部に供給する。つまり、ホールドデータを
供給し続けることにより自動運転のモードが継続され
る。やがて、CPU1の側が正常に戻ると、オペレータ
は、その事を確認した上で、その系を自動モードに設定
する。図3に示す実施例の場合、オペレータのこの設定
操作に対応してフリップフロップ4にセット信号(自動
信号)が入力されるよう構成されており、以降、切換器
5はCPU1側からのデータAi をそのまま出力する。
つまり、この実施例では、オペレータによる自動モード
への設定(自動信号)を最終正常確認信号として利用し
ており、特別な確認作業を必要とすることなく、自動的
に通信回線が復旧することになる。
Then, the switch 5 is connected to the flip-flop 4
Recognizing that a communication error has occurred from the data value of
After this, the same data as before (hold data)
Is supplied to the data processing unit. That is, the mode of the automatic operation is continued by continuously supplying the hold data. Eventually, when the CPU 1 returns to the normal state, the operator confirms this and sets the system to the automatic mode. In the embodiment shown in FIG. 3, a set signal (automatic signal) is input to the flip-flop 4 in response to the operator's setting operation. Output i as is.
That is, in this embodiment, the setting of the automatic mode (automatic signal) by the operator is used as the final normality confirmation signal, and the communication line is automatically restored without requiring any special confirmation work. Become.

【0019】もっとも、CPU1からの送信データAi
をそのままデータ処理部に供給したのでは、そのデータ
i がホールドデータA0 のレベルより大きく相違する
場合、制御対象への制御量が突変する恐れもある。そこ
で、変化率設定器6と偏差モニタ7は、通信エラー回復
後の過渡期において、データ処理部への供給データを以
下のように適切に制御している。
However, the transmission data A i from the CPU 1
Is supplied to the data processing section as it is, if the data A i is greatly different from the level of the hold data A 0 , the control amount for the control target may suddenly change. Therefore, the change rate setting unit 6 and the deviation monitor 7 appropriately control the data supplied to the data processing unit in the transition period after the recovery from the communication error as follows.

【0020】すなわち、変化率設定器6は、ホールドデ
ータA0 と通信エラー回復時のデータAi (図2参照)
とを比較して、両データが所定値以上相違している場合
は、変化率設定器6の出力をホールドデータA0 のレベ
ルから、新たに受信されたデータAi のレベルへと一定
の変化率で変化させる(図2のT1 〜T2 参照)。一
方、偏差モニタ7は、変化率設定器6の入力と出力の値
をモニタしており、変化率設定器6の出力値が入力値に
一致した段階で、変化率設定器6の動作を停止させ、そ
れ以降は、切換器5の出力(これは、CPU1からの受
信データに他ならない)をそのままデータ処理部に供給
する(図2のRGクイック動作)。
That is, the change rate setting unit 6 stores the hold data A 0 and the data A i at the time of communication error recovery (see FIG. 2).
Compared bets, if both data are different than the predetermined value, the output of the change rate setting device 6 from the level of the hold data A 0, a constant to a new level of the received data A i changes varying by a factor (see T 1 through T 2 in Figure 2). On the other hand, the deviation monitor 7 monitors the input and output values of the change rate setter 6, and stops the operation of the change rate setter 6 when the output value of the change rate setter 6 matches the input value. Thereafter, the output of the switch 5 (this is nothing but reception data from the CPU 1) is directly supplied to the data processing unit (RG quick operation in FIG. 2).

【0021】なお、以上の説明では、CPUが2台の場
合を例にしたが、この発明はCPUの台数に何ら制限が
ない。
In the above description, the case where the number of CPUs is two has been described as an example, but the present invention does not limit the number of CPUs.

【0022】[0022]

【発明の効果】以上説明したように、この発明によれば
通信エラーが生じても、それ以降も自動運転が可能であ
り、オペレータの負担が軽減される。また、オペレータ
の操作を伴わない分だけプラントへの安全性が維持でき
る。更に、通信エラー回復時においても、信号データを
確認する等の特別な点検作業を伴うことなくデータ送受
信を再開でき、しかもエラー回復時における突変の恐れ
もない。
As described above , according to the present invention, even if a communication error occurs, automatic operation can be performed thereafter, and the burden on the operator is reduced. In addition, the safety of the plant can be maintained as much as no operation by the operator is required. Further, at the time of communication error recovery, data transmission / reception can be resumed without any special inspection work such as checking signal data, and there is no possibility of sudden change at the time of error recovery.

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

【図1】請求項1の発明の一実施例を示すブロック図で
ある。
FIG. 1 is a block diagram showing one embodiment of the invention of claim 1;

【図2】図3の装置について、通信エラー回復時におけ
るデータ処理部への供給データの変化を図示したもので
ある。
FIG. 2 is a diagram illustrating a change in data supplied to a data processing unit when a communication error is recovered in the apparatus of FIG. 3;

【図3】請求項2の発明の一実施例を示すブロック図で
ある。
FIG. 3 is a block diagram showing one embodiment of the invention of claim 2;

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

FF フリップフロップ T データ切換器 FF flip-flop T data switch

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】分散デジタル式プロセス制御装置相互間
において通信異常状態が生じた場合に、受信側装置のデ
ータ処理部が引き続き適切なデータ処理を行う為の通信
異常処理方法であって、 受信側のプロセス制御装置が通信異常を認識した場合
に、その直前の受信データを通信異常回復時まで保持
し、データ処理部ではこの保持データに基づいて引き続
きデータ処理を行い、 受信側のプロセス制御装置が異常回復を認識した場合
に、前記保持データと新たな受信データとを比較し、 新たな受信データが前記保持データより所定値以上相違
する場合には、前記データ処理部に供給するデータを所
定の変化率で変化させて、漸次、本来の受信データに近
づける ことを特徴とする分散型プロセス制御装置の通信
異常処理方法。
If the communication error occurs 1. A distributed digital process control apparatus mutual a communication abnormality processing method for the data processing unit of the receiving device continues to perform appropriate data processing, reception If the side of the process control device recognizes the communication abnormality, holds the received data immediately before until communication error recovery, have row continues data processing based upon the data held by the data processing unit, the receiving process control When the device recognizes abnormal recovery
Comparing the held data with the new received data, and the new received data differs from the held data by a predetermined value or more.
Data to be supplied to the data processing unit,
Change at a constant rate of change, gradually approaching the original received data.
A communication error processing method for a distributed process control device, characterized in that:
JP27819291A 1991-10-25 1991-10-25 Communication error handling method for distributed process control device Expired - Fee Related JP3196256B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP27819291A JP3196256B2 (en) 1991-10-25 1991-10-25 Communication error handling method for distributed process control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP27819291A JP3196256B2 (en) 1991-10-25 1991-10-25 Communication error handling method for distributed process control device

Publications (2)

Publication Number Publication Date
JPH05122292A JPH05122292A (en) 1993-05-18
JP3196256B2 true JP3196256B2 (en) 2001-08-06

Family

ID=17593878

Family Applications (1)

Application Number Title Priority Date Filing Date
JP27819291A Expired - Fee Related JP3196256B2 (en) 1991-10-25 1991-10-25 Communication error handling method for distributed process control device

Country Status (1)

Country Link
JP (1) JP3196256B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018074386A1 (en) * 2016-10-22 2018-04-26 ノバルス株式会社 Battery-shaped power supply device provided with wireless communication function
JP7368955B2 (en) * 2019-05-10 2023-10-25 三菱重工エンジン&ターボチャージャ株式会社 Power generation equipment management device, power generation system, power generation equipment management method, and program
JP7338342B2 (en) * 2019-09-17 2023-09-05 トヨタ自動車株式会社 automatic parking system

Also Published As

Publication number Publication date
JPH05122292A (en) 1993-05-18

Similar Documents

Publication Publication Date Title
US5148433A (en) Transfer network interface
JP3196256B2 (en) Communication error handling method for distributed process control device
JP2905075B2 (en) Programmable controller and its exclusive control communication method
JPH036141A (en) Fail-safe remote control system
JPH05265596A (en) Device initializing system
JPS61290836A (en) Data transmission control system
JP2706390B2 (en) Vector unit usage right switching control method using multiple scalar units
JP3157363B2 (en) Redundant controller
JP2705478B2 (en) Remote controller
KR200183008Y1 (en) Network automatic recovery device of local area information network system
JPS63128839A (en) Duplicated control system
JPS6194438A (en) Communication controller
JPS63177202A (en) Data transfer device for multiplexing controller
JPH09325809A (en) Method for detecting status change
JP2778691B2 (en) Bus monitoring circuit
JPH0756762A (en) Data transmitting equipment
JP2863127B2 (en) Communication device
JPH03237556A (en) Communication control system for multihost system
JPH07295837A (en) Plant monitor controller
JPH0248763A (en) Variable length data communication system
JPS63273141A (en) Error self-checking processor and its driving method
JPH06290128A (en) Communication switching system of controller
JPH03191456A (en) Communication monitoring system
JPH07319503A (en) Duplex control system
JP2002041104A (en) Plant monitor controller

Legal Events

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