JPS62191908A - Power consumption reducing circuit for electronic circuit - Google Patents
Power consumption reducing circuit for electronic circuitInfo
- Publication number
- JPS62191908A JPS62191908A JP61034179A JP3417986A JPS62191908A JP S62191908 A JPS62191908 A JP S62191908A JP 61034179 A JP61034179 A JP 61034179A JP 3417986 A JP3417986 A JP 3417986A JP S62191908 A JPS62191908 A JP S62191908A
- Authority
- JP
- Japan
- Prior art keywords
- clock
- signal
- variable speed
- power consumption
- speed
- 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
Links
- 230000009467 reduction Effects 0.000 claims description 9
- 230000008859 change Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 230000000694 effects Effects 0.000 description 3
- 238000000034 method Methods 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000005856 abnormality Effects 0.000 description 1
- 230000003111 delayed effect Effects 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000007704 transition Effects 0.000 description 1
Landscapes
- Power Sources (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は電子制御手段等の電子回路の平均消費電力の低
減を図った電子回路用消費電力低減回路に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a power consumption reduction circuit for electronic circuits that aims to reduce the average power consumption of electronic circuits such as electronic control means.
消費電力の低減を図る従来の電子回路として、例えば、
第4図に示すものがある。この電子回路は電源(+5v
)供給用のVcc端子、定クロック信号が印加されるC
LK端子および割込信号が入力されるINT端子等を有
する0MO3等によるマイクロプロセッサ40を有し、
その動作モードとしてアクティブモードとスリーブモー
ドを備えており、スリーブモードを選択したときに平均
消費電力が低減されるようになっている(その具体例と
して、例えば、日立マイクロコンピュータデータブック
、8ビツト・16ビツトマルチチツプ、昭和59年9月
刊■日立製作所発行、第101頁に記載されている)。Examples of conventional electronic circuits that aim to reduce power consumption include:
There is one shown in Figure 4. This electronic circuit is powered by a power supply (+5v
) supply Vcc terminal, C to which a constant clock signal is applied
It has a microprocessor 40 such as 0MO3 having an LK terminal and an INT terminal into which an interrupt signal is input,
It has an active mode and a sleeve mode as its operating modes, and when the sleeve mode is selected, the average power consumption is reduced (for example, Hitachi Microcomputer Data Book, 8-bit 16-Bit Multichip, September 1980 ■Published by Hitachi, p. 101).
以上の構成において、マイクロプロセッサ40は、通常
の状態であるアクティブモードと消費電力が低減される
スリーブモードのいずれかの状態にある。アクティブモ
ードにあるときにスリーブ命令を実行するとスリーブモ
ードへ移行する。また、スリーブモードのときに割込入
力([NT端子に印加される)があると、アクティブモ
ードへ移行する。スリーブモードの状態では、平均消費
電力がアクティブモード時の数分の1に低減されるが、
割込み受付は以外の機能は停止している。このようなス
リーブモードは、電源が電池の場合等のように供給可能
な電力量が限定されている場合に有効となる。このよう
な必要性のある機器としては、ハンドベルトコンピュー
タ、ハンドベルトプリンタプロッタ等がある。In the above configuration, the microprocessor 40 is in either the active mode, which is a normal state, or the sleep mode, which reduces power consumption. If you execute a sleeve command while in active mode, it will transition to sleeve mode. Furthermore, if an interrupt input (applied to the NT terminal) occurs during the sleeve mode, the mode shifts to the active mode. In sleep mode, average power consumption is reduced to a fraction of that in active mode, but
All functions other than interrupt reception are stopped. Such a sleeve mode is effective when the amount of power that can be supplied is limited, such as when the power source is a battery. Equipment with such a need include hand belt computers, hand belt printer plotters, and the like.
第4図に示すマイクロプロセッサ40をプリンタプロッ
タに用いる場合、定速のクロック信号が、CLK端子お
よびマイクロプロセッサ40に接続される周辺回路41
(例えば、メモリ、入出力装置)に印加されている。When the microprocessor 40 shown in FIG.
(e.g., memory, input/output devices).
プリンタプロッタに対し、外部からデータ、用紙送りコ
マンド等の入力があると、マイクロプロセッサ40はプ
リントプロット、用紙送り等を実行する(これらの処理
は高速を必要とする)。一方、外部からの人力が無い場
合、マイクロプロセッサ40は、外部からの入力の存無
、用紙詰まり等の異常を検知するための諸センサをポー
リングするための処理を実行する。これは前述の処理が
高速を要するのに対し、低速度でよい。When data, paper feeding commands, etc. are input to the printer plotter from the outside, the microprocessor 40 executes print plotting, paper feeding, etc. (these processes require high speed). On the other hand, when there is no external human power, the microprocessor 40 executes processing to poll various sensors for detecting the presence or absence of external input and abnormalities such as paper jams. This process may be performed at a low speed, whereas the above-mentioned processing requires high speed.
そこでマイクロプロセッサ40は、所定時間ごとに単期
間だけアクティブモードにし、その他の期間(これが殆
どを占める)をスリーブモードとすることによって、平
均消費電力の低減を図ることができる。スリーブモード
からアクティブモードにするためには、割込信号が必要
であるが、インターバルタイマにより定期的に割込信号
を発生させるか、或いは外部からの指令、諸センサの異
常出力の○R出力等を用いることにより実現できる。Therefore, the microprocessor 40 can reduce the average power consumption by placing the microprocessor 40 in the active mode for only a single period at predetermined time intervals and in the sleep mode for the other periods (which account for most of the time). To change from sleeve mode to active mode, an interrupt signal is required, but it is necessary to generate an interrupt signal periodically using an interval timer, or to receive commands from the outside, ○R output of abnormal outputs from various sensors, etc. This can be achieved by using .
しかし、従来の消費電力低減手段にあっては、スリーブ
モードにおいても定速クロックを用いているため、平均
消費電力の低減に限界が生じるという不都合がある。However, in the conventional power consumption reduction means, since a constant speed clock is used even in the sleep mode, there is a problem in that there is a limit to the reduction of average power consumption.
また、モード変更のために割込みを用いているため、貴
重な割込み端子の1つをモード切換え専用とせねばなら
ないばかりか、周辺回路にあっては、アクティブモード
へ移行すべき要因を1本の信号線にまとめるための各種
回路を設けねばならない不都合がある。Furthermore, since interrupts are used to change modes, not only does one of the valuable interrupt pins have to be dedicated to mode switching, but in peripheral circuits, a single signal is required to switch to active mode. There is an inconvenience that various circuits must be provided for grouping into lines.
本発明は上記に鑑みてなされたものであり、平均消費電
力を限界まで低減できるようにするため、クロック速度
を変化させて動作速度を変えられるようにした電子回路
用消費電力低減回路を提供するものである。The present invention has been made in view of the above, and provides a power consumption reduction circuit for electronic circuits that can change the operating speed by changing the clock speed in order to reduce the average power consumption to the limit. It is something.
本発明の電子回路用消費電力低減回路によれば、例えば
、低処理負荷時にクロック速度を下げることによって動
作速度を遅くさせ、平均消費電力を従来より更に低減す
る。According to the power consumption reduction circuit for an electronic circuit of the present invention, for example, by lowering the clock speed when the processing load is low, the operating speed is slowed down, and the average power consumption is further reduced than before.
以下、本発明による電子回路用消費電力低減回路を詳細
に説明する。Hereinafter, the power consumption reduction circuit for electronic circuits according to the present invention will be explained in detail.
第1図は本発明の一実施例を示し、可変速のクロック信
号2を発生する可変速クロック発生部1と、可変速クロ
ック2に同期して予め設定されたプログラムに従って可
変速クロック発生部1を制御するためのクロック速度制
御信号4を可変速クロック発生部1へ出力するCMO3
等の素子を用いて構成される制御部3より構成される。FIG. 1 shows an embodiment of the present invention, in which a variable speed clock generator 1 generates a variable speed clock signal 2, and a variable speed clock generator 1 according to a preset program in synchronization with the variable speed clock 2. The CMO 3 outputs a clock speed control signal 4 to the variable speed clock generator 1 to control the clock speed control signal 4.
The control section 3 is constructed using elements such as the following.
以上の構成において、制御部3の内部にクロック速度変
更の要求が出されると、制御部3は要求に応じたクロッ
ク速度制御信号4を可変速度クロック発生部1に出力す
る。可変速クロック発生部1は制御信号4に基づいて可
変速クロック信号2を発生する。In the above configuration, when a request to change the clock speed is issued within the control section 3, the control section 3 outputs a clock speed control signal 4 corresponding to the request to the variable speed clock generation section 1. A variable speed clock generator 1 generates a variable speed clock signal 2 based on a control signal 4.
第2図は第1図の実施例の詳細を示し、可変速クロック
発生部1は、制御部3より与えられるデータおよびコマ
ンドに応じた周期指定データ6を発生する周期レジスタ
5と、周期指定データ6および定クロック信号9等に基
づいてリップルキャリー出力信号を発生するダウンカウ
ンタ7と、定クロック9を発生する定クロック発振器8
と、リップルキャリー出力信号10に基づいて可変速ク
ロック信号2を発生するT型フリップフロップ11より
構成される。FIG. 2 shows details of the embodiment shown in FIG. 1, in which the variable speed clock generating section 1 includes a period register 5 that generates period designation data 6 according to data and commands given from the control section 3, and a period designation data 6. 6, a down counter 7 that generates a ripple carry output signal based on the constant clock signal 9, etc., and a constant clock oscillator 8 that generates the constant clock 9.
and a T-type flip-flop 11 that generates a variable speed clock signal 2 based on the ripple carry output signal 10.
また、制御部3は、可変速クロック信号2に基いて書込
データ13、書込アドレス15および書込コマンド16
を出力するマイクロプロセッサ12と、書込アドレス1
5および書込コマンド16に基いて周期レジスタ5に対
する書込コマンド17を出力するアドレスデコーダ14
より構成される。Further, the control unit 3 controls the write data 13, the write address 15, and the write command 16 based on the variable speed clock signal 2.
microprocessor 12 that outputs , and write address 1
5 and a write command 16, an address decoder 14 outputs a write command 17 to the period register 5.
It consists of
第2図の構成において、周期レジスタ5から周期指定デ
ークロが出力され、ダウンカウンタ7にデータとして入
力される。In the configuration shown in FIG. 2, a period designating data clock is output from the period register 5 and inputted to the down counter 7 as data.
ダウンカランタフには定クロック信号9が入力されてお
り、両人力に基づいてリップルキャリー出力信号10を
発生する。このリップルキャリー出力信号10はフリッ
プフロップ11のCLK端子に入力されると共に、ダウ
ンカウンタ7のLOAD端子に入力される。A constant clock signal 9 is input to the downcarrant, and a ripple carry output signal 10 is generated based on both inputs. This ripple carry output signal 10 is input to the CLK terminal of the flip-flop 11 and also to the LOAD terminal of the down counter 7.
フリップフロップ11のQ端子には、可変速クロック信
号2が出力され、マイクロプロセッサ12のCLK端子
にクロックとして入力される。A variable speed clock signal 2 is outputted to the Q terminal of the flip-flop 11 and inputted to the CLK terminal of the microprocessor 12 as a clock.
マイクロプロセッサ12は、可変速クロック信号2に同
期してメモリに格納されているプログラムに従った動作
をする。マイクロプロセッサ12は、周期レジスタ5に
書込みを行う際、アドレスデコーダ14に対し書込みア
ドレス15およびコマンド16を出力する。The microprocessor 12 operates in accordance with a program stored in memory in synchronization with the variable speed clock signal 2. When writing to the period register 5, the microprocessor 12 outputs a write address 15 and a command 16 to the address decoder 14.
アドレスデコーダ14は書込みコマンド17を周期レジ
スタ5に対し、クロックとして出力する。このコマンド
17が入力されたことをもって、周期レジスタ5は書込
みデータ13をラッチする。ラッチされたデータ値は、
ダウンカウンタ7がりソプルキャリー信号10を出力す
るごとにダウンカウンタフヘロードされる。ダウンカウ
ンタ7より出力されたリップルキャリー出力信号10は
、定クロック信号9を書込データ13で割った値である
。この信号10はフリップフロップ11によって2分周
されたのち、可変速クロック信号2としてマイクロプロ
セッサ12に出力される。このように、ダウンカウンタ
7のカウント数を変えてクロックの周期を変え、クロッ
ク速度を変更する。Address decoder 14 outputs write command 17 to period register 5 as a clock. Upon input of this command 17, the period register 5 latches the write data 13. The latched data value is
Each time the down counter 7 outputs the pull carry signal 10, it is loaded into the down counter. The ripple carry output signal 10 output from the down counter 7 is a value obtained by dividing the constant clock signal 9 by the write data 13. This signal 10 is frequency-divided by two by a flip-flop 11 and then outputted to the microprocessor 12 as a variable speed clock signal 2. In this way, by changing the count number of the down counter 7, the clock cycle is changed, and the clock speed is changed.
第3図は本発明の実施例を示し、クロック選択信号21
を発生するアンプダウン(U/D)カウンタ20と、各
々異なる速度の定クロック信号23a、23bを発生す
る定クロック発振器21a、21b、21cと、クロッ
ク選択信号21に基づいて定クロック信号23a〜23
Cの1つを選択して可変クロック信号2として出力する
マルチプレクサ24とにより可変速クロック発生部1が
構成される。FIG. 3 shows an embodiment of the invention, in which the clock selection signal 21
an amplifier down (U/D) counter 20 that generates constant clock signals 23a, 23b of different speeds, constant clock oscillators 21a, 21b, 21c that generate constant clock signals 23a, 23b of different speeds, and constant clock signals 23a to 23 based on the clock selection signal 21.
A variable speed clock generating section 1 is constituted by a multiplexer 24 that selects one of the clock signals C and outputs it as the variable clock signal 2.
また、制御部3は、ROM27と共にステートマシンを
形成し、可変速クロック信号2をクロックとしてROM
ネクストアドレス26を発生すると共にROMリードデ
ータ28に基いてアップダウンクロック信号26および
アップダウン指定信号27を出力する状態レジスタ25
と、ROMネタストアドレス26に対応するROMリー
ドデータ28を出力するROM27より構成される。Further, the control unit 3 forms a state machine together with the ROM 27, and uses the variable speed clock signal 2 as a clock to operate the ROM.
A status register 25 that generates a next address 26 and outputs an up/down clock signal 26 and an up/down designation signal 27 based on ROM read data 28
and a ROM 27 that outputs ROM read data 28 corresponding to the ROM netast address 26.
第3図の構成において、状態レジスタ25より出力され
るROMネクストアドレス26に基づいて、対応するり
−ドデータ28がROM27より出力される。このリー
ドデータ28によってU/Dカウンタ20に対するアッ
プまたはダウンを指定するアップダウン1旨定信号27
を出力する。U/Dカウンタ20はアップダウン指定信
号27に基づいて定クロック信号を現在値よりアンプ又
はダウンするためのクロック選択信号21をマルチプレ
クサ24へ出力する。マルチプレクサ24は選択信号2
1に基づいて定クロック23a〜23cの1つを選択し
、これを可変速クロック信号として、制御部3へ出力す
る。In the configuration shown in FIG. 3, based on the ROM next address 26 output from the status register 25, the corresponding read data 28 is output from the ROM 27. Up/down 1 determination signal 27 that specifies up or down for the U/D counter 20 by this read data 28
Output. Based on the up/down designation signal 27, the U/D counter 20 outputs a clock selection signal 21 to the multiplexer 24 for amplifying or downgrading the constant clock signal from the current value. Multiplexer 24 selects signal 2
1, one of the constant clocks 23a to 23c is selected and outputted to the control section 3 as a variable speed clock signal.
尚、以上の実施例おいては、CMO3を用いるものとし
たが、これに限らず、NMO3、TTL等を用いること
ができる。In the above embodiment, CMO3 is used, but the present invention is not limited to this, and NMO3, TTL, etc. can be used.
また、制御部に入力される可変速クロック信号2は1本
の場合を示したが、例えば、2本にして2相クロツクと
することもできる。Further, although the case is shown in which one variable speed clock signal 2 is inputted to the control section, it is also possible to use two, for example, to provide a two-phase clock.
更に、クロック速度は、環境温度、電源電圧変動、外部
からのノイズレベル変動、適用される装置の個々のばら
つき、経時変化等に応じて、正常動作が保証される限度
まで遅らせることが可能である。Furthermore, the clock speed can be delayed to a limit that guarantees normal operation, depending on environmental temperature, power supply voltage fluctuations, external noise level fluctuations, individual variations in the applied equipment, changes over time, etc. .
以上説明した通り、本発明の電子回路用消費電力低減回
路によれば、クロック速度を変えられるようにしたため
、平均消費電力を著しく低減させることができる。特に
、制御部をCMO3回路によって構成した場合に顕著な
効果が得られる。また、マイクロプロセッサに適用する
ことによって、処理状況等に応じたクロック制御を行う
ことができる。As explained above, according to the power consumption reduction circuit for electronic circuits of the present invention, since the clock speed can be changed, the average power consumption can be significantly reduced. Particularly, remarkable effects can be obtained when the control section is constituted by a CMO3 circuit. Furthermore, by applying the present invention to a microprocessor, clock control can be performed according to processing conditions and the like.
第1図は本発明の一実施例を示すブロック図、第2図は
本発明の具体的実施例を示す詳細ブロック図、第3図は
本発明の他の具体的実施例を示す詳細ブロック図、第4
図は従来の消費電力低減手段を備えた回路の一例を示す
回路図。
符号の説明FIG. 1 is a block diagram showing one embodiment of the invention, FIG. 2 is a detailed block diagram showing a specific embodiment of the invention, and FIG. 3 is a detailed block diagram showing another specific embodiment of the invention. , 4th
The figure is a circuit diagram showing an example of a circuit equipped with conventional power consumption reduction means. Explanation of symbols
Claims (1)
えたことを特徴とする電子回路用消費電力低減回路。[Claims] A control unit that operates in synchronization with a clock signal and outputs a control signal that reduces the clock speed; and a control unit that receives the control signal of the control unit and generates a clock signal that reduces the speed. A power consumption reduction circuit for an electronic circuit, characterized by comprising a variable speed clock generator.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP61034179A JPS62191908A (en) | 1986-02-19 | 1986-02-19 | Power consumption reducing circuit for electronic circuit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP61034179A JPS62191908A (en) | 1986-02-19 | 1986-02-19 | Power consumption reducing circuit for electronic circuit |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPS62191908A true JPS62191908A (en) | 1987-08-22 |
Family
ID=12406980
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP61034179A Pending JPS62191908A (en) | 1986-02-19 | 1986-02-19 | Power consumption reducing circuit for electronic circuit |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS62191908A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7120347B2 (en) | 2004-01-27 | 2006-10-10 | Corning Cable Systems Llc | Multi-port optical connection terminal |
-
1986
- 1986-02-19 JP JP61034179A patent/JPS62191908A/en active Pending
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7120347B2 (en) | 2004-01-27 | 2006-10-10 | Corning Cable Systems Llc | Multi-port optical connection terminal |
| US7333708B2 (en) | 2004-01-27 | 2008-02-19 | Corning Cable Systems Llc | Multi-port optical connection terminal |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5652536A (en) | Non-glitch clock switching circuit | |
| EP0242010B1 (en) | Clock circuit for a data processor | |
| US5261082A (en) | Semiconductor integrated circuit having a plurality of oscillation circuits | |
| US6026498A (en) | Clock signal generator circuit using a logical result of an output of a computer and a source clock to generate plurality of clock signals | |
| US4641044A (en) | Clock generator with reset and initialization circuitry | |
| US5625311A (en) | System clock generating circuit having a power saving mode capable of maintaining a satisfactory processing speed | |
| JPS63282511A (en) | Clock generating circuit for microcomputer | |
| EP0316943B1 (en) | Semiconductor integrated circuit having a plurality of oscillation circuits | |
| JPH08166834A (en) | Clock generation circuit and microcomputer | |
| JPS62191908A (en) | Power consumption reducing circuit for electronic circuit | |
| US7171577B2 (en) | Methods and apparatus for a system clock divider | |
| EP0633518A1 (en) | Circuit for generating modular clocking signals | |
| JPS6219922A (en) | Electronic equipment | |
| JPH08249227A (en) | Data processor and control method of electronic apparatus | |
| JPH0792792B2 (en) | Data processing device | |
| JPH0224712A (en) | Data processing circuit | |
| JPH11305887A (en) | Method for controlling microcontroller and microcontroller | |
| US6154820A (en) | Arrangement for storing program instructions and data in a memory device and method therefor | |
| JPH05259825A (en) | Clock generating circuit | |
| JP2626125B2 (en) | Microcomputer | |
| JPH0527865A (en) | Device with processor | |
| JPH02280210A (en) | Microcomputer | |
| JPH025133A (en) | Variable operation speed type computer system | |
| EP0607667A1 (en) | Apparatus for controlling a clock driver signal | |
| JPS6271331A (en) | Clock generation circuit |