JP5590174B2 - Temperature compensated oscillation circuit, real-time clock device and electronic equipment - Google Patents

Temperature compensated oscillation circuit, real-time clock device and electronic equipment Download PDF

Info

Publication number
JP5590174B2
JP5590174B2 JP2013056490A JP2013056490A JP5590174B2 JP 5590174 B2 JP5590174 B2 JP 5590174B2 JP 2013056490 A JP2013056490 A JP 2013056490A JP 2013056490 A JP2013056490 A JP 2013056490A JP 5590174 B2 JP5590174 B2 JP 5590174B2
Authority
JP
Japan
Prior art keywords
temperature
circuit
flag
real
temperature compensation
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.)
Active
Application number
JP2013056490A
Other languages
Japanese (ja)
Other versions
JP2013150344A (en
Inventor
勤 荻原
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 JP2013056490A priority Critical patent/JP5590174B2/en
Publication of JP2013150344A publication Critical patent/JP2013150344A/en
Application granted granted Critical
Publication of JP5590174B2 publication Critical patent/JP5590174B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、温度補償型発振回路、リアルタイムクロック装置および電子機器に関するものである。   The present invention relates to a temperature compensated oscillation circuit, a real-time clock device, and an electronic device.

リアルタイムクロック装置は、発振器から入力したクロック信号を分周して1[Hz]の周波数を得て、これを計時に利用している。発振器は、圧電振動子と発振回路を備えており、発振回路から圧電振動子に電気信号を供給して圧電振動子を振動させ、発振回路と圧電振動子の間で信号を増幅することにより発振して、クロック信号として出力している。   The real-time clock device divides the clock signal input from the oscillator to obtain a frequency of 1 [Hz], and uses this time. The oscillator includes a piezoelectric vibrator and an oscillation circuit. The oscillator oscillates by supplying an electric signal from the oscillation circuit to the piezoelectric vibrator to vibrate the piezoelectric vibrator and amplifying the signal between the oscillation circuit and the piezoelectric vibrator. And output as a clock signal.

ところで圧電振動子は、周囲温度が変わると振動する周波数が変化するので、圧電振動子の周囲温度の変化に伴って発振周波数も変化することになる。このためリアルタイムクロック装置では、時計精度を向上するために、圧電振動子の周囲温度にかかわらず一定の発振周波数を出力するよう温度補償型発振器を用いることがある。ここで、一般に、圧電振動子として音叉型振動子を用いるリアルタムクロック装置の場合、70℃環境下では月に3分程度の遅れを生じるが、温度補償を行える音叉型振動子を用いれば誤差は数秒以下に抑えられる。なお温度補償型発振器を用いたリアルタイムクロック装置について開示したものには、特許文献1,2がある。   By the way, since the vibration frequency of the piezoelectric vibrator changes when the ambient temperature changes, the oscillation frequency also changes as the ambient temperature of the piezoelectric vibrator changes. For this reason, in order to improve clock accuracy, a real-time clock device may use a temperature compensated oscillator so as to output a constant oscillation frequency regardless of the ambient temperature of the piezoelectric vibrator. Here, in general, in the case of a real-time clock device using a tuning fork type vibrator as a piezoelectric vibrator, a delay of about 3 minutes per month occurs in a 70 ° C. environment, but if a tuning fork type vibrator capable of temperature compensation is used, the error will be Less than a few seconds. Patent Documents 1 and 2 disclose a real-time clock device using a temperature compensated oscillator.

そして、このようなリアルタイムクロック装置を搭載した電子機器では、このシステムがダウンしても正確な計時動作を維持する必要があるため、メイン電源が落ちてもリアルタイムクロック装置がバックアップ電源で駆動するようになっているものがある。   And in an electronic device equipped with such a real-time clock device, it is necessary to maintain an accurate timekeeping operation even if this system goes down, so that the real-time clock device is driven by a backup power source even if the main power is turned off. There is something that is.

特開2007−67675号公報JP 2007-67675 A 特開2007−67676号公報JP 2007-67676 A

リアルタイムクロック装置や温度補償型発振器に供給される電源電圧が低下して、リアルタイムクロック装置や温度補償型発振器が正常に動作できなくなると、周波数の温度補償を正確に行えなくなったり、温度補償動作が止まったりすることになる。このときには、発振周波数が温度に対して一定でなくなるので、リアルタイムクロック装置で計時している時刻が狂ってしまい、正確な時刻を得られなくなっていた。   If the power supply voltage supplied to the real-time clock device or temperature-compensated oscillator drops and the real-time clock device or temperature-compensated oscillator cannot operate normally, frequency temperature compensation cannot be performed accurately or the temperature-compensated operation cannot be performed. It will stop. At this time, since the oscillation frequency is not constant with respect to the temperature, the time measured by the real-time clock device is distorted, and an accurate time cannot be obtained.

また温度補償型発振器がディジタル方式の場合、ディジタルで表された周囲温度の測定結果に1対1に対応した補正値を利用して、周波数を調整している。このときに圧電振動子の周囲温度が温度補償を行える温度の範囲外であると、この温度補償範囲の上限または下限の補正値を適用していたので、結果的に温度補償が不可能な状態になっていた。したがって、リアルタイムクロック装置で計時している時刻が狂ってしまい、正確な時刻を得られなくなっていた。   When the temperature-compensated oscillator is a digital system, the frequency is adjusted by using a correction value corresponding to the one-to-one correspondence with the measurement result of the ambient temperature expressed in digital. At this time, if the ambient temperature of the piezoelectric vibrator is outside the temperature range where temperature compensation is possible, the correction value for the upper or lower limit of the temperature compensation range has been applied. It was. Therefore, the time measured by the real-time clock device is distorted, and the accurate time cannot be obtained.

ところで、前述したように正確な時刻が得られなくなった場合でも、リアルタイムクロック装置単独では、現在の計時している時刻が正しいのか否かを判断できない。すなわち、以前に、リアルタイムクロック装置に前述した不具合が発生して、正確な計時ができなくなった場合でも、現在では不具合が復旧して再度計時している場合もある。このときには、過去に生じた不具合の分だけ、現在計時している時刻がずれることになるが、リアルタイムクロック装置には過去に生じた不具合が記録されていないので、現在計時している時刻が正確なのか否かを判断できない。   By the way, even when the accurate time cannot be obtained as described above, the real-time clock device alone cannot determine whether or not the current time is correct. In other words, even when the above-described trouble has occurred in the real-time clock device and accurate time measurement cannot be performed before, there is a case where the trouble has been recovered and time is being measured again. At this time, the current time is shifted by the amount of the trouble that has occurred in the past. However, since the trouble that has occurred in the past is not recorded in the real-time clock device, the time that is currently timed is accurate. Cannot judge whether or not.

また前述したものと同様のことは温度補償型発振器に対しても当てはまる。すなわち温度補償型発振器は、様々な電子機器に利用されているが、温度補償を行えなかったときには、一定の周波数のクロック信号を出力できなくなる。この場合、他の電子部品に影響を与えることになるが、温度補償型発振器単独では、温度補償を行えなかった時があるのか否か判断できず、他の電子部品に悪影響を及ぼしていた可能性があることを検出できなかった。   The same thing as described above also applies to the temperature compensated oscillator. That is, the temperature-compensated oscillator is used in various electronic devices. When temperature compensation cannot be performed, a clock signal having a constant frequency cannot be output. In this case, other electronic components will be affected, but the temperature-compensated oscillator alone could not determine whether there was a time when temperature compensation could not be performed and could have adversely affected other electronic components. It was not possible to detect that there is sex.

本発明は、不具合の発生を記録する温度補償型発振回路、リアルタイムクロック装置および電子機器を提供することを目的とする。   An object of the present invention is to provide a temperature-compensated oscillation circuit, a real-time clock device, and an electronic device that record the occurrence of a malfunction.

本発明は、上述の課題の少なくとも一部を解決するためになされたものであり、以下の形態または適用例として実現することが可能である。
本発明に係る温度補償型発振回路は、供給電圧により動作する温度補償型発振回路であって、圧電振動子と、前記圧電振動子に接続されクロック信号を出力する発振回路と、前記圧電振動子の周囲温度の測定結果であるアナログ信号を周囲温度ディジタル信号に変換して出力するアナログ/ディジタル変換器と、前記クロック信号の周波数を調整するためのコンデンサと前記周囲温度ディジタル信号に基づいて制御されるスイッチとが直列に接続されている直列回路を複数有するとともに、複数の前記直列回路の一方の端子が接地されており、他方の端子が前記圧電振動子の一方の端子に接続されている、容量アレイを備えた補償回路と、温度補償フラグを保持するレジスタと、前記供給電圧が基準の電圧以下であることを検出して検出信号を出力する第1低電圧検出回路と、前記検出信号が供給されて、前記補償回路の前記周波数を調整する動作を停止させるとともに、前記温度補償フラグの値を前記補償回路の動作が停止したことを示す値に変更する制御部と、を備えていることを特徴とする。
また、上記構成に加えて、複数の前記直列回路の前記コンデンサの容量値は、互いに異なることを特徴とすることができる。また、前記レジスタは、温度補償範囲外フラグを更に保持し、前記アナログ/ディジタル変換器は、前記周囲温度が温度補償範囲外であることを検出して、前記温度補償範囲外フラグの値を前記温度補償範囲外であることを示す値に変更する、ことを特徴とする構成としてよい。
更に、前記制御部は、前記クロック信号に基づき間欠的に前記周波数を調整することを特徴とする温度補償型発振回路とすることができる。
本発明に係るリアルタイムクロック装置は、上記記載の温度補償型発振回路を備えたリアルタイムクロック装置であって、前記発振回路の後段に接続され、前記クロック信号を分周する分周器と、前記分周器の後段に接続した時計・カレンダー回路と、前記供給電圧が基準の電圧以下であることを検出する第2低電圧検出回路と、を備えており前記レジスタは、低電圧フラグを更に保持し、前記第2低電圧検出回路で前記供給電圧が基準の電圧以下であることを検出した信号が供給されて前記低電圧フラグの値を基準の電圧以下の前記供給電圧を検出したことを示す値に変更することを特徴とする。
また、本発明に係るリアルタイムクロック装置は、供給電圧により動作するリアルタイムクロック装置であって、圧電振動子、前記圧電振動子に接続されクロック信号を出力する発振回路、前記圧電振動子の周囲温度の測定結果であるアナログ信号を周囲温度ディジタル信号に変換して出力するとともに、前記周囲温度が温度補償範囲外であることを検出するアナログ/ディジタル変換器、前記クロック信号の周波数を調整するためのコンデンサと前記周囲温度ディジタル信号に基づいて制御されるスイッチとが直列に接続された直列回路を複数有するとともに、複数の前記直列回路の一方の端子は接地されており他方の端子は前記圧電振動子の一方の端子に接続されている、容量アレイを備えている補償回路、前記供給電圧が基準の電圧以下であることを検出して第1の検出信号を出力する第1低電圧検出回路、および前記第1の検出信号が供給されて、前記周波数を調整する動作を停止させる制御部、を備えている温度補償型発振回路と、前記発振回路の後段に接続され、前記クロック信号を分周する分周器、前記分周器の後段に接続した時計・カレンダー回路、温度補償フラグと、温度補償範囲外フラグと、低電圧フラグとを保持するレジスタ、および前記供給電圧が基準の電圧以下であることを検出して第2の検出信号を出力する第2低電圧検出回路、を備え、前記温度補償フラグの値は、前記第1の検出信号が供給された前記制御部により、前記補償回路の動作が停止したことを示す値に変更され、前記温度補償範囲外フラグの値は、前記温度補償範囲外であることを検出した前記アナログ/ディジタル変換器により、前記温度補償範囲外であることを示す値に変更され、前記低電圧フラグの値は、前記第2の検出信号が供給された前記レジスタにより、前記供給電圧が基準の電圧以下であることを検出したことを示す値に変更される、リアルタイムクロック回路と、を備えたことを特徴とする。
上記構成において、複数の前記直列回路の前記コンデンサの容量値は、互いに異なることを特徴とする。
本発明に係る電子機器は、上記リアルタイムクロック装置を備えた電子機器であって、前記レジスタおよび前記時計・カレンダー回路と通信可能に接続された前記リアルタイムクロック装置の外部に設けられた演算処理装置、を有し、前記演算処理装置は、前記レジスタが保持する前記温度補償フラグ、前記温度補償範囲外フラグ、および前記低電圧フラグ、のうち少なくともいずれか1つのフラグが初期値から変更した値を検出して、タイムサーバから時刻情報を入力して、前記時刻情報を前記時計・カレンダー回路に設定することを特徴とする。また、上述したリアルタイムクロック装置を備えた電子機器であって、前記制御部は、前記クロック信号に基づき間欠的に前記周波数を調整するようにしてもよい。
本発明は、以下の適用例として実現することができる。
[適用例1]外部から供給される供給電圧により動作する温度補償型発振回路であって、圧電振動子と、前記圧電振動子に接続されクロック信号を出力する発振回路と、前記圧電振動子の周囲温度の測定結果をディジタル信号である周囲温度ディジタル信号に変換し出力するアナログ/ディジタル変換器と、前記周囲温度ディジタル信号に基づいて前記発振回路の前記クロック信号の発振周波数を調整する補償回路と、温度補償フラグを保持するレジスタと、前記供給電圧が予め設定された基準電圧以下であることを検出する第1低電圧検出回路と、を備え、前記第1低電圧検出回路で前記基準電圧以下の前記供給電圧を検出した場合、前記補償回路の前記発振周波数を調整する動作を停止させるとともに、前記温度補償フラグの値を前記補償回路による補償動作が停止したことを示す値に変更することを特徴とする温度補償型発振回路。
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 forms or application examples.
The temperature compensated oscillation circuit according to the present invention is a temperature compensated oscillation circuit that operates by a supply voltage, and includes a piezoelectric vibrator, an oscillation circuit that is connected to the piezoelectric vibrator and outputs a clock signal, and the piezoelectric vibrator An analog / digital converter that converts an analog signal, which is a measurement result of the ambient temperature, into an ambient temperature digital signal and outputs the analog signal, a capacitor for adjusting the frequency of the clock signal, and the ambient temperature digital signal. A plurality of series circuits that are connected in series with each other, one terminal of the plurality of series circuits is grounded, and the other terminal is connected to one terminal of the piezoelectric vibrator, A compensation circuit having a capacitance array, a register holding a temperature compensation flag, and a detection signal by detecting that the supply voltage is lower than a reference voltage A first low voltage detection circuit to output, and the detection signal being supplied to stop the operation of adjusting the frequency of the compensation circuit, and the operation of the compensation circuit to stop the value of the temperature compensation flag. And a control unit that changes the value to be indicated.
Further, in addition to the above configuration, the capacitance values of the capacitors of the plurality of series circuits may be different from each other. The register further holds a temperature compensation out-of-range flag, and the analog / digital converter detects that the ambient temperature is out of the temperature compensation range, and sets the value of the temperature compensation out-of-range flag as the value. A configuration may be adopted in which the value is changed to a value indicating that the temperature is out of the temperature compensation range.
Further, the control unit may be a temperature compensated oscillation circuit that adjusts the frequency intermittently based on the clock signal.
A real-time clock device according to the present invention is a real-time clock device including the temperature-compensated oscillation circuit described above, and is connected to a subsequent stage of the oscillation circuit and divides the clock signal, and the divider A clock / calendar circuit connected to the subsequent stage of the frequency divider, and a second low voltage detection circuit for detecting that the supply voltage is lower than a reference voltage, wherein the register further holds a low voltage flag. The second low voltage detection circuit is supplied with a signal that detects that the supply voltage is less than or equal to a reference voltage, and indicates that the value of the low voltage flag has detected the supply voltage that is less than or equal to the reference voltage. It is characterized by changing to.
The real-time clock device according to the present invention is a real-time clock device that operates by a supply voltage, and includes a piezoelectric vibrator, an oscillation circuit that is connected to the piezoelectric vibrator and outputs a clock signal, and an ambient temperature of the piezoelectric vibrator. An analog signal as a measurement result is converted into an ambient temperature digital signal and output, and an analog / digital converter for detecting that the ambient temperature is outside the temperature compensation range, and a capacitor for adjusting the frequency of the clock signal And a switch controlled based on the ambient temperature digital signal are connected in series, and one terminal of the plurality of series circuits is grounded, and the other terminal is connected to the piezoelectric vibrator. A compensation circuit having a capacitor array connected to one terminal, wherein the supply voltage is greater than a reference voltage; And a first low voltage detection circuit that outputs a first detection signal and a control unit that is supplied with the first detection signal and stops the operation of adjusting the frequency. A temperature-compensated oscillation circuit; a frequency divider connected to a subsequent stage of the oscillation circuit for dividing the clock signal; a clock / calendar circuit connected to a subsequent stage of the frequency divider; a temperature compensation flag; A register that holds a flag and a low voltage flag; and a second low voltage detection circuit that detects that the supply voltage is equal to or lower than a reference voltage and outputs a second detection signal. Is changed to a value indicating that the operation of the compensation circuit has been stopped by the control unit to which the first detection signal is supplied, and the value of the temperature compensation out-of-range flag is outside the temperature compensation range. Check that The analog / digital converter changes the value to indicate that it is outside the temperature compensation range, and the value of the low voltage flag is set by the register to which the second detection signal is supplied. And a real-time clock circuit that is changed to a value indicating that it is detected that the voltage is equal to or lower than a reference voltage.
In the above-described configuration, the capacitance values of the capacitors of the plurality of series circuits are different from each other.
An electronic apparatus according to the present invention is an electronic apparatus including the real-time clock device, and is an arithmetic processing device provided outside the real-time clock device that is communicably connected to the register and the clock / calendar circuit. The arithmetic processing unit detects a value obtained by changing at least one of the temperature compensation flag, the temperature compensation out-of-range flag, and the low voltage flag held by the register from an initial value. Then, time information is input from a time server, and the time information is set in the clock / calendar circuit. Moreover, it is an electronic device provided with the real-time clock device mentioned above, Comprising: You may make it the said control part adjust the said frequency intermittently based on the said clock signal.
The present invention can be realized as the following application examples.
Application Example 1 A temperature-compensated oscillation circuit that operates with a supply voltage supplied from the outside, and includes a piezoelectric vibrator, an oscillation circuit that is connected to the piezoelectric vibrator and outputs a clock signal, and the piezoelectric vibrator An analog / digital converter for converting the measurement result of the ambient temperature into an ambient temperature digital signal which is a digital signal and outputting it; a compensation circuit for adjusting the oscillation frequency of the clock signal of the oscillation circuit based on the ambient temperature digital signal; A register for holding a temperature compensation flag, and a first low voltage detection circuit for detecting that the supply voltage is equal to or lower than a preset reference voltage, wherein the first low voltage detection circuit is equal to or lower than the reference voltage. When the supply voltage is detected, the operation of adjusting the oscillation frequency of the compensation circuit is stopped and the value of the temperature compensation flag is corrected. Temperature-compensated oscillator circuit and changes to a value indicating that the compensation operation by the circuit is stopped.

これにより供給電圧が低電圧になって温度補償動作が停止等したときに、不具合の発生を記録できる。そしてユーザが温度補償フラグを確認することにより、過去に温度補償を行っていないときが有れば、その温度補償を行っていなかったことを確認できる。なお本適用例における第1低電圧検出回路は、外部からの供給電圧が予め設定された基準電圧以下であることを検出しているが、この形態には、外部からの供給電圧が予め設定された基準電圧よりも小さいことを検出する形態も含まれる。   As a result, when the supply voltage becomes low and the temperature compensation operation stops, the occurrence of a malfunction can be recorded. If the user confirms the temperature compensation flag and there is a case where temperature compensation has not been performed in the past, it can be confirmed that the temperature compensation has not been performed. Note that the first low voltage detection circuit in this application example detects that the externally supplied voltage is equal to or lower than a preset reference voltage. In this embodiment, the externally supplied voltage is preset. A mode of detecting that the voltage is smaller than the reference voltage is also included.

[適用例2]適用例1に記載の温度補償型発振回路であって、前記アナログ/ディジタル変換器は、前記周囲温度が温度補償範囲外であることを検出し、前記レジスタは、温度補償範囲外フラグを更に保持し、前記アナログ/ディジタル変換器で前記周囲温度が前記温度補償範囲外であることを検出した場合、前記温度補償範囲外フラグの値を前記周囲温度が前記温度補償範囲外であることを示す値に変更することを特徴とする温度補償型発振回路。
これにより圧電振動子の周囲温度が温度補償を行える温度範囲外になったときに、不具合の発生を記録できる。そしてユーザが温度補償範囲外フラグを確認することにより、過去に温度補償を行っていないときが有れば、その温度補償を行っていなかったことを確認できる。
Application Example 2 In the temperature compensated oscillation circuit according to Application Example 1, the analog / digital converter detects that the ambient temperature is out of a temperature compensation range, and the register has a temperature compensation range. When an outside flag is further held and the analog / digital converter detects that the ambient temperature is outside the temperature compensation range, the value outside the temperature compensation range is set to the value outside the temperature compensation range. A temperature-compensated oscillation circuit, characterized in that the value is changed to a value indicating that it exists.
As a result, when the ambient temperature of the piezoelectric vibrator is outside the temperature range where temperature compensation can be performed, the occurrence of a malfunction can be recorded. Then, by checking the out-of-temperature-compensation-range flag, the user can confirm that the temperature compensation has not been performed if the temperature compensation has not been performed in the past.

[適用例3]適用例1または2に記載の温度補償型発振回路であって、前記クロック信号を入力し、前記クロック信号の周波数に合わせて間欠的に前記発振周波数を調整させてなる制御部を更に備えたことを特徴とする温度補償型発振回路。
これにより補正値決定回路の消費電流を低減できるので、温度補償型発振回路を低消費電力化できる。
[Application Example 3] The temperature-compensated oscillation circuit according to Application Example 1 or 2, wherein the clock signal is input and the oscillation frequency is adjusted intermittently according to the frequency of the clock signal. A temperature compensated oscillation circuit, further comprising:
As a result, the current consumption of the correction value determination circuit can be reduced, and the power consumption of the temperature compensated oscillation circuit can be reduced.

[適用例4]適用例1ないし3のいずれかに記載の温度補償型発振回路を備えたリアルタイムクロック装置であって、前記発振回路の後段に接続され、前記クロック信号を分周する分周器と、前記分周器の後段に接続した時計・カレンダー回路と、前記供給電圧が予め設定された基準電圧以下であることを検出する第2低電圧検出回路と、前記レジスタは、低電圧フラグを更に保持し、前記第2低電圧検出回路に設定された前記基準電圧以下の前記供給電圧を検出した場合、前記低電圧フラグの値を前記基準電圧以下の前記供給電圧を検出したことを示す値に変更することを特徴とするリアルタイムクロック装置。
これにより圧電振動子の周囲温度が温度補償を行える温度範囲外になったときに、またリアルタイムクロック装置の各部へ供給される電源電圧が低電圧になったときに、それぞれの不具合の発生を記録できる。そしてユーザが各フラグを確認することにより、過去に温度補償を行っていないときが有れば、その温度補償を行っていなかったことを確認できる。なお本適用例における第2低電圧検出回路は、外部からの供給電圧が予め設定された基準電圧以下であることを検出しているが、この形態には、外部からの供給電圧が予め設定された基準電圧よりも小さいことを検出する形態も含まれる。
Application Example 4 A real-time clock device including the temperature-compensated oscillation circuit according to any one of Application Examples 1 to 3, wherein the divider is connected to a subsequent stage of the oscillation circuit and divides the clock signal. A clock / calendar circuit connected to a subsequent stage of the frequency divider, a second low voltage detection circuit for detecting that the supply voltage is equal to or lower than a preset reference voltage, and the register sets a low voltage flag. Further, when the supply voltage lower than the reference voltage set in the second low voltage detection circuit is detected, the value indicating that the supply voltage lower than the reference voltage is detected as the value of the low voltage flag A real-time clock device characterized by being changed to
As a result, when the ambient temperature of the piezoelectric vibrator goes out of the temperature range where temperature compensation can be performed, and when the power supply voltage supplied to each part of the real-time clock device becomes low, the occurrence of each defect is recorded. it can. Then, by checking each flag, the user can confirm that the temperature compensation has not been performed if the temperature compensation has not been performed in the past. Note that the second low voltage detection circuit in this application example detects that the externally supplied voltage is equal to or lower than a preset reference voltage. In this embodiment, the externally supplied voltage is preset. A mode of detecting that the voltage is smaller than the reference voltage is also included.

[適用例5]圧電振動子と、前記圧電振動子に接続されクロック信号を出力する発振回路と、前記発振回路の後段に接続し、前記クロック信号を分周し、互いに周期の異なる複数の分周信号を生成する分周器と、前記分周器の後段に接続し、計時を行う時計・カレンダー回路と、前記圧電振動子の周囲温度を測定してこの結果をディジタル信号である周囲温度ディジタル信号に変換するアナログ/ディジタル変換器を有し、前記周囲温度ディジタル信号に1対1に対応した前記クロック信号の発振周波数の補正値を出力する補正値決定回路と、前記補正値決定回路から前記補正値を入力して、前記発振回路から出力する前記クロック信号の周波数を温度に対して一定に保つ周波数調整手段と、外部からの供給電圧が予め設定された第1基準電圧以下であることを検出する第1低電圧検出回路と、外部からの供給電圧が予め設定された第2基準電圧以下であることを検出する第2低電圧検出回路と、前記分周器の複数の前記分周信号を入力し、いずれか1つの前記分周信号を出力するセレクタと、前記セレクタおよび前記第1低電圧検出回路の後段に接続し、前記セレクタから入力した前記分周信号の周波数に合わせて前記補正値決定回路を間欠的に動作させる制御部であって、前記第1低電圧検出回路で前記第1基準電圧以下の前記供給電圧を検出した結果を入力すると前記補正値決定回路から前記補正値の出力を停止させる制御を行う制御部と、温度補償範囲外フラグ、温度補償フラグおよび低電圧フラグを保持するレジスタと、を備え、前記アナログ/ディジタル変換器は、前記周囲温度が温度補償範囲外であることを検出し、該検出の結果を補償範囲外信号として出力し、前記アナログ/ディジタル変換器で前記周囲温度が前記温度補償範囲外であることを検出した場合、前記温度補償範囲外フラグの値を前記周囲温度が前記温度補償範囲外であることを示す値に変更し、前記第1低電圧検出回路で前記給電電圧が前記第1基準電圧以下であることを検出した場合、前記温度補償フラグの値を前記第1基準電圧以下になったことを示す値に変更し、第2低電圧検出回路で前記供給電圧が前記第2基準電圧以下であることを検出した場合、前記低電圧フラグの値を前記第2基準電圧以下になったことを示す値に変更することを特徴とするリアルタイムクロック装置。   Application Example 5 A piezoelectric vibrator, an oscillation circuit that is connected to the piezoelectric vibrator and outputs a clock signal, is connected to a subsequent stage of the oscillation circuit, divides the clock signal, and a plurality of components having different periods. A frequency divider that generates a frequency signal, a clock / calendar circuit that is connected to the subsequent stage of the frequency divider, and measures the ambient temperature of the piezoelectric vibrator, and the result is a digital signal of the ambient temperature digital A correction value determining circuit for outputting a correction value of the oscillation frequency of the clock signal corresponding to the ambient temperature digital signal in a one-to-one correspondence with the ambient temperature digital signal; A frequency adjusting means for inputting a correction value and keeping the frequency of the clock signal output from the oscillation circuit constant with respect to temperature, and a first reference voltage in which an external supply voltage is set in advance. A first low voltage detection circuit for detecting that the supply voltage from the outside is equal to or lower than a second reference voltage set in advance, and a plurality of the frequency dividers. The frequency-divided signal input from the selector is connected to a selector that inputs the frequency-divided signal and outputs one of the frequency-divided signals, and the selector and the first low-voltage detection circuit. The correction value determination circuit is configured to intermittently operate the correction value determination circuit in accordance with the correction value determination circuit when a result of detecting the supply voltage equal to or lower than the first reference voltage by the first low voltage detection circuit is input. A control unit that performs control to stop the output of the correction value from, and a register that holds a temperature compensation out-of-range flag, a temperature compensation flag, and a low voltage flag, and the analog / digital converter includes: When it is detected that the ambient temperature is outside the temperature compensation range, the result of the detection is output as a signal outside the compensation range, and the analog / digital converter detects that the ambient temperature is outside the temperature compensation range The value of the outside temperature compensation range flag is changed to a value indicating that the ambient temperature is outside the temperature compensation range, and the power supply voltage is less than or equal to the first reference voltage in the first low voltage detection circuit. Is detected, the value of the temperature compensation flag is changed to a value indicating that the temperature is less than or equal to the first reference voltage, and the supply voltage is less than or equal to the second reference voltage in a second low voltage detection circuit. If detected, the value of the low voltage flag is changed to a value indicating that the value is equal to or lower than the second reference voltage.

制御部は、第1低電圧検出回路で第1基準電圧以下であることを検出した場合、温度補償を停止させているので、温度補償フラグは、初期値から第1基準電圧以下になったことを示す値に変わると、供給電圧が低電圧になって温度補償動作が停止したことを示すことにもなる。これにより圧電振動子の周囲温度が温度補償を行える温度範囲外になったときに、またリアルタイムクロック装置の各部へ供給される電源電圧が低電圧になったときに、それぞれの不具合の発生を記録できる。そしてユーザが各フラグを確認することにより、過去に温度補償や計時を行っていないときが有れば、その温度補償や温度補償を行っていなかったことを確認できる。またフラグは事象毎に設けてあるので、計時が正確に行われなかった理由を判別でき、容易且つ迅速に不具合の理由を特定できる。なお本適用例における第1低電圧検出回路および第2低電圧検出回路は、外部からの供給電圧が予め設定された基準電圧以下であることを検出しているが、この形態には、外部からの供給電圧が予め設定された基準電圧よりも小さいことを検出する形態も含まれる。   When the control unit detects that the first low voltage detection circuit is equal to or lower than the first reference voltage, the control unit stops the temperature compensation, so that the temperature compensation flag is lower than the first reference voltage from the initial value. If the value is changed to a value indicating that the temperature compensation operation is stopped, the supply voltage becomes low. As a result, when the ambient temperature of the piezoelectric vibrator goes out of the temperature range where temperature compensation can be performed, and when the power supply voltage supplied to each part of the real-time clock device becomes low, the occurrence of each defect is recorded. it can. Then, by checking each flag, the user can confirm that the temperature compensation or the temperature compensation has not been performed if the temperature compensation or the time keeping has not been performed in the past. Further, since the flag is provided for each event, the reason why the timing is not accurately performed can be determined, and the reason for the failure can be specified easily and quickly. Note that the first low voltage detection circuit and the second low voltage detection circuit in this application example detect that the externally supplied voltage is equal to or lower than a preset reference voltage. A mode of detecting that the supply voltage is lower than a preset reference voltage is also included.

[適用例6]適用例4または5に記載のリアルタイムクロック装置を備えた電子機器であって、前記リアルタイムクロック装置の外部に演算処理装置を設けて、前記レジスタおよび前記時計・カレンダー回路と前記演算処理装置とが通信可能に接続しており、前記演算処理装置は、前記レジスタが保持する前記温度補償範囲外フラグ、温度補償フラグおよび低電圧フラグのうち少なくともいずれか1つのフラグが初期値から変更した値を検出すると、タイムサーバから時刻情報を入力して、この時刻情報を前記時計・カレンダー回路に設定してなることを特徴とする電子機器。
これによりリアルタイムクロック装置で計時している時刻がずれたとしても、フラグの値が初期値から変更されていることを確認したユーザは、時計・カレンダー回路に正しい時刻情報を設定できるので、時刻のずれを修正できる。
Application Example 6 An electronic apparatus including the real-time clock device according to Application Example 4 or 5, wherein an arithmetic processing unit is provided outside the real-time clock device, and the register, the clock / calendar circuit, and the arithmetic operation A processing device is communicably connected, and the arithmetic processing device changes at least one of the flag outside the temperature compensation range, the temperature compensation flag, and the low voltage flag held by the register from an initial value. When the detected value is detected, time information is input from a time server, and the time information is set in the clock / calendar circuit.
Even if the time measured by the real-time clock device is shifted, the user who confirms that the flag value has been changed from the initial value can set the correct time information in the clock / calendar circuit. The deviation can be corrected.

温度補償型発振回路の構成を説明するブロック図である。It is a block diagram explaining the structure of a temperature compensation type | mold oscillation circuit. 容量アレイの説明図である。It is explanatory drawing of a capacity | capacitance array. リアルタイムクロック装置の構成を説明するブロック図である。It is a block diagram explaining the structure of a real-time clock apparatus. 温度補償フラグおよび低電圧フラグが立つときの説明図である。It is explanatory drawing when a temperature compensation flag and a low voltage flag stand. 論理緩急方式のリアルタイムクロック装置の構成を説明するブロック図である。It is a block diagram explaining the structure of the real-time clock device of a logic slow / fast method.

以下に、本発明に係る温度補償型発振回路、リアルタイムクロック装置および電子機器の実施形態について説明する。まず第1の実施形態について説明する。第1の実施形態では、温度補償型発振回路について説明する。図1は温度補償型発振回路の構成を説明するブロック図である。温度補償型発振回路10は、発振回路12、補正値決定回路20、ラッチ16、制御部18およびレジスタ40を主に備えている。   Embodiments of a temperature compensated oscillation circuit, a real-time clock device, and an electronic device according to the present invention will be described below. First, the first embodiment will be described. In the first embodiment, a temperature compensated oscillation circuit will be described. FIG. 1 is a block diagram illustrating a configuration of a temperature compensated oscillation circuit. The temperature compensated oscillation circuit 10 mainly includes an oscillation circuit 12, a correction value determination circuit 20, a latch 16, a control unit 18, and a register 40.

発振回路12は、圧電振動子14に接続されている。この圧電振動子14は、発振回路12から電気信号を入力すると、一定の周波数で振動する。そして発振回路12は、圧電振動子14との間で信号を増幅して発振することにより、圧電振動子14が振動している周波数と同一の周波数のクロック信号を出力する。この発振回路12には、周波数調整手段が接続している。この周波数調整手段は、発振回路12から出力するクロック信号の周波数を温度に対して一定に保つように動作している。このような温度補償を行う周波数調整手段の一例としては、容量アレイがある。   The oscillation circuit 12 is connected to the piezoelectric vibrator 14. The piezoelectric vibrator 14 vibrates at a constant frequency when an electric signal is input from the oscillation circuit 12. The oscillation circuit 12 amplifies the signal with the piezoelectric vibrator 14 and oscillates, thereby outputting a clock signal having the same frequency as the frequency at which the piezoelectric vibrator 14 is vibrating. A frequency adjusting unit is connected to the oscillation circuit 12. The frequency adjusting means operates so as to keep the frequency of the clock signal output from the oscillation circuit 12 constant with respect to the temperature. An example of the frequency adjusting means for performing such temperature compensation is a capacitance array.

図2は容量アレイの説明図である。容量アレイ30は、コンデンサ32とスイッチ34を直列に接続して、その一端を接地したものを複数有し、各他端をそれぞれ接続した構成となっている。そして前記他端は、圧電振動子14に接続している。このような容量アレイ30に設けられるコンデンサ32は、互いの容量値が異なるようになっている。またスイッチ34には補正値が入力するようになっており、補正値によって各スイッチ34がオンまたはオフするようになっている。このためスイッチ34がオンになると、このスイッチ34に直列接続したコンデンサ32が圧電振動子14に接続することになる。このように補正値によって、各スイッチ34のオン/オフを制御して、所望のコンデンサ32を圧電振動子14(発振回路12)に接続することにより、発振回路12の付加容量が変わり発振周波数を変えている。   FIG. 2 is an explanatory diagram of the capacitor array. The capacitor array 30 has a configuration in which a capacitor 32 and a switch 34 are connected in series, a plurality of ones having one end grounded, and the other ends connected to each other. The other end is connected to the piezoelectric vibrator 14. The capacitors 32 provided in such a capacitance array 30 have different capacitance values. Further, a correction value is input to the switch 34, and each switch 34 is turned on or off depending on the correction value. Therefore, when the switch 34 is turned on, the capacitor 32 connected in series to the switch 34 is connected to the piezoelectric vibrator 14. In this way, the on / off of each switch 34 is controlled by the correction value, and the desired capacitor 32 is connected to the piezoelectric vibrator 14 (oscillation circuit 12), whereby the additional capacitance of the oscillation circuit 12 changes and the oscillation frequency is changed. It is changing.

また図1に示す補正値決定回路20は、温度センサ22、アナログ/ディジタル変換器24(以下「ADC24」という。)、記憶部26および第1低電圧検出回路28を備えている。温度センサ22は、圧電振動子14の温度(周囲温度)を測定して、この測定結果をアナログ信号で出力している。ADC24は、温度センサ22からアナログ信号を入力すると、これをディジタル信号である周囲温度ディジタル信号に変換して出力している。このときADC24は、温度センサ22で測定した温度が補正値決定回路20で温度補償を行える温度範囲外の場合、補償範囲外信号を出力している。   The correction value determination circuit 20 shown in FIG. 1 includes a temperature sensor 22, an analog / digital converter 24 (hereinafter referred to as “ADC 24”), a storage unit 26, and a first low voltage detection circuit 28. The temperature sensor 22 measures the temperature (ambient temperature) of the piezoelectric vibrator 14 and outputs the measurement result as an analog signal. When the analog signal is input from the temperature sensor 22, the ADC 24 converts the analog signal into an ambient temperature digital signal that is a digital signal and outputs the digital signal. At this time, the ADC 24 outputs a signal outside the compensation range when the temperature measured by the temperature sensor 22 is outside the temperature range in which the compensation value determination circuit 20 can perform temperature compensation.

記憶部26は、アドレス値と補正値を1対1に対応付けた補正テーブルを予め記憶している。そして記憶部26は、アドレス値として、ADC24から周囲温度ディジタル信号を入力すると、このアドレス値に対応した補正値を補正テーブルから読み出して、この補正値を出力している。   The storage unit 26 stores in advance a correction table in which address values and correction values are associated with each other on a one-to-one basis. Then, when an ambient temperature digital signal is input from the ADC 24 as an address value, the storage unit 26 reads a correction value corresponding to the address value from the correction table and outputs this correction value.

また補正値決定回路20は、第1低電圧検出回路28を備えている。第1低電圧検出回路28は、温度補償型発振回路10の外部から供給された電源電圧VDDが、予め設定されている基準電圧Vth1以下であることを検出して、この検出結果を出力している。この基準電圧Vth1は、温度補償型発振回路10の動作電圧に応じて適宜設定すればよい。例えば、供給電圧VDDがある電圧値以下になって、補正値決定回路20の動作が不安定になるときの前記電圧値を基準電圧Vth1として設定すればよい。   The correction value determination circuit 20 includes a first low voltage detection circuit 28. The first low voltage detection circuit 28 detects that the power supply voltage VDD supplied from the outside of the temperature compensated oscillation circuit 10 is equal to or lower than a preset reference voltage Vth1, and outputs the detection result. Yes. The reference voltage Vth1 may be appropriately set according to the operating voltage of the temperature compensated oscillation circuit 10. For example, the voltage value at which the operation of the correction value determination circuit 20 becomes unstable due to the supply voltage VDD being lower than a certain voltage value may be set as the reference voltage Vth1.

このような補正値決定回路20の後段には、ラッチ16、レジスタ40および制御部18が接続している。ラッチ16は、記憶部26に接続しており、この記憶部26から補正値を入力して記憶するようになっている。そしてラッチ16は、記憶した補正値を、新たな補正値が入力されるまで保持し続けている。このラッチ16は、容量アレイ30に接続しており、記憶した補正値を容量アレイ30に出力している。なお記憶部26、ラッチ16および容量アレイ30(周波数調整手段)は、補償回路38を構成している。この補償回路38は、周囲温度ディジタル信号に基づいて、クロック信号の発振周波数を調整するものである。   The latch 16, the register 40, and the control unit 18 are connected to the subsequent stage of the correction value determination circuit 20. The latch 16 is connected to the storage unit 26, and a correction value is input from the storage unit 26 and stored. The latch 16 continues to hold the stored correction value until a new correction value is input. The latch 16 is connected to the capacitor array 30 and outputs the stored correction value to the capacitor array 30. Note that the storage unit 26, the latch 16 and the capacitor array 30 (frequency adjusting means) constitute a compensation circuit 38. The compensation circuit 38 adjusts the oscillation frequency of the clock signal based on the ambient temperature digital signal.

またレジスタ40は、ADC24および制御部18に接続しており、温度補償範囲外フラグ42および温度補償フラグ44を保持している。この温度補償範囲外フラグ42は、ADC24から補償範囲外信号を入力するようになっており、この補償範囲外信号を入力すると温度補償範囲外フラグ42を立てるようになっている。また温度補償フラグ44は、制御部18を介して、第1低電圧検出回路28の判断結果を入力するようになっており、第1低電圧検出回路28において供給電圧VDDが基準電圧Vth1以下になったときに温度補償フラグ44を立てるようになっている。具体的には、制御部18が、第1低電圧検出回路28の検出結果に応じて、温度補償フラグ44を変更する。そして温度補償範囲外フラグ42が立った場合の一例としては、予め初期値として設定されている値「0」が、圧電振動子14の周囲温度が温度補償範囲外であることを示す値「1」に変わればよい。また温度補償フラグ44が立った場合の一例としては、予め初期値として設定されている値「0」が、補償回路38による補償動作が停止したことを示す値「1」に変わればよい。   The register 40 is connected to the ADC 24 and the control unit 18 and holds a temperature compensation out-of-range flag 42 and a temperature compensation flag 44. The out-of-temperature-compensation-range flag 42 receives a compensation-out-range signal from the ADC 24. When the out-of-compensation-range signal is input, the out-of-temperature compensation range flag 42 is set. The temperature compensation flag 44 is configured to input the determination result of the first low voltage detection circuit 28 via the control unit 18, and the supply voltage VDD is less than or equal to the reference voltage Vth1 in the first low voltage detection circuit 28. When this happens, the temperature compensation flag 44 is raised. Specifically, the control unit 18 changes the temperature compensation flag 44 according to the detection result of the first low voltage detection circuit 28. As an example of the case where the temperature compensation range out-of-range flag 42 is set, a value “0” set in advance as an initial value is a value “1” indicating that the ambient temperature of the piezoelectric vibrator 14 is outside the temperature compensation range. ”. Further, as an example when the temperature compensation flag 44 is raised, the value “0” set in advance as an initial value may be changed to a value “1” indicating that the compensation operation by the compensation circuit 38 has been stopped.

また制御部18は、第1低電圧検出回路28に接続している。そして制御部18は、第1低電圧検出回路28において供給電圧VDDが基準電圧Vth1以下になったときに、補正値決定回路20で補正値を決定しないようにしている。例えば、制御部18は、温度センサ22、ADC24および記憶部26の動作をさせないようにして、記憶部26から補正値が出力しないようにしている。すなわち補償回路38の発振周波数を調整する動作を停止させている。   The control unit 18 is connected to the first low voltage detection circuit 28. Then, the control unit 18 prevents the correction value determining circuit 20 from determining a correction value when the supply voltage VDD is equal to or lower than the reference voltage Vth1 in the first low voltage detection circuit 28. For example, the control unit 18 prevents the temperature sensor 22, the ADC 24, and the storage unit 26 from operating, and prevents the correction value from being output from the storage unit 26. That is, the operation of adjusting the oscillation frequency of the compensation circuit 38 is stopped.

また制御部18は、タイミング信号を入力して、このタイミング信号の周波数に合わせて補正値決定回路20を間欠的に動作させるとともに、ラッチ16を制御している。このタイミング信号には、発振回路12が出力したクロック信号を用いることができ、またクロック信号を分周したものを用いることもできる。具体的な一例としては、圧電振動子14が32.768[kHz]で振動する音叉型振動子の場合、32.768[kHz]のクロック信号を1[Hz]まで分周して、この1[Hz]の信号をタイミング信号として用いればよい。しがたって、この具体例では、補正値決定回路20が1秒毎に間欠的に動作して、この間欠的に動作したときの補正値がラッチ16に記憶され、この補正値に基づいて容量アレイ30が調整されて発振回路12の発振周波数が温度補償される。   The control unit 18 receives a timing signal, intermittently operates the correction value determination circuit 20 in accordance with the frequency of the timing signal, and controls the latch 16. As the timing signal, a clock signal output from the oscillation circuit 12 can be used, or a clock signal obtained by dividing the clock signal can be used. As a specific example, when the piezoelectric vibrator 14 is a tuning fork vibrator that vibrates at 32.768 [kHz], the clock signal of 32.768 [kHz] is divided to 1 [Hz], and this 1 A signal of [Hz] may be used as a timing signal. Therefore, in this specific example, the correction value determination circuit 20 operates intermittently every second, and the correction value obtained when the correction value determination circuit 20 operates intermittently is stored in the latch 16, and the capacity is determined based on the correction value. The array 30 is adjusted so that the oscillation frequency of the oscillation circuit 12 is temperature compensated.

次に、温度補償型発振回路10における不具合を記録する動作について説明する。温度補償型発振回路10は、外部から電圧VDDの供給を受けて動作している。制御部18は、タイミング信号を入力して、このタイミング信号の周波数に合わせて、補正値決定回路20を構成する少なくともADC24および記憶部26を間欠的に動作させて、補正値を間欠的に出力している。すなわち補正値決定回路20は、温度センサ22で圧電振動子14の周囲温度を測定して、この測定結果をADC24に入力して、温度の測定結果を示す周囲温度ディジタル信号を出力している。   Next, an operation for recording a defect in the temperature compensated oscillation circuit 10 will be described. The temperature compensated oscillation circuit 10 operates by receiving the supply of the voltage VDD from the outside. The control unit 18 inputs a timing signal, intermittently operates at least the ADC 24 and the storage unit 26 constituting the correction value determination circuit 20 according to the frequency of the timing signal, and intermittently outputs the correction value. doing. That is, the correction value determination circuit 20 measures the ambient temperature of the piezoelectric vibrator 14 with the temperature sensor 22, inputs the measurement result to the ADC 24, and outputs an ambient temperature digital signal indicating the temperature measurement result.

このときADC24は、記憶部26に記憶してある補正テーブルの温度範囲よりも外側の測定結果を入力すると、その温度範囲の上限または下限の補正値を適用して、これを補償範囲外信号として出力する。すなわち周囲温度の測定結果が補正テーブルの温度範囲よりも大きければ、この温度範囲の上限の補正値を適用し、周囲温度の測定結果が補正テーブルの温度範囲よりも小さければ、この温度範囲の下限の補正値を適用して、これを補償範囲外信号として出力する。そして補償範囲外信号がレジスタ40内の温度補償範囲外フラグ42に入力すると、この温度補償範囲外フラグ42が立つ。温度補償範囲外フラグ42は一度セットされると、外部からクリア操作されなければ立ったままとなる。   At this time, when the ADC 24 inputs a measurement result outside the temperature range of the correction table stored in the storage unit 26, the ADC 24 applies the correction value of the upper limit or the lower limit of the temperature range and uses this as a signal outside the compensation range. Output. That is, if the measurement result of the ambient temperature is larger than the temperature range of the correction table, the upper limit correction value of this temperature range is applied. If the measurement result of the ambient temperature is smaller than the temperature range of the correction table, the lower limit of this temperature range is applied. Is applied as a signal outside the compensation range. When the out-of-compensation range signal is input to the out-of-temperature compensation range flag 42 in the register 40, the out-of-compensation range flag 42 is set. Once set, the temperature compensation range out-of-range flag 42 remains on unless cleared from the outside.

また第1低電圧検出回路28は、温度補償型発振回路10に供給された電圧VDDの一部を入力して、この供給電圧VDDが基準電圧Vth1以下であるか否かを判断している。この判断は、補正値決定回路20が動作すると、すなわち温度補償動作が起動すると、第1低電圧検出回路28も起動するので、少なくともこの起動時に行えばよい。そして第1低電圧検出回路28における判断の結果、供給電圧VDDが基準電圧Vth1以下になっていれば、温度補償フラグ44を立てる。温度補償フラグ44は一度セットされると、外部からクリア操作されなければ立ったままとなる。   The first low voltage detection circuit 28 receives a part of the voltage VDD supplied to the temperature compensated oscillation circuit 10 and determines whether or not the supply voltage VDD is equal to or lower than the reference voltage Vth1. This determination is performed at least at the time of starting since the first low voltage detecting circuit 28 is also started when the correction value determining circuit 20 is operated, that is, when the temperature compensation operation is started. If the result of determination in the first low voltage detection circuit 28 is that the supply voltage VDD is less than or equal to the reference voltage Vth1, the temperature compensation flag 44 is set. Once the temperature compensation flag 44 is set, it remains standing unless it is cleared from the outside.

そして温度センサ22で測定した圧電振動子14の周囲温度が、補正テーブルの温度範囲外になったとき、および第1低電圧検出回路28で供給電圧VDDが基準電圧Vth1以下のときには、補正値決定回路20から補正値が出力しないので、ラッチ16には新しい補正値が記憶されることはない。すなわち圧電振動子14の周囲温度に追従して、補償回路38が発振回路12の発振周波数を調整する動作を停止している。したがって温度補償型発振回路10は、前回ラッチ16に記憶した補正値を用いて発振周波数の調整を行うので、圧電振動子14の周囲温度に追従して調整されていないクロック信号を出力する。   When the ambient temperature of the piezoelectric vibrator 14 measured by the temperature sensor 22 falls outside the temperature range of the correction table, and when the supply voltage VDD is equal to or lower than the reference voltage Vth1 by the first low voltage detection circuit 28, the correction value is determined. Since no correction value is output from the circuit 20, no new correction value is stored in the latch 16. That is, the compensation circuit 38 stops the operation of adjusting the oscillation frequency of the oscillation circuit 12 following the ambient temperature of the piezoelectric vibrator 14. Therefore, the temperature compensated oscillation circuit 10 adjusts the oscillation frequency using the correction value stored in the latch 16 last time, and outputs a clock signal that is not adjusted following the ambient temperature of the piezoelectric vibrator 14.

このように温度補償型発振回路10が不具合の発生を記録するようになっているので、ユーザが温度補償型発振回路10のレジスタ40へフラグチェックに行けば、一度でも温度補償動作に失敗したか否かを判別できる。そして温度補償型発振回路10において温度補償の不具合の発生を確認したユーザは、各フラグ42,44のクリア操作をすれば、次に不具合が発生したときにこれを確認することができる。   Since the temperature-compensated oscillation circuit 10 records the occurrence of a failure in this way, if the user goes to the register 40 of the temperature-compensated oscillation circuit 10 to check the flag, has the temperature compensation operation failed even once? It can be determined whether or not. A user who has confirmed the occurrence of a temperature compensation defect in the temperature compensated oscillation circuit 10 can confirm the next occurrence of a problem by performing a clear operation on the flags 42 and 44.

このような温度補償型発振回路10は、圧電振動子14の周囲温度が温度補償を行える温度範囲外になったときに、また供給電圧VDDが低電圧になったときに、不具合の発生を記録できる。このためユーザが温度補償型発振回路10に接続したときに温度補償を行っていたとしても、過去に温度補償を行っていないときが有れば、温度補償を行っていなかったことを確認できる。   Such a temperature-compensated oscillation circuit 10 records the occurrence of a malfunction when the ambient temperature of the piezoelectric vibrator 14 is outside the temperature range where temperature compensation can be performed, and when the supply voltage VDD becomes low. it can. For this reason, even if the temperature compensation is performed when the user connects to the temperature compensation type oscillation circuit 10, if there is a case where the temperature compensation has not been performed in the past, it can be confirmed that the temperature compensation has not been performed.

また温度補償型発振回路10は、温度補償範囲外フラグ42および温度補償フラグ44を備えているので、温度補償できなかった理由として、温度補償範囲外の温度が測定されたことと、補正値決定回路20を動作させる電圧が供給されなかったことの理由を判別できる。よって容易且つ迅速に、不具合箇所を特定できる。   Further, since the temperature compensated oscillation circuit 10 includes the temperature compensation out-of-range flag 42 and the temperature compensation flag 44, the reason why the temperature could not be compensated is that the temperature outside the temperature compensation range was measured and the correction value was determined. The reason why the voltage for operating the circuit 20 is not supplied can be determined. Therefore, it is possible to easily and quickly identify the defective part.

また温度補償型発振回路10が電子機器に搭載された場合、電子機器から温度補償型発振回路10へのメイン電源の供給が停止しても、温度補償型発振回路10を動作させてクロック信号を出力させたいときがある。このようなときは、温度補償型発振回路10へ供給される電源電圧を、メイン電源からバックアップ電源に切り替えればよい。ところがバックアップ電源には、一次電池や二次電池等が用いられる場合があり、これらの電池を使用していると、徐々に電圧が降下していき、バックアップ電源の供給を受けている電子部品の動作が停止してしまう。このような場合でも、本実施形態に係る温度補償型発振回路10では、不具合の発生を記録できる。すなわちメイン電源からバックアップ電源に移行して後に、バックアップ電源の電源電圧が基準電圧Vth1以下になるときでも、温度補償フラグ44を立てて不具合の発生があったことを知らせることができる。
また温度補償型発振回路10は、補正値決定回路20が間欠的に動作するので、消費電力を低減できる。
When the temperature-compensated oscillation circuit 10 is mounted on an electronic device, even if the supply of main power from the electronic device to the temperature-compensated oscillation circuit 10 is stopped, the temperature-compensated oscillation circuit 10 is operated to generate a clock signal. There are times when you want to output. In such a case, the power supply voltage supplied to the temperature compensated oscillation circuit 10 may be switched from the main power supply to the backup power supply. However, there are cases where primary batteries and secondary batteries are used as backup power supplies. When these batteries are used, the voltage gradually drops, and the electronic components receiving backup power supply Operation stops. Even in such a case, the occurrence of a malfunction can be recorded in the temperature compensated oscillation circuit 10 according to the present embodiment. That is, after the transition from the main power supply to the backup power supply, even when the power supply voltage of the backup power supply becomes equal to or lower than the reference voltage Vth1, the temperature compensation flag 44 can be set to notify that a malfunction has occurred.
Further, the temperature compensated oscillation circuit 10 can reduce power consumption since the correction value determination circuit 20 operates intermittently.

次に、第2の実施形態について説明する。第2の実施形態では、リアルタイムクロック装置および電子機器について説明する。なお第2の実施形態では、第1の実施形態と同様の構成部分に同番号を付し、その説明を省略または簡略する。図3はリアルタイムクロック装置の構成を説明するブロック図である。リアルタイムクロック装置50は、温度補償型発振回路10およびリアルタイムクロック回路52を備えており、源振に容量緩急による周波数調整を用いた形態となっている。図3に示す温度補償型発振回路10は、第1の実施形態で説明した温度補償型発振回路10と同様の構成であるが、レジスタを備えていない点で異なっている。   Next, a second embodiment will be described. In the second embodiment, a real-time clock device and an electronic device will be described. In the second embodiment, the same components as those in the first embodiment are denoted by the same reference numerals, and the description thereof is omitted or simplified. FIG. 3 is a block diagram illustrating the configuration of the real-time clock device. The real-time clock device 50 includes the temperature-compensated oscillation circuit 10 and the real-time clock circuit 52, and uses a frequency adjustment based on a slow and slow capacity for the source oscillation. The temperature-compensated oscillation circuit 10 shown in FIG. 3 has the same configuration as the temperature-compensated oscillation circuit 10 described in the first embodiment, but differs in that it does not include a register.

またリアルタイムクロック回路52は、第2低電圧検出回路54、レジスタ40、計時回路60、セレクタ56およびインターフェース58を備えている、第2低電圧検出回路54は、リアルタイムクロック装置50の外部からリアルタイムクロック回路52に供給された電源電圧VDDが、予め設定されている基準電圧(第2基準電圧)Vth2以下であることを検出して、この検出結果を出力している。この基準電圧Vth2は、リアルタイムクロック回路52の動作電圧に応じて適宜設定すればよい。例えば、供給電圧VDDがある電圧値以下になって、リアルタイムクロック回路52の動作が不安定になるときの前記電圧値を基準電圧Vth2として設定すればよい。また基準電圧Vth2として、発振回路12の発振停止電圧近傍の値に設定してもよい。これにより、リアルタイムクロック装置50のユーザは、計時データにずれが生じた原因を特定することができる。   The real-time clock circuit 52 includes a second low-voltage detection circuit 54, a register 40, a clock circuit 60, a selector 56, and an interface 58. The second low-voltage detection circuit 54 is connected to the real-time clock from the outside of the real-time clock device 50. It is detected that the power supply voltage VDD supplied to the circuit 52 is equal to or lower than a preset reference voltage (second reference voltage) Vth2, and the detection result is output. The reference voltage Vth2 may be set as appropriate according to the operating voltage of the real-time clock circuit 52. For example, the voltage value when the operation of the real-time clock circuit 52 becomes unstable due to the supply voltage VDD being lower than a certain voltage value may be set as the reference voltage Vth2. The reference voltage Vth2 may be set to a value near the oscillation stop voltage of the oscillation circuit 12. Thereby, the user of the real-time clock device 50 can specify the cause of the deviation in the time measurement data.

レジスタ40は、温度補償範囲外フラグ42、温度補償フラグ44および低電圧フラグ46を保持している。温度補償範囲外フラグ42は、温度補償型発振回路10のADC24の後段に接続している。この温度補償範囲外フラグ42は、補償範囲外信号を入力するとフラグを立てるようになっている。また温度補償フラグ44は、温度補償型発振回路10の制御部18を介して第1低電圧検出回路28の後段に接続している。この温度補償フラグ44は、リアルタイムクロック装置50の外部から温度補償型発振回路10に供給された電源電圧VDDが基準電圧(第1基準電圧)Vth1以下になったときにフラグを立てるようになっている。   The register 40 holds a temperature compensation out-of-range flag 42, a temperature compensation flag 44, and a low voltage flag 46. The temperature compensation out-of-range flag 42 is connected to the subsequent stage of the ADC 24 of the temperature compensated oscillation circuit 10. The temperature compensation out-of-range flag 42 is set when a signal outside the compensation range is input. The temperature compensation flag 44 is connected to the subsequent stage of the first low voltage detection circuit 28 via the control unit 18 of the temperature compensation type oscillation circuit 10. The temperature compensation flag 44 is set when the power supply voltage VDD supplied from the outside of the real-time clock device 50 to the temperature compensated oscillation circuit 10 becomes equal to or lower than the reference voltage (first reference voltage) Vth1. Yes.

なお温度補償型発振回路10は、リアルタイムクロック回路52よりも動作電圧が大きい場合がある。この場合の一例としては、温度補償型発振回路10に約2[V]の電源電圧が供給され、リアルタイムクロック回路52に約1[V]の電源電圧が供給される。したがって、この場合、第1低電圧検出回路28に設定される基準電圧Vth1は、第2低電圧検出回路54に設定される基準電圧Vth2よりも大きな値に設定してあればよい。   The temperature compensated oscillation circuit 10 may have an operating voltage higher than that of the real time clock circuit 52. As an example of this case, a power supply voltage of about 2 [V] is supplied to the temperature compensated oscillation circuit 10, and a power supply voltage of about 1 [V] is supplied to the real-time clock circuit 52. Therefore, in this case, the reference voltage Vth1 set in the first low voltage detection circuit 28 may be set to a value larger than the reference voltage Vth2 set in the second low voltage detection circuit 54.

さらにレジスタ40の低電圧フラグ46は、リアルタイムクロック回路52の第2低電圧検出回路54の後段に接続している。この低電圧フラグ46は、第2低電圧検出回路54から判断結果を入力するようになっており、第2低電圧検出回路54において供給電圧VDDが基準電圧Vth2以下になったときにフラグを立てるようになっている。そして低電圧フラグ46が立った場合の一例としては、予め初期値として設定されている値「0」が、第2基準電圧以下の供給電圧を検出したことを示す値「1」に変わればよい。この低電圧フラグ46は一度セットされると、外部からクリア操作されなければ立ったままとなる。   Further, the low voltage flag 46 of the register 40 is connected to the subsequent stage of the second low voltage detection circuit 54 of the real time clock circuit 52. The low voltage flag 46 receives the determination result from the second low voltage detection circuit 54, and sets a flag when the supply voltage VDD becomes equal to or lower than the reference voltage Vth2 in the second low voltage detection circuit 54. It is like that. As an example when the low voltage flag 46 is raised, the value “0” set as an initial value in advance may be changed to a value “1” indicating that a supply voltage equal to or lower than the second reference voltage is detected. . Once the low voltage flag 46 is set, it remains standing unless it is cleared from the outside.

計時回路60は、分周回路62および時計・カレンダー回路64を備えている。分周回路62は、発振回路12の後段に接続しており、発振回路12からクロック信号を入力して分周している。例えば、分周回路62は、発振周波数が32.768[kHz]のクロック信号を入力する場合、これを複数の段階に分けて分周を行い、1[Hz]の分周信号を出力している。分周の具体的な一例としては、分周回路62に直列に接続した複数の1/2分周回路を形成することにより、32.768[kHz]のクロック信号が、16.384[kHz]、8.192[kHz]、・・・64[Hz]、32[Hz]、16[Hz]、8[Hz]、4[Hz]、2[Hz]、1[Hz]というように互いに周波数の異なる複数の分周信号を生成する。そして時計・カレンダー回路64は、分周回路62から分周信号を入力して、時刻の計時を行っている。例えば、時計・カレンダー回路64は、1[Hz]の分周信号を入力して、秒、分、時、曜、日、月、年の時刻を計時して、これを記憶している。   The time measuring circuit 60 includes a frequency dividing circuit 62 and a clock / calendar circuit 64. The frequency dividing circuit 62 is connected to the subsequent stage of the oscillation circuit 12 and receives the clock signal from the oscillation circuit 12 and divides the frequency. For example, when a clock signal having an oscillation frequency of 32.768 [kHz] is input, the frequency divider circuit 62 divides the clock signal into a plurality of stages, and outputs a frequency-divided signal of 1 [Hz]. Yes. As a specific example of the frequency division, by forming a plurality of ½ frequency divider circuits connected in series to the frequency divider circuit 62, a clock signal of 32.768 [kHz] becomes 16.384 [kHz]. , 8.192 [kHz], ... 64 [Hz], 32 [Hz], 16 [Hz], 8 [Hz], 4 [Hz], 2 [Hz], 1 [Hz], and so on. A plurality of frequency-divided signals having different values are generated. The clock / calendar circuit 64 receives the frequency-divided signal from the frequency-dividing circuit 62 and measures the time. For example, the clock / calendar circuit 64 inputs a frequency-divided signal of 1 [Hz], measures the time of seconds, minutes, hours, days of the week, days, months, and years and stores them.

またセレクタ56は、分周回路62に接続しており、この分周回路62においてクロック信号を複数の段階に分周した分周信号の一部を入力している。具体的な一例としては、発振周波数が32.768[kHz]のクロック信号を分周して、1[Hz]の分周信号を得ている場合、2[Hz]の分周信号および1[Hz]の分周信号をセレクタ56に入力するようになっている。なおセレクタ56が入力する分周信号は、2つに限定されることはなく3つ以上の異なる周波数の分周信号を入力してもよく、隣り合う周波数の分周信号だけでなく、離れた周波数の分周信号を入力してもよい。この一例としては、セレクタ56は、16[Hz]、4[Hz]、1[Hz]の各分周信号を入力する構成であってもよい。   The selector 56 is connected to a frequency dividing circuit 62 and inputs a part of the frequency divided signal obtained by dividing the clock signal into a plurality of stages in the frequency dividing circuit 62. As a specific example, when a clock signal having an oscillation frequency of 32.768 [kHz] is divided to obtain a divided signal of 1 [Hz], a divided signal of 2 [Hz] and 1 [Hz] Hz] frequency division signal is inputted to the selector 56. The frequency-divided signal input by the selector 56 is not limited to two, and a frequency-divided signal having three or more different frequencies may be input. A frequency division signal may be input. As an example of this, the selector 56 may be configured to input frequency-divided signals of 16 [Hz], 4 [Hz], and 1 [Hz].

そしてセレクタ56は、レジスタ40によって、入力した複数の分周信号のうちからいずれか1つを選択するようになっている。なおレジスタ40は、リアルタイムクロック装置50の外部からインターフェース58を介して入力された選択設定によって、セレクタ56に入力する分周信号を選択するようになっている。この選択設定は、ユーザが適宜設定できるようになっていればよい。そしてレジスタ40の後段は、温度補償型発振回路10の制御部18に接続しており、レジスタ40によって選択された分周信号がタイミング信号として制御部18に入力する。
インターフェース58は、リアルタイムクロック装置50の外部との通信を行う回路となっており、時計・カレンダー回路64およびレジスタ40に接続している。
The selector 56 selects one of the plurality of frequency-divided signals input by the register 40. Note that the register 40 selects a frequency-divided signal to be input to the selector 56 according to the selection setting input from the outside of the real-time clock device 50 via the interface 58. This selection setting only needs to be set by the user as appropriate. The subsequent stage of the register 40 is connected to the control unit 18 of the temperature compensated oscillation circuit 10, and the frequency-divided signal selected by the register 40 is input to the control unit 18 as a timing signal.
The interface 58 is a circuit that communicates with the outside of the real-time clock device 50, and is connected to the clock / calendar circuit 64 and the register 40.

そしてリアルタイムクロック装置50が搭載される電子機器には、演算処理装置70(以下「CPU70」という。)を備えている。このCPU70は、インターフェース58を介して、時計・カレンダー回路64やレジスタ40と通信できるようになっている。また前記電子機器の内部に、または前記電子機器とネットワークを介して接続した、現在時刻を備えたタイムサーバ72が設けてある。なお図3に示す場合では、CPU70、すなわち電子機器とタイムサーバ72とは、ネットワーク74を介して接続している。   The electronic device on which the real-time clock device 50 is mounted includes an arithmetic processing unit 70 (hereinafter referred to as “CPU 70”). The CPU 70 can communicate with the clock / calendar circuit 64 and the register 40 via the interface 58. Further, a time server 72 having a current time is provided in the electronic device or connected to the electronic device via a network. In the case shown in FIG. 3, the CPU 70, that is, the electronic device and the time server 72 are connected via a network 74.

次に、リアルタイムクロック装置50における不具合を記録する動作について説明する。まずリアルタイムクロック回路52で不具合が発生した場合、すなわち第2リアルタイムクロック回路52に供給される電圧VDDが第2低電圧検出回路54に設定されている基準電圧Vth2以下になると、これを第2低電圧検出回路54が検出して、低電圧フラグ46を立てる。そしてリアルタイムクロック回路52では、これに供給される電圧VDDが低下しても、そのまま計時回路60で時刻の計時を行うことになる。   Next, an operation for recording a defect in the real-time clock device 50 will be described. First, when a problem occurs in the real-time clock circuit 52, that is, when the voltage VDD supplied to the second real-time clock circuit 52 becomes equal to or lower than the reference voltage Vth2 set in the second low-voltage detection circuit 54, this is reduced to the second low-voltage detection circuit 54. The voltage detection circuit 54 detects and raises the low voltage flag 46. In the real time clock circuit 52, even if the voltage VDD supplied to the real time clock circuit 52 decreases, the time measuring circuit 60 measures the time as it is.

また温度補償型発振回路10で不具合が発生した場合は、第1の実施形態と同様の処理を行えばよい。すなわち温度補償範囲外フラグ42を立てたり、温度補償フラグ44を立てたりすればよい。そして温度補償型発振回路10では、この内部で不具合が発生すると、第1の実施形態で説明したように、補正値決定回路20から補正値を出力することがなく、ラッチ16に記憶してある補正値を利用して温度補償を行うことになる。   If a problem occurs in the temperature compensated oscillation circuit 10, the same processing as in the first embodiment may be performed. That is, the temperature compensation out-of-range flag 42 may be raised or the temperature compensation flag 44 may be raised. In the temperature compensated oscillation circuit 10, if a malfunction occurs inside, the correction value is not output from the correction value determination circuit 20 and is stored in the latch 16 as described in the first embodiment. Temperature compensation is performed using the correction value.

そして前述したように、リアルタイムクロック回路52および温度補償型発振回路10で不具合が発生した場合は、リアルタイムクロック回路52で計時している時刻にずれが生じる。しかし不具合が発生した場合、少なくともいずれか1つのフラグを立てて不具合の発生を記録しているので、インターフェース58を介してレジスタ40にアクセスしたCPU70が各フラグ42,44,46を確認することにより、不具合の発生があったことを確認できることになる。   As described above, when a problem occurs in the real-time clock circuit 52 and the temperature-compensated oscillation circuit 10, a time difference occurs in the time measured by the real-time clock circuit 52. However, when a failure occurs, at least one of the flags is set and the occurrence of the failure is recorded, so that the CPU 70 accessing the register 40 via the interface 58 checks each flag 42, 44, 46. Thus, it can be confirmed that a defect has occurred.

なおリアルタイムクロック装置50は電子機器に搭載されて、それに時刻データを供給しているので、電子機器が何らかの理由によりシステムダウンしたときでも、リアルタイムクロック装置50は計時を行っている必要がある。したがって電子機器に電源電圧が供給されなくなってシステムダウンしたときでも、リアルタイムクロック装置50は、電子機器に搭載されたバックアップ電源から電源電圧が供給されるようになっている。ところがバックアップ電源には、一次電池や二次電池等が用いられる場合があり、これらの電池を使用していると、徐々に電圧が降下していき、バックアップ電源の供給を受けている電子部品の動作が停止してしまう。このような場合でも、本実施形態に係るリアルタイムクロック装置50では、不具合の発生を記録できる。   Since the real-time clock device 50 is mounted on an electronic device and supplies time data thereto, the real-time clock device 50 needs to keep time even when the electronic device is down for some reason. Therefore, even when the power supply voltage is not supplied to the electronic device and the system is down, the real-time clock device 50 is supplied with the power supply voltage from the backup power supply mounted on the electronic device. However, there are cases where primary batteries and secondary batteries are used as backup power supplies. When these batteries are used, the voltage gradually drops, and the electronic components receiving backup power supply Operation stops. Even in such a case, the real-time clock device 50 according to the present embodiment can record the occurrence of a failure.

図4は温度補償フラグおよび低電圧フラグが立つときの説明図である。図4の上側に示すグラフは、バックアップ電源からリアルタイムクロック装置50に供給される電源電圧VDDと、時間tとの関係を示している。図4に示す場合、メイン電源からバックアップ電源に切り替わった初期段階では、バックアップ電源からリアルタイムクロック装置50に供給される電圧VDDは、リアルタイムクロック装置50の全体を動作させるのに十分な電圧値なので、第1低電圧検出回路28および第2低電圧検出回路54のどちらにおいても設定電圧Vth1,Vth2よりも大きくなっている。したがって温度補償フラグ44および低電圧フラグ46はどちらも立ってなく、初期値「0」になっている。このときには温度補償型発振回路10で温度補償が行われており、またリアルタイムクロック回路52で計時が行われている。   FIG. 4 is an explanatory diagram when the temperature compensation flag and the low voltage flag are set. The graph shown on the upper side of FIG. 4 shows the relationship between the power supply voltage VDD supplied from the backup power supply to the real-time clock device 50 and time t. In the case shown in FIG. 4, at the initial stage when the main power supply is switched to the backup power supply, the voltage VDD supplied from the backup power supply to the real-time clock device 50 is a voltage value sufficient to operate the entire real-time clock device 50. Both the first low voltage detection circuit 28 and the second low voltage detection circuit 54 are larger than the set voltages Vth1 and Vth2. Therefore, neither the temperature compensation flag 44 nor the low voltage flag 46 stands, and has an initial value “0”. At this time, the temperature compensation type oscillation circuit 10 performs temperature compensation, and the real time clock circuit 52 performs time measurement.

そして時間が経過して、バックアップ電源の電圧値が降下して行くと、第1低電圧検出回路28に設定してある基準電圧Vth1以下になる。これを第1低電圧検出回路28が検出して、温度補償フラグ44が立つ。これにより補正値決定回路20から補正値が出力されなくなり、ラッチ16に記憶される補正値が変更されなくなるので、圧電振動子14の周囲温度に追従した正確な温度補償が行えなくなる。またリアルタイムクロック回路52には、計時を確実に行える電源電圧VDDが供給されているが、温度補償されていない発振周波数のクロック信号が供給されるので、時刻の精度が低くなる可能性がある。   As time elapses and the voltage value of the backup power supply decreases, the voltage value becomes equal to or lower than the reference voltage Vth1 set in the first low voltage detection circuit 28. This is detected by the first low voltage detection circuit 28 and the temperature compensation flag 44 is set. As a result, the correction value is not output from the correction value determination circuit 20 and the correction value stored in the latch 16 is not changed, so that accurate temperature compensation following the ambient temperature of the piezoelectric vibrator 14 cannot be performed. The real-time clock circuit 52 is supplied with a power supply voltage VDD that can reliably measure time, but is supplied with a clock signal having an oscillation frequency that is not temperature-compensated, which may reduce the time accuracy.

さらに時間が経過して、バックアップ電源の電圧値が降下して行くと、第2低電圧検出回路54に設定してある基準電圧Vth2以下になる。これを第2低電圧検出回路54が検出して、低電圧フラグ46が立つ。これにより温度補償型発振回路10およびリアルタイムクロック回路52の動作も不安定になり、リアルタイムクロック回路52において高精度でない計時を行い、さらには計時動作も停止する可能性もある。すなわちリアルタイムクロック装置50の時刻データにずれが生じている可能性がある。このような不具合が発生した場合でも、リアルタイムクロック装置50は、フラグ42,44,46を立てて不具合の発生を記録している。したがってCPU70は、バックアップ電源からメイン電源へ復帰した時に、インターフェース58を介してレジスタ40にアクセスして各フラグ42,44,46を確認し、バックアップ電源が供給されているときに不具合の発生があったことを確認できることになる。すなわちCPU70は、各フラグ42,44,46を確認することにより、計時が高精度に保たれているかどうかを判断できることとなる。   As time elapses and the voltage value of the backup power supply decreases, the voltage value becomes equal to or lower than the reference voltage Vth2 set in the second low voltage detection circuit 54. This is detected by the second low voltage detection circuit 54 and the low voltage flag 46 is set. As a result, the operations of the temperature-compensated oscillation circuit 10 and the real-time clock circuit 52 become unstable, and the real-time clock circuit 52 performs timekeeping that is not highly accurate, and may also stop the timekeeping operation. That is, the time data of the real-time clock device 50 may be shifted. Even when such a malfunction occurs, the real-time clock device 50 sets the flags 42, 44, and 46 to record the occurrence of the malfunction. Accordingly, when the CPU 70 returns from the backup power source to the main power source, the CPU 70 accesses the register 40 via the interface 58 to check each flag 42, 44, 46, and there is a problem when the backup power source is supplied. You can confirm that. That is, the CPU 70 can determine whether or not the timekeeping is maintained with high accuracy by checking the flags 42, 44, and 46.

そしてCPU70は、各フラグ42,44,46のうち1つでも立っていたときは、リアルタイムクロック装置50が計時をして得た時刻について、修正が必要であるとする警告処理を行うことが可能になる。またCPU70は、ネットワーク74を介してタイムサーバ72に接続して、タイムサーバ72から現在時刻を入力し、インターフェース58を介して時計・カレンダー回路64に現在時刻を書き込み、リアルタイムクロック装置50が計時している時刻を修正することができる。   When one of the flags 42, 44, 46 stands, the CPU 70 can perform a warning process that the time obtained by the real-time clock device 50 needs to be corrected. become. The CPU 70 is connected to the time server 72 via the network 74, inputs the current time from the time server 72, writes the current time to the clock / calendar circuit 64 via the interface 58, and the real-time clock device 50 keeps time. You can correct the time.

このようなリアルタイムクロック装置50は、圧電振動子14の周囲温度が温度補償を行える温度範囲外になったときに、また温度補償型発振回路10やリアルタイムクロック回路52への供給電圧VDDが低電圧になったときに、それぞれ不具合の発生を記録できる。このためCPU70がリアルタイムクロック装置50に接続したときに計時を行っていたとしても、過去に温度補償や計時を行っていないときが有れば、この温度補償や計時を行っていなかったことを確認できる。またフラグ42,44,46を確認することにより、温度補償可能な温度範囲外にリアルタイムクロック装置50がさらされたのか、またバックアップ電源の交換が必要なのかを判別できる。   In such a real-time clock device 50, when the ambient temperature of the piezoelectric vibrator 14 is outside the temperature range in which temperature compensation is possible, the supply voltage VDD to the temperature-compensated oscillation circuit 10 and the real-time clock circuit 52 is low. When it becomes, it can record the occurrence of each trouble. For this reason, even if the CPU 70 measures the time when it is connected to the real-time clock device 50, if the temperature compensation or time measurement has not been performed in the past, it is confirmed that the temperature compensation or time measurement has not been performed. it can. Further, by checking the flags 42, 44, 46, it is possible to determine whether the real-time clock device 50 is exposed outside the temperature range in which temperature compensation is possible and whether the backup power supply needs to be replaced.

そして低電圧フラグ46は、発振が停止するような電圧までの低下や発振そのものの停止を示している。しがたって、この低電圧フラグ46が立つと、リアルタイムクロック回路52の内容、例えばカレンダーや時刻、アラーム等の割り込み設定、付随するメモリ内容が消去されたことを示すので、即再設定が必要であることがわかる。   The low voltage flag 46 indicates a decrease to a voltage at which the oscillation stops or a stop of the oscillation itself. Therefore, when this low voltage flag 46 is set, it indicates that the contents of the real-time clock circuit 52, such as the calendar, time, alarm and other interrupt settings, and the accompanying memory contents have been erased. I know that there is.

また温度補償フラグ44は、不具合が発生すれば、低電圧フラグ46よりも前の段階で立つことになる。そして温度補償フラグ44が立ち、低電圧フラグ46が立っていない状態では、リアルタイムクロック回路52で計時している時刻が高精度ではないが、時刻がある程度の精度で計時されているので、電子機器はこの時刻データを利用できる。したがって温度補償フラグ44を立てることによって警告を出しつつ、時刻データを記憶することに意味がある。さらにリアルタイムクロック装置50は、温度補償範囲外フラグ42を備えている。したがって計時が正確に行われなかった理由を判別できるので、容易且つ迅速に不具合箇所を特定できる。
なお本実施形態のリアルタイムクロック装置50でも、温度補償型発振回路10の補正値決定回路20が間欠的に動作するので、消費電力を低減できる。
Further, the temperature compensation flag 44 stands at a stage before the low voltage flag 46 if a failure occurs. When the temperature compensation flag 44 is set and the low voltage flag 46 is not set, the time measured by the real-time clock circuit 52 is not highly accurate, but the time is measured with a certain degree of accuracy. Can use this time data. Therefore, it is meaningful to store time data while giving a warning by setting the temperature compensation flag 44. Furthermore, the real-time clock device 50 includes a temperature compensation out-of-range flag 42. Accordingly, the reason why the timing is not accurately performed can be determined, so that the defective portion can be identified easily and quickly.
In the real-time clock device 50 of this embodiment, the correction value determination circuit 20 of the temperature compensated oscillation circuit 10 operates intermittently, so that power consumption can be reduced.

またレジスタ40は、リアルタイムクロック回路52内に設ける形態に限定されることはない。例えば、温度補償範囲外フラグ42と温度補償フラグ44を保持するレジスタを温度補償型発振回路10に設けておき、低電圧フラグ46を保持するレジスタをリアルタイムクロック回路52に設けておいてもよい。また温度補償範囲外フラグ42、温度補償フラグ44および低電圧フラグ46を保持するレジスタを温度補償型発振回路10に設けておいてもよい。そしてこれらの場合でも、レジスタは、リアルタイムクロック装置50の外部に設けたCPU70等と通信できるようになっていればよい。   The register 40 is not limited to the form provided in the real time clock circuit 52. For example, a register holding the temperature compensation out-of-range flag 42 and the temperature compensation flag 44 may be provided in the temperature compensated oscillation circuit 10, and a register holding the low voltage flag 46 may be provided in the real-time clock circuit 52. A register that holds the temperature compensation out-of-range flag 42, the temperature compensation flag 44, and the low voltage flag 46 may be provided in the temperature compensated oscillation circuit 10. In these cases, the register only needs to be able to communicate with the CPU 70 or the like provided outside the real-time clock device 50.

またリアルタイムクロック装置50は、論理緩急方式を利用して計時を行うこともできる。図5は論理緩急方式のリアルタイムクロック装置の構成を説明するブロック図である。このリアルタイムクロック装置50は、温度補償型発振回路10およびリアルタイムクロック回路52を備えている。温度補償型発振回路10は、圧電振動子14を備えた発振回路12、補正値決定回路20および制御部18を備えている。そして補正値決定回路20は、温度センサ22、ADC24、記憶部26および第1低電圧検出回路28を備えている。この温度補償型発振回路10は、周波数調整手段である容量アレイを備えていない。   In addition, the real-time clock device 50 can also measure time using a logical slow / fast method. FIG. 5 is a block diagram illustrating the configuration of a logic slow / fast real-time clock device. The real time clock device 50 includes a temperature compensated oscillation circuit 10 and a real time clock circuit 52. The temperature-compensated oscillation circuit 10 includes an oscillation circuit 12 that includes a piezoelectric vibrator 14, a correction value determination circuit 20, and a control unit 18. The correction value determination circuit 20 includes a temperature sensor 22, an ADC 24, a storage unit 26, and a first low voltage detection circuit 28. The temperature compensated oscillation circuit 10 does not include a capacitor array that is a frequency adjusting means.

またリアルタイムクロック回路52は、計時回路60、第2低電圧検出回路54、レジスタ40、セレクタ56およびインターフェース58を備えるとともに、ラッチ16および周波数調整手段を備えている。レジスタ40は、温度補償範囲外フラグ42、温度補償フラグ44および低電圧フラグ46を保持している。   The real-time clock circuit 52 includes a timer circuit 60, a second low voltage detection circuit 54, a register 40, a selector 56, and an interface 58, and also includes a latch 16 and frequency adjusting means. The register 40 holds a temperature compensation out-of-range flag 42, a temperature compensation flag 44, and a low voltage flag 46.

計時回路60は、分周回路68および時計・カレンダー回路64を備えている。この分周回路68は、発振回路12の後段に接続しており、発振回路12からクロック信号を入力して分周している。そして分周回路68は、ラッチ16に記憶された補正値を入力し、この補正値に応じて分周数を調整している。すなわち分周回路68は、発振周波数のクロック信号を発振回路12から入力するとともに、ラッチ16から補正値を入力して、この補正値に1対1に対応した分周数でクロック信号を分周している。したがって分周回路68が周波数調整手段を兼ねている。なお記憶部26、ラッチ16および前記周波数調整手段が補償回路を構成している。そして時計・カレンダー回路64は、分周回路68から入力した分周信号を利用して、計時を行っている。
このようなリアルタイムクロック装置50でも、前述した実施形態と同様の効果を得ることができる。
The timer circuit 60 includes a frequency divider circuit 68 and a clock / calendar circuit 64. The frequency divider circuit 68 is connected to the subsequent stage of the oscillation circuit 12 and receives the clock signal from the oscillation circuit 12 and divides the frequency. The frequency dividing circuit 68 receives the correction value stored in the latch 16 and adjusts the frequency dividing number according to the correction value. In other words, the frequency divider circuit 68 receives a clock signal having an oscillation frequency from the oscillation circuit 12 and also receives a correction value from the latch 16, and divides the clock signal by a frequency division number corresponding to the correction value on a one-to-one basis. doing. Therefore, the frequency dividing circuit 68 also serves as a frequency adjusting means. The storage unit 26, the latch 16 and the frequency adjusting means constitute a compensation circuit. The clock / calendar circuit 64 uses the frequency-divided signal input from the frequency-dividing circuit 68 to measure time.
Even with such a real-time clock device 50, the same effects as those of the above-described embodiment can be obtained.

10………温度補償型発振回路、12………発振回路、14………圧電振動子、18………制御部、20………補正値決定回路、24………アナログ/ディジタル変換器(ADC)、28………第1低電圧検出回路、30………容量アレイ、40………レジスタ、42………温度補償範囲外フラグ、44………温度補償フラグ、46………低電圧フラグ、50………リアルタイムクロック装置、52………リアルタイムクロック回路、54………第2低電圧検出回路、60………計時回路、62,68………分周回路、70………演算処理装置(CPU)、72………タイムサーバ。 DESCRIPTION OF SYMBOLS 10 ......... Temperature compensated oscillation circuit, 12 ......... Oscillation circuit, 14 ......... Piezoelectric vibrator, 18 ......... Control unit, 20 ......... Correction value determination circuit, 24 ......... Analog / digital converter (ADC), 28... First low voltage detection circuit, 30... Capacitance array, 40... Register, 42... Temperature compensation out-of-range flag, 44. Low voltage flag, 50 ... Real time clock device, 52 ... Real time clock circuit, 54 ... Second low voltage detection circuit, 60 ... Time-counting circuit, 62, 68 ... Frequency divider circuit, 70 ... ... A processing unit (CPU), 72 ... A time server.

Claims (9)

供給電圧により動作する温度補償型発振回路であって、
圧電振動子と、
前記圧電振動子に接続されクロック信号を出力する発振回路と、
前記圧電振動子の周囲温度の測定結果であるアナログ信号を周囲温度ディジタル信号に変換して出力するアナログ/ディジタル変換器と、
前記クロック信号の周波数を調整するためのコンデンサと前記周囲温度ディジタル信号に基づいて制御されるスイッチとが直列に接続されている直列回路を複数有するとともに、複数の前記直列回路の一方の端子が接地されており、他方の端子が前記圧電振動子の一方の端子に接続されている、容量アレイを備えた補償回路と、
温度補償フラグを保持するレジスタと、
前記供給電圧が基準の電圧以下であることを検出して検出信号を出力する第1低電圧検出回路と、
前記検出信号が供給されて、前記補償回路の前記周波数を調整する動作を停止させるとともに、前記温度補償フラグの値を前記補償回路の動作が停止したことを示す値に変更する制御部と、
を備えていることを特徴とする温度補償型発振回路。
A temperature-compensated oscillation circuit that operates with a supply voltage,
A piezoelectric vibrator;
An oscillation circuit connected to the piezoelectric vibrator and outputting a clock signal;
An analog / digital converter that converts an analog signal, which is a measurement result of the ambient temperature of the piezoelectric vibrator, into an ambient temperature digital signal and outputs the analog signal;
A plurality of series circuits in which a capacitor for adjusting the frequency of the clock signal and a switch controlled based on the ambient temperature digital signal are connected in series are provided, and one terminal of the plurality of series circuits is grounded A compensation circuit including a capacitor array, the other terminal of which is connected to one terminal of the piezoelectric vibrator;
A register holding a temperature compensation flag;
A first low voltage detection circuit for detecting that the supply voltage is equal to or lower than a reference voltage and outputting a detection signal;
A control unit that is supplied with the detection signal, stops the operation of adjusting the frequency of the compensation circuit, and changes the value of the temperature compensation flag to a value indicating that the operation of the compensation circuit is stopped;
A temperature-compensated oscillation circuit comprising:
請求項1に記載の温度補償型発振回路であって、
複数の前記直列回路の前記コンデンサの容量値は、互いに異なることを特徴とする温度補償型発振回路。
The temperature compensated oscillation circuit according to claim 1,
The temperature-compensated oscillation circuit, wherein capacitance values of the capacitors of the plurality of series circuits are different from each other.
請求項1または2に記載の温度補償型発振回路であって、
前記レジスタは、温度補償範囲外フラグを更に保持し、
前記アナログ/ディジタル変換器は、前記周囲温度が温度補償範囲外であることを検出して、前記温度補償範囲外フラグの値を前記温度補償範囲外であることを示す値に変更する、
ことを特徴とする温度補償型発振回路。
The temperature compensated oscillation circuit according to claim 1 or 2,
The register further holds a temperature compensation out-of-range flag,
The analog / digital converter detects that the ambient temperature is outside the temperature compensation range, and changes the value of the temperature compensation outside flag to a value indicating that it is outside the temperature compensation range.
A temperature-compensated oscillation circuit characterized by the above.
請求項1乃至3のいずれか一項に記載の温度補償型発振回路であって、
前記制御部は、前記クロック信号に基づき間欠的に前記周波数を調整することを特徴とする温度補償型発振回路。
A temperature compensated oscillation circuit according to any one of claims 1 to 3,
The temperature compensation type oscillation circuit, wherein the control unit intermittently adjusts the frequency based on the clock signal.
請求項1乃至4のいずれか一項に記載の温度補償型発振回路を備えたリアルタイムクロック装置であって、
前記発振回路の後段に接続され、前記クロック信号を分周する分周器と、
前記分周器の後段に接続した時計・カレンダー回路と、
前記供給電圧が基準の電圧以下であることを検出する第2低電圧検出回路と、を備えており、
前記レジスタは、低電圧フラグを更に保持し、前記第2低電圧検出回路で前記供給電圧が基準の電圧以下であることを検出した信号が供給されて前記低電圧フラグの値を基準の電圧以下の前記供給電圧を検出したことを示す値に変更することを特徴とするリアルタイムクロック装置。
A real-time clock device comprising the temperature-compensated oscillation circuit according to any one of claims 1 to 4,
A frequency divider that is connected to a subsequent stage of the oscillation circuit and divides the clock signal;
A clock / calendar circuit connected to the latter stage of the frequency divider;
A second low voltage detection circuit for detecting that the supply voltage is equal to or lower than a reference voltage,
The register further holds a low voltage flag, and the second low voltage detection circuit detects that the supply voltage is equal to or lower than a reference voltage, so that the value of the low voltage flag is equal to or lower than the reference voltage. The real-time clock device is changed to a value indicating that the supply voltage is detected.
供給電圧により動作するリアルタイムクロック装置であって、
圧電振動子、
前記圧電振動子に接続されクロック信号を出力する発振回路、
前記圧電振動子の周囲温度の測定結果であるアナログ信号を周囲温度ディジタル信号に変換して出力するとともに、前記周囲温度が温度補償範囲外であることを検出するアナログ/ディジタル変換器、
前記クロック信号の周波数を調整するためのコンデンサと前記周囲温度ディジタル信号に基づいて制御されるスイッチとが直列に接続された直列回路を複数有するとともに、複数の前記直列回路の一方の端子は接地されており他方の端子は前記圧電振動子の一方の端子に接続されている、容量アレイを備えている補償回路、
前記供給電圧が基準の電圧以下であることを検出して第1の検出信号を出力する第1低電圧検出回路、および
前記第1の検出信号が供給されて、前記周波数を調整する動作を停止させる制御部、
を備えている温度補償型発振回路と、
前記発振回路の後段に接続され、前記クロック信号を分周する分周器、
前記分周器の後段に接続した時計・カレンダー回路、
温度補償フラグと、温度補償範囲外フラグと、低電圧フラグとを保持するレジスタ、および
前記供給電圧が基準の電圧以下であることを検出して第2の検出信号を出力する第2低電圧検出回路、
を備え、
前記温度補償フラグの値は、前記第1の検出信号が供給された前記制御部により、前記補償回路の動作が停止したことを示す値に変更され、
前記温度補償範囲外フラグの値は、前記温度補償範囲外であることを検出した前記アナログ/ディジタル変換器により、前記温度補償範囲外であることを示す値に変更され、
前記低電圧フラグの値は、前記第2の検出信号が供給された前記レジスタにより、前記供給電圧が基準の電圧以下であることを検出したことを示す値に変更される、リアルタイムクロック回路と、
を備えたことを特徴とするリアルタイムクロック装置。
A real-time clock device that operates with a supply voltage,
Piezoelectric vibrator,
An oscillation circuit connected to the piezoelectric vibrator and outputting a clock signal;
An analog / digital converter which converts an analog signal, which is a measurement result of the ambient temperature of the piezoelectric vibrator, into an ambient temperature digital signal and outputs it, and detects that the ambient temperature is outside the temperature compensation range;
The circuit includes a plurality of series circuits in which a capacitor for adjusting the frequency of the clock signal and a switch controlled based on the ambient temperature digital signal are connected in series, and one terminal of the plurality of series circuits is grounded. A compensation circuit having a capacitor array, the other terminal of which is connected to one terminal of the piezoelectric vibrator,
A first low voltage detection circuit for detecting that the supply voltage is equal to or lower than a reference voltage and outputting a first detection signal; and stopping the operation of adjusting the frequency when the first detection signal is supplied Control unit,
A temperature-compensated oscillation circuit comprising:
A frequency divider that is connected to a subsequent stage of the oscillation circuit and divides the clock signal;
A clock / calendar circuit connected to the latter stage of the frequency divider,
A register that holds a temperature compensation flag, a temperature compensation out-of-range flag, and a low voltage flag, and a second low voltage detection that detects that the supply voltage is equal to or lower than a reference voltage and outputs a second detection signal circuit,
With
The value of the temperature compensation flag is changed to a value indicating that the operation of the compensation circuit is stopped by the control unit supplied with the first detection signal,
The value of the temperature compensation out-of-range flag is changed to a value indicating that it is out of the temperature compensation range by the analog / digital converter that has detected that it is out of the temperature compensation range,
A value of the low voltage flag is changed to a value indicating that the supply voltage is lower than a reference voltage by the register to which the second detection signal is supplied; and a real-time clock circuit;
A real-time clock device comprising:
請求項6に記載のリアルタイムクロック装置であって、
複数の前記直列回路の前記コンデンサの容量値は、互いに異なることを特徴とするリアルタイムクロック装置。
The real-time clock device according to claim 6,
The real time clock device according to claim 1, wherein capacitance values of the capacitors of the plurality of series circuits are different from each other.
請求項6または7に記載のリアルタイムクロック装置を備えた電子機器であって、
前記レジスタおよび前記時計・カレンダー回路と通信可能に接続された前記リアルタイムクロック装置の外部に設けられた演算処理装置、を有し、
前記演算処理装置は、前記レジスタが保持する前記温度補償フラグ、前記温度補償範囲外フラグ、および前記低電圧フラグ、のうち少なくともいずれか1つのフラグが初期値から変更した値を検出して、タイムサーバから時刻情報を入力して、前記時刻情報を前記時計・カレンダー回路に設定することを特徴とする電子機器。
An electronic apparatus comprising the real-time clock device according to claim 6 or 7,
An arithmetic processing unit provided outside the real-time clock device connected to be able to communicate with the register and the clock / calendar circuit;
The arithmetic processing unit detects a value in which at least one of the temperature compensation flag, the temperature compensation out-of-range flag, and the low voltage flag held by the register is changed from an initial value, An electronic apparatus, wherein time information is input from a server and the time information is set in the clock / calendar circuit.
請求項6または7に記載のリアルタイムクロック装置を備えた電子機器であって、
前記制御部は、前記クロック信号に基づき間欠的に前記周波数を調整することを特徴とする電子機器。
An electronic apparatus comprising the real-time clock device according to claim 6 or 7,
The said control part adjusts the said frequency intermittently based on the said clock signal, The electronic device characterized by the above-mentioned.
JP2013056490A 2013-03-19 2013-03-19 Temperature compensated oscillation circuit, real-time clock device and electronic equipment Active JP5590174B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013056490A JP5590174B2 (en) 2013-03-19 2013-03-19 Temperature compensated oscillation circuit, real-time clock device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013056490A JP5590174B2 (en) 2013-03-19 2013-03-19 Temperature compensated oscillation circuit, real-time clock device and electronic equipment

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2007198513A Division JP5228392B2 (en) 2007-07-31 2007-07-31 Temperature compensated oscillation circuit, real-time clock device and electronic equipment

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2014153011A Division JP5831853B2 (en) 2014-07-28 2014-07-28 Temperature compensated oscillation circuit, real-time clock device and electronic equipment

Publications (2)

Publication Number Publication Date
JP2013150344A JP2013150344A (en) 2013-08-01
JP5590174B2 true JP5590174B2 (en) 2014-09-17

Family

ID=49047372

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013056490A Active JP5590174B2 (en) 2013-03-19 2013-03-19 Temperature compensated oscillation circuit, real-time clock device and electronic equipment

Country Status (1)

Country Link
JP (1) JP5590174B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6245424B2 (en) * 2013-08-08 2017-12-13 セイコーエプソン株式会社 OSCILLATOR CIRCUIT CONTROL METHOD, OSCILLATION CIRCUIT, OSCILLATOR, ELECTRONIC DEVICE, AND MOBILE BODY
JP7251375B2 (en) 2019-07-18 2023-04-04 セイコーエプソン株式会社 Electronically controlled mechanical timepiece and control method for electronically controlled mechanical timepiece
JP7251374B2 (en) 2019-07-18 2023-04-04 セイコーエプソン株式会社 Clocks and clock control methods

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2901357B2 (en) * 1991-01-18 1999-06-07 株式会社ケンウッド Digitally controlled temperature compensated crystal oscillator
JP2001222342A (en) * 2000-02-07 2001-08-17 Canon Inc Electronic equipment and method for controlling timing of the equipment and storage medium
JP2003051718A (en) * 2001-08-07 2003-02-21 Seiko Epson Corp Oscillator and electronic equipment
JP2004061379A (en) * 2002-07-30 2004-02-26 Ricoh Co Ltd Real time clock and system using real time clock
JP2004245761A (en) * 2003-02-17 2004-09-02 Murata Mach Ltd Electronic device equipped with clock circuit
JP4403884B2 (en) * 2004-06-02 2010-01-27 船井電機株式会社 Electronic apparatus and disk recording / reproducing apparatus
JP2006303764A (en) * 2005-04-19 2006-11-02 Seiko Epson Corp Temperature compensation method of temperature compensation oscillation circuit, temperature compensation oscillation circuit, piezoelectric device, and electronic apparatus
JP4771280B2 (en) * 2005-08-30 2011-09-14 セイコーエプソン株式会社 Temperature compensation method, correction value determination circuit, and temperature compensation oscillation circuit

Also Published As

Publication number Publication date
JP2013150344A (en) 2013-08-01

Similar Documents

Publication Publication Date Title
JP5228392B2 (en) Temperature compensated oscillation circuit, real-time clock device and electronic equipment
JP5965223B2 (en) Clock correction circuit and clock correction method
JP4950922B2 (en) Time device and portable electronic device
JP2011182154A (en) Oscillation circuit and frequency-correcting oscillation circuit
JP2007078405A (en) Timing program of software timepiece
US20170063305A1 (en) Oscillation circuit, electronic apparatus, and moving object
JPH07311289A (en) Electronic watch and time correction method
JP5590174B2 (en) Temperature compensated oscillation circuit, real-time clock device and electronic equipment
CN103378856A (en) Automatic self-calibrated oscillation method and apparatus using the same
JP2017010297A (en) Clock signal generation circuit, semiconductor integrated circuit device, and electronic apparatus
GB2472030A (en) Real-time clock system that stops the oscillator and freezes the clock value so as to retain the clock value when the power is removed.
US10128854B2 (en) Oscillation circuit, electronic apparatus, and moving object
JP5477488B2 (en) Real-time clock and data recording method for real-time clock
JP2013167597A (en) Real time clock
US7688151B2 (en) Aging compensation method and control module for an oscillator circuit device
CN102916654A (en) Crystal oscillator ageing compensation method
JP5831853B2 (en) Temperature compensated oscillation circuit, real-time clock device and electronic equipment
JP2009130587A (en) Oscillation circuit and oscillator
JP7392576B2 (en) Real-time clock circuit, real-time clock module, electronic equipment and real-time clock circuit correction method
JP5291564B2 (en) Oscillator
JP2011103564A (en) Temperature-compensated piezoelectric oscillator, and method of adjusting frequency for the same
US10447205B2 (en) Oscillation device and method for manufacturing the oscillation device
JP6564250B2 (en) Oscillator
JP4711546B2 (en) Temperature correction method for real-time clock and processing device provided with real-time clock
JP2006303764A (en) Temperature compensation method of temperature compensation oscillation circuit, temperature compensation oscillation circuit, piezoelectric device, and electronic apparatus

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140121

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140129

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140305

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140714

R150 Certificate of patent (=grant) or registration of utility model

Ref document number: 5590174

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350