JP4766926B2 - Electronic control device and data storage method for electronic control device - Google Patents

Electronic control device and data storage method for electronic control device Download PDF

Info

Publication number
JP4766926B2
JP4766926B2 JP2005163161A JP2005163161A JP4766926B2 JP 4766926 B2 JP4766926 B2 JP 4766926B2 JP 2005163161 A JP2005163161 A JP 2005163161A JP 2005163161 A JP2005163161 A JP 2005163161A JP 4766926 B2 JP4766926 B2 JP 4766926B2
Authority
JP
Japan
Prior art keywords
electronic control
control device
data
storage means
data storage
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
JP2005163161A
Other languages
Japanese (ja)
Other versions
JP2006336564A (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 Ten Ltd
Original Assignee
Denso Ten Ltd
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 Ten Ltd filed Critical Denso Ten Ltd
Priority to JP2005163161A priority Critical patent/JP4766926B2/en
Publication of JP2006336564A publication Critical patent/JP2006336564A/en
Application granted granted Critical
Publication of JP4766926B2 publication Critical patent/JP4766926B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、車両等の移動体内の複数のセンサ等により移動体内の電子制御機器の異常状態を検知した際に、予め定められたデータをSRAM(Stand-by Random Access Memory :スタンバイ・ランダム・アクセス・メモリ)またはEEPROM(Electrically Erasable and Programmable Read-only Memory:電気的に消去可能なプログラマブル・リード・オンリ・メモリ)等の不揮発性メモリに保存し、この不揮発性メモリに保存されているデータに基づいて当該電子制御機器の自己診断を行う機能を有する電子制御装置、および電子制御機器のデータ保存方法に関する。   In the present invention, when an abnormal state of an electronic control device in a moving body is detected by a plurality of sensors in the moving body such as a vehicle, predetermined data is stored in an SRAM (Stand-by Random Access Memory). • Memory (or memory) or EEPROM (Electrically Erasable and Programmable Read-only Memory) or other non-volatile memory, and based on the data stored in this non-volatile memory The present invention relates to an electronic control device having a function of performing self-diagnosis of the electronic control device, and a data storage method of the electronic control device.

一般に、車両等の移動体内には、通常ECU(Electronic Control Unit :電子制御ユニット)とも呼ばれるコンピュータが内蔵された電子制御装置が設けられている。このような電子制御装置においては、運転者等が快適な運転を行えるようにするために、移動体内の電子制御機器(例えば、電子制御式エンジン)を正しく制御して当該電子制御機器の適切な自己診断を行う機能、すなわち、ダイアグノーシス機能が組み込まれている。   In general, a moving body such as a vehicle is provided with an electronic control device in which a computer, usually called an ECU (Electronic Control Unit), is built. In such an electronic control device, in order to enable a driver or the like to perform a comfortable driving, an electronic control device (for example, an electronically controlled engine) in the moving body is correctly controlled so that the appropriate electronic control device can be appropriately controlled. A self-diagnosis function, that is, a diagnosis function is incorporated.

このダイアグノーシス機能に関連して、車両等の移動体内には、電子制御機器の現在の状態を正確に把握することができるようにするために、A/Fセンサ(空燃比センサ)や水温センサや吸気温センサ等の各種のセンサが取り付けられている。このような各種のセンサにより検出された検出信号は、A/Dコンバータ(アナログ/ディジタルコンバータ)等によりディジタル信号に変換された後に、センサ検出データとして、コンピュータ内のNRAM(Normal Random Access Memory :ノーマル・ランダム・アクセス・メモリ、通常、単にRAMと略記される))等の主記憶装置に一時的に保持される。このようなNRAM等の主記憶装置は、一般に揮発性メモリと呼ばれており、車両等の移動体のイグニッションスイッチがオンになっている期間だけ、各々のセンサ検出データが更新されるタイミングに応じた周期でセンサ検出データを保持するようになっている。それゆえに、イグニッションスイッチがオフになったときに、NRAM等に保持されているセンサ検出データは全て消失する。   In relation to the diagnosis function, an A / F sensor (air-fuel ratio sensor) or a water temperature sensor is provided in a moving body such as a vehicle so that the current state of the electronic control device can be accurately grasped. Various sensors such as an intake air temperature sensor are attached. The detection signals detected by these various sensors are converted into digital signals by an A / D converter (analog / digital converter) or the like, and then NRAM (Normal Random Access Memory: Normal in the computer) as sensor detection data. Random access memory, usually abbreviated simply as RAM)) etc. Such a main storage device such as an NRAM is generally called a volatile memory, and corresponds to the timing at which each sensor detection data is updated only during the period when the ignition switch of a moving body such as a vehicle is on. The sensor detection data is held at a predetermined cycle. Therefore, when the ignition switch is turned off, all sensor detection data held in the NRAM or the like are lost.

また一方で、移動体内の電子制御装置において、NRAM等に保持されているセンサ検出データに基づいて移動体の電子制御機器に何らかの異常が発生している(すなわち、電子制御機器が異常状態になっている)ことが検知された場合、NRAM等に保持されているセンサ検出データから予め定められたデータを取り出し、コンピュータ内のSRAM等やEEPROM等の不揮発性メモリに一定のサンプリング間隔(例えば、500msec(ミリ秒))で保存するようになっている。   On the other hand, in the electronic control device in the moving body, some abnormality has occurred in the electronic control device of the moving body based on the sensor detection data held in the NRAM or the like (that is, the electronic control device is in an abnormal state). Is detected from the sensor detection data held in the NRAM or the like, and a predetermined sampling interval (for example, 500 msec) is taken into a nonvolatile memory such as an SRAM or an EEPROM in the computer. (Milliseconds)).

上記のように、移動体内の電子制御機器の異常状態が検知されたときに、NRAMから取り出されたデータをSRAMまたはEEPROM等の不揮発性メモリに保存する処理は、通常「フリーズ」と呼ばれている。   As described above, when an abnormal state of the electronic control device in the moving body is detected, the process of storing the data retrieved from the NRAM in a nonvolatile memory such as SRAM or EEPROM is generally called “freeze”. Yes.

NRAMから取り出されたデータのフリーズ処理を行う際に使用されるSRAMは、通常、移動体内のバッテリに接続されており、このバッテリからバックアップ用の電源電圧が常時供給されるようになっている。それゆえに、イグニッションスイッチがオフになっても、SRAMに保存されているデータは消失しない。したがって、整備工場等において、SRAMに保存されているデータを読み出して電子制御機器の異常発生の原因の解析や異常発生の経緯の特定に役立てることにより、当該電子制御機器の自己診断を行うことができるようになる。   An SRAM used when performing freeze processing on data extracted from the NRAM is normally connected to a battery in the mobile body, and a backup power supply voltage is always supplied from the battery. Therefore, even if the ignition switch is turned off, the data stored in the SRAM is not lost. Accordingly, in a maintenance shop or the like, self-diagnosis of the electronic control device can be performed by reading out the data stored in the SRAM and using it to analyze the cause of the abnormality of the electronic control device and identify the background of the occurrence of the abnormality. become able to.

代替的に、NRAMから取り出されたデータのフリーズ処理を行う際に使用されるEEPROMは、電気的にデータを書き込んだり消去したりすることが可能であるROM(Read-only Memory:リード・オンリ・メモリ)からなる。イグニッションスイッチがオンになっている期間で、移動体内の電子制御機器の異常状態が検知されたときに、NRAMから取り出されたデータがEEPROMに保存される。また一方で、イグニッションスイッチがオフになっている期間では、EEPROMに保存されているデータは消失することなくそのまま保持される。したがって、この場合も、前述のSRAMを使用した場合と同様に、整備工場等において、EEPROMに保存されているデータを読み出して電子制御機器の異常発生の原因の解析や異常発生の経緯の特定に役立てることにより、当該電子制御機器の自己診断を行うことができるようになる。   Alternatively, an EEPROM used when performing freeze processing on data extracted from the NRAM is a ROM (Read-only Memory) that can electrically write and erase data. Memory). When an abnormal state of the electronic control device in the moving body is detected during a period in which the ignition switch is on, data taken from the NRAM is stored in the EEPROM. On the other hand, during the period when the ignition switch is off, the data stored in the EEPROM is held without being lost. Therefore, in this case as well, in the case where the above-described SRAM is used, the data stored in the EEPROM is read out at a maintenance shop or the like to analyze the cause of the abnormality of the electronic control device and specify the circumstances of the abnormality. By making use, it becomes possible to perform self-diagnosis of the electronic control device.

従来の電子制御装置においてNRAM内のデータのフリーズ処理を行う場合、このフリーズ処理の対象とするデータのデータ項目(例えば、エンジン回転数、水温および吸気温)等は、電子制御装置内のコンピュータのソフトウェアにより規定されている。換言すれば、フリーズ処理の対象とするデータのデータ項目等は、電子制御機器の自己診断を実行させるためのプログラムが格納されているROMの内容により予め定められており、発生する異常によって任意に選択することができない。それゆえに、従来の電子制御装置では、新たなデータ項目等をフリーズ処理の対象として追加したり現在定められているデータ項目等を一部変更したりすることはできず、どのような異常が発生しても、フリーズ処理の対象とするデータのデータ項目等は一定である。   When freeze processing of data in the NRAM is performed in a conventional electronic control device, data items (for example, engine speed, water temperature and intake air temperature) to be subjected to the freeze processing are stored in a computer in the electronic control device. Defined by software. In other words, the data items of the data to be subjected to the freeze processing are determined in advance by the contents of the ROM in which the program for executing the self-diagnosis of the electronic control device is stored. I can't choose. Therefore, with the conventional electronic control device, it is not possible to add new data items etc. as a target for freeze processing or to change some of the currently defined data items etc., and what kind of abnormality occurs Even so, the data items of the data to be subjected to the freeze processing are constant.

しかしながら、本来は、NRAM内のデータのフリーズ処理を行う目的は、移動体の電子制御機器に何らかの異常が発生した後に異常発生の経緯を早期に特定することである。このため、発生する異常に関係するNRAM内のデータのデータ項目等をより絞り込んで限定する処理を行うことにより、異常発生の経緯の早期特定につなげることが重要になってくる。しかしながら、この場合、新たなデータ項目の追加によりROMの容量が増大したり、現在のデータ項目を変更する際のコンピュータのCPU(Central Processing Unit :中央演算処理装置)等の処理負荷が増大したりすることになるので、現状では、上記のような処理を行うことができない。   However, originally, the purpose of performing the freeze processing of the data in the NRAM is to specify the background of the occurrence of an abnormality at an early stage after an abnormality occurs in the electronic control device of the mobile object. For this reason, it is important that the process of narrowing down and limiting the data items of the data in the NRAM related to the abnormality that has occurred leads to early identification of the background of the occurrence of the abnormality. However, in this case, the capacity of the ROM increases due to the addition of a new data item, or the processing load of the CPU (Central Processing Unit) of the computer when changing the current data item increases. Therefore, at present, the above processing cannot be performed.

それゆえに、従来の電子制御装置においては、電子制御機器に何らかの異常が発生した後に、電子制御機器の異常発生の原因の解析に時間がかかり、異常発生の経緯を早期に特定することが困難になるという問題が生じてきた。   Therefore, in the conventional electronic control device, after some abnormality occurs in the electronic control device, it takes time to analyze the cause of the abnormality of the electronic control device, and it is difficult to identify the background of the occurrence of the abnormality at an early stage. The problem of becoming has arisen.

さらに、従来の電子制御装置においては、フリーズ処理時にNRAM内のデータしか不揮発性メモリに保存することができないので、ソフトウェア(プログラム)の実行経緯を追跡することにより異常発生の経緯の早期特定に結びつけることができないという問題も生じてきた。   Further, in the conventional electronic control device, only the data in the NRAM can be stored in the non-volatile memory at the time of the freeze processing. Therefore, by tracking the execution history of the software (program), it is possible to identify the background of the occurrence of the abnormality at an early stage. The problem of being unable to do so has also arisen.

ここで、参考のため、従来の電子制御装置に関連した技術内容が記載された特許文献1(特開2004−232498号公報)および特許文献2(特開平7−46676号公報)を呈示する。   Here, for reference, Patent Document 1 (Japanese Patent Application Laid-Open No. 2004-232498) and Patent Document 2 (Japanese Patent Application Laid-Open No. 7-46676) in which technical contents related to a conventional electronic control device are described are presented.

特許文献1においては、各種のセンサからのセンサ検出データを含む複数種類の要保存データが、それぞれ変化する時間変化の大小を基準にグループ分けし、グループ毎に要保存データをバックアップ用のRAMに保存する際のバックアップ周期(サンプリング間隔)を設定するようにしたダイアグノーシス機能を有する車両用電子制御装置の構成が開示されている。   In Patent Document 1, a plurality of types of required storage data including sensor detection data from various sensors are grouped based on the magnitude of time change that changes, and the required storage data is stored in a backup RAM for each group. A configuration of a vehicular electronic control device having a diagnosis function in which a backup cycle (sampling interval) for saving is set is disclosed.

特許文献2においては、診断装置から選択された電子制御装置に対して送信される要求メッセージの中に、要求する診断処理の内容に合わせて、その診断継続時間を指定する診断継続時間情報を組み込むようにし、選択された電子制御装置において、上記要求メッセージを受信した後、診断継続時間情報によって指定された時間に達するまで当該診断処理を実行するような車両診断用通信システムの構成が開示されている。   In Patent Document 2, diagnosis duration information specifying the diagnosis duration is incorporated into a request message transmitted to the electronic control device selected from the diagnosis device in accordance with the content of the requested diagnosis process. Thus, in the selected electronic control device, after receiving the request message, a configuration of a communication system for vehicle diagnosis is disclosed in which the diagnosis process is executed until the time specified by the diagnosis duration information is reached. Yes.

しかしながら、特許文献1および特許文献2のいずれにおいても、電子制御機器の異常発生後に異常発生の原因の解析に時間がかかり、異常発生の経緯を早期に特定することが困難になるという問題に対処するための方策には一切言及していない。   However, both Patent Document 1 and Patent Document 2 deal with the problem that it takes time to analyze the cause of the abnormality after the abnormality occurs in the electronic control device, and it is difficult to identify the background of the occurrence of the abnormality at an early stage. It does not mention any measures to do this.

特開2004−232498号公報JP 2004-232498 A 特開平7−46676号公報Japanese Unexamined Patent Publication No. 7-46676

本発明は上記問題点に鑑みてなされたものであり、コンピュータのCPU等の処理負荷やROMの容量を増大させることなく、車両等の移動体内の電子制御機器の異常発生後に、電子制御機器の異常発生の原因の解析を正確かつ迅速に行って異常発生の経緯を早期に特定することを可能にするような電子制御装置、および電子制御機器のデータ保存方法を提供することを目的とするものである。   The present invention has been made in view of the above-described problems, and without increasing the processing load of the CPU of the computer or the capacity of the ROM, the abnormality of the electronic control device in the moving body such as a vehicle can occur. An object of the present invention is to provide an electronic control device and an electronic control device data storage method capable of accurately and quickly analyzing the cause of the occurrence of the abnormality and identifying the background of the occurrence of the abnormality at an early stage. It is.

上記問題点を解決するために、本発明の第1の態様に係る電子制御装置は、移動体内の電子制御機器を制御して上記電子制御機器の自己診断を行う機能を有し、移動体に取り付けられた複数のセンサにより取得されるデータを一時的に保持するための第1のデータ保存手段(例えば、NRAM等の主記憶装置)と、上記電子制御機器の異常状態が検知されたときに、上記第1のデータ保存手段内のデータを所定のサンプリング間隔で保存するための不揮発性の第2のデータ保存手段(例えば、SRAMまたはEEPROM等の不揮発性メモリ)と、上記複数のセンサにより取得されるデータに関連した複数のデータ項目を予め格納しておく格納手段とを備え、上記格納手段に格納されている複数のデータ項目から特定のデータ項目が選択され、上記特定のデータ項目に関係するデータが上記第1のデータ保存手段から取り出されて上記第2のデータ保存手段に送り込まれるように構成される。   In order to solve the above problems, the electronic control device according to the first aspect of the present invention has a function of controlling the electronic control device in the moving body and performing a self-diagnosis of the electronic control device. When an abnormal state of the first data storage means (for example, a main storage device such as an NRAM) for temporarily holding data acquired by a plurality of attached sensors and the electronic control device is detected The non-volatile second data storage means (for example, a non-volatile memory such as SRAM or EEPROM) for storing the data in the first data storage means at a predetermined sampling interval and the plurality of sensors. Storage means for storing a plurality of data items related to the data to be stored in advance, and a specific data item is selected from the plurality of data items stored in the storage means Data relating to the specific data item is retrieved from the first data storage means arranged to be fed into the second data storage means.

好ましくは、本発明の電子制御装置において、上記格納手段が、上記電子制御機器の自己診断を支援する外部検査ツール(例えば、ダイアグスキャンツール)に設けられており、上記外部検査ツールにより、上記格納手段に格納されている複数のデータ項目から上記特定のデータ項目が選択されるようになっている。   Preferably, in the electronic control device of the present invention, the storage means is provided in an external inspection tool (for example, a diagnostic scan tool) that supports self-diagnosis of the electronic control device, and the storage is performed by the external inspection tool. The specific data item is selected from a plurality of data items stored in the means.

さらに、本発明の第2の態様に係る電子制御装置は、移動体内の電子制御機器を制御して上記電子制御機器の自己診断を行う機能を有し、移動体に取り付けられた複数のセンサにより取得されるデータを一時的に保持するための第1のデータ保存手段と、上記電子制御機器の異常状態が検知されたときに、上記第1のデータ保存手段内のデータを所定のサンプリング間隔で保存するための不揮発性の第2のデータ保存手段と、上記複数のセンサにより取得されるデータを複数のバイト数のグループに分け、上記複数のバイト数のグループを予め格納しておく格納手段とを備え、上記格納手段に格納されている複数のバイト数のグループから特定のバイト数のグループが選択され、上記特定のバイト数のグループに関係するデータが上記第1のデータ保存手段から取り出されて上記第2のデータ保存手段に送り込まれるように構成される。   Furthermore, the electronic control device according to the second aspect of the present invention has a function of controlling the electronic control device in the moving body to perform self-diagnosis of the electronic control device, and includes a plurality of sensors attached to the moving body. First data storage means for temporarily storing acquired data, and when an abnormal state of the electronic control device is detected, the data in the first data storage means is stored at a predetermined sampling interval. Non-volatile second data storage means for storing, storage means for dividing the data acquired by the plurality of sensors into a plurality of byte groups, and storing the plurality of byte groups in advance A group of a specific number of bytes is selected from a plurality of groups of the number of bytes stored in the storage means, and data related to the specific group of the number of bytes is the first It is removed from over data storing means arranged to be fed into the second data storage means.

好ましくは、本発明の電子制御装置において、上記格納手段が、上記電子制御機器の自己診断を支援する外部検査ツールに設けられており、上記外部検査ツールにより、上記格納手段に格納されている複数のバイト数のグループから上記特定のバイト数のグループが選択されるようになっている。   Preferably, in the electronic control device of the present invention, the storage means is provided in an external inspection tool that supports self-diagnosis of the electronic control device, and a plurality of pieces stored in the storage means by the external inspection tool. The group of the specific number of bytes is selected from the group of the number of bytes.

さらに、本発明の第3の態様に係る電子制御装置は、移動体内の電子制御機器を制御して上記電子制御機器の自己診断を行う機能を有し、移動体に取り付けられた複数のセンサにより取得されるデータを一時的に保持するための第1のデータ保存手段と、上記電子制御機器の異常状態が検知されたときに、上記第1のデータ保存手段内のデータを所定のサンプリング間隔で保存するための不揮発性の第2のデータ保存手段と、上記第1のデータ保存手段を構成する記憶部のアドレスを予め格納しておく格納手段とを備え、上記格納手段に格納されている上記記憶部のアドレスから特定のアドレスが選択され、上記特定のアドレスに関係するデータが上記第1のデータ保存手段から取り出されて上記第2のデータ保存手段に送り込まれるように構成される。   Furthermore, the electronic control device according to the third aspect of the present invention has a function of controlling the electronic control device in the moving body to perform self-diagnosis of the electronic control device, and includes a plurality of sensors attached to the moving body. First data storage means for temporarily storing acquired data, and when an abnormal state of the electronic control device is detected, the data in the first data storage means is stored at a predetermined sampling interval. Non-volatile second data storage means for storing, and storage means for storing in advance the address of the storage unit constituting the first data storage means, and stored in the storage means A specific address is selected from the addresses of the storage unit, and data related to the specific address is extracted from the first data storage unit and sent to the second data storage unit It is made.

好ましくは、本発明の電子制御装置において、上記格納手段が、上記電子制御機器の自己診断を支援する外部検査ツールに設けられており、上記外部検査ツールにより、上記格納手段に格納されている上記記憶部のアドレスから特定のアドレスが選択されるようになっている。   Preferably, in the electronic control device of the present invention, the storage means is provided in an external inspection tool that supports self-diagnosis of the electronic control device, and is stored in the storage means by the external inspection tool. A specific address is selected from the addresses in the storage unit.

さらに、本発明の第4の態様に係る電子制御装置は、移動体内の電子制御機器を制御して上記電子制御機器の自己診断を行う機能を有し、移動体に取り付けられた複数のセンサにより取得されるデータを一時的に保持するための第1のデータ保存手段と、上記電子制御機器の異常状態が検知されたときに、上記第1のデータ保存手段内のデータを所定のサンプリング間隔で保存するための不揮発性の第2のデータ保存手段と、上記複数のセンサにより取得されるデータを複数の系列のグループに分け、上記複数の系列のグループを予め格納しておく格納手段とを備え、上記格納手段に格納されている複数の系列のグループから特定の系列のグループが選択され、上記特定の系列のグループに関係するデータが上記第1のデータ保存手段から取り出されて上記第2のデータ保存手段に送り込まれるように構成される。   Furthermore, the electronic control device according to the fourth aspect of the present invention has a function of controlling the electronic control device in the moving body to perform self-diagnosis of the electronic control device, and includes a plurality of sensors attached to the moving body. First data storage means for temporarily storing acquired data, and when an abnormal state of the electronic control device is detected, the data in the first data storage means is stored at a predetermined sampling interval. Non-volatile second data storage means for storing, and storage means for dividing the data acquired by the plurality of sensors into a plurality of groups and storing the plurality of groups in advance. A group of a specific sequence is selected from a plurality of groups of sequences stored in the storage means, and data relating to the group of the specific sequence is acquired from the first data storage unit. Issued by configured to be fed into the second data storage means.

好ましくは、本発明の電子制御装置において、上記格納手段が、上記電子制御機器の自己診断を支援する外部検査ツールに設けられており、上記外部検査ツールにより、上記格納手段に格納されている複数の系列のグループから特定の系列のグループが選択されるようになっている。   Preferably, in the electronic control device of the present invention, the storage means is provided in an external inspection tool that supports self-diagnosis of the electronic control device, and a plurality of pieces stored in the storage means by the external inspection tool. A group of a specific series is selected from the group of series.

さらに、本発明の第5の態様に係る電子制御装置は、移動体内の電子制御機器を制御して上記電子制御機器の自己診断を行う機能を有し、移動体に取り付けられた複数のセンサにより取得されるデータを一時的に保持するための第1のデータ保存手段と、上記電子制御機器の異常状態が検知されたときに、上記第1のデータ保存手段内のデータを所定のサンプリング間隔で保存するための不揮発性の第2のデータ保存手段と、上記第1のデータ保存手段に保持されている全てのデータを一括して指定する旨の指示内容を予め格納しておく格納手段とを備え、上記格納手段に格納されている上記指示内容に従って、上記第1のデータ保存手段から全てのデータが取り出され、上記第2のデータ保存手段に送り込まれるように構成される。   Furthermore, the electronic control device according to the fifth aspect of the present invention has a function of controlling the electronic control device in the moving body to perform self-diagnosis of the electronic control device, and includes a plurality of sensors attached to the moving body. First data storage means for temporarily storing acquired data, and when an abnormal state of the electronic control device is detected, the data in the first data storage means is stored at a predetermined sampling interval. Non-volatile second data storage means for storing, and storage means for preliminarily storing instruction contents for designating all data held in the first data storage means collectively In accordance with the instruction content stored in the storage means, all data is extracted from the first data storage means and sent to the second data storage means.

好ましくは、本発明の電子制御装置において、上記格納手段が、上記電子制御機器の自己診断を支援する外部検査ツールに設けられており、上記外部検査ツールにより、上記格納手段に格納されている上記指示内容が読み出されるようになっている。   Preferably, in the electronic control device of the present invention, the storage means is provided in an external inspection tool that supports self-diagnosis of the electronic control device, and is stored in the storage means by the external inspection tool. Instruction contents are read out.

さらに、本発明の第6の態様に係る電子制御装置は、移動体内の電子制御機器を制御して上記電子制御機器の自己診断を行う機能を有し、移動体に取り付けられた複数のセンサにより取得されるデータを一時的に保持するための第1のデータ保存手段と、上記電子制御機器の異常状態が検知されたときに、上記第1のデータ保存手段内のデータを所定のサンプリング間隔で保存するための不揮発性の第2のデータ保存手段と、上記第1のデータ保存手段を構成する記憶部の先頭アドレスから所定のバイト数分のアドレスを予め格納しておく格納手段とを備え、上記格納手段に格納されている上記記憶部の上記所定のバイト数分のアドレスから特定のアドレスが選択され、上記特定のアドレスに関係するデータが上記第1のデータ保存手段から取り出されて上記第2のデータ保存手段に送り込まれるように構成される。   Furthermore, an electronic control device according to a sixth aspect of the present invention has a function of controlling the electronic control device in the moving body to perform self-diagnosis of the electronic control device, and includes a plurality of sensors attached to the moving body. First data storage means for temporarily storing acquired data, and when an abnormal state of the electronic control device is detected, the data in the first data storage means is stored at a predetermined sampling interval. Non-volatile second data storage means for storing, and storage means for storing in advance addresses for a predetermined number of bytes from the start address of the storage unit constituting the first data storage means, A specific address is selected from the predetermined number of bytes of the storage unit stored in the storage unit, and data related to the specific address is transferred from the first data storage unit. Ri issued by configured to be fed into the second data storage means.

好ましくは、本発明の電子制御装置において、上記格納手段が、上記電子制御機器の自己診断を支援する外部検査ツールに設けられており、上記外部検査ツールにより、上記格納手段に格納されている上記記憶部の上記所定のバイト数分のアドレスから上記特定のアドレスが選択されるようになっている。   Preferably, in the electronic control device of the present invention, the storage means is provided in an external inspection tool that supports self-diagnosis of the electronic control device, and is stored in the storage means by the external inspection tool. The specific address is selected from the addresses corresponding to the predetermined number of bytes in the storage unit.

さらに、本発明の第7の態様に係る電子制御装置は、移動体内の電子制御機器を制御して上記電子制御機器の自己診断を行う機能を有し、移動体に取り付けられた複数のセンサにより取得されるデータを一時的に保持するための第1のデータ保存手段と、上記電子制御機器の異常状態が検知されたときに、上記第1のデータ保存手段内のデータを所定のサンプリング間隔で保存するための不揮発性の第2のデータ保存手段と、上記第1のデータ保存手段に保存されているデータの最大値および最小値の少なくとも一方を予め格納しておく格納手段とを備え、上記格納手段に格納されているデータの最大値および最小値の少なくとも一方が取り出され、上記第2のデータ保存手段に送り込まれるように構成される。   Furthermore, an electronic control device according to a seventh aspect of the present invention has a function of controlling the electronic control device in the moving body to perform self-diagnosis of the electronic control device, and includes a plurality of sensors attached to the moving body. First data storage means for temporarily storing acquired data, and when an abnormal state of the electronic control device is detected, the data in the first data storage means is stored at a predetermined sampling interval. Non-volatile second data storage means for storing, and storage means for storing in advance at least one of a maximum value and a minimum value of data stored in the first data storage means, At least one of the maximum value and the minimum value of the data stored in the storage means is taken out and sent to the second data storage means.

好ましくは、本発明の電子制御装置において、上記格納手段が、上記電子制御機器の自己診断を支援する外部検査ツールに設けられており、上記外部検査ツールにより、上記格納手段に格納されている上記データの最大値および最小値の少なくとも一方が読み出されるようになっている。   Preferably, in the electronic control device of the present invention, the storage means is provided in an external inspection tool that supports self-diagnosis of the electronic control device, and is stored in the storage means by the external inspection tool. At least one of the maximum value and the minimum value of the data is read out.

さらに、本発明の第8の態様に係る電子制御装置は、移動体内の電子制御機器を制御して上記電子制御機器の自己診断を行う機能を有し、移動体に取り付けられた複数のセンサにより取得されるデータを一時的に保持するための第1のデータ保存手段と、上記電子制御機器の異常状態が検知されたときに、上記第1のデータ保存手段内のデータを所定のサンプリング間隔で保存するための不揮発性の第2のデータ保存手段と、上記電子制御装置の上記機能を実現するために使用されるプログラムのプログラムポインタを予め格納しておく格納手段とを備え、上記格納手段に格納されているプログラムのプログラムポインタが取り出され、上記第1のデータ保存手段内のデータと共に上記第2のデータ保存手段に送り込まれるように構成される。   Furthermore, an electronic control device according to an eighth aspect of the present invention has a function of controlling the electronic control device in the moving body to perform self-diagnosis of the electronic control device, and includes a plurality of sensors attached to the moving body. First data storage means for temporarily storing acquired data, and when an abnormal state of the electronic control device is detected, the data in the first data storage means is stored at a predetermined sampling interval. Non-volatile second data storage means for storing, and storage means for storing in advance a program pointer of a program used to realize the function of the electronic control unit, the storage means The program pointer of the stored program is retrieved and sent to the second data storage means together with the data in the first data storage means

好ましくは、本発明の電子制御装置において、上記格納手段が、上記電子制御機器の自己診断を支援する外部検査ツールに設けられており、上記外部検査ツールにより、上記格納手段に格納されているプログラムのプログラムポインタが読み出されるようになっている。   Preferably, in the electronic control device of the present invention, the storage means is provided in an external inspection tool that supports self-diagnosis of the electronic control device, and the program stored in the storage means by the external inspection tool The program pointer is read out.

さらに、本発明の第9の態様に係る電子制御装置は、移動体内の電子制御機器を制御して上記電子制御機器の自己診断を行う機能を有し、移動体に取り付けられた複数のセンサにより取得されるデータを一時的に保持するための第1のデータ保存手段と、上記電子制御機器の異常状態が検知されたときに、上記第1のデータ保存手段内のデータを所定のサンプリング間隔で保存するための不揮発性の第2のデータ保存手段と、上記第1のデータ保存手段を構成する記憶部の複数のセクションを予め格納しておく格納手段とを備え、上記格納手段に格納されている上記記憶部の複数のセクションから特定のセクションが選択され、上記特定のセクションに関係するデータが上記第1のデータ保存手段から取り出されて上記第2のデータ保存手段に送り込まれるように構成される。   Furthermore, an electronic control device according to a ninth aspect of the present invention has a function of controlling the electronic control device in the moving body to perform self-diagnosis of the electronic control device, and includes a plurality of sensors attached to the moving body. First data storage means for temporarily storing acquired data, and when an abnormal state of the electronic control device is detected, the data in the first data storage means is stored at a predetermined sampling interval. Non-volatile second data storage means for storing, and storage means for storing in advance a plurality of sections of the storage section constituting the first data storage means, and stored in the storage means A specific section is selected from the plurality of sections of the storage unit, and data related to the specific section is retrieved from the first data storage means and the second data storage means Configured to be fed.

好ましくは、本発明の電子制御装置において、上記格納手段が、上記電子制御機器の自己診断を支援する外部検査ツールに設けられており、上記外部検査ツールにより、上記格納手段に格納されている上記記憶部の複数のセクションから上記特定のセクションが選択されるようになっている。   Preferably, in the electronic control device of the present invention, the storage means is provided in an external inspection tool that supports self-diagnosis of the electronic control device, and is stored in the storage means by the external inspection tool. The specific section is selected from a plurality of sections of the storage unit.

さらに、本発明の第10の態様に係る電子制御装置は、移動体内の電子制御機器を制御して上記電子制御機器の自己診断を行う機能を有し、移動体に取り付けられた複数のセンサにより取得されるデータを一時的に保持するための第1のデータ保存手段と、上記電子制御機器の異常状態が検知されたときに、上記第1のデータ保存手段内のデータを所定のサンプリング間隔で保存するための不揮発性の第2のデータ保存手段と、上記第1のデータ保存手段を構成する記憶部の複数のセクション、および、各々の上記セクションの先頭アドレスから所定のバイト数分のアドレスを予め格納しておく格納手段とを備え、上記格納手段に格納されている上記記憶部の複数のセクションから特定のセクションが選択されると共に、上記所定のバイト数分のアドレスから特定のアドレスが選択され、上記特定のセクションおよび上記特定のアドレスに関係するデータが上記第1のデータ保存手段から取り出されて上記第2のデータ保存手段に送り込まれるように構成される。   Furthermore, an electronic control device according to a tenth aspect of the present invention has a function of controlling an electronic control device in a moving body to perform self-diagnosis of the electronic control device, and includes a plurality of sensors attached to the moving body. First data storage means for temporarily storing acquired data, and when an abnormal state of the electronic control device is detected, the data in the first data storage means is stored at a predetermined sampling interval. Non-volatile second data storage means for storing, a plurality of sections of the storage section constituting the first data storage means, and addresses for a predetermined number of bytes from the start address of each section Storage means for storing in advance, a specific section is selected from a plurality of sections of the storage unit stored in the storage means, and the predetermined number of bytes A specific address is selected from the first address, and the data related to the specific section and the specific address is retrieved from the first data storage means and sent to the second data storage means .

好ましくは、本発明の電子制御装置において、上記格納手段が、上記電子制御機器の自己診断を支援する外部検査ツールに設けられており、上記外部検査ツールにより、上記格納手段に格納されている上記記憶部の複数のセクションから上記特定のセクションが選択されると共に、上記所定のバイト数分のアドレスから上記特定のアドレスが選択されるようになっている。   Preferably, in the electronic control device of the present invention, the storage means is provided in an external inspection tool that supports self-diagnosis of the electronic control device, and is stored in the storage means by the external inspection tool. The specific section is selected from a plurality of sections of the storage unit, and the specific address is selected from addresses corresponding to the predetermined number of bytes.

さらに、本発明の第11の態様に係る電子制御装置は、移動体内の電子制御機器を制御して上記電子制御機器の自己診断を行う機能を有し、当該機能を実現するために使用されるプログラムが、複数のモジュール(または複数のロジック)により構成されており、移動体に取り付けられた複数のセンサにより取得されるデータを一時的に保持するための第1のデータ保存手段と、上記電子制御機器の異常状態が検知されたときに、上記第1のデータ保存手段内のデータを所定のサンプリング間隔で保存するための不揮発性の第2のデータ保存手段と、上記複数のモジュールの各々について、上記第1のデータ保存手段を構成する記憶部のアドレスを保持するための補助情報保存手段とを備え、上記複数のモジュール中の特定のモジュール(または特定のロジック)で上記異常状態を示すフラグが検出されたときに、上記特定のモジュールで使用されている上記記憶部のアドレスが上記補助情報保存手段から読み出され、当該記憶部のアドレスに関係するデータが上記第1のデータ保存手段から取り出されて上記第2のデータ保存手段に送り込まれるように構成される。   Furthermore, the electronic control device according to the eleventh aspect of the present invention has a function of controlling the electronic control device in the moving body and performing self-diagnosis of the electronic control device, and is used to realize the function. The program is composed of a plurality of modules (or a plurality of logics), and a first data storage means for temporarily storing data acquired by a plurality of sensors attached to the moving body, and the electronic Non-volatile second data storage means for storing data in the first data storage means at a predetermined sampling interval when an abnormal state of the control device is detected, and each of the plurality of modules And auxiliary information storage means for holding the address of the storage unit that constitutes the first data storage means, and a specific module among the plurality of modules (or When the flag indicating the abnormal state is detected in the specific logic), the address of the storage unit used in the specific module is read from the auxiliary information storage unit, and the address of the storage unit is Relevant data is retrieved from the first data storage means and sent to the second data storage means.

さらに、本発明の第12の態様に係る電子制御装置は、移動体内の電子制御機器を制御して上記電子制御機器の自己診断を行う機能を有し、上記機能を実現するために使用されるプログラムが、複数のモジュールにより構成されており、移動体に取り付けられた複数のセンサにより取得されるデータを一時的に保持するための第1のデータ保存手段と、上記電子制御機器の異常状態が検知されたときに、上記第1のデータ保存手段内のデータを所定のサンプリング間隔で保存するための不揮発性の第2のデータ保存手段と、上記複数のモジュールの各々について、上記第1のデータ保存手段を構成する記憶部に保持されているデータの最大値および最小値の少なくとも一方を保持するための補助情報保存手段とを備え、上記複数のモジュール中の特定のモジュールで上記異常状態を示すフラグが検出されたときに、上記特定のモジュールで使用されている上記記憶部に保持されているデータの最大値および最小値の少なくとも一方が上記補助情報保存手段から読み出され、上記第2のデータ保存手段に送り込まれるように構成される。   Furthermore, an electronic control device according to a twelfth aspect of the present invention has a function of controlling an electronic control device in a moving body to perform a self-diagnosis of the electronic control device, and is used for realizing the function. The program is composed of a plurality of modules, and a first data storage means for temporarily holding data acquired by a plurality of sensors attached to the moving body, and an abnormal state of the electronic control device Non-volatile second data storage means for storing the data in the first data storage means at a predetermined sampling interval when detected, and the first data for each of the plurality of modules A plurality of modules including auxiliary information storage means for holding at least one of a maximum value and a minimum value of data held in a storage unit constituting the storage means When the flag indicating the abnormal state is detected in the specific module, at least one of the maximum value and the minimum value of the data stored in the storage unit used in the specific module is stored in the auxiliary information Read out from the means and sent to the second data storage means.

好ましくは、本発明の電子制御装置における上記複数のモジュールの各々について、上記記憶部のアドレス、および、上記記憶部に保持されているデータの最大値および最小値の少なくとも一方を含む補助情報が、テーブルの形式で上記補助情報保存手段に保持されている。   Preferably, for each of the plurality of modules in the electronic control device of the present invention, auxiliary information including at least one of an address of the storage unit and a maximum value and a minimum value of data held in the storage unit, It is held in the auxiliary information storage means in the form of a table.

さらに、本発明の第13の態様に係る電子制御装置は、移動体内の電子制御機器を制御して上記電子制御機器の自己診断を行う機能を有し、上記機能を実現するために使用されるプログラムが、複数のモジュールにより構成されており、移動体に取り付けられた複数のセンサにより取得されるデータ、および、上記電子制御装置の上記機能を実現するために使用されるプログラムのプログラムポインタを一時的に保持するための第1のデータ保存手段と、上記電子制御機器の異常状態が検知されたときに、上記第1のデータ保存手段内のデータおよびプログラムのプログラムポインタを所定のサンプリング間隔で保存するための不揮発性の第2のデータ保存手段とを備え、上記複数のモジュール中の特定のモジュールで上記異常状態を示すフラグが検出されたときに、上記第1のデータ保存手段に保持されているプログラムポインタの中で、上記特定のモジュールで使用されているプログラムのプログラムポインタが、上記第1のデータ保存手段から取り出されて上記第2のデータ保存手段に送り込まれるように構成される。   Furthermore, an electronic control device according to a thirteenth aspect of the present invention has a function of controlling an electronic control device in a moving body and performing a self-diagnosis of the electronic control device, and is used for realizing the function. The program is composed of a plurality of modules, and data obtained by a plurality of sensors attached to the moving body and a program pointer of a program used to realize the above functions of the electronic control device are temporarily stored. First data storage means for storing the data, and when the abnormal state of the electronic control device is detected, the data in the first data storage means and the program pointer of the program are stored at a predetermined sampling interval Non-volatile second data storage means for performing the operation, and a flag indicating the abnormal state in a specific module among the plurality of modules. When the program is detected, the program pointer of the program used in the specific module is retrieved from the first data storage unit among the program pointers stored in the first data storage unit. And configured to be sent to the second data storage means.

また一方で、本発明の電子制御機器のデータ保存方法は、移動体に取り付けられた複数のセンサにより取得されるデータを第1のデータ保存手段に一時的に保持するステップと、移動体内の電子制御機器の異常状態が検知されたときに、不揮発性の第2のデータ保存手段により、上記第1のデータ保存手段内のデータを所定のサンプリング間隔で保存するステップと、上記第2のデータ保存手段に保存されるデータに基づいて、上記電子制御機器の自己診断を行うステップと、上記電子制御機器の自己診断を行うためのプログラムを構成する複数のモジュールの各々について、上記第1のデータ保存手段を構成する記憶部のアドレスを補助情報保存手段に保持するステップとを含み、上記複数のモジュール中の特定のモジュールで上記異常状態を示すフラグが検出されたときに、上記特定のモジュールで使用されている上記記憶部のアドレスが上記補助情報保存手段から読み出され、当該記憶部のアドレスに関係するデータが上記第1のデータ保存手段から取り出されて上記第2のデータ保存手段に送り込まれる。
好ましくは、上記特定のモジュールで使用されているプログラムのプログラムポインタが、上記第1のデータ保存手段から取り出されて第2のデータ保存手段に送り込まれ、上記プログラムにて割り込みが発生したときに、最速の割り込みのタイミングにて上記プログラムポインタを第2のデータ保存手段に保存するフリーズ処理が実行される。
On the other hand, the data storage method of the electronic control device according to the present invention includes a step of temporarily holding data acquired by a plurality of sensors attached to the mobile body in the first data storage means, and an electronic device in the mobile body. When an abnormal state of the control device is detected, the nonvolatile second data storage means stores the data in the first data storage means at a predetermined sampling interval, and the second data storage The step of performing a self-diagnosis of the electronic control device based on data stored in the means and the first data storage for each of a plurality of modules constituting a program for performing the self-diagnosis of the electronic control device Holding the address of the storage unit constituting the means in the auxiliary information storage means, and the abnormal condition in a specific module among the plurality of modules Is detected, the address of the storage unit used in the specific module is read from the auxiliary information storage means, and the data related to the address of the storage unit is the first data It is taken out from the storage means and sent to the second data storage means.
Preferably, when a program pointer of a program used in the specific module is extracted from the first data storage unit and sent to the second data storage unit, and an interrupt occurs in the program, A freeze process for storing the program pointer in the second data storage means is executed at the timing of the fastest interrupt.

さらに、本発明の電子制御機器のデータ保存方法は、移動体に取り付けられた複数のセンサにより取得されるデータを第1のデータ保存手段に一時的に保持するステップと、移動体内の電子制御機器の異常状態が検知されたときに、不揮発性の第2のデータ保存手段により、上記第1のデータ保存手段内のデータを所定のサンプリング間隔で保存するステップと、上記第2のデータ保存手段に保存されるデータに基づいて、上記電子制御機器の自己診断を行うステップと、上記電子制御機器の自己診断を行うためのプログラムを構成する複数のモジュールの各々について、上記第1のデータ保存手段を構成する記憶部に保持されているデータの最大値および最小値の少なくとも一方を補助情報保存手段に保持するステップとを含み、上記複数のモジュール中の特定のモジュールで上記異常状態を示すフラグが検出されたときに、上記特定のモジュールで使用されている上記記憶部に保持されているデータの最大値および最小値の少なくとも一方が上記補助情報保存手段から読み出され、上記第2のデータ保存手段に送り込まれる。
好ましくは、上記フリーズ処理は、フリーズ処理時に上記第2のデータ保存手段に保存されるべき上記プログラムポインタがなくなるまで実行される。
Furthermore, the data storage method of the electronic control device according to the present invention includes a step of temporarily holding data acquired by a plurality of sensors attached to the moving body in the first data storage means, and an electronic control device in the moving body. When the abnormal state is detected, the non-volatile second data storage means stores the data in the first data storage means at a predetermined sampling interval, and the second data storage means The step of performing a self-diagnosis of the electronic control device based on the stored data, and the first data storage means for each of a plurality of modules constituting a program for performing the self-diagnosis of the electronic control device. Holding at least one of the maximum value and the minimum value of data held in the storage unit constituting the auxiliary information storage means, the plurality of When a flag indicating the abnormal state is detected in a specific module in the module, at least one of the maximum value and the minimum value of data held in the storage unit used in the specific module is the auxiliary It is read from the information storage means and sent to the second data storage means.
Preferably, the freeze processing is executed until there is no program pointer to be stored in the second data storage means during the freeze processing.

さらに、本発明の電子制御機器のデータ保存方法は、移動体に取り付けられた複数のセンサにより取得されるデータ、および、移動体内の電子制御機器の自己診断を行う機能を実現するための複数のモジュールからなるプログラムのプログラムポインタを第1のデータ保存手段に一時的に保持するステップと、移動体内の電子制御機器の異常状態が検知されたときに、不揮発性の第2のデータ保存手段により、上記第1のデータ保存手段内のデータおよびプログラムのプログラムポインタを所定のサンプリング間隔で保存するステップと、上記複数のモジュールの各々について、上記第1のデータ保存手段を構成する記憶部のアドレスを補助情報保存手段に保持するステップと、上記第2のデータ保存手段に保存されるデータおよびプログラムのプログラムポインタに基づいて、上記電子制御機器の自己診断を行うステップとを含み、上記複数のモジュール中の特定のモジュールで上記異常状態を示すフラグが検出されたときに、上記第1のデータ保存手段に保持されているプログラムポインタの中で、上記特定のモジュールで使用されているプログラムのプログラムポインタが、上記第1のデータ保存手段から取り出されて上記第2のデータ保存手段に送り込まれる。   Furthermore, the data storage method of the electronic control device according to the present invention includes a plurality of data for realizing data acquired by a plurality of sensors attached to the moving body and a function of performing self-diagnosis of the electronic control device in the moving body. A step of temporarily holding a program pointer of a program composed of modules in the first data storage means, and when an abnormal state of the electronic control device in the moving body is detected, the nonvolatile second data storage means Storing the data in the first data storage unit and the program pointer of the program at a predetermined sampling interval, and assisting the address of the storage unit constituting the first data storage unit for each of the plurality of modules A step of holding in the information storage means, and data and programs stored in the second data storage means Performing a self-diagnosis of the electronic control device based on the program pointer of the first data storage when the flag indicating the abnormal state is detected in a specific module of the plurality of modules Among the program pointers held in the means, the program pointer of the program used in the specific module is extracted from the first data storage means and sent to the second data storage means.

要約すれば、本発明では、第1に、車両等の移動体内の電子制御機器の異常状態が検知された場合、コンピュータのソフトウェアにより固定されているデータ項目ではなく、外部検査ツール等の登録手段に登録されている複数のデータ項目から指定された特定のデータ項目に従って、この特定のデータ項目に関係するデータを第1のデータ保存手段から取り出して第2のデータ保存手段に保存するようにしている。   In summary, in the present invention, first, when an abnormal state of an electronic control device in a moving body such as a vehicle is detected, it is not a data item fixed by software of a computer, but a registration means such as an external inspection tool In accordance with a specific data item specified from a plurality of data items registered in the data item, data related to the specific data item is extracted from the first data storage unit and stored in the second data storage unit. Yes.

これによって、フリーズ処理の対象とするデータ項目を任意に選択することができるようになり、コンピュータのCPU等の処理負荷やROMの容量を増大させることなく、電子制御機器の異常発生後に、電子制御機器の異常発生の原因の解析を正確かつ迅速に行って異常発生の経緯を早期に特定することが可能になる。   As a result, it becomes possible to arbitrarily select data items to be subjected to freeze processing, and without increasing the processing load of the CPU of the computer or the capacity of the ROM, the electronic control can be performed after the occurrence of an abnormality in the electronic control device. It is possible to quickly and accurately identify the cause of the occurrence of an abnormality by analyzing the cause of the occurrence of the abnormality in the device accurately and quickly.

さらに、本発明では、第2に、車両等の移動体内の電子制御機器の異常状態が検知された場合、コンピュータのソフトウェアにより固定されているデータ項目に制約されずに、外部検査ツール等の登録手段に登録されている複数のバイト数のグループから指定された特定のバイト数のグループに従って、この特定のバイト数のグループに関係するデータを第1のデータ保存手段から取り出して第2のデータ保存手段に保存するようにしている。   Furthermore, in the present invention, secondly, when an abnormal state of an electronic control device in a moving body such as a vehicle is detected, registration of an external inspection tool or the like is not restricted by data items fixed by computer software. In accordance with a group of specific bytes specified from a plurality of groups of bytes registered in the means, data relating to the group of specific bytes is extracted from the first data storage means and stored in the second data I save it in the means.

これによって、フリーズ処理の対象とするバイト数のグループを任意に選択することができるようになり、コンピュータのCPU等の処理負荷やROMの容量を増大させることなく、電子制御機器の異常発生後に、電子制御機器の異常発生の原因の解析を正確かつ迅速に行って異常発生の経緯を早期に特定することが可能になる。   As a result, it becomes possible to arbitrarily select a group of the number of bytes to be subjected to freeze processing, and without increasing the processing load of the CPU of the computer or the capacity of the ROM, after the occurrence of an abnormality in the electronic control device, It is possible to analyze the cause of the occurrence of abnormality in the electronic control device accurately and quickly and to identify the background of the occurrence of abnormality at an early stage.

さらに、本発明では、第3に、車両等の移動体内の電子制御機器の異常状態が検知された場合、コンピュータのソフトウェアにより固定されているデータ項目に制約されずに、外部検査ツール等の登録手段に登録されているRAM等の記憶部のアドレスから指定された特定のアドレスに従って、この特定のアドレスに関係するデータを第1のデータ保存手段から取り出して第2のデータ保存手段に保存するようにしている。   Furthermore, in the present invention, thirdly, when an abnormal state of an electronic control device in a moving body such as a vehicle is detected, registration of an external inspection tool or the like is not restricted by data items fixed by computer software. According to a specific address designated from the address of a storage unit such as a RAM registered in the means, data related to the specific address is extracted from the first data storage means and stored in the second data storage means. I have to.

これによって、フリーズ処理の対象とするRAM等の記憶部のアドレスを任意に選択することができるようになり、コンピュータのCPU等の処理負荷やROMの容量を増大させることなく、電子制御機器の異常発生後に、電子制御機器の異常発生の原因の解析を正確かつ迅速に行って異常発生の経緯を早期に特定することが可能になる。   As a result, it becomes possible to arbitrarily select the address of the storage unit such as the RAM to be subjected to the freeze process, and the abnormality of the electronic control device can be achieved without increasing the processing load of the CPU of the computer or the capacity of the ROM. After the occurrence, the cause of the occurrence of the abnormality in the electronic control device can be analyzed accurately and promptly to identify the background of the occurrence of the abnormality at an early stage.

さらに、本発明では、第4に、車両等の移動体内の電子制御機器の異常状態が検知された場合、コンピュータのソフトウェアにより固定されているデータ項目に制約されずに、外部検査ツール等の登録手段に登録されている複数の系列のグループから指定された特定の系列のグループに従って、この特定の系列のグループに関係するデータを第1のデータ保存手段から取り出して第2のデータ保存手段に保存するようにしている。   Furthermore, in the present invention, fourthly, when an abnormal state of an electronic control device in a moving body such as a vehicle is detected, registration of an external inspection tool or the like is not restricted by data items fixed by computer software. In accordance with a specific series group designated from a plurality of series groups registered in the means, data relating to this specific series group is extracted from the first data storage means and stored in the second data storage means Like to do.

これによって、フリーズ処理の対象とする系列のグループを任意に選択することができるようになり、コンピュータのCPU等の処理負荷やROMの容量を増大させることなく、電子制御機器の異常発生後に、電子制御機器の異常発生の原因の解析を正確かつ迅速に行って異常発生の経緯を早期に特定することが可能になる。   As a result, it becomes possible to arbitrarily select the group of the series to be subjected to the freeze processing, and without increasing the processing load of the CPU of the computer or the capacity of the ROM, the electronic control device can be It is possible to quickly and accurately identify the cause of the occurrence of an abnormality by accurately and quickly analyzing the cause of the occurrence of the abnormality in the control device.

さらに、本発明では、第5に、車両等の移動体内の電子制御機器の異常状態が検知された場合、コンピュータのソフトウェアにより固定されているデータ項目に制約されずに、外部検査ツール等の登録手段に登録されている指示内容に従って、第1のデータ保存手段から全てのデータを一括して取り出して第2のデータ保存手段に保存するようにしている。   Furthermore, in the present invention, fifth, when an abnormal state of an electronic control device in a moving body such as a vehicle is detected, registration of an external inspection tool or the like is not restricted by data items fixed by computer software. In accordance with the instruction contents registered in the means, all data is collectively extracted from the first data storage means and stored in the second data storage means.

これによって、フリーズ処理の対象とする全てのデータを一括して選択することができるようになり、コンピュータのCPU等の処理負荷やROMの容量を増大させることなく、電子制御機器の異常発生後に、電子制御機器の異常発生の原因の解析を正確かつ迅速に行って異常発生の経緯を早期に特定することが可能になる。   As a result, it becomes possible to select all data to be subjected to freeze processing at once, without increasing the processing load of the CPU of the computer or the capacity of the ROM, and after the occurrence of an abnormality in the electronic control device, It is possible to analyze the cause of the occurrence of abnormality in the electronic control device accurately and quickly and to identify the background of the occurrence of abnormality at an early stage.

さらに、本発明では、第6に、車両等の移動体内の電子制御機器の異常状態が検知された場合、コンピュータのソフトウェアにより固定されているデータ項目に制約されずに、外部検査ツール等の登録手段に登録されているRAM等の記憶部の先頭アドレスより所定のバイト数分のアドレスから指定された特定のアドレスに従って、この特定のアドレスに関係するデータを第1のデータ保存手段から取り出して第2のデータ保存手段に保存するようにしている。   Furthermore, in the present invention, sixth, when an abnormal state of an electronic control device in a moving body such as a vehicle is detected, registration of an external inspection tool or the like is not restricted by data items fixed by computer software. In accordance with a specific address specified from an address of a predetermined number of bytes from the start address of a storage unit such as a RAM registered in the means, data relating to this specific address is extracted from the first data storage means and The data is stored in the second data storage means.

これによって、フリーズ処理の対象とするRAM等の記憶部の先頭アドレスから所定のバイト数分のアドレスを任意に選択することができるようになり、コンピュータのCPU等の処理負荷やROMの容量を増大させることなく、電子制御機器の異常発生後に、電子制御機器の異常発生の原因の解析を正確かつ迅速に行って異常発生の経緯を早期に特定することが可能になる。   As a result, it becomes possible to arbitrarily select an address for a predetermined number of bytes from the start address of the storage unit such as a RAM to be subjected to the freeze processing, thereby increasing the processing load of the CPU of the computer and the capacity of the ROM. Therefore, after the occurrence of an abnormality in the electronic control device, the cause of the occurrence of the abnormality in the electronic control device can be analyzed accurately and quickly to identify the background of the occurrence of the abnormality at an early stage.

さらに、本発明では、第7に、車両等の移動体内の電子制御機器の異常状態が検知された場合、コンピュータのソフトウェアにより固定されているデータ項目に制約されずに、外部検査ツール等の登録手段に登録されている第2のデータ保存手段内のデータの最大値または最小値を取り出して第2のデータ保存手段に保存するようにしている。   Further, according to the present invention, seventhly, when an abnormal state of an electronic control device in a moving body such as a vehicle is detected, registration of an external inspection tool or the like is not restricted by data items fixed by computer software. The maximum value or the minimum value of the data in the second data storage means registered in the means is taken out and stored in the second data storage means.

これによって、フリーズ処理の対象とする第2のデータ保存手段内のデータの最大値または最小値を選択することができるようになり、コンピュータのCPU等の処理負荷やROMの容量を増大させることなく、電子制御機器の異常発生後に、電子制御機器の異常発生の原因の解析を正確かつ迅速に行って異常発生の経緯を早期に特定することが可能になる。   As a result, it becomes possible to select the maximum value or the minimum value of the data in the second data storage means to be subjected to the freeze processing, without increasing the processing load of the CPU of the computer or the capacity of the ROM. After the occurrence of an abnormality in the electronic control device, the cause of the occurrence of the abnormality in the electronic control device can be analyzed accurately and quickly to identify the background of the occurrence of the abnormality at an early stage.

さらに、本発明では、第8に、車両等の移動体内の電子制御機器の異常状態が検知された場合、外部検査ツール等の登録手段に格納されているプログラムのプログラムポインタを取り出して第2のデータ保存手段に保存するようにしている。   Further, according to the present invention, eighthly, when an abnormal state of an electronic control device in a moving body such as a vehicle is detected, a program pointer of a program stored in a registration means such as an external inspection tool is taken out and the second The data is stored in the data storage means.

これによって、電子制御機器の自己診断を行う機能を実現するためのプログラムの流れを明確に把握することができるようになり、電子制御機器の異常発生後に、電子制御機器の異常発生の原因の解析に役立てることが可能になる。   This makes it possible to clearly grasp the program flow for realizing the function of self-diagnosis of electronic control equipment, and after the occurrence of abnormality in the electronic control equipment, analyze the cause of the occurrence of abnormality in the electronic control equipment. It becomes possible to make use for.

さらに、本発明では、第9に、車両等の移動体内の電子制御機器の異常状態が検知された場合、コンピュータのソフトウェアにより固定されているデータ項目に制約されずに、外部検査ツール等の登録手段に登録されているRAM等の記憶部の複数のセクションから指定された特定のセクションに従って、この特定のセクションに関係するデータを第1のデータ保存手段から取り出して第2のデータ保存手段に保存するようにしている。   Furthermore, in the present invention, ninthly, when an abnormal state of an electronic control device in a moving body such as a vehicle is detected, registration of an external inspection tool or the like is not restricted by data items fixed by computer software. In accordance with a specific section specified from a plurality of sections of a storage unit such as a RAM registered in the means, data related to the specific section is extracted from the first data storage means and stored in the second data storage means Like to do.

これによって、フリーズ処理の対象とするRAM等の記憶部のセクションを任意に選択することができるようになり、コンピュータのCPU等の処理負荷やROMの容量を増大させることなく、電子制御機器の異常発生後に、電子制御機器の異常発生の原因の解析を正確かつ迅速に行って異常発生の経緯を早期に特定することが可能になる。   As a result, it becomes possible to arbitrarily select a section of a storage unit such as a RAM to be subjected to freeze processing, and an abnormality of an electronic control device can be achieved without increasing the processing load of the CPU of the computer or the capacity of the ROM. After the occurrence, the cause of the occurrence of the abnormality in the electronic control device can be analyzed accurately and promptly to identify the background of the occurrence of the abnormality at an early stage.

さらに、本発明では、第10に、車両等の移動体内の電子制御機器の異常状態が検知された場合、コンピュータのソフトウェアにより固定されているデータ項目に制約されずに、外部検査ツール等の登録手段に登録されているRAM等の記憶部の複数のセクションから指定された特定のセクション、および上記特定のセクションの先頭アドレスから特定のバイト数分のアドレスに従って、上記特定のセクションの先頭アドレスから所定のバイト数分のアドレスに関係するデータを第1のデータ保存手段から取り出して第2のデータ保存手段に保存するようにしている。   Furthermore, in the present invention, tenthly, when an abnormal state of an electronic control device in a moving body such as a vehicle is detected, registration of an external inspection tool or the like is not restricted by data items fixed by computer software. Predetermined from the start address of the specific section according to the specific section specified from multiple sections of the storage unit such as RAM registered in the means, and the address for the specific number of bytes from the start address of the specific section The data related to the address corresponding to the number of bytes is taken out from the first data storage means and stored in the second data storage means.

これによって、フリーズ処理の対象とするRAM等の記憶部のセクションの先頭アドレスから所定のバイト数分のアドレスを任意に選択することができるようになり、コンピュータのCPU等の処理負荷やROMの容量を増大させることなく、電子制御機器の異常発生後に、電子制御機器の異常発生の原因の解析を正確かつ迅速に行って異常発生の経緯を早期に特定することが可能になる。   As a result, it becomes possible to arbitrarily select an address for a predetermined number of bytes from the head address of a section of a storage unit such as a RAM to be subjected to freeze processing, and the processing load of the CPU of the computer and the capacity of the ROM Therefore, after the occurrence of an abnormality in the electronic control device, it is possible to quickly and accurately analyze the cause of the occurrence of the abnormality in the electronic control device, thereby identifying the background of the occurrence of the abnormality at an early stage.

さらに、本発明では、第11に、電子制御機器の自己診断を行うためのプログラムにおける特定のモジュール(または特定のロジック)で車両等の移動体内の電子制御機器の異常発生の兆候が見出された場合(すなわち、上記特定のモジュールで電子制御機器の異常状態を示すフラグが検出された場合)、上記特定のモジュールで使用されているRAM等の記憶部のアドレスを補助情報保存手段から読み出し、当該記憶部のアドレスに関係するデータを第1のデータ保存手段から取り出して第2のデータ保存手段に保存するようにしている。   Furthermore, in the present invention, in the eleventh aspect, a specific module (or specific logic) in a program for performing a self-diagnosis of the electronic control device finds an indication of occurrence of an abnormality in the electronic control device in the moving body such as a vehicle. (I.e., when a flag indicating an abnormal state of the electronic control device is detected in the specific module), the address of the storage unit such as a RAM used in the specific module is read from the auxiliary information storage means, Data related to the address of the storage unit is extracted from the first data storage unit and stored in the second data storage unit.

これによって、電子制御機器の異常発生の兆候が見出された時点で、この異常発生の兆候に関係する特定のモジュールで使用されているRAM等の記憶部のアドレスを選択することができるようになり、電子制御機器の異常発生後に、電子制御機器の異常発生の原因の解析を正確かつ迅速に行って異常発生の経緯を早期に特定することが可能になる。   As a result, when an indication of the occurrence of an abnormality in the electronic control device is found, the address of a storage unit such as a RAM used in a specific module related to the indication of the occurrence of the abnormality can be selected. Thus, after the occurrence of an abnormality in the electronic control device, the cause of the occurrence of the abnormality in the electronic control device can be analyzed accurately and quickly, and the background of the occurrence of the abnormality can be identified early.

さらに、本発明では、第12に、電子制御機器の自己診断を行うためのプログラムにおける特定のモジュールで車両等の移動体内の電子制御機器の異常発生の兆候が見出された場合、上記特定のモジュールで使用されているRAM等の記憶部のデータの最大値または最小値を補助情報保存手段から読み出して第2のデータ保存手段に保存するようにしている。   Furthermore, in the present invention, twelfthly, if a specific module in a program for performing a self-diagnosis of an electronic control device finds a sign of occurrence of an abnormality in the electronic control device in a moving body such as a vehicle, A maximum value or a minimum value of data in a storage unit such as a RAM used in the module is read from the auxiliary information storage unit and stored in the second data storage unit.

これによって、電子制御機器の異常発生の兆候が見出された時点で、この異常発生の兆候に関係する特定のモジュールで使用されているRAM等の記憶部のデータの最大値または最小値を選択することができるようになり、電子制御機器の異常発生後に、電子制御機器の異常発生の原因の解析を正確かつ迅速に行って異常発生の経緯を早期に特定することが可能になる。   As a result, when a sign of occurrence of an abnormality in the electronic control device is found, the maximum or minimum value of the data in the storage unit such as RAM used in a specific module related to the sign of the abnormality is selected. As a result, it becomes possible to analyze the cause of the abnormality of the electronic control device accurately and quickly after the occurrence of the abnormality of the electronic control device, and to identify the background of the occurrence of the abnormality at an early stage.

さらに、本発明では、第13に、電子制御機器の自己診断を行うためのプログラムにおける特定のモジュールで車両等の移動体内の電子制御機器の異常発生の兆候が見出された場合、上記特定のモジュールで使用されているプログラムのプログラムポインタを第1のデータ保存手段から取り出して上記第2のデータ保存手段に保存するようにしている。   Furthermore, in the present invention, thirteenthly, when a specific module in a program for performing a self-diagnosis of an electronic control device finds a sign of occurrence of an abnormality in the electronic control device in a moving body such as a vehicle, The program pointer of the program used in the module is taken out from the first data storage means and stored in the second data storage means.

これによって、電子制御機器の異常発生の兆候が見出された時点で、この異常発生の兆候に関係する特定のモジュールで使用されているプログラムの流れを明確に把握することができるようになり、電子制御機器の異常発生後に、電子制御機器の異常発生の原因の解析に役立てることが可能になる。   This makes it possible to clearly grasp the program flow used in a specific module related to the abnormality occurrence sign when an abnormality occurrence sign of the electronic control device is found, After the occurrence of an abnormality in the electronic control device, it can be used for analysis of the cause of the abnormality in the electronic control device.

以下、添付図面(図1〜図15)を参照しながら、本発明の好ましい実施形態(実施例)を説明する。   Hereinafter, preferred embodiments (examples) of the present invention will be described with reference to the accompanying drawings (FIGS. 1 to 15).

図1は、本発明の一実施例に係る電子制御装置の構成を示すブロック図である。ただし、ここでは、電子制御式エンジン等の電子制御機器9を制御するための電子制御装置1の構成を簡略化して示す。なお、これ以降、前述した構成要素と同様のものについては、同一の参照番号を付して表すこととする。   FIG. 1 is a block diagram illustrating a configuration of an electronic control device according to an embodiment of the present invention. However, here, the configuration of the electronic control device 1 for controlling the electronic control device 9 such as an electronically controlled engine is simplified. Hereinafter, the same components as those described above are denoted by the same reference numerals.

図1に示すように、車両等の移動体には、電子制御式エンジン等の電子制御機器9の現在の状態を正確に把握して電子制御機器9に何らかの異常が発生したこと(すなわち、電子制御機器が異常状態になっていること)を検知することができるようにするために、各種のセンサを含むセンサ部5が設けられている。   As shown in FIG. 1, in a moving body such as a vehicle, an electronic control device 9 such as an electronically controlled engine is accurately grasped and an abnormality has occurred in the electronic control device 9 (that is, electronic In order to be able to detect that the control device is in an abnormal state, a sensor unit 5 including various sensors is provided.

上記の各種のセンサとして、電子制御式エンジン等の空気対燃料比を感知するA/Fセンサ50、電子制御式エンジン等に使用される水温を感知する水温センサ51、電子制御式エンジン等に使用される酸素の濃度を感知する酸素濃度センサ52、車両等のノッキングを感知するノッキングセンサ53、電子制御式エンジン等に使用されるオイルの温度を感知する油温センサ54、電子制御式エンジン等の排気温を感知する排気温センサ55、電子制御式エンジン等の吸気温を感知する吸気温センサ56、車両等のトルクを感知するトルクセンサ57、車両等のクランク角を感知するクランク角センサ58、車両等の走行速度(またはエンジン回転数)を感知する車速センサ59、および車両等のスロットルポジションを感知するスロットルポジションセンサ60等が挙げられる。   As the above-mentioned various sensors, the A / F sensor 50 for sensing the air-to-fuel ratio of an electronically controlled engine, the water temperature sensor 51 for sensing the water temperature used for the electronically controlled engine, etc., the electronically controlled engine, etc. Such as an oxygen concentration sensor 52 for sensing the concentration of oxygen, a knocking sensor 53 for sensing knocking of a vehicle, an oil temperature sensor 54 for sensing the temperature of oil used in an electronically controlled engine, and the like An exhaust temperature sensor 55 for sensing the exhaust temperature, an intake air temperature sensor 56 for sensing the intake air temperature of an electronically controlled engine, the like, a torque sensor 57 for sensing the torque of the vehicle, etc., a crank angle sensor 58 for sensing the crank angle of the vehicle, etc. A vehicle speed sensor 59 that senses the traveling speed (or engine speed) of the vehicle and the like, and a throttle that senses the throttle position of the vehicle and the like Jishon sensor 60 and the like.

図1の電子制御装置1は、電子制御式エンジン等の電子制御機器9を制御して電子制御機器9の自己診断を行う機能(すなわち、ダイアグノーシス機能)を有するCPU4と、電子制御機器9の自己診断を実行させるためのプログラムを含む各種のプログラムを格納するROM4と、各種のプログラムに関連したデータや各種のセンサにより取得されるセンサ検出データを一時的に保持するための主記憶装置である第1のデータ保存手段2と、センサ検出データ等に基づいて電子制御機器9の異常状態が検知されたときに、第1のデータ保存手段2内の予め定められたデータを所定のサンプリング間隔で保存するための不揮発性メモリである第3のデータ保存手段3とを備えている。   The electronic control device 1 shown in FIG. 1 controls the electronic control device 9 such as an electronically controlled engine to perform a self-diagnosis of the electronic control device 9 (that is, a diagnosis function). A ROM 4 that stores various programs including a program for executing self-diagnosis, and a main storage device that temporarily stores data related to various programs and sensor detection data acquired by various sensors. When an abnormal state of the electronic control device 9 is detected based on the first data storage means 2 and the sensor detection data or the like, predetermined data in the first data storage means 2 is stored at a predetermined sampling interval. And third data storage means 3 which is a non-volatile memory for storage.

好ましくは、上記の第1のデータ保存手段2は、RAMにより構成され、第2のデータ保存手段は、バックアップ機能付きのSRAM、または電気的にデータを書き込んだり消去したりすることが可能なEEPROMにより構成される。   Preferably, the first data storage means 2 is composed of a RAM, and the second data storage means is an SRAM with a backup function, or an EEPROM capable of electrically writing and erasing data. Consists of.

さらに、図1の電子制御装置1は、入力側の各種のセンサおよびバッテリ7とのインタフェースを取る入力インタフェース回路11と、一部のセンサ(例えば、A/Fセンサ50、水温センサ51および油温センサ54等)からのアナログ形式の検出信号をディジタル形式の検出信号に変換するA/Dコンバータ12と、出力側の電子制御機器9とのインタフェースを取る出力インタフェース回路13とを備えている。   1 includes an input interface circuit 11 that interfaces with various sensors on the input side and the battery 7, and some sensors (for example, the A / F sensor 50, the water temperature sensor 51, and the oil temperature). A / D converter 12 that converts an analog detection signal from a sensor 54 and the like into a digital detection signal, and an output interface circuit 13 that interfaces with an electronic control device 9 on the output side.

例えば、図1の電子制御装置1では、A/Fセンサ50、水温センサ51、酸素濃度センサ52、ノッキングセンサ53、油温センサ54、排気温センサ55および吸気温センサ56等の各種のセンサにより検出されたアナログ形式の検出信号が、入力インタフェース回路11を介してA/Dコンバータ12に入力され、このA/Dコンバータ12によりディジタル形式の検出信号に変換された後に、CPU4に入力される。また一方で、トルクセンサ57、クランク角センサ58、車速センサ59およびスロットルポジションセンサ60等により検出されたディジタル形式の検出信号が、入力インタフェース回路11を介してCPU4に入力される。   For example, in the electronic control unit 1 of FIG. 1, various sensors such as an A / F sensor 50, a water temperature sensor 51, an oxygen concentration sensor 52, a knocking sensor 53, an oil temperature sensor 54, an exhaust temperature sensor 55, and an intake air temperature sensor 56 are used. The detected analog detection signal is input to the A / D converter 12 via the input interface circuit 11, converted to a digital detection signal by the A / D converter 12, and then input to the CPU 4. On the other hand, digital detection signals detected by the torque sensor 57, the crank angle sensor 58, the vehicle speed sensor 59, the throttle position sensor 60, and the like are input to the CPU 4 via the input interface circuit 11.

さらに、図1の電子制御装置1は、バッテリ7を使用してCPU4および第1のデータ保存手段2等に一定の電圧を供給する定電圧電源70と、バッテリ7を使用して第2のデータ保存手段3にバックアップ用の電源電圧を供給するバックアップ電源71とを備えている。定電圧電源70は、車両等の移動体のイグニッションスイッチがオンになっている期間だけ、CPU4および第1のデータ保存手段2等に一定の電圧を供給している。また一方で、バックアップ電源71は、イグニッションスイッチのオン/オフに関係なく、第1のデータ保存手段3にバックアップ用の電源電圧を常時供給している。このバックアップ用の電源電圧は、第2のデータ保存手段3がSRAM等により構成される場合に特に有効に作用する。   Further, the electronic control device 1 of FIG. 1 uses a battery 7 to supply a constant voltage to the CPU 4 and the first data storage means 2 and the like, and a second data using the battery 7. A backup power supply 71 that supplies a power supply voltage for backup to the storage means 3 is provided. The constant voltage power supply 70 supplies a constant voltage to the CPU 4 and the first data storage means 2 only during a period when the ignition switch of a moving body such as a vehicle is on. On the other hand, the backup power supply 71 always supplies a power supply voltage for backup to the first data storage means 3 regardless of whether the ignition switch is on or off. This backup power supply voltage works particularly effectively when the second data storage means 3 is constituted by an SRAM or the like.

さらに、図1の電子制御装置1において、CPU4に入力されたディジタル形式の検出信号は、センサ検出データとして、RAM等の第1のデータ保存手段2に一時的に保持される。前述のように、第1のデータ保存手段2では、車両等の移動体のイグニッションスイッチがオンになっている期間だけ、各々のセンサ検出データが更新されるタイミングに応じた周期でセンサ検出データを保持するようになっている。それゆえに、イグニッションスイッチがオフになったときに、第1のデータ保存手段2に保持されているセンサ検出データは全て消失する。RAM等の第1のデータ保存手段2は、通常、揮発性メモリと呼ばれている。   Further, in the electronic control unit 1 of FIG. 1, the digital detection signal input to the CPU 4 is temporarily held in the first data storage means 2 such as RAM as sensor detection data. As described above, in the first data storage unit 2, the sensor detection data is obtained at a period corresponding to the timing at which each sensor detection data is updated only during the period when the ignition switch of the moving body such as a vehicle is on. It comes to hold. Therefore, when the ignition switch is turned off, all sensor detection data held in the first data storage unit 2 are lost. The first data storage means 2 such as a RAM is usually called a volatile memory.

また一方で、第1のデータ保存手段2に保持されているセンサ検出データ等に基づいて電子制御機器9に何らかの異常が発生していることが検知された場合、第1のデータ保存手段2に保持されているセンサ検出データの中から予め定められたデータを取り出し、第2のデータ保存手段3に一定のサンプリング間隔(例えば、500msec)で保存するようになっている。   On the other hand, if it is detected that some abnormality has occurred in the electronic control device 9 based on the sensor detection data held in the first data storage unit 2, the first data storage unit 2 Predetermined data is extracted from the held sensor detection data and stored in the second data storage means 3 at a constant sampling interval (for example, 500 msec).

第2のデータ保存手段3がSRAM等により構成される場合、前述のように、SRAM等の第2のデータ保存手段3では、バックアップ電源71によって、バックアップ用の電源電圧が常時供給される。それゆえに、イグニッションスイッチがオフになっても、SRAM等の第2のデータ保存手段3に保存されているデータは消失しない。したがって、整備工場等において、SRAM等の第2のデータ保存手段3に保存されているデータを読み出して電子制御機器の異常発生の原因の解析や異常発生の経緯の特定に役立てることにより、当該電子制御機器の自己診断を行うことが可能になる。   When the second data storage unit 3 is constituted by an SRAM or the like, the backup power supply voltage is always supplied from the backup power source 71 in the second data storage unit 3 such as an SRAM as described above. Therefore, even if the ignition switch is turned off, the data stored in the second data storage means 3 such as SRAM does not disappear. Therefore, in a maintenance shop or the like, the data stored in the second data storage means 3 such as SRAM is read and used for analysis of the cause of occurrence of abnormality in the electronic control device and identification of the background of occurrence of the abnormality. It becomes possible to perform self-diagnosis of the control device.

好ましくは、電子制御装置1内の主記憶装置の容量の節減を図るために、RAM等の第1のデータ保存手段2が全てSRAM等の第2のデータ保存手段3の領域に含まれるような構成にすることもできる。このような構成では、RAM等の第1のデータ保存手段2は、SRAM等の第2のデータ保存手段3の領域に対する電源の立ち上げ時(パワーオンのとき)に全てリセットされ、NRAMとして使用される。ただし、本発明の実施例に係る電子制御装置は、上記のような構成に限定されるものではない。   Preferably, in order to save the capacity of the main storage device in the electronic control unit 1, the first data storage unit 2 such as a RAM is all included in the area of the second data storage unit 3 such as an SRAM. It can also be configured. In such a configuration, the first data storage means 2 such as a RAM is all reset when the power is turned on (power-on) for the area of the second data storage means 3 such as an SRAM and used as an NRAM. Is done. However, the electronic control apparatus according to the embodiment of the present invention is not limited to the above configuration.

あるいは、第2のデータ保存手段3がEEPROM等により構成される場合、イグニッションスイッチがオンになっている期間で、移動体内の電子制御機器の異常状態が検知されたときに、第1のデータ保存手段2から取り出されたデータがEEPROM等に保存される。また一方で、イグニッションスイッチがオフになっている期間では、バックアップ用の電源電圧が供給されなくても、EEPROM等の第2のデータ保存手段3に保存されているデータは消失することなくそのまま保持される。したがって、この場合も、前述のSRAM等を使用した場合と同様に、整備工場等において、EEPROM等の第2のデータ保存手段3に保存されているデータを読み出して電子制御機器の異常発生の原因の解析や異常発生の経緯の特定に役立てることにより、当該電子制御機器の自己診断を行うことが可能になる。   Alternatively, when the second data storage means 3 is composed of an EEPROM or the like, the first data storage is performed when an abnormal state of the electronic control device in the moving body is detected during the period when the ignition switch is on. Data taken out from the means 2 is stored in an EEPROM or the like. On the other hand, during the period when the ignition switch is off, even if the backup power supply voltage is not supplied, the data stored in the second data storage means 3 such as the EEPROM is maintained without being lost. Is done. Therefore, in this case, as in the case of using the above-described SRAM or the like, the data stored in the second data storage means 3 such as EEPROM is read out at the maintenance shop or the like to cause an abnormality in the electronic control device. It is possible to perform a self-diagnosis of the electronic control device by using this analysis and identifying the circumstances of occurrence of an abnormality.

さらに、図1の電子制御装置1には、ダイアグスキャンツール等の電子制御機器9の自己診断を支援する外部検査ツール8が接続されている。この外部検査ツール8には、SRAM等の不揮発性メモリを含む格納手段80が設けられている。この格納手段80には、移動体内の複数のセンサにより取得されるデータに関連した任意の関連項目(例えば、複数のデータ項目や複数のバイト数のグループ等)が予め格納されている。さらに、外部検査ツール8は、格納手段80に格納されている任意の関連項目の中から特定の関連項目を指定して選択するための選択ボタン(選択スイッチ)を含む選択手段81と、この選択手段81により選択された特定の関連項目を表示画面に表示する表示手段82とを具備している。上記の選択手段81により選択された特定の関連項目は、入力インタフェース回路11およびCPU4を介して、第2のデータ保存手段3に送り込まれ保存される。   Further, an external inspection tool 8 that supports self-diagnosis of the electronic control device 9 such as a diagnostic scan tool is connected to the electronic control device 1 of FIG. The external inspection tool 8 is provided with storage means 80 including a nonvolatile memory such as SRAM. In this storage means 80, arbitrary related items (for example, a plurality of data items, a group of a plurality of bytes, etc.) related to data acquired by a plurality of sensors in the moving body are stored in advance. Further, the external inspection tool 8 includes a selection unit 81 including a selection button (selection switch) for designating and selecting a specific related item from arbitrary related items stored in the storage unit 80, and this selection. Display means 82 for displaying a specific related item selected by means 81 on the display screen. The specific related item selected by the selection unit 81 is sent to and stored in the second data storage unit 3 via the input interface circuit 11 and the CPU 4.

その後、電子制御機器9の異常状態が検知されたときに、CPU4は、第2のデータ保存手段3に保存されている特定の関連項目に従って、この特定の関連項目に関係するデータを第1のデータ保存手段2から取り出して第2のデータ保存手段3に保存するようにしている。   Thereafter, when an abnormal state of the electronic control device 9 is detected, the CPU 4 sends data related to the specific related item to the first data according to the specific related item stored in the second data storage unit 3. The data is taken out from the data storage unit 2 and stored in the second data storage unit 3.

好ましい実施形態として、図1の電子制御装置1において、第1のデータ保存手段2内のデータのフリーズ処理を行う場合、外部検査ツール8の格納手段80に格納されている複数のデータ項目(例えば、エンジン回転数、水温および吸気温)の中から選択された特定のデータ項目に従って、この特定のデータ項目に関係するデータが第1のデータ保存手段2から取り出されて第2のデータ保存手段3に保存される。このような実施形態は、CPU4により、ROM10に格納されているプログラムを読み出して実行させることよって実施されることが可能である。   As a preferred embodiment, when the electronic control device 1 of FIG. 1 performs the freeze processing of the data in the first data storage means 2, a plurality of data items (for example, stored in the storage means 80 of the external inspection tool 8). In accordance with a specific data item selected from among the engine speed, water temperature and intake air temperature), data related to this specific data item is retrieved from the first data storage means 2 and the second data storage means 3 Saved in. Such an embodiment can be implemented by causing the CPU 4 to read out and execute a program stored in the ROM 10.

さらに、好ましい実施形態として、図1の電子制御装置1において、第1のデータ保存手段2内のデータのフリーズ処理を行う場合、外部検査ツール8の格納手段80に格納されている複数のバイト数のグループ(例えば、1バイトのグループ、2バイトのグループおよび4バイトのグループ)の中から選択された特定のバイト数のグループに従って、この特定のバイト数のグループに関係するデータが第1のデータ保存手段2から取り出されて第2のデータ保存手段3に保存される。このような実施形態は、CPU4により、ROM10に格納されているプログラムを読み出して実行させることによって実施されることが可能である。   Further, as a preferred embodiment, in the electronic control device 1 of FIG. 1, when performing freeze processing of data in the first data storage unit 2, a plurality of bytes stored in the storage unit 80 of the external inspection tool 8 Data related to this particular group of bytes according to the particular group of bytes selected from the group of groups (eg, 1 byte group, 2 byte group and 4 byte group). It is taken out from the storage means 2 and stored in the second data storage means 3. Such an embodiment can be implemented by causing the CPU 4 to read and execute a program stored in the ROM 10.

さらに、好ましい実施形態として、図1の電子制御装置1において、第1のデータ保存手段2がRAM(記憶部)により構成される場合、第1のデータ保存手段2内のデータのフリーズ処理を行う際に、外部検査ツール8の格納手段80に格納されているRAMのアドレスの中から選択された特定のアドレスに従って、この特定のアドレスに関係するデータが第1のデータ保存手段2から取り出されて第2のデータ保存手段3に保存される。このような実施形態は、CPU4により、ROM10に格納されているプログラムを読み出して実行させることによって実施されることが可能である。   Furthermore, as a preferred embodiment, in the electronic control device 1 of FIG. 1, when the first data storage unit 2 is constituted by a RAM (storage unit), the data in the first data storage unit 2 is frozen. At this time, according to a specific address selected from the RAM addresses stored in the storage means 80 of the external inspection tool 8, data related to the specific address is retrieved from the first data storage means 2. It is stored in the second data storage means 3. Such an embodiment can be implemented by causing the CPU 4 to read and execute a program stored in the ROM 10.

さらに、好ましい実施形態として、図1の電子制御装置1において、第1のデータ保存手段2内のデータのフリーズ処理を行う場合、外部検査ツール8の格納手段80に格納されている複数の系列のグループ(例えば、A/D系データ、通信系データおよびモニタ系データ)の中から選択された特定の系列のグループに従って、この特定の系列のグループに関係するデータが第1のデータ保存手段2から取り出されて第2のデータ保存手段3に保存される。このような実施形態は、CPU4により、ROM10に格納されているプログラムを読み出して実行させることによって実施されることが可能である。   Furthermore, as a preferred embodiment, in the electronic control device 1 of FIG. 1, when performing freeze processing of data in the first data storage unit 2, a plurality of sequences stored in the storage unit 80 of the external inspection tool 8 are used. According to the group of the specific series selected from the group (for example, A / D system data, communication system data, and monitor system data), the data related to the group of the specific series is sent from the first data storage unit 2. It is taken out and stored in the second data storage means 3. Such an embodiment can be implemented by causing the CPU 4 to read and execute a program stored in the ROM 10.

さらに、好ましい実施形態として、図1の電子制御装置1において、第1のデータ保存手段2内のデータのフリーズ処理を行う場合、外部検査ツール8の格納手段80に予め格納されている「第1のデータ保存手段2内の全てのデータを一括して指定する」旨の指示内容に従って、第1のデータ保存手段2から全てのデータが一括して取り出され、第2のデータ保存手段3に保存される。このような実施形態は、CPU4により、ROM10に格納されているプログラムを読み出して実行させることによって実施されることが可能である。   Furthermore, as a preferred embodiment, in the electronic control device 1 of FIG. 1, when the freeze processing of data in the first data storage unit 2 is performed, the “first” stored in the storage unit 80 of the external inspection tool 8 in advance. In accordance with the instruction content “designate all the data in the data storage unit 2 at once”, all the data is extracted from the first data storage unit 2 and stored in the second data storage unit 3. Is done. Such an embodiment can be implemented by causing the CPU 4 to read and execute a program stored in the ROM 10.

さらに、好ましい実施形態として、図1の電子制御装置1において、第1のデータ保存手段2がRAM(記憶部)により構成される場合、第1のデータ保存手段2内のデータのフリーズ処理を行う際に、外部検査ツール8の格納手段80に格納されているRAMの先頭アドレスより所定のバイト数分のアドレスの中から選択された特定のアドレスに従って、この特定のアドレスに関係するデータが第1のデータ保存手段2から取り出されて第2のデータ保存手段3に保存される。このような実施形態は、CPU4により、ROM10に格納されているプログラムを読み出して実行させることによって実施されることが可能である。   Furthermore, as a preferred embodiment, in the electronic control device 1 of FIG. 1, when the first data storage unit 2 is constituted by a RAM (storage unit), the data in the first data storage unit 2 is frozen. At this time, according to a specific address selected from addresses corresponding to a predetermined number of bytes from the start address of the RAM stored in the storage means 80 of the external inspection tool 8, data related to this specific address is first. Is stored in the second data storage unit 3. Such an embodiment can be implemented by causing the CPU 4 to read and execute a program stored in the ROM 10.

さらに、好ましい実施形態として、図1の電子制御装置1において、第1のデータ保存手段2内のデータのフリーズ処理を行う場合、外部検査ツール8の格納手段80に格納されている第1のデータ保存手段2内のデータの最大値および最小値が取り出されて第2のデータ保存手段3に保存される。このような実施形態は、CPU4により、ROM10に格納されているプログラムを読み出して実行させることによって実施されることが可能である。   Furthermore, as a preferred embodiment, in the electronic control device 1 of FIG. 1, when the freeze processing of data in the first data storage unit 2 is performed, the first data stored in the storage unit 80 of the external inspection tool 8 The maximum value and the minimum value of the data in the storage unit 2 are taken out and stored in the second data storage unit 3. Such an embodiment can be implemented by causing the CPU 4 to read and execute a program stored in the ROM 10.

さらに、好ましい実施形態として、図1の電子制御装置1において、第1のデータ保存手段2内のデータのフリーズ処理を行う場合、外部検査ツール8の格納手段80に格納されているプログラムのプログラムポインタが取り出され、第2のデータ保存手段3に保存される。このような実施形態は、CPU4により、ROM10に格納されているプログラムを読み出して実行させることによって実施されることが可能である。   Further, as a preferred embodiment, in the electronic control device 1 of FIG. 1, when the freeze processing of the data in the first data storage unit 2 is performed, the program pointer of the program stored in the storage unit 80 of the external inspection tool 8 Is taken out and stored in the second data storage means 3. Such an embodiment can be implemented by causing the CPU 4 to read and execute a program stored in the ROM 10.

さらに、好ましい実施形態として、図1の電子制御装置1において、第1のデータ保存手段2がRAM(記憶部)により構成される場合、第1のデータ保存手段2内のデータのフリーズ処理を行う際に、外部検査ツール8の格納手段80に格納されているRAMの複数のセクション(例えば、エンジンのセクション、無段変速機のセクションおよびプラットフォームのセクション)の中から選択された特定のセクションに従って、この特定のセクションに関係するデータが第1のデータ保存手段2から取り出されて第2のデータ保存手段3に保存される。このような実施形態は、CPU4により、ROM10に格納されているプログラムを読み出して実行させることによって実施されることが可能である。   Furthermore, as a preferred embodiment, in the electronic control device 1 of FIG. 1, when the first data storage unit 2 is constituted by a RAM (storage unit), the data in the first data storage unit 2 is frozen. In accordance with a particular section selected from a plurality of sections (eg, engine section, continuously variable transmission section and platform section) of RAM stored in the storage means 80 of the external inspection tool 8, Data relating to the specific section is extracted from the first data storage unit 2 and stored in the second data storage unit 3. Such an embodiment can be implemented by causing the CPU 4 to read and execute a program stored in the ROM 10.

さらに、好ましい実施形態として、図1の電子制御装置1において、第1のデータ保存手段2がRAM(記憶部)により構成される場合、第1のデータ保存手段2内のデータのフリーズ処理を行う際に、外部検査ツール8の格納手段80に格納されているRAMの複数のセクションの中から選択された特定のセクション、および上記特定のセクションの先頭アドレスから特定のバイト数分のアドレスに従って、上記特定のセクションの先頭アドレスから特定のバイト数分のアドレスに関係するデータが第1のデータ保存手段2から取り出されて第2のデータ保存手段3に保存される。このような実施形態は、CPU4により、ROM10に格納されているプログラムを読み出して実行させることによって実施されることが可能である。   Furthermore, as a preferred embodiment, in the electronic control device 1 of FIG. 1, when the first data storage unit 2 is constituted by a RAM (storage unit), the data in the first data storage unit 2 is frozen. At the time, according to the specific section selected from the plurality of sections of the RAM stored in the storage means 80 of the external inspection tool 8 and the address corresponding to the specific number of bytes from the start address of the specific section, Data relating to a specific number of bytes of address from the head address of a specific section is extracted from the first data storage unit 2 and stored in the second data storage unit 3. Such an embodiment can be implemented by causing the CPU 4 to read and execute a program stored in the ROM 10.

ここで、図1の電子制御装置1において、電子制御機器9の自己診断を実行させるためのプログラムが、複数のモジュール(または複数のロジック)により構成される場合を想定する。この場合、図1の電子制御装置1は、SRAM等の不揮発性メモリからなる補助情報記憶手段6を備えている。好ましくは、この補助情報記憶手段6は、SRAM等の不揮発性メモリからなる第2のデータ保存手段3とは別個に設けられているが、補助情報記憶手段6および第2のデータ保存手段3を共用のSRAMに実装することも可能である。   Here, in the electronic control device 1 of FIG. 1, it is assumed that a program for executing a self-diagnosis of the electronic control device 9 is configured by a plurality of modules (or a plurality of logics). In this case, the electronic control device 1 of FIG. 1 includes auxiliary information storage means 6 composed of a nonvolatile memory such as SRAM. Preferably, the auxiliary information storage unit 6 is provided separately from the second data storage unit 3 formed of a non-volatile memory such as SRAM, but the auxiliary information storage unit 6 and the second data storage unit 3 are provided. It can also be mounted on a shared SRAM.

上記の補助情報記憶手段6には、複数のモジュールの各々について、第1のデータ保存手段2を構成するRAM(記憶部)のアドレスや、当該RAMに保持されているデータの最大値または最小値や、電子制御機器の異常状態を示すフラグが予め格納されている。好ましくは、複数のモジュールの各々について、RAMのアドレスや、当該RAMに保持されているデータの最大値または最小値や、電子制御機器の異常状態を示すフラグを含む補助情報が、RAM定義テーブルの形式で補助情報保存手段6に格納されている。   The auxiliary information storage unit 6 includes, for each of the plurality of modules, the address of the RAM (storage unit) constituting the first data storage unit 2 and the maximum or minimum value of the data held in the RAM. In addition, a flag indicating an abnormal state of the electronic control device is stored in advance. Preferably, for each of a plurality of modules, auxiliary information including a RAM address, a maximum or minimum value of data held in the RAM, and a flag indicating an abnormal state of the electronic control device is stored in the RAM definition table. It is stored in the auxiliary information storage means 6 in the form.

複数のモジュール中の特定のモジュールに関して、あるサンプリングの時刻で電子制御機器9に何らかの異常が発生した場合、この電子制御機器9に異常が発生したことを示すフラグが立つ。このフラグが検出された時点で、電子制御機器9に異常発生の兆候が見出されたものとみなされる。最終的に、予め定められたサンプリング時間(すなわち、あるサンプリングの時刻と他のサンプリングの時刻との間の時間)内で、電子制御機器9に異常が発生したことを示すフラグが所定の回数以上検出されたときに、電子制御機器9の異常状態が正式に検知されたものと判断される。   If any abnormality occurs in the electronic control device 9 at a certain sampling time for a specific module among the plurality of modules, a flag indicating that the abnormality has occurred in the electronic control device 9 is set. When this flag is detected, it is considered that a sign of occurrence of abnormality has been found in the electronic control device 9. Finally, a flag indicating that an abnormality has occurred in the electronic control device 9 within a predetermined sampling time (that is, a time between a certain sampling time and another sampling time) is a predetermined number of times or more. When detected, it is determined that the abnormal state of the electronic control device 9 has been formally detected.

好ましい実施形態として、図1の電子制御装置1において、複数のモジュール中の特定のモジュールで電子制御機器9の異常状態を示すフラグが検出され、電子制御機器9の異常発生の兆候が見出された時点で、上記特定のモジュールで使用されているRAMのアドレスが補助情報保存手段6から読み出され、このRAMのアドレスに関係するデータが第1のデータ保存手段2から取り出されて第2のデータ保存手段3に保存される。このような実施形態は、CPU4により、ROM10に格納されているプログラムを読み出して実行させることによって実施されることが可能である。   As a preferred embodiment, in the electronic control device 1 of FIG. 1, a flag indicating an abnormal state of the electronic control device 9 is detected in a specific module among the plurality of modules, and an indication of occurrence of an abnormality in the electronic control device 9 is found. At this point, the address of the RAM used in the specific module is read from the auxiliary information storage means 6, and the data related to the RAM address is extracted from the first data storage means 2 and the second address is stored. It is stored in the data storage means 3. Such an embodiment can be implemented by causing the CPU 4 to read and execute a program stored in the ROM 10.

さらに、好ましい実施形態として、図1の電子制御装置1において、複数のモジュール中の特定のモジュールで電子制御機器9の異常状態を示すフラグが検出され、電子制御機器9の異常発生の兆候が見出された時点で、上記特定のモジュールで使用されているRAM内のデータの最大値または最小値が補助情報保存手段6から読み出され、このRAM内のデータの最大値または最小値に関係するデータが第1のデータ保存手段2から取り出されて第2のデータ保存手段3に保存される。このような実施形態は、CPU4により、ROM10に格納されているプログラムを読み出して実行させることによって実施されることが可能である。   Furthermore, as a preferred embodiment, in the electronic control device 1 of FIG. 1, a flag indicating an abnormal state of the electronic control device 9 is detected in a specific module among the plurality of modules, and signs of occurrence of an abnormality in the electronic control device 9 are observed. When the data is issued, the maximum value or minimum value of the data in the RAM used in the specific module is read from the auxiliary information storage means 6 and related to the maximum value or minimum value of the data in the RAM. Data is extracted from the first data storage unit 2 and stored in the second data storage unit 3. Such an embodiment can be implemented by causing the CPU 4 to read and execute a program stored in the ROM 10.

好ましくは、図1の電子制御装置1において、電子制御機器9の自己診断を実行させるための複数のモジュールからなるプログラムのプログラムポインタが、移動体内の複数のセンサにより取得されるデータと共に、第1のデータ保存手段2に保持されるようになっている。   Preferably, in the electronic control device 1 of FIG. 1, the program pointer of the program composed of a plurality of modules for executing the self-diagnosis of the electronic control device 9 is the first along with the data acquired by the plurality of sensors in the moving body. Are stored in the data storage means 2.

好ましい実施形態として、図1の電子制御装置1において、複数のモジュール中の特定のモジュールで電子制御機器9の異常状態を示すフラグが検出され、電子制御機器9の異常発生の兆候が見出された時点で、上記特定のモジュールで使用されているプログラムのプログラムポインタが第1のデータ保存手段2から取り出されて第2のデータ保存手段3に保存される。このような実施形態は、CPU4により、ROM10に格納されているプログラムを読み出して実行させることによって実施されることが可能である。   As a preferred embodiment, in the electronic control device 1 of FIG. 1, a flag indicating an abnormal state of the electronic control device 9 is detected in a specific module among the plurality of modules, and an indication of occurrence of an abnormality in the electronic control device 9 is found. At this point, the program pointer of the program used in the specific module is extracted from the first data storage unit 2 and stored in the second data storage unit 3. Such an embodiment can be implemented by causing the CPU 4 to read and execute a program stored in the ROM 10.

より具体的にいえば、図1の電子制御装置1内のROM10に格納されているプログラムは、移動体に取り付けられた複数のセンサにより取得されるデータを第1のデータ保存手段2に一時的に保持するステップと、移動体内の電子制御機器9の異常状態が検知されたときに、不揮発性の第2のデータ保存手段3により、第1のデータ保存手段2内のデータを所定のサンプリング間隔で保存するステップと、第2のデータ保存手段3に保存されるデータに基づいて、電子制御機器9の自己診断を行うステップと、電子制御機器9の自己診断を実行させるためのプログラムを構成する複数のモジュールの各々について、第1のデータ保存手段2を構成するRAMのアドレスを補助情報保存手段6に保持するステップとを含み、複数のモジュール中の特定のモジュールで電子制御機器9の異常状態を示すフラグが検出されたときに、上記特定のモジュールで使用されているRAMのアドレスが補助情報保存手段6から読み出され、当該記憶部のアドレスに関係するデータが第1のデータ保存手段2から取り出されて上記第2のデータ保存手段3に送り込まれるように設定されている。   More specifically, the program stored in the ROM 10 in the electronic control unit 1 in FIG. 1 temporarily stores data acquired by a plurality of sensors attached to the moving body in the first data storage unit 2. And when the abnormal state of the electronic control device 9 in the moving body is detected, the non-volatile second data storage unit 3 stores the data in the first data storage unit 2 at a predetermined sampling interval. And a step for performing a self-diagnosis of the electronic control device 9 based on data stored in the second data storage means 3 and a program for executing the self-diagnosis of the electronic control device 9 are configured. For each of the plurality of modules, the step of holding the address of the RAM constituting the first data storage means 2 in the auxiliary information storage means 6. When a flag indicating an abnormal state of the electronic control device 9 is detected in the specific module, the address of the RAM used in the specific module is read from the auxiliary information storage unit 6 and the address of the storage unit It is set so that the data related to is taken out from the first data storage means 2 and sent to the second data storage means 3.

また一方で、図1の電子制御装置1内のROM10に格納されているプログラムは、移動体に取り付けられた複数のセンサにより取得されるデータを第1のデータ保存手段2に一時的に保持するステップと、移動体内の電子制御機器9の異常状態が検知されたときに、不揮発性の第2のデータ保存手段2により、第1のデータ保存手段2内のデータを所定のサンプリング間隔で保存するステップと、第2のデータ保存手段2に保存されるデータに基づいて、電子制御機器9の自己診断を行うステップと、電子制御機器9の自己診断を実行させるためのプログラムを構成する複数のモジュールの各々について、第1のデータ保存手段2を構成するRAMに保持されているデータの最大値または最小値を補助情報保存手段6に保持するステップとを含み、複数のモジュール中の特定のモジュールで電子制御機器9の異常状態を示すフラグが検出されたときに、上記特定のモジュールで使用されているRAM内のデータの最大値または最小値が補助情報保存手段6から読み出され、第2のデータ保存手段3に送り込まれるように設定される。   On the other hand, the program stored in the ROM 10 in the electronic control unit 1 in FIG. 1 temporarily holds data acquired by a plurality of sensors attached to the moving body in the first data storage unit 2. When a step and an abnormal state of the electronic control device 9 in the moving body are detected, the non-volatile second data storage unit 2 stores the data in the first data storage unit 2 at a predetermined sampling interval. A step, a step of performing a self-diagnosis of the electronic control device 9 based on data stored in the second data storage means 2, and a plurality of modules constituting a program for executing the self-diagnosis of the electronic control device 9 A maximum value or a minimum value of data held in the RAM constituting the first data storage means 2 for each of the above, and a step of holding in the auxiliary information storage means 6; In addition, when a flag indicating an abnormal state of the electronic control device 9 is detected in a specific module among the plurality of modules, the maximum value or the minimum value of the data in the RAM used in the specific module is the auxiliary information. It is set to be read from the storage means 6 and sent to the second data storage means 3.

また一方で、図1の電子制御装置1内のROM10に格納されているプログラムは、移動体に取り付けられた複数のセンサにより取得されるデータ、および、移動体内の電子制御機器9の自己診断を行う機能を実現するための複数のモジュールからなるプログラムのプログラムポインタを第1のデータ保存手段2に一時的に保持するステップと、移動体内の電子制御機器9の異常状態が検知されたときに、不揮発性の第2のデータ保存手段3により、第1のデータ保存手段2内のデータおよびプログラムのプログラムポインタを所定のサンプリング間隔で保存するステップと、複数のモジュールの各々について、第1のデータ保存手段2を構成するRAMのアドレスを補助情報保存手段6に保持するステップと、第2のデータ保存手段3に保存されるデータおよびプログラムのプログラムポインタに基づいて、電子制御機器9の自己診断を行うステップとを含み、複数のモジュール中の特定のモジュールで電子制御機器9の異常状態を示すフラグが検出されたときに、第1のデータ保存手段2に保持されているプログラムポインタの中で、上記特定のモジュールで使用されているプログラムのプログラムポインタが、第1のデータ保存手段2から取り出されて第2のデータ保存手段3に送り込まれるように設定される。   On the other hand, the program stored in the ROM 10 in the electronic control unit 1 in FIG. 1 performs data acquired by a plurality of sensors attached to the moving body and self-diagnosis of the electronic control device 9 in the moving body. A step of temporarily holding a program pointer of a program composed of a plurality of modules for realizing a function to be performed in the first data storage means 2, and when an abnormal state of the electronic control device 9 in the moving body is detected, The step of storing the data in the first data storage unit 2 and the program pointer of the program at a predetermined sampling interval by the non-volatile second data storage unit 3 and the first data storage for each of the plurality of modules Storing the address of the RAM constituting the means 2 in the auxiliary information storage means 6, and storing it in the second data storage means 3. Performing a self-diagnosis of the electronic control device 9 based on the data to be executed and the program pointer of the program, and when a flag indicating an abnormal state of the electronic control device 9 is detected in a specific module among the plurality of modules Among the program pointers held in the first data storage unit 2, the program pointer of the program used in the specific module is extracted from the first data storage unit 2 and the second data It is set to be sent to the storage means 3.

さらに、図1の実施例では、コンピュータ読み取り可能な記憶媒体(または記録媒体)を使用して電子制御装置1を動作させる場合、前述のようなプログラムの内容を保持しているハードディスクのような記憶媒体(図示されていない)を用意することが好ましい。   Further, in the embodiment of FIG. 1, when the electronic control device 1 is operated using a computer-readable storage medium (or recording medium), a storage such as a hard disk holding the contents of the program as described above. It is preferable to prepare a medium (not shown).

なお、図1の実施例で使用される記憶媒体は、上記したものに限らず、フロッピィディスクやMO(Magneto-Optical Disk:光磁気ディスク)やCD−R(Compact Disk-Recordable)やCD−ROM(Compact Disk Read-only Memory)等の可搬形媒体、その他の固定形媒体など種々の記憶媒体の形態で提供可能なものである。   The storage medium used in the embodiment of FIG. 1 is not limited to the above, but a floppy disk, MO (Magneto-Optical Disk), CD-R (Compact Disk-Recordable), or CD-ROM. It can be provided in the form of various storage media such as portable media such as (Compact Disk Read-only Memory) and other fixed media.

図1の実施例によれば、コンピュータのソフトウェアにより固定されているデータ項目に制約されずに、外部検査ツール等に登録されている関連項目(例えば、複数のデータ項目や複数のバイト数のグループ等)から指定された特定の関連項目(例えば、特定のデータ項目や特定のバイト数のグループ等)に従って、フリーズ処理の対象とするデータを任意に選択することができるので、電子制御機器の異常発生後に、電子制御機器の異常発生の原因の解析を正確かつ迅速に行って異常発生の経緯を早期に特定することが可能になる。   According to the embodiment of FIG. 1, the related items registered in the external inspection tool or the like (for example, a plurality of data items and a group of a plurality of bytes) are not restricted to data items fixed by computer software. The data subject to freeze processing can be arbitrarily selected according to specific related items (for example, specific data items and groups of specific number of bytes) specified from After the occurrence, the cause of the occurrence of the abnormality in the electronic control device can be analyzed accurately and promptly to identify the background of the occurrence of the abnormality at an early stage.

さらに、図1の実施例によれば、RAM内のデータのフリーズ処理を行う際に、外部検査ツール等に格納されているプログラムのプログラムポインタを取り出してSRAMまたはEEPROM等に保存するようにしているので、電子制御機器の自己診断を実行させるためのプログラムの流れを明確に把握することができるようになり、電子制御機器の異常発生後に、電子制御機器の異常発生の原因の解析に役立てることが可能になる。   Further, according to the embodiment of FIG. 1, when the data in the RAM is frozen, the program pointer of the program stored in the external inspection tool or the like is taken out and saved in the SRAM or EEPROM. Therefore, it is possible to clearly grasp the flow of the program for executing the self-diagnosis of the electronic control device, and it can be used for analysis of the cause of the abnormality of the electronic control device after the occurrence of the abnormality of the electronic control device. It becomes possible.

さらに、図1の実施例によれば、電子制御機器の自己診断を実行させるためのプログラムにおける特定のモジュールで電子制御機器の異常発生の兆候が見出された時点で、この異常発生の兆候に関係する特定のモジュールで使用されているRAMのアドレスまたはRAM内のデータの最大値もしくは最小値を選択することができるようになり、電子制御機器の異常発生後に、電子制御機器の異常発生の原因の解析を正確かつ迅速に行って異常発生の経緯を早期に特定することが可能になる。   Further, according to the embodiment of FIG. 1, when an abnormality occurrence sign of the electronic control device is found in a specific module in the program for executing the self-diagnosis of the electronic control device, the abnormality occurrence sign is displayed. It becomes possible to select the RAM address used in the specific module concerned or the maximum value or the minimum value of the data in the RAM, and after the abnormality of the electronic control device, the cause of the abnormality occurrence of the electronic control device It is possible to identify the background of the occurrence of an abnormality at an early stage by accurately and quickly analyzing the above.

さらに、図1の実施例によれば、電子制御機器の自己診断を実行させるためのプログラムにおける特定のモジュールで電子制御機器の異常発生の兆候が見出された時点で、この異常発生の兆候に関係する特定のモジュールで使用されているプログラムの流れを明確に把握することができるようになり、電子制御機器の異常発生後に、電子制御機器の異常発生の原因の解析に役立てることが可能になる。   Further, according to the embodiment of FIG. 1, when an abnormality occurrence sign of the electronic control device is found in a specific module in the program for executing the self-diagnosis of the electronic control device, the abnormality occurrence sign is displayed. It becomes possible to clearly understand the flow of the program used in the specific module concerned, and it becomes possible to use for analysis of the cause of the abnormality of the electronic control equipment after the abnormality of the electronic control equipment. .

図2は、本発明の実施例にてフリーズ処理対象のデータ項目を選択する手順を示す模式図である。   FIG. 2 is a schematic diagram showing a procedure for selecting a data item to be freeze-processed in the embodiment of the present invention.

ここでは、移動体内のセンサにより取得されるデータに関連した複数のデータ項目がある程度絞り込まれ、外部検査ツール8の不揮発性メモリの格納手段80(図1参照)に格納されている。より具体的には、図2の拡大された表示画面84に表示されているように、「1.エンジン回転数、2.電子制御式エンジン等に使用される水温、3.電子制御式エンジン等の吸気温、4.アクセル開度…」が、複数のデータ項目DIとして絞り込まれている。ユーザ等が選択ボタン81を操作することによって、表示画面84に表示されている複数のデータ項目DIの中から、電子制御機器の異常発生に関係すると予想される特定のデータ項目(ここでは、3.電子制御式エンジン等の吸気温)が選択される。このようにして選択された特定のデータ項目は、電子制御装置(ECU)1内の第2のデータ保存手段3(図1参照)の不揮発性メモリ(SRAMまたはEEPROM等)30に保存される。   Here, a plurality of data items related to data acquired by the sensor in the moving body are narrowed down to some extent and stored in the storage means 80 (see FIG. 1) of the nonvolatile memory of the external inspection tool 8. More specifically, as displayed on the enlarged display screen 84 in FIG. 2, "1. Engine speed, 2. Water temperature used for electronically controlled engine, etc. 3. Electronically controlled engine, etc." The intake air temperature, 4. accelerator opening ... "is narrowed down as a plurality of data items DI. When a user or the like operates the selection button 81, a specific data item (here, 3) that is expected to be related to the occurrence of an abnormality in the electronic control device from the plurality of data items DI displayed on the display screen 84. (Intake air temperature of electronically controlled engine, etc.) is selected. The specific data item thus selected is stored in a non-volatile memory (SRAM or EEPROM or the like) 30 of the second data storage means 3 (see FIG. 1) in the electronic control unit (ECU) 1.

その後、電子制御機器の異常状態が正式に検知されたときに、CPU4(図1参照)は、不揮発性メモリ30に予め保存されている特定のデータ項目に従って、この特定のデータ項目に関係するデータを第1のデータ保存手段2(図1参照)から取り出して不揮発性メモリ30に保存するようにしている。これによって、フリーズ処理の対象とするデータ項目を絞り込んで限定することができるようになり、電子制御機器の異常発生の原因の解析を正確かつ迅速に行って異常発生の経緯を早期に特定することが可能になる。   Thereafter, when an abnormal state of the electronic control device is formally detected, the CPU 4 (see FIG. 1) performs data related to the specific data item according to the specific data item stored in advance in the nonvolatile memory 30. Is taken out from the first data storage means 2 (see FIG. 1) and stored in the nonvolatile memory 30. This makes it possible to narrow down and limit the data items that are subject to freeze processing, and to analyze the cause of the occurrence of an abnormality in an electronic control device accurately and quickly to identify the background of the occurrence of the abnormality at an early stage. Is possible.

図3は、本発明の実施例にてフリーズ処理対象のバイト数のグループを選択する手順を示す模式図である。   FIG. 3 is a schematic diagram showing a procedure for selecting a group of the number of bytes subject to freeze processing in the embodiment of the present invention.

ここでは、移動体内のセンサにより取得されるデータに関連した複数のバイト数のグループがある程度絞り込まれ、外部検査ツール8の不揮発性メモリの格納手段80(図1参照)に格納されている。より具体的には、図3の拡大された表示画面84に表示されているように、「1.1バイトグループ、2.2バイトグループ、3.4バイトグループ…」が、複数のバイト数のグループBGとして絞り込まれている。ユーザ等が選択ボタン81を操作することによって、表示画面84に表示されている複数のバイト数のグループBGの中から、電子制御機器の異常発生に関係すると予想される特定のバイト数のグループ(ここでは、2.2バイトグループ)が選択される。このようにして選択された特定のバイト数のグループは、電子制御装置1内の第2のデータ保存手段3(図1参照)の不揮発性メモリ30(SRAMまたはEEPROM等)に保存される。   Here, a group of a plurality of bytes related to data acquired by the sensor in the moving body is narrowed down to some extent and stored in the nonvolatile memory storage means 80 (see FIG. 1) of the external inspection tool 8. More specifically, as displayed on the enlarged display screen 84 in FIG. 3, “1.1 byte group, 2.2 byte group, 3.4 byte group,... It is narrowed down as a group BG. When a user or the like operates the selection button 81, a group of a specific number of bytes expected to be related to the occurrence of an abnormality in the electronic control device from the plurality of groups of bytes BG displayed on the display screen 84 ( Here, 2.2 byte group) is selected. The group of the specific number of bytes selected in this way is stored in the nonvolatile memory 30 (SRAM or EEPROM, etc.) of the second data storage means 3 (see FIG. 1) in the electronic control unit 1.

その後、電子制御機器の異常状態が正式に検知されたときに、CPU4(図1参照)は、不揮発性メモリ30に予め保存されている特定のバイト数のグループに従って、この特定のバイト数のグループに関係するデータを第1のデータ保存手段2(図1参照)から取り出して不揮発性メモリ30に保存するようにしている。これによって、フリーズ処理の対象とするバイト数のグループを絞り込んで限定することができるようになり、電子制御機器の異常発生の原因の解析を正確かつ迅速に行って異常発生の経緯を早期に特定することが可能になる。   Thereafter, when an abnormal state of the electronic control device is formally detected, the CPU 4 (see FIG. 1) determines the group of this specific number of bytes according to the group of specific number of bytes stored in advance in the nonvolatile memory 30. The data related to is taken out from the first data storage means 2 (see FIG. 1) and stored in the nonvolatile memory 30. As a result, it becomes possible to narrow down and limit the number of groups of bytes that are subject to freeze processing, and the cause of the occurrence of an abnormality in an electronic control device can be analyzed accurately and quickly to identify the background of the occurrence of the abnormality at an early stage. It becomes possible to do.

図4は、本発明の実施例にてフリーズ処理対象のRAMのアドレスを選択する手順を示す模式図である。   FIG. 4 is a schematic diagram showing a procedure for selecting an address of a RAM to be freeze-processed in the embodiment of the present invention.

図4において、第1のデータ保存手段2(図1参照)を構成するRAMのアドレスがある程度絞り込まれ、外部検査ツール8の不揮発性メモリの格納手段80(図1参照)に格納されている。より具体的には、図4の拡大された表示画面84に表示されているように、「1.0xFFFF8000、2.0xFFFF9210、3.0xFFFFA140および4.0xFFFFB280(全て16進数で表示された値)…」が、複数のRAMのアドレスADとして絞り込まれている。ユーザ等が選択ボタン81を操作することによって、表示画面84に表示されている複数のRAMのアドレスADの中から、電子制御機器の異常発生に関係すると予想される特定のRAMのアドレス(ここでは、3.0xFFFFA140)が選択される。このようにして選択された特定のRAMのアドレスは、電子制御装置1内の第2のデータ保存手段3(図1参照)の不揮発性メモリ30(SRAMまたはEEPROM等)に保存される。   In FIG. 4, the RAM addresses constituting the first data storage unit 2 (see FIG. 1) are narrowed down to some extent and stored in the nonvolatile memory storage unit 80 (see FIG. 1) of the external inspection tool 8. More specifically, as displayed on the enlarged display screen 84 in FIG. 4, “1.0xFFFF8000, 2.0xFFFF9210, 3.0xFFFFA140, and 4.0xFFFFB280 (all values displayed in hexadecimal number)... "Is narrowed down as addresses AD of a plurality of RAMs. When a user or the like operates the selection button 81, a specific RAM address (here, a plurality of RAM addresses AD displayed on the display screen 84 that is expected to be related to the occurrence of an abnormality in the electronic control device). , 3.0xFFFFA140) is selected. The address of the specific RAM thus selected is stored in the non-volatile memory 30 (SRAM or EEPROM, etc.) of the second data storage means 3 (see FIG. 1) in the electronic control unit 1.

その後、電子制御機器の異常状態が正式に検知されたときに、CPU4(図1参照)は、不揮発性メモリ30に予め保存されている特定のRAMのアドレスに従って、この特定のRAMのアドレスに関係するデータを第1のデータ保存手段2から取り出して不揮発性メモリ30に保存するようにしている。これによって、フリーズ処理の対象とするRAMのアドレスを絞り込んで限定することができるようになり、電子制御機器の異常発生の原因の解析を正確かつ迅速に行って異常発生の経緯を早期に特定することが可能になる。   Thereafter, when an abnormal state of the electronic control device is formally detected, the CPU 4 (see FIG. 1) relates to the address of this specific RAM according to the address of the specific RAM stored in advance in the nonvolatile memory 30. The data to be retrieved is taken out from the first data storage means 2 and stored in the nonvolatile memory 30. As a result, it becomes possible to narrow down and limit the RAM addresses to be subjected to freeze processing, and the cause of the occurrence of the abnormality in the electronic control device is analyzed accurately and quickly to identify the background of the occurrence of the abnormality at an early stage. It becomes possible.

図5は、本発明の実施例にてフリーズ処理対象のデータのグループを選択する手順を示す模式図である。   FIG. 5 is a schematic diagram showing a procedure for selecting a group of data to be subjected to freeze processing in the embodiment of the present invention.

ここでは、移動体内のセンサにより取得されるデータに関連した複数の系列のグループがある程度絞り込まれ、外部検査ツール8の不揮発性メモリの格納手段80(図1参照)に格納されている。より具体的には、図5の拡大された表示画面84に表示されているように、「1.A/D系データ、2.通信系データ、3.モニタ系データ…」が、複数の系列のグループDGとして絞り込まれている。ここで、A/D系データは、アナログ/ディジタル変換処理を行う回路系のデータのグループを表しており、通信系データは、任意の信号の通信処理を行う回路系のデータのグループを表しており、モニタ系データは、接続部の断線等を検出する回路系のデータのグループを表している。   Here, a plurality of groups of groups related to the data acquired by the sensor in the moving body are narrowed down to some extent and stored in the nonvolatile memory storage means 80 (see FIG. 1) of the external inspection tool 8. More specifically, as displayed on the enlarged display screen 84 of FIG. 5, “1. A / D system data, 2. communication system data, 3. monitor system data. Group DG. Here, A / D system data represents a group of circuit system data that performs analog / digital conversion processing, and communication system data represents a group of circuit system data that performs communication processing of an arbitrary signal. The monitor system data represents a group of circuit system data for detecting disconnection or the like of the connection portion.

ユーザ等が選択ボタン81を操作することによって、表示画面84に表示されている複数の系列のグループDGの中から、電子制御機器の異常発生に関係すると予想される特定の系列のグループ(ここでは、2.通信系データ)が選択される。このようにして選択された特定の系列のグループは、電子制御装置1内の第2のデータ保存手段3(図1参照)の不揮発性メモリ(SRAMまたはEEPROM等)30に保存される。   When a user or the like operates the selection button 81, a specific group of groups (here, a group of groups DG displayed on the display screen 84 that is expected to be related to the occurrence of an abnormality in the electronic control device) 2. Communication data) is selected. The group of the specific series thus selected is stored in the non-volatile memory (SRAM or EEPROM or the like) 30 of the second data storage unit 3 (see FIG. 1) in the electronic control unit 1.

その後、電子制御機器の異常状態が正式に検知されたときに、CPU4(図1参照)は、不揮発性メモリ30に予め保存されている特定の系列のグループに従って、この特定の系列のグループに関係するデータを第1のデータ保存手段2(図1参照)から取り出して不揮発性メモリ30に保存するようにしている。これによって、フリーズ処理の対象とする系列のグループを絞り込んで限定することができるようになり、電子制御機器の異常発生の原因の解析を正確かつ迅速に行って異常発生の経緯を早期に特定することが可能になる。   Thereafter, when an abnormal state of the electronic control device is formally detected, the CPU 4 (see FIG. 1) relates to the group of the specific sequence according to the group of the specific sequence stored in advance in the nonvolatile memory 30. The data to be retrieved is taken out from the first data storage means 2 (see FIG. 1) and stored in the nonvolatile memory 30. As a result, it becomes possible to narrow down and limit the group of the series to be subjected to the freeze processing, and the cause of the occurrence of the abnormality of the electronic control device can be analyzed accurately and quickly to identify the background of the occurrence of the abnormality early. It becomes possible.

図6は、本発明の実施例にて本発明の実施例にてRAM内の全てのデータを選択する手順を示す模式図である。   FIG. 6 is a schematic diagram showing a procedure for selecting all data in the RAM in the embodiment of the present invention in the embodiment of the present invention.

ここでは、第1のデータ保存手段2(図1参照)を構成するRAMに保持されている全てのデータを一括して指定する場合を想定する。この場合は、図6の拡大された表示画面84に表示されているように、「全データ指定(すなわち、RAM内の全てのデータを一括して指定する旨」の指示内容WDが、外部検査ツール8の不揮発性メモリの格納手段80(図1参照)に格納されている。ユーザ等が選択ボタン81を操作することによって、表示画面84に表示されている「全データ指定」の指示内容WDが選択される。このようにして選択された「全データ指定」の指示内容は、電子制御装置1内の第2のデータ保存手段3(図1参照)の不揮発性メモリ30(SRAMまたはEEPROM等)に保存される。   Here, it is assumed that all the data held in the RAM constituting the first data storage unit 2 (see FIG. 1) are designated collectively. In this case, as displayed on the enlarged display screen 84 in FIG. 6, the instruction content WD “All data designation (ie, all data in the RAM is designated collectively)” It is stored in the non-volatile memory storage means 80 (see FIG. 1) of the tool 8. The instruction contents WD of "all data designation" displayed on the display screen 84 when the user or the like operates the selection button 81. The instruction content of “all data designation” selected in this way is the nonvolatile memory 30 (SRAM or EEPROM or the like) of the second data storage means 3 (see FIG. 1) in the electronic control unit 1. ).

その後、電子制御機器の異常状態が正式に検知されたときに、CPU4(図1参照)は、不揮発性メモリ30に予め保存されている「全データ指定」の指示内容に従って、RAM内の全てのデータを第1のデータ保存手段2から取り出して不揮発性メモリ30に保存するようにしている。これによって、フリーズ処理の対象とする全てのデータを一括して選択することができるようになり、電子制御機器の異常発生の原因の解析を正確かつ迅速に行って異常発生の経緯を早期に特定することが可能になる。   Thereafter, when an abnormal state of the electronic control device is formally detected, the CPU 4 (see FIG. 1), according to the instruction contents of “all data designation” stored in advance in the nonvolatile memory 30, Data is taken out from the first data storage means 2 and stored in the nonvolatile memory 30. This makes it possible to select all the data to be subjected to freeze processing at once, and quickly and accurately analyze the cause of the occurrence of abnormalities in electronic control devices to identify the background of the occurrence of abnormalities. It becomes possible to do.

図7は、本発明の実施例にてRAMの先頭アドレスからバイト数分のアドレスを選択する手順を示す模式図である。   FIG. 7 is a schematic diagram showing a procedure for selecting addresses corresponding to the number of bytes from the start address of the RAM in the embodiment of the present invention.

図7において、第1のデータ保存手段2(図1参照)を構成するRAMの先頭アドレスから所定のバイト数分のアドレスがある程度絞り込まれ、外部検査ツール8の不揮発性メモリの格納手段80(図1参照)に格納されている。より具体的には、図7の拡大された表示画面84に表示されているように、RAMの先頭アドレスからのバイト数(RAMの先頭アドレスから**Byte)BAが指定されるようになっている。ここで、ユーザ等が選択ボタン81を操作して、RAMの先頭アドレスからのバイト数BAを入力することによって、RAMの先頭アドレスから特定のバイト数分のアドレスが選択される。このようにして選択されたRAMの先頭アドレスから特定のバイト数分のアドレスは、電子制御装置1内の第2のデータ保存手段3(図1参照)の不揮発性メモリ30(SRAMまたはEEPROM等)に保存される。   In FIG. 7, addresses corresponding to a predetermined number of bytes are narrowed down to some extent from the head address of the RAM constituting the first data storage means 2 (see FIG. 1), and the nonvolatile memory storage means 80 of the external inspection tool 8 (FIG. 7). 1). More specifically, as displayed on the enlarged display screen 84 in FIG. 7, the number of bytes from the start address of the RAM (** Byte from the start address of the RAM) BA is designated. Yes. Here, when the user or the like operates the selection button 81 and inputs the number of bytes BA from the head address of the RAM, an address corresponding to a specific number of bytes is selected from the head address of the RAM. The address corresponding to the specific number of bytes from the head address of the RAM thus selected is the nonvolatile memory 30 (SRAM or EEPROM, etc.) of the second data storage means 3 (see FIG. 1) in the electronic control unit 1. Saved in.

その後、電子制御機器の異常状態が正式に検知されたときに、CPU4(図1参照)は、不揮発性メモリ30に予め保存されている上記特定のバイト数分のアドレスに従って、この特定のバイト数分のアドレスに関係するデータを第1のデータ保存手段2から取り出して不揮発性メモリ30に保存するようにしている。これによって、フリーズ処理の対象とするRAMの先頭アドレスからバイト数分のアドレスを絞り込んで限定することができるようになり、電子制御機器の異常発生の原因の解析を正確かつ迅速に行って異常発生の経緯を早期に特定することが可能になる。   Thereafter, when an abnormal state of the electronic control device is formally detected, the CPU 4 (see FIG. 1) determines the specific number of bytes according to the specific number of bytes stored in the nonvolatile memory 30 in advance. The data related to the minute address is taken out from the first data storage means 2 and stored in the nonvolatile memory 30. This makes it possible to narrow down and limit the number of bytes from the start address of the RAM subject to freeze processing, and to analyze the cause of the occurrence of abnormalities in electronic control equipment accurately and quickly. It becomes possible to identify the circumstances of the early.

図8は、本発明の実施例にてRAM内のデータの最大値または最小値を指定する手順を示す模式図である。   FIG. 8 is a schematic diagram showing a procedure for designating the maximum value or the minimum value of data in the RAM in the embodiment of the present invention.

図8において、第1のデータ保存手段2(図1参照)を構成するRAMに保存されているデータの最大値または最小値がある程度絞り込まれ、外部検査ツール8の不揮発性メモリの格納手段80(図1参照)に格納されている。より具体的には、図8の拡大された表示画面84において、格納手段80に格納されているRAM内のデータの最大値または最小値MAX,MINが表示されている。ユーザ等が選択ボタン81を操作することによって、表示画面84に表示されているRAM内のデータの最大値または最小値MAX,MINが指定される。   In FIG. 8, the maximum value or the minimum value of the data stored in the RAM constituting the first data storage unit 2 (see FIG. 1) is narrowed down to some extent, and the storage unit 80 of the nonvolatile memory of the external inspection tool 8 ( (See FIG. 1). More specifically, on the enlarged display screen 84 in FIG. 8, the maximum value or the minimum value MAX, MIN of the data in the RAM stored in the storage unit 80 is displayed. When the user or the like operates the selection button 81, the maximum value or the minimum value MAX, MIN of the data in the RAM displayed on the display screen 84 is designated.

その後、電子制御機器の異常状態が正式に検知されたときに、CPU4(図1参照)は、選択ボタン81により指定されたRAM内のデータの最大値または最小値を格納手段80から取り出して不揮発性メモリ30に保存するようにしている。これによって、フリーズ処理の対象とするRAM内のデータの最大値または最小値を絞り込んで限定することができるようになり、電子制御機器の異常発生の原因の解析を正確かつ迅速に行って異常発生の経緯を早期に特定することが可能になる。   After that, when an abnormal state of the electronic control device is formally detected, the CPU 4 (see FIG. 1) takes out the maximum value or the minimum value of the data in the RAM designated by the selection button 81 from the storage means 80 and makes it non-volatile. Is stored in the memory 30. As a result, it becomes possible to narrow down and limit the maximum or minimum value of the data in the RAM that is the target of the freeze process, and the cause of the abnormality in the electronic control device is analyzed accurately and quickly. It becomes possible to identify the circumstances of the early.

図9は、本発明の実施例にてプログラムポインタを指定する手順を示す模式図である。   FIG. 9 is a schematic diagram showing a procedure for designating a program pointer in the embodiment of the present invention.

ここでは、CPU4(図1参照)が、電子制御機器の自己診断を実行させるためのプログラムのプログラムポインタ(通常、複数個のプログラムポインタが存在する)を常に把握している点に着目し、CPU4により、外部検査ツール8の不揮発性メモリの格納手段80(図1参照)に上記プログラムポインタを格納するようにしている。より具体的には、図9の拡大された表示画面84において、格納手段80に格納されているプログラムポインタPPが表示されている。ここで、「プログラムポインタ」とは、上記プログラムの各々の命令に対応するアドレスを指している。なお、このプログラムポインタの具体的な例は、後述の図14および図15に図示されている。   Here, the CPU 4 (see FIG. 1) pays attention to the fact that the CPU 4 (see FIG. 1) always keeps track of the program pointer of the program for executing the self-diagnosis of the electronic control device (normally, there are a plurality of program pointers). Thus, the program pointer is stored in the nonvolatile memory storage means 80 (see FIG. 1) of the external inspection tool 8. More specifically, the program pointer PP stored in the storage unit 80 is displayed on the enlarged display screen 84 of FIG. Here, the “program pointer” indicates an address corresponding to each instruction of the program. A specific example of the program pointer is shown in FIGS. 14 and 15 described later.

ユーザ等が選択ボタン81を操作することによって、表示画面84に表示されているプログラムポインタPPが指定され、電子制御装置1内の第2のデータ保存手段3(図1参照)の不揮発性メモリ30(SRAMまたはEEPROM等)に保存される。   When the user or the like operates the selection button 81, the program pointer PP displayed on the display screen 84 is designated, and the nonvolatile memory 30 of the second data storage unit 3 (see FIG. 1) in the electronic control device 1 is designated. (SRAM or EEPROM etc.)

その後、電子制御機器の異常状態が正式に検知されたときに、CPU4は、格納手段80に予め保存されているプログラムポインタを取り出して不揮発性メモリ30に保存するようにしている。これによって、電子制御機器の自己診断を実行させるためのプログラムの流れを明確に把握することができるようになり、電子制御機器の異常発生後に、電子制御機器の異常発生の原因の解析に役立てることが可能になる。 Thereafter, when an abnormal state of the electronic control device is formally detected, the CPU 4 takes out a program pointer stored in advance in the storage means 80 and stores it in the nonvolatile memory 30. This makes it possible to clearly grasp the program flow for executing the self-diagnosis of the electronic control device, and to use for analysis of the cause of the abnormality of the electronic control device after the abnormality of the electronic control device occurs. Is possible.

ここで、電子制御機器の自己診断を実行させるためのプログラムの各々の命令とプログラムポインタとが1対1に対応しているので、当該プログラムが現在どの命令を実行しているかはプログラムポインタを参照すれば容易にわかる。ただし、関数コール中は、その関数コールがなされているプログラムのアドレスがプログラムポインタに格納されているので、割り込みに入る前の実行アドレスを知るには、割り込み前のアドレスが格納されているリンクポインタを参照すればよい。   Here, since each instruction of the program for executing the self-diagnosis of the electronic control device and the program pointer have a one-to-one correspondence, refer to the program pointer for which instruction the program is currently executing. This is easy to understand. However, during a function call, the address of the program that made the function call is stored in the program pointer, so to know the execution address before entering the interrupt, the link pointer that stores the address before the interrupt Please refer to.

プログラムポインタに対して途切れなくフリーズ処理を行うためには、プログラムの1命令毎にフリーズ処理を行って全てのプログラムポインタを不揮発性メモリ30に保存することが必要である。しかしながら、全てのプログラムポインタのフリーズ処理を行うことは、処理速度の関係からして実際には難しいので、最速の割り込みのタイミングでリンクポインタのフリーズ処理を行うようにしている。   In order to perform freeze processing on the program pointers without interruption, it is necessary to perform freeze processing for each instruction of the program and store all program pointers in the nonvolatile memory 30. However, since it is actually difficult to perform the freeze processing of all program pointers due to the processing speed, the link pointer freeze processing is performed at the fastest interrupt timing.

図10は、本発明の実施例にてRAMのセクションの全バイト、またはセクションの先頭アドレスからバイト数分のアドレスを選択する手順を示す模式図である。   FIG. 10 is a schematic diagram showing a procedure for selecting all bytes of a RAM section or addresses corresponding to the number of bytes from the head address of the section in the embodiment of the present invention.

図10において、第1のデータ保存手段2(図1参照)を構成するRAMの複数のセクション、および各々のセクションの先頭アドレスから所定のバイト数分のアドレスがある程度絞り込まれ、外部検査ツール8の不揮発性メモリの格納手段80(図1参照)に格納されている。より具体的には、図10の拡大された表示画面84に表示されているように、「1.エンジン(ENG)のセクション、2.無段変速機(CVT)のセクション、3.プラットフォーム(PF)のセクション、4.ダイアグノーシス関係(OBD)のセクション…」が、複数のセクションSEとして絞り込まれている。また一方で、各々のセクションの全てのバイト数、または各々のセクションの先頭アドレスからのバイト数(セクションの先頭アドレスから**Byte)が指定されるようになっている。ここで、「セクション」とは、RAM定義マップ内で定義されている複数のエリアを指している。   In FIG. 10, a plurality of sections of the RAM constituting the first data storage means 2 (see FIG. 1), and addresses corresponding to a predetermined number of bytes are narrowed down to some extent from the head address of each section. It is stored in the storage means 80 (see FIG. 1) of the nonvolatile memory. More specifically, as shown in the enlarged display screen 84 of FIG. 10, “1. section of engine (ENG), 2. section of continuously variable transmission (CVT), 3. platform (PF). ) Section, 4. diagnosis relation (OBD) section... ”Are narrowed down to a plurality of sections SE. On the other hand, the total number of bytes in each section or the number of bytes from the start address of each section (** Byte from the start address of the section) is designated. Here, the “section” refers to a plurality of areas defined in the RAM definition map.

ここで、ユーザ等が選択ボタン81を操作することによって、表示画面84に表示されている複数のセクションSE中の特定のセクション(ここでは、2.無段変速機のセクション)における全てのRAMのアドレス、または上記特定のセクションの先頭アドレスから特定のバイト数分のアドレスが選択される。このようにして選択された特定のセクションの全てのRAMのアドレス、または上記特定のセクションの先頭アドレスから特定のバイト数分のアドレスが、電子制御装置1内の第2のデータ保存手段3(図1参照)の不揮発性メモリ30(SRAMまたはEEPROM等)に保存される。   Here, when the user or the like operates the selection button 81, all of the RAMs in a specific section (here, the section of 2. continuously variable transmission) in the plurality of sections SE displayed on the display screen 84 are stored. An address for a specific number of bytes is selected from the address or the start address of the specific section. The addresses of all the RAMs of the specific section selected in this way, or the addresses corresponding to the specific number of bytes from the start address of the specific section are the second data storage means 3 (see FIG. 1) is stored in a nonvolatile memory 30 (SRAM, EEPROM, or the like).

その後、電子制御機器の異常状態が正式に検知されたときに、CPU4(図1参照)は、不揮発性メモリ30に予め保存されている上記特定のセクションの全てのRAMのアドレス、または上記特定のセクションの先頭アドレスから特定のバイト数分のアドレスに従って、前者のアドレスまたは後者のアドレスのいずれか一方に関係するデータを第1のデータ保存手段2から取り出して不揮発性メモリ30に保存するようにしている。これによって、フリーズ処理の対象とするRAMのセクション、またはRAMのセクションの先頭アドレスからバイト数分のアドレスを絞り込んで限定することができるようになり、電子制御機器の異常発生の原因の解析を正確かつ迅速に行って異常発生の経緯を早期に特定することが可能になる。   Thereafter, when an abnormal state of the electronic control device is formally detected, the CPU 4 (see FIG. 1), the address of all the RAMs of the specific section previously stored in the nonvolatile memory 30, or the specific According to the address for a specific number of bytes from the head address of the section, the data related to either the former address or the latter address is taken out from the first data storage means 2 and stored in the nonvolatile memory 30. Yes. This makes it possible to narrow down and limit the number of bytes from the RAM section subject to freeze processing, or the start address of the RAM section, and accurately analyze the cause of abnormalities in electronic control equipment. In addition, it is possible to quickly identify the background of the occurrence of an abnormality.

図11は、異常状態の兆候があったときにモジュールで使用している全てのRAMアドレス、またはRAM内のデータの最大値もしくは最小値を指定する方法を示すデータフォーマット図である。   FIG. 11 is a data format diagram showing a method of designating all RAM addresses used in the module or the maximum value or minimum value of data in the RAM when there is an indication of an abnormal state.

図11において、移動体内の電子制御機器の自己診断を実行させるためのプログラムが、複数のモジュール(または複数のロジック)により構成される場合を想定する。前述のように、図1の電子制御装置1は、SRAM等の不揮発性メモリからなる補助情報記憶手段6(図1参照)を備えている。この補助情報記憶手段6には、複数のモジュールの各々について、第1のデータ保存手段2を構成するRAMのアドレス、当該RAMに保持されているデータの最大値または最小値に対するピークホールドを行った値、および、電子制御機器に異常が発生したことを示すフラグを含む種々の補助情報が、RAM定義テーブルRTの形式で補助情報保存手段6に格納されている。   In FIG. 11, it is assumed that a program for executing a self-diagnosis of an electronic control device in a moving body is constituted by a plurality of modules (or a plurality of logics). As described above, the electronic control unit 1 of FIG. 1 includes the auxiliary information storage unit 6 (see FIG. 1) including a nonvolatile memory such as SRAM. In this auxiliary information storage means 6, for each of the plurality of modules, the RAM of the first data storage means 2 and the peak hold for the maximum value or the minimum value of the data held in the RAM are performed. Various auxiliary information including a value and a flag indicating that an abnormality has occurred in the electronic control device is stored in the auxiliary information storage means 6 in the form of a RAM definition table RT.

換言すれば、複数のモジュール(例えば、モジュール1〜モジュール5)の各々は、それぞれ個別にRAM定義テーブルRTを持っており、このRAM定義テーブルRTに基づいてRAM内のデータの値の読み出しおよび書き込みが行われる。   In other words, each of a plurality of modules (for example, module 1 to module 5) has a RAM definition table RT individually, and reads and writes data values in the RAM based on the RAM definition table RT. Is done.

より具体的にいえば、図11に示すように、一つのモジュールに対するRAM定義テーブルRTには、管理ナンバー(例えば、No.1〜No.5)、RAMのアドレス(例えば、0xFFFFA800、0xFFFF9610、0xFFFFAB128、0xFFFFBC718および0xFFFFB8372(全て16進数で表示された値))、RAMの型、RAM内のデータの値のA/D変換を行う際の最小単位であるLSB(Least Significant Bit:最小量子化ビット)、RAM内のデータの最大値(MAX)または最小値(MIN)に対するピークホールドを行った値とピークホールドの方向を定義した値、およびフリーズ処理を行う際のサンプリングのタイミング(サンプリング数)が格納されている。   More specifically, as shown in FIG. 11, the RAM definition table RT for one module includes a management number (for example, No. 1 to No. 5) and a RAM address (for example, 0xFFFFA800, 0xFFFF9610, 0xFFFFAB128). , 0xFFFFBC718 and 0xFFFFB8372 (all values expressed in hexadecimal)), RAM type, LSB (Least Significant Bit) which is the minimum unit when performing A / D conversion of the data value in the RAM Stores the peak hold value with respect to the maximum value (MAX) or minimum value (MIN) of the data in the RAM, the value defining the peak hold direction, and the sampling timing (sampling number) when performing the freeze processing Has been.

さらに詳しく説明すると、RAM定義テーブルの「RAMの型」に関していえば、SN1〜SN4は、署名済みで(signed)定義されているマクロを表しており、SNの後に付記された数字は、署名済みのマクロのバイト数を表している。また一方で、UN1〜UN4は、無署名で(unsigned)定義されているマクロを表しており、UNの後に付記された数字は、無署名のマクロのバイト数を表している。また一方で、FLAGは、電子制御機器に異常が発生したことを示すフラグを表している。   More specifically, regarding the “RAM type” in the RAM definition table, SN1 to SN4 represent macros that are signed and defined, and the numbers added after SN are signed. This indicates the number of macro bytes. On the other hand, UN1 to UN4 represent macros that are defined as unsigned, and the number appended after UN represents the number of bytes of the unsigned macro. On the other hand, FLAG represents a flag indicating that an abnormality has occurred in the electronic control device.

さらに、RAM定義テーブルの「LSB」に関していえば、0xFFFFA800、0xFFFF9610、0xFFFFAB128、0xFFFFBC718および0xFFFFB8372により表示されるRAMのアドレスに対応するデータは、それぞれ、5/1024、100/2550、1/1、1/10および0のLSBに基づいてA/D変換が行われる。   Further, regarding “LSB” in the RAM definition table, the data corresponding to the RAM addresses displayed by 0xFFFFA800, 0xFFFF9610, 0xFFFFAB128, 0xFFFFBCBC718, and 0xFFFFFB8372 are 5/1024, 100/2550, 1/1, 1, 1 respectively. A / D conversion is performed based on LSBs of / 10 and 0.

さらに、RAM定義テーブルの「RAM内のデータの最大値または最小値に対するピークホールドの方向」に関していえば、数字の1は、RAM内のデータの最大値をピークホールドすることを意味しており、数字の2は、RAM内のデータの最小値をピークホールドすることを意味しており、数字の0は、ピークホールドしないことを意味している。   Further, regarding the “direction of peak hold with respect to the maximum value or minimum value of data in the RAM” in the RAM definition table, the number 1 means that the maximum value of data in the RAM is peak-held. The number 2 means that the minimum value of data in the RAM is peak-held, and the number 0 means that the peak is not held.

さらに、RAM定義テーブルの「フリーズ処理を行う際のサンプリングのタイミング」に関していえば、数字の1は、RAM内のデータに対して毎回サンプリングを行うことを意味しており、数字の2は、RAM内のデータに対して2回に1回の割合でサンプリングを行うことを意味しており、数字の3は、RAM内のデータに対して3回に1回の割合でサンプリングを行うことを意味しており、数字の4は、RAM内のデータに対して4回に1回の割合でサンプリングを行うことを意味している。   Further, regarding the “sampling timing when performing freeze processing” in the RAM definition table, the number 1 means that sampling is performed on the data in the RAM every time, and the number 2 indicates that the RAM This means that sampling is performed once every two times for the data in the data, and the number 3 means that sampling is performed once every three times for the data in the RAM. The number 4 means that sampling is performed at a rate of once every four times for the data in the RAM.

ここで、複数のモジュール中の特定のモジュールに関して、移動体内の複数のセンサにより取得されるデータに基づき、あるサンプリングの時刻で電子制御機器に何らかの異常が発生したことが検出された場合、RAM定義テーブル内で電子制御機器に異常が発生したことを示すフラグが立つ。このフラグがCPUにより検出された時点で、電子制御機器に異常発生の兆候があったものとみなされる。ただし、この時点では、RAM内のデータのフリーズ処理はまだ開始しない。最終的に、予め定められたサンプリング時間内で、電子制御機器に異常が発生したことを示すフラグが所定の回数以上検出されたときに、電子制御機器の異常状態が正式に検知されたものとCPUにより判断され、RAM内のデータのフリーズ処理が行われる。   Here, when it is detected that an abnormality has occurred in the electronic control device at a certain sampling time based on data acquired by a plurality of sensors in the moving body for a specific module among the plurality of modules, the RAM definition A flag is set in the table indicating that an abnormality has occurred in the electronic control device. When this flag is detected by the CPU, it is considered that there is a sign of abnormality in the electronic control device. However, at this time, the freeze processing of the data in the RAM has not yet started. Finally, when a flag indicating that an abnormality has occurred in the electronic control device is detected more than a predetermined number of times within a predetermined sampling time, the abnormal state of the electronic control device has been formally detected. It is determined by the CPU, and the data in the RAM is frozen.

好ましくは、図11において、複数のモジュール中の特定のモジュールで電子制御機器の異常状態を示すフラグが検出され、電子制御機器の異常発生の兆候があったものとみなされた時点で、上記特定のモジュールで使用されているRAMのアドレスがRAM定義テーブルから読み出され、このRAMのアドレスに関係するデータが第1のデータ保存手段2(図1参照)から全て取り出されて第2のデータ保存手段3(図1参照)に保存される。上記のように、RAM定義テーブルにより電子制御機器の異常発生の兆候が見出された時点で、この異常発生の兆候に関係する特定のモジュールで使用されているRAMのアドレスを全て選択することによって、電子制御機器の異常発生後に、電子制御機器の異常発生の原因の解析を正確かつ迅速に行うことができるようになる。   Preferably, in FIG. 11, when a flag indicating an abnormal state of the electronic control device is detected in a specific module among the plurality of modules and the electronic control device is regarded as having an abnormality occurrence, the specific The RAM address used in the module is read from the RAM definition table, and all the data related to the RAM address is extracted from the first data storage means 2 (see FIG. 1) and stored in the second data storage. It is preserve | saved at the means 3 (refer FIG. 1). As described above, when a sign of abnormality occurrence of the electronic control device is found by the RAM definition table, by selecting all the addresses of the RAM used in a specific module related to the sign of abnormality occurrence After the occurrence of an abnormality in the electronic control device, the cause of the abnormality occurrence in the electronic control device can be analyzed accurately and quickly.

さらに、好ましくは、図11において、複数のモジュール中の特定のモジュールで電子制御機器の異常状態を示すフラグが検出され、電子制御機器の異常発生の兆候があったものとみなされた時点で、上記特定のモジュールで使用されているRAM内のデータの最大値または最小値のピークホールドした値がRAM定義テーブルから読み出され、このRAM内のデータの最大値または最小値に関係するデータが第1のデータ保存手段2(図1参照)から取り出されて第2のデータ保存手段3(図1参照)に保存される。上記のように、RAM定義テーブルにより電子制御機器の異常発生の兆候が見出された時点で、この異常発生の兆候に関係する特定のモジュールで使用されているRAM内のデータの最大値または最小値をピークホールドすることによって、電子制御機器の異常発生後に、電子制御機器の異常発生の原因の解析を正確かつ迅速に行うことができるようになる。   Further preferably, in FIG. 11, when a flag indicating an abnormal state of the electronic control device is detected in a specific module among the plurality of modules, and when it is considered that there is an indication that the electronic control device is abnormal, The peak hold value of the maximum value or the minimum value of the data in the RAM used in the specific module is read from the RAM definition table, and the data related to the maximum value or the minimum value of the data in the RAM is the first value. The data is taken out from the first data storage unit 2 (see FIG. 1) and stored in the second data storage unit 3 (see FIG. 1). As described above, when a sign of occurrence of abnormality of the electronic control device is found by the RAM definition table, the maximum value or minimum value of data in the RAM used in a specific module related to the sign of abnormality occurrence. By peak-holding the value, the cause of the abnormality of the electronic control device can be analyzed accurately and promptly after the abnormality of the electronic control device occurs.

図12は、RAM定義テーブルを使用してフリーズ処理を行う手順を説明するためのフローチャートである。ここでは、図11のようなRAM定義テーブルにより特定のモジュールで電子制御機器の異常発生の兆候が見出された時点で、CPU等によりフリーズ処理を行うための処理フローを説明する。   FIG. 12 is a flowchart for explaining a procedure for performing freeze processing using a RAM definition table. Here, a processing flow for performing a freeze process by the CPU or the like when a sign of occurrence of abnormality of the electronic control device is found in a specific module from the RAM definition table as shown in FIG.

図12のフローチャートの開始の部分では、移動体のイグニッションスイッチがオンになっている期間に、移動体内の複数のセンサにより検出された検出信号が、センサ検出データとして、RAM(第1のデータ保存手段)に一時的に保持される。また一方で、移動体内の電子制御機器の自己診断を実行させるためのプログラムを構成する複数のモジュールの各々について、RAMのアドレスおよびRAM内のデータの最大値または最小値を含む補助情報が、RAM定義テーブルの形式で補助情報保存手段に格納される。   In the start portion of the flowchart of FIG. 12, detection signals detected by a plurality of sensors in the moving body during the period when the ignition switch of the moving body is turned on are stored in the RAM (first data storage) as sensor detection data. Means) temporarily. On the other hand, for each of the plurality of modules constituting the program for executing the self-diagnosis of the electronic control device in the moving body, auxiliary information including the RAM address and the maximum value or the minimum value of the data in the RAM is stored in the RAM. It is stored in the auxiliary information storage means in the definition table format.

さらに、図12のステップS11において、複数のモジュール中の特定のモジュールで電子制御機器の異常状態を示すフラグが立っているか否かがチェックされる。このフラグが立っていることが検出された場合、電子制御機器の異常発生の兆候があったものとみなされる。   Further, in step S11 of FIG. 12, it is checked whether a flag indicating an abnormal state of the electronic control device is set in a specific module among the plurality of modules. If it is detected that this flag is set, it is considered that there is a sign of an abnormality in the electronic control device.

特定のモジュールで上記フラグが立っていることが検出された後、図12のステップS12において、特定のモジュールで使用されているRAMのアドレス、または特定のモジュールで使用されているRAM内のデータの最大値もしくは最小値が指定されてRAM定義テーブルから読み出される。さらに、当該RAMのアドレス、または当該RAM内のデータの最大値もしくは最小値に関係するデータがRAMから取り出されて不揮発性メモリ(SRAMまたはEEPROM等)に送り込まれ、フリーズ処理が実行される。このような処理は、フリーズ処理時に不揮発性メモリに保存されるべきデータがなくなるまで実行される(図12のフローチャートの終了の部分)。   After detecting that the flag is raised in a specific module, in step S12 of FIG. 12, the address of the RAM used in the specific module or the data in the RAM used in the specific module The maximum value or the minimum value is designated and read from the RAM definition table. Further, the address of the RAM or data related to the maximum value or the minimum value of the data in the RAM is extracted from the RAM and sent to a non-volatile memory (SRAM or EEPROM), and the freeze process is executed. Such a process is executed until there is no more data to be stored in the nonvolatile memory during the freeze process (the end of the flowchart in FIG. 12).

図13は、プログラムポインタを指定してフリーズ処理を行う手順を説明するためのフローチャートである。ここでは、複数のモジュール中の特定のモジュールで電子制御機器の異常発生の兆候が見出された時点で、CPU等により、上記特定のモジュールで使用されているプログラムのプログラムポインタのフリーズ処理を行うための処理フローを説明する。   FIG. 13 is a flowchart for explaining a procedure for performing freeze processing by designating a program pointer. Here, when a sign of abnormality of the electronic control device is found in a specific module among a plurality of modules, the CPU or the like performs the freeze processing of the program pointer of the program used in the specific module. A processing flow for this will be described.

図13のフローチャートの開始の部分では、移動体のイグニッションスイッチがオンになっている期間に、電子制御機器の自己診断を実行させるための複数のモジュールからなるプログラムのプログラムポインタが、移動体内の複数のセンサにより取得されるデータと共に、RAM(第1のデータ保存手段)に保持される。   In the start part of the flowchart of FIG. 13, a program pointer of a program composed of a plurality of modules for executing a self-diagnosis of the electronic control device during the period in which the ignition switch of the moving body is on is displayed in the moving body. Are stored in a RAM (first data storage means) together with data acquired by the sensors.

さらに、図13のステップS21において、複数のモジュール中の特定のモジュールで電子制御機器の異常状態を示すフラグが立っているか否かがチェックされる。このフラグが立っていることが検出された場合、電子制御機器の異常発生の兆候があったものとみなされる。   Further, in step S21 in FIG. 13, it is checked whether a flag indicating an abnormal state of the electronic control device is set in a specific module among the plurality of modules. If it is detected that this flag is set, it is considered that there is a sign of an abnormality in the electronic control device.

特定のモジュールで上記フラグが立っていることが検出された後、図12のステップS22において、特定のモジュールで使用されているプログラムのプログラムポインタがRAMから取り出されて不揮発性メモリ(SRAMまたはEEPROM等)に送り込まれ、最速(最速=割り込み頻度が多いこと)の割り込みのタイミングにてプログラムポインタのフリーズ処理が実行される。このような処理は、フリーズ処理時に不揮発性メモリに保存されるべきプログラムポインタがなくなるまで実行される(図13のフローチャートの終了の部分)。   After it is detected that the flag is raised in a specific module, in step S22 in FIG. 12, the program pointer of the program used in the specific module is taken out from the RAM and a non-volatile memory (SRAM or EEPROM or the like). ) And the program pointer freeze process is executed at the timing of the fastest interrupt (the fastest = the interrupt frequency is high). Such a process is executed until there is no program pointer to be stored in the nonvolatile memory during the freeze process (the end of the flowchart of FIG. 13).

上記のステップS22では、電子制御機器の自己診断を実行させるためのプログラムの各々の命令とプログラムポインタとが1対1に対応しているので、当該プログラムが現在どの命令を実行しているかはプログラムポインタを参照すれば容易にわかる。ただし、関数コール中は、その関数コールがなされているプログラムのアドレスがプログラムポインタに格納されているので、割り込みに入る前の実行アドレスを知るには、割り込み前のアドレスが格納されているリンクポインタを参照すればよい。   In step S22 described above, each instruction of the program for executing the self-diagnosis of the electronic control device and the program pointer have a one-to-one correspondence, so which instruction the program is currently executing is determined by the program. It can be easily understood by referring to the pointer. However, during a function call, the address of the program that made the function call is stored in the program pointer, so to know the execution address before entering the interrupt, the link pointer that stores the address before the interrupt Please refer to.

プログラムポインタに対して途切れなくフリーズ処理を行うためには、プログラムの1命令毎にフリーズ処理を実行して全てのプログラムポインタを不揮発性メモリに保存することが必要である。しかしながら、全てのプログラムポインタのフリーズ処理を実行することは事実上不可能なので、好ましくは、最速の割り込みのタイミングでリンクポインタのフリーズ処理が実行される。   In order to perform freeze processing on program pointers without interruption, it is necessary to execute freeze processing for each instruction of the program and store all program pointers in a nonvolatile memory. However, since it is virtually impossible to execute the freeze processing for all program pointers, the link pointer freeze processing is preferably executed at the timing of the fastest interrupt.

図14および図15は、本発明の実施例にてプログラムポインタを格納するまでの流れを説明するための流れ図(その1およびその2)である。   FIGS. 14 and 15 are flowcharts (No. 1 and No. 2) for explaining the flow until the program pointer is stored in the embodiment of the present invention.

図14においては、移動体内の電子制御機器の自己診断を実行させるためのプログラムの一例が、あるソースのアセンブラ展開結果の形式で記述されている。このアセンブラ展開結果においては、左から「アドレス」、「機械語」および「アセンブル言語」が記載されている。ここで、プログラムポインタは、上記プログラムの各々の命令に対応するアドレスを指しており、一番左側の「アドレス」に相当する。   In FIG. 14, an example of a program for executing the self-diagnosis of the electronic control device in the mobile body is described in the form of an assembler expansion result of a certain source. In this assembler expansion result, “address”, “machine language”, and “assemble language” are described from the left. Here, the program pointer points to an address corresponding to each instruction of the program, and corresponds to the leftmost “address”.

さらに、図15を参照しながら、プログラムポインタ(実際上はリンクポインタ)を不揮発性メモリに格納することでプログラムポインタのフリーズ処理を行うための流れを説明する。   Further, a flow for performing a program pointer freeze process by storing a program pointer (actually a link pointer) in a nonvolatile memory will be described with reference to FIG.

前述の図14のプログラムで第1回目の割り込みが発生したときに、このときの割り込み前のアドレス(図14の「アドレス」の0x3026)が、リンクポインタ(レジスタ)に格納される。このような動作は、CPUにより自動的に実施される。さらに、第1回目の割り込み内の処理で、リンクポインタの値のフリーズ処理が実行される。その後は、発生した第1回目の割り込みに従って、割り込み処理が実施される。   When the first interrupt occurs in the program shown in FIG. 14, the address before the interrupt (0x3026 of “address” in FIG. 14) at this time is stored in the link pointer (register). Such an operation is automatically performed by the CPU. Furthermore, the freeze processing of the link pointer value is executed in the processing in the first interrupt. Thereafter, interrupt processing is performed in accordance with the generated first interrupt.

ついで、前述の図14のプログラムで第2回目の割り込みが発生したときに、前述の第1回目の割り込みの場合と同様に、このときの割り込み前のアドレス(図14の「アドレス」の0x304e)が、リンクポインタに格納される。このような動作は、同様にCPUにより自動的に実施される。さらに、第2回目の割り込み内の処理で、リンクポインタの値のフリーズ処理が実行される。その後は、第2回目の割り込みに従って、割り込み処理が実行される。   Next, when the second interrupt occurs in the program shown in FIG. 14, the address before the interrupt (0x304e of “address” in FIG. 14) at this time is the same as in the case of the first interrupt described above. Is stored in the link pointer. Such an operation is automatically performed by the CPU as well. Further, the freeze processing of the value of the link pointer is executed in the processing in the second interrupt. Thereafter, interrupt processing is executed in accordance with the second interrupt.

その後、前述の図14のプログラムで第3回目の割り込みが発生したときに、前述の第1回目の割り込みの場合と同様に、このときの割り込み前のアドレス(図14の「アドレス」の0x306a)が、リンクポインタに格納される。このような動作は、同様にCPUにより自動的に実施される。さらに、第3回目の割り込み内の処理で、リンクポインタの値のフリーズ処理が実行される。その後は、第3回目の割り込みに従って、割り込み処理が実行される。   After that, when the third interrupt occurs in the program of FIG. 14, the address before the interrupt (0x306a of “address” in FIG. 14) at this time is the same as in the case of the first interrupt described above. Is stored in the link pointer. Such an operation is automatically performed by the CPU as well. Further, the freeze processing of the value of the link pointer is executed in the processing in the third interrupt. After that, interrupt processing is executed according to the third interrupt.

上記のように、プログラムポインタ(実際上はリンクポインタ)を最速の割り込みのタイミングでフリーズすることにより、プログラムの流れを容易に把握することができる。例えば、ソフトウェアがデッドロックした場合に、どういう流れでデッドロックが発生したかを正確に追跡することが可能になる。   As described above, by freezing the program pointer (actually the link pointer) at the timing of the fastest interrupt, the program flow can be easily grasped. For example, when the software is deadlocked, it is possible to accurately track how the deadlock occurred.

本発明は、車両等の移動体内の電子制御式エンジン等の電子制御機器を制御するためのコンピュータであって、移動体内の複数のセンサにより当該電子制御機器の異常状態を検知した際に、SRAMやEEPROM等の不揮発性メモリに保存されているセンサ検出データに基づいて当該電子制御機器の自己診断を行う機能を有するコンピュータが内蔵された電子制御装置(ECU)を含むエンジン制御用コンピュータシステムに適用することが可能である。   The present invention is a computer for controlling an electronic control device such as an electronically controlled engine in a moving body such as a vehicle, and an SRAM is detected when an abnormal state of the electronic control device is detected by a plurality of sensors in the moving body. Applied to a computer system for engine control including an electronic control unit (ECU) having a built-in computer having a function of performing self-diagnosis of the electronic control device based on sensor detection data stored in a non-volatile memory such as EEPROM or EEPROM Is possible.

本発明の一実施例に係る電子制御装置の構成を示すブロック図である。It is a block diagram which shows the structure of the electronic controller which concerns on one Example of this invention. 本発明の実施例にてフリーズ処理対象のデータ項目を選択する手順を示す模式図である。It is a schematic diagram which shows the procedure which selects the data item of freeze processing object in the Example of this invention. 本発明の実施例にてフリーズ処理対象のバイト数のグループを選択する手順を示す模式図である。It is a schematic diagram which shows the procedure which selects the group of the number of bytes of freeze processing object in the Example of this invention. 本発明の実施例にてフリーズ処理対象のRAMのアドレスを選択する手順を示す模式図である。It is a schematic diagram which shows the procedure which selects the address of RAM for freeze processing in the Example of this invention. 本発明の実施例にてフリーズ処理対象のデータのグループを選択する手順を示す模式図である。It is a schematic diagram which shows the procedure which selects the group of the data of freeze processing object in the Example of this invention. 本発明の実施例にてRAM内の全てのデータを一括して指定する手順を示す模式図である。It is a schematic diagram which shows the procedure which designates all the data in RAM collectively in the Example of this invention. 本発明の実施例にてRAMの先頭アドレスからバイト数分のアドレスを選択する手順を示す模式図である。It is a schematic diagram which shows the procedure which selects the address for the number of bytes from the head address of RAM in the Example of this invention. 本発明の実施例にてRAM内のデータの最大値または最小値を指定する手順を示す模式図である。It is a schematic diagram which shows the procedure which designates the maximum value or minimum value of the data in RAM in the Example of this invention. 本発明の実施例にてプログラムポインタを指定する手順を示す模式図である。It is a schematic diagram which shows the procedure which designates a program pointer in the Example of this invention. 本発明の実施例にてRAMのセクションの全バイト、またはセクションの先頭アドレスからバイト数分のアドレスを選択する手順を示す模式図である。FIG. 5 is a schematic diagram showing a procedure for selecting all bytes of a RAM section or addresses corresponding to the number of bytes from the head address of the section in the embodiment of the present invention. 異常状態の兆候があったときにモジュールで使用している全てのRAMアドレス、またはRAM内のデータの最大値もしくは最小値を指定する方法を示すデータフォーマット図である。FIG. 5 is a data format diagram showing a method for designating all RAM addresses used in a module or the maximum value or minimum value of data in the RAM when there is an indication of an abnormal state. RAM定義テーブルを使用してフリーズ処理を行う手順を説明するためのフローチャートである。It is a flowchart for demonstrating the procedure which performs a freeze process using a RAM definition table. プログラムポインタを指定してフリーズ処理を行う手順を説明するためのフローチャートである。It is a flowchart for demonstrating the procedure which performs a freeze process by designating a program pointer. 本発明の実施例にてプログラムポインタを格納するまでの流れを説明するための流れ図(その1)である。It is a flowchart (the 1) for demonstrating the flow until it stores a program pointer in the Example of this invention. 本発明の実施例にてプログラムポインタを格納するまでの流れを説明するための流れ図(その2)である。It is a flowchart (the 2) for demonstrating the flow until it stores a program pointer in the Example of this invention.

符号の説明Explanation of symbols

1 電子制御装置
2 第1のデータ保存手段
3 第2のデータ保存手段
4 CPU(中央演算処理装置)
5 センサ部
6 補助情報保存手段
7 バッテリ
8 外部検査ツール
9 電子制御機器
10 ROM(リード・オンリ・メモリ)
11 入力インタフェース回路
12 A/Dコンバータ
13 出力インタフェース回路
50 A/Fセンサ(空燃比センサ)
51 水温センサ
52 酸素濃度センサ
53 ノッキングセンサ
54 油温センサ
55 排気温センサ
56 吸気温センサ
57 トルクセンサ
58 クランク角センサ
59 車速センサ
60 スロットルポジションセンサ
70 定電圧電源
71 バックアップ電源
80 格納手段
81 選択手段
82 表示手段
DESCRIPTION OF SYMBOLS 1 Electronic controller 2 1st data storage means 3 2nd data storage means 4 CPU (central processing unit)
5 Sensor section 6 Auxiliary information storage means 7 Battery 8 External inspection tool 9 Electronic control device 10 ROM (read only memory)
11 Input interface circuit 12 A / D converter 13 Output interface circuit 50 A / F sensor (air-fuel ratio sensor)
DESCRIPTION OF SYMBOLS 51 Water temperature sensor 52 Oxygen concentration sensor 53 Knocking sensor 54 Oil temperature sensor 55 Exhaust temperature sensor 56 Intake temperature sensor 57 Torque sensor 58 Crank angle sensor 59 Vehicle speed sensor 60 Throttle position sensor 70 Constant voltage power supply 71 Backup power supply 80 Storage means 81 Selection means 82 Display means

Claims (5)

移動体内の電子制御機器を制御して前記電子制御機器の自己診断を行う機能を有する電子制御装置において、前記機能を実現するために使用されるプログラムが、複数のモジュールにより構成されており、
移動体に取り付けられた複数のセンサにより取得されるデータ、および、前記電子制御装置の前記機能を実現するために使用されるプログラムのプログラムポインタを一時的に保持するための第1のデータ保存手段と、
前記電子制御機器の異常状態が検知されたときに、前記第1のデータ保存手段内のデータおよびプログラムのプログラムポインタを所定のサンプリング間隔で保存するための不揮発性の第2のデータ保存手段とを備え、
前記複数のモジュール中の特定のモジュールで前記異常状態を示すフラグが検出されたときに、前記第1のデータ保存手段に保持されているプログラムポインタの中で、前記特定のモジュールで使用されているプログラムのプログラムポインタが、前記第1のデータ保存手段から取り出されて前記第2のデータ保存手段に送り込まれるように構成されることを特徴とする電子制御装置。
In an electronic control device having a function of controlling the electronic control device in the moving body and performing a self-diagnosis of the electronic control device, a program used to realize the function is composed of a plurality of modules.
First data storage means for temporarily storing data acquired by a plurality of sensors attached to a moving body and a program pointer of a program used to realize the function of the electronic control unit When,
Non-volatile second data storage means for storing the data in the first data storage means and the program pointer of the program at a predetermined sampling interval when an abnormal state of the electronic control device is detected. Prepared,
When a flag indicating the abnormal state is detected in a specific module among the plurality of modules, the program pointer held in the first data storage means is used in the specific module. An electronic control device, wherein a program pointer of a program is fetched from the first data storage means and sent to the second data storage means.
前記特定のモジュールで使用されているプログラムのプログラムポインタが、前記第1のデータ保存手段から取り出されて前記第2のデータ保存手段に送り込まれ、前記プログラムにて割り込みが発生したときに、最速の割り込みのタイミングにて前記プログラムポインタを第2のデータ保存手段に保存するフリーズ処理が実行されることを特徴とする請求項1記載の電子制御装置。When the program pointer of the program used in the specific module is extracted from the first data storage unit and sent to the second data storage unit, and an interrupt occurs in the program, the program pointer is the fastest. 2. The electronic control apparatus according to claim 1, wherein a freeze process for storing the program pointer in the second data storage means is executed at the timing of interruption. 前記フリーズ処理は、フリーズ処理時に前記第2のデータ保存手段に保存されるべき前記プログラムポインタがなくなるまで実行されることを特徴とする請求項2記載の電子制御装置。3. The electronic control apparatus according to claim 2, wherein the freeze process is executed until there is no program pointer to be stored in the second data storage unit during the freeze process. 移動体内の電子制御機器を制御して前記電子制御機器の自己診断を行う機能を有する電子制御装置において、
移動体に取り付けられた複数のセンサにより取得されるデータを一時的に保持するための第1のデータ保存手段と、
前記電子制御機器の異常状態が検知されたときに、前記第1のデータ保存手段内のデータを所定のサンプリング間隔で保存するための不揮発性の第2のデータ保存手段と、
前記電子制御装置の前記機能を実現するために使用されるプログラムのプログラムポインタを予め格納しておく格納手段とを備え、
前記格納手段に格納されているプログラムのプログラムポインタが取り出され、前記第1のデータ保存手段内のデータと共に前記第2のデータ保存手段に送り込まれるように構成されることを特徴とする電子制御装置。
In an electronic control device having a function of controlling the electronic control device in the moving body and performing a self-diagnosis of the electronic control device,
First data storage means for temporarily holding data acquired by a plurality of sensors attached to the moving body;
Non-volatile second data storage means for storing data in the first data storage means at a predetermined sampling interval when an abnormal state of the electronic control device is detected;
Storage means for storing in advance a program pointer of a program used to realize the function of the electronic control unit;
An electronic control device, wherein a program pointer of a program stored in the storage means is taken out and sent to the second data storage means together with the data in the first data storage means .
前記格納手段が、前記電子制御機器の自己診断を支援する外部検査ツールに設けられており、前記外部検査ツールにより、前記格納手段に格納されているプログラムのプログラムポインタが読み出されるようになっていることを特徴とする請求項記載の電子制御装置。 The storage means is provided in an external inspection tool that supports self-diagnosis of the electronic control device, and a program pointer of a program stored in the storage means is read out by the external inspection tool. The electronic control device according to claim 4 .
JP2005163161A 2005-06-02 2005-06-02 Electronic control device and data storage method for electronic control device Expired - Fee Related JP4766926B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005163161A JP4766926B2 (en) 2005-06-02 2005-06-02 Electronic control device and data storage method for electronic control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005163161A JP4766926B2 (en) 2005-06-02 2005-06-02 Electronic control device and data storage method for electronic control device

Publications (2)

Publication Number Publication Date
JP2006336564A JP2006336564A (en) 2006-12-14
JP4766926B2 true JP4766926B2 (en) 2011-09-07

Family

ID=37557325

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005163161A Expired - Fee Related JP4766926B2 (en) 2005-06-02 2005-06-02 Electronic control device and data storage method for electronic control device

Country Status (1)

Country Link
JP (1) JP4766926B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP4036828A1 (en) * 2021-01-27 2022-08-03 Sintokogio, Ltd. Device and method for selling information processing device
US11775081B2 (en) 2021-01-27 2023-10-03 Sintokogio, Ltd. Information processing device and information processing method

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101477371A (en) * 2008-01-05 2009-07-08 深圳市元征软件开发有限公司 Apparatus and method for reading, recording and analyzing data of vehicle electric control system
JPWO2011142015A1 (en) * 2010-05-12 2013-07-22 トヨタ自動車株式会社 Apparatus abnormality determination device and method
CN104598342B (en) * 2014-12-31 2018-05-01 曙光信息产业(北京)有限公司 The detection method and device of memory

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0893544A (en) * 1994-09-21 1996-04-09 Nippondenso Co Ltd Diagnostic data storing system
JP3726295B2 (en) * 1994-12-26 2005-12-14 株式会社デンソー Vehicle control device
JP4267173B2 (en) * 2000-05-01 2009-05-27 トヨタ自動車株式会社 Abnormality diagnosis system
JP2002106412A (en) * 2000-09-29 2002-04-10 Mazda Motor Corp Vehicular data storage device
JP2002322940A (en) * 2001-04-25 2002-11-08 Fuji Heavy Ind Ltd Vehicle management system
JP4103606B2 (en) * 2003-01-28 2008-06-18 株式会社デンソー Time-series freeze frame data creation method and vehicle control apparatus

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP4036828A1 (en) * 2021-01-27 2022-08-03 Sintokogio, Ltd. Device and method for selling information processing device
US11775081B2 (en) 2021-01-27 2023-10-03 Sintokogio, Ltd. Information processing device and information processing method

Also Published As

Publication number Publication date
JP2006336564A (en) 2006-12-14

Similar Documents

Publication Publication Date Title
US7962258B2 (en) Operator-side system and mode file identifying method
JP4766926B2 (en) Electronic control device and data storage method for electronic control device
JP5161829B2 (en) Diagnostic device for supporting failure reproduction and output method of failure reproduction data
US6873345B2 (en) Information display apparatus
US20020087237A1 (en) Controller for vehicle with self-diagnostic function and recording medium
JP4552982B2 (en) Electronic control unit
JPS62142849A (en) Self diagnosis device for on-vehicle electronic control device
JP2006330827A (en) Electronic controller and data storage method for electronic control equipment
JP2009265819A (en) Control unit and program for the same
JPH07219807A (en) Programmable controller system
JP2545134B2 (en) Monitoring device
JP3991963B2 (en) Vehicle control device
JP3363015B2 (en) Vehicle diagnostic method and device
JP3527351B2 (en) Vehicle diagnostic method and device
JP2010001872A (en) Internal combustion engine control device
JPH1030492A (en) Data recorder for vehicle
JPH0758242B2 (en) Electronic control unit
JP2785068B2 (en) Storage method for vehicle data
JPH09210868A (en) Method and apparatus for diagnosing vehicle
JP3631556B2 (en) Data update device for electronic control unit
JPH06302111A (en) On-vehicle data storage device
JP2006039640A (en) Numerical controller
JPS58163096A (en) Automobile diagnosis apparatus by proper reference value
JP4196773B2 (en) Electronic control device design and development system, program, recording medium
JPH11247709A (en) Data analyzing device of electronic control device for vehicle

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080529

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100428

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100601

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100802

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110614

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 4766926

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140624

Year of fee payment: 3

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees