JP2008008630A - Apparatus and method for correcting time error of electronic timepiece - Google Patents

Apparatus and method for correcting time error of electronic timepiece Download PDF

Info

Publication number
JP2008008630A
JP2008008630A JP2006176148A JP2006176148A JP2008008630A JP 2008008630 A JP2008008630 A JP 2008008630A JP 2006176148 A JP2006176148 A JP 2006176148A JP 2006176148 A JP2006176148 A JP 2006176148A JP 2008008630 A JP2008008630 A JP 2008008630A
Authority
JP
Japan
Prior art keywords
time
unit
correction
temperature
standby mode
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2006176148A
Other languages
Japanese (ja)
Inventor
Tetsutaro Yoshikoshi
鉄太郎 吉越
Kenichi Kumasaka
健一 熊坂
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.)
Alpine Electronics Inc
Original Assignee
Alpine Electronics Inc
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 Alpine Electronics Inc filed Critical Alpine Electronics Inc
Priority to JP2006176148A priority Critical patent/JP2008008630A/en
Publication of JP2008008630A publication Critical patent/JP2008008630A/en
Pending legal-status Critical Current

Links

Abstract

<P>PROBLEM TO BE SOLVED: To provide an apparatus and a method for correcting time errors of electronic timepieces, which corrects time errors of electronic timepieces with little electric power consumption. <P>SOLUTION: Correction data in which time is related to a correction value to the time at every prescribed interval is previously stored in a correction data storage part 70. By the retroactive correction of a time error correction part 83 on time errors which have occurred during the past standby mode, on the basis of: time data stored in a temporary storage part 82 and immediately before a standby mode; time data measured by a clock IC30 immediately before a change-over to an operating mode; and the correction data when a standby mode is changed over to an operating mode, omit the time and labor required to correct time errors by activating a microprocessor 80 at prescribed time intervals when in a standby mode is omitted. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、電子時計の時刻誤差補正装置および時刻誤差補正方法に関し、例えば、水晶振動子の温度特性により生じる時刻の誤差を補正する技術に関するものである。   The present invention relates to a time error correction device and a time error correction method for an electronic timepiece, for example, a technique for correcting a time error caused by temperature characteristics of a crystal resonator.

一般に、電子時計では、32.768kHzの周波数で発振する水晶振動子が用いられている。このような水晶振動子には、温度変化により発振周波数が変化するという温度特性がある。特に、常温付近(25度)の周波数の変化に比べて高温時および低温時の周波数の変化は大きいという特性がある。   Generally, in an electronic timepiece, a crystal resonator that oscillates at a frequency of 32.768 kHz is used. Such a crystal resonator has a temperature characteristic that the oscillation frequency changes due to a temperature change. In particular, there is a characteristic that the frequency change at high temperature and low temperature is larger than the frequency change near normal temperature (25 degrees).

周波数の変化は時刻の誤差に直接影響するため、水晶振動子の周辺温度を測定し、温度変化による時刻誤差を補正する技術が提供されている(例えば、特許文献1参照)。この特許文献1に記載の技術によれば、温度と発振周波数との関係に基づいて時刻を補正することができ、温度変化による時刻の誤差を低減することができる。
特開平6−82577号公報
Since the change in frequency directly affects the time error, there is provided a technique for measuring the ambient temperature of the crystal resonator and correcting the time error due to the temperature change (see, for example, Patent Document 1). According to the technique described in Patent Document 1, the time can be corrected based on the relationship between the temperature and the oscillation frequency, and the time error due to the temperature change can be reduced.
JP-A-6-82577

また、電子時計の消費電力を低減させるために、一定時間(例えば、1時間)ごとに温度測定手段や時刻誤差導出手段を起動する以外は、これらの手段を停止させておくようにした技術も提供されている(例えば、特許文献2参照)。
特開2002−311173号公報
In addition, in order to reduce the power consumption of the electronic timepiece, there is a technique in which these means are stopped except that the temperature measuring means and the time error deriving means are started every certain time (for example, one hour). Provided (for example, see Patent Document 2).
JP 2002-31173 A

しかしながら、例えば自動車に設けられた電子時計では、アクセサリ電源(ACC)がオフのときは、水晶振動子は動いていても、時刻誤差の補正を行うマイコンがスタンバイ状態(非動作状態)となるため、温度変化により生じた時刻の誤差を補正することができない。特に、夜間等に長時間自動車が使用されないときは、補正のできないスタンバイ状態が長く続くため、電子時計の時刻誤差が大きくなる。   However, in an electronic timepiece provided in an automobile, for example, when the accessory power supply (ACC) is off, the microcomputer that corrects the time error is in a standby state (non-operating state) even if the crystal unit is moving. The time error caused by the temperature change cannot be corrected. In particular, when the automobile is not used for a long time at night or the like, the standby state that cannot be corrected continues for a long time, and the time error of the electronic timepiece increases.

なお、特許文献2に記載の発明を用いて、マイコンのスタンバイ状態中に、一定時間ごとにマイコンを起動して時刻の補正を行う方法も考えられる。しかし、マイコンを一定時間ごとに起動して時刻の補正を行うと、バックアップ電源の消費が大きくなってしまうという問題がある。   A method of correcting the time by starting the microcomputer at regular intervals while the microcomputer is in a standby state using the invention described in Patent Document 2 is also conceivable. However, if the microcomputer is started at regular intervals to correct the time, there is a problem that the consumption of backup power increases.

本発明は、このような問題を解決するために成されたものであり、少ない消費電力で電子時計の時刻誤差の補正を行うことができるようにすることを目的とする。   The present invention has been made to solve such a problem, and an object of the present invention is to enable correction of a time error of an electronic timepiece with low power consumption.

本発明は、このような問題を解決するために成されたものであり、例えば所定間隔毎の時刻とその各時刻に対する補正値とを対応付けた補正データをあらかじめ用意しておき、スタンバイモードから動作モードに切り替ったときに、スタンバイモードへ入る直前の時刻と、スタンバイモードから動作モードに切り替った直後の時刻と、上述の補正データとに基づいて、過去のスタンバイモード中に生じた時刻の誤差を補正するための所定時間毎の補正値を得て、現在の時刻を補正するようにしている。   The present invention has been made to solve such a problem. For example, correction data in which a time at a predetermined interval and a correction value for each time are associated with each other is prepared in advance, and the standby mode is started. Time that occurred during the previous standby mode based on the time immediately before entering standby mode, the time immediately after switching from standby mode to operation mode, and the above correction data when switching to operation mode The correction value for every predetermined time for correcting the error is obtained and the current time is corrected.

上記のように構成した本発明によれば、スタンバイモードから動作モードに切り替ったときに、あらかじめ用意してある補正データを用いてスタンバイモード中に生じた時刻の誤差を遡って補正することができるため、スタンバイモード中に一定時間毎にマイコンを起動して時刻補正をする必要がなく、消費電力を低減させることができるようになる。   According to the present invention configured as described above, when the standby mode is switched to the operation mode, it is possible to retroactively correct a time error generated during the standby mode using correction data prepared in advance. Therefore, it is not necessary to start the microcomputer at regular intervals during the standby mode to correct the time, and power consumption can be reduced.

(第1の実施形態)
以下、本発明の第1の実施形態を図面に基づいて説明する。図1は、第1の実施形態による電子時計の時刻誤差補正装置10の構成例を示す図である。本実施携帯では、電子時計が自動車に設けられた例を示す。図1に示すように、電子時計の時刻誤差補正装置10は、水晶振動子20、クロックIC30、表示制御部40、時刻表示部50、温度測定部60、補正データ記憶部70、およびマイクロプロセッサ80を備えている。
(First embodiment)
DESCRIPTION OF EXEMPLARY EMBODIMENTS Hereinafter, a first embodiment of the invention will be described with reference to the drawings. FIG. 1 is a diagram illustrating a configuration example of a time error correction device 10 for an electronic timepiece according to the first embodiment. In this embodiment, an example in which an electronic timepiece is provided in an automobile is shown. As shown in FIG. 1, the time error correction device 10 for an electronic timepiece includes a crystal resonator 20, a clock IC 30, a display control unit 40, a time display unit 50, a temperature measurement unit 60, a correction data storage unit 70, and a microprocessor 80. It has.

水晶振動子20は、電子時計の時刻を計測する際の基準となる周波数を発振するためのものであり、例えば32.768kHzの周波数で発振する音叉型水晶振動子等を用いる。
クロックIC30(本発明の時刻計測部に相当する)は、図示しない発振回路や分周回路等を内蔵しており、水晶振動子20から供給された基準周波数のクロック信号に基づいて、時刻データを生成する。表示制御部40は、クロックIC30から供給される時刻データを基に時刻表示部50に時刻を表示させる。
The crystal resonator 20 is for oscillating a frequency that becomes a reference when measuring the time of the electronic timepiece. For example, a tuning fork type crystal resonator that oscillates at a frequency of 32.768 kHz is used.
The clock IC 30 (corresponding to the time measuring unit of the present invention) incorporates an oscillation circuit, a frequency dividing circuit, and the like (not shown), and generates time data based on a clock signal having a reference frequency supplied from the crystal resonator 20. Generate. The display control unit 40 causes the time display unit 50 to display the time based on the time data supplied from the clock IC 30.

温度測定部60は、水晶振動子20の周囲温度を測定するものである。補正データ記憶部70は、マイクロプロセッサ80がスタンバイモードにあったときに生じた時刻の誤差を補正するために用いる補正データをあらかじめ記憶している。なお、スタンバイモードとは、自動車のアクセサリ電源(ACC)がオフとされていて、マイクロプロセッサ80の主要部(スタンバイ状態検出部81以外)が非動作状態にあることをいう。スタンバイモード時であっても、水晶振動子20、クロックIC30、表示制御部40、時刻表示部50は自動車のバックアップ電源により動作しており、クロックIC30から表示制御部40に供給される時刻データにより時刻表示部50に時刻の表示をすることは可能である。一方、アクセサリ電源がオンとされていて、マイクロプロセッサ80も動作状態にあるとき、これを動作モードという。   The temperature measuring unit 60 measures the ambient temperature of the crystal unit 20. The correction data storage unit 70 stores in advance correction data used to correct a time error that occurs when the microprocessor 80 is in the standby mode. Note that the standby mode means that the accessory power supply (ACC) of the automobile is turned off and the main part (other than the standby state detection unit 81) of the microprocessor 80 is in a non-operating state. Even in the standby mode, the crystal resonator 20, the clock IC 30, the display control unit 40, and the time display unit 50 are operated by the backup power source of the automobile, and the time data supplied from the clock IC 30 to the display control unit 40 is used. It is possible to display the time on the time display unit 50. On the other hand, when the accessory power supply is turned on and the microprocessor 80 is also in the operating state, this is called an operation mode.

ここで、図2および図3を用いて、補正データの内容について説明する。図2は、年間の温度変化の例を示す図である。図3は、補正データ記憶部70に記憶される補正データの例を月ごとに示す図である。図2は、1月から12月までの各月ごとに、1日(24時間)の間に車内温度がどのように変化するかを表している。ここでは、各月の平均的な温度変化を表している。このようなグラフは、例えば経験値として得ることが可能である。   Here, the content of the correction data will be described with reference to FIGS. FIG. 2 is a diagram illustrating an example of annual temperature change. FIG. 3 is a diagram illustrating an example of correction data stored in the correction data storage unit 70 for each month. FIG. 2 shows how the in-vehicle temperature changes during one day (24 hours) for each month from January to December. Here, the average temperature change of each month is shown. Such a graph can be obtained as an experience value, for example.

補正データは、図2のグラフを利用して求める。本実施形態の補正データは、所定間隔毎(例えば、1時間毎)の時刻とその各時刻に対する補正値とを対応付けて構成したテーブル情報である。図2のグラフから分かるように、時間が1時間経過すると、温度が変化する。温度が変化すれば、水晶振動子20の温度特性により、クロックIC30により計測される時刻の誤差量にも変化が生じる。補正値は、この変化した誤差量を打ち消す値に設定する。   The correction data is obtained using the graph of FIG. The correction data of the present embodiment is table information configured by associating a time at a predetermined interval (for example, every hour) with a correction value for each time. As can be seen from the graph in FIG. 2, the temperature changes after 1 hour has elapsed. When the temperature changes, the time error measured by the clock IC 30 also changes due to the temperature characteristics of the crystal unit 20. The correction value is set to a value that cancels the changed error amount.

例えば、1月における11時の温度がt1度である場合に、t1度に対して生じる時刻の誤差が+Δe1であることが水晶振動子20の温度特性から分かっているとする。また、1月における12時の温度がt2度である場合に、t2度に対して生じる時刻の誤差が+Δe2であることが水晶振動子20の温度特性から分かっているとする。この場合、11時から12時までの1時間に、温度がt1度からt2度に変化し、時刻の誤差は+Δe1から+Δe2に変化する。この場合、12時の補正値s1は、−(Δe2−Δe1)とする。   For example, when the temperature at 11 o'clock in January is t1 degrees, it is assumed from the temperature characteristics of the crystal unit 20 that the time error generated with respect to t1 degrees is + Δe1. Further, it is assumed that it is known from the temperature characteristics of the crystal resonator 20 that when the temperature at 12:00 in January is t2 degrees, the time error generated with respect to t2 degrees is + Δe2. In this case, in one hour from 11:00 to 12:00, the temperature changes from t1 degrees to t2 degrees, and the time error changes from + Δe1 to + Δe2. In this case, the correction value s1 at 12:00 is assumed to be-(Δe2-Δe1).

同様に、13時の温度がt3度である場合に、t3度に対して生じる時刻の誤差が+Δe3であることが水晶振動子20の温度特性から分かっているとする。この場合、12時から13時までの1時間に、温度がt2度からt3度に変化し、時刻の誤差は+Δe2から+Δe3に変化する。この場合、13時の補正値s2は、−(Δe3−Δe2)とする。このような補正値を1時間毎に求め、得られた24個の補正値と各時刻との組み合わせから成るテーブル情報を1月の補正データとする。同様に、2月〜12月の補正データも生成する。   Similarly, when the temperature at 13:00 is t3 degrees, it is assumed from the temperature characteristics of the crystal unit 20 that the time error generated with respect to t3 degrees is + Δe3. In this case, in one hour from 12:00 to 13:00, the temperature changes from t2 degrees to t3 degrees, and the time error changes from + Δe2 to + Δe3. In this case, the correction value s2 at 13:00 is − (Δe3−Δe2). Such correction values are obtained every hour, and table information including combinations of the obtained 24 correction values and each time is used as correction data for January. Similarly, correction data for February to December is also generated.

図3は、このようにして生成した補正データを示している。ここでは、1月における12時の補正値をs1、13時の補正値をs2、・・・とするようにして補正データを生成している。この補正データは、図2のグラフと水晶振動子20の温度特性からあらかじめ生成しておき、これを補正データ記憶部70にあらかじめ記憶しておく。補正データ記憶部70は、例えばROMのようにデータの書き換えができないものであっても良い。   FIG. 3 shows the correction data generated in this way. Here, the correction data is generated so that the correction value at 12:00 in January is s1, the correction value at 13:00 is s2, and so on. The correction data is generated in advance from the graph of FIG. 2 and the temperature characteristics of the crystal unit 20 and stored in advance in the correction data storage unit 70. The correction data storage unit 70 may be such that data cannot be rewritten, such as a ROM.

マイクロプロセッサ80は、電子時計の時刻誤差補正装置10の全体を制御する。特に、クロックIC30により計測される時刻の誤差を補正する処理を実行する。マイクロプロセッサ80は、その機能構成としてスタンバイ状態検出部81、一時記憶部82、時刻誤差補正部83およびこれらを制御する制御部84を備えている。   The microprocessor 80 controls the entire time error correction device 10 of the electronic timepiece. In particular, processing for correcting an error in time measured by the clock IC 30 is executed. The microprocessor 80 includes, as its functional configuration, a standby state detection unit 81, a temporary storage unit 82, a time error correction unit 83, and a control unit 84 that controls them.

スタンバイ状態検出部81は、アクセサリ電源から受け取ったACC信号により、マイクロプロセッサ80のスタンバイモードと動作モードとの切り替えを検出する。   The standby state detection unit 81 detects switching between the standby mode and the operation mode of the microprocessor 80 based on the ACC signal received from the accessory power supply.

一時記憶部82は、制御部84の制御によって、マイクロプロセッサ80がスタンバイモードに入る直前にクロックIC30により計測された時刻データを一時的に記憶する。時刻誤差補正部83は、温度変化により生じた時刻の誤差を補正する。この時刻誤差補正部83は、マイクロプロセッサ80がスタンバイモードにあるときは補正を行わないが、動作モードにあるときは補正を行っている。特に、スタンバイモードから動作モードに切り替わったときには、本実施形態特有の補正を実行する。   The temporary storage unit 82 temporarily stores time data measured by the clock IC 30 immediately before the microprocessor 80 enters the standby mode under the control of the control unit 84. The time error correction unit 83 corrects a time error caused by a temperature change. The time error correction unit 83 does not perform correction when the microprocessor 80 is in the standby mode, but performs correction when the microprocessor 80 is in the operation mode. In particular, when the standby mode is switched to the operation mode, correction specific to the present embodiment is executed.

時刻誤差補正部83は、通常、所定時間ごと(例えば、1時間毎)に温度測定部60から受け取った温度データを基に、その温度に対応した時刻の誤差を算出し、時刻の誤差の補正を行う。なお、時刻誤差補正部83は、クロックIC30により計測される時刻の温度特性または水晶振動子20の発振周波数の温度特性を表す特性データを記憶しており、この特性データと温度測定部60から受け取った温度データとに基づいて、時刻の誤差を算出して補正する。   The time error correction unit 83 normally calculates a time error corresponding to the temperature based on the temperature data received from the temperature measurement unit 60 every predetermined time (for example, every hour), and corrects the time error. I do. The time error correction unit 83 stores characteristic data representing the temperature characteristic of the time measured by the clock IC 30 or the temperature characteristic of the oscillation frequency of the crystal resonator 20, and receives the characteristic data and the temperature measurement unit 60. Based on the measured temperature data, the time error is calculated and corrected.

しかし、マイクロプロセッサ80がスタンバイモードのときには、時刻誤差補正部83は働いておらず、時刻の補正をしない。そのため、クロックIC30で生成される時刻データに誤差が生じたままの状態となる。そこで、本実施形態の時刻誤差補正部83は、スタンバイモードから動作モードに切り替ったときに、動作モードに切り替った直後にクロックIC30から受け取った時刻データと、一時記憶部82に記憶してあるスタンバイモードに入る直前の時刻データと、補正データ記憶部70が有する補正データとに基づいて、マイクロプロセッサ80がスタンバイモード中であったときの1時間毎の時刻における補正値により現在の時刻の誤差を補正する。   However, when the microprocessor 80 is in the standby mode, the time error correction unit 83 is not working and does not correct the time. Therefore, an error remains in the time data generated by the clock IC 30. Therefore, the time error correction unit 83 of the present embodiment stores the time data received from the clock IC 30 immediately after switching to the operation mode and the temporary storage unit 82 when the standby mode is switched to the operation mode. Based on the time data immediately before entering a certain standby mode and the correction data stored in the correction data storage unit 70, the current time is determined by the correction value at the hourly time when the microprocessor 80 is in the standby mode. Correct the error.

例えば、マイクロプロセッサ80が11時から14時までの3時間スタンバイモードにあった場合(一時記憶部82に記憶してあるスタンバイモードに入る直前の時刻データが11時で、動作モードに切り替った直後にクロックIC30から受け取った時刻データが14時の場合)、時刻誤差補正部83は、11時から1時間経過した12時の補正値s1と、更に1時間経過した13時の補正値s2と、更に1時間経過した14時の補正値s3とを全て加算して合計補正値sを求める(s=s1+s2+s3)。そして、求めた合計補正値sを、クロックIC30により計測されている現在の時刻に加算することにより、現在の時刻を補正する。   For example, when the microprocessor 80 is in the standby mode for 3 hours from 11:00 to 14:00 (the time data immediately before entering the standby mode stored in the temporary storage unit 82 is 11:00, and the operation mode is switched to the operation mode. When the time data received from the clock IC 30 immediately after is 14:00), the time error correction unit 83 includes a correction value s1 at 12:00 after 1 hour from 11:00, and a correction value s2 at 13:00 after 1 hour has passed. Further, the total correction value s is obtained by adding all the correction values s3 at 14:00 when one hour has passed (s = s1 + s2 + s3). Then, the current time is corrected by adding the obtained total correction value s to the current time measured by the clock IC 30.

なお、補正データ記憶部70に記憶されている補正データは1時間毎の補正値であるので、一時記憶部82に記憶してあるスタンバイモードに入る直前の時刻が、補正データ記憶部70に記憶されている時刻と完全に一致しないこともある。例えば、スタンバイモードに入った時刻が11時20分であるとすると、11時20分に対応する補正値は補正データ記憶部70に記憶されていない。この場合は、例えば、その前後の時刻(11時または12時)のうち、スタンバイモードに入った時刻に近い方の時刻に近似して補正値を求める。すなわち、11時にスタンバイモードに入ったとみなして、12時の補正値s1を採用する。なお、一時記憶部82に時刻データを記憶するときに、スタンバイモードに実際に移行した時刻が11時20分であっても11時というデータを記憶するようにしても良い。   Since the correction data stored in the correction data storage unit 70 is correction values for every hour, the time immediately before the standby mode stored in the temporary storage unit 82 is stored in the correction data storage unit 70. The exact time may not match. For example, if the time when the standby mode is entered is 11:20, the correction value corresponding to 11:20 is not stored in the correction data storage unit 70. In this case, for example, the correction value is obtained by approximating the time closer to the time when the standby mode is entered among the previous and subsequent times (11 o'clock or 12 o'clock). That is, assuming that the standby mode has been entered at 11:00, the correction value s1 at 12:00 is adopted. When the time data is stored in the temporary storage unit 82, the data of 11 o'clock may be stored even if the time when the mode is actually shifted to the standby mode is 11:20.

11時30分のように、補正データ記憶部70に記憶されている時間間隔のちょうど真中の時間にスタンバイモードに入った場合は、その前後の時刻(11時または12時)のうち、どちらか一方の時刻に近似して補正値を求める。例えば、前の方の時刻である11時にスタンバイモードに入ったとみなして、12時の補正値s1を採用する。   When the standby mode is entered at a time exactly in the middle of the time interval stored in the correction data storage unit 70 such as 11:30, one of the previous and subsequent times (11:00 or 12:00) A correction value is obtained by approximating one of the times. For example, assuming that the standby mode has been entered at 11:00, which is the earlier time, the correction value s1 at 12:00 is adopted.

これと同様に、スタンバイモードから動作モードに移行したときの時刻が、補正データ記憶部70に記憶されている時刻と完全に一致しないこともある。例えば、動作モードに入った時刻が14時10分であるとすると、14時10分に対応する補正値は補正データ記憶部70に記憶されていない。この場合は、例えば、その前後の時刻(14時または15時)のうち、動作モードに入った時刻に近い方の時刻に近似して補正値を求める。すなわち、14時に動作モードに入ったとみなして、14時の補正値s3を採用する。   Similarly, the time when the operation mode is shifted from the standby mode may not completely match the time stored in the correction data storage unit 70. For example, if the time when the operation mode is entered is 14:10, the correction value corresponding to 14:10 is not stored in the correction data storage unit 70. In this case, for example, the correction value is obtained by approximating the time closer to the time when the operation mode is entered among the times before and after (14:00 or 15:00). That is, assuming that the operation mode has been entered at 14:00, the correction value s3 at 14:00 is adopted.

別の例として、実際にスタンバイモードに入った時間、スタンバイモードを抜けた時間に応じた補正値を補間演算により求めるようにしても良い。例えば、スタンバイモードに入った時刻が12時15分であるとすると、12時15分に対応する補正値を、補正データ記憶部70に記憶されている12時の補正値s1と13時の補正値s2とから補間演算によって求める。補間演算は、線形補間であっても良いし、2次関数やその他の補間関数を用いた補間であっても良い。上述の例で線形補間を行う場合、12時15分の補正値は、s1+(s2−s1)/4となる。   As another example, a correction value corresponding to the time when the standby mode is actually entered or the time when the standby mode is exited may be obtained by interpolation calculation. For example, if the time when the standby mode is entered is 12:15, the correction value corresponding to 12:15 is set to the correction value s1 at 12:00 stored in the correction data storage unit 70 and the correction at 13:00. It is obtained by interpolation calculation from the value s2. The interpolation calculation may be linear interpolation or interpolation using a quadratic function or another interpolation function. When linear interpolation is performed in the above example, the correction value at 12:15 is s1 + (s2-s1) / 4.

制御部84は、一時記憶部82および時刻誤差補正部83の動作を制御する。例えば、制御部84は、マイクロプロセッサ80が動作モードにあるときに、1時間毎に時刻の補正を行うように時刻誤差補正部83に時刻の補正を指示する。また、制御部84は、スタンバイ状態検出部81により動作モードからスタンバイモードへの切り替えが検出されたときに、その直前にクロックIC30により計測された時刻データを一時記憶部82に格納する。また、制御部84は、スタンバイ状態検出部81によりスタンバイモードから動作モードへの切り替えが検出されたときに、時刻誤差補正部83へ時刻の補正を指示する。   The control unit 84 controls operations of the temporary storage unit 82 and the time error correction unit 83. For example, the control unit 84 instructs the time error correction unit 83 to correct the time so that the time is corrected every hour when the microprocessor 80 is in the operation mode. In addition, when the standby state detection unit 81 detects switching from the operation mode to the standby mode, the control unit 84 stores the time data measured by the clock IC 30 immediately before it in the temporary storage unit 82. The control unit 84 instructs the time error correction unit 83 to correct the time when the standby state detection unit 81 detects the switching from the standby mode to the operation mode.

図4は、水晶振動子20の温度特性を示す図である。図4(a)は誤差補正を行わない場合の特性を示し、図4(b)は本実施形態の誤差補正を行った場合の特性を示している。図4において、縦軸は周波数誤差(ΔF/F)を表し、横軸は温度(℃)を表している。一般に、水晶振動子20は、図4(a)に示すように、常温(25度)付近では誤差が少ないが、温度が常温から離れるほど誤差が大きくなるような周波数温度特性を有している。このときの誤差は、最大で200ppm近い値となっている。   FIG. 4 is a diagram showing temperature characteristics of the crystal unit 20. FIG. 4A shows characteristics when error correction is not performed, and FIG. 4B shows characteristics when error correction according to the present embodiment is performed. In FIG. 4, the vertical axis represents the frequency error (ΔF / F), and the horizontal axis represents the temperature (° C.). In general, as shown in FIG. 4A, the crystal unit 20 has a frequency-temperature characteristic in which the error is small near normal temperature (25 degrees), but the error increases as the temperature goes away from the normal temperature. . The error at this time is a value close to 200 ppm at the maximum.

これに対して、本実施形態の誤差補正を実行することで、マイクロプロセッサ80がスタンバイモードに切り替った後に発生する時刻帯の変化に伴う周囲温度の変化に対して、水晶振動子20の周波数誤差を図4(b)に示すように100ppm以内に抑えた時刻補正をマイクロプロセッサ80が動作モードに移行した段階で行うことが可能となる。   On the other hand, by executing the error correction of the present embodiment, the frequency of the crystal unit 20 is changed with respect to the change in the ambient temperature accompanying the change in the time zone that occurs after the microprocessor 80 switches to the standby mode. As shown in FIG. 4B, the time correction with the error suppressed to 100 ppm or less can be performed when the microprocessor 80 shifts to the operation mode.

次に、上記のように構成した第1の実施形態における電子時計の時刻誤差補正装置10の動作を説明する。図5は、電子時計の時刻誤差補正装置10による時刻補正の動作例を示すフローチャートである。図5において、クロックIC30は、水晶振動子20から供給される基準周波数のクロック信号を基に、時刻データを生成(カウント)する(ステップS1)。生成された時刻データは、表示制御部40に送られる。時刻データを受け取った表示制御部40は、時刻表示部50に時刻を表示する(ステップS2)。   Next, the operation of the time error correction device 10 of the electronic timepiece according to the first embodiment configured as described above will be described. FIG. 5 is a flowchart showing an operation example of time correction by the time error correction device 10 of the electronic timepiece. In FIG. 5, the clock IC 30 generates (counts) time data based on the clock signal of the reference frequency supplied from the crystal resonator 20 (step S1). The generated time data is sent to the display control unit 40. The display control unit 40 that has received the time data displays the time on the time display unit 50 (step S2).

ここで、制御部84は、時刻誤差補正部83で前回の時刻補正が行われてから1時間が経過したか否かを判断する(ステップS3)。時刻の補正が行われてから1時間が経過したと判断した場合、制御部84は、時刻誤差補正部83に時刻の補正をするよう指示する。これにより時刻誤差補正部83は、温度測定部60にて測定される温度データを読み込む(ステップS4)。そして、読み込んだ温度データと、温度特性を表す特性データとを基に、測定温度に対応した時刻の誤差を算出し、時刻の補正を行う(ステップS5)。   Here, the control unit 84 determines whether or not one hour has elapsed since the previous time correction was performed by the time error correction unit 83 (step S3). When it is determined that one hour has elapsed since the time correction is performed, the control unit 84 instructs the time error correction unit 83 to correct the time. Thereby, the time error correction unit 83 reads the temperature data measured by the temperature measurement unit 60 (step S4). Then, based on the read temperature data and the characteristic data representing the temperature characteristic, the time error corresponding to the measured temperature is calculated, and the time is corrected (step S5).

補正された時刻データは、制御部84によりクロックIC30に送られる。クロックIC30は、補正された時刻データを用いて時刻の設定をし直す。また、クロックIC30は、補正後の時刻データを表示制御部40に供給する。補正後の時刻データを受け取った表示制御部40は、時刻表示部50に補正後の時刻を表示し(ステップS6)、ステップS1の処理に戻る。   The corrected time data is sent to the clock IC 30 by the control unit 84. The clock IC 30 resets the time using the corrected time data. Further, the clock IC 30 supplies the corrected time data to the display control unit 40. The display control unit 40 that has received the corrected time data displays the corrected time on the time display unit 50 (step S6), and returns to the process of step S1.

一方、ステップS3で、前回の時刻補正が行われてから1時間がまだ経過していないと判断した場合には、スタンバイ状態検出部81は、アクセサリ電源がオフとされたかどうかに応じて、マイクロプロセッサ80が動作モードからスタンバイモードへ切り替えられるか否か判断する(ステップS7)。ここで、スタンバイモードに切り替えられないと判断した場合には、ステップS1の処理に戻る。一方、スタンバイモードへ切り替えられると判断した場合、スタンバイ状態検出部81はそのことを制御部84に通知する。これに応じて制御部84は、クロックIC30から受け取った、スタンバイモードへ入る直前の時刻データを一時記憶部82に記憶させる(ステップS8)。   On the other hand, if it is determined in step S3 that one hour has not yet elapsed since the previous time correction, the standby state detection unit 81 determines whether or not the accessory power supply is turned off. It is determined whether or not the processor 80 can be switched from the operation mode to the standby mode (step S7). If it is determined that the standby mode cannot be switched, the process returns to step S1. On the other hand, when it is determined that the standby mode can be switched, the standby state detection unit 81 notifies the control unit 84 of the fact. In response to this, the control unit 84 stores the time data received from the clock IC 30 immediately before entering the standby mode in the temporary storage unit 82 (step S8).

その後、マイクロプロセッサ80がスタンバイモードに切り替えられるが、クロックIC30は継続して、水晶振動子20から供給される基準周波数のクロック信号を基に時刻データを生成(カウント)する(ステップS9)。生成された時刻データは、表示制御部40に送られる。これを受け取った表示制御部40は、時刻表示部50に時刻を表示する(ステップS10)。   Thereafter, the microprocessor 80 is switched to the standby mode, but the clock IC 30 continues to generate (count) time data based on the clock signal of the reference frequency supplied from the crystal resonator 20 (step S9). The generated time data is sent to the display control unit 40. Receiving this, the display control unit 40 displays the time on the time display unit 50 (step S10).

このとき、スタンバイ状態検出部81は、アクセサリ電源がオンとされたかどうかに応じて、スタンバイモードから動作モードへの切り替えがされたか否か判断する(ステップS11)。ここで、動作モードへの切り替えが検出されない場合には、ステップS9の処理へ移行する。一方、動作モードへ切り替えられたと判断した場合には、スタンバイ状態検出部81はそのことを制御部84に通知する。これに応じて制御部84は、動作モードへの切り替え直後にクロックIC30から受け取った時刻データと、一時記憶部82に記憶してあるスタンバイモードに入る直前の時刻データとを時刻誤差補正部83に送り、時刻の補正をするように指示する。この指示を受けた時刻誤差補正部83は、補正データ記憶部70に記憶されている補正データを用いて現在の時刻を補正し(ステップS12)、ステップS1の処理に戻る。   At this time, the standby state detection unit 81 determines whether or not switching from the standby mode to the operation mode is performed according to whether or not the accessory power source is turned on (step S11). If switching to the operation mode is not detected, the process proceeds to step S9. On the other hand, when it is determined that the operation mode has been switched, the standby state detection unit 81 notifies the control unit 84 of the fact. In response to this, the control unit 84 sends the time data received from the clock IC 30 immediately after switching to the operation mode and the time data immediately before entering the standby mode stored in the temporary storage unit 82 to the time error correction unit 83. Send and instruct to correct the time. Upon receiving this instruction, the time error correction unit 83 corrects the current time using the correction data stored in the correction data storage unit 70 (step S12), and returns to the process of step S1.

以上詳しく説明したように、第1の実施形態によれば、マイクロプロセッサ80がスタンバイモードから動作モードに切り替ったときに、あらかじめ用意してある補正データを用いて、スタンバイモード中に生じた時刻の誤差を遡って補正することができる。このため、スタンバイモード中に一定時間ごとにマイクロプロセッサ80を起動させて補正を行う必要がなく、時刻の誤差の補正に必要な消費電力を低減させることができるようになる。   As described above in detail, according to the first embodiment, when the microprocessor 80 switches from the standby mode to the operation mode, the time generated during the standby mode using the correction data prepared in advance. Can be corrected retroactively. For this reason, it is not necessary to start the microprocessor 80 at regular intervals during the standby mode to perform correction, and it is possible to reduce the power consumption necessary for correcting the time error.

(第2の実施形態)
次に、本発明による第2の実施形態について説明する。上述した第1の実施形態においては、所定間隔毎の時刻とその各時刻に対する補正値とを対応付けたテーブル情報を補正データとして補正データ記憶部70に記憶しておき、このような補正データと、スタンバイモードに入る直前の時刻と、動作モードへ切り替えた直後の時刻とを用いて補正を行う例について説明した。これに対して、第2の実施形態では、所定時間間隔毎の温度とその各温度に対する補正値とを対応付けたテーブル情報を補正データとしてあらかじめ記憶しておき、そのような補正データと、スタンバイモードに入る直前に測定した温度と、動作モードへ切り替えた直後に測定した温度とを用いて補正を行う。
(Second Embodiment)
Next, a second embodiment according to the present invention will be described. In the first embodiment described above, table information in which the time at each predetermined interval and the correction value for each time are associated is stored in the correction data storage unit 70 as correction data, and such correction data and An example in which correction is performed using the time immediately before entering the standby mode and the time immediately after switching to the operation mode has been described. On the other hand, in the second embodiment, table information in which a temperature for each predetermined time interval and a correction value for each temperature are associated with each other is stored in advance as correction data. Correction is performed using the temperature measured immediately before entering the mode and the temperature measured immediately after switching to the operation mode.

図6は、第2の実施形態による電子時計の時刻誤差補正装置10の構成例を示す図である。なお、この図6において、図1に示した符号と同一の符号を付したものは同一の機能を有するものであるので、ここでは重複する説明を省略する。第2の実施形態では、補正データ記憶部90に記憶する補正データの内容が、第1の実施形態における補正データ記憶部70に記憶する補正データの内容と異なっている。また、一時記憶部85に格納するデータの内容、時刻誤差補正部86および制御部87が行う動作が、第1の実施形態と異なっている。   FIG. 6 is a diagram illustrating a configuration example of the time error correction device 10 of the electronic timepiece according to the second embodiment. In FIG. 6, components having the same reference numerals as those shown in FIG. 1 have the same functions, and thus redundant description is omitted here. In the second embodiment, the content of the correction data stored in the correction data storage unit 90 is different from the content of the correction data stored in the correction data storage unit 70 in the first embodiment. The contents of data stored in the temporary storage unit 85 and the operations performed by the time error correction unit 86 and the control unit 87 are different from those of the first embodiment.

図7は、補正データ記憶部90に記憶されている補正データの例を示す図である。この補正データも、図2のグラフを利用して求める。第2の実施形態の補正データは、所定時間間隔毎(例えば、1時間毎)の温度とその各温度に対する補正値とを対応付けて構成したテーブル情報である。図2のグラフから分かるように、時間が1時間経過すると、温度が変化する。温度が変化すれば、水晶振動子20の温度特性により、クロックIC30により計測される時刻の誤差量にも変化が生じる。補正値は、この変化した誤差量を打ち消す値に設定する。   FIG. 7 is a diagram illustrating an example of correction data stored in the correction data storage unit 90. This correction data is also obtained using the graph of FIG. The correction data of the second embodiment is table information configured by associating a temperature for each predetermined time interval (for example, every hour) with a correction value for each temperature. As can be seen from the graph in FIG. 2, the temperature changes after 1 hour has elapsed. When the temperature changes, the time error measured by the clock IC 30 also changes due to the temperature characteristics of the crystal unit 20. The correction value is set to a value that cancels the changed error amount.

例えば、1月における11時の温度がt1度である場合に、t1度に対して生じる時刻の誤差が+Δe1であることが水晶振動子20の温度特性から分かっているとする。また、1月における12時の温度がt2度である場合に、t2度に対して生じる時刻の誤差が+Δe2であることが水晶振動子20の温度特性から分かっているとする。この場合、11時から12時までの1時間に、温度がt1度からt2度に変化し、時刻の誤差は+Δe1から+Δe2に変化する。この場合、12時における温度t2に対する補正値s1は、−(Δe2−Δe1)とする。   For example, when the temperature at 11 o'clock in January is t1 degrees, it is assumed from the temperature characteristics of the crystal unit 20 that the time error generated with respect to t1 degrees is + Δe1. Further, it is assumed that it is known from the temperature characteristics of the crystal resonator 20 that when the temperature at 12:00 in January is t2 degrees, the time error generated with respect to t2 degrees is + Δe2. In this case, in one hour from 11:00 to 12:00, the temperature changes from t1 degrees to t2 degrees, and the time error changes from + Δe1 to + Δe2. In this case, the correction value s1 for the temperature t2 at 12:00 is − (Δe2−Δe1).

同様に、13時の温度がt3度である場合に、t3度に対して生じる時刻の誤差が+Δe3であることが水晶振動子20の温度特性から分かっているとする。この場合、12時から13時までの1時間に、温度がt2度からt3度に変化し、時刻の誤差は+Δe2から+Δe3に変化する。この場合、13時における温度t3の補正値s2は、−(Δe3−Δe2)とする。このような補正値を1時間毎に求め、得られた24個の補正値と各温度との組み合わせから成るテーブル情報を1月の補正データとする。同様に、2月〜12月の補正データも生成する。   Similarly, when the temperature at 13:00 is t3 degrees, it is assumed from the temperature characteristics of the crystal unit 20 that the time error generated with respect to t3 degrees is + Δe3. In this case, in one hour from 12:00 to 13:00, the temperature changes from t2 degrees to t3 degrees, and the time error changes from + Δe2 to + Δe3. In this case, the correction value s2 of the temperature t3 at 13:00 is − (Δe3−Δe2). Such correction values are obtained every hour, and table information including combinations of the obtained 24 correction values and respective temperatures is used as January correction data. Similarly, correction data for February to December is also generated.

図7は、このようにして生成した補正データを示している。ここでは、1月における温度t1の補正値をs0、温度t2の補正値をs1、温度t3の補正値をs2、・・・とするようにして補正データを生成している。この補正データは、図2のグラフと水晶振動子20の温度特性からあらかじめ生成しておき、これを補正データ記憶部90にあらかじめ記憶しておく。補正データ記憶部90は、例えばROMのようにデータの書き換えができないものであっても良い。   FIG. 7 shows the correction data generated in this way. Here, the correction data is generated so that the correction value for temperature t1 in January is s0, the correction value for temperature t2 is s1, the correction value for temperature t3 is s2,. This correction data is generated in advance from the graph of FIG. 2 and the temperature characteristics of the crystal unit 20 and stored in the correction data storage unit 90 in advance. The correction data storage unit 90 may be a unit that cannot rewrite data, such as a ROM.

制御部87は、一時記憶部85および時刻誤差補正部86の動作を制御する。例えば、制御部87は、マイクロプロセッサ80が動作モードにあるときに、1時間毎に時刻の補正を行うように時刻誤差補正部86に時刻の補正を指示する。また、制御部87は、スタンバイ状態検出部81により動作モードからスタンバイモードへの切り替えが検出されたときに、その直前に温度測定部60により測定された温度データを一時記憶部82に格納する。また、制御部84は、スタンバイ状態検出部81によりスタンバイモードから動作モードへの切り替えが検出されたときに、時刻誤差補正部86へ時刻の補正を指示する。   The control unit 87 controls the operations of the temporary storage unit 85 and the time error correction unit 86. For example, the control unit 87 instructs the time error correction unit 86 to correct the time so that the time is corrected every hour when the microprocessor 80 is in the operation mode. Further, when the standby state detection unit 81 detects the switching from the operation mode to the standby mode, the control unit 87 stores the temperature data measured by the temperature measurement unit 60 immediately before it in the temporary storage unit 82. Further, the control unit 84 instructs the time error correction unit 86 to correct the time when the standby state detection unit 81 detects the switching from the standby mode to the operation mode.

時刻誤差補正部86は、通常、所定時間ごと(例えば、1時間毎)に温度測定部60から受け取った温度データを基に、その温度に対応した時刻の誤差を算出し、時刻の誤差の補正を行う。この動作は、第1の実施形態と同様である。   The time error correction unit 86 normally calculates a time error corresponding to the temperature based on the temperature data received from the temperature measurement unit 60 every predetermined time (for example, every hour), and corrects the time error. I do. This operation is the same as in the first embodiment.

また、時刻誤差補正部87は、スタンバイモードから動作モードに切り替ったときに、動作モードに切り替った直後に温度測定部60により測定された温度データと、一時記憶部85に記憶してあるスタンバイモードに入る直前の温度データと、補正データ記憶部90が有する補正データとに基づいて、マイクロプロセッサ80がスタンバイモード中であったときの1時間毎の温度変化に対する補正値により現在の時刻の誤差を補正する。   The time error correction unit 87 stores the temperature data measured by the temperature measurement unit 60 immediately after switching to the operation mode and the temporary storage unit 85 when the standby mode is switched to the operation mode. Based on the temperature data immediately before entering the standby mode and the correction data stored in the correction data storage unit 90, the current time is determined by the correction value for the temperature change every hour when the microprocessor 80 is in the standby mode. Correct the error.

例えば、一時記憶部85に記憶してあるスタンバイモードに入る直前の温度データがt1で、動作モードに切り替った直後に温度測定部60により測定された温度データがt3の場合、時刻誤差補正部86は、温度t1から1時間後に変化した温度t2に対する補正値s1と、更に1時間後に変化した温度t3に対する補正値s2とを全て加算して合計補正値sを求める(s=s1+s2)。そして、求めた合計補正値sを、クロックIC30により計測されている現在の時刻に加算することにより、現在の時刻を補正する。   For example, when the temperature data immediately before entering the standby mode stored in the temporary storage unit 85 is t1, and the temperature data measured by the temperature measurement unit 60 immediately after switching to the operation mode is t3, the time error correction unit 86 calculates the total correction value s by adding all the correction value s1 for the temperature t2 changed 1 hour after the temperature t1 and the correction value s2 for the temperature t3 changed 1 hour later (s = s1 + s2). Then, the current time is corrected by adding the obtained total correction value s to the current time measured by the clock IC 30.

なお、補正データ記憶部90に補正データとして記憶されている温度は経験値に基づくものであり、しかも1時間毎の温度として記憶されている。そのため、一時記憶部85に記憶してあるスタンバイモードに入る直前の温度が、補正データ記憶部90に記憶されている温度と完全に一致しないこともある。この場合は、例えば、補正データ記憶部90に記憶されている24個の温度のうち、スタンバイモードに入ったときの温度に最も近い温度に近似して補正値を求める。   The temperature stored as correction data in the correction data storage unit 90 is based on experience values, and is stored as a temperature every hour. Therefore, the temperature immediately before entering the standby mode stored in the temporary storage unit 85 may not completely match the temperature stored in the correction data storage unit 90. In this case, for example, the correction value is obtained by approximating the temperature closest to the temperature when the standby mode is entered among the 24 temperatures stored in the correction data storage unit 90.

これと同様に、スタンバイモードから動作モードに移行したときの温度が、補正データ記憶部90に記憶されている温度と完全に一致しないこともある。この場合も、例えば、補正データ記憶部90に記憶されている24個の温度のうち、スタンバイモードから動作モードに移行したときの温度に最も近い温度に近似して補正値を求める。   Similarly, the temperature when shifting from the standby mode to the operation mode may not completely match the temperature stored in the correction data storage unit 90. Also in this case, for example, the correction value is obtained by approximating the temperature closest to the temperature when the operation mode is shifted from the standby mode among the 24 temperatures stored in the correction data storage unit 90.

なお、図2のグラフから分かるように、24時間の中に同じ温度となる時間帯が2箇所以上あると、温度だけでは、どの時間帯の温度であるかを一意に特定することができず、温度に対応する補正値を求めることができない場合がある。そこで、所定時間間隔毎(例えば、1時間毎)の温度と時刻とその各温度に対する補正値とを対応付けて補正データを構成するとともに、スタンバイモードに入ったときの温度データと時刻データとをセットにして一時記憶部85に記憶し、スタンバイモードから動作モードに移行したときにも温度データと時刻データとをセットにして取得する。そして、温度データと時刻データのセットを利用して補正データから補正値を求めるようにするのが好ましい。   As can be seen from the graph of FIG. 2, if there are two or more time zones where the same temperature is reached in 24 hours, the temperature alone cannot be used to uniquely identify the time zone. In some cases, the correction value corresponding to the temperature cannot be obtained. Therefore, the correction data is configured by associating the temperature and time at predetermined time intervals (for example, every hour) with the correction value for each temperature, and the temperature data and time data when the standby mode is entered. The set is stored in the temporary storage unit 85, and the temperature data and time data are also acquired as a set when the standby mode is shifted to the operation mode. Then, it is preferable to obtain a correction value from the correction data using a set of temperature data and time data.

この場合、時刻誤差補正部86は、動作モードへ切り替った直後に温度測定部60にて測定された温度が、補正データ記憶部90に記憶されている補正データの中に複数ある場合に、動作モードへ切り替った直後にクロックIC30にて計測された現在の時刻により近い方の温度に対する補正値を用いて、現在の時刻の誤差を補正する。   In this case, when the time error correction unit 86 includes a plurality of temperatures measured by the temperature measurement unit 60 immediately after switching to the operation mode in the correction data stored in the correction data storage unit 90, Immediately after switching to the operation mode, an error in the current time is corrected using a correction value for the temperature closer to the current time measured by the clock IC 30.

以上詳しく説明したように、第2の実施形態では、マイクロプロセッサ80がスタンバイモードから動作モードに切り替ったときに、スタンバイモードに入る直前の温度と、動作モードに切り替った直後の温度とを用い、あらかじめ用意してある補正データを基にスタンバイモード中に生じた時刻の誤差を遡って補正することができる。これにより、第1の実施形態と同様に、スタンバイモード中に一定時間ごとにマイクロプロセッサ80を起動させて補正を行う必要がなく、スタンバイ中の消費電力を低減させることができるようになる。   As described above in detail, in the second embodiment, when the microprocessor 80 switches from the standby mode to the operation mode, the temperature immediately before entering the standby mode and the temperature immediately after switching to the operation mode are set. It is possible to retroactively correct time errors that occur during the standby mode based on correction data prepared in advance. As a result, as in the first embodiment, it is not necessary to start the microprocessor 80 at regular intervals during the standby mode to perform correction, and power consumption during standby can be reduced.

なお、上記第1および第2の実施形態では、1時間置きに補正値を格納した補正データを利用する例について説明したが、時間間隔はこれに限定されない。
また、上記第1および第2の実施形態では、自動車に搭載された電子時計の時刻誤差を補正する装置の例について説明したが、電子時計は自動車に搭載されるものに限定されない。
また、上記実施形態では、水晶振動子20を用いる例について説明したが、振動子は水晶に限定されるものではない。
In the first and second embodiments, the example using the correction data storing the correction value every other hour has been described, but the time interval is not limited to this.
In the first and second embodiments, an example of a device that corrects a time error of an electronic timepiece mounted on a car has been described. However, the electronic timepiece is not limited to that mounted on a car.
Moreover, although the said embodiment demonstrated the example using the crystal resonator 20, a resonator is not limited to a crystal.

また、上記第1の実施形態では、所定間隔毎の時刻とその各時刻に対する補正値とを対応付けて補正データを構成し、上記第2の実施形態では、所定時間間隔毎の温度とその各温度に対する補正値とを対応付けて補正データを構成する例について説明したが、これに限定されない。例えば、図2のグラフに基づいて所定間隔毎の時刻とその各時刻に対する温度とを対応付けたテーブル情報と、クロックIC30により計測される時刻の温度特性または水晶振動子20の発振周波数の温度特性を表す特性データとの組み合わせによって補正データを構成するようにしても良い。この場合は、テーブル情報を参照することによって時刻から温度を特定し、その温度と上述の温度特性データとに基づいて、スタンバイモード中であったときの所定間隔毎の時刻における誤差を推定して現在の時刻の誤差を補正する。   In the first embodiment, the correction data is configured by associating the time for each predetermined interval with the correction value for each time, and in the second embodiment, the temperature for each predetermined time interval and each of the correction data. Although an example in which correction data is configured in association with a correction value for temperature has been described, the present invention is not limited to this. For example, based on the graph of FIG. 2, table information in which the time at each predetermined interval and the temperature for each time are associated with each other, the temperature characteristic of the time measured by the clock IC 30 or the temperature characteristic of the oscillation frequency of the crystal resonator 20. The correction data may be configured by a combination with characteristic data representing. In this case, the temperature is identified from the time by referring to the table information, and based on the temperature and the above-described temperature characteristic data, the error at the time for each predetermined interval when in the standby mode is estimated. Correct the current time error.

なお、上述した第1の実施形態または第2の実施形態によれば、時刻誤差補正部83,86は図3または図7のようなテーブル情報から補正値を直ちに求めることができ、テーブル情報を参照することによって特定した温度から温度特性データに基づいて各時刻の誤差量を算出する演算を省略することができる。これにより、時刻誤差補正部83,86にて行う処理の負荷を軽減することができる。 According to the first embodiment or the second embodiment described above, the time error correction units 83 and 86 can immediately obtain the correction value from the table information as shown in FIG. 3 or FIG. The calculation for calculating the error amount at each time based on the temperature characteristic data from the temperature specified by reference can be omitted. Thereby, the processing load performed by the time error correction units 83 and 86 can be reduced.

その他、上記第1および第2の実施形態は、何れも本発明を実施するにあたっての具体化の一例を示したものに過ぎず、これらによって本発明の技術的範囲が限定的に解釈されてはならないものである。すなわち、本発明はその精神、またはその主要な特徴から逸脱することなく、様々な形で実施することができる。   In addition, each of the first and second embodiments described above is merely an example of a specific example for carrying out the present invention, and the technical scope of the present invention should not be interpreted in a limited manner. It will not be. In other words, the present invention can be implemented in various forms without departing from the spirit or main features thereof.

第1の実施形態による電子時計の時刻誤差補正装置の構成例を示す図である。It is a figure which shows the structural example of the time error correction apparatus of the electronic timepiece by 1st Embodiment. 年間の温度変化の例を示す図である。It is a figure which shows the example of an annual temperature change. 第1の実施形態による補正データ記憶部に記憶される補正データの例を示す図である。It is a figure which shows the example of the correction data memorize | stored in the correction data memory | storage part by 1st Embodiment. 水晶振動子の発振周波数の温度特性を示す図である。It is a figure which shows the temperature characteristic of the oscillation frequency of a crystal oscillator. 第1の実施形態による電子時計の時刻誤差補正装置の動作例を示すフローチャートである。It is a flowchart which shows the operation example of the time error correction apparatus of the electronic timepiece by 1st Embodiment. 第2の実施形態による電子時計の時刻誤差補正装置の構成例を示す図である。It is a figure which shows the structural example of the time error correction apparatus of the electronic timepiece by 2nd Embodiment. 第2の実施形態による補正データ記憶部に記憶される補正データの例を示す図である。It is a figure which shows the example of the correction data memorize | stored in the correction data memory | storage part by 2nd Embodiment.

符号の説明Explanation of symbols

10 電子時計の時刻誤差補正装置
20 水晶振動子
30 クロックIC
40 表示制御部
50 時刻表示部
60 温度測定部
70,90 補正データ記憶部
80 マイクロプロセッサ
81 スタンバイ状態検出部
82,85 一時記憶部
83,86 時刻誤差補正部
84,87 制御部
10 Time error correction device for electronic timepiece 20 Crystal resonator 30 Clock IC
40 Display control unit 50 Time display unit 60 Temperature measurement unit 70, 90 Correction data storage unit 80 Microprocessor 81 Standby state detection unit 82, 85 Temporary storage unit 83, 86 Time error correction unit 84, 87 Control unit

Claims (6)

時刻を計測する時刻計測部と、
上記時刻計測部により計測される時刻の誤差を補正する時刻誤差補正部と、
上記時刻誤差補正部のスタンバイモードと動作モードとの切替を検出するスタンバイ状態検出部と、
上記スタンバイモードに入る直前に上記時刻計測部にて計測された時刻を一時的に記憶する一時記憶部と、
上記時刻誤差補正部による時刻の誤差補正に用いる補正データであって、所定間隔毎の時刻とその各時刻に対する補正値とを対応付けて成るテーブル情報を有する補正データを記憶した補正データ記憶部とを備え、
上記時刻誤差補正部は、上記スタンバイモードから上記動作モードへ切り替ったことが上記スタンバイ状態検出部にて検出されたときに、上記動作モードへ切り替った直後に上記時刻計測部にて計測された時刻と、上記一時記憶部に記憶してある上記スタンバイモードに入る直前の時刻と、上記補正データ記憶部に記憶されている上記補正データとに基づいて、上記スタンバイモードにあったときの上記所定間隔毎の時刻における補正値により現在の時刻の誤差を補正することを特徴とする電子時計の時刻誤差補正装置。
A time measuring unit for measuring time;
A time error correction unit that corrects an error in time measured by the time measurement unit;
A standby state detection unit for detecting switching between the standby mode and the operation mode of the time error correction unit;
A temporary storage unit that temporarily stores the time measured by the time measurement unit immediately before entering the standby mode;
A correction data storage unit for storing correction data used for correction of time error by the time error correction unit, the correction data having table information in which a time at a predetermined interval and a correction value for each time are associated with each other; With
The time error correction unit is measured by the time measurement unit immediately after switching to the operation mode when the standby state detection unit detects that the standby mode has been switched to the operation mode. And the time when the standby mode was entered based on the time immediately before entering the standby mode stored in the temporary storage unit and the correction data stored in the correction data storage unit. An apparatus for correcting a time error of an electronic timepiece, wherein an error of a current time is corrected by a correction value at a time every predetermined interval.
時刻を計測する時刻計測部と、
温度を測定する温度測定部と、
上記時刻計測部により計測される時刻の誤差を補正する時刻誤差補正部と、
上記時刻誤差補正部のスタンバイモードと動作モードとの切替を検出するスタンバイ状態検出部と、
上記スタンバイモードに入る直前に上記温度測定部にて測定された温度を一時的に記憶する一時記憶部と、
上記時刻誤差補正部による時刻の誤差補正に用いる補正データであって、所定時間間隔毎の温度とその各温度に対する補正値とを対応付けて成るテーブル情報を有する補正データを記憶した補正データ記憶部とを備え、
上記時刻誤差補正部は、上記スタンバイモードから上記動作モードへ切り替ったことが上記スタンバイ状態検出部にて検出されたときに、上記動作モードへ切り替った直後に上記温度測定部にて測定された温度と、上記一時記憶部に記憶してある上記スタンバイモードに入る直前の温度と、上記補正データ記憶部に記憶されている上記補正データとに基づいて、上記スタンバイモードにあったときの上記所定時間間隔毎の温度に対する補正値により現在の時刻の誤差を補正することを特徴とする電子時計の時刻誤差補正装置。
A time measuring unit for measuring time;
A temperature measuring unit for measuring the temperature;
A time error correction unit that corrects an error in time measured by the time measurement unit;
A standby state detection unit for detecting switching between the standby mode and the operation mode of the time error correction unit;
A temporary storage unit that temporarily stores the temperature measured by the temperature measurement unit immediately before entering the standby mode;
A correction data storage unit storing correction data used for correcting time errors by the time error correction unit, the correction data having table information in which a temperature for each predetermined time interval and a correction value for each temperature are associated with each other And
The time error correction unit is measured by the temperature measurement unit immediately after switching to the operation mode when the standby state detection unit detects that the standby mode has been switched to the operation mode. Based on the temperature immediately before entering the standby mode stored in the temporary storage unit and the correction data stored in the correction data storage unit, An apparatus for correcting a time error of an electronic timepiece, wherein an error of a current time is corrected by a correction value for temperature at every predetermined time interval.
上記時刻誤差補正部は、上記動作モードへ切り替った直後に上記温度測定部にて測定された温度が、上記補正データ記憶部に記憶されている上記補正データの中に複数ある場合に、上記動作モードへ切り替った直後に上記時刻計測部にて計測された現在の時刻により近い方の温度に対する補正値を用いて、上記現在の時刻の誤差を補正することを特徴とする請求項2に記載の電子時計の時刻誤差補正装置。   The time error correction unit, when there are a plurality of temperatures measured by the temperature measurement unit immediately after switching to the operation mode in the correction data stored in the correction data storage unit, 3. The error of the current time is corrected using a correction value for the temperature closer to the current time measured by the time measuring unit immediately after switching to the operation mode. The time error correction apparatus of the electronic timepiece described. 上記一時記憶部は、上記スタンバイモードに入る直前に上記温度測定部にて測定された温度に加え、上記スタンバイモードに入る直前に上記時刻計測部にて計測された時刻を一時的に記憶し、
上記時刻誤差補正部は、上記一時記憶部に記憶してある上記スタンバイモードに入る直前の温度が、上記補正データ記憶部に記憶されている上記補正データの中に複数ある場合に、上記一時記憶部に記憶してある時刻により近い方の温度に対する補正値を用いて、上記現在の時刻の誤差を補正することを特徴とする請求項2に記載の電子時計の時刻誤差補正装置。
The temporary storage unit temporarily stores the time measured by the time measurement unit immediately before entering the standby mode, in addition to the temperature measured by the temperature measurement unit immediately before entering the standby mode,
The time error correction unit is configured to store the temporary storage when the correction data stored in the correction data storage unit includes a plurality of temperatures immediately before the standby mode stored in the temporary storage unit. 3. The time error correction device for an electronic timepiece according to claim 2, wherein the current time error is corrected using a correction value for a temperature closer to the time stored in the unit.
時刻を計測する時刻計測部と、
上記時刻計測部により計測される時刻の誤差を補正する時刻誤差補正部と、
上記時刻誤差補正部のスタンバイモードと動作モードとの切替を検出するスタンバイ状態検出部と、
上記スタンバイモードに入る直前に上記時刻計測部にて計測された時刻を一時的に記憶する一時記憶部と、
上記時刻誤差補正部による時刻の誤差補正に用いる補正データであって、所定間隔毎の時刻とその各時刻に対する温度とを対応付けて成るテーブル情報および上記時刻計測部が用いる振動子の温度特性を表す特性データを有する補正データを記憶した補正データ記憶部とを備え、
上記時刻誤差補正部は、上記スタンバイモードから上記動作モードへ切り替ったことが上記スタンバイ状態検出部にて検出されたときに、上記動作モードへ切り替った直後に上記時刻計測部にて計測された時刻と、上記一時記憶部に記憶してある上記スタンバイモードに入る直前の時刻と、上記補正データ記憶部に記憶されている上記補正データとに基づいて、上記スタンバイモードにあったときの上記所定間隔毎の時刻における誤差を推定して現在の時刻の誤差を補正することを特徴とする電子時計の時刻誤差補正装置。
A time measuring unit for measuring time;
A time error correction unit that corrects an error in time measured by the time measurement unit;
A standby state detection unit for detecting switching between the standby mode and the operation mode of the time error correction unit;
A temporary storage unit that temporarily stores the time measured by the time measurement unit immediately before entering the standby mode;
Correction data used for time error correction by the time error correction unit, table information in which a time at a predetermined interval is associated with a temperature for each time, and temperature characteristics of the vibrator used by the time measurement unit. A correction data storage unit storing correction data having characteristic data to represent,
The time error correction unit is measured by the time measurement unit immediately after switching to the operation mode when the standby state detection unit detects that the standby mode has been switched to the operation mode. And the time when the standby mode was entered based on the time immediately before entering the standby mode stored in the temporary storage unit and the correction data stored in the correction data storage unit. An apparatus for correcting a time error of an electronic timepiece, wherein an error at a predetermined interval is estimated to correct an error at a current time.
時刻計測部により計測される時刻の誤差を補正する時刻誤差補正部の動作モードからスタンバイモードへの切り替えが検出されたときに、上記時刻誤差補正部が上記スタンバイモードに入る直前に上記時刻計測部により計測された時刻を一時記憶部に記憶する第1のステップと、
上記時刻誤差補正部が上記スタンバイモードから上記動作モードへ切り替ったことが検出されたときに、上記動作モードへ切り替った直後に上記時刻計測部にて計測された時刻と、上記一時記憶部に記憶してある上記スタンバイモードに入る直前の時刻と、補正データ記憶部にあらかじめ記憶されている補正データであって、所定間隔毎の時刻とその各時刻に対する補正値とを対応付けた補正データとに基づいて、上記スタンバイモードにあったときの上記所定間隔毎の時刻における補正値により現在の時刻の誤差を補正する第2のステップとを有することを特徴とする電子時計の時刻誤差補正方法。
The time measuring unit immediately before the time error correcting unit enters the standby mode when the switching from the operation mode to the standby mode of the time error correcting unit for correcting the time error measured by the time measuring unit is detected. A first step of storing in a temporary storage unit the time measured by
When it is detected that the time error correction unit has switched from the standby mode to the operation mode, the time measured by the time measurement unit immediately after switching to the operation mode, and the temporary storage unit Correction data stored in advance in the standby mode and correction data stored in advance in the correction data storage unit, which associates a time at a predetermined interval with a correction value for each time And a second step of correcting an error of the current time with a correction value at the time of each predetermined interval when in the standby mode, based on .
JP2006176148A 2006-06-27 2006-06-27 Apparatus and method for correcting time error of electronic timepiece Pending JP2008008630A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006176148A JP2008008630A (en) 2006-06-27 2006-06-27 Apparatus and method for correcting time error of electronic timepiece

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006176148A JP2008008630A (en) 2006-06-27 2006-06-27 Apparatus and method for correcting time error of electronic timepiece

Publications (1)

Publication Number Publication Date
JP2008008630A true JP2008008630A (en) 2008-01-17

Family

ID=39066991

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006176148A Pending JP2008008630A (en) 2006-06-27 2006-06-27 Apparatus and method for correcting time error of electronic timepiece

Country Status (1)

Country Link
JP (1) JP2008008630A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013092422A (en) * 2011-10-25 2013-05-16 Yuhshin Co Ltd Electronic clock for vehicle

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001222342A (en) * 2000-02-07 2001-08-17 Canon Inc Electronic equipment and method for controlling timing of the equipment and storage medium

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001222342A (en) * 2000-02-07 2001-08-17 Canon Inc Electronic equipment and method for controlling timing of the equipment and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013092422A (en) * 2011-10-25 2013-05-16 Yuhshin Co Ltd Electronic clock for vehicle

Similar Documents

Publication Publication Date Title
KR100687230B1 (en) Real time clock apparatus and the real time compensating method thereof
JP4713556B2 (en) System and method for generating a very precise and temperature independent reference frequency for GPS equipment
JP3689021B2 (en) Timing control apparatus and timing control method
US9635513B2 (en) Radio wave receiver, radio-controlled timepiece, signal obtaining method and storage medium
JP2004003927A (en) Radio wave corrected clock and method of controlling it
JP5228392B2 (en) Temperature compensated oscillation circuit, real-time clock device and electronic equipment
JP2011199481A (en) Clock system
JP2008008630A (en) Apparatus and method for correcting time error of electronic timepiece
JP3597389B2 (en) Time control device
US11385600B2 (en) Timer measurement device, electronic timepiece, timer measurement method, and non-transitory computer readable storage medium storing program
US20120065913A1 (en) Management device, management method, and program recording medium
JP5590174B2 (en) Temperature compensated oscillation circuit, real-time clock device and electronic equipment
JP6564250B2 (en) Oscillator
US8466751B2 (en) High-precision and low-consumption quartz oscillator
JP2009130587A (en) Oscillation circuit and oscillator
JP2002311173A (en) Electronic clock, method and program for correcting time error of the same
JP2017020852A (en) Embedded device
JP2003270371A (en) Clock device in computer system
JP4640734B2 (en) RTC device
JP2896004B2 (en) Calendar iC correction method
JP2008005336A (en) Receiver, reception processing method, and base band processor
JP2004003929A (en) Radio wave corrected clock
JP2001044759A (en) Reference clock frequency temperature control circuit
JP2900154B1 (en) Electronic clock with auto calendar
JP2002365383A (en) Temperature correction method of real-time clock and processor equipped with the real-time clock

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090220

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20101027

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20101102

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20110405