JP2024014427A - electronic control unit - Google Patents

electronic control unit Download PDF

Info

Publication number
JP2024014427A
JP2024014427A JP2022117244A JP2022117244A JP2024014427A JP 2024014427 A JP2024014427 A JP 2024014427A JP 2022117244 A JP2022117244 A JP 2022117244A JP 2022117244 A JP2022117244 A JP 2022117244A JP 2024014427 A JP2024014427 A JP 2024014427A
Authority
JP
Japan
Prior art keywords
microcomputer
power supply
microcomputers
shutdown
electronic control
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
JP2022117244A
Other languages
Japanese (ja)
Inventor
聡人 片ノ坂
彰宏 竹内
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Denso 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 JP2022117244A priority Critical patent/JP2024014427A/en
Publication of JP2024014427A publication Critical patent/JP2024014427A/en
Pending legal-status Critical Current

Links

Images

Abstract

【課題】電子制御装置において、電源オフ要求が発生した際、第1マイコンが、他の第2マイコンからの通知を受けることなく第2マイコンの動作停止を検知し、当該装置への電力供給を停止できるようにする。【解決手段】複数のマイコン20,40と電力供給部60とを備え、複数のマイコンは、それぞれ、シャットダウン指令が発生すると実行中の処理動作を停止するシャットダウン直前処理を実施する。また、複数のマイコンの1つである第1マイコンは、シャットダウン直前処理を完了すると、他のマイコンである第2マイコンの消費電流が所定の閾値以下になったか否かを判断して、消費電流が前記閾値以下になると、電力供給部からの電力供給を停止させる。【選択図】図1[Problem] In an electronic control device, when a power off request occurs, a first microcomputer detects that the second microcomputer has stopped operating without receiving notification from another second microcomputer, and stops supplying power to the device. Make it possible to stop. The power supply device includes a plurality of microcomputers 20, 40 and a power supply unit 60, and each of the plurality of microcomputers performs immediately-before-shutdown processing in which processing operations that are being executed are stopped when a shutdown command is issued. In addition, when the first microcomputer, which is one of the plurality of microcomputers, completes the processing immediately before shutdown, the first microcomputer, which is one of the plurality of microcomputers, determines whether the current consumption of the second microcomputer, which is another microcomputer, has become less than a predetermined threshold, and When becomes less than the threshold value, the power supply from the power supply section is stopped. [Selection diagram] Figure 1

Description

本開示は、複数のマイコンを備えた電子制御装置に関する。 The present disclosure relates to an electronic control device including a plurality of microcomputers.

特許文献1に記載のように、メインマイコンとサブマイコンとを備え、電源オフ要求が発生すると、各マイコンが自身のデータを不揮発性メモリに書き込むシャットダウン処理を実施するよう構成された電子制御装置が知られている。 As described in Patent Document 1, an electronic control device includes a main microcomputer and a sub-microcomputer, and is configured to perform a shutdown process in which each microcomputer writes its own data to a nonvolatile memory when a power-off request occurs. Are known.

この電子制御装置においては、サブマイコンがシャットダウン処理を完了すると、その旨をメインマイコンに通知し、メインマイコンは、自身のシャットダウン処理を完了し、且つ、上記通知を受けると、電源回路から各マイコンへの電力供給を停止させる。 In this electronic control device, when the sub microcomputer completes the shutdown processing, it notifies the main microcomputer to that effect, and when the main microcomputer completes its own shutdown processing and receives the above notification, the power supply circuit sends a notification to each microcomputer. Stop power supply to.

特開2013-58159号公報Japanese Patent Application Publication No. 2013-58159

上記電子制御装置によれば、メインマイコンは、メインマイコンとサブマイコンがシャットダウン処理を完了してから、電源回路からの電力供給を停止させる。このため、各マイコンは、電源回路からの電力供給が停止される前に、保存すべきデータを不揮発性メモリに書き込むことができる。 According to the electronic control device, the main microcomputer stops the power supply from the power supply circuit after the main microcomputer and the sub-microcomputer complete the shutdown process. Therefore, each microcomputer can write data to be saved into the nonvolatile memory before the power supply from the power supply circuit is stopped.

ところで、上記電子制御装置では、メインマイコンは、サブマイコンからシャットダウン処理完了時に送信される通知信号によって、サブマイコンの動作終了を検知する。このため、サブマイコンのシャットダウン処理が何かしらの要因で延長されて、サブマイコンから通知信号が送信されない場合に、メインマイコンが、サブマイコンとの通信不良が発生したと判断して、電源回路からの電力供給を停止させてしまうことがある。 By the way, in the above-mentioned electronic control device, the main microcomputer detects the end of the operation of the sub-microcomputer based on a notification signal transmitted from the sub-microcomputer when the shutdown processing is completed. Therefore, if the sub-microcomputer's shutdown process is extended for some reason and the sub-microcomputer does not send a notification signal, the main microcomputer determines that a communication failure has occurred with the sub-microcomputer and shuts down the power supply from the power supply circuit. The power supply may be stopped.

本開示の一局面は、複数のマイコンを備えた電子制御装置において、電源オフ要求が発生した際、第1マイコンが、他の第2マイコンからの通知を受けることなく第2マイコンの動作停止を検知し、当該装置への電力供給を停止できるようにすることを目的とする。 One aspect of the present disclosure is that in an electronic control device including a plurality of microcomputers, when a power off request occurs, a first microcomputer stops the operation of a second microcomputer without receiving a notification from another second microcomputer. The purpose is to detect and stop power supply to the device.

本開示の一局面の電子制御装置は、複数のマイコン(20,40)と、複数のマイコンに電力供給を行うように構成された電力供給部(60)とを備える。そして、複数のマイコンは、それぞれ、各マイコンの動作を停止させるシャットダウン指令が発生すると、実行中の処理動作を停止するシャットダウン直前処理(S150,S250)を実施する。 An electronic control device according to one aspect of the present disclosure includes a plurality of microcomputers (20, 40) and a power supply section (60) configured to supply power to the plurality of microcomputers. When a shutdown command for stopping the operation of each microcomputer is generated, each of the plurality of microcomputers executes a pre-shutdown process (S150, S250) for stopping the processing operation being executed.

また、複数のマイコンの1つである第1マイコン(20)は、シャットダウン直前処理を完了すると、複数のマイコンのうち、第1マイコンとは異なる他のマイコンである第2マイコン(40)の消費電流が所定の閾値以下であるか否かを判断する(S160)。そして、第1マイコンは、第2マイコンの消費電流が閾値以下である場合に、電力供給部からの電力供給を停止させる。 In addition, when the first microcomputer (20), which is one of the plurality of microcomputers, completes the processing immediately before shutdown, the second microcomputer (40), which is another microcomputer different from the first microcomputer among the plurality of microcomputers, consumes It is determined whether the current is below a predetermined threshold (S160). Then, the first microcomputer stops the power supply from the power supply unit when the current consumption of the second microcomputer is less than or equal to the threshold value.

つまり、第1マイコンは、第2マイコンの消費電流が閾値以下まで低下すると、第2マイコンがシャットダウン直前処理を完了したと判断し、第1マイコンと第2マイコンのシャットダウン直前処理が完了しているときに電力供給部からの電力供給を停止させる。 In other words, when the current consumption of the second microcomputer falls below the threshold, the first microcomputer determines that the second microcomputer has completed the processing immediately before shutdown, and the processing immediately before shutdown of the first microcomputer and the second microcomputer is completed. Sometimes the power supply from the power supply unit is stopped.

このため、本開示の電子制御装置によれば、第2マイコンのシャットダウン直前処理が何かしらの要因で延長された場合に、第1マイコンが、第2マイコンのシャットダウン直前処理が完了しない状態で電力供給を停止させるのを、抑制することができる。 Therefore, according to the electronic control device of the present disclosure, if the immediately-before-shutdown process of the second microcomputer is extended for some reason, the first microcomputer does not supply power before the immediately-before-shutdown process of the second microcomputer is not completed. can be suppressed from stopping.

実施形態の車両の電子制御装置の構成を表すブロック図である。FIG. 1 is a block diagram showing the configuration of an electronic control device of a vehicle according to an embodiment. メインマイコン及びサブマイコンにて実行される制御処理を表すフローチャートである。It is a flowchart showing control processing executed by a main microcomputer and a sub microcomputer. メインマイコン及びサブマイコンの動作を表すタイムチャートである。It is a time chart showing the operation of the main microcomputer and the sub microcomputer. メインマイコン及びサブマイコンにて実行される制御処理の変形例を表すフローチャートである。It is a flow chart showing a modification of control processing executed by the main microcomputer and the sub microcomputer. サブマイコンのシャットダウン直前処理が想定以上に延長された場合の変形例の動作を表すタイムチャートである。12 is a time chart illustrating the operation of a modified example when the processing immediately before shutdown of the sub-microcomputer is extended more than expected.

以下、図面を参照しながら、本開示の実施形態を説明する。
[構成]
本実施形態の電子制御装置(以下、ECU)10は、例えば、車両に搭載されて、車両の動力源となるエンジンやモータなどを制御するのに用いられる。
Embodiments of the present disclosure will be described below with reference to the drawings.
[composition]
An electronic control unit (hereinafter referred to as ECU) 10 of this embodiment is, for example, mounted on a vehicle and used to control an engine, a motor, etc. that serve as a power source of the vehicle.

このため、ECU10には、図1に示すように、車両のパワースイッチであるイグニッションスイッチ(以下、IGSW)2、及び、IGSW2がオン状態になると、車載バッテリからECU10への電力供給経路を導通させるメインリレー4が接続されている。 For this reason, as shown in FIG. 1, the ECU 10 has an ignition switch (hereinafter referred to as IGSW) 2, which is a power switch of the vehicle, and when the IGSW 2 is turned on, the power supply path from the on-board battery to the ECU 10 is made conductive. Main relay 4 is connected.

メインリレー4は、スイッチの接点とコイルとを備えた周知のものであり、コイルに通電されると、スイッチの接点が閉じて、車載バッテリからECU10への電力供給経路を導通させる。 The main relay 4 is a well-known device that includes a switch contact and a coil, and when the coil is energized, the switch contact closes and connects the power supply path from the vehicle battery to the ECU 10.

ECU10には、制御対象となるエンジンなどの制御を行うメインマイコン20と、メインマイコン20による制御を補助するサブマイコン40と、メインマイコン20及びサブマイコン40に電力供給を行う統合IC60と、が備えられている。 The ECU 10 includes a main microcomputer 20 that controls an engine to be controlled, a sub-microcomputer 40 that assists control by the main microcomputer 20, and an integrated IC 60 that supplies power to the main microcomputer 20 and the sub-microcomputer 40. It is being

なお、メインマイコン20及びサブマイコン40は、制御用の各種演算処理を行う中央処理演算部(すなわち、CPU)を含む、マイクロコンピュータ若しくはマイクロコントローラである。 The main microcomputer 20 and the sub-microcomputer 40 are microcomputers or microcontrollers that include a central processing unit (i.e., CPU) that performs various control operations.

統合IC60は、IGSW2がオフ状態で、各マイコン20,40への電力供給を停止しているときに、IGSW2がオン状態に切り換えられると、例えば、メインリレー4のコイルの一端をグラウンドに接続することで、コイルに通電する。この結果、メインリレー4のスイッチの接点が閉じて、統合IC60に車載バッテリからバッテリ電圧VBが供給される。 The integrated IC 60 connects one end of the coil of the main relay 4 to ground, for example, when the IGSW 2 is turned on while the IGSW 2 is turned off and power supply to each microcomputer 20, 40 is stopped. This energizes the coil. As a result, the contact of the switch of the main relay 4 is closed, and the integrated IC 60 is supplied with the battery voltage VB from the vehicle battery.

統合IC60は、メインリレー4を介して車載バッテリから供給されるバッテリ電圧VBにて、各マイコン20,40の内部回路を駆動するための3種類の電源電源VC1,VC2,VC3を生成し、各マイコン20,40に供給する。 The integrated IC 60 generates three types of power supplies VC1, VC2, and VC3 for driving the internal circuits of the microcomputers 20 and 40 using the battery voltage VB supplied from the on-vehicle battery via the main relay 4. It is supplied to the microcomputers 20 and 40.

つまり、統合IC60は、生成した電源電源VC1,VC2,VC3を、メインマイコン20及びサブマイコン40を構成する複数の機能回路に供給することで、メインマイコン20及びサブマイコン40に電力供給を行う。なお、統合IC60は、本開示の電力供給部の一例である。 That is, the integrated IC 60 supplies power to the main microcomputer 20 and the sub-microcomputer 40 by supplying the generated power supplies VC1, VC2, and VC3 to the plurality of functional circuits that constitute the main microcomputer 20 and the sub-microcomputer 40. Note that the integrated IC 60 is an example of a power supply unit of the present disclosure.

また、メインマイコン20及びサブマイコン40は、複数の機能回路として、それぞれ、CPU22,42と、ROM,RAMなどの半導体メモリ24,44と、入出力インタフェイスとしての入出力部26,46と、を備える。 Moreover, the main microcomputer 20 and the sub-microcomputer 40 each include CPUs 22 and 42, semiconductor memories 24 and 44 such as ROM and RAM, and input/output units 26 and 46 as input/output interfaces as a plurality of functional circuits. Equipped with.

そして、統合IC60にて生成された電源電圧VC1,VC2,VC3は、それぞれ、メインマイコン20及びサブマイコン40のCPU22,42、半導体メモリ24,44、及び、入出力部26,46に供給される。 The power supply voltages VC1, VC2, and VC3 generated by the integrated IC 60 are supplied to the CPUs 22 and 42, the semiconductor memories 24 and 44, and the input/output units 26 and 46 of the main microcomputer 20 and the sub-microcomputer 40, respectively. .

具体的には、統合IC60の電源電圧VC1の出力端子61は、第1給電経路L1を介して、メインマイコン20及びサブマイコン40の第1電源端子31,51に接続されており、電源電圧VC1は、各マイコン20,40のCPU22,42に供給される。 Specifically, the output terminal 61 of the power supply voltage VC1 of the integrated IC 60 is connected to the first power supply terminals 31 and 51 of the main microcomputer 20 and the sub-microcomputer 40 via the first power supply path L1, and the output terminal 61 of the power supply voltage VC1 of the integrated IC 60 is is supplied to the CPU 22, 42 of each microcomputer 20, 40.

また、統合IC60の電源電圧VC2の出力端子62は、第2給電経路L2を介して、メインマイコン20及びサブマイコン40の第2電源端子32,52に接続されており、電源電圧VC2は、各マイコン20,40の半導体メモリ24,44に供給される。 Further, the output terminal 62 of the power supply voltage VC2 of the integrated IC 60 is connected to the second power supply terminals 32 and 52 of the main microcomputer 20 and the sub-microcomputer 40 via the second power supply path L2, and the power supply voltage VC2 is It is supplied to the semiconductor memories 24 and 44 of the microcomputers 20 and 40.

また、統合IC60の電源電圧VC3の出力端子63は、第3給電経路L3を介して、メインマイコン20及びサブマイコン40の第3電源端子33,53に接続されており、電源電圧VC3は、各マイコン20,40の入出力部26,46に供給される。 Further, the output terminal 63 of the power supply voltage VC3 of the integrated IC 60 is connected to the third power supply terminals 33 and 53 of the main microcomputer 20 and the sub-microcomputer 40 via the third power supply path L3, and the power supply voltage VC3 is The signal is supplied to the input/output sections 26 and 46 of the microcomputers 20 and 40.

次に、メインマイコン20には、サブマイコン40の消費電流を監視する消費電流モニタ部28が備えられている。この消費電流モニタ部28は、統合IC60からサブマイコン40への第1~第3給電経路L1,L2,L3に設けられた電流センサを介して、サブマイコン40のCPU42,半導体メモリ44及び入出力部46に流れる電流isb1,isb2,isb3をそれぞれ検出する。 Next, the main microcomputer 20 is equipped with a current consumption monitor section 28 that monitors the current consumption of the sub-microcomputer 40. This current consumption monitor unit 28 connects the CPU 42, semiconductor memory 44, and input/output of the sub-microcomputer 40 via current sensors provided in the first to third power supply paths L1, L2, and L3 from the integrated IC 60 to the sub-microcomputer 40. The currents isb1, isb2, and isb3 flowing through the section 46 are respectively detected.

なお、消費電流モニタ部28にて検出された電流isb1,isb2,isb3は、サブマイコン40のCPU42,半導体メモリ44,及び、入出力部46の消費電流として、入出力部26を介して、メインマイコン20のCPU22に入力される。そして、CPU22は、その入力された消費電流に基づき、サブマイコン40の動作停止を判断する。 Note that the currents isb1, isb2, and isb3 detected by the current consumption monitor unit 28 are transmitted to the main circuit via the input/output unit 26 as current consumption of the CPU 42, semiconductor memory 44, and input/output unit 46 of the sub-microcomputer 40. It is input to the CPU 22 of the microcomputer 20. Then, the CPU 22 determines whether to stop the operation of the sub-microcomputer 40 based on the input current consumption.

統合IC60は、IGSW2がオン状態になると、メインリレー4をオン状態に切り替えて、上記各電源電圧VC1,VC2,VC3の生成を開始する。したがって、IGSW2がオン状態に切り換えられると、メインマイコン20及びサブマイコン40の上記各機能回路に電源電圧VC1,VC2,VC3が供給されて、各マイコン20、40が動作可能となる。 When the IGSW2 is turned on, the integrated IC 60 turns on the main relay 4 and starts generating the power supply voltages VC1, VC2, and VC3. Therefore, when the IGSW2 is turned on, the power supply voltages VC1, VC2, and VC3 are supplied to each of the functional circuits of the main microcomputer 20 and the sub-microcomputer 40, and the microcomputers 20 and 40 become operable.

また、このとき、統合IC60は、メインマイコン20にリセット信号(以下、RST信号)を出力することで、メインマイコン20を起動(すなわち、パワーオンリセット)させる。また、メインマイコン20は、統合IC60からのRST信号を受けて起動すると、サブマイコン40にRST信号を出力することで、サブマイコン40を起動(すなわち、パワーオンリセット)させる。 Also, at this time, the integrated IC 60 outputs a reset signal (hereinafter referred to as an RST signal) to the main microcomputer 20 to start the main microcomputer 20 (ie, perform a power-on reset). Further, when the main microcomputer 20 receives the RST signal from the integrated IC 60 and starts up, it outputs the RST signal to the sub-microcomputer 40 to start up the sub-microcomputer 40 (that is, power-on reset).

このため、IGSW2がオン状態に切り換えられると、メインマイコン20及びサブマイコン40が順に起動し、各マイコン20,40内のCPU22,42が、半導体メモリ24,44のROMに記憶されたプログラムに従い、図2に示す制御処理を開始する。 Therefore, when the IGSW 2 is turned on, the main microcomputer 20 and the sub-microcomputer 40 are activated in order, and the CPUs 22 and 42 in each microcomputer 20 and 40 operate according to the programs stored in the ROM of the semiconductor memories 24 and 44. The control process shown in FIG. 2 is started.

メインマイコン20及びサブマイコン40は、起動後、CPU22,42が制御処理を正常に実行しているときには、一定周期で監視用のウォッチドッグ信号(以下、WDC信号)を発生する。 After the main microcomputer 20 and the sub-microcomputer 40 are started, when the CPUs 22 and 42 are normally executing control processing, they generate a monitoring watchdog signal (hereinafter referred to as a WDC signal) at regular intervals.

そして、メインマイコン20が発生したWDC信号は、統合IC60に入力され、サブマイコン40が発生したWDC信号は、メインマイコン20に入力される。このため、統合IC60は、メインマイコン20からのWDC信号により、メインマイコン20の動作を監視することができ、メインマイコン20は、サブマイコン40からのWDC信号により、サブマイコン40の動作を監視することができる。 The WDC signal generated by the main microcomputer 20 is input to the integrated IC 60, and the WDC signal generated by the sub-microcomputer 40 is input to the main microcomputer 20. Therefore, the integrated IC 60 can monitor the operation of the main microcomputer 20 using the WDC signal from the main microcomputer 20, and the main microcomputer 20 can monitor the operation of the sub-microcomputer 40 using the WDC signal from the sub-microcomputer 40. be able to.

[処理]
次に、メインマイコン20及びサブマイコン40のCPU22,42にて実行される制御処理について説明する。図2において、向かって左側のフローチャートは、メインマイコン20のCPU22にて実行される制御処理を表し、向かって右側のフローチャートは、サブマイコン40のCPU42にて実行される制御処理を表す。
[process]
Next, control processing executed by the CPUs 22 and 42 of the main microcomputer 20 and the sub microcomputer 40 will be described. In FIG. 2, the flowchart on the left side represents the control process executed by the CPU 22 of the main microcomputer 20, and the flowchart on the right side represents the control process executed by the CPU 42 of the sub microcomputer 40.

図2に示すように、メインマイコン20及びサブマイコン40が起動し、CPU22,42が制御処理を開始すると、CPU22,42は、まずS110,S210にて、通常処理を実行する。 As shown in FIG. 2, when the main microcomputer 20 and the sub-microcomputer 40 start up and the CPUs 22, 42 start control processing, the CPUs 22, 42 first execute normal processing in S110 and S210.

通常処理では、CPU22,42は、それぞれ、制御対象や周辺機器の状態を検出する各種センサから、入出力部26,46を介して各種検出信号を取得し、取得した検出信号に基づき、制御対象を所望状態に制御するのに必要な各種制御量を算出する。また、CPU22,42は、算出した制御量に応じた制御信号を、入出力部26,46を介して、制御対象や周辺機器に出力することで、制御対象を所望状態に制御する。 In normal processing, the CPUs 22 and 42 obtain various detection signals from various sensors that detect the states of the controlled objects and peripheral devices via the input/output units 26 and 46, and based on the obtained detection signals, Calculate various control amounts necessary to control the to the desired state. Further, the CPUs 22 and 42 control the controlled object to a desired state by outputting a control signal corresponding to the calculated control amount to the controlled object and peripheral devices via the input/output sections 26 and 46.

次に、通常処理の実行中に、CPU22,42は、S120,S220にて、IGSW2がオフ状態に切り換えられたか否かを判断し、IGSW2がオフ状態に切り換えられていなければ、S110,S210に移行することで、通常処理を継続する。 Next, during execution of normal processing, the CPUs 22 and 42 determine whether the IGSW 2 has been switched to the off state in S120 and S220, and if the IGSW 2 has not been switched to the off state, the CPUs 22 and 42 proceed to S110 and S210. By migrating, normal processing continues.

一方、IGSWがオフ状態に切り換えられている場合、S120,S220では、電源オフ要求が入力されたと判断して、それぞれ、S130,S230に移行し、制御対象の制御を安全に停止させるためのIGオフ後処理を実行する。 On the other hand, if the IGSW has been switched to the off state, it is determined in S120 and S220 that a power off request has been input, and the process moves to S130 and S230, respectively, to switch the IGSW to safely stop the control of the controlled object. Execute off-post processing.

なお、CPU22,42は、通常処理及びIGオフ後処理の実行中、マイコン間通信によって、制御に必要なデータを送受信する。したがって、CPU22,42は、図3に示すように、時点t1にてIGスイッチがオフ状態になると、互いに同期して、通常処理を終了し、IGオフ後処理を開始することになる。 Note that the CPUs 22 and 42 transmit and receive data necessary for control through inter-microcomputer communication during execution of normal processing and IG-off post-processing. Therefore, as shown in FIG. 3, when the IG switch is turned off at time t1, the CPUs 22 and 42 end the normal processing and start the IG-off post-processing in synchronization with each other.

また、メインマイコン20側のCPU22は、S130のIGオフ後処理実行中に、各マイコン20,40の動作を停止させるシャットダウン条件が成立したか否かを判断して、シャットダウン条件が成立すると、シャットダウン指令を発生する。 Further, the CPU 22 on the main microcomputer 20 side determines whether a shutdown condition for stopping the operation of each microcomputer 20, 40 is satisfied during the execution of the IG-off post-processing in S130, and when the shutdown condition is satisfied, the CPU 22 shuts down. Generates a command.

このシャットダウン指令は、メインマイコン20及びサブマイコン40の動作を停止させて、シャットダウンさせる指令である。そして、メインマイコン20は、例えば、起動時にオン状態にセットされるメインリレー制御フラグをオフ状態に切り換えることで、シャットダウン指令を発生する。 This shutdown command is a command to stop the operation of the main microcomputer 20 and the sub-microcomputer 40 and shut them down. Then, the main microcomputer 20 generates a shutdown command by, for example, switching the main relay control flag, which is set to the on state at startup, to the off state.

また、このようにオフ状態に切り換えられたメインリレー制御フラグは、マイコン間通信によってサブマイコン40のCPU42にも送信される。そして、サブマイコン40側のCPU42は、メインリレー制御フラグを受信することで、メインマイコン20からのシャットダウン指令を検知する。 The main relay control flag thus switched to the off state is also transmitted to the CPU 42 of the sub-microcomputer 40 through inter-microcomputer communication. Then, the CPU 42 on the sub-microcomputer 40 side detects a shutdown command from the main microcomputer 20 by receiving the main relay control flag.

このため、S130,S230のIGオフ後処理実行中に、CPU22,42は、それぞれ、S140,S240にて、メインリレー制御フラグに基づきシャットダウン指令が発生したか否かを判断する。そして、シャットダウン指令が発生していなければ、S130,S230に移行することで、IGオフ後処理を継続する。 Therefore, during execution of the IG-off post-processing in S130 and S230, the CPUs 22 and 42 determine in S140 and S240, respectively, whether a shutdown command has been issued based on the main relay control flag. If a shutdown command has not been issued, the IG off post-processing is continued by moving to S130 and S230.

また、S140,S240にて、シャットダウン指令が発生したと判断されると、CPU22,42は、例えば、図3に示す時点t2で、それぞれ、S150,S250に移行し、シャットダウン直前処理を開始する。 Further, when it is determined in S140 and S240 that a shutdown command has been issued, the CPUs 22 and 42 move to S150 and S250, respectively, at time t2 shown in FIG. 3, for example, and start immediately-before-shutdown processing.

このシャットダウン直前処理は、例えば、制御に用いた各種データを半導体メモリ24,44の不揮発性メモリにバックアップしたり、シャットダウンタイミングを記憶したりするための最終処理であり、予め設定されたディレイ時間を含む。 This processing immediately before shutdown is, for example, the final processing for backing up various data used for control to the nonvolatile memory of the semiconductor memories 24, 44, and storing the shutdown timing, and is performed for a preset delay time. include.

そして、サブマイコン40のCPU42は、S250にてシャットダウン直前処理を完了すると、制御処理を終了して、自身の動作を停止(すなわち、シャットダウン)する。
一方、メインマイコン20のCPU22は、S150にてシャットダウン直前処理を完了すると、S160に移行する。そして、S160では、消費電流モニタ部28にて監視されているサブマイコン40の消費電流isb1,isb2,isb3が、それぞれ、予め設定された動作停止判定用の閾値ith1,ith2,ith3以下になったか否かを判断する。
Then, when the CPU 42 of the sub-microcomputer 40 completes the immediately-before-shutdown process in S250, it ends the control process and stops its own operation (that is, shuts down).
On the other hand, after the CPU 22 of the main microcomputer 20 completes the immediately-before-shutdown processing in S150, the process proceeds to S160. Then, in S160, whether the current consumption isb1, isb2, and isb3 of the sub-microcomputer 40 monitored by the current consumption monitor unit 28 have become equal to or lower than preset thresholds ith1, ith2, and ith3 for determining operation stoppage, respectively. Decide whether or not.

S160の処理は、サブマイコン40の消費電流isb1,isb2,isb3が全て閾値ith1,ith2,ith3以下になるのを待機する処理である。このため、サブマイコン40の消費電流isb1,isb2,isb3の少なくとも一つが、閾値ith1,ith2又はith3以下になっていなれば、再度S160に移行する。 The process of S160 is a process of waiting until the current consumption isb1, isb2, isb3 of the sub-microcomputer 40 all become equal to or less than the threshold values ith1, ith2, ith3. Therefore, if at least one of the current consumption isb1, isb2, and isb3 of the sub-microcomputer 40 is no more than the threshold value ith1, ith2, or ith3, the process returns to S160.

また、S160にて、消費電流isb1,isb2,isb3は、全て、閾値ith1,ith2,ith3以下であると判断されると、メインマイコン20のCPU22は、サブマイコン40は動作を停止していると判断して、自身の動作を停止(すなわち、シャットダウン)する。 Further, if it is determined in S160 that the current consumption isb1, isb2, isb3 are all below the threshold values ith1, ith2, ith3, the CPU 22 of the main microcomputer 20 determines that the sub-microcomputer 40 has stopped operating. make a decision and stop its own operation (i.e., shut down).

つまり、メインマイコン20は、サブマイコン40を構成する各機能回路の消費電流isb1,isb2,isb3が、全て閾値ith1,ith2,ith3以下である場合に、サブマイコン40が動作を停止したと判断して、自身の動作を停止する。 In other words, the main microcomputer 20 determines that the sub-microcomputer 40 has stopped operating when the current consumption isb1, isb2, isb3 of each functional circuit making up the sub-microcomputer 40 are all below the threshold values ith1, ith2, ith3. and stop its own operation.

また、このようにメインマイコン20が動作を停止すると、メインマイコン20から統合IC60にWDC信号が出力されなくなる。このため、統合IC60は、メインマイコン20からWDC信号が出力されなくなることにより、メインマイコン20の動作停止を検知し、メインリレー4のコイルへの通電を停止する。 Further, when the main microcomputer 20 stops operating in this way, the WDC signal is no longer output from the main microcomputer 20 to the integrated IC 60. Therefore, when the WDC signal is no longer output from the main microcomputer 20, the integrated IC 60 detects that the main microcomputer 20 has stopped operating, and stops energizing the coil of the main relay 4.

この結果、車載バッテリから統合IC60へのバッテリ電圧VBの供給経路が遮断されて、統合IC60は、電源電圧VC1,VC2,VC3の生成を停止することになり、ECU10は完全に動作を停止することになる。 As a result, the supply path of the battery voltage VB from the vehicle battery to the integrated IC 60 is cut off, the integrated IC 60 stops generating the power supply voltages VC1, VC2, and VC3, and the ECU 10 completely stops operating. become.

[効果]
本実施形態のECU10において、メインマイコン20のCPU22は、図3に示すように、時点t2で開始したシャットダウン直前処理が完了しても、サブマイコン40がシャットダウンしたことを確認できる時点t3までは、シャットダウン直前処理を継続する。
[effect]
In the ECU 10 of this embodiment, the CPU 22 of the main microcomputer 20, as shown in FIG. Continue the processing immediately before shutdown.

そして、メインマイコン20のCPU22は、サブマイコン40がシャットダウンしたことを確認すると、自身の処理動作を停止して、WDC信号の出力を停止する。この結果、統合IC60は、メインマイコン20からWDC信号の出力が停止された後の時点t4にて、各マイコン20,40への電力供給を停止することになる。 When the CPU 22 of the main microcomputer 20 confirms that the sub-microcomputer 40 has been shut down, it stops its own processing operation and stops outputting the WDC signal. As a result, the integrated IC 60 stops supplying power to each of the microcomputers 20 and 40 at time t4 after the main microcomputer 20 stops outputting the WDC signal.

したがって、本実施形態のECU10によれば、サブマイコン40が動作しているときに、統合IC60が各マイコン20,40への電力供給を停止するのを抑制することができる。 Therefore, according to the ECU 10 of this embodiment, when the sub-microcomputer 40 is operating, it is possible to prevent the integrated IC 60 from stopping the power supply to each microcomputer 20, 40.

また、メインマイコン20のCPU22は、サブマイコン40のCPU42,半導体メモリ44,入出力部46等の各機能回路に流れる消費電流が全て閾値以下になった時点t3でサブマイコン40の動作停止を検知し、統合IC60からの電力供給を停止させる。したがって、サブマイコン40のシャットダウン直前処理が意図せず延長した場合に、サブマイコン40のシャットダウン直前処理が完了しないまま、メインマイコン20がシャットダウンし、統合IC60からの電力供給が停止されるのを抑制できる。 Further, the CPU 22 of the main microcomputer 20 detects that the sub-microcomputer 40 has stopped operating at time t3 when the current consumption flowing through each functional circuit such as the CPU 42, the semiconductor memory 44, the input/output section 46, etc. of the sub-microcomputer 40 has become below the threshold value. Then, the power supply from the integrated IC 60 is stopped. Therefore, if the pre-shutdown processing of the sub-microcomputer 40 is unintentionally extended, the main microcomputer 20 is prevented from shutting down and the power supply from the integrated IC 60 is stopped before the sub-microcomputer 40's pre-shutdown processing is completed. can.

また、メインマイコン20のCPU22は、サブマイコン40の動作停止を、サブマイコン40から動作停止を表す通信信号を受けることなく、検出することができる。したがって、例えば、メインマイコン20側で、サブマイコン40からの通知信号によってサブマイコン40の動作停止を検知できないときに、サブマイコン40との通信経路が故障したとして、統合IC60からの電力供給が停止されることも抑制できる。 Further, the CPU 22 of the main microcomputer 20 can detect that the sub-microcomputer 40 has stopped operating without receiving a communication signal from the sub-microcomputer 40 indicating that the sub-microcomputer 40 has stopped operating. Therefore, for example, when the main microcomputer 20 cannot detect the stoppage of the sub-microcomputer 40 based on the notification signal from the sub-microcomputer 40, the power supply from the integrated IC 60 is stopped due to a failure in the communication path with the sub-microcomputer 40. It is also possible to prevent this from happening.

[変形例]
上記実施形態では、メインマイコン20側のCPU22は、自身のシャットダウン直前処理を完了すると、サブマイコン40の各機能回路の消費電流が閾値以下であるか否かを判断し、消費電流が閾値以下であるとき処理動作を停止する。
[Modified example]
In the above embodiment, when the CPU 22 on the main microcomputer 20 side completes its own immediate-shutdown process, it determines whether the current consumption of each functional circuit of the sub-microcomputer 40 is below a threshold value, and determines whether the current consumption is below the threshold value. At some point, the processing operation is stopped.

このため、例えば、何らかの異常によってサブマイコン40側でのシャットダウン直前処理が想定以上に延長されて、各機能回路の消費電流が閾値以下にならない場合には、メインマイコン20側でサブマイコン40の動作停止を判断することができなくなる。 Therefore, for example, if the pre-shutdown processing on the sub-microcomputer 40 side is extended longer than expected due to some abnormality and the current consumption of each functional circuit does not fall below the threshold, the main microcomputer 20 side will operate the sub-microcomputer 40. It becomes impossible to judge when to stop.

そこで、メインマイコン20の制御処理においては、図4に示すように、更に、S170,S180の処理を実行するようにしてもよい。
すなわち、図4に示す制御処理においては、S160にてサブマイコン40の消費電流が閾値以下ではないと判断されたときには、S170に移行し、S160の処理を開始してからの経過時間を計測する。
Therefore, in the control process of the main microcomputer 20, as shown in FIG. 4, the processes of S170 and S180 may be further executed.
That is, in the control process shown in FIG. 4, when it is determined in S160 that the current consumption of the sub-microcomputer 40 is not below the threshold value, the process moves to S170, and the elapsed time from the start of the process in S160 is measured. .

また、S170では、その経過時間が、予め設定された異常判定時間を越えたか否かを判断する。そして、S170にて、S160の処理を開始してからの経過時間は、異常判定時間を越えていないと判断された場合には、再度S160の処理を実行することで、図5に示す時点t11まで、サブマイコン40がシャットダウンするのを待機する。 Further, in S170, it is determined whether the elapsed time exceeds a preset abnormality determination time. If it is determined in S170 that the elapsed time since the start of the process in S160 has not exceeded the abnormality determination time, the process in S160 is executed again to meet the time t11 shown in FIG. Wait until the sub-microcomputer 40 shuts down.

一方、S170にて、S160の処理を開始してからの経過時間は、異常判定時間を越えたと判断された場合、つまり、サブマイコン40のシャットダウン待機時間が経過すると、S180に移行する。 On the other hand, if it is determined in S170 that the elapsed time since the start of the process in S160 has exceeded the abnormality determination time, that is, if the shutdown standby time of the sub-microcomputer 40 has elapsed, the process moves to S180.

そして、S180では、サブマイコン40には、シャットダウンできない何らかの異常(以下、シャットダウン異常)が発生していることを検出し、制御処理を終了する。この結果、メインマイコン20は、制御処理を終了することに伴い、図5に示す時点t11にて、自身の動作を停止(すなわち、シャットダウン)する。 Then, in S180, it is detected that some kind of abnormality that cannot be shut down (hereinafter referred to as a shutdown abnormality) has occurred in the sub-microcomputer 40, and the control process is ended. As a result, the main microcomputer 20 stops its own operation (that is, shuts down) at time t11 shown in FIG. 5 as the control processing ends.

また、このようにメインマイコン20が動作を停止すると、図5に示す時点t12にて、統合IC60がメインリレー4をオフさせ、メインマイコン20及びサブマイコン40への電力供給を停止する。このため、各マイコン20,40の電源状態はオフ状態となる。すると、サブマイコン40は、電源電圧が低下することにより、図5に示す時点t13にて動作を停止(すなわち、シャットダウン)する。 Further, when the main microcomputer 20 stops operating in this manner, the integrated IC 60 turns off the main relay 4 at time t12 shown in FIG. 5, and stops power supply to the main microcomputer 20 and the sub-microcomputer 40. Therefore, the power state of each microcomputer 20, 40 is turned off. Then, the sub-microcomputer 40 stops operating (ie, shuts down) at time t13 shown in FIG. 5 due to a decrease in the power supply voltage.

このように、本変形例のECU10においては、サブマイコン40が何らかの異常によってシャットダウンすることができない場合に、メインマイコン20側で、シャットダウン直前処理終了後の経過時間から、サブマイコン40のシャットダウン異常を検出する。 As described above, in the ECU 10 of this modification, when the sub-microcomputer 40 cannot be shut down due to some abnormality, the main microcomputer 20 side detects the shutdown abnormality of the sub-microcomputer 40 based on the elapsed time after the end of the pre-shutdown processing. To detect.

そして、シャットダウン異常を検出すると、メインマイコン20は、制御処理を終了することから、統合IC60は、メインリレー4をオフさせて、メインマイコン20及びサブマイコン40への電力供給を停止する。 When a shutdown abnormality is detected, the main microcomputer 20 ends the control process, so the integrated IC 60 turns off the main relay 4 and stops power supply to the main microcomputer 20 and sub-microcomputer 40.

よって、サブマイコン40にシャットダウン異常が発生した際に、統合IC60から各マイコン20,40への電力供給を停止させること(すなわち、ECU10の動作を停止させること)ができなくなるのを抑制できる。 Therefore, when a shutdown abnormality occurs in the sub-microcomputer 40, it is possible to prevent the integrated IC 60 from being unable to stop power supply to each of the microcomputers 20 and 40 (that is, stop the operation of the ECU 10).

また次に、メインマイコン20は、S180にて、サブマイコン40のシャットダウン異常を検出した際には、そのときのサブマイコン40の各機能回路の消費電流から、消費電流が閾値以下にならなかった機能回路を特定する。そして、その特定した機能回路を、サブマイコン40のシャットダウン異常の原因となった機能回路として、半導体メモリ24の不揮発性メモリに記憶する。 Next, when the main microcomputer 20 detects the shutdown abnormality of the sub-microcomputer 40 in S180, the current consumption of each functional circuit of the sub-microcomputer 40 at that time indicates that the current consumption has not fallen below the threshold value. Identify functional circuits. The identified functional circuit is then stored in the nonvolatile memory of the semiconductor memory 24 as the functional circuit that caused the shutdown abnormality of the sub-microcomputer 40.

このため、使用者は、メインマイコン20がシャットダウン異常検出時に半導体メモリ24の不揮発性メモリに記憶した機能回路に基づき、シャットダウン異常の発生原因を特定して、シャットダウン異常回避のための対策を施すことができるようになる。 Therefore, the user must identify the cause of the shutdown abnormality based on the functional circuit stored in the nonvolatile memory of the semiconductor memory 24 when the main microcomputer 20 detects the shutdown abnormality, and take measures to avoid the shutdown abnormality. You will be able to do this.

なお、S180にて、シャットダウン異常を検出した場合には、その旨を報知したり、その発生時刻を半導体メモリ24の不揮発性メモリに記憶したりするようにしてもよい。また、S180では、サブマイコン40のシャットダウン異常を検出した際には、サブマイコン40の各機能回路の消費電流を半導体メモリ24の不揮発性メモリに記憶するようにしてもよい。 Note that if a shutdown abnormality is detected in S180, a notification to that effect may be provided, or the time of occurrence may be stored in the nonvolatile memory of the semiconductor memory 24. Further, in S180, when a shutdown abnormality of the sub-microcomputer 40 is detected, the current consumption of each functional circuit of the sub-microcomputer 40 may be stored in the nonvolatile memory of the semiconductor memory 24.

また、S180にて、シャットダウン異常の原因となった機能回路を特定した際には、その機能回路の種類に応じて、サブマイコン40に対し所定のフェイルセーフ処理を実行させることで、サブマイコン40をより安全にシャットダウンさせるようにしてもよい。 Further, when the functional circuit that caused the shutdown abnormality is identified in S180, the sub-microcomputer 40 is caused to execute a predetermined fail-safe process depending on the type of the functional circuit. may be shut down more safely.

以上、本開示の実施形態及び変形例について説明したが、本開示は上述の実施形態及び変形例に限定されることなく、種々変形して実施することができる。
例えば、上記実施形態では、ECU10は、車両の動力源となるエンジンやモータを制御するものであると説明したが、本開示の技術は、制御対象を複数のマイコンを使って制御する電子制御装置であれば、上記実施形態と同様に適用することができる。
Although the embodiments and modified examples of the present disclosure have been described above, the present disclosure is not limited to the above-described embodiments and modified examples, and can be implemented with various modifications.
For example, in the above embodiment, it was explained that the ECU 10 controls the engine or motor that is the power source of the vehicle, but the technology of the present disclosure is an electronic control device that controls the control target using a plurality of microcomputers. If so, it can be applied in the same manner as the above embodiment.

また、上記実施形態では、メインマイコン20及びサブマイコン40を構成する機能回路は、CPU22,42、半導体メモリ24,44、入出力部26,46、であるものとして説明したが、この機能回路は一例であり、適宜構成すればよい。例えば、各マイコン20,40には、機能回路として、更に、A/D変換部やD/A変換部、駆動回路などの機能回路が備えられていてもよい。 Furthermore, in the above embodiment, the functional circuits that constitute the main microcomputer 20 and the sub-microcomputer 40 are described as being the CPUs 22 and 42, the semiconductor memories 24 and 44, and the input/output sections 26 and 46. This is just an example, and may be configured as appropriate. For example, each of the microcomputers 20 and 40 may further include functional circuits such as an A/D converter, a D/A converter, and a drive circuit.

また、上記実施形態では、メインマイコン20は、サブマイコン40の動作停止を検出すると、自身の動作を停止することで、統合IC60へのWDC信号の出力を停止して、統合IC60にメインリレー4をオフさせるものとして説明した。しかし、メインマイコン20は、サブマイコン40の動作停止を検出すると、メインリレー4を直接オフ状態に切り換えることで、ECU10の動作を停止させるように構成されてもよい。 In the above embodiment, when the main microcomputer 20 detects that the sub-microcomputer 40 has stopped operating, it stops its own operation, stops outputting the WDC signal to the integrated IC 60, and sends the main relay 4 to the integrated IC 60. It was explained as something that turns off. However, the main microcomputer 20 may be configured to stop the operation of the ECU 10 by directly switching the main relay 4 to the OFF state when detecting that the sub-microcomputer 40 has stopped operating.

また、上記実施形態における1つの構成要素が有する複数の機能を、複数の構成要素によって実現したり、1つの構成要素が有する1つの機能を、複数の構成要素によって実現したりしてもよい。また、複数の構成要素が有する複数の機能を、1つの構成要素によって実現したり、複数の構成要素によって実現される1つの機能を、1つの構成要素によって実現したりしてもよい。また、上記実施形態の構成の一部を省略してもよい。また、上記実施形態の構成の少なくとも一部を、他の上記実施形態の構成に対して付加又は置換してもよい。 Further, a plurality of functions of one component in the embodiment described above may be realized by a plurality of components, or one function of one component may be realized by a plurality of components. Further, a plurality of functions possessed by a plurality of constituent elements may be realized by one constituent element, or one function realized by a plurality of constituent elements may be realized by one constituent element. Further, a part of the configuration of the above embodiment may be omitted. Further, at least a part of the configuration of the above embodiment may be added to or replaced with the configuration of other embodiments.

また、本開示は、上述した電子制御装置の他、電子制御装置を構成要素とするシステム、電子制御装置としてコンピュータを機能させるためのプログラム、このプログラムを記録した半導体メモリ等の非遷移的実態的記録媒体、複数のマイコンによる制御方法など、種々の形態で本開示を実現することもできる。 In addition to the above-mentioned electronic control device, the present disclosure also relates to a system including the electronic control device as a component, a program for causing a computer to function as an electronic control device, and a non-transitional actual system such as a semiconductor memory in which this program is recorded. The present disclosure can also be implemented in various forms, such as a recording medium and a control method using multiple microcomputers.

10…ECU、20…メインマイコン、40…サブマイコン、22,42…CPU、24,44…半導体メモリ、26,46…入出力部、60…統合IC。 10... ECU, 20... Main microcomputer, 40... Sub microcomputer, 22, 42... CPU, 24, 44... Semiconductor memory, 26, 46... Input/output section, 60... Integrated IC.

Claims (4)

複数のマイコン(20,40)と、
前記複数のマイコンに電力供給を行うように構成された電力供給部(60)と、
を備えた電子制御装置であって、
前記複数のマイコンは、それぞれ、各マイコンの動作を停止させるシャットダウン指令が発生すると、実行中の処理動作を停止するシャットダウン直前処理(S150,S250)を実施するよう構成され、
更に、前記複数のマイコンの1つである第1マイコン(20)は、前記シャットダウン直前処理を完了すると、前記複数のマイコンのうち、当該第1マイコンとは異なる他のマイコンである第2マイコン(40)の消費電流が所定の閾値以下になったか否かを判断し(S160)、前記消費電流が前記閾値以下になると前記電力供給部からの電力供給を停止させる、ように構成されている、電子制御装置。
multiple microcomputers (20, 40),
a power supply unit (60) configured to supply power to the plurality of microcomputers;
An electronic control device comprising:
Each of the plurality of microcomputers is configured to perform immediately-before-shutdown processing (S150, S250) to stop the processing operation being executed when a shutdown command to stop the operation of each microcomputer is generated;
Further, when the first microcomputer (20), which is one of the plurality of microcomputers, completes the immediately-before-shutdown processing, the first microcomputer (20), which is one of the plurality of microcomputers, executes the second microcomputer (20), which is another microcomputer different from the first microcomputer among the plurality of microcomputers. 40) is configured to determine whether or not the current consumption has become below a predetermined threshold (S160), and to stop the power supply from the power supply unit when the current consumption becomes below the threshold; Electronic control unit.
請求項1に記載の電子制御装置であって、
前記第1マイコンは、前記第2マイコンが前記シャットダウン直前処理を開始してから、前記消費電流が前記閾値以下に低下するまでの経過時間を計測して、該経過時間が所定の異常判定時間を越えたか否かを判断し(S170)、前記経過時間が前記異常判定時間を越えると、前記第2マイコンのシャットダウン異常を検出して(S180)、前記電力供給部からの電力供給を停止させる、ように構成されているように構成されている電子制御装置。
The electronic control device according to claim 1,
The first microcomputer measures the elapsed time from when the second microcomputer starts the immediately-before-shutdown processing until the current consumption falls below the threshold, and determines that the elapsed time is a predetermined abnormality determination time. determining whether the elapsed time exceeds the abnormality determination time (S170), detecting a shutdown abnormality of the second microcomputer (S180), and stopping the power supply from the power supply unit; An electronic control unit configured to:
請求項2に記載の電子制御装置であって、
前記電力供給部は、前記第2マイコンを構成する複数の機能回路(42,44,46)に対し、それぞれ、異なる電力供給経路を介して電力供給を行うように構成され、
前記第1マイコンは、前記電力供給部から前記異なる電力供給経路を介して前記第2マイコンの複数の機能回路に供給される電流をそれぞれ検出し、該電流が前記閾値以下になるまでの前記経過時間が前記異常判定時間を越えた機能回路を、前記シャットダウン異常の原因となった機能回路として特定する、ように構成されている電子制御装置。
The electronic control device according to claim 2,
The power supply unit is configured to supply power to the plurality of functional circuits (42, 44, 46) constituting the second microcomputer through different power supply paths, respectively,
The first microcomputer detects each current supplied from the power supply section to the plurality of functional circuits of the second microcomputer via the different power supply paths, and detects the progress until the current becomes equal to or less than the threshold value. An electronic control device configured to identify a functional circuit whose time exceeds the abnormality determination time as the functional circuit that caused the shutdown abnormality.
請求項1~請求項3の何れか1項に記載の電子制御装置であって、
前記電子制御装置は、車両に搭載され、
前記電力供給部は、前記車両のパワースイッチ(2)がオフ状態からオン状態に切り換えられると、前記複数のマイコンへの電力供給を開始して、前記複数のマイコンを起動するように構成され、
前記複数のマイコンは、前記電力供給部からの電力供給により起動すると、予め設定された通常処理(S110,S220)を実行し、該通常処理の実行中に前記パワースイッチがオフ状態に切り換えられると、前記通常処理を終了させるオフ後処理(S130,S140)を実行するように構成され、
更に、前記第1マイコンは、前記オフ後処理の実行中に前記シャットダウン指令を発生して、前記第2マイコンに送信することで、前記第1マイコン及び前記第2マイコンに対し、前記シャットダウン直前処理を実施させる、ように構成されている電子制御装置。
The electronic control device according to any one of claims 1 to 3,
The electronic control device is mounted on a vehicle,
The power supply unit is configured to start supplying power to the plurality of microcomputers to activate the plurality of microcomputers when the power switch (2) of the vehicle is switched from an off state to an on state,
When the plurality of microcomputers are activated by power supply from the power supply unit, they execute preset normal processing (S110, S220), and when the power switch is turned off during execution of the normal processing, , configured to execute post-off processing (S130, S140) that ends the normal processing,
Furthermore, the first microcomputer generates the shutdown command during execution of the post-off process and sends it to the second microcomputer, thereby instructing the first microcomputer and the second microcomputer to perform the immediately-before-shutdown process. An electronic control device configured to carry out.
JP2022117244A 2022-07-22 2022-07-22 electronic control unit Pending JP2024014427A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2022117244A JP2024014427A (en) 2022-07-22 2022-07-22 electronic control unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2022117244A JP2024014427A (en) 2022-07-22 2022-07-22 electronic control unit

Publications (1)

Publication Number Publication Date
JP2024014427A true JP2024014427A (en) 2024-02-01

Family

ID=89719073

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2022117244A Pending JP2024014427A (en) 2022-07-22 2022-07-22 electronic control unit

Country Status (1)

Country Link
JP (1) JP2024014427A (en)

Similar Documents

Publication Publication Date Title
JP4345708B2 (en) Electronic control device for vehicle
JP5739290B2 (en) Electronic control unit
CN105373455B (en) Processor system, engine control system and control method
JP4940681B2 (en) Electronic control device
JP2008289254A (en) Power supply device
JP6011162B2 (en) Electronic control unit
WO2016203505A1 (en) Semiconductor device and diagnostic test method
JP2017033236A (en) Vehicle controller
JP2009202822A (en) Control device
US11342772B2 (en) Precharge controller
JP6408843B2 (en) Vehicle power supply device
JP2010244311A (en) In-vehicle electronic controller
JP2024014427A (en) electronic control unit
JP5465799B2 (en) Control device
JP2014146131A (en) Information processing apparatus, monitoring device, and control device
JPH01298446A (en) Double microcomputer system runaway preventing circuit
JP2007041824A (en) Resetting circuit for electronic control unit
US11784593B2 (en) Power supply controller
US20030140261A1 (en) Control apparatus
JP2007162586A (en) On-vehicle control device
JP7143797B2 (en) Power control device for in-vehicle camera module
JP2020050319A (en) Power supply monitoring device, power supply control system and power supply monitoring method
JP2022123552A (en) Data processing system, method
JP5918720B2 (en) Control apparatus and control method
JP3711849B2 (en) Microcomputer