JP2015035706A - Method for controlling oscillation circuit, oscillating circuit, oscillator, electronic apparatus, and mobile body - Google Patents

Method for controlling oscillation circuit, oscillating circuit, oscillator, electronic apparatus, and mobile body Download PDF

Info

Publication number
JP2015035706A
JP2015035706A JP2013165387A JP2013165387A JP2015035706A JP 2015035706 A JP2015035706 A JP 2015035706A JP 2013165387 A JP2013165387 A JP 2013165387A JP 2013165387 A JP2013165387 A JP 2013165387A JP 2015035706 A JP2015035706 A JP 2015035706A
Authority
JP
Japan
Prior art keywords
power supply
unit
oscillation circuit
state
oscillation
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.)
Granted
Application number
JP2013165387A
Other languages
Japanese (ja)
Other versions
JP6237992B2 (en
Inventor
米山 剛
Takeshi Yoneyama
剛 米山
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2013165387A priority Critical patent/JP6237992B2/en
Publication of JP2015035706A publication Critical patent/JP2015035706A/en
Application granted granted Critical
Publication of JP6237992B2 publication Critical patent/JP6237992B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide a method for controlling an oscillation circuit, an oscillating circuit, an oscillator, an electronic apparatus, and a mobile body which reduce the risk that a supply voltage switching operation will cause an oscillation frequency compensation section to malfunction.SOLUTION: An oscillation circuit 2 includes: a temperature compensation section; an oscillation section compensated by a signal from the temperature compensation section; a power supply section 30 for supplying power to the oscillation section; and a control section 20 for boosting the power supply section 30 upon power application, returning the power supply section 30 to normal after the power supply section 30 is boosted, and operating the temperature compensation section after the power supply section 30 is returned to normal.

Description

本発明は、発振回路の制御方法、発振用回路、発振器、電子機器及び移動体に関する。   The present invention relates to an oscillation circuit control method, an oscillation circuit, an oscillator, an electronic device, and a moving object.

特許文献1には、電源供給後に発振回路の動作が安定するまで温度特性補償回路への電源電圧の供給を遅らせることで電力消費を抑えることができる圧電体基準発振器が開示されている。   Patent Document 1 discloses a piezoelectric reference oscillator that can suppress power consumption by delaying supply of a power supply voltage to a temperature characteristic compensation circuit until operation of the oscillation circuit is stabilized after power supply.

特開平10−28016号公報Japanese Patent Laid-Open No. 10-28016

しかしながら、特許文献1には、発振回路の発振開始時間を早くするために、発振回路に供給する電圧又は電流を変えることについては明示されていない。このため、特許文献1に記載の圧電体基準発振器に、起動時に発振回路に供給する電圧又は電流を変えることで発振開始時間を早くする回路を付加した場合には、温度特性補償回路の動作開始後に、発振回路に供給する電圧又は電流の切り替え動作が行われると、切り替え時の電圧又は電流の変動により温度補償回路における周波数温度特性の調整処理において誤動作を起こすおそれがあった。この問題は、周波数温度特性の調整処理に限らず、何らかの環境変化に起因する発振周波数の変動を補正するための処理を行う補償部に共通するものである。   However, Patent Document 1 does not clearly indicate that the voltage or current supplied to the oscillation circuit is changed in order to increase the oscillation start time of the oscillation circuit. For this reason, when a circuit that accelerates the oscillation start time by changing the voltage or current supplied to the oscillation circuit at startup is added to the piezoelectric reference oscillator described in Patent Document 1, the operation of the temperature characteristic compensation circuit starts. When the switching operation of the voltage or current to be supplied to the oscillation circuit is performed later, there is a risk of malfunction in the adjustment process of the frequency temperature characteristic in the temperature compensation circuit due to the fluctuation of the voltage or current at the time of switching. This problem is not limited to frequency temperature characteristic adjustment processing, but is common to compensation units that perform processing for correcting oscillation frequency fluctuations caused by some environmental change.

本発明は、以上のような問題点に鑑みてなされたものであり、本発明のいくつかの態様によれば、電源電圧の切り替え動作によって発振周波数の補償部が誤動作を起こすおそれを低減することが可能な発振回路の制御方法、発振用回路、発振器、電子機器及び移動体を提供することができる。   The present invention has been made in view of the above problems, and according to some aspects of the present invention, it is possible to reduce the possibility that the oscillation frequency compensator will malfunction due to the switching operation of the power supply voltage. It is possible to provide an oscillation circuit control method, an oscillation circuit, an oscillator, an electronic device, and a moving body that can perform the above-described operation.

本発明は前述の課題の少なくとも一部を解決するためになされたものであり、以下の態様または適用例として実現することが可能である。   SUMMARY An advantage of some aspects of the invention is to solve at least a part of the problems described above, and the invention can be implemented as the following aspects or application examples.

[適用例1]
本適用例に係る発振用回路は、補償手段と、前記補償手段からの信号により補償される発振手段と、前記発振手段に電力を供給する第1の電力供給手段と、電源投入後に、前記第1の電力供給手段を第1の状態にし、前記第1の電力供給手段が前記第1の状態になった後に前記第1の電力供給手段を第2の状態にし、前記第1の電力供給手段が前記第2の状態になった後に前記補償手段を動作させる制御手段と、を備えている。
[Application Example 1]
The oscillation circuit according to this application example includes a compensation unit, an oscillation unit compensated by a signal from the compensation unit, a first power supply unit that supplies power to the oscillation unit, and the first circuit after the power is turned on. The first power supply means is set to the first state, and after the first power supply means is set to the first state, the first power supply means is set to the second state, and the first power supply means is set to the first state. Control means for operating the compensation means after the second state is reached.

本適用例に係る発振用回路によれば、補償手段の動作は、第1の電力供給手段の状態が切り替わるタイミングと重ならないので、電源変動に起因する補償手段の誤動作を低減させることができる。従って、発振用回路の発振周波数の精度が低下するおそれを低減させることができる。   According to the oscillation circuit according to this application example, since the operation of the compensation unit does not overlap with the timing at which the state of the first power supply unit is switched, it is possible to reduce malfunction of the compensation unit due to power supply fluctuation. Accordingly, it is possible to reduce a possibility that the accuracy of the oscillation frequency of the oscillation circuit is lowered.

[適用例2]
上記適用例に係る発振用回路は、前記第1の電力供給手段を前記第2の状態にするための設定情報が記憶されている記憶手段をさらに備え、前記制御手段は、前記記憶手段から
前記設定情報を読み出して前記第1の電力供給手段を前記第2の状態とするようにしてもよい。
[Application Example 2]
The oscillation circuit according to the application example further includes a storage unit that stores setting information for setting the first power supply unit to the second state, and the control unit includes the storage unit from the storage unit. The setting information may be read to place the first power supply unit in the second state.

本適用例に係る発振用回路によれば、例えば最適な設定情報を記憶手段に記憶させておくことで、第1の電力供給手段が第2の状態の時の発振用回路の発振周波数の精度を高めることができる。   According to the oscillation circuit according to this application example, for example, by storing optimal setting information in the storage unit, the accuracy of the oscillation frequency of the oscillation circuit when the first power supply unit is in the second state is stored. Can be increased.

[適用例3]
上記適用例に係る発振用回路において、前記補償手段の動作の後に、前記制御手段が前記記憶手段から前記設定情報を読み出して前記第1の電力供給手段を前記第2の状態にする動作と前記補償手段の動作とが時間的に重ならずに繰り返されるようにしてもよい。
[Application Example 3]
In the oscillation circuit according to the application example, after the operation of the compensation unit, the control unit reads the setting information from the storage unit and sets the first power supply unit to the second state; and The operation of the compensation means may be repeated without overlapping in time.

本適用例に係る発振用回路によれば、補償手段の動作と第1の電力供給手段を第2の状態にする動作が時間的に重ならないため、第1の電力供給手段を第2の状態にする動作で発生する電源電圧変動が補償手段の動作に影響しにくいため、電源変動に起因した補償手段の誤動作を低減させることができる。従って、発振用回路の発振周波数の精度が低下するおそれを低減させることができる。また、第1の電力供給手段を第2の状態にするための設定情報が記憶手段から定期的に読み出されるため、仮にノイズ等の影響で第2の状態の設定が変わってしまっても、正しい設定に復帰することが可能になる。   According to the circuit for oscillation according to this application example, the operation of the compensation unit and the operation of setting the first power supply unit to the second state do not overlap in time, so the first power supply unit is in the second state. Since the fluctuation of the power supply voltage generated by the operation is difficult to affect the operation of the compensation means, it is possible to reduce the malfunction of the compensation means due to the power supply fluctuation. Accordingly, it is possible to reduce a possibility that the accuracy of the oscillation frequency of the oscillation circuit is lowered. Further, since the setting information for setting the first power supply means to the second state is periodically read from the storage means, even if the setting of the second state is changed due to the influence of noise or the like, it is correct. It becomes possible to return to the setting.

[適用例4]
上記適用例に係る発振用回路において、前記第1の状態では、前記第1の電力供給手段から前記発振手段に供給される電力が前記第2の状態よりも大きいようにしてもよい。
[Application Example 4]
In the oscillation circuit according to the application example, in the first state, the power supplied from the first power supply unit to the oscillation unit may be larger than that in the second state.

本適用例に係る発振用回路によれば、補償手段の動作は、発振手段に供給される電力が大きい状態の時と重ならないので、発振部に大きな電力が印加されて動作しているときの発振部から補償部への影響(例えば、発振部の発熱による補償部の温度上昇)を受けにくくなる。また、電源投入後、第1の電力供給手段から発振手段に供給される電力が大きい状態になるので、発振手段を早く安定な状態にすることができる。   According to the oscillation circuit according to this application example, the operation of the compensation unit does not overlap with the state in which the power supplied to the oscillation unit is large. Therefore, when the operation is performed with a large amount of power applied to the oscillation unit. It becomes less susceptible to the influence of the oscillation unit on the compensation unit (for example, the temperature rise of the compensation unit due to heat generation of the oscillation unit). In addition, since the power supplied from the first power supply means to the oscillation means becomes large after the power is turned on, the oscillation means can be quickly brought into a stable state.

[適用例5]
上記適用例に係る発振用回路は、複数の第2の電力供給手段のうち少なくとも1つを選択して前記第1の電力供給手段に接続する電源切り替え手段をさらに備え、前記第1の電力供給手段は、さらに前記補償手段に電力を供給し、前記補償手段の動作と前記電源切り替え手段の動作とが重ならないようにしてもよい。
[Application Example 5]
The oscillation circuit according to the application example further includes power supply switching means for selecting at least one of a plurality of second power supply means and connecting to the first power supply means, and the first power supply The means may further supply power to the compensation means so that the operation of the compensation means and the operation of the power supply switching means do not overlap.

本適用例に係る発振用回路によれば、補償手段の動作時の電源電圧変動を低減できるため、補償手段の誤動作を低減させることができる。従って、発振用回路の発振周波数の精度が低下するおそれを低減させることができる。   According to the oscillation circuit according to this application example, it is possible to reduce the power supply voltage fluctuation during the operation of the compensation unit, and thus it is possible to reduce malfunction of the compensation unit. Accordingly, it is possible to reduce a possibility that the accuracy of the oscillation frequency of the oscillation circuit is lowered.

また、上記適用例に係る発振用回路において、前記第1の電力供給手段を前記第2の状態にする動作と前記電源切り替え手段の動作とが重ならないようにしてもよい。   In the oscillation circuit according to the application example, the operation of setting the first power supply unit to the second state and the operation of the power supply switching unit may not overlap.

また、上記適用例に係る発振用回路は、前記発振手段から出力される信号に基づいて時刻情報を生成する計時手段をさらに備え、前記計時手段が前記時刻情報を更新するタイミングと前記電源切り替え手段の動作とが重ならないようにしてもよい。   The oscillation circuit according to the application example further includes a timing unit that generates time information based on a signal output from the oscillation unit, and a timing at which the timing unit updates the time information and the power source switching unit It is possible to prevent the operation from overlapping.

[適用例6]
本適用例に係る発振器は、上記のいずれかの発振用回路と、振動子と、を備えている。
[Application Example 6]
An oscillator according to this application example includes any of the above-described oscillation circuits and a vibrator.

[適用例7]
本適用例に係る電子機器は、上記のいずれかの発振用回路、又は上記の発振器を備えている。
[Application Example 7]
An electronic apparatus according to this application example includes any of the above oscillation circuits or the above oscillator.

[適用例8]
本適用例に係る移動体は、上記のいずれかの発振用回路、又は上記の発振器を備えている。
[Application Example 8]
The moving body according to this application example includes any one of the above oscillation circuits or the above oscillator.

[適用例9]
本適用例に係る発振回路の制御方法は、振動子が接続される発振部と、前記発振部に電力を供給する電源部と、補償部と、を備えている発振回路の制御方法であって、電源投入後に、前記電源部を第1の状態にし、前記電源部が前記第1の状態になった後、前記電源部を第2の状態にし、前記電源部を前記第2の状態にした後、前記補償部を動作させる。
[Application Example 9]
An oscillation circuit control method according to this application example is an oscillation circuit control method including an oscillation unit to which a vibrator is connected, a power supply unit that supplies power to the oscillation unit, and a compensation unit. After the power is turned on, the power supply unit is set to the first state, and after the power supply unit is set to the first state, the power supply unit is set to the second state, and the power supply unit is set to the second state. Thereafter, the compensation unit is operated.

例えば、発振回路が備える制御部が、電源投入後に、前記電源部を第1の状態にし、前記電源部が前記第1の状態になった後、前記電源部を第2の状態にし、前記電源部を前記第2の状態にした後、前記補償部を動作させるように制御してもよい。   For example, the control unit included in the oscillation circuit sets the power supply unit to the first state after power is turned on, sets the power supply unit to the second state after the power supply unit enters the first state, and The control unit may be controlled to operate after the unit is set to the second state.

本適用例に係る発振回路の制御方法によれば、補償部の動作は、電源部の状態が切り替わるタイミングと重ならないので、電源変動に起因する補償部の誤動作を低減させることができる。従って、発振回路の発振周波数の精度が低下するおそれを低減させることができる。   According to the control method of the oscillation circuit according to this application example, the operation of the compensation unit does not overlap with the timing at which the state of the power supply unit is switched, so that malfunction of the compensation unit due to power supply fluctuation can be reduced. Accordingly, it is possible to reduce a possibility that the accuracy of the oscillation frequency of the oscillation circuit is lowered.

[適用例10]
上記適用例に係る発振回路の制御方法において、前記発振回路は、前記電源部を前記第2の状態にするための設定情報が記憶されている記憶部をさらに備え、前記電源部が前記第1の状態になった後、前記記憶部から前記設定情報が読み出されて前記電源部を前記第2の状態にするようにしてもよい。
[Application Example 10]
In the oscillation circuit control method according to the application example, the oscillation circuit further includes a storage unit that stores setting information for setting the power supply unit to the second state, and the power supply unit includes the first power supply unit. After the state is reached, the setting information may be read from the storage unit to put the power supply unit in the second state.

例えば、発振回路が備える制御部が、前記電源部が前記第1の状態になった後、前記記憶部から前記設定情報が読み出されて前記電源部を前記第2の状態にするように制御してもよい。   For example, the control unit included in the oscillation circuit controls so that the setting information is read from the storage unit and the power supply unit is in the second state after the power supply unit is in the first state. May be.

本適用例に係る発振回路の制御方法によれば、例えば最適な設定情報を記憶部に記憶させておくことで、電源部が第2の状態の時の発振回路の発振周波数の精度を高めることができる。   According to the control method of the oscillation circuit according to this application example, for example, by storing optimal setting information in the storage unit, the accuracy of the oscillation frequency of the oscillation circuit when the power supply unit is in the second state is increased. Can do.

[適用例11]
上記適用例に係る発振回路の制御方法において、前記補償部の動作の後に、前記記憶部から前記設定情報が読み出されて前記電源部を前記第2の状態にする動作と前記補償部の動作とが時間的に重ならずに繰り返されるようにしてもよい。
[Application Example 11]
In the oscillation circuit control method according to the application example, after the operation of the compensation unit, the setting information is read from the storage unit and the power supply unit is set to the second state, and the operation of the compensation unit May be repeated without overlapping in time.

例えば、発振回路が備える制御部が、前記補償部の動作の後に、前記記憶部から前記設定情報が読み出されて前記電源部を前記第2の状態にする動作と前記補償部の動作とが時間的に重ならずに繰り返されるように制御してもよい。   For example, the control unit included in the oscillation circuit includes an operation of setting the power supply unit in the second state by reading the setting information from the storage unit after the operation of the compensation unit and an operation of the compensation unit. You may control so that it may be repeated without overlapping in time.

本適用例に係る発振回路の制御方法によれば、補償部の動作と電源部を第2の状態にする動作が時間的に重ならないため、電源部を第2の状態にする動作で発生する電源電圧変動が補償部の動作に影響しにくいため、電源変動に起因した補償部の誤動作を低減させることができる。従って、発振回路の発振周波数の精度が低下するおそれを低減させること
ができる。また、電源部を第2の状態にするための設定情報が記憶部から定期的に読み出されるため、仮にノイズ等の影響で第2の状態の設定が変わってしまっても、正しい設定に復帰することが可能になる。
According to the control method of the oscillation circuit according to this application example, the operation of the compensation unit and the operation of setting the power supply unit to the second state do not overlap in time, and thus the operation occurs to set the power supply unit to the second state. Since power supply voltage fluctuations hardly affect the operation of the compensation unit, malfunctions of the compensation unit due to power supply fluctuations can be reduced. Accordingly, it is possible to reduce a possibility that the accuracy of the oscillation frequency of the oscillation circuit is lowered. In addition, since setting information for setting the power supply unit to the second state is periodically read from the storage unit, even if the setting of the second state is changed due to the influence of noise or the like, the setting is restored to the correct setting. It becomes possible.

[適用例12]
上記適用例に係る発振回路の制御方法において、前記第1の状態では、前記電源部から前記発振部に供給される電力が前記第2の状態よりも大きいようにしてもよい。
[Application Example 12]
In the oscillation circuit control method according to the application example described above, in the first state, power supplied from the power supply unit to the oscillation unit may be larger than that in the second state.

本適用例に係る発振回路の制御方法によれば、補償部の動作は、発振部に供給される電力が大きい状態の時と重ならないので、発振部に大きな電力が印加されて動作しているときの発振部から補償部への影響(例えば、発振部の発熱による補償部の温度上昇)を受けにくくなる。また、電源投入後、電源部から発振部に供給される電力が大きい状態になるので、発振部を早く安定な状態にすることができる。   According to the control method of the oscillation circuit according to this application example, the operation of the compensation unit does not overlap with the state in which the power supplied to the oscillation unit is large. The influence of the oscillation unit on the compensation unit at the time (for example, temperature rise of the compensation unit due to heat generation of the oscillation unit) is less likely to be received. In addition, since the power supplied from the power supply unit to the oscillation unit becomes large after the power is turned on, the oscillation unit can be brought into a stable state quickly.

[適用例13]
上記適用例に係る発振回路の制御方法において、前記発振回路は、複数の電力供給源のうち少なくとも1つを選択して前記電源部に接続する電源切り替え部をさらに備え、前記電源部は、さらに前記補償部に電力を供給し、前記補償部の動作と前記電源切り替え部の動作とが重ならないようにしてもよい。
[Application Example 13]
In the oscillation circuit control method according to the application example, the oscillation circuit further includes a power supply switching unit that selects at least one of a plurality of power supply sources and connects the power supply unit, and the power supply unit further includes: Power may be supplied to the compensation unit so that the operation of the compensation unit and the operation of the power supply switching unit do not overlap.

例えば、発振回路が備える制御部が、前記補償部の動作と前記電源切り替え部の動作とが重ならないように制御してもよい。   For example, the control unit included in the oscillation circuit may perform control so that the operation of the compensation unit and the operation of the power supply switching unit do not overlap.

本適用例に係る発振回路の制御方法によれば、補償部の動作時の電源電圧変動を低減できるため、補償部の誤動作を低減させることができる。従って、発振回路の発振周波数の精度が低下するおそれを低減させることができる。   According to the control method of the oscillation circuit according to this application example, it is possible to reduce the power supply voltage fluctuation during the operation of the compensation unit, and thus it is possible to reduce malfunction of the compensation unit. Accordingly, it is possible to reduce a possibility that the accuracy of the oscillation frequency of the oscillation circuit is lowered.

また、上記適用例に係る発振回路の制御方法において、前記電源部を前記第2の状態にする動作と前記電源切り替え部の動作とが重ならないようにしてもよい。   In the method for controlling an oscillation circuit according to the application example described above, the operation of setting the power supply unit to the second state and the operation of the power supply switching unit may not overlap.

また、上記適用例に係る発振回路の制御方法において、前記発振回路は、前記発振部から出力される信号に基づいて時刻情報を生成する計時部をさらに備え、前記計時部が前記時刻情報を更新するタイミングと前記電源切り替え部の動作とが重ならないようにしてもよい。   In the method for controlling an oscillation circuit according to the application example, the oscillation circuit further includes a clock unit that generates time information based on a signal output from the oscillation unit, and the clock unit updates the time information. The timing to perform and the operation of the power supply switching unit may not overlap.

本実施形態のリアルタイムクロックの構成例を示す図。The figure which shows the structural example of the real-time clock of this embodiment. 本実施形態における温度補償発振回路の構成例を示す図。The figure which shows the structural example of the temperature compensation oscillation circuit in this embodiment. 本実施形態における制御部の構成例を示す図。The figure which shows the structural example of the control part in this embodiment. 本実施形態における制御部の処理手順の一例を示すフローチャート図。The flowchart figure which shows an example of the process sequence of the control part in this embodiment. 温度補償処理の手順の一例を示すフローチャート図。The flowchart figure which shows an example of the procedure of a temperature compensation process. リフレッシュ処理の手順の一例を示すフローチャート図。The flowchart figure which shows an example of the procedure of a refresh process. スイッチ切り替え処理の手順の一例を示すフローチャート図。The flowchart figure which shows an example of the procedure of a switch switching process. 発振回路の起動時の動作の一例を示すタイミングチャート図。The timing chart figure which shows an example of the operation | movement at the time of starting of an oscillation circuit. 発振回路の起動後の動作の一例を示すタイミングチャート図。The timing chart figure which shows an example of the operation | movement after starting of an oscillation circuit. 発振回路の起動後の動作の他の一例を示すタイミングチャート図。The timing chart figure which shows another example of the operation | movement after starting of an oscillation circuit. 温度補償動作とスイッチ切り替え動作の詳細なタイミングチャート図。The detailed timing chart figure of temperature compensation operation | movement and switch switching operation | movement. 本実施形態の発振器の構成例を示す図。The figure which shows the structural example of the oscillator of this embodiment. 本実施形態の電子機器の機能ブロック図。1 is a functional block diagram of an electronic apparatus according to an embodiment. 本実施形態の電子機器の外観の一例を示す図。1 is a diagram illustrating an example of an appearance of an electronic apparatus according to an embodiment. 本実施形態の移動体の一例を示す図。The figure which shows an example of the mobile body of this embodiment.

以下、本発明の好適な実施形態について図面を用いて詳細に説明する。なお、以下に説明する実施の形態は、特許請求の範囲に記載された本発明の内容を不当に限定するものではない。また以下で説明される構成の全てが本発明の必須構成要件であるとは限らない。   DESCRIPTION OF EMBODIMENTS Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the drawings. The embodiments described below do not unduly limit the contents of the present invention described in the claims. Also, not all of the configurations described below are essential constituent requirements of the present invention.

1.リアルタイムクロック
1−1.構成
図1は、本実施形態のリアルタイムクロックの構成例を示す図である。本実施形態のリアルタイムクロック1は、振動子3を発振させる発振回路2を備えている。また、本実施形態のリアルタイムクロック1は、振動子3を備えていてもよいし、制限抵抗6やバックアップ電源5を備えていてもよい。
1. Real time clock 1-1. Configuration FIG. 1 is a diagram illustrating a configuration example of a real-time clock according to the present embodiment. The real-time clock 1 of this embodiment includes an oscillation circuit 2 that oscillates the vibrator 3. In addition, the real-time clock 1 according to the present embodiment may include a vibrator 3 or a limiting resistor 6 or a backup power source 5.

本実施形態では、発振回路2は、1つの集積回路(IC)チップで実現されており、VCC端子とVBA端子の2つの電源端子を有している。ただし、発振回路2は、複数のICチップを配線接続して実現されてもよいし、発振回路2の一部又は全部の構成が、ディスクリート部品を配線接続して実現されていてもよい。   In the present embodiment, the oscillation circuit 2 is realized by one integrated circuit (IC) chip, and has two power supply terminals, a VCC terminal and a VBA terminal. However, the oscillation circuit 2 may be realized by wiring a plurality of IC chips, or a part or all of the configuration of the oscillation circuit 2 may be realized by wiring discrete components.

VCC端子にはメイン電源4が接続され、メイン電源4から電力が供給される。また、VCC端子にはCPU(Central Processing Unit)8が接続されており、消費電流を削減するためにCPU8が動作しない時には、メイン電源4からVCC端子への電力供給が遮断される。発振回路2は、メイン電源からの電力供給が遮断された状態でも計時動作を継続する必要があるため、VBA端子には充電速度を制限するための制限抵抗6を介して充電可能なバックアップ電源5(二次電池や大容量コンデンサー等)が接続されている。ただし、バックアップ電源5は、充電ができない電源(一次電池等)に代えてもよい。   A main power supply 4 is connected to the VCC terminal, and power is supplied from the main power supply 4. Further, a CPU (Central Processing Unit) 8 is connected to the VCC terminal. When the CPU 8 does not operate in order to reduce current consumption, power supply from the main power supply 4 to the VCC terminal is cut off. Since the oscillation circuit 2 needs to continue the timing operation even when the power supply from the main power supply is cut off, the backup power supply 5 that can be charged via the limiting resistor 6 for limiting the charging speed is applied to the VBA terminal. (Secondary battery, large-capacity capacitor, etc.) are connected. However, the backup power supply 5 may be replaced with a power supply (primary battery or the like) that cannot be charged.

本実施形態では、発振回路2は、温度補償発振回路10、制御部20、電源部30、パワーオンリセット回路40、スイッチ50、電源監視回路60、計時部70、不揮発性メモリー80、シリアルインターフェース(I/F)回路90を含んで構成されている。ただし、発振回路2は、これらの要素の一部を省略又は変更し、あるいは他の要素を追加した構成としてもよい。   In the present embodiment, the oscillation circuit 2 includes a temperature compensated oscillation circuit 10, a control unit 20, a power supply unit 30, a power-on reset circuit 40, a switch 50, a power supply monitoring circuit 60, a timer unit 70, a nonvolatile memory 80, a serial interface ( I / F) circuit 90 is included. However, the oscillation circuit 2 may have a configuration in which some of these elements are omitted or changed, or other elements are added.

スイッチ50は、VCC端子とVBA端子の間に接続されており、本実施形態では、PMOSトランジスターで実現されている。すなわち、スイッチ50は、電流の流れる方向に対して上流側をソース、下流側をドレインとして、ゲート端子に入力される制御信号SWCTLがローレベルの時にソースとドレインとの間を導通(オン)し、制御信号SWCTLがハイレベルの時にソースとドレインとの間を非導通(オフ)にする。   The switch 50 is connected between the VCC terminal and the VBA terminal, and is realized by a PMOS transistor in this embodiment. That is, the switch 50 conducts (turns on) between the source and the drain when the control signal SWCTL input to the gate terminal is at a low level, with the upstream side as the source and the downstream side as the drain with respect to the direction of current flow. When the control signal SWCTL is at a high level, the source and the drain are made non-conductive (off).

また、本実施形態では、スイッチ50は、ドレインがバックゲートと接続され、ソースとドレインとの間に、ソース側がアノード、ドレイン側がカソードとなる(ソースからドレインへの向きを順方向とする)ダイオード(ボディーダイオード)が形成されている。従って、スイッチ50は、オフの状態でもソース電位がドレイン電位よりも高ければソースからドレインの向き(ダイオードの順方向)に電流が流れる。   In the present embodiment, the switch 50 is a diode whose drain is connected to the back gate, the source is the anode, and the drain is the cathode between the source and the drain (the direction from the source to the drain is the forward direction). (Body diode) is formed. Accordingly, even when the switch 50 is in the off state, if the source potential is higher than the drain potential, a current flows from the source to the drain (the forward direction of the diode).

このスイッチ50は、VCC端子側がソース、VBA端子側がドレインとなるように設けられている。従って、メイン電源から電源電圧が供給されている状態では、VBA端子の電圧は、スイッチ50がオンの時はメイン電源の電源電圧となり、スイッチがオフの時は、メイン電源の電源電圧よりもスイッチ50が有するダイオードの順方向降下電圧VFの分だけ低い電圧となる。また、スイッチ50がオンの時は、スイッチ50のソース−ド
レイン間に形成されるチャネルを通してメイン電源からバックアップ電源に電流が流れてバックアップ電源が充電され、スイッチ50がオフの時も、スイッチ50のダイオードを通してメイン電源からバックアップ電源に電流が流れてバックアップ電源が充電される。
The switch 50 is provided so that the VCC terminal side is the source and the VBA terminal side is the drain. Therefore, when the power supply voltage is supplied from the main power supply, the voltage at the VBA terminal is the power supply voltage of the main power supply when the switch 50 is on, and when the switch is off, the voltage of the switch is higher than the power supply voltage of the main power supply. The voltage becomes lower by the forward drop voltage VF of the diode 50 has. Further, when the switch 50 is on, a current flows from the main power source to the backup power source through the channel formed between the source and drain of the switch 50 to charge the backup power source. Even when the switch 50 is off, the switch 50 A current flows from the main power supply to the backup power supply through the diode to charge the backup power supply.

一方、メイン電源からの電源電圧の供給が遮断されている状態では、VBA端子の電圧は、スイッチ50がオンの時もオフの時もバックアップ電源の電源電圧となる。   On the other hand, in a state where the supply of the power supply voltage from the main power supply is interrupted, the voltage at the VBA terminal becomes the power supply voltage of the backup power supply both when the switch 50 is on and off.

VBA端子の電圧は、発振回路2の内部電源電圧として各部に供給される。また、VBA端子の電圧は、パワーオンリセット回路40に供給され、パワーオンリセット回路40は、VBA端子の電圧上昇に追従し、所望の電圧に達するまでの間、リセット信号PORを発生させる。例えば、バックアップ電源5が未充電の状態で、メイン電源4の電源電圧がVCC端子に供給されると、スイッチ50がオンしてバックアップ電源5が充電されるとともにVBA端子の電圧が上昇し、リセット信号PORが発生する。   The voltage at the VBA terminal is supplied to each unit as the internal power supply voltage of the oscillation circuit 2. The voltage at the VBA terminal is supplied to the power-on reset circuit 40. The power-on reset circuit 40 follows the voltage increase at the VBA terminal and generates the reset signal POR until the desired voltage is reached. For example, when the power supply voltage of the main power supply 4 is supplied to the VCC terminal while the backup power supply 5 is not charged, the switch 50 is turned on to charge the backup power supply 5 and the voltage at the VBA terminal rises to reset. A signal POR is generated.

電源部30は、基準電源回路32とレギュレーター34を含んで構成されており、VBA端子の電圧に基づき、温度補償発振回路10に供給する電源電圧を生成する。   The power supply unit 30 includes a reference power supply circuit 32 and a regulator 34, and generates a power supply voltage to be supplied to the temperature compensated oscillation circuit 10 based on the voltage at the VBA terminal.

基準電源回路32は、温度に関係なく一定の基準電圧VREFと基準電流IBIASを生成し、レギュレーター34に供給する。本実施形態では、基準電圧VREFは、制御部20から供給される基準電圧調整データBGRDによって所定の範囲で調整可能になっている。同様に、基準電流IBIASは、制御部20から供給される基準電流調整データIBIASDによって所定の範囲で調整可能になっている。また、本実施形態では、基準電源回路32は、温度検出信号T_SENSを出力する温度センサー36を有している。このような基準電源回路32は、例えば、半導体のバンドギャップ電圧を利用して所定電圧を生成する回路と、バンドギャップ電圧の温度特性と逆向きの温度特性を有する電圧を生成する温度センサー36と、これら2つの回路の出力電圧を加算する回路とによって構成されるバンドギャップリファレンス回路によって実現することができる。   The reference power supply circuit 32 generates a constant reference voltage VREF and a reference current IBIAS regardless of the temperature, and supplies them to the regulator 34. In the present embodiment, the reference voltage VREF can be adjusted within a predetermined range by reference voltage adjustment data BGRD supplied from the control unit 20. Similarly, the reference current IBIAS can be adjusted within a predetermined range by reference current adjustment data IBIASD supplied from the control unit 20. In the present embodiment, the reference power supply circuit 32 includes a temperature sensor 36 that outputs a temperature detection signal T_SENS. Such a reference power supply circuit 32 includes, for example, a circuit that generates a predetermined voltage using a semiconductor band gap voltage, and a temperature sensor 36 that generates a voltage having a temperature characteristic opposite to the temperature characteristic of the band gap voltage. It can be realized by a bandgap reference circuit constituted by a circuit for adding the output voltages of these two circuits.

レギュレーター34は、基準電圧VREFと基準電流IBIASに基づき、温度補償発振回路10に供給する電源電圧を生成して出力する。本実施形態では、レギュレーター34の出力電圧は、制御部20から供給されるレギュレーター電圧調整データVREGDによって所定の範囲で調整可能になっている。   The regulator 34 generates and outputs a power supply voltage to be supplied to the temperature compensated oscillation circuit 10 based on the reference voltage VREF and the reference current IBIAS. In the present embodiment, the output voltage of the regulator 34 can be adjusted within a predetermined range by the regulator voltage adjustment data VREGD supplied from the control unit 20.

温度補償発振回路10は、発振回路2のGATE端子とDRAIN端子を介して接続される振動子3を発振させるための回路であり、レギュレーター34の出力電圧を電源電圧として動作する。   The temperature compensated oscillation circuit 10 is a circuit for oscillating the vibrator 3 connected via the GATE terminal and the DRAIN terminal of the oscillation circuit 2, and operates using the output voltage of the regulator 34 as a power supply voltage.

図2は、本実施形態における温度補償発振回路10の構成例を示す図であり、図2に示すように、温度補償発振回路10は、発振部12と温度補償部14を備えている。   FIG. 2 is a diagram illustrating a configuration example of the temperature compensated oscillation circuit 10 in the present embodiment. As illustrated in FIG. 2, the temperature compensated oscillation circuit 10 includes an oscillation unit 12 and a temperature compensation unit 14.

発振部12は、インバーター回路121と、2つの抵抗122,123と、2つの可変容量回路124,125を備えている。インバーター回路121の入力端子は発振回路2のGATE端子と接続され、インバーター回路121の出力端子は抵抗123を介して発振回路2のDRAIN端子と接続されている。   The oscillation unit 12 includes an inverter circuit 121, two resistors 122 and 123, and two variable capacitance circuits 124 and 125. The input terminal of the inverter circuit 121 is connected to the GATE terminal of the oscillation circuit 2, and the output terminal of the inverter circuit 121 is connected to the DRAIN terminal of the oscillation circuit 2 via the resistor 123.

抵抗122は、インバーター回路121の出力端子と入力端子の間に接続されており、抵抗123は、インバーター回路121の出力端子とDRAIN端子の間に接続されている。   The resistor 122 is connected between the output terminal and the input terminal of the inverter circuit 121, and the resistor 123 is connected between the output terminal of the inverter circuit 121 and the DRAIN terminal.

可変容量回路124は、複数のスイッチの各々を介して、インバーター回路121の入
力端子(発振回路2のGATE端子)とグランドとの間に接続される複数の容量素子を備えており、これら複数のスイッチ素子のオン/オフを切り替えることで、インバーター回路121の入力端子(発振回路2のGATE端子)の負荷容量を可変に設定することができる。同様に、可変容量回路125は、複数のスイッチの各々を介して、インバーター回路121の出力端子(発振回路2のDRAIN端子)とグランドとの間に接続される複数の容量素子を備えており、これらスイッチ素子のオン/オフを切り替えることで、インバーター回路121の出力端子(発振回路2のDRAIN端子)の負荷容量を可変に設定することができる。なお、可変容量回路124,125の一方を容量値が固定の回路に置き換えてもよい。
The variable capacitance circuit 124 includes a plurality of capacitance elements connected between the input terminal of the inverter circuit 121 (GATE terminal of the oscillation circuit 2) and the ground via each of the plurality of switches. By switching on / off of the switch element, the load capacity of the input terminal of the inverter circuit 121 (GATE terminal of the oscillation circuit 2) can be variably set. Similarly, the variable capacitance circuit 125 includes a plurality of capacitance elements connected between the output terminal of the inverter circuit 121 (DRAIN terminal of the oscillation circuit 2) and the ground via each of the plurality of switches. By switching on / off of these switch elements, the load capacity of the output terminal of the inverter circuit 121 (DRAIN terminal of the oscillation circuit 2) can be variably set. Note that one of the variable capacitance circuits 124 and 125 may be replaced with a circuit having a fixed capacitance value.

温度補償部14は、レジスター142と、演算回路144と、A/D変換器146とを備えており、制御部20からの制御信号EN_SENSがハイレベルの時に動作する。本実施形態では、制御信号EN_SENSが一定周期で一定期間ハイレベルになり、温度補償部14は間欠的に動作する。   The temperature compensation unit 14 includes a register 142, an arithmetic circuit 144, and an A / D converter 146, and operates when the control signal EN_SENS from the control unit 20 is at a high level. In the present embodiment, the control signal EN_SENS is at a high level for a certain period with a certain period, and the temperature compensation unit 14 operates intermittently.

A/D変換器146は、温度検出信号T_SENSをA/D変換し、A/D変換データADOを制御部20に出力する。演算回路144は、制御部20からA/D変換データADOに応じた温度補償データTCOMPDを受け取り、温度補正演算を行って可変容量回路124,125の各スイッチ素子のオン/オフ制御値(ハイ又はロー)を決定し、容量選択データCAPDとしてレジスター142に設定する。この容量選択データCAPDに応じて、可変容量回路124,125の各スイッチ素子のオン/オフが制御される。   The A / D converter 146 A / D converts the temperature detection signal T_SENS and outputs A / D conversion data ADO to the control unit 20. The arithmetic circuit 144 receives temperature compensation data TCOMPD corresponding to the A / D conversion data ADO from the control unit 20, performs temperature correction calculation, and controls on / off control values (high or low) of the switch elements of the variable capacitance circuits 124 and 125. Low) and set in the register 142 as the capacity selection data CAPD. On / off of each switch element of the variable capacitance circuits 124 and 125 is controlled in accordance with the capacitance selection data CAPD.

このように構成された温度補償発振回路10は、温度変化に応じて容量選択データCAPDを定期的に更新し、振動子3の温度特性を補正しながら振動子3を共振周波数付近の所望の周波数で発振させる。本実施形態では、振動子3の共振周波数は32.768kHz付近の周波数であり、温度補償発振回路10は、動作保証の温度範囲で周波数偏差が極めて小さい32.768kHzのクロック信号clk_32kを出力する。   The temperature-compensated oscillation circuit 10 configured as described above periodically updates the capacitance selection data CAPD according to the temperature change, and corrects the temperature characteristics of the vibrator 3 so that the vibrator 3 has a desired frequency near the resonance frequency. Oscillate with In this embodiment, the resonance frequency of the vibrator 3 is a frequency around 32.768 kHz, and the temperature compensated oscillation circuit 10 outputs a clock signal clk_32k of 32.768 kHz with a very small frequency deviation in the temperature range in which operation is guaranteed.

振動子3としては、例えば、水晶Zカット、または水晶ZカットをX軸周りにY軸を数度回転したカットアングルを用いた水晶振動子、SCカットやATカットの水晶振動子、SAW(Surface Acoustic Wave)共振子などを用いることができる。また、振動子3として、例えば、水晶振動子以外の圧電振動子やMEMS(Micro Electro Mechanical Systems)振動子などを用いることもできる。振動子3の基板材料としては、水晶、タンタル酸リチウム、ニオブ酸リチウム等の圧電単結晶や、ジルコン酸チタン酸鉛等の圧電セラミックス等の圧電材料、又はシリコン半導体材料等を用いることができる。また、振動子3の励振手段としては、圧電効果によるものを用いてもよいし、クーロン力による静電駆動を用いてもよい。また、振動子の形状としては、平板形状、音叉形状等を用いることもできる。   As the resonator 3, for example, a crystal Z cut, a crystal resonator using a cut angle obtained by rotating the crystal Z cut around the X axis by several degrees around the Y axis, an SC cut or AT cut crystal resonator, a SAW (Surface Acoustic Wave) resonator can be used. Further, as the vibrator 3, for example, a piezoelectric vibrator other than a crystal vibrator, a MEMS (Micro Electro Mechanical Systems) vibrator, or the like can be used. As a substrate material of the vibrator 3, a piezoelectric single crystal such as crystal, lithium tantalate, or lithium niobate, a piezoelectric material such as piezoelectric ceramics such as lead zirconate titanate, or a silicon semiconductor material can be used. In addition, as the excitation means of the vibrator 3, a piezoelectric effect may be used, or electrostatic driving using a Coulomb force may be used. Further, as the shape of the vibrator, a flat plate shape, a tuning fork shape, or the like can be used.

図1に戻り、電源監視回路60は、コンパレーター62と、スイッチ回路64と、2つの抵抗66,68とを含んで構成されている。   Returning to FIG. 1, the power monitoring circuit 60 includes a comparator 62, a switch circuit 64, and two resistors 66 and 68.

スイッチ回路64は、制御部20からの制御信号COMPENがハイレベルの時にオンし、ローレベルの時にオフする。   The switch circuit 64 is turned on when the control signal COMPEN from the control unit 20 is at a high level and turned off when the control signal COMPEN is at a low level.

2つの抵抗66,68は、スイッチ回路64を介して、VCC端子とグランドに間に直列に接続されている。   The two resistors 66 and 68 are connected in series between the VCC terminal and the ground via the switch circuit 64.

コンパレーター62は、制御部20からの制御信号COMPENがハイレベルの時に動作し、VCC端子の電圧を2つの抵抗66,68で抵抗分割した電圧を所定の電圧と比較
する。すなわち、コンパレーター62は、VCC端子の電圧が所望の電圧(しきい値電圧)以上か低いかを判定し、VCC端子の電圧がしきい値電圧以上の時はハイレベルとなり、VCC端子の電圧がしきい値電圧よりも低い時はローレベルとなる信号COMPOを出力する。
The comparator 62 operates when the control signal COMPEN from the control unit 20 is at a high level, and compares the voltage obtained by dividing the voltage at the VCC terminal by two resistors 66 and 68 with a predetermined voltage. That is, the comparator 62 determines whether the voltage at the VCC terminal is equal to or higher than a desired voltage (threshold voltage). When the voltage at the VCC terminal is equal to or higher than the threshold voltage, the comparator 62 becomes high level. When is lower than the threshold voltage, a signal COMPO that is at a low level is output.

本実施形態では、制御信号COMPENが一定周期で一定期間ハイレベルになり、電源監視回路60は間欠的に動作する。なお、制御信号COMPENがローレベルの時にスイッチ回路64をオフするのは、コンパレーター62が動作しない期間はVCC端子からグランドに電流が流れないようにし、消費電流を削減するためである。   In the present embodiment, the control signal COMPEN becomes a high level for a certain period at a certain period, and the power supply monitoring circuit 60 operates intermittently. The reason why the switch circuit 64 is turned off when the control signal COMPEN is at a low level is to prevent a current from flowing from the VCC terminal to the ground during a period in which the comparator 62 does not operate, thereby reducing current consumption.

計時部70は、1Hzのクロック信号clk1Hzに同期して、時刻情報(年、月、日、時、分、秒等の情報)を生成する。本実施形態では、計時部70は、クロック信号clk1Hzの立ち下がりエッジ(ハイレベルからローレベルに変化するタイミング)で、秒情報を更新する。   The clock unit 70 generates time information (information such as year, month, day, hour, minute, second) in synchronization with the 1 Hz clock signal clk1 Hz. In the present embodiment, the timer unit 70 updates the second information at the falling edge of the clock signal clk1 Hz (timing to change from high level to low level).

不揮発性メモリー80は、発振回路2の各部の調整用のデータを記憶するものであり、例えば、MONOS(Metal-Oxide-Nitride-Oxide-Silicon)メモリー等のフラッシュメモリーやEEPROM(Electrically Erasable Programmable Read-Only Memory)等で実現することができる。本実施形態では、不揮発性メモリー80には、基準電圧調整データ、基準電流調整データ、レギュレーター電圧調整データ、温度補償データ等が記憶されている。なお、リアルタイムクロック1毎に、その検査工程において、不揮発性メモリー80に各データの最適値が書き込まれていてもよい。   The non-volatile memory 80 stores adjustment data for each part of the oscillation circuit 2. For example, a flash memory such as a MONOS (Metal-Oxide-Nitride-Oxide-Silicon) memory or an EEPROM (Electrically Erasable Programmable Read- (Only Memory) or the like. In the present embodiment, the non-volatile memory 80 stores reference voltage adjustment data, reference current adjustment data, regulator voltage adjustment data, temperature compensation data, and the like. For each real-time clock 1, an optimum value of each data may be written in the nonvolatile memory 80 in the inspection process.

シリアルI/F回路90は、CPU8との間でデータ通信を行うためのインターフェース回路であり、例えば、SCL端子とSDA端子を介してIC通信方式でデータ通信を行ってもよい。CPU8は、シリアルI/F回路90を介して、不揮発性メモリー80に対して各種データの読み書きを行ったり、計時部70が生成する時刻情報を読み出したりすることができる。 The serial I / F circuit 90 is an interface circuit for performing data communication with the CPU 8. For example, the serial I / F circuit 90 may perform data communication using an I 2 C communication method via an SCL terminal and an SDA terminal. The CPU 8 can read and write various data to and from the nonvolatile memory 80 via the serial I / F circuit 90 and read time information generated by the time measuring unit 70.

制御部20は、リセット信号PORにより初期化され、温度補償発振回路10、電源部30及び電源監視回路60の動作制御、スイッチ50のオン/オフ制御、不揮発性メモリー80に対する各種データの読み書き、シリアルI/F回路90を介した外部とのデータ通信、クロック信号clk1Hzの生成等を行う。   The control unit 20 is initialized by the reset signal POR, controls the operation of the temperature compensated oscillation circuit 10, the power supply unit 30 and the power supply monitoring circuit 60, controls the on / off of the switch 50, reads / writes various data from / to the nonvolatile memory 80, serial Data communication with the outside through the I / F circuit 90, generation of a clock signal clk1 Hz, and the like are performed.

図3は、本実施形態における制御部20の構成例を示す図であり、図3に示すように、制御部20は、分周回路22と、タイミング生成部24と、メモリー制御部26と、レジスター部28とを備えており、リセット信号PORが入力されるとこれら各部はすべて初期化される。   FIG. 3 is a diagram illustrating a configuration example of the control unit 20 in the present embodiment. As illustrated in FIG. 3, the control unit 20 includes a frequency dividing circuit 22, a timing generation unit 24, a memory control unit 26, A register unit 28 is provided. When a reset signal POR is input, all these units are initialized.

レジスター部28は、基準電圧VREF、基準電流IBIAS、レギュレーター34の出力電圧のそれぞれの設定用レジスターを含む各種の設定用レジスターを有しており、リセット信号PORが発生すると、各設定用レジスターはあらかじめ決められた設定値に初期化される。特に、本実施形態では、リセット信号PORが発生すると、基準電流IBIAS、基準電圧VREF、レギュレーター34の出力電圧が通常よりも大きくなるように、それぞれの設定用レジスターが初期化され、このブースト状態では、温度補償発振回路10の発振部12に供給される電力が通常状態よりも大きくなる。これにより、発振回路2に電源を投入してから温度補償発振回路10が安定するまでの起動時間を短くすることができる。例えば、基準電圧VREF、基準電流IBIAS、レギュレーター34の出力電圧のそれぞれの設定用レジスターがそれぞれ設定可能な最大値に初期化されるようにすれば、起動時間を最短にすることができる。   The register unit 28 includes various setting registers including setting registers for the reference voltage VREF, the reference current IBIAS, and the output voltage of the regulator 34. When the reset signal POR is generated, each setting register is stored in advance. Initialized to the set value. In particular, in the present embodiment, when the reset signal POR is generated, the respective setting registers are initialized so that the reference current IBIAS, the reference voltage VREF, and the output voltage of the regulator 34 become larger than usual. The power supplied to the oscillation unit 12 of the temperature compensated oscillation circuit 10 becomes larger than that in the normal state. As a result, it is possible to shorten the startup time from when power is supplied to the oscillation circuit 2 until the temperature compensated oscillation circuit 10 is stabilized. For example, if the respective setting registers for the reference voltage VREF, the reference current IBIAS, and the output voltage of the regulator 34 are initialized to the maximum values that can be set, the startup time can be minimized.

分周回路22は、32.768kHzのクロック信号clk_32kを32分周した1.024kHzのクロック信号clk_1kを生成する。さらに、分周回路22は、クロック信号clk_1kを、それぞれ2(=2)〜210(=1024)分周したクロック信号clk512Hz、クロック信号clk256Hz、クロック信号clk128Hz、クロック信号clk64Hz、クロック信号clk32Hz、クロック信号clk16Hz、クロック信号clk8Hz、クロック信号clk4Hz、クロック信号clk2Hz、クロック信号clk1Hzを生成する。クロック信号clk1Hzは、1秒周期の信号であり、計時部70の動作クロック信号となる。 The frequency dividing circuit 22 generates a 1.024 kHz clock signal clk_1k obtained by dividing the 32.768 kHz clock signal clk_32k by 32. Further, the frequency dividing circuit 22 divides the clock signal clk_1k by 2 1 (= 2) to 2 10 (= 1024), respectively, a clock signal clk 512 Hz, a clock signal clk 256 Hz, a clock signal clk 128 Hz, a clock signal clk 64 Hz, a clock signal clk 32 Hz, A clock signal clk16 Hz, a clock signal clk8 Hz, a clock signal clk4 Hz, a clock signal clk2 Hz, and a clock signal clk1 Hz are generated. The clock signal clk 1 Hz is a signal with a period of 1 second, and serves as an operation clock signal for the timer unit 70.

また、クロック信号clk_1kを除く10個のクロック信号clk512Hz〜clk1Hzは、clk1HzをMSB、clk512HzをLSBとする10ビットのカウント信号cnt[9:0]を構成する。すなわち、カウント信号cnt[9:0]は1秒間に0から1023までカウントアップされる。   Further, the 10 clock signals clk512 Hz to clk1 Hz excluding the clock signal clk — 1k constitute a 10-bit count signal cnt [9: 0] in which clk1 Hz is MSB and clk512 Hz is LSB. That is, the count signal cnt [9: 0] is counted up from 0 to 1023 per second.

タイミング生成部24は、カウント信号cnt[9:0]が0の時に、クロック信号clk_32kに同期して制御信号EN_SENSをローレベルからハイレベルに変更し、クロック信号clk_32kで所定時間をカウントすると制御信号EN_SENSをローレベルに戻す。   When the count signal cnt [9: 0] is 0, the timing generator 24 changes the control signal EN_SENS from the low level to the high level in synchronization with the clock signal clk_32k, and counts a predetermined time with the clock signal clk_32k. Return EN_SENS to low level.

また、タイミング生成部24は、カウント信号cnt[9:0]が64の時に、クロック信号clk_1kの立ち下がりエッジで制御信号COMPENをローレベルからハイレベルに変更し、クロック信号clk_1kで所定時間をカウントすると、制御信号COMPENをローレベルに戻す。   Further, when the count signal cnt [9: 0] is 64, the timing generation unit 24 changes the control signal COMPEN from the low level to the high level at the falling edge of the clock signal clk_1k, and counts a predetermined time with the clock signal clk_1k. Then, the control signal COMPEN is returned to the low level.

また、タイミング生成部24は、制御信号COMPENをローレベルからハイレベルに変更するタイミングで制御信号SWCTLをローレベルからハイレベルに変更し、制御信号COMPENをローレベルに戻すタイミングで、電源監視回路60の出力信号COMPOがハイレベルの時のみ制御信号SWCTLをローレベルに戻す。   In addition, the timing generation unit 24 changes the control signal SWCTL from the low level to the high level at the timing of changing the control signal COMPEN from the low level to the high level, and returns the control signal COMPEN to the low level at the timing of changing the control signal COMPEN to the low level. Only when the output signal COMPO is at a high level, the control signal SWCTL is returned to a low level.

また、タイミング生成部24は、メモリー制御部26の動作を制御し、メモリー制御部26は、不揮発性メモリー80に対するデータの読み書きを行う。特に、本実施形態では、タイミング生成部24は、制御信号EN_SENSをローレベルからハイレベルに変更してからクロック信号clk_32kで所定時間をカウントすると、メモリー制御部26に、不揮発性メモリー80からA/D変換データADO(温度情報)に対応する温度補償データを読み出す処理を行わせる。   The timing generation unit 24 controls the operation of the memory control unit 26, and the memory control unit 26 reads / writes data from / to the nonvolatile memory 80. In particular, in this embodiment, the timing generator 24 changes the control signal EN_SENS from low level to high level and then counts a predetermined time with the clock signal clk_32k. The temperature compensation data corresponding to the D conversion data ADO (temperature information) is read out.

また、タイミング生成部24は、リセット信号PORが解除されてからクロック信号clk_32kで所定時間をカウントした時、及び、制御信号EN_SENSをローレベルに戻した直後、メモリー制御部26に、不揮発性メモリー80から基準電圧調整データ、基準電流調整データ及びレギュレーター電圧調整データを読み出し、各設定用レジスターにそれぞれ設定する処理を行わせる。   In addition, the timing generation unit 24 sends the non-volatile memory 80 to the memory control unit 26 when the predetermined time is counted with the clock signal clk_32k after the reset signal POR is canceled and immediately after the control signal EN_SENS is returned to the low level. The reference voltage adjustment data, the reference current adjustment data, and the regulator voltage adjustment data are read out from the control register, and the setting registers are set.

なお、本実施形態において、発振回路2は、本発明の「発振回路」又は「発振用回路」の一例である。発振部12は、本発明の「発振部」又は「発振手段」の一例である。また、温度補償部14あるいは温度補償部14と制御部20の一部(温度補償動作に関連する処理を行う部分)からなる構成は、本発明の「補償部」又は「補償手段」の一例である。また、電源部30は、本発明の「電源部」又は「第1の電力供給手段」の一例である。また、不揮発性メモリー80は、本発明の「記憶部」又は「記憶手段」の一例である。また、制御部20は、本発明の「制御手段」の一例である。また、スイッチ50あるいはスイ
ッチ50と電源監視回路60から成る構成は、本発明の「電源切り替え部」又は「電源切り替え手段」の一例である。また、メイン電源4及びバックアップ電源5は、本発明の「複数の電力供給源」又は「複数の第2の電力供給手段」の一例である。また、「ブースト状態」及び「通常状態」は、それぞれ本発明の「第1の状態」及び「第2の状態」の一例である。また、不揮発性メモリー80に記憶されている基準電圧調整データ、基準電流調整データ及びレギュレーター調整データは、本発明の「設定情報」の一例である。また、「温度補償動作」は、本発明の「補償部の動作」又は「補償手段の動作」の一例である。また、「スイッチ切り替え動作」は、本発明の「電源切り替え部の動作」又は「電源切り替え手段の動作」の一例である。
In the present embodiment, the oscillation circuit 2 is an example of the “oscillation circuit” or “oscillation circuit” in the present invention. The oscillator 12 is an example of the “oscillator” or “oscillator” of the present invention. The configuration comprising the temperature compensation unit 14 or a part of the temperature compensation unit 14 and the control unit 20 (the part that performs processing related to the temperature compensation operation) is an example of the “compensation unit” or “compensation unit” of the present invention. is there. The power supply unit 30 is an example of the “power supply unit” or “first power supply unit” in the present invention. The nonvolatile memory 80 is an example of the “storage unit” or “storage unit” in the present invention. The control unit 20 is an example of the “control unit” in the present invention. The configuration comprising the switch 50 or the switch 50 and the power supply monitoring circuit 60 is an example of the “power supply switching unit” or “power supply switching unit” of the present invention. The main power supply 4 and the backup power supply 5 are examples of the “plurality of power supply sources” or the “plurality of second power supply means” in the present invention. The “boost state” and the “normal state” are examples of the “first state” and the “second state” of the present invention, respectively. The reference voltage adjustment data, reference current adjustment data, and regulator adjustment data stored in the nonvolatile memory 80 are an example of “setting information” in the present invention. The “temperature compensation operation” is an example of the “operation of the compensation unit” or “operation of the compensation means” in the present invention. The “switch switching operation” is an example of the “operation of the power switching unit” or the “operation of the power switching unit” in the present invention.

1−2.制御部の処理手順
図4は、本実施形態における制御部20の処理手順の一例を示すフローチャート図である。図4に示すように、本実施形態では、制御部20は、リセット信号PORが発生すると(S10のY)、まず、電源部30をブースト状態に設定する(S12)。
1-2. Processing Procedure of Control Unit FIG. 4 is a flowchart illustrating an example of a processing procedure of the control unit 20 in the present embodiment. As shown in FIG. 4, in the present embodiment, when the reset signal POR is generated (Y in S10), the control unit 20 first sets the power supply unit 30 to the boost state (S12).

次に、制御部20は、リセット信号PORが解除されてからT1時間の経過後(S14のY)、電源部30を通常状態に設定する(S16)。このT1時間は、温度補償発振回路10の出力信号が安定するために必要な時間以上に設定される。   Next, the control unit 20 sets the power supply unit 30 to a normal state after a lapse of T1 time after the reset signal POR is canceled (Y in S14) (S16). This T1 time is set to be longer than the time necessary for the output signal of the temperature compensated oscillation circuit 10 to become stable.

その後、制御部20は、カウント信号cnt[9:0]が0又は512の時に(S18のY)、温度補償処理を行い(S20)、温度補償処理の終了後、電源部30のレジスター設定のリフレッシュ処理を行う(S22)。すなわち、本実施形態では、制御部20は、温度補償処理とリフレッシュ処理を0.5秒周期で繰り返し行う。   Thereafter, when the count signal cnt [9: 0] is 0 or 512 (Y in S18), the control unit 20 performs temperature compensation processing (S20), and after the temperature compensation processing is completed, the register setting of the power supply unit 30 is set. A refresh process is performed (S22). That is, in the present embodiment, the control unit 20 repeatedly performs the temperature compensation process and the refresh process at a cycle of 0.5 seconds.

また、制御部20は、カウント信号cnt[9:0]が64の時に(S24のY)、スイッチ切り替え処理を行う(S26)。すなわち、本実施形態では、制御部20は、スイッチ切り替え処理を1秒周期で繰り返し行う。   In addition, when the count signal cnt [9: 0] is 64 (Y in S24), the control unit 20 performs a switch switching process (S26). That is, in the present embodiment, the control unit 20 repeatedly performs the switch switching process at a cycle of 1 second.

図5は、図4の温度補償処理(S20)の手順の一例を示すフローチャート図である。図5に示すように、制御部20は、まず、制御信号EN_SENSをハイレベルにして、温度補償部14に温度補償動作を開始させる(S100)。   FIG. 5 is a flowchart showing an example of the procedure of the temperature compensation process (S20) of FIG. As shown in FIG. 5, the control unit 20 first sets the control signal EN_SENS to a high level to cause the temperature compensation unit 14 to start a temperature compensation operation (S100).

次に、制御部20は、温度補償動作の開始からT2時間の経過後(S102のY)、温度補償部14からA/D変換データADOを取得する(S104)。このT2時間は、温度補償部14のA/D変換動作に必要な時間以上に設定される。   Next, after the elapse of T2 time from the start of the temperature compensation operation (Y in S102), the control unit 20 acquires A / D conversion data ADO from the temperature compensation unit 14 (S104). This T2 time is set to be longer than the time necessary for the A / D conversion operation of the temperature compensation unit 14.

次に、制御部20は、不揮発性メモリー80から、A/D変換データADOに応じた温度補償データを読み出し、温度補償データTCOMPDとして温度補償部14に出力する(S106)。   Next, the control unit 20 reads temperature compensation data corresponding to the A / D conversion data ADO from the nonvolatile memory 80, and outputs the temperature compensation data as temperature compensation data TCOMPD to the temperature compensation unit 14 (S106).

最後に、制御部20は、温度補償動作の開始からT3時間の経過後(S108のY)、制御信号EN_SENSをローレベルにして、温度補償部14に温度補償動作を終了させ(S110)、温度補償処理を終了する。このT3時間は、温度補償部14の温度補償動作がすべて完了するのに必要な時間以上に設定される。   Finally, after the elapse of T3 time from the start of the temperature compensation operation (Y in S108), the control unit 20 sets the control signal EN_SENS to a low level, and causes the temperature compensation unit 14 to end the temperature compensation operation (S110). Compensation processing ends. This T3 time is set to be longer than the time necessary for completing all the temperature compensation operations of the temperature compensation unit 14.

図6は、図4のリフレッシュ処理(S22)の手順の一例を示すフローチャート図である。なお、図4の電源部30を通常状態に設定する処理(S16)の手順も図6と同様である。   FIG. 6 is a flowchart showing an example of the procedure of the refresh process (S22) of FIG. The procedure for setting the power supply unit 30 in FIG. 4 to the normal state (S16) is the same as that in FIG.

図6に示すように、制御部20は、まず、不揮発性メモリー80から基準電圧調整デー
タ読み出して、レジスター部28のレジスターに設定する(S200)。
As shown in FIG. 6, the control unit 20 first reads the reference voltage adjustment data from the nonvolatile memory 80 and sets it in the register of the register unit 28 (S200).

次に、制御部20は、不揮発性メモリー80から基準電流調整データを読み出して、レジスター部28のレジスターに設定する(S202)。   Next, the control unit 20 reads the reference current adjustment data from the nonvolatile memory 80 and sets it in the register of the register unit 28 (S202).

最後に、制御部20は、不揮発性メモリー80からレギュレーター電圧調整データを読み出して、レジスター部28のレジスターに設定し(S204)、リフレッシュ処理を終了する。   Finally, the control unit 20 reads the regulator voltage adjustment data from the nonvolatile memory 80, sets it in the register of the register unit 28 (S204), and ends the refresh process.

図7は、図4のスイッチ切り替え処理(S26)の手順の一例を示すフローチャート図である。図7に示すように、制御部20は、まず、制御信号SWCTLをハイレベルにしてスイッチ50をオフするとともに、制御信号COMPENをハイレベルにして電源監視回路60をオンする(S300)。ここで、スイッチ50をオフするのは、電源監視回路60がVCC端子の電圧を正しく判定できるように、VCC端子をVBA端子から切り離すためである。   FIG. 7 is a flowchart showing an example of the procedure of the switch switching process (S26) of FIG. As shown in FIG. 7, the control unit 20 first sets the control signal SWCTL to high level to turn off the switch 50, and sets the control signal COMPEN to high level to turn on the power supply monitoring circuit 60 (S300). Here, the reason why the switch 50 is turned off is to disconnect the VCC terminal from the VBA terminal so that the power supply monitoring circuit 60 can correctly determine the voltage of the VCC terminal.

次に、制御部20は、スイッチ50をオフし、かつ、電源監視回路60をオンしてからT4時間の経過後(S302のY)、電源監視回路60の出力信号COMPOを取得するとともに、制御信号COMPENをローレベルにして電源監視回路60をオフする(S304)。このT4時間は、電源監視回路60の出力信号COMPOが安定するために必要な時間以上に設定される。   Next, the control unit 20 turns off the switch 50 and, after T4 time has elapsed since turning on the power supply monitoring circuit 60 (Y in S302), acquires the output signal COMPO of the power supply monitoring circuit 60 and performs control. The signal COMPEN is set to low level to turn off the power supply monitoring circuit 60 (S304). This T4 time is set to be longer than the time necessary for the output signal COMPO of the power supply monitoring circuit 60 to become stable.

そして、制御部20は、COMPOがハイレベルの場合(S306のY)には、制御信号SWCTLをローレベルに戻してスイッチ50をオンし、COMPOがローレベルの場合(S306のN)には、制御信号SWCTLをローレベルに戻さずスイッチ50をオフのままにし、スイッチ切り替え処理を終了する。   When the COMPO is at a high level (Y in S306), the control unit 20 returns the control signal SWCTL to a low level and turns on the switch 50. When the COMPO is at a low level (N in S306), The switch 50 is kept off without returning the control signal SWCTL to the low level, and the switch switching process is terminated.

1−3.動作タイミング
図8は、発振回路2の起動時の動作の一例を示すタイミングチャート図である。図8に示すように、時刻t以前において、メイン電源4からVCC端子への電力供給が遮断されており、かつ、バックアップ電源5が未充電の状態であり、VCC端子の電圧とVBA端子の電圧はともに0Vである。
1-3. Operation Timing FIG. 8 is a timing chart showing an example of the operation when the oscillation circuit 2 is activated. As shown in FIG. 8, before the time t 0 , the power supply from the main power supply 4 to the VCC terminal is cut off, and the backup power supply 5 is not charged, and the voltage at the VCC terminal and the voltage at the VBA terminal are Both voltages are 0V.

時刻tにおいてVCC端子にメイン電源4が接続され、時刻tでVCC端子の電圧がメイン電源4の電源電圧に達する。この時刻t〜tにおいて、リセット信号PORが発生し、レジスター部28の各設定用レジスターが初期化される。これにより、基準電圧調整データBGRD、基準電流調整データIBIASD、レギュレーター電圧調整データVREGDがそれぞれA0、B0、C0に設定され、電源部30がブースト状態となる。 The main power supply 4 is connected to the VCC terminal at time t 0 , and the voltage at the VCC terminal reaches the power supply voltage of the main power supply 4 at time t 1 . At times t 0 to t 1 , a reset signal POR is generated, and each setting register of the register unit 28 is initialized. As a result, the reference voltage adjustment data BGRD, the reference current adjustment data IBIASD, and the regulator voltage adjustment data VREGD are set to A0, B0, and C0, respectively, and the power supply unit 30 enters the boost state.

次に、温度補償発振回路10の発振部12が動作を開始し、クロック信号clk_32kが発生すると、カウント信号cnt[9:0]のカウントアップ動作が開始する。   Next, when the oscillation unit 12 of the temperature compensated oscillation circuit 10 starts operation and the clock signal clk_32k is generated, the count-up operation of the count signal cnt [9: 0] starts.

次に、時刻tからT1時間経過後の時刻t〜tにおいて、電源部30を通常状態に設定する処理が行われ、時刻tにおいて、基準電圧調整データBGRD、基準電流調整データIBIASD、レギュレーター電圧調整データVREGDがそれぞれA1、B1、C1に設定され、電源部30が通常状態となる。 Next, at time t 1 from the after T1 time time t 2 ~t 3, processing is performed to set the power unit 30 in the normal state, at time t 3, the reference voltage adjustment data BGRD, reference current adjustment data IBIASD The regulator voltage adjustment data VREGD is set to A1, B1, and C1, respectively, and the power supply unit 30 enters the normal state.

次に、カウント信号cnt[9:0]が64になる時刻tからT4時間経過後の時刻tまでの間、制御信号COMPENと制御信号SWCTLがともにハイレベルとなって
スイッチ切り替え動作が行われ、VCC端子の電圧がしきい値電圧以上なので、時刻tにおいて制御信号SWCTLがローレベルに戻る。
Next, the count signal cnt [9: 0] is the period from the time t 4 when becomes 64 to time t 5 after time T4 has elapsed, the control signal COMPEN and the control signal SWCTL switch change operation both at the high level line We, the voltage of the VCC terminal is a higher than the threshold voltage, the control signal SWCTL at time t 5 is returned to the low level.

次に、カウント信号cnt[9:0]が512になる時刻tからT3時間経過後の時刻tまでの間、制御信号EN_SENSがハイレベルとなって温度補償動作が行われ、時刻tにおいて、容量選択データCAPDが更新される。 Next, the count signal cnt [9: 0] is the period from time t 6 to be 512 until time t 7 after time T3 elapses, the control signal EN_SENS temperature compensation operation is performed at a high level, a time t 7 The capacity selection data CAPD is updated.

このように、本実施形態では、ブースト状態から通常状態になった後で、スイッチ切り替え動作と温度補償動作を開始する。   As described above, in this embodiment, the switch switching operation and the temperature compensation operation are started after the boost state is changed to the normal state.

図9は、バックアップ電源5の充電が完了した後の発振回路2の動作の一例を示すタイミングチャート図である。図9において、バックアップ電源5の電源電圧は、メイン電源4の電源電圧よりもわずかに低いものとする。図9に示すように、時刻tにおいてカウント信号cnt[9:0]が0になると、時刻t〜tにおいて制御信号EN_SENSがハイレベルとなって温度補償動作が行われ、時刻tにおいて、容量選択データCAPDがD2からD3に更新される。 FIG. 9 is a timing chart showing an example of the operation of the oscillation circuit 2 after the backup power supply 5 is completely charged. In FIG. 9, it is assumed that the power supply voltage of the backup power supply 5 is slightly lower than the power supply voltage of the main power supply 4. Fig As shown in 9, the count signal cnt at time t 8 [9: 0] when is 0, the control signal EN_SENS at time t 8 ~t 9 the temperature compensation operation is performed at a high level, the time t 9 The capacity selection data CAPD is updated from D2 to D3.

次に、時刻tのすぐ後に、電源部30の調整データのリフレッシュ動作が行われ、基準電圧調整データBGRD、基準電流調整データIBIASD、レギュレーター電圧調整データVREGDのレジスター設定値がそれぞれA1、B1、C1にリフレッシュ(上書き)される。 Then, immediately after the time t 9, the refresh operation of the adjustment data of the power supply unit 30 is performed, the reference voltage adjustment data BGRD, reference current adjustment data IBIASD, A1 registers setpoint of regulator voltage adjustment data VREGD respectively, B1, Refreshed (overwritten) to C1.

次に、時刻t10においてカウント信号cnt[9:0]が64になると、時刻t10〜t11において制御信号COMPENと制御信号SWCTLがともにハイレベルとなってスイッチ切り替え動作が行われる。この時刻t10〜t11において、スイッチ50がオフするので、VBA端子の電圧はバックアップ電源5の電源電圧となる。 Next, the count signal cnt at time t 10 [9: 0] is the becomes 64, the control signal COMPEN and the control signal SWCTL at time t 10 ~t 11 switches the switching operation is performed both at the high level. Since the switch 50 is turned off at times t 10 to t 11 , the voltage at the VBA terminal becomes the power supply voltage of the backup power supply 5.

そして、VCC端子の電圧がしきい値電圧以上なので、時刻t11において制御信号SWCTLがローレベルに戻り、スイッチ50がオンするので、VBA端子の電圧はVCC端子の電圧(メイン電源4の電源電圧)に戻る。 Then, the voltage of the VCC terminal is a higher than the threshold voltage, the control signal SWCTL is returned to the low level at time t 11, the switch 50 is turned on, the voltage of the VBA terminal voltage (power supply voltage of the main power supply 4 of the VCC terminal Return to).

次に、時刻t12においてカウント信号cnt[9:0]が512になると、時刻t12〜t13において制御信号EN_SENSがハイレベルとなって温度補償動作が行われ、時刻t13において、容量選択データCAPDがD3からD4に更新される。 Next, the count signal cnt at time t 12: If [9 0] is 512, the control signal EN_SENS at time t 12 ~t 13 temperature compensation operation is performed at a high level at time t 13, capacitance selection Data CAPD is updated from D3 to D4.

次に、時刻t13のすぐ後に、電源部30の調整データのリフレッシュ動作が行われ、基準電圧調整データBGRD、基準電流調整データIBIASD、レギュレーター電圧調整データVREGDのレジスター設定値がそれぞれA1、B1、C1にリフレッシュ(上書き)される。 Then, immediately after the time t 13, the refresh operation of the adjustment data of the power supply unit 30 is performed, the reference voltage adjustment data BGRD, reference current adjustment data IBIASD, A1 registers setpoint of regulator voltage adjustment data VREGD respectively, B1, Refreshed (overwritten) to C1.

次に、時刻t14においてカウント信号cnt[9:0]が0になると、時刻t14〜t15において制御信号EN_SENSがハイレベルとなって温度補償動作が行われ、時刻t15において、容量選択データCAPDがD4からD5に更新される。 Next, the count signal cnt at time t 14 [9: 0] when is 0, the control signal EN_SENS at time t 14 ~t 15 temperature compensation operation is performed at a high level at time t 15, capacitance selection Data CAPD is updated from D4 to D5.

次に、時刻t15のすぐ後に、電源部30の調整データのリフレッシュ動作が行われ、基準電圧調整データBGRD、基準電流調整データIBIASD、レギュレーター電圧調整データVREGDのレジスター設定値がそれぞれA1、B1、C1にリフレッシュ(上書き)される。 Then, immediately after the time t 15, the refresh operation of the adjustment data of the power supply unit 30 is performed, the reference voltage adjustment data BGRD, reference current adjustment data IBIASD, A1 registers setpoint of regulator voltage adjustment data VREGD respectively, B1, Refreshed (overwritten) to C1.

次に、時刻t16において、メイン電源4からVCC端子への電力供給が遮断し、スイ
ッチ50がオンしているので、VBA端子の電圧とVCC端子の電圧はともにバックアップ電源5の電源電圧となる。
Then, at time t 16, and cut off the power supply from the main power supply 4 to the VCC terminal, since the switch 50 is turned on, the voltage of the voltage VBA and VCC pins becomes the power supply voltage of the backup power supply 5 together .

次に、時刻t17においてカウント信号cnt[9:0]が64になると、時刻t17〜t18において制御信号COMPENと制御信号SWCTLがともにハイレベルとなってスイッチ切り替え動作が行われる。この時刻t17〜t18において、スイッチ50がオフするので、VCC端子の電圧は0Vになる。 Next, the count signal cnt at time t 17 [9: 0] is the becomes 64, the control signal COMPEN and the control signal SWCTL at time t 17 ~t 18 switches the switching operation is performed both at the high level. Since the switch 50 is turned off at times t 17 to t 18 , the voltage at the VCC terminal becomes 0V.

そして、VCC端子の電圧がしきい値電圧よりも低いので、時刻t18において制御信号SWCTLがハイレベルのままローレベルに戻らず、スイッチ50はオフのままとなる。すなわち、時刻t18において、通常モード(メイン電源4の電力で動作するモード)からバックアップモード(バックアップ電源5の電力で動作するモード)に切り替わる。 Then, the voltage of the VCC terminal is lower than the threshold voltage, the control signal SWCTL does not return to remain low at the high level at time t 18, the switch 50 remains off. That is, at time t 18, is switched from the normal mode (mode for operating at a power of the main power supply 4) to the backup mode (operating at a power of the backup power supply 5).

次に、時刻t19においてカウント信号cnt[9:0]が512になると、時刻t19〜t20において制御信号EN_SENSがハイレベルとなって温度補償動作が行われ、時刻t20において、容量選択データCAPDがD5からD6に更新される。 Next, the count signal cnt at time t 19 [9: 0] When is 512, the control signal EN_SENS at time t 19 ~t 20 temperature compensation operation is performed at a high level at time t 20, capacitance selection Data CAPD is updated from D5 to D6.

次に、時刻t19のすぐ後に、電源部30の調整データのリフレッシュ動作が行われ、基準電圧調整データBGRD、基準電流調整データIBIASD、レギュレーター電圧調整データVREGDのレジスター設定値がそれぞれA1、B1、C1にリフレッシュ(上書き)される。 Then, immediately after the time t 19, the refresh operation of the adjustment data of the power supply unit 30 is performed, the reference voltage adjustment data BGRD, reference current adjustment data IBIASD, A1 registers setpoint of regulator voltage adjustment data VREGD respectively, B1, Refreshed (overwritten) to C1.

このように、本実施形態では、温度補償動作は0.5秒周期で繰り返され、スイッチ切り替え動作は1秒周期で繰り返される。   As described above, in this embodiment, the temperature compensation operation is repeated at a cycle of 0.5 seconds, and the switch switching operation is repeated at a cycle of 1 second.

図10は、図9の時刻t20以降の発振回路2の動作の一例を示すタイミングチャート図である。図10に示すように、時刻t21ではバックアップモードになっており、制御信号SWCTLがハイレベルのため、VBA端子の電圧はバックアップ電源5の電源電圧となっている。 Figure 10 is a timing chart showing an example of the operation of the time t 20 after the oscillation circuit 2 in FIG. As shown in FIG. 10, the backup mode is set at time t 21 , and the voltage of the VBA terminal is the power supply voltage of the backup power supply 5 because the control signal SWCTL is at a high level.

時刻t21においてカウント信号cnt[9:0]が0になると、時刻t21〜t22において制御信号EN_SENSがハイレベルとなって温度補償動作が行われ、時刻t22において、容量選択データCAPDがD6からD7に更新される。 Count signal cnt at time t 21 [9: 0] when is 0, the control signal EN_SENS at time t 21 ~t 22 temperature compensation operation is performed at a high level at time t 22, the capacitance selection data CAPD It is updated from D6 to D7.

次に、時刻t22のすぐ後に、電源部30の調整データのリフレッシュ動作が行われ、基準電圧調整データBGRD、基準電流調整データIBIASD、レギュレーター電圧調整データVREGDのレジスター設定値がそれぞれA1、B1、C1にリフレッシュ(上書き)される。 Then, immediately after the time t 22, the refresh operation of the adjustment data of the power supply unit 30 is performed, the reference voltage adjustment data BGRD, reference current adjustment data IBIASD, A1 registers setpoint of regulator voltage adjustment data VREGD respectively, B1, Refreshed (overwritten) to C1.

次に、時刻t23においてカウント信号cnt[9:0]が64になると、時刻t23〜t24において制御信号COMPENがハイレベルとなってスイッチ切り替え動作が行われる。そして、VCC端子の電圧がしきい値電圧よりも低いので、時刻t23において制御信号SWCTLはハイレベルのままであり、スイッチ50はオフのままである。 Next, the count signal cnt at time t 23 [9: 0] is the becomes 64, the control signal COMPEN at time t 23 ~t 24 switches the switching operation is performed at a high level. Then, the voltage of the VCC terminal is lower than the threshold voltage, the control signal SWCTL at time t 23 remains at a high level, the switch 50 remains off.

次に、時刻t25においてカウント信号cnt[9:0]が512になると、時刻t25〜t26において制御信号EN_SENSがハイレベルとなって温度補償動作が行われ、時刻t26において、容量選択データCAPDがD7からD8に更新される。 Next, the count signal cnt at time t 25: If [9 0] is 512, the control signal EN_SENS at time t 25 ~t 26 temperature compensation operation is performed at a high level at time t 26, capacitance selection Data CAPD is updated from D7 to D8.

次に、時刻t26のすぐ後に、電源部30の調整データのリフレッシュ動作が行われ、基準電圧調整データBGRD、基準電流調整データIBIASD、レギュレーター電圧調
整データVREGDのレジスター設定値がそれぞれA1、B1、C1にリフレッシュ(上書き)される。
Then, immediately after the time t 26, the refresh operation of the adjustment data of the power supply unit 30 is performed, the reference voltage adjustment data BGRD, reference current adjustment data IBIASD, A1 registers setpoint of regulator voltage adjustment data VREGD respectively, B1, Refreshed (overwritten) to C1.

次に、時刻t27においてカウント信号cnt[9:0]が0になると、時刻t27〜t28において制御信号EN_SENSがハイレベルとなって温度補償動作が行われ、時刻t28において、容量選択データCAPDがD8からD9に更新される。 Next, the count signal cnt at time t 27: If [9 0] becomes 0, the control signal EN_SENS at time t 27 ~t 28 temperature compensation operation is performed at a high level at time t 28, capacitance selection Data CAPD is updated from D8 to D9.

次に、時刻t28のすぐ後に、電源部30の調整データのリフレッシュ動作が行われ、基準電圧調整データBGRD、基準電流調整データIBIASD、レギュレーター電圧調整データVREGDのレジスター設定値がそれぞれA1、B1、C1にリフレッシュ(上書き)される。 Next, immediately after time t 28 , the adjustment data refresh operation of the power supply unit 30 is performed, and the register setting values of the reference voltage adjustment data BGRD, the reference current adjustment data IBIASD, and the regulator voltage adjustment data VREGD are respectively A1, B1, Refreshed (overwritten) to C1.

次に、時刻t29において、メイン電源4からVCC端子への電力供給が再開するが、スイッチ50がオフしているので、VBA端子の電圧はバックアップ電源5の電源電圧のままである。 Next, at time t 29 , power supply from the main power supply 4 to the VCC terminal is resumed, but the voltage at the VBA terminal remains the power supply voltage of the backup power supply 5 because the switch 50 is off.

次に、時刻t30においてカウント信号cnt[9:0]が64になると、時刻t30〜t31において制御信号COMPENがハイレベルとなってスイッチ切り替え動作が行われる。そして、VCC端子の電圧がしきい値電圧以上なので、時刻t31において制御信号SWCTLがローレベルになり、スイッチ50がオンする。これにより、VBA端子の電圧はメイン電源4の電源電圧になる。すなわち、時刻t31において、バックアップモードから通常モードに切り替わる。 Next, the count signal cnt at time t 30 [9: 0] is the becomes 64, the control signal COMPEN at a time t 30 ~t 31 switch switching operation is performed at a high level. Then, the voltage of the VCC terminal is a higher than the threshold voltage, the control signal SWCTL is set to a low level at time t 31, the switch 50 is turned on. As a result, the voltage at the VBA terminal becomes the power supply voltage of the main power supply 4. That is, at time t 31, switches from the backup mode to the normal mode.

次に、時刻t32においてカウント信号cnt[9:0]が512になると、時刻t32〜t33において制御信号EN_SENSがハイレベルとなって温度補償動作が行われ、時刻t33において、容量選択データCAPDがD9からD10に更新される。 Next, the count signal cnt at time t 32: If [9 0] is 512, the control signal EN_SENS at time t 32 ~t 33 temperature compensation operation is performed at a high level at time t 33, capacitance selection Data CAPD is updated from D9 to D10.

次に、時刻t33のすぐ後に、電源部30の調整データのリフレッシュ動作が行われ、基準電圧調整データBGRD、基準電流調整データIBIASD、レギュレーター電圧調整データVREGDのレジスター設定値がそれぞれA1、B1、C1にリフレッシュ(上書き)される。 Then, immediately after the time t 33, the refresh operation of the adjustment data of the power supply unit 30 is performed, the reference voltage adjustment data BGRD, reference current adjustment data IBIASD, A1 registers setpoint of regulator voltage adjustment data VREGD respectively, B1, Refreshed (overwritten) to C1.

図11は、温度補償動作とスイッチ切り替え動作の詳細なタイミングを示すタイミングチャート図であり、図9の時刻t〜t11の期間に対応する。 Figure 11 is a timing chart showing the detailed timing of the temperature compensation operation and the switch switching operation, corresponds to the period from the time t 8 ~t 11 in FIG.

図11に示すように、時刻tにおいて制御信号EN_SENSがハイレベルとなると、温度補償動作が開始し、まず、所定時間後に温度検出信号T_SENSのA/D変換が行われ、A/D変換データADOが更新される。続いて、不揮発性メモリー80に対するメモリーリードが行われ、A/D変換データADOに応じて温度補償データTCOMPDがF2からF3に更新される。続いて、温度補償データTCOMPDに応じた温度補正演算が行われ、時刻tにおいて、容量選択データCAPDがD2からD3に更新されるとともに、制御信号EN_SENSがローレベルとなって温度補償動作が終了する。このように、本実施形態では、温度補償動作には、A/D変換動作、メモリーリード動作及び温度補正演算動作が含まれている。 As shown in FIG. 11, when the control signal EN_SENS becomes high level at time t 8, the temperature compensation operation is started, first, A / D conversion of the temperature detection signal T_SENS is performed after a predetermined time, A / D conversion data ADO is updated. Subsequently, a memory read is performed on the nonvolatile memory 80, and the temperature compensation data TCOMPD is updated from F2 to F3 according to the A / D conversion data ADO. Subsequently, a temperature- compensation operation in accordance with the temperature compensation data TCOMPD, at time t 9, together with the capacitance selection data CAPD is updated from D2 to D3, the control signal EN_SENS is the temperature compensation operation at a low level End To do. Thus, in the present embodiment, the temperature compensation operation includes the A / D conversion operation, the memory read operation, and the temperature correction calculation operation.

次に、時刻tから電源部30の調整データのリフレッシュ動作が開始し、不揮発性メモリー80に対するメモリーリードが行われ、基準電圧調整データBGRD、基準電流調整データIBIASD、レギュレーター電圧調整データVREGDのレジスター設定値が順番にリフレッシュ(上書き)される。このように、本実施形態では、リフレッシュ動作には、メモリーリード動作とレジスター設定動作が含まれている。 Then, the refresh operation of the adjustment data of the power supply unit 30 is started at time t 9, the memory read is performed for the non-volatile memory 80, the reference voltage adjustment data BGRD, reference current adjustment data IBIASD, register regulator voltage adjustment data VREGD The set values are refreshed (overwritten) in order. Thus, in the present embodiment, the refresh operation includes a memory read operation and a register setting operation.

次に、時刻t10において制御信号COMPENと制御信号SWCTLがともにハイレベルとなると、スイッチ切り替え動作が開始し、スイッチ50がオンからオフに切り替わるとともに、コンパレーター62によるVCC端子の電圧としきい値電圧との比較が行われる。 Next, when the control signal COMPEN and the control signal SWCTL is set to the high level together at time t 10, the switch switching operation starts, the switch 50 is switched from ON to OFF, the voltage and the threshold voltage of the VCC terminal by the comparator 62 Is compared.

そして、コンパレーター62の出力信号COMPOが確定するのに十分な時間が経過した時刻t11において、COMPOがハイレベルかローレベルかに応じて、制御信号STWLをローレベルに戻す(スイッチ50をオンに戻す)か否かが選択される。ここでは、COMPOがハイレベルなので、制御信号STWLがローレベルに戻り、スイッチ50がオフからオンに切り替わる。また、時刻t11において制御信号COMPENがローレベルとなってスイッチ切り替え動作が終了し、COMPOがローレベルに戻る。このように、本実施形態では、スイッチ切り替え動作には、VCC端子の電圧としきい値電圧との比較動作及び比較結果に応じたスイッチ50のオン/オフの選択動作が含まれている。 Then, on at time t 11 a sufficient time has elapsed for the output signal COMPO of the comparator 62 is determined, the COMPO depending on whether a high level or low level, returning the control signals STWL the low level (switch 50 Or not) is selected. Here, since COMPO is at a high level, the control signal STWL returns to a low level, and the switch 50 is switched from off to on. Further, the control signal COMPEN switch switching operation is completed at a low level at time t 11, COMPO is returned to the low level. As described above, in the present embodiment, the switch switching operation includes the comparison operation between the voltage at the VCC terminal and the threshold voltage, and the ON / OFF selection operation of the switch 50 according to the comparison result.

以上に説明した本実施形態では、温度補償動作は最大周波数である32.768kHに同期して行われるため消費電流が非常に大きく、温度補償動作が、同じく消費電流が非常に大きいブースト状態、あるいは電源電圧が変動するブースト状態から通常状態に切り替わるタイミングと重なると、温度補償データTCOMPが破損する等して温度補償動作に誤りが生じるおそれがある。そこで、本実施形態では、ブースト状態から通常状態になった後に温度補償動作を開始する。従って、本実施形態によれば、温度補償動作が誤るおそれを低減させることができるので、温度補償発振回路10の出力周波数の精度等が低下するおそれを低減させることができる。   In the present embodiment described above, the temperature compensation operation is performed in synchronization with the maximum frequency of 32.768 kHz, so that the current consumption is very large, and the temperature compensation operation is the boost state where the current consumption is also very large, or If it overlaps with the timing of switching from the boost state in which the power supply voltage fluctuates to the normal state, the temperature compensation data TCOMP may be damaged, and the error may occur in the temperature compensation operation. Therefore, in the present embodiment, the temperature compensation operation is started after the boost state is changed to the normal state. Therefore, according to the present embodiment, it is possible to reduce the possibility that the temperature compensation operation is erroneous, and therefore it is possible to reduce the possibility that the accuracy of the output frequency of the temperature compensated oscillation circuit 10 is lowered.

また、本実施形態では、温度補償動作の後にリフレッシュ動作が行われるようにしており、温度補償動作とリフレッシュ動作が時間的に重ならないため、リフレッシュ動作で発生する電源電圧変動が温度補償動作に影響せず、電源電圧変動に起因した温度補償部14の誤動作を低減することができ、温度補償発振回路10の出力周波数の精度等が低下するおそれを低減することができる。また、不揮発性メモリーに記憶されている電源部30の調整データが定期的に読み出されてレジスター部28の各設定用レジスターに設定されるので、各設定用レジスターのデータが破損しても確実に回復させることができる。   In the present embodiment, the refresh operation is performed after the temperature compensation operation, and the temperature compensation operation and the refresh operation do not overlap in time. Therefore, the power supply voltage fluctuation generated in the refresh operation affects the temperature compensation operation. Therefore, the malfunction of the temperature compensation unit 14 due to the power supply voltage fluctuation can be reduced, and the possibility that the accuracy of the output frequency of the temperature compensated oscillation circuit 10 is lowered can be reduced. Further, since the adjustment data of the power supply unit 30 stored in the nonvolatile memory is periodically read out and set in each setting register in the register unit 28, it is ensured that the data in each setting register is damaged. Can be recovered.

また、本実施形態では、温度補償動作は最大周波数である32.768kHに同期して行われるため消費電流が非常に大きく、スイッチ切り替え動作に伴って温度補償発振回路10(温度補償部14)の電源電圧が変動するタイミング(図9の時刻t10,t11,t17や図10の時刻t31等)が温度補償動作期間と重なると、温度補償データTCOMPが破損する等して温度補償動作に誤りが生じるおそれがある。そこで、本実施形態では、図8〜図11に示したように、温度補償動作の期間とスイッチ切り替え動作の期間はいずれも重ならないようにしている。すなわち、本実施形態によれば、温度補償部14の動作時にはスイッチ50及び電源監視回路60を動作させないようにしたため、温度補償部14の動作はスイッチ50及び電源監視回路60の動作に伴う電源電圧変動の影響を受けないので、電源電圧変動に起因した温度補償部14の誤動作を低減し、温度補償発振回路10の出力周波数の精度等が低下するおそれを低減させることができる。 In the present embodiment, the temperature compensation operation is performed in synchronization with the maximum frequency of 32.768 kHz, so that the current consumption is very large, and the temperature compensation oscillation circuit 10 (temperature compensation unit 14) of the temperature compensation operation is accompanied by the switch switching operation. If the timing at which the power supply voltage fluctuates (time t 10 , t 11 , t 17 in FIG. 9 or time t 31 in FIG. 10, etc.) overlaps the temperature compensation operation period, the temperature compensation data TCOMP will be damaged, etc. May cause errors. Therefore, in this embodiment, as shown in FIGS. 8 to 11, the temperature compensation operation period and the switch switching operation period do not overlap each other. That is, according to the present embodiment, since the switch 50 and the power supply monitoring circuit 60 are not operated during the operation of the temperature compensation unit 14, the operation of the temperature compensation unit 14 is the power supply voltage accompanying the operation of the switch 50 and the power supply monitoring circuit 60. Since it is not affected by fluctuations, it is possible to reduce malfunctions of the temperature compensation unit 14 due to fluctuations in the power supply voltage and to reduce the possibility that the accuracy of the output frequency of the temperature compensated oscillation circuit 10 will be lowered.

また、本実施形態では、発振回路2に電源投入後、カウント信号cnt[9:0]が64になる時にスイッチ切り替え動作が開始され、その後、カウント信号cnt[9:0]が512になる時に温度補償動作が開始されることで、発振回路2の起動後、先にスイッチ切り替え動作が行われた後で、温度補償動作が行われるようになっている。従って、本実施形態によれば、温度補償部14の動作の前に温度補償部14に供給される電源電圧をより安定した状態に維持することができる。そのため、動作時の消費電力が大きい温度補
償部14をより安定した状態で動作させることができ、温度補償部14の誤動作を低減できる。従って、周波数安定度の良い発振回路2を構成することができる。
In the present embodiment, after the oscillation circuit 2 is powered on, the switch switching operation is started when the count signal cnt [9: 0] becomes 64, and then when the count signal cnt [9: 0] becomes 512. Since the temperature compensation operation is started, the temperature compensation operation is performed after the switch switching operation is performed first after the oscillation circuit 2 is started. Therefore, according to the present embodiment, the power supply voltage supplied to the temperature compensation unit 14 before the operation of the temperature compensation unit 14 can be maintained in a more stable state. Therefore, the temperature compensation unit 14 that consumes a large amount of power during operation can be operated in a more stable state, and malfunctions of the temperature compensation unit 14 can be reduced. Therefore, the oscillation circuit 2 with good frequency stability can be configured.

また、本実施形態では、計時部70が時刻情報を更新するタイミング(1Hzクロックの立ち下がり時)は、回路が最も動く状態になるため、電源からグランドへの貫通電流が最大となり、この時に電源が切り替わると、計時部70あるいは計時部70と電源を共通にする回路が誤動作を招くおそれがある。そこで、本実施形態では、計時部の動作時(図9の時刻t,t14や図10の時刻t21,t27等)にはスイッチ切り替え動作をさせないようにしている。従って、本実施形態によれば、計時部70の動作時にはスイッチ切り替え動作に伴う電源電圧変動の影響を受けないので、電源電圧変動に起因した計時の誤動作を起こすおそれが低減できるため、計時部70から出力される時刻情報の精度等が低下するおそれを低減させることができる。 In the present embodiment, the timing at which the time measuring unit 70 updates the time information (at the falling edge of the 1 Hz clock) is such that the circuit operates most, so the through current from the power supply to the ground is maximized. When is switched, there is a possibility that the timer unit 70 or a circuit sharing the power source with the timer unit 70 may cause a malfunction. Therefore, in the present embodiment, the switch switching operation is not performed during the operation of the time measuring unit (time t 8 and t 14 in FIG. 9, time t 21 and t 27 in FIG. 10, etc.). Therefore, according to the present embodiment, since the timing unit 70 is not affected by the power supply voltage fluctuation caused by the switch switching operation, it is possible to reduce the possibility of a malfunction of the timing due to the power supply voltage fluctuation. It is possible to reduce the possibility that the accuracy and the like of the time information output from will decrease.

2.発振器
図12は、本実施形態の発振器の構成例を示す図である。図12において、図1と同じ構成要素には同じ符号を付している。本実施形態の発振器200は、振動子3と、振動子3を発振させる発振回路2とを備えている。また、本実施形態の発振器200は、制限抵抗6やバックアップ電源5を備えていてもよい。
2. Oscillator FIG. 12 is a diagram illustrating a configuration example of the oscillator according to the present embodiment. 12, the same components as those in FIG. 1 are denoted by the same reference numerals. The oscillator 200 according to the present embodiment includes the vibrator 3 and the oscillation circuit 2 that oscillates the vibrator 3. Further, the oscillator 200 of this embodiment may include the limiting resistor 6 and the backup power source 5.

発振回路2の構成は、図1と同じであるため、その説明を省略する。なお、発振回路2は、図12の要素の一部を省略又は変更し、あるいは他の要素を追加した構成としてもよい。   The configuration of the oscillation circuit 2 is the same as that in FIG. Note that the oscillation circuit 2 may have a configuration in which some of the elements in FIG. 12 are omitted or changed, or other elements are added.

本実施形態の発振器200によれば、上記実施形態のリアルタイムクロック1と同様の効果が得られる。   According to the oscillator 200 of this embodiment, the same effect as that of the real-time clock 1 of the above embodiment can be obtained.

3.電子機器
図13は、本実施形態の電子機器の機能ブロック図である。また、図14は、本実施形態の電子機器の一例であるスマートフォンの外観の一例を示す図である。
3. Electronic Device FIG. 13 is a functional block diagram of the electronic device of the present embodiment. FIG. 14 is a diagram illustrating an example of the appearance of a smartphone that is an example of the electronic apparatus of the present embodiment.

本実施形態の電子機器300は、リアルタイムクロック310、CPU(Central Processing Unit)320、操作部330、ROM(Read Only Memory)340、RAM(Random Access Memory)350、通信部360、表示部370、メイン電源380を含んで構成されている。なお、本実施形態の電子機器は、図13の構成要素(各部)の一部を省略又は変更し、あるいは、他の構成要素を付加した構成としてもよい。   The electronic apparatus 300 according to the present embodiment includes a real-time clock 310, a CPU (Central Processing Unit) 320, an operation unit 330, a ROM (Read Only Memory) 340, a RAM (Random Access Memory) 350, a communication unit 360, a display unit 370, a main unit. A power source 380 is included. Note that the electronic device of the present embodiment may be configured such that some of the components (each unit) in FIG. 13 are omitted or changed, or other components are added.

リアルタイムクロック310は、発振回路312(発振用回路の一例)、振動子314、バックアップ電源316を備えている。発振回路312は、振動子314を発振させてクロック信号を発生させ、当該クロック信号に基づいて時刻情報を生成する。バックアップ電源316は、発振回路312のVBA端子に電力を供給する。   The real time clock 310 includes an oscillation circuit 312 (an example of an oscillation circuit), a vibrator 314, and a backup power source 316. The oscillation circuit 312 oscillates the vibrator 314 to generate a clock signal, and generates time information based on the clock signal. The backup power supply 316 supplies power to the VBA terminal of the oscillation circuit 312.

メイン電源380は、発振回路312のVCC端子に電力を供給する。また、メイン電源380は、CPU320にも電力を供給する。   The main power supply 380 supplies power to the VCC terminal of the oscillation circuit 312. The main power supply 380 also supplies power to the CPU 320.

発振回路312は、VCC端子の電圧がしきい値電圧以上の時は、VCC端子の電圧を電源電圧として動作し、VCC端子の電圧がしきい値電圧よりも低い時は、VBA端子の電圧を電源電圧として動作する。   The oscillation circuit 312 operates using the voltage at the VCC terminal as the power supply voltage when the voltage at the VCC terminal is equal to or higher than the threshold voltage, and the voltage at the VBA terminal when the voltage at the VCC terminal is lower than the threshold voltage. Operates as power supply voltage.

CPU320は、ROM340等に記憶されているプログラムに従い、各種の計算処理や制御処理を行う。具体的には、CPU320は、発振回路312に対する各種の設定処
理、発振回路312から時刻情報を読み出す処理、操作部330からの操作信号に応じた各種の処理、外部装置とデータ通信を行うために通信部360を制御する処理、表示部370に各種の情報(発振回路312から読み出した時刻情報等)を表示させるための表示信号を送信する処理等を行う。
The CPU 320 performs various calculation processes and control processes in accordance with programs stored in the ROM 340 and the like. Specifically, the CPU 320 performs various setting processing for the oscillation circuit 312, processing for reading time information from the oscillation circuit 312, various processing according to an operation signal from the operation unit 330, and data communication with an external device. Processing for controlling the communication unit 360, processing for transmitting a display signal for displaying various types of information (such as time information read from the oscillation circuit 312) on the display unit 370, and the like are performed.

操作部330は、操作キーやボタンスイッチ等により構成される入力装置であり、ユーザーによる操作に応じた操作信号をCPU320に出力する。   The operation unit 330 is an input device including operation keys, button switches, and the like, and outputs an operation signal corresponding to an operation by the user to the CPU 320.

ROM340は、CPU320が各種の計算処理や制御処理を行うためのプログラムやデータ等を記憶している。   The ROM 340 stores programs, data, and the like for the CPU 320 to perform various calculation processes and control processes.

RAM350は、CPU320の作業領域として用いられ、ROM340から読み出されたプログラムやデータ、操作部330から入力されたデータ、CPU320が各種プログラムに従って実行した演算結果等を一時的に記憶する。   The RAM 350 is used as a work area of the CPU 320, and temporarily stores programs and data read from the ROM 340, data input from the operation unit 330, calculation results executed by the CPU 320 according to various programs, and the like.

通信部360は、CPU320と外部装置との間のデータ通信を成立させるための各種制御を行う。   The communication unit 360 performs various controls for establishing data communication between the CPU 320 and an external device.

表示部370は、LCD(Liquid Crystal Display)等により構成される表示装置であり、CPU320から入力される表示信号に基づいて各種の情報を表示する。表示部370には操作部330として機能するタッチパネルが設けられていてもよい。   The display unit 370 is a display device configured by an LCD (Liquid Crystal Display) or the like, and displays various types of information based on a display signal input from the CPU 320. The display unit 370 may be provided with a touch panel that functions as the operation unit 330.

リアルタイムクロック310として、例えば上記実施形態のリアルタイムクロック1を適用することにより、あるいは、発振回路312として、例えば上記実施形態の発振回路2を適用することにより、信頼性の高い電子機器を実現することができる。なお、本実施形態の電子機器300は、リアルタイムクロック310に代えて発振器を用いてもよく、当該発振器として、例えば上記実施形態の発振器200を適用することができる。   Realizing a highly reliable electronic device by applying, for example, the real-time clock 1 of the above-described embodiment as the real-time clock 310, or by applying, for example, the oscillation circuit 2 of the above-described embodiment as the oscillation circuit 312. Can do. Note that the electronic device 300 of the present embodiment may use an oscillator instead of the real-time clock 310, and for example, the oscillator 200 of the above-described embodiment can be applied as the oscillator.

このような電子機器300としては種々の電子機器が考えられ、例えば、パーソナルコンピューター(例えば、モバイル型パーソナルコンピューター、ラップトップ型パーソナルコンピューター、タブレット型パーソナルコンピューター)、スマートフォンや携帯電話機などの移動体端末、ディジタルスチールカメラ、インクジェット式吐出装置(例えば、インクジェットプリンター)、ルーターやスイッチなどのストレージエリアネットワーク機器、ローカルエリアネットワーク機器、移動体端末基地局用機器、テレビ、ビデオカメラ、ビデオレコーダー、カーナビゲーション装置、リアルタイムクロック装置、ページャー、電子手帳(通信機能付も含む)、電子辞書、電卓、電子ゲーム機器、ゲーム用コントローラー、ワードプロセッサー、ワークステーション、テレビ電話、防犯用テレビモニター、電子双眼鏡、POS端末、医療機器(例えば電子体温計、血圧計、血糖計、心電図計測装置、超音波診断装置、電子内視鏡)、魚群探知機、各種測定機器、計器類(例えば、車両、航空機、船舶の計器類)、フライトシュミレーター、ヘッドマウントディスプレイ、モーショントレース、モーショントラッキング、モーションコントローラー、PDR(歩行者位置方位計測)等が挙げられる。   Various electronic devices can be considered as such an electronic device 300, for example, a personal computer (for example, a mobile personal computer, a laptop personal computer, a tablet personal computer), a mobile terminal such as a smartphone or a mobile phone, Digital still cameras, inkjet discharge devices (for example, inkjet printers), storage area network devices such as routers and switches, local area network devices, mobile terminal base station devices, televisions, video cameras, video recorders, car navigation devices, Real-time clock device, pager, electronic notebook (including communication function), electronic dictionary, calculator, electronic game machine, game controller, word processor , Workstations, videophones, crime prevention TV monitors, electronic binoculars, POS terminals, medical equipment (eg, electronic thermometers, blood pressure monitors, blood glucose meters, electrocardiogram measuring devices, ultrasonic diagnostic devices, electronic endoscopes), fish detectors, Examples include various measuring devices, instruments (for example, vehicles, aircraft, and ship instruments), flight simulators, head mounted displays, motion traces, motion tracking, motion controllers, PDR (pedestrian position and orientation measurement), and the like.

4.移動体
図15は、本実施形態の移動体の一例を示す図(上面図)である。図15に示す移動体400は、リアルタイムクロック410、エンジンシステム、ブレーキシステム、キーレスエントリーシステム等の各種の制御を行うコントローラー420,430,440、バッテリー450、バックアップ用バッテリー460を含んで構成されている。なお、本実施形態の移動体は、図15の構成要素(各部)の一部を省略し、あるいは、他の構成要素を付加した構成としてもよい。
4). FIG. 15 is a diagram (top view) illustrating an example of the moving object according to the present embodiment. A moving body 400 shown in FIG. 15 includes controllers 420, 430, and 440 that perform various controls such as a real-time clock 410, an engine system, a brake system, and a keyless entry system, a battery 450, and a backup battery 460. . Note that the mobile body of the present embodiment may have a configuration in which some of the components (each unit) in FIG. 15 are omitted or other components are added.

リアルタイムクロック410は、不図示の発振回路(発振用回路の一例)を備えており、バッテリー450は、発振回路のVCC端子に電力を供給する。バックアップ用バッテリー460は、発振回路のVBA端子に電力を供給する。   The real-time clock 410 includes an oscillation circuit (not shown) (an example of an oscillation circuit), and the battery 450 supplies power to the VCC terminal of the oscillation circuit. The backup battery 460 supplies power to the VBA terminal of the oscillation circuit.

この発振回路は、VCC端子の電圧がしきい値電圧以上の時は、VCC端子の電圧をVOUT端子に出力し、VCC端子の電圧がしきい値電圧よりも低い時は、VBA端子の電圧をVOUT端子に出力する。   This oscillation circuit outputs the voltage at the VCC terminal to the VOUT terminal when the voltage at the VCC terminal is equal to or higher than the threshold voltage, and the voltage at the VBA terminal when the voltage at the VCC terminal is lower than the threshold voltage. Output to the VOUT terminal.

コントローラー420,430,440には、発振回路のVOUT端子を介してメイン電源あるいはバックアップ電源から電力が供給される。   Power is supplied to the controllers 420, 430, and 440 from the main power source or the backup power source via the VOUT terminal of the oscillation circuit.

リアルタイムクロック410として、例えば上記実施形態のリアルタイムクロック1を適用することにより、あるいは、発振回路として、例えば上記実施形態の発振回路2を適用することにより、信頼性の高い移動体を実現することができる。なお、本実施形態の移動体400は、リアルタイムクロック410に代えて発振器を用いてもよく、当該発振器として、例えば上記実施形態の発振器200を適用することができる。   By applying, for example, the real-time clock 1 of the above-described embodiment as the real-time clock 410, or by applying, for example, the oscillation circuit 2 of the above-described embodiment as an oscillation circuit, a highly reliable moving body can be realized. it can. Note that the moving body 400 of this embodiment may use an oscillator instead of the real-time clock 410, and for example, the oscillator 200 of the above-described embodiment can be applied as the oscillator.

このような移動体400としては種々の移動体が考えられ、例えば、自動車(電気自動車も含む)、ジェット機やヘリコプター等の航空機、船舶、ロケット、人工衛星等が挙げられる。   As such a moving body 400, various moving bodies can be considered, and examples thereof include automobiles (including electric automobiles), aircraft such as jets and helicopters, ships, rockets, and artificial satellites.

5.変形例
本発明は本実施形態に限定されず、本発明の要旨の範囲内で種々の変形実施が可能である。
5. The present invention is not limited to this embodiment, and various modifications can be made within the scope of the present invention.

例えば、上記実施形態では、発振回路2に電源投入後、カウント信号cnt[9:0]が64になる時にスイッチ切り替え動作が開始され、その後、カウント信号cnt[9:0]が512になる時に温度補償動作が開始されることで、発振回路2の起動後、先にスイッチ切り替え動作が行われた後で、温度補償動作が行われるようになっているが、先に温度補償動作が行われた後で、スイッチ切り替え動作が行われるように変形してもよい。   For example, in the above embodiment, after the oscillation circuit 2 is powered on, the switch switching operation is started when the count signal cnt [9: 0] becomes 64, and then the count signal cnt [9: 0] becomes 512. Since the temperature compensation operation is started, the temperature compensation operation is performed after the switch switching operation is performed first after the oscillation circuit 2 is started, but the temperature compensation operation is performed first. After that, it may be modified so that the switch switching operation is performed.

図4のフローチャートを、例えば、ステップS18でカウント信号cnt[9:0]が100又は612か否かを判定し、かつ、ステップS24でカウント信号cnt[9:0]が164か否かを判定するように変更することで、発振回路2に電源投入後、カウント信号cnt[9:0]が100になる時に温度補償動作が開始され、その後、カウント信号cnt[9:0]が164になる時にスイッチ切り替え動作が開始される。すなわち、発振回路2の起動後、先に温度補償動作が行われた後で、スイッチ切り替え動作が行われるようになる。   In the flowchart of FIG. 4, for example, it is determined in step S18 whether the count signal cnt [9: 0] is 100 or 612, and in step S24, it is determined whether the count signal cnt [9: 0] is 164. Thus, after the oscillation circuit 2 is turned on, the temperature compensation operation is started when the count signal cnt [9: 0] becomes 100, and then the count signal cnt [9: 0] becomes 164. Sometimes a switch change operation is started. That is, the switch switching operation is performed after the temperature compensation operation is performed first after the oscillation circuit 2 is started.

このようにすれば、温度補償発振回路10の出力周波数はスイッチ切り替え動作が行われる前に温度補償された状態となり、温度補償発振回路10の出力信号に基づいて動作する計時部70等の回路が安定するまでに要する起動時間を短くすることができる。   In this way, the output frequency of the temperature compensated oscillation circuit 10 is in a state in which the temperature is compensated before the switch switching operation is performed, and a circuit such as the time measuring unit 70 that operates based on the output signal of the temperature compensated oscillation circuit 10 is provided. The startup time required for stabilization can be shortened.

また、例えば、上記実施形態では、温度補償動作とリフレッシュ動作の周期を0.5秒に固定しているが、レジスター設定等により温度補償動作やリフレッシュ動作の周期を可変に設定可能に構成してもよい。同様に、上記実施形態では、スイッチ切り替え動作の周期を1秒に固定しているが、レジスター設定等によりスイッチ切り替え動作の周期を可変に設定可能に構成してもよい。   Further, for example, in the above embodiment, the cycle of the temperature compensation operation and the refresh operation is fixed to 0.5 seconds, but the cycle of the temperature compensation operation and the refresh operation can be variably set by register setting or the like. Also good. Similarly, in the above embodiment, the cycle of the switch switching operation is fixed to 1 second, but the cycle of the switch switching operation may be variably set by register setting or the like.

また、例えば、上記実施形態では、1回のスイッチ切り替え動作の時間を2msに固定しているが、レジスター設定等によりスイッチ切り替え動作の時間を可変に設定可能に構成してもよい。   Further, for example, in the above embodiment, the time for one switch switching operation is fixed to 2 ms, but the switch switching operation time may be variably set by register setting or the like.

また、例えば、上記実施形態において、温度補償発振回路10の発振部12が可変容量回路124,125に代えて可変容量素子(可変容量ダイオード)を備え、温度補償部14が温度検出信号T_SENSに応じて可変容量素子(可変容量ダイオード)への印加電圧を生成する回路を備えるように変形してもよい。   Further, for example, in the above embodiment, the oscillation unit 12 of the temperature compensated oscillation circuit 10 includes a variable capacitance element (variable capacitance diode) instead of the variable capacitance circuits 124 and 125, and the temperature compensation unit 14 responds to the temperature detection signal T_SENS. It may be modified to include a circuit for generating a voltage applied to the variable capacitance element (variable capacitance diode).

また、例えば、上記実施形態において、温度補償動作に、不揮発性メモリー80に温度補償データを書き込む動作が含まれるように変形してもよい。例えば、制御部20が、不揮発性メモリー80から読み出した温度補償データTCOMPDを不揮発性メモリー80に書き込む(リフレッシュ)処理をさらに行うようにしてもよい。また、例えば、制御部20が、A/D変換データADOに応じた温度補償データを計算し、不揮発性メモリー80に書き込むようにしてもよい。   Further, for example, in the above embodiment, the temperature compensation operation may be modified so as to include an operation of writing temperature compensation data in the nonvolatile memory 80. For example, the control unit 20 may further perform (refresh) processing for writing the temperature compensation data TCOMPD read from the nonvolatile memory 80 into the nonvolatile memory 80. Further, for example, the control unit 20 may calculate temperature compensation data corresponding to the A / D conversion data ADO and write the temperature compensation data in the nonvolatile memory 80.

また、例えば、上記実施形態では、スイッチ50及び電源監視回路60は、メイン電源4とバックアップ電源5のうち少なくとも1つを選択して電源部30への電力供給を制御しているが、3つ以上の電源のうち少なくとも1つを選択して電源部30への電力供給を制御するように変形してもよい。   Further, for example, in the above embodiment, the switch 50 and the power supply monitoring circuit 60 select at least one of the main power supply 4 and the backup power supply 5 to control the power supply to the power supply unit 30. You may deform | transform so that the power supply to the power supply part 30 may be controlled by selecting at least one of the above power supplies.

なお、上記実施形態では、本発明における「補償部」あるいは「補償手段」の一例として、発振部12の温度補償動作を行う温度補償部14を例に挙げたが、本発明における「補償部」あるいは「補償手段」は、発振部12の温度補償動作以外の補償動作を行ってもよいし、発振部12以外の回路の補償動作(例えば、レギュレーター34の出力電圧の補償動作など)を行ってもよい。   In the above embodiment, as an example of the “compensation unit” or “compensation unit” in the present invention, the temperature compensation unit 14 that performs the temperature compensation operation of the oscillation unit 12 has been described as an example, but the “compensation unit” in the present invention. Alternatively, the “compensation unit” may perform a compensation operation other than the temperature compensation operation of the oscillation unit 12 or perform a compensation operation of a circuit other than the oscillation unit 12 (for example, a compensation operation of the output voltage of the regulator 34). Also good.

上述した本実施形態及び各変形例は一例であって、これらに限定されるわけではない。例えば、本実施形態及び各変形例を適宜組み合わせることも可能である。   This embodiment and each modification mentioned above are examples, Comprising: It is not necessarily limited to these. For example, it is also possible to combine this embodiment and each modification suitably.

本発明は、実施の形態で説明した構成と実質的に同一の構成(例えば、機能、方法及び結果が同一の構成、あるいは目的及び効果が同一の構成)を含む。また、本発明は、実施の形態で説明した構成の本質的でない部分を置き換えた構成を含む。また、本発明は、実施の形態で説明した構成と同一の作用効果を奏する構成又は同一の目的を達成することができる構成を含む。また、本発明は、実施の形態で説明した構成に公知技術を付加した構成を含む。   The present invention includes configurations that are substantially the same as the configurations described in the embodiments (for example, configurations that have the same functions, methods, and results, or configurations that have the same objects and effects). In addition, the invention includes a configuration in which a non-essential part of the configuration described in the embodiment is replaced. In addition, the present invention includes a configuration that exhibits the same operational effects as the configuration described in the embodiment or a configuration that can achieve the same object. Further, the invention includes a configuration in which a known technique is added to the configuration described in the embodiment.

1 リアルタイムクロック、2 発振回路、3 振動子、4 メイン電源、5 バックアップ電源、6 制限抵抗、8 CPU、10 温度補償発振回路、12 発振部、14 温度補償部、20 制御部、22 分周回路、24 タイミング生成部、26 メモリー制御部、28 レジスター部、30 電源部、32 基準電源回路、34 レギュレーター、36 温度センサー、40 パワーオンリセット回路、50 スイッチ、60 電源監視回路、62 コンパレーター、64 スイッチ回路、66 抵抗、68 抵抗、70
計時部、80 不揮発性メモリー、90 シリアルインターフェース(I/F)回路、121 インバーター回路、123 抵抗、123 抵抗、124 可変容量回路、125 可変容量回路、142 レジスター、144 演算回路、146 A/D変換器、200 発振器、300 電子機器、310 リアルタイムクロック、312 発振回路、314 振動子、316 バックアップ電源、320 CPU、330 操作部、340
ROM、350 RAM、360 通信部、370 表示部、380 メイン電源、4
00 移動体、410 リアルタイムクロック、420,430,440 コントローラー、450 バッテリー、460 バックアップ用バッテリー
1 real time clock, 2 oscillation circuit, 3 oscillator, 4 main power supply, 5 backup power supply, 6 limiting resistor, 8 CPU, 10 temperature compensation oscillation circuit, 12 oscillation unit, 14 temperature compensation unit, 20 control unit, 22 frequency divider circuit , 24 Timing generation unit, 26 Memory control unit, 28 Register unit, 30 Power supply unit, 32 Reference power supply circuit, 34 Regulator, 36 Temperature sensor, 40 Power-on reset circuit, 50 Switch, 60 Power supply monitoring circuit, 62 Comparator, 64 Switch circuit, 66 resistor, 68 resistor, 70
Timekeeping unit, 80 non-volatile memory, 90 serial interface (I / F) circuit, 121 inverter circuit, 123 resistor, 123 resistor, 124 variable capacitance circuit, 125 variable capacitance circuit, 142 register, 144 arithmetic circuit, 146 A / D conversion 200, oscillator, 300 electronic device, 310 real-time clock, 312 oscillation circuit, 314 oscillator, 316 backup power supply, 320 CPU, 330 operation unit, 340
ROM, 350 RAM, 360 communication unit, 370 display unit, 380 main power supply, 4
00 Mobile, 410 Real-time clock, 420, 430, 440 Controller, 450 battery, 460 Backup battery

Claims (13)

補償手段と、
前記補償手段からの信号により補償される発振手段と、
前記発振手段に電力を供給する第1の電力供給手段と、
電源投入後に、前記第1の電力供給手段を第1の状態にし、前記第1の電力供給手段が前記第1の状態になった後に前記第1の電力供給手段を第2の状態にし、前記第1の電力供給手段が前記第2の状態になった後に前記補償手段を動作させる制御手段と、を備えている、発振用回路。
Compensation means;
Oscillating means compensated by a signal from the compensating means;
First power supply means for supplying power to the oscillation means;
After the power is turned on, the first power supply means is set to the first state, and after the first power supply means is set to the first state, the first power supply means is set to the second state, and And an oscillating circuit comprising: a control unit that operates the compensation unit after the first power supply unit enters the second state.
前記第1の電力供給手段を前記第2の状態にするための設定情報が記憶されている記憶手段をさらに備え、
前記制御手段は、
前記記憶手段から前記設定情報を読み出して前記第1の電力供給手段を前記第2の状態とする、請求項1に記載の発振用回路。
A storage unit storing setting information for setting the first power supply unit to the second state;
The control means includes
The oscillation circuit according to claim 1, wherein the setting information is read from the storage unit, and the first power supply unit is set to the second state.
前記補償手段の動作の後に、前記制御手段が前記記憶手段から前記設定情報を読み出して前記第1の電力供給手段を前記第2の状態にする動作と前記補償手段の動作とが時間的に重ならずに繰り返される、請求項2に記載の発振回路。   After the operation of the compensation unit, the operation of the control unit reading the setting information from the storage unit to bring the first power supply unit into the second state and the operation of the compensation unit overlap in time. 3. The oscillation circuit according to claim 2, wherein the oscillation circuit is repeated instead. 前記第1の状態では、前記第1の電力供給手段から前記発振手段に供給される電力が前記第2の状態よりも大きい、請求項1乃至3のいずれか一項に記載の発振用回路。   4. The oscillation circuit according to claim 1, wherein in the first state, power supplied from the first power supply unit to the oscillation unit is larger than that in the second state. 5. 複数の第2の電力供給手段のうち少なくとも1つを選択して前記第1の電力供給手段に接続する電源切り替え手段をさらに備え、
前記第1の電力供給手段は、さらに前記補償手段に電力を供給し、
前記補償手段の動作と前記電源切り替え手段の動作とが重ならない、請求項1乃至4のいずれか一項に記載の発振用回路。
A power supply switching means for selecting at least one of the plurality of second power supply means and connecting to the first power supply means;
The first power supply means further supplies power to the compensation means,
5. The oscillation circuit according to claim 1, wherein the operation of the compensation unit and the operation of the power supply switching unit do not overlap.
請求項1乃至5のいずれか一項に記載の発振用回路と、振動子と、を備えている、発振器。   An oscillator comprising the oscillation circuit according to claim 1 and a vibrator. 請求項1乃至5のいずれか一項に記載の発振用回路、又は請求項6に記載の発振器を備えている、電子機器。   An electronic device comprising the oscillation circuit according to claim 1 or the oscillator according to claim 6. 請求項1乃至5のいずれか一項に記載の発振用回路、又は請求項6に記載の発振器を備えている、移動体。   A moving body comprising the circuit for oscillation according to any one of claims 1 to 5 or the oscillator according to claim 6. 振動子が接続される発振部と、前記発振部に電力を供給する電源部と、補償部と、を備えている発振回路の制御方法であって、
電源投入後に、前記電源部を第1の状態にし、
前記電源部が前記第1の状態になった後、前記電源部を第2の状態にし、
前記電源部を前記第2の状態にした後、前記補償部を動作させる、発振回路の制御方法。
An oscillation circuit control method comprising: an oscillation unit to which an oscillator is connected; a power supply unit that supplies power to the oscillation unit; and a compensation unit.
After turning on the power, the power supply unit is set to the first state,
After the power supply unit is in the first state, the power supply unit is in the second state,
A control method of an oscillation circuit, wherein the compensation unit is operated after the power supply unit is set to the second state.
前記発振回路は、前記電源部を前記第2の状態にするための設定情報が記憶されている記憶部をさらに備え、
前記電源部が前記第1の状態になった後、前記記憶部から前記設定情報が読み出されて前記電源部を前記第2の状態にする、請求項9に記載の発振回路の制御方法。
The oscillation circuit further includes a storage unit that stores setting information for setting the power supply unit to the second state,
10. The method of controlling an oscillation circuit according to claim 9, wherein after the power supply unit is in the first state, the setting information is read from the storage unit and the power supply unit is set to the second state. 11.
前記補償部の動作の後に、前記記憶部から前記設定情報が読み出されて前記電源部を前記第2の状態にする動作と前記補償部の動作とが時間的に重ならずに繰り返される、請求項10に記載の発振回路の制御方法。   After the operation of the compensation unit, the setting information is read from the storage unit and the operation of setting the power supply unit in the second state and the operation of the compensation unit are repeated without overlapping in time. The method for controlling an oscillation circuit according to claim 10. 前記第1の状態では、前記電源部から前記発振部に供給される電力が前記第2の状態よりも大きい、請求項9乃至11のいずれか一項に記載の発振回路の制御方法。   12. The method of controlling an oscillation circuit according to claim 9, wherein in the first state, power supplied from the power supply unit to the oscillation unit is larger than that in the second state. 前記発振回路は、
複数の電力供給源のうち少なくとも1つを選択して前記電源部に接続する電源切り替え部をさらに備え、
前記電源部は、さらに前記補償部に電力を供給し、
前記補償部の動作と前記電源切り替え部の動作とが重ならない、請求項9乃至12のいずれか一項に記載の発振回路の制御方法。
The oscillation circuit is
A power switching unit that selects at least one of a plurality of power supply sources and connects to the power source;
The power supply unit further supplies power to the compensation unit,
The method for controlling an oscillation circuit according to claim 9, wherein the operation of the compensation unit and the operation of the power supply switching unit do not overlap.
JP2013165387A 2013-08-08 2013-08-08 OSCILLATOR CIRCUIT CONTROL METHOD, OSCILLATION CIRCUIT, OSCILLATOR, ELECTRONIC DEVICE, AND MOBILE BODY Active JP6237992B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013165387A JP6237992B2 (en) 2013-08-08 2013-08-08 OSCILLATOR CIRCUIT CONTROL METHOD, OSCILLATION CIRCUIT, OSCILLATOR, ELECTRONIC DEVICE, AND MOBILE BODY

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013165387A JP6237992B2 (en) 2013-08-08 2013-08-08 OSCILLATOR CIRCUIT CONTROL METHOD, OSCILLATION CIRCUIT, OSCILLATOR, ELECTRONIC DEVICE, AND MOBILE BODY

Publications (2)

Publication Number Publication Date
JP2015035706A true JP2015035706A (en) 2015-02-19
JP6237992B2 JP6237992B2 (en) 2017-11-29

Family

ID=52543942

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013165387A Active JP6237992B2 (en) 2013-08-08 2013-08-08 OSCILLATOR CIRCUIT CONTROL METHOD, OSCILLATION CIRCUIT, OSCILLATOR, ELECTRONIC DEVICE, AND MOBILE BODY

Country Status (1)

Country Link
JP (1) JP6237992B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017092744A (en) * 2015-11-12 2017-05-25 セイコーエプソン株式会社 Circuit device, oscillator, electronic apparatus, and movable body
JP2017123631A (en) * 2016-01-06 2017-07-13 セイコーエプソン株式会社 Circuit device, oscillator, electronic device, and mobile body
JP2020115598A (en) * 2019-01-17 2020-07-30 新日本無線株式会社 LIN receiver
JP7459704B2 (en) 2020-07-17 2024-04-02 セイコーエプソン株式会社 Circuit device and real-time clock device

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010523268A (en) 2007-04-12 2010-07-15 ザ ジェネラル ホスピタル コーポレーション Biomimetic vascular network and device using the same

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004325125A (en) * 2003-04-22 2004-11-18 Tamagawa Seiki Co Ltd Method of preventing voltage delay of backup battery in optical encoder, and optical encoder
JP2009038432A (en) * 2007-07-31 2009-02-19 Epson Toyocom Corp Temperature compensated oscillation circuit, real time clock device, and electronic apparatus
JP2009219176A (en) * 2008-03-07 2009-09-24 Ricoh Co Ltd Backup power circuit for electronic circuit

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004325125A (en) * 2003-04-22 2004-11-18 Tamagawa Seiki Co Ltd Method of preventing voltage delay of backup battery in optical encoder, and optical encoder
JP2009038432A (en) * 2007-07-31 2009-02-19 Epson Toyocom Corp Temperature compensated oscillation circuit, real time clock device, and electronic apparatus
JP2009219176A (en) * 2008-03-07 2009-09-24 Ricoh Co Ltd Backup power circuit for electronic circuit

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017092744A (en) * 2015-11-12 2017-05-25 セイコーエプソン株式会社 Circuit device, oscillator, electronic apparatus, and movable body
JP2017123631A (en) * 2016-01-06 2017-07-13 セイコーエプソン株式会社 Circuit device, oscillator, electronic device, and mobile body
CN107040208A (en) * 2016-01-06 2017-08-11 精工爱普生株式会社 Circuit arrangement, oscillator, electronic equipment and moving body
CN107040208B (en) * 2016-01-06 2022-03-22 精工爱普生株式会社 Circuit device, oscillator, electronic apparatus, and moving object
JP2020115598A (en) * 2019-01-17 2020-07-30 新日本無線株式会社 LIN receiver
JP7236866B2 (en) 2019-01-17 2023-03-10 日清紡マイクロデバイス株式会社 LIN receiver
JP7459704B2 (en) 2020-07-17 2024-04-02 セイコーエプソン株式会社 Circuit device and real-time clock device

Also Published As

Publication number Publication date
JP6237992B2 (en) 2017-11-29

Similar Documents

Publication Publication Date Title
JP6245424B2 (en) OSCILLATOR CIRCUIT CONTROL METHOD, OSCILLATION CIRCUIT, OSCILLATOR, ELECTRONIC DEVICE, AND MOBILE BODY
TWI647904B (en) Oscillation circuit, oscillator, electronic device, moving object, and manufacturing method of oscillator
US9444467B2 (en) Oscillator, electronic device and moving object
JP6540943B2 (en) Semiconductor circuit device, oscillator, electronic device and moving body
JP6237992B2 (en) OSCILLATOR CIRCUIT CONTROL METHOD, OSCILLATION CIRCUIT, OSCILLATOR, ELECTRONIC DEVICE, AND MOBILE BODY
JP6686329B2 (en) Oscillation circuit, electronic equipment and mobile
US9306580B2 (en) Oscillation circuit, oscillator, electronic device, mobile object, and oscillator manufacturing method
US20160277031A1 (en) Oscillator, Electronic Apparatus, and Moving Object
US9389636B2 (en) Clock generating device, electronic apparatus, moving object, clock generating method
CN106487360B (en) Oscillation circuit, electronic apparatus, and moving object
JP6070114B2 (en) Integrated circuit device, vibration device and electronic equipment
JP7151539B2 (en) Real-time clock modules, electronic devices, and moving objects
JP6569258B2 (en) Oscillator, electronic device and moving object
JP7243229B2 (en) Oscillators, electronic devices and moving bodies
JP7234656B2 (en) Oscillation circuits, oscillators, electronic devices and moving bodies
JP2016178602A (en) Method of manufacturing oscillator
JP2016187155A (en) Method of manufacturing oscillator
JP2016178607A (en) Method of manufacturing oscillator
JP2016152540A (en) Adjustment method of oscillation circuit, oscillation circuit, electronic apparatus and mobile

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20160802

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20170615

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170719

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170915

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: 20171004

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20171017

R150 Certificate of patent or registration of utility model

Ref document number: 6237992

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150