JPS62208737A - Operating state decision method in multiplex communication system - Google Patents

Operating state decision method in multiplex communication system

Info

Publication number
JPS62208737A
JPS62208737A JP61050774A JP5077486A JPS62208737A JP S62208737 A JPS62208737 A JP S62208737A JP 61050774 A JP61050774 A JP 61050774A JP 5077486 A JP5077486 A JP 5077486A JP S62208737 A JPS62208737 A JP S62208737A
Authority
JP
Japan
Prior art keywords
data
transmission
node
unit
nodes
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.)
Granted
Application number
JP61050774A
Other languages
Japanese (ja)
Other versions
JPH0720105B2 (en
Inventor
Morio Satou
佐藤 司雄
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.)
Honda Motor Co Ltd
Original Assignee
Honda Motor Co 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 Honda Motor Co Ltd filed Critical Honda Motor Co Ltd
Priority to JP61050774A priority Critical patent/JPH0720105B2/en
Priority to US07/021,345 priority patent/US4807231A/en
Publication of JPS62208737A publication Critical patent/JPS62208737A/en
Publication of JPH0720105B2 publication Critical patent/JPH0720105B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)

Abstract

PURPOSE:To grasp the operating state of a node by sending a data from each node on a communication line at each prescribed period, monitoring the data on the communication line in the timing at which no data is sent and detecting the node without transmission at each said period. CONSTITUTION:Input/output terminals 1a-6a of plural nodes 1-6 having a transmission/reception function are connected by one communication line 1 and each node applies time division multiplex transmission in the titled multiplex communication system, then each node sends a data at each prescribed period and monitors the data on the line 1 in the timing when no transmission exists, a node without transmission in the said period is detected and if a node having no detection of transmission one or plural times consecutively exists, it is decided that the transmission function of the said node is stopped. Thus, the node where no transmission exists supervises other nodes and the operating state of each node is accurately grasped without changing the system constitution.

Description

【発明の詳細な説明】 「産業上の利用分野」 この発明は、例えば、車両に搭載される多重通信システ
ムに用いて好適な多重通信システムにおける作動状態判
定方法に関する。
DETAILED DESCRIPTION OF THE INVENTION "Field of Industrial Application" The present invention relates to a method for determining the operating state of a multiplex communication system suitable for use in, for example, a multiplex communication system mounted on a vehicle.

「従来の技術」 車両に搭載される送信システムあるいは受信システムと
しては、構成が簡単で軽量であることが望ましい。そこ
で、1本の通信線により複数のノードが送受信し得る多
重通信方式が開発されている。第3図は、この多重通信
方式を採用した送受信システムの構成を示すブロック図
である。
"Prior Art" It is desirable for a transmitting system or a receiving system mounted on a vehicle to have a simple configuration and be lightweight. Therefore, a multiplex communication system has been developed in which multiple nodes can transmit and receive data through a single communication line. FIG. 3 is a block diagram showing the configuration of a transmitting/receiving system that employs this multiplex communication method.

この図に示すlは、車両に搭載されるオーディオユニッ
ト(ノード)、2は車高調整を行うエアサスペンション
ユニット(ノード)であり、3.4は各々上記各ユニッ
トを制御するためのラジオスイッチユニット(ノード)
およびエアサスペンションスイッチユニット(ノード)
である。このラジオスイッチユニット3およびエアサス
ペンションスイッチユニット4は、運転者が操作するも
のである。また、5は同乗者が操作するためのラジオス
イッチユニットであり、6はオーディオユニットlとエ
アサスペンションユニット2の作動状態を表示する表示
ユニット(ノード)である。
In this figure, 1 is an audio unit (node) mounted on the vehicle, 2 is an air suspension unit (node) that adjusts the vehicle height, and 3 and 4 are radio switch units for controlling each of the above units. (node)
and air suspension switch unit (node)
It is. The radio switch unit 3 and air suspension switch unit 4 are operated by the driver. Further, 5 is a radio switch unit operated by a fellow passenger, and 6 is a display unit (node) that displays the operating status of the audio unit 1 and the air suspension unit 2.

前述した各ユニットl〜6の入出力端は、各々1本のデ
ータライン10に接続されており、このデータラインI
Oのみを介してデータの授受を行うようになっている。
The input and output terminals of each of the units l to 6 described above are each connected to one data line 10, and this data line I
Data is exchanged only through O.

また、上記説明から判るように、各ユニットはL A 
N (L ocal A reaN etwork)を
構成している。
Also, as can be seen from the above explanation, each unit is LA
N (Local Area Network).

次に、lb〜6bは、各々ユニット1〜6のデータの授
受を制御する通信制御部であり、個々にマイクロコンピ
ュータを内蔵している。この場合、通信制御部1bの出
力端1cは、第4図に示すようにトランジスタTrのベ
ースに抵抗器を介して接続されている。トランジスタT
rは、コレクタが正電源端(電圧V cc)に接続され
るとともに、入出力端1aを介してデータライン10に
接続されており、また、・エミッタが接地されている。
Next, lb to 6b are communication control units that control data exchange between the units 1 to 6, and each unit has a built-in microcomputer. In this case, the output terminal 1c of the communication control section 1b is connected to the base of the transistor Tr via a resistor, as shown in FIG. transistor T
r has a collector connected to the positive power supply terminal (voltage Vcc), and is also connected to the data line 10 via the input/output terminal 1a, and has an emitter grounded.

また、通信制御部1bの入力端1dは、直接入出力端1
aに接続されている。そして、各ユニット2〜6内の通
信制御部2a〜6aは各々上述した通信制御部Ibと同
様の構成となっている。
In addition, the input terminal 1d of the communication control section 1b is the direct input/output terminal 1.
connected to a. The communication control sections 2a to 6a in each of the units 2 to 6 have the same configuration as the communication control section Ib described above.

ここで、データラインIOの特性について説明すると、
このデータライン10は、各ユニットI〜6の入出力端
においてトランジスタのコレクタに接続されているから
、いづれかのトランジスタT+4<1個でもオンになれ
ば、他のトランジスタTrの状態にかかわらず、強制的
に接地レベル(低レベル)となる。すなわち、データラ
イン10は、低レベル側優先に構成にされており、各ユ
ニット1〜6のいづれかが低レベル信号を出力している
ときは、他のユニットは高レベルの信号を出力し得ない
構成となっている。
Now, to explain the characteristics of the data line IO,
This data line 10 is connected to the collector of the transistor at the input/output terminal of each unit I to 6, so if any transistor T+4<1 is turned on, the data line 10 is forced to turn on regardless of the state of the other transistors Tr. It becomes ground level (low level). That is, the data line 10 is configured to give priority to the low level side, and when any one of the units 1 to 6 is outputting a low level signal, the other units cannot output a high level signal. The structure is as follows.

次に、各ユニットl〜6におけるデータの授受について
説明する。
Next, data transfer in each unit 1 to 6 will be explained.

ユニット1〜6から出力される信号は、第5図に示すよ
うな調歩同期式信号であり、低レベルのスタート信号S
 T R(lまたは5.5ビツト)、高レベルのスター
トビットS1データ部B(8ビツト)、パリティビット
、および高レベルのエンド信号とからなっており、スタ
ートビット、データビットB1およびパリティビットは
、各々前半の0.5ビツトがそのビットの内容(図面S
又はD参照)を表し、後半の0.5ビツトが当該ビット
内容を反転したレベルのギャップGとなっている。この
ようにギャップGを設けたのは、1つにはデータライン
lOの使用状態の検出を容易に行うためである。すなわ
ち、上述した信号の形態によれば、第5図示すように、
信号か出力されているときは、少なくとも0.5ビツト
を超える期間においては、必ず低レベルになる。したが
って、0,5ビツトを超える期間(例えば1ビツト)に
わたってラインの状態が低レベルであるか否かを検出す
れば、データライン10が使用中であるか否かを知るこ
とができる。
The signals output from units 1 to 6 are asynchronous signals as shown in FIG.
It consists of TR (1 or 5.5 bits), a high level start bit S1 data part B (8 bits), a parity bit, and a high level end signal.The start bit, data bit B1 and parity bit are , the first half of each bit is the content of that bit (see drawing S
or D), and the latter 0.5 bit is a gap G at a level that is the inversion of the bit content. One of the reasons why the gap G is provided in this way is to easily detect the usage state of the data line IO. That is, according to the above-mentioned signal format, as shown in FIG.
When a signal is being output, it is always at a low level for a period exceeding at least 0.5 bits. Therefore, it is possible to know whether the data line 10 is in use by detecting whether the state of the line is low for a period exceeding 0.5 bits (for example, 1 bit).

また、オーディオユニットl、エアサスペンションユニ
ット2と表示ユニット6との間のデータ転送は、第3図
に示すように1方向のデータ転送であり、非同期の送信
が行なわれるようになっている。この非同期送信におけ
る送信データの形態は、第6図(a)に示すようになっ
ている。この図に示すデータD、は、受信ユニットアド
レス(すなわち、表示ユニットアドレス6のアドレス)
と送信ユニットアドレスから成るアドレスデータであり
、また、データD、以降は、表示に用いられる各種のデ
ータである。この場合、データDIのスタート信号ST
Rは5.5ビツト(以下STR1という)に設定され、
データD、、D、・・・・・・のスタート信号STRは
1ビツト(以下5TR2という)に設定されている。し
たがって、表示ユニット6はスタート信号がSTn l
であるか5TR2であるかを判定することにより、受信
したデータがアドレスデータか表示用データであるかを
知ることができる。
Furthermore, the data transfer between the audio unit 1, the air suspension unit 2, and the display unit 6 is unidirectional data transfer, as shown in FIG. 3, and is asynchronously transmitted. The format of the transmitted data in this asynchronous transmission is as shown in FIG. 6(a). Data D shown in this figure is the receiving unit address (i.e., the address of display unit address 6)
This is address data consisting of and a transmitting unit address, and data D and the following are various data used for display. In this case, the data DI start signal ST
R is set to 5.5 bits (hereinafter referred to as STR1),
The start signal STR for data D, , D, . . . is set to 1 bit (hereinafter referred to as 5TR2). Therefore, the display unit 6 shows that the start signal is STn l
By determining whether the received data is address data or display data, it is possible to know whether the received data is address data or display data.

次に、オーディオユニットlとラジオスイッチユニット
3,5とは各々マスクとスレイブの関係になっており、
同様にエアサスペンションユニット2とエアサスペンシ
ョンスイッチユニット4との関係もマスクとスレイブの
関係になっている。
Next, the audio unit l and radio switch units 3 and 5 are in a mask and slave relationship, respectively.
Similarly, the relationship between the air suspension unit 2 and the air suspension switch unit 4 is that of a mask and a slave.

そして、マスクとスレイブの間におけるデータの授受は
、まず、マスク側が第6図(b)に示すデータ要求信号
を出力し、次いで、スレイブ側がマスク側の制御の下に
同図(c)に示すデータ返信信号を出力するようになっ
ている。第3図に示す双方向の矢印は、上記データの授
受の方向を示している。この場合のデータ要求信号は、
第6図(b)に示すようにデータD1のみの信号であり
、このデータD1は同図(a)に示すデータD、と同様
の信号である。また、データ返信信号は、同図(C)に
示すように、データ成分のみのデータから成っており、
この図に示すデータD + 、 D x・・・・・・は
同図(a)に示ずデータD t 、 D s・・・・・
・と同様のデータである。
In order to exchange data between the mask and the slave, the mask side first outputs the data request signal shown in FIG. 6(b), and then the slave side outputs the data request signal shown in FIG. 6(c) under the control of the mask side. It is designed to output a data return signal. The bidirectional arrows shown in FIG. 3 indicate the direction of the data transfer. The data request signal in this case is
As shown in FIG. 6(b), it is a signal containing only data D1, and this data D1 is a signal similar to data D shown in FIG. 6(a). In addition, the data reply signal consists of only data components, as shown in FIG.
The data D + , D x , etc. shown in this figure are not shown in the same figure (a), and the data D t , D s , etc.
・This is the same data.

次に、上記システムにおいて、2以上のユニットが競合
して送信を開始した場合のデータ衝突回避の動作につい
て説明する。
Next, in the above system, the operation of data collision avoidance when two or more units compete with each other and start transmission will be described.

今、第7図に示すように、マスク側であるオーディオユ
ニットlおよびエアサスペンションユニット2が同時に
に送信を開始したとする。この場合の送信信号は、第6
図(a)、(b)に示すいづれかの信号であるから、ス
タート信号、スタートビットの後に続いて受信ユニット
のアドレスデータが送出される。そして、時刻t。に至
るまでは、オーディオユニットIとエアサスペンション
ユニット2とのデータが同一で、時刻t。以降において
これらのデータが異なったとする。
Now, as shown in FIG. 7, it is assumed that the audio unit 1 and the air suspension unit 2 on the mask side start transmitting at the same time. In this case, the transmission signal is the 6th
Since the signal is one of those shown in FIGS. (a) and (b), the address data of the receiving unit is sent out after the start signal and start bit. And time t. Up to time t, the data of audio unit I and air suspension unit 2 are the same. It is assumed that these data are different thereafter.

この場合、時刻t。以前においては、データラインIO
のレベルと各ユニット1.2の出力信号のレベルとは等
しいが、時刻t。においては、エアサスペンションユニ
ット2の出力信号のレベルはデータラインIOのレベル
と異なってしまう。これは、前述のように、データライ
ンIOが低レベル側優先に構成されているからであり、
時刻り。におけるオーディオユニット1の低レベル信号
が優先されるからである。そして、エアサスペンション
ユニット2においては、出力信号のレベルとデータライ
ンlOのレベルの違いが検出された時に、データの衝突
が発生したと判定するようにしており、この結果、時刻
t0において衝突が検出され、以後エアサスペンション
ユニット2は送信を中断する。そして、オーディオユニ
ットlのみが送信を継続し、衝突の回避がなされる。な
お、オーディオユニットIの衝突検出も上記と全く同様
にして行なわれる。 従来のシステムにおいては、上述
のようにしてデータ衝突の回避が行なイっれ、この結果
、1本の通信線によって複数のユニット間のデータの授
受を行うことができるようになっている。
In this case, time t. Previously, data line IO
The level of the output signal of each unit 1.2 is equal to the level of the output signal of each unit 1.2, but at time t. In this case, the level of the output signal of the air suspension unit 2 is different from the level of the data line IO. This is because, as mentioned above, the data line IO is configured to give priority to the lower level side.
It's time. This is because the low level signal of the audio unit 1 in is given priority. In the air suspension unit 2, it is determined that a data collision has occurred when a difference between the level of the output signal and the level of the data line IO is detected, and as a result, a collision is detected at time t0. After that, the air suspension unit 2 suspends transmission. Then, only audio unit l continues to transmit, and collisions are avoided. Note that collision detection for audio unit I is also performed in exactly the same manner as described above. In conventional systems, data collisions are avoided as described above, and as a result, data can be exchanged between a plurality of units via a single communication line.

また、上記システムにおいては、表示すべきデータに変
更が生じた場合や、スイッチの操作状態に変化があった
場合にのみデータの送信を行うようにしており、データ
の変更を要さない場合はデータ送信を行わないようにし
ている。この結果、データラインIOには必要なデータ
のみが送出されてその利用効率が高くなるとともに、デ
ータ送出の要求が生じてからデータライン10上に送出
されるまでの時間が短くなるという利点が得られた。
In addition, in the above system, data is sent only when there is a change in the data to be displayed or when there is a change in the operating status of a switch, and when data does not need to be changed, Prevents data transmission. As a result, only the necessary data is sent to the data line IO, which increases its utilization efficiency, and also has the advantage of shortening the time from when a data sending request is made until it is sent onto the data line 10. It was done.

「発明が解決しようとする問題点」 ところで、上述した従来のシステムにおいては、データ
ライン10上にデータが送出されない場合に、送信すべ
きデータがないために送信が行なわれないのか、あるい
は、送信を行うべきノードの送信機能が停止しているた
めにデータが送信されないのかの区別がつかず作動状態
が把握できないという問題があった。
"Problems to be Solved by the Invention" By the way, in the conventional system described above, when data is not sent on the data line 10, either the transmission is not performed because there is no data to be transmitted, or the transmission is not performed. There was a problem in that it was not possible to determine whether data was not being transmitted because the transmission function of the node that was supposed to perform this was stopped, and the operating state could not be determined.

この発明は、上述した事情に鑑みてなされたもので、ノ
ードの作動状態を監視してその情況を把握することがで
きる多重通信システムにおける作動状態判定方法を提供
することを目的としている。
The present invention has been made in view of the above-mentioned circumstances, and it is an object of the present invention to provide a method for determining the operating state in a multiplex communication system that can monitor the operating state of nodes and grasp the situation.

「問題点を解決するための手段」 この発明は、上記問題点を解決するために、送受信機能
を有する複数のノードの入出力端が各々1本の通信線で
接続されるとともに、前記各ノードが時分割多重送信を
行うように構成された多重通信システムにおいて、前記
各ノードは所定の周期毎にデータ送信を行うとともに、
送信を行わないタイミングにおいては前記通信線上のデ
ータをモニタして送信が行なわれなかったノードを前記
所定の周期毎に検出し、1回または複数回連続して送信
が検出されないノードがあった場合は当該ノードの送信
機能が停止していると判定するようにしている。
"Means for Solving the Problems" In order to solve the above problems, the present invention provides that the input/output ends of a plurality of nodes having transmitting/receiving functions are each connected by one communication line, and each of the nodes In a multiplex communication system configured to perform time division multiplex transmission, each node transmits data at predetermined intervals, and
At the timing when no transmission is performed, the data on the communication line is monitored to detect nodes that are not transmitting at each predetermined period, and if there is a node for which transmission is not detected one or more times in a row, It is determined that the transmission function of the node in question has stopped.

「作用」 各ノードが送信を行わないタイミングにおいて他のノー
ドの送信状態を検出するから、システム内のノードが相
互に他を監視する。
"Effect" Since each node detects the transmission status of other nodes at times when they are not transmitting, the nodes in the system mutually monitor each other.

「実施例」 以下、図面を参照してこの発明の実施例について説明す
るが、 ここでは、この発明の一実施例として第3図〜
第7図に示す多重通信システムに同発明を適用した場合
の実施例について説明する。
``Example'' Hereinafter, an example of the present invention will be described with reference to the drawings.Here, as an example of the present invention, FIGS.
An embodiment in which the invention is applied to the multiplex communication system shown in FIG. 7 will be described.

始めに、この実施例の概要について説明する。First, an overview of this embodiment will be explained.

まず、各ユニットは、非同期送信の場合は第2図(イ)
に示すように所定周期T毎に送信を繰り返し、また、同
期送信の場合は同図(ロ)に示すように、所定周期T毎
に返信データを送出するようにする。この場合、非同期
送信にあっては、データに変化がない場合は同一のデー
タを再送信し、データに変化があれば新たなデータを送
信するようになっており、また、同期送信にあっては、
データ要求信号が無いときは、前回送出したデータと同
様のデータを送出し、データ要求信号がある場合は現時
点における新たなデータを送出するようになっている。
First, in the case of asynchronous transmission, each unit
Transmission is repeated at every predetermined period T as shown in FIG. 2, and in the case of synchronous transmission, reply data is sent at every predetermined period T as shown in FIG. In this case, in asynchronous transmission, if there is no change in the data, the same data is retransmitted, and if there is a change in data, new data is transmitted; teeth,
When there is no data request signal, the same data as the previously sent data is sent out, and when there is a data request signal, new data at the current time is sent out.

また、上記周期Tは各ユニットの1回の送信時間に比べ
て充分に長く設定されており、全ユニットの送受信は周
期T以内にすべて完了し得るようになっている(図では
説明のためにデータ部分を長く表示している)。
In addition, the above-mentioned period T is set to be sufficiently long compared to the time for one transmission of each unit, so that all the transmissions and receptions of all units can be completed within the period T (the figure is shown for illustrative purposes only). (The data part is displayed for a long time).

また、各ユニットはデータの送信を行っていないタイミ
ングにおいて、データライン10上の信号をモニタし、
第1図のフローチャートに示す監視動作を行う。以下、
第1図に基づいてこの実施例の監視動作について説明す
る。
In addition, each unit monitors the signal on the data line 10 at a time when it is not transmitting data,
The monitoring operation shown in the flowchart of FIG. 1 is performed. below,
The monitoring operation of this embodiment will be explained based on FIG.

まず、ステップSPIにおいては、通信制御部ib〜6
b(第3図参照)内に設けられているマイクロコンピュ
ータ内のタイマをクリアする。このタイマは、上述した
送信周期Tを計時するものである。次に、ステップSP
2に移り、データライン10上に信号が送出されたか否
かを判定する。そして、データライン10上に何の信号
も送出されていなければ、この判定はrNOJとなって
処理はステップSP5へ移り、ここでタイマか周期Tを
計時し終えたかどうかが判定され、計時し終えてなけれ
ばステップSP5の判定がrNOJとなって、ステップ
SP2へ戻る。
First, in step SPI, the communication control unit ib~6
Clears the timer in the microcomputer provided in the microcomputer installed in the controller.b (see FIG. 3). This timer measures the transmission period T described above. Next, step SP
2, it is determined whether a signal has been sent on the data line 10. If no signal is sent on the data line 10, this determination is rNOJ and the process moves to step SP5, where it is determined whether the timer has finished counting the period T. If not, the determination at step SP5 is rNOJ, and the process returns to step SP2.

一方、ステップSP2における判定がrY E S J
であれば、ステップSP3へ移り、このステップSP3
においてデータライン10上のデータを読み込む。そし
て、この読み込んだデータから送信ユニットを識別し、
次いでステップSP4に移り、当該ユニットに対応して
設けられているデータ受信フラグをセットする。このス
テップSP4の処理が終了すると、ステップSP5に移
り、タイマが周期Tを計時し終えたかどうかを判定する
。この判定がrNOJであれば、ステップSP2に戻り
、上記処理を再度実行する。
On the other hand, the determination in step SP2 is rY E S J
If so, move to step SP3, and execute this step SP3.
The data on the data line 10 is read at the step. Then, identify the sending unit from this read data,
Next, the process moves to step SP4, and a data reception flag provided corresponding to the unit is set. When the process of step SP4 is completed, the process moves to step SP5, and it is determined whether the timer has finished counting the period T. If this determination is rNOJ, the process returns to step SP2 and the above process is executed again.

次に、タイマが周期Tを計時し終えてステップSP5の
判定がrY E S Jとなると、処理はステップSP
6へ移り、データ受信フラグがセットされていない状態
が所定回数以上連続したかどうかの判定を行う。このス
テップSP6の判定は、ステップSP3の受信動作にお
いて認識した各ユニット毎に行なわれ、rY E S 
Jと判定されたユニットについては、ステップSP8に
おいて故障発生と判定し、その後にステップSP9にお
いて故障の表示を行う。一方、ステップSP6において
「NO」と判定されたユニットについては、ステップS
P7において該当するユニットの受信フラグをリセット
し、再びステップSPIに戻って上記動作を繰り返す。
Next, when the timer finishes counting the period T and the determination in step SP5 becomes rY E S J, the process proceeds to step SP
6, it is determined whether the data reception flag has not been set for a predetermined number of times or more. The determination in step SP6 is performed for each unit recognized in the reception operation in step SP3, and rY E S
For the unit determined to be J, it is determined in step SP8 that a failure has occurred, and then the failure is displayed in step SP9. On the other hand, for the unit for which the determination is "NO" in step SP6, step S
At P7, the reception flag of the corresponding unit is reset, and the process returns to step SPI to repeat the above operation.

上記動作において、受信フラグが非セツト状態となるの
は、周期Tの間に該当するユニットが送信を行わなかっ
た場合であり、以下に述べる2つの場合がある。1つは
当該ユニットの送信機能が故障している場合であり、他
の1つは、当該ユニットが周期T後に送信を行おうとし
た際に、他のユニットが送信中であった場合である。す
なわち、他のユニットが送信中であると、当該ユニット
は送信待機状態となり、前記送信中のユニットが送信を
終えた後に初めて送信を開始するので、データ送出間隔
が周期Tより長くなってしまう場合である。しかし、こ
の場合は監視を行うユニットが再度ステップSP2を実
行した際に、rYEsJと判定されるから、この時にス
テップSP3.4を経てデータ受信フラグがセットされ
る。したがって、ユニットに故障がなければ、データ受
信フラグの非セツト状態が連続して検出されることはな
い。そして、上述したステップSP6の判定は、ユニッ
トが故障している力否かの判断処理であり、データ受信
フラグの非セツト状態が予め設定した回数以上継続した
場合には、マイクロコンピュータの処理をステップSP
8へ移行させて故障別定行わせるようになっている。
In the above operation, the reception flag becomes unset when the corresponding unit does not transmit during the period T, and there are two cases described below. One case is when the transmission function of the unit is out of order, and the other case is when the unit attempts to transmit after the period T and another unit is transmitting. In other words, when another unit is transmitting, the unit enters a transmission standby state and starts transmitting only after the transmitting unit finishes transmitting, so the data transmission interval becomes longer than the period T. It is. However, in this case, when the monitoring unit executes step SP2 again, it is determined to be rYEsJ, so at this time, the data reception flag is set via step SP3.4. Therefore, unless there is a failure in the unit, the non-set state of the data reception flag will not be continuously detected. The determination at step SP6 described above is a process for determining whether the unit is malfunctioning or not. If the non-set state of the data reception flag continues for a preset number of times or more, the microcomputer's processing is SP
8 to perform failure-by-failure identification.

したがって、例えば所定回数を2回に設定した場合は、
非同期送信および同期送信の双方の場合において、第2
図(ハ)に示すタイミングt1に当該ユニットの送信機
能が停止していると判定される。
Therefore, for example, if the predetermined number of times is set to two,
In both cases of asynchronous and synchronous transmission, the second
At timing t1 shown in FIG. 3(C), it is determined that the transmission function of the unit has stopped.

なお、第1図に示すフローチャートにおいては、ステッ
プSP6の判定後に、ステップSP8.9の処理とステ
ップSP7の処理とに別れるが、実際のマイクロコンピ
ュータの動作は、これらの処理を時分割的に行うように
なっている。例えば、ステップSP6において「NO」
と判定されるユニットがあった場合は、まず、そのユニ
ットについてステップSP8.9の処理を行い、次いで
、rYES」と判定されたユニットについてステップS
P7以降の処理を行うようにする。
Note that in the flowchart shown in FIG. 1, after the determination in step SP6, the process is divided into the process in step SP8.9 and the process in step SP7, but in actual operation of the microcomputer, these processes are performed in a time-sharing manner. It looks like this. For example, “NO” in step SP6
If there is a unit that is determined to be ``rYES,'' then step SP8.9 is performed for that unit, and then step S is performed for the unit that is determined to be ``rYES''.
Processing from P7 onwards is performed.

また、この実施例においては、ステップSP6において
、データ受信フラグの非セツト状態が所定回数以上連続
したかどうかを判定したが、送信が競合しないように構
成されたシステムにこの発明を適用する場合は、非セツ
ト状態が1回でも検出された場合に直ちに故障と判定す
るようにしてもよい。
Furthermore, in this embodiment, it is determined in step SP6 whether the data reception flag has been in the non-set state for a predetermined number of times or more, but when this invention is applied to a system configured to prevent transmission conflicts, Alternatively, if the non-set state is detected even once, it may be immediately determined that a failure has occurred.

「発明の効果」 以上説明したように、この発明によれば、送受信機能を
有する複数のノードの入出力端が各々1本の通信線で接
続されるとともに、面記各ノードが時分割多重送信を行
うように構成された多重通信システムにおいて、前記各
ノードは所定の周期毎にデータ送信を行うとともに、送
信を行わないタイミングにおいては前記通信線上のデー
タをモニタして前記所定の周期内に送信が行なわれなか
ったノードを検出し、1回または曳数回連続して送信が
検出されないノードがあった場合は当該ノードの送信機
能が停止していると判定するようにしたので、送信を行
わないノードが他のノードを相互に監視し、これにより
、システムの構成をなんら変えろことなく各ノードの作
動状態を正確に把握することができる。
"Effects of the Invention" As explained above, according to the present invention, the input/output ends of a plurality of nodes having transmitting/receiving functions are each connected by one communication line, and each node can transmit time-division multiplexing. In a multiplex communication system configured to perform this, each node transmits data at predetermined intervals, and when not transmitting data, monitors data on the communication line and transmits data within the predetermined cycle. If there is a node where transmission is not detected once or several times in a row, it is determined that the transmission function of that node has stopped, so transmission is not performed. Nodes mutually monitor other nodes, thereby making it possible to accurately grasp the operating status of each node without changing the configuration of the system.

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

第1図はこの発明の一実施例における送信信号を示す波
形図、第2図は同実施例における衝突検出後の送信中止
処理を説明するための波形図、第3図は車両に搭載され
る多重通信システムの構成を示すブロック図、第4図は
第1図に示すシステムのデータラインIOの構成を示す
回路図、第5図は同システムにおける出力信号を示す波
形図、第6図は同システムにおける送信データの態様を
示す概念図、第7図は従来の優先順位設定方法を用いた
場合の送信中断処理を説明するための波形図である。 I〜6・・・・・・ユニット(ノード)、la〜6a・
・・・・・入出力端、1b〜6b・・・・・・通信制御
部、10・・・・・・データライン、STR・・・・・
・スタート信号。
FIG. 1 is a waveform diagram showing a transmission signal in an embodiment of the present invention, FIG. 2 is a waveform diagram illustrating transmission abort processing after collision detection in the same embodiment, and FIG. 3 is a waveform diagram showing a transmission signal mounted on a vehicle. FIG. 4 is a block diagram showing the configuration of the multiplex communication system. FIG. 4 is a circuit diagram showing the configuration of the data line IO of the system shown in FIG. 1. FIG. 5 is a waveform diagram showing the output signals in the system. FIG. 7 is a conceptual diagram showing an aspect of transmission data in the system, and is a waveform diagram for explaining transmission interruption processing when a conventional priority setting method is used. I~6...Unit (node), la~6a・
...Input/output terminal, 1b to 6b...Communication control section, 10...Data line, STR...
・Start signal.

Claims (1)

【特許請求の範囲】[Claims] 送受信機能を有する複数のノードの入出力端が各々1本
の通信線で接続されるとともに、前記各ノードが時分割
多重送信を行うように構成された多重通信システムにお
いて、前記各ノードは所定の周期毎にデータ送信を行う
とともに、送信を行わないタイミングにおいては前記通
信線上のデータをモニタして送信が行なわれなかったノ
ードを前記所定の周期毎に検出し、1回または複数回連
続して送信が検出されないノードがあった場合は当該ノ
ードの送信機能が停止していると判定することを特徴と
する多重通信システムにおける作動状態判定方法。
In a multiplex communication system in which the input and output ends of a plurality of nodes having transmitting and receiving functions are each connected by a single communication line, and each of the nodes is configured to perform time division multiplex transmission, each of the nodes has a predetermined Data is transmitted every cycle, and when data is not being transmitted, the data on the communication line is monitored and nodes to which transmission has not been performed are detected every predetermined cycle, and the data is transmitted one or more times in succession. A method for determining an operating state in a multiplex communication system, characterized in that if there is a node for which transmission is not detected, it is determined that the transmission function of the node is stopped.
JP61050774A 1986-03-08 1986-03-08 Method for determining operating state in multiple communication system Expired - Fee Related JPH0720105B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP61050774A JPH0720105B2 (en) 1986-03-08 1986-03-08 Method for determining operating state in multiple communication system
US07/021,345 US4807231A (en) 1986-03-08 1987-03-03 Multiplex communication method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61050774A JPH0720105B2 (en) 1986-03-08 1986-03-08 Method for determining operating state in multiple communication system

Publications (2)

Publication Number Publication Date
JPS62208737A true JPS62208737A (en) 1987-09-14
JPH0720105B2 JPH0720105B2 (en) 1995-03-06

Family

ID=12868178

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61050774A Expired - Fee Related JPH0720105B2 (en) 1986-03-08 1986-03-08 Method for determining operating state in multiple communication system

Country Status (1)

Country Link
JP (1) JPH0720105B2 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58213548A (en) * 1982-06-05 1983-12-12 Omron Tateisi Electronics Co Method for transmitting polling
JPS60191536A (en) * 1984-03-13 1985-09-30 Nec Corp Data processing unit fault informing system
JPS60247768A (en) * 1984-05-23 1985-12-07 Daihatsu Motor Co Ltd Multiprocessor system of automobile
JPS6130144A (en) * 1984-07-20 1986-02-12 Fujitsu Ltd State monitor system
JPS62102646A (en) * 1985-10-30 1987-05-13 Hitachi Denshi Ltd Self-diagnosis system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58213548A (en) * 1982-06-05 1983-12-12 Omron Tateisi Electronics Co Method for transmitting polling
JPS60191536A (en) * 1984-03-13 1985-09-30 Nec Corp Data processing unit fault informing system
JPS60247768A (en) * 1984-05-23 1985-12-07 Daihatsu Motor Co Ltd Multiprocessor system of automobile
JPS6130144A (en) * 1984-07-20 1986-02-12 Fujitsu Ltd State monitor system
JPS62102646A (en) * 1985-10-30 1987-05-13 Hitachi Denshi Ltd Self-diagnosis system

Also Published As

Publication number Publication date
JPH0720105B2 (en) 1995-03-06

Similar Documents

Publication Publication Date Title
US4745597A (en) Reconfigurable local area network
US8842747B2 (en) Method for digital communication between a plurality of nodes connected by a serial field bus and corresponding system, in particular a field control system or field surveyance system
JPH0677968A (en) Apparatus and method for communication between nodes in network
JPS6276840A (en) Node equipment
JPH04213251A (en) Communication system
JPH06101732B2 (en) Communication control method
JPS62208737A (en) Operating state decision method in multiplex communication system
JPS61501242A (en) Multi-priority communication system
JP2002199473A (en) Data collection system and data collection method
JPH10232704A (en) Duplex programmable controller
JPS59168736A (en) Multi-drop transmission system
JPS62208738A (en) Communication interruption method in multiplex communication
JPH0311701B2 (en)
JPS61227443A (en) Transmitter
JPS62208736A (en) Priority setting method in multiplex communication
JPS62103745A (en) Transmission/reception control circuit for data communication
JPH06232882A (en) Time division multiplex communication system
JPH10248095A (en) Installation management system
JPH0646732B2 (en) Multiple communication system of single communication line
JPH0766818A (en) Token re-generating system
JPS61214832A (en) Method and device for gathering dynamic information
JPS6394733A (en) Signal transmission equipment
JPH04150434A (en) Method for transmitting serial bus data
JPH01209835A (en) Multi-address response control system
JPS6394735A (en) Faulty node detection method for loop network system

Legal Events

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