JP2011213337A - On-vehicle ecu - Google Patents

On-vehicle ecu Download PDF

Info

Publication number
JP2011213337A
JP2011213337A JP2010156716A JP2010156716A JP2011213337A JP 2011213337 A JP2011213337 A JP 2011213337A JP 2010156716 A JP2010156716 A JP 2010156716A JP 2010156716 A JP2010156716 A JP 2010156716A JP 2011213337 A JP2011213337 A JP 2011213337A
Authority
JP
Japan
Prior art keywords
microcomputer
intermittent operation
power
power supply
vehicle ecu
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2010156716A
Other languages
Japanese (ja)
Other versions
JP5640508B2 (en
Inventor
Kiyonori Kano
清徳 加納
Akiyo Watanabe
章代 渡辺
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.)
Sumitomo Wiring Systems Ltd
AutoNetworks Technologies Ltd
Sumitomo Electric Industries Ltd
Original Assignee
Sumitomo Wiring Systems Ltd
AutoNetworks Technologies Ltd
Sumitomo Electric Industries Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sumitomo Wiring Systems Ltd, AutoNetworks Technologies Ltd, Sumitomo Electric Industries Ltd filed Critical Sumitomo Wiring Systems Ltd
Priority to JP2010156716A priority Critical patent/JP5640508B2/en
Publication of JP2011213337A publication Critical patent/JP2011213337A/en
Application granted granted Critical
Publication of JP5640508B2 publication Critical patent/JP5640508B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Power Sources (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an on-vehicle ECU for minimizing electric power consumption when requiring no operation of an internal microcomputer.SOLUTION: The microcomputer 1 switches to the intermittent operation mode setting by setting a power source control terminal PV (a microcomputer output signal S1) to "L", and setting a switching circuit control terminal PC to "H", when recognizing that an internal power source OFF condition is satisfied when setting an ordinary operation mode. When setting an intermittent operation mode, supply of an operating power source V4 from a power source IC4 to the microcomputer 1 when requiring no operation, is completely cut off under the control of an intermittent operation clock generating part 2 and a switching circuit 3. The microcomputer 1 returns a mode to the ordinary operation mode from the intermittent operation mode by setting the power source control terminal PV to "H", and setting the switching circuit control terminal PC to "L", when detecting a starting factor in intermittent operation.

Description

この発明は、車両に搭載される車載用ECU(Electronic Control Unit)に関する。   The present invention relates to an in-vehicle ECU (Electronic Control Unit) mounted on a vehicle.

従来、車両には車載用ECUと呼ばれる電子装置が複数搭載されており、各車載用ECUがCAN(Controller Area Network)などのネットワークを介して情報を交換しながら協調動作することによって、車両の走行に係る制御及び車室内などの快適性に係る制御等を実現している。また各車載用ECUは、車両のバッテリ又はオルタネータ等の電源に電力線を介して接続され、電源から供給される電力により動作している。近年では、車両に搭載される車載用ECUの数が増大しているため省電力化が求められている。   2. Description of the Related Art Conventionally, a vehicle has a plurality of electronic devices called vehicle-mounted ECUs. Each vehicle-mounted ECU exchanges information via a network such as a CAN (Controller Area Network) so that the vehicle travels. And the control related to the comfort of the passenger compartment. Each on-vehicle ECU is connected to a power source such as a battery or an alternator of the vehicle via a power line and is operated by power supplied from the power source. In recent years, since the number of in-vehicle ECUs mounted on a vehicle is increasing, power saving is required.

そして、車両の高機能化に伴い、車載用ECUに高機能なマイクロコンピュータ(以下、「マイコン」と略記する。)が多数搭載されるようになった。これらマイコンを駆動させるため消費電力や暗電流が増加し、バッテリ上がりや燃費低減の一因となっている。そこで、マイコンのモードをHALTモード(CPUの命令実行を中断するモード)やSTOPモード(CPUおよび周辺回路の動作を停止するモード)にして、通常モード中に上述したHALTモード(STOPモード)を挿入して、マイコンによる通常モード動作を間欠動作させることが一般的に行われている。   Along with the enhancement of the functions of vehicles, a large number of high-performance microcomputers (hereinafter abbreviated as “microcomputers”) have been mounted on in-vehicle ECUs. Driving these microcomputers increases power consumption and dark current, contributing to battery drain and fuel consumption reduction. Therefore, the microcomputer mode is changed to the HALT mode (mode for interrupting CPU instruction execution) or STOP mode (mode for stopping the operation of the CPU and peripheral circuits), and the above-described HALT mode (STOP mode) is inserted into the normal mode. The normal mode operation by the microcomputer is generally performed intermittently.

また、電力消費を低減することができる車載用ECUとして、例えば特許文献1で開示された車載機器の駆動制御装置が挙げられる。この制御装置は、車両に接近する物体を検出するための接近センサが設けられ、コントローラはスイッチを間欠的にオンして上記接近センサを間欠的に駆動させる。コントローラは、上記接近センサを間欠的に駆動させた時において上記接近センサにより車両に接近する物体を検出すると、それまで駆動を停止させていた駆動制御対象の侵入センサの駆動を開始させている。   Moreover, as a vehicle-mounted ECU that can reduce power consumption, for example, a drive control device for a vehicle-mounted device disclosed in Patent Document 1 can be cited. The control device is provided with an approach sensor for detecting an object approaching the vehicle, and the controller intermittently turns on the switch to drive the approach sensor intermittently. When the controller detects the object approaching the vehicle by the proximity sensor when the proximity sensor is intermittently driven, the controller starts driving the intrusion sensor to be driven that has been stopped until then.

特許第4149879号公報Japanese Patent No. 4149879

しかしながら、マイコンのHALTモードやSTOPモードではマイコンの主要動作は停止するが、マイコン自体には常に電源が供給されているため、HALTモードやSTOPモード期間中においても“0”でない電力が消費されることになるという問題点があった。   However, in the microcomputer HALT mode or STOP mode, the main operation of the microcomputer is stopped, but since power is always supplied to the microcomputer itself, non-zero power is consumed even during the HALT mode and the STOP mode. There was a problem that it would be.

同様なことが特許文献1で開示された上記制御装置においても当てはまる。すなわち、接近センサや浸入センサを駆動させるコントローラ(マイコンに相当)及びコントローラを制御するセキュリティECUには、常時電源が供給されており、この点において消費電力を抑制できていないという問題点があった。   The same applies to the control device disclosed in Patent Document 1. That is, the controller (equivalent to the microcomputer) that drives the proximity sensor and the intrusion sensor and the security ECU that controls the controller are always supplied with power, and there is a problem that power consumption cannot be suppressed in this respect. .

この発明は上記問題点を解決するためになされたもので、内部のマイコンの動作不要時における消費電力を最小限に抑えた車載用ECUを得ることを目的とする。   The present invention has been made to solve the above-described problems, and an object of the present invention is to obtain an in-vehicle ECU that minimizes power consumption when the operation of an internal microcomputer is unnecessary.

この発明に係る請求項1記載の車載用ECUは、動作電源の供給時に動作状態となり、動作中において所定条件成立時に、間欠動作モード設定を行うマイコンと、前記間欠動作モード設定時において、電源OFF期間及び電源ON期間を交互に指示する電源供給制御信号を生成する間欠動作電源制御部と、通常モード設定時において前記マイコンに前記動作電源を供給し、前記間欠動作モード設定時において前記電源供給制御信号が電源オン期間を指示するときにのみ前記マイコンに前記動作電源の供給を行う電源部とを備え、前記マイコンは、前記間欠動作モード設定時において、動作状態時に車両に関連する起動要因の有無を検出する間欠時動作を行い、前記起動要因の発生を検出すると、前記間欠動作モード設定から前記通常モード設定に改める。   According to a first aspect of the present invention, an in-vehicle ECU is in an operating state when operating power is supplied, and is configured to set an intermittent operation mode when a predetermined condition is satisfied during operation, and to turn off the power when the intermittent operation mode is set. An intermittent operation power control unit that generates a power supply control signal that alternately indicates a period and a power ON period, and supplies the operation power to the microcomputer when the normal mode is set, and the power supply control when the intermittent operation mode is set A power supply unit that supplies the operating power to the microcomputer only when a signal indicates a power-on period, and the microcomputer has an activation factor related to the vehicle in the operating state when the intermittent operation mode is set. When intermittent operation is performed to detect occurrence of the activation factor, the normal mode setting is changed from the intermittent operation mode setting. Revised to.

請求項2記載の本願発明は、請求項1記載の車載用ECUであって、外部の通信線との送受信が可能な通信部をさらに備え、前記マイコンは前記通信部とデータの授受が可能であり、前記所定条件は、前記通信部の受信内容に関する第1の条件と、前記マイコン内部における第2の条件との組合せ条件を含み、前記通信部は前記電源部を前記間欠動作モード設定から前記通常動作モード設定に変更可能なモード変換機能を有する。   The present invention according to claim 2 is the in-vehicle ECU according to claim 1, further comprising a communication unit capable of transmitting and receiving with an external communication line, and the microcomputer is capable of transmitting and receiving data to and from the communication unit. And the predetermined condition includes a combination condition of a first condition related to the received content of the communication unit and a second condition inside the microcomputer, and the communication unit changes the power supply unit from the intermittent operation mode setting to the It has a mode conversion function that can be changed to normal operation mode setting.

請求項3記載の本願発明は、請求項1あるいは請求項2記載の車載用ECUであって、前記間欠動作電源制御部は、動作状態時に間欠動作クロックを生成する間欠動作用クロック生成部と、前記マイコンによる前記間欠動作モード設定時において、前記間欠動作用クロック生成部を動作状態にするとともに、前記間欠動作クロックを前記電源供給制御信号として前記電源部に供給する第1の切換設定を行い、前記マイコンによる前記通常モード設定時において、前記間欠動作クロックを非動作状態とする第2の切換設定を行う切換回路とを含む。   A third aspect of the present invention is the in-vehicle ECU according to the first or second aspect, wherein the intermittent operation power supply control unit generates an intermittent operation clock in an operating state; At the time of setting the intermittent operation mode by the microcomputer, the intermittent operation clock generation unit is set to an operation state, and the first switching setting for supplying the intermittent operation clock to the power supply unit as the power supply control signal is performed. And a switching circuit for performing a second switching setting for setting the intermittent operation clock to a non-operating state when the microcomputer sets the normal mode.

請求項4記載の本願発明は、請求項3記載の車載用ECUであって、前記マイコンは、前記間欠動作モード設定時に実行される前記間欠時動作によって前記起動要因の発生が検出されない場合、前記間欠動作用クロック生成部をリセットさせるクロックリセット機能を有し、前記間欠動作用クロック生成部は前記リセット後、前記電源OFF期間、前記電源ON期の順で指示する前記間欠動作用クロックを生成する。   The present invention according to claim 4 is the in-vehicle ECU according to claim 3, wherein the microcomputer is not detected when the activation factor is detected by the intermittent operation performed when the intermittent operation mode is set. A clock reset function for resetting the intermittent operation clock generation unit, and the intermittent operation clock generation unit generates the intermittent operation clock instructed in the order of the power OFF period and the power ON period after the reset; .

請求項5記載の本願発明は、請求項1ないし請求項4記載のうち、いずれか1項に記載の車載ECUであって、前記マイコンは内部に不揮発性メモリを有し、前記間欠動作モード設定時に前記不揮発性メモリに間欠動作モードを指示する判別用データを書込み、前記マイコンは前記動作電源の供給開始時において、前記不揮発性メモリ内の前記判別用データを参照して、前記間欠動作モード設定の有無を認識する。   The present invention according to claim 5 is the in-vehicle ECU according to any one of claims 1 to 4, wherein the microcomputer has a nonvolatile memory therein, and the intermittent operation mode setting is performed. Sometimes the determination data for instructing the intermittent operation mode is written to the nonvolatile memory, and the microcomputer refers to the determination data in the nonvolatile memory when the operation power supply starts, and sets the intermittent operation mode. Recognize the presence or absence of

請求項6記載の本願発明は、請求項5記載の車載ECUであって、前記マイコンは、前記間欠動作モード設定時に前記不揮発性メモリに、車両に関連する状態を指示する情報を端子情報として書込む。   The present invention according to claim 6 is the in-vehicle ECU according to claim 5, wherein the microcomputer writes, as terminal information, information indicating a state related to a vehicle in the nonvolatile memory when the intermittent operation mode is set. Include.

請求項7記載の本願発明は、請求項6記載の車載ECUであって、前記マイコンは、前記不揮発性メモリから読み出した前記端子情報と、前記間欠時動作中に取得した前記端子情報との比較結果に基づき前記起動要因の有無を検出することにより、前記間欠時動作を行う。   The present invention according to claim 7 is the in-vehicle ECU according to claim 6, wherein the microcomputer compares the terminal information read from the nonvolatile memory with the terminal information acquired during the intermittent operation. The intermittent operation is performed by detecting the presence or absence of the activation factor based on the result.

請求項1記載の本願発明の車載用ECUにおいて、電源部は、間欠動作モード設定時において電源供給制御信号が電源オン期間を指示するときにのみマイコンに動作電源の供給を行うため、マイコンの動作不要時は動作電源の供給を遮断して間欠動作モード設定時におけるマイコンの消費電力を最小限に抑えながら、マイコンに間欠時動作を実行させることができる。   In the on-vehicle ECU of the present invention according to claim 1, since the power supply unit supplies operating power to the microcomputer only when the power supply control signal indicates the power-on period when the intermittent operation mode is set, the operation of the microcomputer When not required, it is possible to cause the microcomputer to execute an intermittent operation while cutting off the supply of operating power and minimizing the power consumption of the microcomputer when the intermittent operation mode is set.

加えて、請求項1記載の本願発明の車載用ECUにおいて、マイコンは、間欠動作モード設定時において、間欠時動作を行い起動要因の発生を検出すると、間欠動作モード設定から通常モード設定に改めるため、他の車載用ECUに依存することなく単独で間欠時動作の終了制御を行うことができる。   In addition, in the vehicle-mounted ECU according to the first aspect of the present invention, in the intermittent operation mode setting, when the microcomputer performs the intermittent operation and detects the occurrence of the activation factor, the microcomputer changes from the intermittent operation mode setting to the normal mode setting. The end control of the intermittent operation can be performed independently without depending on other on-vehicle ECUs.

請求項2記載の本願発明は、マイコンの内部要因(第2の条件)に加えて、外部情報(第1の条件)によって、間欠動作モード設定を行うとともに、間欠動作モード設定から通常モード設定への解除設定を行うことができる。   The present invention according to claim 2 sets the intermittent operation mode according to external information (first condition) in addition to the internal factor (second condition) of the microcomputer, and from the intermittent operation mode setting to the normal mode setting. Can be set to cancel.

請求項3記載の本願発明は、間欠動作モード設定時において電源部の動作電源の制御を行う間欠動作電源制御部として、間欠動作用クロック生成部及び切換回路よりなる必要最小限な構成で実現できる。   The present invention according to claim 3 can be realized as the intermittent operation power supply control unit for controlling the operation power supply of the power supply unit at the time of setting the intermittent operation mode, with a minimum necessary configuration including an intermittent operation clock generation unit and a switching circuit. .

請求項4記載の本願発明において、マイコンによる間欠時動作の実行後は、間欠動作用クロック生成部をリセットして、速やかにマイコンへの動作電源の供給を遮断することにより、消費電力をさらに抑えることができる。   In the present invention of claim 4, after the intermittent operation by the microcomputer is executed, the intermittent operation clock generator is reset to quickly cut off the power supply to the microcomputer, thereby further reducing power consumption. be able to.

請求項5記載の本願発明は、マイコンへの動作電源の供給開始時において、マイコンは、内部の不揮発性メモリ内の判別データを参照することにより、間欠動作モード設定時に正しく間欠時動作を実行することができる。   According to the fifth aspect of the present invention, when the operation power supply to the microcomputer is started, the microcomputer correctly executes the intermittent operation when the intermittent operation mode is set by referring to the determination data in the internal nonvolatile memory. be able to.

請求項6記載の本願発明は端子情報を不揮発性メモリに書き込むことにより、間欠動作モード設定時前の端子情報を活用することができる。   According to the sixth aspect of the present invention, the terminal information before the intermittent operation mode is set can be utilized by writing the terminal information into the nonvolatile memory.

請求項7記載の車載用ECUのマイコンは、不揮発性メモリから読み出した端子情報と、間欠時動作中に取得した端子情報との比較結果に基づき起動要因の有無を検出することにより、間欠時動作を行っている。   The microcomputer of the on-vehicle ECU according to claim 7 is configured to operate intermittently by detecting presence or absence of an activation factor based on a comparison result between the terminal information read from the nonvolatile memory and the terminal information acquired during the intermittent operation. It is carried out.

したがって、請求項7記載の本願発明は、車両に関連する状態の経時変化を起動要因として、確実にマイコンを起動させることができる効果を奏する。   Therefore, the present invention according to claim 7 has an effect that the microcomputer can be surely activated by using a change with time of the state related to the vehicle as an activation factor.

この発明の実施の形態1である車載用ECUの内部構成を示すブロック図である。It is a block diagram which shows the internal structure of vehicle-mounted ECU which is Embodiment 1 of this invention. 実施の形態1の車載用ECUの間欠動作に関連する一連の処理を示すフローチャートである。3 is a flowchart showing a series of processes related to an intermittent operation of the in-vehicle ECU according to the first embodiment. 実施の形態1の車載用ECUの間欠動作に関連する一連の処理を示すフローチャートである。3 is a flowchart showing a series of processes related to an intermittent operation of the in-vehicle ECU according to the first embodiment. この発明の実施の形態2である車載用ECUの内部構成を示すブロック図である。It is a block diagram which shows the internal structure of vehicle-mounted ECU which is Embodiment 2 of this invention. 実施の形態2の車載用ECUの間欠動作に関連する一連の処理を示すフローチャートである。6 is a flowchart showing a series of processes related to an intermittent operation of the in-vehicle ECU according to the second embodiment. 実施の形態2の車載用ECUの間欠動作に関連する一連の処理を示すフローチャートである。6 is a flowchart showing a series of processes related to an intermittent operation of the in-vehicle ECU according to the second embodiment. この発明の実施の形態3である車載用ECUの内部構成を示すブロック図である。It is a block diagram which shows the internal structure of in-vehicle ECU which is Embodiment 3 of this invention. 実施の形態3の車載用ECUの間欠動作に関連する一連の処理を示すフローチャートである。10 is a flowchart illustrating a series of processes related to intermittent operation of the in-vehicle ECU according to the third embodiment. 実施の形態3の車載用ECUの間欠動作に関連する一連の処理を示すフローチャートである。10 is a flowchart illustrating a series of processes related to intermittent operation of the in-vehicle ECU according to the third embodiment.

<実施の形態1>
図1はこの発明の実施の形態1である車載用ECUの内部構成を示すブロック図である。実施の形態1の車載用ECU10は、内部にマイコン1、間欠動作用クロック生成部2、切換回路3、電源IC4、論理回路5及び抵抗部8を有している。
<Embodiment 1>
FIG. 1 is a block diagram showing the internal configuration of an in-vehicle ECU that is Embodiment 1 of the present invention. The in-vehicle ECU 10 according to the first embodiment includes a microcomputer 1, an intermittent operation clock generation unit 2, a switching circuit 3, a power supply IC 4, a logic circuit 5, and a resistance unit 8.

マイコン1は電源入力部VCCへの動作電源V4の供給時に動作状態となり、動作状態時に内部発振器11により発生されるクロックで動作し、スイッチ群SW1〜SWnで検出される車両に関する外部入力を監視し、スイッチ群SW1〜SWnのいずれかから外部入力(の発生)を検出すると、検出した外部入力内容に応じた所定の動作制御を行う。なお、スイッチ群SW1〜SWnは車両における環境変化を外部入力として取り込めれば良く、パワーウィンドウのスイッチ入力等、一般的なスイッチは勿論、センサ等を含む。   The microcomputer 1 is in an operating state when the operating power supply V4 is supplied to the power input unit VCC, operates with a clock generated by the internal oscillator 11 in the operating state, and monitors external inputs relating to the vehicle detected by the switch groups SW1 to SWn. When an external input is detected from any one of the switch groups SW1 to SWn, predetermined operation control is performed according to the detected external input content. It should be noted that the switch groups SW1 to SWn only need to capture environmental changes in the vehicle as external inputs, and include sensors as well as general switches such as power window switch inputs.

さらに、マイコン1は不揮発性RAM1mを内蔵しており、電源OFF状態から電源が投入された電源ON復帰時において、不揮発性RAM1mに格納された判別用データCDの内容に基づき、通常のリセット動作あるいは間欠動作モード設定時における間欠時動作を実行する。   Further, the microcomputer 1 has a built-in nonvolatile RAM 1m. When the power is turned on from the power-off state, the microcomputer 1 performs a normal reset operation based on the contents of the determination data CD stored in the nonvolatile RAM 1m. Performs intermittent operation when the intermittent operation mode is set.

加えて、マイコン1は、電源OFF条件成立時に、不揮発性RAM1mに判別用データCDをセット状態に設定する書込み動作を行う。   In addition, the microcomputer 1 performs a write operation for setting the determination data CD to the set state in the nonvolatile RAM 1m when the power-off condition is established.

さらに、マイコン1は、間欠動作時に、スイッチ群SW1〜SWnのいずれかから外部入力を検出すると、起動要因ありと判断し、通常モードに復帰するための処理を行う。   Further, when the microcomputer 1 detects an external input from any of the switch groups SW1 to SWn during the intermittent operation, the microcomputer 1 determines that there is an activation factor and performs a process for returning to the normal mode.

間欠動作用クロック生成部2は電源入力部VCCに外部電源EVCが供給されると動作状態となり、動作状態時に間欠制御クロックC2を生成する。間欠制御クロックC2は電源ON復帰時あるいはリセット設定時において、“L”から始まり所定周期で“H”/“L”を繰り返す。なお、間欠制御クロックC2の周波数はマイコン1の内部発振器11の動作周波数に比べて小さくなるように設定されている。   When the external power supply EVC is supplied to the power input unit VCC, the intermittent operation clock generation unit 2 enters an operation state, and generates an intermittent control clock C2 during the operation state. The intermittent control clock C2 starts from “L” and repeats “H” / “L” at a predetermined cycle when the power is turned on or reset. Note that the frequency of the intermittent control clock C2 is set to be smaller than the operating frequency of the internal oscillator 11 of the microcomputer 1.

切換回路3は端子P31〜P36を有し、端子P31は、外部電源EVCが供給される電源線LVCに接続され、端子P32は間欠動作用クロック生成部2の電源入力部VCCに接続され、端子P33は抵抗部8を介して接地される。また、切換回路3の端子P34は間欠制御クロックC2を入力し、端子P35から得られる信号を切換回路出力信号S3として論理回路5に出力する。さらに、切換回路3の制御端子P36がマイコン1の切換回路制御端子PCに接続される。なお、切換回路3は端子P31より外部電源EVCを受けることにより後述する通常モード設定時及び間欠動作モード設定時のいずれにおいても動作状態である。   The switching circuit 3 has terminals P31 to P36, the terminal P31 is connected to the power supply line LVC supplied with the external power supply EVC, the terminal P32 is connected to the power supply input section VCC of the intermittent operation clock generation section 2, and the terminal P33 is grounded through the resistance unit 8. The terminal P34 of the switching circuit 3 receives the intermittent control clock C2, and outputs a signal obtained from the terminal P35 to the logic circuit 5 as the switching circuit output signal S3. Further, the control terminal P36 of the switching circuit 3 is connected to the switching circuit control terminal PC of the microcomputer 1. The switching circuit 3 is in an operating state in both a normal mode setting and an intermittent operation mode setting described later by receiving the external power supply EVC from the terminal P31.

このような構成の切換回路3は、制御端子P36に接続される切換回路制御端子PCが“H”の時、端子P31,P32間及び端子P34,P35間を電気的に接続する(図1において実線で示す)第1の切換設定(間欠動作用モード設定)を行う。   The switching circuit 3 having such a configuration electrically connects the terminals P31 and P32 and the terminals P34 and P35 when the switching circuit control terminal PC connected to the control terminal P36 is “H” (in FIG. 1). First switching setting (indicated by a solid line) (intermittent operation mode setting) is performed.

一方、切換回路3は、切換回路制御端子PCが“L”の時、端子P32,P33間及び端子P33,P35間を電気的に接続する(図1において破線で示す)第2の切換設定(通常動作用モード設定)を行う。   On the other hand, when the switching circuit control terminal PC is “L”, the switching circuit 3 electrically connects between the terminals P32 and P33 and between the terminals P33 and P35 (shown by a broken line in FIG. 1). Normal operation mode setting).

論理回路5は切換回路3からの切換回路出力信号S3及びマイコン1の電源制御端子PVから得られるマイコン出力信号S1を受け、マイコン出力信号S1及び切換回路出力信号S3のうち少なくとも一つが“H”の時“H”の論理回路出力信号S5を出力し、マイコン出力信号S1及び切換回路出力信号S3の双方が“L”のとき、“L”の論理回路出力信号S5を出力する。なお、図示していないが論理回路5には常時電源が供給されている。   The logic circuit 5 receives the switching circuit output signal S3 from the switching circuit 3 and the microcomputer output signal S1 obtained from the power supply control terminal PV of the microcomputer 1, and at least one of the microcomputer output signal S1 and the switching circuit output signal S3 is “H”. At this time, the logic circuit output signal S5 of “H” is output. When both the microcomputer output signal S1 and the switching circuit output signal S3 are “L”, the logic circuit output signal S5 of “L” is output. Although not shown, the logic circuit 5 is always supplied with power.

電源IC4は制御入力部VCに論理回路出力信号S5を受け、論理回路出力信号S5が“H”の時、電源入力部VIより電源線LVCの電源を電圧変換して電源出力部VOから動作電源V4をマイコン1の電源入力部VCC及びスイッチ群SW1〜SWnに供給する。   The power supply IC4 receives the logic circuit output signal S5 at the control input section VC. When the logic circuit output signal S5 is “H”, the power supply line VIVC converts the power supply voltage from the power supply input section VI and operates from the power supply output section VO. V4 is supplied to the power input unit VCC of the microcomputer 1 and the switch groups SW1 to SWn.

図2及び図3は実施の形態1の車載用ECU10の間欠動作に関連する一連の処理を示すフローチャートである。   2 and 3 are flowcharts showing a series of processes related to the intermittent operation of the in-vehicle ECU 10 according to the first embodiment.

なお、通常モード設定時においてマイコン1が通常動作を行っている場合、切換回路制御端子PC=“L”、電源制御端子PV=“H”で固定されるため、切換回路3は第2の切換設定(通常モード設定)となり、間欠動作用クロック生成部2に外部電源EVCは供給されず間欠動作用クロック生成部2は非動作状態である。また、切換回路出力信号S3は“L”に固定される。   When the microcomputer 1 is performing a normal operation when the normal mode is set, the switching circuit 3 is fixed at the switching circuit control terminal PC = “L” and the power supply control terminal PV = “H”. The external power supply EVC is not supplied to the intermittent operation clock generator 2 and the intermittent operation clock generator 2 is in a non-operating state. The switching circuit output signal S3 is fixed to “L”.

以下、図2及び図3を参照して、実施の形態1の車載用ECU10の間欠動作に関する一連の処理手順を説明する。   Hereinafter, with reference to FIG. 2 and FIG. 3, a series of processing procedures relating to the intermittent operation of the in-vehicle ECU 10 according to the first embodiment will be described.

まず、ステップST23においてマイコン1は、マイコン1の不要判定条件である所定の電源OFF条件の成立を認識すると(Yes)、通常動作から間欠動作に移行すべく、ステップST24以降の処理に移行する。一方、所定の電源OFF条件が成立しない場合(No)、ステップST23が繰り返され車載用ECU10は通常動作を続行する。   First, in step ST23, when the microcomputer 1 recognizes that a predetermined power-off condition that is an unnecessary determination condition of the microcomputer 1 is satisfied (Yes), the microcomputer 1 shifts to a process after step ST24 to shift from the normal operation to the intermittent operation. On the other hand, when the predetermined power-off condition is not satisfied (No), step ST23 is repeated and the vehicle-mounted ECU 10 continues normal operation.

ステップST23でYesの場合に実行されるステップST24において、マイコン1は間欠動作に移る準備処理として不揮発性RAM1mに書き込む判別用データCDをセット状態(間欠動作モードを指示)に設定する。   In step ST24, which is executed in the case of Yes in step ST23, the microcomputer 1 sets the determination data CD to be written in the nonvolatile RAM 1m in a set state (indicating the intermittent operation mode) as a preparation process for moving to the intermittent operation.

そして、ステップST25において、マイコン1は電源制御端子PV(マイコン出力信号S1)を“L”にして、論理回路5の論理回路出力信号S5が切換回路出力信号S3(間欠制御クロックC2)の“H”,“L”で決定するようにする。   In step ST25, the microcomputer 1 sets the power supply control terminal PV (microcomputer output signal S1) to “L”, and the logic circuit output signal S5 of the logic circuit 5 becomes “H” of the switching circuit output signal S3 (intermittent control clock C2). "," L ".

その後、ステップST26において、マイコン1は切換回路制御端子PCを“H”にする。   Thereafter, in step ST26, the microcomputer 1 sets the switching circuit control terminal PC to “H”.

すると、ステップST27において、切換回路3は第2の切換設定から第1の切換設定(間欠動作モード設定)に切り換わる。その結果、外部電源EVCが電源入力部VCCに供給される間欠動作用クロック生成部2が動作状態となり間欠制御クロックC2を生成し、この間欠制御クロックC2が切換回路3から切換回路出力信号S3として出力される。   Then, in step ST27, the switching circuit 3 switches from the second switching setting to the first switching setting (intermittent operation mode setting). As a result, the intermittent operation clock generation unit 2 to which the external power supply EVC is supplied to the power input unit VCC enters an operation state and generates an intermittent control clock C2. This intermittent control clock C2 is generated from the switching circuit 3 as a switching circuit output signal S3. Is output.

ステップST28において、間欠制御クロックC2が電源ON復帰によりリセットされて、初期状態“L”から始まる間欠制御クロックC2を生成する。このとき、マイコン出力信号S1及び切換回路出力信号S3(間欠制御クロックC2)が共に“L”となるため、論理回路出力信号S5は“L”となる。   In step ST28, the intermittent control clock C2 is reset by the power-on return, and the intermittent control clock C2 starting from the initial state “L” is generated. At this time, since the microcomputer output signal S1 and the switching circuit output signal S3 (intermittent control clock C2) are both “L”, the logic circuit output signal S5 is “L”.

その結果、ステップST29において、電源IC4は動作電源V4の生成を停止するため、マイコン1の電源入力部VCCへの動作電源V4の供給が止まり、マイコン1は完全に電源OFFする。このとき、スイッチ群SW1〜SWnへの動作電源V4の供給も停止する。   As a result, in step ST29, the power supply IC4 stops generating the operation power supply V4, so the supply of the operation power supply V4 to the power supply input unit VCC of the microcomputer 1 is stopped, and the microcomputer 1 is completely turned off. At this time, the supply of the operating power supply V4 to the switch groups SW1 to SWn is also stopped.

そして、ステップST30において、所定の電源OFF時間の経過が確認される(Yes)まで、ステップST29,ステップST30が繰り返される。なお、所定の電源OFF時間とは、間欠制御クロックC2(切換回路出力信号S3)がリセット後“L”を維持する時間(半周期)を意味する。   And in step ST30, step ST29 and step ST30 are repeated until progress of predetermined power supply OFF time is confirmed (Yes). The predetermined power OFF time means a time (half cycle) during which the intermittent control clock C2 (switching circuit output signal S3) maintains “L” after reset.

ステップST30において、所定の電源OFF時間の経過が確認される(Yes)と、ステップST31に移行し、間欠制御クロックC2は“H”に変化する。   In step ST30, when it is confirmed that the predetermined power OFF time has elapsed (Yes), the process proceeds to step ST31, and the intermittent control clock C2 changes to “H”.

その結果、ステップST32において、論理回路出力信号S5が“L”から“H”に変化し、電源IC4が動作電源V4の生成を再開するため、マイコン1の電源入力部VCCへの動作電源V4の供給が再開し、マイコン1は電源ON復帰状態となる。同時に、スイッチ群SW1〜SWnへの動作電源V4の供給が始まり、スイッチ群SW1〜SWnもそれぞれの動作が実行可能となる。   As a result, in step ST32, the logic circuit output signal S5 changes from “L” to “H”, and the power supply IC4 resumes the generation of the operation power supply V4, so that the operation power supply V4 to the power supply input unit VCC of the microcomputer 1 is restored. Supply is resumed, and the microcomputer 1 returns to the power-on return state. At the same time, the supply of the operating power source V4 to the switch groups SW1 to SWn starts, and the switch groups SW1 to SWn can also perform their respective operations.

そして、ステップST33において、マイコン1は不揮発性RAM1mの判別用データCDを読み出し、判別用データCDがセット状態である場合(Yes)、ステップST35以降の処理に移行する。一方、ステップST33において、判別用データCDがセット状態でない場合(No)、ステップST34で通常のリセット動作を行う。すなわち、マイコン1は電源OFFから電源ONへ切り替わる電源ON復帰時において、不揮発性RAM1mに格納された判別用データCDを参照することにより、間欠動作モード設定時における間欠時動作を行うか、通常動作を行うかを正確に認識することができる。   In step ST33, the microcomputer 1 reads the determination data CD in the nonvolatile RAM 1m. If the determination data CD is in the set state (Yes), the microcomputer 1 proceeds to the processing after step ST35. On the other hand, if the determination data CD is not in the set state in step ST33 (No), a normal reset operation is performed in step ST34. That is, the microcomputer 1 refers to the determination data CD stored in the non-volatile RAM 1m at the time of power-on recovery when the power is switched from power-off to power-on. Can be recognized accurately.

ステップST33でYesの場合に実行されるステップST35において、マイコン1は内部発振器11の動作クロックにより間欠時動作を実行する。この間欠時動作はステップST36でその終了が確認されるまで、ステップST35,ST36が繰り返されることにより続行される。ここで、間欠時動作とは、スイッチ群SW1〜SWnより得られる外部入力の有無が認識可能な必要最小限の動作を意味する。   In step ST35, which is executed in the case of Yes in step ST33, the microcomputer 1 performs an intermittent operation with the operation clock of the internal oscillator 11. This intermittent operation is continued by repeating steps ST35 and ST36 until the completion is confirmed in step ST36. Here, the intermittent operation means a minimum necessary operation in which the presence or absence of an external input obtained from the switch groups SW1 to SWn can be recognized.

なお、ステップST35においては、内部発振器11ではなく外部から得られる外部クロック(図示せず)を用いて、当該外部クロックを内部発振器11から発生する内部クロックより低い周波数に抑えることにより、消費電力の低減化を図ることができる。   In step ST35, the external clock (not shown) obtained from the outside instead of the internal oscillator 11 is used to suppress the external clock to a frequency lower than the internal clock generated from the internal oscillator 11, thereby reducing the power consumption. Reduction can be achieved.

そして、ステップST37で、スイッチ群SW1〜SWnのいずれかの外部入力の有無に基づく、マイコン1の起動要因の有無を判断する。すなわち、スイッチ群SW1〜SWnのいずれかの外部入力が認識されれば起動要因有り(Yes)と判断し、スイッチ群SW1〜SWnのいずれの外部入力も認識されなければ起動要因無し(No)と判断する。   In step ST37, the presence / absence of the activation factor of the microcomputer 1 is determined based on the presence / absence of any external input from the switch group SW1 to SWn. That is, if any external input of the switch group SW1 to SWn is recognized, it is determined that there is an activation factor (Yes), and if any external input of the switch group SW1 to SWn is not recognized, there is no activation factor (No). to decide.

ステップST37でNoの場合、再び、ステップST28に戻り、間欠制御クロックC2をリセットして、マイコン1への動作電源V4の供給を完全遮断する処理に戻る。   In the case of No in step ST37, the process returns to step ST28 again, the intermittent control clock C2 is reset, and the process returns to the process of completely shutting off the supply of the operating power supply V4 to the microcomputer 1.

なお、再びステップST28に戻る際、マイコン1から間欠動作用クロック生成部2にリセット信号を付与する等により、間欠動作用クロック生成部2をリセットさせることができる。この際、図1の実線矢印で示すようにマイコン1,間欠動作用クロック生成部2間にリセット信号の供給線を設ける必要がある。   When returning to step ST28 again, the intermittent operation clock generator 2 can be reset, for example, by applying a reset signal from the microcomputer 1 to the intermittent operation clock generator 2. At this time, it is necessary to provide a reset signal supply line between the microcomputer 1 and the intermittent operation clock generator 2 as indicated by a solid arrow in FIG.

一方、ステップST37でYesの場合、マイコン1は通常モードに復帰すべく、ステップST38以降の処理を行う。   On the other hand, in the case of Yes in step ST37, the microcomputer 1 performs the processing after step ST38 in order to return to the normal mode.

まず、ステップST38において、マイコン1は電源制御端子PVを“H”にして、論理回路出力信号S5を“H”固定し、電源IC4から動作電源V4が常時、電源入力部VCCに供給されるようにする。   First, in step ST38, the microcomputer 1 sets the power control terminal PV to “H”, fixes the logic circuit output signal S5 to “H”, and the operation power V4 is always supplied from the power IC 4 to the power input unit VCC. To.

その後、ステップST39において、マイコン1は切換回路制御端子PCを“L”にする。   Thereafter, in step ST39, the microcomputer 1 sets the switching circuit control terminal PC to “L”.

すると、ステップST40において、切換回路3は第1の切換設定から第2の切換設定(通常動作モード設定)に切り換わる。その結果、間欠動作用クロック生成部2が非動作状態となり間欠制御クロックC2の生成は終了し、切換回路出力信号S3が“L”固定される。   Then, in step ST40, the switching circuit 3 switches from the first switching setting to the second switching setting (normal operation mode setting). As a result, the intermittent operation clock generator 2 is deactivated, the generation of the intermittent control clock C2 is terminated, and the switching circuit output signal S3 is fixed to “L”.

最後に、ステップST41において、マイコン1は不揮発性RAM1mに書き込む判別用データCDをクリア状態にして、完全に通常動作に復帰する。   Finally, in step ST41, the microcomputer 1 clears the determination data CD written in the nonvolatile RAM 1m and completely returns to the normal operation.

このように、電源IC4は、間欠動作モード設定時において電源供給制御信号となる論理回路出力信号S5(=間欠制御クロックC2)が電源オン期間を指示する“H”ときにのみマイコン1に動作電源V4の供給を行うため、間欠動作モード設定時におけるマイコン1の消費電力を最小限に抑えながら、マイコン1にスイッチ群SW1〜SWnを用いた車両に関連する起動要因の有無を検出する間欠時動作を実行させることができる。   As described above, the power supply IC 4 operates the microcomputer 1 only when the logic circuit output signal S5 (= intermittent control clock C2) serving as the power supply control signal when setting the intermittent operation mode indicates “H” indicating the power-on period. In order to supply V4, the operation at the time of intermittent detection which detects the presence or absence of the activation factor related to the vehicle using the switch groups SW1 to SWn in the microcomputer 1 while minimizing the power consumption of the microcomputer 1 at the time of setting the intermittent operation mode. Can be executed.

すなわち、実施の形態1の車載用ECU10は、間欠動作モード設定時において、マイコン1の動作不要時には電源入力部VCCへの動作電源V4の供給を完全に停止させることにより、マイコン1の消費電力を“0”に抑えることができる。マイコン1の消費電力は車載用ECU10全体の消費電力における主要な割合を占めるため、マイコン1の動作不要時に消費電力を“0”に抑えることにより、車載用ECU10全体の低消費電力化を効果的に図ることができる。   That is, the in-vehicle ECU 10 according to the first embodiment reduces the power consumption of the microcomputer 1 by completely stopping the supply of the operation power supply V4 to the power supply input unit VCC when the operation of the microcomputer 1 is unnecessary when the intermittent operation mode is set. It can be suppressed to “0”. Since the power consumption of the microcomputer 1 occupies a major proportion of the power consumption of the entire in-vehicle ECU 10, the power consumption of the entire in-vehicle ECU 10 is effectively reduced by suppressing the power consumption to “0” when the operation of the microcomputer 1 is unnecessary. Can be aimed at.

加えて、実施の形態1の車載用ECU10は、マイコン1による間欠動作モード設定時の間欠時動作実行後に起動要因の発生を検知した場合、ステップST38〜ST41を実行することにより、単独で間欠動作モード設定から通常モード設定に復帰することができる。   In addition, the in-vehicle ECU 10 according to the first embodiment executes the steps ST38 to ST41 independently when the generation of the activation factor is detected after the operation during the intermittent operation when the intermittent operation mode is set by the microcomputer 1, thereby independently operating the intermittent operation mode. It is possible to return from the setting to the normal mode setting.

ステップST28に戻り(図3参照)、ステップST29で速やかにマイコン1への動作電源V4の供給が遮断されるため、間欠動作モード設定時における消費電力をさらに抑えることができる。   Returning to step ST28 (see FIG. 3), the supply of the operating power supply V4 to the microcomputer 1 is immediately cut off in step ST29, so that the power consumption when the intermittent operation mode is set can be further suppressed.

また、間欠動作モード設定時において電源IC4の動作電源V4の制御を行う間欠動作電源制御部を、間欠動作用クロック生成部2及び切換回路3よりなる必要最小限の構成で実現できる。   In addition, the intermittent operation power supply control unit that controls the operation power supply V4 of the power supply IC 4 when the intermittent operation mode is set can be realized with the minimum necessary configuration including the intermittent operation clock generation unit 2 and the switching circuit 3.

さらに、マイコン1による間欠動作モード設定時の間欠時動作実行後に起動要因の発生を検知しない場合、ステップST28に戻り(図3参照)、ステップST29で速やかにマイコン1への動作電源V4の供給が遮断されるため、間欠動作モード設定時における消費電力をさらに抑えることができる。   Furthermore, when the activation factor is not detected after the intermittent operation mode is set by the microcomputer 1, the process returns to step ST28 (see FIG. 3), and the supply of the operating power supply V4 to the microcomputer 1 is immediately cut off in step ST29. Therefore, the power consumption when the intermittent operation mode is set can be further suppressed.

以下、この点を詳述する。間欠制御クロックC2の“H”期間時においてステップST32〜ST37が実行されるが、起動要因の有無を判定するステップST37でNoとなった場合に直ちにステップST28で間欠制御クロックC2がリセットさせるため、マイコン1への動作電源V4の供給期間を間欠制御クロックC2の半周期(“H”を維持する期間)より短い必要最小限の期間に設定することができる。このため、間欠動作モードにおけるマイコン1の消費電力を最小限に抑えることができる。   Hereinafter, this point will be described in detail. Steps ST32 to ST37 are executed during the “H” period of the intermittent control clock C2, but when the result is No in step ST37 for determining the presence or absence of the activation factor, the intermittent control clock C2 is immediately reset in step ST28. The supply period of the operating power supply V4 to the microcomputer 1 can be set to a necessary minimum period shorter than a half cycle of the intermittent control clock C2 (a period in which “H” is maintained). For this reason, the power consumption of the microcomputer 1 in the intermittent operation mode can be minimized.

加えて、マイコン1への動作電源V4の供給が再開される電源ON復帰時において、マイコン1は、内部の不揮発性RAM1m内の判別用データCDを参照することにより、間欠動作モード時(判別用データCDがセット状態)において正しく間欠時動作を実行することができる。   In addition, the microcomputer 1 refers to the discrimination data CD in the internal non-volatile RAM 1m at the time of the power-on return when the supply of the operating power V4 to the microcomputer 1 is resumed. The intermittent operation can be correctly executed in the data CD set state.

さらに、間欠動作用クロック生成部2及び切換回路3による制御下で、スイッチ群SW1〜SWnの動作電源V4の供給制御もマイコン1と同様に行われるため、スイッチ群SW1〜SWnにおける間欠動作モード設定時における消費電力を効果的に抑制することができる。   Furthermore, under the control of the intermittent operation clock generator 2 and the switching circuit 3, the supply control of the operation power supply V4 of the switch groups SW1 to SWn is performed in the same manner as the microcomputer 1, so that the intermittent operation mode setting in the switch groups SW1 to SWn is performed. The power consumption at the time can be effectively suppressed.

<実施の形態2>
図4はこの発明の実施の形態2である車載用ECUの内部構成を示すブロック図である。実施の形態2の車載用ECU20は、内部にマイコン1、間欠動作用クロック生成部2、切換回路3、電源IC4、通信部6、論理回路7、及び抵抗部8を有している。なお、図1で示した車載用ECU10と同様な構成は同一符号を付して説明を適宜省略する。
<Embodiment 2>
FIG. 4 is a block diagram showing an internal configuration of an in-vehicle ECU according to Embodiment 2 of the present invention. The in-vehicle ECU 20 according to the second embodiment includes a microcomputer 1, an intermittent operation clock generation unit 2, a switching circuit 3, a power supply IC 4, a communication unit 6, a logic circuit 7, and a resistance unit 8. The same components as those of the in-vehicle ECU 10 shown in FIG.

通信部6は通信線9を介して外部の他の車載用ECU等と通信可能である。通信部6及び通信線9として、例えばCAN(Controller Area Network)IC及びCAN用の通信線(CAN−H,CAN−L)等が考えられる。この通信部6はマイコン1の通信用端子PTとの間でデータの送受信が可能である。また、通信部6の電源入力部VCCには電源線LVCを介して外部電源EVCが供給される。   The communication unit 6 can communicate with other external vehicle-mounted ECUs and the like via the communication line 9. As the communication unit 6 and the communication line 9, for example, a CAN (Controller Area Network) IC and a CAN communication line (CAN-H, CAN-L) can be considered. The communication unit 6 can transmit and receive data to and from the communication terminal PT of the microcomputer 1. In addition, the external power supply EVC is supplied to the power input unit VCC of the communication unit 6 through the power line LVC.

通信部6は「通信線9から所定期間信号入力が無い」等のスリープ条件の成立の有無を検知し、上記スリープ条件の成立を検出するとスリープ条件成立を指示する通信部情報D6をマイコン1の通信用端子PTに出力するとともに、通常は“H”の通信部出力信号S6を“L”に変化させる。   The communication unit 6 detects whether or not a sleep condition such as “no signal is input from the communication line 9 for a predetermined period” is established. When the establishment of the sleep condition is detected, communication unit information D6 instructing the establishment of the sleep condition is transmitted to the microcomputer 1. While outputting to the communication terminal PT, the communication unit output signal S6 of “H” is usually changed to “L”.

さらに、通信部6は動作時において、通信部起動要因(第1の条件)を検出すると、通信部起動要因の発生を指示する通信部情報D6をマイコン1の通信用端子PTに出力するとともに、“H”の通信部出力信号S6を出力する。   Further, when the communication unit 6 detects a communication unit activation factor (first condition) during operation, the communication unit 6 outputs communication unit information D6 instructing the generation of the communication unit activation factor to the communication terminal PT of the microcomputer 1, The communication unit output signal S6 of “H” is output.

論理回路7は切換回路3からの切換回路出力信号S3、マイコン1の電源制御端子PVから得られるマイコン出力信号S1及び通信部6からの通信部出力信号S6を受け、マイコン出力信号S1、切換回路出力信号S3及び通信部出力信号S6のうち少なくとも一つが“H”の時“H”の論理回路出力信号S5を出力し、マイコン出力信号S1、切換回路出力信号S3及び通信部出力信号S6の全て“L”のとき、“L”の論理回路出力信号S5を出力する。なお、図示していないが論理回路7には常時電源が供給されている。   The logic circuit 7 receives the switching circuit output signal S3 from the switching circuit 3, the microcomputer output signal S1 obtained from the power supply control terminal PV of the microcomputer 1 and the communication unit output signal S6 from the communication unit 6, and receives the microcomputer output signal S1 and the switching circuit. When at least one of the output signal S3 and the communication unit output signal S6 is “H”, the logic circuit output signal S5 of “H” is output, and all of the microcomputer output signal S1, the switching circuit output signal S3, and the communication unit output signal S6 are output. When “L”, the logic circuit output signal S5 of “L” is output. Although not shown, the logic circuit 7 is always supplied with power.

図5及び図6は実施の形態2の車載用ECU20の間欠動作に関連する一連の処理を示すフローチャートである。なお、図2及び図3で示したフローチャートと同内容の処理は同一符号を付して説明を適宜省略する。   5 and 6 are flowcharts showing a series of processes relating to the intermittent operation of the in-vehicle ECU 20 according to the second embodiment. 2 and 3 are denoted by the same reference numerals, and the description thereof is omitted as appropriate.

以下、図5及び図6を参照して、実施の形態2の車載用ECU20の間欠動作に関する一連の処理手順を説明する。   Hereinafter, with reference to FIG. 5 and FIG. 6, a series of processing procedures regarding the intermittent operation of the in-vehicle ECU 20 of the second embodiment will be described.

まず、ステップST21において通信線9上におけるスリープ条件の成立を検出すると(Yes)、ステップST22に移行する。一方、スリープ条件が成立しない場合(No)、ステップST21が繰り返され、車載用ECU20は通常動作を続ける。   First, when the establishment of the sleep condition on the communication line 9 is detected in step ST21 (Yes), the process proceeds to step ST22. On the other hand, when the sleep condition is not satisfied (No), step ST21 is repeated, and the vehicle-mounted ECU 20 continues normal operation.

ステップST21でYesの場合に実行されるステップST22において、通信部6は通信部出力信号S6を“L”に設定するとともに、スリープ条件成立を指示する通信部情報D6をマイコン1の通信用端子PTに出力する。   In step ST22, which is executed in the case of Yes in step ST21, the communication unit 6 sets the communication unit output signal S6 to “L”, and sets communication unit information D6 instructing the establishment of the sleep condition to the communication terminal PT of the microcomputer 1. Output to.

そして、ステップST23においてマイコン1は所定の電源OFF条件(第2の条件)の成立を認識すると(Yes)、通常動作から間欠動作に移行すべく、ステップST24以降の処理に移行する。一方、所定の電源OFF条件が成立しない場合(No)、ステップST21に戻る。   In step ST23, when the microcomputer 1 recognizes that a predetermined power-off condition (second condition) is established (Yes), the microcomputer 1 shifts to processing after step ST24 in order to shift from the normal operation to the intermittent operation. On the other hand, when the predetermined power-off condition is not satisfied (No), the process returns to step ST21.

したがって、ステップST23でYesとなるのは、通信線9上におけるスリープ条件が成立し(ステップST21でYes)、かつ、実施の形態1と同じ電源OFF条件が成立する場合である。   Therefore, Yes is determined in step ST23 when the sleep condition on the communication line 9 is satisfied (Yes in step ST21) and the same power OFF condition as in the first embodiment is satisfied.

すなわち、車載用ECU20において、通常モード設定から間欠動作モード設定に移行する条件(所定条件)は、通信部6の通信線9からの受信内容に関する第1の条件(スリープ条件)と、マイコン1内部における第2の条件(電源OFF条件)との組合せ条件となる。   That is, in the in-vehicle ECU 20, the condition (predetermined condition) for shifting from the normal mode setting to the intermittent operation mode setting is the first condition (sleep condition) regarding the content received from the communication line 9 of the communication unit 6 and the microcomputer 1 internal. This is a combination condition with the second condition (power OFF condition).

そして、実施の形態1と同様にステップST24を経た後、ステップST25において、マイコン1は電源制御端子PV(マイコン出力信号S1)を“L”にして、論理回路7の論理回路出力信号S7が切換回路出力信号S3(間欠制御クロックC2)の“H”,“L”で決定するようにする。   After step ST24 as in the first embodiment, in step ST25, the microcomputer 1 sets the power supply control terminal PV (microcomputer output signal S1) to “L”, and the logic circuit output signal S7 of the logic circuit 7 is switched. The circuit output signal S3 (intermittent control clock C2) is determined by “H” and “L”.

その後、実施の形態1と同様、ステップST26,ステップST27を経た後、ステップST28において、間欠制御クロックC2が電源ON復帰によりリセットされて、初期状態“L”から始まる間欠制御クロックC2を生成する。このとき、マイコン出力信号S1、通信部出力信号S6及び切換回路出力信号S3(間欠制御クロックC2)が全て“L”となるため、論理回路出力信号S7は“L”となる。   Thereafter, after step ST26 and step ST27, as in the first embodiment, in step ST28, the intermittent control clock C2 is reset by power-on return, and the intermittent control clock C2 starting from the initial state “L” is generated. At this time, since the microcomputer output signal S1, the communication unit output signal S6, and the switching circuit output signal S3 (intermittent control clock C2) all become “L”, the logic circuit output signal S7 becomes “L”.

その結果、ステップST29において、電源IC4は動作電源V4の生成を停止するため、マイコン1の電源入力部VCCへの動作電源V4の供給が止まり、マイコン1は完全に電源OFFする。このとき、スイッチ群SW1〜SWnへの動作電源V4の供給も停止する。   As a result, in step ST29, the power supply IC4 stops generating the operation power supply V4, so the supply of the operation power supply V4 to the power supply input unit VCC of the microcomputer 1 is stopped, and the microcomputer 1 is completely turned off. At this time, the supply of the operating power supply V4 to the switch groups SW1 to SWn is also stopped.

そして、ステップST30において、所定の電源OFF時間の経過が確認される(Yes)まで、ステップST29,ステップST30が繰り返される。   And in step ST30, step ST29 and step ST30 are repeated until progress of predetermined power supply OFF time is confirmed (Yes).

ステップST30において、所定の電源OFF時間の経過が確認される(Yes)と、ステップST31に移行し、間欠制御クロックC2は“H”に変化する。   In step ST30, when it is confirmed that the predetermined power OFF time has elapsed (Yes), the process proceeds to step ST31, and the intermittent control clock C2 changes to “H”.

その結果、ステップST32において、論理回路出力信号S7が“L”から“H”に変化し、電源IC4が動作電源V4の生成を再開するため、マイコン1の電源入力部VCCへの動作電源V4の供給が再開し、マイコン1及び通信部6は電源ON復帰状態となる。   As a result, in step ST32, the logic circuit output signal S7 changes from “L” to “H”, and the power supply IC4 resumes the generation of the operation power supply V4. Therefore, the operation power supply V4 to the power supply input VCC of the microcomputer 1 is resumed. Supply is resumed, and the microcomputer 1 and the communication unit 6 are in a power-on return state.

その後、実施の形態1と同様、ステップST33,ST34が実行されるともに、ステップST33でYesの場合に実行されるステップST35において、マイコン1は内部発振器11の動作クロックにより間欠時動作を実行する。この間欠時動作はステップST36でその終了が確認されるまで、ステップST35,ST36が繰り返されることにより続行される。   Thereafter, similarly to the first embodiment, steps ST33 and ST34 are executed, and in step ST35 executed in the case of Yes in step ST33, the microcomputer 1 executes an intermittent operation with the operation clock of the internal oscillator 11. This intermittent operation is continued by repeating steps ST35 and ST36 until the completion is confirmed in step ST36.

一方、外部電源EVCが常時供給されている通信部6は単独で通信線9より得られる信号に基づき通信部起動要因の有無を判定している。   On the other hand, the communication unit 6 to which the external power supply EVC is constantly supplied determines whether or not there is a communication unit activation factor based on a signal obtained from the communication line 9 alone.

そして、ステップST37で、スイッチ群SW1〜SWnのいずれかの外部入力の有無に基づく、マイコン1の内部起動要因の有無を判断する。さらに、通信用端子PTより得られる通信部情報D6に基づき通信部起動要因の有無を認識する。そして、上記内部起動要因及び通信部起動要因のうち、少なくとも一つの要因が検出されたとき、起動要因有りと判断する。   In step ST37, the presence / absence of an internal activation factor of the microcomputer 1 is determined based on the presence / absence of any external input of any of the switch groups SW1 to SWn. Furthermore, the presence / absence of the communication unit activation factor is recognized based on the communication unit information D6 obtained from the communication terminal PT. When at least one of the internal activation factor and the communication unit activation factor is detected, it is determined that there is an activation factor.

すなわち、スイッチ群SW1〜SWnのいずれかの外部入力が認識される、あるいは通信部情報D6が通信部起動要因を指示すれば起動要因有り(Yes)と判断し、そうでなければ動要因無し(No)と判断する。   That is, if any external input of the switch group SW1 to SWn is recognized or the communication unit information D6 indicates a communication unit activation factor, it is determined that there is an activation factor (Yes), otherwise there is no dynamic factor ( No).

ステップST37でNoの場合、再び、ステップST28に戻り、間欠制御クロックC2をリセットして、マイコン1への動作電源V4の供給を完全遮断する処理に戻る。   In the case of No in step ST37, the process returns to step ST28 again, the intermittent control clock C2 is reset, and the process returns to the process of completely shutting off the supply of the operating power supply V4 to the microcomputer 1.

一方、ステップST37でYesの場合、実施の形態1と同様、ステップST38〜ST41の処理を行う。   On the other hand, in the case of Yes in step ST37, the processes of steps ST38 to ST41 are performed as in the first embodiment.

このように、車載用ECU20における電源IC4は、間欠動作モード設定時において電源供給制御信号となる論理回路出力信号S7(=間欠制御クロックC2)が電源オン期間を指示する“H”ときにのみマイコン1に動作電源V4の供給を行うため、間欠動作モード設定時におけるマイコン1の消費電力を最小限に抑えながら、マイコン1に内部起動要因の有無を検出する間欠時動作を実行させることができる。   Thus, the power supply IC 4 in the in-vehicle ECU 20 is a microcomputer only when the logic circuit output signal S7 (= intermittent control clock C2) serving as the power supply control signal when the intermittent operation mode is set indicates “H” indicating the power-on period. Since the operation power supply V4 is supplied to the microcomputer 1, the microcomputer 1 can execute the intermittent operation for detecting the presence or absence of the internal activation factor while minimizing the power consumption of the microcomputer 1 when the intermittent operation mode is set.

すなわち、実施の形態2の車載用ECU20は、間欠動作モード設定時において、マイコン1の動作不要時には電源入力部VCCへの動作電源V4の供給を完全に停止させることにより、マイコン1の消費電力を“0”に抑えることができる。マイコン1の消費電力は車載用ECU20全体の消費電力における主要な割合を占めるため、マイコン1の動作不要時に消費電力を“0”に抑えることにより、車載用ECU20全体の低消費電力化を効果的に図ることができる。   That is, the in-vehicle ECU 20 according to the second embodiment reduces the power consumption of the microcomputer 1 by completely stopping the supply of the operation power supply V4 to the power supply input unit VCC when the operation of the microcomputer 1 is unnecessary when the intermittent operation mode is set. It can be suppressed to “0”. Since the power consumption of the microcomputer 1 occupies a major proportion of the power consumption of the entire in-vehicle ECU 20, the power consumption of the entire in-vehicle ECU 20 is effectively reduced by suppressing the power consumption to “0” when the operation of the microcomputer 1 is unnecessary. Can be aimed at.

また、実施の形態2の車載用ECU20は、実施の形態1の車載用ECU10で述べた同様な効果も併せて奏する。   Further, the in-vehicle ECU 20 according to the second embodiment also exhibits the same effect as described in the in-vehicle ECU 10 according to the first embodiment.

さらに、実施の形態2の車載用ECU20は、マイコン1の内部要因に加えて、通信線9より得られる外部情報によって、間欠動作モード設定を行うことができる。   Further, the in-vehicle ECU 20 according to the second embodiment can set the intermittent operation mode based on external information obtained from the communication line 9 in addition to the internal factors of the microcomputer 1.

加えて、通信部6は間欠動作モードから通常モードへの戻すモード変換機能を有することにより、マイコン1によらず通信部6単独で電源IC4をON状態に復帰させることができる効果を奏する。   In addition, since the communication unit 6 has a mode conversion function for returning from the intermittent operation mode to the normal mode, there is an effect that the power supply IC 4 can be returned to the ON state by the communication unit 6 alone without using the microcomputer 1.

<実施の形態3>
図7はこの発明の実施の形態3である車載用ECUの内部構成を示すブロック図である。実施の形態3の車載用ECU30は、実施の形態1の車載用ECU10と同様、内部にマイコン1X、間欠動作用クロック生成部2、切換回路3、電源IC4、論理回路5、及び抵抗部8を有している。なお、図1で示した車載用ECU10と同様な構成は同一符号を付して説明を適宜省略する。
<Embodiment 3>
FIG. 7 is a block diagram showing an internal configuration of an in-vehicle ECU that is Embodiment 3 of the present invention. The in-vehicle ECU 30 according to the third embodiment includes a microcomputer 1X, an intermittent operation clock generation unit 2, a switching circuit 3, a power supply IC 4, a logic circuit 5, and a resistance unit 8 as in the in-vehicle ECU 10 according to the first embodiment. Have. The same components as those of the in-vehicle ECU 10 shown in FIG.

マイコン1Xは電源入力部VCCへの動作電源V4の供給時に動作状態となり、動作状態時に内部発振器11により発生されるクロックで動作し、スイッチ群SW1〜SWnで検出される車両に関する外部入力の経時変化を監視し、スイッチ群SW1〜SWnの状態(車両に関連する状態)いずれかの経時変化を検出すると、変化が検出された外部入力内容に応じた所定の動作制御を行う。例えば、スイッチSW1がドアに設けられたセンサであり、スイッチSW1のON/OFFでドアの「開」/「閉」状態を指示する場合、マイコン1Xは、スイッチSW1がON(ドア「開」)状態からオフ(ドア「閉」状態)への経時変化を検知したとき、あるいはOFF(ドア「閉」)状態からON(ドア「開」状態の経時変化を検知したとき、変化が検出されたスイッチSW1の経時変化内容に応じた所定の動作制御を行う。   The microcomputer 1X is in an operating state when the operating power supply V4 is supplied to the power input unit VCC, operates with a clock generated by the internal oscillator 11 in the operating state, and changes over time of external inputs relating to the vehicle detected by the switch groups SW1 to SWn. When a change with time in one of the states of the switch groups SW1 to SWn (a state related to the vehicle) is detected, predetermined operation control is performed according to the external input content in which the change is detected. For example, when the switch SW1 is a sensor provided on the door and the switch SW1 is turned ON / OFF to indicate the “open” / “closed” state of the door, the microcomputer 1X indicates that the switch SW1 is ON (the door “open”). A switch that has detected a change when a change from time to time (door "closed" state) is detected or when a change from OFF (door "closed") state to ON (door "open" state) is detected Predetermined operation control is performed according to the contents of SW1 over time.

さらに、マイコン1Xは、スイッチ群SW1〜SWnの状態を検知電圧V11〜V1nに変換して認識することができる。例えば、前述したように、スイッチSW1がドアに設けられたセンサである場合、マイコン1Xは、スイッチSW1がONのとき(ドア「開」状態を検知したとき)検知電圧V11を“H”に設定し、OFFのとき(ドア「閉」状態を検知したとき)検知電圧V11を“L”に設定する。以降、スイッチ群SW1〜SWnに対応する検知電圧V11〜V1nを総称して端子情報IPと呼ぶ。したがって、マイコン1Xは、通常動作時において内部の揮発性メモリ、レジスタ等(いずれも図示せず)に端子情報IPを定期的に記憶することにより、検知電圧V11〜V1nの経時変化を認識することができる。   Furthermore, the microcomputer 1X can recognize the state of the switch groups SW1 to SWn by converting them into the detection voltages V11 to V1n. For example, as described above, when the switch SW1 is a sensor provided on the door, the microcomputer 1X sets the detection voltage V11 to “H” when the switch SW1 is ON (when the door “open” state is detected). When it is OFF (when the door “closed” state is detected), the detection voltage V11 is set to “L”. Hereinafter, the detection voltages V11 to V1n corresponding to the switch groups SW1 to SWn are collectively referred to as terminal information IP. Accordingly, the microcomputer 1X recognizes the change with time of the detection voltages V11 to V1n by periodically storing the terminal information IP in an internal volatile memory, a register or the like (all not shown) during normal operation. Can do.

そして、マイコン1Xは、電源OFF条件成立時に、不揮発性RAM1mに判別用データCDをセット状態に設定するとともに、端子情報IPを不揮発性RAM1mに書き込む、書込み動作を行う。   Then, the microcomputer 1X performs the write operation of setting the determination data CD in the nonvolatile RAM 1m and writing the terminal information IP to the nonvolatile RAM 1m when the power-off condition is satisfied.

さらに、マイコン1Xは、間欠動作時に、不揮発性RAM1mに保存した端子情報IP(検知電圧V11〜V1n)と現在のスイッチ群SW1〜SWnから取得した端子情報IPとを比較し、比較結果に相違点を検出すると、起動要因ありと判断し、通常モードに復帰するための処理を行う。   Further, the microcomputer 1X compares the terminal information IP (detection voltages V11 to V1n) stored in the nonvolatile RAM 1m with the terminal information IP acquired from the current switch groups SW1 to SWn during the intermittent operation, and the comparison result is different. Is detected, there is an activation factor, and processing for returning to the normal mode is performed.

加えて、マイコン1Xは、電源OFF状態から電源が投入された電源ON復帰時において、不揮発性RAM1mに格納された判別用データCDの内容に基づき、通常のリセット動作あるいは間欠動作モード設定時における間欠時動作を実行する。   In addition, when the microcomputer 1X returns from the power-off state when the power is turned on, based on the content of the determination data CD stored in the non-volatile RAM 1m, the microcomputer 1X performs intermittent operation during normal reset operation or intermittent operation mode setting. Execute the hour action.

図8及び図9は実施の形態3の車載用ECU30の間欠動作に関連する一連の処理を示すフローチャートである。なお、図2及び図3で示したフローチャートと同内容の処理は同一符号を付して説明を適宜省略する。   8 and 9 are flowcharts showing a series of processes related to the intermittent operation of the in-vehicle ECU 30 of the third embodiment. 2 and 3 are denoted by the same reference numerals, and the description thereof is omitted as appropriate.

以下、図8及び図9を参照して、実施の形態3の車載用ECU30の間欠動作に関する一連の処理手順を説明する。   Hereinafter, with reference to FIG. 8 and FIG. 9, a series of processing procedures related to the intermittent operation of the in-vehicle ECU 30 of the third embodiment will be described.

まず、ステップST23においてマイコン1Xは所定の電源OFF条件の成立を認識すると(Yes)、通常動作から間欠動作に移行すべく、ステップST24X以降の処理に移行する。一方、所定の電源OFF条件が成立しない場合(No)、ステップST23に戻る。   First, in step ST23, when the microcomputer 1X recognizes that a predetermined power-off condition is satisfied (Yes), the microcomputer 1X shifts to the processing after step ST24X to shift from the normal operation to the intermittent operation. On the other hand, when the predetermined power-off condition is not satisfied (No), the process returns to step ST23.

電源OFF条件成立後に実施されるステップST24Xにおいて、マイコン1Xは、不揮発性RAM1mに判別用データCDをセット状態に設定するとともに、端子情報IPを不揮発性RAM1mに書き込む、書込み動作を行う。   In step ST24X performed after the power-off condition is established, the microcomputer 1X sets the determination data CD in the non-volatile RAM 1m and writes the terminal information IP in the non-volatile RAM 1m.

そして、ステップST24Xを経た後、ステップST25において、マイコン1Xは電源制御端子PV(マイコン出力信号S1)を“L”にして、論理回路7の論理回路出力信号S5が切換回路出力信号S3(間欠制御クロックC2)の“H”,“L”で決定するようにする。   After step ST24X, in step ST25, the microcomputer 1X sets the power control terminal PV (microcomputer output signal S1) to “L”, and the logic circuit output signal S5 of the logic circuit 7 changes to the switching circuit output signal S3 (intermittent control). It is determined by “H” and “L” of the clock C2).

その後、実施の形態1と同様、ステップST26,ステップST27を経た後、ステップST28において、間欠制御クロックC2が電源ON復帰によりリセットされて、初期状態“L”から始まる間欠制御クロックC2を生成する。   Thereafter, after step ST26 and step ST27, as in the first embodiment, in step ST28, the intermittent control clock C2 is reset by power-on return, and the intermittent control clock C2 starting from the initial state “L” is generated.

その結果、ステップST29において、電源IC4は動作電源V4の生成を停止するため、マイコン1Xの電源入力部VCCへの動作電源V4の供給が止まり、マイコン1Xは完全に電源OFFする。このとき、スイッチ群SW1〜SWnへの動作電源V4の供給も停止する。   As a result, in step ST29, since the power supply IC4 stops generating the operation power supply V4, the supply of the operation power supply V4 to the power supply input unit VCC of the microcomputer 1X is stopped, and the microcomputer 1X is completely turned off. At this time, the supply of the operating power supply V4 to the switch groups SW1 to SWn is also stopped.

そして、ステップST30において、所定の電源OFF時間の経過が確認される(Yes)まで、ステップST29,ステップST30が繰り返される。   And in step ST30, step ST29 and step ST30 are repeated until progress of predetermined power supply OFF time is confirmed (Yes).

ステップST30において、所定の電源OFF時間の経過が確認される(Yes)と、ステップST31に移行し、間欠制御クロックC2は“H”に変化する。   In step ST30, when it is confirmed that the predetermined power OFF time has elapsed (Yes), the process proceeds to step ST31, and the intermittent control clock C2 changes to “H”.

その結果、ステップST32において、論理回路出力信号S5が“L”から“H”に変化し、電源IC4が動作電源V4の生成を再開するため、マイコン1Xの電源入力部VCCへの動作電源V4の供給が再開し、マイコン1Xは電源ON復帰状態となる。   As a result, in step ST32, the logic circuit output signal S5 changes from “L” to “H”, and the power supply IC4 restarts the generation of the operation power supply V4. Therefore, the operation power supply V4 to the power supply input unit VCC of the microcomputer 1X The supply resumes, and the microcomputer 1X returns to the power-on return state.

そして、ステップST33aにおいて、マイコン1Xは不揮発性RAM1mに格納された判別用データCD及び端子情報IPの読み出し処理を実行する。   In step ST33a, the microcomputer 1X executes a process of reading the discrimination data CD and the terminal information IP stored in the nonvolatile RAM 1m.

次に、ステップST33bにおいて、判別用データCDがセット状態である場合(Yes)、ステップST35以降の処理に移行する。一方、ステップST33bにおいて、判別用データCDがセット状態でない場合(No)、ステップST34で通常のリセット動作を行う。   Next, when the determination data CD is in the set state in step ST33b (Yes), the process proceeds to step ST35 and subsequent steps. On the other hand, if the determination data CD is not in the set state in step ST33b (No), a normal reset operation is performed in step ST34.

一方、ステップST33bでYesの場合に実行されるステップST35において、マイコン1Xは内部発振器11の動作クロックにより間欠時動作を実行する。この間欠時動作はステップST36でその終了が確認されるまで、ステップST35,ST36が繰り返されることにより続行される。実施の形態3において、間欠時動作とは、現在のスイッチ群SW1〜SWnの状態を検知電圧V11〜V1nからなる端子情報IPとして認識する動作を意味する。   On the other hand, in step ST35, which is executed in the case of Yes in step ST33b, the microcomputer 1X performs an intermittent operation using the operation clock of the internal oscillator 11. This intermittent operation is continued by repeating steps ST35 and ST36 until the completion is confirmed in step ST36. In the third embodiment, the intermittent operation means an operation of recognizing the current state of the switch groups SW1 to SWn as terminal information IP including the detection voltages V11 to V1n.

そして、ステップST37Xで、ステップST33aにおいて不揮発性RAM1mから読み出された端子情報IPと、ステップST35においてスイッチ群SW1〜SWnから得られる端子情報IPとの比較結果に基づく、マイコン1Xの内部起動要因の有無を判断する。   In step ST37X, the internal activation factor of the microcomputer 1X based on the comparison result between the terminal information IP read from the nonvolatile RAM 1m in step ST33a and the terminal information IP obtained from the switch groups SW1 to SWn in step ST35. Judgment is made.

すなわち、上記比較結果において、端子情報IP内の検知電圧V11〜V1nのいずれかが変化しておれば起動要因有り(Yes)と判断し、検知電圧V11〜V1nのいずれの値も変化していなければ起動要因無し(No)と判断する。   That is, in the above comparison result, if any of the detection voltages V11 to V1n in the terminal information IP is changed, it is determined that there is an activation factor (Yes), and any of the detection voltages V11 to V1n must be changed. If it is determined that there is no activation factor (No).

ステップST37XでNoの場合、再び、ステップST28に戻り、間欠制御クロックC2をリセットして、マイコン1Xへの動作電源V4の供給を完全遮断する処理に戻る。一方、ステップST37XでYesの場合、実施の形態1と同様、ステップST38〜ST41の処理を行う。   If No in step ST37X, the process returns again to step ST28, the intermittent control clock C2 is reset, and the process returns to the process of completely shutting off the supply of the operating power supply V4 to the microcomputer 1X. On the other hand, in the case of Yes in step ST37X, the processes in steps ST38 to ST41 are performed as in the first embodiment.

実施の形態3の車載用ECU30は、実施の形態1の車載用ECU10と同様、間欠動作モード設定時において、マイコン1Xの動作不要時には電源入力部VCCへの動作電源V4の供給を完全に停止させることにより、マイコン1Xの消費電力を“0”に抑えることができる。   As in the case of the on-vehicle ECU 10 of the first embodiment, the on-vehicle ECU 30 of the third embodiment completely stops the supply of the operating power V4 to the power input unit VCC when the operation of the microcomputer 1X is not necessary when the intermittent operation mode is set. As a result, the power consumption of the microcomputer 1X can be suppressed to “0”.

加えて、実施の形態3の車載用ECU30は、実施の形態1の車載用ECU10と同様、マイコン1Xによる間欠動作モード設定時の間欠時動作実行後に起動要因の発生を検知した場合、ステップST38〜ST41を実行することにより、単独で間欠動作モード設定から通常モード設定に復帰することができる。   In addition, the vehicle-mounted ECU 30 according to the third embodiment, like the vehicle-mounted ECU 10 according to the first embodiment, detects an activation factor after execution of an intermittent operation when the intermittent operation mode is set by the microcomputer 1X, steps ST38 to ST41. By executing this, it is possible to independently return from the intermittent operation mode setting to the normal mode setting.

そして、車載用ECU30におけるマイコン1Xは、不揮発性RAM1mに端子情報IPを書き込んだ後、間欠動作モード設定に移行し、間欠時動作における起動要因の有無をスイッチ群SW1〜SWnの経時変化の有無に基づき認識している。例えば、スイッチSW1がドアの開閉スイッチの場合、ドアが開状態から閉状態に変化したとき、あるいはドアが閉状態から開状態に変化したときのみ、起動要因有りと認識することができる。   Then, the microcomputer 1X in the in-vehicle ECU 30 writes the terminal information IP in the nonvolatile RAM 1m, and then shifts to the intermittent operation mode setting. Is recognized. For example, when the switch SW1 is a door open / close switch, it can be recognized that there is an activation factor only when the door changes from an open state to a closed state, or when the door changes from a closed state to an open state.

すなわち、実施の形態3の車載用ECU30におけるマイコン1Xは、電源OFF後に実行される間欠動作時においても、不揮発性RAM1mの端子情報IPを活用することにより、車両に関連する状態の経時変化を起動要因として、確実に通常モード設定に復帰することができる。   In other words, the microcomputer 1X in the in-vehicle ECU 30 according to the third embodiment activates the change over time of the state related to the vehicle by utilizing the terminal information IP of the nonvolatile RAM 1m even during the intermittent operation executed after the power is turned off. As a factor, it is possible to reliably return to the normal mode setting.

<その他>
この発明は、単体の車載用ECUに適用することができ、マイコン1(1X)を間欠動作させる必要のある全ての車載用ECUに適用することができる。すなわち、車載用ECUとして走行中に用いる、停車中に用いる等の種類に関係なく本発明を適用可能である。
<Others>
The present invention can be applied to a single vehicle-mounted ECU, and can be applied to all vehicle-mounted ECUs that require the microcomputer 1 (1X) to operate intermittently. In other words, the present invention can be applied regardless of the type of vehicle-mounted ECU that is used during traveling or used while the vehicle is stopped.

図4で示した実施の形態2の構成では、通信部6の通信部出力信号S6を論理回路7に入力することにしたが、スリープ条件や通信部起動要因の有無を指示する通信部情報D6に基づき、マイコン1が電源制御端子PV(マイコン出力信号S1)や切換回路制御端子PCを設定することにより、通信部出力信号S6を用いることなく車載用ECU20と等価なECUを実現することができる。   In the configuration of the second embodiment shown in FIG. 4, the communication unit output signal S6 of the communication unit 6 is input to the logic circuit 7. However, the communication unit information D6 instructing whether there is a sleep condition or a communication unit activation factor. The microcomputer 1 sets the power supply control terminal PV (microcomputer output signal S1) and the switching circuit control terminal PC, so that an ECU equivalent to the in-vehicle ECU 20 can be realized without using the communication unit output signal S6. .

また、間欠動作用クロック生成部2を他のマイコン(CPU)で代用することもできる。すなわち、マイコン1に比べ消費電力が小さい上記他のマイコンを間欠動作用クロック生成部2として用いることにより間欠動作モード設定時における消費電力を抑えることができる。この場合、間欠動作モード設定時だけでなく通常モード設定時においても上記他のマイコンを活用することができる。   Further, the intermittent operation clock generator 2 can be replaced by another microcomputer (CPU). That is, by using the other microcomputer, which consumes less power than the microcomputer 1, as the intermittent operation clock generator 2, it is possible to suppress the power consumption when the intermittent operation mode is set. In this case, the other microcomputer can be used not only when setting the intermittent operation mode but also when setting the normal mode.

また、図7で示した構成では、マイコン1X自体が、スイッチ群SW1〜SWnの状態に基づき検知電圧V11〜V1nを設定していた。この構成以外にも、スイッチ群SW1〜SWnの状態に基づき、検知電圧V11〜V1nを生成する検知電圧発生回路を、スイッチ群SW1〜SWnとマイコン1Xとの間に設けるように構成することも可能である。   In the configuration shown in FIG. 7, the microcomputer 1X itself sets the detection voltages V11 to V1n based on the states of the switch groups SW1 to SWn. In addition to this configuration, a detection voltage generation circuit that generates the detection voltages V11 to V1n based on the states of the switch groups SW1 to SWn may be provided between the switch groups SW1 to SWn and the microcomputer 1X. It is.

1,1X マイコン
2 間欠動作用クロック生成部
3 切換回路
4 電源IC
5 論理回路
6 通信部
7 論理回路
8 抵抗部
9 通信線
10,20,30 車載用ECU
1,1X Microcomputer 2 Intermittent operation clock generator 3 Switching circuit 4 Power supply IC
DESCRIPTION OF SYMBOLS 5 Logic circuit 6 Communication part 7 Logic circuit 8 Resistor part 9 Communication line 10, 20, 30 ECU for vehicle-mounted

Claims (7)

動作電源の供給時に動作状態となり、動作中において所定条件成立時に、間欠動作モード設定を行うマイコンと、
前記間欠動作モード設定時において、電源OFF期間及び電源ON期間を交互に指示する電源供給制御信号を生成する間欠動作電源制御部と、
通常モード設定時において前記マイコンに前記動作電源を供給し、前記間欠動作モード設定時において前記電源供給制御信号が電源オン期間を指示するときにのみ前記マイコンに前記動作電源の供給を行う電源部とを備え、
前記マイコンは、前記間欠動作モード設定時において、動作状態時に車両に関連する起動要因の有無を検出する間欠時動作を行い、前記起動要因の発生を検出すると、前記間欠動作モード設定から前記通常モード設定に改める、
車載用ECU。
A microcomputer that is in an operating state when an operating power supply is supplied and that sets an intermittent operation mode when a predetermined condition is satisfied during operation;
When the intermittent operation mode is set, an intermittent operation power control unit that generates a power supply control signal that alternately indicates a power OFF period and a power ON period;
A power supply unit that supplies the operating power to the microcomputer only when the operating power is supplied to the microcomputer when the normal mode is set and the power supply control signal indicates a power-on period when the intermittent operation mode is set; With
In the intermittent operation mode setting, the microcomputer performs an intermittent operation for detecting the presence or absence of an activation factor related to the vehicle in the operation state, and when the occurrence of the activation factor is detected, from the intermittent operation mode setting to the normal mode Change to settings,
In-vehicle ECU.
請求項1記載の車載用ECUであって、
外部の通信線との送受信が可能な通信部をさらに備え、
前記マイコンは前記通信部とデータの授受が可能であり、
前記所定条件は、前記通信部の受信内容に関する第1の条件と、前記マイコン内部における第2の条件との組合せ条件を含み、
前記通信部は前記電源部を前記間欠動作モード設定から前記通常動作モード設定に変更可能なモード変換機能を有する、
車載用ECU。
An in-vehicle ECU according to claim 1,
It further includes a communication unit capable of transmitting and receiving with an external communication line,
The microcomputer can exchange data with the communication unit,
The predetermined condition includes a combination condition of a first condition related to the received content of the communication unit and a second condition inside the microcomputer,
The communication unit has a mode conversion function capable of changing the power supply unit from the intermittent operation mode setting to the normal operation mode setting.
In-vehicle ECU.
請求項1あるいは請求項2記載の車載用ECUであって、
前記間欠動作電源制御部は、
動作状態時に間欠動作クロックを生成する間欠動作用クロック生成部と、
前記マイコンによる前記間欠動作モード設定時において、前記間欠動作用クロック生成部を動作状態にするとともに、前記間欠動作クロックを前記電源供給制御信号として前記電源部に供給する第1の切換設定を行い、前記マイコンによる前記通常モード設定時において、前記間欠動作クロックを非動作状態とする第2の切換設定を行う切換回路とを含む、
車載用ECU。
An in-vehicle ECU according to claim 1 or claim 2,
The intermittent operation power supply controller is
An intermittent operation clock generator for generating an intermittent operation clock during operation;
At the time of setting the intermittent operation mode by the microcomputer, the intermittent operation clock generation unit is set to an operation state, and the first switching setting for supplying the intermittent operation clock to the power supply unit as the power supply control signal is performed. A switching circuit for performing a second switching setting for setting the intermittent operation clock to a non-operating state when the normal mode is set by the microcomputer.
In-vehicle ECU.
請求項3記載の車載用ECUであって、
前記マイコンは、前記間欠動作モード設定時に実行される前記間欠時動作によって前記起動要因の発生が検出されない場合、前記間欠動作用クロック生成部をリセットさせるクロックリセット機能を有し、
前記間欠動作用クロック生成部は前記リセット後、前記電源OFF期間、前記電源ON期の順で指示する前記間欠動作用クロックを生成する、
車載用ECU。
An in-vehicle ECU according to claim 3,
The microcomputer has a clock reset function for resetting the intermittent operation clock generation unit when the occurrence of the activation factor is not detected by the intermittent operation performed when the intermittent operation mode is set.
The intermittent operation clock generation unit generates the intermittent operation clock instructed in the order of the power OFF period and the power ON period after the reset.
In-vehicle ECU.
請求項1ないし請求項4記載のうち、いずれか1項に記載の車載ECUであって、
前記マイコンは内部に不揮発性メモリを有し、前記間欠動作モード設定時に前記不揮発性メモリに間欠動作モードを指示する判別用データを書込み、
前記マイコンは前記動作電源の供給開始時において、前記不揮発性メモリ内の前記判別用データを参照して、前記間欠動作モード設定の有無を認識する、
車載用ECU。
The on-vehicle ECU according to any one of claims 1 to 4,
The microcomputer has a non-volatile memory inside, and when the intermittent operation mode is set, the determination data for instructing the intermittent operation mode is written to the non-volatile memory,
The microcomputer recognizes the presence or absence of the intermittent operation mode setting with reference to the determination data in the nonvolatile memory at the start of supply of the operation power.
In-vehicle ECU.
請求項5記載の車載ECUであって、
前記マイコンは、前記間欠動作モード設定時に前記不揮発性メモリに、車両に関連する状態を指示する情報を端子情報として書込む、
車載用ECU。
An in-vehicle ECU according to claim 5,
The microcomputer writes information indicating a state related to a vehicle as terminal information in the nonvolatile memory when the intermittent operation mode is set.
In-vehicle ECU.
請求項6記載の車載ECUであって、
前記マイコンは、前記不揮発性メモリから読み出した前記端子情報と、前記間欠時動作中に取得した前記端子情報との比較結果に基づき前記起動要因の有無を検出することにより、前記間欠時動作を行う、
車載用ECU。
An in-vehicle ECU according to claim 6,
The microcomputer performs the intermittent operation by detecting the presence or absence of the activation factor based on a comparison result between the terminal information read from the nonvolatile memory and the terminal information acquired during the intermittent operation. ,
In-vehicle ECU.
JP2010156716A 2010-03-18 2010-07-09 In-vehicle ECU Expired - Fee Related JP5640508B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010156716A JP5640508B2 (en) 2010-03-18 2010-07-09 In-vehicle ECU

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2010061855 2010-03-18
JP2010061855 2010-03-18
JP2010156716A JP5640508B2 (en) 2010-03-18 2010-07-09 In-vehicle ECU

Publications (2)

Publication Number Publication Date
JP2011213337A true JP2011213337A (en) 2011-10-27
JP5640508B2 JP5640508B2 (en) 2014-12-17

Family

ID=44943515

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010156716A Expired - Fee Related JP5640508B2 (en) 2010-03-18 2010-07-09 In-vehicle ECU

Country Status (1)

Country Link
JP (1) JP5640508B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPWO2022080041A1 (en) * 2020-10-12 2022-04-21

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06270669A (en) * 1993-03-23 1994-09-27 Tokai Rika Co Ltd Load control device for vehicle
JP2007269109A (en) * 2006-03-30 2007-10-18 Aisin Aw Co Ltd Power supply management system
JP4149879B2 (en) * 2003-08-28 2008-09-17 株式会社日本自動車部品総合研究所 Drive control device for in-vehicle equipment
JP2009070093A (en) * 2007-09-12 2009-04-02 Denso Corp Electronic control unit and signal monitoring circuit
JP2009202822A (en) * 2008-02-29 2009-09-10 Yazaki Corp Control device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06270669A (en) * 1993-03-23 1994-09-27 Tokai Rika Co Ltd Load control device for vehicle
JP4149879B2 (en) * 2003-08-28 2008-09-17 株式会社日本自動車部品総合研究所 Drive control device for in-vehicle equipment
JP2007269109A (en) * 2006-03-30 2007-10-18 Aisin Aw Co Ltd Power supply management system
JP2009070093A (en) * 2007-09-12 2009-04-02 Denso Corp Electronic control unit and signal monitoring circuit
JP2009202822A (en) * 2008-02-29 2009-09-10 Yazaki Corp Control device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPWO2022080041A1 (en) * 2020-10-12 2022-04-21
WO2022080041A1 (en) * 2020-10-12 2022-04-21 日立Astemo株式会社 Electronic control device and power consumption reduction method for electronic control device
JP7316465B2 (en) 2020-10-12 2023-07-27 日立Astemo株式会社 Electronic control device and method for reducing power consumption of electronic control device

Also Published As

Publication number Publication date
JP5640508B2 (en) 2014-12-17

Similar Documents

Publication Publication Date Title
JP4518150B2 (en) Electronic control device for vehicle
JP4535170B2 (en) Microcomputer system
US8583323B2 (en) Vehicle-use electronic control device
US20090106572A1 (en) Microcomputer system
JP5231047B2 (en) Control device
JP4750564B2 (en) Reset signal generation circuit
JP4151566B2 (en) Microcomputer
WO2013054761A1 (en) Vehicle ecu
JP5640508B2 (en) In-vehicle ECU
JP2006290162A (en) Control unit for automobile
TWI396072B (en) Control module for controlling electro phoretic display integrated circuit and method thereof
JP2013151288A (en) Control device
JP5640518B2 (en) In-vehicle ECU
US20150377204A1 (en) Vehicular electronic control unit
CN115139937B (en) Power-on and power-off time sequence control method of vehicle-mounted controller and vehicle-mounted controller
JP2000276267A (en) Electronic control unit for vehicle
JP2002354166A (en) Electronic device
JP4730356B2 (en) Power control device
JP2010258635A (en) Control apparatus
JP2006350930A (en) Control circuit and information processor
WO2023136158A1 (en) In-vehicle system, management device, and management method
JP2013082374A (en) In-vehicle ecu
JP2005186770A (en) On-vehicular device and its power source control method
JPH08249083A (en) Electronic apparatus
JP4383494B1 (en) Data processing system and debugging method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130322

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140207

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140304

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140411

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20141013

R150 Certificate of patent or registration of utility model

Ref document number: 5640508

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees