JP2000163152A - Electronic controller - Google Patents

Electronic controller

Info

Publication number
JP2000163152A
JP2000163152A JP10341350A JP34135098A JP2000163152A JP 2000163152 A JP2000163152 A JP 2000163152A JP 10341350 A JP10341350 A JP 10341350A JP 34135098 A JP34135098 A JP 34135098A JP 2000163152 A JP2000163152 A JP 2000163152A
Authority
JP
Japan
Prior art keywords
clock
circuit
operation clock
electronic control
mode
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP10341350A
Other languages
Japanese (ja)
Inventor
Shigeki Yamada
茂樹 山田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Ltd
Hitachi Automotive Systems Engineering Co Ltd
Original Assignee
Hitachi Ltd
Hitachi Car Engineering Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd, Hitachi Car Engineering Co Ltd filed Critical Hitachi Ltd
Priority to JP10341350A priority Critical patent/JP2000163152A/en
Publication of JP2000163152A publication Critical patent/JP2000163152A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To prevent the increase of consumption current owing to an unnecessary circuit operation and to prevent the malfunction of a device since plural operation clocks simultaneously exist by stopping the other clock while one clock is used and preventing the first clock and the second clock from being simultaneously generated. SOLUTION: CPU 6 has a clock oscillation circuit OSC1 for an operation. CPU 6 operates so that it moves to a low consumption current mode when the non-operation state of an electronic controller continues and sets a mode switch signal 3 to an 'L' level being the consumption current mode lower than 'H'. An oscillation circuit OSC2 starts operating with the signal change of the mode switch signal 3 and the inner switch of a clock switch circuit 9 which is brought into contact with 1a at regular time is connection-changed to 3a-side. The clock signal of OSC1 at regular time is switched to the operation clock of OSC2 at the time of the low consumption current mode.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は電子制御装置におけ
る通常動作時の他に回路の消費電流を低減させた低消費
電流モードを有する電子制御装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an electronic control device having a low current consumption mode in which a current consumption of a circuit is reduced in addition to a normal operation of the electronic control device.

【0002】[0002]

【従来の技術】従来、公知の技術として通常の動作モー
ドの他に低消費電流モードを有する電子制御装置の場合
通常の動作モードは、上記第一のクロック用発振回路よ
り発生する動作クロックにより装置を動作させ、低消費
電流モードの場合はCPUを一旦低消費電流モードとし
てから、装置の動作クロックを上記第2の低速なクロッ
クへ切り替え、装置の消費電流を低減させこの結果装置
の低消費電流を実現させる様にしている。
2. Description of the Related Art Conventionally, in the case of an electronic control device having a low current consumption mode in addition to a normal operation mode as a known technology, a normal operation mode is controlled by an operation clock generated from the first clock oscillation circuit. Is operated, and in the case of the low current consumption mode, the CPU is once set to the low current consumption mode, and then the operation clock of the apparatus is switched to the second low-speed clock to reduce the current consumption of the apparatus, thereby reducing the current consumption of the apparatus. Is realized.

【0003】[0003]

【発明が解決しようとする課題】上記従来技術では、通
常の動作モードの場合でも、第2の低速なクロックの発
振回路は動作しており、この発振回路の動作電流分無駄
な回路電流を消費する事になりまた第1のクロックと第
2のクロックとの干渉による装置の誤動作や、装置から
発せられる電磁ノイズに第2のクロック成分が含まれる
事による周辺回路や別の装置への影響を考慮する必要が
有った。
In the above prior art, the oscillation circuit of the second low-speed clock is operating even in the normal operation mode, and wasteful circuit current is consumed by the operation current of this oscillation circuit. And the malfunction of the device due to the interference between the first clock and the second clock, and the influence on the peripheral circuits and other devices due to the electromagnetic noise emitted from the device including the second clock component. It needed to be considered.

【0004】[0004]

【課題を解決するための手段】上記の問題は電子制御装
置内の通常動作時に使用する第一の動作クロックと、低
消費電流モードで動作する時に使用する第2の動作クロ
ックの切り替え回路を用い、一方のクロックを使用して
いる間は他方のクロックを停止させ、第一のクロックと
第2のクロックを同時に発生させない事により達成でき
る。
The above problem is solved by using a switching circuit for switching between a first operation clock used during normal operation in the electronic control unit and a second operation clock used during operation in the low current consumption mode. This can be achieved by stopping the other clock while using one clock and not simultaneously generating the first clock and the second clock.

【0005】即ち、電子制御装置内で不要な回路動作に
よる回路消費電流の増大及び複数の動作クロックが同時
に存在する事による装置の誤動作および周辺装置及び機
器への電磁ノイズの影響をなくすことができる。
In other words, it is possible to eliminate an increase in circuit current consumption due to unnecessary circuit operations in the electronic control device, a malfunction of the device due to the simultaneous presence of a plurality of operation clocks, and the effect of electromagnetic noise on peripheral devices and equipment. .

【0006】[0006]

【発明の実施の形態】以下、本発明の一実施例を図1に
より説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be described below with reference to FIG.

【0007】CPUは動作するためのクロック発振回路
OSC1を有し、この回路により発生するクロックをC
PUの動作用クロックとしている、同時にこのクロック
信号は一旦分周し他の周辺機器であるゲートアレイ7や
入出力回路8の動作クロックとして共通に使用されてい
る。
The CPU has a clock oscillating circuit OSC1 for operating, and the clock generated by this circuit is
At the same time, this clock signal, which is used as a clock for operating the PU, is once frequency-divided and is commonly used as an operation clock for the gate array 7 and the input / output circuit 8 as other peripheral devices.

【0008】CPU6は電子制御装置の非動作状態が続
いたときに低消費電流モードへ移行する様に動作する、
すなわちモード切り替え信号3を通常時“H”より低消
費電流モード時である“L”レベルとする。
The CPU 6 operates so as to shift to the low current consumption mode when the inactive state of the electronic control device continues.
That is, the mode switching signal 3 is set to “L” level which is a lower current consumption mode than normal “H”.

【0009】このモード切り替え信号の信号変化により
OSC2の発振回路は動作を開始し、同時にクロック切
り替え回路の内部スイッチが通常時1aと接していたも
のが、3a側へ接続状態が変化し、この結果クロック信
号が通常時OSC1のクロック信号となっていたのに対
し低消費電流モード時OSC2の動作クロックへ切り替
わる事になる。
Due to the change of the mode switching signal, the oscillation circuit of the OSC2 starts operating. At the same time, the connection state of the internal switch of the clock switching circuit, which was normally in contact with 1a, is changed to 3a side. While the clock signal is normally the OSC1 clock signal, it switches to the OSC2 operation clock in the low current consumption mode.

【0010】低消費電流モードとはCPUの各ポートや
メモリの状態を保持したままクロックを停止させ(スタ
ンバイモード)、通常時数百ミリアンペア消費する電流
を数マイクロアンペア程度に減少させるモードの事で、
この状態で外部割り込み入力端子(NMI:ノンマスカ
ブルインタラプト)の端子が変化すると、OSC1が発
振開始し同時に切り替え信号3を低消費電流モードであ
る“L”レベルから通常時“H”レベルへ変化させ、定
常状態に復帰する。
The low current consumption mode is a mode in which the clock is stopped while maintaining the state of each port of the CPU and the memory (standby mode), and the current that normally consumes several hundred milliamps is reduced to about several microamps. ,
In this state, when the terminal of the external interrupt input terminal (NMI: non-maskable interrupt) changes, the OSC1 starts oscillating, and at the same time, the switching signal 3 changes from the “L” level, which is the low current consumption mode, to the “H” level during normal operation. Return to steady state.

【0011】本実施例では低消費電流モード中に外部か
らの動作要求信号によりNMI信号を制御するW/U
(ウェイクアップ信号)回路を用いている。
In this embodiment, a W / U for controlling the NMI signal in response to an external operation request signal during the low current consumption mode.
(Wake-up signal) circuit is used.

【0012】一般にCPU等のクロックで動作する回路
は、消費電流が回路の動作クロックに比例して大きくな
るため、自動車用の電子制御装置等で特にバッテリに直
結されるものについては、装置が動作していない場合で
も回路の消費電流が大きいとバッテリの負担が大となり
最悪バッテリ上がりの原因ともなるので、装置が動作し
ていない場合は消費電流を低減させる必要がある。
In general, the current consumption of a circuit, such as a CPU, which operates with a clock increases in proportion to the operation clock of the circuit. Even when the device is not operated, if the current consumption of the circuit is large, the load on the battery becomes large and the battery may run down at worst. Therefore, when the device is not operating, it is necessary to reduce the current consumption.

【0013】このため上記の第一の発振回路の動作周波
数は通常の動作クロックに相当するものを使用し、低消
費電流モードすなわち第2の発振回路により発生する動
作クロックの周波数は第1の発振周波数と比較し十分小
さい周波数とし、CPUの動作に依存しない部分に関
し、最低限の動作をさせることにより低消費電流化が図
れる。
For this reason, the operating frequency of the above-mentioned first oscillation circuit is equivalent to that of a normal operation clock, and the frequency of the operation clock generated by the second oscillation circuit is low in the low current consumption mode. The current consumption can be reduced by setting the frequency to be sufficiently lower than the frequency and performing the minimum operation on a portion that does not depend on the operation of the CPU.

【0014】本実施例では上記回路の他にCPUとアド
レスバス,データバスで接続されたPWM出力回路,デ
ジタル出力回路及び入出力回路が記載されているが、こ
れは一例であり、他の周辺回路でも可である。
In this embodiment, a PWM output circuit, a digital output circuit, and an input / output circuit connected to the CPU via an address bus and a data bus are described in addition to the above-described circuits. Circuits are also possible.

【0015】図2はCPU内の発振回路の一例を示す。FIG. 2 shows an example of an oscillation circuit in the CPU.

【0016】実施例ではクリスタルを用いた発振回路よ
り構成されており、モード切り替え信号により発振と停
止状態を切り替えられる構成としている。ここでモード
切り替え信号は表1により規定しているが、逆の論理で
も切り替えは可能である。
In the embodiment, the oscillation circuit is constituted by an oscillation circuit using a crystal, and the oscillation and the stop state can be switched by a mode switching signal. Here, the mode switching signal is defined by Table 1, but switching can be performed by the opposite logic.

【0017】[0017]

【表1】 [Table 1]

【0018】図3はOSC2の回路構成を示すものであ
る。本実施例では回路をCRのみで構成させ回路を簡略
化している。
FIG. 3 shows a circuit configuration of the OSC2. In this embodiment, the circuit is made up of only the CR to simplify the circuit.

【0019】図4はクロック切り替え信号9の構成例を
示す。同等の機能をもつものであれば任意に構成でき
る。
FIG. 4 shows a configuration example of the clock switching signal 9. Any configuration having the same function can be used.

【0020】本実施例でもわかるとおり第1の発振回路
と第2の発振回路が同時に動作しない様に回路が構成さ
れており、第1と第2のクロックが同時に発生すること
による干渉ノイズによる制御装置自身の誤動作や、周辺
機器へのノイズ等の悪影響、及び両方の発振回路が同時
に動作する事による回路消費電流の増加を防止すること
ができる。
As can be seen from the present embodiment, the circuit is configured so that the first oscillation circuit and the second oscillation circuit do not operate at the same time, and the control by interference noise caused by the simultaneous generation of the first and second clocks. It is possible to prevent an erroneous operation of the device itself, adverse effects such as noise on peripheral devices, and an increase in circuit current consumption due to simultaneous operation of both oscillation circuits.

【0021】[0021]

【発明の効果】本発明によると、電子制御装置内で不要
な回路動作による回路消費電流の増大及び複数の動作ク
ロックが同時に存在する事による装置の誤動作、および
周辺装置及び機器への電磁ノイズの影響をなくす効果が
ある。
According to the present invention, an increase in circuit current consumption due to unnecessary circuit operations in the electronic control device, a malfunction of the device due to the simultaneous presence of a plurality of operation clocks, and a reduction in electromagnetic noise to peripheral devices and equipment. Has the effect of eliminating the effects.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の主な構成である電子制御装置を示す
図。
FIG. 1 is a diagram showing an electronic control device that is a main configuration of the present invention.

【図2】図1の発信回路の構成を示す図。FIG. 2 is a diagram showing a configuration of a transmission circuit of FIG. 1;

【図3】図1の発振回路の構成を示す図。FIG. 3 is a diagram illustrating a configuration of an oscillation circuit in FIG. 1;

【図4】図1のクロック切り替え回路。FIG. 4 is a clock switching circuit of FIG. 1;

【符号の説明】[Explanation of symbols]

1…OSC1のクロック信号、1a…分周回路出力信
号、2…クロック信号、3…クロック切り替え信号、3
a…分周回路出力信号、4…NMI信号、5…バスライ
ン、6…CPU、7…ゲートアレイ、8…入出力回路、
9…クロック切り替え回路。
DESCRIPTION OF SYMBOLS 1 ... OSC1 clock signal, 1a ... frequency dividing circuit output signal, 2 ... clock signal, 3 ... clock switching signal, 3
a: frequency dividing circuit output signal, 4: NMI signal, 5: bus line, 6: CPU, 7: gate array, 8: input / output circuit,
9: Clock switching circuit.

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】CPUとその周辺回路及び外部とのI/F
回路から構成され少なくとも前記構成回路のうちの一つ
に第1の動作クロック用の発振回路を有し、この発振回
路より得られる動作クロックを他の構成要素の回路動作
クロックに使用する事を特徴とする電子制御装置。
An interface between a CPU, its peripheral circuits, and the outside.
A circuit for generating a first operation clock in at least one of the constituent circuits, and using the operation clock obtained from the oscillation circuit as a circuit operation clock for other components. Electronic control device.
【請求項2】請求項1記載の電子制御装置において、発
振回路を有する構成回路以外の構成回路に更に別の第2
の動作クロック用の発振回路を有する事を特徴とする電
子制御装置。
2. The electronic control device according to claim 1, further comprising a second circuit other than the configuration circuit having the oscillation circuit.
An electronic control device, comprising: an oscillation circuit for the operation clock.
【請求項3】請求項1又は2記載の電子制御装置におい
て、装置全体が通常の第一の動作クロックにて動作する
動作モードとは別に上記第2の動作クロックで装置全
体、もしくは一部の回路が動作する動作モードが有る事
を特徴とする電子制御装置。
3. The electronic control device according to claim 1, wherein the second operation clock separates the entire device or a part of the device from an operation mode in which the entire device operates with a normal first operation clock. An electronic control device having an operation mode in which a circuit operates.
【請求項4】請求項1から3いずれか1項記載の電子制
御装置において、一方の動作クロックともう一方の動作
クロックを切り替える手段を有し且つ一方の発振回路が
動作しその結果として第一の動作クロックが供給されて
いる時は他の発振回路は停止させ第2の動作クロックが
装置に供給されない様に、また第2の動作クロックが装
置に供給されている時は第一の動作クロックは停止さ
せ、装置に供給されないようにした事を特徴とする電子
制御装置。
4. The electronic control device according to claim 1, further comprising means for switching between one operation clock and the other operation clock, and one of the oscillation circuits is operated, and as a result, the first When the second operation clock is supplied to the device, the other oscillation circuit is stopped so that the second operation clock is not supplied to the device. When the second operation clock is supplied to the device, the first operation clock is supplied. Is an electronic control unit characterized by being stopped and not supplied to the device.
JP10341350A 1998-12-01 1998-12-01 Electronic controller Pending JP2000163152A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10341350A JP2000163152A (en) 1998-12-01 1998-12-01 Electronic controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10341350A JP2000163152A (en) 1998-12-01 1998-12-01 Electronic controller

Publications (1)

Publication Number Publication Date
JP2000163152A true JP2000163152A (en) 2000-06-16

Family

ID=18345394

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10341350A Pending JP2000163152A (en) 1998-12-01 1998-12-01 Electronic controller

Country Status (1)

Country Link
JP (1) JP2000163152A (en)

Similar Documents

Publication Publication Date Title
US7032117B2 (en) Dynamic power control in integrated circuits
US6639454B2 (en) Multiple circuit blocks with interblock control and power conservation
US8255730B2 (en) Power management unit and systems LSI having the power management unit
EP0499440A2 (en) A circuit arrangement for a mobile telephone
TWI405408B (en) Switching control method capable of continuously providing power and related apparatus and power supply system
US7882376B2 (en) Power control for a core circuit area of a semiconductor integrated circuit device
JP3460736B2 (en) Clock control circuit
JPH10341199A (en) Radio portable terminal
JPH11202968A (en) Microcomputer
JPH10340127A (en) Information processor
JPH10149237A (en) Semiconductor circuit
JP2000163152A (en) Electronic controller
US8677164B2 (en) Microcomputer and control method thereof
JP2001077313A (en) Integrated circuit device
JP2002063150A (en) Microcomputer
JPH04167113A (en) Information processor
JPH0863253A (en) Microprocessor
JP2008217523A (en) Semiconductor integrated circuit
JP6956036B2 (en) Semiconductor devices and circuit control methods
JP2011079176A (en) Controller for image processor
JPS60251418A (en) Operating frequency switching control circuit of arithmetic unit
KR0150752B1 (en) Power operating system
TW202339400A (en) Semiconductor device and method of operating a semiconductor device
JP2000250666A (en) Central processor and method for reducing power consumption of its central processor
JPH08272479A (en) Variable clock generation device