JP3633374B2 - Clock control circuit - Google Patents
Clock control circuit Download PDFInfo
- Publication number
- JP3633374B2 JP3633374B2 JP16977999A JP16977999A JP3633374B2 JP 3633374 B2 JP3633374 B2 JP 3633374B2 JP 16977999 A JP16977999 A JP 16977999A JP 16977999 A JP16977999 A JP 16977999A JP 3633374 B2 JP3633374 B2 JP 3633374B2
- Authority
- JP
- Japan
- Prior art keywords
- clock signal
- circuit
- data
- multiphase
- frequency
- 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
Links
Images
Landscapes
- Manipulation Of Pulses (AREA)
Description
【0001】
【発明の属する技術分野】
本発明は、クロック信号がクロック入力端子に与えられると、そのクロック信号に同期して動作するクロック同期回路の動作を停止させて低消費電力モードに移行するように構成されたクロック制御回路に関する。
【0002】
【従来の技術】
このようなクロック制御回路の従来例を図7に示す。自動車のエンジン制御などを行うECU(Electronic Control Unit) 1は、半導体集積回路(IC)として一体に構成されており、その内部回路として、例えばCPU2,メモリ3及びゲートアレイ4などのクロック同期回路を有している。そして、これらのCPU2,メモリ3及びゲートアレイ4のクロック入力端子には、水晶発振子5(IC1に外付け)及び水晶発振子5を発振させる発振回路6から出力されるクロック信号が与えられており、CPU2,メモリ3及びゲートアレイ4はそのクロック信号に同期して動作するようになっている。
【0003】
このようなECU1では、自動車の停車時などCPU2,メモリ3及びゲートアレイ4の動作が要求されない場合には、消費電力をなるべく低減した状態(スリープモード,低消費電力モード)で待機させておき、動作が要求されるイベントが発生した場合にのみ通常の動作をさせる(スタンバイモード)ように動作モードの切替え行うようにしている。
【0004】
このようなクロック制御回路における消費電力の大部分は、CPU2,メモリ3及びゲートアレイ4の動作によるものであるため、ECU1をスリープモードに移行させる場合には、CPU2,メモリ3及びゲートアレイ4に対するクロック信号の供給を停止させてこれらの回路の動作を停止させるようにしている。そして、その際には、発振回路6の動作を停止させることで、クロック信号の供給を停止させるようにしていた。
【0005】
【発明が解決しようとする課題】
しかしながら、発振回路6は、インバータゲートや抵抗等で構成されており、水晶発振子5にバイアスを与えて発振させるようなっている。従って、一旦スリープモードとなり発振を停止させた状態からスタンバイモードに移行させるために発振回路6を動作させると、再度発振が開始されてクロック信号が安定した状態となるまで(発振安定時間)数ms〜数100ms程度の時間を要する。
【0006】
従って、通常モードへの切替わり時にCPU2,メモリ3及びゲートアレイ4の動作の開始が遅れてしまう、即ち、ECU1の応答が若干遅れてしまうという問題があった。また、この発振安定時間は水晶発振子5の種類などによっても変化するため、CPU2,メモリ3及びゲートアレイ4の動作開始時間もそれに応じてばらつきを生じることになる。
【0007】
本発明は上記事情に鑑みてなされたものであり、その目的は、低消費電力モードからスタンバイモードへ切替わった場合に、クロック同期回路の動作を直ちに開始させることができるクロック制御回路を提供することにある。
【0008】
【課題を解決するための手段】
請求項1記載のクロック制御回路によれば、周波数逓倍回路は、基準クロック信号の周期を多相クロック信号手段が生成する多相クロック信号周期に基づいて計測すると、その計測値に基づいて基準クロック信号の周波数を多相クロック信号の位相差を分解能としてn逓倍したn逓倍クロック信号を生成してクロック同期回路に供給する。そして、低消費電力制御手段は、クロック同期回路の動作を停止させて低消費電力モードに移行させる場合に、多相クロック信号出力手段の発振動作を停止させる。
【0009】
従って、低消費電力モードからクロック同期回路を動作させるために通常動作モードに移行させる場合には、多相クロック信号出力手段の発振動作を開始させれば、周波数逓倍回路がn逓倍クロック信号を生成してクロック同期回路に供給を開始するようになる。即ち、デジタル制御による発振動作を行う多相クロック信号出力手段は、極めて短時間で発振停止状態から発振動作を開始することができるので、従来とは異なり、低消費電力モードから通常動作モードへ移行させた場合にクロック同期回路の動作を直ちに開始させることができる。
【0010】
しかも、周波数逓倍回路により基準クロック信号の周波数をn逓倍することができるので、基準クロック信号の周波数を比較的低く設定することが可能となる従って、例えば、基準クロック発振回路に安価な発振子を用いることができる。また、周波数逓倍回路をクロック同期回路の近傍に配置すれば、高速なn逓倍クロック信号のラインを回路基板上で長く引き回すことがないので、不要輻射を大幅に低減することもできる。
そして、周波数逓倍回路は、シーケンス制御手段の制御下において、基準クロック信号周期に相当する時間を多相クロック信号周期でカウントし、そのカウントデータを逓倍数設定データに応じたデータに変換してデジタル制御発振器に出力することでn逓倍クロック信号を生成する。
従って、n逓倍クロック信号の逓倍数を逓倍数設定データに応じて容易に変化させることができるので、例えば、通常動作モードであっても逓倍数を低く設定して消費電力を抑制することが可能である。また、周波数逓倍回路を、基本的には所謂デジタルPLL回路と略同様に構成することができるので、例えば、外部のクロック同期回路との間で通信を行うような構成を採用する場合には、位相同期をとるためのループフィルタとしての機能を容易に追加することができる。
【0011】
請求項2記載のクロック制御回路によれば、カウント手段,データ出力手段及びデジタル制御発振器は、シーケンス制御周期毎にn逓倍クロック信号を生成するための動作を行うので、n逓倍クロック信号が常に現在の基準クロック信号に対してn逓倍となるように制御することができる。
【0012】
請求項3記載のクロック制御回路によれば、周波数逓倍回路は、n逓倍クロック信号の生成を、基準クロック信号周期の計測に用いられる多相クロック信号に基づいて行うので、例えば、周囲温度の高低に応じて多相クロック信号出力手段の発振周波数が変動したとしても、基準クロック信号周期の計測とn逓倍クロック信号の生成とを共通のクロック信号に基づいて行うことにより、前記発振周波数の変動の影響をキャンセルすることができ、n逓倍クロック信号の周波数精度を向上させることができる。
【0013】
請求項4記載のクロック制御回路によれば、多相クロック発生手段は、複数個の論理反転回路がリング状に接続されてなるリングオシレータとして構成するので、所定の論理反転回路の出力端子から多相クロック信号を容易に得ることができる。また、多相クロック信号の位相差は、論理反転回路のゲート遅延時間に応じて定まるので、多相クロック信号の発振周波数を極めて高く設定することが容易に可能であるから逓倍クロック信号を生成するための分解能を高く設定することができると共に、分解能の調整なども容易に行うことができる。
【0014】
請求項5記載のクロック制御回路によれば、リングオシレータを、奇数個の論理反転回路で構成するので、同数の多相クロック信号を得る構成をより少ないゲート数で実現することが可能となり、低消費電力化を一層進めることができる。
【0015】
請求項6記載のクロック制御回路によれば、基準クロック発振回路,周波数逓倍回路,クロック同期回路及び低消費電力制御手段を半導体集積回路として一体に構成するので、周波数逓倍回路を付加することによるスペースやコストの上昇を抑制することができる。
【0018】
請求項7記載のクロック制御回路によれば、周波数逓倍回路は、基準クロック信号の周期を多相クロック信号手段が生成する多相クロック信号周期に基づいて計測すると共に多相クロック信号の位相差を分解能として計測すると、その計測値に基づいて基準クロック信号の周波数を多相クロック信号の位相差を分解能としてn逓倍したn逓倍クロック信号を生成してクロック同期回路に供給する。そして、低消費電力制御手段は、クロック同期回路の動作を停止させて低消費電力モードに移行させる場合に多相クロック信号出力手段の発振動作を停止させる。
そして、周波数逓倍回路は、シーケンス制御手段の制御下において、基準クロック信号周期に相当する時間を多相クロック信号周期でカウントし、そのカウントデータを逓倍数設定データに応じたデータに変換してデジタル制御発振器に出力することでn逓倍クロック信号を生成する。
【0019】
従って、請求項1と同様の効果が得られると共に、基準クロック信号の周期を多相クロック信号の位相差を分解能として計測することで、測定精度を向上させることができる。そして、周波数逓倍回路に設定される逓倍数nが比較的小さい場合であっても、基準クロック信号周期の計測値を予め高分解能で得ておくことによって高精度で逓倍処理を行うために必要なデータが損なわれることがないので、処理精度を劣化させずに維持することができる。
【0020】
【発明の実施の形態】
(第1実施例)
以下、本発明を自動車のECU(半導体集積回路)11に適用した場合の第1実施例について図1乃至図4を参照して説明する。ECU(Electronic Control Unit) 11は、ECU1と同様に半導体集積回路(IC)として構成されており、その内部回路として、CPU12,メモリ13及びゲートアレイ14などのクロック同期回路を有している。ECU11には、水晶発振子15に外付けされており、発振回路(基準クロック発振回路)16は、水晶発振子15にバイアスを与えて周波数16KHzの基準クロック信号PREF を出力するようになっている。
【0021】
その基準クロック信号PREF は周波数逓倍回路17に与えられており、周波数逓倍回路17は、その基準クロック信号PREF を512逓倍した周波数8MHz逓倍クロック信号POUT を生成して、CPU12,メモリ13及びゲートアレイ14のクロック入力端子に出力するようになっている。前記逓倍数は、CPU12より与えられる逓倍数設定データDVの値に応じて設定されるものであり、その逓倍数設定データDVは、デフォルト値で1024逓倍に相当する値“6”に設定される(後述するように、周波数逓倍回路17の後段において2分周されるため)。
【0022】
また、周波数逓倍回路17には、低消費電力制御回路(低消費電力制御手段)18によってECU11の動作モードを低消費電力モードとスタンバイモードとに切換えるためのモード制御信号PAが出力されるようになっている。低消費電力制御回路18は、発振回路16からの基準クロック信号PREF が与えられて動作する。
【0023】
キー検出スイッチ19は、自動車のキーがキーシリンダ(何れも図示せず)に挿入されているか否かを検出するスイッチである。そして、キー検出スイッチ19がキー検出信号を低消費電力制御回路18に出力していなければ、低消費電力制御回路18は、モード制御信号PAをロウレベルにすることでECU11を低消費電力モードに維持するようになっている。また、キー検出スイッチ19がキー検出信号を出力した場合、低消費電力制御回路18は、モード制御信号PAをハイレベルにして、ECU11を低消費電力モードからスタンバイモードに切換えるようになっている。尚、周波数逓倍回路17及び低消費電力制御回路18は、クロック制御回路11aを構成している。
【0024】
図2は、周波数逓倍回路17の概略構成を示す機能ブロック図である(尚、詳細な構成については、特開平8−265111号公報を参照)。制御回路(シーケンス制御手段)20には、発振回路16より出力される基準クロック信号PREF が与えられている。そして、制御回路20は、3個のフリップフロップ(図示せず)で構成されるシーケンスカウンタを内蔵している。そして、このシーケンスカウンタによって基準クロック信号PREF の入力パルス数をカウントして基準クロック信号PREF の8周期を1シーケンス制御周期とし、基準クロック信号PREF 同期して各種の制御タイミング信号をDCO(Digital Controlled Oscillator ,デジタル制御発振器)21及びカウンタ・データラッチ回路(カウント手段,データ出力手段)22に出力するようになっている。
【0025】
DCO21は、内部にリングオシレータ(多相クロック信号出力手段)23を備えている。リングオシレータ23は、図3に示すように、論理反転回路として2個の2入力NANDゲート24,25と、30個のINV(インバータ)ゲート26〜55(但し、27〜41,43〜54については符号の図示を省略)を備えて構成されている。これらの各論理反転回路は、各出力端子が次段の入力端子へとリング状に接続されており、NANDゲート24の一方の入力端子はNANDゲート25の出力端子に接続され、他方の入力端子には外部からのモード制御信号PAが与えられるようになっている。
【0026】
また、NANDゲート25の一方の入力端子はINVゲート55の出力端子に接続され、他方の入力端子はINVゲート42の出力端子に接続されている。そして、NANDゲート24から数えて偶数段目に接続されている論理反転回路の出力端子からは、夫々多相クロック信号R1〜R16が出力されるようになっている。
【0027】
リングオシレータ23は、モード制御信号PAがロウレベルであれば、NANDゲート24の出力レベルはハイとなるので、NANDゲート24から数えて偶数段目のINVゲートの出力レベルはロウとなり、奇数段目のINVゲートの出力レベルはハイとなる。但し、偶数段目のINVゲート42の出力レベルはロウであるから、NANDゲート25だけは偶数段目であるにもかかわらずハイレベルを出力する。この状態で、各論理反転回路の信号レベルは安定した状態にある。
【0028】
そして、モード制御信号PAをロウレベルからハイレベルに変化させると、NANDゲート24の出力レベルは反転してロウに変化する。このレベル反転は、奇数段目の論理反転回路の立下がりエッジ及び偶数段目の論理反転回路の立上がりエッジとして伝搬し(メインエッジ)、次段以降に接続されているINVゲートも出力レベルを順次反転させて行く。その反転がINVゲート42に達して出力レベル(R9)がロウからハイに反転すると、NANDゲート25の出力レベルは、その時点で(INVゲート55の出力レベルが反転するよりも先に)ハイからロウに反転する。
【0029】
従って、奇数段目の論理反転回路の立上がりエッジ及び偶数段目の論理反転回路の立下がりエッジとして伝搬するリセットエッジは、前記メインエッジと同一周回上で周回する。そして、NANDゲート24の出力レベルは、自身が発生させたメインエッジが戻ってくる前にリセットエッジによって反転され、NANDゲート25の出力レベルは、自身が発生させたリセットエッジが戻ってくる前にメインエッジによって反転される、という動作を繰り返すことで、リングオシレータ23は、安定状態になることなく両エッジを周回させることで発振する。
【0030】
以上のように動作するリングオシレータ23の各出力端子からは、各論理反転回路が反転するのに要する時間(即ち、ゲート遅延時間)をTdとすると、32・Tdを1周期とする多相クロック信号R1〜R16が出力される。例えば、Td=約75psとすると、多相クロック信号R1〜R16の発振周波数は約400MHzとなる。また、各多相クロック信号R1〜R16は、夫々隣接する出力端子より出力されるものに対してTg=2・Tdずつの位相差を有することになる。
【0031】
再び、図2を参照して、カウンタ・データラッチ回路22には、制御回路20より出力される制御タイミング信号UCE及びCLRが与えられるようになっている。これらの制御タイミング信号UCE及びCLRは、基準クロック信号PREF 1周期に相当するパルス幅を有しており、制御回路20におけるシーケンス制御周期の第3及び第7周期に夫々出力される信号である。
【0032】
また、カウンタ・データラッチ回路22には、リングオシレータ23より出力されるクロック信号R13がRCKとして与えられるようになっており、そのクロック信号RCKによって内部のアップカウンタ(16ビット)によるカウント動作を行うようになっている。そして、カウンタ・データラッチ回路22は、制御タイミング信号UCEが出力されている間、カウンタにアップカウント動作を行わせることで、基準クロック信号PREF 1周期に相当する時間をクロック信号RCKによってカウントする。
【0033】
そのカウントデータは、制御回路20よりシーケンス制御周期の第5周期で出力される制御タイミング信号DLSがDCO21を介して与えられるラッチ信号DLCのタイミングでラッチされ、制御タイミング信号CLRが出力されるとラッチされたデータはクリアされるようになっている。
【0034】
カウンタ・データラッチ回路22は、カウントした16ビットのデータDT16〜DT1を、CPU12により与えられる逓倍数設定データDVの値“6”に応じて6ビット右シフトし、そのシフト後のデータの12ビットをラッチするようになっている。そして、ラッチされた12ビットのデータは、CD12〜CD1としてDCO21に出力されるようになっている。DCO21が出力する逓倍クロック信号POUT ′は、デューティ比を調整するための分周回路56を介して2分周されて、逓倍クロック信号POUT として出力されるようになっている。
【0035】
また、モード制御信号PAは、制御回路20にも与えられていると共に、例えば、基準クロック信号PREF 1周期分程度の遅延時間を与える遅延回路57を介して、制御回路20に動作開始信号PSTBとしても与えられるようになっている。
【0036】
図4は、DCO21の詳細な構成を示す機能ブロックである。カウンタ・データラッチ回路22より与えられるラッチデータCD12〜CD1の内、上位側の8ビットであるCD12〜CD5は、ダウンカウンタ58のカウントデータとして所定のタイミングでロードされるようになっている。そして、ダウンカウンタ58は、リングオシレータ23より出力されるクロック信号R13によってロードされたカウントデータをダウンカウントするようになっている。
【0037】
また、ラッチデータCD12〜CD1の内、下位側の4ビットであるCD4〜CD1は、加算器59を介してレジスタ60のデータ入力端子Dに与えられるようになっている。レジスタ60は、タイミング制御部61より出力されるタイミング信号によって加算器59の出力データを5ビットのデータD5〜D1として出力するようになっており、その内の下位4ビットデータD4〜D1は、パルスセレクタ62に与えられると共に、加算器59に被加算値として入力されるようになっている。また、レジスタ60より出力されるデータD5は、加算器59における加算に応じて発生するキャリー信号に相当するものであり、タイミング制御部61に与えられるようになっている。
【0038】
パルスセレクタ62には、リングオシレータ23より出力される多相クロック信号R16〜R1が与えられており、それらの多相クロック信号R16〜R1の内、レジスタ60より出力されるデータD4〜D1の値(10進数値+1)に相当する番号)に対応するものを1つ選択して、出力端子P1(R8〜R1),P2(R16〜R9)の何れか一方からタイミング制御部61に出力するようになっている。タイミング制御部61には、リングオシレータ23より出力されるクロック信号R5が与えられている。
【0039】
また、ダウンカウンタ58は、ロードされたカウントデータをダウンカウントして行き、そのカウント値が“2”になると出力信号CN2をハイレベルにし、カウント値が“1”になると出力信号CN1をハイレベルにしてタイミング制御部61に出力するようになっている。
【0040】
タイミング制御部61の構成については、詳細を省略するが、概略的には、ダウンカウンタ58によりダウンカウントされたデータ値が“2(キャリー信号D5=0の時)”または“1(キャリー信号D5=1の時)”になると、その1・RCK後にレジスタ60より出力されるデータD4〜D1の値に対応する多相クロック信号R16〜R1の何れか1つを自身に入力させるようになっている。そして、多相クロック信号R16〜R1の入力タイミングに更に1・RCK分の遅延をバッファにより与えて、逓倍クロック信号POUT として出力するようになっている。それから、タイミング制御部61は、ダウンカウンタ58にCD12〜CD5をリロードするためのセット信号を出力し、また、レジスタ60にトリガ信号を出力する。その時点から次の逓倍クロック信号の出力シーケンスが開始される。
【0041】
即ち、以上の動作を総括すると、基準クロック信号PREF の8周期毎に、基準クロック信号PREF の1周期相当のカウントデータDT16〜DT1がカウントされ、その内の6ビット右シフトされた12ビットデータCD12〜CD1がDCO21に与えられる。そして、上位8ビットのCD12〜CD5がダウンカウントされると、レジスタ60より与えられる下位データD4〜D1の値(+1)に対応する多相クロック信号R16〜R1の何れか1つが選択されて逓倍クロック信号POUT ′として出力される。
【0042】
今、CD12〜CD1の下位4ビットCD4〜CD1が“0001”であるとする。そして、最初の逓倍クロック周期では、レジスタ60の出力データ(下位4ビット)は初期値“0000”であるから、パルスセレクタ62によって選択される多相クロック信号はR1である。その次の周期では、加算器59によりレジスタ60の出力データ“0000”にCD4〜CD1が“0001”加算され、レジスタ60の出力データは“0001”となる。従って、ダウンカウンタ58のカウント値が“2”の時点で選択される多相クロック信号はR2となる。以降、逓倍クロック周期が進むと、選択される多相クロック信号は以下のようになる。
【0043】
即ち、基準クロック信号PREF の1周期をリングオシレータ23のクロック信号RCKでカウントしたデータの上位8ビットをダウンカウントした時点で、下位4ビットのデータが残っている。そして、クロック信号RCKの1周期を4ビットデータで表現される“16”で分割した時間に相当する位相差(即ち、32・Td/16=2・Td=Tg)を有する多相クロック信号R16〜R1を、上位8ビットをダウンカウントする毎にD4〜D1の値に応じて選択的に出力することで、逓倍クロック信号POUT ′は基準クロック信号PREF の16×26=1024逓倍となる。そして、その逓倍クロック信号POUT ′は、分周回路56により2分周され最終的に512逓倍となり、デューティ比50%の逓倍クロック信号POUT として出力される。
【0044】
また、上記の動作は、以下のように説明することもできる。即ち、ダウンカウンタ58においてダウンカウントされる上位8ビットのCD12〜CD5は、基準クロック信号PREF の周期をクロック信号RCKの周期で除した商の整数部分に対応しており、下位4ビットのCD4〜CD1は商の小数部分に対応している。そして、多相クロック信号R16〜R1を、上位8ビットのダウンカウント毎に選択的に出力することは、商の小数部分を多相クロック信号R16〜R1の位相差(2・Td)の分解能で表現することに等しい。
【0045】
以降、加算器59における加算が進みレジスタ60の出力データが“1111”の次に“0000”となると、キャリー信号D5が出力されて、タイミング制御部61は、ダウンカウンタ58のカウントデータ値が“1”の時に多相クロック信号R16〜R1の何れか1つを自身に入力させるようになる。即ち、加算器59における加算値のキャリーが発生したことに対応して、1・RCK分の遅延を与えている。
【0046】
尚、周波数逓倍回路17の構成は、位相同期をとるための機能を備えていないものの、基本的な構成要素はデジタルPLL(Phase Locked Loop) 回路と同様のものである。また、以上の構成は、特開平8−265111号公報に開示されている構成に比較するとデータの設定等が若干異なっているが、基本的な動作については全く同様である。
【0047】
次に、本実施例の作用について説明する。自動車のキーがキーシリンダに挿入されておらず、自動車が停車している状態では、キー検出スイッチ19はキー検出信号を出力しておらず、低消費電力制御回路18は、モード制御信号PAをロウレベルにしてCPU12,メモリ13及びゲートアレイ14の動作を停止させ、低消費電力モードにする。
【0048】
すると、リングオシレータ23における各論理反転回路の出力レベルは安定して多相クロック信号R16〜R1の発振が停止し、周波数逓倍回路17のDCO21も動作しないので、逓倍クロック信号POUT はロウレベルに保持される。従って、CPU12,メモリ13及びゲートアレイ14の動作も停止する。また、制御回路20は、その内部においてシーケンスカウンタを構成するフリップフロップがリセットされた状態にあり、やはり動作を停止している。
【0049】
この状態では、発振回路16及び低消費電力制御回路18のみが動作しているが、低消費電力制御回路18は、16KHzの基準クロック信号PREF で動作しているため、その消費電流は略零と見なすことができる。また、発振回路16自体の消費電流は、高々数百μA程度である。
【0050】
そして、キーがキーシリンダに挿入されてキー検出スイッチ19がキー検出信号を出力すると、低消費電力制御回路18は、モード制御信号PAをハイレベルにする。すると、前述したように、リングオシレータ23のNANDゲート24の出力レベルが反転して、多相クロック信号R16〜R1の発振が開始される。この時、リングオシレータ23は、nsのオーダーで発振動作を開始する。
【0051】
また、制御回路20も、モード制御信号PAがハイレベルになると一定のシーケンスで各制御タイミング信号を出力するようになる。また、モード制御信号PAは、遅延回路57を介して制御回路20に動作開始信号PSTBとして与えられ、その動作開始信号PSTBは、制御回路20におけるシーケンス制御周期の第7周期で出力される信号CLRの立上がりに同期して、制御信号PCとしてDCO21に与えられる。その制御信号PCは、DCO21の内部で更にクロック信号RCKに同期した信号として出力され、タイミング制御部61内部にある出力タイミング設定用フリップフロップのリセットを解除することで逓倍クロック信号POUT ′が出力可能となる。
【0052】
制御回路20のシーケンス制御周期は、基準クロック信号PREF の8周期であるから20μs程度であり、20μsの経過後には周波数逓倍回路17は動作を開始することになる。そして、CPU12,メモリ13及びゲートアレイ14に8MHzの逓倍クロック信号POUT が供給されてこれらの動作が開始されることで、ECU11はスタンバイモードとなる。
【0053】
以上のように本実施例によれば、周波数逓倍回路17は、リングオシレータ23より出力される発振信号RCKに基づいて、発振回路16より出力される基準クロック信号PREF の周期に相当する時間をカウンタ・データラッチ回路22によりカウントし、そのカウントデータDT16〜DT1に基づいて逓倍クロック信号POUT をDCO21によって生成し、CPU12,メモリ13及びゲートアレイ14に供給する。
【0054】
そして、低消費電力制御回路18がキー検出スイッチ19からの信号を受けてECU11をスリープモードにする場合には、モード制御信号PAをロウレベルにしてリングオシレータ23の発振動作を停止させることで周波数逓倍回路17からの逓倍クロック信号POUT の出力を停止させ、ECU11をスタンバイモードにする場合には、モード制御信号PAをハイレベルにしてリングオシレータ23の発振動作を開始させるようにした。
【0055】
即ち、リングオシレータ23は、NANDゲート24及び25,INVゲート26〜55からなる論理反転回路のロジックレベルの遷移によって発振するので、モード制御信号PAのレベルがロウからハイに変化すると直ちに(数ns以内に)発振動作を開始することができる。従って、ECU11をスリープモードからスタンバイモードに切替えた場合に、従来の発振回路16の動作を停止させる構成における発振安定時間が存在しないことから、極めて短時間内に制御動作を開始させることが可能となり、ユーザが応答の遅れを感じることがない。
【0056】
また、ECU11をスリープモードで待機させている状態では、高速(数100MHzオーダー)で発振するリングオシレータ23が停止しているので、消費電流は、発振回路16による数百μA程度である。従って、周波数逓倍回路17を設けたことによって消費電流が増加することもない。
【0057】
そして、リングオシレータ23を構成する所定の論理反転回路の出力端子から多相クロック信号R16〜R1を容易に得ることができる。また、多相クロック信号R16〜R1の位相差は、論理反転回路のゲート遅延時間Tdの2倍(=Tg)に応じて定まるので、多相クロック信号R16〜R1の発振周波数を極めて高く設定することが容易に可能であるから、逓倍クロック信号POUT を生成するための分解能を高く設定することができ、また、分解能を調整することも容易に行い得る。
【0058】
更に、本実施例によれば、周波数逓倍回路17により基準クロック信号PREF を1024逓倍することができるので、基準クロック信号PREF の周波数は比較的低く設定しても良く、水晶発振子15として安価な素子を用いることができる。そして、周波数逓倍回路17をCPU12,メモリ13及びゲートアレイ14の近くに配置すれば、高速のクロックラインを回路基板上で長く引き回すことがないので、不要輻射を大幅に低減することもできる。加えて、これらをICとして一体に構成することで、周波数逓倍回路17を付加することによるスペースやコストの上昇を抑制することができる。
【0059】
また、周波数逓倍回路17は、カウンタ・データラッチ回路22において基準クロック信号PREF 周期のカウントに用いられる多相クロック信号RCK(R13)に同期して逓倍クロック信号POUT を生成するので、例えば、周囲温度の高低に応じてリングオシレータ23の発振周波数が変動したとしても、その変動の影響をキャンセルすることができ、逓倍クロック信号POUT の周波数精度を向上させることができる。
【0060】
また、周波数逓倍回路17によれば、逓倍クロック信号POUT の逓倍数をCPU12によって設定される逓倍数設定データDVに応じてダイナミックに変化させることができるので、例えば、通常動作モードであっても逓倍数を低く設定することでECU11の消費電力を抑制することが可能である。また、周波数逓倍回路17は、デジタルPLL回路と略同様に構成することができるので、例えば、外部の回路との間で通信を行うような構成を採用する場合には、位相同期をとるためのループフィルタとしての機能を容易に追加することもできる。
【0061】
そして、シーケンス制御周期毎に逓倍クロック信号POUT を生成するための動作を行うので、逓倍クロック信号POUT が常に現在の基準クロック信号PREF に対して512逓倍となるように制御することができる。
【0062】
(第2実施例)
図5及び図6は、本発明の第2実施例を示すものであり、第1実施例と同一部分には同一符号を付して説明を省略し、以下異なる部分についてのみ説明する。第2実施例では、図5に示すDCO(デジタル制御発振器)63の構成が第1実施例におけるDCO21と異なっている。即ち、リングオシレータ(多相クロック信号出力手段)64は、図6に示すように、1個のNANDゲート65及び14個のINVゲート66〜79(但し、符号67〜78は図示を省略)からなる15個の論理反転回路で構成されている。
【0063】
そして、これらの各論理反転回路は、リングオシレータ23と同様に各出力端子が次段の入力端子へとリング状に接続されており、NANDゲート65の一方の入力端子はINVゲート79の出力端子に接続され、他方の入力端子には外部からのモード制御信号PAが与えられるようになっている。また、NANDゲート65から数えて奇数段目に接続されている論理反転回路の出力端子からは、夫々多相クロック信号R1〜R8が出力されるようになっている。但し、NANDゲート65のゲート遅延時間は、INVゲート66〜79のゲート遅延時間Tdの2倍(2・Td)に設定されている。
【0064】
リングオシレータ64は、モード制御信号PAがロウレベルであれば、NANDゲート65の出力レベルはハイとなるので、次段のINVゲート66の出力レベルはロウとなり、更にその次段のINVゲート67の出力レベルはハイとなるように各論理反転回路の出力レベルが順次反転する。そして、NANDゲート65には、自身の出力レベルと同じハイレベルの信号が入力されるので、リングオシレータ64は発振することなく安定した状態にある。
【0065】
そして、モード制御信号PAをロウレベルからハイレベルに変化させると、NANDゲート65の出力レベルは反転してロウに変化する。すると、各INVゲート66〜79の1個のゲート遅延時間Tdを略16倍した時間16・Tdが経過した時点で、NANDゲート65に自身の出力レベルと同じロウレベルの信号が入力されてNANDゲート65の出力レベルは再度反転する、という動作を繰り返す。
【0066】
従って、リングオシレータ64の各出力端子からは、32・Tdを1周期とする多相クロック信号R8〜R1が出力される。そして、各多相クロック信号R1〜R8は、夫々隣接する出力端子より出力されるものに対してTg=2・Tdずつの位相差を有することになる。また、カウンタ・データラッチ回路14及びダウンカウンタ58に供給するクロック信号RCKとしては、多相クロック信号R5が選択されている。
【0067】
リングオシレータ64からの多相クロック信号R1〜R8が入力されるパルスセレクタ80には、レジスタ60より与えられる下位データD3〜D1の値(+1)に対応する多相クロック信号R8〜R1の何れか1つが選択されて、出力端子P1よりタイミング制御部81に出力されるようになっている。タイミング制御部81は、パルスセレクタ80より与えられる多相クロック信号R8〜R1を内部で反転させた逆相(位相差180度)信号をも作成するようになっている。即ち、多相クロック信号R8〜R1を反転させた逆相信号は、第1実施例における多相クロック信号R16〜R9に対応する。
【0068】
そして、タイミング制御部81は、レジスタ60より与えられるデータD4の“0,1”に応じて、多相クロック信号R8〜R1,その逆相信号である多相クロック信号R16〜R9の何れか一方を逓倍クロック信号POUT ′のタイミングとするかを選択するようになっている。その他の構成は、第1実施例と同様である。
【0069】
以上のように構成された第2実施例によれば、リングオシレータ64をより少ないゲート数で構成できると共に、同様に、パルスセレクタ80も選択信号数が1/2になるのでより少ないゲート数で構成することができる。従って、ECUをより消費電力が少ない構成とすることができる。
【0070】
本発明は上記し且つ図面に記載した実施例にのみ限定されるものではなく、次のような変形または拡張が可能である。
例えば、特開平7−183800号公報に開示されている技術を利用して、基準クロック信号PREF の周期の測定精度を向上させることが可能である。即ち、例えば第1実施例において、カウンタ・データラッチ回路22にリングオシレータ23が出力する多相クロック信号R16〜R1を与える。そして、制御タイミング信号UCEの立上がり時点において多相クロック信号R16〜R1のレベルをラッチし、それらの内何れか1つのクロック信号R(x)のレベルが“H”であり、その次段のクロック信号R(x+1)のレベルが“L”となっている出力パターンの組み合わせを検出し、(x)を4ビットデータでエンコードする。
【0071】
そのエンコードした4ビットデータを、クロック信号RCKによってカウントしたデータに下位ビットとして付加する。このようにして測定したデータと、1測定周期前のデータとの差分を取ることで、基準クロック信号PREF 周期の測定データを得る。それから、測定データを逓倍数設定データDVの値に応じて右シフトするが、その場合、逓倍数設定データDVは、第1実施例とは異なり、1024逓倍であれば“10”,8逓倍であれば“3”となるように2のべき乗数そのままで設定する。
即ち、斯様に構成すれば、基準クロック信号PREF の周期を多相クロック信号R16〜R1の位相差を分解能として計測することになり、測定精度を向上させることができる。そして、設定される逓倍数nが比較的小さい場合であっても、基準クロック信号PREF の周期の計測データを予め高分解能で得ておくことで逓倍処理を行うために必要なデータが損なわれることがない。例えば、第1実施例の構成では、最小逓倍数は“16”であるが、上記構成によれば、より小さい逓倍数を設定することができる。
【0072】
発振周波数の精度が余り要求されない場合には、水晶発振子15及び発振回路16に代えて、CR発振回路を用いることで基準クロック信号PREF を生成しても良い。
クロック制御回路は、必ずしもICとして一体に構成するものに限らず、各回路素子をディスクリートに構成し、プリント基板上に夫々配置するようにしても良い。
リングオシレータ23を構成する反転回路の素子数は、適宜変更して良い。カウンタ・データラッチ回路22のカウントビット数についても同様である。また、必要な逓倍数を得るためには、カウンタ・データラッチ回路22がDCO21に与えるカウントデータの右シフト数を適宜設定したり、或いは、DCO2において、ダウンカウンタ58と加算器59に切り分けて与えるデータの上位ビットと下位ビットとの割合を適宜変化させれば良い。そして、その下位ビットで表現できる最大数に1を加えた数の多相クロック信号を出力するように、リングオシレータを構成すれば良い。
制御信号PSTBは、モード制御信号PAを遅延回路57により遅延させて生成するものに限らず、低消費電力制御回路18が内部で独立に生成して出力するようにしても良い。
【0073】
逓倍数設定データDVは、CPU12によってダイナミックに設定されるものに限らず、固定値で設定しても良い。
シーケンス制御周期は、基準クロック信号PREF の8周期を単位とするものに限らず、適宜変更して良い。
分周回路56は、クロック信号のデューティ比を調整する必要がある場合に設ければ良い。
クロック同期回路は、CPU12,メモリ13及びゲートアレイ14に限らず、DSP(Digital Signal Processor)やDMA(Direct Memory Access)コントローラ,SCSIコントローラ等のICでも良い。
ECU11に限ることなく、CPUやメモリ等のクロック同期回路が搭載されており、低消費電力モードと通常動作モードとの切換えを行う回路であれば、例えばパーソナルコンピュータなどにも適用が可能である。
【図面の簡単な説明】
【図1】本発明の第1実施例を示すものであり、ECUの電気的構成を示す機能ブロック図
【図2】周波数逓倍回路の詳細な電気的構成を示す機能ブロック図
【図3】リングオシレータの電気的構成を示す図
【図4】DCOの詳細な電気的構成を示す機能ブロック図
【図5】本発明の第2実施例を示す図2相当図
【図6】図3相当図
【図7】従来技術を示す図1相当図
【符号の説明】
11はECU(クロック制御回路,半導体集積回路)、11aはクロック制御回路、12はCPU(クロック同期回路)、13はゲートアレイ(クロック同期回路)、14はメモリ14(クロック同期回路)、16は発振回路(基準クロック発振回路)、17は周波数逓倍回路、18は低消費電力制御回路(低消費電力制御手段)、20は制御回路(シーケンス制御手段)、21はDCO(デジタル制御発振器)、22はカウンタ・データラッチ回路(カウント手段,データ出力手段)、23はリングオシレータ(多相クロック信号出力手段)、24,25はNANDゲート(論理反転回路)、26〜55はINVゲート(論理反転回路)、63はDCO(デジタル制御発振器)、64はリングオシレータ(多相クロック信号出力手段)、65はNANDゲート(論理反転回路)、66〜79はINVゲート(論理反転回路)を示す。[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a clock control circuit configured to stop operation of a clock synchronization circuit that operates in synchronization with a clock signal when a clock signal is applied to a clock input terminal and shift to a low power consumption mode.
[0002]
[Prior art]
A conventional example of such a clock control circuit is shown in FIG. An ECU (Electronic Control Unit) 1 that performs engine control of a vehicle is integrally configured as a semiconductor integrated circuit (IC). As an internal circuit thereof, for example, a clock synchronization circuit such as a
[0003]
In such an
[0004]
Since most of the power consumption in such a clock control circuit is due to the operation of the
[0005]
[Problems to be solved by the invention]
However, the oscillation circuit 6 is composed of an inverter gate, a resistor, and the like, and oscillates by applying a bias to the
[0006]
Therefore, when switching to the normal mode, there is a problem that the start of the operation of the
[0007]
The present invention has been made in view of the above circumstances, and an object of the present invention is to provide a clock control circuit capable of immediately starting the operation of the clock synchronization circuit when switching from the low power consumption mode to the standby mode. There is.
[0008]
[Means for Solving the Problems]
According to the clock control circuit of
[0009]
Therefore, when shifting from the low power consumption mode to the normal operation mode in order to operate the clock synchronization circuit, the frequency multiplication circuit generates the n-multiplication clock signal by starting the oscillation operation of the multi-phase clock signal output means. Then, the supply to the clock synchronization circuit is started. In other words, since the multi-phase clock signal output means that performs the oscillation operation by digital control can start the oscillation operation from the oscillation stop state in an extremely short time, it shifts from the low power consumption mode to the normal operation mode. In this case, the operation of the clock synchronization circuit can be started immediately.
[0010]
Moreover, since the frequency of the reference clock signal can be multiplied by n by the frequency multiplication circuit, the frequency of the reference clock signal can be set relatively low. For example, an inexpensive oscillator is provided in the reference clock oscillation circuit. Can be used. Further, if the frequency multiplying circuit is arranged in the vicinity of the clock synchronizing circuit, a high-speed n-multiplied clock signal line is not drawn for a long time on the circuit board, so that unnecessary radiation can be greatly reduced.
AndThe frequency multiplier circuit counts the time corresponding to the reference clock signal period in the multiphase clock signal period under the control of the sequence control means, converts the counted data into data corresponding to the multiplier setting data, and controls the digitally controlled oscillator To generate an n-multiplied clock signal.
Therefore, the multiplication number of the n-multiplication clock signal can be easily changed according to the multiplication number setting data. For example, even in the normal operation mode, the multiplication number can be set low to suppress power consumption. It is. In addition, since the frequency multiplication circuit can be basically configured in substantially the same manner as a so-called digital PLL circuit, for example, when adopting a configuration that performs communication with an external clock synchronization circuit, A function as a loop filter for phase synchronization can be easily added.
[0011]
According to the clock control circuit of
[0012]
Claim3According to the clock control circuit described,Since the frequency multiplier circuit generates the n-multiplied clock signal based on the multiphase clock signal used for measuring the reference clock signal cycle, for example, the oscillation frequency of the multiphase clock signal output means according to the level of the ambient temperature , The influence of the fluctuation of the oscillation frequency can be canceled by measuring the reference clock signal period and generating the n-multiplied clock signal based on the common clock signal. The frequency accuracy can be improved.
[0013]
Claim4According to the clock control circuit described,Since the multiphase clock generating means is configured as a ring oscillator in which a plurality of logic inversion circuits are connected in a ring shape, a multiphase clock signal can be easily obtained from the output terminal of a predetermined logic inversion circuit. In addition, since the phase difference of the multiphase clock signal is determined according to the gate delay time of the logic inversion circuit, it is possible to easily set the oscillation frequency of the multiphase clock signal to be extremely high, thereby generating a multiplied clock signal. Therefore, the resolution can be set high and the resolution can be easily adjusted.
[0014]
Claim5According to the clock control circuit described,Since the ring oscillator is composed of an odd number of logic inverting circuits, a configuration for obtaining the same number of multi-phase clock signals can be realized with a smaller number of gates, and the power consumption can be further reduced.
[0015]
Claim6According to the clock control circuit described,Since the reference clock oscillation circuit, the frequency multiplication circuit, the clock synchronization circuit, and the low power consumption control unit are integrally configured as a semiconductor integrated circuit, an increase in space and cost due to the addition of the frequency multiplication circuit can be suppressed.
[0018]
Claim7According to the described clock control circuit, the frequency multiplication circuit measures the period of the reference clock signal based on the multiphase clock signal period generated by the multiphase clock signal means and measures the phase difference of the multiphase clock signal as the resolution. Then, based on the measured value, an n-multiplied clock signal obtained by multiplying the frequency of the reference clock signal by n with the phase difference of the multiphase clock signal as resolution is generated and supplied to the clock synchronization circuit. The low power consumption control means stops the oscillation operation of the multiphase clock signal output means when the operation of the clock synchronization circuit is stopped to shift to the low power consumption mode.
The frequency multiplication circuit counts the time corresponding to the reference clock signal period under the control of the sequence control means in the multiphase clock signal period, converts the counted data into data corresponding to the multiplication number setting data, An n-multiplied clock signal is generated by outputting to the controlled oscillator.
[0019]
Therefore, the same effect as in the first aspect can be obtained, and the measurement accuracy can be improved by measuring the period of the reference clock signal by using the phase difference of the multiphase clock signal as a resolution. Even when the multiplication number n set in the frequency multiplication circuit is relatively small, it is necessary to perform the multiplication process with high accuracy by obtaining the measurement value of the reference clock signal period with high resolution in advance. Since the data is not lost, the processing accuracy can be maintained without deteriorating.
[0020]
DETAILED DESCRIPTION OF THE INVENTION
(First embodiment)
A first embodiment when the present invention is applied to an ECU (semiconductor integrated circuit) 11 of an automobile will be described below with reference to FIGS. The ECU (Electronic Control Unit) 11 is configured as a semiconductor integrated circuit (IC) like the
[0021]
The reference clock signal PREF is supplied to the
[0022]
Further, the
[0023]
The
[0024]
FIG. 2 is a functional block diagram showing a schematic configuration of the frequency multiplication circuit 17 (refer to Japanese Patent Laid-Open No. 8-265111 for a detailed configuration). A reference clock signal PREF output from the
[0025]
The
[0026]
One input terminal of the
[0027]
In the
[0028]
When the mode control signal PA is changed from low level to high level, the output level of the
[0029]
Therefore, the reset edge that propagates as the rising edge of the odd-numbered logic inversion circuit and the falling edge of the even-numbered logic inversion circuit circulates on the same circuit as the main edge. The output level of the
[0030]
From each output terminal of the
[0031]
Referring again to FIG. 2, the counter / data latch circuit 22 is supplied with control timing signals UCE and CLR output from the
[0032]
The counter / data latch circuit 22 is supplied with a clock signal R13 output from the
[0033]
The count data is latched at the timing of the latch signal DLC supplied from the
[0034]
The counter / data latch circuit 22 shifts the counted 16-bit data DT16 to DT1 to the right by 6 bits according to the value “6” of the multiplication number setting data DV given by the
[0035]
The mode control signal PA is also given to the
[0036]
FIG. 4 is a functional block showing a detailed configuration of the
[0037]
Further, among the latch data CD12 to CD1, the lower 4 bits CD4 to CD1 are supplied to the data input terminal D of the
[0038]
The
[0039]
The down counter 58 counts down the loaded count data. When the count value becomes “2”, the output signal CN2 is set to high level. When the count value becomes “1”, the output signal CN1 is set to high level. And output to the
[0040]
Although details of the configuration of the
[0041]
That is, when the above operations are summarized, the count data DT16 to DT1 corresponding to one cycle of the reference clock signal PREF is counted every 8 cycles of the reference clock signal PREF, and 12-bit data CD12 right-shifted by 6 bits among them is counted. ~ CD1 is given to DCO21. When the upper eight bits CD12 to CD5 are down-counted, any one of the multiphase clock signals R16 to R1 corresponding to the value (+1) of the lower data D4 to D1 given from the
[0042]
Assume that the lower 4 bits CD4 to CD1 of CD12 to CD1 are “0001”. In the first multiplied clock cycle, since the output data (lower 4 bits) of the
[0043]
That is, when the upper 8 bits of the data obtained by counting one period of the reference clock signal PREF with the clock signal RCK of the
[0044]
The above operation can also be described as follows. That is, the upper 8 bits CD12 to CD5 that are down-counted by the
[0045]
Thereafter, when the addition in the
[0046]
The
[0047]
Next, the operation of this embodiment will be described. When the key of the automobile is not inserted into the key cylinder and the automobile is stopped, the
[0048]
Then, the output level of each logic inverting circuit in the
[0049]
In this state, only the
[0050]
When the key is inserted into the key cylinder and the
[0051]
The
[0052]
Since the sequence control cycle of the
[0053]
As described above, according to the present embodiment, the
[0054]
When the low power consumption control circuit 18 receives the signal from the
[0055]
That is, the
[0056]
Further, when the ECU 11 is in the standby mode in the sleep mode, the
[0057]
Then, the multiphase clock signals R16 to R1 can be easily obtained from the output terminal of a predetermined logic inversion circuit constituting the
[0058]
Furthermore, according to the present embodiment, the
[0059]
Further, the
[0060]
Further, according to the
[0061]
Since the operation for generating the multiplied clock signal POUT is performed every sequence control period, the multiplied clock signal POUT can be controlled to always be 512 times the current reference clock signal PREF.
[0062]
(Second embodiment)
5 and 6 show a second embodiment of the present invention. The same parts as those in the first embodiment are denoted by the same reference numerals and the description thereof is omitted. Only different parts will be described below. In the second embodiment, the configuration of a DCO (digitally controlled oscillator) 63 shown in FIG. 5 is different from the
[0063]
Each of these logic inversion circuits has each output terminal connected to the input terminal of the next stage in a ring like the
[0064]
In the
[0065]
When the mode control signal PA is changed from low level to high level, the output level of the
[0066]
Accordingly, multi-phase clock signals R8 to R1 having 32 · Td as one cycle are output from each output terminal of the
[0067]
In the
[0068]
The
[0069]
According to the second embodiment configured as described above, the
[0070]
The present invention is not limited to the embodiments described above and illustrated in the drawings, and the following modifications or expansions are possible.
For example, it is possible to improve the measurement accuracy of the period of the reference clock signal PREF by using the technique disclosed in Japanese Patent Laid-Open No. 7-183800. That is, for example, in the first embodiment, the counter / data latch circuit 22 is provided with the multiphase clock signals R16 to R1 output from the
[0071]
The encoded 4-bit data is added as lower bits to the data counted by the clock signal RCK. By taking the difference between the data measured in this way and the data before one measurement period, measurement data of the reference clock signal PREF period is obtained. Then, the measurement data is shifted to the right according to the value of the multiplication number setting data DV. In this case, unlike the first embodiment, the multiplication number setting data DV is “10” when multiplied by 1024 and multiplied by eight. If there is, the power multiplier of 2 is set as it is to be “3”.
That is, with this configuration, the period of the reference clock signal PREF is measured with the phase difference between the multiphase clock signals R16 to R1 as resolution, and the measurement accuracy can be improved. Even when the set multiplication number n is relatively small, data necessary for performing the multiplication process is lost by obtaining measurement data of the cycle of the reference clock signal PREF in advance with high resolution. There is no. For example, in the configuration of the first embodiment, the minimum multiplication number is “16”, but according to the above configuration, a smaller multiplication number can be set.
[0072]
When the accuracy of the oscillation frequency is not so required, the reference clock signal PREF may be generated by using a CR oscillation circuit instead of the
The clock control circuit is not necessarily configured as an integrated IC, and each circuit element may be configured discretely and disposed on a printed circuit board.
The number of elements of the inverting circuit constituting the
The control signal PSTB is not limited to the signal generated by delaying the mode control signal PA by the
[0073]
The multiplication number setting data DV is not limited to being dynamically set by the
The sequence control cycle is not limited to the unit of 8 cycles of the reference clock signal PREF, and may be changed as appropriate.
The
The clock synchronization circuit is not limited to the
The present invention is not limited to the ECU 11 and can be applied to, for example, a personal computer as long as a clock synchronization circuit such as a CPU and a memory is mounted and the circuit switches between the low power consumption mode and the normal operation mode.
[Brief description of the drawings]
FIG. 1 is a functional block diagram illustrating an electrical configuration of an ECU according to a first embodiment of the present invention.
FIG. 2 is a functional block diagram showing a detailed electrical configuration of the frequency multiplication circuit.
FIG. 3 is a diagram showing an electrical configuration of a ring oscillator
FIG. 4 is a functional block diagram showing a detailed electrical configuration of a DCO.
FIG. 5 is a view corresponding to FIG. 2 showing a second embodiment of the present invention.
6 is a view corresponding to FIG.
FIG. 7 is a view corresponding to FIG.
[Explanation of symbols]
11 is an ECU (clock control circuit, semiconductor integrated circuit), 11a is a clock control circuit, 12 is a CPU (clock synchronization circuit), 13 is a gate array (clock synchronization circuit), 14 is a memory 14 (clock synchronization circuit), 16 is An oscillation circuit (reference clock oscillation circuit), 17 is a frequency multiplication circuit, 18 is a low power consumption control circuit (low power consumption control means), 20 is a control circuit (sequence control means), 21 is a DCO (digitally controlled oscillator), 22 Is a counter / data latch circuit (count means, data output means), 23 is a ring oscillator (multi-phase clock signal output means), 24 and 25 are NAND gates (logic inversion circuits), and 26 to 55 are INV gates (logic inversion circuits). ), 63 is a DCO (digitally controlled oscillator), 64 is a ring oscillator (multi-phase clock signal output means), 6 The NAND gate (logic inversion circuit), 66-79 shows the INV gate (logic inversion circuit).
Claims (7)
この周波数逓倍回路によって出力されるn逓倍クロック信号がクロック入力端子に与えられて動作するクロック同期回路の動作を停止させて低消費電力モードに移行させる場合に、前記多相クロック信号出力手段の発振動作を停止させる低消費電力制御手段とを備え、
前記周波数逓倍回路は、
前記基準クロック信号の周期に相当する時間を多相クロック信号周期でカウントするカウント手段と、
前記カウント手段によりカウントされたデータを逓倍数設定データに応じたデータに変換して出力するデータ出力手段と、
このデータ出力手段より出力されたデータに基づいて前記n逓倍クロック信号を生成するデジタル制御発振器と、
前記基準クロック信号に基づいて、前記カウント手段及びデジタル制御発振器の動作シーケンスを制御するシーケンス制御手段とを備えて構成されていることを特徴とするクロック制御回路。Multiphase clock signal output means for generating and outputting a multiphase clock signal having a predetermined phase difference by an oscillation operation by digital control is provided, and the cycle of the reference clock signal output by the reference clock oscillation circuit is set to the multiphase clock signal. A frequency multiplication circuit that generates and outputs an n-multiplied clock signal obtained by measuring the frequency of the reference clock signal based on the measured value and multiplying the frequency of the reference clock signal by the resolution of the phase difference of the multiphase clock signal;
The oscillation of the multi-phase clock signal output means is performed when the operation of the clock synchronization circuit that is operated by the n-multiplied clock signal output from the frequency multiplying circuit being applied to the clock input terminal is stopped to shift to the low power consumption mode. A low power consumption control means for stopping the operation ,
The frequency multiplier circuit is:
Counting means for counting a time corresponding to the period of the reference clock signal in a multiphase clock signal period;
Data output means for converting the data counted by the counting means into data corresponding to the multiplication number setting data and outputting the data;
A digitally controlled oscillator for generating the n-multiplied clock signal based on the data output from the data output means;
A clock control circuit comprising: a sequence control means for controlling an operation sequence of the count means and the digitally controlled oscillator based on the reference clock signal .
この周波数逓倍回路によって出力されるn逓倍クロック信号がクロック入力端子に与えられて動作するクロック同期回路の動作を停止させて低消費電力モードに移行させる場合に、前記多相クロック信号出力手段の発振動作を停止させる低消費電力制御手段とを備え、
前記周波数逓倍回路は、
前記基準クロック信号の周期に相当する時間を多相クロック信号周期でカウントするカウント手段と、
前記カウント手段によりカウントされたデータを逓倍数設定データに応じたデータに変換して出力するデータ出力手段と、
このデータ出力手段より出力されたデータに基づいて前記n逓倍クロック信号を生成す るデジタル制御発振器と、
前記基準クロック信号に基づいて、前記カウント手段及びデジタル制御発振器の動作シーケンスを制御するシーケンス制御手段とを備えて構成されていることを特徴とするクロック制御回路。 Multiphase clock signal output means for generating and outputting a multiphase clock signal having a predetermined phase difference by an oscillation operation by digital control is provided, and the cycle of the reference clock signal output by the reference clock oscillation circuit is set to the multiphase clock signal. And measuring the phase difference of the multiphase clock signal as resolution, and multiplying the frequency of the reference clock signal by n using the phase difference of the multiphase clock signal as resolution based on the measured value. A frequency multiplier for generating and outputting a clock signal;
The oscillation of the multi-phase clock signal output means is performed when the operation of the clock synchronization circuit that is operated by the n-multiplied clock signal output from the frequency multiplying circuit being applied to the clock input terminal is stopped to shift to the low power consumption mode. A low power consumption control means for stopping the operation,
The frequency multiplier circuit is:
Counting means for counting a time corresponding to the period of the reference clock signal in a multiphase clock signal period;
Data output means for converting the data counted by the counting means into data corresponding to the multiplication number setting data and outputting the data;
A digital controlled oscillator that generates the n multiplied clock signal based on the data output from the data output means,
A clock control circuit comprising: a sequence control means for controlling an operation sequence of the count means and the digitally controlled oscillator based on the reference clock signal .
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP16977999A JP3633374B2 (en) | 1999-06-16 | 1999-06-16 | Clock control circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP16977999A JP3633374B2 (en) | 1999-06-16 | 1999-06-16 | Clock control circuit |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2000357947A JP2000357947A (en) | 2000-12-26 |
JP3633374B2 true JP3633374B2 (en) | 2005-03-30 |
Family
ID=15892718
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP16977999A Expired - Fee Related JP3633374B2 (en) | 1999-06-16 | 1999-06-16 | Clock control circuit |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP3633374B2 (en) |
Families Citing this family (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3994313B2 (en) * | 2001-09-14 | 2007-10-17 | 株式会社ケンウッド | In-vehicle audio equipment and power supply control method |
JP4082211B2 (en) * | 2002-12-27 | 2008-04-30 | 株式会社デンソー | Microcomputer |
JP4036114B2 (en) | 2003-02-25 | 2008-01-23 | 株式会社デンソー | Clock generation circuit |
US7221206B2 (en) | 2004-03-18 | 2007-05-22 | Denso Corporation | Integrated circuit device having clock signal output circuit |
JP4576862B2 (en) * | 2004-03-22 | 2010-11-10 | 株式会社デンソー | Integrated circuit device |
US7531852B2 (en) | 2004-06-14 | 2009-05-12 | Denso Corporation | Electronic unit with a substrate where an electronic circuit is fabricated |
JP2006127466A (en) | 2004-09-29 | 2006-05-18 | Denso Corp | Microcomputer |
JP4807407B2 (en) * | 2008-12-22 | 2011-11-02 | 株式会社デンソー | Even stage pulse delay device |
US8994458B2 (en) * | 2011-11-08 | 2015-03-31 | Qualcomm Incorporated | Oscillator based frequency locked loop |
US10050585B2 (en) * | 2015-06-18 | 2018-08-14 | Microchip Technology Incorporated | Ultra-low power crystal oscillator with adaptive self-start |
JP6780626B2 (en) * | 2017-11-10 | 2020-11-04 | 株式会社デンソー | Digital control oscillator circuit |
DE102019121891A1 (en) | 2018-08-20 | 2020-02-20 | Taiwan Semiconductor Manufacturing Company, Ltd. | CLOCK WORK CYCLE SETTING AND CALIBRATION CIRCUIT AND METHOD FOR OPERATING THE SAME |
US10890938B2 (en) * | 2018-08-20 | 2021-01-12 | Taiwan Semiconductor Manufacturing Company Ltd. | Clock duty cycle adjustment and calibration circuit and method of operating same |
CN116185334B (en) * | 2023-04-19 | 2023-07-04 | 上海登临科技有限公司 | Input control method of array circuit and array circuit |
-
1999
- 1999-06-16 JP JP16977999A patent/JP3633374B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2000357947A (en) | 2000-12-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP3633374B2 (en) | Clock control circuit | |
US5572719A (en) | Clock control system for microprocessors including a delay sensing circuit | |
JP3561792B2 (en) | Clock generation circuit | |
US6225840B1 (en) | Clock generation circuit which reduces a transition time period and semiconductor device using the same | |
JP4446070B2 (en) | DLL circuit, semiconductor device using the same, and delay control method | |
US7889581B2 (en) | Digital DLL circuit | |
JPH04217115A (en) | Integrated circuit for changing relation in phase between at least one clock phase output and reference clock | |
JP3443896B2 (en) | Digitally controlled oscillator | |
KR100721741B1 (en) | Clock generation circuit | |
JP5184680B2 (en) | Frequency divider circuit, PLL circuit including the same, and semiconductor integrated circuit | |
JP2000156635A (en) | Self-timing control circuit | |
EP0954106B1 (en) | Clock signal multiplier circuit for a clock signal generator circuit | |
US7424087B2 (en) | Clock divider | |
JP2011159873A (en) | Semiconductor integrated circuit and voltage controller therewith | |
JP3523362B2 (en) | Clock circuit and processor using the same | |
JPH10276083A (en) | Even-numbered and odd-numbered frequency division circuit | |
US7049864B2 (en) | Apparatus and method for high frequency state machine divider with low power consumption | |
JP2001127598A (en) | Frequency multiplying circuit | |
JP4036114B2 (en) | Clock generation circuit | |
JPH11338572A (en) | Clock generator | |
JP3333430B2 (en) | Clock synchronization delay control circuit | |
JP2000286703A (en) | Reset circuit and PLL frequency synthesizer | |
JP4032927B2 (en) | Initialization circuit for large-scale integrated circuits | |
JP2019220856A (en) | Frequency dividing circuit, oscillator, electronic apparatus, and movable body | |
JP2001127629A (en) | Pll frequency synthesizer circuit |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20040302 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20040518 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20040708 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20040824 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20041021 |
|
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: 20041207 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20041220 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080107 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110107 Year of fee payment: 6 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120107 Year of fee payment: 7 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130107 Year of fee payment: 8 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140107 Year of fee payment: 9 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
LAPS | Cancellation because of no payment of annual fees |