JP2009202720A - Communication system, its abnormality presumption method, and information reading device - Google Patents
Communication system, its abnormality presumption method, and information reading device Download PDFInfo
- Publication number
- JP2009202720A JP2009202720A JP2008046361A JP2008046361A JP2009202720A JP 2009202720 A JP2009202720 A JP 2009202720A JP 2008046361 A JP2008046361 A JP 2008046361A JP 2008046361 A JP2008046361 A JP 2008046361A JP 2009202720 A JP2009202720 A JP 2009202720A
- Authority
- JP
- Japan
- Prior art keywords
- error
- communication
- node
- ecu
- communication line
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Abstract
Description
本発明は、CAN(Controller Area Network)通信の異常検出技術に関する。 The present invention relates to an abnormality detection technique for CAN (Controller Area Network) communication.
通信システムにおいて、その故障箇所を特定する従来技術として、通信ラインにデータを送受可能に接続する接続手段と、前記通信ラインに送出された通信データを取得する取得手段と、前記通信データを取得してから次の前記通信データを取得するまでの経過時間を計測するタイマ手段と、前記経過時間が予め設定された判定時間を経過した場合に通信途絶と判定する判定手段とを備えたことを特徴とする制御装置が知られている(例えば、特許文献1参照)。特許文献1には、本構成によると、他の制御装置から最短の通信周期で通信ラインに送出される通信データが、短時間に設定される判定時間を経過しても取得できないときに、その制御装置が通信途絶と判定されるため、その通信が途絶するような異常のある制御装置を特定して、その制御装置が停止したときの処理を迅速に実行することができる旨が記載されている。
ところで、2本の通信線の差動電圧によって通信する方式であるCAN通信では、メッセージに優先順位が設定されている。CAN通信で結ばれる各ノードは、それぞれ非同期に通信を開始し、同時に送信を開始した場合には調停が行われ、高優先度のメッセージが送信権を得て送信される。 By the way, in CAN communication, which is a communication method using a differential voltage between two communication lines, priority is set for messages. Each node connected by CAN communication starts communication asynchronously. When transmission is started at the same time, arbitration is performed, and a high priority message is obtained with a transmission right.
しかしながら、従来技術のままでは、通信線の本線とノードとを結ぶ2本の支線のうち1本の支線が断線すると、その断線した支線を介して本線に接続されていたノードは、正常に通信電圧を検出できなくなるために、送信権の取得可否を正しく認識することができない。その結果、当該ノードが通信を試みることによって、断線していない方の支線を介して通信線上のメッセージが破壊されるため、その破壊されたメッセージを送信したECUはそのECUとしては正常にもかかわらず、故障ECUとして誤判定されるおそれがある。 However, with the conventional technology, when one of the two branch lines connecting the main line of the communication line and the node is disconnected, the node connected to the main line via the disconnected branch line normally communicates. Since it becomes impossible to detect the voltage, it is impossible to correctly recognize whether the transmission right can be acquired. As a result, when the node tries to communicate, the message on the communication line is destroyed via the branch line that is not disconnected. Therefore, the ECU that transmitted the destroyed message is normal as the ECU. Therefore, there is a risk of erroneous determination as a faulty ECU.
そこで、本発明は、故障等の異常箇所を正しく特定することができる、通信システム、その異常推定方法、及び情報読出装置の提供を目的とする。 Accordingly, an object of the present invention is to provide a communication system, an abnormality estimation method, and an information reading apparatus that can correctly identify an abnormal part such as a failure.
上記目的を達成するため、本発明に係る通信システムは、
互いにCAN通信ラインを介してCAN通信を行う複数のノードを備える通信システムにおいて、
前記複数のノードのそれぞれが検出したCAN通信のエラー検出回数をエラーの種類毎に記憶する記憶手段と、
前記記憶手段に記憶されたビットエラーのエラー検出回数の累積値とフォームエラーのエラー検出回数の累積値との和が最大のノード又は該ノードに接続されるCAN通信ラインを異常と推定する異常推定手段とを備えるものである。
In order to achieve the above object, a communication system according to the present invention provides:
In a communication system including a plurality of nodes that perform CAN communication with each other via a CAN communication line,
Storage means for storing, for each error type, the number of times of CAN communication error detection detected by each of the plurality of nodes;
Abnormality estimation that estimates the node or the CAN communication line connected to the node having the largest sum of the accumulated value of the error detection times of bit errors and the accumulated value of the error detection times of form errors stored in the storage means as abnormal Means.
ここで、当該通信システムにおいて、前記ビットエラーと前記フォームエラーのいずれも検出せずに、スタッフエラー、ACKエラー、CRCエラーのうち少なくとも一つを検出しているノード又は該ノードに接続されるCAN通信ラインを正常と判定する正常判定手段を備えてもよい。 Here, in the communication system, a node that detects at least one of a stuff error, an ACK error, and a CRC error without detecting either the bit error or the form error, or a CAN connected to the node. You may provide the normal determination means which determines a communication line as normal.
また、上記目的を達成するため、本発明に係る異常推定方法は、
互いにCAN通信ラインを介してCAN通信を行う複数のノードを備える通信システムの異常推定方法であって、
各ノードがCAN通信のエラーを検出する毎に各ノードのCAN通信のエラー検出回数をエラーの種類毎に累積し、ビットエラーのエラー検出回数の累積値とフォームエラーのエラー検出回数の累積値との和が最大のノード又は該ノードに接続されるCAN通信ラインを異常と推定するものである。
In order to achieve the above object, the abnormality estimation method according to the present invention includes:
An abnormality estimation method for a communication system including a plurality of nodes that perform CAN communication with each other via a CAN communication line,
Each time each node detects an error in CAN communication, the number of CAN communication errors detected in each node is accumulated for each error type, and the accumulated error detection count for bit errors and the accumulated error detection count for form errors The CAN communication line connected to the node having the largest sum or the node is estimated to be abnormal.
ここで、当該異常推定方法において、前記ビットエラーと前記フォームエラーのいずれも検出せずに、スタッフエラー、ACKエラー、CRCエラーのうち少なくとも一つを検出しているノード又は該ノードに接続されるCAN通信ラインを正常と判定するとよい。 Here, in the abnormality estimation method, a node that detects at least one of a stuff error, an ACK error, or a CRC error is detected without detecting either the bit error or the form error, or connected to the node. It may be determined that the CAN communication line is normal.
また、上記目的を達成するため、本発明に係る情報読出装置は、
互いにCAN通信ラインを介してCAN通信を行う複数のノードが検出したエラー情報を読み出し可能な情報読出装置であって、
前記エラー情報に基づいて、前記複数のノードのそれぞれが検出したCAN通信のエラー検出回数の累積値を取得する取得手段と、
前記取得手段によって取得されたビットエラーのエラー検出回数の累積値とフォームエラーのエラー検出回数の累積値との和が最大のノード又は該ノードに接続される通信ラインを異常と推定する異常推定手段とを備えるものである。
In order to achieve the above object, an information reading apparatus according to the present invention includes:
An information reading device capable of reading error information detected by a plurality of nodes performing CAN communication with each other via a CAN communication line,
Obtaining means for obtaining a cumulative value of the number of times of CAN communication error detection detected by each of the plurality of nodes based on the error information;
Abnormality estimation means for estimating the node having the maximum sum of the error detection count of bit errors acquired by the acquisition means and the cumulative value of form error error detection or the communication line connected to the node as abnormal Are provided.
ここで、当該情報読出装置において、前記エラー情報は、前記CAN通信ラインを介して読み出されるとよい。また、読み出された前記エラー情報に基づいて、前記ビットエラーと前記フォームエラーのいずれも検出せずに、スタッフエラー、ACKエラー、CRCエラーのうち少なくとも一つを検出しているノード又は該ノードに接続されるCAN通信ラインを正常と判定する正常判定手段を備えてもよい。また、前記異常推定手段による推定結果を出力する出力手段を備えてもよい。 Here, in the information reading apparatus, the error information may be read through the CAN communication line. Further, a node that detects at least one of a stuff error, an ACK error, and a CRC error without detecting either the bit error or the form error based on the read error information or the node The CAN communication line connected to may be provided with a normal determination means for determining normal. Moreover, you may provide the output means which outputs the estimation result by the said abnormality estimation means.
本発明によれば、故障等の異常箇所を正しく特定することができる。 According to the present invention, an abnormal part such as a failure can be correctly identified.
以下、図面を参照して、本発明を実施するための最良の形態の説明を行う。図1は、本発明の一実施形態である車両用通信システム100の構成図である。車両用通信システム100は、CAN通信方式の通信システムであって、通信ラインを介して互いに通信可能に接続される例えば4つの電子制御装置10,20,30,40をノードとして有している。通信ラインが2線式の差動バスで構成されることによって、ECU間の通信のノイズ耐性を向上させることができる。通信ラインは、2個の終端抵抗15,25に接続される本線7と、本線7に接続される支線3,4,5とから構成される。本線7は、CAN−Hラインに相当する本線7HとCAN−Lラインに相当する本線7Lとから構成される。終端抵抗15(例えば、120Ω)はECU10に内蔵され、終端抵抗25(終端抵抗15と同じ120Ω)はECU20に内蔵される。終端抵抗は、ECUに内蔵せずに、本線7Hと本線7Lとの間に挿入される場合もある。支線3(3H,3Lの2本から構成)は本線7とECU30とを接続し、支線4(4H,4Lの2本から構成)は本線7とECU40とを接続し、支線5(5H,5Lの2本から構成)は本線7と故障診断ツール50とをコネクタ60を介して接続する。
The best mode for carrying out the present invention will be described below with reference to the drawings. FIG. 1 is a configuration diagram of a
各ECU及び故障診断ツール50は、信号送受信手段として、通信ラインを介して互いにシリアル通信するための通信インターフェイス回路を備える。各ECU間の通信がCAN通信であれば、CANドライバなどの送受信可能な通信インターフェイス回路が通信ラインに接続して各ECU及び故障診断ツール50に備えられる。各ECU及び故障診断ツール50は、通信ラインを介して、通信データを送受し、相手から受信した通信データに基づいて、自身が制御すべき制御処理(例えば、エンジン制御処理、ブレーキ制御処理、充電制御処理、故障診断制御処理など)を実行する。
Each ECU and the
図2は、終端抵抗15を内蔵するECU10のハードウェア構成図である。終端抵抗25を内蔵するECU20についても、図2と同様のハードウェア構成を有しており、ECU30,40,故障診断ツール50についても、終端抵抗が存在しない点を除いて、図2と同様のハードウェア構成を有しているため、代表にECU10について説明する。
FIG. 2 is a hardware configuration diagram of the
ECU10は、制御プログラムや制御データを記憶するメモリと制御プログラムなどを処理するCPU(中央演算処理装置)とを有するマイクロコンピュータ(マイコン)12を備える制御手段である。
The ECU 10 is a control means including a
ECU10の通信インターフェイス回路は、CANコントローラを備えるマイコン12と通信ライン間のインターフェイス用ICであるCANトランシーバ(ドライバ)12を備える。
The communication interface circuit of the
図3は、CANトランシーバのブロック図である。CANトランシーバは、マイコンと通信線間のインターフェイス用ICである。端子CANHはHiレベル用のバス出力端子であり、端子CANLはLoレベル用のバス出力端子である。また、端子Txdはマイコンの通信出力端子に接続される送信データ入力端子であり、端子Rxdはマイコンの通信入力端子に接続される受信データ出力端子である。Vccは電源端子、GNDは接地端子である。トランスミッタは、端子Txdからの入力に基づきHiサイドスイッチとLoサイドスイッチをスイッチングすることによって差動信号の伝送データを端子CANHと端子CANLを介して出力する。レシーバは、端子CANHと端子CANLからの差動信号の伝送データを受信して端子Rxdに出力する。 FIG. 3 is a block diagram of a CAN transceiver. The CAN transceiver is an IC for an interface between a microcomputer and a communication line. The terminal CANH is a bus output terminal for Hi level, and the terminal CANL is a bus output terminal for Lo level. The terminal Txd is a transmission data input terminal connected to the communication output terminal of the microcomputer, and the terminal Rxd is a reception data output terminal connected to the communication input terminal of the microcomputer. Vcc is a power supply terminal, and GND is a ground terminal. The transmitter outputs differential signal transmission data via the terminal CANH and the terminal CANL by switching the Hi side switch and the Lo side switch based on the input from the terminal Txd. The receiver receives differential signal transmission data from the terminal CANH and the terminal CANL and outputs the transmission data to the terminal Rxd.
また、ECU10は、メモリ13を備える。メモリ13は、揮発性メモリでもよいが、電源遮断後も記憶内容を保持させておきたい場合には不揮発性メモリであることが望ましい。また、ハードディスクでもよい。また、ECU10に与えられている機能に応じて、センサによって得られた情報が入力される入力回路や、マイコン12による演算結果を制御信号として出力する出力回路を備えてもよい。
The ECU 10 includes a
ECU20,30,40についても、ECU10と同様に、マイコン、メモリ、トランシーバ、(必要に応じて)終端抵抗が、備えられる。
As with the
一方、故障診断ツール50も、図1に示されるように、CANトランシーバ51とマイコン52とを備える。故障診断ツール50は、車両に配備されたコネクタ60を介して、CAN通信ラインの支線5に接続可能である。また、故障診断ツール50は、その操作者にマイコン52の処理結果(例えば、故障診断結果)を視認可能に情報提供する手段として、ディスプレイ58を備える。
On the other hand, the
故障診断ツール50は、本線と支線から構成される通信ラインを介して各ECUの所持情報を取得することによって、又は当該通信ラインから取り外されたECUの所持情報を取得することによって、異常の発生箇所を推定し、その操作者にディスプレイ52を介してその推定結果を提供するものである。故障診断ツール50は、CAN通信ラインの本線7とECUとを結ぶ2本の支線のうち片方の支線が断線している場合、当該ECUを本線7に接続する支線の断線又は当該ECU内部の故障と、推定する。例えば、本線7HとECU30とを接続点aで接続する支線3Hと本線7LとECU30とを接続点bで接続する支線3Lのいずれか一方が断線していれば、支線3の断線又はECU30の故障と推定する。同様に、本線7HとECU40とを接続点eで接続する支線4Hと本線7LとECU40とを接続点fで接続する支線4Lのいずれか一方が断線していれば、支線4の断線又はECU40の故障と推定する。これについて、以下説明する。なお、本線7の構成線7H,7Lのうち1本でも断線すると、通信ラインを介しての通信ができなくなるが、7Hと7Lとの間の抵抗値を測定することによって、2つの終端抵抗15,25のうち片側のみの抵抗値しか測定されないため、本線7の断線を容易に推定できる。また、一つのECUに接続される2本の支線の両方が断線しても、当該断線という異常はあるものの、当該ECUを除く通信ラインを介しての通信は継続的に実行可能である。
The
CANプロトコルに従って、本線と支線から構成される通信ラインに接続される各ECUで通信エラーが検出される。CANプロトコルでは、5種類のエラー(ビットエラー、フォームエラー、ACKエラー、CRCエラー、スタッフエラーが定義されている。簡単に説明すれば、ビットエラーは、自身が送出したレベルとバスのレベルが異なるときに検出される。フォームエラーは、固定フォーマットのビットフィールドが違反しているときに検出される。ACKエラー(アクノリッジエラー)は、ACKが送られてこなかったときに検出される。CRCエラーは、受信したメッセージに付加されたCRCシーケンスと受信データから計算したCRCが異なるときに検出される。スタッフエラーは、ビットスタッフィングルールに違反しているときに検出される。 According to the CAN protocol, a communication error is detected in each ECU connected to a communication line composed of a main line and a branch line. In the CAN protocol, five types of errors (bit error, form error, ACK error, CRC error, and stuff error are defined. In short, a bit error has a different level from the bus level sent by itself. A form error is detected when a fixed format bit field is violated, an ACK error (acknowledge error) is detected when no ACK is sent, and a CRC error is A stuff error is detected when a bit stuffing rule is violated, and is detected when the CRC sequence added to the received message is different from the CRC calculated from the received data.
通信エラーを検出したECUは、エラー種類毎に、エラーの検出回数を累積する。その累積値は各ECUのメモリに記憶される。故障診断ツール50を車両側のコネクタ60に接続し、各ECUが記憶しているエラー種類とその検出回数の累積値が全て読み出される。各地のディーラー等に配備される故障診断ツール50を使用することによって、車両とツールを接続するコネクタ60が予め車両に設定されるため、ECUで記憶しているエラー検出回数を容易に読み出すことができる。
The ECU that has detected the communication error accumulates the number of error detections for each error type. The accumulated value is stored in the memory of each ECU. The
故障診断ツール50は、異常推定手段及び正常判定手段として、下記の故障箇所推定ロジックに従って、故障箇所を推定する。
The
(1) スタッフエラー、ACKエラー、CRCエラーのみを検出しているECUについて
検出内容(1)のECUは、他のECUが送信したエラーメッセージを受信してエラー判定をしていると考えられる。そのため、故障診断ツール50は、検出内容(1)のECU,あるいは検出内容(1)のECUと本線とを接続する支線は正常と判断する。
(1) About ECU which detects only stuff error, ACK error, and CRC error It is considered that the ECU of detection content (1) receives an error message transmitted from another ECU and makes an error determination. Therefore, the
(2) ビットエラーとフォームエラーの少なくともいずれか一方を検出しているECUについて
検出内容(2)のECUについては、その状況として2種類の状況(A)(B)が想定できる。
(2) Regarding an ECU that detects at least one of a bit error and a form error As for the ECU of the detected content (2), two types of situations (A) and (B) can be assumed.
(A) 検出内容(2)のECUのECU内故障、あるいは検出内容(2)のECUと本線とを接続する支線の断線が発生している状況。状況(A)での故障の場合、断線した支線に接続されるECUからは、送信メッセージは正確に送信できていない。 (A) A situation in which a malfunction within the ECU of the detected content (2) or a disconnection of a branch line connecting the ECU of the detected content (2) and the main line has occurred. In the case of a failure in the situation (A), the transmission message cannot be accurately transmitted from the ECU connected to the disconnected branch line.
(B) 検出内容(2)のECUは正常であるが、別の故障ECUにより通信を妨害されてそれらのエラーを検出している状況。 (B) The detected content (2) is normal, but the communication is interrupted by another faulty ECU and those errors are detected.
ここで、ビットエラーとフォームエラーの検出回数の累積値の和に着目すると、検出内容(2)のECUの中から任意に選択される2つのECUの間で、
状況(A)の故障ECUの検出回数の累積値の和
≧状況(B)の正常ECUの検出回数の累積値の和
という関係を導き出すことができる。
Here, paying attention to the sum of the accumulated values of the number of detections of bit errors and form errors, between two ECUs arbitrarily selected from the ECUs of detection contents (2),
Sum of cumulative number of detections of faulty ECU in situation (A)
≧ A relation of the sum of accumulated values of the number of detections of the normal ECU in the situation (B) can be derived.
なぜならば、状況(B)は、正常なECUの送信中に故障ECUが送信を妨害してきた場合を想定している。正常なECUは、故障ECUが妨害しなければ、正常に送信が完了し、エラー検出を行わない。しかし、故障ECUが送信を行えば、ビットエラーかフォームエラーが必ず検出される。 This is because the situation (B) assumes a case where a faulty ECU has interfered with transmission during transmission of a normal ECU. A normal ECU completes transmission normally and does not perform error detection unless the faulty ECU interferes. However, if the faulty ECU performs transmission, a bit error or a form error is always detected.
ある一つの正常ECUの送信中に故障ECUが必ず送信を妨害する場合、ビットエラーとフォームエラーの検出回数の累積値の和について、
状況(A)の故障ECUの検出回数の累積値の和
=状況(B)の正常ECUの検出回数の累積値の和
という関係になる。しかし、複数の正常ECUが互いに送信中に故障ECUが送信する場合、ビットエラーとフォームエラーの検出回数の累積値の和について、
状況(A)の故障ECUの検出回数の累積値の和
>状況(B)の正常ECUの検出回数の累積値の和
となるからである。
If the faulty ECU always obstructs transmission during transmission of a single normal ECU, the sum of the cumulative number of bit error and form error detections
Sum of cumulative number of detections of faulty ECU in situation (A)
= The relationship is the sum of the cumulative values of the number of detections of the normal ECU in the situation (B). However, when the failure ECU transmits while a plurality of normal ECUs are transmitting to each other, the sum of the accumulated values of the number of bit error and form error detections,
Sum of cumulative number of detections of faulty ECU in situation (A)
This is because it is the sum of the cumulative values of the number of detections of the normal ECU in the situation (B).
例えば、図1において、ECU30の端子30Hと接続点aとの間の支線3の構成線3Hで断線が生じていたとする。この場合、ECU10,20,40のいずれも、ビットエラーとフォームエラーの少なくともいずれか一方を検出することになり、各自のメモリに記憶されるエラー検出回数がそのエラーが検出されるたびにエラー種類ごとに更新される。しかし、ECU30を除くECU間の通信(すなわち、ECU10とECU20との間の通信,ECU10とECU40との通信、ECU20とECU40との通信)は、正常に行うことができるので、断線した支線に接続されるECU30のメモリに記憶されているビットエラーとフォームエラーの検出回数の累積値の和は、ECU10,20,40のそれぞれのメモリに記憶されているビットエラーとフォームエラーの検出回数の累積値の和と同じ又はそれ以上になるため、当該累積値の和が最も大きいECUが故障ECUの可能性が高いと推定できる。同じ累積値のECUが複数ある場合は、その複数のECUの中に故障ECUが存在すると推定できる。
For example, in FIG. 1, it is assumed that a disconnection has occurred in the
したがって、故障診断ツール50は、各ECU内のメモリに記憶されるエラー検出回数の累積値を取得することによって、通信ラインに接続されるECUの中でビットエラーとフォームエラーの検出回数の累積値の和が最大値を記憶しているメモリを有しているECUが故障している可能性が一番高い又は当該最大値を記憶しているメモリを有しているECUに接続された支線が断線している可能性が一番高いと推定できる。そして、ビットエラーとフォームエラーの検出回数の累積値の和が小さいECUほど、当該ECUが故障している可能性が低い又は当該ECUに接続された支線が断線している可能性が低いと推定できる。
Therefore, the
このように、修理工場のサービスマン等のユーザは、故障診断ツール50の故障推定情報に従うことで、故障箇所の可能性が高い部分の通信ラインやECUの故障確認を容易に行うことができる。その結果、修理も容易に行うことができる。
In this way, a user such as a serviceman at a repair shop can easily check the failure of the communication line or ECU of the part where the possibility of the failure is high by following the failure estimation information of the
図4は、各ECUのマイコンがそれぞれ実施する記憶フローである。各ECUは、通信エラーを検出すると(ステップ10)、エラー検出回数の累積値をエラーの種類毎に記憶する(ステップ12)。図5は、各ECUのマイコンが実行する累積値出力フローである。各ECUは、エラー検出回数の累積値の出力要求を故障診断ツール50等から受けた場合(ステップ20)、CANトランシーバ等の通信インターフェイス回路を介して、自身のメモリに記憶された累積値を出力する(ステップ22)。
FIG. 4 is a memory flow executed by each microcomputer of each ECU. When each ECU detects a communication error (step 10), it stores a cumulative value of the number of error detections for each error type (step 12). FIG. 5 is a cumulative value output flow executed by the microcomputer of each ECU. When each ECU receives an output request for the cumulative value of the number of error detections from the
図6は、故障診断ツール50のマイコン52が実行する故障推定フローである。故障診断ツール50は、その操作者の操作に従ってエラー検出回数の累積値の出力要求をすることによって(ステップ30)、各ECUの当該累積値を取得する(ステップ32)。全ECUの中で累積値が最大のECUを故障ECUと推定する、又は当該最大のECUに接続される支線が断線と推定する(ステップ34)。その推定結果をディスプレイ52に出力表示する(ステップ22)。
FIG. 6 is a failure estimation flow executed by the
したがって、上述の実施例によれば、通信ラインの支線が片側断線したときに、その断線箇所が特定でき、異常箇所の推定精度を向上させることができる。 Therefore, according to the above-described embodiment, when the branch line of the communication line is broken on one side, the broken portion can be specified, and the estimation accuracy of the abnormal portion can be improved.
以上、本発明の好ましい実施例について詳説したが、本発明は、上述した実施例に制限されることはなく、本発明の範囲を逸脱することなく、上述した実施例に種々の変形及び置換を加えることができる。 The preferred embodiments of the present invention have been described in detail above. However, the present invention is not limited to the above-described embodiments, and various modifications and substitutions can be made to the above-described embodiments without departing from the scope of the present invention. Can be added.
例えば、通信ラインに接続されるノードとして、ECUを例示したが、インテリジェントセンサなどCAN通信を行うことが可能なものであればよい。また、ノードの数は、4つに限らず、3つ又は5つ以上でも同様に考えることができる。 For example, the ECU is exemplified as the node connected to the communication line, but any node capable of CAN communication such as an intelligent sensor may be used. Further, the number of nodes is not limited to four, and three or five or more nodes can be considered similarly.
各ECUが検出したエラーのエラー検出回数の累積値をエラー種類ごとに自身のメモリに記憶する例を示したが、自身のメモリに記憶しなくても、どのECUが検出したエラーに関する情報であるのかが特定可能な状態(例えば、ECUを特定するためのIDなどの識別情報の付与)で自身以外の他のメモリ(例えば、終端抵抗を内蔵するECU内のメモリ)に記憶されてもよい。 Although the example in which the accumulated value of the number of error detections of the error detected by each ECU is stored in its own memory for each error type is shown, it is information on which ECU has detected even if it is not stored in its own memory May be stored in a memory other than itself (for example, a memory in the ECU having a built-in termination resistor) in a state where it can be specified (for example, provision of identification information such as an ID for specifying the ECU).
また、本線7及び支線3,4,5からなるCAN通信ラインを介して、故障診断ツール50に各ECUの記憶情報を伝送する例を示した、IS0−KラインやLINなどの他の通信回線を介して、故障診断ツール50に各ECUの記憶情報を伝送しもよい。
Also, other communication lines such as IS0-K line and LIN, showing an example in which the stored information of each ECU is transmitted to the
また、上述の故障箇所推定ロジックは、通信ラインに接続されるノード自体(ECU自自体)に組み込んで、そのECUが異常推定手段及び/又は正常判定手段として故障箇所を推定してもよい。各ECUが、その記憶しているエラー検出回数の累積値を、CAN通信ライン又は他の通信回線を介して、故障箇所推定を行うECUに伝達する必要がある。その伝達以降は、上述の故障診断ツール50での同じ推定ロジックで故障箇所が推定される。故障箇所を推定したECUは、その推定結果を車載のディスプレイや故障診断ツール50のディスプレイ58等の出力手段に出力する。
Further, the above-described failure location estimation logic may be incorporated in the node itself (ECU itself) connected to the communication line, and the ECU may estimate the failure location as abnormality estimation means and / or normality determination means. Each ECU needs to transmit the stored cumulative value of the number of error detections to the ECU that performs failure location estimation via the CAN communication line or another communication line. After the transmission, the failure location is estimated by the same estimation logic in the
3,4,5 支線
7 本線
10,20,30,40 ECU
11,21,31,41,51 CANドライバ(CANトランシーバ)
12,52 マイクロコンピュータ
13 メモリ
15,25 終端抵抗
50 故障診断ツール
58 ディスプレイ
60 コネクタ
100 車両用通信システム
3, 4, 5 Branch line 7
11, 21, 31, 41, 51 CAN driver (CAN transceiver)
12, 52
Claims (8)
前記複数のノードのそれぞれが検出したCAN通信のエラー検出回数をエラーの種類毎に記憶する記憶手段と、
前記記憶手段に記憶されたビットエラーのエラー検出回数の累積値とフォームエラーのエラー検出回数の累積値との和が最大のノード又は該ノードに接続されるCAN通信ラインを異常と推定する異常推定手段とを備える、通信システム。 In a communication system including a plurality of nodes that perform CAN communication with each other via a CAN communication line,
Storage means for storing, for each error type, the number of times of CAN communication error detection detected by each of the plurality of nodes;
Abnormality estimation that estimates the node or the CAN communication line connected to the node having the largest sum of the accumulated value of the error detection times of bit errors and the accumulated value of the error detection times of form errors stored in the storage means as abnormal And a communication system.
各ノードがCAN通信のエラーを検出する毎に各ノードのCAN通信のエラー検出回数をエラーの種類毎に累積し、ビットエラーのエラー検出回数の累積値とフォームエラーのエラー検出回数の累積値との和が最大のノード又は該ノードに接続されるCAN通信ラインを異常と推定する、異常推定方法。 An abnormality estimation method for a communication system including a plurality of nodes that perform CAN communication with each other via a CAN communication line,
Each time each node detects an error in CAN communication, the number of CAN communication errors detected in each node is accumulated for each error type, and the accumulated error detection count for bit errors and the accumulated error detection count for form errors An abnormality estimation method for estimating a node having the largest sum of or a CAN communication line connected to the node as an abnormality.
前記エラー情報に基づいて、前記複数のノードのそれぞれが検出したCAN通信のエラー検出回数の累積値を取得する取得手段と、
前記取得手段によって取得されたビットエラーのエラー検出回数の累積値とフォームエラーのエラー検出回数の累積値との和が最大のノード又は該ノードに接続される通信ラインを異常と推定する異常推定手段とを備える、情報読出装置。 An information reading device capable of reading error information detected by a plurality of nodes performing CAN communication with each other via a CAN communication line,
Obtaining means for obtaining a cumulative value of the number of times of CAN communication error detection detected by each of the plurality of nodes based on the error information;
Abnormality estimation means for estimating the node having the maximum sum of the error detection count of bit errors acquired by the acquisition means and the cumulative value of form error error detection or the communication line connected to the node as abnormal An information reading device comprising:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008046361A JP5071151B2 (en) | 2008-02-27 | 2008-02-27 | COMMUNICATION SYSTEM, ABNORMALITY ESTIMATION METHOD, AND INFORMATION READING DEVICE |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008046361A JP5071151B2 (en) | 2008-02-27 | 2008-02-27 | COMMUNICATION SYSTEM, ABNORMALITY ESTIMATION METHOD, AND INFORMATION READING DEVICE |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2009202720A true JP2009202720A (en) | 2009-09-10 |
JP5071151B2 JP5071151B2 (en) | 2012-11-14 |
Family
ID=41145420
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2008046361A Expired - Fee Related JP5071151B2 (en) | 2008-02-27 | 2008-02-27 | COMMUNICATION SYSTEM, ABNORMALITY ESTIMATION METHOD, AND INFORMATION READING DEVICE |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5071151B2 (en) |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2012091436A2 (en) * | 2010-12-31 | 2012-07-05 | 한국과학기술원 | Method for detecting communication error in vehicle control unit |
JP2013058844A (en) * | 2011-09-07 | 2013-03-28 | Denso Corp | Data communication method and data communication device |
JP2013058845A (en) * | 2011-09-07 | 2013-03-28 | Denso Corp | Data communication method and data communication system |
US8410827B2 (en) | 2010-05-31 | 2013-04-02 | Rohm Co., Ltd. | Transmitter, interface device, and car mounted communication system |
KR20140004954A (en) * | 2012-07-03 | 2014-01-14 | 콘티넨탈 오토모티브 시스템 주식회사 | Method for diagnosing error of can communication |
JP2014083874A (en) * | 2012-10-19 | 2014-05-12 | Toyota Motor Corp | Communication monitoring unit, and communication monitoring method |
JP2014219774A (en) * | 2013-05-07 | 2014-11-20 | 株式会社ジェイテクト | PLC communication system |
WO2016080417A1 (en) * | 2014-11-20 | 2016-05-26 | 国立大学法人名古屋大学 | Controller area network (can) communication system and error information recording device |
US9577788B2 (en) | 2011-06-15 | 2017-02-21 | Denso Corporation | Coding apparatus, coding method, data communication apparatus, and data communication method |
JP2017153050A (en) * | 2016-02-26 | 2017-08-31 | オムロン株式会社 | Master device, slave device, error monitor system, control method for master device, and control program |
WO2023171104A1 (en) * | 2022-03-10 | 2023-09-14 | 株式会社日立ハイテク | Distributed system and distributed device which constitutes distributed system |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH01293450A (en) * | 1988-05-23 | 1989-11-27 | Nec Corp | Troubled device specifying system |
JPH05122235A (en) * | 1991-10-29 | 1993-05-18 | Toshiba Corp | Line rearrangement system |
JP2002359625A (en) * | 2001-05-31 | 2002-12-13 | Aisin Seiki Co Ltd | Control area network |
JP2005038026A (en) * | 2003-07-15 | 2005-02-10 | Toshiba Lsi System Support Kk | Microcontroller including can controller |
JP2005263196A (en) * | 2003-12-02 | 2005-09-29 | Calsonic Kansei Corp | On-vehicle apparatus control system |
JP2006191404A (en) * | 2005-01-07 | 2006-07-20 | Fujitsu Ten Ltd | Short circuit failure detection apparatus and node device |
JP2007166496A (en) * | 2005-12-16 | 2007-06-28 | Sumitomo Electric Ind Ltd | Optical subscriber line terminal station device, abnormality monitoring apparatus and method for detecting abnormality in optical subscriber line terminal device |
-
2008
- 2008-02-27 JP JP2008046361A patent/JP5071151B2/en not_active Expired - Fee Related
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH01293450A (en) * | 1988-05-23 | 1989-11-27 | Nec Corp | Troubled device specifying system |
JPH05122235A (en) * | 1991-10-29 | 1993-05-18 | Toshiba Corp | Line rearrangement system |
JP2002359625A (en) * | 2001-05-31 | 2002-12-13 | Aisin Seiki Co Ltd | Control area network |
JP2005038026A (en) * | 2003-07-15 | 2005-02-10 | Toshiba Lsi System Support Kk | Microcontroller including can controller |
JP2005263196A (en) * | 2003-12-02 | 2005-09-29 | Calsonic Kansei Corp | On-vehicle apparatus control system |
JP2006191404A (en) * | 2005-01-07 | 2006-07-20 | Fujitsu Ten Ltd | Short circuit failure detection apparatus and node device |
JP2007166496A (en) * | 2005-12-16 | 2007-06-28 | Sumitomo Electric Ind Ltd | Optical subscriber line terminal station device, abnormality monitoring apparatus and method for detecting abnormality in optical subscriber line terminal device |
Cited By (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8410827B2 (en) | 2010-05-31 | 2013-04-02 | Rohm Co., Ltd. | Transmitter, interface device, and car mounted communication system |
WO2012091436A3 (en) * | 2010-12-31 | 2012-08-23 | 한국과학기술원 | Method for detecting communication error in vehicle control unit |
WO2012091436A2 (en) * | 2010-12-31 | 2012-07-05 | 한국과학기술원 | Method for detecting communication error in vehicle control unit |
US9577788B2 (en) | 2011-06-15 | 2017-02-21 | Denso Corporation | Coding apparatus, coding method, data communication apparatus, and data communication method |
JP2013058844A (en) * | 2011-09-07 | 2013-03-28 | Denso Corp | Data communication method and data communication device |
JP2013058845A (en) * | 2011-09-07 | 2013-03-28 | Denso Corp | Data communication method and data communication system |
KR20140004954A (en) * | 2012-07-03 | 2014-01-14 | 콘티넨탈 오토모티브 시스템 주식회사 | Method for diagnosing error of can communication |
JP2014083874A (en) * | 2012-10-19 | 2014-05-12 | Toyota Motor Corp | Communication monitoring unit, and communication monitoring method |
US9823641B2 (en) | 2013-05-07 | 2017-11-21 | Jtekt Corporation | PLC communication system |
JP2014219774A (en) * | 2013-05-07 | 2014-11-20 | 株式会社ジェイテクト | PLC communication system |
JP2016100725A (en) * | 2014-11-20 | 2016-05-30 | 国立大学法人名古屋大学 | Can (controller area network) communication system and error information storage device |
WO2016080417A1 (en) * | 2014-11-20 | 2016-05-26 | 国立大学法人名古屋大学 | Controller area network (can) communication system and error information recording device |
US10484200B2 (en) | 2014-11-20 | 2019-11-19 | National University Corporation Nagoya University | Controller area network (CAN) communication system and error information recording device |
JP2017153050A (en) * | 2016-02-26 | 2017-08-31 | オムロン株式会社 | Master device, slave device, error monitor system, control method for master device, and control program |
US10554522B2 (en) | 2016-02-26 | 2020-02-04 | Omron Corporation | Master device, slave device, error monitoring system, and control method and control program of master device |
WO2023171104A1 (en) * | 2022-03-10 | 2023-09-14 | 株式会社日立ハイテク | Distributed system and distributed device which constitutes distributed system |
Also Published As
Publication number | Publication date |
---|---|
JP5071151B2 (en) | 2012-11-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5071151B2 (en) | COMMUNICATION SYSTEM, ABNORMALITY ESTIMATION METHOD, AND INFORMATION READING DEVICE | |
JP4407752B2 (en) | FAILURE LOCATION DETECTION DEVICE, COMMUNICATION DEVICE, AND FAILURE LOCATION DETECTION METHOD | |
JP4952212B2 (en) | Communication interference prevention device, communication system node, communication system, vehicle fault diagnosis device, and in-vehicle device | |
US8750351B2 (en) | Configuration of bus transceiver | |
KR101575547B1 (en) | The error variance detection method of can communication system and the can communication system | |
US9298529B2 (en) | Indicating internal transmitter errors in a controller area network (CAN) | |
CN110116752A (en) | Device and method based on redundancy structure control vehicle | |
CN112347021B (en) | Security module for serial communication device | |
US11016925B2 (en) | Protocol-tolerant communications in controller area networks | |
JP6176199B2 (en) | Transmission line abnormality detection device | |
JP6384332B2 (en) | Electronic control unit | |
JP6001118B2 (en) | Information communication | |
JP2006191404A (en) | Short circuit failure detection apparatus and node device | |
JP2010093676A (en) | Gateway device, vehicle network, and one-side breaking detection method | |
JP4968169B2 (en) | Communication system and communication method | |
JP6332060B2 (en) | In-vehicle network | |
JP4124427B2 (en) | Vehicle control apparatus and communication method thereof | |
JP2009302783A (en) | Failure detecting method and failure detection system of communication network | |
JP4603899B2 (en) | Gateway device with communication error detection function and communication system | |
CN108632242B (en) | Communication device and receiving device | |
JP2020142646A (en) | Communication failure detection device | |
JP2006222800A (en) | Multiplex communication system | |
JP7103197B2 (en) | Communications system | |
WO2022092263A1 (en) | Ground short failure detection device and node device | |
JP2010095134A (en) | Communication relay device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20100609 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20120531 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20120724 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20120806 |
|
R151 | Written notification of patent or utility model registration |
Ref document number: 5071151 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20150831 Year of fee payment: 3 |
|
LAPS | Cancellation because of no payment of annual fees |