JP2016215884A - Electronic control device for vehicle - Google Patents

Electronic control device for vehicle Download PDF

Info

Publication number
JP2016215884A
JP2016215884A JP2015104200A JP2015104200A JP2016215884A JP 2016215884 A JP2016215884 A JP 2016215884A JP 2015104200 A JP2015104200 A JP 2015104200A JP 2015104200 A JP2015104200 A JP 2015104200A JP 2016215884 A JP2016215884 A JP 2016215884A
Authority
JP
Japan
Prior art keywords
abnormality
vehicle
diagnosis
information
nonvolatile memory
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2015104200A
Other languages
Japanese (ja)
Other versions
JP6180462B2 (en
Inventor
薫 今中
Kaoru Imanaka
薫 今中
義久 中谷
Yoshihisa Nakatani
義久 中谷
伸司 國定
Shinji Kunisada
伸司 國定
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2015104200A priority Critical patent/JP6180462B2/en
Publication of JP2016215884A publication Critical patent/JP2016215884A/en
Application granted granted Critical
Publication of JP6180462B2 publication Critical patent/JP6180462B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide an electronic control device for a vehicle capable of preventing abnormality diagnosis from being performed with a sensor, an electric load and the like removed from a vehicle, preventing new abnormality information from being stored in a nonvolatile memory during performing maintenance.SOLUTION: In the electronic control device for a vehicle, if it is determined that a vehicle diagnosis device outside a vehicle is connected after abnormality information by abnormality diagnosis means is stored in a data rewritable nonvolatile memory, new abnormality information is inhibited from being stored in the nonvolatile memory even though the abnormality diagnosis means newly diagnoses that a diagnosis object has abnormality.SELECTED DRAWING: Figure 4

Description

本発明は、異常の診断を行う車載用の電子制御装置に関するものである。   The present invention relates to an in-vehicle electronic control device that diagnoses an abnormality.

上記のような車載用の電子制御装置について、下記の特許文献1及び特許文献2に記載された車載用の電子制御装置が知られている。特許文献1の技術は、車両の製造中において、異常の診断が行われて、異常情報が不揮発性メモリに記憶されることを防止する技術である。そのため、特許文献1の技術では、予め定められた全ての機器が電子制御装置に接続された状態になり、異常の診断により全ての診断対象が正常状態であると判定されたときに、異常の診断による異常情報を不揮発性メモリに記憶することを許可するように構成されている。   Regarding the on-vehicle electronic control device as described above, the on-vehicle electronic control device described in Patent Literature 1 and Patent Literature 2 below is known. The technique of Patent Document 1 is a technique for preventing abnormality information from being stored in a nonvolatile memory by performing abnormality diagnosis during manufacture of a vehicle. Therefore, in the technique of Patent Document 1, when all the predetermined devices are connected to the electronic control device, and it is determined by the abnormality diagnosis that all diagnosis targets are in the normal state, It is configured to allow storage of abnormality information by diagnosis in a nonvolatile memory.

特許文献2の技術は、不揮発性メモリに記憶されている異常情報を読み出すため、電子制御装置が車両から取り外されて、電子制御装置に電力が供給されたとき、異常の診断により多くの異常が診断され、不揮発性メモリに記憶されることを防止する技術である。そのため、特許文献2の技術では、電源投入後、多重通信メッセージの受信があった場合に、電子制御装置がメンテナンス等のために車両から取り外されておらず、車両に正常に搭載されている状態であると判定し、異常の診断による異常情報を不揮発性メモリに記憶することを許可するように構成されている。   The technique of Patent Document 2 reads out abnormality information stored in a non-volatile memory. Therefore, when the electronic control device is removed from the vehicle and power is supplied to the electronic control device, many abnormalities are detected by abnormality diagnosis. This is a technique for preventing diagnosis and storage in a nonvolatile memory. Therefore, in the technique of Patent Document 2, when a multiplex communication message is received after power-on, the electronic control device is not removed from the vehicle for maintenance or the like and is normally mounted on the vehicle. It is determined that the error information is stored in the non-volatile memory.

特開2009−36165号公報JP 2009-36165 A 特開2007−196708号公報JP 2007-196708 A

ところで、故障警告灯の点灯などにより、車両がカーディーラや修理工場に持ち込まれた後、異常原因の解析を行うために、センサや電気負荷等を車両から取り外す場合がある。このとき、新たな異常情報を不揮発性メモリに記憶することが許可されていると、ユーザの使用中に発生した異常情報以外にも不要な異常情報が不揮発性メモリに記憶されたり、ユーザの使用中に発生した異常情報が上書きされたりする場合があった。そのため、異常原因の解析が難しくなる問題があった。
しかしながら、特許文献1及び特許文献2の技術は、このような問題に対応し得ない。
By the way, after the vehicle is brought into a car dealer or a repair shop due to lighting of a failure warning light, a sensor or an electric load may be removed from the vehicle in order to analyze the cause of the abnormality. At this time, if it is permitted to store new abnormality information in the nonvolatile memory, unnecessary abnormality information other than the abnormality information generated during the use of the user is stored in the nonvolatile memory, or the user uses it. In some cases, the error information that occurred inside was overwritten. Therefore, there is a problem that it becomes difficult to analyze the cause of the abnormality.
However, the techniques of Patent Document 1 and Patent Document 2 cannot cope with such a problem.

本発明は、上記のような問題を解決するためになされたものであり、メンテナンスを行う際に、センサや電気負荷等が車両から取り外された状態で、異常の診断が行われ、新たな異常情報が不揮発性メモリに記憶されることを防止できる車載用の電子制御装置を提供することを目的とする。   The present invention has been made to solve the above-described problems. When maintenance is performed, an abnormality is diagnosed in a state where a sensor, an electric load, etc. are removed from the vehicle, and a new abnormality is detected. An object is to provide an in-vehicle electronic control device that can prevent information from being stored in a nonvolatile memory.

本発明に係る車載用の電子制御装置は、データの書き換えが可能な不揮発性メモリと、車両に搭載された電子機器からの情報に基づいて、診断対象について異常の診断を行う異常診断手段と、前記異常診断手段により前記診断対象が異常と診断された場合に、当該異常と診断された前記診断対象の診断結果に係る情報である異常情報を前記不揮発性メモリに記憶する異常記憶手段と、車両外部の車両診断装置にデータ通信可能に接続されて、異常の診断に係る情報についてデータ通信を行う外部接続手段と、を備えた車載用の電子制御装置であって、前記異常記憶手段は、前記異常情報を前記不揮発性メモリに記憶した後、前記車両診断装置が前記外部接続手段に接続されたと判定した場合に、前記異常診断手段により前記診断対象が新たに異常と診断されても、新たな前記異常情報を前記不揮発性メモリに記憶することを禁止するものである。   An in-vehicle electronic control device according to the present invention includes a nonvolatile memory capable of rewriting data, an abnormality diagnosis means for diagnosing an abnormality for a diagnosis target based on information from an electronic device mounted on the vehicle, An abnormality storage means for storing, in the nonvolatile memory, abnormality information that is information related to a diagnosis result of the diagnosis object diagnosed as an abnormality when the diagnosis object is diagnosed as an abnormality by the abnormality diagnosis means; An external connection means that is connected to an external vehicle diagnosis apparatus so as to be able to perform data communication and performs data communication with respect to information relating to an abnormality diagnosis. After storing the abnormality information in the non-volatile memory, when it is determined that the vehicle diagnosis apparatus is connected to the external connection unit, the diagnosis target is newly set by the abnormality diagnosis unit. Be diagnosed as normal, it is to prohibit the storing of new the abnormality information in the non-volatile memory.

車両がカーディーラや修理工場に持ち込まれた後、異常の状態を確認するために、通常、最初に車両外部の車両診断装置が電子制御装置に接続され、車両診断装置により不揮発性メモリに記憶されている異常情報が確認される。本発明に係る車載用の電子制御装置によれば、この車両診断装置が接続された段階で、新たな異常情報が不揮発性メモリに記憶されることを禁止することができる。すなわち、メンテナンスを行う最初の段階で、自動的に、確実に新たな異常情報が不揮発性メモリに記憶されることを禁止でき、異常原因の解析等、その後のメンテナンスにおいて、新たな異常情報が不揮発性メモリに記憶されないようにできる。そのため、メンテナンス中に、ユーザの使用中に発生した異常情報以外にも不要な異常情報が不揮発性メモリに記憶されることを防止することができ、また、ユーザの使用中に発生した異常情報が上書きされることを防止できる。よって、メンテナンスにおいて、異常原因の解析が難しくなることを防止できる。   After a vehicle is brought into a card dealer or repair shop, usually a vehicle diagnostic device outside the vehicle is first connected to an electronic control device and stored in a non-volatile memory by the vehicle diagnostic device. The abnormal information is confirmed. According to the on-vehicle electronic control device according to the present invention, new abnormality information can be prohibited from being stored in the nonvolatile memory when the vehicle diagnostic device is connected. In other words, at the initial stage of maintenance, new abnormality information can be automatically and reliably prohibited from being stored in the nonvolatile memory, and in the subsequent maintenance such as analysis of the cause of abnormality, the new abnormality information is non-volatile. It can be prevented from being stored in the memory. Therefore, during maintenance, it is possible to prevent unnecessary abnormality information from being stored in the nonvolatile memory other than the abnormality information that occurred during the use of the user, and the abnormality information that occurred during the use of the user It can be prevented from being overwritten. Therefore, it is possible to prevent the cause of the abnormality from being difficult to analyze during maintenance.

本発明の実施の形態1に係る車載用の電子制御装置のブロック図である。It is a block diagram of the vehicle-mounted electronic control apparatus which concerns on Embodiment 1 of this invention. 本発明の実施の形態1に係る車載用の電子制御装置のハードウェア構成図である。It is a hardware block diagram of the vehicle-mounted electronic control apparatus which concerns on Embodiment 1 of this invention. 本発明の実施の形態1に係る車載用の電子制御装置の処理を示すフローチャートである。It is a flowchart which shows the process of the vehicle-mounted electronic control apparatus which concerns on Embodiment 1 of this invention. 本発明の実施の形態1に係る車載用の電子制御装置の処理を示すフローチャートである。It is a flowchart which shows the process of the vehicle-mounted electronic control apparatus which concerns on Embodiment 1 of this invention.

実施の形態1.
実施の形態1に係る車載用の電子制御装置1(以下、単に電子制御装置1と称す)について図面を参照して説明する。図1は、電子制御装置1に係るブロック図であり、図2は、電子制御装置1に係るハードウェア構成図であり、図3及び図4は、電子制御装置1の処理を示すフローチャートである。
Embodiment 1 FIG.
A vehicle-mounted electronic control device 1 (hereinafter simply referred to as an electronic control device 1) according to Embodiment 1 will be described with reference to the drawings. FIG. 1 is a block diagram related to the electronic control device 1, FIG. 2 is a hardware configuration diagram related to the electronic control device 1, and FIGS. 3 and 4 are flowcharts illustrating processing of the electronic control device 1. .

電子制御装置1は、図1に示すように、データの書き換えが可能な不揮発性メモリ2と、異常診断手段10と、異常記憶手段11と、外部接続手段12と、を備えている。異常診断手段10は、車両5に搭載された電子機器4(以下、車載電子機器4と称す)からの情報に基づいて、診断対象6について異常の診断を行う。異常記憶手段11は、異常診断手段10により診断対象6が異常と診断された場合に、当該異常と診断された診断対象6の診断結果に係る情報である異常情報を不揮発性メモリ2に記憶する。外部接続手段12は、車両5外部の車両診断装置30にデータ通信可能に接続されて、異常の診断に係る情報についてデータ通信を行う。このような構成において、異常記憶手段11は、異常情報を不揮発性メモリ2に記憶した後、車両診断装置30が外部接続手段12に接続されたと判定した場合に、異常診断手段10により診断対象6が新たに異常と診断されても、新たな異常情報を不揮発性メモリ2に記憶することを禁止する許可切替処理を行うように構成されている。   As shown in FIG. 1, the electronic control device 1 includes a nonvolatile memory 2 capable of rewriting data, an abnormality diagnosis unit 10, an abnormality storage unit 11, and an external connection unit 12. The abnormality diagnosis unit 10 diagnoses an abnormality of the diagnosis target 6 based on information from an electronic device 4 mounted on the vehicle 5 (hereinafter referred to as an in-vehicle electronic device 4). When the diagnosis target 6 is diagnosed as abnormal by the abnormality diagnosis unit 10, the abnormality storage unit 11 stores abnormality information, which is information related to the diagnosis result of the diagnosis target 6 diagnosed as the abnormality, in the nonvolatile memory 2. . The external connection means 12 is connected to the vehicle diagnosis device 30 outside the vehicle 5 so as to be able to perform data communication, and performs data communication regarding information related to abnormality diagnosis. In such a configuration, the abnormality storage unit 11 stores the abnormality information in the non-volatile memory 2 and then determines that the vehicle diagnosis apparatus 30 is connected to the external connection unit 12, so that the abnormality diagnosis unit 10 performs diagnosis 6 Even if a new abnormality is diagnosed, the permission switching process for prohibiting the storage of new abnormality information in the nonvolatile memory 2 is performed.

電子制御装置1の異常診断手段10、異常記憶手段11、及び外部接続手段12等の各機能は、電子制御装置1が備えた処理回路により実現される。具体的には、電子制御装置1は、図2に示すように、処理回路として、CPU(Central Processing Unit)等の演算処理装置15(コンピュータ)、演算処理装置15とデータのやり取りする記憶装置14、演算処理装置15に外部の情報を入力する入力インターフェイス回路16(以下、単に入力回路16と称す)、及び演算処理装置15から外部に信号を出力する出力インターフェイス回路20(以下、単に出力回路20と称す)、及び通信回路21等を備えている。   Each function of the abnormality diagnosis means 10, the abnormality storage means 11, the external connection means 12, and the like of the electronic control device 1 is realized by a processing circuit provided in the electronic control device 1. Specifically, as shown in FIG. 2, the electronic control device 1 includes, as a processing circuit, an arithmetic processing device 15 (computer) such as a CPU (Central Processing Unit), and a storage device 14 that exchanges data with the arithmetic processing device 15. An input interface circuit 16 for inputting external information to the arithmetic processing unit 15 (hereinafter simply referred to as the input circuit 16), and an output interface circuit 20 for outputting a signal from the arithmetic processing unit 15 to the outside (hereinafter simply referred to as the output circuit 20). And a communication circuit 21 and the like.

電子制御装置1は、記憶装置14として、演算処理装置15からデータを読み出し及び書き込みが可能に構成されたRAM18(Random Access Memory)や、演算処理装置15からデータを読み出し可能に構成されたROM17(Read Only Memory)や、演算処理装置15からデータの読み出し及び書き込みが可能であって不揮発性のEEPROM(Electrically Erasable Programmable Read-Only Memory)等の不揮発性メモリ2等を備えている。入力回路16は、各種のセンサ25等の車載電子機器4が接続され、車載電子機器4の電気信号を演算処理装置15に入力するA/D変換器等を備えている。出力回路20は、各種の電気負荷26等の車載電子機器4が接続され、これらの車載電子機器4に制御信号や駆動電流等の電気信号を出力する駆動回路等を備えている。   As the storage device 14, the electronic control device 1 includes a RAM 18 (Random Access Memory) configured to be able to read and write data from the arithmetic processing device 15, and a ROM 17 (configured to be able to read data from the arithmetic processing device 15). Read only memory) and a nonvolatile memory 2 such as a nonvolatile EEPROM (Electrically Erasable Programmable Read-Only Memory) that can read and write data from the arithmetic processing unit 15 are provided. The input circuit 16 is connected to an in-vehicle electronic device 4 such as various sensors 25 and includes an A / D converter that inputs an electric signal of the in-vehicle electronic device 4 to the arithmetic processing device 15. The output circuit 20 is connected to in-vehicle electronic devices 4 such as various electric loads 26 and includes a drive circuit that outputs electric signals such as control signals and drive currents to these in-vehicle electronic devices 4.

また、通信回路21は、ナビゲーション装置24等の他の車載用の電子制御装置及び情報端末装置や、車両診断装置30等の車両5外部の情報端末装置等と、通信線27を介して接続され、CAN(Controller Area Network)等の通信プロトコルに基づいて有線通信を行う。車両診断装置30は、コネクタ22、23を介して着脱可能に通信線27に接続される。なお、通信回路21は、無線通信により車両診断装置30等とデータ通信可能に接続されてもよい。   The communication circuit 21 is connected to other vehicle-mounted electronic control devices and information terminal devices such as the navigation device 24 and information terminal devices outside the vehicle 5 such as the vehicle diagnostic device 30 via the communication line 27. Wired communication is performed based on a communication protocol such as CAN (Controller Area Network). The vehicle diagnostic device 30 is detachably connected to the communication line 27 via connectors 22 and 23. Note that the communication circuit 21 may be connected to the vehicle diagnostic device 30 and the like so as to be able to perform data communication by wireless communication.

そして、電子制御装置1の異常診断手段10、異常記憶手段11、及び外部接続手段12の各機能は、演算処理装置15が、ROM17や不揮発性メモリ2等の記憶装置14に記憶されたソフトウェア(プログラム)を実行し、記憶装置14、入力回路16、出力回路20及び通信回路21等の電子制御装置1の他のハードウェアと協働することにより実現される。   The functions of the abnormality diagnosis unit 10, the abnormality storage unit 11, and the external connection unit 12 of the electronic control device 1 are the same as the software stored in the storage device 14 such as the ROM 17 and the nonvolatile memory 2 ( The program is implemented by cooperating with other hardware of the electronic control device 1 such as the storage device 14, the input circuit 16, the output circuit 20, and the communication circuit 21.

電子制御装置1は、車両5に搭載される電子制御装置とされ、内燃機関の電子制御装置や、変速装置の電子制御装置や、ブレーキの電子制御装置や、メータの電子制御装置や、ドアの電子制御装置や、エアコンディショナーの電子制御装置等とされる。本実施の形態では、電子制御装置1が、内燃機関の電子制御装置とされている場合を例に説明する。   The electronic control device 1 is an electronic control device mounted on the vehicle 5, and is an electronic control device for an internal combustion engine, an electronic control device for a transmission, an electronic control device for a brake, an electronic control device for a meter, An electronic control device, an electronic control device for an air conditioner, or the like is used. In the present embodiment, a case where the electronic control device 1 is an electronic control device for an internal combustion engine will be described as an example.

電子制御装置1は、入力回路16、出力回路20及び通信回路21を介して各種の車載電子機器4と電気信号を伝達可能に接続されている。本実施の形態では、入力回路16に接続されるセンサ25やスイッチ等の車載電子機器4には、吸入空気量センサや、クランク角センサ等の回転速度センサや、スロットルポジションセンサや、水温センサや、酸素センサや、車速センサや、イグニッションスイッチ等が備えられる。出力回路20に接続される電気負荷26等の車載電子機器4には、点火コイルや、燃料インジェクタのソレノイドバルブや、可変バルブタイミング機構のソレノイドバルブや、電子制御スロットルの駆動モータや、燃料ポンプの駆動モータや、酸素センサのヒータや、故障警告灯等が備えられている。   The electronic control device 1 is connected to various on-vehicle electronic devices 4 via an input circuit 16, an output circuit 20, and a communication circuit 21 so as to be able to transmit electrical signals. In the present embodiment, the vehicle-mounted electronic device 4 such as a sensor 25 or a switch connected to the input circuit 16 includes an intake air amount sensor, a rotation speed sensor such as a crank angle sensor, a throttle position sensor, a water temperature sensor, An oxygen sensor, a vehicle speed sensor, an ignition switch, and the like are provided. The in-vehicle electronic device 4 such as the electric load 26 connected to the output circuit 20 includes an ignition coil, a solenoid valve for a fuel injector, a solenoid valve for a variable valve timing mechanism, a drive motor for an electronic control throttle, and a fuel pump. A drive motor, an oxygen sensor heater, a failure warning light, and the like are provided.

異常診断手段10は、これら車載電子機器4からの情報に基づいて、診断対象6について異常の診断の処理を行う。診断対象6には、センサ25や電気負荷26等の車載電子機器4そのものや、車載電子機器4からの情報に基づいて間接的又は直接的に異常を診断可能な機械的な車載機器7が含まれる。センサ25の異常には、センサ25の故障や特性変動や、センサ25の接続線の地絡や天絡や断線などがある。電気負荷26の異常には、アクチュエータの故障や、応答性等の特性変動等がある。機械的な車載機器7の異常には、内燃機関の排気管に設けられた触媒の劣化や、吸気マニホールドや燃料タンクに生じた穴や、各種バルブの固着等がある。異常診断手段10が実行する異常の診断には、いわゆるOBD(On Board Diagnostic)における各種の故障診断が含まれる。   The abnormality diagnosis means 10 performs an abnormality diagnosis process for the diagnosis target 6 based on the information from the in-vehicle electronic device 4. The diagnosis target 6 includes the in-vehicle electronic device 4 itself such as the sensor 25 and the electric load 26 and the mechanical in-vehicle device 7 capable of diagnosing abnormality indirectly or directly based on information from the in-vehicle electronic device 4. It is. The abnormality of the sensor 25 includes failure of the sensor 25, characteristic fluctuation, ground fault, power fault, disconnection, etc. of the connection line of the sensor 25. The abnormality of the electric load 26 includes a failure of the actuator, a characteristic variation such as responsiveness, and the like. Abnormalities in the mechanical on-vehicle equipment 7 include deterioration of the catalyst provided in the exhaust pipe of the internal combustion engine, holes formed in the intake manifold and the fuel tank, and sticking of various valves. The abnormality diagnosis performed by the abnormality diagnosis means 10 includes various types of failure diagnosis in so-called OBD (On Board Diagnostic).

異常診断手段10は、車両5のイグニッションスイッチがオンされ、電子制御装置1及び車載電子機器4に電力が供給されている場合に、異常の診断を行う。また、異常診断手段10は、診断対象6毎に予め設定された診断実行条件が成立した場合に、診断実行条件が成立した診断対象6について異常の診断を行う。異常診断手段10は、センサ25の出力信号を受動的にモニタして異常の診断を行ったり、診断のためにアクチュエータ等の電気負荷26を能動的に制御し、その時のセンサ25の出力信号をモニタして異常の診断を行ったりする。   The abnormality diagnosis unit 10 diagnoses an abnormality when the ignition switch of the vehicle 5 is turned on and power is supplied to the electronic control device 1 and the vehicle-mounted electronic device 4. Further, the abnormality diagnosis unit 10 diagnoses an abnormality for the diagnosis target 6 for which the diagnosis execution condition is satisfied when a diagnosis execution condition set in advance for each diagnosis target 6 is satisfied. The abnormality diagnosis means 10 passively monitors the output signal of the sensor 25 to diagnose abnormality, and actively controls the electric load 26 such as an actuator for the diagnosis, and outputs the output signal of the sensor 25 at that time. Monitor to diagnose abnormalities.

異常診断手段10は、診断対象6がセンサ25である場合は、例えば、各センサ25の出力値が、センサ25毎に予め定めた正常範囲内にあるか否かを判定し、正常範囲内にあれば診断対象6のセンサ25が正常であると診断し、正常範囲外にあれば診断対象6のセンサ25が異常であると診断する。   When the diagnosis target 6 is the sensor 25, the abnormality diagnosis unit 10 determines, for example, whether the output value of each sensor 25 is within a normal range predetermined for each sensor 25, and is within the normal range. If there is, it is diagnosed that the sensor 25 of the diagnosis target 6 is normal, and if it is outside the normal range, it is diagnosed that the sensor 25 of the diagnosis target 6 is abnormal.

また、異常診断手段10は、診断対象6がアクチュエータ等の電気負荷26である場合は、例えば、電気負荷26に対する電子制御装置1の制御信号と、電気負荷26の状態を検出するセンサ25の出力信号との関係から、診断対象6の電気負荷26が正常又は異常であるか診断する。例えば、電気負荷26を所定の状態に変化させる制御信号を与えたにもかかわらず、電気負荷26が所定の状態に変化しない場合は、電気負荷26が異常であると診断する。   Further, when the diagnosis target 6 is an electric load 26 such as an actuator, the abnormality diagnosis unit 10 outputs, for example, a control signal of the electronic control device 1 for the electric load 26 and an output of the sensor 25 that detects the state of the electric load 26. From the relationship with the signal, it is diagnosed whether the electrical load 26 of the diagnosis target 6 is normal or abnormal. For example, if the electric load 26 does not change to the predetermined state even though the control signal for changing the electric load 26 to the predetermined state is given, it is diagnosed that the electric load 26 is abnormal.

また、異常診断手段10は、診断対象6が機械的な車載機器7である場合は、例えば、機械的な車載機器7に影響を与える電気負荷26に対する電子制御装置1の制御信号、及び機械的な車載機器7の状態を間接的又は直接的に検出できるセンサ25の出力信号の一方又は双方に基づいて、診断対象6の機械的な車載機器7が正常又は異常であるか診断する。例えば、電気負荷26に通常の制御信号を与えているにもかかわらず、センサ25の出力信号が、機械的な車載機器7の状態が異常であることを示す値である場合は、機械的な車載機器7が異常であると診断する。   Further, when the diagnosis target 6 is a mechanical in-vehicle device 7, the abnormality diagnosis unit 10, for example, controls the control signal of the electronic control device 1 for the electric load 26 that affects the mechanical in-vehicle device 7, and mechanical Based on one or both of the output signals of the sensor 25 capable of indirectly or directly detecting the state of the in-vehicle device 7, it is diagnosed whether the mechanical in-vehicle device 7 of the diagnosis target 6 is normal or abnormal. For example, if the output signal of the sensor 25 is a value indicating that the state of the mechanical in-vehicle device 7 is abnormal even though a normal control signal is given to the electric load 26, the mechanical load Diagnose that the in-vehicle device 7 is abnormal.

異常診断手段10は、異常と診断した場合は、異常と診断した診断対象6の識別符号や、異常の種類を示す識別符号などの診断結果に係る異常情報を、RAM18等の揮発性メモリに記憶する。また、異常診断手段10は、異常と診断したときの、診断に係るセンサ25の出力信号や電気負荷26の制御信号の時系列データを、診断結果に係る異常情報として、RAM18等の揮発性メモリに記憶するように構成されてもよい。   When the abnormality diagnosis unit 10 diagnoses an abnormality, the abnormality diagnosis unit 10 stores abnormality information related to a diagnosis result such as an identification code of the diagnosis target 6 diagnosed as an abnormality and an identification code indicating the type of abnormality in a volatile memory such as the RAM 18. To do. In addition, the abnormality diagnosis means 10 uses the time series data of the output signal of the sensor 25 and the control signal of the electric load 26 when diagnosing an abnormality as volatile memory such as the RAM 18 as abnormality information related to the diagnosis result. You may comprise so that it may memorize | store.

異常記憶手段11は、異常診断手段10により診断対象6が異常と診断された場合に、当該異常と診断された診断対象6の診断結果に係る情報である異常情報を不揮発性メモリ2に記憶する。異常記憶手段11は、揮発性メモリに記憶されている異常情報を、不揮発性メモリ2にコピーして記憶するように構成されている。また、異常記憶手段11は、外部接続手段12に接続されている車両診断装置30から、不揮発性メモリ2に記憶されている異常情報を消去する要求があった場合に、消去の要求があった異常情報を、不揮発性メモリ2から消去するように構成されている。   When the diagnosis target 6 is diagnosed as abnormal by the abnormality diagnosis unit 10, the abnormality storage unit 11 stores abnormality information, which is information related to the diagnosis result of the diagnosis target 6 diagnosed as the abnormality, in the nonvolatile memory 2. . The abnormality storage unit 11 is configured to copy and store abnormality information stored in the volatile memory in the nonvolatile memory 2. In addition, the abnormality storage unit 11 has a request for deletion when there is a request from the vehicle diagnosis apparatus 30 connected to the external connection unit 12 to delete the abnormality information stored in the nonvolatile memory 2. The abnormality information is configured to be erased from the nonvolatile memory 2.

不揮発性メモリ2は、データの書き換えが可能であり、電源を供給しなくても記憶を保持する不揮発性の記憶装置である。不揮発性メモリ2には、EEPROMの他、フラッシュメモリなどを用いることができる。なお、揮発性メモリとは、電源を供給しないと、記憶が消去されるメモリである。   The nonvolatile memory 2 is a nonvolatile storage device that can rewrite data and retains memory without supplying power. As the nonvolatile memory 2, a flash memory or the like can be used in addition to the EEPROM. Note that a volatile memory is a memory whose memory is erased when power is not supplied.

外部接続手段12は、車両5外部の車両診断装置30にデータ通信可能に接続されて、異常の診断に係る情報についてデータ通信を行う。本実施の形態では、車両5側には、通信回路21に接続された通信線27に、車両5外部の情報端末装置と接続するための車両側コネクタ22が備えられており、車両側コネクタ22に、車両診断装置30のコネクタ23が接続されて、電子制御装置1と車両診断装置30とが通信線27を介して接続される。外部接続手段12は、車両診断装置30から、車両診断装置30の識別信号を受信した場合に、車両診断装置30とデータ通信可能に接続する。   The external connection means 12 is connected to the vehicle diagnosis device 30 outside the vehicle 5 so as to be able to perform data communication, and performs data communication regarding information related to abnormality diagnosis. In the present embodiment, on the vehicle 5 side, a communication line 27 connected to the communication circuit 21 is provided with a vehicle-side connector 22 for connecting to an information terminal device outside the vehicle 5. Further, the connector 23 of the vehicle diagnostic device 30 is connected, and the electronic control device 1 and the vehicle diagnostic device 30 are connected via the communication line 27. When the external connection means 12 receives an identification signal of the vehicle diagnostic device 30 from the vehicle diagnostic device 30, it connects to the vehicle diagnostic device 30 so that data communication is possible.

車両診断装置30は、通常は車両5に搭載されていない、車両5外部の情報端末装置であって、電子制御装置1側と異常の診断に係る情報についてデータ通信を行う。車両診断装置30は、データ通信を行う異常の診断に係る情報として、不揮発性メモリ2や揮発性メモリに記憶されている異常情報を、電子制御装置1側に要求して受け取ったり、不揮発性メモリ2に記憶されている異常情報を消去する要求を、電子制御装置1側に要求したり、特定のセンサ25の出力信号や電気負荷26の制御信号等のリアルタイムの情報を、電子制御装置1側に要求して受け取ったりする。車両診断装置30と電子制御装置1との間の情報のやり取りは、OBDの規格等に準じて行われる。   The vehicle diagnosis device 30 is an information terminal device outside the vehicle 5 that is not normally mounted on the vehicle 5, and performs data communication with the electronic control device 1 on information related to abnormality diagnosis. The vehicle diagnostic device 30 requests the electronic control device 1 to receive abnormality information stored in the nonvolatile memory 2 or the volatile memory as information related to abnormality diagnosis for data communication, 2 is requested to the electronic control device 1 side, or real-time information such as an output signal of a specific sensor 25 or a control signal of the electric load 26 is transmitted to the electronic control device 1 side. Request and receive. Information exchange between the vehicle diagnostic device 30 and the electronic control device 1 is performed in accordance with the OBD standard or the like.

車両診断装置30は、異常の内容を確認して、車両5のメンテナンス等を行うために用いられる。車両診断装置30は、通常、カーディーラや、修理工場などに備えられている。故障警告灯が点灯した場合や、インスツルメントパネルのディスプレイに故障情報が表示された場合や、ユーザが内燃機関や変速装置などの車両5の異常を感じた場合などに、車両5がカーディーラや修理工場に持ち込まれ、車両診断装置30が、車両5側に接続される。車両診断装置30は、マイクロコンピュータ及び表示装置(ディスプレイ)を備えた専用の携帯型の情報端末装置とされたり、メンテナンス用のプログラムがインストールされ、CAN等の通信装置が備えられたパーソナルコンピュータとされたりする。   The vehicle diagnostic device 30 is used to check the content of the abnormality and perform maintenance of the vehicle 5 or the like. The vehicle diagnostic device 30 is usually provided in a car dealer or a repair shop. When the failure warning light is turned on, when failure information is displayed on the instrument panel display, or when the user feels an abnormality in the vehicle 5 such as the internal combustion engine or the transmission, the vehicle 5 Or brought into a repair shop, and the vehicle diagnostic device 30 is connected to the vehicle 5 side. The vehicle diagnostic device 30 is a dedicated portable information terminal device including a microcomputer and a display device (display), or a personal computer in which a maintenance program is installed and a communication device such as CAN is provided. Or

車両5がカーディーラや修理工場に持ち込まれた後、異常原因の解析を行うために、センサ25や電気負荷26等の車載電子機器4や、機械的な車載機器7を、車両5から取り外した状態で、異常診断手段10により異常の診断を行わせ、診断結果を車両診断装置30で確認する場合がある。このとき、異常記憶手段11により新たな異常情報が不揮発性メモリ2に記憶されることが許可されていると、ユーザの使用中に発生した異常情報以外にも不要な異常情報が不揮発性メモリ2に記憶されたり、ユーザの使用中に発生した異常情報が上書きされたりする。そのため、メンテナンスにおいて、異常原因の解析が難しくなる問題があった。   After the vehicle 5 was brought into a card dealer or repair shop, the vehicle-mounted electronic device 4 such as the sensor 25 and the electric load 26 and the mechanical vehicle-mounted device 7 were removed from the vehicle 5 in order to analyze the cause of the abnormality. In some cases, the abnormality diagnosis unit 10 may diagnose an abnormality and the vehicle diagnosis apparatus 30 may check the diagnosis result. At this time, if new abnormality information is permitted to be stored in the nonvolatile memory 2 by the abnormality storage means 11, unnecessary abnormality information other than the abnormality information generated during use by the user is stored in the nonvolatile memory 2. Or abnormal information generated during use by the user is overwritten. Therefore, there is a problem that it becomes difficult to analyze the cause of the abnormality in maintenance.

そこで、異常記憶手段11は、異常情報を不揮発性メモリ2に記憶した後、車両診断装置30が外部接続手段12に接続されたと判定した場合に、異常診断手段10により診断対象6が新たに異常と診断されても、新たな異常情報を不揮発性メモリ2に記憶することを禁止する許可切替処理を行うように構成されている。   Therefore, when the abnormality storage unit 11 stores the abnormality information in the nonvolatile memory 2 and determines that the vehicle diagnosis apparatus 30 is connected to the external connection unit 12, the abnormality diagnosis unit 10 newly sets the diagnosis target 6 to be abnormal. Even if it is diagnosed, the permission switching process for prohibiting the storage of new abnormality information in the nonvolatile memory 2 is performed.

車両5がカーディーラや修理工場に持ち込まれた後、異常の状態を確認するために、通常、最初に車両診断装置30が電子制御装置1に接続され、車両診断装置30により不揮発性メモリ2に記憶されている異常情報が確認される。上記の構成によれば、この車両診断装置30が接続された段階で、新たな異常情報が不揮発性メモリ2に記憶されることを禁止することができる。すなわち、メンテナンスを行う最初の段階で、自動的に、確実に新たな異常情報が不揮発性メモリ2に記憶されることを禁止でき、異常原因の解析等、その後のメンテナンスにおいて、新たな異常情報が不揮発性メモリ2に記憶されないようにできる。そのため、メンテナンス中に、ユーザの使用中に発生した異常情報以外にも不要な異常情報が不揮発性メモリ2に記憶されることを防止することができ、ユーザの使用中に発生した異常情報が上書きされることを防止できる。よって、メンテナンスにおいて、異常原因の解析が難しくなることを防止できる。   After the vehicle 5 is brought into a card dealer or repair shop, usually, the vehicle diagnostic device 30 is first connected to the electronic control device 1 in order to confirm the abnormal state, and the vehicle diagnostic device 30 stores it in the nonvolatile memory 2. The stored abnormality information is confirmed. According to said structure, it can prohibit that new abnormality information is memorize | stored in the non-volatile memory 2 in the step where this vehicle diagnostic apparatus 30 was connected. That is, at the initial stage of maintenance, new abnormality information can be automatically and reliably prohibited from being stored in the nonvolatile memory 2, and new abnormality information can be stored in subsequent maintenance such as analysis of the cause of the abnormality. It can be prevented from being stored in the nonvolatile memory 2. Therefore, during maintenance, it is possible to prevent unnecessary abnormality information from being stored in the nonvolatile memory 2 other than the abnormality information generated during use by the user, and the abnormality information generated during use by the user is overwritten. Can be prevented. Therefore, it is possible to prevent the cause of the abnormality from being difficult to analyze during maintenance.

本実施の形態では、異常診断手段10は、異常情報を不揮発性メモリ2に記憶した後、車両診断装置30が外部接続手段12に接続されたと判定した場合であっても、異常の診断を行うように構成されている。この構成によれば、メンテナンス中も、異常診断手段10による診断結果を車両診断装置30により確認することができ、異常が解消されていることの確認や、異常原因の解析を行ったりすることができる。   In the present embodiment, the abnormality diagnosis unit 10 performs abnormality diagnosis even when it is determined that the vehicle diagnosis apparatus 30 is connected to the external connection unit 12 after storing the abnormality information in the nonvolatile memory 2. It is configured as follows. According to this configuration, the diagnosis result by the abnormality diagnosis means 10 can be confirmed by the vehicle diagnostic device 30 even during maintenance, and confirmation that the abnormality has been solved and analysis of the cause of the abnormality can be performed. it can.

異常記憶手段11は、外部接続手段12に接続されている車両診断装置30から、不揮発性メモリ2に記憶されている異常情報を消去する要求を受けた場合に、不揮発性メモリ2から異常情報を消去すると共に、新たな異常情報を不揮発性メモリ2に記憶することを許可するように構成されている。メンテナンスが終了した場合や、異常が解消したことを最終確認するために、車両診断装置30により、不揮発性メモリ2に記憶されている異常情報が消去される場合がある。このとき、上記の構成によれば、自動的に、新たな異常情報を不揮発性メモリ2に記憶することの禁止を解除して許可することができる。よって、メンテナンスの終了後、確実に、ユーザの使用中おける異常診断手段10による診断結果の情報を不揮発性メモリ2に記憶させることができる。   The abnormality storage means 11 receives abnormality information from the nonvolatile memory 2 when receiving a request from the vehicle diagnosis apparatus 30 connected to the external connection means 12 to delete the abnormality information stored in the nonvolatile memory 2. While deleting, it is comprised so that new abnormality information may be memorize | stored in the non-volatile memory 2. FIG. When the maintenance is completed or in order to finally confirm that the abnormality has been resolved, the vehicle diagnostic device 30 may erase the abnormality information stored in the nonvolatile memory 2. At this time, according to the above configuration, the prohibition of storing new abnormality information in the nonvolatile memory 2 can be automatically canceled and permitted. Therefore, after the maintenance is completed, the information of the diagnosis result by the abnormality diagnosis means 10 during use by the user can be surely stored in the nonvolatile memory 2.

異常記憶手段11は、異常情報を不揮発性メモリ2に記憶することを、禁止又は許可するかの情報(本例では、後述する記憶許可フラグ)を、不揮発性メモリ2に記憶するように構成されている。この構成によれば、メンテナンスにより、電子制御装置1とバッテリとの接続が解除されたり、電子制御装置1が車両5から取り外されたりしても、異常情報の記憶の禁止又は許可の情報が消去されることを防止し、許可切替処理が正常に実行されるようにできる。   The abnormality storage means 11 is configured to store in the nonvolatile memory 2 information (in this example, a storage permission flag, which will be described later) that prohibits or permits storage of abnormality information in the nonvolatile memory 2. ing. According to this configuration, even if the connection between the electronic control device 1 and the battery is canceled or the electronic control device 1 is removed from the vehicle 5 due to maintenance, the prohibition or permission information of abnormal information is deleted. And the permission switching process can be executed normally.

以上で説明した、異常診断手段10、異常記憶手段11、及び外部接続手段12の処理を、図3及び図4に示すフローチャートのように構成することができる。図3及び図4のフローチャートの処理は、演算処理装置15が記憶装置14に記憶されたソフトウェア(プログラム)を実行することにより、例えば一定時間毎に実行される。   The processes of the abnormality diagnosis unit 10, the abnormality storage unit 11, and the external connection unit 12 described above can be configured as shown in the flowcharts of FIGS. The processing of the flowcharts of FIGS. 3 and 4 is executed at regular intervals, for example, when the arithmetic processing device 15 executes software (program) stored in the storage device 14.

図3の異常診断処理及び異常記憶処理に係るフローチャートについて説明する。まず、異常診断手段10は、ステップS110で、上述したように、車載電子機器4からの情報に基づいて、診断対象6について異常の診断の処理を行う。   A flowchart relating to the abnormality diagnosis process and the abnormality storage process of FIG. 3 will be described. First, in step S110, the abnormality diagnosis unit 10 performs an abnormality diagnosis process on the diagnosis target 6 based on the information from the in-vehicle electronic device 4 as described above.

次にステップS120にて、異常記憶手段11は、異常診断手段10により診断対象6が異常と診断されたか否かを判定し、異常と診断された診断対象6が無い場合(ステップS120:No)は、図3のフローチャートの処理を終了する。一方、異常記憶手段11は、異常と診断された診断対象6が有る場合(ステップS120:Yes)は、ステップS130において、不揮発性メモリ2への記憶許可フラグがセットされているか否かを判定する。ここで、記憶許可フラグは、不揮発性メモリ2への異常情報の記憶の許可又は禁止を表す、記憶装置14に記憶される情報である。記憶許可フラグがセットされている場合(例えば、記憶許可フラグに1が設定されている場合)は、不揮発性メモリ2への異常情報の記憶が許可されていることを表し、記憶許可フラグがセットされていない(クリアされている)場合(例えば、記憶許可フラグに0が設定されている場合)は、不揮発性メモリ2への異常情報の記憶が禁止されていることを表す。記憶許可フラグは、後述する図4のフローチャートの処理においてセット又はクリアされる。記憶許可フラグは、不揮発性メモリ2に記憶されるように構成されている。   Next, in step S120, the abnormality storage unit 11 determines whether or not the diagnosis target 6 is diagnosed as abnormal by the abnormality diagnosis unit 10, and when there is no diagnosis target 6 diagnosed as abnormal (step S120: No). Ends the process of the flowchart of FIG. On the other hand, when there is a diagnosis object 6 diagnosed as abnormal (step S120: Yes), the abnormality storage unit 11 determines whether or not the storage permission flag for the nonvolatile memory 2 is set in step S130. . Here, the storage permission flag is information stored in the storage device 14 that indicates permission or prohibition of storage of abnormality information in the nonvolatile memory 2. When the storage permission flag is set (for example, when the storage permission flag is set to 1), it indicates that storage of abnormal information in the nonvolatile memory 2 is permitted, and the storage permission flag is set. When it is not (cleared) (for example, when the storage permission flag is set to 0), it indicates that storage of abnormality information in the nonvolatile memory 2 is prohibited. The storage permission flag is set or cleared in the process of the flowchart of FIG. The storage permission flag is configured to be stored in the nonvolatile memory 2.

異常記憶手段11は、記憶許可フラグがセットされていない(クリアされている)と判定した場合(ステップS130:No)は、異常診断手段10による異常情報を、不揮発性メモリ2に記憶せず、図3のフローチャートの処理を終了する。一方、異常記憶手段11は、記憶許可フラグがセットされていると判定した場合(ステップS130:Yes)は、ステップS140に進み、異常診断手段10による異常情報を不揮発性メモリ2に記憶した後、図3のフローチャートの処理を終了する。   When the abnormality storage unit 11 determines that the storage permission flag is not set (cleared) (step S130: No), the abnormality storage unit 11 does not store the abnormality information by the abnormality diagnosis unit 10 in the nonvolatile memory 2, The process of the flowchart of FIG. On the other hand, if the abnormality storage means 11 determines that the storage permission flag is set (step S130: Yes), the process proceeds to step S140, and after storing the abnormality information by the abnormality diagnosis means 10 in the nonvolatile memory 2, The process of the flowchart of FIG.

次に、図4の許可切替処理に係るフローチャートについて説明する。まず、外部接続手段12は、ステップS310で、上述したように、車両診断装置30にデータ通信可能に接続されているか否かを判定する。本実施の形態では、外部接続手段12は、車両診断装置30の識別信号を受信している場合に、電子制御装置1とデータ通信可能に接続されていると判定するように構成されている。外部接続手段12は、車両診断装置30がデータ通信可能に接続されている場合に、車両診断装置30と異常の診断に係る情報についてデータ通信を行う。   Next, a flowchart according to the permission switching process of FIG. 4 will be described. First, in step S310, the external connection unit 12 determines whether or not it is connected to the vehicle diagnostic apparatus 30 so as to be able to perform data communication, as described above. In the present embodiment, the external connection unit 12 is configured to determine that it is connected to the electronic control unit 1 so as to be able to perform data communication when the identification signal of the vehicle diagnostic device 30 is received. The external connection means 12 performs data communication with the vehicle diagnosis apparatus 30 on information related to abnormality diagnosis when the vehicle diagnosis apparatus 30 is connected so as to be capable of data communication.

異常記憶手段11は、車両診断装置30が外部接続手段12に接続されていないと判定されている場合(ステップS310:No)は、図4のフローチャートの処理を終了する。一方、異常記憶手段11は、車両診断装置30が外部接続手段12に接続されていると判定されている場合(ステップS310:Yes)は、ステップS320において、不揮発性メモリ2への記憶許可フラグがセットされているか否かを判定する。異常記憶手段11は、記憶許可フラグがセットされていると判定した場合(ステップS320:Yes)は、ステップS330において、不揮発性メモリ2に異常情報が記憶されているか否かを判定する。異常記憶手段11は、不揮発性メモリ2に異常情報が記憶されていると判定した場合(ステップS330:Yes)は、ステップS340において、記憶許可フラグをクリアして(記憶許可フラグに0を設定する)、新たな異常情報を不揮発性メモリ2に記憶することを禁止する。一方、異常記憶手段11は、記憶許可フラグがセットされていない(クリアされている)と判定した場合(ステップS320:No)、又は不揮発性メモリ2に異常情報が記憶されていないと判定した場合(ステップS330:No)は、ステップS350に進む。   If it is determined that the vehicle diagnostic apparatus 30 is not connected to the external connection unit 12 (No at Step S310), the abnormality storage unit 11 ends the process of the flowchart of FIG. On the other hand, when it is determined that the vehicle diagnostic apparatus 30 is connected to the external connection unit 12 (step S310: Yes), the abnormality storage unit 11 sets a storage permission flag to the nonvolatile memory 2 in step S320. It is determined whether it is set. When it is determined that the storage permission flag is set (step S320: Yes), the abnormality storage unit 11 determines whether abnormality information is stored in the nonvolatile memory 2 in step S330. If the abnormality storage means 11 determines that the abnormality information is stored in the nonvolatile memory 2 (step S330: Yes), the abnormality storage means 11 clears the storage permission flag (sets the storage permission flag to 0) in step S340. ) And storing new abnormality information in the nonvolatile memory 2 is prohibited. On the other hand, the abnormality storage unit 11 determines that the storage permission flag is not set (cleared) (step S320: No), or determines that the abnormality information is not stored in the nonvolatile memory 2. In step S330: No, the process proceeds to step S350.

異常記憶手段11は、ステップS350において、外部接続手段12に接続されている車両診断装置30から、不揮発性メモリ2に記憶されている異常情報を消去する要求を受けているか否かを判定する。異常記憶手段11は、異常情報を消去する要求を受けていない場合(ステップS350:No)は、図4のフローチャートの処理を終了する。一方、異常記憶手段11は、異常情報を消去する要求を受けている場合(ステップS350:Yes)は、ステップS360において、不揮発性メモリ2から異常情報を消去すると共に、ステップS370において、記憶許可フラグをセットして(記憶許可フラグに1を設定する)、新たな異常情報を不揮発性メモリ2に記憶することを許可した後、図4のフローチャートの処理を終了する。   In step S350, the abnormality storage unit 11 determines whether or not a request for deleting the abnormality information stored in the nonvolatile memory 2 has been received from the vehicle diagnosis apparatus 30 connected to the external connection unit 12. When the abnormality storage unit 11 has not received a request to delete the abnormality information (step S350: No), the abnormality storage unit 11 ends the process of the flowchart of FIG. On the other hand, when the abnormality storage unit 11 has received a request to delete the abnormality information (step S350: Yes), the abnormality storage unit 11 deletes the abnormality information from the nonvolatile memory 2 in step S360, and in step S370, the storage permission flag. Is set (1 is set to the storage permission flag) and new abnormality information is permitted to be stored in the nonvolatile memory 2, and then the processing of the flowchart of FIG.

なお、本発明は、その発明の範囲内において、各実施の形態を自由に組み合わせたり、各実施の形態を適宜、変形、省略したりすることが可能である。   It should be noted that the present invention can be freely combined with each other within the scope of the invention, and each embodiment can be appropriately modified or omitted.

この発明は、異常の診断を行う車載用の電子制御装置に好適に利用することができる。   The present invention can be suitably used for a vehicle-mounted electronic control device that diagnoses an abnormality.

1:車載用の電子制御装置(電子制御装置)、2:不揮発性メモリ、4:電子機器(車載電子機器)、5:車両、6:診断対象、10:異常診断手段、11:異常記憶手段、12:外部接続手段、14:記憶装置、15:演算処理装置(コンピュータ)、21:通信回路、22、23:コネクタ、27:通信線、30:車両診断装置 1: vehicle-mounted electronic control device (electronic control device), 2: non-volatile memory, 4: electronic device (vehicle-mounted electronic device), 5: vehicle, 6: diagnosis target, 10: abnormality diagnosis means, 11: abnormality storage means , 12: external connection means, 14: storage device, 15: arithmetic processing device (computer), 21: communication circuit, 22, 23: connector, 27: communication line, 30: vehicle diagnostic device

Claims (2)

データの書き換えが可能な不揮発性メモリと、
車両に搭載された電子機器からの情報に基づいて、診断対象について異常の診断を行う異常診断手段と、
前記異常診断手段により前記診断対象が異常と診断された場合に、当該異常と診断された前記診断対象の診断結果に係る情報である異常情報を前記不揮発性メモリに記憶する異常記憶手段と、
車両外部の車両診断装置にデータ通信可能に接続されて、異常の診断に係る情報についてデータ通信を行う外部接続手段と、を備えた車載用の電子制御装置であって、
前記異常記憶手段は、前記異常情報を前記不揮発性メモリに記憶した後、前記車両診断装置が前記外部接続手段に接続されたと判定した場合に、前記異常診断手段により前記診断対象が新たに異常と診断されても、新たな前記異常情報を前記不揮発性メモリに記憶することを禁止する車載用の電子制御装置。
Non-volatile memory that can rewrite data,
An abnormality diagnosing means for diagnosing an abnormality for a diagnosis object based on information from an electronic device mounted on the vehicle;
When the diagnosis object is diagnosed as abnormal by the abnormality diagnosis means, abnormality storage means for storing abnormality information that is information related to a diagnosis result of the diagnosis object diagnosed as the abnormality in the nonvolatile memory;
An in-vehicle electronic control device comprising an external connection means connected to a vehicle diagnostic device outside the vehicle so as to be capable of data communication, and performing data communication for information relating to abnormality diagnosis,
The abnormality storage means stores the abnormality information in the nonvolatile memory, and then determines that the diagnosis target is newly abnormal by the abnormality diagnosis means when it is determined that the vehicle diagnosis apparatus is connected to the external connection means. A vehicle-mounted electronic control device that prohibits storing new abnormality information in the nonvolatile memory even if diagnosed.
前記異常記憶手段は、前記外部接続手段に接続されている前記車両診断装置から、前記不揮発性メモリに記憶されている前記異常情報を消去する要求を受けた場合に、前記不揮発性メモリから前記異常情報を消去すると共に、新たな前記異常情報を前記不揮発性メモリに記憶することを許可する請求項1に記載の車載用の電子制御装置。   The abnormality storage means receives the abnormality from the nonvolatile memory when receiving a request from the vehicle diagnostic apparatus connected to the external connection means to delete the abnormality information stored in the nonvolatile memory. The in-vehicle electronic control device according to claim 1, wherein the vehicle-mounted electronic control device permits erasure of information and storage of the new abnormality information in the nonvolatile memory.
JP2015104200A 2015-05-22 2015-05-22 Automotive electronic control device Expired - Fee Related JP6180462B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015104200A JP6180462B2 (en) 2015-05-22 2015-05-22 Automotive electronic control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015104200A JP6180462B2 (en) 2015-05-22 2015-05-22 Automotive electronic control device

Publications (2)

Publication Number Publication Date
JP2016215884A true JP2016215884A (en) 2016-12-22
JP6180462B2 JP6180462B2 (en) 2017-08-16

Family

ID=57577806

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015104200A Expired - Fee Related JP6180462B2 (en) 2015-05-22 2015-05-22 Automotive electronic control device

Country Status (1)

Country Link
JP (1) JP6180462B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019139646A (en) * 2018-02-14 2019-08-22 株式会社デンソー Data recording device and data recording system
JP2020116972A (en) * 2019-01-18 2020-08-06 株式会社デンソー Electronic control device

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63244242A (en) * 1987-03-31 1988-10-11 Hino Motors Ltd Electronic controller
JPH03164344A (en) * 1989-11-22 1991-07-16 Sawafuji Electric Co Ltd On-vehicle electronic control device
JPH0421945U (en) * 1990-06-13 1992-02-24
JPH0674085A (en) * 1992-08-26 1994-03-15 Nippondenso Co Ltd Self-diagnostic device for vehicle
JPH072032A (en) * 1993-06-17 1995-01-06 Nippondenso Co Ltd Diagnosing system for vehicle
JPH08202441A (en) * 1995-01-25 1996-08-09 Nippondenso Co Ltd Controller for vehicle with function capable of storing fault information
JP2006224892A (en) * 2005-02-21 2006-08-31 Fujitsu Ten Ltd Electronic control device for vehicle
JP2007196708A (en) * 2006-01-23 2007-08-09 Denso Corp Control device for vehicle, failure diagnosing method and program
JP2008201160A (en) * 2007-02-16 2008-09-04 Denso Corp Electronic control device
JP2009264828A (en) * 2008-04-23 2009-11-12 Denso Corp Electronic control device

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63244242A (en) * 1987-03-31 1988-10-11 Hino Motors Ltd Electronic controller
JPH03164344A (en) * 1989-11-22 1991-07-16 Sawafuji Electric Co Ltd On-vehicle electronic control device
JPH0421945U (en) * 1990-06-13 1992-02-24
JPH0674085A (en) * 1992-08-26 1994-03-15 Nippondenso Co Ltd Self-diagnostic device for vehicle
JPH072032A (en) * 1993-06-17 1995-01-06 Nippondenso Co Ltd Diagnosing system for vehicle
JPH08202441A (en) * 1995-01-25 1996-08-09 Nippondenso Co Ltd Controller for vehicle with function capable of storing fault information
JP2006224892A (en) * 2005-02-21 2006-08-31 Fujitsu Ten Ltd Electronic control device for vehicle
JP2007196708A (en) * 2006-01-23 2007-08-09 Denso Corp Control device for vehicle, failure diagnosing method and program
JP2008201160A (en) * 2007-02-16 2008-09-04 Denso Corp Electronic control device
JP2009264828A (en) * 2008-04-23 2009-11-12 Denso Corp Electronic control device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019139646A (en) * 2018-02-14 2019-08-22 株式会社デンソー Data recording device and data recording system
JP7155532B2 (en) 2018-02-14 2022-10-19 株式会社デンソー Data recording device and data recording system
JP2020116972A (en) * 2019-01-18 2020-08-06 株式会社デンソー Electronic control device
JP7205245B2 (en) 2019-01-18 2023-01-17 株式会社デンソー electronic controller

Also Published As

Publication number Publication date
JP6180462B2 (en) 2017-08-16

Similar Documents

Publication Publication Date Title
JP5272507B2 (en) Electronic control unit
JP4506868B2 (en) Electronic control unit
JP4539757B2 (en) Electronic control unit
JP2011255862A (en) Electronic control unit and information management system
US8095263B2 (en) Electronic control unit and vehicle control system
JP2007168463A (en) Vehicular electronic control system and data conversion system
JP6180462B2 (en) Automotive electronic control device
JP4412390B2 (en) Electronic control device, method for permitting storage of diagnostic results in nonvolatile memory, information processing device, system for permitting storage of diagnostic results in nonvolatile memory
JP2007206827A (en) Electronic control unit, and method for generating program for controlling on-vehicle device
JP4475345B2 (en) Electronic control unit
JP5617901B2 (en) Electronic control unit
JP6432356B2 (en) Electronic control unit
JP6435880B2 (en) Electronic control unit
JPH11223578A (en) Vehicle diagnosing system
US20180208136A1 (en) Electronic control device for vehicles
JP5152230B2 (en) Electronic control unit
JP7172748B2 (en) Electronic controller and inspection system
CN111520242A (en) Air-fuel ratio adjusting method and device
JP2016147651A (en) Vehicle diagnostic device and vehicle diagnostic system
JP2816312B2 (en) Fault diagnosis device
JP7131437B2 (en) Electronic controller and inspection system
JP2011100416A (en) In-vehicle electronic controller and memory control method
JP2010275900A (en) On-vehicle control device
JP7085029B2 (en) Memory rewrite history recording device
JP7099293B2 (en) Electronic control device

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20161206

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170113

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20170718

R151 Written notification of patent or utility model registration

Ref document number: 6180462

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