JPS6316315A - Automatic power supply cut-off system - Google Patents

Automatic power supply cut-off system

Info

Publication number
JPS6316315A
JPS6316315A JP61161153A JP16115386A JPS6316315A JP S6316315 A JPS6316315 A JP S6316315A JP 61161153 A JP61161153 A JP 61161153A JP 16115386 A JP16115386 A JP 16115386A JP S6316315 A JPS6316315 A JP S6316315A
Authority
JP
Japan
Prior art keywords
counter
signal
computer
power supply
cpu
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
JP61161153A
Other languages
Japanese (ja)
Inventor
Satoshi Tomono
伴野 聡
Ichiro Hasegawa
長谷川 市郎
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP61161153A priority Critical patent/JPS6316315A/en
Publication of JPS6316315A publication Critical patent/JPS6316315A/en
Pending legal-status Critical Current

Links

Landscapes

  • Power Sources (AREA)

Abstract

PURPOSE:To reduce the power consumption and at the same time to increase the lifetime of a power supply by detecting an idle state of a computer with the status signal and the bus request signal of the computer. CONSTITUTION:An idle state of a computer is decided when status signals S0, S1 and S2 and the bus request signals, the inverse of RQ/GT0 and the inverse of RQ/GT1 are all equal to '1'. The idle detecting signal IDL and AND of said status signals and bus request signals is supplied to a counter 3 reset. Then the output of the counter 3 is used as an interruption signal of an interruption controller 4 or a CPU. When the CPU is set under an idle state, the reset state of the counter 3 is released and the counter 3 starts counting. When the counter 3 performs a counting action for a fixed time, e.g., 30min, the counter 3 gives a request to the controller 4 or the CPU for interruption of a signal TM and carries out an interruption processing routine to cut off a power supply.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はマイクロコンピュータを内蔵した装置の電源を
自動的に切断する電源自動切断方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an automatic power cutoff method for automatically cutting off the power of a device incorporating a microcomputer.

〔従来の技術〕[Conventional technology]

従来、マイクロコンピュータを内蔵した装置(以下装置
と称す)の電源の切断は、人間が直接行うか、または遠
隔操作により間接的に行う等の方式があるが、いずれも
装置の使用者及びシステムが意識して切断する方式であ
り、外部にタイマー装置または自動電源切断装置等を接
続する、いわゆるホストシステムのコマンド解読による
ものであった。
Conventionally, there are ways to turn off the power to a device with a built-in microcomputer (hereinafter referred to as the device), either directly by a human or indirectly by remote control, but in either case, the power is turned off by the user of the device and the system. This method involves consciously disconnecting the power supply, and is based on command interpretation by a so-called host system that connects an external timer device or automatic power-off device.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上述した従来の装置では、電源切り忘れにより、(1)
消費電力が増す。
In the conventional device described above, if you forget to turn off the power, (1)
Power consumption increases.

(2)装置の寿命が縮む。(2) The life of the device is shortened.

(3ン装置の稼働音が騒音になる。(The operating sound of the 3-unit equipment becomes noisy.

という問題点がある。There is a problem.

また、従来の自動電源切断方式では、 (4)外部に自動電源切断装置またはタイマー装置を設
置する為、装置への接続が困難であった。
Furthermore, in the conventional automatic power-off method, (4) an automatic power-off device or timer device is installed externally, making it difficult to connect to the device.

(5)装置とはコマンドによる接続となる為、装置を含
め大がかりなシステム構成となる。
(5) Since the connection to the device is made by command, a large-scale system configuration including the device is required.

(6)従って装置操作が煩雑である。(6) Therefore, the device operation is complicated.

という問題点がある。There is a problem.

本発明の目的は、消費電力を低減し、寿命を延し容易に
、かつ安価に実現できる自動電源切断方式を提供するこ
とにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide an automatic power-off system that reduces power consumption, extends service life, and can be easily and inexpensively implemented.

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

本発明の自動電源切断方式の構成はコンピュータのステ
ータス信号、バス要求信号からこのコンピュータの作動
していないアイドル状態を検出するアイドル検出回路と
、この検出回路の出力信号によって所定時間の計数を開
始するカウンタと、前記所定時間経過した前記カウンタ
の出力信号を入力とする割込コントローラと、その割込
コントローラから前記コンピュータへの割込信号に従っ
た前記コンピュータの出力命令によって切断される前記
コンピュータを含む装置の電源ブロックとを含むことを
特徴とする。
The automatic power-off system of the present invention has an idle detection circuit that detects an idle state in which the computer is not operating from the computer's status signal and bus request signal, and starts counting a predetermined time based on the output signal of this detection circuit. The computer includes a counter, an interrupt controller that receives an output signal of the counter after a predetermined period of time has elapsed, and the computer is disconnected by an output command of the computer in accordance with an interrupt signal from the interrupt controller to the computer. and a power supply block for the device.

し実施例〕 次に、本発明について、図面を参照して説明する。cp
uがインテル8086 (以下8086と称す)の最大
モード使用時を例に説明する。
Embodiments Next, the present invention will be described with reference to the drawings. cp
An example will be explained in which u uses the maximum mode of Intel 8086 (hereinafter referred to as 8086).

第1図は本発明の一実施例のブロック図である。FIG. 1 is a block diagram of one embodiment of the present invention.

装置がアイドル状態のときは、条件として、(II)C
P Uが、バス含使用して読出し、書込み、割込処理、
命令フェッチのどれも行っていない(12)CP U以
外の周辺装置がバスを使用していない (+3)CP Uが内部演算を行っていない(14)C
P Uがホルト状態でない の4項目を全て満足するときといえる。CPUの出力信
号であるステータス信号So、Sl、S2が全て“1゛
のときに条件(11)、 <13)、 (14)を満足
し、またバス要求信号であるR Q / G T O、
RQ、/GTIが共に°“i′°であればバスを使って
いないので条件(12)を満足する。従って、ステータ
ス信号So、S1.S2.バス要求信号「ぐ/′C−T
O及びRQ/GTIが全て1“であれば、コンピュータ
がアイドル状態である。このステータス信号So、S1
.S2.バス要求信号r丁/丁ff、RQ/GT1の論
理積のアイドル検出信号IDLをカウンタ3のリセット
に入力し、カウンタ3の出力を割込コントローラ4(ま
たはcpu)の割込信号とする。CPUがアイドル状態
となると、カウンタ3のリセットが解除されカウントを
始める。一定時間(例えば約30分)をカウントすると
カウンタ3は信号TMを割込コントローラ4(またはc
pu>に対し割込を要求し、電源切断を行う割込処理ル
ーチンを実行する。この処理ルーチンにおいてファイル
、データの格納等の手続きを行った後にこのCPUを含
む装置の電源ブロック5に対しI10命令等でvopp
信号が送られて装置の電源は切断され、装置の電源は信
号■OFFにて切断を制御される。また、カウント途中
でCPUがアイドル状態から抜は出ればカウンタ3はリ
セットされる。
When the device is idle, (II)C
PU uses the bus for reading, writing, interrupt processing,
No instruction fetches are being performed (12) No peripheral devices other than the CPU are using the bus (+3) CPU is not performing internal operations (14) C
This can be said to be the case when all four items of PU are not in the halt state are satisfied. Conditions (11), <13), and (14) are satisfied when the status signals So, Sl, and S2, which are the output signals of the CPU, are all “1,” and the bus request signals RQ/GTO,
If RQ and /GTI are both °"i'°, the bus is not used, and condition (12) is satisfied. Therefore, the status signal So, S1.S2.Bus request signal "g/'C-T
If O and RQ/GTI are all 1", the computer is in the idle state. This status signal So, S1
.. S2. The idle detection signal IDL, which is the AND of the bus request signal r/dff and RQ/GT1, is input to reset the counter 3, and the output of the counter 3 is used as an interrupt signal for the interrupt controller 4 (or CPU). When the CPU becomes idle, the reset of the counter 3 is released and it starts counting. After counting a certain period of time (for example, about 30 minutes), the counter 3 sends the signal TM to the interrupt controller 4 (or c
pu>, and executes an interrupt processing routine to turn off the power. After performing procedures such as storing files and data in this processing routine, vopp is sent to the power supply block 5 of the device including this CPU using the I10 command, etc.
A signal is sent and the power to the device is cut off, and the power to the device is controlled to be cut off by the signal OFF. Furthermore, if the CPU leaves the idle state during counting, the counter 3 is reset.

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

以上説明した様に、本発明によれば、装置の消費電力を
低減し、装置の寿命を延ばす効果があり、また従来の方
式に比較して容易かつ安価に実現できる。
As described above, the present invention has the effect of reducing the power consumption of the device and extending the life of the device, and can be realized more easily and inexpensively than conventional methods.

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

第1図は、本発明の一実施例のブロック図である。 FIG. 1 is a block diagram of one embodiment of the present invention.

Claims (1)

【特許請求の範囲】[Claims] コンピュータのステータス信号、バス要求信号からこの
コンピュータの作動してないアイドル状態を検出するア
イドル検出回路と、この検出回路の出力信号によって所
定時間の計数を開始するカウンタと、前記所定時間経過
した前記カウンタの出力信号を入力とする割込コントロ
ーラと、その割込コントローラから前記コンピュータへ
の割込信号に従った前記コンピュータの出力命令によっ
て切断される前記コンピュータを含む装置の電源ブロッ
クとを含むことを特徴とする自動電源切断方式。
an idle detection circuit that detects an inactive idle state of the computer from a computer status signal and a bus request signal; a counter that starts counting a predetermined time based on an output signal of the detection circuit; and a counter that starts counting a predetermined time after the predetermined time elapses. and a power supply block for a device including the computer that is disconnected by an output command from the computer in accordance with an interrupt signal from the interrupt controller to the computer. Automatic power cut-off method.
JP61161153A 1986-07-08 1986-07-08 Automatic power supply cut-off system Pending JPS6316315A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61161153A JPS6316315A (en) 1986-07-08 1986-07-08 Automatic power supply cut-off system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61161153A JPS6316315A (en) 1986-07-08 1986-07-08 Automatic power supply cut-off system

Publications (1)

Publication Number Publication Date
JPS6316315A true JPS6316315A (en) 1988-01-23

Family

ID=15729601

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61161153A Pending JPS6316315A (en) 1986-07-08 1986-07-08 Automatic power supply cut-off system

Country Status (1)

Country Link
JP (1) JPS6316315A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1993013480A1 (en) * 1991-12-26 1993-07-08 Dia Semicon Systems Incorporated Condition monitor method for computer system and power saving controller
US5430881A (en) * 1990-12-28 1995-07-04 Dia Semicon Systems Incorporated Supervisory control method and power saving control unit for computer system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5430881A (en) * 1990-12-28 1995-07-04 Dia Semicon Systems Incorporated Supervisory control method and power saving control unit for computer system
WO1993013480A1 (en) * 1991-12-26 1993-07-08 Dia Semicon Systems Incorporated Condition monitor method for computer system and power saving controller

Similar Documents

Publication Publication Date Title
US4851987A (en) System for reducing processor power consumption by stopping processor clock supply if a desired event does not occur
US6981163B2 (en) Method and apparatus for power mode transition in a multi-thread processor
JP3188826B2 (en) Automatic backup device for APM (extended power management)
US6832311B2 (en) Information processing system and resume processing method used in the system
EP0908823A1 (en) System management method and apparatus for supporting non-dedicated event detection
JPS59200327A (en) Control system of peripheral device
JPH0833790B2 (en) Power shutdown device for computer
JPH04130510A (en) Power saving system for information processor
JPH0458047B2 (en)
US5838982A (en) Power switch method and apparatus for preventing a failure in the power controller
JPS6316315A (en) Automatic power supply cut-off system
JP2002041189A (en) Unintegruptible power supply device
US5931930A (en) Processor that indicates system bus ownership in an upgradable multiprocessor computer system
JPH05189100A (en) Information processor
JPH10207586A (en) Power-off control system for computer
JPH0883133A (en) Computer system and clock control method for the same
JPH10333790A (en) Information processor equipped with power-saving function and power saving releasing method for the information processor
JPH04238517A (en) Power-saving control system
JP2577613Y2 (en) Information processing device
KR100490392B1 (en) Computer system having the function of alarming power button override
JP2003345474A (en) Computer system and data transfer control method
JPH0651880A (en) Information processor
JPS6158019A (en) Power keeping device
JPH04152413A (en) Battery-driven electronic equipment
JPS61145617A (en) Power supply disconnection circuit