JP2015171853A - Vehicle electronic control unit - Google Patents

Vehicle electronic control unit Download PDF

Info

Publication number
JP2015171853A
JP2015171853A JP2014048708A JP2014048708A JP2015171853A JP 2015171853 A JP2015171853 A JP 2015171853A JP 2014048708 A JP2014048708 A JP 2014048708A JP 2014048708 A JP2014048708 A JP 2014048708A JP 2015171853 A JP2015171853 A JP 2015171853A
Authority
JP
Japan
Prior art keywords
ecu
data
monitoring
control device
memory
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2014048708A
Other languages
Japanese (ja)
Other versions
JP6345447B2 (en
Inventor
▲高▼▲柳▼ 恵一
恵一 ▲高▼▲柳▼
Keiichi Takayanagi
友典 田中
Tomonori Tanaka
友典 田中
章 馬場
Akira Baba
章 馬場
透 ▲高▼柳
透 ▲高▼柳
Toru Takayanagi
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.)
Hitachi Astemo Ltd
Original Assignee
Hitachi Automotive Systems 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 Hitachi Automotive Systems Ltd filed Critical Hitachi Automotive Systems Ltd
Priority to JP2014048708A priority Critical patent/JP6345447B2/en
Publication of JP2015171853A publication Critical patent/JP2015171853A/en
Application granted granted Critical
Publication of JP6345447B2 publication Critical patent/JP6345447B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

PROBLEM TO BE SOLVED: To acquire highly reliable data that can contribute to an analysis of the cause of a defect or the like if abnormality occurs to an electronic control unit (ECU).SOLUTION: A monitoring target ECU from which data is to be acquired always transmits data in use to a monitoring ECU via an on-vehicle network. The monitoring ECU stores the received data in a RAM in time series (S11, S12). Furthermore, the monitoring ECU determines whether abnormality occurs to the monitoring target ECU by monitoring an output signal from a P-RUN or the like of the monitoring target ECU, a counter of a periodic job, a SUM value of the data stored in a memory or the like (S13). If abnormality occurs to the monitoring target ECU, the monitoring ECU writes the data stored in the RAM to a flash ROM (S14), and transmits an initialization command to the monitoring target ECU (S15, S16) on the assumption that an initialization condition is satisfied.

Description

本発明は、自動車用電子制御装置に関する。   The present invention relates to an automotive electronic control device.

自動車に搭載された電子制御装置には、各種センサ、各種アクチュエータなどに異常が発生しているか否かを診断する自己診断機能が備え付けられている。自動車用の電子制御装置には、特開2013−32163号公報(特許文献1)に記載されるように、自己診断機能により異常発生が検知されたとき、異常が発生した電子制御装置のメモリに、例えば、異常発生時の制御パラメータなどのデータを保存するものがある。このデータは、不具合の原因解析などに用いられる。   An electronic control device mounted on an automobile is provided with a self-diagnosis function for diagnosing whether or not an abnormality has occurred in various sensors, various actuators, and the like. As described in Japanese Patent Application Laid-Open No. 2013-32163 (Patent Document 1), an electronic control device for an automobile is stored in a memory of the electronic control device in which an abnormality has occurred when an abnormality is detected by a self-diagnosis function. For example, there is one that stores data such as control parameters when an abnormality occurs. This data is used for failure cause analysis.

特開2013−32163号公報JP 2013-32163 A

しかしながら、電子制御装置に発生した異常が、例えば、メモリ故障などに起因するものである場合、故障が発生した電子制御装置のメモリに保存したデータの信頼性が低く、これを用いて異常発生の原因解析をすることが困難となる可能性がある。   However, when the abnormality that has occurred in the electronic control device is caused by, for example, a memory failure, the reliability of the data stored in the memory of the electronic control device in which the failure has occurred is low. It may be difficult to analyze the cause.

そこで、本発明は、信頼性の高いデータを取得可能な、自動車用電子制御装置を提供することを目的とする。   Accordingly, an object of the present invention is to provide an automotive electronic control device that can acquire highly reliable data.

このため、自動車用電子制御装置は、自動車に搭載された制御機器と、制御機器に対して通信可能に接続された外部機器と、を有する。そして、制御機器は、使用中のデータを外部機器に送信し、外部機器は、制御機器に異常が発生したときに、制御機器から送信されたデータを保存する。   For this reason, the automotive electronic control device includes a control device mounted on the vehicle and an external device that is communicably connected to the control device. Then, the control device transmits data in use to the external device, and the external device saves the data transmitted from the control device when an abnormality occurs in the control device.

本発明によれば、制御機器のデータが外部機器で収集されるため、信頼性の高いデータを取得することができる。   According to the present invention, since data of a control device is collected by an external device, highly reliable data can be acquired.

自動車に搭載された電子制御システムの一例を示す概要図である。It is a schematic diagram showing an example of an electronic control system mounted on an automobile. 被監視側での監視処理の一例を示すフローチャートである。It is a flowchart which shows an example of the monitoring process by the to-be-monitored side. 監視側での監視処理の一例を示すフローチャートである。It is a flowchart which shows an example of the monitoring process by the monitoring side. 異常状態再現処理の一例を示すフローチャートである。It is a flowchart which shows an example of an abnormal condition reproduction process. 被監視側の制御機器の一例を示す構成図である。It is a block diagram which shows an example of the control apparatus of the to-be-monitored side. 被監視側でのデータ復帰処理の一例を示すフローチャートである。It is a flowchart which shows an example of the data restoration process by the to-be-monitored side. 監視側でのデータ復帰処理の一例を示すフローチャートである。It is a flowchart which shows an example of the data restoration process by the monitoring side. メモリ初期化処理の一例を示すフローチャートである。It is a flowchart which shows an example of a memory initialization process. メモリのデータ構図の一例を示す構造図である。It is a structural diagram which shows an example of the data composition of memory. メモリ初期化処理の一例を示すフローチャートである。It is a flowchart which shows an example of a memory initialization process. 被監視側の制御機器の他の例を示す構成図である。It is a block diagram which shows the other example of the control apparatus by the side to be monitored. コア切替処理の一例を示すフローチャートである。It is a flowchart which shows an example of a core switching process. コア切替処理の一例を示すフローチャートである。It is a flowchart which shows an example of a core switching process.

以下、添付された図面を参照し、本発明を実施するための実施形態について詳述する。
図1は、自動車に搭載された電子制御システムの一例を示す。
Hereinafter, embodiments for carrying out the present invention will be described in detail with reference to the accompanying drawings.
FIG. 1 shows an example of an electronic control system mounted on an automobile.

自動車には、例えば、エンジンの燃料噴射装置、可変バルブタイミング機構、自動変速機などを電子制御するために、マイクロコンピュータ(マイコン)及び通信アダプタを有する、複数の電子制御装置(ECU)100A〜100Cが搭載されている。各電子制御装置100A〜100Cは、例えば、CAN(Controller Area Network)などの車載ネットワーク200を介して、各種のデータ、指令などを送受信可能に接続されている。ここで、車載ネットワーク200としては、CANに限らず、例えば、FlexRay(登録商標)などの有線ネットワーク、ワイヤレスLAN(Local Area Network)などの無線ネットワークを利用することができる。なお、以下の説明においては、電子制御装置100A〜100Cを区別する必要がない場合には、電子制御装置100と称する。また、自動車に搭載された電子制御装置100は、3台に限らず、他の台数であってもよい。   In an automobile, for example, a plurality of electronic control units (ECUs) 100A to 100C having a microcomputer and a communication adapter for electronically controlling an engine fuel injection device, a variable valve timing mechanism, an automatic transmission, and the like. Is installed. Each of the electronic control devices 100A to 100C is connected to be able to transmit and receive various data, commands, and the like via an in-vehicle network 200 such as a CAN (Controller Area Network). Here, the in-vehicle network 200 is not limited to CAN, and for example, a wired network such as FlexRay (registered trademark) or a wireless network such as a wireless LAN (Local Area Network) can be used. In the following description, the electronic control devices 100A to 100C are referred to as the electronic control device 100 when it is not necessary to distinguish them. Further, the number of electronic control devices 100 mounted on the automobile is not limited to three, and may be other numbers.

電子制御装置100は、例えば、フラッシュROM(Read Only Memory)に格納された制御プログラムに従って、各種センサからの出力信号に基づいて、制御対象機器に駆動信号を出力する。このため、各電子制御装置100では、制御パラメータ及び学習値などの各種のデータが使用されている。   The electronic control device 100 outputs a drive signal to the control target device based on output signals from various sensors, for example, according to a control program stored in a flash ROM (Read Only Memory). For this reason, each electronic control device 100 uses various data such as control parameters and learning values.

電子制御装置100において、例えば、制御プログラムのロジックエラーによる異常が発生した場合、異常発生時の制御データなどが保存されていれば、これを用いて異常発生の原因を究明することができる。そこで、例えば、電子制御装置100Aのデータを、他の制御装置100B又は100Cで収集することで、電子制御装置100Aに異常が発生しても信頼性の高いデータを収集できるようにする。なお、以下の説明においては、説明の都合上、データが収集される電子制御装置100Aを「被監視ECU100A」、データを収集する電子制御装置100Bを「監視ECU100B」と称する。ここで、被監視ECU100Aが制御機器の一例として挙げられ、監視ECU100Bが外部機器の一例として挙げられる。   In the electronic control device 100, for example, when an abnormality occurs due to a logic error in the control program, if the control data at the time of occurrence of the abnormality is stored, the cause of the abnormality can be investigated using this. Therefore, for example, data of the electronic control device 100A is collected by the other control device 100B or 100C, so that highly reliable data can be collected even if an abnormality occurs in the electronic control device 100A. In the following description, for convenience of explanation, the electronic control device 100A from which data is collected is referred to as “monitored ECU 100A”, and the electronic control device 100B that collects data is referred to as “monitoring ECU 100B”. Here, the monitored ECU 100A is an example of a control device, and the monitoring ECU 100B is an example of an external device.

図2は、被監視ECU100Aが、イグニッションスイッチのONに伴う電源投入によって起動されたことを契機として、第1の所定時間ごとに繰り返し実行する監視処理の一例を示す。   FIG. 2 shows an example of a monitoring process that is repeatedly executed every first predetermined time, triggered by the monitored ECU 100A being activated by turning on the power when the ignition switch is turned on.

ステップ1(図では「S1」と略記する。以下同様。)では、被監視ECU100Aが、車載ネットワーク200を介して、例えば、制御対象機器を制御している制御データなどのデータを、監視ECU100Bへと送信する。ここで、監視ECU100Bへ送信するデータは、1つに限らず、複数であってもよい。   In step 1 (abbreviated as “S1” in the figure, the same applies hereinafter), the monitored ECU 100A sends, for example, data such as control data controlling the control target device to the monitoring ECU 100B via the in-vehicle network 200. And send. Here, the number of data to be transmitted to the monitoring ECU 100B is not limited to one and may be plural.

ステップ2では、被監視ECU100Aが、監視ECU100Bから初期化指令(詳細は後述する)があったか否かを判定する。そして、被監視ECU100Aは、初期化指令があったと判定すれば処理をステップ3へと進める一方(Yes)、初期化指令がないと判定すれば処理を終了させる(No)。   In step 2, monitored ECU 100A determines whether or not there is an initialization command (details will be described later) from monitoring ECU 100B. The monitored ECU 100A advances the process to step 3 if it is determined that there is an initialization command (Yes), and ends the process if it determines that there is no initialization command (No).

ステップ3では、被監視ECU100Aが、例えば、レジスタの内容、メモリの内容を起動直後の初期状態へと戻す初期化を実行する。なお、初期化として、被監視ECU100Aのマイコンをリセットすることもできる(以下同様)。   In step 3, the monitored ECU 100A executes, for example, initialization to return the contents of the register and the contents of the memory to the initial state immediately after activation. As initialization, the microcomputer of the monitored ECU 100A can be reset (the same applies hereinafter).

図3は、監視ECU100Bが、イグニッションスイッチのONに伴う電源投入によって起動されたことを契機として、第2の所定時間ごとに繰り返し実行する監視処理の一例を示す。ここで、第2の所定時間は、被監視ECU100Aとの同期をとり易くするため、第1の所定時間と同一としてもよい。   FIG. 3 shows an example of a monitoring process that is repeatedly executed every second predetermined time when the monitoring ECU 100B is activated by turning on the power when the ignition switch is turned on. Here, the second predetermined time may be the same as the first predetermined time in order to facilitate synchronization with the monitored ECU 100A.

ステップ11では、監視ECU100Bが、例えば、通信アダプタの受信バッファにデータがあるか否かを介して、被監視ECU100Aからのデータを受信したか否かを判定する。そして、監視ECU100Bは、データを受信したと判定すれば処理をステップ12へと進める一方(Yes)、データを受信していないと判定すれば処理をステップ13へと進める(No)。   In step 11, the monitoring ECU 100B determines whether or not data from the monitored ECU 100A has been received, for example, based on whether or not there is data in the reception buffer of the communication adapter. If the monitoring ECU 100B determines that data has been received, the process proceeds to step 12 (Yes), whereas if it is determined that data has not been received, the process proceeds to step 13 (No).

ステップ12では、監視ECU100Bが、被監視ECU100Aからのデータを、例えば、揮発性メモリの一例であるRAM(Random Access Memory)の所定領域に時系列で格納する。ここで、RAMの占有領域を削減するために、RAMに構築されたリングバッファにデータを格納する。なお、リングバッファを用いても、異常発生時のデータを確保できれば足りるので、何ら問題が生じない。   In step 12, the monitoring ECU 100B stores the data from the monitored ECU 100A in time series in a predetermined area of a RAM (Random Access Memory) that is an example of a volatile memory. Here, in order to reduce the occupation area of the RAM, data is stored in a ring buffer constructed in the RAM. Even if a ring buffer is used, there is no problem because it is sufficient if data at the time of occurrence of an abnormality can be secured.

ステップ13では、監視ECU100Bが、被監視ECU100Aに異常が発生したか否かを判定する。被監視ECU100Aの異常発生は、例えば、被監視ECU100のP−RUNなどの出力信号、定時ジョブのカウンタ、メモリに格納されたデータのSUM値などを監視することで検知できる。そして、監視ECU100Bは、被監視ECU100Aに異常が発生したと判定すれば処理をステップ14へと進める一方(Yes)、被監視ECU100Aに異常が発生していないと判定すれば処理を終了させる(No)。   In step 13, the monitoring ECU 100B determines whether an abnormality has occurred in the monitored ECU 100A. The occurrence of an abnormality in the monitored ECU 100A can be detected, for example, by monitoring an output signal such as P-RUN of the monitored ECU 100, a counter for a scheduled job, a SUM value of data stored in the memory, and the like. The monitoring ECU 100B advances the process to step 14 if it is determined that an abnormality has occurred in the monitored ECU 100A (Yes), and ends the process if it is determined that no abnormality has occurred in the monitored ECU 100A (No). ).

ステップ14では、監視ECU100Bが、ステップ12においてRAMに格納したデータをフラッシュROM(不揮発性メモリ)に書き込む。これによって、例えば、監視ECU100Bへの電源供給が遮断されても、被監視ECU100Aに異常が発生したときのデータを保持することができる。   In step 14, the monitoring ECU 100B writes the data stored in the RAM in step 12 to a flash ROM (nonvolatile memory). Thereby, for example, even when the power supply to the monitoring ECU 100B is interrupted, data when an abnormality occurs in the monitored ECU 100A can be retained.

ステップ15では、監視ECU100Bが、被監視ECU100Aの初期化を実行する条件(初期化条件)、要するに、被監視ECU100Aを初期化しても影響がない又は少ない条件が成立しているか否かを判定する。初期化条件としては、例えば、アイドリング中、エンジンストール中、イグニッションスイッチがOFFであるスタンバイ中など、被監視ECU100Aの処理負荷が小さいとき、被監視ECU100Aがスタンバイ状態でバッテリ電圧が所定電圧以上のときなどを適用することができる。そして、監視ECU100Bは、初期化条件が成立していると判定すれば処理をステップ16へと進める一方(Yes)、初期化条件が成立していないと判定すれば処理を終了させる(No)。   In step 15, the monitoring ECU 100B determines whether or not a condition for executing initialization of the monitored ECU 100A (initialization condition), that is, whether there is no effect or little condition is satisfied even if the monitored ECU 100A is initialized. . As initialization conditions, for example, when the processing load of the monitored ECU 100A is small, such as during idling, engine stall, standby in which the ignition switch is OFF, or when the monitored ECU 100A is in a standby state and the battery voltage is equal to or higher than a predetermined voltage Etc. can be applied. The monitoring ECU 100B advances the process to step 16 if it is determined that the initialization condition is satisfied (Yes), and ends the process if it is determined that the initialization condition is not satisfied (No).

ステップ16では、監視ECU100Bが、車載ネットワーク200を介して、被監視ECU100Aに初期化指令を送信する。なお、監視ECU100Bは、初期化条件が成立しているか否かを判定せずに、被監視ECU100Aに異常が発生したとき、被監視ECU100Aに初期化指令を送信することもできる。   In step 16, the monitoring ECU 100B transmits an initialization command to the monitored ECU 100A via the in-vehicle network 200. Note that the monitoring ECU 100B can transmit an initialization command to the monitored ECU 100A when an abnormality occurs in the monitored ECU 100A without determining whether the initialization condition is satisfied.

かかる電子制御システムによれば、被監視ECU100Aで使用されているデータは、車載ネットワーク200を介して監視ECU100Bに送信され、監視ECU100BのRAMに時系列で格納される。そして、被監視ECU100Aに異常が発生すると、監視ECU100BのRAMに格納されているデータがフラッシュROMに書き込まれ、例えば、電源供給が遮断されても保持できるようになる。このため、被監視ECU100Aの異常発生時に使用されていたデータが、故障が発生していない監視ECU100Bで収集されるようになり、信頼性の高いデータを取得することができる。   According to such an electronic control system, data used in the monitored ECU 100A is transmitted to the monitoring ECU 100B via the in-vehicle network 200, and is stored in the RAM of the monitoring ECU 100B in time series. When an abnormality occurs in the monitored ECU 100A, the data stored in the RAM of the monitoring ECU 100B is written in the flash ROM, and can be retained even when the power supply is shut off, for example. For this reason, the data used when the abnormality of the monitored ECU 100A occurs is collected by the monitoring ECU 100B in which no failure has occurred, and highly reliable data can be acquired.

また、被監視ECU100Aに異常が発生すると、監視ECU100Bから被監視ECU100Aに初期化指令が送信される。初期化指令を受信した被監視ECU100Aが初期化を実行することで、レジスタ、メモリの内容が起動直後の状態に戻り、例えば、不適切な制御データによる処理がなされることを抑制できる。   When an abnormality occurs in the monitored ECU 100A, an initialization command is transmitted from the monitoring ECU 100B to the monitored ECU 100A. The monitored ECU 100A that has received the initialization command executes the initialization, so that the contents of the register and the memory are returned to the state immediately after the activation, and for example, it is possible to suppress the processing by inappropriate control data.

ここで、被監視ECU100Aの監視及びデータ収集は、例えば、車載ネットワークを介して接続された、ECU100C、監視専用の監視ツール、遠隔地に設置されたコンピュータ(サーバ)などで行われてもよい。この場合、ECU100C、監視ツール、コンピュータが外部機器の一例として挙げられる。   Here, the monitoring and data collection of the monitored ECU 100A may be performed by, for example, the ECU 100C, a monitoring dedicated monitoring tool, or a computer (server) installed in a remote place connected via an in-vehicle network. In this case, the ECU 100C, the monitoring tool, and the computer are examples of external devices.

監視ECU100BのフラッシュROMに保存されたデータは、例えば、車載ネットワーク200に接続されたチェッカーやHILS(Hardware In the Loop Simulation)などのツールからの異常状態再現指令に応答して、次のように、被監視ECU100Aで異常状態を再現するために利用することができる。   In response to an abnormal state reproduction command from a tool such as a checker or HILS (Hardware In the Loop Simulation) connected to the in-vehicle network 200, for example, data stored in the flash ROM of the monitoring ECU 100B is as follows: This can be used to reproduce the abnormal state in the monitored ECU 100A.

図4は、被監視ECU100Aが起動されたことを契機として、被監視ECU100Aが繰り返し実行する異常状態再現処理の一例を示す。なお、異常状態再現処理の前提として、監視ECU100B及びツールが起動されているものとする。   FIG. 4 shows an example of an abnormal state reproduction process that is repeatedly executed by the monitored ECU 100A when the monitored ECU 100A is activated. It is assumed that the monitoring ECU 100B and the tool are activated as a prerequisite for the abnormal state reproduction process.

ステップ21では、被監視ECU100Aが、ツールから異常状態再現指令があったか否かを判定する。そして、被監視ECU100Aは、異常状態再現指令があったと判定すれば処理をステップ22へと進める一方(Yes)、異常状態再現指令がなかったと判定すれば処理を終了させる(No)。   In step 21, the monitored ECU 100A determines whether there is an abnormal state reproduction command from the tool. The monitored ECU 100A advances the process to step 22 if it is determined that there is an abnormal state reproduction command (Yes), and terminates the process if it is determined that there is no abnormal state reproduction command (No).

ステップ22では、被監視ECU100Aが、監視ECU100Bで保持されているデータを受信する。即ち、監視ECU100Bは、例えば、ツールからのデータ送信指令に応答して、フラッシュROMに書き込まれているデータを被監視ECU100Aに送信する。そして、被監視ECU100Aは、監視ECU100Bから送信されたデータを受信し、これをRAMに展開する。なお、データの送信は、被監視ECU100Aと監視ECU100Bとで同期をとりながら行われる。また、ツールは、監視ECU100Bで保持されているデータを前もって読み取り、これを被監視ECU100Aに同期をとりながら送信してもよい。   In step 22, monitored ECU 100A receives data held in monitoring ECU 100B. That is, for example, the monitoring ECU 100B transmits data written in the flash ROM to the monitored ECU 100A in response to a data transmission command from the tool. Then, the monitored ECU 100A receives the data transmitted from the monitoring ECU 100B and expands it in the RAM. The data transmission is performed while synchronizing the monitored ECU 100A and the monitoring ECU 100B. Further, the tool may read data held in the monitoring ECU 100B in advance and transmit the data to the monitored ECU 100A in synchronization.

ステップ23では、被監視ECU100Aが、RAMに展開されているデータに基づいて動作パラメータを順次設定し、異常が発生した状態を再現する。   In step 23, the monitored ECU 100A sequentially sets operation parameters based on the data developed in the RAM, and reproduces the state where an abnormality has occurred.

かかる異常状態再現処理によれば、被監視ECU100Aに故障が発生したときのデータを使用して、被監視ECU100Aにおいて異常が発生した状態を再現することができる。このため、再現性の低い異常であっても、異常発生時の状態を容易に実現することが可能となり、その原因究明に資することができる。   According to such an abnormal state reproduction process, it is possible to reproduce a state where an abnormality has occurred in the monitored ECU 100A using data when a failure occurs in the monitored ECU 100A. For this reason, even when the abnormality is low in reproducibility, it is possible to easily realize the state at the time of occurrence of the abnormality, which can contribute to investigation of the cause.

ここで、被監視ECU100Aに故障が発生したときのデータは、監視ECU100Bに限らず、例えば、車載ネットワーク200に接続されたデータ収集装置、遠隔地に設置されたサーバ、他のECU100Cに保持されてもよい。また、複数のECU100において相互にデータを収集するようにしてもよい。   Here, data when a failure occurs in the monitored ECU 100A is not limited to the monitoring ECU 100B, and is held by, for example, a data collection device connected to the in-vehicle network 200, a server installed in a remote place, or another ECU 100C. Also good. In addition, the plurality of ECUs 100 may collect data mutually.

被監視ECU100Aは、図5に示すように、主系のメインマイコンAと、従系のサブマイコンBと、を有していてもよい。そして、被監視ECU100Aにおいては、メインマイコンAで使用されているデータをサブマイコンBに退避し、メインマイコンAに異常が発生したときに、サブマイコンBに退避したデータをメインマイコンAに復帰(復元)して処理を続行できるようにする。以下、このデータ復帰処理について説明する。   The monitored ECU 100A may include a main main microcomputer A and a sub sub microcomputer B as shown in FIG. In the monitored ECU 100A, the data used in the main microcomputer A is saved in the sub-microcomputer B, and when an abnormality occurs in the main microcomputer A, the data saved in the sub-microcomputer B is returned to the main microcomputer A ( Restore) so that processing can continue. Hereinafter, the data restoration process will be described.

図6は、被監視ECU100Aが、イグニッションスイッチのONに伴う電源投入によって起動されたことを契機として、第3の所定時間ごとに繰り返し実行するデータ復帰処理の一例を示す。なお、第3の所定時間は、第1の所定時間、第2の所定時間と同一であってもよい(以下同様)。また、データ復帰処理は、メインマイコンA及びサブマイコンBの少なくとも一方で実行されればよい(以下同様)。   FIG. 6 shows an example of a data restoration process that is repeatedly executed every third predetermined time, triggered by the monitored ECU 100A being activated by turning on the power when the ignition switch is turned on. The third predetermined time may be the same as the first predetermined time and the second predetermined time (the same applies hereinafter). The data restoration process may be executed by at least one of the main microcomputer A and the sub microcomputer B (the same applies hereinafter).

ステップ31では、被監視ECU100Aが、例えば、図示しない内部バスを介して、メインマイコンAで使用中のデータをサブマイコンBに送信し、そのRAMに退避する。ここで、サブマイコンBのRAMの占有領域を削減するために、例えば、リングバッファにデータを退避することができる。   In step 31, the monitored ECU 100A transmits data being used by the main microcomputer A to the sub-microcomputer B via an internal bus (not shown), for example, and saves it in the RAM. Here, in order to reduce the area occupied by the RAM of the sub-microcomputer B, for example, data can be saved in a ring buffer.

ステップ32では、被監視ECU100Aが、監視ECU100Bからデータ復帰指令があったか否かを判定する。そして、被監視ECU100Aは、データ復帰指令があったと判定すれば処理をステップ33へと進める一方(Yes)、データ復帰指令がないと判定すれば処理をステップ34へと進める(No)。   In step 32, monitored ECU 100A determines whether or not there is a data return command from monitoring ECU 100B. The monitored ECU 100A advances the process to step 33 if it is determined that there is a data return command (Yes), and advances the process to step 34 if it is determined that there is no data return command (No).

ステップ33では、被監視ECU100Aが、例えば、内部バスを介して、サブマイコンBに退避したデータをメインマイコンAに復帰する。なお、データをメインマイコンAに復帰する前に、メインマイコンAのレジスタ、メモリなどを初期化するようにしてもよい。このようにすれば、レジスタ、メモリに不適切なデータが残ることがなく、信頼性を向上させることができる。   In step 33, the monitored ECU 100A returns the data saved in the sub-microcomputer B to the main microcomputer A via, for example, the internal bus. Note that before the data is returned to the main microcomputer A, the registers and memories of the main microcomputer A may be initialized. In this way, inappropriate data does not remain in the register and memory, and the reliability can be improved.

ステップ34では、被監視ECU100Aが、監視ECU100Bから初期化指令があったか否かを判定する。そして、被監視ECU100Aは、初期化指令があったと判定すれば処理をステップ35へと進める一方(Yes)、初期化指令がないと判定すれば処理を終了させる(No)。   In step 34, monitored ECU 100A determines whether or not there is an initialization command from monitoring ECU 100B. Then, monitored ECU 100A advances the process to step 35 if it is determined that there is an initialization command (Yes), and terminates the process if it determines that there is no initialization command (No).

ステップ35では、被監視ECU100Aが、例えば、レジスタの内容、メモリの内容を起動直後の初期状態へと戻す初期化を実行する。   In step 35, the monitored ECU 100A executes, for example, initialization for returning the contents of the register and the contents of the memory to the initial state immediately after the activation.

図7は、監視ECU100Bが、イグニッションスイッチのONに伴う電源投入によって起動されたことを契機として、第4の所定時間ごとに繰り返し実行するデータ復帰処理の一例を示す。   FIG. 7 shows an example of a data restoration process that is repeatedly executed every fourth predetermined time when the monitoring ECU 100B is activated by turning on the power accompanying turning on the ignition switch.

ステップ41では、監視ECU100Bが、被監視ECU100AのメインマイコンAに異常が発生したか否かを判定する。メインマイコンAの異常発生は、例えば、メインマイコンAのP−RUNなどの出力信号、定時ジョブのカウンタ、メモリに格納されたデータのSUM値などを監視することで検知できる。そして、監視ECU100Bは、メインマイコンAに異常が発生したと判定すれば処理をステップ42へと進める一方(Yes)、メインマイコンAに異常が発生していないと判定すれば処理を終了させる(No)。   In step 41, the monitoring ECU 100B determines whether an abnormality has occurred in the main microcomputer A of the monitored ECU 100A. The occurrence of an abnormality in the main microcomputer A can be detected by monitoring, for example, an output signal of the main microcomputer A such as P-RUN, a counter for a scheduled job, a SUM value of data stored in the memory, and the like. If the monitoring ECU 100B determines that an abnormality has occurred in the main microcomputer A, the monitoring ECU 100B advances the process to step 42 (Yes), whereas if it determines that no abnormality has occurred in the main microcomputer A, the monitoring ECU 100B ends the process (No). ).

ステップ42では、監視ECU100Bが、被監視ECU100AのサブマイコンBに異常が発生したか否かを判定する。サブマイコンBの異常発生は、メインマイコンAの異常発生と同様に、例えば、サブマイコンBのP−RUNなどの出力信号、定時ジョブのカウンタ、メモリに格納されたデータのSUM値などを監視することで検知できる。そして、監視ECU100Bは、サブマイコンBに異常が発生していないと判定すれば処理をステップ43へと進める一方(Yes)、サブマイコンBに異常が発生していると判定すれば処理をステップ44へと進める(No)。   In step 42, the monitoring ECU 100B determines whether or not an abnormality has occurred in the sub-microcomputer B of the monitored ECU 100A. The occurrence of an abnormality in the sub-microcomputer B is monitored, for example, the output signal of the sub-microcomputer B such as P-RUN, the counter for the scheduled job, the SUM value of the data stored in the memory, etc. Can be detected. If the monitoring ECU 100B determines that no abnormality has occurred in the sub-microcomputer B, the process proceeds to step 43 (Yes), while if it is determined that an abnormality has occurred in the sub-microcomputer B, the process proceeds to step 44. Proceed to No (No).

ステップ43では、監視ECU100Bが、車載ネットワーク200を介して、被監視ECU100Aにデータ復帰指令を送信する。   In step 43, the monitoring ECU 100B transmits a data return command to the monitored ECU 100A via the in-vehicle network 200.

ステップ44では、監視ECU100Bが、被監視ECU100Aの初期化条件が成立しているか否かを判定する。ここで、初期化条件としては、図3のステップ15で適用した条件と同一とすることができる。そして、監視ECU100Bは、初期化条件が成立していると判定すれば処理をステップ45へと進める一方(Yes)、初期化条件が成立していないと判定すれば処理を終了させる(No)。   In step 44, the monitoring ECU 100B determines whether or not the initialization condition for the monitored ECU 100A is satisfied. Here, the initialization condition can be the same as the condition applied in step 15 of FIG. If it is determined that the initialization condition is satisfied, the monitoring ECU 100B advances the process to step 45 (Yes), and if it is determined that the initialization condition is not satisfied, the process is terminated (No).

ステップ45では、監視ECU100Bが、車載ネットワーク200を介して、被監視ECU100Aに初期化指令を送信する。なお、監視ECU100Bは、初期化条件が成立しているか否かを判定せずに、被監視ECU100Aに初期化指令を送信することもできる。   In step 45, the monitoring ECU 100B transmits an initialization command to the monitored ECU 100A via the in-vehicle network 200. Note that the monitoring ECU 100B can also send an initialization command to the monitored ECU 100A without determining whether or not the initialization condition is satisfied.

かかるデータ復帰処理によれば、被監視ECU100Aにおいて、メインマイコンAからサブマイコンBにデータが退避される。そして、メインマイコンAにのみ異常が発生すると、サブマイコンBに退避されたデータがメインマイコンAに復帰される。また、メインマイコンA及びサブマイコンBの両方に異常が発生すると、初期化条件の成立を前提として、メインマイコンA及びサブマイコンBがリセットされる。このため、被監視ECU100Aにおいて、例えば、メモリに格納されたデータの値が異常となっても、主系たるメインマイコンAが暴走することがなく、信頼性を向上させることができる。   According to such data restoration processing, data is saved from the main microcomputer A to the sub-microcomputer B in the monitored ECU 100A. When an abnormality occurs only in the main microcomputer A, the data saved in the sub microcomputer B is returned to the main microcomputer A. If an abnormality occurs in both the main microcomputer A and the sub microcomputer B, the main microcomputer A and the sub microcomputer B are reset on the assumption that the initialization condition is satisfied. Therefore, in the monitored ECU 100A, for example, even if the value of data stored in the memory becomes abnormal, the main microcomputer A that is the main system does not run away, and the reliability can be improved.

被監視ECU100Aにおいて、メインマイコンAのメモリの初期化を実行するとき、そのすべての領域を初期化するのではなく、データの値が異常となっている領域のみを初期化するようにしてもよい。以下、このメモリ初期化処理について説明する。   When the initialization of the memory of the main microcomputer A is executed in the monitored ECU 100A, not all the areas may be initialized, but only the areas where the data values are abnormal may be initialized. . Hereinafter, this memory initialization process will be described.

図8は、被監視ECU100AのメインマイコンAが、監視ECU100Bから初期化指令があったことを契機として、実行するメモリ初期化処理の一例を示す。ここで、メインマイコンAのメモリは、図9に示すように複数のメモリ領域(例えば、3つのメモリ領域)に分割され、各領域に、所定規則に従って分類されたデータが格納されているものとする。図示の例では、メモリ領域1にレジスタ及びI/Oの値が格納され、メモリ領域2に学習値が格納され、メモリ領域3に制御データが格納されている。そして、メインマイコンAは、メモリ領域ごとに、メモリ初期化処理を実行する。   FIG. 8 shows an example of a memory initialization process that is executed when the main microcomputer A of the monitored ECU 100A receives an initialization command from the monitoring ECU 100B. Here, the memory of the main microcomputer A is divided into a plurality of memory areas (for example, three memory areas) as shown in FIG. 9, and data classified according to a predetermined rule is stored in each area. To do. In the example shown in the figure, register and I / O values are stored in the memory area 1, learning values are stored in the memory area 2, and control data is stored in the memory area 3. Then, the main microcomputer A executes a memory initialization process for each memory area.

ステップ51では、メインマイコンAが、内部バスを介して、サブマイコンBに処理対象となるメモリ領域のデータを送信する。   In step 51, the main microcomputer A transmits data in the memory area to be processed to the sub microcomputer B via the internal bus.

ステップ52では、メインマイコンAが、サブマイコンBに送信したメモリ領域のSUM値を算出する。即ち、メインマイコンAは、メモリ領域の先頭アドレスからデータを順次読み出し、その値を積算したSUM値を算出する。   In step 52, the main microcomputer A calculates the SUM value of the memory area transmitted to the sub microcomputer B. That is, the main microcomputer A sequentially reads data from the start address of the memory area, and calculates the SUM value obtained by integrating the values.

ステップ53では、メインマイコンAが、内部バスを介して、ステップ52で算出したメモリ領域のSUM値をサブマイコンBに送信する。   In step 53, the main microcomputer A transmits the SUM value of the memory area calculated in step 52 to the sub microcomputer B via the internal bus.

ステップ54では、メインマイコンAが、サブマイコンBから送信された比較結果が否定的であるか否かを判定する。ここで、比較結果は、サブマイコンBにおいて、メインマイコンAから送信されたメモリ領域のデータから算出したSUM値と、メインマイコンAから送信されたSUM値と、を比較した結果を示すものであって、例えば、同一(肯定的)又は同一でない(否定的)ことを示すフラグを含む。そして、メインマイコンAは、比較結果が否定的であると判定すれば処理をステップ55へと進める一方(Yes)、比較結果が肯定的であると判定すれば処理を終了させる(No)。   In step 54, the main microcomputer A determines whether or not the comparison result transmitted from the sub-microcomputer B is negative. Here, the comparison result indicates a result of comparing the SUM value calculated from the data in the memory area transmitted from the main microcomputer A with the SUM value transmitted from the main microcomputer A in the sub microcomputer B. For example, a flag indicating the same (positive) or not the same (negative) is included. The main microcomputer A advances the process to step 55 if it is determined that the comparison result is negative (Yes), and ends the process if it determines that the comparison result is positive (No).

ステップ55では、メインマイコンAが、処理対象となるメモリ領域の初期化を実行する。なお、処理対象となるメモリ領域にレジスタ、I/Oの値が格納されている場合には、学習値及び制御データなどの信頼性が低いため、すべてのメモリ領域について初期化を実行する。   In step 55, the main microcomputer A initializes the memory area to be processed. Note that when the register and I / O values are stored in the memory area to be processed, since the reliability of the learning value and the control data is low, initialization is executed for all the memory areas.

図10は、被監視ECU100AのサブマイコンBが、メインマイコンAから処理対象たるメモリ領域のデータが送信されたことを契機として、実行するメモリ初期化処理の一例を示す。   FIG. 10 shows an example of a memory initialization process that is executed when the sub-microcomputer B of the monitored ECU 100A transmits data in the memory area to be processed from the main microcomputer A.

ステップ61では、サブマイコンBが、メインマイコンAから送信されたメモリ領域のデータを受信する。サブマイコンBは、受信したデータを、例えば、RAMに格納して展開しておく。   In step 61, the sub-microcomputer B receives the data in the memory area transmitted from the main microcomputer A. The sub-microcomputer B stores the received data in, for example, a RAM and expands it.

ステップ62では、サブマイコンBが、RAMに展開したメモリ領域のデータについて、その先頭アドレスから順次データを読み出し、その値を積算したSUM値を算出する。   In step 62, the sub-microcomputer B sequentially reads data from the head address of the data in the memory area developed in the RAM, and calculates the SUM value obtained by integrating the values.

ステップ63では、サブマイコンBが、メインマイコンAから送信されたメモリ領域のSUM値を受信する。受信したメモリ領域のSUM値は、ステップ62において算出したSUM値と同一のメモリ領域に関するものである。   In step 63, the sub-microcomputer B receives the SUM value of the memory area transmitted from the main microcomputer A. The received SUM value of the memory area relates to the same memory area as the SUM value calculated in step 62.

ステップ64では、サブマイコンBが、ステップ62で算出したSUM値と、ステップ63で受信したSUM値と、が同一であるか否かを比較する。そして、サブマイコンBは、2つのSUM値が同一でないと判定すれば否定的な比較結果を生成し、2つのSUM値が同一であると判定すれば肯定的な比較結果を生成する。   In step 64, the sub-microcomputer B compares whether the SUM value calculated in step 62 is the same as the SUM value received in step 63. The sub-microcomputer B generates a negative comparison result if it determines that the two SUM values are not the same, and generates a positive comparison result if it determines that the two SUM values are the same.

ステップ65では、サブマイコンBが、内部バスを介して、2つのSUM値の比較結果をメインマイコンAに送信する。   In step 65, the sub-microcomputer B transmits the comparison result of the two SUM values to the main microcomputer A via the internal bus.

かかるメモリ初期化処理によれば、被監視ECU100Aにおいて、監視ECU100Bから初期化処理があると、メインマイコンAのメモリを所定規則で分割した各メモリ領域について、そのデータ及びSUM値がメインマイコンAからサブマイコンBに送信される。また、サブマイコンBでは、メインマイコンAから送信されたデータのSUM値が算出され、これとメインマイコンAから送信されたSUM値との比較結果がメインマイコンAに返送される。そして、メインマイコンAでは、サブマイコンBから返送された比較結果が否定的であれば、処理対象となるメモリ領域の初期化が実行される。   According to such a memory initialization process, if there is an initialization process from the monitoring ECU 100B in the monitored ECU 100A, for each memory area obtained by dividing the memory of the main microcomputer A according to a predetermined rule, the data and the SUM value are transferred from the main microcomputer A. Is transmitted to the sub-microcomputer B. In the sub-microcomputer B, the SUM value of the data transmitted from the main microcomputer A is calculated, and the comparison result between this and the SUM value transmitted from the main microcomputer A is returned to the main microcomputer A. In the main microcomputer A, if the comparison result returned from the sub-microcomputer B is negative, the memory area to be processed is initialized.

このため、メインマイコンAは、複数のメモリ領域のうち、そこに格納されているデータの信頼性が低いメモリ領域のみを初期化することとなり、メモリの初期化に要する時間などを短縮することができる。なお、レジスタ、I/Oが格納されているメモリ領域の信頼性が低い場合には、すべてのメモリ領域を初期化することで、信頼性を向上させる。   For this reason, the main microcomputer A initializes only the memory area where the reliability of the data stored in the plurality of memory areas is low, and the time required for the initialization of the memory can be shortened. it can. Note that when the reliability of the memory area in which the registers and I / O are stored is low, the reliability is improved by initializing all the memory areas.

被監視ECU100AのメインマイコンAは、図11に示すように、複数のコア、例えば、コア1及びコア2を備えたマルチコアであってもよい。そして、メインマイコンAに異常が発生した場合、例えば、処理主体をコア1からコア2に切り替えることで、処理を続行できるようにする。以下の説明では、マルチコアとして、2つのコアを備えたものを前提とするが、その個数が3つ以上であってもよい。   As shown in FIG. 11, the main microcomputer A of the monitored ECU 100 </ b> A may be a multi-core including a plurality of cores, for example, the core 1 and the core 2. When an abnormality occurs in the main microcomputer A, for example, the processing main body is switched from the core 1 to the core 2 so that the processing can be continued. In the following description, the multi-core is assumed to have two cores, but the number thereof may be three or more.

図12は、メインマイコンAが起動されたことを契機として、コア1が第5の所定時間ごとに繰り返し実行する、コア切替処理の一例を示す。ここで、コア1及びコア2は、異なるメモリを使用することを前提とする。   FIG. 12 shows an example of a core switching process that is repeatedly executed by the core 1 every fifth predetermined time when the main microcomputer A is activated. Here, it is assumed that the core 1 and the core 2 use different memories.

ステップ71では、コア1が、例えば、メモリのSUM値を監視することで、メモリに異常が発生したか否かを判定する。そして、コア1は、メモリに異常が発生したと判定すれば処理をステップ72へと進める一方(Yes)、メモリに異常が発生していないと判定すれば処理を終了させる(No)。   In step 71, the core 1 determines whether or not an abnormality has occurred in the memory, for example, by monitoring the SUM value of the memory. If the core 1 determines that an abnormality has occurred in the memory, the process proceeds to step 72 (Yes), whereas if it is determined that no abnormality has occurred in the memory, the core 1 ends the process (No).

ステップ72では、コア1が、内部バスを介して、コア2へ処理の切替指令を送信する。即ち、コア1のメモリに異常が発生したため、コア1の処理を続行することが困難となる可能性を鑑み、コア2によって処理を続行するようにする。   In step 72, the core 1 transmits a process switching command to the core 2 via the internal bus. In other words, in view of the possibility that it may be difficult to continue the processing of the core 1 because an abnormality has occurred in the memory of the core 1, the processing is continued by the core 2.

ステップ73では、コア1が、コア2から初期化指令があったか否かを判定する。そして、コア1は、初期化指令があったと判定すれば処理をステップ74へと進める一方(Yes)、初期化指令がないと判定すれば処理を終了させる(No)。   In step 73, the core 1 determines whether or not there is an initialization command from the core 2. The core 1 advances the process to step 74 if it is determined that there is an initialization command (Yes), and ends the process if it determines that there is no initialization command (No).

ステップ74では、コア1が、メモリの初期化を実行する。   In step 74, the core 1 executes memory initialization.

図13は、メインマイコンAが起動されたことを契機として、コア2が第6の所定時間ごとに繰り返し実行する、コア切替処理の一例を示す。   FIG. 13 shows an example of a core switching process that the core 2 repeatedly executes every sixth predetermined time when the main microcomputer A is activated.

ステップ81では、コア2が、コア1からの切替指令があったか否かを判定する。そして、コア2は、切替指令があったと判定すれば処理をステップ82へと進める一方(Yes)、切替指令がないと判定すれば処理を終了させる(No)。   In step 81, the core 2 determines whether or not there is a switching command from the core 1. If the core 2 determines that there is a switching command, the process proceeds to step 82 (Yes), and if it determines that there is no switching command, the core 2 ends the processing (No).

ステップ82では、コア2が、コア1の代替処理を実行する。ここで、コア1の代替処理としては、最低限の機能を確保できる処理、すべての機能を確保できる処理のいずれであってもよい。   In step 82, the core 2 executes a substitute process for the core 1. Here, the alternative process of the core 1 may be either a process capable of ensuring a minimum function or a process capable of ensuring all functions.

ステップ83では、コア2が、コア1の代替処理を開始した後、コア1へ初期化指令を送信する。   In step 83, the core 2 starts an alternative process for the core 1 and then transmits an initialization command to the core 1.

かかるコア切替処理によれば、コア1でメモリ異常が発生すると、コア2で代替処理が実行されると共に、コア1のメモリが初期化される。このため、メインマイコンAで実行されている処理が長時間途切れることがなく、例えば、自動車のエンジンなど、重要な機器を制御する信頼性を向上することができる。   According to the core switching process, when a memory abnormality occurs in the core 1, the substitution process is executed in the core 2 and the memory of the core 1 is initialized. For this reason, the process executed by the main microcomputer A is not interrupted for a long time, and the reliability of controlling important equipment such as an automobile engine can be improved.

なお、メインマイコンAにおける処理は、コア1のメモリが初期化された後、又は、コア2にメモリ異常が発生したときに、コア2からコア1へと切り替えるようにしてもよい。このようにすれば、メインマイコンAが処理を続行することができる。   The processing in the main microcomputer A may be switched from the core 2 to the core 1 after the memory of the core 1 is initialized or when a memory abnormality occurs in the core 2. In this way, the main microcomputer A can continue processing.

以上の実施形態において、各図面を参照して説明した技術的思想を組み合わせ、又は、その一部を置き換えることもできる。このようにすれば、多様な形態において、その構成から得られる効果を享受することができる。   In the above embodiment, the technical ideas described with reference to the drawings can be combined or a part thereof can be replaced. If it does in this way, in various forms, the effect acquired from the composition can be enjoyed.

ここで、上記実施形態から把握し得る請求項以外の技術的思想について、以下に効果と共に記載する。   Here, technical ideas other than the claims that can be grasped from the above embodiment will be described together with effects.

(イ)前記外部機器は、前記制御機器から送信されたデータを不揮発性メモリに保存する、ことを特徴とする請求項1〜請求項3のいずれか1つに記載の自動車用電子制御装置。
このようにすれば、外部機器への電源供給が遮断されても、制御機器に異常が発生したときのデータを保持することができる。
(A) The external device stores the data transmitted from the control device in a nonvolatile memory, and the electronic control device for an automobile according to any one of claims 1 to 3.
In this way, even when the power supply to the external device is interrupted, data when an abnormality occurs in the control device can be retained.

(ロ)前記制御機器は、メインマイコンとサブマイコンとを有し、前記メインマイコンで使用しているデータを前記サブマイコンに退避すると共に、前記メインマイコンに異常が発生したときに、前記サブマイコンに退避したデータを前記メインマイコンに復帰する、ことを特徴とする請求項1〜請求項3、(イ)のいずれか1つに記載の自動車用電子制御装置。
このようにすれば、メインマイコンに異常が発生しても、メモリの内容を異常発生直前の状態に戻すことができる。
(B) The control device has a main microcomputer and a sub-microcomputer, and saves data used in the main microcomputer to the sub-microcomputer, and when an abnormality occurs in the main microcomputer, the sub-microcomputer 4. The automobile electronic control device according to claim 1, wherein the data saved in the main microcomputer is restored to the main microcomputer. 5.
In this way, even if an abnormality occurs in the main microcomputer, the contents of the memory can be returned to the state immediately before the abnormality occurred.

(ハ)前記制御機器の初期化は、メモリを初期化する、ことを特徴とする請求項2に記載の自動車用電子制御装置。
このようにすれば、制御機器に異常が発生したときにメモリが初期化されるので、不適切なデータに基づいて制御対象が制御されることを抑制できる。
(C) The electronic control device for an automobile according to claim 2, wherein the initialization of the control device initializes a memory.
In this way, since the memory is initialized when an abnormality occurs in the control device, it is possible to suppress the controlled object from being controlled based on inappropriate data.

(ニ)前記メモリの初期化は、前記メモリを分割した複数のメモリ領域のうち、メモリ内容の不整合が発生したメモリ領域について実行される、ことを特徴とする(ハ)に記載の自動車用電子制御装置。
このようにすれば、メモリ内容に不整合が発生していないメモリ領域の初期化が実行されないため、処理時間の短縮を図ることができる。
(D) The initialization of the memory is performed for a memory area in which inconsistencies in memory contents occur among a plurality of memory areas into which the memory is divided. Electronic control device.
In this way, the initialization of the memory area where no inconsistency occurs in the memory contents is not executed, so that the processing time can be shortened.

(ホ)前記制御機器のマイコンはマルチコアであって、前記コアの1つに異常が発生したときに、他のコアに処理を代行させる、ことを特徴とする請求項1〜請求項3、(イ)〜(ニ)のいずれか1つに記載の自動車用電子制御装置。
このようにすれば、制御機器の信頼性を向上させることができる。
(E) The microcomputer of the control device is multi-core, and when an abnormality occurs in one of the cores, the other core performs processing instead. The electronic control apparatus for motor vehicles as described in any one of a)-(d).
In this way, the reliability of the control device can be improved.

100A ECU(制御機器)
100B ECU(外部機器)
200 車載ネットワーク
A メインマイコン
B サブマイコン
100A ECU (control equipment)
100B ECU (external equipment)
200 In-vehicle network A Main microcomputer B Sub-microcomputer

Claims (3)

自動車に搭載された制御機器と、
前記制御機器に対して通信可能に接続された外部機器と、
を有する自動車用電子制御装置であって、
前記制御機器は、使用中のデータを前記外部機器に送信し、
前記外部機器は、前記制御機器に異常が発生したときに、前記制御機器から送信されたデータを保存する、
ことを特徴とする自動車用電子制御装置。
Control equipment installed in the car,
An external device communicably connected to the control device;
An automotive electronic control device comprising:
The control device transmits data in use to the external device,
The external device stores data transmitted from the control device when an abnormality occurs in the control device.
An electronic control device for an automobile.
前記外部機器は、前記制御機器に異常が発生したときに、前記制御機器を初期化する、
ことを特徴とする請求項1に記載の自動車用電子制御装置。
The external device initializes the control device when an abnormality occurs in the control device.
The automotive electronic control device according to claim 1.
前記制御機器は、前記外部機器から異常状態再現指令を受けたときに、前記外部機器に保存されたデータに基づいて動作パラメータを設定し、異常が発生した状態を再現する、
ことを特徴とする請求項1又は請求項2に記載の自動車用電子制御装置。
The control device, when receiving an abnormal state reproduction command from the external device, sets operation parameters based on the data stored in the external device, and reproduces the state where the abnormality has occurred.
The automobile electronic control device according to claim 1 or 2, wherein
JP2014048708A 2014-03-12 2014-03-12 Electronic control unit for automobile Expired - Fee Related JP6345447B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014048708A JP6345447B2 (en) 2014-03-12 2014-03-12 Electronic control unit for automobile

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014048708A JP6345447B2 (en) 2014-03-12 2014-03-12 Electronic control unit for automobile

Publications (2)

Publication Number Publication Date
JP2015171853A true JP2015171853A (en) 2015-10-01
JP6345447B2 JP6345447B2 (en) 2018-06-20

Family

ID=54259489

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014048708A Expired - Fee Related JP6345447B2 (en) 2014-03-12 2014-03-12 Electronic control unit for automobile

Country Status (1)

Country Link
JP (1) JP6345447B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018079720A (en) * 2016-11-14 2018-05-24 三菱電機株式会社 On-vehicle control device, gateway device, and on-vehicle network system
JP2018090214A (en) * 2016-12-07 2018-06-14 日立オートモティブシステムズ株式会社 Electronic control device for automobile and method of resetting electronic control device for automobile
JP7332529B2 (en) 2020-04-21 2023-08-23 株式会社東海理化電機製作所 Anomaly detector

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000145533A (en) * 1998-11-09 2000-05-26 Nissan Motor Co Ltd Electronic control device for vehicle
JP2003260993A (en) * 2002-03-11 2003-09-16 Nissan Motor Co Ltd Vehicle data recorder
JP2008065514A (en) * 2006-09-06 2008-03-21 Hitachi Ltd Control device of vehicle
JP2012089073A (en) * 2010-10-22 2012-05-10 Denso Corp Electronic control unit and motor-driven power steering device using the same
JP2013254379A (en) * 2012-06-07 2013-12-19 Mitsubishi Electric Corp Information communication device and operation log storage method when the device hangs up

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000145533A (en) * 1998-11-09 2000-05-26 Nissan Motor Co Ltd Electronic control device for vehicle
JP2003260993A (en) * 2002-03-11 2003-09-16 Nissan Motor Co Ltd Vehicle data recorder
JP2008065514A (en) * 2006-09-06 2008-03-21 Hitachi Ltd Control device of vehicle
JP2012089073A (en) * 2010-10-22 2012-05-10 Denso Corp Electronic control unit and motor-driven power steering device using the same
JP2013254379A (en) * 2012-06-07 2013-12-19 Mitsubishi Electric Corp Information communication device and operation log storage method when the device hangs up

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018079720A (en) * 2016-11-14 2018-05-24 三菱電機株式会社 On-vehicle control device, gateway device, and on-vehicle network system
JP2018090214A (en) * 2016-12-07 2018-06-14 日立オートモティブシステムズ株式会社 Electronic control device for automobile and method of resetting electronic control device for automobile
JP7332529B2 (en) 2020-04-21 2023-08-23 株式会社東海理化電機製作所 Anomaly detector

Also Published As

Publication number Publication date
JP6345447B2 (en) 2018-06-20

Similar Documents

Publication Publication Date Title
CN107547327B (en) Method and system for protecting vehicle
US9081699B2 (en) Relay device
US8831821B2 (en) Controller area network message transmission disable testing systems and methods
JP4803168B2 (en) Vehicle information storage device
JP2010218277A5 (en)
EP3249534B1 (en) Vehicle control device
WO2009090978A1 (en) Vehicle control device
JP4509200B2 (en) Network system
JP6147356B2 (en) Monitoring device, control system and monitoring program
JP6345447B2 (en) Electronic control unit for automobile
US10296322B2 (en) Controller and control program updating method
JP3923810B2 (en) Electronic control device for vehicle
CN110658800A (en) Vehicle-mounted electronic control device
CN110088735B (en) Control device and failure processing method for control device
JP2010113419A (en) Multicore controller
US20220222135A1 (en) Electronic control device
JP4820679B2 (en) Electronic control device for vehicle
JP7029366B2 (en) Electronic control device for automobiles
JP2018134964A (en) Electronic control unit for automobile
JP2017007539A (en) Control device
WO2022113155A1 (en) Vehicular onboard control system
JP2010018168A (en) System and method for analyzing abnormality for vehicle, and vehicular trouble analyzer
JP4957486B2 (en) Vehicle power supply control device
JP6887277B2 (en) Electronic control device for automobiles
JP2015112962A (en) Information processing apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20160913

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20170427

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170502

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170622

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20171121

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180110

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180523

R150 Certificate of patent or registration of utility model

Ref document number: 6345447

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees