JPS61196315A - Power supply control system - Google Patents

Power supply control system

Info

Publication number
JPS61196315A
JPS61196315A JP60036350A JP3635085A JPS61196315A JP S61196315 A JPS61196315 A JP S61196315A JP 60036350 A JP60036350 A JP 60036350A JP 3635085 A JP3635085 A JP 3635085A JP S61196315 A JPS61196315 A JP S61196315A
Authority
JP
Japan
Prior art keywords
power
power supply
latch
time
counter
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP60036350A
Other languages
Japanese (ja)
Inventor
Tsuneo Ido
井戸 恒夫
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP60036350A priority Critical patent/JPS61196315A/en
Publication of JPS61196315A publication Critical patent/JPS61196315A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To switch on a power supply when a service interruption is recovered by storing in a latch means a fact that the power supply was not switched on at a due time point in a power failure. CONSTITUTION:A time counter 4 counts the time by the clock given from an oscillator 5. When a comparator 6 detects in a power failure that coincidence is secured between the count value of the counter 4 and the value of a comparison register 3, a power supply ON latch 11 is set and the count value of the counter 4 is replaced and set at a level different from the value of the register 3. Thus a primary power supply 7 can be switched on according to the information on the latch 11 after the power failure is recovered since the information on the power supply ON remains at the latch 11 although no output of the comparator is available.

Description

【発明の詳細な説明】 〔発明の利用分野〕 本発明は、データ処理装置その低電子装置の電源制御方
式に係り、特に自動運転を目的とした装置に好適な電源
制御方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Application of the Invention] The present invention relates to a power supply control method for a data processing device or a low-electronic device, and particularly to a power supply control method suitable for a device intended for automatic operation.

〔発明の背景〕[Background of the invention]

自動電源投入方法として、例えば特開昭58−2088
25号公報に示されるように、電源投入用補助電源と停
電時のバックアップとして、バッテリーを備えた電源制
御機構が知られている。
As an automatic power-on method, for example, Japanese Patent Application Laid-Open No. 58-2088
As shown in Japanese Patent No. 25, a power control mechanism is known that includes a battery as an auxiliary power source for power-on and as a backup in case of a power outage.

しかし、電源オン時刻に、停電していたために、電源が
投入されなかった場合、停電が復旧しても人手で投入し
なければならず、オペレータの介入を必要とする。
However, if the power is not turned on at the power-on time due to a power outage, even if the power is restored, the power must be turned on manually, requiring operator intervention.

〔発明の目的〕[Purpose of the invention]

本発明の目的は、あらかじめ設定された電源オン時刻に
停電中であった場合、復電後に電源オン動作を行うこと
を可能とした電源制御方式を提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a power supply control method that makes it possible to perform a power-on operation after power is restored when there is a power outage at a preset power-on time.

〔発明の概要〕[Summary of the invention]

本発明は電池バックアップされた電源制御機構で、停′
亀中に電源オン時刻が到来して′と源 オン動作が行え
たかりなことを記憶しておき、復1時、それによって電
源オン動作を行えるようにしたものである。
The present invention is a battery-backed power control mechanism that
The system memorizes the fact that the power-on operation was performed when the power-on time has arrived in the middle of the day, and the power-on operation can be performed at the next time.

〔発明の実施例〕[Embodiments of the invention]

以下、本発明の一実施例を図面を参照して詳細に説明す
る。
Hereinafter, one embodiment of the present invention will be described in detail with reference to the drawings.

第1図において、主電源7は処理装置1用の電源であり
、補助電源9は電源制御機構2用の電源である。補助電
源9は主電源70オン・オフと無関係に常に電源制御機
!f)2に給電している。しかし停電になると給電でき
なくなるため、バックアップ用電池8を備え、停電時、
電池8より電源制御機構2に給電するよ5になっている
In FIG. 1, a main power supply 7 is a power supply for the processing device 1, and an auxiliary power supply 9 is a power supply for the power supply control mechanism 2. The auxiliary power supply 9 is always a power control device regardless of whether the main power supply 70 is on or off! f) Power is being supplied to 2. However, in the event of a power outage, power cannot be supplied, so a backup battery 8 is provided, and in the event of a power outage,
5 so that power is supplied to the power supply control mechanism 2 from the battery 8.

電源制御機構2は、入出力インタフェース10により処
理装置1と接続されている。電源側n機構2はタイムカ
ウンタ4と比較レジスタ5、発振器5、比較器6、電源
オンラッチ11を持つ。入出力インタフェース10を経
由して、タイムカウンタ4[は現在時刻を、比較レジス
タ3には電源オン・オフ時刻を初期値として設定する。
The power supply control mechanism 2 is connected to the processing device 1 through an input/output interface 10 . The power supply side n mechanism 2 has a time counter 4, a comparison register 5, an oscillator 5, a comparator 6, and a power on latch 11. Via the input/output interface 10, the time counter 4 sets the current time, and the comparison register 3 sets the power on/off times as initial values.

タイムカウンタ4は、発振器5からのクロックにより計
時を行い、タイムカウンタ4と比!レジスタ3の値が同
一になったことが、比較器6により検出されると電源オ
ンラッチ11をセットする。電源制御機構2は、バック
アップ用電池8および補助電源9により給電されている
ので主電源7がオフ中も動作が保証され、また、停電中
は主電源7、補助電源9が停止するがバックアップ用電
池8Ilcより動作が保証される。
The time counter 4 measures time using the clock from the oscillator 5, and compares it with the time counter 4! When the comparator 6 detects that the values in the registers 3 are the same, the power-on latch 11 is set. The power supply control mechanism 2 is powered by a backup battery 8 and an auxiliary power supply 9, so operation is guaranteed even when the main power supply 7 is off.Also, during a power outage, the main power supply 7 and the auxiliary power supply 9 are stopped, but the backup Operation is guaranteed by battery 8Ilc.

停電中にタイムカウンタ4と比較レジスタ3の値が同一
になったことが比較器6により検出され、電源オンラッ
チ11をセットしたのちタイムカウンタ4の値が更新さ
れ、比較レジスタ3の値と異なり比較器6の出力が無く
なっても、電源オンラッチ111C電源オンの情報が残
されているため、復電後に電源オンラッチ11の情報に
より主電源7をオンすることが出来る。
During a power outage, the comparator 6 detects that the values of the time counter 4 and the comparison register 3 have become the same, and after setting the power on latch 11, the value of the time counter 4 is updated and, unlike the value of the comparison register 3, the value of the comparison register 3 becomes the same. Even if the output of the power supply unit 6 disappears, the power-on information of the power-on latch 111C remains, so the main power supply 7 can be turned on based on the information of the power-on latch 11 after the power is restored.

本発明を使用したシステム運用例を第2図に示す。FIG. 2 shows an example of system operation using the present invention.

始めに、システムの電源を手操作により投入する(10
0)。入出力インタフェース10によりタイムカウンタ
4に現在時刻を設定し、比較レジスタ3に電源オフ時刻
を設定する(101)。時間が経過し、比較器6により
、電源オフ時刻が経過したことが検出されると、入出力
インタフェース12により、処理装置1に対して割込を
発生する。処理装置1は、発生した割込要因が、電源オ
フ時刻経過であると検出すると、入出力インタフェース
10により比較レジスタ3に電源オン時刻を設定する(
102)。さらに処理装置1は電源コントロールインタ
フェース13により主電源7を切断する(1o3)。そ
の後、停電が発生すると、補助電源9が切断されたとす
る(104)。前に述べたように、停電中に電源オン時
刻が経過しても、電源制御機構2は比較器6出力で電源
オンラッチ11をセットする(106)。
First, manually turn on the power to the system (10
0). The input/output interface 10 sets the current time in the time counter 4, and sets the power-off time in the comparison register 3 (101). When time passes and the comparator 6 detects that the power-off time has elapsed, the input/output interface 12 generates an interrupt to the processing device 1. When the processing device 1 detects that the generated interrupt factor is the elapse of the power off time, it sets the power on time in the comparison register 3 using the input/output interface 10 (
102). Further, the processing device 1 turns off the main power source 7 via the power control interface 13 (1o3). After that, when a power outage occurs, it is assumed that the auxiliary power supply 9 is cut off (104). As described above, even if the power-on time elapses during a power outage, the power control mechanism 2 sets the power-on latch 11 with the output of the comparator 6 (106).

停電中は電源オンラッチの内容がバックアップ用電池8
により保持され、復電(107)すると補助電源9が復
’!(108)、保持されていた電源オン情報により主
電源7を投入し、処理装置1を動作可能とさせる。処理
装置11は入出力インタフェース10によりタイムカウ
ンタ4の値ヲ読み出し、次の電源オフ時刻と比較して、
タイムカウンタ4の値が電源オフ時刻を経過している場
合、次の電源オン時刻を入出力インタフェース10によ
り比較レジスタ3に設定した後、電源コントロールイン
タフェース13により主電源7を切断する。この方法に
より、処理装置1への不用な通電を防ぐことが可能とな
る。
During a power outage, the contents of the power on latch are set to backup battery 8.
When the power is restored (107), the auxiliary power supply 9 is restored'! (108), the main power source 7 is turned on based on the held power-on information, and the processing device 1 is enabled to operate. The processing device 11 reads the value of the time counter 4 through the input/output interface 10 and compares it with the next power off time.
If the value of the time counter 4 has exceeded the power-off time, the next power-on time is set in the comparison register 3 by the input/output interface 10, and then the main power supply 7 is turned off by the power control interface 13. This method makes it possible to prevent unnecessary energization of the processing device 1.

〔発明の効果〕〔Effect of the invention〕

本発明によれば、停電復電後の自動電源オン動作が保証
されるため、オペレータの介入無しにシステムの自動運
転が可能となる効果がある。
According to the present invention, automatic power-on operation is guaranteed after power restoration after power failure, so there is an effect that automatic operation of the system becomes possible without operator intervention.

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

第1図は本発明の一実施例を示すブロック図第2因は本
発明を使用したシステム運用例を示すフローチャートで
ある。 1・・・処理装置、2・・・電源制御機構、3・・・比
較レジスタ、4・・・タイムカウンタ、5・・・発畿器
、6・・・比較器、7・・・主電源、8・・・バックア
ップ用電池、9・・・補助電源、11・・・電源オンラ
ッチ第1図 第 2 図
FIG. 1 is a block diagram showing one embodiment of the present invention. The second factor is a flowchart showing an example of system operation using the present invention. DESCRIPTION OF SYMBOLS 1... Processing device, 2... Power control mechanism, 3... Comparison register, 4... Time counter, 5... Generator, 6... Comparator, 7... Main power supply , 8... Backup battery, 9... Auxiliary power supply, 11... Power on latch Fig. 1 Fig. 2

Claims (1)

【特許請求の範囲】[Claims] タイムカウントを行つてあらかじめ設定された時刻に電
源オンを指示する電源制御機構によつて電源制御を行う
方式において、上記電源制御機構を電池にてバックアッ
プし、停電中に電源オン時刻が到来して電源オン動作が
されなかつたことをラッチ手段に記憶しておき、復電時
、上記ラッチ手段の状態に応じて電源オン動作を行うこ
とを特徴とする電源制御方式。
In a method in which power is controlled by a power control mechanism that performs time counting and instructs the power to be turned on at a preset time, the power control mechanism is backed up by a battery and the power is turned on when the power is turned on during a power outage. A power supply control method characterized in that a latch means stores information that a power-on operation has not been performed, and when power is restored, a power-on operation is performed according to the state of the latch means.
JP60036350A 1985-02-27 1985-02-27 Power supply control system Pending JPS61196315A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60036350A JPS61196315A (en) 1985-02-27 1985-02-27 Power supply control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60036350A JPS61196315A (en) 1985-02-27 1985-02-27 Power supply control system

Publications (1)

Publication Number Publication Date
JPS61196315A true JPS61196315A (en) 1986-08-30

Family

ID=12467387

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60036350A Pending JPS61196315A (en) 1985-02-27 1985-02-27 Power supply control system

Country Status (1)

Country Link
JP (1) JPS61196315A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0350610A (en) * 1989-07-18 1991-03-05 Fujitsu Ltd Device having automatic operation function

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0350610A (en) * 1989-07-18 1991-03-05 Fujitsu Ltd Device having automatic operation function

Similar Documents

Publication Publication Date Title
JPH11155243A (en) Uninterruptible power equipment and computer system with the uninterruptible power equipment
JPS61196315A (en) Power supply control system
JPH0459645B2 (en)
JPH10191579A (en) Uninterruptible power and information processor with uninterruptible power
KR100274165B1 (en) Electronic time switch for midnight electric power and control method thereof
JPH07146630A (en) Image forming device
JPH0670769B2 (en) Power control method
JPH05115128A (en) Power circuit of portable electronic equipment
JPH04160420A (en) Uninterruptible power supply unit
JP4110313B2 (en) Uninterruptible power system
JPS61141059A (en) Terminal equipment
JPH11119869A (en) Backup method for memory and calendar, and circuit for the same
JPS5839320A (en) Power source controlling system of computer system
JPH07129285A (en) Power source control circuit
JPH10225009A (en) Device for processing data with function protecting secondary cell and program for the device
JPS63231608A (en) Information processing system for information processing system at the time of restoring power failure
KR0147997B1 (en) Method of power controlling for vcr
JP2004054560A (en) Power source managing device
JPS61243502A (en) Power supply holding circuit for power failure
JP2000069682A (en) Power supply control system
JPH10271690A (en) Portable electronic device and battery charging method for the same
JPS58208826A (en) Automatic power supply breaking device
JPH113150A (en) Information processor
JPH0519897A (en) Resetting control circuit of information processor
JPS63156214A (en) Control system for power supply of semiconductor disk device