JP2011199481A - Clock system - Google Patents
Clock system Download PDFInfo
- Publication number
- JP2011199481A JP2011199481A JP2010062569A JP2010062569A JP2011199481A JP 2011199481 A JP2011199481 A JP 2011199481A JP 2010062569 A JP2010062569 A JP 2010062569A JP 2010062569 A JP2010062569 A JP 2010062569A JP 2011199481 A JP2011199481 A JP 2011199481A
- Authority
- JP
- Japan
- Prior art keywords
- circuit
- oscillation
- oscillation circuit
- clock system
- detection result
- 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
- 230000010355 oscillation Effects 0.000 claims abstract description 253
- 239000013078 crystal Substances 0.000 claims abstract description 53
- 238000001514 detection method Methods 0.000 claims abstract description 40
- 238000009966 trimming Methods 0.000 claims abstract description 30
- 230000004913 activation Effects 0.000 claims description 10
- 238000013459 approach Methods 0.000 claims description 5
- 239000000919 ceramic Substances 0.000 claims description 3
- 102100040862 Dual specificity protein kinase CLK1 Human genes 0.000 abstract description 28
- 101000749294 Homo sapiens Dual specificity protein kinase CLK1 Proteins 0.000 abstract description 27
- 102100040844 Dual specificity protein kinase CLK2 Human genes 0.000 description 17
- 101000749291 Homo sapiens Dual specificity protein kinase CLK2 Proteins 0.000 description 17
- 238000000034 method Methods 0.000 description 15
- 238000001994 activation Methods 0.000 description 9
- 238000010586 diagram Methods 0.000 description 7
- 230000005540 biological transmission Effects 0.000 description 6
- 230000004044 response Effects 0.000 description 5
- 239000003990 capacitor Substances 0.000 description 4
- 238000012545 processing Methods 0.000 description 3
- 238000012937 correction Methods 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 239000004065 semiconductor Substances 0.000 description 2
- 230000008859 change Effects 0.000 description 1
- 230000000295 complement effect Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 229910044991 metal oxide Inorganic materials 0.000 description 1
- 150000004706 metal oxides Chemical class 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 230000006641 stabilisation Effects 0.000 description 1
- 238000011105 stabilization Methods 0.000 description 1
Images
Landscapes
- Manipulation Of Pulses (AREA)
- Oscillators With Electromechanical Resonators (AREA)
- Inductance-Capacitance Distribution Constants And Capacitance-Resistance Oscillators (AREA)
Abstract
【課題】第2の発振回路の起動を待つことなく第1の発振回路の出力により高精度なクロック信号を得る。
【解決手段】クロックシステム1は、CR発振回路11、水晶発振回路12、及びトリミング回路15を含む。CR発振回路11は、内部回路17に供給されるクロックCLK1を生成する。水晶発振回路12は、CR発振回路11の発振周波数の調整に使用される。トリミング回路15は、CR発振回路11と水晶発振回路12の間の発振周波数差の検出結果に基づいて、CR発振回路11の発振周波数を調整する。
【選択図】図1A highly accurate clock signal is obtained from the output of a first oscillation circuit without waiting for the start of a second oscillation circuit.
A clock system includes a CR oscillation circuit, a crystal oscillation circuit, and a trimming circuit. The CR oscillation circuit 11 generates a clock CLK1 supplied to the internal circuit 17. The crystal oscillation circuit 12 is used for adjusting the oscillation frequency of the CR oscillation circuit 11. The trimming circuit 15 adjusts the oscillation frequency of the CR oscillation circuit 11 based on the detection result of the oscillation frequency difference between the CR oscillation circuit 11 and the crystal oscillation circuit 12.
[Selection] Figure 1
Description
本発明は、発振回路を含むクロックシステムに関する。 The present invention relates to a clock system including an oscillation circuit.
リモコン装置、AV関連製品などの機器に搭載される制御回路、信号処理プロセッサ等の内部回路は、一般的に、消費電力低減のために間欠的に動作する。内部回路の動作を停止する場合、内部回路に対してクロック信号を供給する発振回路の動作を停止することも行われている。 In general, internal circuits such as a control circuit and a signal processor installed in devices such as a remote control device and AV-related products operate intermittently to reduce power consumption. When the operation of the internal circuit is stopped, the operation of the oscillation circuit that supplies a clock signal to the internal circuit is also stopped.
しかしながら、発振回路の起動が開始されてから所望の品質を満たすクロック信号が出力されるまでには有限の時間を要する。水晶振動子を用いた発振回路(水晶発振回路)のみを使用すると、最終的には高精度なクロック信号が得られるが、出力安定化までに時間がかかる。一方、水晶発振回路に代えてCR発振回路を使用する場合、出力安定化までの立ち上がりは水晶発振回路に比べて早いものの、水晶発振回路に比べて発振精度(ジッタ、ワンダ特性)が低いという欠点がある。 However, it takes a finite time until the clock signal satisfying the desired quality is output after the start of the oscillation circuit. If only an oscillation circuit (crystal oscillation circuit) using a crystal resonator is used, a highly accurate clock signal can be finally obtained, but it takes time to stabilize the output. On the other hand, when a CR oscillation circuit is used instead of the crystal oscillation circuit, the rise to output stabilization is faster than that of the crystal oscillation circuit, but the oscillation accuracy (jitter and wander characteristics) is lower than that of the crystal oscillation circuit. There is.
そこで、特許文献1は、水晶発振回路とCR発振回路を兼用する技術を開示している。具体的には、特許文献1に記載のクロックシステムは、水晶発振回路とCR発振回路を含む。特許文献1に記載のクロックシステムは、電源をオンした直後の立ち上がり時には、立ち上がりの早いCR発振回路によって生成されるクロック信号を選択して内部回路に出力する。そして、特許文献1に記載のクロックシステムは、水晶発振回路の出力が安定した後に、発振精度が良好な水晶発振回路によって生成されるクロック信号を選択して内部回路に出力するとともに、CR発振回路の発振を停止する。つまり、特許文献1に記載のクロックシステムは、電源をオンした直後の立ち上がり時にCR発振回路を使用してクロック出力を行い、その後、CR発振回路から水晶発振回路に切り替えてクロック出力を行う。
Therefore,
上述したように、CR発振回路の発振周波数精度は水晶発振回路に比べて低い。よって、CR発振回路の周波数精度では十分でなくより高精度なクロック信号が求められる場合には、特許文献1の技術は適用できない。つまり、電源をオンした直後のCR発振回路の出力信号では品質が十分でない場合、結局のところ、水晶発振回路の出力安定化を待たなければ内部回路(制御回路など)は所望の動作を開始できないという問題がある。
As described above, the oscillation frequency accuracy of the CR oscillation circuit is lower than that of the crystal oscillation circuit. Therefore, when the frequency accuracy of the CR oscillation circuit is not sufficient and a clock signal with higher accuracy is required, the technique of
水晶発振回路の出力が安定するまでの起動時間は4ms程度である。一方、間欠的に動作する内部回路の動作時間は、水晶発振回路の起動時間に比べて短い場合がある。例えば自動車のワイヤレスキーシステムにおいて鍵データの送信に要する時間は典型的には高々1ms程度である。しかしながら、水晶発振回路の起動を待たなければ鍵データの送信を開始できない。この水晶発振回路の起動待ち時間を短くできれば、システムの動作時間を短縮でき、省電力化を図ることができる。 The start-up time until the output of the crystal oscillation circuit is stabilized is about 4 ms. On the other hand, the operation time of the internal circuit that operates intermittently may be shorter than the startup time of the crystal oscillation circuit. For example, in a wireless key system of an automobile, the time required for transmitting key data is typically about 1 ms at most. However, transmission of key data cannot be started without waiting for activation of the crystal oscillation circuit. If the start-up waiting time of the crystal oscillation circuit can be shortened, the operation time of the system can be shortened and power saving can be achieved.
なお、上記の問題が生ずるケースは、CR発振回路及び水晶発振回路を併用するクロックシステムに限られない。すなわち、起動時間が相対的に短いが発振精度が相対的に低い第1の発振回路と、起動時間が相対的に長いが発振精度が相対的に高い第2の発振回路を併用するクロックシステムにおいて広く問題となり得る。例えば、LC発振回路及び水晶発振回路を併用するクロックシステムでも問題となり得る。また、CR発振回路又はLC発振回路と、セラミック振動子等の他の固体振動子を用いた発振回路とを併用するクロックシステムでも問題となり得る。 The case where the above problem occurs is not limited to a clock system using a CR oscillation circuit and a crystal oscillation circuit in combination. That is, in a clock system that uses a first oscillation circuit with a relatively short start-up time but relatively low oscillation accuracy and a second oscillation circuit with a relatively long start-up time but relatively high oscillation accuracy Can be a broad problem. For example, a clock system that uses both an LC oscillation circuit and a crystal oscillation circuit may cause a problem. A clock system that uses a CR oscillation circuit or an LC oscillation circuit in combination with an oscillation circuit using another solid-state vibrator such as a ceramic vibrator may also cause a problem.
本発明の一態様に係るクロックシステムは、第1及び第2の発振回路、並びにトリミング回路を含む。前記第1の発振回路は、内部回路に供給されるクロック信号を生成する。前記第2の発振回路は、前記第1の発振回路の発振周波数の調整に使用される。前記トリミング回路は、前記第1の発振回路と前記第2の発振回路の間の発振周波数差の検出結果に基づいて、前記第1の発振回路の発振周波数を調整する。 A clock system according to one embodiment of the present invention includes first and second oscillation circuits and a trimming circuit. The first oscillation circuit generates a clock signal supplied to an internal circuit. The second oscillation circuit is used to adjust the oscillation frequency of the first oscillation circuit. The trimming circuit adjusts an oscillation frequency of the first oscillation circuit based on a detection result of an oscillation frequency difference between the first oscillation circuit and the second oscillation circuit.
上述した本発明の一態様に係るクロックシステムは、例えば、前記第2の発振回路の過去の起動時に取得された前記検出結果又は前記検出結果に対応する前記第1の発振回路の制御値を参照することによって、前記第1の発振回路の起動時における前記第1の発振周波数の調整を行うとよい。記憶しておいた過去の検出結果又は制御値を用いることによって、前記第1の発振回路の発振周波数精度が前記第2の発振回路の発振周波数精度に比べて低い場合であっても、前記第2の発振回路の起動を待つことなく、前記第1の発振回路が生成する前記第1のクロック信号を速やかに所望の精度に近づけることができる。つまり、前記第2の発振回路の起動を待つことなく前記第1の発振回路を用いて高精度なクロック信号を得られるため、内部回路による所望の動作(例えば、ワイヤレスキーシステムにおける鍵データの送信など)を速やかに開始できる。 The clock system according to one aspect of the present invention described above refers to, for example, the detection result acquired at the past activation of the second oscillation circuit or the control value of the first oscillation circuit corresponding to the detection result. Thus, the first oscillation frequency may be adjusted when the first oscillation circuit is activated. Even if the oscillation frequency accuracy of the first oscillation circuit is lower than the oscillation frequency accuracy of the second oscillation circuit by using the stored past detection result or control value, the first oscillation circuit Without waiting for the start of the second oscillation circuit, the first clock signal generated by the first oscillation circuit can be quickly brought close to the desired accuracy. That is, since a highly accurate clock signal can be obtained using the first oscillation circuit without waiting for the start of the second oscillation circuit, a desired operation by the internal circuit (for example, transmission of key data in a wireless key system) Etc.) can be started immediately.
上述の本発明の一態様によれば、前記第2の発振回路の起動を待つことなく前記第1の発振回路の出力により高精度なクロック信号を得ることができる。 According to the above-described aspect of the present invention, a highly accurate clock signal can be obtained from the output of the first oscillation circuit without waiting for the activation of the second oscillation circuit.
以下では、本発明を適用した具体的な実施の形態について、図面を参照しながら詳細に説明する。各図面において、同一要素には同一の符号が付されており、説明の明確化のため、必要に応じて重複説明は省略される。 Hereinafter, specific embodiments to which the present invention is applied will be described in detail with reference to the drawings. In the drawings, the same elements are denoted by the same reference numerals, and redundant description is omitted as necessary for the sake of clarity.
<発明の実施の形態1>
図1は、本実施の形態にかかるクロックシステム1の構成例を示すブロック図である。
クロックシステム1は、2つの発振回路、すなわち、CR発振回路11及び水晶発振回路12を含む。CR発振回路11は、内部回路17に供給される動作クロックCLK1を生成する。一方、水晶発振回路12の生成クロックCLK2は、内部回路17の動作クロックとしては使用されず、クロックCLK1の校正(発振周波数の補正)のためのリファレンス信号として利用される。以下では、図1に示した各要素について順に説明する。
<
FIG. 1 is a block diagram illustrating a configuration example of a
The
CR発振回路11は、容量(C)及び抵抗(R)を含むCR回路をアンプの帰還ループに配置した構成によってクロックCLK1を発振する。CR発振回路11は、容量値及び抵抗値のうち少なくとも一方を変更することによって発振周波数を変更できる。水晶発振回路12は、水晶の固有振動によってクロックCLK2を発振する。CR発振回路11は、出力が安定化するまでに要する起動時間は水晶発振回路12に比べて短いが、発振周波数精度は水晶発振回路12に比べて低い。
The
周波数差検出回路13は、2つのクロック信号CLK1及びCLK2の周波数差を検出する。周波数差検出回路13は、例えば2つのカウンタを含んでもよい。これら2つのカウンタによってCLK1及びCLK2のパルス数を計数してカウンタ値を比較することによって、周波数差を検出できる。
The frequency
記憶回路14は、検出回路13による検出結果を保持する。記憶回路14としては、例えば、レジスタ、RAM(Read Only Memory)等の半導体記憶素子を使用すればよい。記憶回路14は、周波数差の検出結果、例えばカウンタ値又はその差を記憶してもよいし、周波数差の検出結果に応じて定まるCR発振回路11に対する制御値を保持してもよい。CR発振回路11に対する制御値は、CR発振回路11が有する可変容量又は可変抵抗に対する制御値である。
The
トリミング回路15は、記憶回路14に保持されたCLK1及びCLK2間の周波数差の検出結果又はこれに対応する制御値を読出し、CLK1の発振周波数をCLK2に近づけるようにCR発振回路11を制御する。
The
発振制御部16は、タイマによる動作開始時間の到来及びユーザのボタン操作等に応じて生成される外部割込み信号に応じて、CR発振回路11及び水晶発振回路12を間欠的に起動する。本実施の形態では、発振制御部16は、「通常モード(第1の動作モード)」又は「校正モード(第2の動作モード)」のどちらかでCR発振回路11及び水晶発振回路12の起動制御を行う。
The
校正モードでは、CR発振回路11及び水晶発振回路12を共に起動し、CLK1及びCLK2の周波数差を検出し、新たな検出結果を記憶回路14に保持する。これに対して、通常モードは、CR発振回路11を起動し水晶発振回路12を起動させない動作モードである。通常モードでは、過去に校正モードが実行された時に記憶回路14に保持されたCLK1及びCLK2の周波数差又はこれに対応する制御値を用いて、トリミング回路15がCR発振回路11の周波数補正を行う。
In the calibration mode, both the
なお、発振制御部16は、例えば、通常モードでの起動回数が所定回数に到達した場合、前回の校正モード実行時点から所定時間以上経過した場合に、校正モードを実行すればよい。水晶発振回路12の起動を伴う校正モードの実行回数を減らすことで、クロックシステム1の消費電力を低減きる。
For example, the
内部回路17は、CR発振回路11によって生成されるクロック信号CLK1を動作クロックとして動作する。内部回路17は、例えば、MPU(Micro Processing Unit)、MCU(Micro Controller Unit)、若しくはDSP(Digital Signal Processing Unit)、又はこれらの組み合わせである。
The
内部回路17がMPU、MCU等である場合、図1に示すように、発振制御部16は内部回路17に配置されてもよい。図2は、内部回路17がMCUである場合のCR発振回路11、周波数差検出回路13、記憶回路14、トリミング回路15、発振制御部16のより具体的な構成例を示すブロック図である。図2の例では、MCU17が有するカウンタ170が周波数差検出回路13に相当する。また、レジスタ171又は172が記憶回路14に相当する。また、発振制御部16は、MCU17及び発振制御に関する命令群を含むプログラムによって実現される。具体的には、発振制御に関するプログラムをROM172等に格納しておき、このプログラムをMCU17が実行することによって、通常モード又は校正モードによるCR発振回路11及び水晶発振回路12の動作を制御すればよい。
When the
図2のCR発振回路11は、CMOS(Complementary Metal Oxide Semiconductor)インバータ110及び可変抵抗R1及び可変容量C1を含み、CMOSインバータ110のヒステリシス特性を利用して発振する。図2のトリミング回路15は、選択回路150を含む。選択回路150は、レジスタ171又はRAM172に格納された周波数差の検出結果又はこれに対応する制御値によって動作し、可変抵抗R1の抵抗値及び可変容量C1の容量値を切り替える。
2 includes a CMOS (Complementary Metal Oxide Semiconductor)
続いて以下では、通常モード動作手順及び校正モード動作手順の具体例について図3〜5のフローチャートを用いて説明する。図3は、クロックシステム1の通常モード動作手順の一例を示すフローチャートである。ステップS101では、発振制御部16は、外部割込みに応じてCR発振回路11の起動を開始する。ステップS102では、トリミング回路15は、記憶回路14に保持されたトリミングデータを用いてCR発振回路11の発振周波数をセットする。ここで、トリミングデータとは、CLK1及びCLK2の周波数差の検出結果又はこれに対応する制御を意味する。ステップS103では、トリミングデータによる校正が完了したクロックCLK1を内部回路17に供給する。ステップS104では、内部回路17はクロックCLK1を動作クロックとして動作し、所定の処理(例えば鍵データの送信)を完了する。ステップS105では、発振制御部16は、CR発振回路11の動作を停止させてスタンバイ状態に移行する。
Subsequently, specific examples of the normal mode operation procedure and the calibration mode operation procedure will be described below with reference to the flowcharts of FIGS. FIG. 3 is a flowchart showing an example of the normal mode operation procedure of the
図4は、クロックシステム1の校正モード動作手順の一例を示すフローチャートである。図4において、ステップS201では、発振制御部16は、外部割込みに応じてCR発振回路11及び水晶発振回路12の起動を開始する。ステップS202〜S204は、図3に示したステップS102〜S104と同様である。ステップS205では、周波数差検出回路13は、水晶発振回路12の発振開始後(発振周波数の安定化後)にCLK1及びCLK2間の周波数差を検出する。ステップS206では、周波数差検出回路13は、新たに得た周波数差の検出結果又はこれに対応する制御値を記憶回路14に格納することで、トリミングデータを更新する。ステップS207では、発振制御部16は、CR発振回路11及び水晶発振回路12の動作を停止させてスタンバイ状態に移行する。
FIG. 4 is a flowchart showing an example of the calibration mode operation procedure of the
図5は、クロックシステム1の校正モード動作手順の他の例を示すフローチャートである。図5の手順は、クロックシステム1の電源投入後の一回目の起動、つまり記憶回路14に周波数差検出回路13による検出結果又はこれに対応する制御値が格納されていない場合に実行するとよい。ステップS301では、発振制御部16は、外部割込みに応じてCR発振回路11及び水晶発振回路12の起動を開始する。ステップS302及びS303は、図4のステップS205及びS206に相当する。すなわち、ステップS302では、周波数差検出回路13は、水晶発振回路12の発振開始後(発振周波数の安定化後)にCLK1及びCLK2間の周波数差を検出する。ステップS303では、周波数差検出回路13は、得られたトリミングデータ(周波数差の検出結果又はこれに対応する制御値)を記憶回路14に格納する。ステップS304〜S306は、図4のステップS202〜S204と同様であり、CR発振回路11の校正、及びクロックCLK1を動作クロックとする内部回路17の動作が行われる。ステップS307では、発振制御部16は、CR発振回路11及び水晶発振回路12の動作を停止させてスタンバイ状態に移行する。なお、水晶発振回路12の発振は、ステップS302における周波数差の検出後に速やかに停止させてもよい。
FIG. 5 is a flowchart showing another example of the calibration mode operation procedure of the
次に、図6及び7のタイミング波形を参照して、通常モード及び校正モードの動作を説明する。図6は、図3に示した通常モード動作に関するタイミング波形を示している。図6(a)のスタート信号(外部割込み)が発振制御部16に与えられると、CR発振回路11に対するスタンバイ信号(図6(b))が解除され、CR発振が開始する(図6(c))。なお、図3の通常モード動作では、水晶発振回路12は起動しない(図6(d))。CR発振回路11から供給される動作クロックCLK1を用いて内部回路17が所定の処理(鍵データの送信等)を行う(図6(e))。
Next, operations in the normal mode and the calibration mode will be described with reference to the timing waveforms in FIGS. FIG. 6 shows timing waveforms related to the normal mode operation shown in FIG. When the start signal (external interrupt) of FIG. 6A is given to the
図7は、図4に示した校正モード動作に関するタイミング波形を示している。図7(a)のスタート信号(外部割込み)が発振制御部16に与えられると、CR発振回路11及び水晶発振回路12に対するスタンバイ信号(図7(b))が解除され、CR発振がいち早く開始する(図7(c))。CR発振回路11から供給される動作クロックCLK1を用いて内部回路17が所定の処理(鍵データの送信等)を行う(図7(e))。水晶発振回路12は、CR発振回路11より遅れて発振を開始し(図7(d))、CLK1及びCLK2間の周波数差の比較、トリミングデータの更新が行われる(図7(e))。
FIG. 7 shows timing waveforms related to the calibration mode operation shown in FIG. When the start signal (external interrupt) of FIG. 7A is given to the
上述したように、クロックシステム1は、過去の水晶発振回路12の起動時に記憶しておいたトリミングデータ(CLK1及びCLK2間の周波数差の検出結果又は制御値)を用いることによって、水晶発振回路12の起動を待つことなく、CR発振回路11が生成するクロックCLK1を速やかに所望の精度に近づけることができる。つまり、水晶発振回路12の起動を待つことなくCR発振回路11を用いて高精度なクロックCLK1を得られるため、内部回路17による所望の動作(例えば、ワイヤレスキーシステムにおける鍵データの送信など)を速やかに開始できる。
As described above, the
<発明の実施の形態2>
発明の実施の形態1では、CR発振回路11が有する可変容量及び可変抵抗のうち少なくとも一方を調整することでCRは発振周波数を制御する例を示した。しかしながら、CR発振回路11の電源電圧もCR発振周波数に影響を与える。本実施の形態では、CR発振回路11に電源電圧を供給するレギュレータの出力電圧を、トリミングデータ(CLK1及びCLK2間の周波数差の検出結果又は制御値)に応じて調整する例を説明する。
<
In the first embodiment of the invention, an example in which the CR controls the oscillation frequency by adjusting at least one of the variable capacitance and the variable resistance of the
さらに、CR発振回路11が有する可変抵抗の抵抗値は温度に依存して変化する。言い換えると、CR発振回路11の発振周波数も周囲温度に応じて変化する。したがって、トリミングデータ取得時の周囲温度と現在の周囲温度が異なる場合、記憶回路14に保持されたトリミングデータは適切な値でない場合が考えられる。よって、本実施の形態では、周囲温度に応じてトリミングデータを補正する例についても説明する。なお、レギュレータの出力電圧によるCR発振周波数の制御と、周囲温度に基づくトリミングデータの補正は必ずしも併せて行う必要はなく、いずれか一方のみを実施してもよい。
Furthermore, the resistance value of the variable resistor included in the
図8は、図2に対応して、本実施の形態にかかるクロックシステムの主要部分の構成例を示すブロック図である。本実施の形態にかかるクロックシステムの全体構成は、クロックシステム1(例えば図1)と同様とすればよい。 FIG. 8 is a block diagram showing a configuration example of a main part of the clock system according to the present embodiment, corresponding to FIG. The overall configuration of the clock system according to the present embodiment may be the same as that of the clock system 1 (for example, FIG. 1).
図8の例では、発振制御部16は、MCU17及び発振制御に関する命令群を含むプログラムによって実現される。具体的には、発振制御に関するプログラムをROM172等に格納しておき、このプログラムをMCU17が実行することによって、通常モード又は校正モードによるCR発振回路11及び水晶発振回路12の動作を制御すればよい。
In the example of FIG. 8, the
レギュレータ152は、CR発振回路11に電源電圧を供給する。レギュレータ152の出力電圧は、記憶回路14としてのレジスタ171又はRAM172に格納されたトリミングデータに応じて変更される。
The regulator 152 supplies a power supply voltage to the
温度検出回路151は、周囲温度を計測する。計測された周囲温度は、発振制御部16として機能するMCU17に送られる。発振制御部16として機能するMCU17は、可変抵抗R1の抵抗値の温度依存特性を参照し、過去のトリミングデータ取得時の周囲温度と現在の周囲温度との違いに基づいて、トリミングデータを補正する。可変抵抗R1の抵抗値の温度依存特性は、MCUがアクセス可能なメモリ(例えばROM172)に予め格納しておけばよい。
The
<その他の実施の形態>
また、上述した発明の実施の形態1及び2では、CLK1及びCLK2の周波数差に基づいて、CR発振回路11の発振周波数を水晶発振回路12の発振周波数に近づける例を説明した。言い換えると、CLK1及びCLK2の周波数差がゼロに近づくように、CR発振回路11の発振周波数を校正する例を示した。しかしながら、CLK1及びCLK2の周波数差が予め定められた有限値に近づくように、CR発振回路11の発振周波数を校正してもよい。つまり、CR発振回路11と水晶発振回路12の基準発振周波数は同一でなくてもよい。
<Other embodiments>
In the first and second embodiments described above, the example in which the oscillation frequency of the
また、上述した発明の実施の形態1及び2では、CR発振回路11及び水晶発振回路12を含むクロックシステムに関して説明した。しかしながら、上述した発明の実施の形態1及び2で説明した思想を、他方式の発振回路を使用する場合に適用してもよい。すなわち、発明の実施の形態1及び2で説明した思想は、起動時間が相対的に短いが発振精度が相対的に低い第1の発振回路と、起動時間が相対的に長いが発振精度が相対的に高い第2の発振回路を併用するクロックシステムに広く適用できる。発明の実施の形態1及び2で説明した思想は、例えば、LC発振回路及び水晶発振回路を併用するクロックシステムに適用してもよいし、CR発振回路又はLC発振回路と、セラミック振動子等の他の固体振動子を用いた発振回路とを併用するクロックシステムに適用してもよい。
In the first and second embodiments described above, the clock system including the
さらに、本発明は上述した実施の形態のみに限定されるものではなく、既に述べた本発明の要旨を逸脱しない範囲において種々の変更が可能であることは勿論である。 Furthermore, the present invention is not limited to the above-described embodiments, and various modifications can be made without departing from the gist of the present invention described above.
1 クロックシステム
11 CR発振回路
12 水晶発振回路
13 周波数差検出回路
14 記憶回路
15 トリミング回路
16 発振制御部
17 内部回路
110 CMOSインバータ
150 選択回路
151 温度検出回路
152 レギュレータ
170 カウンタ
171 レジスタ
172 RAM(Random Access Memory)
173 ROM(Read Only Memory)
R1 抵抗
C1 容量
DESCRIPTION OF
173 ROM (Read Only Memory)
R1 resistance C1 capacity
Claims (10)
前記第1の発振回路の発振周波数の調整に使用される第2の発振回路と、
前記第1の発振回路と前記第2の発振回路の間の発振周波数差の検出結果に基づいて、前記第1の発振周波数を調整するトリミング回路と、
を備えるクロックシステム。 A first oscillation circuit for generating a first clock signal supplied to the internal circuit;
A second oscillation circuit used to adjust the oscillation frequency of the first oscillation circuit;
A trimming circuit that adjusts the first oscillation frequency based on a detection result of an oscillation frequency difference between the first oscillation circuit and the second oscillation circuit;
A clock system comprising:
前記トリミング回路は、前記第2の発振回路の過去の起動時に取得された前記検出結果又は前記検出結果に対応する前記第1の発振回路の制御値を参照することによって、前記第1の発振回路の起動時における前記第1の発振周波数の調整を行う、請求項1又は2に記載のクロックシステム。 Both the first and second oscillation circuits are intermittently activated,
The trimming circuit refers to the detection result obtained when the second oscillation circuit was activated in the past or a control value of the first oscillation circuit corresponding to the detection result, thereby the first oscillation circuit. 3. The clock system according to claim 1, wherein the first oscillation frequency is adjusted at the time of starting up.
前記トリミング回路は、前記第2の発振回路の過去の起動時に前記記憶回路に保持された前記検出結果又は前記制御値を参照することによって、前記第1の発振回路の起動時における前記第1の発振周波数の調整を行う、請求項3に記載のクロックシステム。 A storage circuit capable of storing at least one of the detection result and the control value;
The trimming circuit refers to the detection result or the control value held in the storage circuit when the second oscillation circuit is activated in the past, so that the first oscillation circuit is activated when the first oscillation circuit is activated. The clock system according to claim 3, wherein the oscillation frequency is adjusted.
前記通常モードでは、少なくとも前記第1の発振回路が起動され、前記第2の発振回路の過去の起動時に前記記憶回路に保持された前記検出結果又は前記制御値を参照することによって、前記第1の発振回路の起動時における前記第1の発振周波数の調整が行われ、
前記校正モードでは、前記第1及び第2の発振回路が共に起動され、前記第1及び第2の発振回路の起動後に前記発振周波数差の検出を行って得られる新たな検出結果又はこれに対応する制御値が、次回の前記通常モードによる動作のために前記記憶回路に格納される、請求項4に記載のクロックシステム。 The clock system is operable in normal mode and calibration mode;
In the normal mode, at least the first oscillation circuit is activated, and by referring to the detection result or the control value held in the storage circuit when the second oscillation circuit has been activated in the past, the first oscillation circuit is referred to. The first oscillation frequency is adjusted at the time of starting the oscillation circuit of
In the calibration mode, both the first and second oscillation circuits are activated, and a new detection result obtained by detecting the oscillation frequency difference after activation of the first and second oscillation circuits or corresponding to this The clock system according to claim 4, wherein the control value to be stored is stored in the storage circuit for the next operation in the normal mode.
前記トリミング回路は、前記記憶回路に保持された前記検出結果又は前記制御値によって定まる前記第1の発振回路に対する制御量を、前記周囲温度に応じて補正する、請求項4〜5のいずれか1項に記載のクロックシステム。 Further equipped with a temperature detection circuit for detecting the ambient temperature,
The trimming circuit corrects a control amount for the first oscillation circuit determined by the detection result or the control value held in the storage circuit according to the ambient temperature. The clock system described in the section.
前記動作電圧は、前記発振周波数差の検出結果に基づいて、前記第1の発振周波数が前記第2の発振周波数に近づくように調整される、請求項1〜6のいずれか1項に記載のクロックシステム。 An operating voltage can be supplied to at least the first oscillation circuit, and further includes a variable regulator capable of changing the operating voltage,
7. The operating voltage according to claim 1, wherein the operating voltage is adjusted based on a detection result of the oscillation frequency difference so that the first oscillation frequency approaches the second oscillation frequency. Clock system.
前記第2の発振回路は、水晶発振回路、又はセラミック発振回路である、請求項1〜9のいずれか1項に記載のクロックシステム。 The first oscillation circuit is a CR oscillation circuit or an LC oscillation circuit,
The clock system according to claim 1, wherein the second oscillation circuit is a crystal oscillation circuit or a ceramic oscillation circuit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010062569A JP2011199481A (en) | 2010-03-18 | 2010-03-18 | Clock system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010062569A JP2011199481A (en) | 2010-03-18 | 2010-03-18 | Clock system |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2011199481A true JP2011199481A (en) | 2011-10-06 |
Family
ID=44877155
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2010062569A Pending JP2011199481A (en) | 2010-03-18 | 2010-03-18 | Clock system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2011199481A (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8742795B2 (en) | 2012-03-19 | 2014-06-03 | Seiko Epson Corporation | Frequency difference calculation circuit, a satellite signal receiving apparatus and frequency difference calculation method |
JP2014219489A (en) * | 2013-05-07 | 2014-11-20 | 株式会社ルネサスエスピードライバ | Display driver IC |
JP2015534332A (en) * | 2012-09-07 | 2015-11-26 | ユニバーシティ オブ ヴァージニア パテント ファウンデーション | Low power clock source |
JP2015213994A (en) * | 2014-05-12 | 2015-12-03 | 国立大学法人東北大学 | Digital circuit utilizing nano-mechanical switch |
JP2016530799A (en) * | 2013-07-30 | 2016-09-29 | 浙江大学 | Process-resistant self-calibrating on-chip oscillator |
JP2020190828A (en) * | 2019-05-20 | 2020-11-26 | ローム株式会社 | Frequency abnormality protection circuit |
JP2021144570A (en) * | 2020-03-13 | 2021-09-24 | 株式会社東芝 | Clock generator |
WO2024014243A1 (en) * | 2022-07-11 | 2024-01-18 | 住友電装株式会社 | Vehicle-mounted device, program, and information processing method |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5866422A (en) * | 1981-10-16 | 1983-04-20 | Toshiba Corp | Phase locked loop circuit |
JPS58178282A (en) * | 1982-04-13 | 1983-10-19 | Citizen Watch Co Ltd | Electronic time piece |
JPH01260518A (en) * | 1988-04-12 | 1989-10-17 | Nec Corp | Microcomputer |
JPH0969773A (en) * | 1995-08-30 | 1997-03-11 | Ando Electric Co Ltd | Clock extraction circuit |
JPH10229326A (en) * | 1997-02-17 | 1998-08-25 | Sanyo Electric Co Ltd | Frequency adjustment device for oscillation circuit |
JPH1125831A (en) * | 1997-07-02 | 1999-01-29 | Omron Corp | Timer with temperature-compasating function and temperature regulator |
JPH11338572A (en) * | 1998-05-22 | 1999-12-10 | Mitsubishi Electric Corp | Clock generator |
JP2005348034A (en) * | 2004-06-02 | 2005-12-15 | Nec Corp | Voltage-controlled oscillator |
JP2006019987A (en) * | 2004-06-30 | 2006-01-19 | Kyocera Kinseki Corp | Crystal oscillator |
JP2006303837A (en) * | 2005-04-20 | 2006-11-02 | Nec Saitama Ltd | Radio base station devices and method for controlling frequency used for them |
-
2010
- 2010-03-18 JP JP2010062569A patent/JP2011199481A/en active Pending
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5866422A (en) * | 1981-10-16 | 1983-04-20 | Toshiba Corp | Phase locked loop circuit |
JPS58178282A (en) * | 1982-04-13 | 1983-10-19 | Citizen Watch Co Ltd | Electronic time piece |
JPH01260518A (en) * | 1988-04-12 | 1989-10-17 | Nec Corp | Microcomputer |
JPH0969773A (en) * | 1995-08-30 | 1997-03-11 | Ando Electric Co Ltd | Clock extraction circuit |
JPH10229326A (en) * | 1997-02-17 | 1998-08-25 | Sanyo Electric Co Ltd | Frequency adjustment device for oscillation circuit |
JPH1125831A (en) * | 1997-07-02 | 1999-01-29 | Omron Corp | Timer with temperature-compasating function and temperature regulator |
JPH11338572A (en) * | 1998-05-22 | 1999-12-10 | Mitsubishi Electric Corp | Clock generator |
JP2005348034A (en) * | 2004-06-02 | 2005-12-15 | Nec Corp | Voltage-controlled oscillator |
JP2006019987A (en) * | 2004-06-30 | 2006-01-19 | Kyocera Kinseki Corp | Crystal oscillator |
JP2006303837A (en) * | 2005-04-20 | 2006-11-02 | Nec Saitama Ltd | Radio base station devices and method for controlling frequency used for them |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8742795B2 (en) | 2012-03-19 | 2014-06-03 | Seiko Epson Corporation | Frequency difference calculation circuit, a satellite signal receiving apparatus and frequency difference calculation method |
JP2015534332A (en) * | 2012-09-07 | 2015-11-26 | ユニバーシティ オブ ヴァージニア パテント ファウンデーション | Low power clock source |
JP2014219489A (en) * | 2013-05-07 | 2014-11-20 | 株式会社ルネサスエスピードライバ | Display driver IC |
JP2016530799A (en) * | 2013-07-30 | 2016-09-29 | 浙江大学 | Process-resistant self-calibrating on-chip oscillator |
JP2015213994A (en) * | 2014-05-12 | 2015-12-03 | 国立大学法人東北大学 | Digital circuit utilizing nano-mechanical switch |
JP2020190828A (en) * | 2019-05-20 | 2020-11-26 | ローム株式会社 | Frequency abnormality protection circuit |
JP2021144570A (en) * | 2020-03-13 | 2021-09-24 | 株式会社東芝 | Clock generator |
JP7196123B2 (en) | 2020-03-13 | 2022-12-26 | 株式会社東芝 | clock generator |
WO2024014243A1 (en) * | 2022-07-11 | 2024-01-18 | 住友電装株式会社 | Vehicle-mounted device, program, and information processing method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2011199481A (en) | Clock system | |
US8188782B1 (en) | Clock system and method for compensating timing information of clock system | |
JP2005012813A (en) | Small power crystal oscillator | |
JP5787068B2 (en) | Temperature compensated oscillation circuit, electronic equipment | |
US20170077931A1 (en) | Oscillator with dynamic gain control | |
TWI661678B (en) | Improved low-power oscillator | |
JP2007208584A (en) | Frequency adjusting circuit | |
US20130335153A1 (en) | Oscillator and ic chip | |
JP2007241995A (en) | Semiconductor integrated circuit device | |
JP5045167B2 (en) | Oscillation circuit and semiconductor device | |
JP2009130587A (en) | Oscillation circuit and oscillator | |
JP2004288087A (en) | Information processor | |
TWI638517B (en) | Mitigation of long wake-up delay of a crystal oscillator | |
JP2004258045A (en) | Clock signal supply device and control method therefor | |
JP2003258551A (en) | Temperature compensation circuit of oscillation circuit and temperature compensation method thereof | |
US8885444B2 (en) | Analog electronic watch | |
JP5291564B2 (en) | Oscillator | |
JP2002228778A (en) | Real-time clock and timing circuit | |
JP6585977B2 (en) | Semiconductor device and oscillation circuit control method | |
CN104168015B (en) | Oscillating device and method for generating clock signal | |
KR101128613B1 (en) | Quick Start Crystal oscillator and calibration method thereof | |
JP4036114B2 (en) | Clock generation circuit | |
JP2001044759A (en) | Reference clock frequency temperature control circuit | |
JP2011035487A (en) | Oscillator device | |
JP2009232018A (en) | Piezoelectric oscillator, and real time clock |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20120816 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20130624 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20130702 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20140107 |