JP2014078865A - On-vehicle network diagnosis device - Google Patents
On-vehicle network diagnosis device Download PDFInfo
- Publication number
- JP2014078865A JP2014078865A JP2012225701A JP2012225701A JP2014078865A JP 2014078865 A JP2014078865 A JP 2014078865A JP 2012225701 A JP2012225701 A JP 2012225701A JP 2012225701 A JP2012225701 A JP 2012225701A JP 2014078865 A JP2014078865 A JP 2014078865A
- Authority
- JP
- Japan
- Prior art keywords
- nodes
- node
- vehicle network
- communication
- reception
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Small-Scale Networks (AREA)
Abstract
Description
この発明は、車載ネットワーク診断装置に係り、特に通信バスに接続されたノードの接続/断線を診断する車載ネットワーク診断装置に関する。 The present invention relates to an in-vehicle network diagnostic apparatus, and more particularly to an in-vehicle network diagnostic apparatus that diagnoses connection / disconnection of a node connected to a communication bus.
車両には、通信バス(伝送路)に接続されたノード(ECU等)の接続/断線を診断するために、車載ネットワーク診断装置が設けられている。
この車載ネットワーク診断装置は、一つ以上のノードがそれぞれに接続された複数の通信バス(CANバス)と、複数の通信バス中の少なくとも一つが接続された中継装置と、複数の通信バス中の一つに接続可能であってノードの状態を診断するものである。
また、通信バス(CANバス)のノード接続検出には、特定のノードである中継装置(GW ECU:Gateway Electrical Contro1 Unit)が通信バス上の全ノードからの通信データを受信し、ノード接続検出結果を一括して通信データとして転送することにより、通信バスの負荷の増加を抑えているものがある。
このような車載ネットワーク診断装置としては、以下の先行技術文献がある。
The vehicle is provided with an in-vehicle network diagnostic device for diagnosing connection / disconnection of a node (ECU or the like) connected to a communication bus (transmission path).
This in-vehicle network diagnostic device includes a plurality of communication buses (CAN buses) to which one or more nodes are respectively connected, a relay device to which at least one of the plurality of communication buses is connected, and a plurality of communication buses. It is connectable to one and diagnoses the state of the node.
In addition, for detecting the node connection of the communication bus (CAN bus), a relay device (GW ECU: Gateway Electric Control 1 Unit), which is a specific node, receives communication data from all nodes on the communication bus, and the node connection detection result Are collectively transferred as communication data, thereby suppressing an increase in the load on the communication bus.
As such an in-vehicle network diagnostic apparatus, there are the following prior art documents.
特許文献1に係るゲートウェイ装置、車両用ネットワーク、片側断線検出方法は、通信バスに接続された電子制御ユニット(ノード)毎に、通信データの送信時間間隔を測定する時間間隔測定手段と、電子制御ユニットの通信不良をメモリに記憶する通信不良判定手段と、複数の電子制御ユニットの送信時間間隔の合計を監視して、片側断線判定値以上になると、支線の一方が断線した旨の情報をメモリに記憶する片側断線検出手段とを備え、電子制御ユニットを通信バス(CANバス)に接続する一対の支線のうち一方のみが断線したことを検出するものである。 A gateway device, a vehicle network, and a one-side disconnection detection method according to Patent Document 1 include a time interval measuring unit that measures a transmission time interval of communication data for each electronic control unit (node) connected to a communication bus, and electronic control. The communication failure determination means for storing the communication failure of the unit in the memory and the sum of the transmission time intervals of the plurality of electronic control units are monitored, and when the one-side disconnection determination value is exceeded, information indicating that one of the branch lines is disconnected is stored in the memory. One-side disconnection detecting means for storing the electronic control unit, and detecting that only one of the pair of branch lines connecting the electronic control unit to the communication bus (CAN bus) is disconnected.
ところが、従来、車載ネットワーク診断装置にあっては、特定のノードである中継装置(GW ECU)の通信バス(CANバス)の診断用受信スロットが、通信バス(CANバス)上のノードの数の分だけ必要になるという問題があった。 However, conventionally, in the in-vehicle network diagnostic device, the diagnostic reception slot of the communication bus (CAN bus) of the relay device (GW ECU) which is a specific node has the number of nodes on the communication bus (CAN bus). There was a problem that only minutes were needed.
そこで、この発明の目的は、通信バス上のノード接続検出を実現した上で、中継装置の通信バスの診断用受信スロットの数を削減することができる車載ネットワーク診断装置を提供することにある。 SUMMARY OF THE INVENTION An object of the present invention is to provide an in-vehicle network diagnostic device that can reduce the number of diagnostic reception slots on a communication bus of a relay device while realizing node connection detection on a communication bus.
この発明は、一つ以上のノードがそれぞれに接続された複数の通信バスと、前記複数の通信バス中の少なくとも一つが接続された中継装置と、前記複数の通信バス中の一つに接続可能であって前記ノードの状態を診断する診断装置とを備えた車載ネットワーク診断装置において、前記中継装置は、前記接続された通信バスの数と同数の診断用受信スロットを備え、前記ノード毎にアクセプタンスフィルタを設定し、この設定されたアクセプタンスフィルタを受信可能なノードが発信する固有情報を受信し、前記アクセプタンスフィルタを予め設定されたタイミングにて異なるノードが発信する固有情報を受信できるように切り替え、前記アクセプタンスフィルタの切り替えにより、前記複数の通信バス中の一つに接続された全てのノードが発信する固有情報を受信して終えた後、前記全てのノードが発信する固有情報を前記診断装置へ送信することを特徴とする。 The present invention is connectable to a plurality of communication buses each having one or more nodes connected thereto, a relay device to which at least one of the plurality of communication buses is connected, and one of the plurality of communication buses. In the in-vehicle network diagnostic apparatus including the diagnostic apparatus for diagnosing the state of the node, the relay apparatus includes the same number of diagnostic reception slots as the number of the connected communication buses, and the acceptance for each node. Set a filter, receive unique information transmitted by a node capable of receiving the set acceptance filter, and switch the acceptance filter so that unique information transmitted by a different node can be received at a preset timing, By switching the acceptance filter, all nodes connected to one of the plurality of communication buses are issued. After finishing receiving the unique information, and transmits the unique information to all of said nodes transmits to the diagnostic device.
この発明は、通信バス上のノード接続検出を実現した上で、中継装置の通信バスの診断用受信スロットの数を削減することができる。 The present invention can reduce the number of reception slots for diagnosis of the communication bus of the relay device while realizing node connection detection on the communication bus.
この発明は、通信バス上のノード接続検出を実現した上で、中継装置の通信バスの診断用受信スロットの数を削減する目的を、中継装置内でアクセプタンスフィルタを動的に切り替えて実現するものである。 The present invention realizes the purpose of reducing the number of reception slots for diagnosis of the communication bus of the relay device by realizing node connection detection on the communication bus by dynamically switching the acceptance filter in the relay device. It is.
図1〜図3は、この発明の実施例を示すものである。
図3に示すように、車両には、車載ネットワーク診断装置1が搭載される。
この車載ネットワーク診断装置1は、複数の通信バス(伝送路)として、第1通信バス2と第2通信バス3とを備える。この第1通信バス2と第2通信バス3とは、CAN(Controller Area Network)バスからなる。
第1通信バス2には、1つ以上のノードとして、第1、第2ノード4A、4Bが接続している。第2通信バス3には、1つ以上のノードとして、第3〜第5ノード4C〜4Eが接続している。これら第1〜第5ノード4A〜4Eは、制御装置(ECU)等の通信機器からなる。
第2通信バス3には、中継装置(GW ECU)5が接続している。また、この中継装置5には、第1〜第5ノード4A〜4Eの状態を診断する診断装置(診断ツール)6が第3通信バス7を介して接続している。
中継装置5は、信号をゲートウェイ(GW:gateway)するものであって、第2通信バス3に接続した第3〜第5ノード4C〜4Eと診断装置6との間を中継する機器である。
前記第3通信バス7の途中には、第1通信バス2が接続している。
また、中継装置5には、イグニッション(IG)スイッチ8が接続している。
1 to 3 show an embodiment of the present invention.
As shown in FIG. 3, the vehicle-mounted network diagnostic device 1 is mounted on the vehicle.
This in-vehicle network diagnostic apparatus 1 includes a
First and
A relay device (GW ECU) 5 is connected to the second communication bus 3. Further, a diagnostic device (diagnostic tool) 6 for diagnosing the state of the first to fifth nodes 4 </ b> A to 4 </ b> E is connected to the relay device 5 via the third communication bus 7.
The relay device 5 serves as a gateway (GW) for signals, and is a device that relays between the third to
In the middle of the third communication bus 7, the
In addition, an ignition (IG)
中継装置5は、接続された通信バスとして第2通信バス3と同数である一つの診断用受信スロット5Aを受信用スロット5B中に備えている。診断用受信スロット5Aは、接続ノード判定用に使用される。
中継装置5は、第3〜第5ノード4C〜4E毎にアクセプタンスフィルタを設定し、このアクセプタンスフィルタが設定された受信可能な第3〜第5ノード4C〜4Eが発信する固有情報を受信可能である。
そして、中継装置5は、前記アクセプタンスフィルタを、予め設定されたタイミングにて異なる第3〜第5ノード4C〜4Eが発信する固有情報を受信できるように切り替え、図3に示すように、このアクセプタンスフィルタの切り替えにより一つの第2通信バス3に接続された全ての第3〜第5ノード4C〜4Eが発信する固有情報(ID:C、ID:D、ID:E)を受信し終えた後、全ての第3〜第5ノード4C〜4Eが発信する固有情報(ID:F)を診断装置6へ送信する。つまり、中継装置5は、第3〜第5ノード4C〜4Eからの通信データの受信判定結果を、1つのID(通信データの識別子)(ID:F)にまとめて、診断装置6に送信する。また、中継装置5からの通信データは、チェック完了フラグ、全ID受信(各ノードの接続検出用判定)フラグとする。チェック完了フラグ、全ID受信フラグは、共に、True信号又はFalse信号である。
The relay device 5 includes one
The relay device 5 can set an acceptance filter for each of the third to
Then, the relay device 5 switches the acceptance filter so that it can receive unique information transmitted by different third to
つまり、この実施例では、診断装置6と異なる第2通信バス3に第3〜第5ノード4C〜4Eの接続状況(断線状況)の検出を行うものであって、中継装置5が第3〜第5ノード4C〜4Eから送信されるノード接続用の通信データを、受信完了又は規定時間(一定時間)経過毎に、アクセプタンスフィルタを切り替えて、受信対象のID(通信データの識別子)を変更することにより、1つの診断用受信スロット5Aのみで、第2通信バス3上の全ての第3〜第5ノード4C〜4Eの接続状態(断線状況)を検出する。。
That is, in this embodiment, the connection status (disconnection status) of the third to
次に、車載ネットワーク診断について、図1のメインフローチャートと図2のサブフローチャートとに沿って説明する。
図1のメインフローチャートに示すように、イグニッションスイッチ8がオンになると(ステップA01)、チェック完了フラグ、全ID受信フラグを、共に、Falseに設定する(チェック完了フラグ=False、全ID受信フラグ=False)(ステップA02)。
そして、各受信対象IDに対して処理Aを実施する(ステップA03)。このステップA03における処理Aは、後述の図2のサブフローチャートで詳細に説明する。
その後、対象となる全ID分の処理Aの実施が1周完了したら(ステップA04)、チェック完了フラグをTrueとする(チェック完了フラグ=True)(ステップA05)。また、チェック完了後も処理Aをループした場合にも、チェック完了フラグをTrueとする(チェック完了フラグ=True)(ステップA05)。
前記ステップA05の処理後は、前記ステップA03に戻す。
Next, the in-vehicle network diagnosis will be described with reference to the main flowchart of FIG. 1 and the sub-flowchart of FIG.
As shown in the main flowchart of FIG. 1, when the
Then, process A is performed on each reception target ID (step A03). The process A in step A03 will be described in detail with reference to the sub-flowchart of FIG.
Thereafter, when the execution of the process A for all target IDs is completed for one round (step A04), the check completion flag is set to True (check completion flag = True) (step A05). Even when the process A is looped after the check is completed, the check completion flag is set to True (check completion flag = True) (step A05).
After the process of step A05, the process returns to step A03.
前記ステップA03の処理Aを、図2のサブフローチャートに沿って説明する。
図2のサブフローチャートに示すように、図1の前記ステップA02の後、診断用受信スロット5AのアクセプタンスフィルタをID:XXXに設定する(ステップB01)。
そして、規定時間(一定時間)以内に、そのID:XXXを受信したか否かを判断する(ステップB02)。
このステップB02がYESで、受信完了の場合には、ID:XXX受信フラグをTrueに設定する(ID:XXX受信フラグ=True)(ステップB03)。
一方、このステップB02がNOで、受信未完了の場合には、ID:XXX受信フラグをFalseに設定する(ID:XXX受信フラグ=False)(ステップB04)。
前記ステップB03の処理後、又は、前記ステップB04の処理後は、図1の前記ステップA04へ移行する。
Process A of step A03 will be described with reference to the sub-flowchart of FIG.
As shown in the sub-flowchart of FIG. 2, after step A02 of FIG. 1, the acceptance filter of the
Then, it is determined whether or not the ID: XXX has been received within a specified time (fixed time) (step B02).
If this step B02 is YES and reception is completed, the ID: XXX reception flag is set to True (ID: XXX reception flag = True) (step B03).
On the other hand, if this step B02 is NO and reception has not been completed, the ID: XXX reception flag is set to False (ID: XXX reception flag = False) (step B04).
After the process of Step B03 or after the process of Step B04, the process proceeds to Step A04 in FIG.
この結果、この実施例においては、中継装置5により、全ID受信フラグを通信データとして受信し、接続されているノードを認識し、また、必要があれば、チェック完了フラグを用いて、接続したノードのチェック未完了/完了を認識する。
これにより、アクセプタンスフィルタを動的に切り替え、一つの診断用受信スロット5Aのみでノード接続検出用の通信データを受信することにより、第2通信バス(CANバス)3上の全ての第3〜第5ノード4C〜4Eの接続(断線)の検出を実現したまま、制御用通信データの受信に受信用スロット5Bを大幅に割り振ることが可能となり、ネットワーク設計の自由度を阻害することなく、第2通信バス(CANバス)3上の全ての第3〜第5ノード4C〜4Eの接続(断線)を検出することが可能となる。
従って、中継装置5の診断用受信スロットの数を削減することができるので、中継装置5の通信負荷を低減することが可能である。また、車載ネットワークを設計する上での設計自由度を向上させることが可能である。
なお、この実施例において、診断装置6は、第1通信バス2に接続した第1、第2ノード4A、4Bの接続(断線)をも検出する。
As a result, in this embodiment, the relay device 5 receives the all ID reception flag as communication data, recognizes the connected node, and connects using the check completion flag if necessary. Recognize that node check is incomplete / completed.
As a result, the acceptance filter is dynamically switched, and node connection detection communication data is received by only one
Therefore, the number of diagnostic reception slots of the relay device 5 can be reduced, and the communication load of the relay device 5 can be reduced. It is also possible to improve the degree of design freedom in designing the in-vehicle network.
In this embodiment, the
この発明に係る車載ネットワーク診断装置を、各種車両に適用可能である。 The in-vehicle network diagnostic apparatus according to the present invention can be applied to various vehicles.
1 車載ネットワーク診断装置
2 第1通信バス(CANバス)
3 第2通信バス(CANバス)
4A〜4E 第1〜第5ノード
5 中継装置(GW ECU)
5A 診断用受信スロット
5B 受信用スロット
6 診断装置(診断ツール)
7 第3通信バス
8 イグニッションスイッチ
1 in-vehicle network
3 Second communication bus (CAN bus)
4A to 4E First to fifth nodes 5 Relay device (GW ECU)
5A Reception slot for
7
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2012225701A JP2014078865A (en) | 2012-10-11 | 2012-10-11 | On-vehicle network diagnosis device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2012225701A JP2014078865A (en) | 2012-10-11 | 2012-10-11 | On-vehicle network diagnosis device |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2014078865A true JP2014078865A (en) | 2014-05-01 |
Family
ID=50783835
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2012225701A Pending JP2014078865A (en) | 2012-10-11 | 2012-10-11 | On-vehicle network diagnosis device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2014078865A (en) |
-
2012
- 2012-10-11 JP JP2012225701A patent/JP2014078865A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR102239986B1 (en) | Vehicle having an ethernet bus system and method for operating such a bus system | |
CN105579318B (en) | Control mode conversion of the equipment between the Ethernet connection of ALCL Assembly Line Communication Link and outside | |
JP2013005156A (en) | Gateway device | |
CN109792398B (en) | Vehicle-mounted communication system, switching device and vehicle-mounted communication method | |
JP2014027517A (en) | Communication system and communication method | |
CN105700510A (en) | Error variance detection method of CAN communication system and the CAN communication system | |
US20120290753A1 (en) | Connection method for bus controllers and communication system | |
JP2018082410A (en) | On-vehicle communication system | |
CN112165438A (en) | Vehicle communication method and communication system | |
JP2014072673A (en) | Relay device | |
JP2008236408A (en) | Multiplex communication apparatus for vehicle | |
JP5651442B2 (en) | Operation support device, electronic apparatus, electronic control device, and control system | |
KR102256153B1 (en) | Method for deterministic data transmission in a bus system, and bus system | |
JP2016126716A (en) | Electronic control device | |
JP2013071611A (en) | Vehicle data setting system and output setting method thereof | |
JP2008099014A (en) | In-vehicle communication method, in-vehicle communication system, relay device and on-vehicle communication equipment | |
JP2012063163A (en) | Failure diagnosis system for vehicle | |
US10017195B2 (en) | Communication device, train network system, and network setting method | |
JP2014078865A (en) | On-vehicle network diagnosis device | |
CN107547692B (en) | Method and device for configuring IP address and port number between dual systems | |
US20220278869A1 (en) | Vehicle inner communication system and vehicle including same | |
JP7140011B2 (en) | Gateway device | |
WO2013061396A1 (en) | Communication device, communication system and communication method | |
JP2018121155A (en) | Vehicle controller | |
JP2006197017A (en) | Diagnosis system for vehicle |