JP6716429B2 - Electronic control device and diagnostic method thereof - Google Patents

Electronic control device and diagnostic method thereof Download PDF

Info

Publication number
JP6716429B2
JP6716429B2 JP2016221763A JP2016221763A JP6716429B2 JP 6716429 B2 JP6716429 B2 JP 6716429B2 JP 2016221763 A JP2016221763 A JP 2016221763A JP 2016221763 A JP2016221763 A JP 2016221763A JP 6716429 B2 JP6716429 B2 JP 6716429B2
Authority
JP
Japan
Prior art keywords
microcomputer
monitoring
function
electronic control
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2016221763A
Other languages
Japanese (ja)
Other versions
JP2018079737A (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.)
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 JP2016221763A priority Critical patent/JP6716429B2/en
Publication of JP2018079737A publication Critical patent/JP2018079737A/en
Application granted granted Critical
Publication of JP6716429B2 publication Critical patent/JP6716429B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Safety Devices In Control Systems (AREA)

Description

本発明は、自動車用の電子制御装置及びその診断方法に関する。 The present invention relates to an electronic control device for a vehicle and a diagnosis method thereof.

従来から、自動車等の車両用電子制御システムの故障検出装置が知られている(特許文献1参照)。この故障検出装置によれば、第1のマイクロコンピュータと、その第1のマイクロコンピュータの故障の有無を監視する監視機能を有する第2のマイクロコンピュータを備えている。さらに、第1のマイクロコンピュータは、第2のマイクロコンピュータの監視機能が正しく動作しているか否かを判定する。具体的には、第1のマイクロコンピュータが、第2のマイクロコンピュータの監視機能(例えば監視回路等)に対して、故意に誤った診断用信号を送信して、その監視機能が故障検出信号を出力するか否かを判定する診断手段を備えている。 Conventionally, a failure detection device for an electronic control system for a vehicle such as an automobile has been known (see Patent Document 1). According to this failure detection device, the first microcomputer and the second microcomputer having a monitoring function for monitoring the presence/absence of a failure of the first microcomputer are provided. Further, the first microcomputer determines whether the monitoring function of the second microcomputer is operating properly. Specifically, the first microcomputer intentionally sends an erroneous diagnostic signal to the monitoring function (for example, a monitoring circuit) of the second microcomputer, and the monitoring function sends a failure detection signal. A diagnostic means for determining whether or not to output is provided.

ところで、従来から、機能安全の国際基準(例えば、自動車用機能安全規格(ISO 26262))が知られている。そこで、例えば、潜在故障(レイテントフォールト)等の機能安全対策に、上記の診断手段を適用することが考えられる。 By the way, conventionally, an international standard of functional safety (for example, functional safety standard for automobiles (ISO 26262)) is known. Therefore, for example, it is conceivable to apply the above-mentioned diagnostic means to a functional safety measure such as a latent failure (latent fault).

特開2002−99321号公報JP-A-2002-99321

しかし、上記の診断手段は、例えば、運転者のキーオフ操作後に電源が遮断されるまでのシャットダウンの最中に実行されるところ、毎回のキーオフ操作時に、監視機能の診断を切り替えるので、1回のシャットダウンで1つの監視機能しか診断ができない。したがって、監視機能が複数存在する場合について、潜在故障等の機能安全対策への対応が問題となる。 However, the above-mentioned diagnosis means is executed during the shutdown until the power is cut off after the key-off operation by the driver, for example, and the diagnosis of the monitoring function is switched at every key-off operation, so that the diagnosis is performed once. Only one monitoring function can be diagnosed by shutdown. Therefore, when there are multiple monitoring functions, it is a problem to deal with functional safety measures such as latent failure.

そこで、本発明は、上記問題点に鑑み、第2のマイクロコンピュータが第1のマイクロコンピュータの機能毎に監視する監視機能を複数備えている場合、潜在故障等の機能安全対策に対応し得る技術を提供することを目的とする。 Therefore, in view of the above problems, the present invention is a technique capable of coping with functional safety measures such as a latent failure when the second microcomputer has a plurality of monitoring functions for monitoring each function of the first microcomputer. The purpose is to provide.

本発明に係る自動車用の電子制御装置は、第1のマイクロコンピュータの故障の有無を第2のマイクロコンピュータが監視し、上記第1のマイクロコンピュータが上記第2のマイクロコンピュータの監視状態を診断する自動車用の電子制御装置であって、上記第2のマイクロコンピュータは、上記第1のマイクロコンピュータの機能毎に上記故障の有無を監視する複数の監視部を備え、上記第1のマイクロコンピュータは、複数の前記監視部が正常に動作しているか否かを診断する診断部を備え、上記診断部は、キーオフ操作により、シャットダウンに移行するタイミングにおいて、上記監視部の何れか1つに異常を検出したときに上記第1のマイクロコンピュータをリセットする第1の条件から、複数の上記監視部が正常に動作しているか否かを順番に診断する第2の条件に切り替える。 In the vehicle electronic control device according to the present invention, the second microcomputer monitors the presence or absence of a failure of the first microcomputer, and the first microcomputer diagnoses the monitoring state of the second microcomputer. An electronic control device for an automobile, wherein the second microcomputer includes a plurality of monitoring units that monitor the presence or absence of the failure for each function of the first microcomputer, and the first microcomputer includes: The diagnostic unit includes a diagnostic unit that diagnoses whether the plurality of monitoring units are operating normally, and the diagnostic unit detects an abnormality in any one of the monitoring units at a timing of shifting to shutdown by a key-off operation. Then, the first condition for resetting the first microcomputer is switched to the second condition for sequentially diagnosing whether or not the plurality of monitoring units are operating normally.

また、本発明に係る自動車用の電子制御装置の診断方法は、第1のマイクロコンピュータの故障の有無を第2のマイクロコンピュータが監視し、上記第1のマイクロコンピュータが上記第2のマイクロコンピュータの監視状態を診断する自動車用の電子制御装置の診断方法であって、上記第2のマイクロコンピュータの複数の監視部は、上記第1のマイクロコンピュータの機能毎に上記故障の有無を監視し、上記第1のマイクロコンピュータの診断部は、キーオフ操作により、シャットダウンに移行するタイミングにおいて、上記監視部の何れか1つに異常を検出したときに上記第1のマイクロコンピュータをリセットする第1の条件から、複数の上記監視部が正常に動作しているか否かを順番に診断する第2の条件に切り替えて上記監視部を診断する。 Further, in the method for diagnosing an electronic control device for an automobile according to the present invention, the second microcomputer monitors whether or not the first microcomputer has a failure, and the first microcomputer is the second microcomputer. A method of diagnosing a monitoring state of an electronic control device for a vehicle, wherein a plurality of monitoring units of the second microcomputer monitor the presence or absence of the failure for each function of the first microcomputer, The diagnostic unit of the first microcomputer resets the first microcomputer from the first condition when an abnormality is detected in any one of the monitoring units at the timing of shifting to the shutdown by the key-off operation. Then, the monitoring unit is diagnosed by switching to the second condition for sequentially diagnosing whether or not the plurality of monitoring units are normally operating.

本発明によれば、第2のマイクロコンピュータが第1のマイクロコンピュータの機能毎に監視する監視機能を複数備えている場合、潜在故障等の機能安全対策に対応し得る技術を提供できる。 According to the present invention, when the second microcomputer has a plurality of monitoring functions for monitoring each function of the first microcomputer, it is possible to provide a technology capable of coping with functional safety measures such as a latent failure.

本実施形態における電子制御装置の構成例を示す機能ブロック図である。It is a functional block diagram showing an example of composition of an electronic control unit in this embodiment. 本実施形態における電子制御装置の動作例を示すフローチャートである。It is a flow chart which shows the example of operation of the electronic control unit in this embodiment. 本実施形態における電子制御装置のタイムチャートの一例を示す説明図である。It is explanatory drawing which shows an example of the time chart of the electronic control unit in this embodiment. 本実施形態における電子制御装置のタイムチャートの一例を示す説明図である。It is explanatory drawing which shows an example of the time chart of the electronic control unit in this embodiment. 本実施形態における電子制御装置のタイムチャートの一例を示す説明図である。It is explanatory drawing which shows an example of the time chart of the electronic control unit in this embodiment.

以下、添付された図面を参照し、本発明を実施するための実施形態について詳述する。
[本実施形態の構成例]
図1は、本実施形態における電子制御装置の構成例を示す機能ブロック図である。図1に示す電子制御装置1は、自動車に搭載され、例えば、メインのマイクロコンピュータ(以下、「メインマイコン」という。)2及びそのメインマイコン2の故障の有無を監視するサブのマイクロコンピュータ(以下、「サブマイコン」という。)3を含む。ここで、メインマイコン2は、第1のマイクロコンピュータの一例であり、サブマイコン3は、第2のマイクロコンピュータの一例である。
Hereinafter, embodiments for carrying out the present invention will be described in detail with reference to the accompanying drawings.
[Configuration example of the present embodiment]
FIG. 1 is a functional block diagram showing a configuration example of the electronic control device according to the present embodiment. The electronic control unit 1 shown in FIG. 1 is mounted in an automobile, for example, a main microcomputer (hereinafter referred to as “main microcomputer”) 2 and a sub-microcomputer (hereinafter, referred to as “main microcomputer 2”) , "Sub-microcomputer"). Here, the main microcomputer 2 is an example of a first microcomputer, and the sub-microcomputer 3 is an example of a second microcomputer.

また、電子制御装置1は、カットオフ回路4、電源回路5、IGN(Ignition)6に接続されている。さらに、電子制御装置1は、図示省略の各種センサに接続されており、例えば、TCU(Transmission Control Unit)用としてトランスミッションのソレノイドの制御を実行する。また、電子制御装置1も、一例として図示省略のECU(Engine Control Unit)により制御されている。 The electronic control unit 1 is also connected to a cutoff circuit 4, a power supply circuit 5, and an IGN (Ignition) 6. Further, the electronic control unit 1 is connected to various sensors (not shown), and controls the solenoid of the transmission for TCU (Transmission Control Unit), for example. The electronic control unit 1 is also controlled by an ECU (Engine Control Unit) (not shown) as an example.

メインマイコン2は、内部に、CPU(Central Processing Unit)、RAM(Random Access Memory)、入出力回路(I/O)及び通信インタフェース(I/F)を含む(図示省略)。また、メインマイコン2は、第1機能F1、第2機能F2、・・・第n機能Fn、不揮発性メモリ20等のフラッシュROM(Read Only Memory)、通信部21及び診断部22を備える。メインマイコン2は、第1機能F1、第2機能F2、・・・第n機能Fnについて、これらの機能を担うものである。ここで、本実施形態では、説明の便宜上、一例として、n=3の場合について例示するが、これに限定されない。 The main microcomputer 2 includes a CPU (Central Processing Unit), a RAM (Random Access Memory), an input/output circuit (I/O), and a communication interface (I/F) inside (not shown). Further, the main microcomputer 2 includes a first function F1, a second function F2,..., An nth function Fn, a flash ROM (Read Only Memory) such as a nonvolatile memory 20, a communication unit 21, and a diagnosis unit 22. The main microcomputer 2 is responsible for these functions of the first function F1, the second function F2,... The nth function Fn. Here, in the present embodiment, for convenience of description, the case of n=3 is illustrated as an example, but the present invention is not limited to this.

第1機能F1は、例えば、メインマイコン2の不揮発性メモリ20やRAM等のメモリ診断をする機能モジュールである。第2機能F2は、例えば、メインマイコン2が正しい処理順序で動作しているか否かを確認するため、プログラムフローの診断をする機能モジュールである。第3機能F3は、例えば、いわゆるWDT(Watch Dog Timer)の機能モジュールである。また、メインマイコン2は、サブマイコン3と通信するための複数のポートP21〜P27や電源回路5を制御するためのポートP28を備える。 The first function F1 is, for example, a functional module that performs memory diagnosis such as the nonvolatile memory 20 of the main microcomputer 2 and the RAM. The second function F2 is, for example, a function module that diagnoses the program flow in order to confirm whether or not the main microcomputer 2 is operating in the correct processing order. The third function F3 is, for example, a so-called WDT (Watch Dog Timer) function module. Further, the main microcomputer 2 includes a plurality of ports P21 to P27 for communicating with the sub-microcomputer 3 and a port P28 for controlling the power supply circuit 5.

一方、サブマイコン3は、内部に、CPU、フラッシュROM、RAM、入出力回路(I/O)及び通信インタフェース(I/F)を含む(図示省略)。また、サブマイコン3は、切替スイッチSWやメインマイコン2の監視機能として、第1監視機能M1、第2監視機能M2、・・・第n監視機能Mnを備える。ここで、本実施形態では、説明の便宜上、n=3の場合について例示するが、これに限定されない。さらに、サブマイコン3は、通信監視機能C1、OR/AND切替S1を備える。また、サブマイコン3は、メインマイコン2と通信するための複数のポートP31〜P37やカットオフ回路を制御するためのポートP38を備える。 On the other hand, the sub-microcomputer 3 includes a CPU, a flash ROM, a RAM, an input/output circuit (I/O), and a communication interface (I/F) inside (not shown). Further, the sub-microcomputer 3 is provided with a first monitoring function M1, a second monitoring function M2,... Nth monitoring function Mn as monitoring functions of the changeover switch SW and the main microcomputer 2. Here, in the present embodiment, a case of n=3 is illustrated for convenience of description, but the present invention is not limited to this. Further, the sub-microcomputer 3 has a communication monitoring function C1 and an OR/AND switch S1. The sub-microcomputer 3 also includes a plurality of ports P31 to P37 for communicating with the main microcomputer 2 and a port P38 for controlling the cutoff circuit.

サブマイコン3において、第1監視機能M1は、例えば、上記のメモリ診断処理が正しく動作しているか否かを判定するプログラムを実行して、第1機能F1を監視する。第2監視機能M2は、例えば、メインマイコン2のプログラムフローの診断が正しく動作しているか否かを判定するプログラムを実行して、第2機能F2を監視する。第3監視機能M3は、例えば、WDTが正しく動作しているか否かを判定するプログラムを実行して、第3機能F3を監視する。通信監視機能C1は、メインマイコン2との通信を監視する。ここで、第1監視機能M1、第2監視機能M2、第3監視機能M3及び通信監視機能C1は、それぞれ監視部の一例である。これらの監視部は、異常を検出すると、メインマイコン2について故障ありと判定する。OR/AND切替S1は、切替スイッチSWの切り替えを制御する。 In the sub-microcomputer 3, the first monitoring function M1 monitors the first function F1 by executing, for example, a program that determines whether or not the above memory diagnostic processing is operating properly. The second monitoring function M2 executes, for example, a program for determining whether or not the diagnosis of the program flow of the main microcomputer 2 is operating correctly, and monitors the second function F2. The third monitoring function M3, for example, executes a program that determines whether the WDT is operating properly to monitor the third function F3. The communication monitoring function C1 monitors communication with the main microcomputer 2. Here, each of the first monitoring function M1, the second monitoring function M2, the third monitoring function M3, and the communication monitoring function C1 is an example of a monitoring unit. When these monitoring units detect an abnormality, it determines that the main microcomputer 2 has a failure. The OR/AND switch S1 controls switching of the changeover switch SW.

ここで、サブマイコン3は、監視機能処理として、例えば一定周期で監視し、Highで正常、Lowで異常を検出する。また、サブマイコン3は、所定時間の通信途絶により、通信監視機能C1が異常を検出するようにする。OR/AND切替S1は、ポートP35で受信するデータを監視して、HighでAND条件、LowでOR条件に切り替える。なお、AND条件は、上記第2の条件に相当し、OR条件は、上記第1の条件に相当する。なお、第1の条件では、異常検出時に安全状態に移行させるため、メインマイコン2をリセットし、例えば、予め定めたフェール制御を実行する。 Here, as a monitoring function process, the sub-microcomputer 3 monitors, for example, at a constant cycle, and detects normality when High and abnormality when Low. Further, the sub-microcomputer 3 causes the communication monitoring function C1 to detect an abnormality due to communication interruption for a predetermined time. The OR/AND switch S1 monitors the data received at the port P35, and switches to the AND condition when it is High and the OR condition when it is Low. The AND condition corresponds to the second condition, and the OR condition corresponds to the first condition. Under the first condition, the main microcomputer 2 is reset and a predetermined fail control is executed, for example, to shift to a safe state when an abnormality is detected.

カットオフ回路4は、ソレノイドへの電源(消費される電力)の供給をカットする。ここで、本実施形態では、異常検出時にソレノイドへの電源の供給をカットしてフェール制御に移行するようにしている。 The cutoff circuit 4 cuts off the supply of power (consumed power) to the solenoid. Here, in this embodiment, when abnormality is detected, the supply of power to the solenoid is cut off and the control is shifted to the fail control.

電源回路5は、WAKEの処理を実行する。WAKEの機能では、論理的に、High(オン)側になっていると電源がオン状態を表しており、Low(オフ)側になると電源が落ちるようになっている。IGN6は、イグニッションキーによりイグニッションスイッチがオンである場合に電源回路5に電力を供給する。 The power supply circuit 5 executes WAKE processing. The WAKE function logically indicates that the power supply is turned on when it is on the High side, and the power supply is turned off when it is on the Low side. The IGN 6 supplies power to the power supply circuit 5 when the ignition switch is turned on by the ignition key.

本実施形態では、通常、サブマイコン3のリセット処理により、リセットポートP27を介してサブマイコン3からメインマイコン2へリセットの指示がなされ、メインマイコン2をシャットダウンする。但し、サブマイコン3の監視部に異常が発生した場合には、メインマイコン2が自らシャットダウンする。 In the present embodiment, normally, by the reset process of the sub-microcomputer 3, the sub-microcomputer 3 issues a reset instruction to the main microcomputer 2 via the reset port P27, and the main microcomputer 2 is shut down. However, when an abnormality occurs in the monitoring unit of the sub-microcomputer 3, the main microcomputer 2 shuts itself down.

また、通信部21は、メインマイコン2の通信処理を制御する。診断部22は、第1監視機能M1、第2監視機能M2、第3監視機能M3、通信監視機能C1が正常に動作しているか否かを診断する。診断部22は、例えば、キーオフ操作により、シャットダウンに移行するタイミングにおいて、監視部の何れか1つに異常を検出したときにメインマイコン2をリセットする第1の条件から、第1監視機能M1、第2監視機能M2、第3監視機能M3及び通信監視機能C1等の監視部が正常に動作しているか否かを順番に診断する第2の条件に切り替える。 The communication unit 21 also controls the communication processing of the main microcomputer 2. The diagnosis unit 22 diagnoses whether the first monitoring function M1, the second monitoring function M2, the third monitoring function M3, and the communication monitoring function C1 are operating normally. For example, the diagnosis unit 22 resets the main microcomputer 2 when an abnormality is detected in any one of the monitoring units at the timing of shifting to the shutdown by a key-off operation, and then the first monitoring function M1, It switches to the second condition that sequentially diagnoses whether or not the monitoring units such as the second monitoring function M2, the third monitoring function M3, and the communication monitoring function C1 are operating normally.

ここで、自動車の走行時には、診断部22が監視部の何れか1つに異常を検出したときに、第1の条件を適用するのは、メインマイコン2の機能の内で1つでも異常が発生した場合、機能安全の観点から、例えば、すぐにフェール制御に移行できるようにするためである。なお、異常検出後に運転手に異常を通知する手段としては、例えば、故障警告灯(MIL(Malfunction Indication Lamp)点灯)を利用してよい。 Here, when the diagnostic unit 22 detects an abnormality in any one of the monitoring units when the vehicle is traveling, the first condition is applied when even one of the functions of the main microcomputer 2 is abnormal. This is because, in the case of occurrence, from the viewpoint of functional safety, for example, it is possible to immediately shift to fail control. As a means of notifying the driver of the abnormality after the abnormality is detected, for example, a failure warning lamp (lighting a MIL (Malfunction Indication Lamp)) may be used.

一方、キーオフ操作を受け付けた場合には、メインマイコン2は、第2の条件により、例えば、監視部の全てが正常であることを確認した上でメインマイコン2のリセットを実行する。したがって、この第2条件では、機能安全の観点から潜在故障の対策として1回のシャットダウンにより、サブマイコン3の複数の監視部が正常動作した旨を次回のキーオン操作時に保障することができる。つまり、第2条件を実行することは、サブマイコン3がメインマイコン2の機能毎に監視する監視機能を複数備えている場合、潜在故障等の機能安全対策に対応し得ることを意味する。以下、キーオフ操作を受け付けた場合の動作処理を詳細に説明する。 On the other hand, when the key-off operation is accepted, the main microcomputer 2 executes the reset of the main microcomputer 2 after confirming that all the monitoring units are normal under the second condition. Therefore, under this second condition, it is possible to guarantee that the plurality of monitoring units of the sub-microcomputer 3 have normally operated at the next key-on operation by shutting down once as a countermeasure against a potential failure from the viewpoint of functional safety. That is, executing the second condition means that when the sub-microcomputer 3 has a plurality of monitoring functions for monitoring each function of the main microcomputer 2, it is possible to cope with functional safety measures such as a latent failure. Hereinafter, the operation process when the key-off operation is received will be described in detail.

[本実施形態の動作処理]
図2は、本実施形態における電子制御装置の動作例を示すフローチャートである。図3は、本実施形態における電子制御装置のタイムチャートの一例を示す説明図である。図3では、IGN6、OR/AND切替S1、第1機能F1、第2機能F2、第3機能F3、通信部21の通信、リセットの実行タイミングやセルフシャットポートP28を介したシャットダウンの実行タイミングを概略的に示している。また、説明をわかりやすくするため、各機能の応答状態の実行タイミングを示す第1機能F1のフィードバック(通信)、第2機能F2のフィードバック(通信)及び第3機能F3のフィードバック(通信)をタイミングチャートに示している。なお、以下の処理において、メインマイコン2は、メインマイコン2のCPUが処理を実行し、サブマイコン3は、サブマイコン3のCPUが処理を実行する。
[Operation processing of this embodiment]
FIG. 2 is a flowchart showing an operation example of the electronic control unit in the present embodiment. FIG. 3 is an explanatory diagram showing an example of a time chart of the electronic control device according to the present embodiment. In FIG. 3, IGN 6, OR/AND switching S1, first function F1, second function F2, third function F3, communication of the communication unit 21, reset execution timing, and shutdown execution timing via the self-shut port P28 are shown. It is shown schematically. Further, in order to make the explanation easy to understand, timing of the feedback (communication) of the first function F1, the feedback (communication) of the second function F2, and the feedback (communication) of the third function F3 indicating the execution timing of the response state of each function is timing. Shown in the chart. In the following processing, the CPU of the main microcomputer 2 of the main microcomputer 2 executes the processing, and the CPU of the sub microcomputer 3 of the sub microcomputer 3 executes the processing.

ステップS101:メインマイコン2は、IGN6を介して、イグニッションスイッチがオフされたか否かを判定する。イグニッションスイッチがオフされた場合(ステップS101:Yes)、ステップS102の処理に移行する(図3の時刻t1参照)。イグニッションスイッチがオン状態であれば(ステップS101:No)、ステップS101の処理を繰り返す。但し、フローチャートには示していないが、イグニッションスイッチがオンされてオフされるまでの間について、診断部22は、所定の周期で第1の条件の診断を実行する。 Step S101: The main microcomputer 2 determines whether the ignition switch is turned off via the IGN6. When the ignition switch is turned off (step S101: Yes), the process proceeds to step S102 (see time t1 in FIG. 3). If the ignition switch is on (step S101: No), the process of step S101 is repeated. However, although not shown in the flowchart, the diagnosis unit 22 executes the diagnosis of the first condition at a predetermined cycle until the ignition switch is turned on and then turned off.

ステップS102:メインマイコン2の診断部22は、サブマイコン3に対してOR条件からAND条件への切り替えの指示命令を送信する。サブマイコン3は、指示命令を受信すると、OR/AND切替S1は、切替スイッチSWの回路をOR条件からAND条件へ切り替える(図3の時刻t2参照)。この切り替えにより、第1の条件から第2の条件に変更される。ここで、第2条件での診断を以下「AND手法」という。サブマイコン3は、タイムアウトにならない限り、AND条件の切替完了を示すデータとして「AND切替完了」をメインマイコン2へ送信する。 Step S102: The diagnosis unit 22 of the main microcomputer 2 transmits an instruction command for switching from the OR condition to the AND condition to the sub microcomputer 3. When the sub-microcomputer 3 receives the instruction command, the OR/AND switch S1 switches the circuit of the switch SW from the OR condition to the AND condition (see time t2 in FIG. 3). By this switching, the first condition is changed to the second condition. Here, the diagnosis under the second condition will be referred to as “AND method” below. The sub-microcomputer 3 transmits “AND switching completion” to the main microcomputer 2 as data indicating completion of switching the AND condition unless the timeout occurs.

ステップS103:診断部22は、ステップS102の処理後に「AND切替完了」の受信待ち状態に移行し、通信部21が「AND切替完了」のデータを受信したか否かを判定する。「AND切替完了」のデータを受信した場合(ステップS103:Yes)、ステップS104の処理に移行する。一方、「AND切替完了」のデータを受信しない場合(ステップS103:No)、後述するステップS113に移行する。 Step S103: The diagnosis unit 22 shifts to the reception waiting state of “AND switching completion” after the processing of step S102, and determines whether the communication unit 21 has received the data of “AND switching completion”. When the data of "AND switching completion" is received (step S103: Yes), the process proceeds to step S104. On the other hand, when the data of “AND switching completion” is not received (step S103: No), the process proceeds to step S113 described later.

ステップS104:診断部22は、先ず、サブマイコン3の複数の監視部(第1監視機能M1、第2監視機能M2、第3監視機能M3)を順番にチェックするため、カウンタを初期設定(X=1)する。 Step S104: The diagnosis unit 22 first checks the plurality of monitoring units (the first monitoring function M1, the second monitoring function M2, the third monitoring function M3) of the sub-microcomputer 3 in order, so that the counter is initialized (X = 1).

ステップS105:診断部22は、メインマイコン2のX番目における監視対象の機能を故意に異常設定する(X=1の場合、図3の時刻t3参照)。これにより、サブマイコン3は、X番目の監視対象の機能を診断処理する。なお、故意に異常設定するのは、X番目の機能を監視する監視部が異常を検出できるか否かで正常動作の有無を容易に判定できるからである。 Step S105: The diagnostic unit 22 intentionally sets the Xth monitoring target function of the main microcomputer 2 to be abnormal (when X=1, see time t3 in FIG. 3). As a result, the sub-microcomputer 3 diagnoses the function of the Xth monitoring target. The reason why the abnormality is set intentionally is that the presence or absence of the normal operation can be easily determined by whether or not the monitoring unit that monitors the Xth function can detect the abnormality.

ここで、異常設定の手段として、例えば、メモリ診断であれば、メインマイコン2から、メモリ診断エラーとなるデータを送信し、サブマイコン3の第1監視機能M1が、正常であれば、そのデータに基づいて、メモリ診断エラーとして異常を検出する。そして、診断部22は、サブマイコン3からメモリ診断エラー(異常検出)を示すデータを受信することで、第1監視機能M1が正常に動作していると判定することができる。 Here, as a means for setting an abnormality, for example, in the case of memory diagnosis, data that causes a memory diagnosis error is transmitted from the main microcomputer 2, and if the first monitoring function M1 of the sub-microcomputer 3 is normal, the data An abnormality is detected as a memory diagnosis error based on the above. Then, the diagnostic unit 22 can determine that the first monitoring function M1 is operating normally by receiving the data indicating the memory diagnostic error (abnormality detection) from the sub-microcomputer 3.

また、プログラムフローの診断であれば、メインマイコン2から、プログラムフローの診断エラーとなるデータを送信し、サブマイコン3の第2監視機能M2が、正常であれば、そのデータに基づいて、プログラムフローの診断エラーとして異常を検出する。そして、診断部22は、サブマイコン3からプログラムフローの診断エラー(異常検出)を示すデータを受信することで、第2監視機能M2が正常に動作していると判定することができる。 If the program flow is diagnosed, the main microcomputer 2 transmits data that causes a program flow diagnosis error. If the second monitoring function M2 of the sub-microcomputer 3 is normal, the program is executed based on the data. Anomalies are detected as flow diagnostic errors. Then, the diagnosis unit 22 can determine that the second monitoring function M2 is operating normally by receiving the data indicating the program flow diagnosis error (abnormality detection) from the sub-microcomputer 3.

さらに、WDTの診断であれば、メインマイコン2から第3監視機能M3に対し、WDTが正常であれば、所定周期のパルス信号を送信し、第3監視機能M3は、所定の周期でパルス信号を受信すると正常であると判定する。この場合、異常設定として、メインマイコン2から故意にパルス信号の送信を停止すると、第3監視機能M3が正常であれば、異常を検出する。そして、診断部22は、サブマイコン3からWDTのエラー(異常検出)を示すデータを受信することで、第3監視機能M3正常に動作していると判定することができる。 Further, in the case of WDT diagnosis, if the WDT is normal, the main microcomputer 2 transmits a pulse signal of a predetermined cycle to the third monitoring function M3, and the third monitoring function M3 transmits the pulse signal in a predetermined cycle. Is received, it is determined to be normal. In this case, when the transmission of the pulse signal is intentionally stopped from the main microcomputer 2 as the abnormality setting, the abnormality is detected if the third monitoring function M3 is normal. Then, the diagnosis unit 22 can determine that the third monitoring function M3 is operating normally by receiving the data indicating the WDT error (abnormality detection) from the sub-microcomputer 3.

ステップS106:診断部22は、サブマイコン3側で、X番目の監視対象の機能に対応する監視部が、異常検出に成功したか否かを判定する。成功した場合(ステップS106:Yes)、ステップS107の処理に移行する。一方、失敗した場合(ステップS106:No)、後述するステップS111の処理に移行する。 Step S106: The diagnosis unit 22 determines, on the sub-microcomputer 3 side, whether or not the monitoring unit corresponding to the function of the X-th monitoring target has succeeded in abnormality detection. When it succeeds (step S106: Yes), the process proceeds to step S107. On the other hand, if it fails (step S106: No), the process proceeds to step S111 described later.

ステップS107:診断部22は、次の監視部をチェックするため、カウンタをインクリメント(X=X+1)する。 Step S107: The diagnosis unit 22 increments the counter (X=X+1) to check the next monitoring unit.

ステップS108:診断部22は、複数の監視部のチェックが終了したか否かを判定する。予め設定した監視部の数について、チェックが終了した場合(ステップS108:Yes)、ステップS109の処理に移行する。一方、チェックが終了していない場合(ステップS108:No)、ステップS105の処理に戻る。なお、ステップS105〜S108の処理の流れは、図3を用いて説明すると以下の通りである。すなわち、例えば、第1監視機能M1が第1機能F1の異常検出に成功した場合、第1機能F1のフィードバック(通信)として、サブマイコン3からメインマイコン2に、完了通知が送信され、完了通知の受信により、診断部22は、次の第2機能F2に対して故意に異常設定する。以下、機能X(図2の例では、X=3)まで、同様の処理を繰り返す。 Step S108: The diagnosis unit 22 determines whether or not the checks of the plurality of monitoring units are completed. When the number of monitoring units set in advance has been checked (step S108: Yes), the process proceeds to step S109. On the other hand, when the check is not completed (step S108: No), the process returns to step S105. The processing flow of steps S105 to S108 will be described below with reference to FIG. That is, for example, when the first monitoring function M1 succeeds in detecting the abnormality of the first function F1, the completion notification is transmitted from the sub-microcomputer 3 to the main microcomputer 2 as feedback (communication) of the first function F1. By receiving the, the diagnosis unit 22 intentionally sets the second function F2 to be abnormal. Hereinafter, similar processing is repeated until the function X (X=3 in the example of FIG. 2).

ステップS109:診断部22は、通信を故意に途絶する(図3の時刻t4参照)。なお、本実施形態では、通信監視機能C1の異常の有無を最後に診断するのは、図3に示す通り、メインマイコン2がサブマイコン3から各機能の異常検知のフィードバックを通信にて受理するためである。これにより、診断部22は、異常の有無を効率的に診断することができる。 Step S109: The diagnosis unit 22 intentionally interrupts communication (see time t4 in FIG. 3). In the present embodiment, the last diagnosis of the presence/absence of an abnormality in the communication monitoring function C1 is that the main microcomputer 2 receives feedback of abnormality detection of each function from the sub-microcomputer 3 by communication, as shown in FIG. This is because. As a result, the diagnosis unit 22 can efficiently diagnose the presence or absence of abnormality.

ステップS110:診断部22は、タイムアウトしたか否かを判定する。タイムアウトした場合(ステップS110:Yes)、後述するステップS115に移行する。一方、タイムアウトしていない場合(ステップS110:No)、タイムアウトするまで、ステップS110の処理を繰り返す。 Step S110: The diagnosis unit 22 determines whether or not a time-out has occurred. When the time-out has occurred (step S110: Yes), the process proceeds to step S115 described later. On the other hand, if the timeout has not occurred (step S110: No), the process of step S110 is repeated until the timeout occurs.

ステップS111:診断部22は、ステップS106でNo判定された後、タイムアウトしたか否かを判定する。タイムアウトしていない場合(ステップS111:No)、ステップS105の処理に戻るが、既に、メインマイコン2の当該監視対象の機能を故意に異常設定しているので、そのまま、ステップS106の処理に移行してもよいし、必要に応じて、異常設定の再設定を実行してもよい。一方、タイムアウトした場合(ステップS111:Yes)、ステップS112に移行する。 Step S111: The diagnosis unit 22 determines whether or not a timeout has occurred after the No determination is made in Step S106. If the time-out has not occurred (step S111: No), the process returns to step S105, but since the function of the monitoring target of the main microcomputer 2 has already been intentionally set abnormally, the process directly proceeds to step S106. Alternatively, the abnormal setting may be reset if necessary. On the other hand, if the timeout has occurred (step S111: Yes), the process proceeds to step S112.

ステップS112:診断部22は、X番目の監視部について、故障判定をする。そして、診断部22は、不揮発性メモリ20に故障内容を記録する。 Step S112: The diagnosis unit 22 determines the failure of the Xth monitoring unit. Then, the diagnosis unit 22 records the details of the failure in the non-volatile memory 20.

ステップS113:診断部22は、ステップS103でNo判定された後、タイムアウトしたか否かを判定する。タイムアウトしていない場合(ステップS113:No)、ステップS102の処理に戻るが、既に、切替スイッチSWの回路をOR条件からAND条件へ切り替えているので、そのまま、ステップS103の処理に移行してもよいし、必要に応じて、OR条件からAND条件への切り替えをやり直してもよい。一方、タイムアウトした場合(ステップS113:Yes)、ステップS114に移行する。 Step S113: The diagnosis unit 22 determines whether or not a timeout has occurred after the No determination is made in step S103. If the timeout has not occurred (step S113: No), the process returns to step S102, but since the circuit of the changeover switch SW has already been switched from the OR condition to the AND condition, the process directly proceeds to step S103. Alternatively, the OR condition may be switched to the AND condition again if necessary. On the other hand, if the timeout has occurred (step S113: Yes), the process proceeds to step S114.

ステップS114:診断部22は、AND切替ライン(OR/AND切替S1)の故障判定をする。そして、メインマイコン2は、不揮発性メモリ20に故障内容を記録する。 Step S114: The diagnosis unit 22 determines the failure of the AND switching line (OR/AND switching S1). Then, the main microcomputer 2 records the details of the failure in the non-volatile memory 20.

ステップS115:メインマイコン2は、リセットによりセルフシャットダウンを実行する(図3の時刻t5参照)。具体的には、メインマイコン2は、メインマイコン2のCPUをリセットし、このCPUのリセットにて、セルフシャットポートはLowになり、シャットダウンを実行する。なお、メインマイコン2は、シャットダウンする前に、カットオフ回路4を介してTCUのソレノイドへの電源の供給をカットし、また、サブマイコン3から、診断結果の通知を受信して、不揮発性メモリ20にその診断結果を記録する。そして、図2に示すフローチャートの処理を終了する。 Step S115: The main microcomputer 2 executes self-shutdown by resetting (see time t5 in FIG. 3). Specifically, the main microcomputer 2 resets the CPU of the main microcomputer 2, and the reset of this CPU causes the self-shut port to go to Low and executes the shutdown. The main microcomputer 2 cuts off the supply of power to the solenoid of the TCU via the cutoff circuit 4 before shutting down, and receives the notification of the diagnosis result from the sub-microcomputer 3 to notify the nonvolatile memory. The diagnostic result is recorded in 20. Then, the process of the flowchart shown in FIG. 2 ends.

以上より、診断部22が故意に異常に設定した場合、ステップS110からステップS115のルートを辿ると、サブマイコン3の監視機能の全てが、異常検出処理を実行することで正常に動作していることが裏付けられる。つまり、本実施形態では、リセットによりシャットダウンすることで全ての監視部について、正常であると判定することができる。 As described above, when the diagnostic unit 22 intentionally sets the abnormality, if the route from step S110 to step S115 is followed, all the monitoring functions of the sub-microcomputer 3 are operating normally by executing the abnormality detection processing. That is supported. That is, in this embodiment, it is possible to determine that all the monitoring units are normal by shutting down by resetting.

図4は、本実施形態における電子制御装置のタイムチャートの一例を示す説明図である。図4に示すタイムチャートは、診断部22が、監視部(一例として、第2監視機能M2)の異常を検出した場合を例示している。診断部22は、第2機能F2の処理において、時刻t1で異常設定にしたにも拘わらず、一定時間待っても異常検出通知がサブマイコン3から受信できない場合、第2監視機能M2の故障と判断して、その旨を不揮発性メモリ20に記録する(時刻t2〜t3の「第2機能F2・故障記録」を参照)。そして、不揮発性メモリ20に記録完了後、メインマイコン2は、セルフシャットポートをLowにして、時刻t3にてシャットダウンを開始する。なお、図4は、図2に示すフローチャートの処理において、ステップS112からステップS115のルートを辿った場合について例示している。 FIG. 4 is an explanatory diagram showing an example of a time chart of the electronic control device according to the present embodiment. The time chart shown in FIG. 4 illustrates a case where the diagnosis unit 22 detects an abnormality in the monitoring unit (as an example, the second monitoring function M2). In the processing of the second function F2, if the abnormality detection notification cannot be received from the sub-microcomputer 3 even after waiting for a certain time in the processing of the second function F2, the diagnosis unit 22 determines that the second monitoring function M2 has failed. It is determined and recorded to that effect in the non-volatile memory 20 (see "Second Function F2/Fault Record" at times t2 to t3). Then, after the completion of recording in the nonvolatile memory 20, the main microcomputer 2 sets the self-shut port to Low and starts the shutdown at time t3. Note that FIG. 4 illustrates the case where the route of steps S112 to S115 is followed in the process of the flowchart illustrated in FIG.

図5は、本実施形態における電子制御装置のタイムチャートの一例を示す説明図である。図5に示すタイムチャートは、図2に示すフローチャートの処理に示していないが、診断途中に、イグニッションスイッチがオフからオンに切り替わった場合について例示している。より具体的には、図5では、診断部22が通信を途絶させた後に、イグニッションスイッチがオフからオンに切り替わった場合、診断部22は、時刻t1で全ての監視部(第1監視機能M1〜第3監視機能M3、通信監視機能C1)について、「故意の異常状態」を解除する。そして、全て正常復帰したことを確認した後、時刻t2にて、サブマイコン3は、OR/AND切替S1を、AND条件からOR条件へ戻す。これにより、第2条件から第1の条件に切り替わる。 FIG. 5 is an explanatory diagram showing an example of a time chart of the electronic control device according to the present embodiment. The time chart shown in FIG. 5 is not shown in the process of the flowchart shown in FIG. 2, but illustrates the case where the ignition switch is switched from off to on during diagnosis. More specifically, in FIG. 5, if the ignition switch is switched from OFF to ON after the diagnosis unit 22 interrupts communication, the diagnosis unit 22 causes all the monitoring units (first monitoring function M1) at time t1. ~ For the third monitoring function M3 and the communication monitoring function C1), the "intentional abnormal state" is released. Then, after confirming that all have returned to normal, at time t2, the sub-microcomputer 3 returns the OR/AND switching S1 from the AND condition to the OR condition. As a result, the second condition is switched to the first condition.

以上より、本実施形態では、潜在故障等の機能安全対策に対応するべく、AND手法を採用し、上述したフローチャートの処理により、1回のシャットダウンで全ての監視部が正常動作していることを判定できる。 As described above, in the present embodiment, the AND method is adopted in order to cope with the functional safety measures such as the latent failure, and it is confirmed that all the monitoring units are normally operating in one shutdown by the process of the above-mentioned flowchart. You can judge.

これにより、次回のメインマイコン2の起動時に、不揮発性メモリ20を参照することで、前回の運転において、全ての監視部が正常に動作していたことがわかる。つまり、サブマイコン3による潜在故障の回避を実現するためには、サブマイコン3の監視部が正しく動作する旨を示す必要があるが、本実施形態では、容易に実現することができる。 As a result, by referring to the non-volatile memory 20 at the next startup of the main microcomputer 2, it can be seen that all the monitoring units were operating normally in the previous operation. That is, in order to realize the avoidance of the latent failure by the sub-microcomputer 3, it is necessary to show that the monitoring unit of the sub-microcomputer 3 operates correctly, but in the present embodiment, it can be easily realized.

以上、本件に開示する実施形態について明細書及び図面等を用いて説明したが、本件開示の技術は、本実施形態に限定されるものではなく、本発明の趣旨を逸脱しない範囲で種々の変更が可能である。
また、特許請求の範囲、明細書及び図面中において示した装置及び方法における動作等の各処理の実行順序は、前の処理の出力結果を後の処理で用いるのでない限り、任意の順序で実行してもよい場合がある点に留意すべきである。例えば、本実施形態では、第1監視機能M1、第2監視機能M2、第3監視機能M3の診断の順番を変更してもよい。
Although the embodiments disclosed in the present application have been described above with reference to the specification, drawings, etc., the technology disclosed in the present application is not limited to the present embodiments and various modifications can be made without departing from the spirit of the present invention. Is possible.
Further, the execution order of each process such as the operation in the device and method shown in the claims, the specification and the drawings may be performed in any order unless the output result of the previous process is used in the subsequent process. It should be noted that in some cases it may be. For example, in the present embodiment, the order of diagnosis of the first monitoring function M1, the second monitoring function M2, and the third monitoring function M3 may be changed.

[上記実施形態の補足事項]
(1)上記実施形態では、図2において、何れか1つの監視部に異常が発生した場合、その旨を不揮発性メモリ20に記録して、シャットダウンしたが、これに限られない。例えば、上記実施形態では、全ての監視部における異常の有無をチェックした後、異常が発生した監視部について、その旨を不揮発性メモリ20に記録して、その後、シャットダウンするようにしてもよい。このようにすれば、1回のシャットダウンで、複数の監視部の異常を検出することができる。
(2)上記実施形態では、第2の条件下で診断中であって、AND条件への切り替えた後に、メインマイコン2が自己リセットした場合について特に言及していないが、この場合、診断を中止して、セルフシャットダウンするようにしてもよい。
(3)上記実施形態では、通信監視機能C1の異常の有無を最後に診断しており、実際に通信監視機能C1が故障しているか否かについて、フローチャートで示していない。そこで、上記実施形態では、例えば、診断の順序を、第n監視機能→通信監視機能C1→第(n+1)監視機能と、第n監視機能→第(n+1)監視機能→通信監視機能C1というように、交互に実行することで、異常の有無を判定するようにしてもよい。
(4)上記実施形態において、異常時の制御としてトランスミッションのソレノイドへの電源の供給をカットして、フェール制御に移行するようにしていた。但し、これに限られず、異常時の制御としては、例えば、電制スロットルの開度制限(最大開度、変化速度/変化率、特に開く側)等の電制スロットルの制御に適用して、フェール制御に移行するようにしてもよい。したがって、上記実施形態の診断方法は汎用性を有している。
(5)上記実施形態において、メインマイコン2とサブマイコン3とが電子制御装置1に内蔵されている場合について説明したが、サブマイコン3が外付けされるように構成された電子制御装置としてもよく、両者は、同様な作用効果が得られる。
[Supplementary Items of the Above Embodiment]
(1) In the above embodiment, in FIG. 2, when an abnormality occurs in any one of the monitoring units, the fact is recorded in the non-volatile memory 20 and the system is shut down, but the present invention is not limited to this. For example, in the above-described embodiment, after checking the presence/absence of an abnormality in all the monitoring units, the fact that the abnormality has occurred may be recorded in the non-volatile memory 20 and then shut down. In this way, it is possible to detect an abnormality in a plurality of monitoring units with one shutdown.
(2) In the above embodiment, no particular reference is made to the case where the main microcomputer 2 resets itself after switching to the AND condition during the diagnosis under the second condition, but in this case, the diagnosis is stopped. Then, self-shutdown may be performed.
(3) In the above embodiment, the presence/absence of abnormality of the communication monitoring function C1 is finally diagnosed, and whether or not the communication monitoring function C1 actually fails is not shown in the flowchart. Therefore, in the above embodiment, for example, the order of diagnosis is as follows: nth monitoring function→communication monitoring function C1→(n+1)th monitoring function and nth monitoring function→(n+1)th monitoring function→communication monitoring function C1. Alternatively, the presence/absence of abnormality may be determined by executing the processes alternately.
(4) In the above-described embodiment, the power supply to the solenoid of the transmission is cut off as a control at the time of abnormality, and the control is shifted to the fail control. However, the present invention is not limited to this, and as the control at the time of abnormality, for example, it is applied to the control of the electrically controlled throttle such as the restriction of the electrically controlled throttle opening (maximum opening, change speed/change rate, especially on the opening side), You may make it transfer to fail control. Therefore, the diagnostic method of the above embodiment has general versatility.
(5) In the above-described embodiment, the case where the main microcomputer 2 and the sub-microcomputer 3 are built in the electronic control unit 1 has been described, but the electronic control unit may be configured such that the sub-microcomputer 3 is externally attached. Well, both have similar effects.

1…電子制御装置
2…メインマイコン
3…サブマイコン
22…診断部
F1…第1機能
F2…第2機能
F3…第3機能
C1…通信監視機能
M1…第1監視機能
M2…第2監視機能
M3…第3監視機能
DESCRIPTION OF SYMBOLS 1... Electronic control device 2... Main microcomputer 3... Sub microcomputer 22... Diagnostic part F1... 1st function F2... 2nd function F3... 3rd function C1... Communication monitoring function M1... 1st monitoring function M2... 2nd monitoring function M3 …Third monitoring function

Claims (5)

第1のマイクロコンピュータの故障の有無を第2のマイクロコンピュータが監視し、前記第1のマイクロコンピュータが前記第2のマイクロコンピュータの監視状態を診断する自動車用の電子制御装置であって、
前記第2のマイクロコンピュータは、前記第1のマイクロコンピュータの機能毎に前記故障の有無を監視する複数の監視部を備え、
前記第1のマイクロコンピュータは、複数の前記監視部が正常に動作しているか否かを診断する診断部を備え、
前記診断部は、キーオフ操作により、シャットダウンに移行するタイミングにおいて、前記監視部の何れか1つに異常を検出したときに前記第1のマイクロコンピュータをリセットする第1の条件から、複数の前記監視部が正常に動作しているか否かを順番に診断する第2の条件に切り替えることを特徴とする自動車用の電子制御装置。
An electronic control unit for an automobile, wherein a second microcomputer monitors whether or not there is a failure in the first microcomputer, and the first microcomputer diagnoses a monitoring state of the second microcomputer.
The second microcomputer includes a plurality of monitoring units that monitor the presence or absence of the failure for each function of the first microcomputer,
The first microcomputer includes a diagnostic unit that diagnoses whether the plurality of monitoring units are operating normally,
The diagnostic unit resets the first microcomputer when an abnormality is detected in any one of the monitoring units at the timing of shifting to the shutdown by the key-off operation , and then the plurality of monitoring units are set. An electronic control unit for an automobile, characterized by switching to a second condition for sequentially diagnosing whether or not the parts are operating normally.
前記第1のマイクロコンピュータは、前記機能を担うメインのマイクロコンピュータであり、前記第2のマイクロコンピュータは、前記故障の有無を監視するサブのマイクロコンピュータであることを特徴とする請求項1に記載の自動車用の電子制御装置。 The said 1st microcomputer is a main microcomputer which carries out the said function, The said 2nd microcomputer is a sub-microcomputer which monitors the presence or absence of the said failure, The claim 1 characterized by the above-mentioned. Electronic control unit for automobiles. 前記診断部は、前記第2の条件下において、前記メインのマイクロコンピュータの各々の前記機能を異常な設定にすることで、前記監視部が該異常を検出するか否かを診断することを特徴とする請求項2に記載の自動車用の電子制御装置。 Under the second condition, the diagnosis unit diagnoses whether or not the monitoring unit detects the abnormality by setting the function of each of the main microcomputers to an abnormal setting. An electronic control unit for an automobile according to claim 2. 前記診断部は、前記第2の条件下において、前記メインのマイクロコンピュータと前記サブのマイクロコンピュータとの間の通信を監視する監視部の異常の有無を最後に診断することを特徴とする請求項2又は請求項3に記載の自動車用の電子制御装置。 The diagnostic unit finally diagnoses the presence or absence of an abnormality in a monitoring unit that monitors communication between the main microcomputer and the sub microcomputer under the second condition. An electronic control unit for an automobile according to claim 2 or claim 3. 第1のマイクロコンピュータの故障の有無を第2のマイクロコンピュータが監視し、前記第1のマイクロコンピュータが前記第2のマイクロコンピュータの監視状態を診断する自動車用の電子制御装置の診断方法であって、
前記第2のマイクロコンピュータの複数の監視部は、前記第1のマイクロコンピュータの機能毎に前記故障の有無を監視し、
前記第1のマイクロコンピュータの診断部は、キーオフ操作により、シャットダウンに移行するタイミングにおいて、前記監視部の何れか1つに異常を検出したときに前記第1のマイクロコンピュータをリセットする第1の条件から、複数の前記監視部が正常に動作しているか否かを順番に診断する第2の条件に切り替えて前記監視部を診断することを特徴とする自動車用の電子制御装置の診断方法。
A diagnostic method for an electronic control unit for an automobile, wherein a second microcomputer monitors whether or not there is a failure in the first microcomputer, and the first microcomputer diagnoses a monitoring state of the second microcomputer. ,
A plurality of monitoring units of the second microcomputer monitor the presence or absence of the failure for each function of the first microcomputer;
The diagnostic unit of the first microcomputer resets the first microcomputer when an abnormality is detected in any one of the monitoring units at a timing of shifting to shutdown by a key-off operation. Then, the method for diagnosing the electronic control unit for a vehicle is characterized by switching to a second condition for sequentially diagnosing whether or not the plurality of monitoring units are operating normally and diagnosing the monitoring units.
JP2016221763A 2016-11-14 2016-11-14 Electronic control device and diagnostic method thereof Active JP6716429B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016221763A JP6716429B2 (en) 2016-11-14 2016-11-14 Electronic control device and diagnostic method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016221763A JP6716429B2 (en) 2016-11-14 2016-11-14 Electronic control device and diagnostic method thereof

Publications (2)

Publication Number Publication Date
JP2018079737A JP2018079737A (en) 2018-05-24
JP6716429B2 true JP6716429B2 (en) 2020-07-01

Family

ID=62197042

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016221763A Active JP6716429B2 (en) 2016-11-14 2016-11-14 Electronic control device and diagnostic method thereof

Country Status (1)

Country Link
JP (1) JP6716429B2 (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6981176B2 (en) * 1999-05-10 2005-12-27 Delphi Technologies, Inc. Secured microcontroller architecture
JP3915411B2 (en) * 2001-02-08 2007-05-16 株式会社デンソー Electronic control device for vehicle
JP4525762B2 (en) * 2008-02-04 2010-08-18 株式会社デンソー Electronic control device for vehicle
JP4578542B2 (en) * 2008-07-02 2010-11-10 三菱電機株式会社 In-vehicle electronic control unit
JP2015108969A (en) * 2013-12-04 2015-06-11 トヨタ自動車株式会社 Information processing device

Also Published As

Publication number Publication date
JP2018079737A (en) 2018-05-24

Similar Documents

Publication Publication Date Title
JP3616367B2 (en) Electronic control device
KR102355424B1 (en) Apparatus and method for enhancing reliability of watchdog timer controlling central processing unit for use in vehicle
WO2017056688A1 (en) Monitoring system and vehicle control device
US20140019818A1 (en) System for testing error detection circuits
US9207661B2 (en) Dual core architecture of a control module of an engine
JP5967059B2 (en) Electronic control device for vehicle
CN101779193B (en) System for providing fault tolerance for at least one micro controller unit
US7418316B2 (en) Method and device for controlling operational processes, especially in a vehicle
JP5094777B2 (en) In-vehicle electronic control unit
KR100711850B1 (en) Electronic control system and method having microcomputer monitoring prohibiting function
KR100701486B1 (en) Control apparatus and self-diagnostic method for electronic control system
JP2022108108A (en) Electronic control device for vehicle
JP5582748B2 (en) Electronic control device for vehicle
JP6716429B2 (en) Electronic control device and diagnostic method thereof
JP6984512B2 (en) Electronic control device
JP6380141B2 (en) Electronic control unit
JP2007038816A (en) Network system and managing method thereof
JP2002089336A (en) Failure detection device for electronic control system of vehicle
JP2011123569A (en) Processor
JP6302852B2 (en) Electronic control device for vehicle
JP6716440B2 (en) Electronic control device for automobile and reset method for electronic control device for automobile
JP6668226B2 (en) Electronic control unit
JP2002196948A (en) Operation control device
JPH04245309A (en) Digital controller for control
JP2002047998A (en) Controller for vehicle

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190304

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20191226

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20200114

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20200309

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20200610

R150 Certificate of patent or registration of utility model

Ref document number: 6716429

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