JP6489316B2 - Abnormality diagnosis system and abnormality diagnosis device - Google Patents

Abnormality diagnosis system and abnormality diagnosis device Download PDF

Info

Publication number
JP6489316B2
JP6489316B2 JP2015216547A JP2015216547A JP6489316B2 JP 6489316 B2 JP6489316 B2 JP 6489316B2 JP 2015216547 A JP2015216547 A JP 2015216547A JP 2015216547 A JP2015216547 A JP 2015216547A JP 6489316 B2 JP6489316 B2 JP 6489316B2
Authority
JP
Japan
Prior art keywords
information
processing
abnormality
unit
control unit
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
Application number
JP2015216547A
Other languages
Japanese (ja)
Other versions
JP2017087793A (en
Inventor
辻 誠
誠 辻
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Denso Corp
Original Assignee
Denso Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Denso Corp filed Critical Denso Corp
Priority to JP2015216547A priority Critical patent/JP6489316B2/en
Publication of JP2017087793A publication Critical patent/JP2017087793A/en
Application granted granted Critical
Publication of JP6489316B2 publication Critical patent/JP6489316B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Description

本発明は、異常診断システム及び異常診断装置に関する。   The present invention relates to an abnormality diagnosis system and an abnormality diagnosis device.

例えば、特許文献1には、ダイアグテスターを用いて車両の故障を診断する技術が開示される。   For example, Patent Document 1 discloses a technique for diagnosing a vehicle failure using a diagnostic tester.

特許第4812396号公報Japanese Patent No. 4812396

しかし、特許文献1では、ワイヤーハーネスの断線等の物理的な故障を診断し、車両機器を制御するプログラムの異常を診断することができない。   However, in Patent Document 1, it is impossible to diagnose a physical failure such as disconnection of a wire harness and to diagnose an abnormality of a program that controls a vehicle device.

本発明の課題は、車両機器を制御する制御部における情報処理の異常を診断できる異常診断システム及び異常診断装置を提供することにある。   An object of the present invention is to provide an abnormality diagnosis system and an abnormality diagnosis apparatus that can diagnose an abnormality in information processing in a control unit that controls vehicle equipment.

本発明の異常診断システムは、
状態が変化する監視対象である車両機器の第1状態を検出して情報処理した検出情報を出力する監視部と、
検出情報を受信して情報処理した処理情報に基づいて車両機器とは異なる別の車両機器である制御対象を制御する制御部と、
制御部の情報処理の異常を判定する判定部と、
を備えることを特徴とする。
The abnormality diagnosis system of the present invention is
A monitoring unit that outputs detection information obtained by detecting and processing the first state of the vehicle device that is a monitoring target whose state changes;
A control unit that controls a control target, which is another vehicle device different from the vehicle device, based on the processing information received and processed by the detection information;
A determination unit for determining an abnormality in information processing of the control unit;
It is characterized by providing.

本発明の異常診断システムでは、判定部が制御部での情報処理の異常を判定するため、車両機器を制御する制御部における情報処理の異常を診断できる。   In the abnormality diagnosis system of the present invention, since the determination unit determines an abnormality in information processing in the control unit, an abnormality in information processing in the control unit that controls the vehicle device can be diagnosed.

本発明の実施態様では、
判定部は、制御部が検出情報を正常に情報処理した場合の正常処理情報を有し、
判定部は、正常処理情報と制御部から読み出した処理情報に基づいて制御部の情報処理の異常を判定する。
In an embodiment of the present invention,
The determination unit has normal processing information when the control unit normally processes the detection information,
The determination unit determines an abnormality in information processing of the control unit based on the normal processing information and the processing information read from the control unit.

これによれば、制御部が正常に情報処理した場合の正常処理情報を判定部が有する。この正常処理情報と制御部が実際に情報処理をした処理情報から制御部が実際にした情報処理に異常があるかを判定部は判定できる。   According to this, the determination unit has normal processing information when the control unit normally processes information. The determination unit can determine whether there is an abnormality in the information processing actually performed by the control unit from the normal processing information and the processing information actually processed by the control unit.

本発明の実施態様では、
処理情報は、第1状態を判定した判定情報を有し、
正常処理情報は、第1状態を判定した正常判定情報を有し、
判定部は、正常判定情報と制御部から読み出した判定情報に基づいて第1状態を判定した制御部の情報処理の異常を判定する。
In an embodiment of the present invention,
The processing information includes determination information for determining the first state,
The normal processing information includes normal determination information that determines the first state,
The determination unit determines an abnormality in information processing of the control unit that has determined the first state based on the normal determination information and the determination information read from the control unit.

これによれば、制御部が監視対象の第1状態を正常に判定した場合の情報処理の結果である正常判定情報を判定部が有する。この正常判定情報と制御部が監視対象の第1状態を実際に判定した結果である判定情報から制御部が実際にした情報処理に異常があるかを判定部は判定できる。   According to this, the determination unit has normal determination information that is a result of information processing when the control unit normally determines the first state to be monitored. The determination unit can determine whether there is an abnormality in the information processing actually performed by the control unit from the normal determination information and the determination information that is the result of the control unit actually determining the first state to be monitored.

本発明の実施態様では、
処理情報は、制御対象を制御する制御情報を有し、
正常処理情報は、制御対象を制御する正常制御情報を有し、
判定部は、正常制御情報と制御部から読み出した制御情報に基づいて制御対象を制御する制御部の情報処理の異常を判定する。
In an embodiment of the present invention,
The processing information has control information for controlling the control target,
The normal processing information has normal control information for controlling the control target,
The determination unit determines an abnormality in information processing of the control unit that controls the control target based on the normal control information and the control information read from the control unit.

これによれば、制御部が制御対象を正常に制御する場合の情報処理の結果である正常制御情報を判定部が有する。この正常制御情報と制御部が制御対象を実際に制御する制御情報から制御部が監視対象を実際に制御する情報処理に異常があるかを判定部は判定できる。   According to this, the determination unit has normal control information that is a result of information processing when the control unit normally controls the control target. From the normal control information and the control information that the control unit actually controls the control target, the determination unit can determine whether there is an abnormality in the information processing that the control unit actually controls the monitoring target.

本発明の実施態様では、
判定部は、第1状態を監視部が正常に検出及び情報処理した場合の正常検出情報を有し、
判定部は、正常検出情報と監視部から読み出した検出情報に基づいて監視部の情報処理の異常を判定する。
In an embodiment of the present invention,
The determination unit has normal detection information when the monitoring unit normally detects and processes the first state,
The determination unit determines an abnormality in information processing of the monitoring unit based on the normal detection information and the detection information read from the monitoring unit.

これによれば、監視部が第1状態の監視対象を正常に検出及び情報処理した場合の結果である正常検出情報を判定部が有する。この正常検出情報と監視部が第1状態の監視対象を実際に制御した結果である検出情報から監視部が実際にした情報処理に異常があるかを判定部は判定できる。   According to this, the determination unit has normal detection information that is a result when the monitoring unit normally detects and processes information on the monitoring target in the first state. The determination unit can determine whether there is an abnormality in the information processing actually performed by the monitoring unit from the normal detection information and the detection information that is a result of the monitoring unit actually controlling the monitoring target in the first state.

本発明の実施態様では、
判定部は、正常検出情報を検出情報として制御部に出力する出力部を有する。
In an embodiment of the present invention,
The determination unit includes an output unit that outputs normal detection information as detection information to the control unit.

これによれば、監視部が監視対象の状態を正常に検出できない場合に、監視対象の第1状態を正常に検出した正常検出情報を判定部から制御部に出力することで、制御部に正常検出情報を情報処理させることができる。判定部は、その正常検出情報を受信した制御部の情報処理に異常があるかを判定でき、監視部に故障がある場合でも、判定部は制御部の情報処理の異常を診断できる。   According to this, when the monitoring unit cannot normally detect the state of the monitoring target, the normal detection information that has normally detected the first state of the monitoring target is output from the determination unit to the control unit, so that the control unit is normal. Detection information can be processed. The determination unit can determine whether there is an abnormality in the information processing of the control unit that has received the normal detection information, and the determination unit can diagnose an abnormality in the information processing of the control unit even if the monitoring unit has a failure.

また、本発明の異常診断装置は、
状態が変化する監視対象である車両機器の第1状態を検出して情報処理した検出情報を出力する監視部と、
検出情報を受信して情報処理した処理情報に基づいて車両機器とは異なる別の車両機器である制御対象を制御する制御部と、
を備える車両における機器の異常を診断する異常診断装置であって、
制御部の情報処理の異常を判定する判定部を備えることを特徴とする。
In addition, the abnormality diagnosis apparatus of the present invention,
A monitoring unit that outputs detection information obtained by detecting and processing the first state of the vehicle device that is a monitoring target whose state changes;
A control unit that controls a control target, which is another vehicle device different from the vehicle device, based on the processing information received and processed by the detection information;
An abnormality diagnosis device for diagnosing an abnormality in a device in a vehicle comprising:
A determination unit that determines an abnormality in information processing of the control unit is provided.

本発明は、車両における機器の異常を診断する異常診断装置として構成したものである(前述の発明は異常診断システムとして構成したものである)。前述の発明と同様に車両機器を制御する制御部における情報処理の異常を診断できる。   The present invention is configured as an abnormality diagnosing device for diagnosing device abnormality in a vehicle (the above-described invention is configured as an abnormality diagnosing system). Similar to the above-described invention, it is possible to diagnose an abnormality in information processing in the control unit that controls the vehicle equipment.

本発明の実施態様では、
判定部は、制御部が検出情報を正常に情報処理した場合の正常処理情報を有し、
判定部は、正常処理情報と制御部から読み出した処理情報に基づいて制御部の情報処理の異常を判定する。
In an embodiment of the present invention,
The determination unit has normal processing information when the control unit normally processes the detection information,
The determination unit determines an abnormality in information processing of the control unit based on the normal processing information and the processing information read from the control unit.

これによれば、上述の異常診断システムと同様に制御部が実際にした情報処理に異常があるかを判定部が判定できる。   According to this, the determination part can determine whether there is an abnormality in the information processing actually performed by the control part as in the above-described abnormality diagnosis system.

本発明の一例である異常診断システムの概略を示すブロック図。The block diagram which shows the outline of the abnormality diagnosis system which is an example of this invention. スイッチの状態を検出する図1のECUの詳細を示すブロック図。The block diagram which shows the detail of ECU of FIG. 1 which detects the state of a switch. スイッチの状態を検出する図2とは異なるECUの詳細を示すブロック図。The block diagram which shows the detail of ECU different from FIG. 2 which detects the state of a switch. モーターを制御する図1のECUの詳細を示すブロック図。The block diagram which shows the detail of ECU of FIG. 1 which controls a motor. 図1のテスターの詳細を示すブロック図。The block diagram which shows the detail of the tester of FIG. 図1のテスターのフラッシュROMに格納されたプログラムの処理の一例を示すフローチャート。The flowchart which shows an example of the process of the program stored in flash ROM of the tester of FIG. 本発明の一例である異常診断システムの概略を示す図1とは異なるブロック図。The block diagram different from FIG. 1 which shows the outline of the abnormality diagnosis system which is an example of this invention. 異常診断を行う図7のECUの詳細を示すブロック図。The block diagram which shows the detail of ECU of FIG. 7 which performs abnormality diagnosis.

図1に示すように本発明の一例の異常診断システム1は、車両2と、車両2に接続され、車両2機器の故障を診断するダイアグテスター(以下、「テスター3」とする。)を備える。   As shown in FIG. 1, an abnormality diagnosis system 1 according to an example of the present invention includes a vehicle 2 and a diagnostic tester (hereinafter referred to as “tester 3”) that is connected to the vehicle 2 and diagnoses a failure of the vehicle 2 device. .

車両2には、スイッチ4、5、モーター6、及び各種電子制御ユニット(ECU:Electronic Control Unit)7、8、9が備わる。スイッチ4、5及びモーター6は、1つの信号のみを送信する導電ケーブルCにより一端がECU7、8、9に接続されるとともに、他端がアースEに接続される。一方、ECU7、8、9は、各ECU7、8、9に備わる図示しない通信回路を通じて、例えば、CAN等の車内通信線である多重通信バス10に接続され、ECU7、8、9の相互間でデータの送受信が可能となる。   The vehicle 2 includes switches 4 and 5, a motor 6, and various electronic control units (ECU: Electronic Control Units) 7, 8, and 9. The switches 4, 5 and the motor 6 are connected at one end to the ECUs 7, 8, 9 and at the other end to the ground E by a conductive cable C that transmits only one signal. On the other hand, the ECUs 7, 8, 9 are connected to a multiplex communication bus 10 that is an in-vehicle communication line such as a CAN through a communication circuit (not shown) provided in each ECU 7, 8, 9. Data can be sent and received.

スイッチ4、5は、導電ケーブルCの電路を開閉する車両2機器であり、人によりONとOFFが操作される操作スイッチである。   The switches 4 and 5 are vehicle 2 devices that open and close the electric path of the conductive cable C, and are operation switches that are turned on and off by a person.

モーター6は、スイッチ4、5のONとOFFに応じて駆動・停止する車両2機器である。後述するようにモーター6は、スイッチ4、5の両者がともにONの状態である第1状態の場合に駆動し、それ以外の場合には駆動しない。   The motor 6 is a vehicle 2 device that is driven / stopped in accordance with ON / OFF of the switches 4 and 5. As will be described later, the motor 6 is driven in the first state where both of the switches 4 and 5 are ON, and is not driven in the other cases.

図2〜図4に示すようにECU7、8、9は、それぞれ共通してCPU7a、8a、9a、ROM7b、8b、9b、RAM7c、8c、9c及びフラッシュROM7d、8d、9dを備え、それらがバス7e、8e、9eで接続される。   As shown in FIG. 2 to FIG. 4, the ECUs 7, 8, and 9 are commonly provided with CPUs 7a, 8a, 9a, ROMs 7b, 8b, 9b, RAMs 7c, 8c, 9c and flash ROMs 7d, 8d, 9d, respectively. 7e, 8e and 9e are connected.

CPU7a、8a、9aは、ROM7b、8b、9b、フラッシュROM7d、8d、9dに記録したプログラムを実行して各種の情報処理の制御をする。例えば、CPU7a、8a、9aは、ECU7、8、9相互間のデータ通信、各ECU7、8、9とテスター3との間のデータ通信を実行する。   The CPUs 7a, 8a, and 9a execute programs recorded in the ROMs 7b, 8b, and 9b and the flash ROMs 7d, 8d, and 9d to control various types of information processing. For example, the CPUs 7 a, 8 a, 9 a execute data communication between the ECUs 7, 8, 9 and data communication between the ECUs 7, 8, 9 and the tester 3.

ROM7b、8b、9bは、読み取り専用のメモリである。ROM7b、8b、9bには、対応するECU7、8、9が動作するための基本的なプログラム、パラメータ、データ等が記録されている。   The ROMs 7b, 8b, and 9b are read-only memories. In the ROMs 7b, 8b, and 9b, basic programs, parameters, data, and the like for operating the corresponding ECUs 7, 8, and 9 are recorded.

RAM7c、8c、9cは、読み書きが可能なメモリであり、RAM7c、8c、9cは、CPU7a、8a、9aが情報処理を行う際の作業領域として機能する揮発性の記憶部である。   The RAMs 7c, 8c, and 9c are readable / writable memories, and the RAMs 7c, 8c, and 9c are volatile storage units that function as work areas when the CPUs 7a, 8a, and 9a perform information processing.

フラッシュROM7d、8d、9dは、記憶内容を書き換え可能な不揮発性のメモリである。各フラッシュROM7d、8d、9dには、各種のアプリケーションプログラム(以下、「アプリ」とする。)及びアプリの内容を書き換えるためのファームウェア等が格納される。次に各ECU7、8、9について具体的に説明する。   The flash ROMs 7d, 8d, and 9d are nonvolatile memories that can rewrite stored contents. Each of the flash ROMs 7d, 8d, and 9d stores various application programs (hereinafter referred to as “applications”), firmware for rewriting the contents of the applications, and the like. Next, the ECUs 7, 8, and 9 will be specifically described.

図1に示すECU7は、スイッチ4の状態(ON又はOFF)を検出してスイッチ4の状態を示す情報をECU9に出力する主体である。図2に示すECU7のフラッシュROM7dには、主に次の3つのプログラムP1、P2、P3が格納される。プログラムP1は、スイッチ4の状態を検出して情報処理したデータD1(スイッチ4の状態がONかOFFかを示す情報)を取得してフラッシュROM7dに書き込む。プログラムP2は、フラッシュROM7dからデータD1を読み出してECU9に送信する。プログラムP3は、例えば、ECU7がECU9に送信した直近のデータD1をテスター3からの要求に応じてテスター3に送信する。ECU7は、スイッチ4の状態を定期的に検出して情報処理したデータD1を自身のフラッシュROM7dに書き込み、書き込んだデータD1をECU9に送信する。また、ECU7は、テスター3からの要求に応じてECU9に送信したデータD1をテスター3に送信する。   The ECU 7 shown in FIG. 1 is a main body that detects the state (ON or OFF) of the switch 4 and outputs information indicating the state of the switch 4 to the ECU 9. The following three programs P1, P2, and P3 are mainly stored in the flash ROM 7d of the ECU 7 shown in FIG. The program P1 acquires the data D1 (information indicating whether the state of the switch 4 is ON or OFF) obtained by processing the information by detecting the state of the switch 4, and writes it in the flash ROM 7d. The program P2 reads the data D1 from the flash ROM 7d and transmits it to the ECU 9. For example, the program P3 transmits the latest data D1 transmitted from the ECU 7 to the ECU 9 to the tester 3 in response to a request from the tester 3. The ECU 7 periodically detects the state of the switch 4 and writes the processed data D1 to its own flash ROM 7d, and transmits the written data D1 to the ECU 9. Further, the ECU 7 transmits the data D <b> 1 transmitted to the ECU 9 in response to a request from the tester 3 to the tester 3.

図3に示すECU8は、スイッチ5の状態(ON又はOFF)を検出してスイッチ5の状態を示す情報をECU9に出力する主体である。ECU8のフラッシュROM8dには、主に次の3つのプログラムP4、P5、P6が格納される。プログラムP4は、スイッチ5の状態を検出して情報処理したデータD2(スイッチ5の状態がONかOFFかを示す情報)を取得してフラッシュROM8dに書き込む。プログラムP5は、フラッシュROM8dからデータD2を読み出してECU9に送信する。プログラムP6は、例えば、ECU9に送信した直近のデータD2をテスター3からの要求に応じてテスター3に送信する。ECU8は、スイッチ5の状態を定期的に検出して情報処理したデータD2をフラッシュROM8dに書き込み、書き込んだデータD2をECU9に送信する。また、ECU8は、テスター3からの要求に応じてECU9に送信したデータD2をテスター3に送信する。   The ECU 8 shown in FIG. 3 is a main body that detects the state (ON or OFF) of the switch 5 and outputs information indicating the state of the switch 5 to the ECU 9. The flash ROM 8d of the ECU 8 mainly stores the following three programs P4, P5, and P6. The program P4 acquires the data D2 (information indicating whether the state of the switch 5 is ON or OFF) obtained by detecting the state of the switch 5 and writes it in the flash ROM 8d. The program P5 reads the data D2 from the flash ROM 8d and transmits it to the ECU 9. For example, the program P6 transmits the latest data D2 transmitted to the ECU 9 to the tester 3 in response to a request from the tester 3. The ECU 8 periodically detects the state of the switch 5 and writes the processed data D2 to the flash ROM 8d, and transmits the written data D2 to the ECU 9. Further, the ECU 8 transmits the data D <b> 2 transmitted to the ECU 9 in response to a request from the tester 3 to the tester 3.

図4に示すECU9は、ECU7、8から出力されるデータD1、D2を受信して情報処理してモーター6を制御する主体である。ECU9のフラッシュROM9dには、主に次の3つのプログラムP7、P8、P9が格納される。プログラムP7は、ECU7からのデータD1及びECU8からのデータD2を情報処理してスイッチ4、5の状態を判定したデータD3を取得し、データD3をフラッシュROM9dに書き込む。ECU7、8からECU9に送信されるデータD1、D2の組み合わせは、次の4つのパターンとなる。パターン1が、スイッチ4、5の両方がONの状態を示すデータの組み合わせである。パターン2が、スイッチ4、5の両方がOFFの状態を示すデータの組み合わせである。パターン3が、スイッチ4がONの状態かつスイッチ5がOFFの状態を示すデータの組み合わせである。パターン4が、スイッチ4がOFFの状態かつスイッチ5がONの状態を示すデータの組み合わせである。プログラムP7では、ECU7、8から送信されるデータD1、D2が、上記のパターン1〜4のいずれに該当するかを判定して判定結果をデータD3としてフラッシュROM9dに格納する。プログラムP8は、データD3を情報処理してモーター6を制御するデータD4を取得し、データD4をフラッシュROM9dに書き込む。データD3が上記のパターン1(スイッチ4、5の両方がONの状態を示すデータの組み合わせ)ならば、モーター6を駆動させる制御情報をデータD4としてフラッシュROM9dに格納する。一方、データD3が上記のパターン2〜4ならば、モーター6を駆動させない制御情報をデータD4としてフラッシュROM9dに格納する。プログラムP9は、テスター3からの要求に応じてECU9が直近に取得したデータD3、D4をテスター3に送信する。ECU9は、ECU7、8から送信されるデータD1、D2を受信して情報処理したデータD3、D4をフラッシュROM9dに書き込み、データD4に基づいてモーター6を制御する。また、ECU9は、テスター3からの要求に応じてデータD3、D4をテスター3に送信する。   The ECU 9 shown in FIG. 4 is a main body that controls the motor 6 by receiving data D1 and D2 output from the ECUs 7 and 8 and processing the data. The flash ROM 9d of the ECU 9 mainly stores the following three programs P7, P8, and P9. The program P7 processes the data D1 from the ECU 7 and the data D2 from the ECU 8, acquires the data D3 that determines the state of the switches 4, 5, and writes the data D3 to the flash ROM 9d. The combinations of data D1 and D2 transmitted from the ECUs 7 and 8 to the ECU 9 are the following four patterns. Pattern 1 is a combination of data indicating that both switches 4 and 5 are ON. Pattern 2 is a combination of data indicating that both switches 4 and 5 are OFF. Pattern 3 is a combination of data indicating that the switch 4 is on and the switch 5 is off. Pattern 4 is a combination of data indicating that the switch 4 is OFF and the switch 5 is ON. In the program P7, it is determined which of the patterns 1 to 4 the data D1 and D2 transmitted from the ECUs 7 and 8 correspond to, and the determination result is stored in the flash ROM 9d as data D3. The program P8 processes the data D3, acquires the data D4 for controlling the motor 6, and writes the data D4 to the flash ROM 9d. If the data D3 is the above pattern 1 (a combination of data indicating that both the switches 4 and 5 are ON), control information for driving the motor 6 is stored in the flash ROM 9d as data D4. On the other hand, if the data D3 is the above patterns 2 to 4, control information for not driving the motor 6 is stored in the flash ROM 9d as data D4. In response to a request from the tester 3, the program P9 transmits data D3 and D4 acquired by the ECU 9 most recently to the tester 3. The ECU 9 receives the data D1, D2 transmitted from the ECUs 7, 8 and writes the processed data D3, D4 to the flash ROM 9d, and controls the motor 6 based on the data D4. Further, the ECU 9 transmits data D3 and D4 to the tester 3 in response to a request from the tester 3.

次に、図5に示すECU7、8、9からデータD1〜D4が送信されるテスター3の詳細を説明する。テスター3は、ECU7、8、9に繋がるワイヤーハーネスの断線、ECU7、8、9内の回路故障などの物理的な故障及びECU7、8、9のプログラムの異常などのソフト的な故障を診断する。テスター3は、各種の故障を診断する判定部として、CPU3a、ROM3b、RAM3c及びフラッシュROM3dを備え、それらがバス3eでI/Oポート11に接続される。I/Oポート11には、テスター3を多重通信バス10に接続して各ECU7、8、9とテスター3との間でデータの送受信を可能にするコネクタ12と、テスター3を操作する操作部13が接続される。   Next, details of the tester 3 to which data D1 to D4 are transmitted from the ECUs 7, 8, and 9 shown in FIG. The tester 3 diagnoses a software failure such as a disconnection of a wire harness connected to the ECU 7, 8, 9, a physical failure such as a circuit failure in the ECU 7, 8, 9, and a program abnormality of the ECU 7, 8, 9. . The tester 3 includes a CPU 3a, a ROM 3b, a RAM 3c, and a flash ROM 3d as determination units for diagnosing various failures, and these are connected to the I / O port 11 via a bus 3e. The I / O port 11 includes a connector 12 for connecting the tester 3 to the multiplex communication bus 10 to enable data transmission / reception between the ECUs 7, 8, 9 and the tester 3, and an operation unit for operating the tester 3. 13 is connected.

CPU3aは、ROM3b、フラッシュROM3dに記録したプログラムを実行して各種の情報処理の制御をする。例えば、CPU3aは、各ECU7、8、9とのデータ通信及びデータ通信から得られたデータD1〜D4に基づいて各ECU7、8、9におけるプログラムの故障等の診断を実行する。   The CPU 3a executes programs recorded in the ROM 3b and the flash ROM 3d to control various information processing. For example, the CPU 3a performs a diagnosis of a program failure or the like in each ECU 7, 8, 9 based on data communication with each ECU 7, 8, 9, and data D1-D4 obtained from the data communication.

ROM3bは、読み取り専用のメモリであり、テスター3が動作するための基本的なプログラム、パラメータ、データ等が記録されている。   The ROM 3b is a read-only memory in which basic programs, parameters, data, and the like for operating the tester 3 are recorded.

RAM3cは、読み書きが可能なメモリであり、CPU3aが情報処理を行う際の作業領域として機能する揮発性の記憶部である。   The RAM 3c is a readable / writable memory, and is a volatile storage unit that functions as a work area when the CPU 3a performs information processing.

フラッシュROM3dは、記憶内容を書き換え可能な不揮発性のメモリである。フラッシュROM3dには、後述する3つのプログラムP10、P11、P12及び各種データが主に格納される。各種データは、例えば、各ECU7、8、9のプログラムの故障を診断するために用いるデータd1〜d4である。データd1は、ECU7がON状態のスイッチ4を正常に検出及び情報処理した場合に取得するデータD1に対応する。データd2は、ECU8がON状態のスイッチ5を正常に検出及び情報処理した場合に取得するデータD2に対応する。データd3は、ECU9が、スイッチ4、5いずれもON状態を示すデータD1、D2を正常に受信及び情報処理した場合に取得するデータD3に対応する。データd4は、ECU9が、スイッチ4、5いずれもON状態と判定したデータD3を正常に情報処理した場合に取得するデータD4に対応する。   The flash ROM 3d is a nonvolatile memory that can rewrite stored contents. The flash ROM 3d mainly stores three programs P10, P11, P12 and various data described later. The various data are, for example, data d1 to d4 used for diagnosing a malfunction of the programs of the ECUs 7, 8, and 9. The data d1 corresponds to the data D1 acquired when the ECU 7 normally detects and processes the switch 4 in the ON state. The data d2 corresponds to the data D2 acquired when the ECU 8 normally detects and processes the switch 5 in the ON state. Data d3 corresponds to data D3 acquired when ECU 9 normally receives and processes information D1 and D2 indicating that both switches 4 and 5 are in the ON state. The data d4 corresponds to the data D4 acquired when the ECU 9 normally processes the data D3 determined that both the switches 4 and 5 are in the ON state.

テスター3のフラッシュROM3dに格納されるプログラムP10は、ECU7、8、9に繋がるワイヤーハーネスの断線、ECU7、8、9内の回路故障等の物理的な故障を診断する周知のプログラムである。プログラムP11は、各ECU7、8、9におけるソフト的な故障を診断する。プログラムP12は、プログラムP11でECU7に異常を検出した場合にフラッシュROM3dからデータd1を読み出してECU9に送信する。また、プログラムP12は、プログラムP11でECU8に異常を検出した場合にフラッシュROM3dからデータd2を読み出してECU9に送信する。   The program P10 stored in the flash ROM 3d of the tester 3 is a well-known program for diagnosing physical failures such as disconnection of the wire harness connected to the ECUs 7, 8, 9 and circuit failures in the ECUs 7, 8, 9. The program P11 diagnoses a software failure in each of the ECUs 7, 8, and 9. The program P12 reads data d1 from the flash ROM 3d and transmits it to the ECU 9 when an abnormality is detected in the ECU 7 in the program P11. Further, the program P12 reads the data d2 from the flash ROM 3d and transmits it to the ECU 9 when an abnormality is detected in the ECU 8 by the program P11.

次にテスター3のプログラムP11を実行して各ECU7、8、9におけるソフト的な故障を診断する方法を説明する。プログラムP11を実行するに際しては、図5に示すようにスイッチ4、5をともにONの状態にしておく。   Next, a method for diagnosing a software failure in each ECU 7, 8 and 9 by executing the program P11 of the tester 3 will be described. When the program P11 is executed, the switches 4 and 5 are both turned on as shown in FIG.

例えば、ECU7におけるプログラムP1(スイッチ4を検出及び情報処理するプログラム)の異常を診断する場合を説明する。テスター3は、ON状態のスイッチ4をECU7が検出及び情報処理したデータD1をテスター3に送信するようにECU7に要求してECU7からデータD1を読み出す。そして、テスター3は、フラッシュROM3dからデータd1(ON状態のスイッチ4をECU7が正常に検出及び情報処理したデータ)を読み出し、両データD1、d1を比較してECU7の情報処理が異常かを判定する。   For example, the case of diagnosing an abnormality in the program P1 (a program for detecting and processing information on the switch 4) in the ECU 7 will be described. The tester 3 requests the ECU 7 to transmit data D1 detected and processed by the ECU 7 to the switch 7 in the ON state, and reads the data D1 from the ECU 7. Then, the tester 3 reads the data d1 (data that the ECU 7 has normally detected and processed the switch 4 in the ON state) from the flash ROM 3d, and compares both data D1 and d1 to determine whether the information processing of the ECU 7 is abnormal. To do.

同様に、ECU8のプログラムP4(スイッチ5を検出及び情報処理するプログラム)の異常を診断する場合を説明する。テスター3は、ON状態のスイッチ5をECU8が検出及び情報処理したデータD2をテスター3に送信するようにECU8に要求してECU8からデータD2を読み出す。そして、テスター3は、フラッシュROM3dからデータd2(ON状態のスイッチ5をECU8が正常に検出及び情報処理したデータ)を読み出し、両データD2、d2を比較してECU8の情報処理が異常か判定する。   Similarly, the case of diagnosing an abnormality in the program P4 of the ECU 8 (a program for detecting and processing information on the switch 5) will be described. The tester 3 requests the ECU 8 to transmit data D2 detected and processed by the ECU 8 to the switch 5 in the ON state, and reads the data D2 from the ECU 8. Then, the tester 3 reads the data d2 (data in which the ECU 8 has normally detected and processed the ON switch 5) from the flash ROM 3d, and compares both the data D2 and d2 to determine whether the information processing of the ECU 8 is abnormal. .

次に、ECU9のプログラムP7、P8(データD1、D2に基づきスイッチ4、5の状態を判定及びその判定結果からモーター6を制御するプログラム)の異常を診断する場合を説明する。テスター3は、両スイッチ4、5がON状態を示すデータD1、D2を受信して情報処理したデータD3、D4をテスター3に送信するようECU9に要求してECU9からデータD3、D4を読み出す。そして、テスター3は、フラッシュROM3dからデータd3(両スイッチ4、5がON状態を示すデータD1、D2をECU9が正常に受信及び情報処理したデータ)を読み出し、両データD3、d3を比較してECU9の情報処理が異常かを判定する。データD4、d4についても同様に比較してECU9の情報処理が異常か否かを判定する。   Next, a description will be given of the case of diagnosing an abnormality in the programs P7 and P8 of the ECU 9 (a program for determining the state of the switches 4 and 5 based on the data D1 and D2 and controlling the motor 6 from the determination result). The tester 3 receives the data D1 and D2 indicating that both switches 4 and 5 are in the ON state, requests the ECU 9 to transmit the processed data D3 and D4 to the tester 3, and reads the data D3 and D4 from the ECU 9. Then, the tester 3 reads the data d3 (data in which the ECU 9 has normally received and processed the data D1 and D2 indicating that both switches 4 and 5 are ON) from the flash ROM 3d, and compares both the data D3 and d3. It is determined whether the information processing of the ECU 9 is abnormal. The data D4 and d4 are similarly compared to determine whether the information processing of the ECU 9 is abnormal.

以上、異常診断システム1の主要な各部について説明した。各ECU7、8、9のフラッシュROM7d、8d、9dに格納されるアプリは、適宜、アップデート又はバージョンアップがされる。この際、フラッシュROM7d、8d、9dのファームウェアがアプリを書き換え、書き換えられたアプリにバグが発生する場合がある。例えば、ECU9のプログラムP7、P8にバグが発生し、ECU7、8から送信されるデータD1、D2をECU9で正常に情報処理できない場合がある。同様に、ECU7のプログラムP1にバグが発生してECU7がスイッチ4の状態を正常に検出できない場合がある。また、ECU8のプログラムP4にバグが発生してECU8がスイッチ5の状態を正常に検出できない場合がある。このような場合、車両2に異常を感じたユーザーが車両2をディーラーに持参し、ディーラー側でテスター3を使用してECU7、8、9のプログラムP1、P4、P7、P8(以下、「各種プログラム」とする。)の異常を診断する。   The main parts of the abnormality diagnosis system 1 have been described above. Apps stored in the flash ROMs 7d, 8d, and 9d of the ECUs 7, 8, and 9 are appropriately updated or upgraded. At this time, the firmware of the flash ROMs 7d, 8d, and 9d may rewrite the application, and a bug may occur in the rewritten application. For example, a bug may occur in the programs P7 and P8 of the ECU 9, and the data D1 and D2 transmitted from the ECUs 7 and 8 may not be processed normally by the ECU 9. Similarly, a bug may occur in the program P1 of the ECU 7, and the ECU 7 may not normally detect the state of the switch 4. Further, a bug may occur in the program P4 of the ECU 8, and the ECU 8 may not normally detect the state of the switch 5. In such a case, a user who feels abnormality in the vehicle 2 brings the vehicle 2 to the dealer, and uses the tester 3 on the dealer side to program P1, P4, P7, P8 of the ECUs 7, 8, 9 (hereinafter referred to as “various” Diagnose the abnormalities of the program.

ユーザーが車両2の異常を訴えた時点では、異常の原因が物理的な故障なのか、ECU7、8、9の各種プログラムの故障なのかが不明であり、ディーラー側では車両2の異常の原因を切り分ける必要がある。そこで、例えば、ディーラー側で最初に物理的な故障について診断をし、物理的な故障がない場合にECU7、8、9の各種プログラムの異常を診断する。物理的な故障を診断する場合は、テスター3で周知のプログラムP10を実行することで車両2の物理的な故障の診断をする。この物理的な診断で、故障が検出されない場合に、ECU7、8、9の各種プログラムの故障の診断をする。以下、図6のフローチャートを参照してテスター3におけるプログラムP11、P12の処理を説明する。   When the user complains of an abnormality in the vehicle 2, it is unknown whether the cause of the abnormality is a physical failure or a failure of various programs in the ECUs 7, 8, 9. It is necessary to carve out. Thus, for example, the dealer first diagnoses a physical failure and diagnoses abnormalities in various programs of the ECUs 7, 8, and 9 when there is no physical failure. When diagnosing a physical failure, the tester 3 executes a known program P10 to diagnose a physical failure of the vehicle 2. If no failure is detected by this physical diagnosis, the failure of various programs in the ECUs 7, 8, and 9 is diagnosed. Hereinafter, the processing of the programs P11 and P12 in the tester 3 will be described with reference to the flowchart of FIG.

ECU7、8、9の各種プログラムの異常を診断する際は、図5に示すように両スイッチ4、5を予めONの状態にする。スイッチ4がON状態になると、ECU7は、スイッチ4のON状態を検出して情報処理したデータD1をECU9に送信する。同様に、スイッチ5がON状態になると、ECU8は、スイッチ5のON状態を検出して情報処理したデータD2をECU9に送信する。データD1、D2を受信するECU9は、例えば、プログラムP7にバグが生じると、受信したデータD1、D2を正常に情報処理できない。この場合、ECU9は、受信したデータD1、D2を、例えば、スイッチ4、5が両方ともOFF状態であると判定したデータD3を取得する。ECU9は、正常なプログラムP8によりデータD3を正常に情報処理して取得したデータD4に基づきモーター6を制御する。すると、スイッチ4、5がいずれもON状態である第1状態であるにも関わらず、モーター6が駆動しない。   When diagnosing abnormalities in various programs in the ECUs 7, 8, and 9, both switches 4 and 5 are turned on in advance as shown in FIG. When the switch 4 is turned on, the ECU 7 detects the on state of the switch 4 and transmits the processed data D1 to the ECU 9. Similarly, when the switch 5 is turned on, the ECU 8 detects the ON state of the switch 5 and transmits data D2 that has been processed to the ECU 9. For example, if a bug occurs in the program P7, the ECU 9 that receives the data D1 and D2 cannot normally process the received data D1 and D2. In this case, the ECU 9 acquires the received data D1 and D2, for example, data D3 determined that both the switches 4 and 5 are in the OFF state. The ECU 9 controls the motor 6 based on the data D4 acquired by normally processing the data D3 with the normal program P8. Then, although the switches 4 and 5 are both in the first state, which is in the ON state, the motor 6 is not driven.

このような場合、例えば、ディーラー側でテスター3の操作部13を操作し、ECU7、8、9の各種プログラムの異常の診断を実行すると、テスター3は、図6に示すS1〜S10の処理を実行する。S1においてテスター3は、図5に示すECU7からデータD1を読み出し、テスター3のフラッシュROM3dに格納されるデータd1と比較し、ECU7の情報処理が正常かを判定する。データD1、d1が不一致の場合には(図6のS1:No)、ECU7のプログラムP1(スイッチ4の状態を検出する処理)に異常があるとし(S2)、テスター3からデータd1をECU9に送信し(S3)、S4に進む。S1でデータD1、d1が一致する場合には(S1:Yes)、S4に進む。   In such a case, for example, when the operation side 13 of the tester 3 is operated on the dealer side and abnormality diagnosis of various programs of the ECUs 7, 8, and 9 is executed, the tester 3 performs the processes of S1 to S10 shown in FIG. Run. In S1, the tester 3 reads the data D1 from the ECU 7 shown in FIG. 5 and compares it with the data d1 stored in the flash ROM 3d of the tester 3 to determine whether the information processing of the ECU 7 is normal. If the data D1 and d1 do not match (S1: No in FIG. 6), it is assumed that there is an abnormality in the program P1 (processing for detecting the state of the switch 4) of the ECU 7 (S2), and the data d1 from the tester 3 is sent to the ECU 9 Transmit (S3) and proceed to S4. If the data D1 and d1 match in S1 (S1: Yes), the process proceeds to S4.

S4においてテスター3は、図5に示すECU8からデータD2を読み出し、フラッシュROM3dに格納されるデータd2と比較し、ECU8の情報処理が正常かを判定する。データD2、d2が不一致の場合には(図6のS4:No)、ECU8のプログラムP4(スイッチ5の状態を検出する処理)に異常があるとし(S5)、テスター3からデータd2をECU9に送信し(S6)、S7に進む。S4でデータD2、d2が一致する場合には(S4:Yes)、S7に進む。   In S4, the tester 3 reads the data D2 from the ECU 8 shown in FIG. 5 and compares it with the data d2 stored in the flash ROM 3d to determine whether the information processing of the ECU 8 is normal. If the data D2 and d2 do not match (S4: No in FIG. 6), it is assumed that there is an abnormality in the program P4 (processing for detecting the state of the switch 5) of the ECU 8 (S5), and the data d2 from the tester 3 is sent to the ECU 9 Transmit (S6) and proceed to S7. If the data D2 and d2 match in S4 (S4: Yes), the process proceeds to S7.

S7においてテスター3は、図5に示すECU9からデータD3を読み出し、フラッシュROM3dに格納されるデータd3と比較し、ECU9の情報処理(スイッチ4、5の状態を判定する処理)が正常かを判定する。データD3、d3が不一致の場合には(図6のS7:No)、ECU9のプログラムP7(スイッチ4、5の状態を判定する処理)に異常があるとし(S8)、S9に進む。S7でデータD3、d3が一致する場合には(S7:Yes)、S9に進む。   In S7, the tester 3 reads the data D3 from the ECU 9 shown in FIG. 5 and compares it with the data d3 stored in the flash ROM 3d to determine whether the information processing (processing for determining the state of the switches 4 and 5) of the ECU 9 is normal. To do. If the data D3 and d3 do not match (S7: No in FIG. 6), it is assumed that there is an abnormality in the program P7 (processing for determining the state of the switches 4, 5) of the ECU 9 (S8), and the process proceeds to S9. If the data D3 and d3 match in S7 (S7: Yes), the process proceeds to S9.

S9においてテスター3は、図5に示すECU9からデータD4を読み出し、フラッシュROM3dに格納されるデータd4と比較し、ECU9の情報処理(モーター6を制御する処理)が正常かを判定する。データD4、d4が不一致の場合には(図6のS9:No)、ECU9のプログラムP8(モーター6を制御する処理)に異常があるとし(S10)、処理を終える。S9でデータD4、d4が一致する場合には(S9:Yes)、処理を終える。   In S9, the tester 3 reads the data D4 from the ECU 9 shown in FIG. 5 and compares the data D4 with the data d4 stored in the flash ROM 3d, and determines whether the information processing of the ECU 9 (processing for controlling the motor 6) is normal. If the data D4 and d4 do not match (S9: No in FIG. 6), it is assumed that there is an abnormality in the program P8 (process for controlling the motor 6) of the ECU 9 (S10), and the process ends. If the data D4 and d4 match in S9 (S9: Yes), the process is terminated.

図6の一連の処理が終了すると、例えば、テスター3の図示しない表示部に各種プログラムについての診断結果が出力され、診断が終了する。上記の場合では、図5に示すECU7、8からのデータD1、D2を受信して情報処理するECU9のプログラムP7にバグがあり、図6のS7でデータD3、d3が不一致となり、S8でプログラムP7に異常があると診断される。同様に図5に示すECU7のプログラムP1に異常がある場合には図6のS2で、図5に示すECU8のプログラムP4の異常がある場合には図6のS5で、図5に示すECU9のプログラムP8に異常がある場合には図6のS10で異常が検出される。   When the series of processes in FIG. 6 is completed, for example, the diagnosis results for various programs are output to a display unit (not shown) of the tester 3 and the diagnosis is completed. In the above case, there is a bug in the program P7 of the ECU 9 that receives and processes the data D1 and D2 from the ECUs 7 and 8 shown in FIG. 5, the data D3 and d3 become inconsistent in S7 of FIG. 6, and the program in S8 It is diagnosed that P7 is abnormal. Similarly, when there is an abnormality in the program P1 of the ECU 7 shown in FIG. 5, it is S2 in FIG. 6, and when there is an abnormality in the program P4 of the ECU 8 shown in FIG. 5, the operation of the ECU 9 shown in FIG. If there is an abnormality in the program P8, the abnormality is detected in S10 of FIG.

以上のように図5に示す異常診断システム1では、テスター3で各ECU7、8、9の情報処理の異常を診断できる。テスター3は、各ECU7、8、9の情報処理を正常にした場合のデータd1〜d4を有する。よって、テスター3は、各ECU7、8、9が情報処理したデータD1〜D4を読み出し、データd1〜d4と比較することで、各ECU7、8、9の情報処理の異常を判定できる。   As described above, in the abnormality diagnosis system 1 shown in FIG. 5, an abnormality in information processing of each ECU 7, 8, 9 can be diagnosed by the tester 3. The tester 3 has data d1 to d4 when the information processing of the ECUs 7, 8, and 9 is made normal. Therefore, the tester 3 can determine the abnormality of information processing of each ECU 7, 8, 9 by reading the data D1-D4 processed by each ECU 7, 8, 9 and comparing it with the data d1-d4.

図6のS2に示すようにECU7の情報処理に異常を検出すると、図5に示すテスター3は、スイッチ4がONの状態を示すデータd1をECU9に送信する(図6のS3)。また、図6のS5に示すようにECU8の情報処理に異常を検出すると、図5に示すテスター3は、スイッチ5がONの状態を示すデータd1をECU9に送信する(図6のS6)。よって、図5に示すECU9は、スイッチ4、5がONの状態を示すデータd1、d2を受信して情報処理するため、テスター3は、図6のS7、S9の処理でECU9の情報処理が異常かを診断できる。   When an abnormality is detected in the information processing of the ECU 7 as shown in S2 of FIG. 6, the tester 3 shown in FIG. 5 transmits data d1 indicating that the switch 4 is ON to the ECU 9 (S3 of FIG. 6). When an abnormality is detected in the information processing of the ECU 8 as shown in S5 in FIG. 6, the tester 3 shown in FIG. 5 transmits data d1 indicating that the switch 5 is ON to the ECU 9 (S6 in FIG. 6). Therefore, since the ECU 9 shown in FIG. 5 receives and processes the data d1 and d2 indicating that the switches 4 and 5 are ON, the tester 3 performs the information processing of the ECU 9 in the processes of S7 and S9 of FIG. Can diagnose whether it is abnormal.

上記の説明では、異常診断システム1として、テスター3とECU7、8、9を備える例を説明した。図7に示すように異常診断システム101として、テスター3に代えてテスター3と同様の機能を果たすECU102を追加してもよい。以下の説明においては、上記と同じ構成は同じ符号を付して説明を省略し、特有の構成について説明する。   In the above description, an example in which the tester 3 and the ECUs 7, 8, and 9 are provided as the abnormality diagnosis system 1 has been described. As shown in FIG. 7, as the abnormality diagnosis system 101, an ECU 102 that performs the same function as the tester 3 may be added instead of the tester 3. In the following description, the same components as those described above are denoted by the same reference numerals, description thereof will be omitted, and specific configurations will be described.

車両2に備わるECU102は、多重通信バス10に接続され、各ECU7、8、9との間でデータの送受信が可能となる。ECU102は、各ECU7、8、9内の回路故障などの物理的な故障及び各ECU7、8、9のプログラムの異常などのソフト的な故障を診断する。ECU102は、図8に示すようにCPU3a、ROM3b、RAM3c及びフラッシュROM3dを備える。CPU3aは、フラッシュROM3dに記録したプログラムP11、P12を実行して図6に示す処理により、ECU7、8、9の各種プログラムの故障の診断をする。各種プログラムの異常を検出した場合は、例えば、図示しない車両2内のディスプレイに診断結果を表示する。これにより、テスター3を使用せずに各ECU7、8、9の各種プログラムの異常を診断できる。   The ECU 102 provided in the vehicle 2 is connected to the multiplex communication bus 10 and can transmit and receive data to and from the ECUs 7, 8, and 9. The ECU 102 diagnoses a physical failure such as a circuit failure in each of the ECUs 7, 8, 9 and a software failure such as an abnormality in the program of each ECU 7, 8, 9. As shown in FIG. 8, the ECU 102 includes a CPU 3a, a ROM 3b, a RAM 3c, and a flash ROM 3d. The CPU 3a executes the programs P11 and P12 recorded in the flash ROM 3d and diagnoses failures of various programs in the ECUs 7, 8, and 9 by the process shown in FIG. When abnormality of various programs is detected, for example, a diagnosis result is displayed on a display in the vehicle 2 (not shown). Thereby, the abnormality of the various programs of each ECU 7, 8, 9 can be diagnosed without using the tester 3.

以上、本発明の実施の態様を説明したが、本発明はその具体的な記載に限定されることなく、例示した構成、処理等を技術的に矛盾のない範囲で適宜組み合わせて実施することも可能であるし、またある要素、処理を周知の形態に置き換えて実施することもできる。   Although the embodiment of the present invention has been described above, the present invention is not limited to the specific description, and the illustrated configuration, processing, and the like may be appropriately combined and implemented within a technically consistent range. It is possible, and certain elements and processes can be replaced with known forms.

上記の説明では、図5に示すようにスイッチ4、5の状態を検出するECU7、8及びスイッチ4、5の状態に応じてモーター6を制御するECU9を例示した。ECU7、8は、スイッチ4、5のようにONとOFFの2つの状態を検出する車両機器以外にも所定の物理量を検出する車両機器を監視対象としてもよい。ECU9は、モーター6を制御するものに限らず、ECU7、8での検出結果に応じて制御する車両2機器であればよい。ECU7、8が状態を監視する監視対象として2つのスイッチ4、5を例示したが、ECU7が2つのスイッチ4、5を監視してもよい。また、スイッチの数を3つ以上又は1つにしてもよい。この場合、スイッチの数に対応させてスイッチを監視するECUを追加してもよい。   In the above description, the ECUs 7 and 8 that detect the states of the switches 4 and 5 and the ECU 9 that controls the motor 6 according to the states of the switches 4 and 5 are illustrated as shown in FIG. ECU7,8 is good also considering the vehicle apparatus which detects a predetermined physical quantity other than the vehicle apparatus which detects two states of ON and OFF like switch 4,5 as a monitoring object. The ECU 9 is not limited to the one that controls the motor 6, but may be any vehicle 2 device that is controlled according to the detection results of the ECUs 7 and 8. Although the two switches 4 and 5 are illustrated as monitoring targets for monitoring the state by the ECUs 7 and 8, the ECU 7 may monitor the two switches 4 and 5. Further, the number of switches may be three or more or one. In this case, you may add ECU which monitors a switch corresponding to the number of switches.

上記の説明では、テスター3又は図8に示すECU102のフラッシュROM3dに各ECU7、8が正常に情報処理したデータd1〜d4を格納する例を例示した。データd1、d2としては、各ECU7、8に格納されたデータD1、D2をテスター3又はECU102が読み出してデータd1、d2としてもよい。この場合、ECU7、8におけるプログラムP1、P4の異常は診断できない。また、データD1〜D4をフラッシュROM7d、8d、9dに書き込む例を説明したが、RAM7c、8c、9dに書き込んでもよい。   In the above description, an example in which the data d1 to d4 that each ECU 7 and 8 normally processed is stored in the tester 3 or the flash ROM 3d of the ECU 102 shown in FIG. As the data d1 and d2, the data D1 and D2 stored in the ECUs 7 and 8 may be read by the tester 3 or the ECU 102 and used as the data d1 and d2. In this case, the abnormality of the programs P1 and P4 in the ECUs 7 and 8 cannot be diagnosed. Moreover, although the example which writes data D1-D4 in flash ROM7d, 8d, 9d was demonstrated, you may write in RAM7c, 8c, 9d.

1 異常診断システム 2 車両
3 テスター(異常診断装置) 4 スイッチ(監視対象)
5 スイッチ(監視対象) 6 モーター(制御対象)
7 ECU(監視部) 8 ECU(監視部)
9 ECU(制御部)
1 Abnormality diagnosis system 2 Vehicle 3 Tester (abnormality diagnosis device) 4 Switch (monitoring target)
5 Switch (monitoring target) 6 Motor (control target)
7 ECU (monitoring unit) 8 ECU (monitoring unit)
9 ECU (control unit)

Claims (5)

状態が変化する監視対象である車両機器の第1状態を検出して情報処理した検出情報を出力する監視部と、
前記検出情報を受信して情報処理した処理情報に基づいて前記車両機器とは異なる別の車両機器である制御対象を制御する制御部と、
前記制御部の情報処理の異常を判定する判定部と、
を備え
前記判定部は、前記第1状態を前記監視部が正常に検出及び情報処理した場合の正常検出情報と、前記制御部が前記検出情報を正常に情報処理した場合の正常処理情報とを有し、
前記判定部は、
前記正常検出情報と前記監視部から読み出した前記検出情報に基づいて前記監視部の情報処理の異常を判定する第1判定部と、
前記第1判定部が前記監視部の情報処理の異常を判定した場合に前記正常検出情報を前記制御部に出力する出力部と、
前記正常処理情報と前記制御部から読み出した前記処理情報に基づいて前記制御部の情報処理の異常を判定する第2判定部とを有し、
前記第2判定部は、前記第1判定部の判定後に前記制御部の情報処理の異常を判定し、且つ、前記出力部が前記正常検出情報を出力した場合には、その正常検出情報を前記制御部が受信して情報処理した前記処理情報に基づいて前記制御部の情報処理の異常を判定することを特徴とする異常診断システム。
A monitoring unit that outputs detection information obtained by detecting and processing the first state of the vehicle device that is a monitoring target whose state changes;
A control unit that controls a control target that is another vehicle device different from the vehicle device based on the processing information received and processed by the detection information;
A determination unit for determining an abnormality in information processing of the control unit;
Equipped with a,
The determination unit includes normal detection information when the monitoring unit normally detects and processes the first state, and normal processing information when the control unit normally processes the detection information. ,
The determination unit
A first determination unit that determines an abnormality in information processing of the monitoring unit based on the normal detection information and the detection information read from the monitoring unit;
An output unit that outputs the normality detection information to the control unit when the first determination unit determines an abnormality in information processing of the monitoring unit;
A second determination unit that determines an abnormality in information processing of the control unit based on the normal processing information and the processing information read from the control unit;
The second determination unit determines an abnormality in information processing of the control unit after the determination of the first determination unit, and the output unit outputs the normal detection information when the output unit outputs the normal detection information. An abnormality diagnosis system, wherein an abnormality in information processing of the control unit is determined based on the processing information received and processed by the control unit .
前記処理情報は、前記第1状態を判定した判定情報を有し、
前記正常処理情報は、前記第1状態を判定した正常判定情報を有し、
前記第2判定部は、前記正常判定情報と前記制御部から読み出した前記判定情報に基づいて前記第1状態を判定した前記制御部の情報処理の異常を判定する請求項1に記載の異常診断システム。
The processing information includes determination information for determining the first state,
The normal processing information includes normal determination information that determines the first state,
The abnormality diagnosis according to claim 1 , wherein the second determination unit determines an abnormality in information processing of the control unit that has determined the first state based on the normal determination information and the determination information read from the control unit. system.
前記処理情報は、前記制御対象を制御する制御情報を有し、
前記正常処理情報は、前記制御対象を制御する正常制御情報を有し、
前記第2判定部は、前記正常制御情報と前記制御部から読み出した前記制御情報に基づいて前記制御対象を制御する前記制御部の情報処理の異常を判定する請求項1又は2に記載の異常診断システム。
The processing information includes control information for controlling the control target,
The normal processing information includes normal control information for controlling the control target,
The abnormality according to claim 1 or 2 , wherein the second determination unit determines an abnormality in information processing of the control unit that controls the control target based on the normal control information and the control information read from the control unit. Diagnostic system.
前記監視部は、複数の前記監視対象の状態を検出して、検出した各状態を情報処理した前記検出情報を出力し、  The monitoring unit detects a plurality of monitoring target states, and outputs the detection information obtained by processing each detected state,
前記制御部は、前記監視部が出力した複数の前記検出情報で示される複数の前記監視対象の状態の組み合わせを判定する第1情報処理と、前記第1情報処理による前記組み合わせの判定結果を示した情報に基づいて前記制御対象を制御する制御情報を取得する第2情報処理とを実行し、  The control unit indicates a first information process for determining a combination of a plurality of states to be monitored indicated by a plurality of the detection information output by the monitoring unit, and a determination result of the combination by the first information process. And second information processing for obtaining control information for controlling the control object based on the received information,
前記第2判定部は、前記第1情報処理の異常と、前記第2情報処理の異常とを個別に判定する請求項1ないし3のいずれか1項に記載の異常診断システム。  The abnormality diagnosis system according to any one of claims 1 to 3, wherein the second determination unit individually determines an abnormality in the first information processing and an abnormality in the second information processing.
状態が変化する監視対象である車両機器の第1状態を検出して情報処理した検出情報を出力する監視部と、
前記検出情報を受信して情報処理した処理情報に基づいて前記車両機器とは異なる別の車両機器である制御対象を制御する制御部と、
を備える車両における機器の異常を診断する異常診断装置であって、
前記制御部の情報処理の異常を判定する判定部を備え
前記判定部は、前記第1状態を前記監視部が正常に検出及び情報処理した場合の正常検出情報と、前記制御部が前記検出情報を正常に情報処理した場合の正常処理情報とを有し、
前記判定部は、
前記正常検出情報と前記監視部から読み出した前記検出情報に基づいて前記監視部の情報処理の異常を判定する第1判定部と、
前記第1判定部が前記監視部の情報処理の異常を判定した場合に前記正常検出情報を前記制御部に出力する出力部と、
前記正常処理情報と前記制御部から読み出した前記処理情報に基づいて前記制御部の情報処理の異常を判定する第2判定部とを有し、
前記第2判定部は、前記第1判定部の判定後に前記制御部の情報処理の異常を判定し、且つ、前記出力部が前記正常検出情報を出力した場合には、その正常検出情報を前記制御部が受信して情報処理した前記処理情報に基づいて前記制御部の情報処理の異常を判定することを特徴とする異常診断装置。
A monitoring unit that outputs detection information obtained by detecting and processing the first state of the vehicle device that is a monitoring target whose state changes;
A control unit that controls a control target that is another vehicle device different from the vehicle device based on the processing information received and processed by the detection information;
An abnormality diagnosis device for diagnosing an abnormality in a device in a vehicle comprising:
A determination unit for determining an abnormality in information processing of the control unit ;
The determination unit includes normal detection information when the monitoring unit normally detects and processes the first state, and normal processing information when the control unit normally processes the detection information. ,
The determination unit
A first determination unit that determines an abnormality in information processing of the monitoring unit based on the normal detection information and the detection information read from the monitoring unit;
An output unit that outputs the normality detection information to the control unit when the first determination unit determines an abnormality in information processing of the monitoring unit;
A second determination unit that determines an abnormality in information processing of the control unit based on the normal processing information and the processing information read from the control unit;
The second determination unit determines an abnormality in information processing of the control unit after the determination of the first determination unit, and the output unit outputs the normal detection information when the output unit outputs the normal detection information. An abnormality diagnosis apparatus characterized by determining an abnormality in information processing of the control unit based on the processing information received and processed by the control unit .
JP2015216547A 2015-11-04 2015-11-04 Abnormality diagnosis system and abnormality diagnosis device Expired - Fee Related JP6489316B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015216547A JP6489316B2 (en) 2015-11-04 2015-11-04 Abnormality diagnosis system and abnormality diagnosis device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015216547A JP6489316B2 (en) 2015-11-04 2015-11-04 Abnormality diagnosis system and abnormality diagnosis device

Publications (2)

Publication Number Publication Date
JP2017087793A JP2017087793A (en) 2017-05-25
JP6489316B2 true JP6489316B2 (en) 2019-03-27

Family

ID=58770128

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015216547A Expired - Fee Related JP6489316B2 (en) 2015-11-04 2015-11-04 Abnormality diagnosis system and abnormality diagnosis device

Country Status (1)

Country Link
JP (1) JP6489316B2 (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002091545A (en) * 2000-09-19 2002-03-29 Mitsubishi Motors Corp Device for diagnosing fault in electronic control system for vehicle
JP2007118701A (en) * 2005-10-26 2007-05-17 Fujitsu Ten Ltd Abnormality detection processor and abnormality detecting and processing method
US10007570B2 (en) * 2013-12-04 2018-06-26 Mitsubishi Electric Corporation Monitoring unit, control system, and computer readable medium

Also Published As

Publication number Publication date
JP2017087793A (en) 2017-05-25

Similar Documents

Publication Publication Date Title
CN107077407A (en) Controller of vehicle
CN111164577A (en) Vehicle-mounted electronic control device and abnormal time processing method thereof
KR20160071681A (en) Update of Electronic control device system and there of method
US10007570B2 (en) Monitoring unit, control system, and computer readable medium
CN110809755A (en) Electronic control system
JP2007198939A (en) Vehicle failure diagnosis device
US11820444B2 (en) Control device for vehicle-mounted equipment
JP2001123874A (en) Program rewrite system or memory rewriting system for electronic control device
JP7347380B2 (en) Processing devices, communication systems, and programs for processing devices
JP5582748B2 (en) Electronic control device for vehicle
JP6489316B2 (en) Abnormality diagnosis system and abnormality diagnosis device
JP2003172199A (en) Program rewriting system for vehicular electronic control unit
JP2007028411A (en) Network diagnosis apparatus and method
CN110719854B (en) Method for debugging air conditioning system, computer readable storage medium, and air conditioning system
JP2020173137A (en) Harness failure diagnosis device and harness failure diagnosis method
JP7081462B2 (en) Vehicle electronic control device and diagnostic system
US11726853B2 (en) Electronic control device
JP7211036B2 (en) Vehicle electronic controller and diagnostic system
JP7172748B2 (en) Electronic controller and inspection system
JP6946954B2 (en) Monitoring system
CN111602093A (en) Diagnostic unit
JP6396510B2 (en) Method and motor vehicle for remote control of functions of a motor vehicle by means of a vehicle external electronic unit
JP2006335150A (en) On-vehicle electronic control system, failure diagnosing method thereof, and on-vehicle electronic control device
JP2012126230A (en) Program rewriting system of electronic control unit
JP2007181061A (en) Electronic controller, can system and method for diagnosing failure of can system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20180119

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20181017

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20181018

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20181210

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: 20190130

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190212

R151 Written notification of patent or utility model registration

Ref document number: 6489316

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees