JP2000131473A - Timer device and its adjusting method - Google Patents

Timer device and its adjusting method

Info

Publication number
JP2000131473A
JP2000131473A JP30753198A JP30753198A JP2000131473A JP 2000131473 A JP2000131473 A JP 2000131473A JP 30753198 A JP30753198 A JP 30753198A JP 30753198 A JP30753198 A JP 30753198A JP 2000131473 A JP2000131473 A JP 2000131473A
Authority
JP
Japan
Prior art keywords
frequency
oscillator
time
adjustment
counting
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
JP30753198A
Other languages
Japanese (ja)
Inventor
Makoto Yokoyama
誠 横山
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.)
Kawamura Electric Inc
Original Assignee
Kawamura Electric 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 Kawamura Electric Inc filed Critical Kawamura Electric Inc
Priority to JP30753198A priority Critical patent/JP2000131473A/en
Publication of JP2000131473A publication Critical patent/JP2000131473A/en
Pending legal-status Critical Current

Links

Landscapes

  • Electric Clocks (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a timer device whose adjustment does not require the time and a skilled technique and in which it is not required to attach a component for adjustment to individual oscillators and to provide its adjusting method. SOLUTION: An input terminal to which an external oscillator is connected is installed. When a time adjusting mode is set in S1 (Step 1), a reference oscillator is connected to the input terminal (S2). The oscillation signal of the reference oscillator is inputted to an input port. Then, in a control part, the oscillation signal of the reference oscillator is read out for a set time (S3), the oscillation frequency of an internal oscillator is read out (S4), and a difference frequency between both is stored (S5). After that, this procedure is shifted to an ordinary operating mode (S11), and the oscillation frequency of the internal oscillator is corrected (S14) in every set time on the basis of the stored difference frequency.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、電子式のタイマー
や時計等に内蔵されている発振器の発信周波数を自動調
整する技術に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a technique for automatically adjusting the oscillation frequency of an oscillator incorporated in an electronic timer, clock or the like.

【0002】[0002]

【従来の技術】従来の電子式のタイマーや時計等のタイ
マー装置の回路ブロック図を図4に示す。図4におい
て、制御部11はCPU2を内蔵し、ROM3,RAM
4等のメモリや計数部5が設けられ、6はスイッチ等を
有した操作部、7は時刻等を表示する表示部であり、8
は内蔵発振器でトリマーコンデンサ10を介して計数部
5に接続されている。発信器8は発信周波数にばらつき
があるため、このように周波数調整用の部品として例え
ばトリマーコンデンサ10を発振器8に直列に付加して
発信周波数を調整し、正確な発信周波数となるようにし
ていた。この調整は、発振器8の周波数を周波数カウン
タ(図示せず)により計測しながらトリマーコンデンサ
10を調整して、発振周波数が規定値に入るように行っ
ていた。
2. Description of the Related Art FIG. 4 is a circuit block diagram of a conventional timer device such as an electronic timer or a clock. In FIG. 4, a control unit 11 has a built-in CPU 2,
A memory 4 and a counting unit 5 are provided, 6 is an operation unit having a switch and the like, 7 is a display unit for displaying time and the like, and 8
Is a built-in oscillator connected to the counting unit 5 via a trimmer capacitor 10. Since the oscillator 8 has a variation in the oscillation frequency, the oscillation frequency is adjusted by adding, for example, a trimmer capacitor 10 in series with the oscillator 8 as a component for frequency adjustment, so that the oscillation frequency becomes accurate. . This adjustment is performed by adjusting the trimmer capacitor 10 while measuring the frequency of the oscillator 8 with a frequency counter (not shown) so that the oscillation frequency becomes a specified value.

【0003】[0003]

【発明が解決しようとする課題】しかし、上記調整方法
は調整操作が微妙なために熟練を要し、時間がかかるも
のであったし、調整するための部品が個々の発振器に必
要であった。また、調整作業は基板組み付けの段階で行
うため、一度組み立てた製品を調整しようとすると、機
器を分解して行わなければ成らず、手間が掛かってい
た。
However, the above-mentioned adjustment method requires skill and time because the adjustment operation is delicate, and requires a component for adjustment for each oscillator. . In addition, since the adjustment work is performed at the stage of assembling the board, it is necessary to disassemble the device to adjust the product once assembled, which is troublesome.

【0004】そこで、本発明は上記問題点に鑑み、調整
に時間及び熟練技術を必要とせず、更に調整用部品を個
々の発振器に取り付ける必要のないタイマー装置及びそ
の調整方法を提供することを課題とする。
SUMMARY OF THE INVENTION In view of the above problems, an object of the present invention is to provide a timer device and a method of adjusting the timer device which do not require time and skill for adjustment, and which do not need to attach adjusting components to individual oscillators. And

【0005】[0005]

【課題を解決するための手段】上記課題を解決するた
め、請求項1の発明に係るタイマー装置は、外部発信信
号を入力する入力手段と、その入力手段から入力される
外部発振信号の周波数をカウントする第1の計数手段
と、内部発振器の周波数をカウントする第2の計数手段
と、前記第1と第2の計数手段のカウントした周波数の
差を演算する差演算手段と、その差周波数を記憶する記
憶手段と、その記憶した差周波数を基に内部発振器の発
信周波数を補正して時刻を決定する時刻決定手段とを有
して構成される。
According to a first aspect of the present invention, there is provided a timer apparatus comprising: an input unit for inputting an external transmission signal; and a frequency of an external oscillation signal input from the input unit. A first counting means for counting; a second counting means for counting the frequency of the internal oscillator; a difference calculating means for calculating a difference between the frequencies counted by the first and second counting means; It has a storage means for storing and a time determination means for determining the time by correcting the oscillation frequency of the internal oscillator based on the stored difference frequency.

【0006】請求項2の発明に係るタイマー装置の調整
方法は、内部発振器の発振周波数をカウントして時刻を
決定するタイマー装置の調整方法であって、外部から発
信信号を入力し、その周波数をカウントし、前記内部発
振器の周波数と前記外部発振波数との差周波数を演算
し、その演算した差周波数を記憶し、記憶した差周波数
を基に前記内部発振器の周波数を補正して時刻を決定す
るよう構成される。
A timer device adjusting method according to a second aspect of the present invention is a timer device adjusting method for determining the time by counting the oscillation frequency of an internal oscillator, wherein an outgoing signal is input from outside and the frequency is adjusted. Counting, calculating the difference frequency between the frequency of the internal oscillator and the number of external oscillation waves, storing the calculated difference frequency, correcting the frequency of the internal oscillator based on the stored difference frequency, and determining the time. It is configured as follows.

【0007】[0007]

【発明の実施の形態】以下、本発明を具体化した実施の
形態を、図面を基に詳細に説明する。図1は本発明に係
るタイマー装置の回路ブロック図であり、上記図4と同
一の構成要素には同一の符号を付してある。図示するよ
うに、制御部1はコンピュータであってCPU2を中心
にROM3,RAM4等のメモリを有し、操作部6,表
示部7が接続され、2個の計数部5a,5bを設けてあ
る。そして、発振器8は内蔵発振器で制御部2の一方の
計数部5a(第2の計数手段)に接続されると共に、他
方の計数部5b(第1の計数手段)は入力ポート9に接
続され、入力ポート9はタイマー装置に設けられた信号
入力手段である入力端子13に接続されている。尚、1
2は調整のために入力端子に接続された外部基準発振器
を示している。
Embodiments of the present invention will be described below in detail with reference to the drawings. FIG. 1 is a circuit block diagram of a timer device according to the present invention, and the same components as those in FIG. 4 are denoted by the same reference numerals. As shown in the figure, the control unit 1 is a computer, having a memory such as a ROM 3 and a RAM 4 centering on a CPU 2, an operation unit 6 and a display unit 7 are connected, and two counting units 5a and 5b are provided. . The oscillator 8 is a built-in oscillator connected to one counting unit 5a (second counting unit) of the control unit 2, and the other counting unit 5b (first counting unit) is connected to the input port 9, The input port 9 is connected to an input terminal 13 which is a signal input means provided in the timer device. In addition, 1
Reference numeral 2 denotes an external reference oscillator connected to an input terminal for adjustment.

【0008】次に上記タイマー装置の調整手順を図2の
フローチャートを基に説明する。まず、S1(ステップ
1)で操作部6に設けられたスイッチを操作して調整モ
ードへ切り換え、入力端子を周波数入力端子とし、正確
に調整された基準発振器12を接続する(S2)。尚、
この基準発振器12は、発振器8が本来出力すべき発信
周波数を出力するものとする。基準発振器12が接続さ
れたら、S3に進み、基準発振器12の周波数を一定時
間読み込むと共にS4で発振器8の周波数を読み込み、
互いの差周波数を差演算手段としての制御部1が演算
し、記憶手段であるRAM4に記憶する(S5)。
Next, the procedure for adjusting the timer device will be described with reference to the flowchart of FIG. First, in S1 (step 1), the switch provided on the operation unit 6 is operated to switch to the adjustment mode, the input terminal is used as the frequency input terminal, and the accurately adjusted reference oscillator 12 is connected (S2). still,
The reference oscillator 12 outputs the oscillation frequency that the oscillator 8 should originally output. When the reference oscillator 12 is connected, the process proceeds to S3, where the frequency of the reference oscillator 12 is read for a certain period of time, and the frequency of the oscillator 8 is read in S4.
The control unit 1 as the difference calculation means calculates the difference frequency between the two, and stores the difference frequency in the RAM 4 as the storage means (S5).

【0009】差周波数を記憶したら、調整モードを終了
し、切り換えたスイッチを通常動作モードに戻す。通常
動作モードに戻す(S11)と内蔵発振器8により時刻
を刻む動作を開始(S12)して、S13に進み一定時
間経過したか判断し、経過したらS14に進み、時刻決
定手段としての制御部1が上記S5で記憶された差周波
数を基に発信周波数を補正し、補正した周波数により時
刻を刻む。
After storing the difference frequency, the adjustment mode is terminated, and the switched switch is returned to the normal operation mode. When the operation mode is returned to the normal operation mode (S11), the operation of counting time is started by the built-in oscillator 8 (S12), and the process proceeds to S13 to determine whether a predetermined time has elapsed. Corrects the transmission frequency based on the difference frequency stored in S5, and ticks the time using the corrected frequency.

【0010】このように、正確な発振器を入力端子に接
続するだけで、その基準発振器と内蔵発振器との差周波
数を記憶し、その差周波数を基に内蔵発振器の発信周波
数を補正するものであるから、トリマーコンデンサ等の
調整用素子を個々の発振器の設けなくて良いし、調整の
ための計測器も必要なくタイマー装置の調整をすること
ができる。そして、この調整方法は、制御部内CPU2
をプログラムするだけで良いので、微妙な調整作業や熟
練した技を必要とせず短時間に高精度の調整をすること
ができる。
As described above, by simply connecting an accurate oscillator to the input terminal, the difference frequency between the reference oscillator and the built-in oscillator is stored, and the oscillation frequency of the built-in oscillator is corrected based on the difference frequency. Therefore, an adjusting element such as a trimmer capacitor does not need to be provided for each oscillator, and a timer device can be adjusted without a measuring instrument for adjustment. This adjustment method is performed by the CPU 2 in the control unit.
Can be adjusted in a short time without the need for delicate adjustment work or skilled skills.

【0011】また、入力端子に基準発振器を接続するこ
とで調整するものであるから、組立後の再調整も容易に
行うことができるし、調整の際に調整用の計測器も不要
である。そのため、長期の時間が経過して再度発信周波
数の調整が必要になった場合でも、上記手順により容易
に再調整することができる。更に、スイッチ操作により
入力端子を基準発振器接続端子に切り換えるので、他の
目的の端子を兼用させることが可能であり、発信周波数
調整用に新たに端子を設けることなく実施することがで
きる。
Further, since adjustment is performed by connecting a reference oscillator to the input terminal, readjustment after assembly can be easily performed, and a measuring instrument for adjustment is not required at the time of adjustment. Therefore, even if the transmission frequency needs to be adjusted again after a long period of time, it can be easily adjusted again by the above procedure. Further, since the input terminal is switched to the reference oscillator connection terminal by a switch operation, it is possible to use the terminal for another purpose, and the present invention can be implemented without providing a new terminal for adjusting the oscillation frequency.

【0012】図3は他の実施の調整方法を示すフローチ
ャートであり、この場合、切り換えスイッチを設けず、
入力端子13を基準発振器12専用の入力端子とし、基
準発振器12をその入力端子13に接続すれば自動的に
調整モードとなるように設定してある。タイマー装置
は、入力端子13に発振器が接続されない限り、一定時
間経過する毎に既に記憶されている差周波数を基に補正
をして時刻を刻む通常動作をする。尚、差周波数を演算
していなければ、差を0として補正動作をさせれば良
い。
FIG. 3 is a flowchart showing an adjusting method according to another embodiment. In this case, no changeover switch is provided, and
The input terminal 13 is a dedicated input terminal for the reference oscillator 12, and is set so that the adjustment mode is automatically set when the reference oscillator 12 is connected to the input terminal 13. Unless an oscillator is connected to the input terminal 13, the timer device performs a normal operation of correcting the time based on the difference frequency already stored every time a predetermined time elapses and counting the time. If the difference frequency has not been calculated, the correction operation may be performed with the difference set to 0.

【0013】そて、入力端子13に基準発振器12が接
続(S24)されたなら、調整モードと判断してS26
に進み、接続された基準発振器12の発信周波数を一定
時間読み込むと共に、内蔵されている発振器8の周波数
を読み込み(S27)、双方を比較してその差周波数を
演算し記憶(S28)する。そしてS29に進み、調整
モード終了をアラームの鳴動で報知する。
When the reference oscillator 12 is connected to the input terminal 13 (S24), it is determined that the mode is the adjustment mode, and the process proceeds to S26.
Then, the transmission frequency of the connected reference oscillator 12 is read for a certain period of time, the frequency of the built-in oscillator 8 is read (S27), the two are compared, and the difference frequency is calculated and stored (S28). Then, the process proceeds to S29, and the end of the adjustment mode is notified by sounding an alarm.

【0014】このように、入力端子13に基準発振器1
2を接続するだけで、調整モードに入るようにしても良
く、調整モードが終了したらアラーム等で終了を報知す
るようにすれば、調整終了を容易に確認でき、調整を確
実に行うことができる。
As described above, the reference oscillator 1 is connected to the input terminal 13.
The adjustment mode may be entered simply by connecting the device 2. If the adjustment mode is ended, an end of the adjustment is notified by an alarm or the like, the end of the adjustment can be easily confirmed, and the adjustment can be performed reliably. .

【0015】[0015]

【発明の効果】以上詳述したように、請求項1、2の発
明によれば、入力手段に基準発振器を接続することで、
時刻決定手段が内部発振器の発信周波数を調整して時刻
を刻むので、トリマーコンデンサ等の調整用素子を個々
の内部発振器に設ける必要がないし、調整のための計測
器も不要となる。また、入力手段を設けることで製品組
立後の再調整も容易となる。また、基準発振器を接続す
るだけの操作で発信周波数の調整が可能であり、熟練技
術を必要とせず容易に然も短時間に調整することができ
る。
As described above in detail, according to the first and second aspects of the present invention, by connecting the reference oscillator to the input means,
Since the time determining means adjusts the oscillation frequency of the internal oscillator to keep time, there is no need to provide an adjusting element such as a trimmer capacitor for each internal oscillator, and a measuring instrument for adjustment is not required. Provision of the input means also facilitates readjustment after product assembly. Further, the transmission frequency can be adjusted by simply connecting the reference oscillator, and the adjustment can be easily performed in a short time without requiring any skill.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の実施の形態の1例を示すタイマー装置
の回路ブロック図である。
FIG. 1 is a circuit block diagram of a timer device showing an example of an embodiment of the present invention.

【図2】図1のタイマー装置の調整方法を示すフローチ
ャートであり、(a)は調整モードを示し、(b)は通
常動作モードを示している。
FIGS. 2A and 2B are flowcharts showing an adjustment method of the timer device of FIG. 1, wherein FIG. 2A shows an adjustment mode, and FIG. 2B shows a normal operation mode.

【図3】本発明の他の実施の形態を示す調整方法のフロ
ーチャートである。
FIG. 3 is a flowchart of an adjustment method showing another embodiment of the present invention.

【図4】従来のタイマー装置の回路ブロック図を示す。FIG. 4 shows a circuit block diagram of a conventional timer device.

【符号の説明】[Explanation of symbols]

1・・制御部、2・・CPU、3・・ROM、4・・R
AM、5a,5b・・計数部、6・・スイッチ操作部、
7・・表示部、8・・発振器、9・・入力ポート、12
・・基準発振器、13・・入力端子。
1. Control unit, 2. CPU, 3. ROM, 4. R
AM, 5a, 5b, counting section, 6 switch operation section,
7 ··· Display unit, 8 ··· Oscillator, 9 ··· Input port, 12
..Reference oscillator, 13 input terminals.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 外部発信信号を入力する入力手段と、そ
の入力手段から入力される外部発振信号の周波数をカウ
ントする第1の計数手段と、内部発振器の周波数をカウ
ントする第2の計数手段と、前記第1と第2の計数手段
のカウントした周波数の差を演算する差演算手段と、そ
の差周波数を記憶する記憶手段と、その記憶した差周波
数を基に内部発振器の発信周波数を補正して時刻を決定
する時刻決定手段とを有するタイマー装置。
1. An input means for inputting an external transmission signal, a first counting means for counting the frequency of an external oscillation signal input from the input means, and a second counting means for counting the frequency of an internal oscillator. A difference calculating means for calculating a difference between the frequencies counted by the first and second counting means, a storage means for storing the difference frequency, and correcting the oscillation frequency of the internal oscillator based on the stored difference frequency. A timer device having a time determining means for determining a time by using a timer.
【請求項2】 内部発振器の発振周波数をカウントして
時刻を決定するタイマー装置の調整方法であって、外部
から発信信号を入力し、その周波数をカウントし、前記
内部発振器の周波数と前記外部発振波数との差周波数を
演算し、その演算した差周波数を記憶し、記憶した差周
波数を基に前記内部発振器の周波数を補正して時刻を決
定することを特徴とするタイマー装置の調整方法。
2. A method for adjusting a timer device for counting an oscillation frequency of an internal oscillator and determining a time, wherein a transmission signal is input from the outside, the frequency is counted, and the frequency of the internal oscillator and the external oscillation A method for adjusting a timer device, comprising calculating a difference frequency from a wave number, storing the calculated difference frequency, and correcting the frequency of the internal oscillator based on the stored difference frequency to determine a time.
JP30753198A 1998-10-28 1998-10-28 Timer device and its adjusting method Pending JP2000131473A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP30753198A JP2000131473A (en) 1998-10-28 1998-10-28 Timer device and its adjusting method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP30753198A JP2000131473A (en) 1998-10-28 1998-10-28 Timer device and its adjusting method

Publications (1)

Publication Number Publication Date
JP2000131473A true JP2000131473A (en) 2000-05-12

Family

ID=17970221

Family Applications (1)

Application Number Title Priority Date Filing Date
JP30753198A Pending JP2000131473A (en) 1998-10-28 1998-10-28 Timer device and its adjusting method

Country Status (1)

Country Link
JP (1) JP2000131473A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013096991A (en) * 2011-10-28 2013-05-20 Swatch Group Research & Development Ltd Circuit for automatically regulating oscillation frequency of oscillating mechanical system and device including the same

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013096991A (en) * 2011-10-28 2013-05-20 Swatch Group Research & Development Ltd Circuit for automatically regulating oscillation frequency of oscillating mechanical system and device including the same

Similar Documents

Publication Publication Date Title
US6961287B2 (en) Time error compensating apparatus and method in a terminal
US5767747A (en) Electronic low power clock circuit and method
KR100687230B1 (en) Real time clock apparatus and the real time compensating method thereof
JP4524326B2 (en) Crystal oscillator
CN1052083C (en) Correcting time indication of electronic watch
JP2001159690A (en) Portable device and real time information production method
US20130313332A1 (en) Temperature information generation circuit, oscillator, electronic apparatus, temperature compensation system, and temperature compensation method of electronic component
US7796083B2 (en) Method and apparatus for calibrating a global positioning system oscillator
US5719782A (en) Frequency measuring apparatus and frequency measuring method
CN106292839A (en) Real-time clock compensates circuit and calibration steps, device
GB1570659A (en) Electronic timepiece
EP1371208B1 (en) Method of correcting a real-time clock of an electronic apparatus
JP2002217722A (en) Reference frequency generator
JP2000131473A (en) Timer device and its adjusting method
JPH11183660A (en) Portable information processing device with built-in watch
JP3269731B2 (en) Frequency adjustment method and frequency adjustment device using the same
US3962860A (en) Quartz crystal timepiece
JP2002156396A (en) Time-frequency measuring device
JPH05268109A (en) Ic for receiver and receiver using the ic
JPS58168988A (en) Electronic timepiece with temperature compensating function
JPH07318669A (en) Dual clock system for information machine
JPS5860278A (en) Frequency temperature compensation system
JPH0450793A (en) Clock accuracy adjusting device
JP2959126B2 (en) Receiver
JPH08101286A (en) Calendar clock circuit