JPH03208429A - Time division multiplex communication system - Google Patents
Time division multiplex communication systemInfo
- Publication number
- JPH03208429A JPH03208429A JP246290A JP246290A JPH03208429A JP H03208429 A JPH03208429 A JP H03208429A JP 246290 A JP246290 A JP 246290A JP 246290 A JP246290 A JP 246290A JP H03208429 A JPH03208429 A JP H03208429A
- Authority
- JP
- Japan
- Prior art keywords
- communication
- data
- slave station
- collision
- communication 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.)
- Pending
Links
- 238000004891 communication Methods 0.000 title claims abstract description 79
- 230000005540 biological transmission Effects 0.000 claims abstract description 30
- 238000001514 detection method Methods 0.000 abstract description 16
- 230000005856 abnormality Effects 0.000 abstract description 2
- 238000010586 diagram Methods 0.000 description 8
- 238000000034 method Methods 0.000 description 2
- 238000007796 conventional method Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000000926 separation method Methods 0.000 description 1
Landscapes
- Time-Division Multiplex Systems (AREA)
Abstract
Description
【発明の詳細な説明】 〔発明の利用分野〕 この発明は、時分割多重通信システムに関し。[Detailed description of the invention] [Field of application of the invention] The present invention relates to a time division multiplex communication system.
例えば車両内の各電装部品間の信号の授受を行う通信装
置等に用いる時分割多重通信システムに関する。For example, the present invention relates to a time division multiplex communication system used in a communication device that transmits and receives signals between electrical components in a vehicle.
従来の車両内ネットワークの制御方法としては、例えば
第5図に示すようなものがある(例えば特開昭58−1
16897号公報に記載)。As a conventional method for controlling an in-vehicle network, for example, there is a method as shown in FIG.
16897).
第5図において、車両内に存在する各通信端末121〜
124には通信制御装置150が備えられている。また
、各通信端末にはそれぞれの通信端末へ信号を入力する
スイッチ素子131〜134と、各通信端末にそれぞれ
接続されているアクチュエータを駆動するための駆動素
子141〜144が接続されている。In FIG. 5, each communication terminal 121 to 121 present in the vehicle
124 is equipped with a communication control device 150. Further, each communication terminal is connected to switch elements 131 to 134 for inputting signals to the respective communication terminal, and drive elements 141 to 144 for driving actuators respectively connected to each communication terminal.
また、各通信端末は通信線110を介してすべて中央制
御通信端末111に接続されている。中央制御端末11
1においては通信制御装置170を介して制御コンピュ
ータ160が通信線110にアクセスすることが出来る
ようになっている。Furthermore, all communication terminals are connected to a central control communication terminal 111 via communication lines 110. Central control terminal 11
1, the control computer 160 can access the communication line 110 via the communication control device 170.
すなわち、中央制御通信端末111は親機であり、各通
信端末121.122,123,124は子の端末機と
考えられ、該親機の送信に対して該端末機が返信を行な
うポーリング方式の通信が相互に行なわれる。That is, the central control communication terminal 111 is a parent device, and each communication terminal 121, 122, 123, and 124 is considered to be a child terminal, and a polling method is used in which the terminal replies to the transmission from the parent device. Communication is mutual.
しかしながら、このような従来の時分割多重通信システ
ムにおいては、複数の通信装置(上記通信端末等)が共
通の通信線を介して接続されている方式となっているの
で、1個所の端末機が故障して、でたらめに送信を繰り
返した場合、親機と他の端末機の間の正常な通信の妨害
をしてしまうという問題点があった。However, in such conventional time division multiplex communication systems, multiple communication devices (such as the above communication terminals) are connected via a common communication line, so one terminal There was a problem in that if the device malfunctioned and repeated haphazard transmissions, it would interfere with normal communication between the base device and other terminals.
また、親機が故障した端末機をシステムから切り放そう
としても該故障した端末機の通信機能自体が機能しない
ため、外部から切り放すことが出来ないという問題点が
あった。Furthermore, even if an attempt is made to disconnect a terminal whose base unit has failed from the system, the communication function of the failed terminal itself does not function, so there is a problem in that it cannot be disconnected from the outside.
本発明は、上記のごとき従来技術の問題を解決するため
になされたもの°であり、故障した端末機を自動的に通
信線から切り離すことの出来る時分割多重通信システム
を提供することを目的とする。The present invention was made in order to solve the problems of the prior art as described above, and an object of the present invention is to provide a time division multiplex communication system that can automatically disconnect a malfunctioning terminal from a communication line. do.
上記の目的を達成するため、本発明においては、特許請
求の範囲に記載するように構成している。In order to achieve the above object, the present invention is configured as described in the claims.
すなわち本発明においては、所定の故障判定期間(例え
ば電源投入直後に起動)を設けて、その期間内には全て
の通信装置で順へ異なったタイミングで送信を行ない、
また、各通信装置毎に、上記故障判定期間内におけるデ
ータ衝突時、すなわち自己の通信装置の送信データと他
の通信装置の送信データとが同時期に送出された時に、
上記伝送線を介して自己と当該他の通信装置との間に流
れる過大電流を検知する手段と、上記過大電流の検知回
数が所定回数以上になると自己の通信装置を通信システ
ムから切り離す手段とを設け、上記のように規定回数以
上衝突を検知した端末機は、自らを故障とみなして通信
線から自動的に切り放すように構成したものである。That is, in the present invention, a predetermined failure determination period (for example, startup immediately after power is turned on) is provided, and within that period, all communication devices sequentially transmit data at different timings.
In addition, for each communication device, in the event of a data collision within the above-mentioned failure determination period, that is, when the transmission data of the own communication device and the transmission data of another communication device are sent out at the same time,
means for detecting excessive current flowing between the communication device and the other communication device via the transmission line; and means for disconnecting the communication device from the communication system when the number of times the excessive current is detected exceeds a predetermined number of times. If a terminal device detects a collision more than a predetermined number of times as described above, it will regard itself as having failed and automatically disconnect it from the communication line.
第1図は本発明の一実施例図であり、端末機のブロック
図を示す。FIG. 1 is a diagram showing one embodiment of the present invention, and shows a block diagram of a terminal.
第1図において、lOOは、端末機(前記の121等に
相当)であり、他の各端末機の送受信部および図示しな
い親機と通信線200を介して接続されている。In FIG. 1, lOO is a terminal (corresponding to the above-mentioned 121, etc.), and is connected via a communication line 200 to the transmitter/receiver section of each other terminal and to a base unit (not shown).
また、101はトライステート出力回路である。Further, 101 is a tri-state output circuit.
このトライステート出力回路101の出力状態は、送信
時に”o”(例えばOV)と’1”(例えば5V)から
なる送信データを出力し、それ以外の時は出力段のPc
hhランジスタ105とNchトランジスタ106の両
方がOFFするためHighインピーダンス出力となる
。The output state of this tri-state output circuit 101 is to output transmission data consisting of "o" (for example OV) and "1" (for example 5V) during transmission, and at other times output stage Pc
Since both the hh transistor 105 and the Nch transistor 106 are turned off, a high impedance output is obtained.
また、102は電流検知による衝突検知回路である。こ
の衝突検知回路102は1通常出力は1107+であり
、他の端末機の送信データと自己の送信データとが衝突
した場合にのみ衝突検知信号としてパ1′″を出力する
。すなわち、自己と他の端末機とが同時期に送信データ
を送出し、例えば、自己の送信データがii Ouで他
の端末機が11111になった場合には、他の端末機の
出力段のPchトランジスタ105と自己の出力段のN
chトランジスタ106が同時にオンするため、通信線
を介して貫通電流が発生する。この貫通電流を検知する
と衝突検知信号として111 IIを出力する6上記と
反対に、自己の送信データが1”で他の端末機が“0”
になった場合にも同様に貫通電流が生じ、衝突検知信号
は1nとなる。Further, 102 is a collision detection circuit using current detection. This collision detection circuit 102 has a normal output of 1107+, and outputs P1''' as a collision detection signal only when transmission data of another terminal and its own transmission data collide. terminal transmits transmission data at the same time, and for example, if its own transmission data is ii Ou and the other terminal transmits data 11111, the Pch transistor 105 in the output stage of the other terminal and the self N of the output stage of
Since the channel transistors 106 are turned on at the same time, a through current is generated through the communication line. When this through-current is detected, it outputs 111 II as a collision detection signal.6Contrary to the above, the own transmission data is 1" and the other terminal is 0.
In the case of , a through current similarly occurs, and the collision detection signal becomes 1n.
なお、送信データは“0”と1”との組み合せからなり
、1つの端末機の送信データと他の端末機の送信データ
とが完全に一致することは通常者えられないので、同時
期に2つの端末機から送信データが送出されれば、その
間に上記のように一方がo”で他方が“1”となる時間
が必ず存在するものと考えられ、そのときに貫通電流が
流れる。したがって1回の送信データの衝突の間に複数
回貫通電流が流れることが予想されるが、衝突検知回路
102は、1回の送信の間に1回でも貫通電流が流れれ
ば衝突検知信号をtr 1 ++とじ、その送信の間そ
の状態を保持する。すなわち、1回の送信データの衝突
があると衝突検知信号は1回だけ“1′″となる。Note that the transmitted data consists of a combination of "0" and 1, and it is usually not possible for the transmitted data of one terminal to completely match the transmitted data of another terminal. When transmission data is sent from two terminals, there is always a time during which one terminal becomes "o" and the other terminal becomes "1", and a through current flows at that time. Therefore, it is expected that a through current will flow multiple times during one transmission data collision, but the collision detection circuit 102 will generate a collision detection signal if a through current flows even once during one transmission. tr 1 ++ and retains its state during its transmission. In other words, when there is one transmission data collision, the collision detection signal becomes "1'" only once.
次に、103はカウンタ回路である。このカウンタ回路
103は、故障判定期間の間、上記のごとき衝突検知回
路102からの衝突検知信号をカウントする。その値が
2(すなわち衝突が2回)以上になると、その出力を゛
′1″固定とする。Next, 103 is a counter circuit. This counter circuit 103 counts the collision detection signals from the collision detection circuit 102 as described above during the failure determination period. When the value becomes 2 (that is, two collisions) or more, the output is fixed at ``'1''.
上記のカウンタ回路103の出力は、ノア回路104の
一方の入力に接続され、該ノア回路のもう一方の入力に
は出力コントロール信号が入力される。そして該ノア回
路104の出力は前記トライステート出力回路101に
接続されている。The output of the counter circuit 103 is connected to one input of a NOR circuit 104, and an output control signal is input to the other input of the NOR circuit. The output of the NOR circuit 104 is connected to the tristate output circuit 101.
次に作用を説明する。Next, the action will be explained.
説明を簡単にするため、第2図(、)に示すごとく親局
と3個の子局の端末機とで構成された通信システムを例
にとして説明する。なお、各子局の出力部には第1図に
示した衝突検知回路が内蔵されている。To simplify the explanation, a communication system configured with a master station and three slave station terminals as shown in FIG. 2(,) will be explained as an example. Note that the output section of each slave station has a built-in collision detection circuit shown in FIG.
所定の故障判定期間(例えば電源投入直後に起動)にな
ると、親局内の制御コンピュータの故障判定ルーチンが
起動され、まず親局が各子局に順次送信指令を送り、そ
れに応じて各子局が順次送信データを送出する。When a predetermined failure determination period (for example, started immediately after power-on) is reached, the failure determination routine of the control computer in the master station is started, and the master station first sends transmission commands to each slave station in order, and each slave station responds accordingly. Send the transmission data sequentially.
各子局が正常な状態の場合は、第2図(b)に示すよう
に、お互いの送信データが通信線上で衝突を起すことは
ない。When each slave station is in a normal state, as shown in FIG. 2(b), there will be no collision of mutually transmitted data on the communication line.
しかし、例えば子局1がアドレス判定回路等の異常によ
り、親局が発信する全ての送信指令に対してデータを送
信してしまうという故障が生じた場合には、子局1は子
局2および子局3に対する送信指令にも応動するため、
本来、子局2、子局3がデータを送信するタイミングに
おいてもデータを送信してしまい、そのためデータ衝突
が発生する。However, if, for example, a failure occurs in slave station 1 due to an abnormality in the address determination circuit or the like, in which data is sent in response to all transmission commands issued by the master station, slave station 1 will transmit data to slave station 2 and In order to respond to transmission commands to slave station 3,
Originally, the slave stations 2 and 3 would transmit data at the same timing as when transmitting data, resulting in a data collision.
上記のような状態になると、各子局の衝突検知回路は、
下記第1表のタイミングで衝突を検知し。When the above situation occurs, the collision detection circuit of each slave station will
A collision is detected at the timing shown in Table 1 below.
その結果、故障している子局1のみがデータ衝突を2回
以上検知することになる。As a result, only the faulty slave station 1 will detect data collisions two or more times.
第1表
カウンタ回路103は、前記のように衝突回数を2以上
カウントすると1″′を出力する構成となっているので
、その信号がノア回路104を介してトライステート回
路101に与えられ、そのためトライステート回路10
1の出力は常時ハイインピーダンスとなり、その結果、
子局1は通信線200から切り離される。The counter circuit 103 in Table 1 is configured to output 1'' when the number of collisions is counted 2 or more as described above, so that signal is given to the tri-state circuit 101 via the NOR circuit 104, and therefore Tri-state circuit 10
The output of 1 is always high impedance, and as a result,
The slave station 1 is disconnected from the communication line 200.
次に、第3図は本発明の他の実施例図であり、複数の対
等の通信局を備えた通信システムに本発明を適用した場
合を示す。Next, FIG. 3 is a diagram showing another embodiment of the present invention, in which the present invention is applied to a communication system having a plurality of equal communication stations.
第3図において、300は、制御コンピュータ301及
び通信制御装置302を具備した通信局である。そして
複数の通信局300が通信線200を介して接続されて
おり、各々の通信局が他の通信局との相互通信を行なっ
ている。In FIG. 3, 300 is a communication station equipped with a control computer 301 and a communication control device 302. A plurality of communication stations 300 are connected via communication lines 200, and each communication station performs mutual communication with other communication stations.
なお、上記の通信制御装置302内には、前記第1図に
示した衝突検知・切り離し装置が設けられている。Note that the collision detection/separation device shown in FIG. 1 is provided in the communication control device 302 described above.
上記の通信システムは、例えば、電源投入直後、自動的
に″故障判定ルーチン”に入り、各々の通信局が、各自
の具備するタイマに基づいて異なるタイミングで、第4
図に示すごときデータを通信線200上に送出する。そ
して、1個所以上の通信局が故障して誤ったデータを誤
ったタイミングで送信した場合には、前記第1図の実施
例と同様に、故障した通信局が複数回の衝突を検知し、
自動的に自己をシステムから切り放す。For example, the above communication system automatically enters a "failure determination routine" immediately after power is turned on, and each communication station performs the fourth call at different timings based on the timer of each communication station.
Data as shown in the figure is sent onto the communication line 200. If one or more communication stations fail and send incorrect data at the wrong timing, the failed communication station detects multiple collisions, similar to the embodiment shown in FIG.
Automatically remove yourself from the system.
以上説明してきたように、この発明によれば、故障判定
期間においては各通信装置が全て通信を行ない、その中
で規定回数以上衝突を検知した端末機は自らを故障とみ
なして自動的に通信線から切り放すように構成したこと
により、成る通信装置、例えば端末機が故障した場合で
もその端末機を自動的にシステムから切り放すことによ
って、他の正常な通信装置の間の通信を続けることが出
来る、という効果が得られる。As explained above, according to the present invention, all communication devices communicate during the failure determination period, and a terminal device that detects a collision more than a specified number of times considers itself to be in failure and automatically communicates. By configuring the system so that it can be disconnected from the line, even if a communication device such as a terminal breaks down, that terminal is automatically disconnected from the system and communication between other normal communication devices can continue. The effect is that it can be done.
第1図は本発明の一実施例のブロック図、第2図は第1
図の実施例における動作波形図、第3図は本発明の他の
実施例のブロック図、第4図は第3図の実施例における
動作波形図、第5図は従来装置の一例図である。
〈符号の説明〉
100・・・端末機(子局)
101・・・トライステート出力回路
102・・・衝突検知回路
103・・・カウンタ回路
104・・・ノア回路
105・・・Pchトランジスタ
106・・・Nch)−ランジスタ
200・・・通信線FIG. 1 is a block diagram of one embodiment of the present invention, and FIG. 2 is a block diagram of an embodiment of the present invention.
FIG. 3 is a block diagram of another embodiment of the present invention, FIG. 4 is an operating waveform diagram of the embodiment shown in FIG. 3, and FIG. 5 is an example diagram of a conventional device. . <Explanation of symbols> 100... Terminal (slave station) 101... Tri-state output circuit 102... Collision detection circuit 103... Counter circuit 104... NOR circuit 105... Pch transistor 106 ...Nch)-ransistor 200...communication line
Claims (1)
信装置との間で時分割で通信データを送受信する複数の
通信装置を備えた時分割多重通信システムにおいて、 所定の故障判定期間には全ての通信装置に各々異なった
タイミングで順次送信データを送出するように制御する
手段を備え、 また、各通信装置毎に、上記故障判定期間内におけるデ
ータ衝突時、すなわち自己の通信装置の送信データと他
の通信装置の送信データとが同時期に送出された時に、
上記伝送線を介して自己と当該他の通信装置との間に流
れる過大電流を検知する手段と、上記過大電流の検知回
数が所定回数以上になると自己の通信装置を通信システ
ムから切り離す手段と、を備えたことを特徴とする時分
割多重通信システム。[Claims] In a time division multiplex communication system including a plurality of communication devices connected to a common transmission line and transmitting and receiving communication data in a time division manner with other communication devices connected to the transmission line. , includes means for controlling each communication device to sequentially send transmission data at different timings to each communication device during a predetermined failure determination period; In other words, when the transmission data of one's own communication device and the transmission data of another communication device are sent out at the same time,
means for detecting an excessive current flowing between the communication device and the other communication device via the transmission line; and means for disconnecting the communication device from the communication system when the number of times the excessive current is detected exceeds a predetermined number of times; A time division multiplex communication system characterized by comprising:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP246290A JPH03208429A (en) | 1990-01-11 | 1990-01-11 | Time division multiplex communication system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP246290A JPH03208429A (en) | 1990-01-11 | 1990-01-11 | Time division multiplex communication system |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH03208429A true JPH03208429A (en) | 1991-09-11 |
Family
ID=11529971
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP246290A Pending JPH03208429A (en) | 1990-01-11 | 1990-01-11 | Time division multiplex communication system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH03208429A (en) |
-
1990
- 1990-01-11 JP JP246290A patent/JPH03208429A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4562575A (en) | Method and apparatus for the selection of redundant system modules | |
US6643465B1 (en) | Method for checking a ring optical network line for data transmission between a plurality of network subscribers in a motor vehicle | |
JP2851124B2 (en) | Multiplex transmission method | |
US11372796B2 (en) | Bus subscriber and method for operating a bus subscriber | |
JPH03230638A (en) | Multiplex communication controller | |
JP2003512769A (en) | Network with multiple network nodes for media access check | |
US8744805B2 (en) | Monitoring system | |
US5499336A (en) | Monitoring a computer network | |
KR100686397B1 (en) | Network comprising a plurality of network nodes and at least one star node | |
JPH03208429A (en) | Time division multiplex communication system | |
KR0129174B1 (en) | Process for monitoring a computer | |
JP4125233B2 (en) | Method for communicating notification information between bus participants | |
JPS61295738A (en) | Transmission controller | |
JP2518517B2 (en) | Communication bus monitoring device | |
JPH1049506A (en) | Multiplex transmission equipment | |
JP2003248633A (en) | Method of encoding/decoding binary signal state in fault tolerant environment | |
JP3472891B2 (en) | Control communication system | |
JPH0511587U (en) | Transmission device | |
JPH04368035A (en) | Group communication method | |
JP2743893B2 (en) | Driver circuit failure determination method, failure location reporting method and peripheral device | |
CN114942866A (en) | LIN main testing device | |
JPH05183605A (en) | Hardware control system for serial interface | |
JP3176463B2 (en) | Interrupt control circuit | |
JP2548063Y2 (en) | Multi-distributor | |
JPS60204144A (en) | Fault detecting system in bus type communication system |