JP2962087B2 - Power control circuit - Google Patents

Power control circuit

Info

Publication number
JP2962087B2
JP2962087B2 JP5044261A JP4426193A JP2962087B2 JP 2962087 B2 JP2962087 B2 JP 2962087B2 JP 5044261 A JP5044261 A JP 5044261A JP 4426193 A JP4426193 A JP 4426193A JP 2962087 B2 JP2962087 B2 JP 2962087B2
Authority
JP
Japan
Prior art keywords
clock
power control
circuit
signal
control circuit
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.)
Expired - Fee Related
Application number
JP5044261A
Other languages
Japanese (ja)
Other versions
JPH06259161A (en
Inventor
靖 笹木
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
Nippon Electric 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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP5044261A priority Critical patent/JP2962087B2/en
Publication of JPH06259161A publication Critical patent/JPH06259161A/en
Application granted granted Critical
Publication of JP2962087B2 publication Critical patent/JP2962087B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

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

【0001】[0001]

【産業上の利用分野】本発明はパワー制御回路に関し、
特に携帯用の通信装置等のように、パワーダウン機能を
有し、位相制御回路等によりシステムクロックを内部で
自己発振して動作する集積回路において、パワーダウン
解除直後にクロックの発振が不安定な集積回路の誤動作
を防止する回路に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a power control circuit,
In particular, in an integrated circuit such as a portable communication device that has a power-down function and operates by internally oscillating a system clock internally by a phase control circuit or the like, clock oscillation is unstable immediately after the power-down is released. The present invention relates to a circuit for preventing a malfunction of an integrated circuit.

【0002】[0002]

【従来の技術】近年においては、エネルギの有効活用を
反映してか、各種装置で低消費電力化が望まれている。
よって、当然集積回路においても、未使用時や、スタン
バイ時等の消費電力を抑えるため、パワー制御回路が搭
載されている。
2. Description of the Related Art In recent years, it has been desired to reduce power consumption in various devices, reflecting effective utilization of energy.
Therefore, naturally, an integrated circuit is also provided with a power control circuit in order to suppress power consumption when not in use or during standby.

【0003】以下、図9,図10,図11を参照して、
位相制御回路を内蔵する集積回路の、従来のパワー制御
回路について説明する。図9において、従来の集積回路
100では、外部よりのパワー制御信号110が“1”
レベル入力が通常動作、“0”レベル入力でパワーダウ
ン動作する。外部フレーム信号120は8kHz,マス
タクロック250は、位相制御回路200が発振する1
024kHz前後のクロック、分周回路300は、前記
マスタクロック250を128分周して8kHz前後の
内部フレーム信号350を発生する回路である。位相制
御回路200は、外部フレーム信号120と内部フレー
ム信号350とが同期化するよう、マスタクロックの発
振周波数を制御する回路でもあり、外部フレーム信号1
20の立ち上がりに対し、内部フレーム信号350の立
ち上がりが進んでいる場合は、マスタクロック250の
発振周波数を1024kHzより低い周波数(位相差に
応じて)に制御するため、内部フレーム信号350の発
振周期が伸び、次の内部フレーム信号350の立ち上が
りが遅れて、外部フレーム信号120と内部フレーム信
号350の位相差が縮まる。同様に、外部フレーム信号
120の立ち上がりに対し、内部フレーム信号350の
立ち上がりが遅れている場合は、マスタクロック250
の発振周波数を1024kHzより高い周波数(位相差
に応じて)に制御するため、内部フレーム信号350の
発振周期が縮み、次の内部フレーム信号350の立ち上
がりが早まり、外部フレーム信号120と内部フレーム
信号350の位相差が縮まる。
Hereinafter, with reference to FIGS. 9, 10 and 11,
A conventional power control circuit of an integrated circuit incorporating a phase control circuit will be described. 9, in the conventional integrated circuit 100, an external power control signal 110 is "1".
The level input performs a normal operation, and the power-down operation operates when the “0” level is input. The external frame signal 120 is 8 kHz, and the master clock 250 is 1
The clock and frequency dividing circuit 300 of about 024 kHz is a circuit that divides the master clock 250 by 128 to generate an internal frame signal 350 of about 8 kHz. The phase control circuit 200 also controls the oscillation frequency of the master clock so that the external frame signal 120 and the internal frame signal 350 are synchronized.
When the rise of the internal frame signal 350 is advanced from the rise of the internal frame signal 350, the oscillation frequency of the master clock 250 is controlled to a frequency lower than 1024 kHz (according to the phase difference). Then, the rising of the next internal frame signal 350 is delayed, and the phase difference between the external frame signal 120 and the internal frame signal 350 is reduced. Similarly, when the rise of the internal frame signal 350 is delayed with respect to the rise of the external frame signal 120, the master clock 250
Is controlled to a frequency higher than 1024 kHz (according to the phase difference), the oscillation period of the internal frame signal 350 is reduced, the rising of the next internal frame signal 350 is accelerated, and the external frame signal 120 and the internal frame signal 350 are increased. Is reduced.

【0004】以上の位相制御動作により、内部フレーム
信号350と外部フレーム信号120を同期化し、外部
フレーム信号120に同期化したシステムクロック75
0(=マスタクロック)にて、その他の機能回路800
を動作させる。よって、外部フレーム信号120に同期
したデータ信号等を、本回路800にて、誤ることなく
受け取ることも可能となる。
[0004] By the above phase control operation, the internal frame signal 350 and the external frame signal 120 are synchronized, and the system clock 75 synchronized with the external frame signal 120 is synchronized.
0 (= master clock), other functional circuits 800
To work. Therefore, the circuit 800 can receive a data signal or the like synchronized with the external frame signal 120 without error.

【0005】ここで、従来例のパワー制御動作を、図1
0,図11を用いて説明する。図10に示すように、a
点でパワー制御信号110が“1”から“0”レベルへ
と変化し、通常動作モードからパワーダウンモードにな
ると、位相制御回路はマスタクロック250の発振を直
ちに停止し、その出力は“0”レベルとなる、これによ
りシステムクロック750も、当然“0”レベルとなる
ため、集積回路内のシステムクロック750による回路
800の動作がすべて停止して、回路800内の消費電
力を抑えることができる。
Here, the power control operation of the conventional example will be described with reference to FIG.
0 and FIG. As shown in FIG.
At this point, when the power control signal 110 changes from “1” to “0” level and enters the power down mode from the normal operation mode, the phase control circuit immediately stops the oscillation of the master clock 250 and the output thereof becomes “0”. Level, whereby the system clock 750 naturally goes to the “0” level. Therefore, all operations of the circuit 800 by the system clock 750 in the integrated circuit are stopped, and power consumption in the circuit 800 can be suppressed.

【0006】次に、図11に示すように、再びパワー制
御信号110を“1”とし、パワーダウンを解除する
と、位相制御回路200はマスタクロック250の発振
を開始し、再び外部フレーム信号120と内部フレーム
信号350が同期化するよう動作する。しかしながら、
従来例では、マスタクロック250をそのままシステム
クロック750として用いるため、パワーダウン解除直
後に、図11のクロック250のように、マスタクロッ
クの発振が不安定な位相制御回路においては、不安定な
システムクロック750により、その他の内部回路80
0を動作するため、パワーダウン解除直後は、集積回路
100が誤動作する欠点がある。
Next, as shown in FIG. 11, when the power control signal 110 is set to "1" again and the power down is released, the phase control circuit 200 starts oscillating the master clock 250 and again receives the external frame signal 120 and the external frame signal 120. The internal frame signal 350 operates to be synchronized. However,
In the conventional example, since the master clock 250 is used as the system clock 750 as it is, immediately after the power-down is released, an unstable system clock such as the clock 250 in FIG. 750, other internal circuits 80
Since it operates at 0, there is a disadvantage that the integrated circuit 100 malfunctions immediately after the power down is released.

【0007】また、クロックが安定か、不安定かを知る
手段がないため、本集積回路100を外部よりマイコン
等で制御する場合、マイコンはパワー解除直後より、集
積回路100が完全に動作すると保証されるだけの、任
意の時間を必ず待(この間のデータ出力等は、無効とし
て処理する)たなければならない。
Further, since there is no means for knowing whether the clock is stable or unstable, when the integrated circuit 100 is externally controlled by a microcomputer or the like, the microcomputer guarantees that the integrated circuit 100 operates completely immediately after the power is released. It is necessary to wait for an arbitrary period of time (data output and the like during this period are treated as invalid).

【0008】[0008]

【発明が解決しようとする課題】従来のパワー制御回路
の構成では、パワーダウン解除直後に、位相制御回路の
出力するマスタクロック250が不安定であると、マス
タクロック250をそのままシステムクロック750と
して用いているため、前記システムクロック750が不
安定となるので、集積回路100の動作が保証されない
という欠点がある。また、クロックが安定したか、否か
は、本集積回路100も、これを制御する外部のマイコ
ン等も、知る術がないため、仮にクロックが早く安定し
ていても、常に集積回路が完全に動作すると保証される
だけの、任意の時間を必ず待たなければならないという
欠点がある。
In the configuration of the conventional power control circuit, if the master clock 250 output from the phase control circuit is unstable immediately after the power down is released, the master clock 250 is used as it is as the system clock 750. Therefore, there is a disadvantage that the operation of the integrated circuit 100 is not guaranteed because the system clock 750 becomes unstable. Further, whether the integrated circuit 100 or an external microcomputer or the like controlling the integrated circuit 100 has no way of knowing whether the clock is stable or not. The disadvantage is that you have to wait for an arbitrary time, which is guaranteed to work.

【0009】本発明の目的は、前記欠点を解決し、不安
定なシステムクロックが発生しないようにしたパワー制
御回路を提供することにある。
An object of the present invention is to provide a power control circuit which solves the above-mentioned drawbacks and prevents generation of an unstable system clock.

【0010】[0010]

【課題を解決するための手段】本発明の構成は、パワー
ダウンする機能と位相制御回路とを内蔵し、前記位相制
御回路を源とするシステムクロックにて動作するパワー
制御回路において、マスタクロックを分周して内部フレ
ーム信号を発生する分周回路と、前記マスタクロックを
発生するとともに、外部からの外部フレーム信号と前記
内部フレーム信号とが同期化すように、前記マスタクロ
ックの発振を制御し、外部または内部からの第一のパワ
ー制御信号に応じてパワーダウンする前記位相制御回路
と、前記マスタクロックでカウント動作し、前記外部フ
レームの任意のタイミングごとにカウント値を出力し、
前記カウント値出力直後にリセットまたはプリセットし
てカウント動作を繰り返すカウンタと、前記カウント値
をデコードし前記マスタクロックの安定,不安定を判断
し、クロック安定検出信号を出力するデコーダと、前記
第一のパワー制御信号と前記クロック安定検出信号より
第二のパワー制御信号を出力するパワー制御信号発生回
路と、前記第二のパワー制御信号と前記マスタクロック
より前記システムクロックを生成するシステムクロック
発生回路とを備え、前記カウンタと前記デコーダにて前
記マスタクロックの安定を検出し、前記マスタクロック
の安定検出の後、前記システムクロックを発生するよう
になしたことを特徴とする。
According to the present invention, there is provided a power control circuit having a power-down function and a phase control circuit, and operating on a system clock derived from the phase control circuit. A frequency dividing circuit that generates an internal frame signal by dividing the frequency, and generates the master clock, and controls the oscillation of the master clock so that the external frame signal from the outside and the internal frame signal are synchronized. The phase control circuit that powers down according to a first power control signal from the outside or the inside, performs a count operation with the master clock, and outputs a count value at any timing of the external frame,
A counter that repeats a count operation by resetting or presetting immediately after the output of the count value, a decoder that decodes the count value, determines whether the master clock is stable or unstable, and outputs a clock stability detection signal; A power control signal generating circuit that outputs a second power control signal from a power control signal and the clock stability detection signal; and a system clock generating circuit that generates the system clock from the second power control signal and the master clock. Wherein the counter and the decoder detect the stability of the master clock, and after detecting the stability of the master clock, generate the system clock.

【0011】[0011]

【実施例】次に、図面を参照して、本発明について説明
する。図1は、本発明の第1の実施例のパワー制御回路
を示すブロック図である。
Next, the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing a power control circuit according to a first embodiment of the present invention.

【0012】図1において、本実施例の構成は、パワー
ダウンする機能と位相制御回路200とを内蔵し、前記
位相制御回路200を源とするシステムクロックにて動
作する集積回路100において、マスタクロック250
を分周して内部フレーム信号350を発生する分周回路
300と、前記マスタクロック250を発生するととも
に、前記集積回路100外部よりの外部フレーム信号1
20と前記内部フレーム信号350とが同期化すよう
に、前記マスタクロック250の発振を制御する回路
で、前記集積回路100の外部または内部よりの第一の
パワー制御信号110に応じてパワーダウンする前記位
相制御回路200と、前記マスタクロック250でカウ
ント動作し、前記外部フレーム信号120の任意のタイ
ミングごとにカウント値を出力し、前記カウント値出力
直後にリセットまたはプリセットしてカウント動作を繰
り返すカウンタ400と、前記カウント値をデコードし
前記マスタクロック250の安定,不安定を判断し、ク
ロック安定検出信号550を出力するデコーダ500
と、前記パワー制御信号110と前記クロック安定検出
信号550より第二のパワー制御信号650を出力する
パワー制御信号発生回路600と、前記第二のパワー制
御信号650と前記マスタクロック250より前記シス
テムクロック750を生成するシステムクロック発生回
路700とを備え、前記カウンタ400と前記デコーダ
500にて前記マスタクロック250の安定を検出し、
前記マスタクロック250の安定検出の後、前記システ
ムクロック750を発生することで、パワーダウン解除
後の集積回路100の安定動作を保証する。
In FIG. 1, the configuration of the present embodiment is such that a power down function and a phase control circuit 200 are built in an integrated circuit 100 which operates on a system clock using the phase control circuit 200 as a source. 250
A frequency dividing circuit 300 for generating an internal frame signal 350 by dividing the frequency of the external frame signal 1 from the outside of the integrated circuit 100 while generating the master clock 250
A circuit for controlling the oscillation of the master clock 250 so that the internal frame signal 350 and the internal frame signal 350 are synchronized, and the power down is performed according to a first power control signal 110 from outside or inside the integrated circuit 100. A phase control circuit 200, a counter 400 that counts with the master clock 250, outputs a count value at each arbitrary timing of the external frame signal 120, and resets or presets immediately after the count value is output to repeat the count operation. Decoder 500 that decodes the count value, determines whether the master clock 250 is stable or unstable, and outputs a clock stability detection signal 550.
A power control signal generating circuit 600 for outputting a second power control signal 650 from the power control signal 110 and the clock stability detection signal 550; and a system clock from the second power control signal 650 and the master clock 250. 750, and a counter 400 and the decoder 500 detect the stability of the master clock 250,
By generating the system clock 750 after detecting the stability of the master clock 250, the stable operation of the integrated circuit 100 after the power-down is released is guaranteed.

【0013】集積回路100内へ外部から入力される第
一のパワー制御信号110は、“1”レベル入力で通常
動作、“0”レベル入力でパワーダウン動作をする。外
部フレーム信号120は8kHz、マスタクロック25
0は位相制御回路200が発振する1024kHz前後
のクロック、分周回路300は前記マスタクロック25
0を128分周して8kHz前後の内部フレーム信号3
50を発生する回路である。位相制御回路200は、外
部フレーム信号120と内部フレーム信号350とが同
期化するよう、マスタクロック250の発振周波数を、
従来例とまったく同じに制御する回路である。カウンタ
400は外部フレーム信号120が“1”レベルの区間
はリセットされ、外部信号が“0”レベルの区間では、
マスタクロック250にてカウント動作を続け、外部フ
レーム信号120が立ち上がり直前のカウント値450
を、デコーダ500へと出力する回路である。デコーダ
500はカウント値450をデコードして、クロック安
定検出信号550を、外部フレーム信号120の立ち上
がりに同期して出力する回路であり、図3の(A)に示
す対応で、カウント値450の各入力に対し、クロック
安定化検出信号550を出力する。パワー制御信号発生
回路600は前記第一のパワー制御信号110と、前記
クロック安定検出信号550より、第二のパワー制御信
号650を出力する回路であり、その回路構成例を図4
(A)に示す。
The first power control signal 110 input from the outside into the integrated circuit 100 performs a normal operation when inputting a "1" level and performs a power-down operation when inputting a "0" level. The external frame signal 120 is 8 kHz, the master clock 25
0 is a clock of about 1024 kHz oscillated by the phase control circuit 200, and the frequency divider 300 is a master clock 25
0 divided by 128 and internal frame signal 3 around 8 kHz
50 is a circuit for generating 50. The phase control circuit 200 adjusts the oscillation frequency of the master clock 250 so that the external frame signal 120 and the internal frame signal 350 are synchronized.
This is a circuit that controls exactly the same as in the conventional example. The counter 400 is reset when the external frame signal 120 is at the “1” level, and when the external signal is at the “0” level,
The count operation is continued by the master clock 250, and the count value 450 immediately before the rising of the external frame signal 120 rises.
Is output to the decoder 500. The decoder 500 is a circuit that decodes the count value 450 and outputs the clock stability detection signal 550 in synchronization with the rising of the external frame signal 120. Each of the count values 450 corresponds to the one shown in FIG. A clock stabilization detection signal 550 is output in response to the input. The power control signal generation circuit 600 is a circuit that outputs a second power control signal 650 from the first power control signal 110 and the clock stability detection signal 550. FIG.
It is shown in (A).

【0014】図4の(A)において、パワー制御信号発
生回路600は、第一のパワー制御信号110とクロッ
ク安定検出信号550とが入力されるAND回路610
と、第一のパワー制御信号110が入力されるインバー
タ620と、S−R型フリップフロップ630とを有
し、第二のパワー制御信号650を出力する。
In FIG. 4A, a power control signal generating circuit 600 includes an AND circuit 610 to which a first power control signal 110 and a clock stability detection signal 550 are input.
And an inverter 620 to which the first power control signal 110 is input, and an SR flip-flop 630, and outputs a second power control signal 650.

【0015】システムクロック発生回路700は、第二
のパワー制御信号650とマスタクロック250との論
理積(AND)を、システムクロック750として出力
する回路である。以上により、発生する外部フレーム信
号に同期した、システムクロック750にて、内部の機
能回路800は動作する。
The system clock generation circuit 700 is a circuit that outputs a logical product (AND) of the second power control signal 650 and the master clock 250 as a system clock 750. As described above, the internal functional circuit 800 operates with the system clock 750 synchronized with the generated external frame signal.

【0016】次に、図1,図3の(A),(B)、図4
の(A)、図5,図6を参照して、本発明の第1の実施
例のパワー制御動作を説明する。
Next, FIGS. 1 (A) and 3 (A), (B) and FIG.
A power control operation according to the first embodiment of the present invention will be described with reference to FIG.

【0017】図5,図6は、図1の第1の実施例の回路
動作のそれぞれ第1の部分,第2の部分を示すタイミン
グ図である。図5の第1の部分に引き続いて、図6の第
2の部分となり、第1,第2部分を合わせて、全体の回
路動作を示すことになる。
FIGS. 5 and 6 are timing charts showing a first portion and a second portion of the circuit operation of the first embodiment of FIG. 1, respectively. Following the first part of FIG. 5, the second part of FIG. 6 is shown. The first and second parts together show the entire circuit operation.

【0018】第一のパワー制御信号110が“0”レベ
ルとなるパワーダウンモードでは、本実施例も従来例と
同様に、位相制御回路200はマスタクロック250の
発振を直ちに停止し、その出力は“0”レベルとなる、
これによりシステムクロック750は、常に“0”レベ
ル(第二のパワー制御信号650とマスタクロック25
0との論理積)となるため、集積回路100内のシステ
ムクロック750による、内部の機能回路800の動作
は停止して、回路800内の消費電力を抑えることがで
きる。
In the power down mode in which the first power control signal 110 becomes "0" level, in this embodiment, the phase control circuit 200 immediately stops the oscillation of the master clock 250 and outputs the same as in the conventional example. Becomes “0” level,
Accordingly, the system clock 750 is always at the “0” level (the second power control signal 650 and the master clock 25).
Therefore, the operation of the internal function circuit 800 by the system clock 750 in the integrated circuit 100 is stopped, and power consumption in the circuit 800 can be suppressed.

【0019】次に、図5,図6に示すように、a点で第
一のパワー制御信号110が“0”から“1”レベルへ
と変化し、第一のパワーダウンモードが解除されると、
位相制御回路200はマスタクロック250の発振を開
始し、再び外部フレーム信号120と内部フレーム信号
350が同期化するよう動作しはじめる。ここで、カウ
ンタ400は、外部フレーム信号120(8kHz)の
“0”レベルの区間(62.5μSEC)を、位相制御
回路200が発生するマスタクロック250(安定して
いれば1024kHz)にてカウンタ400でカウント
し、外部フレーム信号120の立ち上がり直前のカウン
トデータを、カウント値出力450として外部フレーム
信号120の立ち上がりで、デコーダ500へと出力す
る。ここで、マスタクロック250が安定していれば、
当然そのカウント値は、62.5μSEC/(1/10
24kHz)=64カウントとなり、位相のズレやジッ
タを考慮すれば、63〜65の範囲の値となる。マスタ
クロック250が不安定であれば、カウント値は、62
以下や66以上になる。よって、このカウント値を図3
の(A)に示す対応でデコードすることで、クロックの
安定・不安定を判定することができる。図5,図6でb
点からc点の間は、カウント値出力が58となっている
ため、クロックが不安定であるとデコーダ500は判断
し、クロック安定検出信号550の出力を“0”とす
る。c点からは、カウント値が63となり、クロックが
安定するため、クロック安定検出信号550の出力を
“1”とする。パワー制御信号発生回路600、すなわ
ち図4の(A)は、第一のパワー制御信号110が
“0”になると、第二のパワー制御信号650も、直ち
に“0”となるパワーダウン優先の回路であり、第二の
パワー制御信号650が“1”(パワーダウン解除)と
なるのは、第一のパワー制御信号110が“1”とな
り、パワダウン解除となった後、はじめてクロック安定
検出信号550が“1”になるときであり、図6におい
ては、c点でこれより第二のパワー制御信号650が解
除され“1”となる。システムクロック発生回路700
は、マスタクロック250と第二のパワー制御信号65
0との論理積により、システムクロック750を発生す
るので、図6のc点以降、安定化したマスタクロックが
システムクロック750として出力され、機能回路80
0を動かすようになる。
Next, as shown in FIGS. 5 and 6, at a point a, the first power control signal 110 changes from "0" to "1" level, and the first power down mode is released. When,
The phase control circuit 200 starts oscillating the master clock 250 and starts operating again so that the external frame signal 120 and the internal frame signal 350 are synchronized. Here, the counter 400 counts the interval (62.5 μSEC) of the “0” level of the external frame signal 120 (8 kHz) with the master clock 250 (1024 kHz if stable) generated by the phase control circuit 200. The count data immediately before the rising edge of the external frame signal 120 is output to the decoder 500 at the rising edge of the external frame signal 120 as a count value output 450. Here, if the master clock 250 is stable,
Naturally, the count value is 62.5 μSEC / (1/10
24 kHz) = 64 counts, which is in the range of 63 to 65 in consideration of phase shift and jitter. If the master clock 250 is unstable, the count value becomes 62
Below and above 66. Therefore, this count value is
By decoding in accordance with (A), it is possible to determine whether the clock is stable or unstable. B in FIGS. 5 and 6
Since the count value output is 58 between the point and the point c, the decoder 500 determines that the clock is unstable, and sets the output of the clock stability detection signal 550 to “0”. From the point c, the count value becomes 63 and the clock is stabilized, so that the output of the clock stability detection signal 550 is set to “1”. The power control signal generating circuit 600, that is, the circuit of FIG. 4A is a power down priority circuit in which when the first power control signal 110 becomes "0", the second power control signal 650 also becomes "0" immediately. The reason why the second power control signal 650 becomes "1" (power down release) is that the first power control signal 110 becomes "1" and the power down release is canceled, and then the clock stability detection signal 550 is output for the first time. Is "1", and in FIG. 6, the second power control signal 650 is released and becomes "1" at the point c. System clock generation circuit 700
Is the master clock 250 and the second power control signal 65
Since the system clock 750 is generated by the logical product with 0, the stabilized master clock is output as the system clock 750 after the point c in FIG.
Move 0.

【0020】すなわち、本実施例のパワー制御回路は、
外部フレーム信号120が“0”レベルの決まった時間
(62.5μSEC)を、位相制御回路200が発生す
るマスタクロック250(安定すれば1024kHz)
にてカウントし、そのカウント値、すなわち一定時間に
発生したマスタクロック250の個数により、デコーダ
500でクロックの安定,不安定を検出し、クロックの
安定が検出されてから、第二のパワー制御信号650を
解除し、システムクロック750を発生するため、パワ
ー制御解除直後の集積回路100内の、機能回路800
の正常動作を保証することができる。
That is, the power control circuit of the present embodiment
The fixed time (62.5 μSEC) when the external frame signal 120 is at the “0” level is determined by the master clock 250 (1024 kHz if stabilized) generated by the phase control circuit 200.
, And the decoder 500 detects the stability and instability of the clock based on the count value, that is, the number of master clocks 250 generated in a certain period of time. 650, and the function circuit 800 in the integrated circuit 100 immediately after the power control is released to generate the system clock 750.
Normal operation can be guaranteed.

【0021】なお、前記デコーダ500の構成を図3の
(B)に示す回路とすると、カウント値が連続して63
〜65の値のみに、クロック安定検出信号550のを
“1”とする。すなわち、連続して複数回クロックの安
定を検出することで、より確かな回路動作が保証され
る。
If the configuration of the decoder 500 is the circuit shown in FIG.
The clock stability detection signal 550 is set to "1" only for values of ~ 65. That is, by detecting the stability of the clock a plurality of times in succession, a more reliable circuit operation is guaranteed.

【0022】また、本実施例では、カウンタ400のカ
ウントクロックに、位相制御回路200が発生するマス
タクロック250を用いたが、分周回路300の各分周
段階ごとに生成されるクロックにて実現することも可能
である。
Further, in the present embodiment, the master clock 250 generated by the phase control circuit 200 is used as the count clock of the counter 400, but it is realized by a clock generated at each frequency division stage of the frequency divider circuit 300. It is also possible.

【0023】図2は本発明の第2の実施例のパワー制御
回路を示すブロック図である。図2において、本発明の
第2の実施例のパワー制御回路が、図1の第1の実施例
と相違する点は、パワー制御信号発生回路600の構成
が、図4の(A)から、図4の(B)になった点と、分
周回路300にリセット機能を付加した点と、第二のパ
ワー制御信号650を、出力端子900で外部に出力で
きる点とである。
FIG. 2 is a block diagram showing a power control circuit according to a second embodiment of the present invention. In FIG. 2, the power control circuit of the second embodiment of the present invention is different from the first embodiment of FIG. 1 in that the configuration of the power control signal generation circuit 600 differs from that of FIG. 4B, a point that a reset function is added to the frequency dividing circuit 300, and a point that the second power control signal 650 can be output to the outside at the output terminal 900.

【0024】まず、図4の(A)と図4の(B)との相
違点を説明する。図4の(B)の回路は、(A)の回路
の第二のパワー制御信号650の出力に、遅延回路64
0と、インバータ660と、AND回路680を付加し
て、第二のパワー制御信号650の立ち上がり時に、遅
延回路640の遅延量幅のリセット信号670を出力す
る機能を追加した回路で、このリセット信号670によ
り、前記分周回路300をリセットする。なお、第二の
パワー制御信号650が変化するタイミングは、外部フ
レーム信号120の立ち上がりなので、リセット信号6
70の出力も、外部フレーム信号120に同期している
ことになる。
First, differences between FIG. 4A and FIG. 4B will be described. The circuit shown in FIG. 4B is configured such that the output of the second power control signal 650 of the circuit shown in FIG.
0, an inverter 660, and an AND circuit 680 to add a function of outputting a reset signal 670 of the delay amount width of the delay circuit 640 when the second power control signal 650 rises. At 670, the frequency dividing circuit 300 is reset. Note that the timing at which the second power control signal 650 changes is the rising edge of the external frame signal 120, so that the reset signal 6
The output of 70 is also synchronized with the external frame signal 120.

【0025】ここで、図5,図6と図7,図8とを参照
して動作の相違点について説明する。
Here, differences in operation will be described with reference to FIGS. 5 and 6 and FIGS. 7 and 8.

【0026】図7は図2の第2の実施例の動作の第1の
部分を示すタイミング図である。図8は図7の第1の部
分に続く第2の部分を示すタイミング図である。図7,
図8を組み合わせて、全体のタイミング図となる。
FIG. 7 is a timing chart showing a first part of the operation of the second embodiment of FIG. FIG. 8 is a timing chart showing a second part following the first part of FIG. FIG.
FIG. 8 is combined to form an overall timing diagram.

【0027】第1の実施例では、図5,図6に示すよう
に、c点において確かにマスタクロック250の発振は
安定しているが、マスタクロック250を分周した内部
フレーム信号350と、外部フレーム信号120が同期
しているとは限らない。よって、位相制御回路200が
マスタクロック250の発振周波数を制御して同期化す
るには、時間がかかる場合がある。
In the first embodiment, as shown in FIGS. 5 and 6, the oscillation of the master clock 250 is certainly stable at the point c, but the internal frame signal 350 obtained by dividing the master clock 250 has the following characteristics. The external frame signal 120 is not always synchronized. Therefore, it may take time for the phase control circuit 200 to control and synchronize the oscillation frequency of the master clock 250.

【0028】一方、第2の実施例においては、図7,図
8に示すように、c′点で、クロックの安定を検出する
と、第1の実施例と同様に、外部フレーム信号120に
同期して、第2のパワー制御信号650が“1”となる
ため、リセット信号670が発生し、分周回路300を
リセットするため、強制的に外部フレーム信号120
と、内部フレーム信号350の同期化が実行され、引き
込み時間が短縮される。
On the other hand, in the second embodiment, as shown in FIGS. 7 and 8, when the stability of the clock is detected at the point c ', as in the first embodiment, it is synchronized with the external frame signal 120. Then, since the second power control signal 650 becomes "1", a reset signal 670 is generated, and the external frame signal 120 is forcibly reset to divide the frequency dividing circuit 300.
Then, the synchronization of the internal frame signal 350 is executed, and the pull-in time is reduced.

【0029】また、出力端子900により、第2のパワ
ー制御信号650を集積回路100の外部に出力できる
ことで、外部のマイコン等が本集積回路100を制御す
る際に、出力端子900を監視することで、集積回路1
00が安定動作しているか否かを確認できる。
The second power control signal 650 can be output to the outside of the integrated circuit 100 by the output terminal 900, so that the output terminal 900 can be monitored when an external microcomputer or the like controls the integrated circuit 100. And integrated circuit 1
00 can be confirmed whether it is operating stably.

【0030】[0030]

【発明の効果】以上説明したように、本発明のパワー制
御回路は、外部フレーム信号の“0”レベルの区間を、
位相制御回路が発生するマスタクロックにてカウント
し、そのカウント値によりマスタクロックが、安定した
か否かをデコーダで検出し、クロック安定が検出された
後に、第二のパワー制御信号を解除し、システムクロッ
クを発生して供給するため、パワーダウン解除後の、不
安定なクロックによる誤動作は起こらず、機能回路80
0の正常動作を保証することができるという効果があ
り、また特に第2の実施例で示したように、出力端子か
ら第二の制御信号を集積回路外部に出力することで、外
部のマイコン等でも、本集積回路が安定したクロックに
よって動作しているか否かを確認でき、さらにパワーダ
ウン解除後のクロックが安定した時点で、分周回路を外
部フレーム信号に同期してリセットすることもできるの
で、外部フレーム信号に対する、内部フレーム信号の引
きこみ時間も短くできるという効果がある。
As described above, the power control circuit according to the present invention allows the section of the "0" level of the external frame signal to
Counting by the master clock generated by the phase control circuit, the decoder detects whether or not the master clock is stable based on the count value, and after the clock stability is detected, cancels the second power control signal, Since the system clock is generated and supplied, no malfunction occurs due to an unstable clock after the power down is released, and the functional circuit 80
0, the normal operation can be assured, and in particular, as shown in the second embodiment, by outputting the second control signal from the output terminal to the outside of the integrated circuit, However, it is possible to check whether this integrated circuit is operating with a stable clock, and when the clock after power-down release is stable, the frequency divider can be reset in synchronization with the external frame signal. In addition, there is an effect that it is possible to shorten the time for drawing the internal frame signal with respect to the external frame signal.

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

【図1】本発明の第1の実施例のパワー制御回路を示し
たブロック図である。
FIG. 1 is a block diagram showing a power control circuit according to a first embodiment of the present invention.

【図2】本発明の第2の実施例のパワー制御回路を示し
たブロック図である。
FIG. 2 is a block diagram showing a power control circuit according to a second embodiment of the present invention.

【図3】(A),(B)は図1のデコーダのカウント値
とクロック安定検出信号の対応、今回のカウント値,過
去のカウント値とクロック安定検出信号の対応をそれぞ
れ示した図である。
FIGS. 3A and 3B are diagrams showing the correspondence between the count value of the decoder of FIG. 1 and the clock stability detection signal, and the correspondence between the current count value, the past count value, and the clock stability detection signal, respectively. .

【図4】(A),(B)は、それぞれ図1のパワー制御
信号発生回路,図2のパワー制御信号発生回路を示すブ
ロック図である。
FIGS. 4A and 4B are block diagrams showing the power control signal generation circuit of FIG. 1 and the power control signal generation circuit of FIG. 2, respectively.

【図5】図1の第1の実施例の回路動作の第1の部分を
示すタイミング図である。
FIG. 5 is a timing chart showing a first part of the circuit operation of the first embodiment of FIG. 1;

【図6】図5の第1の部分に続く第2の部分を示すタイ
ミング図である。
FIG. 6 is a timing chart showing a second part following the first part in FIG. 5;

【図7】図2の第2の実施例の回路動作の第1の部分を
示すタイミング図である。
FIG. 7 is a timing chart showing a first part of the circuit operation of the second embodiment of FIG. 2;

【図8】図7の第1の部分に続く第2の部分を示すタイ
ミング図である。
FIG. 8 is a timing chart showing a second part following the first part of FIG. 7;

【図9】従来のパワー制御回路を示すブロック図であ
る。
FIG. 9 is a block diagram showing a conventional power control circuit.

【図10】図9のパワー制御回路のターンオン時のタイ
ミング図である。
FIG. 10 is a timing chart when the power control circuit of FIG. 9 is turned on.

【図11】図9のパワー制御回路のターンオフ時のタイ
ミング図である。
11 is a timing chart at the time of turning off the power control circuit of FIG. 9;

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

100 集積回路 110 第一のパワー制御信号 120 外部フレーム信号 200 位相制御回路 250 マスタクロック 300 分周回路 350 内部フレーム信号 400 カウンタ 450 カウント値 500 デコーダ 550 クロック安定検出信号 600 パワー制御信号発生回路 630 R−S型フリップフロップ 640 遅延回路 650 第二のパワー制御信号 670 分周回路リセット信号 700 システムクロック発生回路 750 システムクロック 800 システムクロックにて動作する回路 REFERENCE SIGNS LIST 100 integrated circuit 110 first power control signal 120 external frame signal 200 phase control circuit 250 master clock 300 frequency divider 350 internal frame signal 400 counter 450 count value 500 decoder 550 clock stability detection signal 600 power control signal generation circuit 630 R- S type flip-flop 640 Delay circuit 650 Second power control signal 670 Frequency divider reset signal 700 System clock generation circuit 750 System clock 800 Circuit operated by system clock

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 パワーダウンする機能と位相制御回路と
を内蔵し、前記位相制御回路を源とするシステムクロッ
クにて動作するパワー制御回路において、マスタクロッ
クを分周して内部フレーム信号を発生する分周回路と、
前記マスタクロックを発生するとともに、外部からの外
部フレーム信号と前記内部フレーム信号とが同期化すよ
うに、前記マスタクロックの発振を制御し、外部または
内部からの第一のパワー制御信号に応じてパワーダウン
する前記位相制御回路と、前記マスタクロックでカウン
ト動作し、前記外部フレームの任意のタイミングごとに
カウント値を出力し、前記カウント値出力後にリセット
またはプリセットしてカウント動作を繰り返すカウンタ
と、前記カウント値をデコードし前記マスタクロックの
安定,不安定を判断し、クロック安定検出信号を出力す
るデコーダと、前記第一のパワー制御信号と前記クロッ
ク安定検出信号より、第二のパワー制御信号を出力する
パワー制御信号発生回路と、前記第二のパワー制御信号
と前記マスタクロックより、前記システムクロックを生
成するシステムクロック発生回路とを備え、前記カウン
タと前記デコーダにて前記マスタクロックの安定を検出
し、前記マスタクロックの安定検出の後、前記システム
クロックを発生するようになしたことを特徴とするパワ
ー制御回路。
1. A power control circuit having a power-down function and a phase control circuit, and operating on a system clock originating from the phase control circuit, generating a frame signal by dividing a master clock. A divider circuit,
While generating the master clock, controls the oscillation of the master clock so that the external frame signal from the outside and the internal frame signal are synchronized, and controls the power in response to the first external or internal power control signal. The phase control circuit that goes down, a counter that counts with the master clock, outputs a count value at any timing of the external frame, and resets or presets after the count value is output to repeat the count operation; and A decoder that decodes a value to determine whether the master clock is stable or unstable and outputs a clock stability detection signal; and outputs a second power control signal from the first power control signal and the clock stability detection signal. A power control signal generation circuit, the second power control signal and the master clock; And a system clock generating circuit for generating the system clock. The counter and the decoder detect the stability of the master clock, and generate the system clock after detecting the stability of the master clock. A power control circuit characterized by what has been done.
【請求項2】 前記分周回路の分周段階ごとに生成され
る任意のクロックを、前記カウンタのカウントクロック
に選んで用いることを特徴とする請求項1に記載のパワ
ー制御回路。
2. The power control circuit according to claim 1, wherein an arbitrary clock generated at each frequency division stage of said frequency divider circuit is selected and used as a count clock of said counter.
【請求項3】 前記デコーダは、前記マスタクロックの
安定検出が複数回連続して検出された場合のみに、前記
クロック安定検出信号を出力することを特徴とする請求
項1に記載のパワー制御回路。
3. The power control circuit according to claim 1, wherein the decoder outputs the clock stability detection signal only when the stability detection of the master clock is detected a plurality of times in succession. .
【請求項4】 前記分周回路が、前記第二のパワー制御
信号によるパワーダウン状態を解除された直後のみに、
前記外部クロックに同期してリセットされる機能を有
し、前記外部フレーム信号と前記内部フレーム信号との
同期化時間を短縮することを特徴とする請求項1に記載
のパワー制御回路。
4. The apparatus according to claim 1, wherein the frequency dividing circuit releases the power-down state by the second power control signal only immediately.
2. The power control circuit according to claim 1, wherein the power control circuit has a function of resetting in synchronization with the external clock, and shortens a synchronization time between the external frame signal and the internal frame signal.
JP5044261A 1993-03-05 1993-03-05 Power control circuit Expired - Fee Related JP2962087B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5044261A JP2962087B2 (en) 1993-03-05 1993-03-05 Power control circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5044261A JP2962087B2 (en) 1993-03-05 1993-03-05 Power control circuit

Publications (2)

Publication Number Publication Date
JPH06259161A JPH06259161A (en) 1994-09-16
JP2962087B2 true JP2962087B2 (en) 1999-10-12

Family

ID=12686578

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5044261A Expired - Fee Related JP2962087B2 (en) 1993-03-05 1993-03-05 Power control circuit

Country Status (1)

Country Link
JP (1) JP2962087B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010268105A (en) * 2009-05-13 2010-11-25 Renesas Electronics Corp Microcomputer

Also Published As

Publication number Publication date
JPH06259161A (en) 1994-09-16

Similar Documents

Publication Publication Date Title
JP2001051747A (en) Clock control circuit
KR100307292B1 (en) Reset signal generation circuit
KR19990014219A (en) Clock generation method and apparatus
JP2000174615A (en) Method and device for automatically correcting internal clock frequency of integrated circuit
JP2962087B2 (en) Power control circuit
JPH08286780A (en) Clock circuit, processor using the circuit and processor operating method
US6304147B1 (en) Method and circuit for reduced power consumption in a charge pump circuit
JP2006279824A (en) Semiconductor integrated device
JP2919321B2 (en) PLL synthesizer
JP2005191684A (en) Clock generating apparatus
JPH05315898A (en) Trigger synchronization circuit
JP3655878B2 (en) PLL circuit
JP3062179B1 (en) Redundant clock phase adjustment circuit
JPH08335875A (en) Clock generator
JPH11143574A (en) Clock generation circuit and clock generation method
JP2004086645A (en) Microcomputer
JP2924846B2 (en) Semiconductor integrated circuit
KR200188170Y1 (en) Clock generator
KR19990019530A (en) PLL circuit achieves low current and low noise stabilization when locked
JPH10289032A (en) Clock circuit for semiconductor integrated circuit
KR100907394B1 (en) Clock generator of synchronous circuit
JP2002132375A (en) Clock signal control circuit
JP2005198083A (en) Pll circuit
JPH06224646A (en) Synchronizing signal generator
JPH04251312A (en) Clock supplying system

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19990706

LAPS Cancellation because of no payment of annual fees