JP2016015622A - On-vehicle communication system - Google Patents

On-vehicle communication system Download PDF

Info

Publication number
JP2016015622A
JP2016015622A JP2014136750A JP2014136750A JP2016015622A JP 2016015622 A JP2016015622 A JP 2016015622A JP 2014136750 A JP2014136750 A JP 2014136750A JP 2014136750 A JP2014136750 A JP 2014136750A JP 2016015622 A JP2016015622 A JP 2016015622A
Authority
JP
Japan
Prior art keywords
communication
signal
node
communication line
disconnection
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
JP2014136750A
Other languages
Japanese (ja)
Inventor
大輔 小林
Daisuke Kobayashi
大輔 小林
雅行 藤澤
Masayuki Fujisawa
雅行 藤澤
豪 榎崎
Go Enosaki
豪 榎崎
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.)
Denso Corp
Original Assignee
Denso 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 Denso Corp filed Critical Denso Corp
Priority to JP2014136750A priority Critical patent/JP2016015622A/en
Publication of JP2016015622A publication Critical patent/JP2016015622A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an on-vehicle communication system that can perform communication among plural ECUs connected to a communication line even when the communication line is broken.SOLUTION: An on-vehicle communication system (1) for performing communication among plural ECUs (5) mounted on a vehicle has a communication device (2), and a communication line (3) which is connected to the communication device (2) at both the ends of the communication line (3) and connected to the plural ECUs (5). The communication device (2) is configured to be capable of transmitting/receiving a signal from one end of the communication line (3), and also transmitting/receiving a signal from the other end of the communication line (3).

Description

本発明は、車両に搭載された複数のECUの間でデータ通信を行う車載通信システムに関する。   The present invention relates to an in-vehicle communication system that performs data communication between a plurality of ECUs mounted on a vehicle.

車両には、複数のECUが搭載されており、各ECUによって各種の装置、例えば、エンジン、自動変速装置、オーディオ装置、ナビゲーション装置等を制御するように構成されている。各ECUは、車載通信システム(例えばCAN)の通信線にバス型形態で接続されることにより、各ECUの間でデータ通信を行うことが可能な構成となっている。   A plurality of ECUs are mounted on the vehicle, and each ECU is configured to control various devices such as an engine, an automatic transmission device, an audio device, a navigation device, and the like. Each ECU is connected to a communication line of an in-vehicle communication system (for example, CAN) in a bus form so that data communication can be performed between the ECUs.

特開2008−227591号公報JP 2008-227591 A

しかし、上記構成において、通信線が断線した場合、通信線のうちの断線箇所よりも先の部分(即ち、車載通信システムの通信装置から遠い側の部分)に接続されたECUに対して、通信を実行することができないという問題が発生した。   However, in the above configuration, when the communication line is disconnected, communication is performed with respect to the ECU connected to a part of the communication line that is ahead of the disconnection point (that is, a part far from the communication device of the in-vehicle communication system). The problem that can not be executed.

そこで、本発明の目的は、通信線が断線した場合でも、通信線に接続された複数のECUの間で通信を実行することができる車載通信システムを提供することにある。   Accordingly, an object of the present invention is to provide an in-vehicle communication system capable of executing communication between a plurality of ECUs connected to a communication line even when the communication line is disconnected.

請求項1の発明は、車両に搭載された複数のECUの間で通信を実行する車載通信システムであって、通信装置と、両端が前記通信装置に接続され、前記複数のECUが接続された通信線とを備え、前記通信装置は、前記通信線の一端から信号を送受信すると共に、前記通信線の他端からも信号を送受信可能なように構成されていることに特徴を有する。   The invention of claim 1 is an in-vehicle communication system that performs communication between a plurality of ECUs mounted on a vehicle, wherein a communication device and both ends are connected to the communication device, and the plurality of ECUs are connected. A communication line, wherein the communication device is configured to transmit and receive signals from one end of the communication line and to transmit and receive signals from the other end of the communication line.

本発明の第1実施形態を示す車載通信システムのブロック図The block diagram of the vehicle-mounted communication system which shows 1st Embodiment of this invention. 断線検出制御のフローチャートFlow chart of disconnection detection control 断線箇所特定制御のフローチャートFlow chart of disconnection location identification control 第1通信部で信号を受信したときの制御のフローチャートFlow chart of control when signal is received by first communication unit 第2通信部で信号を受信したときの制御のフローチャートFlow chart of control when a signal is received by the second communication unit 第3通信部で信号を受信したときの制御のフローチャートFlow chart of control when a signal is received by the third communication unit ノードの制御のフローチャートNode control flowchart

以下、本発明の第1実施形態について、図1ないし図7を参照して説明する。まず、図1は、本実施形態の車載通信システムの全体構成を概略的に示すブロック図である。この図1に示すように、車載通信システム1は、通信装置2と、この通信装置2から導出された通信線3、4と、通信線3、4に接続された複数のノード5とを備えて構成されている。尚、ノード5は、車両に搭載された複数のECU(Electronic Control Unit)で構成されている。また、車載通信システム1は、例えばCAN(Controller Area Network)で構成されているが、他の車載LAN(例えばLIN(Local Interconnect Network)、XCP(Universal Calibration Protocol)、CANopen等)で構成されていても良い。   Hereinafter, a first embodiment of the present invention will be described with reference to FIGS. First, FIG. 1 is a block diagram schematically showing the overall configuration of the in-vehicle communication system of the present embodiment. As shown in FIG. 1, the in-vehicle communication system 1 includes a communication device 2, communication lines 3 and 4 derived from the communication device 2, and a plurality of nodes 5 connected to the communication lines 3 and 4. Configured. The node 5 includes a plurality of ECUs (Electronic Control Units) mounted on the vehicle. Moreover, although the vehicle-mounted communication system 1 is comprised by CAN (Controller Area Network), for example, it is comprised by other vehicle-mounted LAN (For example, LIN (Local Interconnect Network), XCP (Universal Calibration Protocol), CANopen etc.). Also good.

通信装置2は、制御部6と、第1通信部7と、第2通信部8と、第3通信部9と、断線箇所情報送信部10と、確認信号記憶部11と、ノード構成記憶部12と、断線箇所情報記憶部13と、通信状態記憶部14と、断線時ノードグループ記憶部15とを備えている。制御部6は、通信の制御を行うものであり、通信状態(通常状態、断線箇所特定状態、断線状態)を検出し、検出した通信状態に応じた通信制御で通信を実行する。制御部6が、断線検知手段及び断線箇所特定手段の各機能を有している。尚、通信制御の内容は、図2ないし図7のフローチャートを参照して後述する。   The communication device 2 includes a control unit 6, a first communication unit 7, a second communication unit 8, a third communication unit 9, a disconnection location information transmission unit 10, a confirmation signal storage unit 11, and a node configuration storage unit. 12, a disconnection location information storage unit 13, a communication state storage unit 14, and a disconnection node group storage unit 15. The control unit 6 controls communication, detects a communication state (normal state, disconnection location specifying state, disconnection state), and executes communication with communication control according to the detected communication state. The control part 6 has each function of a disconnection detection means and a disconnection location identification means. The contents of the communication control will be described later with reference to the flowcharts of FIGS.

第1通信部7は、通信線3に接続された第0ノード5、第1ノード5、第2ノード5、・・・、第Xノード5との間で通信を行う。第2通信部8は、通常状態では、第1通信部7から通信線3を介して送られてくる信号を監視し、通信異常(通信線3の断線)が発生したか否かの検出を行う。第2通信部8は、通信線3の断線状態では、通信線3に接続されたノード5との間で通信を行う(具体的内容は後述する)。第3通信部9は、通信線4に接続された第10ノード5、第11ノード5、第12ノード5、・・・、第1Yノード5との間で通信を行う。尚、第3通信部9及び通信線4(更に通信線4に接続される複数のノード5)は、複数組(2組以上)設けるように構成しても良い。   The first communication unit 7 communicates with the 0th node 5, the first node 5, the second node 5,..., The Xth node 5 connected to the communication line 3. In a normal state, the second communication unit 8 monitors a signal sent from the first communication unit 7 via the communication line 3 and detects whether or not a communication abnormality (disconnection of the communication line 3) has occurred. Do. The second communication unit 8 communicates with the node 5 connected to the communication line 3 when the communication line 3 is disconnected (specific details will be described later). The third communication unit 9 performs communication with the tenth node 5, the eleventh node 5, the twelfth node 5,..., The first Y node 5 connected to the communication line 4. The third communication unit 9 and the communication line 4 (further, a plurality of nodes 5 connected to the communication line 4) may be configured to be provided in a plurality (two or more).

断線箇所情報送信部10は、通信線3の断線箇所を特定したときに得られた断線箇所情報を、通信装置2の外部の例えば診断ツールに送信する。確認信号記憶部11は、通信線3の断線箇所を特定した状態において、各ノード5に送信するための確認信号の情報を記憶する。この場合、ノード5毎に異なる確認信号を割り当てて記憶している。   The disconnection location information transmitting unit 10 transmits the disconnection location information obtained when the disconnection location of the communication line 3 is specified to, for example, a diagnostic tool outside the communication device 2. The confirmation signal storage unit 11 stores information on a confirmation signal to be transmitted to each node 5 in a state where the disconnection portion of the communication line 3 is specified. In this case, a different confirmation signal is assigned to each node 5 and stored.

ノード構成記憶部12は、通信部7から第2通信部8までの間の通信線3に接続された各ノード5と、各ノード5が第1通信部7から第2通信部8へ向けて並ぶ順序(第1通信部7に最も近いものから順に、第0、第1、第2、・・・、第Xと付けた番号)を記憶する。断線箇所情報記憶部13は、断線箇所を示す情報を記憶する。この場合、通信線3は、例えば第1ノード5と第2ノード5との間で断線しているという形式の情報を記憶する。   The node configuration storage unit 12 includes each node 5 connected to the communication line 3 between the communication unit 7 and the second communication unit 8, and each node 5 is directed from the first communication unit 7 to the second communication unit 8. The order of arrangement (numbers assigned as 0th, 1st, 2nd,..., Xth in order from the closest to the first communication unit 7) is stored. The disconnection location information storage unit 13 stores information indicating the disconnection location. In this case, the communication line 3 stores information in the form of disconnection between the first node 5 and the second node 5, for example.

通信状態記憶部14は、通常状態、断線箇所特定状態、断線状態の中から現在がどの状態であるかを示す情報を記憶する。断線時ノードグループ記憶部15は、断線箇所を境として第1通信部7と通信可能なノード5のグループをグループ1とし、第2通信部8と通信可能なノード5のグループをグループ2とする情報を記憶する。   The communication state storage unit 14 stores information indicating which state is the current state among the normal state, the disconnection location specifying state, and the disconnection state. The disconnection node group storage unit 15 sets the group of the node 5 that can communicate with the first communication unit 7 as the group 1 and the group of the node 5 that can communicate with the second communication unit 8 as the group 2 with the disconnection point as a boundary. Store information.

また、各ノード5は、制御部16と、ノード通信部17と、応答信号記憶部18とを備えている。制御部16は、通信線3を介して通信装置2または他のノード5との間の通信の制御を行うものである。制御部16は、通信装置2から送信された確認信号を受信したときに、応答信号を通信装置2へ送信する。ノード通信部17は、通信装置2または他のノード5との間で通信を行う。応答信号記憶部18は、上記応答信号を示す情報を記憶する。   Each node 5 includes a control unit 16, a node communication unit 17, and a response signal storage unit 18. The control unit 16 controls communication with the communication device 2 or another node 5 via the communication line 3. The control unit 16 transmits a response signal to the communication device 2 when receiving the confirmation signal transmitted from the communication device 2. The node communication unit 17 communicates with the communication device 2 or another node 5. The response signal storage unit 18 stores information indicating the response signal.

次に、上記構成の動作、即ち、通信装置2(制御部6)の制御の内容について、図2ないし図7のフローチャートを参照して説明する。まず、図2のフローチャートは、第1通信部7と各ノード5との間の通信が正常に実行されている通常状態(初期状態)において、断線が発生したか否かを検出する制御の内容を示す。   Next, the operation of the above configuration, that is, the contents of control of the communication device 2 (control unit 6) will be described with reference to the flowcharts of FIGS. First, the flowchart of FIG. 2 shows the contents of control for detecting whether or not a disconnection has occurred in a normal state (initial state) in which communication between the first communication unit 7 and each node 5 is normally executed. Indicates.

図2のステップS10では、通信装置2の第1通信部7から断線検知用の信号を通信線3を介して通信部8へ向けて送信する。続いて、ステップS20へ進み、第2通信部8が上記信号を正常に受信したか否かを判断する。ここで、第2通信部8が上記信号を正常に受信したときには、「YES」へ進み、通信線3が断線していないことから、検知制御を終了する。   In step S <b> 10 of FIG. 2, a disconnection detection signal is transmitted from the first communication unit 7 of the communication device 2 to the communication unit 8 via the communication line 3. Then, it progresses to step S20 and it is judged whether the 2nd communication part 8 received the said signal normally. Here, when the second communication unit 8 normally receives the signal, the process proceeds to “YES”, and the communication control is terminated because the communication line 3 is not disconnected.

また、上記ステップS20において、第2通信部8が上記信号を正常に受信しなかったときには、「NO」へ進み、ステップS30へ進む。このステップS30では、通信線3が断線していることから、通信状態記憶部14の記憶内容を、断線箇所特定状態に書き換える。そして、検出制御を終了する。尚、上記検出制御(図2のフローチャート)は、通常状態において予め決められた設定時間間隔で実行される。   In step S20, when the second communication unit 8 does not normally receive the signal, the process proceeds to “NO”, and the process proceeds to step S30. In step S30, since the communication line 3 is disconnected, the storage content of the communication state storage unit 14 is rewritten to the disconnection location specifying state. And detection control is complete | finished. The detection control (flowchart in FIG. 2) is executed at predetermined time intervals in the normal state.

次に、通信状態記憶部14の記憶内容が断線箇所特定状態になると、図3のフローチャートの制御、即ち、通信線3の断線箇所を特定する制御が実行される。まず、図3のステップS100においては、第1通信部7から第0ノード5へ確認信号を送信する。そして、第0ノード5は、上記確認信号を受信すると、応答信号を通信装置2の第1通信部7へ送信する。尚、この第0ノード5の制御(図7参照)については、後述する。   Next, when the stored content of the communication state storage unit 14 is in the disconnection location specifying state, the control of the flowchart in FIG. 3, that is, the control for specifying the disconnection location of the communication line 3 is executed. First, in step S100 of FIG. 3, a confirmation signal is transmitted from the first communication unit 7 to the 0th node 5. And the 0th node 5 will transmit a response signal to the 1st communication part 7 of the communication apparatus 2, if the said confirmation signal is received. The control of the 0th node 5 (see FIG. 7) will be described later.

続いて、ステップS102へ進み、通信装置2(第1通信部7)は、第0ノード5からの応答信号を受信したか否かを判断する。ここで、応答信号を受信しない場合には、「NO」へ進み、ステップS104へ進み、第1通信部7と第0ノード5との間で断線したと判断する。   Then, it progresses to step S102 and the communication apparatus 2 (1st communication part 7) judges whether the response signal from the 0th node 5 was received. If the response signal is not received, the process proceeds to “NO”, proceeds to step S104, and determines that the first communication unit 7 and the 0th node 5 are disconnected.

一方、上記ステップS102において、応答信号を受信した場合には、「YES」へ進み、ステップS110へ進む。ステップS110においては、第1通信部7から第nノード5へ確認信号を送信する。この場合、nの初期値は0であり、ノード構成記憶部12に記憶されている順序に従って確認を行う。そして、第nノード5は、上記確認信号を受信すると、応答信号を通信装置2の通信部7へ送信する。尚、この第nノード5の制御(図7参照)については、後述する。   On the other hand, if a response signal is received in step S102, the process proceeds to “YES”, and the process proceeds to step S110. In step S <b> 110, a confirmation signal is transmitted from the first communication unit 7 to the nth node 5. In this case, the initial value of n is 0, and confirmation is performed according to the order stored in the node configuration storage unit 12. And the nth node 5 will transmit a response signal to the communication part 7 of the communication apparatus 2, if the said confirmation signal is received. The control of the nth node 5 (see FIG. 7) will be described later.

続いて、ステップS120へ進み、通信装置2(第1通信部7)は、第nノード5からの応答信号を受信したか否かを判断する。ここで、応答信号を受信した場合には、「YES」へ進み、ステップS130へ進み、nをカウントアップ(+1)する。次いで、ステップS140へ進み、n≦Xであるか否かを判断する。ここで、n≦Xであるときには、「YES」へ進み、ステップS110へ戻り、上述した処理を繰り返す。   Then, it progresses to step S120 and the communication apparatus 2 (1st communication part 7) judges whether the response signal from the nth node 5 was received. If a response signal is received, the process proceeds to “YES”, proceeds to step S130, and n is incremented (+1). Subsequently, it progresses to step S140 and it is judged whether it is n <= X. If n ≦ X, the process proceeds to “YES”, returns to step S110, and repeats the above-described processing.

また、上記ステップS120において、応答信号を受信しない場合には、「NO」へ進み、ステップS180へ進み、第(n−1)ノード5と第nノード5との間で断線したと判断する。また、上記ステップS140において、n≦Xでないときには、「NO」へ進み、ステップS150へ進み、第2通信部8と第Xノード5との間で断線したと判断する。   If no response signal is received in step S120, the process proceeds to “NO”, and the process proceeds to step S180, where it is determined that the disconnection has occurred between the (n−1) -th node 5 and the n-th node 5. In step S140, when n ≦ X is not satisfied, the process proceeds to “NO”, the process proceeds to step S150, and it is determined that the second communication unit 8 and the X-th node 5 are disconnected.

さて、ステップS150、ステップS180及びステップS104の実行後は、ステップS160へ進み、断線箇所を境として第1通信部7と通信可能なノード5のグループをグループ1と設定し、第2通信部8と通信可能なノード5のグループをグループ2と設定した情報を、断線時ノードグループ記憶部15に記憶する。続いて、ステップS170へ進み、通信状態記憶部14の通信状態を、断線状態に書き換える。そして、この制御(図3のフローチャート)を終了する。   Now, after execution of step S150, step S180, and step S104, it progresses to step S160, sets the group of the node 5 which can communicate with the 1st communication part 7 as a boundary from the disconnection location as the group 1, and the 2nd communication part 8 The information of setting the group of the node 5 that can communicate with the group 2 as the group 2 is stored in the disconnection node group storage unit 15. Then, it progresses to step S170 and rewrites the communication state of the communication state memory | storage part 14 to a disconnection state. And this control (flowchart of FIG. 3) is complete | finished.

次に、通信線3の断線状態において、第1通信部7が信号を受信したときの制御について、図4のフローチャートを参照して説明する。まず、図4のステップS210において、第1通信部7が信号を受信し、ステップS220へ進み、受信信号はグループ2内のノード5へ送信する信号であるか否かを判断する。ここで、受信信号はグループ2内のノード5へ送信する信号であるときには、「YES」へ進み、ステップS290へ進み、通信装置2の第1通信部7が受信した信号を、第2通信部8から通信線3を介してグループ2内のノード5へ送信する。そして、この制御(図4のフローチャート)を終了する。   Next, the control when the first communication unit 7 receives a signal when the communication line 3 is disconnected will be described with reference to the flowchart of FIG. First, in step S210 of FIG. 4, the first communication unit 7 receives a signal and proceeds to step S220, and determines whether or not the received signal is a signal to be transmitted to the node 5 in the group 2. Here, when the received signal is a signal to be transmitted to the node 5 in the group 2, the process proceeds to “YES”, the process proceeds to step S290, and the signal received by the first communication unit 7 of the communication device 2 is transmitted to the second communication unit. 8 to the node 5 in the group 2 via the communication line 3. And this control (flowchart of FIG. 4) is complete | finished.

一方、上記ステップS220において、受信信号がグループ2内のノード5へ送信する信号でないときには、「NO」へ進み、ステップS230へ進む。このステップS230では、受信信号が他の通信線4(通信部9及び通信線4は、複数例えばZ個設けられているとする)に接続されたノード5へ送信する信号であるかどうかを判断するために、Nの初期値を1とする。   On the other hand, if the received signal is not a signal to be transmitted to the node 5 in the group 2 in step S220, the process proceeds to “NO”, and the process proceeds to step S230. In step S230, it is determined whether the received signal is a signal to be transmitted to the node 5 connected to another communication line 4 (assuming that a plurality of communication units 9 and 4 communication lines 4 are provided, for example). Therefore, the initial value of N is set to 1.

続いて、ステップS240へ進み、受信信号は通信線4(N)のノード5へ送信する信号であるか否かを判断する。ここで、受信信号は通信線4(N)のノード5へ送信する信号であるときには、「YES」へ進み、ステップS280へ進み、通信装置2の第1通信部7が受信した信号を、第3通信部9(N)から通信線4(N)を介してノード5へ送信する。そして、この制御(図4のフローチャート)を終了する。   Then, it progresses to step S240 and it is judged whether a received signal is a signal transmitted to the node 5 of the communication line 4 (N). Here, when the received signal is a signal to be transmitted to the node 5 of the communication line 4 (N), the process proceeds to “YES”, the process proceeds to step S280, and the signal received by the first communication unit 7 of the communication device 2 is 3 Transmit from the communication unit 9 (N) to the node 5 via the communication line 4 (N). And this control (flowchart of FIG. 4) is complete | finished.

また、上記ステップS240において、受信信号が通信線4(N)のノード5へ送信する信号でないときには、「NO」へ進み、ステップS250へ進み、Nをカウントアップする。続いて、ステップS260へ進み、N≦Zであるか否かを判断する。ここで、N≦Zであるときには、「YES」へ進み、ステップS240へ戻り、上述した処理を繰り返す。また、上記ステップS260において、N≦Zでないときには、「NO」へ進み、ステップS270へ進み、この場合、通信装置2の第1通信部7が受信した信号は、グループ1内のノード5へ送信する信号であることから、通信装置2は何も行わない。そして、この制御(図4のフローチャート)を終了する。   If the received signal is not a signal to be transmitted to the node 5 of the communication line 4 (N) in step S240, the process proceeds to “NO”, proceeds to step S250, and N is counted up. Then, it progresses to step S260 and it is judged whether N <= Z. If N ≦ Z, the process proceeds to “YES”, returns to step S240, and repeats the above-described processing. If N ≦ Z is not satisfied in step S260, the process proceeds to “NO”, and the process proceeds to step S270. In this case, the signal received by the first communication unit 7 of the communication device 2 is transmitted to the node 5 in the group 1. The communication device 2 does nothing. And this control (flowchart of FIG. 4) is complete | finished.

次に、通信線3の断線状態において、第2通信部8が信号を受信したときの制御について、図5のフローチャートを参照して説明する。まず、図5のステップS310において、第2通信部8が信号を受信し、ステップS320へ進み、受信信号はグループ1内のノード5へ送信する信号であるか否かを判断する。ここで、受信信号はグループ1内のノード5へ送信する信号であるときには、「YES」へ進み、ステップS390へ進み、通信装置2の第2通信部8が受信した信号を、第1通信部7から通信線3を介してグループ1内のノード5へ送信する。そして、この制御(図5のフローチャート)を終了する。   Next, the control when the second communication unit 8 receives a signal when the communication line 3 is disconnected will be described with reference to the flowchart of FIG. First, in step S310 of FIG. 5, the second communication unit 8 receives a signal and proceeds to step S320, where it is determined whether or not the received signal is a signal to be transmitted to the node 5 in the group 1. Here, when the received signal is a signal to be transmitted to the node 5 in the group 1, the process proceeds to “YES”, the process proceeds to step S390, and the signal received by the second communication unit 8 of the communication device 2 is changed to the first communication unit. 7 to the node 5 in the group 1 via the communication line 3. And this control (flowchart of FIG. 5) is complete | finished.

一方、上記ステップS320において、受信信号がグループ1内のノード5へ送信する信号でないときには、「NO」へ進み、ステップS330へ進む。このステップS330では、受信信号が他の通信線4(第3通信部9及び通信線4は、複数例えばZ個設けられているとする)に接続されたノード5へ送信する信号であるかどうかを判断するために、Nの初期値を1とする。   On the other hand, when the received signal is not a signal to be transmitted to the node 5 in the group 1 in step S320, the process proceeds to “NO”, and the process proceeds to step S330. In this step S330, whether or not the received signal is a signal to be transmitted to the node 5 connected to another communication line 4 (assuming a plurality of third communication units 9 and four communication lines 4 are provided, for example, Z). In order to determine the initial value of N.

続いて、ステップS340へ進み、受信信号は通信線4(N)のノード5へ送信する信号であるか否かを判断する。ここで、受信信号は通信線4(N)のノード5へ送信する信号であるときには、「YES」へ進み、ステップS380へ進み、通信装置2の第2通信部8が受信した信号を、第3通信部9(N)から通信線4(N)を介してノード5へ送信する。そして、この制御(図5のフローチャート)を終了する。   Then, it progresses to step S340 and it is judged whether a received signal is a signal transmitted to the node 5 of the communication line 4 (N). Here, when the received signal is a signal to be transmitted to the node 5 of the communication line 4 (N), the process proceeds to “YES”, the process proceeds to step S380, and the signal received by the second communication unit 8 of the communication device 2 is 3 Transmit from the communication unit 9 (N) to the node 5 via the communication line 4 (N). And this control (flowchart of FIG. 5) is complete | finished.

また、上記ステップS340において、受信信号が通信線4(N)のノード5へ送信する信号でないときには、「NO」へ進み、ステップS350へ進み、Nをカウントアップする。続いて、ステップS360へ進み、N≦Zであるか否かを判断する。ここで、N≦Zであるときには、「YES」へ進み、ステップS340へ戻り、上述した処理を繰り返す。また、上記ステップS360において、N≦Zでないときには、「NO」へ進み、ステップS370へ進み、この場合、通信装置2の第2通信部8が受信した信号は、グループ2内のノード5へ送信する信号であることから、通信装置2は何も行わない。そして、この制御(図5のフローチャート)を終了する。   If the received signal is not a signal to be transmitted to the node 5 of the communication line 4 (N) in step S340, the process proceeds to “NO”, proceeds to step S350, and N is counted up. Then, it progresses to step S360 and it is judged whether it is N <= Z. If N ≦ Z, the process proceeds to “YES”, returns to step S340, and repeats the above-described processing. If N ≦ Z is not satisfied in step S360, the process proceeds to “NO”, and the process proceeds to step S370. In this case, the signal received by the second communication unit 8 of the communication device 2 is transmitted to the node 5 in the group 2. The communication device 2 does nothing. And this control (flowchart of FIG. 5) is complete | finished.

次に、通信線3の断線状態において、第3通信部9(N)が信号を受信したときの制御について、図6のフローチャートを参照して説明する(尚、N≧1である)。まず、図6のステップS410において、第3通信部9(N)が信号を受信し、ステップS420へ進み、受信信号はグループ1内のノード5へ送信する信号であるか否かを判断する。ここで、受信信号はグループ1内のノード5へ送信する信号であるときには、「YES」へ進み、ステップS460へ進み、通信装置2の第3通信部9(N)が受信した信号を、第1通信部7から通信線3を介してグループ1内のノード5へ送信する。そして、この制御(図6のフローチャート)を終了する。   Next, control when the third communication unit 9 (N) receives a signal in the disconnection state of the communication line 3 will be described with reference to the flowchart of FIG. 6 (where N ≧ 1). First, in step S410 of FIG. 6, the third communication unit 9 (N) receives a signal and proceeds to step S420, and determines whether or not the received signal is a signal to be transmitted to the node 5 in the group 1. Here, when the received signal is a signal to be transmitted to the node 5 in the group 1, the process proceeds to “YES”, the process proceeds to step S460, and the signal received by the third communication unit 9 (N) of the communication device 2 is 1 The communication unit 7 transmits to the node 5 in the group 1 through the communication line 3. And this control (flowchart of FIG. 6) is complete | finished.

一方、上記ステップS420において、受信信号がグループ1内のノード5へ送信する信号でないときには、「NO」へ進み、ステップS430へ進む。このステップS430では、受信信号はグループ2内のノード5へ送信する信号であるか否かを判断する。ここで、受信信号はグループ2内のノード5へ送信する信号であるときには、「YES」へ進み、ステップS450へ進み、通信装置2の第3通信部9(N)が受信した信号を、第2通信部8から通信線3を介してグループ2内のノード5へ送信する。そして、この制御(図6のフローチャート)を終了する。   On the other hand, when the received signal is not a signal to be transmitted to the node 5 in the group 1 in step S420, the process proceeds to “NO”, and the process proceeds to step S430. In step S430, it is determined whether the received signal is a signal to be transmitted to node 5 in group 2. Here, when the received signal is a signal to be transmitted to the node 5 in the group 2, the process proceeds to “YES”, the process proceeds to step S450, and the signal received by the third communication unit 9 (N) of the communication device 2 is 2 Transmit from the communication unit 8 to the node 5 in the group 2 via the communication line 3. And this control (flowchart of FIG. 6) is complete | finished.

また、上記ステップS430において、受信信号がグループ2内のノード5へ送信する信号でないときには、「NO」へ進み、ステップS440へ進み、この場合、通信装置2の第3通信部9(N)が受信した信号は、通信線4(N)に接続されたノード5へ送信する信号であることから、通信装置2は通常通りの振る舞いをする。例えば、第3通信部9(1)が受信した信号が、通信線4(1)に接続されたノード5へ送信する信号であれば、通信装置2は何もしない。また、例えば、第3通信部9(1)が受信した信号が、通信線4(2)に接続されたノード5へ送信する信号であれば、第3通信部9(1)が受信した信号を、第3通信部9(2)から通信線4(2)を介してノード5へ送信する。そして、この制御(図6のフローチャート)を終了する。   When the received signal is not a signal to be transmitted to the node 5 in the group 2 in step S430, the process proceeds to “NO” and proceeds to step S440. In this case, the third communication unit 9 (N) of the communication device 2 Since the received signal is a signal transmitted to the node 5 connected to the communication line 4 (N), the communication device 2 behaves as usual. For example, if the signal received by the third communication unit 9 (1) is a signal transmitted to the node 5 connected to the communication line 4 (1), the communication device 2 does nothing. For example, if the signal received by the third communication unit 9 (1) is a signal transmitted to the node 5 connected to the communication line 4 (2), the signal received by the third communication unit 9 (1). Is transmitted from the third communication unit 9 (2) to the node 5 via the communication line 4 (2). And this control (flowchart of FIG. 6) is complete | finished.

次に、図7のフローチャートを参照して、通信線3に接続された各ノード5の通信制御について説明する。まず、図7のステップS510において、ノード5は、第1通信部7から送信された前記確認信号(図3のステップS110参照)を受信する。続いて、ステップS520へ進み、ノード5は、上記確認信号が自分宛の確認信号であるか否かを判断する。ここで、上記確認信号が自分宛の確認信号であるときには、「YES」へ進み、ステップS530へ進み、ノード5は、応答信号を通信装置2の第1通信部7へ送信する。そして、この制御(図7のフローチャート)を終了する。また、上記ステップS520において、上記確認信号が自分宛の確認信号でないときには、「NO」へ進み、何もしないで、この制御(図7のフローチャート)を終了する。   Next, communication control of each node 5 connected to the communication line 3 will be described with reference to the flowchart of FIG. First, in step S510 in FIG. 7, the node 5 receives the confirmation signal (see step S110 in FIG. 3) transmitted from the first communication unit 7. In step S520, the node 5 determines whether the confirmation signal is a confirmation signal addressed to itself. Here, when the confirmation signal is a confirmation signal addressed to itself, the process proceeds to “YES”, the process proceeds to step S530, and the node 5 transmits the response signal to the first communication unit 7 of the communication apparatus 2. And this control (flowchart of FIG. 7) is complete | finished. In step S520, when the confirmation signal is not a confirmation signal addressed to itself, the process proceeds to “NO”, and this control (the flowchart of FIG. 7) is terminated without doing anything.

上記した構成の本実施形態によれば、通信装置2に両端が接続された通信線3に、複数のノード(ECU)5を接続し、通信装置2によって、通信線3の一端から信号を送受信すると共に、通信線3の他端からも信号を送受信可能なように構成したので、通信線3が断線した場合に、断線箇所よりも一端側のノード5と、断線箇所よりも他端側のノード5は、通信装置2を介して通信することができる。この結果、通信線3が断線した場合でも、通信線3に接続された複数のノード5の間で通信を実行することができる。   According to the present embodiment having the above-described configuration, a plurality of nodes (ECUs) 5 are connected to the communication line 3 whose both ends are connected to the communication device 2, and signals are transmitted and received from one end of the communication line 3 by the communication device 2. In addition, since the signal can be transmitted / received also from the other end of the communication line 3, when the communication line 3 is disconnected, the node 5 on one end side from the disconnection point and the other end side from the disconnection point are provided. The node 5 can communicate via the communication device 2. As a result, even when the communication line 3 is disconnected, communication can be performed between the plurality of nodes 5 connected to the communication line 3.

また、通信装置2の制御部6は、通信線3の一端から断線検知用信号を送信し、通信線3の他端で上記断線検知用信号を受信したか否かで通信線3の断線を検知するように構成したので、通信線3の断線を正確且つ容易に検出することができる。   In addition, the control unit 6 of the communication device 2 transmits a disconnection detection signal from one end of the communication line 3, and disconnects the communication line 3 depending on whether or not the disconnection detection signal is received at the other end of the communication line 3. Since it comprised so that it might detect, the disconnection of the communication line 3 can be detected correctly and easily.

更に、通信装置2の制御部6は、通信線3の断線が検出されたときに、複数のノード5に対して通信線3の一端または他端に最も近い部位に接続されたノード5から順番に通信を行うことにより、通信線3の断線箇所を特定するように構成したので、断線箇所を容易に特定することができる。   Further, when the disconnection of the communication line 3 is detected, the control unit 6 of the communication device 2 starts from the node 5 connected to the plurality of nodes 5 at the part closest to one end or the other end of the communication line 3. Since the configuration is such that the disconnection location of the communication line 3 is specified by performing communication, the disconnection location can be easily specified.

また、通信装置2の制御部6は、通信線3の一端から断線箇所までの間に接続されたノード5(グループ1内のノード5)へ送信する第1の信号がある場合には、第1通信部7により通信線3の一端から前記第1の信号を送信する(図5のステップS390、図6のステップS460参照)ように構成したので、グループ2内のノード5とグループ1内のノード5との間で、または、通信線4に接続されたノード5とグループ1内のノード5との間で、通信を実行することができる。   When there is a first signal to be transmitted to the node 5 (the node 5 in the group 1) connected between one end of the communication line 3 and the disconnection point, the control unit 6 of the communication device 2 Since the first communication unit 7 is configured to transmit the first signal from one end of the communication line 3 (see step S390 in FIG. 5 and step S460 in FIG. 6), the node 5 in the group 2 and the group 1 in the group 1 Communication can be executed between the node 5 or between the node 5 connected to the communication line 4 and the node 5 in the group 1.

更に、通信装置2の制御部6は、通信線3の他端から断線箇所までの間に接続されたノード5(グループ2内のノード5)へ送信する第2の信号がある場合には、第2通信部8により通信線3の他端から前記第2の信号を送信する(図4のステップS290、図6のステップS450参照)ように構成したので、グループ1内のノード5とグループ2内のノード5との間で、または、通信線4に接続されたノード5とグループ2内のノード5との間で、通信を実行することができる。   Furthermore, when there is a second signal to be transmitted to the node 5 (the node 5 in the group 2) connected between the other end of the communication line 3 and the disconnection point, the control unit 6 of the communication device 2 Since the second communication unit 8 is configured to transmit the second signal from the other end of the communication line 3 (see step S290 in FIG. 4 and step S450 in FIG. 6), the node 5 in the group 1 and the group 2 Communication can be performed between the nodes 5 in the group 2 or between the nodes 5 connected to the communication line 4 and the nodes 5 in the group 2.

尚、上記各実施形態では、通信装置2に両端を接続する通信線3を1本設けたが、これに限られるものではなく、通信装置2に両端を接続する通信線を2本以上設け、これら各通信線に複数のノード5を接続するように構成しても良い。   In each of the above embodiments, the communication device 2 is provided with one communication line 3 that connects both ends. However, the present invention is not limited to this, and the communication device 2 is provided with two or more communication lines that connect both ends. A plurality of nodes 5 may be connected to each of these communication lines.

図面中、1は車載通信システム、2は通信装置、3は通信線、4は通信線、5はノード、6は制御部(断線検知手段、断線箇所特定手段)、7は第1通信部、8は第2通信部、9は第3通信部、16は制御部、17はノード通信部を示す。   In the drawings, 1 is an in-vehicle communication system, 2 is a communication device, 3 is a communication line, 4 is a communication line, 5 is a node, 6 is a control unit (disconnection detection means, disconnection location specifying means), 7 is a first communication unit, Reference numeral 8 denotes a second communication unit, 9 denotes a third communication unit, 16 denotes a control unit, and 17 denotes a node communication unit.

Claims (5)

車両に搭載された複数のECU(5)の間で通信を実行する車載通信システム(1)であって、
通信装置(2)と、
両端が前記通信装置(2)に接続され、前記複数のECU(5)が接続された通信線(3)とを備え、
前記通信装置(2)は、前記通信線(3)の一端から信号を送受信すると共に、前記通信線(3)の他端からも信号を送受信可能なように構成された車載通信システム。
An in-vehicle communication system (1) for executing communication between a plurality of ECUs (5) mounted on a vehicle,
A communication device (2);
A communication line (3) connected at both ends to the communication device (2) and connected to the plurality of ECUs (5);
The said communication apparatus (2) is a vehicle-mounted communication system comprised so that a signal could be transmitted / received also from the other end of the said communication line (3) while transmitting / receiving a signal from one end of the said communication line (3).
前記通信装置(2)に設けられ、前記通信線(3)の一端から断線検知用信号を送信し、前記通信線(3)の他端で前記断線検知用信号を受信したか否かで前記通信線(3)の断線を検知する断線検知手段(6)を備えた請求項1記載の車載通信システム。   It is provided in the communication device (2), transmits a disconnection detection signal from one end of the communication line (3), and determines whether the disconnection detection signal is received at the other end of the communication line (3). The in-vehicle communication system according to claim 1, further comprising disconnection detecting means (6) for detecting disconnection of the communication line (3). 前記通信装置(2)に設けられ、前記通信線(3)の断線が検知されたときに、前記複数のECU(5)に対して前記通信線(3)の一端または他端に最も近い部位に接続されたECU(5)から順番に通信を行うことにより、断線箇所を特定する断線箇所特定手段(6)を備えた請求項2記載の車載通信システム。   A part provided in the communication device (2) and closest to one end or the other end of the communication line (3) with respect to the plurality of ECUs (5) when a disconnection of the communication line (3) is detected The vehicle-mounted communication system of Claim 2 provided with the disconnection location specific means (6) which specifies a disconnection location by communicating in order from ECU (5) connected to the. 前記通信装置(2)に設けられ、前記通信線(3)の一端から断線箇所までの間に接続されたECU(5)へ送信する第1の信号がある場合には、前記通信線(3)の一端から前記第1の信号を送信する第1通信部(7)を備えた請求項3記載の車載通信システム。   When there is a first signal that is provided in the communication device (2) and transmitted to the ECU (5) connected between one end of the communication line (3) and the disconnection point, the communication line (3 The vehicle-mounted communication system of Claim 3 provided with the 1st communication part (7) which transmits a said 1st signal from the end of (1). 前記通信装置(2)に設けられ、前記通信線(3)の他端から断線箇所までの間に接続されたECU(5)へ送信する第2の信号がある場合には、前記通信線(3)の他端から前記第2の信号を送信する第2通信部(8)を備えた請求項3記載の車載通信システム。
When there is a second signal to be transmitted to the ECU (5) provided in the communication device (2) and connected between the other end of the communication line (3) to the disconnection point, the communication line ( The in-vehicle communication system according to claim 3, further comprising a second communication unit (8) for transmitting the second signal from the other end of 3).
JP2014136750A 2014-07-02 2014-07-02 On-vehicle communication system Pending JP2016015622A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014136750A JP2016015622A (en) 2014-07-02 2014-07-02 On-vehicle communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014136750A JP2016015622A (en) 2014-07-02 2014-07-02 On-vehicle communication system

Publications (1)

Publication Number Publication Date
JP2016015622A true JP2016015622A (en) 2016-01-28

Family

ID=55231510

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014136750A Pending JP2016015622A (en) 2014-07-02 2014-07-02 On-vehicle communication system

Country Status (1)

Country Link
JP (1) JP2016015622A (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63246947A (en) * 1987-04-01 1988-10-13 Brother Ind Ltd Disconnecting line detector in local area network
JPH0453331A (en) * 1990-06-21 1992-02-20 Mitsubishi Heavy Ind Ltd Loop processing system for bus type network
JPH0630477A (en) * 1992-07-06 1994-02-04 Mazda Motor Corp Method and device for detecting fault position on signal transmission line
JPH0799503A (en) * 1993-08-03 1995-04-11 Sunx Ltd Data transmitter and its terminal unit
JP2000115202A (en) * 1998-09-30 2000-04-21 Omron Corp Network connector and communication control method
JP2000201162A (en) * 1998-08-13 2000-07-18 Motorola Inc Distributed control system initialization method
JP2000278295A (en) * 1999-03-24 2000-10-06 East Japan Railway Co Information transmitter
JP2001507489A (en) * 1996-12-23 2001-06-05 ノブ、エレクトロニク、アクチボラグ Electronic bus system
JP2002152219A (en) * 2000-11-09 2002-05-24 Mitsubishi Electric Corp Multiplex transmitter for vehicle
JP2004064626A (en) * 2002-07-31 2004-02-26 Denso Corp Communication system for vehicle

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63246947A (en) * 1987-04-01 1988-10-13 Brother Ind Ltd Disconnecting line detector in local area network
JPH0453331A (en) * 1990-06-21 1992-02-20 Mitsubishi Heavy Ind Ltd Loop processing system for bus type network
JPH0630477A (en) * 1992-07-06 1994-02-04 Mazda Motor Corp Method and device for detecting fault position on signal transmission line
JPH0799503A (en) * 1993-08-03 1995-04-11 Sunx Ltd Data transmitter and its terminal unit
JP2001507489A (en) * 1996-12-23 2001-06-05 ノブ、エレクトロニク、アクチボラグ Electronic bus system
JP2000201162A (en) * 1998-08-13 2000-07-18 Motorola Inc Distributed control system initialization method
JP2000115202A (en) * 1998-09-30 2000-04-21 Omron Corp Network connector and communication control method
JP2000278295A (en) * 1999-03-24 2000-10-06 East Japan Railway Co Information transmitter
JP2002152219A (en) * 2000-11-09 2002-05-24 Mitsubishi Electric Corp Multiplex transmitter for vehicle
JP2004064626A (en) * 2002-07-31 2004-02-26 Denso Corp Communication system for vehicle

Similar Documents

Publication Publication Date Title
KR101575547B1 (en) The error variance detection method of can communication system and the can communication system
JP5741480B2 (en) Communication system, relay device, and power supply control method
JP6282216B2 (en) Communication system and communication apparatus
JP6451546B2 (en) Communication network and relay device
JP2006222649A (en) Gateway device with network monitoring function
JP2020532184A5 (en)
CN106406159B (en) System for configuring devices in a VLAN enabled network
JP2018078396A (en) On-vehicle network system
JP2007336267A (en) In-vehicle communication system
JP6384332B2 (en) Electronic control unit
US10120715B2 (en) Distributed network management system and method for a vehicle
JP4603899B2 (en) Gateway device with communication error detection function and communication system
JP4754940B2 (en) Relay connection unit
JP2016015622A (en) On-vehicle communication system
JP2020022019A (en) Vehicle system
JP2004040649A (en) On-vehicle communication equipment
JP6337783B2 (en) In-vehicle network system
JP2012182607A (en) Communication disruption determination system and communication node, and communication disruption determination method
JP2017092566A (en) On-vehicle network system
JP6296462B2 (en) In-vehicle control device
JP2006319394A (en) Network diagnostic apparatus, and network diagnostic method
JP5626139B2 (en) External device attaching / detaching apparatus and program
JP6137033B2 (en) In-vehicle network system and in-vehicle relay device
JP7046869B2 (en) Occupancy rate calculation device and occupancy rate calculation method
JP5019936B2 (en) In-vehicle relay connection unit

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170228

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180116

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180220

A601 Written request for extension of time

Free format text: JAPANESE INTERMEDIATE CODE: A601

Effective date: 20180410

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20180821