JPH0640135B2 - Timer-device - Google Patents

Timer-device

Info

Publication number
JPH0640135B2
JPH0640135B2 JP61012857A JP1285786A JPH0640135B2 JP H0640135 B2 JPH0640135 B2 JP H0640135B2 JP 61012857 A JP61012857 A JP 61012857A JP 1285786 A JP1285786 A JP 1285786A JP H0640135 B2 JPH0640135 B2 JP H0640135B2
Authority
JP
Japan
Prior art keywords
time
reservation
timer
switch
processing content
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
JP61012857A
Other languages
Japanese (ja)
Other versions
JPS62170876A (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.)
Kyushu Hitachi Maxell Ltd
Original Assignee
Kyushu Hitachi Maxell 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 Kyushu Hitachi Maxell Ltd filed Critical Kyushu Hitachi Maxell Ltd
Priority to JP61012857A priority Critical patent/JPH0640135B2/en
Publication of JPS62170876A publication Critical patent/JPS62170876A/en
Publication of JPH0640135B2 publication Critical patent/JPH0640135B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Electric Clocks (AREA)

Description

【発明の詳細な説明】 [産業上の利用分野] この発明はタイマー装置、特に使用者が予め設定してお
いた時刻になると所定の処理動作を行うものに関する。
DETAILED DESCRIPTION OF THE INVENTION [Industrial application] The present invention relates to a timer device, and more particularly to a device that performs a predetermined processing operation at a time preset by a user.

[従来の技術] 従来この種タイマー装置は、使用者が任意にタイマーの
作動時刻をセット可能とする一方、タイマー装置は予約
時刻と現在時刻とを常時チェックし、両時刻が一致する
と警報を発しあるいはリレーをオンして各種電気機器を
始動するなど、所定のタイマー動作をするものが一般的
であった。
[Prior Art] Conventionally, this type of timer device allows a user to arbitrarily set the operating time of the timer, while the timer device constantly checks the reserved time and the current time, and issues an alarm if both times match. Or, it is common to perform a predetermined timer operation such as turning on a relay to start various electric devices.

[発明が解決しようとする問題点] しかしながら、上記した時刻設定時点では余裕時間など
必要ないものと考えるのが常で、番組表等を見ながら開
始時刻それ自体にいかに正確にセットしようかと努力す
るのであるが、実際のタイマー作動時には予約した内容
はおろか予約設定したこと自体忘れることが多く、タイ
マー装置内に備えた基準時刻の誤差による影響とも相俟
って、タイマー装置が作動して警報を発した時には時間
不足のためにあわてて録画等の操作を失敗したり既に番
組が始まっている場合があるなど、十分にタイマー装置
としての役目を果たし得ない虞れがあった。
[Problems to be Solved by the Invention] However, at the time of setting the above-mentioned time, it is usually thought that there is no need for extra time, and while looking at the program table, etc., make an effort to accurately set the start time itself. However, when actually operating the timer, it is often forgotten that the reservation was set, let alone the contents reserved, and in combination with the influence of the reference time error provided in the timer device, the timer device activates and issues an alarm. When it is emitted, there is a fear that it may not be able to fully function as a timer device, such as a failure to hurry operation such as recording due to lack of time, or a program may have already started.

[問題点を解決するための手段] 本発明は、上記問題に鑑みてなされたものであって、第
1図でその構成を説明するごとく、予約時刻を設定可能
とする予約設定手段と、その予約時刻に実行すべき処理
内容を設定可能とする処理内容設定手段と、上記予約設
定手段において設定された予約時刻を所定時間だけずら
せて修正時刻を形成可能とする時刻修正手段と、上記修
正時刻と処理内容とを1組として複数組分の記憶を可能
とする記憶手段と、その記憶手段に記憶されている修正
時刻と現在時刻とを比較する手段と、その比較手段が時
刻の一致を判定すると対応する処理内容を実行する手段
とを備えたタイマー装置にあって、上記した時刻修正手
段が、選択された処理内容に対応させて予約時間の修正
を行うことを特徴とする。
[Means for Solving Problems] The present invention has been made in view of the above problems, and as described with reference to the configuration thereof in FIG. 1, a reservation setting means capable of setting a reservation time and its reservation setting means. Processing content setting means capable of setting the processing content to be executed at the reserved time; time correction means capable of forming the corrected time by shifting the reserved time set by the reservation setting means by a predetermined time; and the corrected time And a processing content as one set, a storage unit capable of storing a plurality of sets, a unit for comparing the correction time stored in the storage unit with the current time, and the comparison unit for determining the coincidence of time Then, in the timer device having means for executing the corresponding processing content, the above-described time adjustment means corrects the reservation time in correspondence with the selected processing content.

[作用] 上記した構成において、操作者が予約設定手段と処理内
容設定手段を用いて、実行手段で処理させたい内容とそ
の時刻とを予約設定する。すると時刻修正手段は、予約
された処理内容に対応する設定時間だけ予約時刻から、
例えば5分減算して予約をし直し、記憶手段に修正時刻
として格納する。
[Operation] In the above-described configuration, the operator uses the reservation setting means and the processing content setting means to set the content to be processed by the execution means and the time. Then, the time adjustment means, from the reserved time for the set time corresponding to the reserved processing content,
For example, 5 minutes is subtracted, the reservation is made again, and the corrected time is stored in the storage means.

かかる状態で、操作者が最初に予約設定した時刻の5分
前になると、比較手段が現在時刻と修正時刻との一致を
判定し、実行手段では警報を発するなどして、予約時刻
の到来を予告表示するのである。
In such a state, when it is five minutes before the time when the operator first makes the reservation setting, the comparing means determines whether the current time and the correction time match, and the executing means issues an alarm to notify the arrival of the reservation time. The notice is displayed.

[実施例] 第2図ないし第7図は、設定時刻になると所定の音響を
発する人形形状のタイマー装置に本発明を実施した一例
を示すがこれに限らず、予約時刻になると電源をオンす
るなど、各種表示動作をするタイマー装置にも略同様に
実施できることは勿論である。
[Embodiment] FIGS. 2 to 7 show an example in which the present invention is applied to a doll-shaped timer device that emits a predetermined sound at a set time, but the invention is not limited to this, and the power is turned on at the reserved time. Of course, the same can be applied to a timer device that performs various display operations.

本発明にかかるタイマー装置1は、第2図に示す如く、
タイマーユニット2と該ユニット2を内部に収納保持す
るキャラクター人形3とから構成される。
The timer device 1 according to the present invention, as shown in FIG.
It is composed of a timer unit 2 and a character doll 3 which houses and holds the unit 2.

キャラクター人形3は、人間の子供あるいは動物等のキ
ャラクターを立体的に表現したものであって、全体また
は少なくともその正面中央に突出する「へそ」等の突起
部5を合成樹脂材等の軟質部材で形成する。また、人形
3の下部で突起部5の裏側位置にタイマーユニット2が
嵌まる大きさの収納部6を形成するとともに、人形3の
下面側には、収納部6へ通じる開口7を設けている。更
に上記突起部5には、タイマーユニット2の前面8側か
ら突出する操作スイッチ13の先端9が緊密に嵌まる嵌
合穴5aが形成されており、タイマーユニット2を人形
3の収納部6内に挿入したのち、操作スイッチ先端9の
嵌合穴5aに嵌入することにより、タイマーユニット2
を人形3内に確実に保持するとともに、人形3の前面側
からのスイッチ操作を可能としている。
The character doll 3 is a three-dimensional representation of a character such as a human child or an animal, and the whole or at least the protrusion 5 such as a "navel" protruding at the center of the front is made of a soft material such as a synthetic resin material. Form. In addition, a storage portion 6 having a size to fit the timer unit 2 is formed at a position on the back side of the protrusion 5 at the bottom of the doll 3, and an opening 7 leading to the storage portion 6 is provided on the lower surface side of the doll 3. . Further, the protrusion 5 is formed with a fitting hole 5a into which the tip 9 of the operation switch 13 protruding from the front surface 8 side of the timer unit 2 is tightly fitted, and the timer unit 2 is stored in the storage portion 6 of the doll 3. The timer unit 2 by inserting it into the fitting hole 5a at the tip 9 of the operation switch.
Is securely held in the doll 3, and the switches can be operated from the front side of the doll 3.

タイマーユニット2は第3図ないし第5図に示す如く、
上ケース10と下ケース11を蓋合わせ状に結合して偏
平な中空筒状の本体ケース12を構成し、該本体ケース
12の内部に、後記する操作スイッチ13、スピーカー
14および回路基板15を含む電気回路を配設する。更
に、下ケース11の下面16側に電池収納部17とタイ
マー設定部18とを凹設し、人形3内にタイマーユニッ
ト2を収納した際、開口7を通じて電池20の入れ換え
或は設定スイッチ34の操作を可能としている。
The timer unit 2 is, as shown in FIGS. 3 to 5,
The upper case 10 and the lower case 11 are joined together in a lid-like manner to form a flat hollow cylindrical main body case 12, and an operation switch 13, a speaker 14, and a circuit board 15 described later are included inside the main body case 12. Provide an electric circuit. Further, a battery storage portion 17 and a timer setting portion 18 are provided on the lower surface 16 side of the lower case 11, and when the timer unit 2 is stored in the doll 3, the battery 20 is replaced through the opening 7 or the setting switch 34. It is possible to operate.

電池収納部17は、例えば単3型乾電池20が4本並列
して収納できる大きさであって、その開口21は電池蓋
22で開閉自在に覆われている。電池蓋22は、電池収
納部17の開口21と略一致する矩形薄板状であり、そ
の基端側面からは両側に向けて回動軸23・23を突設
する一方、電池収納部17と隣接するタイマー設定部1
8の両側にスライド溝24・24を凹設し、該スライド
溝24に回動軸23を摺動および回動自在に枢支する。
更に電池蓋22の先端縁には、係止爪25を中央にして
両側に指掛突部26・26を形成する一方、電池蓋22
の閉止時における下ケース11側の対応位置には、指掛
突部26により半分が覆われる略半球状の指掛溝27
と、係止爪25が係脱自在に嵌まる係止溝28とを形成
している。閉止状態の電池蓋22は、指掛溝27に指を
差し入れ、スライド溝24の長さだけタイマー設定部1
8の方向に摺動移行させて係止爪25と係止溝28間の
係合状態を解いたのち、指掛突部26を持ち上げること
により、第5図の一点鎖で示す如く開放される。
The battery storage unit 17 has a size capable of storing, for example, four AA dry batteries 20 in parallel, and an opening 21 thereof is covered by a battery lid 22 so as to be openable and closable. The battery lid 22 has a rectangular thin plate shape that substantially coincides with the opening 21 of the battery housing portion 17, and has pivot shafts 23 and 23 projecting from the base end side surface toward both sides, while being adjacent to the battery housing portion 17. Timer setting section 1
Slide grooves 24, 24 are provided on both sides of 8, and a rotary shaft 23 is slidably and rotatably supported in the slide grooves 24.
Further, finger hooking projections 26, 26 are formed on both sides of the battery lid 22 with the locking claw 25 at the center, while the battery lid 22 is provided.
At the corresponding position on the side of the lower case 11 when the finger is closed, a finger hooking groove 27 having a substantially hemispherical shape, half of which is covered by the finger hooking protrusion 26.
And a locking groove 28 into which the locking claw 25 is detachably fitted. With the battery cover 22 in the closed state, a finger is inserted into the finger hook groove 27, and only the length of the slide groove 24 corresponds to the timer setting unit 1.
After slidingly moving in the direction of 8 to release the engagement state between the locking claw 25 and the locking groove 28, the finger hooking protrusion 26 is lifted to release it as shown by the one-dot chain in FIG. .

タイマー設定部18は、電池収納部17に隣接して凹溝
29を形成するとともに、該凹溝29内に、電池蓋22
のスライド方向と直交して4つの貫通孔30を形成して
いる。一方、回路基板15上の対向位置にプッシュスイ
ッチ31を取り付け、該スイッチ31の押圧部32にキ
ャップ状のスイッチボタン33の基端33aを嵌め、更
に該スイッチボタン33の先端33bを前記貫通孔30
から突出させて4組の設定スイッチ34を構成してお
り、スイッチボタン33を介して間接的に回路基板15
上のスイッチ31をオンする様にしている。更に、前記
電池蓋22の表面上で各貫通孔30の対応位置に、各設
定スイッチ34の操作内容35を記載することにより、
電気回路の動作をプログラムで制御した場合における設
定機能の追加あるいは変更等に即応できる様にしてい
る。
The timer setting unit 18 forms a groove 29 adjacent to the battery storage unit 17, and the battery cover 22 is provided in the groove 29.
Four through-holes 30 are formed orthogonal to the sliding direction of. On the other hand, the push switch 31 is attached to the opposite position on the circuit board 15, the base end 33a of the cap-shaped switch button 33 is fitted into the pressing portion 32 of the switch 31, and the tip 33b of the switch button 33 is fitted into the through hole 30.
4 sets of setting switches 34 are formed so as to protrude from the circuit board 15 and indirectly through the switch button 33.
The upper switch 31 is turned on. Further, by describing the operation content 35 of each setting switch 34 at the corresponding position of each through hole 30 on the surface of the battery lid 22,
It is designed to be able to immediately respond to the addition or change of the setting function when the operation of the electric circuit is controlled by a program.

操作スイッチ13は、略角筒状の押圧棒36の先端に鍔
部37を、基端側に揺動板38を各々備え、上下ケース
10・11間に形成された案内溝39に押圧棒36を挿
通する一方、揺動板38に対しヒンジ部41を介して略
L字形状に接続された取付部40を上ケース10に固定
することにより、ヒンジ部41を支点として揺動板38
を補助板42に向け揺動させる。補助板42は、揺動板
38と略平行に上ケース10上に固定配備されるもので
あって、対向する突起43・43間にばね体44を介装
することにより揺動板38を本体ケース12の外方に向
け常時付勢している。又、揺動板38から補助板42に
向けて押圧軸45を突設するとともに、補助板42の対
応位置に押圧軸45が通る案内孔46を設ける一方、回
路基板15上には案内孔46の前面に接近させてプッシ
ュスイッチ31を配設する。上記構成の操作スイッチ1
3は、タイマーユニット2が人形3内に収納された際に
その先端の鍔部37が抜けどめとして働く。また、「へ
そ」部分5をばね体44に抗して押圧すると押圧軸45
が前進するするが、該押圧軸45の移行方向は補助板4
2の案内孔46で補正されて的確にプッシュスイッチ3
1の押圧部32ををオン可能としている。
The operation switch 13 includes a brim portion 37 at the tip of a substantially square tubular pressing rod 36 and a swing plate 38 at the proximal end thereof, and the pressing rod 36 is provided in a guide groove 39 formed between the upper and lower cases 10 and 11. On the other hand, the mounting portion 40, which is connected to the swing plate 38 in a substantially L-shape via the hinge portion 41, is fixed to the upper case 10 while the swing plate 38 is inserted through the swing plate 38.
Is swung toward the auxiliary plate 42. The auxiliary plate 42 is fixedly arranged on the upper case 10 substantially in parallel with the swing plate 38, and the swing plate 38 is provided as a main body by interposing a spring body 44 between the opposed projections 43. It is constantly urged toward the outside of the case 12. Further, a pressing shaft 45 is provided so as to project from the swing plate 38 toward the auxiliary plate 42, and a guide hole 46 through which the pressing shaft 45 passes is provided at a corresponding position of the auxiliary plate 42, while a guide hole 46 is provided on the circuit board 15. The push switch 31 is arranged close to the front surface of the. Operation switch 1 with the above configuration
When the timer unit 2 is housed in the doll 3, the flange portion 3 of the nozzle 3 functions as a slip-out member. When the "navel" portion 5 is pressed against the spring body 44, the pressing shaft 45
Moves forward, but the pressing shaft 45 moves in the direction of the auxiliary plate 4
Corrected by the guide hole 46 of 2, the push switch 3 is accurately
The first pressing portion 32 can be turned on.

第6図は、タイマーユニット2に使用する電気回路の概
略を示すブロック図であって、制御の中心としてプログ
ラムにより作動する中央処理装置(CPU)を使用する
とともに、該中央処理装置50とRAM51、ROM5
2等の記憶装置53および入出力装置54間を各種バス
55を介して接続することにより制御部56を構成す
る。更に入出力装置54には、音声発生装置57、メロ
ディ発生装置58を含む表示部60、あるいは制御部5
6に対する操作者の直接的なアクセスを可能とするスイ
ッチ部61を接続することにより、各種の予約設定ある
いは予約時刻における表示部60による音響発生等の各
種タイマー動作を可能とする。
FIG. 6 is a block diagram showing an outline of an electric circuit used for the timer unit 2, in which a central processing unit (CPU) operated by a program is used as the center of control, and the central processing unit 50 and the RAM 51, ROM5
The control unit 56 is configured by connecting the storage device 53 and the input / output device 54 such as two via various buses 55. Further, the input / output device 54 includes a voice generator 57, a display unit 60 including a melody generator 58, or a controller 5.
By connecting the switch unit 61 that allows the operator to directly access the unit 6, various timer operations such as various reservation settings or sound generation by the display unit 60 at the reserved time are enabled.

第7図は、更に具体的な電気回路の一例を示す。中央処
理装置として作動する4ビットCPU50、作業エリア
として働くRAM51、実行プログラムを予め記憶した
ROM52および外部回路とのデータの受け渡しを行う
入出力装置54を1チップに集積したマイクロプロセッ
サ(例えばμPD7507SC)が制御部56として使用され、
電池収納部17への電池20のセットと同時に微分回路
63からリセット端子RESETにリセット信号が入力
されると、ROM52内のプログラムを予め定められた
手順に従って実行してデータ処理を行うとともに、入出
力装置54に設けられた各ポートP00〜P53を介してスイ
ッチ部61、音声発生装置57およびメロディ発生装置
58間でデータの受け渡しを行う。
FIG. 7 shows an example of a more specific electric circuit. A microprocessor (for example, μPD7507SC) in which a 4-bit CPU 50 that operates as a central processing unit, a RAM 51 that functions as a work area, a ROM 52 that stores an execution program in advance, and an input / output device 54 that exchanges data with an external circuit are integrated in one chip Used as the control unit 56,
When a reset signal is input to the reset terminal RESET from the differentiating circuit 63 at the same time when the battery 20 is set in the battery storage unit 17, the program in the ROM 52 is executed according to a predetermined procedure to perform data processing, and input / output is performed. Data is transferred between the switch section 61, the voice generation device 57, and the melody generation device 58 via the ports P 00 to P 53 provided in the device 54.

スイッチ部61は上記の如く、タイマーユニット2を収
納する本体ケース12の前面8側から操作される1つの
操作スイッチ13、および本体ケース12の下面16側
から操作される4つの設定スイッチ34から構成され
る。各スイッチ13・34は全て常開のオンオフスイッ
チ31が使用され、1端を互いに並列接続して電源部6
4に繋ぐとともに、他端を抵抗65で接地して制御部5
6の入力ポートに個別に接続することにより、各スイッ
チ13・34のオン時に「H」信号を制御部56に印加
してスイッチの操作状況を知らせる。
As described above, the switch portion 61 is composed of one operation switch 13 operated from the front surface 8 side of the main body case 12 accommodating the timer unit 2 and four setting switches 34 operated from the lower surface 16 side of the main body case 12. To be done. A normally open on / off switch 31 is used for each of the switches 13 and 34.
4 and the other end is grounded by a resistor 65 to control unit 5
By individually connecting to the input ports of 6, the "H" signal is applied to the control unit 56 when each of the switches 13 and 34 is turned on to notify the operation status of the switches.

音声発生装置57は、例えばPARCOR方式の音声合
成用ICであるLC8100が使用される。START
端子に制御部56からスタート信号が入力されるのと連
動して、言葉選択端子C0〜C4に対して制御部56から印
加される4桁の2値信号で特定される、「おはよう」
「おやすみ」等の一連の言葉が出力端子DAから出力さ
れる。
As the voice generation device 57, for example, LC8100 which is a PARCOR type voice synthesis IC is used. START
In conjunction with the input of the start signal from the control unit 56 to the terminals, the "good morning" is specified by the 4-digit binary signal applied from the control unit 56 to the word selection terminals C 0 to C 4 .
A series of words such as "good night" is output from the output terminal DA.

メロディ発生装置58には、SVM7973等の所謂メ
ロディICが使用される。制御部56からメロディ選択
端子MS1〜MS3に向け3桁の2値信号が印加される
と、該2値信号の値で特定されメロディが、スタート端
子MTへのスタート信号の印加と連繋して出力され、S
TP端子へのストップ信号の印加で強制停止可能として
いる。
A so-called melody IC such as SVM7793 is used for the melody generator 58. When a 3-digit binary signal is applied from the control unit 56 to the melody selection terminals MS1 to MS3, the melody specified by the value of the binary signal is output in association with the application of the start signal to the start terminal MT. And S
Forced stop is possible by applying a stop signal to the TP terminal.

上記の音声発生装置57およびメロディ発生装置58か
らの出力信号は、増幅装置59に入力されて所定の大き
さに増幅されたのち、上ケース10に取り付けられたス
ピーカー14で発音される。なお増幅装置59の電源端
子Vccは、制御部56からの制御でオンオフ可能なスイ
ッチング用トランジスタ66を備えた切換部62および
ジャック67へのプラグの抜き差しと連動してオンオフ
する切換スイッチ69を介して電源部64に繋がれてお
り、通常は音声発生装置57あるいはメロディ発生装置
58が作動状態となる期間のみ切換部62のトランジス
タ66がオンして増幅装置59における余分な電力の消
費を防止するが、ジャック67にプラグが差し込まれ
て、増幅装置59の入力側とテレビジョン等の音声出力
端子間が接続された場合には、制御部56の動作とは関
係なく強制的に増幅装置59をオンし、通常の増幅器と
しても作動する様にしている。なお、増幅装置59のオ
ンオフ動作により制御部56に対する印加電圧が変動す
るのを防止するため、電源部64には大容量の平滑用コ
ンデンサ70と分離用のダイオード71とを接続してい
る。
The output signals from the voice generating device 57 and the melody generating device 58 are input to the amplifying device 59, amplified to a predetermined size, and then sounded by the speaker 14 attached to the upper case 10. The power supply terminal V cc of the amplifying device 59 is connected via a changeover unit 62 equipped with a switching transistor 66 which can be turned on and off under the control of the control unit 56, and a changeover switch 69 which is turned on and off in conjunction with the plugging and unplugging of a jack 67. The power source 64 is connected to the power source 64, and normally the transistor 66 of the switching unit 62 is turned on only during the period when the voice generator 57 or the melody generator 58 is in an operating state to prevent extra power consumption in the amplifier 59. However, when the plug is inserted into the jack 67 and the input side of the amplifying device 59 and the audio output terminal of a television or the like are connected, the amplifying device 59 is forcibly irrelevant regardless of the operation of the control unit 56. It turns on and operates as a normal amplifier. A large-capacity smoothing capacitor 70 and a separating diode 71 are connected to the power supply unit 64 in order to prevent the applied voltage to the control unit 56 from changing due to the ON / OFF operation of the amplifier 59.

第8図および第9図は、制御部56のROM52内に格
納されたプログラムによる電気回路全体の制御の流れを
示す。
FIG. 8 and FIG. 9 show the flow of control of the entire electric circuit by the program stored in the ROM 52 of the control unit 56.

第8(a)図は全体的な制御の流れを概略を示すものであ
って、プログラムをスタートさせる(ステップ80)
と、RAM51内のワークエリアあるいはスタックエリ
ア等の初期化が行われる(ステップ81)とともに基準
時刻の計時を開始し、更にステップ82において、回路
全体のテストが必要か否かの判断がなされ、判定がYE
Sであれば後記するテスト処理Aが行われるが、NOで
あればスイッチ部61からの入力の受け付けが可能な待
機状態になる(ステップ83)。かかるスタンバイ状態
で予約時刻に達する(ステップ84)と、予め設定した
予約内容によるアラーム処理Bを行い、またタイマーユ
ニット2の下面16側に配備したタイマー設定部18に
設けた言葉選択、ウイークリー予約、デイリー予約、予
約取り消しの各設定スイッチ34あるいはキャラクター
人形3の前面に突出した操作スイッチ13がオンされた
ことが判断されると、各々のスイッチ操作(ステップ8
4〜89)に対応したデータ処理(C〜F)が行われた
あと、ステップ83のスタンバイ状態に戻る。
FIG. 8 (a) shows the outline of the overall control flow, and the program is started (step 80).
Then, the work area or the stack area in the RAM 51 is initialized (step 81), and the reference time is measured, and in step 82, it is judged whether or not a test of the entire circuit is necessary. Is YE
If S, the later-described test process A is performed, but if NO, a standby state in which an input from the switch unit 61 can be accepted (step 83). When the reserved time is reached in such a standby state (step 84), alarm processing B according to preset reservation contents is performed, and word selection, weekly reservation provided in the timer setting section 18 provided on the lower surface 16 side of the timer unit 2, When it is determined that the setting switch 34 for daily reservation or cancellation of reservation or the operation switch 13 projecting to the front of the character doll 3 is turned on, operation of each switch (step 8).
After the data processing (C to F) corresponding to 4 to 89) is performed, the process returns to the standby state of step 83.

第8図(b)は、上記スイッチ操作の有無、各種カウンタ
の更新、予約時刻の検査等を行う割り込みサブルーチン
の流れを示す。かかる割り込み処理は、割り込み禁止状
態の場合を除き、本実施例においては0.25秒の単位時間
毎に強制的に当該割り込み処理が行われる。
FIG. 8 (b) shows a flow of an interrupt subroutine for performing the above switch operation, updating various counters, checking reserved time, and the like. In the present embodiment, the interrupt process is forcibly performed every unit time of 0.25 seconds except in the interrupt disabled state.

サブルーチンに入る(ステップ101)と、ステップ1
02で分カウンタの値を1だけ減算したあと、ステップ
103でカウンタの値が0になったか否かの判定がなさ
れる。本実施例では、第8図(a)における初期設定時
(ステップ81)およびステップ104で分カウンタに
予め「239」の値をセットするとともに、0.25秒おき
に割り込み処理を行ってセット値を1ずつ減算し(ステ
ップ102)ており、ステップ103の判断がNOであ
ればそのままステップ111に進むが、YESであれば
前回のカウント時から1分経過したことが判断されるの
で、次のステップ105で現在時刻を1分進めたあと、
ステップ106〜110で当該時刻におけるアラーム要
求の有無が判断される。すなわち、基準時刻と予約時刻
とを互いに基準時刻が1分経過する毎に比較し(ステッ
プ107)、両者が一致したことがステップ108で判
断されると、予約内容を記憶した予約エリアの先頭アド
レスがアラームエリアにセットされる(ステップ10
9)。本実施例では、アラームエリアへのアラーム要求
のセットは3組まで許され、同一時刻における異なった
アラーム要求、あるいは同一時刻ではないがアラーム処
理中にタイムアップした要求を含めた3組分の予約を制
御部56内に常時留保することが可能となり、従って、
ステップ106の判断でアラームエリアが一杯になり、
それ以上の留保ができないかステップ110で全ての予
約時刻を検査し終えると、次のステップ11に移る。
When entering a subroutine (step 101), step 1
After subtracting 1 from the value of the minute counter in 02, it is determined in step 103 whether or not the value of the counter has become 0. In the present embodiment, at the time of initial setting (step 81) and step 104 in FIG. 8 (a), a value of "239" is set in advance in the minute counter, and interrupt processing is performed every 0.25 seconds to set the set value to 1. Each step is subtracted (step 102), and if the determination in step 103 is NO, the process proceeds to step 111 as it is, but if YES, it is determined that one minute has elapsed from the time of the previous count, so the next step 105 After advancing the current time by 1 minute,
In steps 106 to 110, it is determined whether or not there is an alarm request at that time. That is, the reference time and the reservation time are compared with each other every one minute of the reference time (step 107), and when it is determined in step 108 that the two match, the start address of the reservation area storing the reservation contents Is set in the alarm area (step 10)
9). In the present embodiment, up to three sets of alarm requests can be set in the alarm area, and reservations for three sets including different alarm requests at the same time or requests that are not the same time but have timed up during alarm processing are reserved. Can always be reserved in the control unit 56, and therefore,
The alarm area becomes full according to the judgment in step 106,
When all reservation times have been inspected in step 110 for further reservation, the process proceeds to the next step 11.

ステップ111ないしステップ115は、プログラム中
で設定使用される各種タイマーカウンタの処理ステップ
であって、ステップ111において、タイマーフラグが
セットされていることにより20秒又は3分タイマーが
作動中と判断されれば、当該タイマーカウンタの値を1
だけ減算する(ステップ112)。次にステップ113
の判断で、タイマーカウンタの値が0になりカウントア
ップしたことが判定されれば、当該タイマーフラグをク
リアして初期状態に戻し(ステップ114)、次に2秒
又は5秒タイマーのカウント値をマイナス1し(ステッ
プ115)て、タイマー処理を終える。
Steps 111 to 115 are processing steps of various timer counters set and used in the program. In step 111, it is determined that the 20 second or 3 minute timer is operating because the timer flag is set. For example, set the value of the timer counter to 1
Is subtracted (step 112). Then step 113
If it is determined that the value of the timer counter has reached 0 and has counted up, the timer flag is cleared to return to the initial state (step 114), and then the count value of the 2-second or 5-second timer is reset. The value is decreased by 1 (step 115), and the timer processing is ended.

ステップ116ないしステップ118は、スイッチ操作
状況の検査処理にかかるステップである。即ち、ステッ
プ116でスイッチ13・34の読み込み及びチェック
が行われ、ステップ117でスイッチがオフ状態からオ
ン状態に変化したことが判断された時のみスイッチフラ
グをセット(ステップ118)し,サブルーチンから抜
ける(ステップ119)。従って、当該サブルーチンに
よる割り込み処理レートである0.25秒おきにスイッチの
オンオフ状態をサンプリングする形となり、同一のスイ
ッチを押し続けたりスイッチのチャタリングがあっても
1回のスイッチ操作と制御部は判断し、誤動作を防止す
る。
Steps 116 to 118 are steps relating to the switch operation status inspection processing. That is, the switches 13 and 34 are read and checked in step 116, and the switch flag is set (step 118) only when it is determined in step 117 that the switch has changed from the off state to the on state, and the process exits from the subroutine. (Step 119). Therefore, the on / off state of the switch is sampled at intervals of 0.25 seconds which is the interrupt processing rate by the subroutine, and even if the same switch is continuously pressed or chattering of the switch occurs, the switch operation is judged once and the control unit judges. Prevent malfunction.

第9図(a)は、第8図(a)におけるテスト処理Aの流れの
一例を示すものであって、当該処理を開始すると、プロ
グラム中で使用する各種タイマーの動作、表示部におけ
る音声あるいはメロディ発生動作を自動的にチェックし
て、回路全体の動作状況の異常を未然に検出可能とす
る。
FIG. 9 (a) shows an example of the flow of the test processing A in FIG. 8 (a). When the processing is started, the operation of various timers used in the program, the sound on the display unit, or the The melody generation operation is automatically checked to detect abnormalities in the operation status of the entire circuit.

処理をスタートする(ステップ120)と、増幅装置5
9を作動した(ステップ121)あと、20秒タイマー
をスタートさせる(ステップ122)。次に、3番およ
び12番の番号で特定される言葉を1秒間隔で音声発生
装置57から出力させた(ステップ123〜126)の
ち、1番および6番のメロディをメロディ発生装置58
から出力させる(ステップ127〜131)。しかし各
メロディは曲全体を出力させることなく、開始から3秒
経過するとメロディ発生装置58に対してSTOP信号
を与えて強制的に停止する(ステップ132〜13
4)。更にステップ135で20秒タイマーのタイムア
ップを判断し、1番の言葉を出力させ(ステップ13
6)たあと、増幅装置59を停止し(ステップ137)
でテスト処理を終える(ステップ138)。
When the processing is started (step 120), the amplification device 5
After activating 9 (step 121), a 20 second timer is started (step 122). Next, the words specified by the numbers 3 and 12 are output from the voice generator 57 at intervals of 1 second (steps 123 to 126), and then the melody numbers 1 and 6 are output to the melody generator 58.
To output (steps 127 to 131). However, each melody does not output the entire tune, and when 3 seconds have passed from the start, gives a STOP signal to the melody generator 58 to forcibly stop (steps 132 to 13).
4). Further, in Step 135, it is judged that the 20-second timer has timed out, and the first word is output (Step 13
6) After that, the amplifier 59 is stopped (step 137)
Then, the test process ends (step 138).

第9図(b)は、第8図(b)における割り込みサブルーチン
時において予約時刻と現在時刻とが一致することによ
り、アラームエリアにアラーム要求データがセットされ
た場合におけるアラーム処理Bの流れを示す。処理をス
タートする(ステップ140)と、ステップ141で2
秒または5秒タイマーが既に作動中と判断された場合は
該タイマーがタイムアップするまで待つことにより、前
段の処理との間に一定間隔を設けたあと、スイッチエリ
アをクリアし(ステップ142)てスイッチ部61から
の入力を受け付け可能とし、更に言葉選択およびアラー
ム終了フラグをクリアする(ステップ143)ととも
に、増幅装置59の電源をオンし(ステップ144)で
アラーム処理の準備を終え、以下のステップ145〜1
67で示すアラーム表示サイクルに移る。
FIG. 9 (b) shows a flow of the alarm processing B when the alarm request data is set in the alarm area due to the reservation time and the current time being coincident with each other in the interrupt subroutine in FIG. 8 (b). . When the processing is started (step 140), 2 is executed in step 141.
If it is determined that the second or 5 second timer is already operating, wait for the timer to time out, and after a certain interval is provided between the timer and the preceding process, clear the switch area (step 142). The input from the switch unit 61 can be accepted, the word selection and the alarm end flag are cleared (step 143), and the power of the amplification device 59 is turned on (step 144) to complete the preparation for the alarm processing, and the following steps are performed. 145-1
The process moves to the alarm display cycle indicated by 67.

ステップ145において、まず表示すべきアラーム内容
に対応してアラームの繰り返し回数をセットする。本実
施例においては、ステップ146で軽快な短時間のチャ
イム音を、ステップ151において報知内容に対応した
一連の言葉から成る音声を、更にステップ159で周知
の曲をアレンジした所定時間持続するメロディを各々順
次発音させるとともに、各発音間のステップ147・1
52・163で2秒タイマーを作動させることにより2
秒の時間間隔を設けたものを1回の表示サイクルとす
る。そして、選択された言葉が「おはよう」の目覚しコ
ールおよび「おやすみなさい」のおやすみコールについ
ては、上記サイクルを3回繰り返し、それ以外の言葉が
選択された場合には、1回だけ表示サイクルを実行した
あと、ステップ165の判断でかかるアラーム表示サイ
クルから抜けてステップ168に移る様にしている。ま
た予約された言葉のコード番号が1または2の「おはよ
う」「おやすみなさい」であるとステップ155で判断
されれば、ステップ158で言葉に対応したメロディを
選択するが、その他の言葉の場合には、ステップ156
および157でメロディカウンタの値を順次シフトさせ
ていって、曲目を1回のアラーム処理毎に変更する様に
している。
In step 145, first, the number of times the alarm is repeated is set corresponding to the alarm content to be displayed. In this embodiment, a light and short chime sound is produced in step 146, a voice consisting of a series of words corresponding to the notification content is provided in step 151, and a known melody arranged for a predetermined time is arranged in step 159. Sequentially pronounce each and step 147.1 between each pronunciation
2 by activating the 2 second timer at 52.163
One display cycle has a time interval of seconds. Then, for the wake-up call with the selected word "Good morning" and the good-night call with "Good night", the above cycle was repeated 3 times, and when the other words were selected, the display cycle was executed only once. After that, the process goes out of the alarm display cycle in step 165 and goes to step 168. If it is determined in step 155 that the reserved code has the code number 1 or 2 of "Good morning" or "Good night", the melody corresponding to the word is selected in step 158, but in the case of other words. , Step 156
And 157, the value of the melody counter is sequentially shifted so that the tune is changed every alarm processing.

更に、各発音間の2秒の無音時(ステップ149・15
4・167)およびメロディ発音時(ステップ161)
に限り、キャラクター人形3の前面に突出した操作スイ
ッチ13の押圧による信号入力を受け付け、アラーム表
示サイクルの途中であっても当該サイクルから抜けてス
テップ168に移り、たとえメロディを発音途中であっ
ても、ステップ168ないしステップ172でメロディ
発生装置58に印加されていたSTART信号を止める
と同時にSTOP信号を送り、表示途中のメロディを強
制的に停止可能とする。
Furthermore, when there is no sound for 2 seconds between each pronunciation (steps 149 and 15
4.167) and when the melody is pronounced (step 161)
As long as the signal input by pressing the operation switch 13 projecting to the front of the character doll 3 is accepted, even if it is in the middle of the alarm display cycle, the process exits from the cycle and moves to step 168, even if the melody is being sounded. In step 168 to step 172, the START signal applied to the melody generator 58 is stopped, and at the same time, the STOP signal is sent to forcefully stop the melody being displayed.

上記の如くして表示サイクルを終了すると、まず5秒タ
イマーをスタートし(ステップ173)、スイッチエリ
アをクリアし(ステップ174)てスイッチ入力を受け
付け可能とし、更にステップ175で上記アラーム表示
サイクルで実行した予約内容の先頭番地を退避させると
ともに、ステップ176でアラーム要求データ数を−1
したあとステップ177でアラームエリアに要求データ
が残っているか否かの判断がなされる。かかる判断がY
ESであれば、現時点で処理を必要とするアラームは全
て処理し終えたことが判るので、増幅装置59を停止し
(ステップ178)、アラーム終了フラグをセットし
(ステップ179)、更に3分タイマーのスタート(ス
テップ180)およびスイッチエリアのクリア(ステッ
プ181)により、予約の取り消しを受け付け可能とし
てアラーム処理Bを終了する(ステップ182)。
When the display cycle is completed as described above, first, the timer for 5 seconds is started (step 173), the switch area is cleared (step 174), and the switch input can be accepted. Further, in step 175, the alarm display cycle is executed. The head address of the reserved contents saved is saved, and the number of alarm request data is set to -1 in step 176.
After that, in step 177, it is judged whether or not the requested data remains in the alarm area. This judgment is Y
If it is ES, it is understood that all the alarms that need to be processed at this moment have been processed, so the amplification device 59 is stopped (step 178), the alarm end flag is set (step 179), and a further 3 minute timer is set. By starting (step 180) and clearing the switch area (step 181), the cancellation of the reservation can be accepted and the alarm processing B is ended (step 182).

ステップ177の判定が逆にNOであれば、同一時刻に
対して複数の予約がなされているか、アラーム処理中に
タイムアップした予約が他に存在することが判るので、
ステップ183でアラーム要求データを1段シフトして
次のデータを取り出す。本実施例では、取り出されたデ
ータをすぐに処理することなく、ステップ173でスタ
ートした5秒タイマーがステップ189でタイムアップ
するまで取消スイッチの入力を受け付け(ステップ18
4)、取消スイッチがオンされると、ステップ175で
退避された実行済みアラームの予約をクリアし(ステッ
プ185)て予約を取り消したあと処理成功イメージの
メロディを出力し(ステップ186)、更にスイッチエ
リアをクリア(ステップ187)するとともに、2秒タ
イマーをスタートし(ステップ188)てステップ18
6のメロディ出力から2秒の時間間隔を強制的に設け
る。ステップ189の判断で、2秒または5秒タイマー
がタイムアップしたことが判定されると、ステップ19
0でスイッチエリアをクリアしたあと、再度ステップ1
45に戻って次のアラームに対するアラーム表示サイク
ルを実行するのである。
If the determination in step 177 is conversely NO, it can be known that a plurality of reservations have been made for the same time, or there are other reservations that have timed up during the alarm processing.
At step 183, the alarm request data is shifted by one stage and the next data is taken out. In this embodiment, the input of the cancel switch is accepted until the 5-second timer started in step 173 expires in step 189 without immediately processing the retrieved data (step 18).
4) When the cancel switch is turned on, the reservation of the executed alarm saved in step 175 is cleared (step 185), the reservation is canceled, and then the melody of the processing success image is output (step 186). The area is cleared (step 187) and the 2-second timer is started (step 188) and then step 18
A time interval of 2 seconds is compulsorily set after the melody 6 is output. If it is determined in step 189 that the timer for 2 seconds or 5 seconds has expired, step 19
After clearing the switch area with 0, step 1 again
Returning to 45, the alarm display cycle for the next alarm is executed.

第9図(c)は、第8図(a)における言葉選択処理Cに流れ
を示し、処理がスタートする(ステップ191)と、ス
テップ192でトランジスタスイッチ66に制御部56
からオン信号を送って増幅装置59を作動させたあと、
ステップ193で20秒タイマーがカウント中に言葉選
択スイッチがオンされたか否かの判断がなされる。かか
る判定がYESであれば、既に20秒以内に言葉選択ス
イッチがオンされて当該言葉選択処理Cが行われてお
り、次の言葉の表示を要求していると判断されるので、
言葉選択コードの番号を1進め(ステップ194)たあ
と、20秒タイマーとフラグをセットし(ステップ19
5)て予約、取り消し等の他の処理命令を受け付け可能
な状態にするとともに、音声発生装置57に対して言葉
出力要求を発して(ステップ196)、言葉選択コード
番号で特定される言葉を出力させる。そのあと、増幅装
置59の動作を停止し(ステップ197)、更にスイッ
チエリアをクリア(ステップ198)して次のスイッチ
押圧動作を受け付け可能とする(ステップ199)。
FIG. 9 (c) shows the flow of the word selection process C in FIG. 8 (a), and when the process starts (step 191), the transistor switch 66 is controlled by the controller 56 in step 192.
After sending the ON signal from the device to activate the amplifier 59,
In step 193, it is determined whether the word selection switch is turned on while the 20-second timer is counting. If this determination is YES, it is determined that the word selection switch has already been turned on within 20 seconds and the word selection processing C has been performed, and the display of the next word is requested.
After advancing the number of the word selection code by 1 (step 194), the 20-second timer and flag are set (step 19).
5) Then, other processing commands such as reservation and cancellation are accepted, and a word output request is issued to the voice generator 57 (step 196) to output the word specified by the word selection code number. Let After that, the operation of the amplifying device 59 is stopped (step 197) and the switch area is further cleared (step 198) so that the next switch pressing operation can be accepted (step 199).

第9図(d)は、第8図(a)における予約処理Dの流れを示
す。予約処理がスタートする(ステップ200)と、ま
ず最初にステップ201で20秒タイマーがカウント中
か否かの判断がなされる。かかる判定がNOであれば、
直ちにスイッチエリアをクリア(ステップ208)して
予約処理を行わずに終了する(ステップ209)。しか
しステップ201の判定がYESであれば、言葉選択ス
イッチを押して前記した言葉選択処理Cを行うことによ
り自発的に次に処理すべき言葉を選んだものと判断し
て、以下の予約処理に移る。
FIG. 9 (d) shows the flow of the reservation process D in FIG. 8 (a). When the reservation process starts (step 200), first, at step 201, it is judged if the 20-second timer is counting. If the determination is NO,
Immediately, the switch area is cleared (step 208) and the reservation processing is not performed, and the process ends (step 209). However, if the determination in step 201 is YES, it is determined that the word to be processed next is voluntarily selected by pressing the word selection switch and performing the word selection processing C described above, and the processing proceeds to the following reservation processing. .

まずステップ202でカウント中の20秒タイマーおよ
びフラグをリセットしたあと、増幅装置59を作動し
(ステップ203)、更に予約エリアの空があるか否か
ののチェックを行う(ステップ204)。ステップ20
5の判断において予約エリアに空がないと判断される
と、既に規定以上の予約がなされておりそれ以上の予約
は出来ないので、不成功イメージのメロディをメロディ
発生装置58から出力させ(ステップ206)たあと、
増幅装置59を停止し(ステップ207)て当該処理を
終了する。
First, after resetting the counting timer for 20 seconds and the flag in step 202, the amplifying device 59 is operated (step 203), and it is further checked whether or not the reserved area is empty (step 204). Step 20
If it is judged in the judgment 5 that there is no empty area in the reserved area, the reservation exceeding the regulation has already been made and further reservation cannot be made. Therefore, the melody of the unsuccessful image is outputted from the melody generator 58 (step 206). ) After
The amplification device 59 is stopped (step 207) and the process ends.

一方、ステップ205の判定がYESであれば、ステッ
プ210とステップ212との間で割り込みを禁止して
おいて現在時刻と週番号とを取り込んだ(ステップ21
1)あと、かかる時刻と週番号を予約エリアにセットす
る(ステップ213)。なお現在時刻と週番号は、日本
標準時に対応するものであってもよいが、本実施例にあ
っては、電池20をセットした時を基準とし、それから
各日を0〜1439までの分単位で表して現在時刻とす
るとともに、前記基準時から1週間の各日を1から7ま
での週番号に対応させることにより、曜日を特定表示し
ている。
On the other hand, if the determination in step 205 is YES, interrupts are prohibited between steps 210 and 212 and the current time and week number are fetched (step 21).
1) Then, the time and week number are set in the reservation area (step 213). The current time and the week number may correspond to the Japanese standard time, but in the present embodiment, the time when the battery 20 is set is used as a reference, and each day thereafter is in a minute unit from 0 to 1439. In addition to the current time, the day of the week is specified and displayed by associating each day of the week from the reference time with the week number from 1 to 7.

本発明は、ステップ214において、予約処理に先立っ
て選ばれた言葉が、「はじまるよ」の様な『開始』を表
す特別な言葉か否かの判断をなし、結果に対応して予約
時間を修正することを特徴とする。すなわち、上記判断
がNOであればそのまま次のステップ216に進むが、
YESであれば、ステップ215で予約エリアにセット
された予約時刻を強制的に5分間遡らせてセットし直す
ことにより、タイマーが作動するアラーム処理時に、テ
レビジョンの番組等が実際に開始するより5分前に知ら
せることが可能となり、番組録画等の準備が十分できる
様にしている。
According to the present invention, in step 214, it is determined whether or not the word selected prior to the reservation process is a special word representing "start" such as "beginning", and the reservation time is set according to the result. It is characterized by correction. That is, if the above determination is NO, the process directly proceeds to the next step 216.
If YES, the reservation time set in the reservation area in step 215 is forcibly moved back for 5 minutes and reset, so that the television program or the like does not actually start during the alarm processing in which the timer operates. It will be possible to notify you five minutes in advance so that you can fully prepare for recording programs.

次にステップ216で、予約内容がモーニングコールの
様な毎日行わせる予約内容か否か、すなわち第8図(a)
のステップ86でウイークリースイッチがオンされた
か、ステップ87でデイリースイッチがオンされたかを
スイッチエリアの内容から判断し、判定がYESであれ
ば、ステップ213でセットされた週番号を0にして毎
日予約であることを表示する(ステップ217)。更に
ステップ218で、第9図(c)に示す言葉選択処理時に
表示された言葉に対応するコード番号を予約エリアにセ
ットして1組分の予約を終了したあと、メロディ発生装
置58に成功イメージのメロディの出力要求を出し(ス
テップ219)て、予約が正常に行われたことを操作者
に知らせる。その後、増幅装置59への通電を停止し
(ステップ220)、スイッチエリアをクリアして(ス
テップ221)一連の予約処理を終了する(ステップ2
22)のである。
Next, at step 216, it is determined whether or not the reservation content is a reservation content to be made every day such as a wake-up call, that is, FIG. 8 (a).
It is judged from the contents of the switch area whether the weekly switch is turned on in step 86 or the daily switch is turned on in step 87. If the judgment is YES, the week number set in step 213 is set to 0 and the reservation is made every day. Is displayed (step 217). Further, in step 218, the code number corresponding to the word displayed in the word selection process shown in FIG. 9 (c) is set in the reserved area and one group of reservations is completed. The melody output request is issued (step 219) to inform the operator that the reservation has been made normally. After that, the power supply to the amplifier 59 is stopped (step 220), the switch area is cleared (step 221), and a series of reservation processing is ended (step 2).
22).

第9図(e)は、第8図(a)における取消処理Eの流れを示
すものであって、当該処理を開始する(ステップ23
0)と、まず増幅装置59に駆動電圧を印加して作動さ
せ(ステップ231)、更にステップ232で3分タイ
マーがカウント中か否かの判断がなされる。3分タイマ
ーは、前記したアラーム処理Bの終了時にセットされる
ものであって、かかる判定がYESであると、アラーム
処理Bの終了から3分以内であることが判る。そこでか
かる場合には、ステップ233に移って3分タイマーと
当該フラグをリセットした(ステップ233)あと、第
9図(b)のステップ175で退避させておいたアラーム
処理時の実行アドレスを取り入れ(ステップ234)、
更に実行アドレスに対応する予約エリアをクリアし(ス
テップ235)て、アラーム処理を終えた予約内容を消
去する。
FIG. 9 (e) shows the flow of the cancellation processing E in FIG. 8 (a), and the processing is started (step 23).
0), the drive voltage is first applied to the amplifying device 59 to operate it (step 231), and it is further determined in step 232 whether the 3 minute timer is counting. The three-minute timer is set at the end of the alarm process B, and if the determination is YES, it is understood that it is within three minutes from the end of the alarm process B. Therefore, in such a case, after moving to step 233 and resetting the three-minute timer and the flag (step 233), the execution address at the time of alarm processing saved in step 175 of FIG. 9B is taken in ( Step 234),
Further, the reserved area corresponding to the execution address is cleared (step 235), and the reserved content after the alarm processing is erased.

一方ステップ232の判定がNOであり、取消スイッチ
がアラーム処理とは無関係に押された場合には、更にス
テップ236で20秒タイマーがカウント中か否かの判
断がなされる。20秒タイマーは、第9図(c)のステッ
プ195で言葉選択処理時に所定の言葉を選んだ場合に
のみセットされるものであり、ステップ236の判定が
NOであれば誤操作であるとして、増幅装置59を停止
して終了する(ステップ239)が、判定がYESであ
れば積極的に取り消し処理を希望しているものと判断で
きるので、以下のステップ240に移って取り消し動作
を行う。
On the other hand, if the determination in step 232 is NO and the cancel switch is pressed regardless of the alarm processing, it is further determined in step 236 whether the 20-second timer is counting. The 20-second timer is set only when a predetermined word is selected in the word selection processing in step 195 of FIG. 9 (c), and if the determination in step 236 is NO, it is determined as an erroneous operation and amplification is performed. Although the device 59 is stopped and terminated (step 239), if the determination is YES, it can be determined that the canceling process is positively desired, so the process proceeds to the following step 240 to perform the canceling operation.

まずステップ240で、20秒タイマーとフラグをリセ
ットして初期状態に戻したあと、処理が成功したか否か
を判別表示するためのOKフラグをリセットする(ステ
ップ241)。次にステップ242で、予約エリア中の
先頭アドレスをセットし、取消処理に先立つ言葉選択処
理時に選んだ言葉と一致するか否かの判断がステップ2
43でなされる。かかる判断がNOであれば、ステップ
246に移って次の予約エリアのアドレスをセットし、
ステップ247で予約エリア全体をチェックし終えるま
でステップ243の判定を続けるが、ステップ243の
判定がYESであれば、該当の予約エリアをクリアし
(ステップ244)、OKフラグをセットし(ステップ
245)て取消処理を順次行うことにより、同一の言葉
で予約された内容を全て消去する。
First, in step 240, after resetting the 20-second timer and flag to return to the initial state, the OK flag for discriminating and displaying whether or not the processing is successful is reset (step 241). Next, in step 242, the leading address in the reserved area is set, and it is determined in step 2 whether or not it matches the word selected in the word selection processing prior to the cancellation processing.
Done at 43. If the determination is NO, the process proceeds to step 246 to set the address of the next reserved area,
The judgment in step 243 is continued until the entire reserved area is checked in step 247. If the judgment in step 243 is YES, the reserved area is cleared (step 244) and the OK flag is set (step 245). By sequentially performing the cancellation process by using the same word, all the contents reserved by the same word are deleted.

次にステップ248で、OKフラグが1か否かの判断が
なされ、判定がYESであればステップ244で少なく
とも1つの予約取り消しが実行されたことが判るので、
ステップ250で成功イメージのメロディをメロディ発
生装置58から出力させ、逆にNOであれば、該当の予
約が見つからず予約取り消しは全然行われなかったと判
断されるので、不成功のイメージのメロディの出力をメ
ロディ発生装置に要求する(ステップ249)。しかる
後、次の表示動作との間に時間間隔を設けるために2秒
タイマーを始動し(ステップ251)、増幅装置59を
停止し(ステップ252)、スイッチエリアをクリアし
(ステップ253)て、取消処理Eを終了する(ステッ
プ254)。
Next, in step 248, it is determined whether or not the OK flag is 1, and if the determination is YES, it is determined in step 244 that at least one reservation cancellation has been executed.
In step 250, the melody of the successful image is output from the melody generator 58. On the contrary, if NO, it is determined that the corresponding reservation was not found and the reservation was not canceled at all. Therefore, the melody of the unsuccessful image is output. Is requested to the melody generator (step 249). Then, a 2-second timer is started to set a time interval between the next display operation (step 251), the amplification device 59 is stopped (step 252), and the switch area is cleared (step 253). The cancellation process E ends (step 254).

第9図(f)は、第8図(a)におけるお遊び処理Fの流れを
示すものであって、アラーム処理時の特定期間にタイマ
ーユニット2の操作スイッチ13が押された場合を除い
て当該処理を開始し、メロディあるいは言葉を操作スイ
ッチ13の押圧動作と連繋してランダムに出力可能とす
る。すなわち、処理がスタートする(ステップ260)
と、増幅装置59を始動し(ステップ261)たあと現
在時刻を取り入れる(ステップ262)。ここでデータ
テーブルには、予め出力させるべきメロディおよび言葉
の別あるいは表示内容を特定するコード番号等のデータ
をランダムにセットしておくとともに、ステップ262
で得た現在時刻の数値を利用してステップ263でデー
タテーブル中のアドレスを算出し、該アドレスからデー
タテーブル内のデータを取り出す(ステップ264)。
ステップ265の判断で、取り出されたデータが言葉で
あれば音声発生装置57に出力要求を出し(ステップ2
66)、メロディであればメロディ発生装置58に出力
要求を出した(ステップ267)あと、増幅装置59へ
の通電を停止し(ステップ268)、スイッチエリアを
クリアして(ステップ269)処理を終了する(ステッ
プ270)。上記音響の発生は、操作スイッチ13を押
す毎に連続して行われ、しかも表示内容は、予約してお
いた複数種類の言葉あるいはメロディ群の中からランダ
ムに選択されるため、意外性に富んだ言葉またはメロデ
ィの組み合わせによる音響表示が行われるのである。
FIG. 9 (f) shows the flow of the play process F in FIG. 8 (a), except when the operation switch 13 of the timer unit 2 is pressed during a specific period during alarm processing. The process is started, and a melody or a word can be randomly output in association with the pressing operation of the operation switch 13. That is, the process starts (step 260)
Then, the amplification device 59 is started (step 261) and then the current time is taken in (step 262). Here, in the data table, data such as chord numbers for specifying the melody and words to be output or the display contents are randomly set in advance, and step 262 is performed.
The address in the data table is calculated in step 263 using the numerical value of the current time obtained in step 263, and the data in the data table is extracted from the address (step 264).
If it is determined in step 265 that the extracted data is a word, an output request is issued to the voice generating device 57 (step 2
66) If it is a melody, an output request is issued to the melody generator 58 (step 267), then the energization of the amplifier 59 is stopped (step 268), the switch area is cleared (step 269), and the process is ended. (Step 270). The sound is continuously generated every time the operation switch 13 is pressed, and the display content is randomly selected from a plurality of reserved words or melody groups, which is surprising. The acoustic display is made by combining the words or the melody.

[発明の効果] 本発明は上記の如く、設定した予約時刻を所定時間だけ
自動的にずらして修正予約する様にしたので、予告報知
あるいはオーバータイム報知等、バラエティーに富んだ
アラーム処理が行える。
[Effects of the Invention] As described above, according to the present invention, since the set reservation time is automatically shifted by a predetermined time to make a correction reservation, a wide variety of alarm processing such as advance notice or overtime notification can be performed.

更に表示装置60により処理すべき内容が「開始」を意
味する言葉を発するものである場合にのみ、数分程度遡
って予約修正を行わせる様にすることにより、通常は正
確なアラーム処理を行いながら、番組録画の如く行動に
準備期間が必要なものにも、適切に対処できる利点を有
する。
Further, only when the content to be processed by the display device 60 is a word that means “start”, by making the reservation correction go back several minutes, normally, accurate alarm processing is performed. However, it has an advantage of being able to appropriately deal with a program requiring a preparation period such as a program recording.

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

第1図は本発明の概略を説明するブロック図である。 第2図ないし第5図は本発明を実施したタイマー装置の
一例を示し、第2図は全体的な組み立て状態を示す斜視
図、第3図はタイマーユニットの組み立て状態を示す分
解斜視図、第4図はタイマーユニットの底面図、第5図
は第4図V−V線に沿う断面図である。 第6図および第7図は電気回路の一例を示し、第6図は
全体の概略を示すブロック図、第7図は第6図の具体的
な電気回路図である。 第8図および第9図は電気回路の制御の手順を説明する
流れ図であって、第8図(a)および(b)は全体的な流れ
を、第9図(a)ないし(f)は個別の機能の流れを示す。 2……タイマーユニット、 3……人形、 13……操作スイッチ、 34……設定スイッチ、 56……制御部、 57……音声発生装置、 58……メロディ発生装置、 59……増幅装置、 60……表示部。
FIG. 1 is a block diagram for explaining the outline of the present invention. 2 to 5 show an example of a timer device embodying the present invention, FIG. 2 is a perspective view showing the entire assembled state, and FIG. 3 is an exploded perspective view showing the assembled state of the timer unit. 4 is a bottom view of the timer unit, and FIG. 5 is a sectional view taken along line VV in FIG. 6 and 7 show an example of an electric circuit, FIG. 6 is a block diagram showing an outline of the whole, and FIG. 7 is a concrete electric circuit diagram of FIG. 8 and 9 are flow charts for explaining the procedure of controlling the electric circuit. FIGS. 8 (a) and 8 (b) show the overall flow, and FIGS. 9 (a) to 9 (f) show The flow of individual functions is shown. 2 ... Timer unit, 3 ... Doll, 13 ... Operation switch, 34 ... Setting switch, 56 ... Control unit, 57 ... Voice generating device, 58 ... Melody generating device, 59 ... Amplifying device, 60 …… Display section.

フロントページの続き (72)発明者 伊藤 浩明 福岡県田川郡方城町大字伊方4680番地 九 州日立マクセル株式会社内 (56)参考文献 特開 昭57−96287(JP,A) 特開 昭58−9087(JP,A) 特開 昭53−66263(JP,A) 特開 昭55−55065(JP,A) 実開 昭60−31692(JP,U)Front page continuation (72) Inventor Hiroaki Ito 4680 Ikata, Hachijo-machi, Tagawa-gun, Fukuoka Prefecture Kyushu Hitachi Maxell, Ltd. (56) Reference JP 57-96287 (JP, A) JP 58- 9087 (JP, A) JP 53-66263 (JP, A) JP 55-55065 (JP, A) Actually opened 60-31692 (JP, U)

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】予約時刻を設定可能とする予約設定手段
と、該予約時刻に実行すべき処理内容を設定可能とする
処理内容設定手段と、 上記予約設定手段において設定された予約時刻を所定時
間だけずらせて修正時刻を形成可能とする時刻修正手段
と、 上記修正時刻と処理内容とを1組として複数組分の記憶
を可能とする記憶手段と、 該記憶手段に記憶されている修正時刻と現在時刻とを比
較する手段と、 該比較手段が時刻の一致を判定すると対応する処理内容
を実行する手段とを備え、 上記した時刻修正手段が、選択された処理内容に対応さ
せて予約時刻の修正を行うことを特徴とするタイマー装
置。
1. A reservation setting means capable of setting a reservation time, a processing content setting means capable of setting a processing content to be executed at the reservation time, and a reservation time set by the reservation setting means for a predetermined time. A time correction means that can shift the correction time to form a correction time; a storage means that can store a plurality of sets with the correction time and the processing content as one set; and a correction time stored in the storage means. The means for comparing the current time and the means for executing the corresponding processing content when the comparison means determines that the times match, the time adjustment means described above makes the reservation time corresponding to the selected processing content. A timer device characterized by making corrections.
【請求項2】上記した実行手段は、処理内容を特定する
入力信号に対応して異なった一連の言葉を発するもので
あって、 時刻修正手段は、処理内容設定手段で選択された処理内
容が「開始」を意味する一連の言葉である場合、予約時
刻を数分程度遡った修正時刻を形成することを特徴とす
る特許請求の範囲第1項記載のタイマー装置。
2. The above-mentioned executing means emits a series of different words corresponding to an input signal for specifying the processing content, and the time adjusting means is the processing content selected by the processing content setting means. The timer device according to claim 1, wherein, in the case of a series of words that mean “start”, a correction time that is a few minutes past the reservation time is formed.
JP61012857A 1986-01-23 1986-01-23 Timer-device Expired - Lifetime JPH0640135B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61012857A JPH0640135B2 (en) 1986-01-23 1986-01-23 Timer-device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61012857A JPH0640135B2 (en) 1986-01-23 1986-01-23 Timer-device

Publications (2)

Publication Number Publication Date
JPS62170876A JPS62170876A (en) 1987-07-27
JPH0640135B2 true JPH0640135B2 (en) 1994-05-25

Family

ID=11817072

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61012857A Expired - Lifetime JPH0640135B2 (en) 1986-01-23 1986-01-23 Timer-device

Country Status (1)

Country Link
JP (1) JPH0640135B2 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5796287A (en) * 1980-12-05 1982-06-15 Seiko Epson Corp Electronic watch with forecasting function
JPS589087A (en) * 1981-07-10 1983-01-19 Citizen Watch Co Ltd Electronic clock

Also Published As

Publication number Publication date
JPS62170876A (en) 1987-07-27

Similar Documents

Publication Publication Date Title
US4375666A (en) Electronic guessing game
US4615681A (en) Programmable, user interactive cigarette dispenser and method therefor
US4280809A (en) Educational toy
US4285151A (en) Personal hygiene apparatus
US20010034256A1 (en) Game timer
JPH0640135B2 (en) Timer-device
JPH067177B2 (en) Timer-device
JP3295051B2 (en) Rhythm practice device
JPH0648301B2 (en) Sound generator
JPH06101321B2 (en) Small electrical equipment
JPS62170878A (en) Compact electrical equipment
JPS62170877A (en) Timer device
JPS62171022A (en) Data input method
JPS62170875A (en) Timer device
JPH0714956Y2 (en) Game clock with earphones
KR960007799B1 (en) Cigarette receptacles for controlling smoking
KR930011253B1 (en) Remote recorder control method of vtr
JPS645274Y2 (en)
JPS6135988Y2 (en)
JP2637129B2 (en) Video tape recorder
JP5054285B2 (en) Program timer
KR940002975Y1 (en) Recording circuit for pronounciation reform
JP2002051761A (en) Cigarette dispenser
JPH06289158A (en) Timer
JPS6339873Y2 (en)