JPH0749436Y2 - Electronic clock - Google Patents

Electronic clock

Info

Publication number
JPH0749436Y2
JPH0749436Y2 JP1987133324U JP13332487U JPH0749436Y2 JP H0749436 Y2 JPH0749436 Y2 JP H0749436Y2 JP 1987133324 U JP1987133324 U JP 1987133324U JP 13332487 U JP13332487 U JP 13332487U JP H0749436 Y2 JPH0749436 Y2 JP H0749436Y2
Authority
JP
Japan
Prior art keywords
time
key
numerical value
digit
data
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.)
Expired - Lifetime
Application number
JP1987133324U
Other languages
Japanese (ja)
Other versions
JPS6438591U (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.)
Denso Ten Ltd
Original Assignee
Denso Ten Ltd
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 Denso Ten Ltd filed Critical Denso Ten Ltd
Priority to JP1987133324U priority Critical patent/JPH0749436Y2/en
Publication of JPS6438591U publication Critical patent/JPS6438591U/ja
Application granted granted Critical
Publication of JPH0749436Y2 publication Critical patent/JPH0749436Y2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【考案の詳細な説明】 〔産業上の利用分野〕 本考案は、0〜9のテンキーを用いて時間およず分をそ
れぞれ2桁の数値で入力することによって、時刻を設定
または修正する電子時計に関し、特にテンキーを使用す
る装置、例えばラジオ受信機、コンパクトディスクプレ
ーヤ等に組込まれる電子時計に関する。
[Detailed Description of the Invention] [Industrial field of application] The present invention is an electronic device for setting or correcting the time by using a numeric keypad of 0 to 9 and inputting the hour and minute respectively with a two-digit numerical value. The present invention relates to a timepiece, and more particularly to an electronic timepiece incorporated in a device using a numeric keypad, such as a radio receiver or a compact disc player.

〔従来の技術〕[Conventional technology]

従来より、電子時計では電源の投入時や電源の交換時
に、0〜9のテンキーの所定のキーを操作して、現在の
時刻をダイレクトに設定または修正できるように構成さ
れている。この場合、例えば午後1時11分を設定すると
きには、午後指定キーを操作し、次いでテンキーのうち
の1番キー及び時間/分区切りキーを操作し、さらにテ
ンキーの1番キーを2回操作した後、時間/分区切りキ
ーを操作し、最後に設定終了キーを操作することによっ
て、午後1時11分が現在時刻として設定され、この時刻
から新たに計時される。時間/分区切りキーは時間と分
とを区分けするためのキーであり、例えば1時11分と11
時1分とを識別するためのキーである。
2. Description of the Related Art Conventionally, electronic timepieces are configured such that when the power is turned on or when the power is replaced, the current time can be directly set or corrected by operating a predetermined key of the ten keys. In this case, for example, when setting 1:11 pm, the afternoon key was operated, then the number 1 key on the numeric keypad and the hour / minute separator key were operated, and the number 1 key on the numeric keypad was operated twice. After that, the hour / minute delimiter key is operated, and finally the setting end key is operated to set 1:11 pm as the current time, and the time is newly measured from this time. The hour / minute separator key is a key for distinguishing between hours and minutes, for example, 1:11 and 11
It is a key for identifying hour and minute.

〔考案が解決しようとする問題点〕[Problems to be solved by the invention]

しかし、上記従来の時刻設定方式では、キーの操作回数
が多く、時刻設定のための操作が非常に煩雑なものであ
った。また、テンキーが他の用途、例えばラジオ受信機
における受信周波数の書き込み又は読み出しのためのプ
リセットキー、或いはコンパクトディスクプレーヤにお
けるトラック(曲)指定キーとして共用されている場合
には、さらにテンキーの使用用途を規定するための切り
換えスイッチ等が必要であった。
However, in the above-described conventional time setting method, the number of key operations is large, and the operation for setting the time is very complicated. When the numeric keypad is used for other purposes, for example, as a preset key for writing or reading the reception frequency in a radio receiver, or as a track (song) designation key in a compact disc player, the use of the numeric keypad is further increased. It was necessary to provide a changeover switch for defining

本考案は、上記従来の問題点に鑑みなされたものであっ
て、少ないキー操作により時刻を確実にセットでき、し
かも時刻の設定操作を誤って行った場合でも、時刻設定
操作を簡単に解除することのできる電子時計を目的とす
る。
The present invention has been made in view of the above-mentioned conventional problems, and can set the time surely by a few key operations, and easily cancel the time setting operation even if the time setting operation is mistakenly performed. The purpose is an electronic clock that can be used.

〔問題点を解決するための手段〕[Means for solving problems]

本考案は、上記目的を達成するために、基準信号を発生
する基準信号発生器と、該基準信号により時刻をカウン
トする計時手段と、該計時手段のデータを変更可能な状
態に設定する設定手段と、少なくとも時間及び分をそれ
ぞれ2桁の数値により入力するテンキーと、前記計時手
段の時刻データの変更を制御する制御部とを備えた電子
時計であって、前記制御部は、前記設定手段により計時
手段のデータが変更可能な状態に設定されている間に、
前記テンキーにより数値が入力されたとき、時間、分の
各桁の数値として設定可能な数値が入力されたか否かを
該各桁の数値入力がなされた時に各桁毎にそれぞれ判断
し、少なくとも時間及び分を表す所定桁の数値の全てに
ついて設定可能な数値が入力されたと判断した場合には
該所定桁の数値の入力完了に応答して、前記計時手段の
時刻データを該テンキーにより入力された数値に変更す
ると共に、該計時手段の残余のデータをクリアし、入力
された数値が時間、分の該当する桁の数値として設定可
能な数値でないと判断した場合には該桁の数値の入力を
無効とし、前記テンキーにより所定桁の数値が入力され
る前に、前記設定手段により設定された前記変更可能な
状態が解除されたときには、前記計時手段の時刻データ
を変更しないように制御することを特徴とする電子時計
である。
In order to achieve the above object, the present invention provides a reference signal generator for generating a reference signal, a time counting means for counting time by the reference signal, and a setting means for setting data of the time measuring means in a changeable state. An electronic timepiece comprising: a numeric keypad for inputting at least hours and minutes by a two-digit numerical value; and a control unit for controlling the change of time data of the timekeeping means, wherein the control section is configured by the setting means. While the data of the timekeeping means is set to be changeable,
When a numerical value is input using the ten-key pad, it is determined whether or not a numerical value that can be set as a numerical value for each digit of the hour and minute has been input, when each numerical value is input for each digit, and at least the time is set. And when it is determined that the settable numerical values of all the predetermined digits representing the minutes are input, the time data of the timekeeping means is input by the ten-key in response to the completion of the input of the predetermined digits. When changing to a numerical value and clearing the remaining data of the timekeeping means, if it is judged that the input numerical value is not a numerical value that can be set as the numerical value of the corresponding digit of the hour and minute, input the numerical value of the digit. If the changeable state set by the setting means is canceled before the numeric value of a predetermined digit is input by the numeric keypad, the time data of the timekeeping means is not changed. An electronic timepiece and to control.

〔作用〕[Action]

本考案によれば、時間及び分をそれぞれ2桁、合計4桁
の数値で表し、計時手段のデータが変更可能な状態に設
定されている間に、テンキーにより数値が入力されたと
き、各桁について設定可能な数値が入力されたかを判断
し、全て設定可能な数値が入力されたと判断した場合合
には、この所定桁の数値の入力完了に応答して、前記計
時手段の時刻データをテンキーにより入力された数値に
変換すると共に、計時手段の残余のデータをクリアし、
設定可能な数値でなかった場合には該桁の数値の入力を
無効とし、前記テンキーにより所定桁の数値が入力され
る前に、前記変更可能な状態が解除された時には、前記
計時手段の時刻データを変更しないようにしているた
め、少ないキー操作により時刻を確実にセットでき、し
かも時刻の設定操作を誤って行った場合でも、各桁の数
値については設定可能な数値でなければその数値入力は
直ちに無効とされるため操作性が良好で、さらに所定桁
の数値の入力完了までは時刻設定操作を簡単に解除で
き、現在時刻が誤って変更されることもない。
According to the present invention, each hour and minute is represented by a numerical value of two digits, that is, a total of four digits, and when a numerical value is input by the numeric keypad while the data of the timekeeping means is set to be changeable, each digit is If it is judged that all the numerical values that can be set have been input, in response to the completion of the input of the numerical value of the predetermined digit, the time data of the timekeeping means is displayed on the numeric keypad. Converted to the numerical value input by and clear the remaining data of the timekeeping means,
When the value is not a settable value, the input of the digit of the digit is invalidated, and when the changeable state is released before the numeric value of the predetermined digit is input by the numeric keypad, the time of the clock means is set. Since the data is not changed, it is possible to set the time with a small number of key operations, and even if the time setting operation is mistaken, if the value of each digit is not a settable value, enter that value. Since it is invalidated immediately, the operability is good, and the time setting operation can be easily canceled until the input of the numerical value of the predetermined digit is completed, and the current time is not changed by mistake.

〔考案の実施例〕[Example of device]

以下、本考案の実施例について図面を用いて説明する。 Embodiments of the present invention will be described below with reference to the drawings.

第1図は本考案に係る電子時計を組込んだラジオ受信機
のブロック図である。
FIG. 1 is a block diagram of a radio receiver incorporating an electronic timepiece according to the present invention.

アンテナ1からの受信電波は、高周波増幅回路2、混合
器3及び中間周波増幅回路4を経て検波回路5で検波さ
れ、低周波増幅回路6を介して可聴音としてスピーカ7
から出力される。電圧制御発信器8及びローパスフィル
タ9は、マイクロコンピュータ10内に設けられたプログ
ラマブル分周器11及び位相比較器12と共に周知のフェー
ズロックドループ(PLL)回路を構成しており、電圧制
御発振器8からの局部発振周波数が混合器3に供給され
ている。局部発振周波数はプログラマブル分周器11にて
中央処理装置13から与えられる分周比情報(N値)に応
じて分周され、位相比較器12にて水晶発振器14の発振周
波数を分周器15で所定分周して得た基準周波数(例えば
9KHz)と位相比較された後、ローパスフィルタを介して
再び電圧制御発振器8に与えられる。従って、局部発振
周波数はプログラマブル分周器11の分周比、即ち中央処
理装置13から与えられるN値に対応して変化するため、
このN値を可変することによって受信周波数バンド内の
所望の放送波を受信することができる。キー入力装置19
はテンキー20、時刻設定のためのCLOCKキー21及び図示
せぬラジオ受信機のためのキーからなりテンキー20は後
述する時刻の入力用及びラジオ受信機のプリセット受信
用に共用される。すなわち、ある周波数の放送局を受信
中にテンキー10の所望の番号、例えば2番キーを所定時
間(2秒)以上押圧すると、2番キーに対応したメモリ
16の領域に現在受信中の放送局に対応する前述のN値が
書込まれる。そして、他の放送局を受信中にこの2番キ
ーを2秒未満押圧すると、2番キーに対応したメモリ16
の領域に書込まれているN値が読出されてプログラマブ
ル分周器11に与えられ、当該N値に応じた周波数の放送
局が受信される。中央処理装置13はラジオ受信機の受信
制御以外に時刻のカウント、変更の制御も行っており、
受信周波数又は時刻の情報が駆動回路17を介して表示器
18に与えられ、選択的に表示される。
A radio wave received from the antenna 1 is detected by a detection circuit 5 after passing through a high frequency amplification circuit 2, a mixer 3 and an intermediate frequency amplification circuit 4, and a low frequency amplification circuit 6 as an audible sound to a speaker 7
Is output from. The voltage-controlled oscillator 8 and the low-pass filter 9 form a well-known phase-locked loop (PLL) circuit together with the programmable frequency divider 11 and the phase comparator 12 provided in the microcomputer 10, and the voltage-controlled oscillator 8 The local oscillation frequency of is supplied to the mixer 3. The local oscillation frequency is divided by the programmable frequency divider 11 according to the frequency division ratio information (N value) given from the central processing unit 13, and the phase comparator 12 divides the oscillation frequency of the crystal oscillator 14 by the frequency divider 15. The reference frequency (for example,
(9 KHz) and after being phase-compared, it is supplied to the voltage controlled oscillator 8 again via the low pass filter. Therefore, the local oscillation frequency changes in accordance with the frequency division ratio of the programmable frequency divider 11, that is, the N value given from the central processing unit 13,
By varying the N value, it is possible to receive a desired broadcast wave within the reception frequency band. Key input device 19
Is composed of a ten-key pad 20, a CLOCK key 21 for setting the time, and a key for a radio receiver (not shown). That is, when the desired number of the ten-key pad 10, for example, the No. 2 key is pressed for a predetermined time (2 seconds) or more while receiving the broadcasting station of a certain frequency, the memory corresponding to the No. 2 key
In the 16 areas, the above-mentioned N value corresponding to the broadcasting station currently being received is written. If you press this No. 2 key for less than 2 seconds while receiving another broadcasting station, the memory 16
The N value written in the area is read and given to the programmable frequency divider 11, and the broadcasting station having the frequency corresponding to the N value is received. The central processing unit 13 also controls the time counting and changing in addition to the reception control of the radio receiver.
Information on the reception frequency or time is displayed on the display via the drive circuit 17.
18 are given and selectively displayed.

第2図は中央処理装置13のメイン処理を示すフローチャ
ートである。
FIG. 2 is a flow chart showing the main processing of the central processing unit 13.

マイクロコンピュータ10に最初に電源が投入(車載用で
はバッテリに接続)されると、メモリ16のクリア等の初
期設定が行われ(ステップS1)、50m秒毎にキー入力装
置19によるキー入力の取込みが行われる(ステップS2、
S3)。ステップS4でいずれかのキーが押されていると判
断されると、そのキーに応じたキー処理が行われる(ス
テップS5)。そして、ステップS6でフラグF0が“1"であ
るか否か、すなわち時刻表示中か否かが判断され、NOな
らば周波数表示中であり、受信周波数の情報が出力レジ
スタにセットされる(ステップS8)。ステップS6で時刻
表示中である(フラグF0=1)と判断されると、次いで
フラグF1が“1"であるか否か、すなわち時刻設定モード
か否かが判断され(ステップS7)、NOならば現在の時刻
情報が出力レジスタにセットされ(ステップS10)、YES
ならば時刻設定に応じた情報が出力レジスタにセットさ
れる(ステップS9)。出力レジスタに選択的にセットさ
れた各情報は駆動回路17に出力され、表示器18により表
示される。
When the microcomputer 10 is first powered on (connected to a battery in a vehicle), initialization such as clearing of the memory 16 is performed (step S1), and the key input device 19 takes in a key input every 50 msec. Is performed (step S2,
S3). If it is determined in step S4 that any key is pressed, key processing corresponding to that key is performed (step S5). Then, in step S6, it is determined whether or not the flag F0 is "1", that is, whether or not the time is being displayed. If NO, the frequency is being displayed and the information of the received frequency is set in the output register (step S8). When it is determined in step S6 that the time is being displayed (flag F0 = 1), it is then determined whether the flag F1 is "1", that is, whether it is the time setting mode (step S7). If the current time information is set in the output register (step S10), YES
If so, information corresponding to the time setting is set in the output register (step S9). Each information selectively set in the output register is output to the drive circuit 17 and displayed by the display unit 18.

第3図は時計の割込み処理を示すフローチャートであ
り、時刻のカウントは水晶発振器14の発振周波数を分周
して得た10Hzのパルス信号に応じて0.1秒毎に実行され
る。0.1秒毎に割込みがかかる(ステップS21)と、まず
ステップS22で時刻のカウントに使用されるレジスタの
内容をメモリ16の別の領域に転送してストアする前処理
が行われる。次いでステップS23で第4図に示すメモリ1
6の時刻カウント用メモリ領域30のデータが0.1秒づつ順
次カウントアップされ、ステップS22でメモリ16の別の
領域にストアされた内容が元のレジスタに転送(ステッ
プS24)され、時計の割込み処理を終了する。(ステッ
プS25)。
FIG. 3 is a flow chart showing the interrupt processing of the clock, and time counting is executed every 0.1 seconds in response to a pulse signal of 10 Hz obtained by dividing the oscillation frequency of the crystal oscillator 14. When an interrupt occurs every 0.1 seconds (step S21), first, in step S22, the preprocessing for transferring and storing the contents of the register used for counting the time to another area of the memory 16 is performed. Then, in step S23, the memory 1 shown in FIG.
The data in the time count memory area 30 of 6 is sequentially incremented by 0.1 seconds, and the contents stored in another area of the memory 16 in step S22 are transferred to the original register (step S24), and the interrupt processing of the clock is performed. finish. (Step S25).

尚、本実施例の時計は12時59分の次に1時00分と表示す
るものであり、10時間代データ31は当該データが1のと
きカウントアップされると0に戻る。
The clock of the present embodiment displays 12:59 and then 1:00, and the 10-hour data 31 returns to 0 when the data is counted up when the data is 1.

次に、時刻の設定処理について第5図、第6図及び第7
図を用いて説明する。CLOCKキー21が押圧されると第2
図のステップS4、S5のキー処理として第5図に示す処理
が実行される。
Next, the time setting process will be described with reference to FIGS. 5, 6, and 7.
It will be described with reference to the drawings. The second when the CLOCK key 21 is pressed
The process shown in FIG. 5 is executed as the key process of steps S4 and S5.

ステップS31でCLOCKキー21が押されていると判断される
とステップS32でフラグFaが“0"か否かが判断される。
フラグFaはCLOCKキーが押されたのち、初めて第5図に
示すCLOCKキー処理を実行することを判断するためのフ
ラグであり、CLOCKキー21が押されて初めてCLOCKキー処
理を実行する場合はFa=0であるため、ステップS33に
移ってフラグFaが“1"にセットされる。次いで、ステッ
プS34でフラグFbが“1"であるか否か、すなわち現在の
状態が時刻設定可能モードか否かが判断され、NOならば
フラグFbが“1"にセットされて時刻設定可能モードに設
定(ステップS35)されると共に、10時間代データ入力
終了フラグF2、1時間代データ入力終了フラグF3、及び
10分代データ入力終了フラグF4が“0"にクリアされ(ス
テップS36、S37、S38)、さらに5秒カウンタが起動
(ステップS39)されてステップS40に移り、フラグF0が
“1"にセットされて時刻表示中に設定される。5秒カウ
ンタは時刻設定可能な状態を所定時間内(本例では5秒
内)に制限するためのものであり、中央処理装置13によ
ってソフト的に実行される。すなわち、ステップ39で5
秒カウンタが起動されると、第6図に示すように先ず5
秒カウンタがインクリメントされ(ステップS51)、5
秒経過するまで順次計時を続ける。そして、5秒経過す
ると(ステップS52)、フラグFbが“0"にクリアされて
時刻設定可能モードが解除される(ステップS53)と共
に、フラグF1が“0"にクリアされて時刻設定モードが解
除される(ステップS54)。第5図に示すCLOCKキー処理
が終了すると第2図のステップS6に戻り、前述の通りフ
ラグF0及びF1の状態に応じた表示が行われる。そして、
CLOCKキー21への押圧が解除されると、ステップS31から
ステップS41に移り、フラグFaが“0"にクリアされる。
尚、その後、前記5秒カウンタが5秒の計時を完了する
前で、且つ後述する時刻設定処理を完了する前に再びCL
OCKキー21を押圧すると、ステップS34からステップS42
に移り、フラグFbが“0"にクリアされて時刻設定可能モ
ードが解除されると共に、フラグF1が“0"にクリアされ
て時刻設定モードが解除される(ステップS43)。これ
は後述する時刻設定処理において、時刻の設定を誤って
行った場合等に、5秒カウンタが5秒の計時を完了する
まで待つことなく、時刻設定可能モードを解除できるよ
うにしたものである。
If it is determined in step S31 that the CLOCK key 21 is pressed, it is determined in step S32 whether the flag Fa is "0".
The flag Fa is a flag for determining whether to execute the CLOCK key process shown in FIG. 5 for the first time after the CLOCK key is pressed. If the CLOCK key process is executed for the first time after pressing the CLOCK key 21, Fa is executed. Since = 0, the process moves to step S33 and the flag Fa is set to "1". Next, in step S34, it is determined whether or not the flag Fb is "1", that is, whether or not the current state is the time setting mode, and if NO, the flag Fb is set to "1" and the time setting mode is set. Is set (step S35), and the 10-hour data input end flag F2, the 1-hour data input end flag F3, and
The 10th minute data input end flag F4 is cleared to "0" (steps S36, S37, S38), the 5-second counter is activated (step S39), and the process proceeds to step S40, and the flag F0 is set to "1". Is set during time display. The 5-second counter is for limiting the state in which the time can be set within a predetermined time (5 seconds in this example), and is executed by the central processing unit 13 in software. That is, 5 in step 39
When the second counter is activated, as shown in FIG.
The second counter is incremented (step S51), 5
Timekeeping continues in sequence until seconds have elapsed. Then, after 5 seconds have passed (step S52), the flag Fb is cleared to "0" to cancel the time setting mode (step S53), and the flag F1 is cleared to "0" to cancel the time setting mode. (Step S54). When the CLOCK key process shown in FIG. 5 is completed, the process returns to step S6 in FIG. 2 and, as described above, the display according to the states of the flags F0 and F1 is performed. And
When the CLOCK key 21 is released, the process proceeds from step S31 to step S41, and the flag Fa is cleared to "0".
After that, before the 5 second counter completes counting the time of 5 seconds, and before the time setting process described later is completed, the CL is restarted.
When the OCK key 21 is pressed, steps S34 to S42
Then, the flag Fb is cleared to "0" to cancel the time setting mode, and the flag F1 is cleared to "0" to cancel the time setting mode (step S43). This is to enable the time setting mode to be released without waiting for the 5 second counter to complete counting the time of 5 seconds in the time setting process described later when the time is set incorrectly. .

一方、ステップS41でフラグFaが“0"にクリアされてCLO
CKキー処理を終了した後に、テンキー20を押圧すること
によって第7図に示す時刻設定処理が実行される。この
時刻設定処理は時刻設定可能モード(フラグFb=1)の
間、テンキー20のいずれかの番号のキーを押圧する毎に
実行される。
On the other hand, in step S41, the flag Fa is cleared to "0" and CLO
After the CK key process is completed, the ten key 20 is pressed to execute the time setting process shown in FIG. This time setting process is executed every time any key of the ten keys 20 is pressed during the time settable mode (flag Fb = 1).

例えば、1時11分を設定する場合、先ず10時間代データ
を示す0番キーを押圧すると、ステップS61でフラグFb
が“1"か否か、すなわち時刻設定可能モードか否かが判
断され、YESならステップ62で10時間代データ入力終了
フラグF2が“0"か否かが判断される。10時間代データを
入力するまではF2=0なので、次いで0又は1番キーが
押されているか否かが判断され(ステップS63)、第4
図に示すメモリ16の時刻設定用メモリ領域40内の第1の
数値メモリ領域41に“0"がストアされる(ステップS6
4)と共に、10時間代データ入力終了フラグF2及び時刻
設定モードを表すフラグF1が“1"にセットされる(ステ
ップS65、S66)。
For example, in the case of setting 1:11, first, if the 0 key indicating the 10-hour data is pressed, the flag Fb is set in step S61.
Is "1", that is, it is determined whether or not the time setting mode is possible. If YES, it is determined in step 62 whether the 10-hours data input end flag F2 is "0". Since F2 = 0 until the time data for 10 hours is input, it is then determined whether the 0 or 1 key is pressed (step S63), and the fourth
"0" is stored in the first numerical value memory area 41 in the time setting memory area 40 of the memory 16 shown in the figure (step S6).
At the same time, the 10-hour generation data input end flag F2 and the flag F1 indicating the time setting mode are set to "1" (steps S65 and S66).

次に、1時間代データを示す1番キーを押圧すると、ス
テップS62からステップS67に移り、1時間代データ入力
終了フラグF3が“0"か否かが判断される。1時間代デー
タを入力するまではF3=0なので、次いでステップS68
に移り、すでに第4図の第1の数値メモリ領域41にスト
アされている10時間代データ(0又は1)に応じた処理
がなされ(ステップS69、S70)、第4図に示す第2の数
値メモリ領域42に所定の値がストアされる(ステップS7
1、S72)。本例では、ステップS70からS72に移り、第2
の数値メモリ領域42に“1"がストアされ、その後1時間
代データ入力終了フラグF3が“1"にセットされる(ステ
ップS73)。
Next, when the No. 1 key indicating the hourly data is pressed, the process proceeds from step S62 to step S67, and it is determined whether or not the hourly data input end flag F3 is "0". Until the hourly data is input, F3 = 0, so next step S68.
Then, the process according to the 10-hour data (0 or 1) already stored in the first numerical value memory area 41 of FIG. 4 is performed (steps S69, S70), and the second processing shown in FIG. A predetermined value is stored in the numerical value memory area 42 (step S7).
1, S72). In this example, the process proceeds from step S70 to S72
"1" is stored in the numerical value memory area 42, and then the 1-hour data input end flag F3 is set to "1" (step S73).

そして、再び1番キーを押圧するとステップS67からス
テップS74に移り、10分代データ入力終了フラグF4が
“0"か否かが判断された後、ステップS75を介してステ
ップS76に移り、第4図に示す第3の数値メモリ領域3
に“1"がストアされ、次いで10分代データ入力終了フラ
グF4が“1"にセットされる(ステップS77)。
Then, when the No. 1 key is pressed again, the process moves from step S67 to step S74, and after it is determined whether or not the 10th minute data input end flag F4 is "0", the process proceeds to step S76 through step S75, and the fourth step Third numerical memory area 3 shown in the figure
"1" is stored in, and the 10th generation data input end flag F4 is set to "1" (step S77).

さらに、再び1番キーを押圧するとステップS74からス
テップS78を介してステップS79に移り、第4図に示す時
刻カウント用メモリ領域30内の秒代以下のデータ、すな
わち10秒代データ32、1秒代データ33、及び0.1秒代デ
ータ34が“0"にリセットされると共に、第4図に示すよ
うに時刻設定用メモリ領域40の各数値メモリ領域41、4
2、43にストアされている数値及び現在押圧されている
数値(本例では“1")が時刻カウント用メモリ領域30内
の対応する各領域に転送されてストアされ(ステップS8
0)、新たな時刻データすなわち1時11分が設定され、
以後この時間から時刻のカウントが行われる。
Further, when the No. 1 key is pressed again, the process moves from step S74 to step S79 through step S78 and the data in the time counting memory area 30 shown in FIG. The substitute data 33 and the 0.1-second generation data 34 are reset to "0", and as shown in FIG.
The numerical values stored in Nos. 2 and 43 and the currently pressed numerical value (“1” in this example) are transferred and stored in the corresponding areas in the time counting memory area 30 (step S8).
0), new time data, namely 1:11 is set,
After that, the time is counted from this time.

そして、フラグFbが“0"にクリアされて時刻設定可能モ
ードが解除される(ステップS81)と共に、フラグF1が
“0"にクリアされて時刻設定モードが解除され(ステッ
プS82)、時刻設定処理が完了する。
Then, the flag Fb is cleared to "0" to cancel the time setting mode (step S81), and the flag F1 is cleared to "0" to cancel the time setting mode (step S82). Is completed.

第8図は本考案の他の実施例を示すCLOCKキー処理のフ
ローチャートであり、第2図のステップS4、S5のキー処
理の一部として実行される。
FIG. 8 is a flow chart of the CLOCK key processing showing another embodiment of the present invention, which is executed as a part of the key processing of steps S4 and S5 of FIG.

本実施例は、CLOCKキー21を押圧しながら設定したい時
刻に応じて所定のテンキー20を順次押圧することによっ
て、時刻の設定が行われるようにしたものであり、CLOC
Kキー21が押圧され続けている間時刻の設定が可能とな
る。すなわち、ステップS92でCLOCKキー21が押圧されて
いるか否かが判断され、NOならば10時間代データ入力終
了フラグF2、1時間代データ入力終了フラグF3及び10分
代データ入力終了フラグF4を“0"にクリアする(ステッ
プS93、S94、S95)と共に、フラグF1を“0"にクリアし
て時刻設定モードを解除する(ステップS96)。一方、
ステップS92でYESと判断された場合には、フラグF0が
“1"にセットされて時刻表示中に設定され、以下第7図
のステップS62〜ステップS82で説明したのと同様の処理
が行われることによって、所望の時刻が新たに第4図の
時刻カウント用メモリ領域30に設定される。時刻設定に
関する処理は第7図の説明と同様であるため、ここでは
省略する。
In this embodiment, the time is set by sequentially pressing predetermined ten-keys 20 according to the time to be set while pressing the CLOCK key 21.
The time can be set while the K key 21 is continuously pressed. That is, in step S92, it is determined whether or not the CLOCK key 21 is pressed, and if NO, the 10-hour data input end flag F2, the 1-hour data input end flag F3, and the 10-minute data input end flag F4 are set to " The flag F1 is cleared to "0" and the time setting mode is released (step S96), as well as being cleared to "0" (steps S93, S94, S95). on the other hand,
If YES is determined in the step S92, the flag F0 is set to "1" and set during the time display, and the same processing as that described in steps S62 to S82 of FIG. 7 is performed. As a result, the desired time is newly set in the time counting memory area 30 of FIG. Since the processing relating to the time setting is the same as that described with reference to FIG. 7, it is omitted here.

本実施例において、CLOCKキー21を押圧しながら時刻設
定を行うようにしたのは、時刻は一度設定すると頻繁に
設定し直す必要がないため、むしろ誤って時刻が変更さ
れないようにするためであり、従って両手を使わないと
時刻が設定できないような構成としている。
In the present embodiment, the reason why the time is set while pressing the CLOCK key 21 is to prevent the time from being accidentally changed because the time does not need to be reset frequently once it is set. Therefore, the time cannot be set without using both hands.

尚、上述した実施例は、いずれも12時間表示、すなわち
12時59分の次に1時00分と表示するものについて説明し
たが、本考案はこれに限定されるものではなく24時間表
示、すなわち23時59分の次に0時00分と表示するもので
あってもよく、また秒代まで表示するものであってもよ
い。
In addition, in the above-mentioned examples, all 12 hours display, that is,
Although the display of 12:59 and then 1:00 has been described, the present invention is not limited to this, and the display is 24 hours, that is, 23:59 and then 0:00. It may be displayed on the screen or displayed up to the second.

さらに、12時間表示において、午前または午後を併せて
表示するものであってもよく、この場合にはキー入力装
置19に午前及び午後を指定するキーを設け、この午前及
び午後を指定するキーに、時刻を変更可能な状態に設定
するためのCLOCKキーの機能を持たせるようにしてもよ
い。すなわち、第5図におけるステップS31、第8図に
おけるステップS92の判断を「午前又は午後キーオンか
?」に変更し、第4図における各メモリ領域30、40にそ
れぞれ午前又は午後を表すデータをストアする領域を設
けるようにすればよい。
Furthermore, in the 12-hour display, it is also possible to display both morning and afternoon together. In this case, the key input device 19 is provided with a key that specifies am and pm, and the key that specifies am and pm is , A function of the CLOCK key for setting the time in a changeable state may be provided. That is, the judgment in step S31 in FIG. 5 and step S92 in FIG. 8 is changed to “Am or pm key-on?”, And data representing am or pm is stored in the memory areas 30 and 40 in FIG. 4, respectively. A region to be used may be provided.

〔考案の効果〕[Effect of device]

以上本考案によれば、少ないキー操作により時刻を確実
にセットでき、しかも時刻の設定操作を誤って行った場
合でも、各桁の数値については設定可能な数値でなけれ
ばその数値入力は直ちに無効とされるため操作性が良好
で、さらに所定桁の数値の入力完了までは時刻設定操作
を簡単に解除でき、現在時刻が誤って変更されることも
ない。
As described above, according to the present invention, the time can be reliably set with a small number of key operations, and even if the time setting operation is mistakenly performed, if the value of each digit is not a settable value, the input of that value is invalid immediately. Therefore, the operability is good, and the time setting operation can be easily canceled until the input of the numerical value of the predetermined digit is completed, and the current time is not changed by mistake.

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

第1図は本考案に係る電子時計を組込んだラジオ受信機
のブロック図、第2図は中央処理装置13のメイン処理を
示すフローチャート、第3図は時計の割込み処理を示す
フローチャート、第4図はメモリ16のメモリ領域の一部
を示す図、第5図はCLOCKキー処理を示すフローチャー
ト、第6図は5秒カウンタ処理を示すフローチャート、
第7図は時刻設定処理を示すフローチャート、第8図は
本考案の他の実施例を示すCLOCKキー処理のフローチャ
ートである。 図において、1はアンテナ、2は高周波増幅回路、3は
混合器、4は中間周波増幅回路、5は検波回路、6は低
周波増幅回路、7はスピーカ、8は電圧制御発振器、9
はローパスフィルタ、10はマイクロコンピュータ、11は
プログラマブル分周器、12は位相比較器、13は中央処理
装置、14は水晶発振器、15は分周器、16はメモリ、17は
駆動回路、18は表示器、19はキー入力装置、20はテンキ
ー、21はCLOCKキー、30は時刻カウント用メモリ領域、4
0は時刻設定用メモリ領域である。
FIG. 1 is a block diagram of a radio receiver incorporating an electronic timepiece according to the present invention, FIG. 2 is a flow chart showing main processing of the central processing unit 13, FIG. 3 is a flow chart showing interruption processing of the timepiece, and FIG. FIG. 5 is a diagram showing a part of the memory area of the memory 16, FIG. 5 is a flowchart showing a CLOCK key process, FIG. 6 is a flowchart showing a 5 second counter process,
FIG. 7 is a flowchart showing the time setting process, and FIG. 8 is a flowchart of the CLOCK key process showing another embodiment of the present invention. In the figure, 1 is an antenna, 2 is a high frequency amplification circuit, 3 is a mixer, 4 is an intermediate frequency amplification circuit, 5 is a detection circuit, 6 is a low frequency amplification circuit, 7 is a speaker, 8 is a voltage controlled oscillator, 9
Is a low pass filter, 10 is a microcomputer, 11 is a programmable frequency divider, 12 is a phase comparator, 13 is a central processing unit, 14 is a crystal oscillator, 15 is a frequency divider, 16 is a memory, 17 is a drive circuit, 18 is Display, 19 key input device, 20 numeric keypad, 21 CLOCK key, 30 time memory area, 4
0 is a time setting memory area.

Claims (1)

【実用新案登録請求の範囲】[Scope of utility model registration request] 【請求項1】基準信号を発生する基準信号発生器と、 該基準信号により時刻をカウントする計時手段と、 該計時手段のデータを変更可能な状態に設定する設定手
段と、 少なくとも時間及び分をそれぞれ2桁の数値により入力
するテンキーと、 前記計時手段の時刻データの変更を制御する制御部とを
備えた電子時計であって、 前記制御部は、前記設定手段により計時手段のデータが
変更可能な状態に設定されている間に、前記テンキーに
より数値が入力されたとき、時間、分の各桁の数値とし
て設定可能な数値が入力されたか否かを該各桁の数値入
力がなされた時に各桁毎にそれぞれ判断し、少なくとも
時間及び分を表す所定桁の数値の全てについて設定可能
な数値が入力されたと判断した場合には、該所定桁の数
値の入力完了に応答して、前記計時手段の時刻データを
該テンキーにより入力された数値に変更すると共に、該
計時手段の残余のデータをクリアし、 入力された数値が時間、分の該当する桁の数値として設
定可能な数値でないと判断した場合には該桁の数値の入
力を無効とし、 前記テンキーにより所定桁の数値が入力される前に、前
記設定手段により設定された前記変更可能な状態が解除
されたときには、前記計時手段の時刻データを変更しな
いように制御することを特徴とする電子時計。
1. A reference signal generator for generating a reference signal, a time counting means for counting time by the reference signal, a setting means for setting data of the time measuring means in a changeable state, and at least an hour and a minute. An electronic timepiece including a ten-key pad for inputting a two-digit numerical value and a control unit for controlling the change of time data of the timekeeping unit, wherein the control unit can change the data of the timekeeping unit by the setting unit. When a numeric value is entered with the numeric keypad while the numeric keypad is being set, whether or not a numeric value that can be set as a numeric value for each digit of hours and minutes has been entered If it is determined that each set digit has been entered for at least all of the digits of the predetermined digits that represent hours and minutes, respond to the completion of input of the digits of the predetermined digits. The time data of the time measuring means is changed to the numerical value input by the ten-key pad, and the remaining data of the time measuring means is cleared, and the input numerical value is not a numerical value that can be set as the numerical value of the corresponding digit of hour and minute. If it is determined that the input of the numerical value of the digit is invalid, and the changeable state set by the setting means is released before the numerical value of the predetermined digit is input by the numeric keypad, the timekeeping is performed. An electronic timepiece characterized by controlling so as not to change the time data of the means.
JP1987133324U 1987-08-31 1987-08-31 Electronic clock Expired - Lifetime JPH0749436Y2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1987133324U JPH0749436Y2 (en) 1987-08-31 1987-08-31 Electronic clock

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1987133324U JPH0749436Y2 (en) 1987-08-31 1987-08-31 Electronic clock

Publications (2)

Publication Number Publication Date
JPS6438591U JPS6438591U (en) 1989-03-08
JPH0749436Y2 true JPH0749436Y2 (en) 1995-11-13

Family

ID=31391078

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1987133324U Expired - Lifetime JPH0749436Y2 (en) 1987-08-31 1987-08-31 Electronic clock

Country Status (1)

Country Link
JP (1) JPH0749436Y2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011069822A (en) * 2009-09-22 2011-04-07 Swatch Group Research & Development Ltd Radio-synchronous signal receiver for adjusting time base and method for activating the receiver

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS576556B2 (en) * 1972-12-28 1982-02-05
JPS5920996B2 (en) * 1975-12-27 1984-05-16 セイコーエプソン株式会社 Keisankitsukitokei
JPS5491379A (en) * 1977-12-28 1979-07-19 Copal Co Ltd Electronic timepiece

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011069822A (en) * 2009-09-22 2011-04-07 Swatch Group Research & Development Ltd Radio-synchronous signal receiver for adjusting time base and method for activating the receiver

Also Published As

Publication number Publication date
JPS6438591U (en) 1989-03-08

Similar Documents

Publication Publication Date Title
US4315332A (en) Electronic timepiece radio
US4864604A (en) Electronic wristwatch having dialing tone generator
JPS6134698B2 (en)
JPH0749436Y2 (en) Electronic clock
JPH07159559A (en) Time data receiving device
JP2003060520A (en) Long wave standard radio wave receiver
JP3831223B2 (en) Radio clock
JPS5919496B2 (en) frequency counter
JPS6030913B2 (en) Electronic clock with keyboard
JPS6212308Y2 (en)
JPH07209450A (en) Receiver with timer
JPS59153194A (en) Programmable timer
JPH085510Y2 (en) Electronic device with clock
JPH06160551A (en) Radio receiver
JPH0868875A (en) Electronic timepiece and method for setting time
JPH0525206B2 (en)
JP3041602B2 (en) Electronic clock and display method of electronic clock
JPH0755636Y2 (en) Schedule display device
JPH0512796Y2 (en)
JPH0638502Y2 (en) Radio receiver
JPH09325192A (en) Alarm timepiece
JPH05164857A (en) Clock system
JP3252878B2 (en) Synthesizer receiver
EP0689110A2 (en) Apparatus and method for setting a value to be displayed
JPH0319957B2 (en)