JP6384393B2 - Microcomputer and electronic control device - Google Patents

Microcomputer and electronic control device Download PDF

Info

Publication number
JP6384393B2
JP6384393B2 JP2015087028A JP2015087028A JP6384393B2 JP 6384393 B2 JP6384393 B2 JP 6384393B2 JP 2015087028 A JP2015087028 A JP 2015087028A JP 2015087028 A JP2015087028 A JP 2015087028A JP 6384393 B2 JP6384393 B2 JP 6384393B2
Authority
JP
Japan
Prior art keywords
power supply
supply voltage
module
microcomputer
threshold value
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
JP2015087028A
Other languages
Japanese (ja)
Other versions
JP2016206906A (en
Inventor
吉広 康村
吉広 康村
啓晴 竹内
啓晴 竹内
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Denso 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 JP2015087028A priority Critical patent/JP6384393B2/en
Publication of JP2016206906A publication Critical patent/JP2016206906A/en
Application granted granted Critical
Publication of JP6384393B2 publication Critical patent/JP6384393B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Power Sources (AREA)
  • Microcomputers (AREA)

Description

本発明は、マイクロコンピュータ及び該マイクロコンピュータを備える電子制御装置に関する。   The present invention relates to a microcomputer and an electronic control device including the microcomputer.

マイクロコンピュータ(以下、マイコンと称する)には、電源電圧の適正範囲が定められている。このため、供給される電源電圧が適正範囲から外れると、マイコンによって制御される電気負荷が誤作動する虞がある。   A microcomputer (hereinafter referred to as a microcomputer) has an appropriate range of power supply voltage. For this reason, if the supplied power supply voltage is out of the proper range, the electric load controlled by the microcomputer may malfunction.

これに対し、たとえば車両用の電子制御装置として、マイコンとともに、マイコンに供給される電源電圧を監視するマイコン監視装置を備える構成が知られている。また、電源電圧を監視する監視回路を内蔵するマイコンも知られている。たとえば特許文献1には、マイコン監視装置を備える電子制御装置が開示されている。   On the other hand, for example, as an electronic control device for a vehicle, a configuration is known that includes a microcomputer monitoring device that monitors a power supply voltage supplied to the microcomputer together with the microcomputer. A microcomputer having a built-in monitoring circuit for monitoring the power supply voltage is also known. For example, Patent Document 1 discloses an electronic control device including a microcomputer monitoring device.

このように電源電圧の監視機能を備える構成では、マイコンに供給される電源電圧が適正範囲から外れるとマイコンがリセットされるため、電気負荷の誤作動を抑制することができる。   As described above, in the configuration having the power supply voltage monitoring function, the microcomputer is reset when the power supply voltage supplied to the microcomputer is out of the proper range, so that malfunction of the electric load can be suppressed.

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

マイコンに電源電圧を投入する際、通常動作中よりも高負荷となる。そこで、電源電圧の急激な変動(降下)を抑制するために、電源電圧がコンデンサにより安定化される。また、マイコンは、I/0ポート、タイマなどの機能回路を有するモジュールを複数備えている。マイコンへの電源電圧の投入時において、すべてのモジュールを一斉に立ち上げるのではなく、複数のモジュールを1つずつ順番に立ち上げるようにモジュールへの電源電圧の供給タイミングを制御することで、電源電圧の急激な変動を抑制することが考えられる。   When power is supplied to the microcomputer, the load is higher than during normal operation. Therefore, the power supply voltage is stabilized by a capacitor in order to suppress a rapid fluctuation (drop) in the power supply voltage. The microcomputer also includes a plurality of modules having functional circuits such as an I / 0 port and a timer. Instead of starting all the modules at the same time when the power supply voltage is applied to the microcomputer, the power supply voltage is controlled by controlling the power supply voltage supply timing so that multiple modules are started one by one. It is conceivable to suppress rapid fluctuations in voltage.

しかしながら、コンデンサの脱落などにより、電源電圧の負荷変動を抑制する機能が低下すると、各モジュールの立ち上げ終了時において電源電圧が戻りきらず、モジュールの立ち上げごとに電源電圧が低下してしまう。このため、複数のモジュールを立ち上げる途中で電源電圧がリセットのための閾値を下回り、マイコンがリセットする虞がある。   However, if the function of suppressing the load fluctuation of the power supply voltage is reduced due to the removal of the capacitor or the like, the power supply voltage does not return at the end of startup of each module, and the power supply voltage is reduced every time the module is started up. For this reason, the power supply voltage may fall below the threshold for resetting while starting up a plurality of modules, and the microcomputer may be reset.

本発明は上記問題点に鑑み、電源電圧の投入時にリセットするのを抑制することのできるマイクロコンピュータ及び電子制御装置を提供することを目的とする。   In view of the above problems, an object of the present invention is to provide a microcomputer and an electronic control device that can suppress resetting when a power supply voltage is turned on.

ここに開示される発明は、上記目的を達成するために以下の技術的手段を採用する。なお、特許請求の範囲及びこの項に記載した括弧内の符号は、ひとつの態様として後述する実施形態に記載の具体的手段との対応関係を示すものであって、発明の技術的範囲を限定するものではない。   The invention disclosed herein employs the following technical means to achieve the above object. Note that the reference numerals in parentheses described in the claims and in this section indicate a corresponding relationship with specific means described in the embodiments described later as one aspect, and limit the technical scope of the invention. Not what you want.

開示された発明のひとつは、コンデンサ(13,14)を介して電源電圧が供給されて、所定の処理を実行するマイクロコンピュータであって、
供給される電源電圧を監視する監視回路(20)と、
機能回路をそれぞれ有する複数のモジュール(23)と、
モジュールを動作させるためのモジュールへの電源電圧の供給タイミングを制御するとともに、電源電圧の投入時には複数のモジュールが1つずつ順番に立ち上がって動作を開始するよう供給タイミングを制御する制御部(24)と、を備え、
電源電圧の投入時において、リセットのための第1閾値(Vth1)よりも高い値が設定される所定の第2閾値(Vth2)を、監視回路が監視する電源電圧が下回る場合に、制御部は、次に動作を開始させるモジュールへの電源電圧の供給タイミングを、電源電圧が第2閾値を下回らない場合よりも遅らせることを特徴とする。
One of the disclosed inventions is a microcomputer that performs a predetermined process by being supplied with a power supply voltage via a capacitor (13, 14),
A monitoring circuit (20) for monitoring the supplied power supply voltage;
A plurality of modules (23) each having a functional circuit;
A control unit (24) for controlling the supply timing of the power supply voltage to the module for operating the module, and for controlling the supply timing so that when the power supply voltage is turned on, the plurality of modules rise one by one in order and start operation. And comprising
When the power supply voltage is turned on, when the power supply voltage monitored by the monitoring circuit falls below a predetermined second threshold (Vth2) that is set higher than the first threshold (Vth1) for resetting, the control unit The supply timing of the power supply voltage to the module that starts the operation next is delayed from the case where the power supply voltage does not fall below the second threshold value.

これによれば、電源投入時に電源電圧が第2閾値を下回ると、次に動作を開始させるモジュールへの電源電圧の供給タイミングを、電源電圧が第2閾値を下回らない場合、すなわち通常時よりも遅らせることができる。このように電源電圧を少なからず復帰させてから次のモジュールを立ち上げる。これにより、たとえばコンデンサが外れることで、電源電圧の負荷変動を抑制する機能が低下しても、複数のモジュールを順番に立ち上げる途中でマイコンがリセットするのを抑制することができる。   According to this, when the power supply voltage falls below the second threshold when the power is turned on, the supply timing of the power supply voltage to the module to start the operation next is set to the time when the power supply voltage does not fall below the second threshold, that is, from the normal time. Can be delayed. In this way, the power supply voltage is restored to some extent, and then the next module is started. Thereby, for example, even if the function of suppressing the load fluctuation of the power supply voltage is reduced due to the removal of the capacitor, the microcomputer can be prevented from being reset in the middle of starting up the plurality of modules in order.

第1実施形態に係る電子制御装置の概略構成を示す図である。It is a figure which shows schematic structure of the electronic controller which concerns on 1st Embodiment. 制御部が実行する処理を示すフローチャートである。It is a flowchart which shows the process which a control part performs. 電源電圧、複数のモジュールの動作状態など示すタイミングチャートである。It is a timing chart which shows a power supply voltage, the operation state of a some module, etc. 参考例におけるタイミングチャートである。It is a timing chart in a reference example. 参考例におけるタイミングチャートである。It is a timing chart in a reference example. 第2実施形態に係る電子制御装置において、制御部が実行する処理を示すフローチャートである。It is a flowchart which shows the process which a control part performs in the electronic control apparatus which concerns on 2nd Embodiment. 電源電圧、複数のモジュールの動作状態など示すタイミングチャートである。It is a timing chart which shows a power supply voltage, the operation state of a some module, etc.


第3実施形態に係る電子制御装置において、制御部が実行する処理を示すフローチャートである。It is a flowchart which shows the process which a control part performs in the electronic control apparatus which concerns on 3rd Embodiment. 電源電圧、複数のモジュールの動作状態など示すタイミングチャートである。It is a timing chart which shows a power supply voltage, the operation state of a some module, etc. 第4実施形態に係る電子制御装置において、制御部が実行する処理を示すフローチャートである。It is a flowchart which shows the process which a control part performs in the electronic control apparatus which concerns on 4th Embodiment. 電源電圧、複数のモジュールの動作状態など示すタイミングチャートである。It is a timing chart which shows a power supply voltage, the operation state of a some module, etc.

以下、本発明の実施形態を図に基づいて説明する。なお、各実施形態において、共通乃至関連する要素には同一の符号を付与するものとする。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. In each embodiment, common or related elements are given the same reference numerals.

(第1実施形態)
先ず、図1に基づき、本実施形態に係る電子制御装置の概略構成を説明する。本実施形態の電子制御装置は、エンジンECU(Electronic Control Unit)として構成されている。
(First embodiment)
First, a schematic configuration of the electronic control device according to the present embodiment will be described with reference to FIG. The electronic control device of the present embodiment is configured as an engine ECU (Electronic Control Unit).

図1に示す電子制御装置10は、イグニッションスイッチ(図示略)が搭乗者によってオンされると、電源リレー(図示略)を介してバッテリ100から電力の供給を受けて動作する。そして、図示しないエンジンが出力すべき目標トルクを算出する。また、電子制御装置10は、エンジンが要求される目標トルクを生じるために、スロットルバルブの開度、燃料噴射量、及び点火タイミングなどを制御する。   When an ignition switch (not shown) is turned on by a passenger, the electronic control device 10 shown in FIG. 1 operates by receiving power from the battery 100 via a power relay (not shown). Then, a target torque to be output by an engine (not shown) is calculated. In addition, the electronic control unit 10 controls the throttle valve opening, the fuel injection amount, the ignition timing, and the like in order to generate the target torque required by the engine.

この電子制御装置10は、マイコン11と、電源IC12と、コンデンサ13,14と、を備えている。   The electronic control device 10 includes a microcomputer 11, a power supply IC 12, and capacitors 13 and 14.

マイコン11は、CPU、ROM、RAM、レジスタ、及びI/Oポートなどを備えて構成されたマイクロコンピュータである。マイコン11において、CPUが、RAMやレジスタの一時記憶機能を利用しつつ、ROMに予め記憶された制御プログラム、バスを介して取得した各種データなどに応じて信号処理を行う。また、この信号処理で得られた信号を、バスに出力したりする。このようにして、マイコン11は、上記した各種機能を実行する。たとえばマイコン11は、電気負荷101の駆動を制御する。   The microcomputer 11 is a microcomputer that includes a CPU, a ROM, a RAM, a register, an I / O port, and the like. In the microcomputer 11, the CPU performs signal processing according to a control program stored in advance in the ROM, various data acquired via the bus, and the like while using a temporary storage function of the RAM or the register. Further, the signal obtained by this signal processing is output to the bus. In this way, the microcomputer 11 executes the various functions described above. For example, the microcomputer 11 controls driving of the electric load 101.

電源IC12は、車両に搭載されたバッテリ100から供給される直流電圧(以下、単にバッテリ電圧と示す)を降圧し、マイコン11が動作するための電源電圧として、マイコン11に供給する。たとえば、電源IC12により、12Vのバッテリ電圧が5Vまで降圧される。このような電源IC12としては、周知の構成のもの、たとえばスイッチング電源回路やシリーズ電源回路を有するものを採用することができる。電源電圧は、コンデンサ14により安定化されて、マイコン11に供給される。バッテリ電圧は、コンデンサ13により安定化される。このため、電源電圧は、コンデンサ13によっても安定化される。   The power supply IC 12 steps down a DC voltage (hereinafter simply referred to as battery voltage) supplied from the battery 100 mounted on the vehicle, and supplies it to the microcomputer 11 as a power supply voltage for the microcomputer 11 to operate. For example, the battery voltage of 12V is stepped down to 5V by the power supply IC 12. As such a power supply IC 12, one having a known configuration, for example, one having a switching power supply circuit or a series power supply circuit can be adopted. The power supply voltage is stabilized by the capacitor 14 and supplied to the microcomputer 11. The battery voltage is stabilized by the capacitor 13. For this reason, the power supply voltage is also stabilized by the capacitor 13.

マイコン11は、図1に示すように、監視回路20と、リセット回路21と、異常検出回路22と、複数のモジュール23と、制御部24と、を備えている。   As shown in FIG. 1, the microcomputer 11 includes a monitoring circuit 20, a reset circuit 21, an abnormality detection circuit 22, a plurality of modules 23, and a control unit 24.

監視回路20は、コンデンサ14を介して電源IC12からマイコン11に供給される電源電圧を監視する。監視回路20は、供給される電源電圧と予め設定された閾値とを比較する。監視回路20は、電源電圧が予め所定の第1閾値Vth1を下回ると、マイコン11をリセットさせるためのリセット信号を出力する。第1閾値Vth1は、言うなればリセット電圧閾値である。第1閾値Vth1としては、マイコン11の動作を保証する下限の値である動作保証下限値(たとえば3V)よりも高い値(たとえば3.3V)が設定される。リセット信号がリセット回路21に入力されることで、マイコン11がリセット状態となる。   The monitoring circuit 20 monitors the power supply voltage supplied from the power supply IC 12 to the microcomputer 11 via the capacitor 14. The monitoring circuit 20 compares the supplied power supply voltage with a preset threshold value. The monitoring circuit 20 outputs a reset signal for resetting the microcomputer 11 when the power supply voltage falls below a predetermined first threshold value Vth1 in advance. In other words, the first threshold value Vth1 is a reset voltage threshold value. As the first threshold value Vth1, a value (eg, 3.3V) higher than an operation guarantee lower limit value (eg, 3V), which is a lower limit value that guarantees the operation of the microcomputer 11, is set. When the reset signal is input to the reset circuit 21, the microcomputer 11 is in a reset state.

また、監視回路20は、マイコン11への電源電圧の投入時において、電源電圧が予め設定された第2閾値Vth2を下回ると、フェールセーフ信号を出力する。本実施形態では、監視回路20からフェールセーフ信号が出力されると、制御部24がモジュール23に対して通常時(フェールセーフ信号が出力されないとき)とは異なる制御を実行する。第2閾値Vth2は、言うなればフェールセーフ電圧閾値である。第2閾値Vth2としては、第1閾値Vth1よりも高い値(たとえば3.5V〜3.7V)が設定される。   In addition, when the power supply voltage is applied to the microcomputer 11, the monitoring circuit 20 outputs a fail-safe signal when the power supply voltage falls below a preset second threshold value Vth2. In the present embodiment, when a fail safe signal is output from the monitoring circuit 20, the control unit 24 performs control different from that at the normal time (when no fail safe signal is output) on the module 23. In other words, the second threshold value Vth2 is a fail-safe voltage threshold value. As the second threshold Vth2, a value higher than the first threshold Vth1 (for example, 3.5 V to 3.7 V) is set.

フェールセーフ信号は、異常検出回路22にも出力される。異常検出回路22は、フェールセーフ信号(たとえばHレベルの信号)が入力されると、外部機器(図示略)に対してダイアグ信号を出力する。なお、マイコン11は、図示しないパワーオンリセット回路を備えている。したがって、電源電圧が投入されてマイコン11のリセットが解除されてから所定の期間、すなわちリセット解除直後の期間を、マイコン11への電源投入時とする。   The fail safe signal is also output to the abnormality detection circuit 22. The abnormality detection circuit 22 outputs a diagnosis signal to an external device (not shown) when a fail-safe signal (for example, an H level signal) is input. The microcomputer 11 includes a power-on reset circuit (not shown). Therefore, a predetermined period after the power supply voltage is turned on and the reset of the microcomputer 11 is released, that is, a period immediately after the reset is released, is a time when the microcomputer 11 is turned on.

複数のモジュール23は、それぞれ機能回路を有している。マイコン11は、スイッチやセンサからの入力や表示器への出力のためのI/Oポート機能、シリアル通信するための機能、時間を管理するためのタイマ機能、A/D変換機能などの周辺機能回路(インターフェース回路)を備えている。各モジュール23は、上記した周辺機能回路の少なくとも1つを有している。周辺機能回路は、マイコン11の種類に応じて適宜選択が可能なように、モジュール化されている。モジュール23の個数は複数(2以上)であればよい。本実施形態において、マイコン11はn個(n≧4)のモジュール23の群を備えている。図1において、第1モジュール23は1番目に立ち上げられるモジュール23を示し、第nモジュール23はn番目に立ち上げられるモジュール23を示している。たとえば、第1モジュール23はI/Oポート機能を有し、第2モジュール23はタイマ機能を有している。   Each of the plurality of modules 23 has a functional circuit. The microcomputer 11 has peripheral functions such as an I / O port function for input from a switch or sensor and an output to a display, a function for serial communication, a timer function for managing time, and an A / D conversion function. A circuit (interface circuit) is provided. Each module 23 has at least one of the peripheral function circuits described above. The peripheral function circuit is modularized so that it can be appropriately selected according to the type of the microcomputer 11. The number of modules 23 may be plural (two or more). In the present embodiment, the microcomputer 11 includes a group of n modules (n ≧ 4). In FIG. 1, the first module 23 indicates the module 23 that is activated first, and the n-th module 23 indicates the module 23 that is activated n-th. For example, the first module 23 has an I / O port function, and the second module 23 has a timer function.

制御部24は、モジュール23を動作させるためのモジュール23への電源電圧の供給タイミングを制御する。したがって、制御部24は、モジュール起動シーケンス制御部とも言える。制御部24は、マイコン11への電源電圧の投入時において、複数のモジュール23が1つずつ順番に立ち上がって動作を開始するよう供給タイミングを制御する。制御部24は、監視回路20から出力される信号に基づいて、モジュール23への電源電圧の供給タイミングを制御する。   The control unit 24 controls the supply timing of the power supply voltage to the module 23 for operating the module 23. Therefore, the control unit 24 can also be said to be a module activation sequence control unit. The control unit 24 controls the supply timing so that when the power supply voltage is supplied to the microcomputer 11, the plurality of modules 23 start up one after another in order. The control unit 24 controls the supply timing of the power supply voltage to the module 23 based on the signal output from the monitoring circuit 20.

各モジュール23の入力側には、バッファ25がそれぞれ設けられている。制御部24が、立ち上げる順番のモジュール23に対応するバッファ25に指示信号を出力すると、電源電圧がバッファ25を介して対応するモジュール23に供給される。たとえばモジュール1を立ち上げる順番においては、モジュール1に対応するバッファ25を介して電源電圧が供給される。また、制御部24は、各モジュール23から立ち上げの終了を示す信号を取得する。これにより、制御部24は、複数のモジュール23を1つずつ順番に立ち上げることができる。   A buffer 25 is provided on the input side of each module 23. When the control unit 24 outputs an instruction signal to the buffer 25 corresponding to the module 23 in the starting order, the power supply voltage is supplied to the corresponding module 23 via the buffer 25. For example, in the order of starting up the module 1, the power supply voltage is supplied through the buffer 25 corresponding to the module 1. In addition, the control unit 24 acquires a signal indicating the end of startup from each module 23. Thereby, the control part 24 can start up the several module 23 one by one in order.

次に、図2及び図3に基づき、制御部24が実行する処理と、該処理にともなう電源電圧、モジュール23の動作状態などの変化について説明する。図3では、一例として、コンデンサ14が脱落しており、第2モジュール23の立ち上げ途中に電源電圧が第2閾値Vth2を下回る場合について説明する。   Next, based on FIGS. 2 and 3, processing executed by the control unit 24 and changes in the power supply voltage, the operation state of the module 23, and the like accompanying the processing will be described. In FIG. 3, as an example, a case where the capacitor 14 has dropped and the power supply voltage falls below the second threshold value Vth2 during the startup of the second module 23 will be described.

マイコン11に電源電圧が投入されてマイコン11のリセットが解除されると、制御部24は以下に示す処理を実行する。先ず制御部24は、カウンタに初期値としてX=1を設定する(ステップS10)。次いで制御部24は、現在設定されているカウント値Xに対応するモジュール23に電源電圧を供給して立ち上げるために、対応するバッファ25に指示信号を出力する(ステップS20)。カウント値Xに対応するモジュール23を、第Xモジュール23とも称する。はじめはカウンタにX=1が設定されているため、第1モジュール23に電源電圧が供給される。図3に示す時刻T10において、第1モジュール23の立ち上げが始まる。第1モジュール23を立ち上げるため、マイコン11全体に流れる電流は増加するとともに、電源電圧は立ち上げ前よりも低下する。   When the power supply voltage is applied to the microcomputer 11 and the reset of the microcomputer 11 is released, the control unit 24 executes the following process. First, the control unit 24 sets X = 1 as an initial value in the counter (step S10). Next, the control unit 24 outputs an instruction signal to the corresponding buffer 25 in order to supply and start up the power supply voltage to the module 23 corresponding to the currently set count value X (step S20). The module 23 corresponding to the count value X is also referred to as the Xth module 23. Initially, since X = 1 is set in the counter, the power supply voltage is supplied to the first module 23. At time T10 shown in FIG. 3, start-up of the first module 23 begins. In order to start up the first module 23, the current flowing through the microcomputer 11 as a whole increases and the power supply voltage decreases from before the start-up.

次いで制御部24は、電源電圧が第2閾値Vth2を下回るか否かを判定する(ステップS30)。制御部24は、監視回路20から出力される信号に基づいて判定を実行する。監視回路20からの信号がHレベルの信号、すなわちフェールセーフ信号の場合、制御部24は、電源電圧が第2閾値Vth2を下回っている(電源電圧<Vth2)と判定し、次いでステップS40の処理を実行する。一方、監視回路20からの信号がLレベルの信号の場合、制御部24は、電源電圧が第2閾値Vth2を下回っていない、すなわち電源電圧≧Vth2であると判定し、次いでステップS50の処理を実行する。図3に示すように、第1モジュール23の立ち上げ途中において、電源電圧>Vth2であるため、制御部24は、次いでステップS50の処理を実行する。   Next, the control unit 24 determines whether or not the power supply voltage is lower than the second threshold value Vth2 (step S30). The control unit 24 performs determination based on the signal output from the monitoring circuit 20. When the signal from the monitoring circuit 20 is an H level signal, that is, a fail-safe signal, the control unit 24 determines that the power supply voltage is lower than the second threshold Vth2 (power supply voltage <Vth2), and then performs the process of step S40 Execute. On the other hand, when the signal from the monitoring circuit 20 is an L level signal, the control unit 24 determines that the power supply voltage is not lower than the second threshold value Vth2, that is, power supply voltage ≧ Vth2, and then performs the process of step S50. Run. As shown in FIG. 3, during the start-up of the first module 23, since the power supply voltage> Vth <b> 2, the control unit 24 then executes the process of step S <b> 50.

ステップS50において、制御部24は、第Xモジュール23の立ち上げが終了したか否かを判定する。各モジュール23は、電源電圧の立ち上げが終了すると、終了を知らせる信号を制御部24に出力する。第Xモジュール23の立ち上げ終了を示す信号が入力されない場合、制御部24は、ステップS30に戻ってステップS30以降の処理を再び実行する。   In step S50, the control unit 24 determines whether or not the startup of the Xth module 23 has been completed. Each module 23 outputs a signal notifying the end to the control unit 24 when the rise of the power supply voltage is completed. When the signal indicating the end of start-up of the X-th module 23 is not input, the control unit 24 returns to step S30 and executes the processes after step S30 again.

一方、第Xモジュール23の立ち上げ終了を示す信号が入力されると、制御部24は、カウンタのカウント値をインクリメント(+1)する(ステップS60)。図3に示すように、時刻T20において、第1モジュール23の立ち上げが終了すると、制御部24はカウンタにX=2を設定する。コンデンサ14が脱落しているため電源電圧は急激に降下し、第1モジュール23の立ち上げ終了時においても、十分に復帰しない。   On the other hand, when a signal indicating the end of startup of the Xth module 23 is input, the control unit 24 increments (+1) the count value of the counter (step S60). As shown in FIG. 3, when the start-up of the first module 23 is completed at time T20, the control unit 24 sets X = 2 in the counter. Since the capacitor 14 is removed, the power supply voltage drops rapidly and does not sufficiently recover even when the first module 23 is started up.

次いで、制御部24は、カウンタのカウント値がX=(n+1)であるか否かを判定する(ステップS70)。第nモジュール23まで立ち上げが終了すると、ステップS60でカウンタのカウント値はインクリメントされて、X=(n+1)となる。すなわち、ステップS70では、すべてのモジュール23の立ち上げが終了したか否かを判定する。時刻T20ではX=2であるため、ステップS20に戻り、以降の処理を実行する。一方、X=(n+1)の場合、すべてのモジュール23の立ち上げが終了のため、一連の処理を終了する。   Next, the control unit 24 determines whether or not the count value of the counter is X = (n + 1) (step S70). When the start up to the nth module 23 is completed, the count value of the counter is incremented in step S60, and X = (n + 1). That is, in step S70, it is determined whether or not all modules 23 have been started up. Since X = 2 at time T20, the process returns to step S20 to execute the subsequent processing. On the other hand, in the case of X = (n + 1), the start of all the modules 23 is completed, and thus a series of processing is completed.

次いで制御部24は、ステップS20の処理を実行する。X=2が設定されているため、制御部24は、第2モジュール23に電源電圧を供給して立ち上げるために、第2モジュール23に対応するバッファ25に指示信号を出力する。これにより、第2モジュール23に電源電圧が供給される。第2モジュール23の立ち上げ開始は、第1モジュール23の立ち上げ終了とほぼ同じ、すなわち時刻T20である。第2モジュール23を立ち上げるため、マイコン11全体に流れる電流はさらに増加する。また、電源電圧もさらに低下する。   Next, the control unit 24 executes the process of step S20. Since X = 2 is set, the control unit 24 outputs an instruction signal to the buffer 25 corresponding to the second module 23 in order to supply the second module 23 with a power supply voltage and start up. As a result, the power supply voltage is supplied to the second module 23. The start-up of the second module 23 is almost the same as the start-up end of the first module 23, that is, time T20. In order to start up the second module 23, the current flowing through the entire microcomputer 11 further increases. In addition, the power supply voltage is further reduced.

次いで制御部24は、ステップS30を実行する。図3に示すように、第2モジュール23の立ち上げ途中、具体的には時刻T30で、電源電圧が第2閾値Vth2を下回る。制御部24は、電源電圧が第2閾値Vth2を下回ったと判定してから所定時間t1待機する(ステップS40)。所定時間t1は、任意のモジュール23の立ち上げの終了と、次のモジュール23の立ち上げとの間に所定の待機時間が形成されるように設定される。所定時間t1としては、たとえば数msが設定される。所定時間t1の間に、時刻T40において、第2モジュール23の立ち上げが終了する。しかしながら、所定時間t1が経過していないため、時刻T40において第3モジュール23の立ち上げは開始されない。図3に示すように、所定時間t1の待機によって電源電圧は大きく復帰する。   Next, the control unit 24 executes Step S30. As shown in FIG. 3, the power supply voltage falls below the second threshold value Vth2 during the startup of the second module 23, specifically at time T30. The controller 24 waits for a predetermined time t1 after determining that the power supply voltage has fallen below the second threshold value Vth2 (step S40). The predetermined time t1 is set so that a predetermined waiting time is formed between the end of the start-up of any module 23 and the start-up of the next module 23. For example, several ms is set as the predetermined time t1. During the predetermined time t1, the start-up of the second module 23 is completed at time T40. However, since the predetermined time t1 has not elapsed, the start-up of the third module 23 is not started at time T40. As shown in FIG. 3, the power supply voltage largely recovers by waiting for a predetermined time t1.

所定時間t1が経過すると、次いで制御部24は、ステップS50を実行する。第2モジュール23の立ち上げは完了しているため、次いで制御部24は、ステップS60を実行し、カウンタのカウント値をインクリメントする。これにより、X=3となる。ステップS70では、NO判定となり、制御部24は再びステップS20を実行する。   When the predetermined time t1 has elapsed, the control unit 24 then executes step S50. Since the start-up of the second module 23 has been completed, the control unit 24 then executes step S60 and increments the count value of the counter. Thereby, X = 3. In step S70, a NO determination is made, and the control unit 24 executes step S20 again.

X=3が設定されているため、制御部24は、第3モジュール23に電源電圧を供給して立ち上げるために、第3モジュール23に対応するバッファ25に指示信号を出力する。これにより、第3モジュール23に電源電圧が供給される。時刻T50において、第3モジュール23の立ち上げが始まる。第3モジュール23を立ち上げるため、マイコン11全体に流れる電流はさらに増加する。また、電源電圧も低下するが、上記した所定時間t1の待機により、立ち上げ開始時の電圧が十分に復帰(たとえば5V付近)しているため、第3モジュール23を立ち上げても、電源電圧は第2閾値Vth2、ひいてはマイコン11がリセットされる第1閾値Vth1まで低下しない。   Since X = 3 is set, the control unit 24 outputs an instruction signal to the buffer 25 corresponding to the third module 23 in order to supply the third module 23 with a power supply voltage and start up. As a result, the power supply voltage is supplied to the third module 23. At time T50, the start-up of the third module 23 starts. Since the third module 23 is started up, the current flowing through the entire microcomputer 11 further increases. Although the power supply voltage also decreases, the voltage at the start of startup is sufficiently restored (for example, around 5 V) due to the standby for the predetermined time t1 described above, so even if the third module 23 is started up, the power supply voltage Does not drop to the second threshold value Vth2, and thus the first threshold value Vth1 at which the microcomputer 11 is reset.

したがって、制御部24は、ステップS50〜S70の処理を実行する。第3モジュール23から立ち上げ終了を示す信号が入力されると、制御部24は、カウンタのカウント値をインクリメントしてX=4にする。そして、X=4がX=(n+1)でないため、制御部24は、再びステップS20を実行する。   Therefore, the control part 24 performs the process of step S50-S70. When a signal indicating the start-up end is input from the third module 23, the control unit 24 increments the count value of the counter to X = 4. Since X = 4 is not X = (n + 1), the control unit 24 executes Step S20 again.

X=4が設定されているため、制御部24は、第4モジュール23に電源電圧を供給して立ち上げるために、第4モジュール23に対応するバッファ25に指示信号を出力する。これにより、第4モジュール23に電源電圧が供給される。時刻T60において、第4モジュール23の立ち上げが始まる。第4モジュール23を立ち上げるため、マイコン11全体に流れる電流はさらに増加する。また、電源電圧も低下するが、上記した所定時間t1の待機により、第4モジュール23を立ち上げても、電源電圧は第2閾値Vth2、ひいてはマイコン11がリセットされる第1閾値Vth1まで低下しない。   Since X = 4 is set, the control unit 24 outputs an instruction signal to the buffer 25 corresponding to the fourth module 23 in order to supply the fourth module 23 with a power supply voltage and start up. As a result, the power supply voltage is supplied to the fourth module 23. At time T60, the startup of the fourth module 23 starts. Since the fourth module 23 is started up, the current flowing through the entire microcomputer 11 further increases. Although the power supply voltage also decreases, the power supply voltage does not decrease to the second threshold value Vth2 and thus the first threshold value Vth1 at which the microcomputer 11 is reset even if the fourth module 23 is started by waiting for the predetermined time t1. .

制御部24は、上記した処理を、ステップS70において、カウンタのカウント値がX=(n+1)であると判定するまで、繰り返し実行する。   The control unit 24 repeatedly executes the above-described processing until it is determined in step S70 that the count value of the counter is X = (n + 1).

次に、上記したマイコン11及び電子制御装置10の効果について説明する。   Next, effects of the microcomputer 11 and the electronic control device 10 will be described.

図4及び図5は、参考例(比較例)を示している。参考例の説明についても、本実施形態の要素と関連する要素に同じ名称を付与する。参考例では、監視回路の監視結果に関係なく、制御部は、電源電圧の投入時には複数のモジュールが1つずつ順番に立ち上がって動作を開始するよう電源電圧の供給タイミングを制御する。図4は、コンデンサが外れておらず、電源電圧の負荷変動を抑制する機能が正常な状態を示している。図4に示すように、電源電圧の負荷変動を抑制する機能が正常であれば、待機時間を設けることなく、モジュールを連続して順番に立ち上げても、電源電圧は第1閾値Vth1まで低下しない。すなわち、マイコンはリセットしない。   4 and 5 show a reference example (comparative example). In the description of the reference example, the same name is given to an element related to the element of this embodiment. In the reference example, regardless of the monitoring result of the monitoring circuit, the control unit controls the supply timing of the power supply voltage so that when a power supply voltage is turned on, a plurality of modules rises one by one in order and starts operation. FIG. 4 shows a state in which the capacitor is not detached and the function of suppressing the load fluctuation of the power supply voltage is normal. As shown in FIG. 4, if the function for suppressing the load fluctuation of the power supply voltage is normal, the power supply voltage is reduced to the first threshold value Vth1 even if the modules are sequentially started up without providing a standby time. do not do. That is, the microcomputer is not reset.

しかしながら、たとえばコンデンサが外れることで、電源電圧の負荷変動を抑制する機能が低下した状態では、図5に示すように、各モジュールの立ち上げ終了時において電源電圧が戻りきらず、モジュールの立ち上げごとに電源電圧が低下してしまう。このため、複数のモジュールを立ち上げる途中で電源電圧が第1閾値Vth1を下回り、マイコンがリセットしてしまう。図5では、第3モジュールの立ち上げ途中で、電源電圧が第1閾値Vth1を下回り、マイコンがリセットする例を示している。   However, for example, in a state where the function of suppressing the load fluctuation of the power supply voltage is reduced due to the removal of the capacitor, as shown in FIG. 5, the power supply voltage does not return at the end of the start-up of each module. The power supply voltage will drop. For this reason, the power supply voltage falls below the first threshold value Vth1 while starting up the plurality of modules, and the microcomputer is reset. FIG. 5 shows an example in which the power supply voltage falls below the first threshold value Vth1 and the microcomputer resets during the startup of the third module.

これに対し、本実施形態では、制御部24が、監視回路20から出力される信号に基づいて、電源電圧の通常時と制御時とで異なる制御を実行する。マイコン11への電源投入時に電源電圧が第2閾値Vth2を下回ると、制御部24が、次に動作を開始させるモジュール23への電源電圧の供給タイミングを、電源電圧が第2閾値Vthを下回らない場合よりも遅らせる。特に本実施形態では、電源電圧が第2閾値Vth2を下回ったと判定した時点から所定時間t1が経過するのを待って、次のモジュール23に電源電圧を供給する。すなわち、現在立ち上げているモジュール23の終了タイミングと、次に立ち上げるモジュールの立ち上げ開始タイミングとの間に所定の待機時間を設ける。これにより、コンデンサ14が外れることで電源電圧の負荷変動を抑制する機能が低下していても、待機時間の分、電源電圧が復帰(上昇)する。したがって、電源電圧の負荷変動を抑制する機能が低下していても、複数のモジュール23を順番に立ち上げることにより急激な電圧降下が生じて、マイコン11がリセットするのを抑制することができる。   On the other hand, in the present embodiment, the control unit 24 executes different control between the normal time and the control time of the power supply voltage based on the signal output from the monitoring circuit 20. If the power supply voltage falls below the second threshold value Vth2 when the microcomputer 11 is turned on, the control unit 24 will not supply the power supply voltage to the module 23 to be started next, and the power supply voltage will not fall below the second threshold value Vth. Delay than if. In particular, in this embodiment, the power supply voltage is supplied to the next module 23 after waiting for a predetermined time t1 from the time when it is determined that the power supply voltage has fallen below the second threshold value Vth2. That is, a predetermined standby time is provided between the end timing of the currently started module 23 and the start timing of the next started module. As a result, even if the function of suppressing the load fluctuation of the power supply voltage is reduced due to the removal of the capacitor 14, the power supply voltage is restored (increased) by the standby time. Therefore, even if the function of suppressing the load fluctuation of the power supply voltage is lowered, it is possible to prevent the microcomputer 11 from being reset due to a sudden voltage drop caused by sequentially starting up the plurality of modules 23.

(第2実施形態)
本実施形態において、第1実施形態に示したマイコン11及び電子制御装置10と共通する部分についての説明は割愛する。
(Second Embodiment)
In the present embodiment, descriptions of parts common to the microcomputer 11 and the electronic control device 10 shown in the first embodiment are omitted.

第1実施形態では、電源電圧が第2閾値Vth2を下回ったと判定した時点から所定時間t1が経過するのを待って、次のモジュール23に電源電圧を供給する例を示した。これに対し、本実施形態では、電源電圧が第2閾値Vth2を下回ったと判定したときに立ち上げ中であるモジュール23の立ち上げが終了してから所定時間経過するのを待って、次のモジュール23に電源電圧を供給する。   In the first embodiment, an example in which the power supply voltage is supplied to the next module 23 after waiting for the elapse of the predetermined time t1 from the time when it is determined that the power supply voltage is lower than the second threshold value Vth2 has been described. On the other hand, in the present embodiment, when it is determined that the power supply voltage has fallen below the second threshold value Vth2, the next module is waited for a predetermined time after the startup of the module 23 being started up is completed. A power supply voltage is supplied to 23.

図6に示すように、制御部24は、第1実施形態(図2)同様、ステップS10〜S30の処理を実行する。ステップS30において、電源電圧が第2閾値Vth2を下回ったと判定すると、制御部24は、第Xモジュール23の立ち上げが終了したか否かを判定する(ステップS41)。第Xモジュール23の立ち上げ終了を示す信号が入力されるまで、繰り返しステップS41を実行する。第Xモジュール23の立ち上げ終了を示す信号が入力されると、制御部24は、所定時間t2待機する(ステップ42)。所定時間t2は、任意のモジュール23の立ち上げの終了と、次のモジュール23の立ち上げとの間に所定の待機状態が形成されるように設定される。所定時間t2としては、たとえば数msが設定される。   As illustrated in FIG. 6, the control unit 24 executes the processes of steps S <b> 10 to S <b> 30 as in the first embodiment (FIG. 2). If it is determined in step S30 that the power supply voltage has fallen below the second threshold value Vth2, the control unit 24 determines whether or not the startup of the Xth module 23 has been completed (step S41). Step S41 is repeatedly executed until a signal indicating the end of startup of the Xth module 23 is input. When a signal indicating the end of startup of the X-th module 23 is input, the control unit 24 waits for a predetermined time t2 (step 42). The predetermined time t <b> 2 is set such that a predetermined standby state is formed between the end of the start-up of an arbitrary module 23 and the start-up of the next module 23. For example, several ms is set as the predetermined time t2.

所定時間t2が経過すると、次いで制御部24は、ステップS60を実行する。また、ステップS30において、電源電圧≧第2閾値Vth2と判定した場合、第1実施形態同様ステップS50を実施する。それ以外の点については、第1実施形態と同じである。   When the predetermined time t2 has elapsed, the control unit 24 then executes step S60. If it is determined in step S30 that the power supply voltage ≧ the second threshold value Vth2, step S50 is performed as in the first embodiment. The other points are the same as in the first embodiment.

図7では、第1実施形態(図3)同様、コンデンサ14が脱落しており、第2モジュール23の立ち上げ途中、具体的には第2モジュール23の立ち上げ途中である時刻T30に、電源電圧が第2閾値Vth2を下回る場合を示している。上記したように、本実施形態では、電源電圧が第2閾値Vth2を下回ったと判定したときに立ち上げ中である第2モジュール23の立ち上げが終了してから所定時間t2が経過するのを待って、次の第3モジュール23に電源電圧を供給する。すなわち、現在立ち上げている第2モジュール23の終了タイミングと、次に立ち上げる第3モジュールの立ち上げ開始タイミングとの間に所定の待機時間を設ける。これにより、コンデンサ14が外れることで電源電圧の負荷変動を抑制する機能が低下していても、待機時間の分、電源電圧が復帰(上昇)する。したがって、電源電圧の負荷変動を抑制する機能が低下していても、複数のモジュール23を順番に立ち上げることにより急激な電圧降下が生じて、マイコン11がリセットするのを抑制することができる。   In FIG. 7, as in the first embodiment (FIG. 3), the capacitor 14 has dropped off, and the power supply is turned on at the time T30 during the start-up of the second module 23, specifically during the start-up of the second module 23. The case where the voltage falls below the second threshold value Vth2 is shown. As described above, in the present embodiment, when it is determined that the power supply voltage has fallen below the second threshold value Vth2, waiting for a predetermined time t2 to elapse after the startup of the second module 23 being started up is completed. Thus, the power supply voltage is supplied to the next third module 23. That is, a predetermined standby time is provided between the end timing of the second module 23 that is currently started up and the start timing of the third module that is started up next. As a result, even if the function of suppressing the load fluctuation of the power supply voltage is reduced due to the removal of the capacitor 14, the power supply voltage is restored (increased) by the standby time. Therefore, even if the function of suppressing the load fluctuation of the power supply voltage is lowered, it is possible to prevent the microcomputer 11 from being reset due to a sudden voltage drop caused by sequentially starting up the plurality of modules 23.

特に本実施形態では、電源電圧が第2閾値Vth2を下回ったと判定したときに立ち上げ中であるモジュール23の立ち上げが終了してから所定時間t2が経過するのを待って、次のモジュール23に電源電圧を供給する。したがって、現在立ち上げているモジュール23の終了タイミングと、次に立ち上げるモジュールの立ち上げ開始タイミングとの間に、より確実に所定の待機時間を設けることができる。これにより、マイコン11がリセットするのをより効果的に抑制することができる。   In particular, in the present embodiment, when it is determined that the power supply voltage has fallen below the second threshold value Vth2, the next module 23 waits for the elapse of a predetermined time t2 after the start-up of the module 23 being started up is completed. Supply the power supply voltage. Therefore, a predetermined standby time can be more reliably provided between the end timing of the currently started module 23 and the start start timing of the next started module. Thereby, it can suppress more effectively that the microcomputer 11 resets.

(第3実施形態)
本実施形態において、第2実施形態に示したマイコン11及び電子制御装置10と共通する部分についての説明は割愛する。
(Third embodiment)
In the present embodiment, descriptions of parts common to the microcomputer 11 and the electronic control device 10 shown in the second embodiment are omitted.

本実施形態では、電源電圧が第2閾値Vth2を下回った後、電源電圧が第2閾値Vth2まで復帰してから所定時間経過するのを待って、次のモジュール23に電源電圧を供給する。   In this embodiment, after the power supply voltage falls below the second threshold value Vth2, the power supply voltage is supplied to the next module 23 after waiting for a predetermined time after the power supply voltage returns to the second threshold value Vth2.

図8に示すように、制御部24は、第1実施形態(図2)同様、ステップS10〜S30の処理を実行する。ステップS30において、電源電圧が第2閾値Vth2を下回ったと判定すると、制御部24は、電源電圧が第2閾値Vth2以上であるか否かを判定する(ステップS43)。すなわち、電源電圧が第2閾値Vth2まで復帰したか否かを判定する。電源電圧が第2閾値Vth2以上であると判定されるまで、繰り返しステップS43を実行する。電源電圧が第2閾値Vth2以上であると判定されると、制御部24は、所定時間t3待機する(ステップS44)。所定時間t3は、任意のモジュール23の立ち上げの終了と、次のモジュール23の立ち上げとの間に所定の待機状態が形成されるように設定される。所定時間t3としては、たとえば数msが設定される。   As illustrated in FIG. 8, the control unit 24 executes the processes of steps S <b> 10 to S <b> 30 as in the first embodiment (FIG. 2). If it is determined in step S30 that the power supply voltage has fallen below the second threshold Vth2, the control unit 24 determines whether or not the power supply voltage is equal to or higher than the second threshold Vth2 (step S43). That is, it is determined whether or not the power supply voltage has returned to the second threshold value Vth2. Step S43 is repeatedly executed until it is determined that the power supply voltage is equal to or higher than the second threshold value Vth2. When it is determined that the power supply voltage is equal to or higher than the second threshold Vth2, the control unit 24 waits for a predetermined time t3 (step S44). The predetermined time t3 is set so that a predetermined standby state is formed between the end of the start-up of an arbitrary module 23 and the start-up of the next module 23. For example, several ms is set as the predetermined time t3.

所定時間t3が経過すると、次いで制御部24は、第2実施形態同様、ステップS60を実行する。それ以外の点については、第2実施形態と同じである。   When the predetermined time t3 has elapsed, the control unit 24 then executes step S60 as in the second embodiment. The other points are the same as in the second embodiment.

図9では、第1実施形態(図3)同様、コンデンサ14が脱落しており、第2モジュール23の立ち上げ途中、具体的には第2モジュール23の立ち上げ途中である時刻T30に、電源電圧が第2閾値Vth2を下回る場合を示している。また、第2モジュール立ち上げが終了する時刻T40後の時刻T41で、電源電圧が第2閾値Vth2に復帰する。上記したように、本実施形態では、電源電圧が第2閾値Vth2を下回った後、電源電圧が第2閾値Vth2まで復帰してから所定時間t3が経過するのを待って、次の第3モジュール23に電源電圧を供給する。すなわち、現在立ち上げている第2モジュール23の終了タイミングと、次に立ち上げる第3モジュールの立ち上げ開始タイミングとの間に所定の待機時間を設ける。これにより、コンデンサ14が外れることで電源電圧の負荷変動を抑制する機能が低下していても、待機時間の分、電源電圧が復帰(上昇)する。したがって、電源電圧の負荷変動を抑制する機能が低下していても、複数のモジュール23を順番に立ち上げることにより急激な電圧降下が生じて、マイコン11がリセットするのを抑制することができる。   In FIG. 9, as in the first embodiment (FIG. 3), the capacitor 14 has fallen off, and the power supply is at the time T30 during the start-up of the second module 23, specifically during the start-up of the second module 23. The case where the voltage falls below the second threshold value Vth2 is shown. In addition, the power supply voltage returns to the second threshold value Vth2 at time T41 after time T40 when the second module start-up ends. As described above, in the present embodiment, after the power supply voltage falls below the second threshold value Vth2, the next third module is waited for a predetermined time t3 after the power supply voltage returns to the second threshold value Vth2. A power supply voltage is supplied to 23. That is, a predetermined standby time is provided between the end timing of the second module 23 that is currently started up and the start timing of the third module that is started up next. As a result, even if the function of suppressing the load fluctuation of the power supply voltage is reduced due to the removal of the capacitor 14, the power supply voltage is restored (increased) by the standby time. Therefore, even if the function of suppressing the load fluctuation of the power supply voltage is lowered, it is possible to prevent the microcomputer 11 from being reset due to a sudden voltage drop caused by sequentially starting up the plurality of modules 23.

特に本実施形態では、電源電圧が第2閾値Vth2まで復帰してから所定時間t3が経過するのを待って、次のモジュール23に電源電圧を供給する。したがって、所定時間t3により、電源電圧を第2閾値Vth2に対して確実に上昇させることができる。これにより、マイコン11がリセットするのをより効果的に抑制することができる。   In particular, in this embodiment, the power supply voltage is supplied to the next module 23 after waiting for a predetermined time t3 after the power supply voltage returns to the second threshold value Vth2. Therefore, the power supply voltage can be reliably increased with respect to the second threshold value Vth2 by the predetermined time t3. Thereby, it can suppress more effectively that the microcomputer 11 resets.

(第4実施形態)
本実施形態において、第2実施形態に示したマイコン11及び電子制御装置10と共通する部分についての説明は割愛する。
(Fourth embodiment)
In the present embodiment, descriptions of parts common to the microcomputer 11 and the electronic control device 10 shown in the second embodiment are omitted.

本実施形態では、電源電圧が第2閾値Vth2を下回った後、電源電圧が第2閾値Vth2よりも高い値が設定される所定の第3閾値Vth3まで復帰すると、次のモジュール23に電源電圧を供給する。   In the present embodiment, after the power supply voltage falls below the second threshold value Vth2, when the power supply voltage returns to a predetermined third threshold value Vth3 that is set to a value higher than the second threshold value Vth2, the power supply voltage is supplied to the next module 23. Supply.

図10に示すように、制御部24は、第1実施形態(図2)同様、ステップS10〜S30の処理を実行する。ステップS30において、電源電圧が第2閾値Vth2を下回ったと判定すると、制御部24は、電源電圧が第3閾値Vth3以上であるか否かを判定する(ステップS45)。すなわち、電源電圧が第3閾値Vth3まで復帰したか否かを判定する。第3閾値Vth3は、言うなれば電圧安定閾値である。第3閾値Vth3としては、第2閾値Vth2よりも高い値(たとえば4V)が設定される。   As illustrated in FIG. 10, the control unit 24 performs the processes of steps S <b> 10 to S <b> 30 as in the first embodiment (FIG. 2). If it is determined in step S30 that the power supply voltage has fallen below the second threshold value Vth2, the control unit 24 determines whether or not the power supply voltage is greater than or equal to the third threshold value Vth3 (step S45). That is, it is determined whether or not the power supply voltage has returned to the third threshold value Vth3. In other words, the third threshold value Vth3 is a voltage stabilization threshold value. As the third threshold Vth3, a value (for example, 4V) higher than the second threshold Vth2 is set.

電源電圧が第3閾値Vth3以上であると判定されるまで、繰り返しステップS45を実行する。電源電圧が第3閾値Vth3以上であると判定されると、制御部24は、第1実施形態同様、ステップS50を実行する。それ以外の点については、第1実施形態と同じである。   Step S45 is repeatedly executed until it is determined that the power supply voltage is equal to or higher than the third threshold value Vth3. When it is determined that the power supply voltage is equal to or higher than the third threshold value Vth3, the control unit 24 executes Step S50 as in the first embodiment. The other points are the same as in the first embodiment.

図11では、第1実施形態(図3)同様、コンデンサ14が脱落しており、第2モジュール23の立ち上げ途中、具体的には第2モジュール23の立ち上げ途中である時刻T30に、電源電圧が第2閾値Vth2を下回る場合を示している。上記したように、本実施形態では、電源電圧が第2閾値Vth2を下回った後、電源電圧が第3閾値Vth3まで復帰(上昇)するのを待って、次の第3モジュール23に電源電圧を供給する。これにより、コンデンサ14が外れることで電源電圧の負荷変動を抑制する機能が低下していても、第3閾値Vth3まで電源電圧が復帰(上昇)する。したがって、電源電圧の負荷変動を抑制する機能が低下していても、複数のモジュール23を順番に立ち上げることにより急激な電圧降下が生じて、マイコン11がリセットするのを抑制することができる。   In FIG. 11, as in the first embodiment (FIG. 3), the capacitor 14 has been dropped, and the power supply is turned on at the time T30 during the start-up of the second module 23, specifically during the start-up of the second module 23. The case where the voltage falls below the second threshold value Vth2 is shown. As described above, in this embodiment, after the power supply voltage falls below the second threshold value Vth2, the power supply voltage is returned to (increased) to the third threshold value Vth3, and then the power supply voltage is applied to the next third module 23. Supply. Thereby, even if the function of suppressing the load fluctuation of the power supply voltage is reduced due to the removal of the capacitor 14, the power supply voltage is restored (increased) to the third threshold value Vth3. Therefore, even if the function of suppressing the load fluctuation of the power supply voltage is lowered, it is possible to prevent the microcomputer 11 from being reset due to a sudden voltage drop caused by sequentially starting up the plurality of modules 23.

特に本実施形態では、電源電圧が第3閾値Vth3まで復帰するのを待って、次のモジュール23に電源電圧を供給する。すなわち、電源電圧が所定値まで復帰してから次のモジュール23を立ち上げる。これにより、マイコン11がリセットするのをより効果的に抑制することができる。   In particular, in the present embodiment, the power supply voltage is supplied to the next module 23 after waiting for the power supply voltage to return to the third threshold value Vth3. That is, the next module 23 is started after the power supply voltage returns to a predetermined value. Thereby, it can suppress more effectively that the microcomputer 11 resets.

以上、本発明の好ましい実施形態について説明したが、本発明は上記実施形態になんら制限されることなく、本発明の主旨を逸脱しない範囲において、種々変形して実施することが可能である。   The preferred embodiments of the present invention have been described above, but the present invention is not limited to the above-described embodiments, and various modifications can be made without departing from the spirit of the present invention.

電子制御装置10としては、エンジンECUに限定されない。   The electronic control device 10 is not limited to the engine ECU.

バッファ25については、制御部24内に設けることもできる。   The buffer 25 may be provided in the control unit 24.

コンデンサ14が外れることで、電源電圧の負荷変動を抑制する機能が低下する例を示した。しかしながら、コンデンサ13が外れても、電源電圧の負荷変動を抑制する機能が低下する。すなわち、コンデンサ13,14の少なくとも一方が外れると、電源電圧の負荷変動を抑制する機能が低下する。また、経年劣化などバッテリ100の性能が低下することによっても、電源電圧の負荷変動を抑制する機能が低下する。   The example in which the function of suppressing the load fluctuation of the power supply voltage is reduced by removing the capacitor 14 is shown. However, even if the capacitor 13 is removed, the function of suppressing the load fluctuation of the power supply voltage is degraded. That is, when at least one of the capacitors 13 and 14 is disconnected, the function of suppressing the load fluctuation of the power supply voltage is degraded. In addition, the function of suppressing the load fluctuation of the power supply voltage also decreases due to a decrease in the performance of the battery 100 such as aged deterioration.

10…電子制御装置、11…マイコン、12…電源IC、13,14…コンデンサ、20…監視回路、21…異常検出回路、22…リセット回路、23…モジュール、24…制御部、25…バッファ、100…バッテリ、101…電気負荷 DESCRIPTION OF SYMBOLS 10 ... Electronic control device, 11 ... Microcomputer, 12 ... Power supply IC, 13, 14 ... Capacitor, 20 ... Monitoring circuit, 21 ... Abnormality detection circuit, 22 ... Reset circuit, 23 ... Module, 24 ... Control part, 25 ... Buffer, 100 ... battery, 101 ... electric load

Claims (6)

コンデンサ(13,14)を介して電源電圧が供給されて、所定の処理を実行するマイクロコンピュータであって、
供給される前記電源電圧を監視する監視回路(20)と、
機能回路をそれぞれ有する複数のモジュール(23)と、
前記モジュールを動作させるための前記モジュールへの前記電源電圧の供給タイミングを制御するとともに、前記電源電圧の投入時には複数の前記モジュールが1つずつ順番に立ち上がって動作を開始するよう前記供給タイミングを制御する制御部(24)と、を備え、
前記電源電圧の投入時において、リセットのための第1閾値(Vth1)よりも高い値が設定される所定の第2閾値(Vth2)を、前記監視回路が監視する前記電源電圧が下回る場合に、前記制御部は、次に動作を開始させる前記モジュールへの前記電源電圧の供給タイミングを、前記電源電圧が前記第2閾値を下回らない場合よりも遅らせることを特徴とするマイクロコンピュータ。
A microcomputer that is supplied with a power supply voltage via a capacitor (13, 14) and executes a predetermined process,
A monitoring circuit (20) for monitoring the supplied power supply voltage;
A plurality of modules (23) each having a functional circuit;
Controls the supply timing of the power supply voltage to the module for operating the module, and controls the supply timing so that when the power supply voltage is turned on, the plurality of modules start up one after another in sequence. A control unit (24) for performing,
When the power supply voltage monitored by the monitoring circuit falls below a predetermined second threshold value (Vth2) that is set higher than the first threshold value for resetting (Vth1) at the time of turning on the power supply voltage, The microcomputer is characterized in that the control unit delays the supply timing of the power supply voltage to the module to start the operation next than the case where the power supply voltage does not fall below the second threshold value.
前記制御部は、前記監視回路が監視する前記電源電圧が前記第2閾値を下回ってから所定時間経過すると、次の前記モジュールに前記電源電圧を供給するよう前記電源電圧の供給タイミングを制御することを特徴とする請求項1に記載のマイクロコンピュータ。   The control unit controls the supply timing of the power supply voltage so as to supply the power supply voltage to the next module when a predetermined time elapses after the power supply voltage monitored by the monitoring circuit falls below the second threshold value. The microcomputer according to claim 1. 前記制御部は、前記監視回路が監視する前記電源電圧が前記第2閾値を下回る場合、現在立ち上げ中の前記モジュールの立ち上げが終了してから所定時間経過すると、次の前記モジュールに前記電源電圧を供給するよう前記電源電圧の供給タイミングを制御することを特徴とする請求項1に記載のマイクロコンピュータ。   When the power supply voltage monitored by the monitoring circuit is lower than the second threshold, the control unit sends the power to the next module after a predetermined time has elapsed since the start-up of the currently started up module is completed. 2. The microcomputer according to claim 1, wherein a supply timing of the power supply voltage is controlled so as to supply a voltage. 前記制御部は、前記監視回路が監視する前記電源電圧が前記第2閾値を下回った後、前記第2閾値まで復帰してから所定時間経過すると、次の前記モジュールに前記電源電圧を供給するよう前記電源電圧の供給タイミングを制御することを特徴とする請求項1に記載のマイクロコンピュータ。   The control unit supplies the power supply voltage to the next module when a predetermined time elapses after the power supply voltage monitored by the monitoring circuit falls below the second threshold and then returns to the second threshold. 2. The microcomputer according to claim 1, wherein a supply timing of the power supply voltage is controlled. 前記制御部は、前記監視回路が監視する前記電源電圧が前記第2閾値を下回った後、前記第2閾値よりも高い値が設定される所定の第3閾値(Vth3)まで復帰すると、次の前記モジュールに前記電源電圧を供給するよう前記電源電圧の供給タイミングを制御することを特徴とする請求項1に記載のマイクロコンピュータ。   After the power supply voltage monitored by the monitoring circuit falls below the second threshold value, the control unit returns to a predetermined third threshold value (Vth3) set to a value higher than the second threshold value. 2. The microcomputer according to claim 1, wherein a supply timing of the power supply voltage is controlled so as to supply the power supply voltage to the module. 請求項1〜5いずれか1項に記載のマイクロコンピュータ(11)と、
前記電源電圧を出力する電源回路(12)と、
前記電源電圧を安定化させるためのコンデンサ(13,14)と、
を備えることを特徴とする電子制御装置。
A microcomputer (11) according to any one of claims 1 to 5,
A power supply circuit (12) for outputting the power supply voltage;
Capacitors (13, 14) for stabilizing the power supply voltage;
An electronic control device comprising:
JP2015087028A 2015-04-21 2015-04-21 Microcomputer and electronic control device Active JP6384393B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015087028A JP6384393B2 (en) 2015-04-21 2015-04-21 Microcomputer and electronic control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015087028A JP6384393B2 (en) 2015-04-21 2015-04-21 Microcomputer and electronic control device

Publications (2)

Publication Number Publication Date
JP2016206906A JP2016206906A (en) 2016-12-08
JP6384393B2 true JP6384393B2 (en) 2018-09-05

Family

ID=57487845

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015087028A Active JP6384393B2 (en) 2015-04-21 2015-04-21 Microcomputer and electronic control device

Country Status (1)

Country Link
JP (1) JP6384393B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7226303B2 (en) * 2019-12-26 2023-02-21 株式会社デンソー Control device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004120971A (en) * 2002-09-30 2004-04-15 Nec Engineering Ltd Power supply apparatus
US7170315B2 (en) * 2003-07-31 2007-01-30 Actel Corporation Programmable system on a chip
JP4423468B2 (en) * 2004-03-01 2010-03-03 富士電機システムズ株式会社 Power start circuit, start / stop order control device, and start / stop order control method
JP2006082407A (en) * 2004-09-16 2006-03-30 Fuji Xerox Co Ltd Image forming device and power-saving control method
US7630841B2 (en) * 2007-03-30 2009-12-08 Texas Instruments Incorporated Supervising and sequencing commonly driven power supplies with digital information

Also Published As

Publication number Publication date
JP2016206906A (en) 2016-12-08

Similar Documents

Publication Publication Date Title
JP5743932B2 (en) ECU abnormality monitoring circuit
JP4665846B2 (en) Microcomputer and electronic control device
US9477542B2 (en) Electronic control unit
JP7269359B2 (en) electronic controller
JP6384393B2 (en) Microcomputer and electronic control device
JP2016222187A (en) Electronic control device
JP6142849B2 (en) Battery monitoring system
JP5555472B2 (en) Electronic control system for vehicles
JP6183229B2 (en) Electronic control unit
JP2015042072A5 (en)
JP6321421B2 (en) Vehicle power supply
US9599644B2 (en) Semiconductor device
JP5800358B2 (en) Power switch protection circuit and in-vehicle equipment
JP2007041824A (en) Resetting circuit for electronic control unit
JP6181011B2 (en) Control device for internal combustion engine
JP6332048B2 (en) Electronic control unit
JP6236325B2 (en) Processor control apparatus and control method
JP6447268B2 (en) Electronic control unit
JP6172040B2 (en) Electronic control unit
JP5949576B2 (en) Load drive circuit
JP4419671B2 (en) Reset control circuit
JP2016032989A (en) Load controller
JP2008088921A (en) On-vehicle electronic equipment control system
JP2008210096A (en) Memory check system of electronic control unit
JP6477535B2 (en) Electronic control unit

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170725

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180628

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180723

R151 Written notification of patent or utility model registration

Ref document number: 6384393

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250