JP2010206651A - Communication repeater, communication relay method, communication network, and electronic controller - Google Patents

Communication repeater, communication relay method, communication network, and electronic controller Download PDF

Info

Publication number
JP2010206651A
JP2010206651A JP2009051221A JP2009051221A JP2010206651A JP 2010206651 A JP2010206651 A JP 2010206651A JP 2009051221 A JP2009051221 A JP 2009051221A JP 2009051221 A JP2009051221 A JP 2009051221A JP 2010206651 A JP2010206651 A JP 2010206651A
Authority
JP
Japan
Prior art keywords
communication
signal
transmission
transfer path
reception unit
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
Application number
JP2009051221A
Other languages
Japanese (ja)
Inventor
Norio Abe
典男 安部
Hiroya Ando
博哉 安藤
Osamu Hirashima
理 平嶋
Yusuke Sato
雄介 佐藤
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.)
Toyota Motor Corp
Original Assignee
Toyota Motor 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 Toyota Motor Corp filed Critical Toyota Motor Corp
Priority to JP2009051221A priority Critical patent/JP2010206651A/en
Publication of JP2010206651A publication Critical patent/JP2010206651A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a communication repeater capable of transferring a signal from a transfer source of a transfer route to a transfer destination via an alternative route, even if any fault occurs in a signal transfer route within the communication repeater. <P>SOLUTION: The communication repeater includes plural transceivers, plural transfer routes, a routing control unit, and a communication fault detection unit. The transceiver unit is provided for each communication bus, and receives a signal from the communication bus to which the self transceiver unit is connected and recognizes the contents of the signal. While transferring the received signal to the other transceiver unit, the transceiver unit sends the signal transferred from the other transceiver unit to the communication bus to which the self transceiver unit is connected. The routing control unit controls a destination transceiver to which the signal received by the transceiver unit is to be transferred in accordance with the contents of the signal. When any communication fault of the transfer route is detected, the routing control unit switches the transfer route so that a signal to be transferred in a fault transfer route in which the communication fault is detected at the beginning may be transferred from the transfer source of the fault transfer route to the transfer destination via any transfer route other than the fault transfer route. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は通信中継装置、通信中継方法、通信ネットワークおよび電子制御装置に関し、より詳しくは、通信中継装置内で信号の転送経路に異常が生じてその転送経路を経由した信号の転送ができなくなっても、迂回経路を経由して信号を転送することができる通信中継装置、通信中継方法、通信ネットワークおよびその通信中継装置と協働する電子制御装置に関する。   The present invention relates to a communication relay device, a communication relay method, a communication network, and an electronic control device. More specifically, an abnormality occurs in a signal transfer path in the communication relay device, and a signal cannot be transferred via the transfer path. The present invention also relates to a communication relay device, a communication relay method, a communication network, and an electronic control device that cooperates with the communication relay device that can transfer a signal via a detour path.

近年、自動車の車載ネットワークを構成する電子制御装置(ECU)の数が増加している。図20は、従来の車載ネットワークの一例を示す図である。図21は、図20に示される車載ネットワークを構成する通信中継装置を示す図である。   In recent years, the number of electronic control units (ECUs) constituting an in-vehicle network of an automobile has increased. FIG. 20 is a diagram illustrating an example of a conventional in-vehicle network. FIG. 21 is a diagram showing a communication relay device constituting the in-vehicle network shown in FIG.

図20に示されるように、従来の車載ネットワーク260は、複数の通信バス262〜264と、通信バス262〜264に接続された複数の電子制御装置(ECU)A〜Fと、通信バス262〜264に接続された電子制御装置A〜F間の通信を中継する通信中継装置(ゲートウェイ)265とから構成されている。近年の通信中継装置は、3本以上の通信バスを接続することが多くなっている。また、近年の通信中継装置は、CANプロトコルに基づく通信を行うことが多い。以下、通信中継装置の一例として、3本の通信バス262〜264に接続された電子制御装置A〜F間のCANプロトコル通信を中継する通信中継装置265について説明する。   As shown in FIG. 20, a conventional in-vehicle network 260 includes a plurality of communication buses 262 to 264, a plurality of electronic control units (ECUs) A to F connected to the communication buses 262 to 264, and a communication bus 262. And a communication relay device (gateway) 265 that relays communication between the electronic control devices A to F connected to H.264. In recent years, communication relay apparatuses are often connected with three or more communication buses. Further, recent communication relay apparatuses often perform communication based on the CAN protocol. Hereinafter, a communication relay device 265 that relays CAN protocol communication between the electronic control devices A to F connected to the three communication buses 262 to 264 will be described as an example of the communication relay device.

図21に示されるように、通信中継装置265は、複数の送受信部266〜268と、複数の転送経路211〜213と、ルーティング制御部271とを備えている。   As illustrated in FIG. 21, the communication relay device 265 includes a plurality of transmission / reception units 266 to 268, a plurality of transfer paths 211 to 213, and a routing control unit 271.

送受信部266は通信バス262に対して設けられ、送受信部267は通信バス263に対して設けられ、送受信部268は通信バス264に対して設けられている。各送受信部266〜268は、自己が接続された通信バスから信号を受信して当該信号の内容を認識する。各送受信部266〜268は、受信した信号の内容に応じたルーティング制御部271からの指示に基づき、当該信号を他の送受信部のいずれかへ選択的に転送する。また、各送受信部266〜268は、他の送受信部から転送されてきた信号を自己が接続された通信バスへ送信する。各送受信部266〜268は、トランシーバ269と、CANコントローラ270とを含む。   The transmission / reception unit 266 is provided for the communication bus 262, the transmission / reception unit 267 is provided for the communication bus 263, and the transmission / reception unit 268 is provided for the communication bus 264. Each of the transmission / reception units 266 to 268 receives a signal from the communication bus to which it is connected and recognizes the content of the signal. Each of the transmission / reception units 266 to 268 selectively transfers the signal to one of the other transmission / reception units based on an instruction from the routing control unit 271 corresponding to the content of the received signal. Each of the transmission / reception units 266 to 268 transmits a signal transferred from another transmission / reception unit to a communication bus to which the transmission / reception unit 266 to 268 is connected. Each of the transmission / reception units 266 to 268 includes a transceiver 269 and a CAN controller 270.

トランシーバ269は、ツイストペア線である通信バス262(263,264)から入力した差動アナログ信号をデジタル信号に変換し、そのデジタル信号をCANコントローラ270へ出力する。また、トランシーバ269は、CANコントローラ270から出力されたデジタル信号を差動アナログ信号に変換し、その差動アナログ信号を通信バス262(263,264)へ出力する。   The transceiver 269 converts the differential analog signal input from the communication bus 262 (263, 264), which is a twisted pair line, into a digital signal, and outputs the digital signal to the CAN controller 270. The transceiver 269 converts the digital signal output from the CAN controller 270 into a differential analog signal, and outputs the differential analog signal to the communication bus 262 (263, 264).

CANコントローラ270は、トランシーバ269から入力したデジタル信号の内容を識別し、その内容をルーティング制御部271に出力する。CANコントローラ270は、トランシーバ269から入力したデジタル信号を、ルーティング制御部271からの指示に基づいて、選択的に他の送受信部へ転送する。また、CANコントローラ270は、他のCANコントローラ270から転送されてきたデジタル信号を、自己が接続されているトランシーバ269へ出力する。   The CAN controller 270 identifies the content of the digital signal input from the transceiver 269 and outputs the content to the routing control unit 271. The CAN controller 270 selectively transfers the digital signal input from the transceiver 269 to another transmission / reception unit based on an instruction from the routing control unit 271. Further, the CAN controller 270 outputs the digital signal transferred from the other CAN controller 270 to the transceiver 269 to which the CAN controller 270 is connected.

ルーティング制御部271は、送受信部266〜268で受信された信号を、当該信号の内容に応じていずれの送受信部へ転送するかを制御する。具体的には、ルーティング制御部271は、CANコントローラ270から入力したデジタル信号の内容に応じて、そのデジタル信号をいずれのCANコントローラ270へ転送すべきかを転送元のCANコントローラ270に指示する。   The routing control unit 271 controls to which transmission / reception unit the signals received by the transmission / reception units 266 to 268 are transferred according to the content of the signal. Specifically, the routing control unit 271 instructs the transfer source CAN controller 270 to which CAN controller 270 the digital signal should be transferred according to the content of the digital signal input from the CAN controller 270.

この通信中継装置260によれば、転送元のCANコントローラ270がトランシーバ269を介して通信バスから信号を入力する。ルーティング制御部271は、転送元のCANコントローラ270が入力した信号の内容に応じて、転送先を指示する信号を転送元のCANコントローラ270に出力する。転送先の指示を受けたCANコントローラ270は、転送先のCANコントローラ270に信号を転送する。転送先のCANコントローラ270は、信号をトランシーバ269を介して通信バスへ出力する。よって、通信中継装置260内において、信号の内容に応じた適切なルーティングが行われる。   According to the communication relay device 260, the transfer source CAN controller 270 inputs a signal from the communication bus via the transceiver 269. The routing control unit 271 outputs a signal indicating the transfer destination to the transfer source CAN controller 270 according to the content of the signal input by the transfer source CAN controller 270. The CAN controller 270 that has received the transfer destination instruction transfers the signal to the transfer destination CAN controller 270. The transfer destination CAN controller 270 outputs the signal to the communication bus via the transceiver 269. Therefore, in the communication relay apparatus 260, appropriate routing according to the content of the signal is performed.

しかしながら、上記した従来の通信中継装置260には以下の問題があった。
送受信部266〜268間の転送経路211〜213のいずれかに異常が発生し、その経路を経由して信号を転送することができなくなった場合、従来は、通信中継装置260をリセットすることにより、転送経路の復帰を試みていた。しかしながら、リセットをしても転送経路が復帰しない場合は、信号の転送ができないという問題があった。
However, the above-described conventional communication relay device 260 has the following problems.
When an abnormality occurs in any of the transfer paths 211 to 213 between the transmission / reception units 266 to 268 and a signal cannot be transferred via the path, conventionally, the communication relay device 260 is reset. , Trying to restore the transfer path. However, if the transfer path does not return even after resetting, there is a problem that the signal cannot be transferred.

特許文献1には、3本の通信バスに各々接続された電子制御装置間のCANプロトコル通信を中継する通信中継装置(ゲートウェイ)が開示されている。しかしながら、特許文献1に記載の通信中継装置は、当該通信中継装置内の転送経路のいずれかに異常が生じてその転送経路による信号の転送ができなくなった場合、その転送経路での転送が予定されている信号を転送することができず、電子制御装置間の通信を中継することができない。   Patent Document 1 discloses a communication relay device (gateway) that relays CAN protocol communication between electronic control devices respectively connected to three communication buses. However, the communication relay device described in Patent Document 1 is scheduled to transfer on the transfer route when an abnormality occurs in any of the transfer routes in the communication relay device and the transfer of the signal through the transfer route becomes impossible. The transmitted signal cannot be transferred, and communication between the electronic control units cannot be relayed.

特開2002−243591号公報Japanese Patent Laid-Open No. 2002-243591

本発明は、このような実情に鑑みてなされたもので、通信中継装置内で信号の転送経路に異常が生じてその転送経路を経由した信号の転送ができなくなっても、迂回経路を経由して信号を転送することができる通信中継装置、通信中継方法、通信ネットワークおよびその通信中継装置と協働する電子制御装置の提供を目的とする。   The present invention has been made in view of such circumstances, and even if an abnormality occurs in the signal transfer path in the communication relay device and the signal cannot be transferred via the transfer path, the present invention passes through the detour path. It is an object of the present invention to provide a communication relay device, a communication relay method, a communication network, and an electronic control device that cooperates with the communication relay device.

第1の発明は、
3本以上の通信バスが接続され、各上記通信バスに接続された電子制御装置間の通信を中継する通信中継装置であって、
複数の送受信部と、
複数の転送経路と、
ルーティング制御部と、
通信異常検出部とを備え、
上記送受信部は、上記通信バス毎に設けられ、自己が接続された上記通信バスから信号を受信して当該信号の内容を認識し、受信した当該信号を他の上記送受信部へ転送する一方、他の上記送受信部から転送されてきた信号を自己が接続された上記通信バスへ送信し、
上記ルーティング制御部は、上記送受信部で受信された信号が、当該信号の内容に応じていずれの上記送受信部へ転送されるかを制御し、
上記通信異常検出部は、上記送受信部間の上記転送経路に通信異常が生じたことを検出し、
上記ルーティング制御部は、上記通信異常検出部で通信異常が検出された場合、当初は通信異常が検出された異常転送経路で転送される予定であった信号が、当該異常転送経路の転送元から転送先へ当該異常転送経路以外の上記転送経路を経由して迂回転送されるように転送経路を切替えることを特徴とする通信中継装置である。
The first invention is
Three or more communication buses are connected, a communication relay device that relays communication between the electronic control devices connected to each of the communication buses,
A plurality of transceiver units;
Multiple transfer paths,
A routing controller;
A communication abnormality detection unit,
The transmission / reception unit is provided for each communication bus, receives a signal from the communication bus to which the communication bus is connected, recognizes the content of the signal, and transfers the received signal to the other transmission / reception unit, Send the signal transferred from the other transceiver unit to the communication bus to which it is connected,
The routing control unit controls which of the transmission / reception units the signal received by the transmission / reception unit is transferred according to the content of the signal,
The communication abnormality detection unit detects that a communication abnormality has occurred in the transfer path between the transmission and reception units,
When a communication abnormality is detected by the communication abnormality detection unit, the routing control unit initially transmits a signal that is scheduled to be transferred through the abnormal transfer path in which the communication abnormality is detected from the transfer source of the abnormal transfer path. A communication relay device that switches a transfer route so that a detour transfer is performed to the transfer destination via the transfer route other than the abnormal transfer route.

第1の発明によれば、通信中継装置内で信号の転送経路に異常が生じてその転送経路を経由した信号の転送ができなくなっても、異常が生じた転送経路の転送元から転送先へ迂回経路を経由して信号を転送することができる。   According to the first invention, even if an abnormality occurs in the signal transfer path in the communication relay device and the signal cannot be transferred via the transfer path, the transfer source from the transfer path in which the abnormality has occurred is transferred to the transfer destination. Signals can be transferred via a detour path.

第2の発明は、第1の発明において、
上記転送経路は、上記送受信部を介して一周するように相互に接続された第1の転送経路と第2の転送経路と第3の転送経路とを含み、
上記送受信部は、上記第1の転送経路と上記第2の転送経路を接続する第1の送受信部と、上記第2の転送経路と上記第3の転送経路を接続する第2の送受信部と、上記第3の転送経路と上記第1の転送経路を接続する第3の送受信部とを含み、
上記電子制御装置は、上記通信バスから受信した信号を当該通信バスへ返信する返信機能を有し、
上記通信異常検出部が上記第1の転送経路の通信異常を検出した場合、
(A)上記第1の送受信部は、当初は上記第1の送受信部から上記第1の転送経路を経由して上記第3の送受信部へ転送される予定であった信号を上記第2の転送経路を経由して上記第2の送受信部へ転送し、
(B)上記第2の送受信部は、上記第1の送受信部から転送されてきた信号を自己が接続された上記通信バスへ送信し、
(C)上記第2の送受信部は、自己が送信した信号と同じ内容の信号が上記電子制御装置から返信されてきた時、当該返信されてきた信号を受信し、受信した信号を上記第3の転送経路を経由して上記第3の送受信部へ転送することを特徴とする。
According to a second invention, in the first invention,
The transfer path includes a first transfer path, a second transfer path, and a third transfer path that are connected to each other through the transmission / reception unit.
The transmission / reception unit includes: a first transmission / reception unit that connects the first transfer path and the second transfer path; a second transmission / reception unit that connects the second transfer path and the third transfer path; A third transmission / reception unit connecting the third transfer path and the first transfer path,
The electronic control device has a reply function for returning a signal received from the communication bus to the communication bus,
When the communication abnormality detection unit detects a communication abnormality in the first transfer path,
(A) The first transmission / reception unit transmits a signal that was originally scheduled to be transferred from the first transmission / reception unit to the third transmission / reception unit via the first transfer path. Transfer to the second transmitter / receiver via the transfer path,
(B) The second transmission / reception unit transmits the signal transferred from the first transmission / reception unit to the communication bus to which the second transmission / reception unit is connected,
(C) When a signal having the same content as the signal transmitted by itself is replied from the electronic control unit, the second transmitting / receiving unit receives the replied signal, and receives the received signal as the third signal. It transfers to the said 3rd transmission / reception part via this transfer path | route, It is characterized by the above-mentioned.

第2の発明によれば、送受信部(第2の送受信部)が信号を通信バスに送信している間は当該送受信部(第2の送受信部)は送信中の信号と同じ内容の信号を受信して他の送受信部(第3の送受信部)へ転送することができない通信プロトコル(例えばCANプロトコル)が使用されている場合であっても、送受信部(第2の送受信部)は送信した信号と同じ内容の信号を電子制御装置から受信して他の送受信部(第3の送受信部)へ転送することができる。よって、第2の発明によれば、通信異常により第1の転送経路を経由して信号を転送することができなくなっても、第2の転送経路および第3の転送経路を経由して信号を転送することができる。   According to the second invention, while the transmission / reception unit (second transmission / reception unit) is transmitting a signal to the communication bus, the transmission / reception unit (second transmission / reception unit) outputs a signal having the same content as the signal being transmitted. Even if a communication protocol (for example, CAN protocol) that cannot be received and transferred to another transmission / reception unit (third transmission / reception unit) is used, the transmission / reception unit (second transmission / reception unit) has transmitted. A signal having the same content as the signal can be received from the electronic control unit and transferred to another transmitting / receiving unit (third transmitting / receiving unit). Therefore, according to the second invention, even if it becomes impossible to transfer a signal via the first transfer path due to a communication error, the signal is transmitted via the second transfer path and the third transfer path. Can be transferred.

第3の発明は、第2の発明において、
上記通信異常検出部が上記第1の転送経路の通信異常を検出した場合、上記第2の送受信部は、通信異常を知らせる異常報知信号を自己が接続された上記通信バスへ送信し、
上記電子制御装置は、上記異常報知信号を受信した場合、その後に受信した信号を上記通信バスへ返信することを特徴とする。
According to a third invention, in the second invention,
When the communication abnormality detection unit detects a communication abnormality in the first transfer path, the second transmission / reception unit transmits an abnormality notification signal informing the communication abnormality to the communication bus to which the self is connected,
When the electronic control device receives the abnormality notification signal, the electronic control device returns a signal received thereafter to the communication bus.

第3の発明によれば、電子制御装置は、異常報知信号を受信した後に受信した信号を返信する。よって、電子制御装置が、受信した信号を常に返信する場合に比べて、通信バスに流れる信号の量が減り、信号が衝突(コリジョン)する度合いを低減することができる。   According to the third invention, the electronic control unit returns the received signal after receiving the abnormality notification signal. Therefore, compared with the case where the electronic control device always returns the received signal, the amount of the signal flowing through the communication bus is reduced, and the degree of collision of the signals can be reduced.

第4の発明は、第1の発明において、
上記転送経路は、上記送受信部を介して一周するように相互に接続された第1の転送経路と第2の転送経路と第3の転送経路とを含み、
上記送受信部は、上記第1の転送経路と上記第2の転送経路を接続する第1の送受信部と、上記第2の転送経路と上記第3の転送経路を接続する第2の送受信部と、上記第3の転送経路と上記第1の転送経路を接続する第3の送受信部とを含み、
上記通信異常検出部が上記第1の転送経路の通信異常を検出した場合、
(A)上記第1の送受信部は、当初は上記第1の送受信部から上記第1の転送経路を経由して上記第3の送受信部へ転送される予定であった信号を上記第2の転送経路を経由して上記第2の送受信部へ転送し、
(B)上記第2の送受信部は、上記第1の送受信部から転送されてきた信号を自己が接続された上記通信バスへ送信し、
(C)上記第2の送受信部は、自己が送信した信号を受信し、受信した信号を上記第3の転送経路を経由して上記第3の送受信部へ転送することを特徴とする。
According to a fourth invention, in the first invention,
The transfer path includes a first transfer path, a second transfer path, and a third transfer path that are connected to each other through the transmission / reception unit.
The transmission / reception unit includes: a first transmission / reception unit that connects the first transfer path and the second transfer path; a second transmission / reception unit that connects the second transfer path and the third transfer path; A third transmission / reception unit connecting the third transfer path and the first transfer path,
When the communication abnormality detection unit detects a communication abnormality in the first transfer path,
(A) The first transmission / reception unit transmits a signal that was originally scheduled to be transferred from the first transmission / reception unit to the third transmission / reception unit via the first transfer path. Transfer to the second transmitter / receiver via the transfer path,
(B) The second transmission / reception unit transmits the signal transferred from the first transmission / reception unit to the communication bus to which the second transmission / reception unit is connected,
(C) The second transmission / reception unit receives a signal transmitted by the second transmission / reception unit, and transfers the received signal to the third transmission / reception unit via the third transfer path.

第4の発明によれば、送受信部(第2の送受信部)は自己が通信バスへ送信した信号を当該通信バスから受信して他の送受信部(第3の送受信部)へ転送することができる。よって、第4の発明によれば、通信異常により第1の転送経路を経由して信号を転送することができなくなっても、第2の転送経路および第3の転送経路を経由して信号を転送することができる。   According to the fourth aspect of the invention, the transmission / reception unit (second transmission / reception unit) can receive the signal transmitted to the communication bus from the communication bus and transfer it to another transmission / reception unit (third transmission / reception unit). it can. Therefore, according to the fourth invention, even if it becomes impossible to transfer a signal via the first transfer path due to a communication error, the signal is transmitted via the second transfer path and the third transfer path. Can be transferred.

第5の発明は、第4の発明において、
上記第2の送受信部は2つの送受信部から成り、当該2つの送受信部の一方が上記通信バスへ送信した信号を、他方の送受信部が受信することを特徴とする。
A fifth invention is the fourth invention,
The second transmitting / receiving unit includes two transmitting / receiving units, and the other transmitting / receiving unit receives a signal transmitted from one of the two transmitting / receiving units to the communication bus.

第5の発明によれば、送受信部(第2の送受信部)が信号を通信バスに送信している間は当該送受信部(第2の送受信部)は送信中の信号と同じ内容の信号を受信して他の送受信部(第3の送受信部)へ転送することができない通信プロトコル(例えばCANプロトコル)が使用されている場合であっても、送受信部(第2の送受信部)は自己が送信した信号を当該通信バスから受信して他の送受信部(第3の送受信部)へ転送することができる。よって、第5の発明によれば、通信異常により第1の転送経路を経由して信号を転送することができなくなっても、第2の転送経路および第3の転送経路を経由して信号を転送することができる。   According to the fifth aspect, while the transmission / reception unit (second transmission / reception unit) is transmitting a signal to the communication bus, the transmission / reception unit (second transmission / reception unit) outputs a signal having the same content as the signal being transmitted. Even when a communication protocol (for example, CAN protocol) that cannot be received and transferred to another transmission / reception unit (third transmission / reception unit) is used, the transmission / reception unit (second transmission / reception unit) The transmitted signal can be received from the communication bus and transferred to another transmission / reception unit (third transmission / reception unit). Therefore, according to the fifth aspect of the present invention, even if the signal cannot be transferred via the first transfer path due to a communication error, the signal is transmitted via the second transfer path and the third transfer path. Can be transferred.

第6の発明は、第1乃至第5の発明において、
CAN(Controller Area Network)プロトコルに基づく通信を行うことを特徴とする。
A sixth invention is the first to fifth inventions,
Communication is performed based on a CAN (Controller Area Network) protocol.

第6の発明によれば、CANプロトコルを使用する通信ネットワークにおいて、通信中継装置内で信号の転送経路に異常が生じてその転送経路を経由した信号の転送ができなくなっても、異常が生じた転送経路の転送元から転送先へ迂回経路を経由して信号を転送することができる。   According to the sixth invention, in a communication network using the CAN protocol, an abnormality occurs even if an abnormality occurs in the signal transfer path in the communication relay device and the signal cannot be transferred via the transfer path. A signal can be transferred from the transfer source of the transfer route to the transfer destination via the detour route.

第7の発明は、第4の発明において、
上記通信中継装置は、その内部に上記通信バスの一部を引き込んでおり、
上記通信中継装置は、さらに、
上記第2の送受信部が上記通信バスへ送信した信号を当該第2の送受信部が受信する際、当該送信した信号が上記通信バスを経由して上記通信中継装置の外へ出て行かないように上記通信バスの引き込んだ部分を中途部で電気的に切断するスイッチを備える。
According to a seventh invention, in the fourth invention,
The communication relay device draws a part of the communication bus inside,
The communication relay device further includes:
When the second transmitter / receiver receives a signal transmitted from the second transmitter / receiver to the communication bus, the transmitted signal does not go out of the communication relay device via the communication bus. And a switch for electrically disconnecting the drawn portion of the communication bus in the middle.

第7の発明によれば、迂回経路で信号が転送される場合に迂回経路に接続される通信バスを通じて当該信号が通信中継装置の外へ出て行かないので、当該通信バス上での信号の衝突を生じにくくさせることができる。   According to the seventh invention, when the signal is transferred through the bypass route, the signal does not go out of the communication relay device through the communication bus connected to the bypass route. A collision can be made difficult to occur.

第8の発明は、第5の発明において、
上記通信中継装置は、その内部に上記通信バスの一部を引き込んでおり、
上記通信中継装置は、さらに、
上記2つの送受信部の一方が上記通信バスへ送信した信号を上記他方の送受信部が受信する際、当該送信した信号が上記通信バスを経由して上記通信中継装置の外へ出て行かないように上記通信バスの引き込んだ部分を中途部で電気的に切断するスイッチを備える。
In an eighth aspect based on the fifth aspect,
The communication relay device draws a part of the communication bus inside,
The communication relay device further includes:
When the other transmitter / receiver receives a signal transmitted by one of the two transmitter / receivers to the communication bus, the transmitted signal does not go out of the communication relay device via the communication bus. And a switch for electrically disconnecting the drawn portion of the communication bus in the middle.

第8の発明によれば、迂回経路で信号が転送される場合に迂回経路に接続される通信バスを通じて当該信号が通信中継装置の外へ出て行かないので、当該通信バス上での信号の衝突を生じにくくさせることができる。   According to the eighth invention, when the signal is transferred through the bypass route, the signal does not go out of the communication relay device through the communication bus connected to the bypass route. A collision can be made difficult to occur.

第9の発明は、第5の発明において、
上記通信バスは、第1の通信線と第2の通信線からなり差動信号を伝送するツイストペア線で構成され、
上記通信中継装置は、その内部に上記ツイストペア線の一部を引き込んでおり、
上記通信中継装置は、さらに、
上記2つの送受信部の一方が上記第1の通信線へ送信した信号を他方の送受信部が受信できるように上記第1の通信線と上記第2の通信線を繋ぐ終端回路と、
上記2つの送受信部の一方が上記第1の通信線へ送信した信号を他方の送受信部が受信する際、当該送信した信号が上記ツイストペア線を経由して上記通信中継装置の外へ出て行かないように上記ツイストペア線の引き込んだ部分を中途部で電気的に切断するスイッチとを備える。
According to a ninth invention, in the fifth invention,
The communication bus is composed of a twisted pair line that includes a first communication line and a second communication line and transmits a differential signal,
The communication relay device draws a part of the twisted pair wire inside,
The communication relay device further includes:
A termination circuit that connects the first communication line and the second communication line so that the other transmission / reception unit can receive a signal transmitted from one of the two transmission / reception units to the first communication line;
When one of the two transmission / reception units receives a signal transmitted to the first communication line, the other transmission / reception unit receives the transmitted signal out of the communication relay device via the twisted pair line. And a switch for electrically disconnecting the portion where the twisted-pair wire is drawn in the middle.

第9の発明によれば、迂回経路で信号が転送される場合に迂回経路に接続される通信バス(ツイストペア線)を通じて当該信号が通信中継装置の外へ出て行かないので、当該通信バス上での信号の衝突を生じにくくさせることができる。   According to the ninth invention, when the signal is transferred through the detour path, the signal does not go out of the communication relay device through the communication bus (twisted pair line) connected to the detour path. It is possible to make it difficult for signal collisions to occur.

第10の発明は、第1の発明において、
上記転送経路は、上記送受信部を介して一周するように相互に接続された第1の転送経路と第2の転送経路と第3の転送経路とを含み、
上記送受信部は、上記第1の転送経路と上記第2の転送経路を接続する第1の送受信部と、上記第2の転送経路と上記第3の転送経路を接続する第2の送受信部と、上記第3の転送経路と上記第1の転送経路を接続する第3の送受信部とを含み、
上記通信中継装置は、さらに、
上記第2の送受信部から上記通信バスへ送信された信号を受信し、受信した信号と同じ内容の信号を上記第2の送受信部へ返信する信号返信部を備え、
上記通信異常検出部が上記第1の転送経路の通信異常を検出した場合、
(A)上記第1の送受信部は、当初は上記第1の送受信部から上記第1の転送経路を経由して上記第3の送受信部へ転送される予定であった信号を上記第2の転送経路を経由して上記第2の送受信部へ転送し、
(B)上記第2の送受信部は、上記第1の送受信部から転送されてきた信号を自己が接続された上記通信バスへ送信し、
(C)上記第2の送受信部は、自己が送信した信号と同じ内容の信号が上記信号返信部から返信されてきた時、当該返信されてきた信号を受信し、受信した信号を上記第3の転送経路を経由して上記第3の送受信部へ転送することを特徴とする。
In a tenth aspect based on the first aspect,
The transfer path includes a first transfer path, a second transfer path, and a third transfer path that are connected to each other through the transmission / reception unit.
The transmission / reception unit includes: a first transmission / reception unit that connects the first transfer path and the second transfer path; a second transmission / reception unit that connects the second transfer path and the third transfer path; A third transmission / reception unit connecting the third transfer path and the first transfer path,
The communication relay device further includes:
A signal return unit that receives a signal transmitted from the second transmission / reception unit to the communication bus and returns a signal having the same content as the received signal to the second transmission / reception unit;
When the communication abnormality detection unit detects a communication abnormality in the first transfer path,
(A) The first transmission / reception unit transmits a signal that was originally scheduled to be transferred from the first transmission / reception unit to the third transmission / reception unit via the first transfer path. Transfer to the second transmitter / receiver via the transfer path,
(B) The second transmission / reception unit transmits the signal transferred from the first transmission / reception unit to the communication bus to which the second transmission / reception unit is connected,
(C) When a signal having the same content as the signal transmitted by itself is returned from the signal return unit, the second transmission / reception unit receives the returned signal, and receives the received signal as the third signal. It transfers to the said 3rd transmission / reception part via this transfer path | route, It is characterized by the above-mentioned.

第10の発明によれば、通信バスに接続された電子制御装置に返信機能を設ける必要がなくなる。   According to the tenth aspect, it is not necessary to provide a return function in the electronic control device connected to the communication bus.

第11の発明は、
通信バスに接続された電子制御装置であって、
上記通信バスから受信した信号を当該通信バスへ返信する返信機能を有することを特徴とする電子制御装置である。
The eleventh invention is
An electronic control device connected to a communication bus,
An electronic control device having a reply function for returning a signal received from the communication bus to the communication bus.

第11の発明によれば、電子制御装置は受信した信号を返信する。ここで、3本以上の通信バスが接続され、各通信バスに接続された電子制御装置間の通信を中継する通信中継装置を想定する。この通信中継装置は、通信バス毎に送受信部を有し、信号の中継は、送受信部間で信号の転送を行うことによりなされるものとする。このような通信中継装置において、送受信部が信号を通信バスに送信している間は当該送受信部は送信中の信号と同じ内容の信号を受信して他の送受信部へ転送することができない通信プロトコル(例えばCANプロトコル)が使用されているものととする。このような場合であっても、送受信部は送信した信号と同じ内容の信号を電子制御装置から受信して他の送受信部へ転送することができる。よって、第7の発明によれば、通信中継装置内の一部の転送経路に通信異常が生じて当該転送経路を経由して信号を転送することができなくなっても、通信中継装置は本発明に係る電子制御装置と協働して当該転送経路の転送元から転送先へ迂回経路を経由して信号を転送することができる。   According to the eleventh aspect, the electronic control unit returns the received signal. Here, a communication relay device is assumed in which three or more communication buses are connected and relays communication between electronic control devices connected to each communication bus. This communication relay apparatus has a transmission / reception unit for each communication bus, and signal relaying is performed by transferring signals between the transmission / reception units. In such a communication relay device, while the transmission / reception unit is transmitting a signal to the communication bus, the transmission / reception unit cannot receive a signal having the same content as the signal being transmitted and cannot be transferred to another transmission / reception unit. It is assumed that a protocol (for example, CAN protocol) is used. Even in such a case, the transmission / reception unit can receive a signal having the same content as the transmitted signal from the electronic control unit and transfer it to another transmission / reception unit. Therefore, according to the seventh invention, even if a communication abnormality occurs in a part of the transfer path in the communication relay apparatus and the signal cannot be transferred via the transfer path, the communication relay apparatus is the present invention. The signal can be transferred from the transfer source of the transfer path to the transfer destination via the detour path in cooperation with the electronic control device according to the above.

第12の発明は、第11の発明において、
上記電子制御装置間の通信を中継する通信中継装置に異常があり、当該通信中継装置が上記通信バスを通じて送信した異常報知信号を上記電子制御装置が受信した場合、上記電子制御装置は、その後に受信した信号を上記通信バスへ返信することを特徴とする。
In a twelfth aspect based on the eleventh aspect,
When there is an abnormality in the communication relay device that relays communication between the electronic control devices, and the electronic control device receives an abnormality notification signal transmitted by the communication relay device through the communication bus, the electronic control device The received signal is returned to the communication bus.

第12の発明によれば、電子制御装置は、異常報知信号を受信した後に受信した信号を返信すればよい。よって、電子制御装置が、受信した信号を常に返信する場合に比べて、通信バスに流れる信号の量が減り、信号が衝突(コリジョン)する度合いを低減することができる。   According to the twelfth aspect of the invention, the electronic control device may return the received signal after receiving the abnormality notification signal. Therefore, compared with the case where the electronic control device always returns the received signal, the amount of the signal flowing through the communication bus is reduced, and the degree of collision of the signals can be reduced.

第13の発明は、
3本以上の通信バスが接続され、各上記通信バスに接続された電子制御装置間の通信を中継する通信中継装置と、各上記電子制御装置とを備える通信ネットワークであって、
上記電子制御装置は、
自己が接続された上記通信バスへ信号を送信する一方、当該通信バスから信号を受信し、
上記通信中継装置は、
複数の送受信部と、
ルーティング制御部と、
通信異常検出部とを備え、
上記送受信部は、上記通信バス毎に設けられ、自己が接続された上記通信バスから信号を受信して当該信号の内容を認識し、受信した当該信号を他の上記送受信部へ転送する一方、他の上記送受信部から転送されてきた信号を自己が接続された上記通信バスへ送信し、
上記ルーティング制御部は、上記送受信部で受信された信号が、当該信号の内容に応じていずれの上記送受信部へ転送されるかを制御し、
上記通信異常検出部は、上記送受信部間の転送経路に通信異常が生じたことを検出し、
上記ルーティング制御部は、上記通信異常検出部で通信異常が検出された場合、当初は通信異常が検出された異常転送経路で転送される予定であった信号が、当該異常転送経路の転送元から転送先へ当該異常転送経路以外の上記転送経路を経由して迂回転送されるように転送経路を切替えることを特徴とする通信ネットワークである。
The thirteenth invention
A communication network comprising three or more communication buses, a communication relay device that relays communication between the electronic control devices connected to each of the communication buses, and each of the electronic control devices,
The electronic control device
While transmitting a signal to the communication bus to which it is connected, receiving a signal from the communication bus,
The communication relay device is
A plurality of transceiver units;
A routing controller;
A communication abnormality detection unit,
The transmission / reception unit is provided for each communication bus, receives a signal from the communication bus to which the communication bus is connected, recognizes the content of the signal, and transfers the received signal to the other transmission / reception unit, Send the signal transferred from the other transceiver unit to the communication bus to which it is connected,
The routing control unit controls which of the transmission / reception units the signal received by the transmission / reception unit is transferred according to the content of the signal,
The communication abnormality detection unit detects that a communication abnormality has occurred in the transfer path between the transmission and reception units,
When a communication abnormality is detected by the communication abnormality detection unit, the routing control unit initially transmits a signal that is scheduled to be transferred through the abnormal transfer path in which the communication abnormality is detected from the transfer source of the abnormal transfer path. A communication network characterized in that a transfer route is switched so that a detour transfer is made to a transfer destination via the transfer route other than the abnormal transfer route.

第13の発明によれば、通信中継装置内で信号の転送経路に異常が生じてその転送経路を経由した信号の転送ができなくなっても、異常が生じた転送経路の転送元から転送先へ迂回経路を経由して信号を転送することができる。   According to the thirteenth aspect, even if an abnormality occurs in the signal transfer path in the communication relay device and the signal cannot be transferred via the transfer path, the transfer source from the transfer path in which the abnormality has occurred is transferred to the transfer destination. Signals can be transferred via a detour path.

第14の発明は、
3本以上の通信バスに各々接続された電子制御装置間の通信を中継する通信中継方法であって、
送受信ステップと、
ルーティング制御ステップと、
通信異常検出ステップとを備え、
上記送受信ステップは、上記通信バス毎に設けられた送受信部で実行され、各上記送受信部は上記通信バスから信号を受信して当該信号の内容を認識し、受信した当該信号を他の送受信部へ転送する一方、上記他の送受信部から転送されてきた信号を自己が接続された上記通信バスへ送信し、
上記ルーティング制御ステップは、上記送受信部で受信された信号が、当該信号の内容に応じていずれの上記送受信部へ転送されるかを制御し、
上記通信異常検出ステップは、上記送受信部間の転送経路に通信異常が生じたことを検出し、
上記ルーティング制御ステップは、上記通信異常検出ステップで通信異常が検出された場合、当初は通信異常が検出された異常転送経路で転送される予定であった信号が、当該異常転送経路の転送元から転送先へ当該異常転送経路以外の上記転送経路を経由して迂回転送されるように転送経路を切替えることを特徴とする通信中継方法である。
The fourteenth invention is
A communication relay method for relaying communication between electronic control devices respectively connected to three or more communication buses,
Sending and receiving steps;
A routing control step;
A communication abnormality detection step,
The transmission / reception step is executed by a transmission / reception unit provided for each communication bus. Each of the transmission / reception units receives a signal from the communication bus, recognizes the content of the signal, and transmits the received signal to another transmission / reception unit. While transmitting the signal transferred from the other transceiver unit to the communication bus to which it is connected,
The routing control step controls which of the transmission / reception units the signal received by the transmission / reception unit is transferred according to the content of the signal,
The communication abnormality detection step detects that a communication abnormality has occurred in the transfer path between the transmission and reception units,
In the routing control step, when a communication error is detected in the communication error detection step, a signal that was originally scheduled to be transferred through the abnormal transfer path in which the communication error was detected is transferred from the transfer source of the abnormal transfer path. A communication relay method characterized in that a transfer route is switched so that a detour transfer is made to the transfer destination via the transfer route other than the abnormal transfer route.

第14の発明によれば、通信中継装置内で信号の転送経路に異常が生じてその転送経路を経由した信号の転送ができなくなっても、異常が生じた転送経路の転送元から転送先へ迂回経路を経由して信号を転送することができる。   According to the fourteenth aspect, even if an abnormality occurs in the signal transfer path in the communication relay device and the signal cannot be transferred through the transfer path, the transfer source from the transfer path in which the error has occurred is transferred to the transfer destination. Signals can be transferred via a detour path.

本発明によれば、通信中継装置内で信号の転送経路に異常が生じてその転送経路を経由した信号の転送ができなくなっても、異常が生じた転送経路の転送元から転送先へ迂回経路を経由して信号を転送することができる。   According to the present invention, even if an abnormality occurs in the signal transfer path in the communication relay device and the signal cannot be transferred via the transfer path, the detour path from the transfer source of the transfer path in which the error has occurred to the transfer destination The signal can be transferred via

本発明の第1実施形態に係る通信ネットワークを示す図The figure which shows the communication network which concerns on 1st Embodiment of this invention. 図1に示される通信ネットワークを構成する通信中継装置を示す図The figure which shows the communication relay apparatus which comprises the communication network shown by FIG. 図1に示される通信ネットワークにおいて、フレームAの当初予定されている転送経路を示す図The figure which shows the transmission path | route initially planned of the flame | frame A in the communication network shown by FIG. 図1に示される通信ネットワークにおいて、フレームAの当初予定されている転送経路に通信異常が生じた様子を示す図The figure which shows a mode that communication abnormality has arisen in the transmission path | route initially planned of the flame | frame A in the communication network shown by FIG. 図1に示される通信ネットワークにおいて、フレームAの転送経路を切替えて転送を行う様子を示す図The figure which shows a mode that the transfer route of the flame | frame A is switched and transferred in the communication network shown by FIG. 図2に示される通信中継装置において、フレームAの転送経路を切替えて転送を行う様子を示す図The figure which shows a mode that the transfer path | route of the flame | frame A is switched and transferred in the communication relay apparatus shown by FIG. 第1実施形態におけるフレームAの転送動作を示すフローチャートThe flowchart which shows the transfer operation | movement of the flame | frame A in 1st Embodiment. 第1実施形態におけるフレームAの転送動作を示すフローチャートThe flowchart which shows the transfer operation | movement of the flame | frame A in 1st Embodiment. 本発明の第2実施形態に係る通信ネットワークを示す図The figure which shows the communication network which concerns on 2nd Embodiment of this invention. 図9に示される通信ネットワークを構成する通信中継装置を示す図The figure which shows the communication relay apparatus which comprises the communication network shown by FIG. 図9に示される通信ネットワークにおいて、フレームAの当初予定されている転送経路を示す図The figure which shows the transmission route initially planned of the frame A in the communication network shown by FIG. 図9に示される通信ネットワークにおいて、フレームAの当初予定されている転送経路に通信異常が生じた様子を示す図The figure which shows a mode that communication abnormality has arisen in the transmission path | route initially planned of the flame | frame A in the communication network shown by FIG. 図9に示される通信ネットワークにおいて、フレームAの転送経路を切替えて転送を行う様子を示す図The figure which shows a mode that the transfer path | route of the flame | frame A is switched and transferred in the communication network shown by FIG. 図10に示される通信中継装置において、フレームAの転送経路を切替えて転送を行う様子を示す図The figure which shows a mode that the transfer path of the flame | frame A is switched and it transfers in the communication relay apparatus shown by FIG. 第2実施形態におけるフレームAの転送動作を示すフローチャートFlowchart showing transfer operation of frame A in the second embodiment 本発明の第3実施形態に係る通信ネットワークの一部を抽出して示す図であり、スイッチがオンになっている様子を示す図It is a figure which extracts and shows a part of communication network which concerns on 3rd Embodiment of this invention, and shows a mode that a switch is turned on 本発明の第3実施形態に係る通信ネットワークの一部を抽出して示す図であり、スイッチがオフになっている様子を示す図It is a figure which extracts and shows a part of communication network which concerns on 3rd Embodiment of this invention, and shows a mode that a switch is turned off 本発明の第3実施形態に係る通信ネットワークと対比するための通信ネットワーク(第2実施形態に対応)を示す図The figure which shows the communication network (corresponding to 2nd Embodiment) for contrast with the communication network which concerns on 3rd Embodiment of this invention. 本発明の第4実施形態に係る通信ネットワークの一部を抽出して示す図The figure which extracts and shows a part of communication network which concerns on 4th Embodiment of this invention. 従来の車載ネットワークの一例を示す図Diagram showing an example of a conventional in-vehicle network 従来の車載ネットワークを構成する通信中継装置を示す図The figure which shows the communication relay equipment which constitutes the conventional in-vehicle network

(第1実施形態)
本発明に係る通信システムの第1実施形態について、図面を参照しつつ説明する。
図1は、第1実施形態に係る通信ネットワークを示す図である。図2は、図1に示される通信ネットワークを構成する通信中継装置を示す図である。
(First embodiment)
A first embodiment of a communication system according to the present invention will be described with reference to the drawings.
FIG. 1 is a diagram illustrating a communication network according to the first embodiment. FIG. 2 is a diagram showing a communication relay device that constitutes the communication network shown in FIG.

図1、2に示されるように、第1実施形態に係る通信ネットワーク1は、複数の電子制御装置(ECU)A,B,C,D,E,Fと、複数本の通信バス2,3,4と、通信中継装置5とを備える。   As shown in FIGS. 1 and 2, a communication network 1 according to the first embodiment includes a plurality of electronic control units (ECUs) A, B, C, D, E, and F, and a plurality of communication buses 2 and 3. , 4 and a communication relay device 5.

通信ネットワーク1は、例えば、自動車に搭載される車載ネットワークである。通信ネットワーク1では、例えばCAN(controller area network)プロトコルに基づく通信が行われる。   The communication network 1 is an in-vehicle network mounted on a car, for example. In the communication network 1, for example, communication based on a CAN (controller area network) protocol is performed.

電子制御装置A,B,C,D,E,Fは、自己が接続された通信バス2,3,4へ信号を送信する一方、通信バス2,3,4から信号を受信する。図1に示される例では、電子制御装置A,Bは通信バス2に接続され、電子制御装置C,Dは通信バス3に接続され、電子制御装置E,Fは通信バス3に接続されている。電子制御装置A,B,C,D,E,Fは、自動車等が装備する各種装置を制御する。例えば、電子制御装置A,Bはエンジン系の装置を制御し、電子制御装置C,Dはブレーキ系の装置を制御し、電子制御装置E,Fはステアリング系の装置を制御する。   The electronic control devices A, B, C, D, E, and F transmit signals to the communication buses 2, 3, and 4 to which they are connected, and receive signals from the communication buses 2, 3, and 4. In the example shown in FIG. 1, the electronic control devices A and B are connected to the communication bus 2, the electronic control devices C and D are connected to the communication bus 3, and the electronic control devices E and F are connected to the communication bus 3. Yes. The electronic control devices A, B, C, D, E, and F control various devices that are installed in automobiles and the like. For example, the electronic control devices A and B control the engine system devices, the electronic control devices C and D control the brake system devices, and the electronic control devices E and F control the steering system devices.

通信バス2,3,4毎に、少なくとも1つの電子制御装置が、通信バスから受信した信号を当該通信バスへ返信する返信機能を有している。図1に示される例では、電子制御装置A,C,Eが返信機能を有している。   For each of the communication buses 2, 3, and 4, at least one electronic control device has a reply function for returning a signal received from the communication bus to the communication bus. In the example shown in FIG. 1, the electronic control devices A, C, and E have a reply function.

通信中継装置5は、3本以上の通信バス2,3,4(図1に示される例では3本)が接続されている。通信中継装置5は、通信バス2に接続された電子制御装置A,Bと、通信バス3に接続された電子制御装置C,Dと、通信バス4に接続された電子制御装置E,Fの間の通信を中継する。   The communication relay device 5 is connected to three or more communication buses 2, 3, 4 (three in the example shown in FIG. 1). The communication relay device 5 includes electronic control devices A and B connected to the communication bus 2, electronic control devices C and D connected to the communication bus 3, and electronic control devices E and F connected to the communication bus 4. Relay communication between them.

通信中継装置5は、第1の送受信部6,第2の送受信部7,第3の送受信部8と、第1の転送経路11,第2の転送経路12,第3の転送経路13と、ルーティング制御部9と、通信異常検出部10とを備える。   The communication relay device 5 includes a first transmission / reception unit 6, a second transmission / reception unit 7, a third transmission / reception unit 8, a first transfer path 11, a second transfer path 12, a third transfer path 13, A routing control unit 9 and a communication abnormality detection unit 10 are provided.

第1の送受信部6は通信バス2に対して設けられ、第2の送受信部7は通信バス3に対して設けられ、第3の送受信部8は通信バス4に対して設けられている。   The first transmission / reception unit 6 is provided for the communication bus 2, the second transmission / reception unit 7 is provided for the communication bus 3, and the third transmission / reception unit 8 is provided for the communication bus 4.

第1の送受信部6は、自己が接続された通信バス2から信号を受信して当該信号の内容を認識する。第1の送受信部6は、受信した信号の内容に応じた転送指示をルーティング制御部9から入力する。第1の送受信部6は、その転送指示に基づいて、第2の送受信部7,第3の送受信部8のいずれかへ選択的に当該信号を転送する。また、第1の送受信部6は、第2の送受信部7,第3の送受信部8から転送されてきた信号を自己が接続されている通信バス2へ送信する。   The first transmission / reception unit 6 receives a signal from the communication bus 2 to which the first transmission / reception unit 6 is connected, and recognizes the content of the signal. The first transmission / reception unit 6 inputs a transfer instruction according to the content of the received signal from the routing control unit 9. The first transmission / reception unit 6 selectively transfers the signal to either the second transmission / reception unit 7 or the third transmission / reception unit 8 based on the transfer instruction. The first transmission / reception unit 6 transmits the signals transferred from the second transmission / reception unit 7 and the third transmission / reception unit 8 to the communication bus 2 to which the first transmission / reception unit 6 is connected.

第1の送受信部6は、図2に示されるように、トランシーバ20と、CANコントローラ23と、バッファ26とを含む。トランシーバ20は、ツイストペア線である通信バス2から入力した差動アナログ信号をデジタル信号に変換し、そのデジタル信号をCANコントローラ23へ信号線Rxを介して出力する。また、トランシーバ20は、CANコントローラ23から出力されたデジタル信号を差動アナログ信号に変換し、その差動アナログ信号を通信バス2へ出力する。   As shown in FIG. 2, the first transmission / reception unit 6 includes a transceiver 20, a CAN controller 23, and a buffer 26. The transceiver 20 converts the differential analog signal input from the communication bus 2 that is a twisted pair line into a digital signal, and outputs the digital signal to the CAN controller 23 via the signal line Rx. Further, the transceiver 20 converts the digital signal output from the CAN controller 23 into a differential analog signal and outputs the differential analog signal to the communication bus 2.

CANコントローラ23は、トランシーバ20から入力したデジタル信号の内容を識別し、その内容が自己が送信中の信号の内容と同じである場合は信号をバッファ26へ出力しない。CANコントローラ23は、トランシーバ20から入力したデジタル信号の内容が自己が送信中の信号の内容と異なる場合および自己が信号を送信中でない場合は、入力した信号をバッファ26へ出力する。ルーティング制御部9は、バッファ26に出力されたデジタル信号の内容に応じて、当該デジタル信号をバッファ26を介して他の送受信部へ転送する。また、CANコントローラ23は、他の送受信部から転送されてきたデジタル信号を、自己が接続されているトランシーバ20へ信号線Txを介して出力する。   The CAN controller 23 identifies the content of the digital signal input from the transceiver 20 and does not output the signal to the buffer 26 if the content is the same as the content of the signal being transmitted. The CAN controller 23 outputs the input signal to the buffer 26 when the content of the digital signal input from the transceiver 20 is different from the content of the signal being transmitted or when the signal is not being transmitted. The routing control unit 9 transfers the digital signal to another transmission / reception unit via the buffer 26 according to the content of the digital signal output to the buffer 26. Further, the CAN controller 23 outputs the digital signal transferred from the other transmitting / receiving unit to the transceiver 20 to which the CAN controller 23 is connected via the signal line Tx.

通信異常検出部10が第3の転送経路13の通信異常を検出した場合、第1の送受信部6は、通信異常を知らせる異常報知信号を自己が接続された通信バス2へ送信する。電子制御装置Aは、異常報知信号を受信した場合、その後に受信した信号を通信バス2へ返信する。   When the communication abnormality detection unit 10 detects a communication abnormality in the third transfer path 13, the first transmission / reception unit 6 transmits an abnormality notification signal informing the communication abnormality to the communication bus 2 to which it is connected. When receiving the abnormality notification signal, the electronic control unit A returns the received signal to the communication bus 2.

第2の送受信部7は、自己が接続された通信バス3から信号を受信して当該信号の内容を認識する。第2の送受信部7は、受信した信号の内容に応じた転送指示をルーティング制御部9から入力する。第2の送受信部7は、その転送指示に基づいて、第1の送受信部6,第3の送受信部8のいずれかへ選択的に当該信号を転送する。また、第2の送受信部7は、第1の送受信部6,第3の送受信部8から転送されてきた信号を自己が接続されている通信バス3へ送信する。   The second transmitting / receiving unit 7 receives a signal from the communication bus 3 to which the second transmitting / receiving unit 7 is connected, and recognizes the content of the signal. The second transmission / reception unit 7 inputs a transfer instruction according to the content of the received signal from the routing control unit 9. Based on the transfer instruction, the second transmission / reception unit 7 selectively transfers the signal to either the first transmission / reception unit 6 or the third transmission / reception unit 8. The second transmitting / receiving unit 7 transmits the signals transferred from the first transmitting / receiving unit 6 and the third transmitting / receiving unit 8 to the communication bus 3 to which the second transmitting / receiving unit 7 is connected.

第2の送受信部7は、トランシーバ21と、CANコントローラ24と、バッファ27とを含む。トランシーバ21は、ツイストペア線である通信バス3から入力した差動アナログ信号をデジタル信号に変換し、そのデジタル信号をCANコントローラ24へ信号線Rxを介して出力する。また、トランシーバ21は、CANコントローラ24から出力されたデジタル信号を差動アナログ信号に変換し、その差動アナログ信号を通信バス3へ出力する。   The second transmission / reception unit 7 includes a transceiver 21, a CAN controller 24, and a buffer 27. The transceiver 21 converts the differential analog signal input from the communication bus 3 that is a twisted pair line into a digital signal, and outputs the digital signal to the CAN controller 24 via the signal line Rx. The transceiver 21 converts the digital signal output from the CAN controller 24 into a differential analog signal and outputs the differential analog signal to the communication bus 3.

CANコントローラ24は、トランシーバ21から入力したデジタル信号の内容を識別し、その内容が自己が送信中の信号の内容と同じである場合は信号をバッファ27へ出力しない。CANコントローラ24は、トランシーバ21から入力したデジタル信号の内容が自己が送信中の信号の内容と異なる場合および自己が信号を送信中でない場合は、入力した信号をバッファ27へ出力する。ルーティング制御部9は、バッファ27に出力されたデジタル信号の内容に応じて、当該デジタル信号をバッファ27を介して他の送受信部へ転送する。また、CANコントローラ24は、他の送受信部から転送されてきたデジタル信号を、自己が接続されているトランシーバ21へ信号線Txを介して出力する。   The CAN controller 24 identifies the content of the digital signal input from the transceiver 21 and does not output the signal to the buffer 27 when the content is the same as the content of the signal being transmitted. The CAN controller 24 outputs the input signal to the buffer 27 when the content of the digital signal input from the transceiver 21 is different from the content of the signal being transmitted or when the signal is not being transmitted. The routing control unit 9 transfers the digital signal to another transmission / reception unit via the buffer 27 according to the contents of the digital signal output to the buffer 27. Further, the CAN controller 24 outputs the digital signal transferred from the other transmitting / receiving unit to the transceiver 21 to which the CAN controller 24 is connected via the signal line Tx.

通信異常検出部10が第1の転送経路11の通信異常を検出した場合、第2の送受信部7は、通信異常を知らせる異常報知信号を自己が接続された通信バス3へ送信する。電子制御装置Cは、異常報知信号を受信した場合、その後に受信した信号を通信バス3へ返信する。   When the communication abnormality detection unit 10 detects a communication abnormality in the first transfer path 11, the second transmission / reception unit 7 transmits an abnormality notification signal informing the communication abnormality to the communication bus 3 to which it is connected. When receiving the abnormality notification signal, the electronic control unit C returns the received signal to the communication bus 3.

第3の送受信部8は、自己が接続された通信バス4から信号を受信して当該信号の内容を認識する。第3の送受信部8は、受信した信号の内容に応じた転送指示をルーティング制御部9から入力する。第3の送受信部8は、その転送指示に基づいて、第1の送受信部6,第2の送受信部7のいずれかへ選択的に当該信号を転送する。また、第3の送受信部8は、第1の送受信部6,第2の送受信部7から転送されてきた信号を自己が接続されている通信バス4へ送信する。   The third transmission / reception unit 8 receives a signal from the communication bus 4 to which the third transmission / reception unit 8 is connected, and recognizes the content of the signal. The third transmission / reception unit 8 inputs a transfer instruction according to the content of the received signal from the routing control unit 9. The third transmitter / receiver 8 selectively transfers the signal to either the first transmitter / receiver 6 or the second transmitter / receiver 7 based on the transfer instruction. The third transmitter / receiver 8 transmits the signals transferred from the first transmitter / receiver 6 and the second transmitter / receiver 7 to the communication bus 4 to which the third transmitter / receiver 8 is connected.

第3の送受信部8は、トランシーバ22と、CANコントローラ25と、バッファ28とを含む。トランシーバ22は、ツイストペア線である通信バス4から入力した差動アナログ信号をデジタル信号に変換し、そのデジタル信号をCANコントローラ25へ信号線Rxを介して出力する。また、トランシーバ22は、CANコントローラ25から出力されたデジタル信号を差動アナログ信号に変換し、その差動アナログ信号を通信バス4へ出力する。   The third transmission / reception unit 8 includes a transceiver 22, a CAN controller 25, and a buffer 28. The transceiver 22 converts the differential analog signal input from the communication bus 4 that is a twisted pair line into a digital signal, and outputs the digital signal to the CAN controller 25 via the signal line Rx. The transceiver 22 converts the digital signal output from the CAN controller 25 into a differential analog signal, and outputs the differential analog signal to the communication bus 4.

CANコントローラ25は、トランシーバ22から入力したデジタル信号の内容を識別し、その内容が自己が送信中の信号の内容と同じである場合は信号をバッファ28へ出力しない。CANコントローラ25は、トランシーバ22から入力したデジタル信号の内容が自己が送信中の信号の内容と異なる場合および自己が信号を送信中でない場合は、入力した信号をバッファ28へ出力する。ルーティング制御部9は、バッファ28に出力されたデジタル信号の内容に応じて、当該デジタル信号をバッファ28を介して他の送受信部へ転送する。また、CANコントローラ25は、他の送受信部から転送されてきたデジタル信号を、自己が接続されているトランシーバ22へ信号線Txを介して出力する。   The CAN controller 25 identifies the content of the digital signal input from the transceiver 22 and does not output the signal to the buffer 28 when the content is the same as the content of the signal being transmitted. The CAN controller 25 outputs the input signal to the buffer 28 when the content of the digital signal input from the transceiver 22 is different from the content of the signal being transmitted or when the signal is not being transmitted. The routing control unit 9 transfers the digital signal to another transmission / reception unit via the buffer 28 according to the contents of the digital signal output to the buffer 28. Further, the CAN controller 25 outputs a digital signal transferred from another transmitting / receiving unit to the transceiver 22 to which the CAN controller 25 is connected via the signal line Tx.

通信異常検出部10が第2の転送経路12の通信異常を検出した場合、第3の送受信部8は、通信異常を知らせる異常報知信号を自己が接続された通信バス4へ送信する。電子制御装置Eは、異常報知信号を受信した場合、その後に受信した信号を通信バス4へ返信する。   When the communication abnormality detection unit 10 detects a communication abnormality in the second transfer path 12, the third transmission / reception unit 8 transmits an abnormality notification signal informing the communication abnormality to the communication bus 4 to which it is connected. When receiving the abnormality notification signal, the electronic control unit E returns the received signal to the communication bus 4.

第1の転送経路11,第2の転送経路12,第3の転送経路13は、第1の送受信部6,第2の送受信部7,第3の送受信部8を介して一周するように相互に接続されている。   The first transfer path 11, the second transfer path 12, and the third transfer path 13 are mutually connected so as to make a round through the first transmission / reception unit 6, the second transmission / reception unit 7, and the third transmission / reception unit 8. It is connected to the.

第1の転送経路11は、第1の送受信部6と第3の送受信部8を接続し、信号を第1の送受信部6と第3の送受信部8の間で転送する経路である。第2の転送経路12は、第1の送受信部6と第2の送受信部7を接続し、信号を第1の送受信部6と第2の送受信部7の間で転送する経路である。第3の転送経路13は、第2の送受信部7と第3の送受信部8を接続し、信号を第2の送受信部7と第3の送受信部8の間で転送する経路である。   The first transfer path 11 is a path that connects the first transmission / reception unit 6 and the third transmission / reception unit 8 and transfers a signal between the first transmission / reception unit 6 and the third transmission / reception unit 8. The second transfer path 12 is a path that connects the first transmission / reception unit 6 and the second transmission / reception unit 7 and transfers a signal between the first transmission / reception unit 6 and the second transmission / reception unit 7. The third transfer path 13 is a path that connects the second transmission / reception unit 7 and the third transmission / reception unit 8 and transfers a signal between the second transmission / reception unit 7 and the third transmission / reception unit 8.

ルーティング制御部9は、第1の送受信部6で受信された信号を、当該信号の内容に応じて他のいずれの送受信部7,8へ転送するかを制御する。また、ルーティング制御部9は、第2の送受信部7で受信された信号を、当該信号の内容に応じて他のいずれの送受信部6,8へ転送するかを制御する。また、ルーティング制御部9は、第3の送受信部8で受信された信号を、当該信号の内容に応じて他のいずれの送受信部6,7へ転送するかを制御する。第1の送受信部6,第2の送受信部7,第3の送受信部8が通信バスから受信した信号をいずれの転送経路で転送させるかのルーティング情報は、当該信号の内容に応じて予めルーティング制御部9内に設定されている。しかしながら、一部の転送経路に通信異常が生じて当該転送経路での転送ができなくなった場合、ルーティング制御部9は、他の転送経路を経由して転送を行うように転送経路を切替える。   The routing control unit 9 controls which of the other transmission / reception units 7 and 8 the signal received by the first transmission / reception unit 6 is transferred according to the content of the signal. The routing control unit 9 controls which of the other transmission / reception units 6 and 8 transfers the signal received by the second transmission / reception unit 7 in accordance with the content of the signal. Further, the routing control unit 9 controls which of the other transmission / reception units 6 and 7 the signal received by the third transmission / reception unit 8 is transferred according to the content of the signal. Routing information indicating which transfer path the signals received from the communication bus by the first transmitter / receiver 6, the second transmitter / receiver 7, and the third transmitter / receiver 8 are routed in advance according to the contents of the signals. It is set in the control unit 9. However, when a communication abnormality occurs in a part of the transfer routes and transfer on the transfer route becomes impossible, the routing control unit 9 switches the transfer route so that the transfer is performed via another transfer route.

通信異常検出部10は、第1の送受信部6と第3の送受信部8を接続する第1の転送経路11、第1の送受信部6と第2の送受信部7を接続する第2の転送経路12、第2の送受信部7と第3の送受信部8を接続する第3の転送経路13に通信異常が生じて、当該転送経路で信号の転送ができなくなったことを検出する。   The communication abnormality detection unit 10 includes a first transfer path 11 that connects the first transmission / reception unit 6 and the third transmission / reception unit 8, and a second transfer that connects the first transmission / reception unit 6 and the second transmission / reception unit 7. It is detected that a communication error has occurred in the third transfer path 13 connecting the path 12, the second transmitting / receiving unit 7 and the third transmitting / receiving unit 8, and that the signal cannot be transferred through the transfer path.

図3は、図1に示される通信ネットワークにおいて、フレームAの当初予定されている転送経路を示す図である。図4は、図1に示される通信ネットワークにおいて、フレームAの当初予定されている転送経路に通信異常が生じた様子を示す図である。図5は、図1に示される通信ネットワークにおいて、フレームAの転送経路を切替えて転送を行う様子を示す図である。図6は、図2に示される通信中継装置において、フレームAの転送経路を切替えて転送を行う様子を示す図である。   FIG. 3 is a diagram showing an initially scheduled transfer path of frame A in the communication network shown in FIG. FIG. 4 is a diagram showing a state in which a communication abnormality has occurred in the transfer path initially scheduled for frame A in the communication network shown in FIG. FIG. 5 is a diagram illustrating a state in which transfer is performed by switching the transfer path of the frame A in the communication network illustrated in FIG. FIG. 6 is a diagram illustrating a state in which the transfer is performed by switching the transfer path of the frame A in the communication relay device illustrated in FIG.

ルーティング制御部9は、通信異常検出部10で転送経路の通信異常が検出された場合、当初は通信異常が検出された異常転送経路(図3,4に示される例では第1の転送経路11)で転送される予定であった信号(フレーム)が、当該異常転送経路の転送元(図3、4に示される例では第1の送受信部6)から転送先(図3,4に示される例では第3の送受信部8)へ当該異常転送経路以外の転送経路(図5,6に示される例では転送経路12,13)を経由して迂回転送されるように転送経路を切替える。   When the communication abnormality detection unit 10 detects a communication abnormality in the transfer path, the routing control unit 9 initially detects the abnormal transfer path in which the communication abnormality is detected (in the example illustrated in FIGS. 3 and 4, the first transfer path 11). ) Is transferred from the transfer source (the first transmitting / receiving unit 6 in the example shown in FIGS. 3 and 4) of the abnormal transfer path to the transfer destination (shown in FIGS. 3 and 4). In the example, the transfer path is switched to the third transmission / reception unit 8) so that detour transfer is performed via transfer paths other than the abnormal transfer path (transfer paths 12 and 13 in the examples shown in FIGS. 5 and 6).

例えば、図4に示されるように、通信異常検出部10が第1の転送経路11の通信異常を検出した場合、ルーティング制御部9により、具体的には以下のように転送経路が切替えられる。すなわち、第1の送受信部6は、図3に示されるように当初は第1の送受信部6から第1の転送経路11を経由して第3の送受信部8へ転送される予定であった信号(フレームA)を、図5,6に示されるように第2の転送経路12を経由して第2の送受信部7へ転送する。第2の送受信部7は、図5,6に示されるように、第1の送受信部6から転送されてきた信号を自己が接続された通信バス3へ送信する。第2の送受信部7は、図5,6に示されるように、自己が送信した信号と同じ内容の信号が電子制御装置Cから返信されてきた時、当該返信されてきた信号を受信し、受信した信号を第3の転送経路13を経由して第3の送受信部8へ転送する。   For example, as illustrated in FIG. 4, when the communication abnormality detection unit 10 detects a communication abnormality in the first transfer path 11, the transfer path is specifically switched as follows by the routing control unit 9. That is, the first transmission / reception unit 6 was originally scheduled to be transferred from the first transmission / reception unit 6 to the third transmission / reception unit 8 via the first transfer path 11 as shown in FIG. The signal (frame A) is transferred to the second transmitter / receiver 7 via the second transfer path 12 as shown in FIGS. As shown in FIGS. 5 and 6, the second transmission / reception unit 7 transmits the signal transferred from the first transmission / reception unit 6 to the communication bus 3 to which the second transmission / reception unit 7 is connected. As shown in FIGS. 5 and 6, when the second transmitter / receiver 7 returns a signal having the same content as the signal transmitted by itself from the electronic control device C, the second transmitter / receiver 7 receives the returned signal. The received signal is transferred to the third transmission / reception unit 8 via the third transfer path 13.

次に、通信ネットワーク1の動作について、図7,8のフローチャートを参照しつつ説明する。以下、電子制御装置Aから電子制御装置Eへ信号(フレームA)を送る場合を例にとって説明する。   Next, the operation of the communication network 1 will be described with reference to the flowcharts of FIGS. Hereinafter, a case where a signal (frame A) is sent from the electronic control unit A to the electronic control unit E will be described as an example.

まず、電子制御装置Aが、通信バス2を経由して第1の送受信部6に信号を送信する(ステップS1)。次いで、通信異常検出部10は、転送経路11に通信異常があるかどうかを判断する(ステップS2)。通信異常検出部10において、転送経路11に通信異常がないと判断された場合、ルーティング制御部9は、第1の送受信部6に対し、第1の転送経路11を経由して第3の送受信部8へ信号を転送するように指示を出す(ステップS3)。次いで、第1の送受信部6は、第1の転送経路11を経由して第3の送受信部8へ信号を転送する(ステップS4)。次いで、第3の送受信部8は、第3の通信バス4に信号を送信する(ステップS5)。次いで、電子制御装置Eは、第3の通信バス4から信号を受信し(ステップS6)、処理を終了する。   First, the electronic control unit A transmits a signal to the first transmission / reception unit 6 via the communication bus 2 (step S1). Next, the communication abnormality detection unit 10 determines whether or not there is a communication abnormality in the transfer path 11 (step S2). When the communication abnormality detection unit 10 determines that there is no communication abnormality in the transfer path 11, the routing control unit 9 performs the third transmission / reception with respect to the first transmission / reception unit 6 via the first transfer path 11. An instruction is given to transfer the signal to the unit 8 (step S3). Next, the first transmission / reception unit 6 transfers the signal to the third transmission / reception unit 8 via the first transfer path 11 (step S4). Next, the third transmission / reception unit 8 transmits a signal to the third communication bus 4 (step S5). Next, the electronic control unit E receives a signal from the third communication bus 4 (step S6) and ends the process.

一方、通信異常検出部10において、第1の転送経路11に通信異常があり、第1の転送経路11を経由して信号を転送することができないと判断された場合、通信異常検出部10は、第2の送受信部7に対し、第1の転送経路11に通信異常が生じたことを示す異常報知信号を第2の通信バス3に送信するように指示を出す(ステップS7)。次いで、第2の送受信部7は、第1の転送経路11に通信異常が生じたことを示す異常報知信号を第2の通信バス3に送信する(ステップS8)。次いで、電子制御装置Cは、第2の通信バス3から異常報知信号を受信し、第1の転送経路12に通信異常が生じたことを認識する(ステップS9)。   On the other hand, if the communication abnormality detection unit 10 determines that there is a communication abnormality in the first transfer path 11 and the signal cannot be transferred via the first transfer path 11, the communication abnormality detection unit 10 Then, the second transmission / reception unit 7 is instructed to transmit an abnormality notification signal indicating that a communication abnormality has occurred in the first transfer path 11 to the second communication bus 3 (step S7). Next, the second transmission / reception unit 7 transmits an abnormality notification signal indicating that a communication abnormality has occurred in the first transfer path 11 to the second communication bus 3 (step S8). Next, the electronic control unit C receives the abnormality notification signal from the second communication bus 3 and recognizes that a communication abnormality has occurred in the first transfer path 12 (step S9).

次いで、ルーティング制御部9は、第1の送受信部6に対し、第2の転送経路12を経由して第2の送受信部7へ信号を転送するように指示を出す(ステップS10)。次いで、第1の送受信部6は、第2の転送経路12を経由して第2の送受信部7へ信号を転送する(ステップS11)。次いで、第2の送受信部7は、第2の通信バス3に信号を送信する(ステップS12)。   Next, the routing control unit 9 instructs the first transmission / reception unit 6 to transfer the signal to the second transmission / reception unit 7 via the second transfer path 12 (step S10). Next, the first transmission / reception unit 6 transfers the signal to the second transmission / reception unit 7 via the second transfer path 12 (step S11). Next, the second transmission / reception unit 7 transmits a signal to the second communication bus 3 (step S12).

次いで、電子制御装置Cは、第2の通信バス3から信号を受信する(ステップS13)。次いで、電子制御装置Cは、受信した信号を第2の通信バス3へ返信する(ステップS14)。次いで、第2の送受信部7は、電子制御装置Cから返信された信号を受信する(ステップS15)。   Next, the electronic control unit C receives a signal from the second communication bus 3 (step S13). Next, the electronic control unit C returns the received signal to the second communication bus 3 (step S14). Next, the second transmission / reception unit 7 receives the signal returned from the electronic control device C (step S15).

次いで、ルーティング制御部9は、第2の送受信部7に対し、第3の転送経路13を経由して第3の送受信部8へ信号を転送するように指示を出す(ステップS16)。次いで、第2の送受信部7は、第3の転送経路13を経由して第3の送受信部8へ信号を転送する(ステップS17)。次いで、第3の送受信部8は、第3の通信バス3に信号を送信する(ステップS18)。次いで、電子制御装置Eは、第3の通信バス4から信号を受信する(ステップS19)。以上が、通信ネットワーク1の動作である。   Next, the routing controller 9 instructs the second transmitter / receiver 7 to transfer the signal to the third transmitter / receiver 8 via the third transfer path 13 (step S16). Next, the second transmission / reception unit 7 transfers the signal to the third transmission / reception unit 8 via the third transfer path 13 (step S17). Next, the third transmission / reception unit 8 transmits a signal to the third communication bus 3 (step S18). Next, the electronic control unit E receives a signal from the third communication bus 4 (step S19). The above is the operation of the communication network 1.

通信ネットワーク1は、通信プロトコル(例えばCANプロトコル)の関係上、送受信部(例えば第2の送受信部7)が信号を通信バス(例えば第2の通信バス3)に送信している間は当該送受信部(例えば第2の送受信部7)は送信中の信号と同じ内容の信号を受信して他の送受信部(例えば第3の送受信部8)へ転送することができない。しかしながら、通信ネットワーク1では、送受信部(例えば第2の送受信部7)は送信した信号と同じ内容の信号を電子制御装置(例えば電子制御装置C)から受信して他の送受信部(例えば第3の送受信部8)へ転送することができる。これは、電子制御装置(例えば電子制御装置C)が受信信号と同じ内容の信号を返信した場合、送受信部(例えば第2の送受信部7)の送信タイミングと電子制御装置(例えば電子制御装置C)の返信タイミングに差があるので、当該送受信部(例えば第2の送受信部7)は送信した信号と同じ内容の信号を受信することができるからである。通信ネットワーク1によれば、通信異常により一部の転送経路(例えば第1の転送経路11)を経由して信号を転送することができなくなっても、他の転送経路(例えば第2の転送経路12および第3の転送経路13)を経由して信号を転送することができる。   Due to the communication protocol (for example, CAN protocol), the communication network 1 transmits and receives the signal while the transmission / reception unit (for example, the second transmission / reception unit 7) transmits a signal to the communication bus (for example, the second communication bus 3). The unit (for example, second transmission / reception unit 7) cannot receive a signal having the same content as the signal being transmitted and cannot transfer it to another transmission / reception unit (for example, third transmission / reception unit 8). However, in the communication network 1, the transmission / reception unit (for example, the second transmission / reception unit 7) receives a signal having the same content as the transmitted signal from the electronic control device (for example, the electronic control device C) and receives other transmission / reception units (for example, the third transmission / reception unit). To the transmitting / receiving unit 8). This is because when the electronic control device (for example, the electronic control device C) returns a signal having the same content as the received signal, the transmission timing of the transmission / reception unit (for example, the second transmission / reception unit 7) and the electronic control device (for example, the electronic control device C). This is because the transmission / reception unit (for example, the second transmission / reception unit 7) can receive a signal having the same content as the transmitted signal. According to the communication network 1, even if a signal cannot be transferred via a part of transfer paths (for example, the first transfer path 11) due to a communication error, another transfer path (for example, the second transfer path) 12 and the third transfer path 13).

また、通信ネットワーク1によれば、電子制御装置Cは、異常報知信号を受信した後に受信した信号を返信すればよい。よって、電子制御装置Cが、受信した信号を常に返信する場合に比べて、通信バス2に流れる信号の量が減り、信号が衝突(コリジョン)する度合いを低減することができる。   Further, according to the communication network 1, the electronic control device C may return the received signal after receiving the abnormality notification signal. Therefore, compared with the case where the electronic control unit C always returns the received signal, the amount of the signal flowing through the communication bus 2 is reduced, and the degree of collision of the signals can be reduced.

次に、本発明の第2実施形態について、図面を参照しつつ説明する。
図9は、第2実施形態に係る通信ネットワークを示す図である。図10は、図9に示される通信ネットワークを構成する通信中継装置を示す図である。第2実施形態において、第1実施形態と同様の構成については同一符号を付してその説明を省略する。
Next, a second embodiment of the present invention will be described with reference to the drawings.
FIG. 9 is a diagram illustrating a communication network according to the second embodiment. FIG. 10 is a diagram showing a communication relay apparatus that constitutes the communication network shown in FIG. In the second embodiment, the same components as those in the first embodiment are denoted by the same reference numerals, and the description thereof is omitted.

第2実施形態に係る通信ネットワーク100が第1実施形態と異なる点は、通信中継装置5に代えて通信中継装置50が設けられている点である。具体的な相違点は以下の通りである。第1の相違点は、第1の送受信部6、第2の送受信部7、第3の送受信部8に代えて、第1の送受信部60、第2の送受信部70、第3の送受信部80が設けられている点である。第2の相違点は、第1の転送経路11、第2の転送経路12、第3の転送経路13に代えて、第1の転送経路110、第2の転送経路120、第3の転送経路130が設けられている点である。第3の相違点は、ルーティング制御部9に代えてルーティング制御部90が設けられている点である。その他の構成については、第2実施形態は第2実施形態と同様である。   The communication network 100 according to the second embodiment is different from the first embodiment in that a communication relay device 50 is provided instead of the communication relay device 5. Specific differences are as follows. The first difference is that instead of the first transmission / reception unit 6, the second transmission / reception unit 7, and the third transmission / reception unit 8, a first transmission / reception unit 60, a second transmission / reception unit 70, and a third transmission / reception unit. 80 is provided. The second difference is that instead of the first transfer path 11, the second transfer path 12, and the third transfer path 13, a first transfer path 110, a second transfer path 120, and a third transfer path are used. 130 is provided. The third difference is that a routing control unit 90 is provided instead of the routing control unit 9. Regarding other configurations, the second embodiment is the same as the second embodiment.

第1の送受信部60は、自己が接続された通信バス2から信号を受信して当該信号の内容を認識する。第1の送受信部60は、受信した信号の内容に応じた転送指示をルーティング制御部90から入力する。第1の送受信部60は、その転送指示に基づいて、第2の送受信部70,第3の送受信部80のいずれかへ選択的に当該信号を転送する。また、第1の送受信部60は、第2の送受信部70,第3の送受信部80から転送されてきた信号を自己が接続されている通信バス2へ送信する。   The first transmission / reception unit 60 receives a signal from the communication bus 2 to which the first transmission / reception unit 60 is connected, and recognizes the content of the signal. The first transmission / reception unit 60 inputs a transfer instruction according to the content of the received signal from the routing control unit 90. The first transmitter / receiver 60 selectively transfers the signal to either the second transmitter / receiver 70 or the third transmitter / receiver 80 based on the transfer instruction. The first transmission / reception unit 60 transmits the signal transferred from the second transmission / reception unit 70 and the third transmission / reception unit 80 to the communication bus 2 to which the first transmission / reception unit 60 is connected.

第1の送受信部60は2つの送受信部600,601から成り、当該2つの送受信部600,601の一方(図10に示される例では600)が通信バス2へ送信した信号を、他方の送受信部(図10に示される例では601)が受信する。   The first transmission / reception unit 60 includes two transmission / reception units 600 and 601, and a signal transmitted from one of the two transmission / reception units 600 and 601 (600 in the example shown in FIG. 10) to the communication bus 2 is transmitted and received by the other transmission / reception unit. Unit (601 in the example shown in FIG. 10) receives.

第1の送受信部60は、具体的には、1つのトランシーバ30と、2つのCANコントローラ33,34と、2組のバッファ39,40とを含む。トランシーバ30は、ツイストペア線である通信バス2から入力した差動アナログ信号をデジタル信号に変換し、そのデジタル信号を双方のCANコントローラ33,34へ信号線Rxを介して出力する。また、トランシーバ30は、一方のCANコントローラ33から出力されたデジタル信号を差動アナログ信号に変換し、その差動アナログ信号を通信バス2へ出力する。上記した送受信部600は、1つのトランシーバ30と、1つのCANコントローラ33と、1組のバッファ39とを有する。上記した送受信部601は、1つのトランシーバ30と、1つのCANコントローラ34と、1組のバッファ40とを有する。   Specifically, the first transmission / reception unit 60 includes one transceiver 30, two CAN controllers 33 and 34, and two sets of buffers 39 and 40. The transceiver 30 converts the differential analog signal input from the communication bus 2 which is a twisted pair line into a digital signal, and outputs the digital signal to both CAN controllers 33 and 34 via the signal line Rx. In addition, the transceiver 30 converts the digital signal output from one CAN controller 33 into a differential analog signal, and outputs the differential analog signal to the communication bus 2. The transmission / reception unit 600 described above includes one transceiver 30, one CAN controller 33, and one set of buffers 39. The transmission / reception unit 601 described above includes one transceiver 30, one CAN controller 34, and one set of buffer 40.

他方のCANコントローラ34は、一方のCANコントローラ33が信号をトランシーバ30を介して第1の通信バス2へ送信している間、第1の通信バス2に流れているその信号をトランシーバ30を介して入力する。CANコントローラ34は、トランシーバ30から入力したデジタル信号の内容を識別する。ルーティング制御部90は、そのデジタル信号の内容に応じて、当該デジタル信号をバッファ40を介して他の送受信部へ転送する。   The other CAN controller 34 transmits the signal flowing through the first communication bus 2 via the transceiver 30 while the one CAN controller 33 transmits the signal to the first communication bus 2 via the transceiver 30. Enter. The CAN controller 34 identifies the contents of the digital signal input from the transceiver 30. The routing control unit 90 transfers the digital signal to another transmission / reception unit via the buffer 40 in accordance with the contents of the digital signal.

一方のCANコントローラ33は、他の送受信部から転送されてきたデジタル信号を、自己が接続されているトランシーバ30へ信号線Txを介して出力する。また、CANコントローラ33は、トランシーバ30から入力したデジタル信号の内容を識別し、その内容が自己が送信中の信号の内容と同じである場合は信号をバッファ39へ出力しない。CANコントローラ33は、トランシーバ30から入力したデジタル信号の内容が自己が送信中の信号の内容と異なる場合および自己が信号を送信中でない場合は、入力した信号をバッファ39へ出力する。ルーティング制御部90は、バッファ39に出力されたデジタル信号の内容に応じて、当該デジタル信号をバッファ39を介して他の送受信部へ転送する。   One CAN controller 33 outputs the digital signal transferred from the other transmitting / receiving unit to the transceiver 30 to which the CAN controller 33 is connected via the signal line Tx. The CAN controller 33 identifies the content of the digital signal input from the transceiver 30 and does not output the signal to the buffer 39 when the content is the same as the content of the signal being transmitted. The CAN controller 33 outputs the input signal to the buffer 39 when the content of the digital signal input from the transceiver 30 is different from the content of the signal being transmitted or when the signal is not being transmitted. The routing control unit 90 transfers the digital signal to another transmission / reception unit via the buffer 39 according to the contents of the digital signal output to the buffer 39.

第2の送受信部70は、自己が接続された通信バス3から信号を受信して当該信号の内容を認識する。第2の送受信部70は、受信した信号の内容に応じた転送指示をルーティング制御部90から入力する。第2の送受信部70は、その転送指示に基づいて、第1の送受信部60,第3の送受信部80のいずれかへ選択的に当該信号を転送する。また、第2の送受信部70は、第1の送受信部60,第3の送受信部80から転送されてきた信号を自己が接続されている通信バス3へ送信する。   The second transmission / reception unit 70 receives a signal from the communication bus 3 to which the second transmission / reception unit 70 is connected, and recognizes the content of the signal. The second transmission / reception unit 70 inputs a transfer instruction according to the content of the received signal from the routing control unit 90. The second transmission / reception unit 70 selectively transfers the signal to either the first transmission / reception unit 60 or the third transmission / reception unit 80 based on the transfer instruction. The second transmitting / receiving unit 70 transmits the signals transferred from the first transmitting / receiving unit 60 and the third transmitting / receiving unit 80 to the communication bus 3 to which the second transmitting / receiving unit 70 is connected.

第2の送受信部70は2つの送受信部700,701から成り、当該2つの送受信部700,701の一方(図10に示される例では700)が通信バス3へ送信した信号を、他方の送受信部(図10に示される例では701)が受信する。   The second transmission / reception unit 70 includes two transmission / reception units 700 and 701. A signal transmitted from one of the two transmission / reception units 700 and 701 (700 in the example illustrated in FIG. 10) to the communication bus 3 is transmitted / received to the other transmission / reception unit. Unit (701 in the example shown in FIG. 10) receives.

第2の送受信部70は、具体的には、1つのトランシーバ31と、2つのCANコントローラ35,36と、2組のバッファ41,42とを含む。トランシーバ31は、ツイストペア線である通信バス3から入力した差動アナログ信号をデジタル信号に変換し、そのデジタル信号を双方のCANコントローラ35,36へ信号線Rxを介して出力する。また、トランシーバ31は、一方のCANコントローラ35から出力されたデジタル信号を差動アナログ信号に変換し、その差動アナログ信号を通信バス3へ出力する。上記した送受信部700は、1つのトランシーバ31と、1つのCANコントローラ35と、1組のバッファ41とを有する。上記した送受信部701は、1つのトランシーバ31と、1つのCANコントローラ36と、1組のバッファ42とを有する。   Specifically, the second transmission / reception unit 70 includes one transceiver 31, two CAN controllers 35 and 36, and two sets of buffers 41 and 42. The transceiver 31 converts the differential analog signal input from the communication bus 3 that is a twisted pair line into a digital signal, and outputs the digital signal to both CAN controllers 35 and 36 via the signal line Rx. The transceiver 31 converts the digital signal output from one CAN controller 35 into a differential analog signal and outputs the differential analog signal to the communication bus 3. The transmission / reception unit 700 described above includes one transceiver 31, one CAN controller 35, and one set of buffers 41. The transmission / reception unit 701 described above includes one transceiver 31, one CAN controller 36, and one set of buffer 42.

他方のCANコントローラ36は、一方のCANコントローラ35が信号をトランシーバ30を介して第2の通信バス3へ送信している間、第2の通信バス3に流れているその信号をトランシーバ31を介して入力する。CANコントローラ36は、トランシーバ31から入力したデジタル信号の内容を識別する。ルーティング制御部90は、そのデジタル信号の内容に応じて、当該デジタル信号をバッファ42を介して他の送受信部へ転送する。   The other CAN controller 36 transmits the signal flowing through the second communication bus 3 via the transceiver 31 while the one CAN controller 35 transmits the signal to the second communication bus 3 via the transceiver 30. Enter. The CAN controller 36 identifies the contents of the digital signal input from the transceiver 31. The routing control unit 90 transfers the digital signal to another transmission / reception unit via the buffer 42 according to the content of the digital signal.

一方のCANコントローラ35は、他の送受信部から転送されてきたデジタル信号を、自己が接続されているトランシーバ31へ信号線Txを介して出力する。また、CANコントローラ35は、トランシーバ31から入力したデジタル信号の内容を識別し、その内容が自己が送信中の信号の内容と同じである場合は信号をバッファ41へ出力しない。CANコントローラ35は、トランシーバ31から入力したデジタル信号の内容が自己が送信中の信号の内容と異なる場合或いは自己が信号を送信中でない場合は、入力した信号をバッファ41へ出力する。ルーティング制御部90は、バッファ41に出力されたデジタル信号の内容に応じて、当該デジタル信号をバッファ41を介して他の送受信部へ転送する。   One CAN controller 35 outputs the digital signal transferred from the other transmission / reception unit to the transceiver 31 to which the CAN controller 35 is connected via the signal line Tx. Further, the CAN controller 35 identifies the content of the digital signal input from the transceiver 31 and does not output the signal to the buffer 41 when the content is the same as the content of the signal being transmitted. The CAN controller 35 outputs the input signal to the buffer 41 when the content of the digital signal input from the transceiver 31 is different from the content of the signal being transmitted or when the signal is not being transmitted. The routing control unit 90 transfers the digital signal to another transmission / reception unit via the buffer 41 according to the contents of the digital signal output to the buffer 41.

第3の送受信部80は、自己が接続された通信バス4から信号を受信して当該信号の内容を認識する。第3の送受信部80は、受信した信号の内容に応じた転送指示をルーティング制御部90から入力する。第3の送受信部80は、その転送指示に基づいて、第1の送受信部60,第2の送受信部70のいずれかへ選択的に当該信号を転送する。また、第3の送受信部80は、第1の送受信部60,第2の送受信部70から転送されてきた信号を自己が接続されている通信バス4へ送信する。   The third transmission / reception unit 80 receives a signal from the communication bus 4 to which the third transmission / reception unit 80 is connected, and recognizes the content of the signal. The third transmission / reception unit 80 inputs a transfer instruction according to the content of the received signal from the routing control unit 90. The third transmission / reception unit 80 selectively transfers the signal to either the first transmission / reception unit 60 or the second transmission / reception unit 70 based on the transfer instruction. Further, the third transmission / reception unit 80 transmits the signals transferred from the first transmission / reception unit 60 and the second transmission / reception unit 70 to the communication bus 4 to which the third transmission / reception unit 80 is connected.

第3の送受信部80は2つの送受信部800,801から成り、当該2つの送受信部800,801の一方(図10に示される例では800)が通信バス4へ送信した信号を、他方の送受信部(図10に示される例では801)が受信する。   The third transmission / reception unit 80 includes two transmission / reception units 800 and 801, and a signal transmitted from one of the two transmission / reception units 800 and 801 (800 in the example shown in FIG. 10) to the communication bus 4 is transmitted and received by the other transmission / reception unit. Unit (801 in the example shown in FIG. 10) receives.

第3の送受信部80は、具体的には、1つのトランシーバ32と、2つのCANコントローラ37,38と、2組のバッファ43,44とを含む。トランシーバ32は、ツイストペア線である通信バス4から入力した差動アナログ信号をデジタル信号に変換し、そのデジタル信号を双方のCANコントローラ37,38へ信号線Rxを介して出力する。また、トランシーバ32は、一方のCANコントローラ37から出力されたデジタル信号を差動アナログ信号に変換し、その差動アナログ信号を通信バス4へ出力する。上記した送受信部800は、1つのトランシーバ32と、1つのCANコントローラ37と、1組のバッファ43とを有する。上記した送受信部701は、1つのトランシーバ32と、1つのCANコントローラ38と、1組のバッファ44とを有する。   Specifically, the third transmission / reception unit 80 includes one transceiver 32, two CAN controllers 37 and 38, and two sets of buffers 43 and 44. The transceiver 32 converts the differential analog signal input from the communication bus 4 which is a twisted pair line into a digital signal, and outputs the digital signal to both CAN controllers 37 and 38 via the signal line Rx. The transceiver 32 converts the digital signal output from the one CAN controller 37 into a differential analog signal, and outputs the differential analog signal to the communication bus 4. The transmission / reception unit 800 described above includes one transceiver 32, one CAN controller 37, and a set of buffers 43. The transmission / reception unit 701 described above includes one transceiver 32, one CAN controller 38, and one set of buffers 44.

他方のCANコントローラ38は、一方のCANコントローラ37が信号をトランシーバ32を介して第3の通信バス4へ送信している間、第3の通信バス4に流れているその信号をトランシーバ32を介して入力する。CANコントローラ38は、トランシーバ32から入力したデジタル信号の内容を識別する。ルーティング制御部90は、そのデジタル信号の内容に応じて、当該デジタル信号をバッファ44を介して他の送受信部へ転送する。   The other CAN controller 38 transmits the signal flowing through the third communication bus 4 via the transceiver 32 while the one CAN controller 37 transmits the signal to the third communication bus 4 via the transceiver 32. Enter. The CAN controller 38 identifies the contents of the digital signal input from the transceiver 32. The routing control unit 90 transfers the digital signal to another transmission / reception unit via the buffer 44 according to the contents of the digital signal.

一方のCANコントローラ37は、他の送受信部から転送されてきたデジタル信号を、自己が接続されているトランシーバ32へ信号線Txを介して出力する。また、CANコントローラ37は、トランシーバ32から入力したデジタル信号の内容を識別し、その内容が自己が送信中の信号の内容と同じである場合は信号をバッファ43へ出力しない。CANコントローラ37は、トランシーバ32から入力したデジタル信号の内容が自己が送信中の信号の内容と異なる場合或いは自己が信号を送信中でない場合は、入力した信号をバッファ43へ出力する。ルーティング制御部90は、バッファ43に出力されたデジタル信号の内容に応じて、当該デジタル信号をバッファ43を介して他の送受信部へ転送する。   One CAN controller 37 outputs the digital signal transferred from the other transmitting / receiving unit to the transceiver 32 to which the CAN controller 37 is connected via the signal line Tx. Further, the CAN controller 37 identifies the content of the digital signal input from the transceiver 32 and does not output the signal to the buffer 43 when the content is the same as the content of the signal being transmitted. The CAN controller 37 outputs the input signal to the buffer 43 when the content of the digital signal input from the transceiver 32 is different from the content of the signal being transmitted or when the signal is not being transmitted. The routing control unit 90 transfers the digital signal to another transmission / reception unit via the buffer 43 according to the contents of the digital signal output to the buffer 43.

第1の転送経路110と第2の転送経路120と第3の転送経路130は、第1の送受信部60と第2の送受信部70と第3の送受信部80を介して一周するように相互に接続されている。   The first transfer path 110, the second transfer path 120, and the third transfer path 130 are mutually connected so as to make a round through the first transmission / reception unit 60, the second transmission / reception unit 70, and the third transmission / reception unit 80. It is connected to the.

第1の転送経路110は、第1の送受信部60と第3の送受信部80を接続し、信号を第1の送受信部60と第3の送受信部80の間で転送する経路である。第2の転送経路120は、第1の送受信部60と第2の送受信部70を接続し、信号を第1の送受信部60と第2の送受信部70の間で転送する経路である。第3の転送経路130は、第2の送受信部70と第3の送受信部80を接続し、信号を第2の送受信部70と第3の送受信部80の間で転送する経路である。   The first transfer path 110 is a path that connects the first transmission / reception unit 60 and the third transmission / reception unit 80 and transfers signals between the first transmission / reception unit 60 and the third transmission / reception unit 80. The second transfer path 120 is a path that connects the first transmission / reception unit 60 and the second transmission / reception unit 70 and transfers signals between the first transmission / reception unit 60 and the second transmission / reception unit 70. The third transfer path 130 is a path that connects the second transmission / reception unit 70 and the third transmission / reception unit 80 and transfers a signal between the second transmission / reception unit 70 and the third transmission / reception unit 80.

図11は、図9に示される通信ネットワークにおいて、フレームAの当初予定されている転送経路を示す図である。図12は、図9に示される通信ネットワークにおいて、フレームAの当初予定されている転送経路に通信異常が生じた様子を示す図である。図13は、図9に示される通信ネットワークにおいて、フレームAの転送経路を切替えて転送を行う様子を示す図である。図14は、図10に示される通信中継装置において、フレームAの転送経路を切替えて転送を行う様子を示す図である。   FIG. 11 is a diagram showing a transfer path initially scheduled for frame A in the communication network shown in FIG. FIG. 12 is a diagram showing a state in which a communication abnormality has occurred in the transfer path initially scheduled for frame A in the communication network shown in FIG. FIG. 13 is a diagram illustrating a state in which transfer is performed by switching the transfer path of the frame A in the communication network illustrated in FIG. 9. FIG. 14 is a diagram illustrating a state in which the transfer is performed by switching the transfer path of the frame A in the communication relay device illustrated in FIG. 10.

ルーティング制御部90は、通信異常検出部10で転送経路の通信異常が検出された場合、当初は通信異常が検出された異常転送経路(図11,12に示される例では第1の転送経路110)で転送される予定であった信号(フレーム)が、当該異常転送経路の転送元(図11、12に示される例では第1の送受信部60)から転送先(図11,12に示される例では第3の送受信部80)へ当該異常転送経路以外の転送経路(図13、14に示される例では転送経路120,130)を経由して迂回転送されるように転送経路を切替える。具体的には、ルーティング制御部90により、以下のように転送経路が切替えられ、信号の転送が行われる。   When the communication abnormality detection unit 10 detects a communication abnormality in the transfer path, the routing control unit 90 initially detects the abnormal transfer path in which the communication abnormality is detected (the first transfer path 110 in the example shown in FIGS. 11 and 12). ) Is transferred from the transfer source (first transmission / reception unit 60 in the example shown in FIGS. 11 and 12) of the abnormal transfer path to the transfer destination (shown in FIGS. 11 and 12). In the example, the third transmission / reception unit 80) switches the transfer path so that the transfer is bypassed via a transfer path other than the abnormal transfer path (transfer paths 120 and 130 in the examples shown in FIGS. 13 and 14). Specifically, the routing control unit 90 switches the transfer path as described below, and performs signal transfer.

通信異常検出部10が第1の転送経路110の通信異常を検出した場合、第1の送受信部60は、当初は第1の送受信部60から第1の転送経路110を経由して第3の送受信部80へ転送される予定であった信号(フレーム)を第2の転送経路120を経由して第2の送受信部70へ転送する。次いで、第2の送受信部70は、第1の送受信部60から転送されてきた信号を自己が接続された通信バス3へ送信する。次いで、第2の送受信部70は、自己が送信した信号を受信し、受信した信号を第3の転送経路130を経由して第3の送受信部80へ転送する。第3の送受信部80は、受信した信号を第3の通信バス4へ送信する。   When the communication abnormality detection unit 10 detects a communication abnormality in the first transfer path 110, the first transmission / reception unit 60 initially transmits the third transmission line from the first transmission / reception unit 60 via the first transfer path 110. The signal (frame) scheduled to be transferred to the transmission / reception unit 80 is transferred to the second transmission / reception unit 70 via the second transfer path 120. Next, the second transmitting / receiving unit 70 transmits the signal transferred from the first transmitting / receiving unit 60 to the communication bus 3 to which the second transmitting / receiving unit 70 is connected. Next, the second transmission / reception unit 70 receives the signal transmitted by itself, and transfers the received signal to the third transmission / reception unit 80 via the third transfer path 130. The third transmission / reception unit 80 transmits the received signal to the third communication bus 4.

通信異常検出部10が第1の転送経路110の通信異常を検出した場合、第3の送受信部80は、当初は第3の送受信部80から第1の転送経路110を経由して第1の送受信部60へ転送される予定であった信号(フレーム)を第3の転送経路130を経由して第2の送受信部70へ転送する。次いで、第2の送受信部70は、第3の送受信部80から転送されてきた信号を自己が接続された通信バス3へ送信する。次いで、第2の送受信部70は、自己が送信した信号を受信し、受信した信号を第2の転送経路120を経由して第1の送受信部60へ転送する。第1の送受信部60は、受信した信号を第1の通信バス2へ送信する。   When the communication abnormality detection unit 10 detects a communication abnormality in the first transfer path 110, the third transmission / reception unit 80 initially transmits the first transfer path 110 from the third transmission / reception unit 80 via the first transfer path 110. The signal (frame) scheduled to be transferred to the transmission / reception unit 60 is transferred to the second transmission / reception unit 70 via the third transfer path 130. Next, the second transmission / reception unit 70 transmits the signal transferred from the third transmission / reception unit 80 to the communication bus 3 to which the second transmission / reception unit 70 is connected. Next, the second transmission / reception unit 70 receives the signal transmitted by itself, and transfers the received signal to the first transmission / reception unit 60 via the second transfer path 120. The first transmission / reception unit 60 transmits the received signal to the first communication bus 2.

また、通信異常検出部10が第2の転送経路120の通信異常を検出した場合、第1の送受信部60は、当初は第1の送受信部60から第2の転送経路120を経由して第2の送受信部70へ転送される予定であった信号を第1の転送経路110を経由して第3の送受信部80へ転送する。次いで、第3の送受信部80は、第1の送受信部60から転送されてきた信号を自己が接続された通信バス4へ送信する。次いで、第3の送受信部80は、自己が送信した信号を受信し、受信した信号を第3の転送経路130を経由して第2の送受信部70へ転送する。第2の送受信部70は、受信した信号を第2の通信バス3へ送信する。   In addition, when the communication abnormality detection unit 10 detects a communication abnormality in the second transfer path 120, the first transmission / reception unit 60 initially starts from the first transmission / reception unit 60 via the second transfer path 120. The signal that was scheduled to be transferred to the second transmitter / receiver 70 is transferred to the third transmitter / receiver 80 via the first transfer path 110. Next, the third transmission / reception unit 80 transmits the signal transferred from the first transmission / reception unit 60 to the communication bus 4 to which the third transmission / reception unit 80 is connected. Next, the third transmission / reception unit 80 receives the signal transmitted by itself, and transfers the received signal to the second transmission / reception unit 70 via the third transfer path 130. The second transmission / reception unit 70 transmits the received signal to the second communication bus 3.

また、通信異常検出部10が第2の転送経路120の通信異常を検出した場合、第2の送受信部70は、当初は第2の送受信部70から第2の転送経路120を経由して第1の送受信部60へ転送される予定であった信号を第3の転送経路130を経由して第3の送受信部80へ転送する。次いで、第3の送受信部80は、第2の送受信部70から転送されてきた信号を自己が接続された通信バス4へ送信する。次いで、第3の送受信部80は、自己が送信した信号を受信し、受信した信号を第1の転送経路110を経由して第1の送受信部60へ転送する。第1の送受信部60は、受信した信号を第1の通信バス2へ送信する。   In addition, when the communication abnormality detection unit 10 detects a communication abnormality in the second transfer path 120, the second transmission / reception unit 70 initially starts from the second transmission / reception unit 70 via the second transfer path 120. The signal that was scheduled to be transferred to one transmitter / receiver 60 is transferred to the third transmitter / receiver 80 via the third transfer path 130. Next, the third transmission / reception unit 80 transmits the signal transferred from the second transmission / reception unit 70 to the communication bus 4 to which the third transmission / reception unit 80 is connected. Next, the third transmission / reception unit 80 receives the signal transmitted by itself, and transfers the received signal to the first transmission / reception unit 60 via the first transfer path 110. The first transmission / reception unit 60 transmits the received signal to the first communication bus 2.

また、通信異常検出部10が第3の転送経路130の通信異常を検出した場合、第2の送受信部70は、当初は第2の送受信部70から第3の転送経路130を経由して第3の送受信部80へ転送される予定であった信号を第2の転送経路120を経由して第1の送受信部60へ転送する。次いで、第1の送受信部60は、第2の送受信部70から転送されてきた信号を自己が接続された通信バス2へ送信する。次いで、第1の送受信部60は、自己が送信した信号を受信し、受信した信号を第1の転送経路110を経由して第3の送受信部80へ転送する。第3の送受信部80は、受信した信号を第3の通信バス4へ送信する。   When the communication abnormality detection unit 10 detects a communication abnormality in the third transfer path 130, the second transmission / reception unit 70 initially starts from the second transmission / reception unit 70 via the third transfer path 130. 3 is transferred to the first transmission / reception unit 60 via the second transfer path 120. Next, the first transmission / reception unit 60 transmits the signal transferred from the second transmission / reception unit 70 to the communication bus 2 to which the first transmission / reception unit 60 is connected. Next, the first transmission / reception unit 60 receives the signal transmitted by itself, and transfers the received signal to the third transmission / reception unit 80 via the first transfer path 110. The third transmission / reception unit 80 transmits the received signal to the third communication bus 4.

また、通信異常検出部10が第3の転送経路130の通信異常を検出した場合、第3の送受信部80は、当初は第3の送受信部80から第3の転送経路130を経由して第2の送受信部70へ転送される予定であった信号を第1の転送経路110を経由して第1の送受信部60へ転送する。次いで、第1の送受信部60は、第3の送受信部80から転送されてきた信号を自己が接続された通信バス2へ送信する。次いで、第1の送受信部60は、自己が送信した信号を受信し、受信した信号を第2の転送経路120を経由して第2の送受信部70へ転送する。第2の送受信部70は、受信した信号を第2の通信バス3へ送信する。   In addition, when the communication abnormality detection unit 10 detects a communication abnormality in the third transfer path 130, the third transmission / reception unit 80 initially starts from the third transmission / reception unit 80 via the third transfer path 130. The signal that was scheduled to be transferred to the second transmitter / receiver 70 is transferred to the first transmitter / receiver 60 via the first transfer path 110. Next, the first transmission / reception unit 60 transmits the signal transferred from the third transmission / reception unit 80 to the communication bus 2 to which the first transmission / reception unit 60 is connected. Next, the first transmission / reception unit 60 receives the signal transmitted by itself, and transfers the received signal to the second transmission / reception unit 70 via the second transfer path 120. The second transmission / reception unit 70 transmits the received signal to the second communication bus 3.

次に、通信ネットワーク100の動作について、図14、および図15のフローチャートを参照しつつ説明する。以下、電子制御装置Aから電子制御装置Eへ信号(フレームA)を送る場合を例にとって説明する。   Next, the operation of the communication network 100 will be described with reference to the flowcharts of FIGS. 14 and 15. Hereinafter, a case where a signal (frame A) is sent from the electronic control unit A to the electronic control unit E will be described as an example.

まず、電子制御装置Aが、通信バス2を経由して第1の送受信部60に信号を送信する(ステップS1)。次いで、通信異常検出部10は、転送経路110に通信異常があるかどうかを判断する(ステップS2)。通信異常検出部10において、転送経路110に通信異常がないと判断された場合、ルーティング制御部90は、第1の送受信部60に対し、第1の転送経路110を経由して第3の送受信部80へ信号を転送するように指示を出す(ステップS3)。次いで、第1の送受信部60は、第1の転送経路110を経由して第3の送受信部80へ信号を転送する(ステップS4)。ステップS4において、具体的には、第1の送受信部60を構成する2つの送受信部600,601のうちの一方(送受信部600)が第1の通信バス2から信号を受信し、その送受信部600は受信した信号を第3の送受信部80を構成する一方の送受信部800へ転送する。次いで、第3の送受信部80は、第3の通信バス4に信号を送信する(ステップS5)。ステップS5において、具体的には、一方の送受信部800が信号を第3の通信バス4へ送信する。次いで、電子制御装置Eは、第3の通信バス4から信号を受信する(ステップS6)。   First, the electronic control unit A transmits a signal to the first transmission / reception unit 60 via the communication bus 2 (step S1). Next, the communication abnormality detection unit 10 determines whether there is a communication abnormality in the transfer path 110 (step S2). When the communication abnormality detection unit 10 determines that there is no communication abnormality in the transfer path 110, the routing control unit 90 performs the third transmission / reception with respect to the first transmission / reception unit 60 via the first transfer path 110. An instruction is given to transfer the signal to the unit 80 (step S3). Next, the first transmission / reception unit 60 transfers the signal to the third transmission / reception unit 80 via the first transfer path 110 (step S4). In step S4, specifically, one of the two transmission / reception units 600 and 601 (transmission / reception unit 600) constituting the first transmission / reception unit 60 receives a signal from the first communication bus 2, and the transmission / reception unit 600 transfers the received signal to one transmitting / receiving unit 800 constituting the third transmitting / receiving unit 80. Next, the third transmission / reception unit 80 transmits a signal to the third communication bus 4 (step S5). In step S <b> 5, specifically, one transmitting / receiving unit 800 transmits a signal to the third communication bus 4. Next, the electronic control unit E receives a signal from the third communication bus 4 (step S6).

一方、通信異常検出部10において、第1の転送経路110に通信異常があり、第1の転送経路110を経由して信号を転送することができないと判断された場合、ルーティング制御部90は、第1の送受信部60に対し、第2の転送経路120を経由して第2の送受信部70へ信号を転送するように指示を出す(ステップS7)。次いで、第1の送受信部60は、第2の転送経路120を経由して第2の送受信部70へ信号を転送する(ステップS8)。ステップS8において、具体的には、第1の送受信部60を構成する一方の送受信部600は受信した信号を第2の送受信部70を構成する一方の送受信部700へ転送する。次いで、第2の送受信部70は、第2の通信バス3に信号を送信する(ステップS9)。ステップS9において、具体的には、一方の送受信部700が信号を第2の通信バス3へ送信する。   On the other hand, when the communication abnormality detection unit 10 determines that there is a communication abnormality in the first transfer path 110 and the signal cannot be transferred via the first transfer path 110, the routing control unit 90 The first transmitter / receiver 60 is instructed to transfer a signal to the second transmitter / receiver 70 via the second transfer path 120 (step S7). Next, the first transmission / reception unit 60 transfers the signal to the second transmission / reception unit 70 via the second transfer path 120 (step S8). In step S <b> 8, specifically, one transmission / reception unit 600 configuring the first transmission / reception unit 60 transfers the received signal to one transmission / reception unit 700 configuring the second transmission / reception unit 70. Next, the second transmission / reception unit 70 transmits a signal to the second communication bus 3 (step S9). In step S <b> 9, specifically, one transmitting / receiving unit 700 transmits a signal to the second communication bus 3.

次いで、第2の送受信部70は、第2の通信バス3から信号を受信する(ステップS10)。ステップS10において、具体的には、他方の送受信部701が第2の通信バス3から信号を受信する。次いで、ルーティング制御部90は、第2の送受信部70に対し、第3の転送経路130を経由して第3の送受信部80へ信号を転送するように指示を出す(ステップS11)。次いで、第2の送受信部70は、第3の転送経路130を経由して第3の送受信部80へ信号を転送する(ステップS12)。ステップS12において、具体的には、他方の送受信部701が第3の送受信部8の一方の送受信部800に信号を転送する。次いで、第3の送受信部80は、第3の通信バス4に信号を送信する(ステップS13)。ステップS13において、具体的には、一方の送受信部800が第3の通信バス4へ信号を送信する。次いで、電子制御装置Eは、第3の通信バス4から信号を受信する(ステップS14)。以上が、通信ネットワーク100の動作である。   Next, the second transmission / reception unit 70 receives a signal from the second communication bus 3 (step S10). In step S 10, specifically, the other transmission / reception unit 701 receives a signal from the second communication bus 3. Next, the routing control unit 90 instructs the second transmission / reception unit 70 to transfer the signal to the third transmission / reception unit 80 via the third transfer path 130 (step S11). Next, the second transmission / reception unit 70 transfers the signal to the third transmission / reception unit 80 via the third transfer path 130 (step S12). Specifically, in step S <b> 12, the other transmitting / receiving unit 701 transfers a signal to one transmitting / receiving unit 800 of the third transmitting / receiving unit 8. Next, the third transmission / reception unit 80 transmits a signal to the third communication bus 4 (step S13). Specifically, in step S <b> 13, one transmission / reception unit 800 transmits a signal to the third communication bus 4. Next, the electronic control unit E receives a signal from the third communication bus 4 (step S14). The above is the operation of the communication network 100.

通信ネットワーク100によれば、送受信部(例えば第2の送受信部70)は通信バス(例えば第2の通信バス3)へ送信した信号を当該通信バスから受信して他の送受信部(例えば第3の送受信部80)へ転送することができる。よって、通信ネットワーク100によれば、通信異常により或る転送経路(例えば第1の転送経路110)を経由して信号を転送することができなくなっても、他の転送経路(例えば第2の転送経路120および第3の転送経路130)を経由して信号を転送することができる。   According to the communication network 100, the transmission / reception unit (for example, the second transmission / reception unit 70) receives the signal transmitted to the communication bus (for example, the second communication bus 3) from the communication bus and receives another transmission / reception unit (for example, the third transmission / reception unit) To the transmission / reception unit 80). Therefore, according to the communication network 100, even if it becomes impossible to transfer a signal via a certain transfer path (for example, the first transfer path 110) due to a communication abnormality, another transfer path (for example, the second transfer path) Signals can be transferred via path 120 and third transfer path 130).

また、通信ネットワーク1は、通信プロトコル(例えばCANプロトコル)の関係上、送受信部(例えば第2の送受信部70)が信号を通信バス(例えば第2の通信バス3)に送信している間は当該送受信部(例えば第2の送受信部70)は送信中の信号と同じ内容の信号を受信して他の送受信部(例えば第3の送受信部80)へ転送することができない。しかしながら、通信ネットワーク100では、送受信部(例えば第2の送受信部70)は送信した信号を通信バス(例えば第2の通信バス3)から受信して他の送受信部(例えば第3の送受信部80)へ転送することができる。よって、通信ネットワーク100によれば、通信異常により或る転送経路(例えば第1の転送経路110)を経由して信号を転送することができなくなっても、他の転送経路(例えば第2の転送経路120および第3の転送経路130)を経由して信号を転送することができる。   Further, the communication network 1 has a relationship between a communication protocol (for example, the CAN protocol) and while the transmission / reception unit (for example, the second transmission / reception unit 70) transmits a signal to the communication bus (for example, the second communication bus 3). The transmission / reception unit (for example, the second transmission / reception unit 70) cannot receive a signal having the same content as the signal being transmitted and cannot transfer the signal to another transmission / reception unit (for example, the third transmission / reception unit 80). However, in the communication network 100, the transmission / reception unit (for example, the second transmission / reception unit 70) receives the transmitted signal from the communication bus (for example, the second communication bus 3) and receives other transmission / reception units (for example, the third transmission / reception unit 80). ). Therefore, according to the communication network 100, even if it becomes impossible to transfer a signal via a certain transfer path (for example, the first transfer path 110) due to a communication abnormality, another transfer path (for example, the second transfer path) Signals can be transferred via path 120 and third transfer path 130).

次に、本発明の第3実施形態について、図面を参照しつつ説明する。
図16は、第3実施形態に係る通信ネットワークの一部を抽出して示す図であり、スイッチがオンになっている様子を示す図である。図17は、第3実施形態に係る通信ネットワークの一部を抽出して示す図であり、スイッチがオフになっている様子を示す図である。図18は、図16に示される通信ネットワークと対比するための通信ネットワークの構成を示す図(第2実施形態に対応)である。なお、第2実施形態と同様の構成については同一符号を付してその説明を省略する。
Next, a third embodiment of the present invention will be described with reference to the drawings.
FIG. 16 is a diagram illustrating a part of the communication network according to the third embodiment, and illustrates a state in which the switch is turned on. FIG. 17 is a diagram illustrating a part of the communication network according to the third embodiment, and illustrates a state where the switch is turned off. FIG. 18 is a diagram (corresponding to the second embodiment) showing a configuration of a communication network for comparison with the communication network shown in FIG. In addition, about the structure similar to 2nd Embodiment, the same code | symbol is attached | subjected and the description is abbreviate | omitted.

第3実施形態が第2実施形態と異なる点は、通信中継装置50に代えて通信中継装置51が設けられている点である。通信中継装置51は、通信中継装置50の構成に加えて、スイッチ52と終端回路53と、スイッチ制御線54とを備えている。なお、図16,17においては、図面を簡単にするために、第2の送受信部70のみを図示し、他の送受信部の図示は省略している。他の送受信部についても、同様に、スイッチ52と、終端回路53と、スイッチ制御線54とが接続されている。   The third embodiment is different from the second embodiment in that a communication relay device 51 is provided instead of the communication relay device 50. In addition to the configuration of the communication relay device 50, the communication relay device 51 includes a switch 52, a termination circuit 53, and a switch control line 54. 16 and 17, only the second transmission / reception unit 70 is illustrated and the other transmission / reception units are not illustrated for the sake of simplicity. Similarly, the switch 52, the termination circuit 53, and the switch control line 54 are connected to the other transmission / reception units.

図16に示されるスイッチ52は、図12における第1の転送経路110で通信異常が発生したために、図13,14における第2の転送経路120および第3の転送経路130を経由して信号の転送を行う場合において、図13,14における第2の送受信部70からトランシーバ31を介して第2の通信バス3に送信された信号が通信中継装置51の外へ出て行かないようにするためのものである。スイッチ52は、例えばリレーで構成することができる。   The switch 52 shown in FIG. 16 has a signal error via the second transfer path 120 and the third transfer path 130 in FIGS. 13 and 14 because a communication abnormality has occurred in the first transfer path 110 in FIG. In order to prevent transfer, the signal transmitted from the second transmitter / receiver 70 in FIGS. 13 and 14 to the second communication bus 3 via the transceiver 31 does not go out of the communication relay device 51. belongs to. The switch 52 can be configured by a relay, for example.

ツイストペア線である通信バスは、第1の通信線350と第2の通信線351とからなる。
終端回路53は、ツイストペア線である通信バス(図16に示される例では、第1の通信線350と第2の通信線351)に信号生成のための電位差を発生させるものである。終端回路53は、抵抗体とコンデンサとを有する。なお、終端回路53はコンデンサを有さない場合もある。
The communication bus that is a twisted pair line includes a first communication line 350 and a second communication line 351.
The termination circuit 53 generates a potential difference for signal generation on a communication bus (in the example shown in FIG. 16, the first communication line 350 and the second communication line 351) that are twisted pair lines. Termination circuit 53 includes a resistor and a capacitor. The termination circuit 53 may not have a capacitor.

スイッチ制御線54は、スイッチ52のオン、オフを制御するための通信線である。スイッチ52のオン、オフを制御する信号は、CANコントローラ35,36を含むマイクロコンピュータ300から出力される。   The switch control line 54 is a communication line for controlling on / off of the switch 52. A signal for controlling on / off of the switch 52 is output from the microcomputer 300 including the CAN controllers 35 and 36.

実際の通信バス3は、その一部が通信中継装置51の内部に引き込まれている。スイッチ52は、通信バス3の当該引き込まれている部分に設けられている。各転送経路が正常である場合は、図16に示されるようにスイッチ52はオン(導通状態)になっている。一方、第1の転送経路110に異常が生じたために第2実施形態のように迂回経路中の第2の送受信部70が信号を送信し、その送信された信号を当該送受信部70が受信する場合には、図17に示されるようにスイッチ52はオフ(非導通状態)とされる。これにより、迂回経路で信号が転送される場合に迂回経路に接続される通信バス3を通じて通信中継装置51の外へその信号が出て行かないので、当該通信バス3上での信号の衝突を生じにくくさせることができる。また、通信中継装置51内に終端回路53が設けられているので、スイッチ52がオフになっている場合でも、通信を成立させることができる。   A part of the actual communication bus 3 is drawn into the communication relay device 51. The switch 52 is provided in the portion where the communication bus 3 is drawn. When each transfer path is normal, the switch 52 is turned on (conductive state) as shown in FIG. On the other hand, because an abnormality has occurred in the first transfer path 110, the second transmission / reception unit 70 in the detour path transmits a signal as in the second embodiment, and the transmission / reception unit 70 receives the transmitted signal. In this case, the switch 52 is turned off (non-conducting state) as shown in FIG. As a result, when a signal is transferred through the detour path, the signal does not go out of the communication relay device 51 through the communication bus 3 connected to the detour path. It can be made difficult to occur. Further, since the termination circuit 53 is provided in the communication relay device 51, communication can be established even when the switch 52 is turned off.

これに対し、図18に示されるようにスイッチ52がない場合には、迂回経路で信号が転送される際に迂回経路の通信バスを通じて通信中継装置50の外へその信号が出て行くので、当該通信バス上で信号の衝突が生じやすくなる。   On the other hand, when there is no switch 52 as shown in FIG. 18, when the signal is transferred through the bypass route, the signal goes out of the communication relay device 50 through the communication bus of the bypass route. Signal collision is likely to occur on the communication bus.

次に、本発明の第4実施形態について、図面を参照しつつ説明する。
図19は、第4実施形態に係る通信ネットワークの一部を抽出して示す図である。なお、第1実施形態と同様の構成については同一符号を付してその説明を省略する。
Next, a fourth embodiment of the present invention will be described with reference to the drawings.
FIG. 19 is a diagram illustrating an extracted part of the communication network according to the fourth embodiment. In addition, about the structure similar to 1st Embodiment, the same code | symbol is attached | subjected and the description is abbreviate | omitted.

第4実施形態が第1実施形態と異なる点は、信号を返信する機能が通信中継装置52内に設けられている点である。図19に示される例では、通信バス3のトランシーバ21近傍部分に信号返信部55が接続されている。信号返信部55は、トランシーバ21から出力された信号を入力し、その信号と同じ内容の信号をトランシーバ21へ返信する。信号の返信は、その信号と同じ内容の信号をトランシーバ21が送信し終わった後に行われる。これにより、トランシーバ21は、自己が送信した信号と同じ内容の信号を受信して他のCANコントローラに転送することができる。
なお、図19に示される例では、信号返信部55は通信バス3にのみ設けられているが、信号返信部は通信バス2,3,4にそれぞれ設けられてもよい。
The fourth embodiment is different from the first embodiment in that a function for returning a signal is provided in the communication relay device 52. In the example shown in FIG. 19, a signal return unit 55 is connected to the vicinity of the transceiver 21 of the communication bus 3. The signal reply unit 55 receives the signal output from the transceiver 21 and returns a signal having the same content as the signal to the transceiver 21. The signal is returned after the transceiver 21 finishes transmitting the signal having the same content as the signal. As a result, the transceiver 21 can receive a signal having the same content as the signal transmitted by itself and transfer it to another CAN controller.
In the example shown in FIG. 19, the signal reply unit 55 is provided only in the communication bus 3, but the signal reply unit may be provided in each of the communication buses 2, 3, and 4.

第4実施形態によれば、各通信バスに接続された電子制御装置に返信機能を設ける必要がなくなる。   According to the fourth embodiment, it is not necessary to provide a return function in the electronic control device connected to each communication bus.

本発明は、車載通信ネットワークの通信中継装置等に利用可能である。   The present invention can be used for a communication relay device of an in-vehicle communication network.

1,100 通信ネットワーク
2 第1の通信バス
3 第2の通信バス
4 第3の通信バス
5,50,51,52 通信中継装置
6 第1の送受信部
7 第2の送受信部
8 第3の送受信部
9 ルーティング制御部
10 通信異常検出部
11,110 第1の転送経路
12,120 第2の転送経路
13,130 第3の転送経路
20,21,22,30,31,32 トランシーバ
23,24,25,33,34,35,36,37,38 CANコントローラ
26,27,28,39,40,41,42,43,44 バッファ
52 スイッチ
53 終端回路
54 スイッチ制御線
55 信号返信部
DESCRIPTION OF SYMBOLS 1,100 Communication network 2 1st communication bus 3 2nd communication bus 4 3rd communication bus 5, 50, 51, 52 Communication relay apparatus 6 1st transmission / reception part 7 2nd transmission / reception part 8 3rd transmission / reception Unit 9 routing control unit 10 communication abnormality detection unit 11, 110 first transfer route 12, 120 second transfer route 13, 130 third transfer route 20, 21, 22, 30, 31, 32 transceivers 23, 24, 25, 33, 34, 35, 36, 37, 38 CAN controller 26, 27, 28, 39, 40, 41, 42, 43, 44 Buffer 52 Switch 53 Termination circuit 54 Switch control line 55 Signal return section

Claims (14)

3本以上の通信バスが接続され、各前記通信バスに接続された電子制御装置間の通信を中継する通信中継装置であって、
複数の送受信部と、
複数の転送経路と、
ルーティング制御部と、
通信異常検出部とを備え、
前記送受信部は、前記通信バス毎に設けられ、自己が接続された前記通信バスから信号を受信して当該信号の内容を認識し、受信した当該信号を他の前記送受信部へ転送する一方、他の前記送受信部から転送されてきた信号を自己が接続された前記通信バスへ送信し、
前記ルーティング制御部は、前記送受信部で受信された信号が、当該信号の内容に応じていずれの前記送受信部へ転送されるかを制御し、
前記通信異常検出部は、前記送受信部間の前記転送経路に通信異常が生じたことを検出し、
前記ルーティング制御部は、前記通信異常検出部で通信異常が検出された場合、当初は通信異常が検出された異常転送経路で転送される予定であった信号が、当該異常転送経路の転送元から転送先へ当該異常転送経路以外の前記転送経路を経由して迂回転送されるように転送経路を切替えることを特徴とする通信中継装置。
Three or more communication buses are connected, and a communication relay device relays communication between the electronic control devices connected to each of the communication buses,
A plurality of transceiver units;
Multiple transfer paths,
A routing controller;
A communication abnormality detection unit,
The transmission / reception unit is provided for each communication bus, receives a signal from the communication bus to which the communication bus is connected, recognizes the content of the signal, and transfers the received signal to the other transmission / reception unit, Sending the signal transferred from the other transceiver unit to the communication bus to which it is connected,
The routing control unit controls which of the transmission / reception units the signal received by the transmission / reception unit is transferred according to the content of the signal,
The communication abnormality detection unit detects that a communication abnormality has occurred in the transfer path between the transmission and reception units,
When a communication abnormality is detected by the communication abnormality detection unit, the routing control unit initially transmits a signal that is scheduled to be transferred through the abnormal transfer path in which the communication abnormality is detected from the transfer source of the abnormal transfer path. A communication relay device that switches a transfer path so that a detour transfer is performed to the transfer destination via the transfer path other than the abnormal transfer path.
前記転送経路は、前記送受信部を介して一周するように相互に接続された第1の転送経路と第2の転送経路と第3の転送経路とを含み、
前記送受信部は、前記第1の転送経路と前記第2の転送経路を接続する第1の送受信部と、前記第2の転送経路と前記第3の転送経路を接続する第2の送受信部と、前記第3の転送経路と前記第1の転送経路を接続する第3の送受信部とを含み、
前記電子制御装置は、前記通信バスから受信した信号を当該通信バスへ返信する返信機能を有し、
前記通信異常検出部が前記第1の転送経路の通信異常を検出した場合、
(A)前記第1の送受信部は、当初は前記第1の送受信部から前記第1の転送経路を経由して前記第3の送受信部へ転送される予定であった信号を前記第2の転送経路を経由して前記第2の送受信部へ転送し、
(B)前記第2の送受信部は、前記第1の送受信部から転送されてきた信号を自己が接続された前記通信バスへ送信し、
(C)前記第2の送受信部は、自己が送信した信号と同じ内容の信号が前記電子制御装置から返信されてきた時、当該返信されてきた信号を受信し、受信した信号を前記第3の転送経路を経由して前記第3の送受信部へ転送することを特徴とする請求項1に記載の通信中継装置。
The transfer path includes a first transfer path, a second transfer path, and a third transfer path that are connected to each other so as to make a round through the transceiver.
The transmission / reception unit includes: a first transmission / reception unit that connects the first transfer path and the second transfer path; a second transmission / reception unit that connects the second transfer path and the third transfer path; A third transmission / reception unit that connects the third transfer path and the first transfer path,
The electronic control unit has a reply function for returning a signal received from the communication bus to the communication bus;
When the communication abnormality detection unit detects a communication abnormality in the first transfer path,
(A) The first transmission / reception unit transmits a signal that was originally scheduled to be transferred from the first transmission / reception unit to the third transmission / reception unit via the first transfer path. Transfer to the second transmitter / receiver via a transfer path;
(B) The second transmitting / receiving unit transmits the signal transferred from the first transmitting / receiving unit to the communication bus to which the second transmitting / receiving unit is connected.
(C) When a signal having the same content as the signal transmitted by itself is returned from the electronic control unit, the second transmission / reception unit receives the returned signal, and receives the received signal as the third signal. The communication relay device according to claim 1, wherein the transfer is transferred to the third transmission / reception unit via a transfer path.
前記通信異常検出部が前記第1の転送経路の通信異常を検出した場合、前記第2の送受信部は、通信異常を知らせる異常報知信号を自己が接続された前記通信バスへ送信し、
前記電子制御装置は、前記異常報知信号を受信した場合、その後に受信した信号を前記通信バスへ返信することを特徴とする請求項2に記載の通信中継装置。
When the communication abnormality detection unit detects a communication abnormality in the first transfer path, the second transmission / reception unit transmits an abnormality notification signal informing the communication abnormality to the communication bus to which the self is connected,
3. The communication relay device according to claim 2, wherein, when receiving the abnormality notification signal, the electronic control device returns a signal received thereafter to the communication bus.
前記転送経路は、前記送受信部を介して一周するように相互に接続された第1の転送経路と第2の転送経路と第3の転送経路とを含み、
前記送受信部は、前記第1の転送経路と前記第2の転送経路を接続する第1の送受信部と、前記第2の転送経路と前記第3の転送経路を接続する第2の送受信部と、前記第3の転送経路と前記第1の転送経路を接続する第3の送受信部とを含み、
前記通信異常検出部が前記第1の転送経路の通信異常を検出した場合、
(A)前記第1の送受信部は、当初は前記第1の送受信部から前記第1の転送経路を経由して前記第3の送受信部へ転送される予定であった信号を前記第2の転送経路を経由して前記第2の送受信部へ転送し、
(B)前記第2の送受信部は、前記第1の送受信部から転送されてきた信号を自己が接続された前記通信バスへ送信し、
(C)前記第2の送受信部は、自己が送信した信号を受信し、受信した信号を前記第3の転送経路を経由して前記第3の送受信部へ転送することを特徴とする請求項1に記載の通信中継装置。
The transfer path includes a first transfer path, a second transfer path, and a third transfer path that are connected to each other so as to make a round through the transceiver.
The transmission / reception unit includes: a first transmission / reception unit that connects the first transfer path and the second transfer path; a second transmission / reception unit that connects the second transfer path and the third transfer path; A third transmission / reception unit that connects the third transfer path and the first transfer path,
When the communication abnormality detection unit detects a communication abnormality in the first transfer path,
(A) The first transmission / reception unit transmits a signal that was originally scheduled to be transferred from the first transmission / reception unit to the third transmission / reception unit via the first transfer path. Transfer to the second transmitter / receiver via a transfer path;
(B) The second transmitting / receiving unit transmits the signal transferred from the first transmitting / receiving unit to the communication bus to which the second transmitting / receiving unit is connected.
(C) The second transmission / reception unit receives a signal transmitted by the second transmission / reception unit, and transfers the received signal to the third transmission / reception unit via the third transfer path. The communication relay device according to 1.
前記第2の送受信部は2つの送受信部から成り、当該2つの送受信部の一方が前記通信バスへ送信した信号を、他方の送受信部が受信することを特徴とする請求項4に記載の通信中継装置。   The communication according to claim 4, wherein the second transmission / reception unit includes two transmission / reception units, and the other transmission / reception unit receives a signal transmitted from one of the two transmission / reception units to the communication bus. Relay device. CAN(Controller Area Network)プロトコルに基づく通信を行うことを特徴とする請求項1乃至5いずれか1項に記載の通信中継装置。   6. The communication relay device according to claim 1, wherein communication is performed based on a CAN (Controller Area Network) protocol. 前記通信中継装置は、その内部に前記通信バスの一部を引き込んでおり、
前記通信中継装置は、さらに、
前記第2の送受信部が前記通信バスへ送信した信号を当該第2の送受信部が受信する際、当該送信した信号が前記通信バスを経由して前記通信中継装置の外へ出て行かないように前記通信バスの引き込んだ部分を中途部で電気的に切断するスイッチを備える請求項4に記載の通信中継装置。
The communication relay device draws a part of the communication bus therein,
The communication relay device further includes:
When the second transmitter / receiver receives a signal transmitted from the second transmitter / receiver to the communication bus, the transmitted signal does not go out of the communication relay device via the communication bus. The communication relay device according to claim 4, further comprising: a switch that electrically disconnects the portion where the communication bus is drawn in midway.
前記通信中継装置は、その内部に前記通信バスの一部を引き込んでおり、
前記通信中継装置は、さらに、
前記2つの送受信部の一方が前記通信バスへ送信した信号を前記他方の送受信部が受信する際、当該送信した信号が前記通信バスを経由して前記通信中継装置の外へ出て行かないように前記通信バスの引き込んだ部分を中途部で電気的に切断するスイッチを備える請求項5に記載の通信中継装置。
The communication relay device draws a part of the communication bus therein,
The communication relay device further includes:
When the other transmitter / receiver receives a signal transmitted by one of the two transmitter / receivers to the communication bus, the transmitted signal does not go out of the communication relay device via the communication bus. The communication relay device according to claim 5, further comprising: a switch that electrically disconnects a portion where the communication bus is drawn in midway.
前記通信バスは、第1の通信線と第2の通信線からなり差動信号を伝送するツイストペア線で構成され、
前記通信中継装置は、その内部に前記ツイストペア線の一部を引き込んでおり、
前記通信中継装置は、さらに、
前記2つの送受信部の一方が前記第1の通信線へ送信した信号を他方の送受信部が受信できるように前記第1の通信線と前記第2の通信線を繋ぐ終端回路と、
前記2つの送受信部の一方が前記第1の通信線へ送信した信号を他方の送受信部が受信する際、当該送信した信号が前記ツイストペア線を経由して前記通信中継装置の外へ出て行かないように前記ツイストペア線の引き込んだ部分を中途部で電気的に切断するスイッチとを備える請求項5に記載の通信中継装置。
The communication bus is composed of a twisted pair line that includes a first communication line and a second communication line and transmits a differential signal,
The communication relay device draws a part of the twisted pair wire therein,
The communication relay device further includes:
A termination circuit connecting the first communication line and the second communication line so that the other transmission / reception unit can receive a signal transmitted from one of the two transmission / reception units to the first communication line;
When the other transmitting / receiving unit receives a signal transmitted from one of the two transmitting / receiving units to the first communication line, the transmitted signal goes out of the communication relay device via the twisted pair line. The communication relay device according to claim 5, further comprising: a switch that electrically disconnects the portion where the twisted-pair wire is drawn in midway so as not to exist.
前記転送経路は、前記送受信部を介して一周するように相互に接続された第1の転送経路と第2の転送経路と第3の転送経路とを含み、
前記送受信部は、前記第1の転送経路と前記第2の転送経路を接続する第1の送受信部と、前記第2の転送経路と前記第3の転送経路を接続する第2の送受信部と、前記第3の転送経路と前記第1の転送経路を接続する第3の送受信部とを含み、
前記通信中継装置は、さらに、
前記第2の送受信部から前記通信バスへ送信された信号を受信し、受信した信号と同じ内容の信号を前記第2の送受信部へ返信する信号返信部を備え、
前記通信異常検出部が前記第1の転送経路の通信異常を検出した場合、
(A)前記第1の送受信部は、当初は前記第1の送受信部から前記第1の転送経路を経由して前記第3の送受信部へ転送される予定であった信号を前記第2の転送経路を経由して前記第2の送受信部へ転送し、
(B)前記第2の送受信部は、前記第1の送受信部から転送されてきた信号を自己が接続された前記通信バスへ送信し、
(C)前記第2の送受信部は、自己が送信した信号と同じ内容の信号が前記信号返信部から返信されてきた時、当該返信されてきた信号を受信し、受信した信号を前記第3の転送経路を経由して前記第3の送受信部へ転送することを特徴とする請求項1に記載の通信中継装置。
The transfer path includes a first transfer path, a second transfer path, and a third transfer path that are connected to each other so as to make a round through the transceiver.
The transmission / reception unit includes: a first transmission / reception unit that connects the first transfer path and the second transfer path; a second transmission / reception unit that connects the second transfer path and the third transfer path; A third transmission / reception unit that connects the third transfer path and the first transfer path,
The communication relay device further includes:
A signal return unit that receives a signal transmitted from the second transmission / reception unit to the communication bus and returns a signal having the same content as the received signal to the second transmission / reception unit;
When the communication abnormality detection unit detects a communication abnormality in the first transfer path,
(A) The first transmission / reception unit transmits a signal that was originally scheduled to be transferred from the first transmission / reception unit to the third transmission / reception unit via the first transfer path. Transfer to the second transmitter / receiver via a transfer path;
(B) The second transmitting / receiving unit transmits the signal transferred from the first transmitting / receiving unit to the communication bus to which the second transmitting / receiving unit is connected,
(C) When a signal having the same content as the signal transmitted by itself is returned from the signal return unit, the second transmission / reception unit receives the returned signal, and receives the received signal as the third signal. The communication relay device according to claim 1, wherein the transfer is transferred to the third transmission / reception unit via a transfer path.
通信バスに接続された電子制御装置であって、
前記通信バスから受信した信号を当該通信バスへ返信する返信機能を有することを特徴とする電子制御装置。
An electronic control device connected to a communication bus,
An electronic control device having a reply function for returning a signal received from the communication bus to the communication bus.
前記電子制御装置間の通信を中継する通信中継装置に異常があり、当該通信中継装置が前記通信バスを通じて送信した異常報知信号を前記電子制御装置が受信した場合、前記電子制御装置は、その後に受信した信号を前記通信バスへ返信することを特徴とする請求項11に記載の電子制御装置。   When there is an abnormality in the communication relay device that relays communication between the electronic control devices, and the electronic control device receives an abnormality notification signal transmitted by the communication relay device through the communication bus, the electronic control device The electronic control device according to claim 11, wherein the received signal is returned to the communication bus. 3本以上の通信バスが接続され、各前記通信バスに接続された電子制御装置間の通信を中継する通信中継装置と、各前記電子制御装置とを備える通信ネットワークであって、
前記電子制御装置は、
自己が接続された前記通信バスへ信号を送信する一方、当該通信バスから信号を受信し、
前記通信中継装置は、
複数の送受信部と、
ルーティング制御部と、
通信異常検出部とを備え、
前記送受信部は、前記通信バス毎に設けられ、自己が接続された前記通信バスから信号を受信して当該信号の内容を認識し、受信した当該信号を他の前記送受信部へ転送する一方、他の前記送受信部から転送されてきた信号を自己が接続された前記通信バスへ送信し、
前記ルーティング制御部は、前記送受信部で受信された信号が、当該信号の内容に応じていずれの前記送受信部へ転送されるかを制御し、
前記通信異常検出部は、前記送受信部間の転送経路に通信異常が生じたことを検出し、
前記ルーティング制御部は、前記通信異常検出部で通信異常が検出された場合、当初は通信異常が検出された異常転送経路で転送される予定であった信号が、当該異常転送経路の転送元から転送先へ当該異常転送経路以外の前記転送経路を経由して迂回転送されるように転送経路を切替えることを特徴とする通信ネットワーク。
A communication network comprising three or more communication buses, a communication relay device that relays communication between the electronic control devices connected to each of the communication buses, and each of the electronic control devices,
The electronic control device
While transmitting a signal to the communication bus to which it is connected, receiving a signal from the communication bus,
The communication relay device is:
A plurality of transceiver units;
A routing controller;
A communication abnormality detection unit,
The transmission / reception unit is provided for each communication bus, receives a signal from the communication bus to which the communication bus is connected, recognizes the content of the signal, and transfers the received signal to the other transmission / reception unit, Sending the signal transferred from the other transceiver unit to the communication bus to which it is connected,
The routing control unit controls which of the transmission / reception units the signal received by the transmission / reception unit is transferred according to the content of the signal,
The communication abnormality detection unit detects that a communication abnormality has occurred in the transfer path between the transmission and reception units,
When a communication abnormality is detected by the communication abnormality detection unit, the routing control unit initially transmits a signal that is scheduled to be transferred through the abnormal transfer path in which the communication abnormality is detected from the transfer source of the abnormal transfer path. A communication network, wherein a transfer path is switched so that a detour transfer is performed to the transfer destination via the transfer path other than the abnormal transfer path.
3本以上の通信バスに各々接続された電子制御装置間の通信を中継する通信中継方法であって、
送受信ステップと、
ルーティング制御ステップと、
通信異常検出ステップとを備え、
前記送受信ステップは、前記通信バス毎に設けられた送受信部で実行され、各前記送受信部は前記通信バスから信号を受信して当該信号の内容を認識し、受信した当該信号を他の送受信部へ転送する一方、前記他の送受信部から転送されてきた信号を自己が接続された前記通信バスへ送信し、
前記ルーティング制御ステップは、前記送受信部で受信された信号が、当該信号の内容に応じていずれの前記送受信部へ転送されるかを制御し、
前記通信異常検出ステップは、前記送受信部間の転送経路に通信異常が生じたことを検出し、
前記ルーティング制御ステップは、前記通信異常検出ステップで通信異常が検出された場合、当初は通信異常が検出された異常転送経路で転送される予定であった信号が、当該異常転送経路の転送元から転送先へ当該異常転送経路以外の前記転送経路を経由して迂回転送されるように転送経路を切替えることを特徴とする通信中継方法。
A communication relay method for relaying communication between electronic control devices respectively connected to three or more communication buses,
Sending and receiving steps;
A routing control step;
A communication abnormality detection step,
The transmission / reception step is executed by a transmission / reception unit provided for each communication bus. Each of the transmission / reception units receives a signal from the communication bus, recognizes the content of the signal, and transmits the received signal to another transmission / reception unit. While transmitting the signal transferred from the other transceiver unit to the communication bus to which it is connected,
The routing control step controls which of the transmission / reception units the signal received by the transmission / reception unit is transferred according to the content of the signal,
The communication abnormality detection step detects that a communication abnormality has occurred in the transfer path between the transmission and reception units,
In the routing control step, when a communication error is detected in the communication error detection step, a signal that was originally scheduled to be transferred on the abnormal transfer path in which the communication error was detected is transferred from the transfer source of the abnormal transfer path. A communication relay method, wherein a transfer path is switched so that a detour transfer is performed to the transfer destination via the transfer path other than the abnormal transfer path.
JP2009051221A 2009-03-04 2009-03-04 Communication repeater, communication relay method, communication network, and electronic controller Pending JP2010206651A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009051221A JP2010206651A (en) 2009-03-04 2009-03-04 Communication repeater, communication relay method, communication network, and electronic controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009051221A JP2010206651A (en) 2009-03-04 2009-03-04 Communication repeater, communication relay method, communication network, and electronic controller

Publications (1)

Publication Number Publication Date
JP2010206651A true JP2010206651A (en) 2010-09-16

Family

ID=42967651

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009051221A Pending JP2010206651A (en) 2009-03-04 2009-03-04 Communication repeater, communication relay method, communication network, and electronic controller

Country Status (1)

Country Link
JP (1) JP2010206651A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013131907A (en) * 2011-12-21 2013-07-04 Toyota Motor Corp Vehicle network monitoring device
WO2019207917A1 (en) * 2018-04-23 2019-10-31 日立オートモティブシステムズ株式会社 Gateway device
WO2021100518A1 (en) * 2019-11-22 2021-05-27 ソニーグループ株式会社 Signal processing device, signal processing system, and moving device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013131907A (en) * 2011-12-21 2013-07-04 Toyota Motor Corp Vehicle network monitoring device
WO2019207917A1 (en) * 2018-04-23 2019-10-31 日立オートモティブシステムズ株式会社 Gateway device
JPWO2019207917A1 (en) * 2018-04-23 2021-03-18 日立Astemo株式会社 Gateway device
US11444801B2 (en) 2018-04-23 2022-09-13 Hitachi Astemo, Ltd. Gateway device
WO2021100518A1 (en) * 2019-11-22 2021-05-27 ソニーグループ株式会社 Signal processing device, signal processing system, and moving device

Similar Documents

Publication Publication Date Title
CN107154885B (en) Feedforward ringing suppression circuit
JP6451546B2 (en) Communication network and relay device
US20120290753A1 (en) Connection method for bus controllers and communication system
CA2719889A1 (en) Aircraft communication system
US20180324640A1 (en) Vehicle-Mounted Gateway Device, Electronic Control Device, and Vehicle-Mounted Network System
WO1998030961A1 (en) Electronic bus system
JP6390520B2 (en) In-vehicle communication system
JP7133022B2 (en) In-vehicle communication device and in-vehicle system
CN103108058A (en) Information transmission device and information transmission method
EP2346214B1 (en) Communication circuit, relay connecting circuit, and communication network
KR102292771B1 (en) Participant station for a bus system, and method for increasing the data rate of a bus system
CN108353016B (en) Relay device, electronic control device, and in-vehicle network system
EP1995148B1 (en) Transmission system for rail vehicles using two redundant bus systems
JP2011182123A (en) Communication system, communication apparatus, and communication method
JP2010206651A (en) Communication repeater, communication relay method, communication network, and electronic controller
EP0507428B1 (en) Multipath transmission system
CN100566277C (en) Communications network system and the method that is used to the information that transmits
JP2006197114A (en) Information transmission system, information transmission system for railway vehicle, and information transmission terminal for vehicle
JP4754940B2 (en) Relay connection unit
US11115238B2 (en) Gateway device
US11115236B2 (en) Subscriber station for a bus system and method for transmitting data in a bus system
US10277419B2 (en) Hybrid network end system device
JP5212339B2 (en) Data relay apparatus and data relay method
JP2011055112A (en) Communication system and communication device
KR20100027794A (en) Network system usin flexray network for car

Legal Events

Date Code Title Description
RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20110901