JP3475660B2 - Duplex communication device - Google Patents

Duplex communication device

Info

Publication number
JP3475660B2
JP3475660B2 JP16703596A JP16703596A JP3475660B2 JP 3475660 B2 JP3475660 B2 JP 3475660B2 JP 16703596 A JP16703596 A JP 16703596A JP 16703596 A JP16703596 A JP 16703596A JP 3475660 B2 JP3475660 B2 JP 3475660B2
Authority
JP
Japan
Prior art keywords
data
communication
communication device
order
control device
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
JP16703596A
Other languages
Japanese (ja)
Other versions
JPH1013389A (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 JP16703596A priority Critical patent/JP3475660B2/en
Publication of JPH1013389A publication Critical patent/JPH1013389A/en
Application granted granted Critical
Publication of JP3475660B2 publication Critical patent/JP3475660B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】 【0001】 【発明の属する技術分野】この発明は、少なくとも2以
上の制御装置間で、信頼性あるデータ授受を行うための
二重化通信装置に関する。 【0002】 【従来の技術】この制御装置間で、二重化通信を行う場
合、従来はネットワークを二重化し、つまり第1と第2
の通信系列を設け、同じデータを両通信系列を用いて同
時に、あるいは時間差をおいて伝送している。この種の
二重化通信装置において、一方の通信系列に異常を検出
した場合、他方の通信系列のデータを使用する。そのた
め、一方の系が故障しても他方の系列で、遅れることな
くデータを受信することができ、高い信頼性が得られ
る。 【0003】 【発明が解決しようとする課題】上記した従来の二重化
通信装置においては、高い信頼性を得るためとは言え、
通信データは誤り検出訂正機能によってチェックされる
ため、受信できた場合のデータの内容は保証されてい
る。このため、後から受信した他方の通信系列のデータ
は使用しない。すなわち、2つの系のデータは照合する
必要がない。したがって、二重化したネットワークにお
いて、全く同じデータを送信することは冗長であり、通
信速度、コストがかかり過ぎるという問題がある。さり
とて、二系列にて別々のデータを送信すると、通信速度
は確保できるが、異常時には片方のデータしか受信でき
ないので、信頼性に欠けるという問題がある。 【0004】この発明は上記問題点に着目してなされた
ものであって、常時は高速に通信でき、しかも信頼性を
確保し得る二重化通信装置を提供することを目的として
いる。 【0005】 【課題を解決するための手段】この発明の二重化通信装
置は、少なくとも第1と第2の制御装置間で、第1の通
信系列と第2の通信系列を用いて二重化通信を行うもの
において、前記第1の制御装置には、送信すべきデータ
をn個に分割するデータ分割手段と、前記第1の通信系
列に前記分割されたデータを正順に送出する手段と、前
記第2の通信系列に前記分割されたデータを逆順に送出
する手段とを備え、前記第2の制御装置にはn個に分割
されて送信されてくるデータを記憶する領域を持つ受信
データ記憶手段と、前記第1の通信系列より送信されて
くるデータを前記記憶手段に記憶手段の前端から後方に
向けて順に記憶させる手段と、前記第2の通信系列より
送信されてくるデータを前記記憶手段に、記憶手段の後
端から前方に向けて順に記憶させる手段とを備えたもの
である。 【0006】この二重化通信装置では、送信側である第
1の制御装置より、受信側である第2の制御装置にデー
タを送信する場合に、その元データをn個に分割し、第
1の通信系列により分割したデータを第1番目の分割デ
ータ、第2番目のデータ、…、第n番目のデータの順
に、正順に送信する。また、第2の通信系列により、分
割したデータを第n番目、第n−1番目、…、第1番目
のデータの順に第1の通信系列とは逆順に送信する。 【0007】第2の制御装置では、第1の通信系列の正
順に送られてきた受信データを、データ記憶手段の前端
より、後方にかけて、第1番目、第2番目の順で記憶す
る。また、第2の通信系列の逆順に送られてきた受信デ
ータをデータ記憶手段の後端より前方にかけ、第n番
目、第n−1番目の順に記憶する。どちらの通信系列に
も異常がなければ、前端からと後端からの記憶データが
ぶつかるところで伝送を終了することができるので、高
速通信が可能となる。また、いずれか一方の通信系列で
異常が生じた場合、他方はそのまま記憶を継続すること
により、正しいデータを受信することができ、異常発生
時でも問題なく通信ができ、信頼性が確保できる。 【0008】 【発明の実施の形態】以下、実施の形態により、この発
明をさらに詳細に説明する。図1は、この発明の一実施
形態二重化通信装置を示すブロック図である。この二重
化通信装置は、2台の制御装置10、20と、A系ネッ
トワーク1A、B系ネットワーク1Bの2系列のネット
ワークから構成されている。また、ここでは説明の便宜
上、2台の制御装置10、20を示しているが、さらに
互いにデータ授受が可能な3台以上の制御装置がA系ネ
ットワーク1AとB系ネットワーク1Bに接続されてい
るものであってもよい。 【0009】制御装置10は、制御演算及びデータ授受
のための伝送制御を行うCPU11と、演算データ、送
信データ、受信データ等を記憶するためのメモリ12
と、A系通信装置13Aと、B系通信装置13Bとを備
えている。当然ながら、A系通信装置13AはA系ネッ
トワーク1Aに、B系通信装置13BはB系ネットワー
ク1Bに、それぞれ接続されている。また、制御装置2
0も、制御装置10と同様に、CPU21と、メモリ2
2と、A系通信装置23Aと、B系通信装置23Bとを
備えている。 【0010】制御装置10と制御装置20は、A系通信
装置13A、23A、B系通信装置13B、23Bによ
り、互いにデータを送信し、あるいは受信することがで
きる。この実施形態二重化通信装置の最も特徴とすると
ころは、A系通信装置とB系通信装置を設けたこと自体
にあるのではなく、2系列のネットワーク1A、1Bを
用いて、一方の制御装置から他方の制御装置へのデータ
の伝送方法にある。 【0011】そこで、この実施形態二重化通信装置のデ
ータの伝送方法について、説明する。今、制御装置10
から制御装置20へデータを伝送する場合について説明
するが、もちろんその逆のデータ伝送も可能である。制
御装置10では、先ず、送信に際し、図2に示すよう
に、所定長さの送信元データをn個のデータに分割す
る。nは偶数であっても奇数であってもさしつかえな
い。分割された1、2、…、nのデータは、A系通信装
置13A、A系ネットワーク1Aを介して、正順に、つ
まりD1 →D2 →D3 →…→Dn の順に送信される。一
方、B系通信装置13A、B系ネットワーク1Bを介し
て、A系とは逆順に、つまり分割されたデータがDn
n-1 、…→D1 の順で送信される。 【0012】これに対し、制御装置20には、送信元デ
ータと同長のデータを記憶するメモリブロックB1 、B
2 、…、Bn を持つ受信メモリMR を有する。このメモ
リM R は、CPU21に設けてもよいし、メモリ22の
一部領域を割り当ててもよい。A系ネットワーク1Aよ
り、A系通信装置23Aに受信された正順のデータ
1 、D2 、…は受信メモリMR の前端より後方に向け
てメモリブロックB1 、B 2 、…に分割されたデータD
1 、D2 、…が順に記憶される。また、B系ネットワー
ク1Bより、B系通信装置23Bに受信された逆順のデ
ータDn 、Dn-1 、…は、受信メモリMR の後端より前
方に向けてメモリブロックBn 、Bn-1 、…に分割され
たデータDn 、Dn-1 、…が順に記憶される。正順、逆
順いずれの送受も異常なくなされており、仮にnが偶数
の場合、正順のデータD1 、D2 、…、Dn/2 がメモリ
R のブロックB1 、…、Bn/2 に記憶され、逆数のデ
ータD n 、Dn-1 、…、Dn/2+1 がメモリMR のブロッ
クBn 、Bn-1 、…、Bn/2+1に記憶されると、データ
1 、D2 、…、Dn がすべて受信され、記憶されたこ
とになる。この場合、データD1 、D2 、…、Dn を1
系列ですべて伝送するに要する時間の半分の時間で終了
する。そのため、高速に通信が行える。nが奇数の場合
には、正順のデータがD1 、D2 、…、D(n-1)/2 、逆
順のデータがD(n -1)/2+2 、…、Dn が記憶されると、
(n-1)/2+1 のデータが残り、タイミング的に早い方の
系列のデータが記憶されて通信が終了する。 【0013】何らかの理由で通信系列の一方に異常が生
じた場合、例えばA系列が異常になった場合、データD
1 、D2 、…の受信メモリMR への記憶が切れるが、逆
順のデータDn 、Dn-1 、…の記憶が正常になされ、極
端な場合、正順のデータが何ら記憶されなくても、逆順
のデータDn 、Dn-1 、…、D1 が記憶されるので、何
ら通信に支障がなく、信頼性のある伝送を確保できる。 【0014】 【発明の効果】この発明によれば、送信すべきデータを
複数に分割し、第1の通信系列では正順にデータを伝送
し、第2の通信系列で逆順にデータを伝送し、受信側で
は正順のデータをメモリの前端から後方に向けて順次記
憶し、逆順のデータをメモリの後端から前方に向けて順
次記憶するものであるから、常時は高速で通信を行える
とともに、異常発生時でも信頼性のある通信を行うこと
ができる。
DETAILED DESCRIPTION OF THE INVENTION [0001] TECHNICAL FIELD The present invention relates to at least two
For reliable data exchange between the above controllers
The present invention relates to a duplex communication device. [0002] 2. Description of the Related Art In a case where redundant communication is performed between control devices.
Conventionally, the network is duplicated, that is, the first and the second
Communication sequence, and the same data is transmitted using both communication sequences.
They are transmitted at times or with a time lag. This kind of
An error is detected in one communication line in a redundant communication device
In this case, the data of the other communication series is used. That
Therefore, if one system fails, the other system will not be delayed.
Data reception and high reliability.
You. [0003] The above-mentioned conventional duplication
In communication equipment, to obtain high reliability,
Communication data is checked by error detection and correction function
Therefore, the content of the data when it can be received is not guaranteed.
You. Therefore, the data of the other communication series received later
Is not used. That is, the data of the two systems are collated
No need. Therefore, in a duplicated network
And transmitting exactly the same data is redundant and
There is a problem that communication speed and cost are too high. Cali
If you send separate data in two streams,
Can be secured, but only one data can be received in the event of an error.
There is a problem of lack of reliability. The present invention has been made in view of the above problems.
It can communicate at high speed all the time, and
For the purpose of providing a redundant communication device that can be secured
I have. [0005] SUMMARY OF THE INVENTION A dual communication device according to the present invention is provided.
The first device has at least a first communication between the first and second controllers.
For performing duplex communication using a communication sequence and a second communication sequence
In the first control device, data to be transmitted is provided to the first control device.
Dividing means into n pieces, and the first communication system
Means for sending the divided data to a column in a normal order;
Transmitting the divided data to the second communication sequence in reverse order
The second control device is divided into n units.
Reception that has an area for storing the transmitted data
Data storage means, transmitted from the first communication sequence
Data coming from the front end of the storage means to the storage means
Means for storing the information in order, and
The transmitted data is stored in the storage unit, after the storage unit.
Means for sequentially storing data from the end toward the front
It is. In this duplex communication device, the transmitting side
The data is transmitted from the first control device to the second control device on the receiving side.
When transmitting data, the original data is divided into n
The data divided by one communication sequence is the first divided data.
Data, second data, ..., nth data
, And send them in order. In addition, by the second communication sequence,
The divided data is the nth, n-1st, ..., 1st
Are transmitted in the reverse order of the first communication sequence in the order of data. [0007] In the second control device, the correctness of the first communication sequence
The received data sent in order is stored at the front end of the data storage means.
From the back, the first and the second are stored in order.
You. Also, the received data transmitted in the reverse order of the second communication sequence
Data from the rear end of the data storage means, and
The eyes and the (n-1) th are stored in this order. Which communication line
If there are no abnormalities, the stored data from the front end and the rear end
The transmission can be terminated wherever it hits,
High-speed communication becomes possible. In addition, in either communication series
If something goes wrong, keep the other memory
Allows correct data to be received and
Communication can be performed without any problem even at the time, and reliability can be secured. [0008] DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
The light will be described in more detail. FIG. 1 shows one embodiment of the present invention.
It is a block diagram which shows a form duplex communication apparatus. This double
The communication device includes two control devices 10 and 20 and an A-system network.
Network 1A, network of two systems of B system network 1B
Consists of a work. Also, for convenience of explanation,
Above, two control devices 10 and 20 are shown.
Three or more controllers that can exchange data with each other
Network 1A and B-system network 1B
May be used. The control unit 10 performs control calculations and data transfer.
CPU 11 that performs transmission control for
Memory 12 for storing communication data, reception data, etc.
, An A-system communication device 13A, and a B-system communication device 13B.
I have. Naturally, the A-system communication device 13A is connected to the A-system network.
The network B communication device 13B is connected to the network B
1B, respectively. Also, the control device 2
0, the CPU 21 and the memory 2
2, the A-system communication device 23A, and the B-system communication device 23B.
Have. [0010] The control device 10 and the control device 20 communicate with each other by A-system communication.
Devices 13A and 23A, and B-system communication devices 13B and 23B.
Can send or receive data from each other.
Wear. The most characteristic of the redundant communication device of this embodiment is
At the time, the A-system communication device and the B-system communication device were installed.
, Instead of two networks 1A and 1B
Data from one controller to the other
Transmission method. Therefore, the data of the duplex communication apparatus of this embodiment is
The data transmission method will be described. Now, the control device 10
Transmission of data from control unit 20 to control device 20
However, of course, the reverse data transmission is also possible. System
In the control device 10, first, when transmitting, as shown in FIG.
First, the source data having a predetermined length is divided into n pieces of data.
You. n may be even or odd
No. The divided data of 1, 2,..., N is
Via the network 13A and the A-system network 1A in the normal order.
Mari D1→ DTwo→ DThree→… → DnAre transmitted in that order. one
Via the B-system communication device 13A and the B-system network 1B
Therefore, in the reverse order to the A system,n
Dn-1,… → D1Are transmitted in the order of On the other hand, the control device 20 transmits
Block B that stores data of the same length as the data1, B
Two, ..., BnReceiving memory M withRHaving. This memo
Re M RMay be provided in the CPU 21 or in the memory 22.
A partial area may be allocated. A network 1A
In the normal order received by the A-system communication device 23A.
D 1, DTwo, ... are the receiving memory MRBackward from the front edge of
Memory block B1, B Two, ... divided data D
1, DTwo,... Are sequentially stored. In addition, B system network
1B, the reverse order data received by the B-system communication device 23B.
Data Dn, Dn-1, ... are the reception memory MRBefore the trailing edge of
Memory block B towardn, Bn-1Is divided into
Data Dn, Dn-1,... Are sequentially stored. Normal order, reverse
Both transmissions and receptions are performed in normal order, and if n is an even number
In the case of1, DTwo, ..., Dn / 2Is memory
MRBlock B1, ..., Bn / 2And reciprocal data
Data D n, Dn-1, ..., Dn / 2 + 1Is the memory MRBlock of
K Bn, Bn-1, ..., Bn / 2 + 1When stored in
D1, DTwo, ..., DnHas been received and stored
And In this case, the data D1, DTwo, ..., Dn1
Ends in half the time it takes to transmit everything in the stream
I do. Therefore, high-speed communication can be performed. When n is odd
Has D in the forward order1, DTwo, ..., D(n-1) / 2And reverse
The order data is D(n -1) / 2 + 2, ..., DnIs stored,
D(n-1) / 2 + 1Data remains, and the earlier
The series data is stored, and the communication ends. [0013] For some reason, an abnormality occurs in one of the communication lines.
If the sequence A becomes abnormal, for example, if the sequence A becomes abnormal, the data D
1, DTwo, ... reception memory MRMemory runs out, but reverse
Order data Dn, Dn-1The memory of ...
At the end, even if no data in the normal order is stored,
Data Dn, Dn-1, ..., D1What is remembered
Therefore, reliable transmission can be secured without any trouble in communication. [0014] According to the present invention, the data to be transmitted is
Divide into multiple and transmit data in the first communication sequence in normal order
Then, the data is transmitted in the reverse order in the second communication sequence, and
Indicates the data in the normal order from the front end of the memory to the back.
The data is stored in reverse order from the rear end of the memory to the front.
Because it is stored next, communication can always be performed at high speed
In addition, perform reliable communication even in the event of an error
Can be.

【図面の簡単な説明】 【図1】この発明の一実施形態二重化通信装置を示すブ
ロック図である。 【図2】同実施形態二重化通信装置におけるデータ送受
方法を説明する図である。 【符号の説明】 1A A系ネットワーク 1B B系ネットワーク 10、20 制御装置 11、21 CPU 12、22 メモリ 13A、23A A系通信装置 13B 23B B系通信装置
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram showing a duplex communication device according to an embodiment of the present invention. FIG. 2 is a diagram illustrating a data transmission / reception method in the duplex communication device of the embodiment. [Description of Signs] 1A A-system network 1B B-system network 10, 20 Control device 11, 21 CPU 12, 22 Memory 13A, 23A A-system communication device 13B 23B B-system communication device

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) H04L 1/22 ──────────────────────────────────────────────────続 き Continued on the front page (58) Field surveyed (Int.Cl. 7 , DB name) H04L 1/22

Claims (1)

(57)【特許請求の範囲】 【請求項1】少なくとも第1と第2の制御装置間で、第
1の通信系列と第2の通信系列を用いて二重化通信を行
う二重化化通信装置において、 前記第1の制御装置には、送信すべきデータをn個に分
割するデータ分割手段と、前記第1の通信系列に前記分
割されたデータを正順に送出する手段と、前記第2の通
信系列に前記分割されたデータを逆順に送出する手段と
を備え、 前記第2の制御装置にはn個に分割されて送信されてく
るデータを記憶する領域を持つ受信データ記憶手段と、
前記第1の通信系列より送信されてくるデータを前記記
憶手段に記憶手段の前端から後方に向けて順に記憶させ
る手段と、前記第2の通信系列より送信されてくるデー
タを前記記憶手段に、記憶手段の後端から前方に向けて
順に記憶させる手段とを備えたことを特徴とする二重化
通信装置。
(57) [Claim 1] In a duplicated communication device for performing duplicated communication using at least a first communication sequence and a second communication sequence between a first and a second control device, The first control device includes: a data dividing unit that divides data to be transmitted into n pieces; a unit that sends the divided data to the first communication sequence in a normal order; Means for transmitting the divided data in reverse order, wherein the second control device has a reception data storage means having an area for storing data transmitted by being divided into n pieces;
Means for storing data transmitted from the first communication sequence in order from the front end of the storage means toward the rear in the storage means, and data transmitted from the second communication sequence to the storage means, Means for sequentially storing data from a rear end of the storage means toward a front end thereof.
JP16703596A 1996-06-27 1996-06-27 Duplex communication device Expired - Fee Related JP3475660B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP16703596A JP3475660B2 (en) 1996-06-27 1996-06-27 Duplex communication device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP16703596A JP3475660B2 (en) 1996-06-27 1996-06-27 Duplex communication device

Publications (2)

Publication Number Publication Date
JPH1013389A JPH1013389A (en) 1998-01-16
JP3475660B2 true JP3475660B2 (en) 2003-12-08

Family

ID=15842188

Family Applications (1)

Application Number Title Priority Date Filing Date
JP16703596A Expired - Fee Related JP3475660B2 (en) 1996-06-27 1996-06-27 Duplex communication device

Country Status (1)

Country Link
JP (1) JP3475660B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009111653A (en) * 2007-10-30 2009-05-21 Hitachi Ltd Multiplexed data communication method, system thereof and multiplexed data communication device constituting the system
JPWO2011007666A1 (en) * 2009-07-13 2012-12-27 日本電気株式会社 Content distribution method, content distribution system, and recording medium
JP2012089961A (en) * 2010-10-18 2012-05-10 Tohoku Univ Information transfer system
JP2015097349A (en) * 2013-11-15 2015-05-21 株式会社日立製作所 Transmission device, communication control method, and communication system
WO2023058189A1 (en) * 2021-10-07 2023-04-13 日立Astemo株式会社 Communication semiconductor device

Also Published As

Publication number Publication date
JPH1013389A (en) 1998-01-16

Similar Documents

Publication Publication Date Title
EP0094179B1 (en) Computer interconnection part
JP3709795B2 (en) Computer system and method for communication between modules in the computer system
JPH05244675A (en) Method of connection among switching network, originating processor and source processor
US5537535A (en) Multi-CPU system having fault monitoring facility
US20020087763A1 (en) Communication sytem with a communication bus
JP3475660B2 (en) Duplex communication device
EP0093578B1 (en) Communications system
EP0414385A2 (en) Communication apparatus for monitoring the amount of transmitted data
JPH02150138A (en) Series controller
Maryanka et al. The Vehicle Power Line as a Redundant Channel for CAN Communication
KR100290560B1 (en) Apparatus for duplicating and controlling cell bus in ATM system
JPS60190050A (en) Transmission system
KR940002145B1 (en) Level 3-3 network unit operating apparatus for signal repeating system
JPS62219057A (en) Data transmitter
JP2616246B2 (en) Dual processing method for inter-system data in dual operation redundant apparatus and dual operation redundant apparatus
JP2644558B2 (en) Test apparatus and test method for communication device
JPS6160042A (en) Identification system of arrangement order of node
JPH03178234A (en) Transmission system for duplex transmission line
JPH0294941A (en) Communication control equipment
JPH0243664A (en) Computer multiplexing system
JPS6225535A (en) Test method for duplex loop data link system
JPS626545A (en) Transmission control system
JPH0479492B2 (en)
JPS58219856A (en) Data communication system
JPH02262736A (en) Communication system by duplex data communication media

Legal Events

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