JP2016089782A - Electronic control device - Google Patents

Electronic control device Download PDF

Info

Publication number
JP2016089782A
JP2016089782A JP2014227846A JP2014227846A JP2016089782A JP 2016089782 A JP2016089782 A JP 2016089782A JP 2014227846 A JP2014227846 A JP 2014227846A JP 2014227846 A JP2014227846 A JP 2014227846A JP 2016089782 A JP2016089782 A JP 2016089782A
Authority
JP
Japan
Prior art keywords
fail
abnormality
electronic control
control device
main processor
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2014227846A
Other languages
Japanese (ja)
Inventor
加藤 大典
Daisuke Kato
大典 加藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Denso Corp
Original Assignee
Denso Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Denso Corp filed Critical Denso Corp
Priority to JP2014227846A priority Critical patent/JP2016089782A/en
Publication of JP2016089782A publication Critical patent/JP2016089782A/en
Pending legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide an electronic control device including a high functional safety in which an appropriate fail-safe processing is carried out in response to a generated abnormal state.SOLUTION: A micro-computer 10 comprises a master core 20 for executing a control processing for performing a calculation for controlling an engine 100, and a checker core 30 for performing the same calculation as that of the master core 20. If it is determined that a failure occurs in a result of calculation of the master core 20, the master core 20 performs a state determination for determining a presence or non-presence of failure at the hardware of the micro-computer 10 without performing a reset processing of the micro-computer 10 and performs the fail-safe processing on the basis of a result of the state determination.SELECTED DRAWING: Figure 2

Description

本発明は、車両のエンジンを制御する電子制御装置に関する。   The present invention relates to an electronic control device that controls an engine of a vehicle.

車両のエンジンを制御する電子制御装置において、制御処理を実行しながら、演算結果の妥当性を確認するものが知られている。   2. Description of the Related Art An electronic control device that controls an engine of a vehicle is known that checks the validity of a calculation result while executing a control process.

例えば、下記特許文献1には、2つのプロセッサを備えることで、このような処理を実行可能とする電子制御装置が記載されている。当該電子制御装置は、2つのプロセッサが同一の演算を行うとともに、その演算結果に基づいて電子制御装置の異常の有無を判定する。詳細には、2つのプロセッサの演算結果を比較し、両者に不一致が生じた場合に異常が発生したと判定するものである。   For example, Patent Document 1 below describes an electronic control device that can execute such processing by including two processors. In the electronic control device, two processors perform the same calculation and determine whether the electronic control device is abnormal based on the calculation result. Specifically, the calculation results of the two processors are compared, and it is determined that an abnormality has occurred when there is a mismatch between the two processors.

特開2014−2472号公報JP 2014-2472 A

上記特許文献1に記載の電子制御装置では、エンジンの制御処理と、プロセッサの異常有無の判定とを同時に実行することで、異常を迅速に検出することができるという利点がある。しかしながら、当該電子制御装置は、その異常状態から正常状態への復帰方法に関し、改善の余地を残していた。   The electronic control device described in Patent Document 1 has an advantage that an abnormality can be detected quickly by simultaneously executing the engine control process and the determination of whether or not the processor is abnormal. However, the electronic control device has left room for improvement with respect to a method for returning from the abnormal state to the normal state.

すなわち、当該電子制御装置では、正常状態への復帰のために、電子制御装置をリセットするためのリセット処理を行っている。その後、検出した異常が、一時的なものであるか、又は、継続的なものであるかを診断している。   That is, the electronic control device performs a reset process for resetting the electronic control device in order to return to the normal state. Thereafter, it is diagnosed whether the detected abnormality is temporary or continuous.

このようなリセット処理を行うと、電子制御装置によるエンジンの制御処理が停止するとともに、それまでの制御処理で用いられていた制御値がクリアされることになる。このため、電子制御装置が制御処理を再開した際に、再開前の制御値が引き継がれず、その後の制御処理が予測不能な状態に陥るおそれがある。   When such a reset process is performed, the engine control process by the electronic control unit is stopped, and the control value used in the control process up to that point is cleared. For this reason, when the electronic control device restarts the control process, the control value before the restart is not carried over, and the subsequent control process may fall into an unpredictable state.

本発明はこのような課題に鑑みてなされたものであり、その目的は、生じた異常状態に応じて適切なフェイルセーフ処理を実行する機能安全性の高い電子制御装置を提供することにある。   The present invention has been made in view of such problems, and an object of the present invention is to provide an electronic control device with high functional safety that executes appropriate fail-safe processing in accordance with an abnormal state that has occurred.

上記課題を解決するために、本発明に係る電子制御装置は、車両のエンジン(100)を制御する電子制御装置(10)であって、エンジンを制御するために演算を行って制御処理を実行する主プロセッサ(20)と、主プロセッサと同一の演算を行う副プロセッサ(30)と、主プロセッサによる演算結果と、副プロセッサによる演算結果とを比較する比較器(60)と、比較器による比較結果に基づいて主プロセッサの演算結果の異常の有無を判定する異常判定部(70)と、を備える。主プロセッサは、主プロセッサの演算結果に異常があると判定された場合に、電子制御装置のリセット処理を行うことなく電子制御装置のハードウェアの異常の有無を判定する状態判定を行い、該状態判定の結果に基づいてフェイルセーフ処理を実行する。   In order to solve the above-described problems, an electronic control device according to the present invention is an electronic control device (10) for controlling an engine (100) of a vehicle, and performs a control process by performing computation to control the engine. Main processor (20), sub processor (30) performing the same operation as the main processor, comparator (60) for comparing the operation result by the main processor and the operation result by the sub processor, and comparison by the comparator And an abnormality determination unit (70) for determining whether there is an abnormality in the calculation result of the main processor based on the result. When the main processor determines that there is an abnormality in the computation result of the main processor, the main processor performs a state determination to determine whether there is an abnormality in the hardware of the electronic control unit without performing the reset process of the electronic control unit, and the state Fail safe processing is executed based on the determination result.

本発明では、まず、主プロセッサの演算結果と、副プロセッサの演算結果とを比較することにより、主プロセッサの演算結果の異常の有無を判定する。主プロセッサの演算結果に異常があると判定された場合には、その状態を継続すると適切な制御処理を行えなくなるおそれがあるため、フェイルセーフ処理を実行する。   In the present invention, first, by comparing the operation result of the main processor with the operation result of the sub processor, it is determined whether or not there is an abnormality in the operation result of the main processor. If it is determined that there is an abnormality in the calculation result of the main processor, fail control processing is executed because there is a possibility that appropriate control processing cannot be performed if the state is continued.

本発明では、さらに、このフェイルセーフ処理を、電子制御装置のハードウェアの異常の有無を判定する状態判定の結果に基づくものとしている。この状態判定は、主プロセッサの演算結果に異常があると判定された後に、電子制御装置のリセット処理を行うことなく、行われるものである。したがって、電子制御装置のハードウェアの異常状態に応じて、適切なフェイルセーフ処理を実行することが可能となる。   In the present invention, the fail-safe process is further based on the result of the state determination for determining whether or not the hardware of the electronic control device is abnormal. This state determination is performed without performing reset processing of the electronic control unit after it is determined that there is an abnormality in the calculation result of the main processor. Therefore, it is possible to execute an appropriate fail-safe process according to the abnormal state of the hardware of the electronic control device.

本発明によれば、生じた異常状態に応じて適切なフェイルセーフ処理を実行する機能安全性の高い電子制御装置を提供することができる。   ADVANTAGE OF THE INVENTION According to this invention, the electronic control apparatus with high functional safety which performs an appropriate fail safe process according to the produced abnormal state can be provided.

本発明の実施形態に係る電子制御装置を示すブロック図である。It is a block diagram which shows the electronic control apparatus which concerns on embodiment of this invention. 本発明の実施形態に係る電子制御装置による制御を示すフローチャートである。It is a flowchart which shows the control by the electronic controller which concerns on embodiment of this invention. 図2に示されているマスターコア状態判定における処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the process in the master core state determination shown by FIG.

以下、添付図面を参照しながら本発明の実施形態について説明する。説明の理解を容易にするため、各図面において同一の構成要素に対しては可能な限り同一の符号を付して、重複する説明は省略する。   Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings. In order to facilitate the understanding of the description, the same constituent elements in the drawings will be denoted by the same reference numerals as much as possible, and redundant description will be omitted.

まず、図1を参照しながら、マイコン10の構成について説明する。マイコン10は、いわゆるデュアルコアの電子制御装置であり、車両(不図示)に搭載される。マイコン10は、車両の各種センサ(不図示)と電気的に接続されており、それらから伝達される情報等を用いながら車両のエンジン100を制御している。エンジン100は、複数の気筒を有するガソリンエンジンである。   First, the configuration of the microcomputer 10 will be described with reference to FIG. The microcomputer 10 is a so-called dual-core electronic control device and is mounted on a vehicle (not shown). The microcomputer 10 is electrically connected to various sensors (not shown) of the vehicle, and controls the vehicle engine 100 using information transmitted from the sensors. The engine 100 is a gasoline engine having a plurality of cylinders.

図1に示されるように、マイコン10は、マスターコア20と、チェッカーコア30と、RAM40と、ROM50と、比較器60と、エラー判定部70と、を備える。   As shown in FIG. 1, the microcomputer 10 includes a master core 20, a checker core 30, a RAM 40, a ROM 50, a comparator 60, and an error determination unit 70.

マスターコア20は、マイコン10における主プロセッサに相当する。マスターコア20は、CPU21と、FPU22とを有している。CPU21は、各種センサからマイコン10に伝達される情報を適宜用いて、所定のプログラムに従って演算を行う処理装置である。FPU22は、浮動小数点演算を行う処理装置である。   The master core 20 corresponds to a main processor in the microcomputer 10. The master core 20 has a CPU 21 and an FPU 22. The CPU 21 is a processing device that performs calculations according to a predetermined program using information transmitted from various sensors to the microcomputer 10 as appropriate. The FPU 22 is a processing device that performs floating point arithmetic.

チェッカーコア30は、マイコン10における副プロセッサに相当する。チェッカーコア30は、CPU31と、FPU32とを有している。CPU31は、各種センサからマイコン10に伝達される情報を適宜用いて、所定のプログラムに従って演算を行う処理装置である。FPU22は、浮動小数点演算を行う処理装置である。CPU31のアーキテクチャはマスターコア20のCPU21と同一であり、FPU32のアーキテクチャはFPU22と同一である。   The checker core 30 corresponds to a sub processor in the microcomputer 10. The checker core 30 has a CPU 31 and an FPU 32. The CPU 31 is a processing device that performs calculations according to a predetermined program using information transmitted from various sensors to the microcomputer 10 as appropriate. The FPU 22 is a processing device that performs floating point arithmetic. The architecture of the CPU 31 is the same as the CPU 21 of the master core 20, and the architecture of the FPU 32 is the same as the FPU 22.

RAM40は、マスターコア20とアドレスバス、読込用データバス及び書込用データバスを介して通信可能であり、チェッカーコア30と読込用データバスを介して通信可能とされた記憶装置である。RAM40は、CPU21,31による演算結果や各種センサ等の外部装置から入力される情報等を記憶する。   The RAM 40 is a storage device that can communicate with the master core 20 via an address bus, a read data bus, and a write data bus, and can communicate with the checker core 30 via a read data bus. RAM40 memorize | stores the information etc. which are input from external devices, such as a calculation result by CPU21,31, and various sensors.

ROM50は、マスターコア20とアドレスバス及び読込用データバスを介して通信可能であり、チェッカーコアと読込用データバスを介して通信可能とされた記憶装置である。ROM50は、エンジン100の制御処理を行うためのプログラムや固定のデータ等を記憶している。   The ROM 50 is a storage device that can communicate with the master core 20 via an address bus and a read data bus, and can communicate with the checker core via a read data bus. The ROM 50 stores a program for performing control processing of the engine 100, fixed data, and the like.

比較器60は、マスターコア20及びチェッカーコア30と書込用データバスを介して通信可能とされたコンパレータである。比較器60は、通知された複数の演算結果の比較を行う。比較器60は、当該比較を行った後に、その比較結果を通知する。   The comparator 60 is a comparator that can communicate with the master core 20 and the checker core 30 via a data bus for writing. The comparator 60 compares the notified plurality of calculation results. The comparator 60 notifies the comparison result after performing the comparison.

エラー判定部70は、比較器60と通信可能とされている。エラー判定部70は、比較器60からの通知に基づいてマスターコア20の演算結果の異常の有無を判定し、その判定結果を通知する。   The error determination unit 70 can communicate with the comparator 60. Based on the notification from the comparator 60, the error determination unit 70 determines whether there is an abnormality in the calculation result of the master core 20, and notifies the determination result.

以上のように構成されたマイコン10は、マスターコア20がROM50に記憶されたプログラムを読み込み、そのCPU21及びFPU22において当該プログラムに従って演算を行う。マスターコア20は、その演算結果を適宜RAM40に通知して記憶させるとともに、比較器60に通知する。   In the microcomputer 10 configured as described above, the master core 20 reads a program stored in the ROM 50, and the CPU 21 and the FPU 22 perform calculations according to the program. The master core 20 notifies the RAM 40 of the calculation result as appropriate, stores it, and notifies the comparator 60 of it.

一方、チェッカーコア30も、マスターコア20と並列に、ROM50に記憶されたプログラムを読み込み、そのCPU31及びFPU32において当該プログラムに従って演算を行う。CPU31及びFPU32は、いずれもマスターコア20のCPU21及びFPU22と同一クロックで同期して演算を行っている。チェッカーコア30は、その演算結果を適宜RAM40に通知して記憶させるとともに、比較器60に通知する。   On the other hand, the checker core 30 also reads a program stored in the ROM 50 in parallel with the master core 20 and performs calculations according to the program in the CPU 31 and the FPU 32. Both the CPU 31 and the FPU 32 perform calculations in synchronization with the CPU 21 and the FPU 22 of the master core 20 in the same clock. The checker core 30 appropriately notifies the RAM 40 of the calculation result to be stored, and notifies the comparator 60 of the calculation result.

比較器60は、マスターコア20から通知される演算結果と、チェッカーコア30から通知される演算結果との比較を行う。両演算結果は、マスターコア20及びチェッカーコア30が正常に動作している場合は一致するように設定されている。比較器60は、その比較結果をエラー判定部70に通知する。   The comparator 60 compares the operation result notified from the master core 20 with the operation result notified from the checker core 30. Both calculation results are set to coincide when the master core 20 and the checker core 30 are operating normally. The comparator 60 notifies the error determination unit 70 of the comparison result.

エラー判定部70は、比較器60からの通知に基づいて、マスターコア20の演算結果の異常の有無を判定する。そして、エラー判定部70がマスターコア20の演算結果に異常が無いと判定した場合のみ、マスターコア20によるエンジン100の通常の制御処理を実行することが許可される。   Based on the notification from the comparator 60, the error determination unit 70 determines whether there is an abnormality in the calculation result of the master core 20. Only when the error determination unit 70 determines that there is no abnormality in the calculation result of the master core 20, it is permitted to execute the normal control processing of the engine 100 by the master core 20.

一方、エラー判定部70が、比較器60からの通知に基づいてマスターコア20の演算結果に異常があると判定した場合は、マスターコア20に対しエラー信号を送信する。当該エラー信号を受信したマスターコア20は、それまで実行していた制御処理を停止し、フェイルセーフ処理を実行する。   On the other hand, when the error determination unit 70 determines that the calculation result of the master core 20 is abnormal based on the notification from the comparator 60, an error signal is transmitted to the master core 20. The master core 20 that has received the error signal stops the control processing that has been executed so far, and executes fail-safe processing.

次に、図2及び図3を参照しながら、マスターコア20によるフェイルセーフレベル決定処理及びマイコン状態判定処理について説明する。   Next, the fail safe level determination process and the microcomputer state determination process performed by the master core 20 will be described with reference to FIGS.

マスターコア20は、前述のようにエラー判定部70からエラー信号を受信すると、図2に示されるフェイルセーフレベル決定処理を実行する。このフェイルセーフレベル決定処理は、マイコン10の状態に応じて、適切な程度(レベル)のフェイルセーフ処理を実行するために、その程度を決定するための処理である。   When the master core 20 receives the error signal from the error determination unit 70 as described above, the master core 20 executes the fail-safe level determination process shown in FIG. This fail safe level determination process is a process for determining the level of the fail safe process in order to execute an appropriate level (level) of the fail safe process according to the state of the microcomputer 10.

まず、マスターコア20は、ステップS21で、3段階あるフェイルセーフ処理のうち、「レベル2」のフェイルセーフ処理を実行する。具体的には、マスターコア20は、マスターコア20の演算結果に異常が無い場合に比べてエンジン100の出力を抑制しながらも、車両を走行可能な状態とする制御処理を行う。さらに具体的には、マスターコア20は、エンジン100が有する複数の気筒のうち、一部の気筒における燃焼を休止させてエンジン100の運転を継続させる。   First, in step S21, the master core 20 executes a “level 2” fail-safe process among the three stages of fail-safe processes. Specifically, the master core 20 performs a control process for making the vehicle ready to travel while suppressing the output of the engine 100 as compared with the case where there is no abnormality in the calculation result of the master core 20. More specifically, the master core 20 stops the combustion in some of the cylinders of the engine 100 and continues the operation of the engine 100.

次に、マスターコア20は、ステップS22で、マイコン状態判定処理を行う。このマイコン状態判定処理は、マイコン10のハードウェアの異常の有無を判定するための処理である。換言すると、マスターコア20の演算結果に異常があると判定した場合において、その異常が一時的なものにすぎないのか、又は、マイコン10のハードウェアの異常によるもので、継続的なものであるのか、を判定するための処理である。   Next, the master core 20 performs a microcomputer state determination process in step S22. This microcomputer state determination process is a process for determining whether or not there is an abnormality in the hardware of the microcomputer 10. In other words, when it is determined that there is an abnormality in the calculation result of the master core 20, the abnormality is only temporary or is due to an abnormality in the hardware of the microcomputer 10, and is continuous. This is a process for determining whether or not.

図3に示されるように、マスターコア20は、マイコン状態判定処理において、まずステップS31でCPU21の診断を実施する。具体的には、CPU21に診断用の演算を行わせるとともに、その演算が予め定められた順序通りに行われているか否かに基づいて、CPU21の異常の有無を診断する。   As shown in FIG. 3, the master core 20 first diagnoses the CPU 21 in step S31 in the microcomputer state determination process. Specifically, the CPU 21 is caused to perform a calculation for diagnosis, and the presence or absence of abnormality of the CPU 21 is diagnosed based on whether or not the calculation is performed in a predetermined order.

ステップS31の診断でCPU21の異常が検出されなかった場合(S32:No)、マスターコア20は、次にステップS33でFPU22の診断を実施する。具体的には、FPU22に診断用の演算を行わせるとともに、予め定められた期待値通りに演算が行われているか否かに基づいて、FPU22の異常の有無を診断する。   When abnormality of CPU21 is not detected by the diagnosis of step S31 (S32: No), the master core 20 implements diagnosis of FPU22 next at step S33. Specifically, the FPU 22 is caused to perform a calculation for diagnosis, and the presence or absence of abnormality of the FPU 22 is diagnosed based on whether or not the calculation is performed according to a predetermined expected value.

ステップS33の診断でFPU22の異常が検出されなかった場合(S34:No)、マスターコア20は、次にステップS35でROM50の診断を実施する。具体的には、予め正常時のチェックサムをROM50に記憶させておくとともに、マスターコア20の演算結果に異常があると判定された場合にチェックサムを再計算し、それを正常時のものと比較することで、FPU22の異常の有無を診断する。   If no abnormality of the FPU 22 is detected in the diagnosis of step S33 (S34: No), the master core 20 next performs the diagnosis of the ROM 50 in step S35. Specifically, the normal checksum is stored in the ROM 50 in advance, and the checksum is recalculated when it is determined that the calculation result of the master core 20 is abnormal, By comparing, the presence or absence of abnormality of FPU22 is diagnosed.

ステップS35の診断でROM50の異常が検出されなかった場合(S36:No)、マスターコア20は、次にステップS37でRAM40の診断を実施する。具体的には、CPU21が診断用のデータをRAM40に一度記憶させ、その後、当該データの読み込みを行い、記憶させたものと比較することで、RAM40の異常の有無を診断する。   When abnormality of ROM50 is not detected by the diagnosis of step S35 (S36: No), the master core 20 implements diagnosis of RAM40 next at step S37. Specifically, the CPU 21 stores diagnostic data once in the RAM 40, then reads the data and compares it with the stored data, thereby diagnosing whether the RAM 40 is abnormal.

ステップS37の診断でRAM40の異常が検出されなかった場合(S38:No)、すなわち、CPU21、FPU22、ROM50、RAM40のいずれにも異常が検出されなかった場合、マスターコア20の演算結果に生じた異常は一時的なものであると推定することができる。この場合、マスターコア20は、ステップS39でマイコン10の状態は正常であるとのフラグを立て、マイコン状態判定処理を終了する。   If no abnormality is detected in the RAM 40 in the diagnosis in step S37 (S38: No), that is, if no abnormality is detected in any of the CPU 21, FPU 22, ROM 50, and RAM 40, the calculation result of the master core 20 occurs. It can be estimated that the abnormality is temporary. In this case, the master core 20 sets a flag indicating that the state of the microcomputer 10 is normal in step S39, and ends the microcomputer state determination process.

一方、CPU21、FPU22、ROM50、RAM40のいずれかに異常が検出された場合(S32,S34,S36,S38:Yes)、マスターコア20の演算結果に生じた異常は、マイコン10のハードウェアの故障に起因するもので、継続的なものであると推定することができる。この場合、マスターコア20は、ステップS40でマイコン10の状態は異常であるとのフラグを立て、マイコン状態判定処理を終了する。   On the other hand, if an abnormality is detected in any of the CPU 21, FPU 22, ROM 50, and RAM 40 (S32, S34, S36, S38: Yes), the abnormality that has occurred in the calculation result of the master core 20 is a malfunction of the hardware of the microcomputer 10. It can be presumed to be a continuous thing. In this case, the master core 20 sets a flag that the state of the microcomputer 10 is abnormal in step S40, and ends the microcomputer state determination process.

図2に示されるように、マイコン状態判定処理を終えたマスターコア20は、次に、ステップS23において、マイコン10の状態に関するフラグに基づいて、実行するフェイルセーフレベルの程度を変更する。   As shown in FIG. 2, the master core 20 that has finished the microcomputer state determination process next changes the degree of the fail-safe level to be executed based on the flag relating to the state of the microcomputer 10 in step S23.

マイコン状態判定処理において、マイコン10の状態は正常であるとのフラグが立てられている場合(S23:No)、マスターコア20は、ステップS24で、3段階あるフェイルセーフ処理のうち、「レベル1」のフェイルセーフ処理を実行する。この「レベル1」のフェイルセーフ処理では、前述した「レベル2」のフェイルセーフ処理よりもエンジン100の出力の抑制を緩和し、車両を走行可能な状態とする制御処理を実行する。具体的には、「レベル1」のフェイルセーフ処理は、エンジン100の回転数の上限値を「レベル2」のフェイルセーフ処理よりも高く設定するものである。   In the microcomputer state determination process, when the flag indicating that the state of the microcomputer 10 is normal is set (S23: No), the master core 20 determines “level 1” among the three stages of failsafe processes in step S24. ”Is executed. In the “level 1” fail-safe process, the control of reducing the output of the engine 100 is more relaxed than in the “level 2” fail-safe process described above, and the control process for making the vehicle ready to run is executed. Specifically, in the “level 1” fail-safe process, the upper limit value of the engine 100 is set higher than the “level 2” fail-safe process.

一方、マイコン状態判定処理において、マイコン10の状態は異常であるとのフラグを立てられている場合(S23:Yes)、マスターコア20は、ステップS25で、3段階あるフェイルセーフ処理のうち、「レベル3」のフェイルセーフ処理を実行する。この「レベル3」のフェイルセーフ処理では、前述した「レベル2」のフェイルセーフ処理よりもエンジン100の出力を更に抑制し、車両を最低限で走行可能な状態とする制御処理を行う。このときのエンジン100の出力は、走行中の車両を路肩に寄せるための退避走行が可能な程度のものに制限され、例えば、車両が時速10km程度で走行可能なものとする。   On the other hand, in the microcomputer state determination process, when the flag indicating that the state of the microcomputer 10 is abnormal is set (S23: Yes), the master core 20 in step S25, among the three stages of failsafe processes, “ Level 3 "fail-safe processing is executed. In the “level 3” fail-safe process, the output of the engine 100 is further suppressed as compared with the above-described “level 2” fail-safe process, and the control process is performed so that the vehicle can travel at a minimum. The output of the engine 100 at this time is limited to that which allows retreating to bring the running vehicle to the shoulder, and for example, the vehicle can run at a speed of about 10 km / h.

以上のように、マイコン10では、まず、マスターコア20の演算結果と、チェッカーコア30の演算結果とを比較することにより、マスターコア20の演算結果の異常の有無を判定する。マスターコア20の演算結果に異常があると判定された場合には、その状態を継続すると適切な制御処理を行えなくなるおそれがあるため、フェイルセーフ処理を実行する。   As described above, the microcomputer 10 first determines whether there is an abnormality in the calculation result of the master core 20 by comparing the calculation result of the master core 20 with the calculation result of the checker core 30. When it is determined that there is an abnormality in the calculation result of the master core 20, if the state is continued, there is a possibility that appropriate control processing cannot be performed, and therefore fail-safe processing is executed.

マイコン10では、さらに、このフェイルセーフ処理を、マイコン10のハードウェアの異常の有無を判定するマイコン状態判定処理の結果に基づくものとしている。このマイコン状態判定処理は、マスターコア20の演算結果に異常があると判定された後に、マイコン10のリセット処理を行うことなく、行われるものである。したがって、マイコン10のハードウェアの異常状態に応じて、適切なフェイルセーフ処理を実行することが可能となる。   In the microcomputer 10, the fail-safe process is further based on the result of the microcomputer state determination process that determines whether there is an abnormality in the hardware of the microcomputer 10. This microcomputer state determination process is performed without performing the reset process of the microcomputer 10 after it is determined that the calculation result of the master core 20 is abnormal. Therefore, it is possible to execute an appropriate failsafe process according to the abnormal state of the hardware of the microcomputer 10.

また、マイコン10では、マスターコア20は、マスターコア20の演算結果に異常があると判定された場合に、「レベル2」のフェイルセーフ処理を実行するとともにマイコン状態判定処理を行う。その後にマイコン10のハードウェアに異常があると判定された場合は、「レベル3」のフェイルセーフ処理を実行する一方、マイコン10のハードウェアに異常が無いと判定された場合は「レベル1」のフェイルセーフ処理を実行する。   Further, in the microcomputer 10, when it is determined that there is an abnormality in the calculation result of the master core 20, the master core 20 performs “level 2” fail-safe processing and performs microcomputer state determination processing. Thereafter, when it is determined that there is an abnormality in the hardware of the microcomputer 10, “level 3” fail-safe processing is executed, while when it is determined that there is no abnormality in the hardware of the microcomputer 10, “level 1”. Execute the fail-safe process.

このマイコン10によれば、マスターコア20の演算結果に異常があると判定された場合に、暫定的に「レベル2」のフェイルセーフ処理を実行して車両を安全な状態におくとともに、その間にマイコン状態判定処理を行う。そして、マイコン10のハードウェアの状態に適した程度(レベル)を決定し、より適切なフェイルセーフ処理を実行することが可能となる。   According to the microcomputer 10, when it is determined that there is an abnormality in the calculation result of the master core 20, the “level 2” fail-safe process is temporarily performed to put the vehicle in a safe state, Performs microcomputer state determination processing. Then, it is possible to determine a level (level) suitable for the hardware state of the microcomputer 10 and execute more appropriate fail-safe processing.

以上、具体例を参照しつつ本発明の実施の形態について説明した。しかし、本発明はこれらの具体例に限定されるものではない。すなわち、これら具体例に、当業者が適宜設計変更を加えたものも、本発明の特徴を備えている限り、本発明の範囲に包含される。例えば、前述した各具体例が備える各要素およびその配置、材料、条件、形状、サイズなどは、例示したものに限定されるわけではなく適宜変更することができる。また、前述した各実施の形態が備える各要素は、技術的に可能な限りにおいて組み合わせることができ、これらを組み合わせたものも本発明の特徴を含む限り本発明の範囲に包含される。   The embodiments of the present invention have been described above with reference to specific examples. However, the present invention is not limited to these specific examples. In other words, those specific examples that have been appropriately modified by those skilled in the art are also included in the scope of the present invention as long as they have the characteristics of the present invention. For example, the elements included in each of the specific examples described above and their arrangement, materials, conditions, shapes, sizes, and the like are not limited to those illustrated, but can be changed as appropriate. Moreover, each element with which each embodiment mentioned above is provided can be combined as long as technically possible, and the combination of these is also included in the scope of the present invention as long as it includes the features of the present invention.

10 :マイコン(電子制御装置)
20 :マスターコア(主プロセッサ)
30 :チェッカーコア(副プロセッサ)
60 :比較器
100:エンジン
10: Microcomputer (electronic control unit)
20: Master core (main processor)
30: Checker core (sub processor)
60: Comparator 100: Engine

Claims (6)

車両のエンジン(100)を制御する電子制御装置(10)であって、
前記エンジンを制御するために演算を行って制御処理を実行する主プロセッサ(20)と、
前記主プロセッサと同一の演算を行う副プロセッサ(30)と、
前記主プロセッサによる演算結果と、前記副プロセッサによる演算結果とを比較する比較器(60)と、
前記比較器による比較結果に基づいて前記主プロセッサの演算結果の異常の有無を判定する異常判定部(70)と、を備え、
前記主プロセッサは、前記主プロセッサの演算結果に異常があると判定された場合に、前記電子制御装置のリセット処理を行うことなく前記電子制御装置のハードウェアの異常の有無を判定する状態判定を行い、該状態判定の結果に基づいてフェイルセーフ処理を実行することを特徴とする電子制御装置。
An electronic control device (10) for controlling an engine (100) of a vehicle,
A main processor (20) for performing a control process by performing an operation to control the engine;
A sub processor (30) for performing the same operation as the main processor;
A comparator (60) for comparing the operation result of the main processor with the operation result of the sub-processor;
An abnormality determination unit (70) for determining the presence or absence of an abnormality in the calculation result of the main processor based on a comparison result by the comparator;
When the main processor determines that there is an abnormality in the calculation result of the main processor, the main processor performs a state determination to determine whether there is an abnormality in the hardware of the electronic control device without performing a reset process of the electronic control device. An electronic control device that performs the fail-safe process based on the result of the state determination.
前記主プロセッサは、前記主プロセッサの演算結果に異常があると判定された場合に第1フェイルセーフ処理を実行するとともに前記状態判定を行い、その後に前記ハードウェアに異常があると判定された場合は第2フェイルセーフ処理を実行する一方、前記ハードウェアに異常が無いと判定された場合は第3フェイルセーフ処理を実行することを特徴とする請求項1に記載の電子制御装置。   The main processor performs the first fail safe process when it is determined that there is an abnormality in the calculation result of the main processor, performs the state determination, and then determines that there is an abnormality in the hardware The electronic control device according to claim 1, wherein the second fail-safe process is executed while the third fail-safe process is executed when it is determined that there is no abnormality in the hardware. 前記第1フェイルセーフ処理は、前記主プロセッサの演算結果に異常が無いと判定された場合よりも前記エンジンの出力を抑制するものであることを特徴とする請求項2に記載の電子制御装置。   The electronic control device according to claim 2, wherein the first fail-safe process suppresses the output of the engine more than when it is determined that there is no abnormality in the calculation result of the main processor. 前記第2フェイルセーフ処理は、前記第1フェイルセーフ処理よりも前記エンジンの出力を更に抑制するものであることを特徴とする請求項3に記載の電子制御装置。   The electronic control device according to claim 3, wherein the second fail-safe process further suppresses the output of the engine more than the first fail-safe process. 前記第3フェイルセーフ処理は、前記第1フェイルセーフ処理よりも前記エンジンの出力の抑制を緩和したものであることを特徴とする請求項3又は4に記載の電子制御装置。   5. The electronic control device according to claim 3, wherein the third fail-safe process is one in which suppression of the output of the engine is relaxed as compared with the first fail-safe process. 6. 前記第3フェイルセーフ処理は、前記第1フェイルセーフ処理よりも前記エンジンの回転数の上限値を高く設定するであることを特徴とする請求項5に記載の電子制御装置。   The electronic control unit according to claim 5, wherein the third fail-safe process sets an upper limit value of the engine speed higher than that of the first fail-safe process.
JP2014227846A 2014-11-10 2014-11-10 Electronic control device Pending JP2016089782A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014227846A JP2016089782A (en) 2014-11-10 2014-11-10 Electronic control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014227846A JP2016089782A (en) 2014-11-10 2014-11-10 Electronic control device

Publications (1)

Publication Number Publication Date
JP2016089782A true JP2016089782A (en) 2016-05-23

Family

ID=56019354

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014227846A Pending JP2016089782A (en) 2014-11-10 2014-11-10 Electronic control device

Country Status (1)

Country Link
JP (1) JP2016089782A (en)

Similar Documents

Publication Publication Date Title
JP6496562B2 (en) Semiconductor device, diagnostic test method and diagnostic test circuit
US9417946B2 (en) Method and system for fault containment
US9058419B2 (en) System and method for verifying the integrity of a safety-critical vehicle control system
US9207661B2 (en) Dual core architecture of a control module of an engine
EP3249534B1 (en) Vehicle control device
US9372774B2 (en) Redundant computing architecture
JP5141367B2 (en) Vehicle control device
JP2017033236A (en) Vehicle controller
JP2009129463A (en) Processing method of temporary error in real time system of vehicle controller
JP5226653B2 (en) In-vehicle control device
US8954794B2 (en) Method and system for detection of latent faults in microcontrollers
JP2016089782A (en) Electronic control device
JP5978873B2 (en) Electronic control unit
JP6094387B2 (en) Control device
JP6183251B2 (en) Electronic control unit
US20170199834A1 (en) Vehicle subsystem communication arbitration
JP6274947B2 (en) Abnormality diagnosis method for microprocessor of in-vehicle control device
JP2019094889A (en) On-vehicle control device
JP6405966B2 (en) Electronic control unit
JP6268071B2 (en) Electronic control unit
JP2018063599A (en) Mutual monitoring system
JP6766587B2 (en) Electronic control device
JP6275098B2 (en) Control device and register failure recovery method
JP6533489B2 (en) Vehicle controller
JP2016037862A (en) Vehicular control device