JP4872417B2 - In-vehicle data recorder and data recording method - Google Patents
In-vehicle data recorder and data recording method Download PDFInfo
- Publication number
- JP4872417B2 JP4872417B2 JP2006102812A JP2006102812A JP4872417B2 JP 4872417 B2 JP4872417 B2 JP 4872417B2 JP 2006102812 A JP2006102812 A JP 2006102812A JP 2006102812 A JP2006102812 A JP 2006102812A JP 4872417 B2 JP4872417 B2 JP 4872417B2
- Authority
- JP
- Japan
- Prior art keywords
- vehicle
- data recorder
- electronic control
- data
- communication
- 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.)
- Expired - Fee Related
Links
Images
Description
本発明は、車両の走行状態に関する電子制御条件の各種データを記録し、故障診断や事故原因の究明に利用する車載データレコーダに関する。 The present invention relates to an in-vehicle data recorder that records various data of electronic control conditions relating to the running state of a vehicle and is used for fault diagnosis and investigation of the cause of an accident.
走行中の車両に例えば車両走行制御、エンジン制御、無断変速機制御等各種車両データを取り込む制御装置を搭載しておき、故障診断や事故原因究明に利用する車両用ドライブレコーダまたは車載データレコーダが知られており、且つこれら各制御装置は上記の各種車両制御データから車両各部の動作異常を診断する外部診断装置への接続が可能としている(例えば下記特許文献1、特許文献2)。しかし、このような構成の装置によれば、車両毎に異なる制御装置の種類と個数に対応して記録データを決定し、それぞれの記録処理プログラムを作成してドライブレコーダに記録させなければならず、その作業工数が多大になるという問題があった。
For example, a vehicle drive recorder or an in-vehicle data recorder used for fault diagnosis and investigation of the cause of an accident is known in which a vehicle that is running is equipped with a control device that captures various types of vehicle data such as vehicle travel control, engine control, and continuous transmission control. Each of these control devices can be connected to an external diagnostic device for diagnosing abnormal operation of each part of the vehicle from the various vehicle control data (for example, Patent Document 1 and
また、上記の問題を解決するために下記特許文献3においては、上記車両に搭載した制御装置と外部診断装置との間に車両データを収集時の通信手順と通信内容とを記憶する車両用ドライブレコーダを接続し、この記憶された通信手順と通信内容とを外部診断装置に転送し、外部診断装置は上記の制御装置から車両制御情報を収集し装置の異常診断を行う構成としている。これにより、従来必要とされた、車両毎に異なる制御装置の種類と個数に対応して収集データを決定し、これら収集データの記録処理プログラムを作成して、予めドライブレコーダとなるデータレコーダに記憶させる作業工数を不要とし、制御装置の種類と個数に応じて収集データを自動的に決定する車両用ドライブレコーダが開示されている。
In order to solve the above problem, in
特に特許文献3の場合、車載データレコーダがデータ取得後、異常診断を行う場合、外部診断装置を車載データレコーダに接続して各制御装置の制御情報を収集する際に、車載データレコーダを制御装置の回線から外部診断装置へ手動で切り替える必要がある。ここで、外部診断装置と車載データレコーダ間の通信には車両に搭載されている制御装置と同一の識別子を用いている。このため、この切り替え操作を行うことなく外部診断装置を接続すると、車載データレコーダが記録するデータに外部診断装置から送信された通信用のデータが混在することになり、正確なデータ記録が保証されなくなる問題があった。
前記問題を解決するため、本発明においては、このようなデータの混在が生じることなく、外部診断装置接続時の車載データレコーダの自動切り替えを行うことが可能な車載データレコーダおよびそれに関連するデータ記録方法の提供を目的とした。 In order to solve the above-mentioned problem, in the present invention, the in-vehicle data recorder capable of automatically switching the in-vehicle data recorder when the external diagnostic apparatus is connected without causing such a mixture of data, and data recording related thereto The purpose was to provide a method.
上記目的を達成するために、本発明においては以下の構成を基本構成とした。
すなわち、複数の電子制御装置が接続されている車内LANには車載データレコーダ1台が第1のケーブルを介して接続されており、この第1のケーブルから第2のケーブルにより車内LAN出力を分岐し、この車内LANに接続されている電子制御装置からの制御情報について診断を行う外部診断装置への接続を可能としている。
この構成において、車載データレコーダ専用の識別子を設定し、この専用の識別子を外部診断装置からの通信メッセージの前に設定する識別子と異なるものとすることにより車載データレコーダにおけるデータの混乱を避ける構成としている。
In order to achieve the above object, the present invention has the following configuration as a basic configuration.
That is, the plurality of electronic control units drive the LAN that is connected-vehicle data recorder one is connected via a first cable, in the I from the first cable to the second cable Rikuruma branches the LAN output, thereby enabling a connection to the external diagnostic device that diagnoses the control information from the electronic control device connected to the vehicle LAN.
In this configuration, an identifier dedicated to the in-vehicle data recorder is set, and this dedicated identifier is different from the identifier set before the communication message from the external diagnostic device, thereby avoiding data confusion in the in-vehicle data recorder. Yes.
本発明の請求項1においては、車内LANに接続されている電子制御装置からの制御情報を1台の車載データレコーダに記録する際の識別子(すなわちID)と、これ等電子制御装置の制御情報を診断するために車外に接続する外部診断装置からのデータに付される識別子とを異なるIDとしている。
すなわち、外部診断装置が各電子制御装置と1対1通信を行う際に複数の電子制御装置それぞれに専用IDを設定するが、車載データレコーダにおいても、同様に複数の電子制御装置それぞれと通信を行う際に上記外部診断装置とは異なるIDを設定することを特徴としている。
これにより外部診断装置とのデータの切り分けが明確となり、データが混在することなく、正確な通信メッセージの送受信が可能となった。
In claim 1 of the present invention, an identifier (i.e., ID) for recording the control information from the electronic control device connected to the car in the LAN to one vehicle data recorder, which like the control of the electronic control device In order to diagnose information, an identifier attached to data from an external diagnostic device connected outside the vehicle is set to a different ID.
In other words, when the external diagnostic device performs one-to-one communication with each electronic control device, a dedicated ID is set for each of the plurality of electronic control devices. Similarly, the in-vehicle data recorder communicates with each of the plurality of electronic control devices. When performing, it is characterized in that an ID different from that of the external diagnostic apparatus is set.
As a result, the separation of data from the external diagnostic device is clarified, and accurate communication messages can be transmitted and received without mixing data.
以下、本発明を図により説明する。図1に本発明における車載データレコーダ1の基本構成を示す。図1において中央演算装置10は電源監視回路11により電源供給状況が監視されている。中央演算装置10は揮発性メモリ12と不揮発性メモリ13とが接続されており、車両制御状態に関する情報となるデータは図2に示す車内LAN2および車内LAN3にそれぞれ双方向通信IF(インタフェース)14および双方向通信IF(インタフェース)15を介して中央演算装置10に取り込まれる。
The present invention will be described below with reference to the drawings. FIG. 1 shows a basic configuration of an in-vehicle data recorder 1 according to the present invention. In FIG. 1, the
図2は本発明による車載データレコーダ1を用いた車両制御監視の車内システム全体の構成を示すもので、車両4に複数のネットワークとして車内LAN2および車内LAN3の2つの場合について示している。図2において2つの車内LAN2および車内LAN3にはそれぞれ5つの電子制御装置(以下、制御装置と記す)21,22,23,24,25、および31,32,33,34,35が接続されており、車両走行制御データ、エンジン制御データ等走行中の各種車両制御状態の情報に関するデータ収集が行われる。これら制御装置21〜25および31〜35からの各データはケーブル61および71を介して車載データレコーダ1に入力されると同時にケーブル611および711により分岐し、コネクタ81を経由して車外に取り出され、ケーブル62、72およびコネクタ82を介して接続が可能となっている外部診断装置5に入力される。
FIG. 2 shows the configuration of the entire in-vehicle system for vehicle control monitoring using the in-vehicle data recorder 1 according to the present invention. The in-
図3は本発明による車載データレコーダ1の基本動作および動作モードの遷移を示す状態遷移図である。先ず電源スイッチをオンあるいはイグニッションスイッチオン(IGN ON)にすることによりシステムリセットがかかるパワーオンリセット、あるいは外部診断装置5からのリセット要求S100により車載データレコーダ1は初期診断モードS101に遷移する。この初期診断モードS101においては車載データレコーダ1の初期状態のチェック、すなわち、中央演算装置10内蔵の図示しないレジスタ、揮発性メモリ12、不揮発性メモリ13、双方向インタフェース14および15の図示しないレジスタのそれぞれに動作異常が無いか診断を行う。
FIG. 3 is a state transition diagram showing the transition of the basic operation and operation mode of the in-vehicle data recorder 1 according to the present invention. First, the in-vehicle data recorder 1 transits to the initial diagnosis mode S101 in response to a power-on reset that causes a system reset by turning on the power switch or turning on the ignition switch (IGN ON) or a reset request S100 from the external diagnostic device 5. In this initial diagnosis mode S101, the initial state of the in-vehicle data recorder 1 is checked, that is, the registers (not shown) built in the
これら中央演算装置10内蔵の図示しないレジスタ、揮発性メモリ12、不揮発性メモリ13、双方向インタフェース14および15の図示しないレジスタの動作が全て正常であれば記録モードS102に遷移する。記録モードS102において、車載データレコーダ1は車内LAN2に接続されている制御装置21,22,23,24,25および車内LAN3に接続されている制御装置31,32,33,34,35それぞれと1対1で順次通信を行う。これにより中央演算装置10から送信される制御状態の情報に関するデータ送信要求に応じてその応答を受信することにより前記各電子制御装置のデータを車載データレコーダ1に記録する。
If the operations of the registers (not shown) built in the
受信したデータは一旦揮発性メモリ12に記録され、例えばデータエラー、アドレスエラー等が無いことをチェックする等の揮発性メモリ12に記憶されているデータを不揮発性メモリ13に転送する条件が成立している場合にこのメモリ間のデータ転送を行う。ここで、車内LAN2に接続されている制御装置21,22,23,24,25および車内LAN3に接続されている制御装置31,32,33,34,35からデータを取得するためのデータ送信要求、揮発性メモリ12から不揮発性メモリ13にデータを転送するための条件等は車載データレコーダ1に予め設定されているものとする。
The received data is temporarily recorded in the
また、前記初期診断モードS101において、中央演算装置10内蔵の図示しないレジスタ、揮発性メモリ12、不揮発性メモリ13、双方向インタフェース(IF)14および15に内蔵の図示しないレジスタの何れかに異常がある場合は、上記の制御装置21〜25および31〜35からのデータの車載データレコーダ1への記録は行わず、外部診断装置通信モードS103に遷移し、外部診断装置5において動作異常の診断を行う。
Further, in the initial diagnosis mode S101, any one of the registers (not shown) incorporated in the
図4は図3における初期診断モードS101の動作を説明するフロー図である。図4において初期診断モードS101においては、車載データレコーダに搭載されている中央演算装置10、揮発性メモリ12、不揮発性メモリ13、双方向インタフェース(IF)14、15における故障の有無を最初にチェックすることから始まる(ステップS200)。この故障診断に続いて、中央演算装置10内蔵のレジスタ、揮発性メモリ12、不揮発性メモリ13、双方向インタフェース14,15内蔵のレジスタ全てについて動作異常の有無をチェックする。ここで、異常が無ければ(ステップS201:NO)記録モードS102に遷移し、車内LAN2および車内LAN3に接続されている制御装置21〜25および31〜35から制御状態のデータ収集を開始する。(ステップS202)。また、動作異常が発見されれば(ステップS201:YES)、異常がある旨をエラーログとして不揮発性メモリ13に記録し(ステップS203)、その後、図3において外部診断装置通信モードS103に遷移する(ステップS204)。ここで、本発明においては外部診断装置5の接続の有無は自動認識されるのでこのモードの遷移に対しては、外部診断装置5の接続を特に確認処理は必要ではない。
FIG. 4 is a flowchart for explaining the operation of the initial diagnosis mode S101 in FIG. In FIG. 4, in the initial diagnosis mode S <b> 101, first, the presence or absence of a failure in the
図5の送信処理および図6の受信処理は何れも図1の記録モードS102において実行されるデータ送受信処理の処理手順を示すフロー図で、先ず、図5による送信処理について説明する。
図2における車内LAN2に接続されている制御装置21,22,23,24,25および車内LAN3に接続されている制御装置31,32,33,34,35からデータを取得するためのデータ送信要求は予め定められた一定周期で行われ、この周期をタイマにより監視し、このタイマがタイムアウトとなると所定の周期のタイミングに達したとして(ステップS300:YES)、各制御装置からのデータ取り込みを開始する。この際、先ずネットワーク(LAN)が負荷オーバになっていないか調べる。ネットワークの負荷の状態、すなわち現時点以前におけるネットワーク内の通信頻度が所定のデータ量以上になっているか否かをネットワークの負荷状態を示すフラグにより調べる。
Each of the transmission process of FIG. 5 and the reception process of FIG. 6 is a flowchart showing the processing procedure of the data transmission / reception process executed in the recording mode S102 of FIG. 1. First, the transmission process of FIG.
Data transmission request for acquiring data from the
すなわち、車載データレコーダ1が前記複数の電子制御装置の1台づつと順次1対1で診断通信を行う場合に、車内LAN上に存在する通信情報の頻度であるネットワーク負荷を監視しながら診断通信によるデータ記録の頻度を制御する構成としている。 That is, when the in-vehicle data recorder 1 sequentially performs one-on-one diagnostic communication with each of the plurality of electronic control devices, the diagnostic communication is performed while monitoring the network load that is the frequency of communication information existing on the in-vehicle LAN. It is configured to control the frequency of data recording by.
ここで、フラグが0(ステップS301:YES)であれば、ネットワークを介しての通信が可能であるから車載データレコーダ1は前記各制御装置に対して順次データ送信要求の信号を発信し(ステップS302)各制御装置21〜25および31〜35からのデータを取得する。またフラグが1(ステップS301:NO)であれば、車内LAN2または3が過負荷状態であることを示しているからデータ通信が出来ないことを示している。このためデータ送信要求を発することなくネットワークの負荷状態を確認するための測定を行う(ステップS303)。上記ステップS302においてデータ送信要求を発した場合においても、新たなデータを取り込むことにより車内LAN2または3が過負荷にならないか調べる(ステップS303)。
Here, if the flag is 0 (step S301: YES), communication via the network is possible, so the in-vehicle data recorder 1 sequentially transmits a data transmission request signal to each control device (step S302) Data from each of the
このステップS303における測定結果は、車内LAN2または3に対して設定されている通信量の上限値を超えているか否かを判定するもので、超えていなければ(ステップS304:NO)車内LAN2または3の通信量に余裕があることを示しているからネットワーク負荷オーバのフラグを0としてこの一連の処理を終了し、(開始)に戻り次の処理の待機状態となる。また、ステップS304においてネットワーク負荷が上限値を超えている場合(ステップS304:YES)、ネットワークが新しいデータの読み込みにより過負荷状態になることを示しているから、ネットワーク負荷オーバのフラグを1としてこの一連の処理を終了し、(開始)に戻り次の処理の待機状態となる。この場合は、次の処理において車内LANの負荷オーバを示すフラグが1であることを意味するからステップS301:NOのループを辿ることになる。すなわち、車載データレコーダ1が各制御装置21〜25および31〜35と1対1で通信を行う場合に、車内LAN2または3上に存在する通信情報の頻度、すなわちネットワーク負荷を監視しながら診断通信によるデータ記録の頻度を抑制するようにした。これにより車内LAN2または3におけるデータの過負荷による通信エラーを抑圧することが出来るようになった。
The measurement result in step S303 is used to determine whether or not the upper limit of the communication amount set for the in-
また、上記ステップS300において、タイマがタイムアウトの状態に達していなければ(ステップS300:NO)、データ送信要求を発信するタイミングでないことを示しているから、処理を中止し、(終了)の状態を経由して(開始)の状態に戻り、次のタイムアウトになるのを待つ、すなわち、データ送信要求のタイミングになるまで待機する。 In step S300, if the timer has not reached the time-out state (step S300: NO), it indicates that it is not the time to transmit the data transmission request. Return to the state of (start) via, and wait for the next timeout, that is, wait until the timing of the data transmission request.
図6は図3における記録モード102において実行される受信処理の手順を示すフロー図である。車内LAN2および車内LAN3にそれぞれ接続されている制御装置21〜25および31〜35からのデータが車載データレコーダ1に転送されると、車載データレコーダ1ではデータ受信の割り込みが行われる(ステップS400)。ここでデータが到達していなければ(ステップS400:NO)受信処理は行わず、(終了)を経て(開始)に戻りデータ到達の待機状態となる。
FIG. 6 is a flowchart showing a procedure of reception processing executed in the
データが到達して受信データの割り込み状態となった場合(ステップ400:YES)はステップ401に移行し、先ず受信したデータに設定されているID(識別子)をチェックし、このIDが車内LAN2および車内LAN3における通信用の規格として割り当てられているヘキサコード表示(0x700〜0x7FF)の範囲内のデータを受信しているか否かの確認を行う。
When the data arrives and the received data is interrupted (step 400: YES), the process proceeds to step 401, where the ID (identifier) set in the received data is first checked. It is confirmed whether or not data within the range of the hexacode display (0x700 to 0x7FF) assigned as a standard for communication in the in-
ここで、上記範囲内のIDのデータが受信されなかった場合は(ステップS401:NO)、目的外のデータであるから外部診断装置5で診断する対象外のデータであるから外部診断装置5に送出することなく受信バッファとしての機能を有する揮発性メモリ12に記録するに留めて処理を終了し(ステップS404)、次の受信割り込みの待機状態とする。受信バッファに記録されたこのデータは次回入力される後続のデータのうち上記条件(ステップS401:NO)を満たさないデータが来たときに、そのデータが上書きされる。
If ID data within the above range is not received (step S401: NO), the data is out of the target and is not subject to diagnosis by the external diagnostic device 5. The process is terminated only by recording in the
また、上記範囲内のIDを有するデータを受信した場合は(ステップS401:YES)、この受信データのIDについて、車載データレコーダ1が有している外部診断装置5から車内LAN2用の制御装置21,22,23,24,25および車内LAN3用制御装置31,32,33,34,35へのデータ送信要求を送信するためのIDの一覧表、すなわちデータ送信要求IDリストと比較参照する(ステップS402)。ここで、図6のステップS402において、C/Uは前記複数制御装置を示す。この比較参照した結果、受信したデータのIDがデータ送信要求IDリストに存在する場合(ステップS403:YES)、外部診断装置5が接続されたことを示しているから、外部診断装置5との通信モードに遷移(ステップS405)して一連の処理を(終了)し、(開始)に戻り次の受信割り込みを待つ。また、上記の比較参照した結果、受信したデータのIDがデータ送信要求IDリストに存在しない場合(ステップS403:NO)、当該データをIDと共に受信データのバッファメモリである揮発性メモリ12に格納しておく。このデータは後続のデータで上書き格納され受信処理を(終了)し、(開始)に戻り次の受信割り込みの待機状態となる。
When data having an ID within the above range is received (step S401: YES), the
以上の構成から、車載データレコーダ1および外部診断装置5に対するIDの設定方法としては以下の2通りがある。すなわち、
(第1の設定法)
車両の制御状態を検知し、該検知したデータを送出する制御装置21〜25、および31〜35がそれぞれ接続されている2つの車内LAN2および3に対して共通に接続されており、前記各複数の制御装置それぞれの制御状態を記録することが可能な1台の車載データレコーダ1において、前記2つの車内LAN2および3と前記車載データレコーダ1とは2本のケーブル61,71によりそれぞれ接続されている。これ等ケーブル61,71は、前記の各制御装置からの制御情報を収集して異常診断を行う外部診断装置5に他の2本のケーブル611,711とで分岐し、コネクタ81、ケーブル62,72、コネクタ82を介して接続可能となっている。車載データレコーダ1が前記2つの車内LANに接続されている複数の制御装置の1台づつと順次1対1で前記車両の制御状態に関する診断通信を行う場合に、前記複数の制御装置からのデータを含むそれぞれの通信メッセージの前に通信用の識別子を設定し、前記車載データレコーダ1にも専用の識別子を設定し、且つこの専用の識別子は前記外部診断装置5からの通信メッセージの前に設定されている識別子とは異なるものとしている。
From the above configuration, there are the following two methods for setting IDs for the in-vehicle data recorder 1 and the external diagnostic device 5. That is,
(First setting method)
The
(第2の設定法)
車載の制御装置21〜25および31〜35と外部診断装置5とが通信するときは、予めその通信方向毎に、例えば下記のようなIDが設定されているとする。ここでECUは電子制御装置を示しており、数字1、2、‥‥は図2における制御装置に付した符号21〜25および31〜35に対応して順次付した番号である。また、hはヘキサコードを示しているものとする。
(Second setting method)
When the vehicle-mounted
外部診断装置→ECU1:701h、 ECU1→外部診断装置:741h
外部診断装置→ECU2:702h、 ECU2→外部診断装置:742h
上記のようなIDが設定されているとき、車載データレコーダの機能切り替えを下記の条件の何れかに応じて行う。
External diagnostic device → ECU 1: 701h, ECU1 → External diagnostic device: 741h
External diagnostic device → ECU 2: 702h,
When the ID as described above is set, the function switching of the in-vehicle data recorder is performed according to any of the following conditions.
・車載データレコーダが送信していない外部診断装置用IDを検出した場合
・自己診断機能あるいは初期診断時で異常を検出した場合
・ネットワーク上での通信頻度が予め定められた値よりも大となり、過負荷状態となった場合
これら車載データレコーダ切り替え条件の何れもが成立していない場合は、車載データレコーダ1が車内LAN2および3に接続されている制御装置のデータ収集を行うことになるから、
車載データレコーダ→ECU1:701h、
ECU1→車載データレコーダ:741h
車載データレコーダ→ECU2:702h、
ECU2→車載データレコーダ:742h
のように車載データレコーダ1と外部診断装置5とが同じIDで各制御装置からデータ収集を行う。この場合は、車載データレコーダ1が外部診断装置5に代わって同じIDを用いてデータ収集を行うことになる。
・ When an on-board data recorder detects an external diagnostic device ID that is not transmitted ・ When an abnormality is detected during the self-diagnosis function or initial diagnosis ・ The communication frequency on the network is greater than a predetermined value, When it becomes an overload state When none of these vehicle data recorder switching conditions is satisfied, the vehicle data recorder 1 will collect data from the control devices connected to the in-
In-vehicle data recorder → ECU1: 701h,
ECU1 → In-vehicle data recorder: 741h
In-vehicle data recorder → ECU 2: 702h,
ECU2 → In-vehicle data recorder: 742h
Thus, the in-vehicle data recorder 1 and the external diagnostic device 5 collect data from each control device with the same ID. In this case, the in-vehicle data recorder 1 collects data using the same ID instead of the external diagnostic device 5.
すなわち、車両の制御状態を検知し該検知したデータを送出する電子制御装置がそれぞれ複数台接続されている2つの車内LAN2および3に対し、2本のケーブル61および71を介して共通に接続されており、前記複数の電子制御装置21〜25および31〜35それぞれの制御状態を記録することが可能な1台の車載データレコーダ1において、前記2つの車内LAN2および3を前記車載データレコーダ1に接続する前記2本のケーブル61および71から他の2本のケーブル611および711により分岐し、これら他の2本のケーブル611および711を介して前記複数の電子制御装置21〜25および31〜35からのデータを収集して異常診断を行う外部診断装置5がコネクタを介して接続可能となっており、前記車載データレコーダ1が前記複数の電子制御装置21〜25および31〜35の1台づつと順次1対1で診断通信を行う場合に、前記複数の電子制御装置からのデータを含む通信メッセージの前に通信用の識別子を設定し、前記車載データレコーダ1の通信メッセージの前に専用の識別子を設定し、且つ該車載データレコーダ1に専用の識別子と同じ識別子を前記外部診断装置5の通信メッセージにも設定し、前記外部診断装置5が前記2つの車内LAN2および3と、前記車載データレコーダ1に接続された場合には、前記車載データレコーダ1が前記電子制御装置21〜25および31〜35からのデータ収集を停止するようにした。
That is, it is connected in common via two
また、外部診断装置5の接続を検知した後、次のイグニッション・オフを経てオンになるまで車載データレコーダ1はデータの収集を停止し、次のイグニッション・オンまたは電源オンとなった時点でデータの収集を再開する構成としている。すなわち、車載データレコーダ1において、外部診断装置5が使用するものと同じ識別子を用いて各種電子制御装置からデータを収集する場合、外部診断装置5の接続を探知した後、次のイグニッション・オフからオンになる過程を経るまでは、データ収集停止を継続し、次のイグニッション・オンまたは電源オンによりデータ収集を再開する構成としている。 In addition, after detecting the connection of the external diagnostic device 5, the in-vehicle data recorder 1 stops collecting data until it is turned on after the next ignition is turned off, and the data is turned on when the next ignition is turned on or the power is turned on. Collection is resumed. That is, in the in-vehicle data recorder 1, when collecting data from various electronic control devices using the same identifier as that used by the external diagnostic device 5, after detecting the connection of the external diagnostic device 5, from the next ignition off Until the process of turning on, the data collection is stopped and the data collection is resumed by the next ignition on or power on.
この構成により、データ収集を停止した後に、機能復帰してデータ収集を再開するに際し、そのための特別なツールやスイッチを不要とした。また、この構成により外部診断装置5あるいは車載データレコーダ1それぞれと通信するための専用のIDを設定する必要がなくデータ処理の手順を簡易化できた。 This configuration eliminates the need for a special tool or switch for returning the function after the data collection is stopped and restarting the data collection. Further, with this configuration, it is not necessary to set a dedicated ID for communicating with the external diagnostic device 5 or the in-vehicle data recorder 1, and the data processing procedure can be simplified.
また、上記の車載データレコーダ機能切り替え条件が成立している場合は、外部診断装置5が接続されている状態になるから、
外部診断装置→車載データレコーダ:7C1h
車載データレコーダ→外部診断装置:7F1h
と言うように外部診断装置5から見ると車載データレコーダ1は、車内LAN2および3に接続されている制御装置の一つとして機能する形とする。
Moreover, since the on-board data recorder function switching condition is established, the external diagnostic device 5 is connected,
External diagnostic device → in-vehicle data recorder: 7C1h
In-vehicle data recorder → external diagnostic device: 7F1h
As seen from the external diagnostic device 5, the in-vehicle data recorder 1 functions as one of the control devices connected to the in-
以上の構成とすることにより、外部診断装置5が接続されたことを前記のIDリストの照合から自動的に検出し、車載データレコーダを車載の他の電子制御装置と同列に扱うことが出来るようになり、且つ各電子制御装置のデータを車載データレコーダ1で集中的に記憶させることが出来るため各制御装置におけるメモリを削減することが出来た。さらに、本構成により外部診断装置5の機能を損なう、あるいは改造を施す必要なく異常診断が可能となり、本発明を任意の車両への拡張適用が容易となる。 With the above configuration, it is possible to automatically detect that the external diagnostic device 5 is connected from the ID list collation, and to handle the in-vehicle data recorder in the same row as other in-vehicle electronic control devices. In addition, since the data of each electronic control device can be intensively stored by the in-vehicle data recorder 1, the memory in each control device can be reduced. Furthermore, the present configuration makes it possible to diagnose an abnormality without impairing the function of the external diagnostic device 5 or modifying it, and the present invention can be easily applied to any vehicle.
なお、以上の実施の形態においては車内LANが2系統の場合について説明したが、本構成は2系統以上に対しても適用可能である。 In the above embodiment, the case in which the in-vehicle LAN has two systems has been described. However, this configuration can be applied to two or more systems.
1:車載データレコーダ 2:車内LAN
3:車内LAN 4:車両
5:外部診断装置 10:中央演算装置
11:電源監視回路 12:揮発性メモリ
13:不揮発性メモリ
14,15:双方向通信インタフェース
21,22,23,24,35,31,32,33,34,35:
電子制御装置
61,62,71,72:ケーブル
81,82:コネクタ
1: In-vehicle data recorder 2: In-vehicle LAN
3: In-vehicle LAN 4: Vehicle 5: External diagnostic device 10: Central processing unit 11: Power monitoring circuit 12: Volatile memory 13:
Claims (8)
前記車内LANを前記車載データレコーダに接続する前記第1のケーブルから第2のケーブルにより分岐し、該第2のケーブルを介して前記複数の電子制御装置からのデータを収集して異常診断を行う外部診断装置がコネクタを介して接続可能となっており、
前記車載データレコーダが前記複数の電子制御装置の1台づつと順次1対1で前記車両の制御状態に関する診断通信を行う場合に、前記複数の電子制御装置毎にその前記車両制御状態に関する通信メッセージの前に通信用の識別子をそれぞれ設定し、
前記車載データレコーダの通信メッセージの前にも専用の識別子を設定し、且つ該車載データレコーダ専用の識別子は前記外部診断装置からの通信メッセージの前に設定されている識別子とは異なるものであることを特徴とする車載データレコーダ。 Detecting the control state of the vehicle, an electronic control unit for sending the data the detected relative drive the LAN that is connected few cars double, are connected via a first cable, the plurality of electronic control In one in-vehicle data recorder capable of recording the control state of each device,
Branched from the first cable connecting the front Symbol car within LAN to the in-vehicle data recorder by the second cable, the abnormality diagnosis to collect data from the plurality of electronic control unit via the second cable Can be connected via a connector,
When the in-vehicle data recorder performs diagnostic communication regarding the control state of the vehicle one by one with each of the plurality of electronic control devices , a communication message regarding the vehicle control state for each of the plurality of electronic control devices an identifier for the communication set each before,
A dedicated identifier is also set before the communication message of the in- vehicle data recorder, and the identifier dedicated to the in-vehicle data recorder is different from the identifier set before the communication message from the external diagnostic device. An in-vehicle data recorder.
前記車内LANを前記車載データレコーダに接続する前記第1のケーブルから第2のケーブルにより分岐し、該第2のケーブルを介して前記複数の電子制御装置からのデータを収集して異常診断を行う外部診断装置がコネクタを介して接続可能となっており、
前記車載データレコーダが前記複数の電子制御装置の1台づつと順次1対1で診断通信を行う場合に、前記複数の電子制御装置毎にその通信メッセージの前に通信用の識別子をそれぞれ設定し、
前記車載データレコーダの通信メッセージの前に専用の識別子を設定し、且つ該車載データレコーダの専用の識別子と同じ識別子を前記外部診断装置の通信メッセージにも設定し、
前記外部診断装置が前記車内LANおよび前記車載データレコーダに接続され、且つ、前記外部診断装置から前記電子制御装置の何れかへの通信を前記車載データレコーダが検出することにより前記外部診断装置の接続を探知した場合には、前記車載データレコーダが前記電子制御装置からのデータ収集を停止することを特徴とする車載データレコーダ。 Detecting the control state of the vehicle, an electronic control unit for sending the data the detected relative drive the LAN that is connected few cars double, are connected via a first cable, the plurality of electronic control In one in-vehicle data recorder capable of recording the control state of each device,
Branched from the first cable connecting the front Symbol car within LAN to the in-vehicle data recorder by the second cable, the abnormality diagnosis to collect data from the plurality of electronic control unit via the second cable Can be connected via a connector,
When said vehicle data recorder performs sequential diagnostic communication in one-to-one and one by one of the plurality of electronic control units, an identifier for the communication prior to the plurality of electronic control units that communicate messages to each set, respectively ,
Set a dedicated identifier before the communication message of the in-vehicle data recorder, and set the same identifier as the dedicated identifier of the in-vehicle data recorder also in the communication message of the external diagnostic device,
The external diagnostic device is connected to the in-vehicle LAN and the in-vehicle data recorder , and the in-vehicle data recorder detects communication from the external diagnostic device to any of the electronic control devices, thereby connecting the external diagnostic device. When the vehicle data is detected , the vehicle data recorder stops collecting data from the electronic control unit.
前記外部診断装置が使用するものと同じ識別子を用いて前記電子制御装置からデータを収集する場合、前記外部診断装置の接続を探知した後、次のイグニッション・オフからオンになる過程を経るまでは、データ収集停止を継続し、次のイグニッション・オンまたは電源オンによりデータ収集を再開することを特徴とする車載データレコーダ。 The in-vehicle data recorder according to claim 2 ,
When collecting data from the electronic control device using the same identifier as that the outer portion diagnostic apparatus is used, after detecting the connection of the external diagnostic device, until through the process turns on the next ignition off Is a vehicle data recorder characterized by continuing data collection stop and restarting data collection upon the next ignition on or power on.
前記車載データレコーダが前記複数の電子制御装置の1台づつと順次1対1で診断通信を行う場合に、
前記車内LAN上に存在する通信情報の頻度、すなわちネットワーク負荷を監視しながら診断通信によるデータ記録の頻度を制御することを特徴とする車載データレコーダ。 The in-vehicle data recorder according to any one of claims 1 to 3,
When the in-vehicle data recorder performs diagnostic communication sequentially with one of the plurality of electronic control devices one by one,
A vehicle-mounted data recorder that controls the frequency of communication information existing on the in-vehicle LAN, that is, the frequency of data recording by diagnostic communication while monitoring the network load.
前記車載データレコーダが前記複数の電子制御装置の1台づつと順次1対1で診断通信を行う場合に、前記複数の電子制御装置毎にその通信メッセージの前に通信用の識別子をそれぞれ設定し、前記車載データレコーダの通信メッセージの前にも専用の識別子を設定し、該識別子は前記電子制御装置からのデータを収集して異常診断を行う外部診断装置からの通信メッセージの前に設定されている識別子とは異なるものであることを特徴とするデータ記録方法。 One vehicle data recorder that is connected to the car's LAN, the data recording method of recording control information for a plurality of electronic control device connected to 該車 the LAN,
When said vehicle data recorder performs sequential diagnostic communication in one-to-one and one by one of the plurality of electronic control units, an identifier for the communication prior to the plurality of electronic control units that communicate messages to each set, respectively In addition, a dedicated identifier is also set before the communication message of the in-vehicle data recorder, and the identifier is set before the communication message from the external diagnostic device that collects data from the electronic control device and performs abnormality diagnosis A data recording method, wherein the identifier is different from the identifier.
前記車載データレコーダが前記複数の電子制御装置の1台づつと順次1対1で診断通信を行う場合に、前記複数の電子制御装置毎の通信メッセージの前に通信用の識別子をそれぞれ設定し、
前記車載データレコーダの通信メッセージに対して専用の識別子を設定し、
該専用の識別子と同じ識別子を前記複数の電子制御装置の異常診断を行う外部診断装置の通信メッセージに設定し、
前記外部診断装置が前記車内LANおよび前記車載データレコーダに接続され、且つ、前記外部診断装置からの通信を前記車載データレコーダが検出した場合には、前記車載データレコーダが前記電子制御装置からのデータ収集を停止することを特徴とするデータ記録方法。 One vehicle data recorder that is connected to the vehicle LAN is, in the data recording method for recording control information for a plurality of electronic control units are connected before Symbol car inside LAN,
When said vehicle data recorder performs sequential diagnostic communication in one-to-one and one by one of the plurality of electronic control units, an identifier for the communication prior to the plurality of electronic control units for each of the communication message set respectively,
Set a dedicated identifier for the communication message of the in-vehicle data recorder,
Set the same identifier as the dedicated identifier in the communication message of the external diagnostic device that performs abnormality diagnosis of the plurality of electronic control devices,
When the external diagnostic device is connected to the in-vehicle LAN and the in-vehicle data recorder , and the in-vehicle data recorder detects communication from the external diagnostic device, the in-vehicle data recorder is connected to the electronic control device. A data recording method characterized by stopping data collection.
前記車載データレコーダが前記外部診断装置と同じ識別子で前記電子制御装置からデータを収集する場合、前記外部診断装置の接続を探知した後、次のイグニッション・オフからオンになる過程を経るまでは、データ収集を停止し、次のイグニッション・オンまたは電源オンによりデータ収集を再開することを特徴とするデータ記録方法。 The data recording method according to claim 6, wherein
When the in-vehicle data recorder collects data from the electronic control device with the same identifier as the external diagnostic device, after detecting the connection of the external diagnostic device, until the process of turning on from the next ignition off, A data recording method characterized by stopping data collection and restarting data collection upon the next ignition on or power on.
前記車載データレコーダが前記複数の電子制御装置と1対1で診断通信を行う場合に、
前記車内LAN上に存在する通信情報の頻度、すなわちネットワーク負荷を監視しながら診断通信によるデータ記録の頻度を制御することを特徴とするデータ記録方法。 The data recording method according to any one of claims 5 to 7,
When the in-vehicle data recorder performs diagnostic communication on a one-to-one basis with the plurality of electronic control devices,
A data recording method, wherein the frequency of communication information existing on the in-vehicle LAN, that is, the frequency of data recording by diagnostic communication is controlled while monitoring the network load.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006102812A JP4872417B2 (en) | 2006-04-04 | 2006-04-04 | In-vehicle data recorder and data recording method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006102812A JP4872417B2 (en) | 2006-04-04 | 2006-04-04 | In-vehicle data recorder and data recording method |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2007281648A JP2007281648A (en) | 2007-10-25 |
JP4872417B2 true JP4872417B2 (en) | 2012-02-08 |
Family
ID=38682682
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2006102812A Expired - Fee Related JP4872417B2 (en) | 2006-04-04 | 2006-04-04 | In-vehicle data recorder and data recording method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4872417B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113067762A (en) * | 2021-03-24 | 2021-07-02 | 重庆长安汽车股份有限公司 | In-vehicle data recording and recorded data extraction method for automatic driving |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000078141A (en) * | 1998-08-27 | 2000-03-14 | Fujikura Ltd | Travel distance recorder |
JP2001266199A (en) * | 2000-03-17 | 2001-09-28 | Nissan Motor Co Ltd | Vehicle drive recorder |
US6801942B1 (en) * | 2000-09-15 | 2004-10-05 | Robert Bosch Gmbh | Apparatus, method and system for remotely accessing and/or controlling can node arrangements, including vehicle electronic control units, during vehicle operation |
-
2006
- 2006-04-04 JP JP2006102812A patent/JP4872417B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2007281648A (en) | 2007-10-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5949417B2 (en) | Relay device | |
JP3099663B2 (en) | Communications system | |
JP5949416B2 (en) | Relay device | |
WO2006077900A2 (en) | Fault diagnosis data recording system and method | |
US8223060B2 (en) | Electric control system and electric control unit | |
JP5028852B2 (en) | Vehicle communication system | |
US20160134553A1 (en) | Flexible scheduling method and apparatus in lin communication | |
JP4509200B2 (en) | Network system | |
US6745120B2 (en) | Vehicle-mounted electronic control apparatus | |
EP0717525B1 (en) | Method and device for serial communication | |
JP4724095B2 (en) | Relay connection unit and in-vehicle communication system | |
JP5019983B2 (en) | In-vehicle communication system, relay device, and communication method | |
JP4872417B2 (en) | In-vehicle data recorder and data recording method | |
JP3106927B2 (en) | Communications system | |
JP2009035237A (en) | Failure diagnosis device, and failure diagnosis method | |
JP3716796B2 (en) | Fault diagnosis device for vehicles | |
WO2020217928A1 (en) | Electronic control device | |
JP7276701B2 (en) | Fault diagnosis system | |
JP2000275145A (en) | Vehicle diagnostic system and recording medium | |
JP4007023B2 (en) | Fault diagnosis device for vehicles | |
KR20220077190A (en) | System for a smart digital tachograph | |
JP2021013135A (en) | Electronic control device for vehicle | |
JP2010018168A (en) | System and method for analyzing abnormality for vehicle, and vehicular trouble analyzer | |
JP2008278246A (en) | Communication system, communication equipment and communication method | |
JP2904304B2 (en) | Multiplex transmission equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20090225 |
|
RD02 | Notification of acceptance of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7422 Effective date: 20101018 |
|
RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20101028 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20110617 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20110628 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20110829 |
|
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: 20111025 |
|
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: 20111107 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20141202 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
LAPS | Cancellation because of no payment of annual fees |