JPH04205014A - Power unit controller - Google Patents

Power unit controller

Info

Publication number
JPH04205014A
JPH04205014A JP2331044A JP33104490A JPH04205014A JP H04205014 A JPH04205014 A JP H04205014A JP 2331044 A JP2331044 A JP 2331044A JP 33104490 A JP33104490 A JP 33104490A JP H04205014 A JPH04205014 A JP H04205014A
Authority
JP
Japan
Prior art keywords
computer
circuit
signal
power
power supply
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
JP2331044A
Other languages
Japanese (ja)
Inventor
Yoshiaki Bandai
萬代 慶昭
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP2331044A priority Critical patent/JPH04205014A/en
Publication of JPH04205014A publication Critical patent/JPH04205014A/en
Pending legal-status Critical Current

Links

Landscapes

  • Power Sources (AREA)

Abstract

PURPOSE:To attain the interruption of power supply without terminating a computer processing by saving data during the processing and thereafter, outputting a signal to an interruption circuit when a switching circuit is activated. CONSTITUTION:In the case of depressing a starting switch 5 during the processing with a computer 2, an activating circuit 4 sends an ON signal to a power unit 1, interruption generating circuit 6, and status circuit 7. Thus, the interruption signal from the interruption generating circuit 6 and a status signal indicating the status of switch 5 are sent out to computer 2. The computer 2, in the case of receiving the interruption signal, interrupts tentatively a task during processing, and interrupts the interruption signal. Further, the duration of depressing switch 5 is longer than the fixed time, the computer 2 saves a series of data in processing to a memory, and outputs an instruction signal for the interruption of power supply to an interruption circuit 8. Consequently, the power unit 1 interrupts the DC power supply supplied to the computer 2.

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) 本発明は、交流電源を直流電源に変換してコンピュータ
に供給する電源制御装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Object of the Invention] (Industrial Application Field) The present invention relates to a power supply control device that converts AC power into DC power and supplies the DC power to a computer.

(従来の技術) 従来、ワークステーション等のコンピュータに対し電源
を供給する場合、第3図に示すようにコンピュータ11
にAC(交流)スイッチ12を備える電源装置10を接
続して使用している。コンピュータ11を起動する場合
は、ACスイッチ12を投入し、外部からのAC電源を
電源装置10に入力する。電源装置10は、入力された
AC電源(例えば、AClooV)をコンピュータ11
が必要とする直流電源(DC5V)に変換し、コンピュ
ータ11に供給する。
(Prior Art) Conventionally, when power is supplied to a computer such as a workstation, the computer 11 as shown in FIG.
A power supply device 10 equipped with an AC (alternating current) switch 12 is connected to and used. When starting up the computer 11, the AC switch 12 is turned on and external AC power is input to the power supply 10. The power supply device 10 supplies input AC power (for example, AClooV) to the computer 11.
It converts it into the DC power (DC5V) required by the computer 11 and supplies it to the computer 11.

また、コンピュータ11の電源を遮断する場合には、A
Cスイッチ12を切断することにより行う。
In addition, when shutting off the power to the computer 11,
This is done by disconnecting the C switch 12.

ところで、ACスイッチ12の操作は一般に手動操作で
行われるため、コンピュータ11の電源を遮断する時に
は、前もってコンピュータ11の処理を完全に終了させ
る操作が必要となる。もし、コンピュータ11の処理を
終了させないで、誤って電源を遮断すると、コンピュー
タ11て処理中のデータが破壊されてしまう危険かある
Incidentally, since the AC switch 12 is generally operated manually, when shutting off the power to the computer 11, it is necessary to completely terminate the processing of the computer 11 in advance. If the power is accidentally turned off without completing the processing of the computer 11, there is a risk that the data being processed by the computer 11 may be destroyed.

(発明か解決しようとする課題) 上述したように従来の電源装置では、コンピュータの状
態にかかわらず、ACスイッチ12を切断することによ
りコンピュータへの電源が遮断されるので、誤ってコン
ピュータが処理を行っている状態で電源を遮断すると、
処理中のデータが破壊されてしまい、コンピュータか再
起動した時に処理が正しく実行されない恐れかあった。
(Problem to be Solved by the Invention) As described above, in the conventional power supply device, the power to the computer is cut off by turning off the AC switch 12 regardless of the state of the computer. If you turn off the power while the
There was a risk that the data being processed would be destroyed and the process would not be executed correctly when the computer was restarted.

本発明は、このような従来の欠点を除去するためになさ
れたもので、コンピュータの処理中に電源遮断の必要が
生じた場合、コンピュータの処理を終了させることなく
電源を遮断することかでき、かつデータの破壊を安全に
防止することができる電源制御装置を提供することを目
的とする。
The present invention has been made in order to eliminate such conventional drawbacks, and when it becomes necessary to shut off the power while the computer is processing, the power can be shut off without terminating the computer's processing. The present invention also aims to provide a power supply control device that can safely prevent data destruction.

[発明の構成] (課題を解決するための手段) 上記従来の目的を達成する本発明の電源制御装置は、交
流電源を直流電源に変化してコンピュータへ供給する電
源装置と、電源の投入と遮断を指示する信号を発生する
スイッチ回路と、該スイッチ回路からの信号により前記
コンピュータに対し割込み信号を出力する割込み発生回
路と、前記スイッチ回路の動作状態を前記コンピュータ
へ通知するステータス回路と、前記コンピュータからの
指示により前記電源装置を遮断する断回路とからなるこ
とを特徴とする。
[Structure of the Invention] (Means for Solving the Problems) A power supply control device of the present invention that achieves the conventional object described above includes a power supply device that converts AC power into DC power and supplies it to a computer, and a switch circuit that generates a signal instructing shutoff; an interrupt generation circuit that outputs an interrupt signal to the computer based on the signal from the switch circuit; a status circuit that notifies the computer of the operating state of the switch circuit; It is characterized by comprising a disconnection circuit that shuts off the power supply device according to an instruction from a computer.

(作 用) 本発明では、電源装置のスイッチが投入され、かつスイ
ッチ回路かONされると、AC(交流)電源がDC(直
流)電源に変換されてコンピュータに供給される。一方
、コンピュータの処理実行中にスイッチ回路かONされ
ると、割込み発生回路及びステータス回路からコンピュ
ータに対して割込み信号及びスイッチ回路の状態を示す
信号が送られる。コンピュータは、ステータス信号によ
りスイッチ回路がONされたことを確認すると、処理中
のデータの退避を行い、その後断回路に信号を出力する
。コンピュータからの信号を受信した断回路からは電源
装置に対し電源遮断の指示信号が送られ、電源が切断さ
れる。
(Function) In the present invention, when the switch of the power supply device is turned on and the switch circuit is turned on, AC (alternating current) power is converted to DC (direct current) power and supplied to the computer. On the other hand, when the switch circuit is turned on while the computer is executing processing, an interrupt signal and a signal indicating the state of the switch circuit are sent to the computer from the interrupt generation circuit and the status circuit. When the computer confirms that the switch circuit is turned on based on the status signal, it saves the data being processed and then outputs a signal to the disconnection circuit. The disconnection circuit that has received the signal from the computer sends a power cutoff instruction signal to the power supply device, and the power is cut off.

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

第1図は本発明の一実施例による電源制御装置の構成を
示すブロック図である。
FIG. 1 is a block diagram showing the configuration of a power supply control device according to an embodiment of the present invention.

本電源制御装置は、AC電源をDC電源に変換してコン
ピュータ2へ供給する電源装置1と、電源装置1に対し
AC電源を入力するACスイッチ3と、電源の投入と遮
断を指示する信号を発生する起動スイッチ5を備える起
動回路4と、起動回路4からの信号によりコンピュータ
2に対し割込み信号を出力する割込み発生回路6と、起
動回路4の動作状態をコンピュータ2へ通知するステー
タス回路7と、コンピュータ2からの指示により電源装
置1を遮断する信号を出力する断回路8とから構成され
る。
This power supply control device includes a power supply device 1 that converts AC power into DC power and supplies it to a computer 2, an AC switch 3 that inputs AC power to the power supply 1, and a signal that instructs power on and off. an interrupt generation circuit 6 that outputs an interrupt signal to the computer 2 based on a signal from the startup circuit 4; and a status circuit 7 that notifies the computer 2 of the operating state of the startup circuit 4. , and a disconnection circuit 8 that outputs a signal to shut off the power supply 1 according to an instruction from the computer 2.

次に、上記の如く構成される本電源制御装置の動作を第
2図(A)、(B)のフローチャートに従って説明する
Next, the operation of the power supply control device configured as described above will be explained according to the flowcharts shown in FIGS. 2(A) and 2(B).

まず、コンピュータ2に電源を供給する場合を第2図(
A)により説明する。
First, the case of supplying power to computer 2 is shown in Figure 2 (
This is explained by A).

ACスイッチ3を投入すると(ステップSl)、AC電
源が電源装置1に入力され電源装置1は起動回路4から
のON信号を待つ(ステップS2)。
When the AC switch 3 is turned on (step S1), AC power is input to the power supply device 1, and the power supply device 1 waits for an ON signal from the startup circuit 4 (step S2).

この状態で、起動スイッチ5を押下して入れることによ
り、起動回路4からはON信号が電源装置1に出力され
る。電源装置1は、上記ON信号を受信すると、AC電
源をDC電源に変換し、コンピュータ2、割込み発生回
路6、ステータス回路7及び断回路8の各回路にDC電
源を供給し始める(ステップS3)。
In this state, by pressing and turning on the starting switch 5, the starting circuit 4 outputs an ON signal to the power supply device 1. When the power supply device 1 receives the ON signal, it converts the AC power into DC power and starts supplying the DC power to the computer 2, the interrupt generation circuit 6, the status circuit 7, and the disconnection circuit 8 (step S3). .

一般に電源投入からコンピュータ2が立上がるまでに数
秒以上の時間を必要とする。その時間内に起動スイッチ
5の押下を止めると、起動回路4の出力かOFFとなる
か、コンピュータ2が立上がっていないため、この時コ
ンピュータ2へ送られた割込み発生回路6とステータス
回路7がらの信号は無視されるように予め決めておく。
Generally, it takes several seconds or more for the computer 2 to start up after the power is turned on. If you stop pressing the start switch 5 within that time, the output of the start circuit 4 will turn OFF, or the interrupt generation circuit 6 and status circuit 7 that were sent to the computer 2 at this time will be turned off because the computer 2 has not started up. It is determined in advance that the signal will be ignored.

一方、起動回路4から送られたON信号を受信した電源
装置]は、このON信号がOFFに変化(起動スイッチ
5の押下を止めた状態)した後も、電源装置1がDC電
源の供給を続行するために、電源袋f&1内部に上記O
N信号をホールドする回路を備えるものとする。
On the other hand, the power supply device 1 that received the ON signal sent from the startup circuit 4 continues to supply DC power even after this ON signal changes to OFF (the state in which the startup switch 5 is no longer pressed). To continue, insert the above O inside the power bag f&1.
It is assumed that a circuit is provided to hold the N signal.

以上の動作により、DC電源の供給が行われ、コンピュ
ータ2は各種の処理を実行する。
Through the above operations, DC power is supplied, and the computer 2 executes various processes.

次いで、コンピュータ2への電源供給を切断する場合を
第2図(B)により説明する。
Next, the case where the power supply to the computer 2 is cut off will be explained with reference to FIG. 2(B).

コンピュータ2の処理中に起動スイッチ5を押下すると
(ステップS1)、起動回路4は電源装置1、割込み発
生回路6及びステータス回路7に対してON信号を送る
。これにより、割込み発生回路6とステータス回路7か
らは、それぞれ割込み信号と起動スイッチ5の状態を示
すステータス信号かコンピュータ2に送出される(ステ
ップS2)。
When the startup switch 5 is pressed during processing by the computer 2 (step S1), the startup circuit 4 sends an ON signal to the power supply device 1, the interrupt generation circuit 6, and the status circuit 7. As a result, the interrupt generation circuit 6 and the status circuit 7 respectively send an interrupt signal and a status signal indicating the state of the start switch 5 to the computer 2 (step S2).

コンピュータ2は、割込み信号を受信すると、処理中の
仕事を一時中断し、その割込み信号の割出しを行う(ス
テップS3)。また、コンピュータ2は、起動スイッチ
5か一定時間以上押下されたかどうかをステータス信号
から判別する(ステップS4)。起動スイッチ5の押下
時間か一定時間より短い場合は、誤操作と判断して上記
信号の受信を無視し、中断した処理を再会する(ステッ
プS5)。
When the computer 2 receives the interrupt signal, it temporarily suspends the work being processed and identifies the interrupt signal (step S3). Further, the computer 2 determines from the status signal whether the start switch 5 has been pressed for a certain period of time or more (step S4). If the pressing time of the start switch 5 is shorter than a certain period of time, it is determined that the operation has been erroneous, the reception of the signal is ignored, and the interrupted process is restarted (step S5).

起動スイッチ5の押下時間か一定時間より長い場合は、
コンピュータ2は処理中の一連のデータを磁気ディスク
等の記憶装置に退避しくステップS6)、かつ断回路8
に対し電源断の指示信号を出力する(ステップS7)。
If the pressing time of the start switch 5 is longer than a certain period of time,
The computer 2 saves the series of data being processed to a storage device such as a magnetic disk (step S6), and disconnects the circuit 8.
An instruction signal to turn off the power is output to (step S7).

これにより、断回路8からOFF信号か電源装置1に送
られ、OFF信号を受信した電源装置1はコンピュータ
2に対して供給していたDC電源を遮断する(ステップ
S8)。
As a result, an OFF signal is sent from the disconnection circuit 8 to the power supply device 1, and the power supply device 1, which has received the OFF signal, cuts off the DC power supplied to the computer 2 (step S8).

本実施例の電源制御装置では、上記のように構成され、
かつ動作することから、コンピュータ2の処理中でも処
理終了の操作をすることなく、電源を遮断することかで
きる。また、コンピュータ2の処理データは電源遮断に
先立って退避されるので、データ破壊等の発生する心配
もない。
The power supply control device of this embodiment is configured as described above,
Moreover, since the computer 2 operates, the power can be turned off even when the computer 2 is processing without performing an operation to end the processing. Further, since the processing data of the computer 2 is saved before the power is shut off, there is no fear of data destruction.

[発明の効果] 以上説明したように本発明の電源制御装置によれば、コ
ンピュータの処理中に電源遮断の必要が生じた場合、コ
ンピュータを操作して処理を終了させることなく電源を
遮断することができる。また、電源遮断の際に処理中の
データを退避するので、データの破壊を安全に防止する
ことができ、コンピュータが再起動した時に処理が正し
く実行されないといったことを防止できる。
[Effects of the Invention] As explained above, according to the power supply control device of the present invention, when it becomes necessary to shut off the power during computer processing, the power can be shut off without operating the computer to complete the processing. I can do it. Furthermore, since the data being processed is saved when the power is turned off, it is possible to safely prevent the data from being destroyed, and it is possible to prevent the processing from not being executed correctly when the computer is restarted.

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

第1図は本発明の一実施例に係る電源制御装置の構成を
示すブロック図、第2図(A)、(B)は本実施例によ
る電源制御装置の動作を説明するフローチャート、第3
図は従来の電源装置の構成を示すブロック図である。 1・・・電源装置、2・・・コンピュータ、3・・・A
Cスイッチ、4・・・起動回路、5・・・起動スイッチ
、6・・・割込み発生回路、7・・・ステータス回路、
8・・・断回路。 出願人      株式会社 東芝 代理人  弁理士 須 山 佐 − 第1図
FIG. 1 is a block diagram showing the configuration of a power supply control device according to an embodiment of the present invention, FIGS. 2A and 2B are flowcharts explaining the operation of the power supply control device according to the embodiment, and FIG.
The figure is a block diagram showing the configuration of a conventional power supply device. 1...Power supply device, 2...Computer, 3...A
C switch, 4... Start circuit, 5... Start switch, 6... Interrupt generation circuit, 7... Status circuit,
8...Circuit break. Applicant Toshiba Corporation Patent Attorney Sasa Suyama - Figure 1

Claims (1)

【特許請求の範囲】[Claims] 交流電源を直流電源に変化してコンピュータへ供給する
電源装置と、電源の投入と遮断を指示する信号を発生す
るスイッチ回路と、該スイッチ回路からの信号により前
記コンピュータに対し割込み信号を出力する割込み発生
回路と、前記スイッチ回路の動作状態を前記コンピュー
タへ通知するステータス回路と、前記コンピュータから
の指示により前記電源装置を遮断する断回路とからなる
ことを特徴とする電源制御装置。
A power supply device that converts AC power into DC power and supplies it to the computer, a switch circuit that generates a signal to instruct power on and off, and an interrupt that outputs an interrupt signal to the computer based on the signal from the switch circuit. A power supply control device comprising: a generation circuit; a status circuit that notifies the computer of the operating state of the switch circuit; and a disconnection circuit that shuts off the power supply according to an instruction from the computer.
JP2331044A 1990-11-29 1990-11-29 Power unit controller Pending JPH04205014A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2331044A JPH04205014A (en) 1990-11-29 1990-11-29 Power unit controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2331044A JPH04205014A (en) 1990-11-29 1990-11-29 Power unit controller

Publications (1)

Publication Number Publication Date
JPH04205014A true JPH04205014A (en) 1992-07-27

Family

ID=18239213

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2331044A Pending JPH04205014A (en) 1990-11-29 1990-11-29 Power unit controller

Country Status (1)

Country Link
JP (1) JPH04205014A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016148273A1 (en) * 2015-03-19 2016-09-22 株式会社オートネットワーク技術研究所 Automobile alarm device and method for controlling automobile alarm device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016148273A1 (en) * 2015-03-19 2016-09-22 株式会社オートネットワーク技術研究所 Automobile alarm device and method for controlling automobile alarm device

Similar Documents

Publication Publication Date Title
KR0180801B1 (en) Control device for switching mode power supply
JPH04205014A (en) Power unit controller
JP2002041189A (en) Unintegruptible power supply device
JPH04127214A (en) Power unit control system
KR0155719B1 (en) Data process method of robot controller
JPH06100943B2 (en) Power supply stop control method for processing apparatus and apparatus therefor
JPH01109417A (en) Power source feeding device
JP2000267715A (en) Numerical controller
KR970002398B1 (en) The emergency detection method using interrupt handler
JPH1078832A (en) Shut-down device
JPH0981286A (en) Programmable controller and processing method at time of cutting its power supply
JPH0318914A (en) Power unit cut-off controller
KR100455268B1 (en) Apparatus and method for safe shutdown in system using O/S such as windows 95
JPH11338586A (en) Power cutoff system of computer system
JP2951222B2 (en) Power control device
JP2002123301A (en) Controller
JPS63172317A (en) Power supply control system
JPH0362111A (en) Power-off control system
JP2533116B2 (en) Data processing device
JPH0962404A (en) Power source control unit
JPH0895872A (en) Power-off method for computer system
JPS62296216A (en) Electric power source control system
JPH06138984A (en) Information processor
JPS60217402A (en) Sequencer
JPH02282856A (en) Connection controller for time sharing system