[go: up one dir, main page]

JPH0433191A - Power failure compensation type time recorder - Google Patents

Power failure compensation type time recorder

Info

Publication number
JPH0433191A
JPH0433191A JP14084290A JP14084290A JPH0433191A JP H0433191 A JPH0433191 A JP H0433191A JP 14084290 A JP14084290 A JP 14084290A JP 14084290 A JP14084290 A JP 14084290A JP H0433191 A JPH0433191 A JP H0433191A
Authority
JP
Japan
Prior art keywords
power
power failure
time
power outage
completed
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.)
Granted
Application number
JP14084290A
Other languages
Japanese (ja)
Other versions
JP2816748B2 (en
Inventor
Toshitaka Ato
阿藤 寿孝
Hiroaki Yamagishi
裕明 山岸
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.)
Amano Corp
Original Assignee
Amano Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Amano Corp filed Critical Amano Corp
Priority to JP2140842A priority Critical patent/JP2816748B2/en
Publication of JPH0433191A publication Critical patent/JPH0433191A/en
Application granted granted Critical
Publication of JP2816748B2 publication Critical patent/JP2816748B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Time Recorders, Dirve Recorders, Access Control (AREA)

Abstract

PURPOSE:To improve the efficiency and to contrive the labor saving in a power failure recoverying process by turning off a battery source immediately after saving a processing data to a floppy disk, thereby reducing the power consumption of the battery source at the time of power failure as far as possible and eliminating the uselessness in the duplication of arithmetic process. CONSTITUTION:In the case of recovering from power failure, the calculation is restarted from the next process of the process which has finished the arithmetic process at the time of generating a power failure at first, and all the necessary processes are performed. Here, whether all the arithmetic processes executed after the restart are completed or not is judged, whether file saving to a floppy disk 5T is completed or not is judged, and this process is repeated until the next process is completed in the case of 'NO' (netagive detection).

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、各人の就業データをフロッピーディスクに記
憶する外部記憶システムを備える一方、停電補償用とし
てバッテリバックアップシステムを備えた停電補償型タ
イムレコーダに関する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention provides a power outage compensation time recorder that is equipped with an external storage system for storing each person's work data on a floppy disk, and is also equipped with a battery backup system for power outage compensation. Regarding.

〔従来の技術〕[Conventional technology]

マイクロコンピュータによって制御される電子式タイム
レコーダに於いて、データの演算処理中に停電が発生す
ると、データが破壊されてシステムダウンするため、従
来は、停電が発生するとデータ処理を中断し、且つ、停
電が発生したことをメモリに記憶する一方、復電時には
、メモリから呼出した上記の停電情報に基づいて、停電
時に実行していた処理を始めから再実行するか、或は、
外部に停電が発生しても一定時間動作する無停電電源装
置を接続することにより、上記停電によるデータの破壊
を防止していた。
In an electronic time recorder controlled by a microcomputer, if a power outage occurs during data calculation processing, the data will be destroyed and the system will go down. Conventionally, when a power outage occurs, data processing is interrupted and the power outage is stopped. The occurrence of the power outage is stored in the memory, and when the power is restored, the process that was being executed at the time of the power outage is re-executed from the beginning based on the above power outage information retrieved from the memory, or
By connecting an uninterruptible power supply that operates for a certain period of time even if an external power outage occurs, data destruction due to the power outage is prevented.

しかし、上記前者の再実行処理を行う解決策の場合は、
停電発生時に中断した処理を、復電時に再び始めから再
処理しなくてはならないから、処理に時間が取られて操
作が煩雑化する問題があり、また、上記後者の無停電電
源装置を使用する解決策の場合は、装置自体が高価であ
ると共に、その多くは一定時間の電源補償をするのみで
、補償時間が経過した時は停電発生時と同様にシステム
ダウンしてしまうから、それ迄に演算処理を終了するよ
うに設計する必要があって、操作が甚だ不便で実用性に
欠ける問題があった。
However, in the case of the former solution that involves re-execution processing,
Processing that was interrupted when a power outage occurs must be restarted from the beginning when the power is restored, which causes the problem of time-consuming processing and complicated operations; In the case of such solutions, the equipment itself is expensive, and most of them only compensate for the power supply for a certain period of time, and when the compensation time elapses, the system goes down just like when a power outage occurs. It is necessary to design the system so that the calculation process ends at the end of the process, making it very inconvenient to operate and lacking in practicality.

そこで、一般の電子式タイムレコーダでは、停電対策と
して例えば特開昭59−60372号公報に見られるよ
うに、電源によりバッテリを常時充電しておき、停電時
にこのバッテリから電源電圧を供給してデータ処理を続
行させるようにした所謂バッテリバックアップ方式を採
用することによって、上述した停電時の各種問題を解決
していた。
Therefore, in general electronic time recorders, as a countermeasure against power outages, a battery is constantly charged by a power source, and when a power outage occurs, power voltage is supplied from this battery to process data. By adopting a so-called battery backup system that continues the process, the various problems described above at the time of a power outage have been solved.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

ところが、上述した電子式タイムレコーダのうち、処理
データを外部記憶装置であるフロッピーディスクにファ
イルライトする方式のタイムレコーダの場合は、データ
を内蔵したメモリに直接ファイルライトする一般の電子
式タイムレコーダに比較して、ファイルライト時に消費
される電力が甚だ大きいため、通常型のバッテリを使用
したバックアップシステムでは、上述したデータ処理を
最後まで行い、次いで、この処理データをフロッピーデ
ィスクにファイルライトするまでの間、電源を補償し続
けることは非常に難しく、その結果。
However, among the electronic time recorders mentioned above, the time recorders that write processed data as files to a floppy disk, which is an external storage device, have a lower performance than general electronic time recorders that write files directly to the built-in memory. Since the power consumed when writing a file is extremely large, in a backup system that uses a normal battery, the power supply is turned off until the data processing described above is completed and then the processed data is written to the floppy disk. As a result, it is very difficult to continue to compensate.

バッテリの大型化と高価格化を招いてしまう問題があっ
た。
There is a problem in that the battery becomes larger and more expensive.

従って本発明の技術的課題は、比較的小容量で安価なバ
ッテリ電源を用いて、フロッピーディスク(外部記憶装
置)を備えたタイムレコーダの停電補償を支障無く遂行
する一方、復電時の処理も効率良く円滑、且つ、省力的
に行えるようにすることである。
Therefore, the technical problem of the present invention is to perform power failure compensation for a time recorder equipped with a floppy disk (external storage device) without any trouble using a relatively small-capacity and inexpensive battery power source, while also efficiently processing power when the power is restored. The goal is to be able to perform the process smoothly and labor-savingly.

〔課題を解決するための手段〕[Means to solve the problem]

上記の技術的課題を解決するために本発明で講じた手段
は以下の如くである。
The measures taken in the present invention to solve the above technical problems are as follows.

各人の就業データをフロッピーディスクに記憶する外部
記憶システムと、停電補償用のバッテリバックアップシ
ステムを備えたタイムレコーダに於いて、 (1)演算処理中に停電を検知すると、バッテリ電源の
バックアップに従って演算処理を中断可能な区切りの良
いところまで実行し、且つ、この演算処理データを上記
のフロッピーディスクにセーブさせた後、上記バッテリ
電源をOFFにする停電処理手段を備えること。
In a time recorder equipped with an external storage system that stores each person's work data on a floppy disk and a battery backup system for power outage compensation, (1) If a power outage is detected during calculation processing, the calculation processing will be performed according to the battery power backup. The apparatus is provided with a power failure processing means for turning off the battery power supply after executing the arithmetic processing up to a good breakable point and saving the arithmetic processing data on the floppy disk.

(2)停電の復電時に、上記停電発生時にバッテリ電源
のバックアップによって処理を終えた次の処理から演算
を再開する復電処理手段を備えること。
(2) At the time of power restoration after a power outage, a power restoration processing means is provided which resumes calculation from the next process that was completed by backing up the battery power when the power outage occurred.

〔作用〕[Effect]

上記の手段は以下の如く作用する。 The above means works as follows.

■上記(1)の要素は、停電発生時に演算していた処理
を、バッテリ電源のバックアップに従って最後迄実行す
ることなく、中断可能な区切りの良いところ、具体的に
は、例えば退社データ処理中に停電した場合には、「退
社時刻の演算処理」まで実行して、「実働時間の演算処
理」は行わないようにしたから、上記の演算処理を行い
、次いで、処理データをフロッピーディスクにセーブす
るまでに消費される電力を可及的に少くすることができ
ると共に、処理データをフロッピーディスクにセーブし
た後は、直ちにバッテリ電源をOFFにして無駄な電力
消費を防止するから、比較的小容量で安価なバッテリ電
源を用いて、停電時のバックアップを支障無く円滑に遂
行することを可能にする。
■The factor (1) above is that the processing that was being calculated at the time of a power outage can be interrupted without having to run to the end according to battery power backup. Specifically, for example, when processing leaving-the-office data, In the event of a power outage, the system runs up to the ``calculation process for leaving time'' and does not perform the ``calculation process for actual working hours'', so perform the above calculation process and then save the processed data to a floppy disk. In addition, after saving the processed data to the floppy disk, the battery power is immediately turned off to prevent unnecessary power consumption, so it has a relatively small capacity. To enable backup at the time of power outage to be performed smoothly without any trouble using an inexpensive battery power source.

■上記(2)の要素は、停電の復電時(復旧時)には、
停電が発生した時にバッテリ電源のバックアップに基づ
いて演算処理を終えた次の処理、即ち、上述した退社デ
ータ処理の時は、「実働時間の演算処理」から再処理を
開始するため、演算処理が停電時と復電時に重複して行
われることがなく、従って、復電時の処理を可及的速や
かに而も、省力的に実行することを可能にする。
■The factors in (2) above mean that at the time of power restoration (recovery) after a power outage,
When a power outage occurs, the next process that has been completed based on battery power backup, i.e., the above-mentioned leaving data processing, starts reprocessing from the "actual working time calculation process", so the calculation process is delayed. The process is not performed redundantly during a power outage and when the power is restored, so that processing at the time of power restoration can be executed as quickly as possible and with less labor.

以上の如くであるから、上記の手段によって上述した技
術的課題を解決して、前記従来の技術の問題点を解消す
ることができる。
As described above, the above-mentioned technical problem can be solved by the above-mentioned means, and the problems of the conventional technology can be solved.

〔実施例〕〔Example〕

以下に、上述した本発明に係る停電補償型タイムレコー
ダの好適な実施例を添付した図面と共に詳細に説明する
DESCRIPTION OF THE PREFERRED EMBODIMENTS Preferred embodiments of the power failure compensation type time recorder according to the present invention described above will be described in detail below with reference to the accompanying drawings.

第1図は、本発明に係る停電補償型タイムレコーダの一
実施例を示した斜視図であって、図中、1はレコーダ本
体、1aはタイムカード(図示せず)の差込口、2Tは
時刻とかその他の各種メツセージ等を表示する表示器、
3Tはキー人力装置(キーボード)、4Tは停電を知ら
せるためのブザー 5は外部記憶装置であるフロッピー
ディスク5T用の記憶制御装置であって、5aはそのデ
ィスク差込口を示す。
FIG. 1 is a perspective view showing an embodiment of a power failure compensation type time recorder according to the present invention, in which 1 is the recorder main body, 1a is a time card (not shown) insertion port, and 2T is a slot for inserting a time card (not shown). A display device that displays the time and other various messages, etc.
3T is a key input device (keyboard), 4T is a buzzer for notifying a power outage, 5 is a storage control device for a floppy disk 5T which is an external storage device, and 5a indicates the disk insertion slot.

第2図は上述した本発明に係る停電補償型タイムレコー
ダ(演算機能付タイムレコーダ)の電気的構成を示した
ブロック図であって、図中、10は制御部の中心を構成
するCPUであって、これには上述した表示器2Tの制
御部2と、キー人力装置3Tの制御部3と、ブザー4T
用の制御部4と、記憶制御装置5に加えて、停電補償機
能を備えた電源制御部6と、タイムカードに印字を行う
プリンタの制御部7と、タイムカードの差込みを検知し
、且つ、カードに記録した個人コード等を読取るための
カードセンサ8と、タイムカード搬送用モータの制御部
9が接続され、更に、システムプログラムを格納したメ
モリ11と、基準時計信号を発信するクロック回路12
が接続されていて、夫々がCPUl0の監視の基にメモ
リ11に格納されたシステムプログラムに従って制御作
動される仕組に成っている。
FIG. 2 is a block diagram showing the electrical configuration of the power failure compensation type time recorder (time recorder with arithmetic function) according to the present invention described above, and in the figure, 10 is a CPU constituting the center of the control section, This includes the control section 2 of the display 2T, the control section 3 of the key human power device 3T, and the buzzer 4T.
In addition to the control unit 4 for the time card and the storage control device 5, a power supply control unit 6 equipped with a power failure compensation function, a printer control unit 7 for printing on the time card, and detecting insertion of the time card, and A card sensor 8 for reading a personal code etc. recorded on the card is connected to a control unit 9 for a time card conveying motor, and further a memory 11 storing a system program and a clock circuit 12 for transmitting a reference clock signal.
are connected to each other, and each is controlled and operated according to a system program stored in memory 11 under the supervision of CPU10.

次に、第3図は上述した電源制御部6の具体的構成を示
したブロック図であって、図中、6Tは100V電源で
、13は停電を検知するとその検知信号をCPUl0に
8力する停電検知部、14は一定の負荷電圧を維持する
ように動作する定電圧電源回路、15は停電が発生する
と、停電検知部13の検知信号に基づいて電源を100
V電源6Tからバッテリ電源18に切換えるための電源
切換制御回路、16はCPUl0から送られて来る電源
0N10FF制御信号に従って、上記のバッテリ電源1
8をOFFにしたり、100V電源を復電(ON)させ
たりする電源遮断リレーであって、更に、17はバッテ
リ電源18用の充電回路を示す。尚、上述したバッテリ
電源18は、停電時には必ずクロック回路12をバック
アップして、如何なる場合でもタイムレコーダの時計を
止めないように構成されている。
Next, FIG. 3 is a block diagram showing the specific configuration of the above-mentioned power supply control unit 6. In the figure, 6T is a 100V power supply, and when a power failure is detected, 13 outputs the detection signal to the CPU10. A power failure detection unit 14 is a constant voltage power supply circuit that operates to maintain a constant load voltage, and 15 is a constant voltage power supply circuit that operates to maintain a constant load voltage.
A power supply switching control circuit 16 switches from the V power supply 6T to the battery power supply 18 according to the power supply 0N10FF control signal sent from the CPU10.
8 is a power cutoff relay that turns off the power source 8 and restores (ON) the 100V power source, and 17 indicates a charging circuit for the battery power source 18. The battery power source 18 described above is configured to always back up the clock circuit 12 in the event of a power outage, so that the clock of the time recorder will not stop under any circumstances.

以上の如く構成した電源制御部6は、停電が検知される
と、CPUl0からの制御信号に従って直ちに電源をバ
ッテリ電源18に切換える一方、CPUl0によるデー
タ処理を中断可能な区切りのよい処理まで実行すると、
同じ<CPUl0からの制御信号に従ってバッテリ電1
18によるバックアップを停止する。また、停電復旧時
には再び100V電源6TによってCPUl0を作動し
て、復電時の演算処理、即ち、停電発生時にバッテリ電
源18のバックアップに従って演算処理を終えた次の処
理から演算処理を再開する仕組に成っているが、次に、
上記停電時と復電時にメモリ11のシステムプログラム
に従って実行される各処理の手順を第4図と第5図のフ
ローチャートに従って説明する。
When the power supply control unit 6 configured as described above detects a power outage, it immediately switches the power source to the battery power supply 18 according to the control signal from the CPU 10, and at the same time executes data processing by the CPU 10 up to a well-defined process that can be interrupted.
Same < Battery power 1 according to the control signal from CPU10
Stop the backup by 18. In addition, when the power is restored, the CPU10 is activated again by the 100V power supply 6T, and the calculation processing is restarted from the next process that was completed according to the backup of the battery power supply 18 when the power was restored. But then,
The steps of each process executed according to the system program in the memory 11 at the time of power outage and power restoration will be explained with reference to the flowcharts of FIGS. 4 and 5.

第4図は停電発生時の割込み処理を示したものであって
、停電割込信号が入力されると、ステップSOが実行さ
れて停電検知FLGがONする。
FIG. 4 shows an interrupt process when a power outage occurs. When a power outage interrupt signal is input, step SO is executed and a power outage detection FLG is turned on.

また、第5図に示した停電と復電の各処理は、以下のス
テップ順に実行される。
Further, each process of power outage and power restoration shown in FIG. 5 is executed in the following step order.

ステップS1:現在の処理が停電復旧後の処理なのか否
か、即ち、停電復帰処理が必要なのか否かが判断され、
No(必要なし)と判断されるとステップS2に進み、
YES (復帰処理)と判断されるとステップS16に
進む。
Step S1: It is determined whether the current process is a process after power recovery, that is, whether a power failure recovery process is necessary.
If it is determined No (not necessary), proceed to step S2,
If it is determined to be YES (return process), the process advances to step S16.

ステップS2:タイムカードの差込みをカードセンサ8
が検知したか否か、即ち、タイムカードの差込みがあっ
たか否かが判断され、差込みを受けるとステップS3に
進む。
Step S2: Insert the time card into the card sensor 8
It is determined whether or not a time card has been detected, that is, whether or not a time card has been inserted.If the time card has been inserted, the process advances to step S3.

ステップS3:差込まれたタイムカードに記録されてい
る個人コードの読取りに従って、該当者のデータが外部
記憶装置であるフロッピーディスク5TからCPUl0
に呼出される。
Step S3: According to the reading of the personal code recorded on the inserted time card, the data of the person concerned is transferred from the floppy disk 5T, which is an external storage device, to the CPU 10.
is called.

ステップS4:フロッピーディスク5Tから呼出したデ
ータに従って、該当者の就業データとか給与データ等が
演算処理される。
Step S4: According to the data read from the floppy disk 5T, employment data, salary data, etc. of the person concerned are processed.

ステップS5:停電検知FLGがオンしているか否かが
判断され、YES (停電)の場合は次のステップS6
に進み、No(通電)の場合はステップS7に進む。
Step S5: It is determined whether or not the power outage detection FLG is on. If YES (power outage), proceed to the next step S6.
If the answer is No (energization), the process advances to step S7.

ステップS6:現在演算中の処理が中断可能か否か、即
ち、丁度区切りがよいか否かが判断され、YES (中
断可)と判断されると次のステップS7に進み、No(
中断不可)の場合はステップS4に戻って区切りがよい
ところまで処理が進められる。
Step S6: It is determined whether the process currently being calculated can be interrupted, that is, whether there is a good break or not. If it is determined as YES (interruption is possible), the process proceeds to the next step S7, and if No (
If the interruption is not possible), the process returns to step S4 and continues until a suitable break occurs.

ステップS7:現在演算中の処理が停電によって処理を
途中で中断したものであるか、又は、まったく中断しな
かった処理であるかが判断され、YES (中断有り)
と判断された場合には、ステップS8に進み、No(中
断なし)と判断した場合にはステップSllに進む。
Step S7: It is determined whether the process currently being calculated was interrupted midway due to a power outage or was not interrupted at all, and YES (interrupted).
If it is determined that this is the case, the process proceeds to step S8, and if it is determined that the process is No (no interruption), the process proceeds to step Sll.

ステップS8:区切りのよいところまで演算した処理内
容をフロッピーディスク5Tにセーブする。
Step S8: Save the processing contents calculated up to a good point on the floppy disk 5T.

ステップS9:上記のファイルセーブが完了したか否か
が判断され、YES (完了)の場合はステップS10
に進み、NoC未完了)の場合は完了するまでこの処理
を繰返す。
Step S9: It is determined whether the above file saving is completed, and if YES (completed), step S10
If NoC is not completed, this process is repeated until completion.

ステップSIO:CPUl0よりバッテリ電源OFFの
制御信号を発信して、バッテリ電源18によるバックア
ップを停止し、停電処理を終える。
Step SIO: A control signal for turning off the battery power source is transmitted from the CPU 10 to stop backup by the battery power source 18, and the power outage process is completed.

ステップS11:停電によって処理が中断しなかった場
合は、演算処理した全てのデータをフロッピーディスク
5Tにそのままセーブする。
Step S11: If the processing is not interrupted due to a power outage, all the processed data is saved as is on the floppy disk 5T.

ステップS12:ファイルセーブを実行した後、再び停
電検知FLGがONしているか否かが判断され、YES
 (停電)の場合はステップS13に進み、No(通電
)の場合はステップS15に進む。
Step S12: After executing the file save, it is determined again whether the power outage detection FLG is ON, and YES is determined.
In the case of (power outage), the process advances to step S13, and in the case of No (power supply), the process advances to step S15.

ステップS13:停電検知後、バッテリ電源18のバッ
クアップに従ってフロッピーディスク5Tに対するファ
イルセーブが続行されるが、このステップでは上記のフ
ァイルセーブが完了したか否かが判断され、YES (
完了)の場合はステップSL4に進み、No(未完了)
の場合は完了するまでこのステップが繰返される。
Step S13: After the power failure is detected, file saving on the floppy disk 5T is continued according to the backup of the battery power supply 18, but in this step, it is determined whether the above file saving is completed or not, and YES (
Completed), proceed to step SL4, and No (not completed).
In this case, this step is repeated until completion.

ステップS14:フロッピーディスク5Tに対するファ
イルセーブが完了すると、CPUl0からバッテリ電源
18をOFFにする制御信号が発信され、これで停電処
理が終了する。
Step S14: When the file saving on the floppy disk 5T is completed, a control signal to turn off the battery power supply 18 is transmitted from the CPU 10, and the power outage process is completed.

ステップS15:上述したステップS12で停電してい
ない(No)と判断された場合に実行されて、フロッピ
ーディスク5Tに対するファイルセーブが完了したか否
かが判断され、YES (完了)の場合は、タイムカー
ドを送り戻した後、前述したステップS2に戻って次の
タイムカードの挿入を待ち、No(未完了)の場合は完
了するまでこのステップを繰返す。
Step S15: Executed when it is determined that there is no power outage (No) in step S12 described above, and it is determined whether or not the file saving on the floppy disk 5T is completed. If YES (completed), the timer After sending the card back, the process returns to step S2 described above to wait for the next time card to be inserted, and if the answer is No (incomplete), this step is repeated until completion.

ステップ816:このステップは前述したステップS1
で停電復帰処理であると判断された場合に実行されるも
のであって、停電復帰時には先ず停電発生時に演算処理
を終えた処理の次の処理から演算を再開し、必要な全て
の処理を行う。
Step 816: This step is the step S1 described above.
This is executed when it is determined that it is a power outage recovery process, and when the power is restored, the calculation is restarted from the next process of the process that was completed at the time of the power outage, and all necessary processes are performed. .

ステップS17:ここでは上記ステップS16で実行し
た再開分の演算処理が全て完了したか否かが判断され、
YES (完了)の場合は、タイムカードを送り戻した
後、前述したステップS2に戻って次のタイムカードの
挿入に備える一方、NO(未完了)の場合はステップ3
18に進む。
Step S17: Here, it is determined whether all the calculation processing for the restart executed in step S16 has been completed.
If YES (completed), the time card is sent back and then the process returns to step S2 described above to prepare for inserting the next time card, while if NO (incomplete), the process returns to step 3.
Proceed to step 18.

ステップS18:ここでは停電検知FLGがONしてい
るか否か、即ち、停電を検知したか否かが判断され、Y
ES (検知)の場合は前述したステップS4以降の停
電処理が再び実行され、NO(否検知)の場合は、上記
ステップS17に戻って次期処理が完了するまでこの処
理を繰返す。
Step S18: Here, it is determined whether the power outage detection FLG is ON, that is, whether a power outage has been detected, and Y
In the case of ES (detected), the power outage process from step S4 described above is executed again, and in the case of NO (not detected), the process returns to step S17 and is repeated until the next process is completed.

尚、第5図に於いて符号Tで示したエリアは停電処理を
実行するエリアである。
In addition, the area indicated by the symbol T in FIG. 5 is an area where power outage processing is executed.

〔効果〕〔effect〕

本発明に係る停電補償型タイムレコーダは以上述べた如
くであって、停電が発生するとバッテリ電源によって直
ちにバックアップされて演算処理の続行を可能にするが
、本発明では特に、この停電発生時のデータ処理を中断
可能な区切りの良い処理まで行って、以後の処理は停電
復旧時に引続き行うようにする一方、上記の処理データ
をフロッピーディスクにセーブすると直ちにバッテリ電
源をオフにするため、停電時に於けるバッテリ電源の消
費電力を可及的に少くすることができるから、従って、
小型で安価なバッテリ電源を用いて停電補償を支障無く
遂行できる極めて経済性に富んだ利点を発揮できるもの
であって、停電復帰後は、演算処理を終えた次の処理か
ら演算を再開すればよいから、演算処理を重複させる無
駄を無くして、停電復帰処理を速やかに能率良く行える
点と相俟って、就業データを外部記憶装置であるフロッ
ピーディスクに格納する形式のタイムレコーダとして拘
に画期的で、且つ、好適なものである。
The power outage compensation type time recorder according to the present invention is as described above, and when a power outage occurs, it is immediately backed up by a battery power source and can continue arithmetic processing. The process is performed up to a well-defined process that can be interrupted, and the subsequent process continues when the power is restored.However, the battery power is immediately turned off after saving the above process data to a floppy disk, so the battery power is saved during a power outage. Since the power consumption of the power supply can be reduced as much as possible,
It has an extremely economical advantage of being able to perform power outage compensation without any trouble using a small and inexpensive battery power source, and after the power outage is restored, the calculation can be restarted from the next process that completed the calculation process. This, along with the fact that it eliminates the waste of duplicating calculation processing and can quickly and efficiently recover from a power outage, makes it a revolutionary time recorder that stores work data on a floppy disk, which is an external storage device. It is appropriate and suitable.

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

第1図は本発明に係る停電補償型タイムレコーダの一実
施例を示した斜視図であって、第2図はその電気的構成
を説明したブロック図、第3図は電源制御部の詳細を説
明したブロック図、第4図は停電時の割込処理を説明し
たフローチャートで、第5図は停電時と復電時の処理手
順を説明したフローチャートである。 1はタイムレコーダの本体、5は記憶制御装置、5Tは
フロッピーディスク、6は電源制御部、6Tは100v
電源、10はCPU、11はメモリ、13は停電検知部
、15は電源切換制御回路、18はバッテリ電源。
FIG. 1 is a perspective view showing an embodiment of the power failure compensation type time recorder according to the present invention, FIG. 2 is a block diagram illustrating its electrical configuration, and FIG. 3 is a detailed explanation of the power supply control section. FIG. 4 is a flowchart illustrating the interrupt processing at the time of power outage, and FIG. 5 is a flowchart illustrating the processing procedure at the time of power outage and power restoration. 1 is the main body of the time recorder, 5 is the storage control device, 5T is the floppy disk, 6 is the power control unit, 6T is 100v
10 is a CPU, 11 is a memory, 13 is a power failure detection section, 15 is a power supply switching control circuit, and 18 is a battery power source.

Claims (1)

【特許請求の範囲】 各人の就業データをフロッピーディスクに記憶する外部
記憶システムと、停電補償用のバッテリバックアップシ
ステムを備えたタイムレコーダに於いて、 演算処理中に停電を検知すると、バッテリ電源のバック
アップに従って演算処理を中断可能な区切りの良いとこ
ろまで実行し、且つ、この演算処理データを上記のフロ
ッピーディスクにセーブさせた後、上記バッテリ電源を
OFFにする停電処理手段と、停電の復電時に、上記停
電発生時にバッテリ電源のバックアップによって処理を
終えた次の処理から演算を再開する復電処理手段とを備
えて成ることを特徴とする停電補償型タイムレコーダ。
[Claims] In a time recorder equipped with an external storage system that stores each person's work data on a floppy disk and a battery backup system for power outage compensation, if a power outage is detected during calculation processing, the battery power backup system is installed. a power outage processing means for turning off the battery power after executing the arithmetic processing up to a good point at which it can be interrupted, and saving the arithmetic processing data on the floppy disk; A power failure compensating time recorder comprising: power restoration processing means for restarting calculation from the next process that has been completed by backing up the battery power supply when the power failure occurs.
JP2140842A 1990-05-30 1990-05-30 Power failure compensation type time clock Expired - Fee Related JP2816748B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2140842A JP2816748B2 (en) 1990-05-30 1990-05-30 Power failure compensation type time clock

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2140842A JP2816748B2 (en) 1990-05-30 1990-05-30 Power failure compensation type time clock

Publications (2)

Publication Number Publication Date
JPH0433191A true JPH0433191A (en) 1992-02-04
JP2816748B2 JP2816748B2 (en) 1998-10-27

Family

ID=15277986

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2140842A Expired - Fee Related JP2816748B2 (en) 1990-05-30 1990-05-30 Power failure compensation type time clock

Country Status (1)

Country Link
JP (1) JP2816748B2 (en)

Also Published As

Publication number Publication date
JP2816748B2 (en) 1998-10-27

Similar Documents

Publication Publication Date Title
US5848280A (en) Apparatus for providing continuity of operation in a computer
US20040039960A1 (en) Method and apparatus for automatic hibernation after a power failure
JPH08241151A (en) Computer system power supply control device and method
EP0487900A1 (en) Portable computer resetting resume error caused from HDD loaded condition being changed and starting OS
JPH08110821A (en) computer
JPH0433191A (en) Power failure compensation type time recorder
US5343436A (en) Electronic apparatus having backup power source
JPH0651858A (en) Program interruption and restart method
JPH0795253B2 (en) Power recovery processing method for power supplies for information processing equipment
JPH0728572A (en) Automatic data storage device at power failure
JPH0612154A (en) Battery backup method
JPH113292A (en) Data backup method and system
JPS59133620A (en) Automatic operating system for power restoration
JPH06250939A (en) Data processor
JPS63217455A (en) Ram back-up system
JPH06259172A (en) Battery operation type information processor
JP3087650B2 (en) Automatic power recovery method
JPH04178855A (en) Personal computer
JPH06175754A (en) Automatic storage mechanism for main memory contents
JP2534526B2 (en) Portable electronic calculator
JPH05324136A (en) System backup system
JPH05119879A (en) Document processing device
JPH07334272A (en) Information processing equipment
JPH09274524A (en) Automatic power recovery system
JPH034345A (en) Hard disk device having id part backup function

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees