JP3385928B2 - Redundant distributed controller - Google Patents

Redundant distributed controller

Info

Publication number
JP3385928B2
JP3385928B2 JP22343697A JP22343697A JP3385928B2 JP 3385928 B2 JP3385928 B2 JP 3385928B2 JP 22343697 A JP22343697 A JP 22343697A JP 22343697 A JP22343697 A JP 22343697A JP 3385928 B2 JP3385928 B2 JP 3385928B2
Authority
JP
Japan
Prior art keywords
communication
control device
test pattern
card
cards
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
JP22343697A
Other languages
Japanese (ja)
Other versions
JPH1168715A (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.)
Yokogawa Electric Corp
Original Assignee
Yokogawa Electric 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 Yokogawa Electric Corp filed Critical Yokogawa Electric Corp
Priority to JP22343697A priority Critical patent/JP3385928B2/en
Publication of JPH1168715A publication Critical patent/JPH1168715A/en
Application granted granted Critical
Publication of JP3385928B2 publication Critical patent/JP3385928B2/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 distributed control device having a redundant communication system, and more particularly to a distributed control device having an improved self-diagnosis method for the communication system.

【0002】[0002]

【従来の技術】従来の分散型制御装置は制御室等に設置
された親局の制御装置とフィールド等に分散して設置さ
れた複数の子局の制御装置とから構成される。それぞれ
の制御装置は通信ケーブル等の通信系により相互に接続
されていて互いにデータ通信等を行うことによりプラン
ト等の制御を行っている。
2. Description of the Related Art A conventional distributed control system comprises a master station control system installed in a control room or the like and a plurality of slave station control systems distributed in a field or the like. The respective control devices are connected to each other by a communication system such as a communication cable and perform data communication and the like to control the plant and the like.

【0003】但し、前記通信系に何らかの障害が生じた
場合には各制御装置間での通信が不能になり、プラント
等の制御が不能になってしまう。
However, if any trouble occurs in the communication system, communication between the control devices becomes impossible, and control of the plant becomes impossible.

【0004】このため、従来の分散型制御装置では信頼
性を向上させるため通信系を2重化する等の冗長化を施
している。
For this reason, in the conventional distributed control apparatus, in order to improve the reliability, the communication system is made redundant such as duplicated.

【0005】図5はこのような従来の冗長化分散型制御
装置の一例を示す構成ブロック図である。図5において
1a及び1bは親局の制御装置、2a,2b,3a,3
b,5a,5b,6a及び6bは通信カード、4a及び
4bは子局の制御装置、100及び101は同軸ケーブ
ル等の通信ケーブルである。
FIG. 5 is a block diagram showing an example of such a conventional redundant distributed control device. In FIG. 5, 1a and 1b are control devices of the master station, 2a, 2b, 3a and 3
b, 5a, 5b, 6a and 6b are communication cards, 4a and 4b are slave station control devices, and 100 and 101 are communication cables such as coaxial cables.

【0006】親局の制御装置1aには通信カード2a及
び3aが装着され、親局の制御装置1bには通信カード
2b及び3bが装着される。
Communication cards 2a and 3a are mounted on the master station control device 1a, and communication cards 2b and 3b are mounted on the master station control device 1b.

【0007】一方、子局の制御装置4aには通信カード
5a及び6aが装着され、子局の制御装置4bには通信
カード5b及び6bが装着される。
On the other hand, communication cards 5a and 6a are mounted on the control device 4a of the slave station, and communication cards 5b and 6b are mounted on the control device 4b of the slave station.

【0008】通信カード2a,2b,5a及び5bは通
信ケーブル100により順次接続され、通信カード3
a,3b,6a及び6bは通信ケーブル101により順
次接続される。
The communication cards 2a, 2b, 5a and 5b are sequentially connected by a communication cable 100, and the communication card 3
A, 3b, 6a and 6b are sequentially connected by a communication cable 101.

【0009】また、通信ケーブル100及び101によ
り2つの”通信バスA”及び”通信バスB”がそれぞれ
構成される。
Further, two "communication buses A" and "communication buses B" are formed by the communication cables 100 and 101, respectively.

【0010】ここで、図5に示す冗長化分散型制御装置
の動作を図6及び図7を用いて説明する。図6は負荷分
散及び冗長化構成を説明する説明図であり、図7は通信
系の自己診断方法を説明する説明図である。また、図6
及び図7中の符号は図5と同一符号を付してある。
The operation of the redundant distributed control device shown in FIG. 5 will be described with reference to FIGS. 6 and 7. FIG. 6 is an explanatory diagram for explaining the load distribution and redundancy configuration, and FIG. 7 is an explanatory diagram for explaining the communication system self-diagnosis method. In addition, FIG.
Further, the reference numerals in FIG. 7 are the same as those in FIG.

【0011】親局の制御装置1aは通信カード2aを用
いて”通信バスA”に接続された通信カードとの通信を
行い、一方、親局の制御装置1bは通信カード2bを用
いて”通信バスB”に接続された通信カードとの通信を
行う。
The master station controller 1a uses the communication card 2a to communicate with a communication card connected to the "communication bus A", while the master station controller 1b uses the communication card 2b to "communicate". It communicates with the communication card connected to the bus B ″.

【0012】このため、親局の制御装置1a及び1bか
らの通信負荷が”通信バスA”及び”通信バスB”に分
散されることになる。
Therefore, the communication load from the master station control devices 1a and 1b is distributed to the "communication bus A" and the "communication bus B".

【0013】一方、親局の制御装置1aが”通信バス
A”において通信に失敗した場合は、制御装置1aは直
ちに通信カード3aを用いて”通信バスB”で通信の再
試行を行う。
On the other hand, when the control device 1a of the master station fails in the communication on the "communication bus A", the control device 1a immediately retries the communication on the "communication bus B" using the communication card 3a.

【0014】同様に、親局の制御装置1bが”通信バス
B”において通信に失敗した場合は、制御装置1bは直
ちに通信カード2bを用いて”通信バスA”で通信の再
試行を行う。
Similarly, when the control device 1b of the master station fails in communication on the "communication bus B", the control device 1b immediately uses the communication card 2b to retry the communication on the "communication bus A".

【0015】例えば、図6に示すように親局の制御装置
1aが子局の制御装置4aとの通信をする場合、通常状
態、言い換えれば”通信バスA”が正常であれば、制御
装置1aは図6中”イ”に示すように通信カード2a及
び5aを介して制御装置4aとの通信を行う。
For example, as shown in FIG. 6, when the master station controller 1a communicates with the slave station controller 4a, in the normal state, in other words, when the "communication bus A" is normal, the controller 1a. Performs communication with the control device 4a via the communication cards 2a and 5a, as indicated by "a" in FIG.

【0016】一方、”通信バスA”に障害が発生した場
合には、制御装置1aは図6中”ロ”に示すように通信
カード3a及び6aを介して制御装置4aとの通信を行
う。
On the other hand, when a failure occurs in the "communication bus A", the control unit 1a communicates with the control unit 4a via the communication cards 3a and 6a as shown by "B" in FIG.

【0017】同様に、親局の制御装置1bが子局の制御
装置4aとの通信をする場合、通常状態、言い換えれ
ば”通信バスB”が正常であれば、制御装置1bは図6
中”ハ”に示すように通信カード3b及び6aを介して
制御装置4aとの通信を行う。
Similarly, when the control device 1b of the master station communicates with the control device 4a of the slave station, in the normal state, in other words, when the "communication bus B" is normal, the control device 1b is operated as shown in FIG.
Communication with the control device 4a is performed via the communication cards 3b and 6a as indicated by the middle "c".

【0018】一方、”通信バスB”に障害が発生した場
合には、制御装置1bは図6中”ニ”に示すように通信
カード2b及び5aを介して制御装置4aとの通信を行
う。
On the other hand, if a failure occurs in the "communication bus B", the control device 1b communicates with the control device 4a via the communication cards 2b and 5a, as indicated by "d" in FIG.

【0019】この結果、”通信バスA”若しくは”通信
バスB”の一方の通信バスで通信に失敗した場合は他方
の通信バスで通信の再試行を行うことができるので通信
系の冗長化を図ることが可能になる。
As a result, if the communication fails on one of the "communication bus A" and the "communication bus B", the communication can be retried on the other communication bus, so that the communication system is made redundant. It becomes possible to plan.

【0020】また、親局の制御装置1a及び1bではみ
すみす通信不能の通信バスで通信を行ってしまう無駄を
防ぐために、定期的に通信系の自己診断を行っている。
Further, in order to prevent wasteful communication with the communication buses incapable of communication in the master station control devices 1a and 1b, self-diagnosis of the communication system is periodically performed.

【0021】自己診断の方法としては親局の制御装置1
aは”通信バスA”及び”通信バスB”の両方を用いて
テスト通信を行い、子局の制御装置からの応答が無い場
合は、当該子局の制御装置の応答の無い通信バスに接続
された通信カードが故障であると判断する。
As a self-diagnosis method, the control device 1 of the master station
a performs test communication using both "communication bus A" and "communication bus B", and if there is no response from the slave station controller, connect to the communication bus with no response from the slave station controller. The determined communication card is defective.

【0022】テスト通信としては他の通信になるべく影
響を与えないために子局の通信カードでの折り返し通信
を行う。
As the test communication, the return communication is performed by the communication card of the slave station so as not to affect other communication as much as possible.

【0023】例えば、図7中”イ”及び”ロ”に示すよ
うに親局の制御装置1aが通信カード2a及び3aを用
いて子局の制御装置4aに対してテスト通信を行う。
For example, as shown by "a" and "b" in FIG. 7, the controller 1a of the master station uses the communication cards 2a and 3a to perform test communication with the controller 4a of the slave station.

【0024】もし、制御装置4aに装着された通信カー
ド5a及び6aが正常であれば図7中”ハ”及び”ニ”
に示すように通信カード5a及び6aからの折り返しの
応答が帰ってくる。
If the communication cards 5a and 6a mounted on the control device 4a are normal, "c" and "d" in FIG.
As shown in, the return response from the communication cards 5a and 6a is returned.

【0025】同様に、図7中”ホ”及び”ヘ”に示すよ
うに親局の制御装置1aが通信カード2a及び3aを用
いて子局の制御装置4bに対してテスト通信を行う。
Similarly, as shown by "e" and "f" in FIG. 7, the controller 1a of the master station performs test communication with the controller 4b of the slave station using the communication cards 2a and 3a.

【0026】ここで、通信カード6bは正常であるので
図7中”ト”に示すように折り返しの応答があるが、も
し、制御装置4bに装着された通信カード5bに故障が
発生している場合には通信カード5bからの折り返しの
応答は無い。
Here, since the communication card 6b is normal, there is a return response as shown by "G" in FIG. 7, but if the communication card 5b mounted on the control device 4b has a failure. In this case, there is no return response from the communication card 5b.

【0027】従って、制御装置1aは”通信バスA”に
障害があると判断して、直ちに”通信バスB”を使用す
る。
Therefore, the control unit 1a judges that the "communication bus A" has a fault and immediately uses the "communication bus B".

【0028】この結果、親局の制御装置1a及び1bが
定期的に通信系の自己診断を行うことができる。
As a result, the control devices 1a and 1b of the master station can periodically carry out self-diagnosis of the communication system.

【0029】[0029]

【発明が解決しようとする課題】しかし、一般的なアプ
リケーションの通信では子局の通信カードとの通信では
なく子局の制御装置との通信である。例えば、親局の制
御装置から子局の制御装置内のデータが格納されたメモ
リへアクセスする等の通信が一般的である。
However, the communication of a general application is not communication with the communication card of the slave station but communication with the control device of the slave station. For example, communication is generally performed such that a control device of a master station accesses a memory that stores data in a control device of a slave station.

【0030】これに対し前述の様に従来例の通信系の自
己診断方法は他の通信になるべく影響を与えないために
子局の通信カードでの折り返し通信を行っていた。
On the other hand, as described above, the conventional self-diagnosis method of the communication system performs the return communication with the communication card of the slave station so as not to affect other communication as much as possible.

【0031】このため、子局の通信カードの内、子局の
制御装置へのインターフェース部分に故障があった場合
には、通信カードでテスト通信の折り返しがなされるも
のの子局の制御装置にはアクセス出来ない。
Therefore, in the case where there is a failure in the interface portion of the slave station communication card to the slave station control device, the communication communication card returns the test communication, but the slave station control device does not. I can't access it.

【0032】図8はこのような故障の一例を説明する説
明図であり、図8中の符号は図5と同一符号を付してあ
る。
FIG. 8 is an explanatory view for explaining an example of such a failure, and the reference numerals in FIG. 8 are the same as those in FIG.

【0033】例えば、図8中”イ”に示す通信カード5
aの制御装置4aとのインターフェース部分に故障が生
じた場合でも、図8中”ロ”に示すテスト通信は正常に
折り返されるので親局の制御装置1aでは”通信バス
A”が正常であると判断してしまう。
For example, the communication card 5 shown in "A" in FIG.
Even if a failure occurs in the interface part with the control device 4a of a, the test communication indicated by "b" in FIG. 8 is normally returned, so that the "communication bus A" is normal in the control device 1a of the master station. I will judge.

【0034】従って、親局の制御装置1aが図8中”
ハ”に示すように子局の制御装置4a内のデータにアク
セスする通信を”通信バスA”を用いて行った場合には
図8中”イ”の部分での故障のため通信エラーとなる。
Therefore, the control device 1a of the master station is shown in FIG.
Accession to the data in the controller 4a of the slave station, as shown in C "
If the communication to be accessed is performed using the "communication bus A", a communication error will occur due to a failure at the portion "A" in FIG.

【0035】このため、制御装置1aは”通信バスB”
を用いて図8中”ニ”に示すように前記通信の再試行を
行わなければならず、従来の通信系の自己診断では通信
系の障害を発見出来ない場合があると言った問題点があ
った。従って本発明が解決しようとする課題は、通信系
の自己診断を確実に行うことができる冗長化分散型制御
装置を実現することにある。
For this reason, the control unit 1a has the "communication bus B".
There is a problem that the communication must be retried as shown by "d" in FIG. 8 by using, and the communication system failure may not be found by the conventional communication system self-diagnosis. there were. Therefore, the problem to be solved by the present invention is to realize a redundant distributed control device capable of surely performing self-diagnosis of a communication system.

【0036】[0036]

【課題を解決するための手段】このような課題を達成す
るために、本発明の第1では、通信系が冗長化された冗
長化分散型制御装置において、2つの通信カードが装着
された第1の制御装置と、2つの通信カードが装着さ
れ、通信系の自己診断として第1の制御装置の通信カー
ドを介して前記第1の制御装置内のメモリにアクセスし
てこのメモリに予め格納されたテストパターンを読み出
すテスト通信を行う第2の制御装置と、前記第1及び第
2の制御装置にそれぞれ装着された2つの通信カードに
接続して2つの通信バスを構成する2つの通信ケーブル
とを備え、通信系の自己診断として前記通信バスの一方
を用いて前記第1の制御装置内のメモリへの第2のテス
トパターンの書込みを行い、前記通信バスの他方を用い
て前記第2のテストパターンの読み取りを行うテスト通
信を行うことを特徴とするものである。
In order to achieve such a object, according to the first aspect of the present invention, in a redundant distributed control device in which a communication system is made redundant, two communication cards are mounted. One control device and two communication cards are attached, and as a self-diagnosis of the communication system, the memory in the first control device is accessed through the communication card of the first control device and stored in advance in this memory. And a second control device for performing test communication for reading the test pattern, and two communication cables for connecting two communication cards respectively mounted on the first and second control devices to form two communication buses.
And one of the communication buses for self-diagnosis of the communication system.
A second test to a memory in the first controller using
Pattern is written and the other side of the communication bus is used.
Test pass to read the second test pattern.
It is characterized by performing trust .

【0037】このような課題を達成するために、本発明
の第2では、本発明の第1において、通信系の自己診断
として前記第2のテストパターンの読み出しに失敗した
場合に前記第1の制御装置内のメモリに予め格納された
前記テストパターンを読み出すテスト通信を行うことを
特徴するものである。
In order to achieve such a subject, in the second aspect of the present invention, in the first aspect of the present invention, when the reading of the second test pattern fails as a self-diagnosis of the communication system, the first aspect of the present invention is used. It is characterized in that test communication is performed to read out the test pattern previously stored in the memory in the control device.

【0038】このような課題を達成するために、本発明
の第3では、本発明の第2において、通信系の自己診断
として前記テストパターンの読み出しに失敗した場合に
2つの前記通信カードでの折り返し通信を行うことを特
徴するものである。
In order to achieve such a subject, in the third aspect of the present invention, in the second aspect of the present invention, when the reading of the test pattern fails as a self-diagnosis of the communication system, two communication cards are used. It is characterized in that the communication is performed back.

【0039】[0039]

【0040】[0040]

【0041】[0041]

【0042】[0042]

【発明の実施の形態】以下本発明を図面を用いて詳細に
説明する。図1は本発明に係る冗長化分散型制御装置の
一実施例を示す構成ブロック図である。
BEST MODE FOR CARRYING OUT THE INVENTION The present invention will be described in detail below with reference to the drawings. FIG. 1 is a configuration block diagram showing an embodiment of a redundant distributed control apparatus according to the present invention.

【0043】図1において2a,2b,3a,3b,4
a,4b,5a,5b,6a,6b,100及び101
は図5と同一符号を付してあり、7a及び7bは親局の
制御装置である。
In FIG. 1, 2a, 2b, 3a, 3b, 4
a, 4b, 5a, 5b, 6a, 6b, 100 and 101
Are denoted by the same reference numerals as those in FIG. 5, and 7a and 7b are control devices of the master station.

【0044】接続関係も図5に示す従来例とほぼ同様で
あり異なる点は制御装置1a及び1bが制御装置7a及
び7bで置換された点である。
The connection relationship is almost the same as that of the conventional example shown in FIG. 5, except that the control devices 1a and 1b are replaced by the control devices 7a and 7b.

【0045】ここで、図1に示す実施例の動作を図2,
図3及び図4を用いて説明する。図2,図3及び図4は
通信系の自己診断方法を説明する説明図である。
The operation of the embodiment shown in FIG. 1 will now be described with reference to FIG.
This will be described with reference to FIGS. 3 and 4. 2, 3 and 4 are explanatory views for explaining the self-diagnosis method of the communication system.

【0046】但し、基本動作は図5に示す従来例と同様
であるので通信系の自己診断方法についてのみ説明す
る。
However, since the basic operation is the same as the conventional example shown in FIG. 5, only the communication system self-diagnosis method will be described.

【0047】先ず第1に、図2中”イ”に示す制御装置
4a内のメモリに一定のテストパターンを予め格納して
おく。例えば、前記テストパターンとしては”555
5”、”AAAA”や”FFFF”等の16進数を格納
しておく。
First, a fixed test pattern is stored in advance in a memory in the control device 4a shown by "a" in FIG. For example, the test pattern is “555
Hexadecimal numbers such as 5 "," AAAAA "and" FFFF "are stored.

【0048】親局である制御装置7a(図2中には図示
せず。)は通信カード2a及び3a(図2中には図示せ
ず。)を用いて子局の制御装置4aに対してテスト通信
として前記テストパターンの読み出しを行う。
The controller 7a (not shown in FIG. 2), which is the master station, uses the communication cards 2a and 3a (not shown in FIG. 2) to control the controller 4a of the slave station. The test pattern is read as test communication.

【0049】通信カード5a及び6aの制御装置4aと
のインターフェース部分に故障がなければ、例えば、図
2中”ロ”に示すように図2中”イ”のメモリ内に格納
されたテストパターンにアクセスすることが可能であ
る。
If there is no failure in the interface portion of the communication cards 5a and 6a with the control device 4a, for example, as shown by "b" in FIG. 2, a test pattern stored in the memory of "a" in FIG. It is possible to access.

【0050】即ち、親局の制御装置7a(図2中には図
示せず。)はテストパターンの読み出しが成功すればそ
の通信カードには異常が無いと判断できる。
That is, the control device 7a (not shown in FIG. 2) of the master station can determine that the communication card has no abnormality if the reading of the test pattern is successful.

【0051】一方、図2中”ハ”に示すように通信カー
ド5aの制御装置4aとのインターフェース部分に故障
があると、図2中”イ”のメモリ内に格納されたテスト
パターンにアクセスすることができず図2中”ニ”に示
すようにエラーになってしまう。
On the other hand, if there is a failure in the interface part of the communication card 5a with the control device 4a as shown by "C" in FIG. 2, the test pattern stored in the memory of "A" in FIG. 2 is accessed. It cannot be done and an error occurs as shown by "D" in FIG.

【0052】即ち、通信カード5aとの通信がエラーと
なるので親局の制御装置7a(図2中には図示せず。)
は通信カード5aの故障を検出することができる。
That is, since the communication with the communication card 5a results in an error, the master station controller 7a (not shown in FIG. 2).
Can detect the failure of the communication card 5a.

【0053】従って、親局の制御装置7a(図2中には
図示せず。)は”通信バスA”及び”通信バスB”を用
いて子局の制御装置4a内のメモリに格納されたテスト
パターンを読み取る通信を行い、”通信バスA”での読
み出しに失敗した場合は通信カード5aを異常とみな
し、”通信バスB”での読み出しに失敗した場合は通信
カード6aを異常とみなす。
Therefore, the controller 7a of the master station (not shown in FIG. 2) is stored in the memory of the controller 4a of the slave station using "communication bus A" and "communication bus B". Communication is performed to read the test pattern, and if the reading on the "communication bus A" fails, the communication card 5a is regarded as abnormal, and if the reading on the "communication bus B" fails, the communication card 6a is regarded as abnormal.

【0054】この結果、子局の制御装置内のメモリに予
め格納されたテストパターンを読み出すテスト通信を行
うことにより、子局の通信カードの内、子局の制御装置
へのインターフェース部分に故障があった場合でも異常
を検出することが可能になる。
As a result, by performing the test communication for reading the test pattern stored in advance in the memory in the control device of the slave station, the interface portion of the communication card of the slave station to the control device of the slave station is broken. Even if there is, it is possible to detect an abnormality.

【0055】但し、上述の通信系の自己診断において、
図3中”イ”及び”ロ”に示すような”通信バスA”及
び”通信バスB”の双方でテストパターンの読み出しに
失敗した場合には、子局の制御装置4aが故障なのか、
装着された通信カード5a及び6aが故障なのかは判断
できない。
However, in the above self-diagnosis of the communication system,
If the reading of the test pattern fails on both the "communication bus A" and the "communication bus B" as indicated by "a" and "b" in FIG. 3, is the control device 4a of the slave station a failure?
It cannot be determined whether or not the communication cards 5a and 6a mounted are out of order.

【0056】この場合には、図3中”ハ”及び”ニ”に
示すようにテスト通信として子局の通信カード5a及び
6aでの折り返し通信を行う。
In this case, as shown by "C" and "D" in FIG. 3, the return communication is performed by the communication cards 5a and 6a of the slave station as the test communication.

【0057】もし、通信カード5a及び6aに故障があ
る場合は折り返しの応答が戻ってこない。また、制御装
置4aに故障がある場合には通信カード自体は正常であ
るので折り返しの応答が戻ってくる。
If the communication cards 5a and 6a have a failure, the return response will not be returned. If the control device 4a has a failure, the communication card itself is normal, and a reply is returned.

【0058】即ち、”通信バスA”及び”通信バスB”
の双方でテストパターンの読み出しに失敗した場合には
通信カード5a及び6aでの折り返し通信を行い、折り
返しの応答が戻ってくれば制御装置4aが異常とみな
し、折り返しの応答が戻ってこなければ通信カード5a
及び6aを異常とみなす。
That is, "communication bus A" and "communication bus B"
If the reading of the test pattern fails in both cases, the communication cards 5a and 6a perform return communication, and if the return response is returned, the control device 4a considers it to be abnormal, and if the return response is not returned, communication is performed. Card 5a
And 6a are considered abnormal.

【0059】この結果、双方の通信バスでテストパター
ンの読み出しに失敗した場合に通信カードでの折り返し
通信を行うことにより、制御装置若しくは通信カードの
どちらが故障であるかを判断することができる。
As a result, when the reading of the test pattern fails on both the communication buses, it is possible to judge which of the control device and the communication card has a failure by performing the return communication with the communication card.

【0060】また、図4に示す通信系の他の自己診断方
法を説明する。親局の制御装置7a(図4中には図示せ
ず。)は通信カード2a及び3a(図4中には図示せ
ず。)を用いて子局の制御装置4aに対してテスト通信
として特定のテストパターンの書込み若しくは読み取り
を行う。
Another self-diagnosis method for the communication system shown in FIG. 4 will be described. The master station controller 7a (not shown in FIG. 4) uses the communication cards 2a and 3a (not shown in FIG. 4) to identify the slave station controller 4a as a test communication. Write or read the test pattern.

【0061】例えば、図4中”イ”に示すように通信カ
ード5aを介して図4中”ロ”に示す制御装置4a内の
メモリに図4中”ハ”に示す特定のテストパターンを書
込み、図4中”ニ”に示すように通信カード6aを介し
て書込んだテストパターンを読み出す。
For example, as shown by "a" in FIG. 4, a specific test pattern shown by "c" in FIG. 4 is written in the memory in the control device 4a shown by "b" in FIG. 4 through the communication card 5a. , The written test pattern is read out via the communication card 6a as indicated by "d" in FIG.

【0062】通信カード5a及び6aの制御装置4aと
のインターフェース部分に故障がなければ、通信カード
5aを介して書込んだ特定のテストパターンが通信カー
ド6aを介して正確に読み出される。
If there is no failure in the interface part of the communication cards 5a and 6a with the control device 4a, the specific test pattern written via the communication card 5a can be accurately read out via the communication card 6a.

【0063】ここで、通信カード5a若しくは6aの制
御装置4aとのインターフェース部分に故障があるとテ
ストパターンの正確な読み出しが出来なくなる。
Here, if there is a failure in the interface portion of the communication card 5a or 6a with the control device 4a, the test pattern cannot be read accurately.

【0064】即ち、図4中”ニ”に示すテストパターン
の読み出しに失敗した場合は制御装置4a若しくは通信
カード6aに異常があることになる。
That is, if the reading of the test pattern indicated by "d" in FIG. 4 fails, the control device 4a or the communication card 6a is abnormal.

【0065】この場合、図2に示したように制御装置4
a内のメモリに予め格納された別のテストパターンを読
み出すテスト通信を通信カード5aに対して行い、前記
別のテストパターンの読み出しに成功すれば通信カード
6aが異常であるとみなす。
In this case, as shown in FIG.
Test communication for reading another test pattern stored in advance in the memory in a is performed to the communication card 5a, and if the reading of the other test pattern is successful, it is considered that the communication card 6a is abnormal.

【0066】また、前記別のテストパターンの読み出し
に失敗すれば制御装置4a若しくは通信カード5aに異
常があることになる。
If the reading of the other test pattern fails, it means that the control device 4a or the communication card 5a has an abnormality.

【0067】さらに、この場合、図3に示したようにテ
スト通信として通信カード5a及び6aでの折り返し通
信を行い、折り返しの応答が戻ってくれば制御装置4a
が異常とみなし、折り返しの応答が戻ってこなければ通
信カード5a及び6aを異常とみなす。
Further, in this case, as shown in FIG. 3, the return communication is performed by the communication cards 5a and 6a as the test communication, and if the return response is returned, the control device 4a is returned.
Is regarded as abnormal, and if the return response is not returned, the communication cards 5a and 6a are regarded as abnormal.

【0068】一方、図4中”ニ”に示すように通信カー
ド6aを介して読み出したテストパターンが通信カード
5aを介して書込んだテストパターンと一致しない場合
は通信カード5aに異常があることになる。
On the other hand, if the test pattern read via the communication card 6a does not match the test pattern written via the communication card 5a as indicated by "d" in FIG. 4, the communication card 5a has an abnormality. become.

【0069】この結果、”通信バスA”及び”通信バス
B”でテスト通信としてテストパターンの書込み及び読
み取りを行うことにより、制御装置及び通信カードの故
障を特定することができる。
As a result, by writing and reading the test pattern as the test communication on the "communication bus A" and the "communication bus B", the failure of the control device and the communication card can be specified.

【0070】なお、図2〜図4の説明では簡単のために
子局の制御装置4aの周辺を例示したが、他の子局の制
御装置に対しても同様の自己診断を行う。
In the description of FIGS. 2 to 4, the periphery of the slave station control device 4a is illustrated for simplification, but the same self-diagnosis is performed for the other slave station control devices.

【0071】また、親局の制御装置として制御装置7a
を例示した制御装置7bでも同様に自己診断を行う。
Further, the controller 7a is used as the controller of the master station.
Similarly, the control device 7b illustrated in FIG.

【0072】説明の簡単のために2つの通信バスを例示
したが、2以上であっても構わない。これに伴い、各制
御装置に装着される通信カードの数も2以上であっても
良い。
Although two communication buses are illustrated for the sake of simplicity of description, two or more communication buses may be used. Accordingly, the number of communication cards mounted on each control device may be two or more.

【0073】また、図2の説明ではテストパターンを子
局の制御装置4a内のメモリに格納しているが、特定フ
ァイル内に前記テストパターンを格納しておいても構わ
ない。
Although the test pattern is stored in the memory in the slave station controller 4a in the description of FIG. 2, the test pattern may be stored in a specific file.

【0074】また、図4の説明では通信カード5aを介
してテストパターンを書込み、通信カード6aを介して
前記テストパターンを読み出しているがその逆であって
も構わない。
In the description of FIG. 4, the test pattern is written via the communication card 5a and the test pattern is read out via the communication card 6a, but the reverse is also possible.

【0075】また、図4の説明では通信カード6aでの
テストパターンの読み出しに失敗した場合には、通信カ
ード6aを介してテストパターンを書込み、通信カード
5aを介してテストパターンを読み出すテスト通信を行
っても良い。
Further, in the description of FIG. 4, when the reading of the test pattern by the communication card 6a fails, the test pattern is written through the communication card 6a and the test pattern is read through the communication card 5a. You can go.

【0076】この場合、通信カード6aに異常があれば
通信カード5aで読み出したテストパターンが書込んだ
テストパターンと一致しないことなる。
In this case, if the communication card 6a is abnormal, the test pattern read by the communication card 5a does not match the written test pattern.

【0077】また、この時点で通信カード5aからのテ
ストパターンの読み出しにも失敗した場合は、通信カー
ド5a及び6a若しくは制御装置4aのどちらかが異常
であるので、図3に示す方法で異常装置の特定が可能で
ある。
If the reading of the test pattern from the communication card 5a also fails at this time, either the communication cards 5a and 6a or the control device 4a is abnormal, and the abnormal device is detected by the method shown in FIG. Can be specified.

【0078】[0078]

【発明の効果】以上説明したことから明らかなように、
本発明によれば次のような効果がある。通信カードを介
して子局の制御装置内のメモリにアクセスしてこのメモ
リに予め格納されたテストパターンを読み出すテスト通
信を行うことにより、通信系の自己診断を確実に行うこ
とができる冗長化分散型制御装置が実現できる。
As is apparent from the above description,
The present invention has the following effects. Via communication card
Then, access the memory in the control device of the slave station and use this memo.
By testing communication for reading pre-stored test pattern Li, the communication system redundant distributed control system which can reliably perform a self-diagnosis of can be achieved.

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

【図1】本発明に係る冗長化分散型制御装置の一実施例
を示す構成ブロック図である。
FIG. 1 is a configuration block diagram showing an embodiment of a redundant distributed control device according to the present invention.

【図2】通信系の自己診断方法を説明する説明図であ
る。
FIG. 2 is an explanatory diagram illustrating a communication system self-diagnosis method.

【図3】通信系の自己診断方法を説明する説明図であ
る。
FIG. 3 is an explanatory diagram illustrating a self-diagnosis method of a communication system.

【図4】通信系の自己診断方法を説明する説明図であ
る。
FIG. 4 is an explanatory diagram illustrating a communication system self-diagnosis method.

【図5】従来の冗長化分散型制御装置の一例を示す構成
ブロック図である。
FIG. 5 is a configuration block diagram showing an example of a conventional redundant distributed control device.

【図6】負荷分散及び冗長化構成を説明する説明図であ
る。
FIG. 6 is an explanatory diagram illustrating a load distribution and redundancy configuration.

【図7】通信系の自己診断方法を説明する説明図であ
る。
FIG. 7 is an explanatory diagram illustrating a communication system self-diagnosis method.

【図8】故障の一例を説明する説明図である。FIG. 8 is an explanatory diagram illustrating an example of a failure.

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

1a,1b,4a,4b,7a,7b 制御装置 2a,2b,3a,3b,5a,5b,6a,6b 通
信カード 100,101 通信ケーブル
1a, 1b, 4a, 4b, 7a, 7b Control device 2a, 2b, 3a, 3b, 5a, 5b, 6a, 6b Communication card 100, 101 Communication cable

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) H04L 29/14 H04L 1/00 G06F 13/00 ─────────────────────────────────────────────────── ─── Continuation of the front page (58) Fields surveyed (Int.Cl. 7 , DB name) H04L 29/14 H04L 1/00 G06F 13/00

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】通信系が冗長化された冗長化分散型制御装
置において、 2つの通信カードが装着された第1の制御装置と、 2つの通信カードが装着され、通信系の自己診断として
第1の制御装置の通信カードを介して前記第1の制御装
置内のメモリにアクセスしてこのメモリに予め格納され
たテストパターンを読み出すテスト通信を行う第2の制
御装置と、 前記第1及び第2の制御装置にそれぞれ装着された2つ
の通信カードに接続して2つの通信バスを構成する2つ
の通信ケーブルとを備え、 通信系の自己診断として前記通信バスの一方を用いて前
記第1の制御装置内のメモリへの第2のテストパターン
の書込みを行い、前記通信バスの他方を用いて前記第2
のテストパターンの読み取りを行うテスト通信を行うこ
とを特徴とする冗長化分散型制御装置。
1. A redundant distributed control device having a redundant communication system, wherein a first control device having two communication cards and two communication cards are installed as a self-diagnosis for the communication system. A second control device for performing test communication for accessing a memory in the first control device via a communication card of the first control device and reading a test pattern stored in advance in the memory; Two communication cables connected to two communication cards respectively mounted on the two control devices to form two communication buses are provided, and one of the communication buses is used for self-diagnosis of a communication system.
Note Second test pattern for memory in first controller
Is written to the second bus using the other of the communication buses.
The test communication is performed to read the test pattern of
And a redundant distributed control device.
【請求項2】通信系の自己診断として前記第2のテスト
パターンの読み出しに失敗した場合に前記第1の制御装
置内のメモリに予め格納された前記テストパターンを読
み出すテスト通信を行うことを特徴する請求項1記載の
冗長化分散型制御装置。
2. As a self-diagnosis of a communication system, when the reading of the second test pattern fails, test communication for reading the test pattern previously stored in the memory in the first control device is performed. According to claim 1,
Redundant distributed control device.
【請求項3】通信系の自己診断として前記テストパター
ンの読み出しに失敗した場合に2つの前記通信カードで
の折り返し通信を行うことを特徴する請求項2記載の冗
長化分散型制御装置。
3. The redundant communication according to claim 2 , wherein when the reading of the test pattern fails, the return communication is performed by the two communication cards as a self-diagnosis of a communication system.
Lengthening distributed control device.
JP22343697A 1997-08-20 1997-08-20 Redundant distributed controller Expired - Fee Related JP3385928B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP22343697A JP3385928B2 (en) 1997-08-20 1997-08-20 Redundant distributed controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP22343697A JP3385928B2 (en) 1997-08-20 1997-08-20 Redundant distributed controller

Publications (2)

Publication Number Publication Date
JPH1168715A JPH1168715A (en) 1999-03-09
JP3385928B2 true JP3385928B2 (en) 2003-03-10

Family

ID=16798125

Family Applications (1)

Application Number Title Priority Date Filing Date
JP22343697A Expired - Fee Related JP3385928B2 (en) 1997-08-20 1997-08-20 Redundant distributed controller

Country Status (1)

Country Link
JP (1) JP3385928B2 (en)

Also Published As

Publication number Publication date
JPH1168715A (en) 1999-03-09

Similar Documents

Publication Publication Date Title
US6266785B1 (en) File system filter driver apparatus and method
US6330687B1 (en) System and method to maintain performance among N single raid systems during non-fault conditions while sharing multiple storage devices during conditions of a faulty host computer or faulty storage array controller
JPH0430619B2 (en)
JP4132322B2 (en) Storage control device and control method thereof
US5717852A (en) Multiple bus control method and a system thereof
JP3385928B2 (en) Redundant distributed controller
US5995983A (en) Information processing apparatus and data processing method for information processing apparatus
CN112383462B (en) Network device and bus configuration method
JP3127941B2 (en) Redundant device
US6378086B1 (en) Method and system for recovering a computer system from a loadsource located at a remote location
JPS6256538B2 (en)
KR0130418B1 (en) Method for auto-self diagnosis and decovery of dual common bus resource and processor in the full electronic switching system
JP3348947B2 (en) System diagnosis method
JPH0793225A (en) Memory check system
JP2735246B2 (en) Test and set method
JP2946541B2 (en) Redundant control system
JPH04361344A (en) Storage circuit
JP3372192B2 (en) Bus interface test method and recording medium storing the processing program
JPS5851364A (en) Doubled peripheral storage controller
JPS6258354A (en) Test method for main memory
JPH05173819A (en) Common bus route diagnostic method
JPH0315214B2 (en)
JPS6218943B2 (en)
JPH0115088B2 (en)
JPS6091457A (en) Program test system

Legal Events

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