JP2009290349A - Failure diagnosis system - Google Patents
Failure diagnosis system Download PDFInfo
- Publication number
- JP2009290349A JP2009290349A JP2008138539A JP2008138539A JP2009290349A JP 2009290349 A JP2009290349 A JP 2009290349A JP 2008138539 A JP2008138539 A JP 2008138539A JP 2008138539 A JP2008138539 A JP 2008138539A JP 2009290349 A JP2009290349 A JP 2009290349A
- Authority
- JP
- Japan
- Prior art keywords
- communication
- ecu
- electronic control
- abnormality
- stopped
- 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
- Testing And Monitoring For Control Systems (AREA)
- Small-Scale Networks (AREA)
Abstract
Description
本発明は、車載ネットワークにおける異常を診断する異常診断システムに関する。 The present invention relates to an abnormality diagnosis system for diagnosing an abnormality in an in-vehicle network.
従来、この種の技術として、例えば特許文献1に記載の技術が知られている。この特許文献1に記載の技術では、異常診断装置が電子制御装置(以下、ECUと記載する)から車載ネットワークを介して所定時間内に一度もデータを受信しなかった場合、データの送受信が途絶されていることを意味するため、異常診断装置とECUとの間で何らかの異常が発生していると判断している。
Conventionally, as this type of technology, for example, the technology described in
他にも、従来、例えば特許文献2に記載の技術が知られている。この特許文献2に記載の技術では、ECUが車載ネットワークを介して送信する異常データを異常診断装置が受信することで、異常診断装置はECU単体に異常が生じていると診断している。
In addition, conventionally, for example, a technique described in
また、例えばFlexRayのように、車載ネットワークに接続されている複数のECUが一定周期にて順次通信を開始するタイムスロット方式で、且つ、これら複数のECU間に時間同期異常が発生すると通信を停止するプロトコルが知られている。
ところで、上記特許文献1に記載の従来技術を上記タイムスロット方式のプロトコルに適用すると、次のような課題が生じる。詳しくは、異常には、通信線の異常(断線)、ECUと通信線との接続異常などECU単体以外が原因である異常と、他ECUとの同期異常によるECU単体の異常との2種類の異常が含まれている。しかしながら、特許文献1に記載の異常判定では、異常診断装置とECUとの間で何らかの異常が発生したことについては診断することができるものの、その異常の原因についてまで区別することはできない。
By the way, when the prior art described in
また、上記特許文献2に記載の技術を上記タイムスロット方式のプロトコルに適用すると、ECU単体に異常が生じていると診断することができるだけにすぎず、異常が生じたECUを特定することは難しい。
Further, when the technique described in
そして、このように異常の原因が複数考えられる状況、あるいは、異常が生じたECU単体を特定することができない状況において、ECUの修理や調査をすることは作業効率が非常に悪く、ユーザに対するサービス性が低くなってしまう。 In such a situation where there are a plurality of possible causes of the abnormality, or in a situation where the ECU alone in which the abnormality has occurred cannot be specified, it is very inefficient to repair or investigate the ECU, and the service to the user It becomes low.
本発明は、上記実情に鑑みてなされたものであって、その目的は、タイムスロット方式の車載ネットワークにおける異常の原因を区別可能であり、異常が生じた電子制御装置を特定することのできる異常診断システムを提供することにある。 The present invention has been made in view of the above circumstances, and its purpose is to identify the cause of an abnormality in a time slot type in-vehicle network and to identify an electronic control device in which an abnormality has occurred. To provide a diagnostic system.
こうした目的を達成するため、請求項1に記載の構成では、接続された複数の電子制御装置が予め定められた通信スケジュールに従って一定時間毎に順次データを送信するタイムスロット方式の車載ネットワークに診断装置が接続され、この車載ネットワークにおける異常を診断する異常診断システムであって、前記通信スケジュールは、車両機能制御に必要とされるデータを含むフレームの送信に利用され、複数のスロットからなるスタティックセグメントと、車両機能制御に直接必要とされないデータを含むフレームの送信に利用され、複数のスロットからなるダイナミックセグメントとから構成される通信サイクルが繰り返されるものであり、前記複数の電子制御装置は、他の電子制御装置との間で同期異常が発生したか否かを検出する同期異常検出部と、前記同期異常が検出された場合、前記ダイナミックセグメントを構成する複数のスロットのうち、これら複数の電子制御装置毎に予め定められた異なる番号のスロットで、同期異常の発生に起因して通信を停止する旨を示す異常データを送信するデータ送信部とをそれぞれ備え、前記診断装置は、前記ダイナミックセグメントを監視して、前記異常データを含むフレームを受信した直後に通信が停止された場合、前記電子制御装置単体が原因で通信が停止されたと診断するとともに、そのフレームが送信されたスロット番号に基づいて、通信が停止された電子制御装置を特定する一方、前記異常データを含むフレームを受信することなく通信が停止された場合、前記電子制御装置単体以外の原因で通信が停止されたと診断する診断部を備えることを特徴とする。
In order to achieve such an object, in the configuration according to
異常診断システムとしての上記構成では、まず、複数の電子制御装置は、同期異常検出部によって、他の電子制御装置との間で同期異常が発生したか否かを検出する。同期異常が検出された場合、複数の電子制御装置はデータ送信部によって異常データをそれぞれ送信する。一方、診断装置は、ダイナミックセグメントを監視し、異常データを含むフレームを受信した直後に通信が停止された場合、電子制御装置単体が原因で通信が停止されたと診断する。ここで、上記データ送信部は、ダイナミックセグメントを構成する複数のスロットのうち、複数の電子制御装置毎に予め定められた異なる番号のスロットで異常データを送信するため、上記診断装置は、そのフレームが送信されたスロット番号に基づいて、通信を停止した電子制御装置を特定することができるようになる。他方、診断装置は、異常データを含むフレームを受信することなく通信が停止された場合、電子制御装置単体以外の原因で通信が停止されたと診断する。このように、異常診断システムとしての上記構成によれば、タイムスロット方式の車載ネットワークにおける異常の原因を区別することができるようになるとともに、異常が生じた電子制御装置を特定することができるようになる。 In the above-described configuration as the abnormality diagnosis system, first, the plurality of electronic control devices detect whether or not a synchronization abnormality has occurred with another electronic control device using the synchronization abnormality detection unit. When a synchronization abnormality is detected, the plurality of electronic control devices transmit abnormality data by the data transmission unit. On the other hand, the diagnosis device monitors the dynamic segment, and diagnoses that the communication is stopped due to the electronic control unit alone when the communication is stopped immediately after receiving the frame including the abnormal data. Here, since the data transmission unit transmits abnormal data in slots having different numbers predetermined for each of a plurality of electronic control devices among a plurality of slots constituting the dynamic segment, It becomes possible to identify the electronic control unit that has stopped communication based on the slot number that is transmitted. On the other hand, when the communication is stopped without receiving a frame including abnormal data, the diagnosis device diagnoses that the communication has been stopped for a reason other than the electronic control unit alone. As described above, according to the above-described configuration as the abnormality diagnosis system, it is possible to identify the cause of the abnormality in the time slot type in-vehicle network and to specify the electronic control device in which the abnormality has occurred. become.
ただし、上記請求項1に記載の構成では、通信スケジュールに割り当てられる電子制御装置の数と同一数のスロットをダイナミックセグメントに確保する必要がある。しかしながら、通信の停止に至るほど重度の障害が発生する頻度は非常に低いため、異常データを含むフレームを送信するべく確保したスロットは、実際にはほとんど利用されない。ほとんど利用されない多数のスロットをダイナミックセグメント、ひいては、通信サイクルに確保することは、通信効率の低下を招いてしまう。しかも、通信スケジュールに割り当てられる電子制御装置の数、すなわち、車載ネットワークに接続される電子制御装置の数が多いほど、そうした通信効率の低下は顕著なものとなる。また、車両の設計条件に起因して、ダイナミックセグメントを大きく確保することができない場合もある。その場合、異常データを含むフレームを送信するためのスロットを全ての電子制御装置に対し確保することができなくなるおそれもある。
However, in the configuration described in
その点、請求項2に記載の発明では、接続された複数の電子制御装置が予め定められた通信スケジュールに従って一定時間毎に順次データを送信するタイムスロット方式の車載ネットワークに診断装置が接続され、この車載ネットワークにおける異常を診断する異常診断システムであって、前記通信スケジュールは、車両機能制御に必要とされるデータを含むフレームの送信に利用され、複数のスロットからなるスタティックセグメントと、車両機能制御に直接必要とされないデータを含むフレームの送信に利用され、複数のスロットからなるダイナミックセグメントとから構成される通信サイクルが繰り返されるものであり、前記複数の電子制御装置はそれぞれ、他の電子制御装置との間で同期異常が発生したか否かを検出する同期異常検出部と、前記スタティックセグメントを構成する複数のスロットのうち、これら複数の電子制御装置毎に予め定められた異なる番号のスロットで前記車両機能制御に必要とされるフレームを送信するとともに、前記同期異常が検出された場合、前記ダイナミックセグメントを構成する複数のスロットのうち、これら複数の電子制御装置に共通して予め定められた同一番号のスロットで、同期異常の発生に起因して通信を停止する旨を示す異常データを含むフレームを送信するデータ送信部とを備え、前記診断装置は、前記ダイナミックセグメントを監視して、前記異常データを含むフレームを受信した直後に通信が停止された場合、前記電子制御装置単体が原因で通信が停止されたと診断するとともに、次のスタティックセグメントを監視しつつフレームが送信されなかったスロット番号に基づいて、通信が停止された電子制御装置を特定する一方、前記異常データを含むフレームを受信することなく通信が停止された場合、前記電子制御装置単体以外の原因で通信が停止されたと診断する診断部を備えることを特徴とする。
In that respect, in the invention according to
異常診断システムとしての上記請求項2に記載の構成では、同期異常が検出された場合、電子制御装置は、データ送信部によって、ダイナミックセグメントを構成する複数のスロットのうち、これら複数の電子制御装置に共通して予め定められた同一番号のスロットで、同期異常の発生に起因して通信を停止する旨を示す異常データを含むフレームを送信する。これにより、上記請求項1の構成とは異なり、通信スケジュールに割り当てられる電子制御装置の数と同一数のスロットをダイナミックセグメントに確保する必要がなくなり、異常データを含むフレームを送信するべく確保するスロット数を必要最小限に抑制することができるようになる。そしてひいては、通信効率の低下も抑制することができるようになる。
In the configuration according to
ただし、例えば通信線の断線等、電子制御装置単体以外の原因で通信が停止されたのではなく、電子制御装置単体が原因で通信が停止されたと診断することができるようにはなるものの、異常データを含むフレームが送信されるスロット番号は複数の電子制御装置に共通して同一であるため、通信を停止する原因となった電子制御装置を特定することまではできないようにも思われる。 However, it is possible to diagnose that communication has been stopped due to a cause other than the electronic control unit alone, such as disconnection of the communication line. Since the slot number in which a frame including data is transmitted is the same in common for a plurality of electronic control devices, it may not be possible to identify the electronic control device that caused the communication to stop.
その点、上記請求項2に記載の構成では、電子制御装置は、データ送信部によって、スタティックセグメントを構成する複数のスロットのうち、複数の電子制御装置毎に予め定められた異なる番号のスロットで車両機能制御に必要とされるフレームを送信する。そのため、次のスタティックセグメントを監視しつつフレームが送信されなかったスロット番号に基づくことで、診断装置は、通信が停止された電子制御装置を特定することができるようになる。
In that respect, in the configuration described in
また、請求項3に記載の発明のように、接続された複数の電子制御装置が予め定められた通信スケジュールに従って一定時間毎に順次データを送信するタイムスロット方式の車載ネットワークに診断装置が接続され、この車載ネットワークにおける異常を診断する異常診断システムであって、前記通信スケジュールは、車両機能制御に必要とされるデータを含むフレームの送信に利用され、複数のスロットからなるスタティックセグメントと、車両機能制御に直接必要とされないデータを含むフレームの送信に利用され、複数のスロットからなるダイナミックセグメントとから構成される通信サイクルが繰り返されるものであり、前記複数の電子制御装置はそれぞれ、異なる識別番号が付与されており、他の電子制御装置との間で同期異常が発生したか否かを検出する同期異常検出部と、前記同期異常が検出された場合、前記ダイナミックセグメントを構成する複数のスロットのうち、これら複数の電子制御装置に共通して予め定められた同一番号のスロットで、同期異常の発生に起因して通信を停止する旨を示す異常データ及び前記識別番号を含むフレームを送信するデータ送信部とを備え、前記診断装置は、前記ダイナミックセグメントを監視して、前記異常データを含むフレームを受信した直後に通信が停止された場合、前記電子制御装置単体が原因で通信が停止されたと診断するとともに、そのフレームに含まれる前記識別番号に基づいて、通信が停止された電子制御装置を特定する一方、前記異常データを含むフレームを受信することなく通信が停止された場合、前記電子制御装置単体以外の原因で通信が停止されたと診断する診断部を備えることが望ましい。 According to a third aspect of the present invention, the diagnostic device is connected to a time slot type in-vehicle network in which a plurality of connected electronic control devices sequentially transmit data at regular intervals according to a predetermined communication schedule. An abnormality diagnosis system for diagnosing an abnormality in the in-vehicle network, wherein the communication schedule is used for transmission of a frame including data required for vehicle function control, a static segment including a plurality of slots, and a vehicle function It is used for transmission of a frame including data not directly required for control, and a communication cycle composed of a dynamic segment composed of a plurality of slots is repeated. Each of the plurality of electronic control devices has a different identification number. Synchronization error with other electronic control units. A synchronization abnormality detection unit that detects whether or not a failure occurs, and, when the synchronization abnormality is detected, among the plurality of slots constituting the dynamic segment, the same predetermined in common for the plurality of electronic control units A data transmission unit for transmitting a frame including the abnormal data indicating that communication is stopped due to the occurrence of a synchronization abnormality in the number slot and a frame including the identification number, and the diagnostic device monitors the dynamic segment. When the communication is stopped immediately after receiving the frame including the abnormal data, the communication is diagnosed as being stopped due to the electronic control unit alone, and the communication is performed based on the identification number included in the frame. If the communication is stopped without receiving the frame including the abnormal data while the electronic control device is Further comprising a diagnosis unit for diagnosing the communication for reasons other than the control apparatus alone is stopped is preferable.
上記請求項3に記載の発明では、複数の電子制御装置には異なる識別番号がそれぞれ付与されており、データ送信部によって、異常データ及びこの識別番号を含むフレームが送信される。そのため、通信が停止された電子制御装置が1つである場合には、異常データ及び識別番号を含むフレームは壊れることなく診断装置によって受信されるため、次のスタティックセグメントを監視するまでもなく、このフレームを受信した時点で、通信が停止された電子制御装置を特定することができるようになる。 In the third aspect of the invention, different identification numbers are assigned to the plurality of electronic control devices, respectively, and abnormal data and a frame including the identification number are transmitted by the data transmission unit. Therefore, when there is only one electronic control unit whose communication is stopped, the frame including the abnormal data and the identification number is received by the diagnostic unit without being broken, so it is not necessary to monitor the next static segment. When this frame is received, it becomes possible to identify the electronic control unit whose communication has been stopped.
また、上記請求項4に記載の発明のように、前記同期異常検出部は、他の電子制御装置との間で同期異常が発生したか否かの検出に併せて、その同期ずれを計算し、前記データ送信部は、前記同期ずれの計算結果も送信することが望ましい。これにより、通信が停止された電子制御装置の異常の程度を判断することができるようになる。
In addition, as in the invention described in
(第1の実施の形態)
以下、本発明に係る異常診断システムの第1の実施の形態について、図1〜図6を参照しつつ説明する。このうち、図1は、本実施の形態の全体構成を示すブロック図であり、図2及び図3は、本実施の形態を構成する電子制御装置及び故障診断装置の内部構成をそれぞれ示すブロック図である。まず、これら図1〜図3参照しつつ、本実施の形態の構成及び機能について説明する。
(First embodiment)
Hereinafter, a first embodiment of an abnormality diagnosis system according to the present invention will be described with reference to FIGS. Among these, FIG. 1 is a block diagram showing an overall configuration of the present embodiment, and FIGS. 2 and 3 are block diagrams respectively showing an internal configuration of an electronic control device and a failure diagnosis device constituting the present embodiment. It is. First, the configuration and function of the present embodiment will be described with reference to FIGS.
図1に示されるように、異常診断システム1は、エアバッグECU101a、エアコンECU101b、ブレーキECU101c、エンジンECU101d及び故障診断装置110aが接続される通信線(車載ネットワーク)100を備えており、図示しない車両に搭載されている。なお、本実施の形態では、エアバッグECU101a、エアコンECU101b、ブレーキECU101c及びエンジンECU101dを複数の電子制御装置として備えることとしたが、これらECUの種類は限定されることなく、ECUの個数についても「4個」に限られない。また、ECUの種類に注目しない場合には、これらを総称してECU101と記載する。
As shown in FIG. 1, the
本実施の形態では、ECU101及び故障診断装置110a間における通信の通信プロトコルとして例えばFlexRayが採用される。このFlexRayプロトコルでは、ECU101は、予め定められた通信スケジュールに従って一定時間毎に順次データを送信する。詳しくは、この通信スケジュールは、車両機能制御に必要とされるデータを含む制御情報フレームの送信に利用されるとともに複数のスロット(時間領域)からなるスタティックセグメントと、車両機能制御に直接必要とされないデータを含むフレーム(例えば後述の故障情報フレーム)の送信に利用されるとともに複数のスロットからなるダイナミックセグメントとから構成される通信サイクルが繰り返される。
In the present embodiment, for example, FlexRay is adopted as a communication protocol for communication between the
図2に示されるように、ECU101は、故障検出部(同期異常検出部)102及びデータ送信部103aを内部に備える。このうち、故障検出部102は、自ECU101と他ECU101との間で同期異常(故障)が発生したか否かを検出する。具体的には、故障検出部102は、まず、自ECU101と他ECU101との時間ずれ(同期ずれ)を上記スタティックセグメントで計測する。次に、故障検出部102は、このスタティックセグメントが終了して続くダイナミックセグメントに入ると、計測した同期ずれに基づいて、この同期ずれを補正するための補正値を算出する。そして、故障検出部102は、算出した補正値が予め定められた許容値を超えていた場合、同期ずれが許容される限度を超えていることを意味するため、同期異常が発生したと判断する。
As shown in FIG. 2, the
また、データ送信部103aは、上記スタティックセグメントを構成する複数のスロットのうち、複数のECU101毎に予め定められた異なる番号のスロットで車両機能制御に必要とされるデータを含むフレームである制御情報フレームを送信する。データ送信部103aは、故障検出部102によって同期異常の発生が判断された場合、上記スタティックセグメントに続くダイナミックセグメントを構成する複数のスロットのうち、各種ECU101毎に予め定められた異なる番号のスロットで、「同期異常の発生に起因して通信を停止する」旨を示す異常データを含むフレームである故障情報フレームを送信する。そして、データ送信部103aは、故障情報フレームを送信したダイナミックセグメントが終了したときに、通信(フレームの送信)を停止する。したがって、ECU101が故障情報フレームを送信することが可能な期間の終期は、上記同期異常が発生したと判断された通信サイクルの終期であり、ECU101は、次の通信サイクルでは、上記制御情報フレームや上記故障情報フレームを送信することはできなくなる。
Further, the
また、図3に示されるように、故障診断装置110aは、故障診断部(診断部)111a及び記憶保持部112を内部に備える。このうち、故障診断部111aは、ダイナミックセグメントを監視して、上記故障情報フレームを受信した直後に通信が停止されたか否かを判断する。ここで、上記故障情報フレームを受信した直後に通信が停止された場合、その故障情報フレームを送信したECU101とその他のECU101との間で同期異常が発生したことを意味するため、ECU101単体が原因で通信が停止されたと診断する。また、この場合、故障診断部111aは、上記故障情報フレームが送信されたスロット番号に基づいて、通信を停止させる原因となったECU101を特定するとともに、記憶保持部112にその旨を記憶保持する。一方、故障診断部111aは、上記故障情報フレームを受信することなく通信が停止された(所定期間内に一度もデータを受信しなかった)場合、例えば通信線100の断線、ECU101と通信線100との接続異常等、ECU101単体以外の原因で通信が停止されたと診断する。
As shown in FIG. 3, the
以上のように構成されたECU101及び故障診断装置110aがそれぞれ実行する処理について、図4及び図5を参照して説明する。
Processing executed by the
図4(a)〜(d)はそれぞれ、エアバックECU101a、エアコンECU101b、ブレーキECU101c及びエンジンECU101dによって通信サイクル毎に実行される故障検出処理の処理手順を示すフローチャートである。これら図4(a)〜(d)を参照して、各種ECU101が実行する故障検出処理について説明する。
FIGS. 4A to 4D are flowcharts showing the procedure of the failure detection process executed for each communication cycle by the
図4(a)に示されるように、通信サイクルが開始されると、まず、エアバッグECU101aは、ステップS110の判断処理を通じて、この通信サイクルを構成するスタティックセグメントが終了してダイナミックセグメントが開始されるまで待機する。
As shown in FIG. 4A, when the communication cycle is started, the
スタティックセグメントが終了し、ダイナミックセグメントが開始されると(ステップS110の判断処理で「Yes」)、エアバッグECU101aは、続くステップS111の処理として、故障状態の自己検出を行う。詳しくは、エアバッグ101aは、先のスタティックセグメントで計測した当該エアバッグECU101aと他のECU101(この場合、エアコンECU101b、ブレーキECU101c及びエンジンECU101d)との同期ずれに基づいて上記補正値を算出する。上記補正値を算出すると、エアバッグECU101aは、続くステップS112の判断処理として、上記補正値が予め定められた許容値を超えているか否かを判断することで、当該エアバッグECU101aに故障があるか否かを判断する。
When the static segment ends and the dynamic segment starts (“Yes” in the determination process of step S110), the
ここで、上記補正値が上記許容値を超えていると判断した場合(ステップS112の判断処理で「Yes」)、エアバッグECU101aは、当該エアバッグECU101aに故障があると判断し、続くステップS113aの処理として、ダイナミックセグメントを構成する例えば「K+1」番目のスロットで、故障診断装置110aに故障情報フレームを送信する。一方、先のステップS112の判断処理で、上記補正値が上記許容値以下であると判断した場合(ステップS112の判断処理で「No」)、エアバッグECU101aは、当該エアバッグECU101aに故障はないと判断し、この故障検出処理を一旦終了する。
Here, when it is determined that the correction value exceeds the allowable value (“Yes” in the determination process of step S112), the
また、図4(b)〜(d)から分かるように、エアコンECU101b、ブレーキECU101c及びエンジンECU101dも、エアバッグECU101aに準じた故障検出処理を実行する。ただし、上記補正値が上記許容値を超えていると判断した場合(ステップS112の判断処理で「Yes」)、エアコンECU101b、ブレーキECU101c及びエンジンECU101dは、続くステップS113b〜113dの処理として、ダイナミックセグメントを構成する例えば「K+2」、「K+3」及び「K+4」番目のスロットで、故障診断装置110aに故障情報フレームをそれぞれ送信する。このように、電子制御装置が異なれば、フレームを送信するスロット番号が異なっている。
As can be seen from FIGS. 4B to 4D, the
図5は、故障診断装置110aによって実行される故障診断処理について、その処理手順を示すフローチャートである。この図5を参照しつつ、故障診断装置110aが実行する故障診断処理について説明する。
FIG. 5 is a flowchart showing a processing procedure for the failure diagnosis processing executed by the
図5に示されるように、通信サイクルが開始されると、故障診断装置110a(詳しくは、故障診断部111a)は、まず、ステップS120の判断処理を通じて、この通信サイクルを構成するスタティックセグメントが終了してダイナミックセグメントが開始されるまで待機する。
As shown in FIG. 5, when the communication cycle is started, the
スタティックセグメントが終了し、ダイナミックセグメントが開始されると(ステップS120の判断処理で「Yes」)、故障診断装置110aは、続くステップS121の判断処理として、スロット番号K+1でフレームを正常受信したか否かを判断する(具体的には、VALIDフレームのフラグがセットされているか否かを判断する)。ここで、スロット番号K+1でフレームを正常受信した場合(ステップS121の判断処理で「Yes」)、このスロット番号でフレームを送信するECUはエアバッグECU101aであるため、故障診断装置110aは、続くステップS122の処理として、エアバッグECU101aに故障ありと診断するとともに、記憶保持部112にその旨を記憶保持する。一方、スロット番号K+1でフレームを正常受信しなかった場合(ステップS121の判断処理で「No」)、故障診断装置110aは、続くステップS123の処理に移行する。
When the static segment ends and the dynamic segment starts (“Yes” in the determination process in step S120), the
故障診断装置110aは、続くステップS123の判断処理として、スロット番号K+2でフレームを正常受信したか否かを判断する。ここで、スロット番号K+2でフレームを正常受信した場合(ステップS123の判断処理で「Yes」)、このスロット番号でフレームを送信するECUはエアコンECU101bであるため、故障診断装置110aは、続くステップS124の処理として、エアコンECU101bに故障ありと診断するとともに、記憶保持部112にその旨を記憶保持する。一方、スロット番号K+2でフレームを正常受信しなかった場合(ステップS123の判断処理で「No」)、故障診断装置110aは、続くステップS125の処理に移行する。
The
故障診断装置110aは、続くステップS125の判断処理として、スロット番号K+3でフレームを正常受信したか否かを判断する。ここで、スロット番号K+3でフレームを正常受信した場合(ステップS125の判断処理で「Yes」)、このスロット番号でフレームを送信するECUはブレーキECU101cであるため、故障診断装置110aは、続くステップS126の処理として、ブレーキECU101cに故障ありと診断するとともに、記憶保持部112にその旨を記憶保持する。一方、スロット番号K+3でフレームを正常受信しなかった場合(ステップS125の判断処理で「No」)、故障診断装置110aは、続くステップS127の処理に移行する。
The
故障診断装置110aは、続くステップS127の判断処理として、スロット番号K+4でフレームを正常受信したか否かを判断する。ここで、スロット番号K+4でフレームを正常受信した場合(ステップS127の判断処理で「Yes」)、このスロット番号でフレームを送信するECUはエンジンECU101dであるため、故障診断装置110aは、続くステップS128の処理として、エンジンECU101dに故障ありと診断するとともに、記憶保持部112にその旨を記憶保持する。一方、スロット番号K+4でフレームを正常受信しなかった場合(ステップS127の判断処理で「No」)、故障診断装置110aは、続くステップS129の処理に移行する。そして、故障診断装置110aは、ステップS129の判断処理を通じて、この通信サイクルを構成するダイナミックセグメントが終了されるまで待機する。
The
各種ECU101に異常が発生していない場合におけるフレームの送信例を図6(a)に示し、エンジンECU101dにのみ異常が発生した場合におけるフレームの送信例を図6(b)に示す。これら図6(a)及び(b)を参照しつつ、本実施の形態の動作について総括する。
FIG. 6A shows an example of frame transmission when no abnormality has occurred in the
各種ECU101に異常が発生していない場合にあっては、図6(a)に示されるように、エアバッグECU101a、エアコンECU101b、ブレーキECU101c及びエンジンECU101dから通信サイクルNのスタティックセグメントSnを構成するスロット番号1〜4で制御情報フレームがそれぞれ送信され、通信サイクルNのダイナミックセグメントDnを構成するスロット番号K+1〜K+4で故障情報フレームは送信されない。
When no abnormality has occurred in the
同様に、エアバッグECU101a、エアコンECU101b、ブレーキECU101c及びエンジンECU101dから通信サイクルN+1のスタティックセグメントSnを構成するスロット番号1〜4で制御情報フレームがそれぞれ送信され、通信サイクルNのダイナミックセグメントDnを構成するスロット番号K+1〜K+4で故障情報フレームは送信されない。
Similarly, control information frames are respectively transmitted from the
しかしながら、例えば通信サイクルNにおいて、エンジンECU101dに同期異常が発生したとする。このような場合にあっては、図6(b)に示されるように、エアバッグECU101a、エアコンECU101b、ブレーキECU101c及びエンジンECU101dから通信サイクルNのスタティックセグメントSnを構成するスロット番号1〜4で制御情報フレームがそれぞれ送信され、通信サイクルNのダイナミックセグメントDnを構成するスロット番号K+4で故障情報フレームが送信されることになる。このスロット番号で制御情報フレームを送信するECU101はエンジンECU101dであるため、故障診断装置110aは、故障が生じたECUがエンジンECU101dであることを特定することができる。
However, for example, in the communication cycle N, it is assumed that a synchronization abnormality has occurred in the
ちなみに、エンジンECU101dは通信サイクルNが終了すると通信を停止するため、エアバッグECU101a、エアコンECU101b及びブレーキECU101cから通信サイクルN+1のスタティックセグメントSn+1を構成するスロット番号1〜3で制御情報フレームがそれぞれ送信されるものの、通信サイクルN+1のスタティックセグメントSn+1を構成するスロット番号4でエンジンECU101dから制御情報フレームは送信されなくなる。
Incidentally, since the
以上説明したように、上記第1の実施の形態では、各種ECU101は、他ECU101との間で同期異常が発生したか否かを検出する故障検出部102と、上記スタティックセグメントを構成する複数のスロットのうちECU101毎に予め定められた異なる番号のスロットで制御情報フレームを送信するとともに、故障検出部102によって同期異常が検出された場合、ダイナミックセグメントを構成するスロットのうちECU101毎に予め定められた異なる番号のスロットで故障情報フレームを送信するデータ送信部103aとを備えることとした。また、故障診断装置110aは、ダイナミックセグメントを監視して、故障情報フレームを受信した直後に通信が停止された場合、ECU単体が原因で通信が停止されたと診断するとともに、その故障情報フレームが送信されたスロット番号に基づいて、通信を停止させる原因となったECUを特定する一方、故障情報フレームを受信することなく通信が停止された場合、ECU単体以外の原因で通信が停止されたと診断する故障診断部111aを備えることとした。これにより、故障診断装置110aは、故障情報フレームを受信した直後に通信が停止された場合、故障情報フレームが送信されたスロット番号に基づいて、通信を停止させる原因となったECUを特定することができるようになるとともに、故障情報フレームを受信することなく通信が停止された場合、ECU単体以外の原因で通信が停止されたと診断することができるようになる。すなわち、タイムスロット方式の車載ネットワークにおける異常の原因を区別することができるようになるとともに、異常が生じたECU101を特定することができるようになる。異常の原因の区別がつくと、ECU101単体異常であれば最初からECU101を交換し、ECU101単体以外の異常であれば最初から通信線100やコネクタ等に問題がないか調査することができるため、修理・調査を非常に効率よく行うことができ、ユーザに対するサービス性を向上することができるようになる。
As described above, in the first embodiment, each of the
(第2の実施の形態)
以下、本発明に係る異常診断システムの第2の実施の形態について、図7〜図11を参照して説明する。本実施の形態も先の第1の実施の形態に準じた構成を有するため、以下、第1の実施の形態と重複する説明を割愛する。
(Second Embodiment)
Hereinafter, a second embodiment of the abnormality diagnosis system according to the present invention will be described with reference to FIGS. Since this embodiment also has a configuration according to the first embodiment, the description overlapping with the first embodiment will be omitted below.
図7は、先の図2に対応する図であって、本実施の形態を構成する電子制御装置の内部構成を示すブロック図である。この図7に示されるように、ECU101は、故障検出部102及びデータ送信部103bを内部に備える。このうち、データ送信部103bは、上記スタティックセグメントを構成する複数のスロットのうち、各種ECU101毎に予め定められた異なる番号のスロットで上記制御情報フレームを送信する。また、データ送信部103bは、故障検出部102によって同期異常の発生が判断された場合、上記スタティックセグメントに続くダイナミックセグメントを構成する複数のスロットのうち、各種ECU101に共通して予め定められた同一番号のスロットで上記故障情報フレームを送信する。
FIG. 7 is a diagram corresponding to FIG. 2 described above, and is a block diagram showing an internal configuration of the electronic control unit constituting the present embodiment. As shown in FIG. 7, the
図8は、先の図3に対応する図であって、本実施の形態を構成する故障診断装置の内部構成を示すブロック図である。この図8に示されるように、故障診断装置110bは、故障診断部(診断部)111b及び記憶保持部112を内部に備える。このうち、故障診断部111bは、ダイナミックセグメントを監視して、上記故障情報フレームを受信した直後に通信が停止されたか否かを判断する。ここで、上記故障情報フレームを受信した直後に通信が停止された場合、その故障情報フレームを送信したECU101と他のECU101との間で同期異常が発生したことを意味するため、ECU101単体が原因で通信が停止されたと診断する。また、この場合、故障診断部111bは、次のスタティックセグメントを監視しつつ上記制御情報フレームが送信されなかったスロット番号に基づいて、通信を停止する原因となったECU101を特定するとともに、記憶保持部112にその旨を記憶保持する。一方、故障診断部111bは、上記故障情報フレームを受信することなく通信が停止された(所定期間内に一度もデータを受信しなかった)場合、例えば通信線100の断線、ECU101と通信線100との接続異常等、ECU101単体以外の原因で通信が停止されたと診断する。
FIG. 8 is a diagram corresponding to FIG. 3 and is a block diagram showing an internal configuration of the failure diagnosis apparatus constituting the present embodiment. As shown in FIG. 8, the failure diagnosis apparatus 110b includes a failure diagnosis unit (diagnosis unit) 111b and a
以上のように構成されたECU101及び故障診断装置110bがそれぞれ実行する処理について、図9及び図10を参照して説明する。
Processing executed by the
図9は、ECU101によって通信サイクル毎に実行される故障検出処理の処理手順を示すフローチャートである。この図9を参照して、ECU101が実行する故障検出処理について説明する。なお、本実施の形態では、先の第1の実施の形態と同様に、エアバッグ101a、エアコンECU101b、ブレーキECU101c及びエンジンECU101dをECU101として採用しているが、これらECU101aECU101dは、同一の故障検出処理を実行する。
FIG. 9 is a flowchart showing a processing procedure of failure detection processing executed by the
図9に示されるように、通信サイクルが開始されると、まず、ECU101は、ステップS210の判断処理を通じて、この通信サイクルを構成するスタティックセグメントが終了してダイナミックセグメントが開始されるまで待機する。
As shown in FIG. 9, when the communication cycle is started, first, the
スタティックセグメントが終了し、ダイナミックセグメントが開始されると(ステップS210の判断処理で「Yes」)、ECU101は、続くステップS211の処理として、故障状態の自己検出を行う。詳しくは、ECU101は、先のスタティックセグメントで計測した当該ECU101と他のECU101との同期ずれに基づき上記補正値を算出する。上記補正値を算出すると、ECU101は、続くステップS112の判断処理として、上記補正値が予め定められた許容値を超えているか否かを判断することで、当該ECU101に故障があるか否かを判断する。
When the static segment is ended and the dynamic segment is started (“Yes” in the determination process in step S210), the
ここで、上記補正値が上記許容値を超えていると判断した場合(ステップS212の判断処理で「Yes」)、ECU101は、当該ECU101に故障があると判断し、続くステップS213の処理として、ダイナミックセグメントを構成する例えば「L」番目のスロットで、故障診断装置110bに故障情報フレームを送信する。一方、先のステップS212の判断処理で、上記補正値が上記許容値以下であると判断した場合(ステップS212の判断処理で「No」)、ECU101は、当該ECU101に故障はないと判断し、この故障検出処理を一旦終了する。
Here, when it is determined that the correction value exceeds the allowable value (“Yes” in the determination process in step S212), the
図10は、故障診断装置110bによって実行される故障診断処理について、その処理手順を示すフローチャートである。この図10を参照しつつ、故障診断装置110bが実行する故障診断処理について説明する。 FIG. 10 is a flowchart showing a processing procedure for failure diagnosis processing executed by the failure diagnosis apparatus 110b. The failure diagnosis process executed by the failure diagnosis apparatus 110b will be described with reference to FIG.
図10に示されるように、通信サイクルが開始されると、故障診断装置110b(詳しくは、故障診断部111b)は、まず、ステップS220の判断処理を通じて、この通信サイクルを構成するスタティックセグメントが終了してダイナミックセグメントが開始されるまで待機する。
As shown in FIG. 10, when the communication cycle is started, the failure diagnosis apparatus 110b (specifically, the
スタティックセグメントが終了し、ダイナミックセグメントが開始されると(ステップS220の判断処理で「Yes」)、故障診断装置110bは、続くステップS221の判断処理として、スロット番号Lにフレームがあるか否かを判断する。ここで、例えば同一の通信サイクル内で複数のECU101に同期異常が発生した場合にあっては、それらECU101がスロット番号Lで故障情報フレームを送信するため、フレーム同士の衝突が発生し、故障診断装置110bがフレームを正常に受信することはできなくなってしまう(シンタックスエラーとなる)が、本実施の形態は、第1の実施の形態と異なり、フレームの正常受信を可否を問わない。具体的には、故障診断装置110bは、VALIDフレームのフラグ及びシンタックスエラーを示すフラグの少なくとも一方がセットされている場合に、スロット番号Lにフレームありと判断する一方、VALIDフレームのフラグ及びシンタックスエラーを示すフラグの双方ともがリセットされている場合に、スロット番号Lにフレームなしと判断する。
When the static segment ends and the dynamic segment starts (“Yes” in the determination process in step S220), the failure diagnosis apparatus 110b determines whether or not there is a frame in the slot number L as a determination process in subsequent step S221. to decide. Here, for example, when a synchronization abnormality occurs in a plurality of
ここで、スロット番号Lにフレームが無いと判断された場合(ステップS221の判断処理で「No」)、複数のECU101に同期異常は発生しなかったため、故障診断装置110bは故障診断処理をそのまま一旦終了する。一方、スロット番号Lにフレームがあると判断した場合(ステップS221の判断処理で「Yes」)、故障診断装置110bは、続くステップS222の判断処理を通じて、次の通信サイクルのスタティックセグメントが開始されるまで待機する。
Here, when it is determined that there is no frame in the slot number L (“No” in the determination process in step S221), no synchronization abnormality has occurred in the plurality of
故障診断装置110bは、続くステップS223の判断処理として、スロット番号1で制御情報フレームを正常受信したか否かを判断する。ここで、スロット番号1で制御情報フレームを正常受信できなかった場合(ステップS223の判断処理で「No」)、このスロット番号で制御情報フレームを送信するECU101はエアバッグECU101aであるため、故障診断装置110bは、続くステップS224の処理として、エアバッグECU101aに故障ありと診断するとともに、記憶保持部112にその旨を記憶保持する。一方、スロット番号1で制御情報フレームを正常受信した場合(ステップS223の判断処理で「Yes」)、故障診断装置110bは、続くステップS225の処理に移行する。
The failure diagnosis apparatus 110b determines whether or not the control information frame is normally received with the
故障診断装置110bは、続くステップS225の判断処理として、スロット番号2で制御情報フレームを正常受信したか否かを判断する。ここで、スロット番号2で制御情報フレームを正常受信できなかった場合(ステップS225の判断処理で「No」)、このスロット番号で制御情報フレームを送信するECU101はエアコンECU101bであるため、故障診断装置110bは、続くステップS226の処理として、エアコンECU101bに故障ありと診断するとともに、記憶保持部112にその旨を記憶保持する。一方、スロット番号2で制御情報フレームを正常受信した場合(ステップS225の判断処理で「Yes」)、故障診断装置110bは、続くステップS225の処理に移行する。
The failure diagnosis apparatus 110b determines whether or not the control information frame has been normally received in the
故障診断装置110bは、続くステップS227の判断処理として、スロット番号3で制御情報フレームを正常受信したか否かを判断する。ここで、スロット番号3で制御情報フレームを正常受信できなかった場合(ステップS227の判断処理で「No」)、このスロット番号で制御情報フレームを送信するECU101はブレーキECU101cであるため、故障診断装置110bは、続くステップS228の処理として、ブレーキECU101cに故障ありと診断するとともに、記憶保持部112にその旨を記憶保持する。一方、スロット番号3で制御情報フレームを正常受信した場合(ステップS227の判断処理で「Yes」)、故障診断装置110bは、続くステップS229の処理に移行する。
The failure diagnosis apparatus 110b determines whether or not the control information frame is normally received at the
故障診断装置110bは、続くステップS229の判断処理として、スロット番号4で制御情報フレームを正常受信したか否かを判断する。ここで、スロット番号4で制御情報フレームを正常受信できなかった場合(ステップS229の判断処理で「No」)、このスロット番号で制御情報フレームを送信するECU101はエンジンECU101dであるため、故障診断装置110bは、続くステップS230の処理として、エンジンECU101dに故障ありと診断するとともに、記憶保持部112にその旨を記憶保持する。一方、スロット番号4で制御情報フレームを正常受信した場合(ステップS229の判断処理で「Yes」)、故障診断装置110bは、続くステップS231の処理に移行する。そして、故障診断装置110bは、ステップS231の判断処理を通じて、この通信サイクルを構成するスタティックセグメントが終了されるまで待機する。
The failure diagnosis apparatus 110b determines whether or not the control information frame is normally received at the
ある通信サイクルN内においてエンジンECU101dにのみ同期異常が発生した場合におけるフレームの送信例を図11(a)に示し、ある通信サイクルN内においてエアコンECU101b及びエンジンECU101dに同期異常が発生した場合におけるフレームの送信例を図11(b)に示す。これら図11(a)及び(b)を参照しつつ、本実施の形態の動作について総括する。
FIG. 11A shows an example of frame transmission when a synchronization abnormality occurs only in the
例えば通信サイクルNにおいて、エンジンECU101dに同期異常が発生したとする。このような場合にあっては、図11(a)に示されるように、エアバッグECU101a、エアコンECU101b、ブレーキECU101c及びエンジンECU101dから通信サイクルNのスタティックセグメントSnを構成するスロット番号1〜4で制御情報フレームがそれぞれ送信され、エンジンECU101dから通信サイクルNのダイナミックセグメントDnを構成するスロット番号Lで故障情報フレームが送信されることになる。これにより、故障診断装置110bは、ECU101のいずれかに故障が生じたことを判断することができる。
For example, it is assumed that a synchronization abnormality occurs in the
そして、エンジンECU101dは通信サイクルNが終了すると通信を停止するため、エアバッグECU101a、エアコンECU101b及びブレーキECU101cから通信サイクルN+1のスタティックセグメントSn+1を構成するスロット番号1〜3で制御情報フレームがそれぞれ送信されるものの、エンジンECU101dから通信サイクルN+1のスタティックセグメントSn+1を構成するスロット番号4で制御情報フレームは送信されなくなる。これにより、故障診断装置110bは、異常が生じたECUはエンジンECU101dであることを特定することができる。
Since the
ちなみに、この動作例の場合には、先の図10に示したように、故障診断装置110bは「ステップS220→S221→S222→S223→S225→S227→S229→S230→S231」をたどることになる。 Incidentally, in the case of this operation example, as shown in FIG. 10, the failure diagnosis apparatus 110b follows “Step S220 → S221 → S222 → S223 → S225 → S227 → S229 → S230 → S231”. .
また、例えば通信サイクルNにおいて、エアコンECU101b及びエンジンECU101dに同期異常が発生したとする。このような場合にあっては、図11(b)に示されるように、エアバッグECU101a、エアコンECU101b、ブレーキECU101c及びエンジンECU101dから通信サイクルNのスタティックセグメントSnを構成するスロット番号1〜4で制御情報フレームがそれぞれ送信され、エアコンECU101b及びエンジンECU101dから通信サイクルNのダイナミックセグメントDnを構成するスロット番号Lで故障情報フレームが送信されることになる。これら送信された故障情報フレームは衝突し、シンタックスエラーを示すフラグがセットされるため、故障診断装置110bは、複数のECU101に故障が生じたことを判断することができる。
Further, for example, in the communication cycle N, it is assumed that a synchronization abnormality has occurred in the
そして、エアコンECU101b及びエンジンECU101dは通信サイクルNが終了すると通信を停止するため、エアコンECU101b及びエンジンECU101dから通信サイクルN+1のスタティックセグメントSnを構成するスロット番号2及び4で制御情報フレームがそれぞれ送信されないものの、エアバッグECU101a及びブレーキECU101cから通信サイクルN+1のスタティックセグメントSnを構成するスロット番号1及び3で制御情報フレームがそれぞれ送信されることになる。これにより、故障診断装置110bは、異常が生じたECU101は、エアコンECU101b及びエンジンECU101dであることを特定することができるようになる。
Since the
ちなみに、この動作例の場合には、先の図10に示したように、故障診断装置110bは「ステップS220→S221→S222→S223→S225→S226→S227→S229→S230→S231」をたどることになる。 Incidentally, in the case of this operation example, as shown in FIG. 10, the failure diagnosis apparatus 110b follows “Step S220 → S221 → S222 → S223 → S225 → S226 → S227 → S229 → S230 → S231”. become.
以上説明したように、上記第2の実施の形態では、各種ECU101は、他ECU101との間で同期異常が発生したか否かを検出する故障検出部102と、上記スタティックセグメントを構成する複数のスロットのうちECU101毎に予め定められた異なる番号のスロットで制御情報フレームを送信するとともに、故障検出部102によって同期異常が検出された場合、ダイナミックセグメントを構成するスロットのうち各種ECU101に共通して予め定められた同一番号のスロットで故障情報フレームを送信するデータ送信部103bとを備えることとした。また、故障診断装置110bは、ダイナミックセグメントを監視して、故障情報フレームを受信した直後に通信が停止された場合、ECU単体が原因で通信が停止されたと診断するとともに、次のスタティックセグメントを監視しつつ制御情報フレームが送信されなかったスロット番号に基づいて、通信を停止する原因となったECUを特定する一方、故障情報フレームを受信することなく通信が停止された場合、ECU単体以外の原因で通信が停止されたと診断する故障診断部111bを備えることとした。
As described above, in the second embodiment, each of the
これにより、故障診断装置110bは、故障情報フレームを受信した直後に通信が停止された場合、次のスタティックセグメントを監視しつつ制御情報フレームが送信されなかったスロット番号に基づいて、通信を停止する原因となったECUを特定することができるようになるとともに、故障情報フレームを受信することなく通信が停止された場合、ECU単体以外の原因で通信が停止されたと診断することができるようになる。すなわち、タイムスロット方式の車載ネットワークにおける異常の原因を区別することができるようになるとともに、異常が生じたECU101を特定することができるようになる。異常の原因の区別がつくと、ECU101単体異常であれば最初からECU101を交換し、ECU101単体以外の異常であれば最初から通信線100やコネクタ等に問題がないか調査することができるため、修理・調査を非常に効率よく行うことができ、ユーザに対するサービス性を向上することができるようになる。
Thus, when communication is stopped immediately after receiving the failure information frame, failure diagnosis apparatus 110b stops communication based on the slot number for which the control information frame was not transmitted while monitoring the next static segment. The cause ECU can be specified, and when communication is stopped without receiving a failure information frame, it can be diagnosed that communication has been stopped for reasons other than the ECU alone. . That is, the cause of the abnormality in the time slot type in-vehicle network can be distinguished, and the
また、故障診断装置110bは、先の故障診断装置110aとは異なり、通信スケジュールに割り当てられるECUの数と同一数のスロットをダイナミックセグメントに確保する必要がなくなり、故障情報フレームを送信するべく確保するスロット数を必要最小限に抑制することができるようになる。そしてひいては、通信効率の低下を抑制することができるようにもなる。もっとも、故障診断装置110bでは、通信を停止する原因となったECUを特定できるタイミングは、故障情報フレームを受信したタイミングよりも最大で1通信サイクル遅れることにはなる。しかしながら、1通信サイクルは例えば数ミリ秒程度の極短い時間であるため、異常診断に影響しない。
Further, unlike the previous
なお、本発明に係る異常診断システムは、上記第1及び第2の実施の形態にて例示した構成に限定されるものではなく、本発明の趣旨を逸脱しない範囲において、種々に変形して実施することが可能である。すなわち、上記実施の形態を適宜変更した例えば次の形態として実施することもできる。 The abnormality diagnosis system according to the present invention is not limited to the configuration exemplified in the first and second embodiments, and can be implemented with various modifications without departing from the spirit of the present invention. Is possible. In other words, for example, the following embodiment can be implemented by appropriately changing the above embodiment.
上記第2の実施の形態では、データ送信部103bは、故障検出部102によって同期異常が検出された場合、ダイナミックセグメントを構成するスロットのうち各種ECU101に共通して予め定められた同一番号のスロットで故障情報フレームを送信していたが、これに限らない。通信が停止される原因がECU単体に複数存在する場合には、その原因毎に、各種ECU101に共通して予め定められる同一番号のスロットをダイナミックセグメントに確保してもよい。例えば、他ECUとの同期異常が原因で通信が停止される場合と、自ECU自ら積極的に通信を停止する場合とを区別したいことも考えられる。このとき、データ送信部が原因別に異なるスロットで故障情報フレームを送信することで、より詳細な故障診断をすることができるようになる。そのため、当然のことながら、こうした構成によっても、上記第2の実施の形態と同様に、タイムスロット方式の車載ネットワークにおける異常の原因を区別することができるようになるとともに、異常が生じたECU101を特定することができるようになる。
In the second embodiment, the
上記第1及び第2の実施の形態では、「同期異常の発生に起因して通信を停止する」旨を示す異常データが故障情報フレームに含まれていたが、これに限らない。他に例えば、各種ECU101に異なる識別番号を付与しておき、データ送信部は、同期異常が検出された場合、ダイナミックセグメントを構成する複数のスロットのうち複数ECUに共通して予め定められた同一番号のスロットで、上記異常データ及び識別番号を含む故障情報フレームを送信する。そして、診断装置は、ダイナミックセグメントを監視して、上記故障情報フレームを受信した直後に通信が停止された場合、ECU単体が原因で通信が停止されたと診断するとともに、そのフレームに含まれる識別番号に基づいて、通信が停止されたECUを特定する一方、上記故障情報フレームを受信することなく通信が停止された場合、ECU単体以外の原因で通信が停止されたと診断するようにしてもよい。これにより、通信が停止されたECUが1つである場合には、異常データ及び識別番号を含む故障情報フレームは衝突することなく診断装置に受信されるため、次のスタティックセグメントを監視するまでもなく、このフレームを受信した時点で、通信が停止されたECUを特定することができるようになる。
In the first and second embodiments, abnormal data indicating that “communication is stopped due to the occurrence of a synchronous abnormality” is included in the failure information frame. However, the present invention is not limited to this. In addition, for example, different identification numbers are assigned to the
さらに、例えば同期計算したときの計算結果等、故障情報フレームに故障原因の補足情報を付加してもよい。これにより、故障診断装置は、通信停止に至った同期異常の程度を判断することができるようになり、その同期ずれの数値がハードウエアの故障では有り得ない数値である場合には、例えばコントローラの内部処理に異常(例えば、発振子なのかマイコンなのか)があるかもしれないと推測することができるようにもなる。ちなみに、図12に、故障情報フレームの構成例を模式的に示す。ヘッダ領域121には、例えばスロット番号に関する情報が格納される。また、データ領域122には、「同期異常の発生に起因して通信を停止する」旨、ECUの識別番号あるいは故障原因情報が格納される。そして、トレイラ領域123には、フレーム全体でエラーがあるかどうかをチェックするための情報が格納される。 Further, for example, supplementary information on the cause of the failure may be added to the failure information frame, such as a calculation result when performing synchronous calculation. As a result, the failure diagnosis apparatus can determine the degree of synchronization abnormality that has led to communication stoppage. If the value of the synchronization error is a value that cannot be a hardware failure, for example, the controller It also becomes possible to infer that there may be an abnormality in internal processing (for example, whether it is an oscillator or a microcomputer). Incidentally, FIG. 12 schematically shows a configuration example of the failure information frame. In the header area 121, for example, information related to the slot number is stored. Further, the data area 122 stores an ECU identification number or failure cause information indicating that “communication is stopped due to the occurrence of synchronization abnormality”. The trailer area 123 stores information for checking whether there is an error in the entire frame.
なお、上記第1の実施の形態及び第2の実施の形態では、ECU並びに故障診断装置110a及び110bを別体として備えていたが、これに限らない。故障診断装置110a及び110bの故障診断機能を任意のECUに搭載してもよい。
In the first embodiment and the second embodiment, the ECU and the
1…異常診断システム、100…通信線、101…ECU(電子制御装置)、101a…エアバッグECU(電子制御装置)、101b…エアコンECU(電子制御装置)、101c…ブレーキECU(電子制御装置)、101d…エンジンECU(電子制御装置)、102…故障検出部(同期異常検出部)、103a、103b…データ送信部、110a、110b…故障診断装置(診断装置)、111a、111b…故障診断部(診断部)、112…記憶保持部、121…ヘッダ領域、122…データ領域、123…トレイラ領域。
DESCRIPTION OF
Claims (4)
前記通信スケジュールは、車両機能制御に必要とされるデータを含むフレームの送信に利用され、複数のスロットからなるスタティックセグメントと、車両機能制御に直接必要とされないデータを含むフレームの送信に利用され、複数のスロットからなるダイナミックセグメントとから構成される通信サイクルが繰り返されるものであり、
前記複数の電子制御装置は、他の電子制御装置との間で同期異常が発生したか否かを検出する同期異常検出部と、前記同期異常が検出された場合、前記ダイナミックセグメントを構成する複数のスロットのうち、これら複数の電子制御装置毎に予め定められた異なる番号のスロットで、同期異常の発生に起因して通信を停止する旨を示す異常データを送信するデータ送信部とをそれぞれ備え、
前記診断装置は、前記ダイナミックセグメントを監視して、前記異常データを含むフレームを受信した直後に通信が停止された場合、前記電子制御装置単体が原因で通信が停止されたと診断するとともに、そのフレームが送信されたスロット番号に基づいて、通信が停止された電子制御装置を特定する一方、前記異常データを含むフレームを受信することなく通信が停止された場合、前記電子制御装置単体以外の原因で通信が停止されたと診断する診断部を備えることを特徴とする異常診断システム。 An abnormality diagnosis system in which a diagnosis device is connected to a time slot type in-vehicle network in which a plurality of connected electronic control devices sequentially transmit data every predetermined time according to a predetermined communication schedule, and diagnoses an abnormality in the in-vehicle network. There,
The communication schedule is used for transmission of a frame including data required for vehicle function control, and is used for transmission of a frame including a static segment composed of a plurality of slots and data not directly required for vehicle function control. A communication cycle composed of a dynamic segment composed of a plurality of slots is repeated,
The plurality of electronic control devices include a synchronization abnormality detection unit that detects whether or not a synchronization abnormality has occurred with another electronic control device, and a plurality of components that constitute the dynamic segment when the synchronization abnormality is detected. Data transmission units for transmitting abnormal data indicating that communication is stopped due to occurrence of synchronization abnormality in slots of different numbers predetermined for each of the plurality of electronic control devices. ,
The diagnostic device monitors the dynamic segment, and when communication is stopped immediately after receiving a frame including the abnormal data, diagnoses that communication is stopped due to the electronic control unit alone, and the frame When the communication is stopped without receiving the frame including the abnormal data, while the communication control is stopped based on the slot number to which the communication is stopped, An abnormality diagnosis system comprising a diagnosis unit that diagnoses that communication has been stopped.
前記通信スケジュールは、車両機能制御に必要とされるデータを含むフレームの送信に利用され、複数のスロットからなるスタティックセグメントと、車両機能制御に直接必要とされないデータを含むフレームの送信に利用され、複数のスロットからなるダイナミックセグメントとから構成される通信サイクルが繰り返されるものであり、
前記複数の電子制御装置はそれぞれ、他の電子制御装置との間で同期異常が発生したか否かを検出する同期異常検出部と、前記スタティックセグメントを構成する複数のスロットのうち、これら複数の電子制御装置毎に予め定められた異なる番号のスロットで前記車両機能制御に必要とされるフレームを送信するとともに、前記同期異常が検出された場合、前記ダイナミックセグメントを構成する複数のスロットのうち、これら複数の電子制御装置に共通して予め定められた同一番号のスロットで、同期異常の発生に起因して通信を停止する旨を示す異常データを含むフレームを送信するデータ送信部とを備え、
前記診断装置は、前記ダイナミックセグメントを監視して、前記異常データを含むフレームを受信した直後に通信が停止された場合、前記電子制御装置単体が原因で通信が停止されたと診断するとともに、次のスタティックセグメントを監視しつつフレームが送信されなかったスロット番号に基づいて、通信が停止された電子制御装置を特定する一方、前記異常データを含むフレームを受信することなく通信が停止された場合、前記電子制御装置単体以外の原因で通信が停止されたと診断する診断部を備えることを特徴とする異常診断システム。 An abnormality diagnosis system in which a diagnosis device is connected to a time slot type in-vehicle network in which a plurality of connected electronic control devices sequentially transmit data every predetermined time according to a predetermined communication schedule, and diagnoses an abnormality in the in-vehicle network. There,
The communication schedule is used for transmission of a frame including data required for vehicle function control, and is used for transmission of a frame including a static segment composed of a plurality of slots and data not directly required for vehicle function control. A communication cycle composed of a dynamic segment composed of a plurality of slots is repeated,
Each of the plurality of electronic control devices includes a synchronization abnormality detection unit that detects whether or not a synchronization abnormality has occurred with another electronic control device, and a plurality of slots among the plurality of slots constituting the static segment. While transmitting a frame required for the vehicle function control in a slot of a different number predetermined for each electronic control unit, and when the synchronization abnormality is detected, among a plurality of slots constituting the dynamic segment, A data transmission unit that transmits a frame including abnormal data indicating that communication is to be stopped due to the occurrence of synchronization abnormality in a slot having the same predetermined number in common with the plurality of electronic control units,
The diagnostic device monitors the dynamic segment, and when communication is stopped immediately after receiving the frame including the abnormal data, diagnoses that communication is stopped due to the electronic control unit alone, and Based on the slot number in which the frame was not transmitted while monitoring the static segment, while identifying the electronic control unit that has stopped communication, if communication is stopped without receiving the frame containing the abnormal data, An abnormality diagnosis system comprising: a diagnosis unit that diagnoses that communication is stopped due to a cause other than the electronic control unit alone.
前記通信スケジュールは、車両機能制御に必要とされるデータを含むフレームの送信に利用され、複数のスロットからなるスタティックセグメントと、車両機能制御に直接必要とされないデータを含むフレームの送信に利用され、複数のスロットからなるダイナミックセグメントとから構成される通信サイクルが繰り返されるものであり、
前記複数の電子制御装置はそれぞれ、異なる識別番号が付与されており、他の電子制御装置との間で同期異常が発生したか否かを検出する同期異常検出部と、前記同期異常が検出された場合、前記ダイナミックセグメントを構成する複数のスロットのうち、これら複数の電子制御装置に共通して予め定められた同一番号のスロットで、同期異常の発生に起因して通信を停止する旨を示す異常データ及び前記識別番号を含むフレームを送信するデータ送信部とを備え、
前記診断装置は、前記ダイナミックセグメントを監視して、前記異常データを含むフレームを受信した直後に通信が停止された場合、前記電子制御装置単体が原因で通信が停止されたと診断するとともに、そのフレームに含まれる前記識別番号に基づいて、通信が停止された電子制御装置を特定する一方、前記異常データを含むフレームを受信することなく通信が停止された場合、前記電子制御装置単体以外の原因で通信が停止されたと診断する診断部を備えることを特徴とする異常診断システム。 An abnormality diagnosis system in which a diagnosis device is connected to a time slot type in-vehicle network in which a plurality of connected electronic control devices sequentially transmit data every predetermined time according to a predetermined communication schedule, and diagnoses an abnormality in the in-vehicle network. There,
The communication schedule is used for transmission of a frame including data required for vehicle function control, and is used for transmission of a frame including a static segment composed of a plurality of slots and data not directly required for vehicle function control. A communication cycle composed of a dynamic segment composed of a plurality of slots is repeated,
Each of the plurality of electronic control devices is assigned a different identification number, and a synchronization abnormality detection unit that detects whether or not a synchronization abnormality has occurred with another electronic control device, and the synchronization abnormality is detected. Indicates that communication is stopped due to the occurrence of synchronization abnormality in a slot having the same number that is predetermined in common among the plurality of electronic control devices among the plurality of slots constituting the dynamic segment. A data transmission unit for transmitting a frame including abnormal data and the identification number;
The diagnostic device monitors the dynamic segment, and when communication is stopped immediately after receiving a frame including the abnormal data, diagnoses that communication is stopped due to the electronic control unit alone, and the frame If the communication is stopped without receiving the frame containing the abnormal data, while identifying the electronic control device whose communication is stopped based on the identification number included in the An abnormality diagnosis system comprising a diagnosis unit that diagnoses that communication has been stopped.
前記データ送信部は、前記同期ずれの計算結果も送信することを特徴とする請求項1〜3のいずれか一項に記載の異常診断システム。 In addition to detecting whether or not a synchronization abnormality has occurred between other electronic control devices, the synchronization abnormality detection unit calculates the synchronization deviation,
The abnormality diagnosis system according to claim 1, wherein the data transmission unit also transmits a calculation result of the synchronization error.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008138539A JP2009290349A (en) | 2008-05-27 | 2008-05-27 | Failure diagnosis system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008138539A JP2009290349A (en) | 2008-05-27 | 2008-05-27 | Failure diagnosis system |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2009290349A true JP2009290349A (en) | 2009-12-10 |
Family
ID=41459166
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2008138539A Pending JP2009290349A (en) | 2008-05-27 | 2008-05-27 | Failure diagnosis system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2009290349A (en) |
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101941439A (en) * | 2010-09-25 | 2011-01-12 | 重庆长安汽车股份有限公司 | Control system failure diagnosis method for avoiding concurrent failures of hybrid electric vehicles |
RU2461861C1 (en) * | 2011-10-04 | 2012-09-20 | Федеральное государственное бюджетное образовательное учреждение высшего профессионального образования "Тихоокеанский государственный университет" | Method of searching for faulty module in continuous dynamic system |
RU2464616C1 (en) * | 2011-11-01 | 2012-10-20 | Федеральное государственное бюджетное образовательное учреждение высшего профессионального образования "Тихоокеанский государственный университет" | Method of searching for faults in dynamic unit in continuous system |
RU2473105C1 (en) * | 2011-12-14 | 2013-01-20 | Федеральное государственное бюджетное образовательное учреждение высшего профессионального образования "Тихоокеанский государственный университет" | Method of detecting faults in units in continuous dynamic system |
RU2541857C1 (en) * | 2013-11-06 | 2015-02-20 | Федеральное государственное бюджетное образовательное учреждение высшего профессионального образования "Тихоокеанский государственный университет" | Method of finding faults in continuous dynamic system based on input of sample deviations |
CN104597892A (en) * | 2014-12-16 | 2015-05-06 | 北京航天测控技术有限公司 | Hierarchical fault diagnosis method for electronic information equipment |
CN108733032A (en) * | 2018-06-05 | 2018-11-02 | 北京智行者科技有限公司 | The self checking method of vehicle |
RU2676365C1 (en) * | 2018-02-28 | 2018-12-28 | Федеральное государственное бюджетное образовательное учреждение высшего образования "Тихоокеанский государственный университет" | Method of searching faulty unit in continuous dynamic system based on introduction of trial deviations |
RU2710998C1 (en) * | 2019-05-22 | 2020-01-14 | Федеральное государственное бюджетное образовательное учреждение высшего образования "Тихоокеанский государственный университет" | Method of troubleshooting dynamic unit in continuous system based on introduction of trial deviations |
CN110726565A (en) * | 2019-10-21 | 2020-01-24 | 广州市番鸿汽车检测有限公司 | Automobile comprehensive detection system |
RU2719747C1 (en) * | 2019-05-22 | 2020-04-22 | Федеральное государственное бюджетное образовательное учреждение высшего образования "Тихоокеанский государственный университет" | Method of searching for faulty unit in continuous dynamic system based on sensitivity function |
CN111665821A (en) * | 2020-06-08 | 2020-09-15 | 重庆长安汽车股份有限公司 | Error frame checking method based on vehicle diagnosis service |
CN112526969A (en) * | 2020-11-27 | 2021-03-19 | 一拖(洛阳)柴油机有限公司 | Method for detecting performance of common rail engine ECU |
CN118034260A (en) * | 2024-04-10 | 2024-05-14 | 深圳硅山技术有限公司 | Parameter adjustment method, device and equipment of electronic control unit and storage medium |
-
2008
- 2008-05-27 JP JP2008138539A patent/JP2009290349A/en active Pending
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101941439A (en) * | 2010-09-25 | 2011-01-12 | 重庆长安汽车股份有限公司 | Control system failure diagnosis method for avoiding concurrent failures of hybrid electric vehicles |
RU2461861C1 (en) * | 2011-10-04 | 2012-09-20 | Федеральное государственное бюджетное образовательное учреждение высшего профессионального образования "Тихоокеанский государственный университет" | Method of searching for faulty module in continuous dynamic system |
RU2464616C1 (en) * | 2011-11-01 | 2012-10-20 | Федеральное государственное бюджетное образовательное учреждение высшего профессионального образования "Тихоокеанский государственный университет" | Method of searching for faults in dynamic unit in continuous system |
RU2473105C1 (en) * | 2011-12-14 | 2013-01-20 | Федеральное государственное бюджетное образовательное учреждение высшего профессионального образования "Тихоокеанский государственный университет" | Method of detecting faults in units in continuous dynamic system |
RU2541857C1 (en) * | 2013-11-06 | 2015-02-20 | Федеральное государственное бюджетное образовательное учреждение высшего профессионального образования "Тихоокеанский государственный университет" | Method of finding faults in continuous dynamic system based on input of sample deviations |
CN104597892A (en) * | 2014-12-16 | 2015-05-06 | 北京航天测控技术有限公司 | Hierarchical fault diagnosis method for electronic information equipment |
RU2676365C1 (en) * | 2018-02-28 | 2018-12-28 | Федеральное государственное бюджетное образовательное учреждение высшего образования "Тихоокеанский государственный университет" | Method of searching faulty unit in continuous dynamic system based on introduction of trial deviations |
CN108733032A (en) * | 2018-06-05 | 2018-11-02 | 北京智行者科技有限公司 | The self checking method of vehicle |
RU2710998C1 (en) * | 2019-05-22 | 2020-01-14 | Федеральное государственное бюджетное образовательное учреждение высшего образования "Тихоокеанский государственный университет" | Method of troubleshooting dynamic unit in continuous system based on introduction of trial deviations |
RU2719747C1 (en) * | 2019-05-22 | 2020-04-22 | Федеральное государственное бюджетное образовательное учреждение высшего образования "Тихоокеанский государственный университет" | Method of searching for faulty unit in continuous dynamic system based on sensitivity function |
CN110726565A (en) * | 2019-10-21 | 2020-01-24 | 广州市番鸿汽车检测有限公司 | Automobile comprehensive detection system |
CN111665821A (en) * | 2020-06-08 | 2020-09-15 | 重庆长安汽车股份有限公司 | Error frame checking method based on vehicle diagnosis service |
CN112526969A (en) * | 2020-11-27 | 2021-03-19 | 一拖(洛阳)柴油机有限公司 | Method for detecting performance of common rail engine ECU |
CN118034260A (en) * | 2024-04-10 | 2024-05-14 | 深圳硅山技术有限公司 | Parameter adjustment method, device and equipment of electronic control unit and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2009290349A (en) | Failure diagnosis system | |
KR102239986B1 (en) | Vehicle having an ethernet bus system and method for operating such a bus system | |
US9031740B2 (en) | Vehicle control device capable of controller area network communication and diagnostic method therefor | |
US9367377B2 (en) | Apparatus and method for monitoring multiple micro-cores | |
US20140149801A1 (en) | Method and apparatus for isolating a fault in a controller area network | |
JP5954228B2 (en) | Network monitoring apparatus and network monitoring method | |
JP2002158668A (en) | Abnormality detector of network system for vehicle | |
US20150082078A1 (en) | Method and apparatus for isolating a fault in a controller area network | |
US20150312123A1 (en) | Method and apparatus for isolating a fault in a controller area network | |
KR101673776B1 (en) | Method for diagnosing failing of head unit and camera unit | |
JP4509200B2 (en) | Network system | |
JP2006253921A (en) | Network system for vehicle | |
JP2007272709A (en) | Operation monitoring unit | |
CN114244746A (en) | Processing device, communication system, and non-transitory storage medium | |
JP2010093676A (en) | Gateway device, vehicle network, and one-side breaking detection method | |
US9499174B2 (en) | Method and apparatus for isolating a fault-active controller in a controller area network | |
JP4124427B2 (en) | Vehicle control apparatus and communication method thereof | |
JP5696685B2 (en) | In-vehicle communication system, communication abnormality monitoring method for in-vehicle communication system, and communication abnormality monitoring program for in-vehicle communication system | |
KR101362718B1 (en) | Method for diagnosing the failure in electronic control unit ocurring a series of software reset | |
WO2022209832A1 (en) | Abnormality sensing device and abnormality sensing method for non-contact power feed system | |
US20210163025A1 (en) | Vehicle-mounted communication system, data acquisition device, management device, and monitoring method | |
JP3896891B2 (en) | Vehicle communication system | |
JP2007195040A (en) | Node abnormality determination method | |
KR20170051677A (en) | Apparatus for detecting failure in a vehicle | |
KR20150049876A (en) | Apparatus and Method Diagnosing Controller for Vehicle |