JPS6278616A - Stand-by control system in cut-off mode of power supply - Google Patents
Stand-by control system in cut-off mode of power supplyInfo
- Publication number
- JPS6278616A JPS6278616A JP60219691A JP21969185A JPS6278616A JP S6278616 A JPS6278616 A JP S6278616A JP 60219691 A JP60219691 A JP 60219691A JP 21969185 A JP21969185 A JP 21969185A JP S6278616 A JPS6278616 A JP S6278616A
- Authority
- JP
- Japan
- Prior art keywords
- stand
- circuit
- signal
- input terminal
- standby
- 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
Links
- 238000001514 detection method Methods 0.000 claims abstract description 16
- 230000002093 peripheral effect Effects 0.000 claims abstract description 13
- 230000007274 generation of a signal involved in cell-cell signaling Effects 0.000 claims description 5
- 230000007257 malfunction Effects 0.000 abstract description 3
- 238000010586 diagram Methods 0.000 description 2
- 239000003990 capacitor Substances 0.000 description 1
- 239000013256 coordination polymer Substances 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000000034 method Methods 0.000 description 1
Landscapes
- Power Sources (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は1例えばハンドベルトコンピュータ等のような
小型の1ンビユータ・システJ、に係り。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a small-sized one-viewer system, such as a hand belt computer.
特に、電源のオン/オフ時にCPUが暴走して。Especially when the power is turned on/off, the CPU goes out of control.
周辺装置に誤動作を生じさせることがないようにしまた
電源断時Cにおけるスタンバイ制御方式に関するもので
ある。The present invention relates to a standby control system for preventing peripheral devices from malfunctioning and at the time of power-off.
〔従来の技術)
例えばハンドベルトコンピュータ等のような小型のコン
ヒ罵l−タ・システムでは、頻繁に電源のオン/オフが
なされることがある。従来、電源断時にお?Jる入力電
圧の低下が検出されると、いわゆるノンマスカブル・イ
ンクラブド (NMI)により、C1)lJに割込みを
上げ、完全に電源の供給が停止されるまでの数msの間
に、NMI割込み処理ル・−チン等に、Lって、各種周
辺装置の@l+作を停止さ士るなどの処理を行う、Lう
にされていた。[Prior Art] In a small computer computer system such as a hand belt computer, the power may be turned on and off frequently. Conventionally, when the power is turned off, When a drop in the input voltage is detected, a so-called non-maskable included (NMI) interrupt is raised to C1), and the NMI interrupt handler is activated for several milliseconds until the power supply is completely stopped.・In Chin et al., L was used to perform processing such as stopping @l+ operations of various peripheral devices.
しかしながら、上記NMI割込みによる処理が。 However, the processing by the above NMI interrupt.
例えば数十ll1sかかる場合や、入力電圧の低下が始
まってから完全に遮断されるまでの時間が短い場合等に
は、NM+割込みによる処理が完全にはなされず、CP
Uの動作が電圧不足のため不安定となって、暴走してし
まうことがあるという問題があった。例えば、CPt、
Jの出力ボートに接続されるプリンタ等は、出力ボート
がI’J−レベルになることにより動作するが、CPH
の暴走により、その出力ボートが非所望にローI/ヘル
になって、誤動作が起きるようなことがあった。For example, if it takes several tens of milliseconds, or if the time from when the input voltage begins to drop until it is completely shut off is short, the processing by the NM+ interrupt will not be completed, and the CP
There has been a problem in that the operation of U becomes unstable due to insufficient voltage, resulting in runaway operation. For example, CPt,
The printer etc. connected to the output port of J operates when the output port becomes I'J- level, but the CPH
As a result of runaway, the output port may become undesirably low I/hell, resulting in malfunction.
本発明は上記問題点を解決するため、CPtJの低消費
電力モードに使用されるスタンバイ機能を利用すること
に着目して、電圧の低下が検出されると、その検出信号
をラッチし、CPUにスタンバイ信号を供給して、これ
によってCP Uの各ボートをハイインピーダンス状態
にし、各周辺装置の動作を止めるようにしている。In order to solve the above problems, the present invention focuses on using the standby function used in the low power consumption mode of CPtJ, and when a voltage drop is detected, the detection signal is latched and the CPU A standby signal is supplied, thereby placing each port of the CPU in a high impedance state and stopping the operation of each peripheral device.
第1図は本発明の一実施例構成、第2図は本発明の一実
施例タイムチャー1−1第3図は本発明の−・実施例要
部回路図を示す。FIG. 1 shows the configuration of an embodiment of the present invention, FIG. 2 shows a time chart 1-1 of an embodiment of the invention, and FIG. 3 shows a circuit diagram of a main part of an embodiment of the invention.
第1図において、11は例えば5■の電源電圧Vccを
出力するD/Dlンパータ、12はVCcの電圧レベル
を所定の閾値と比較することC1ツより。In FIG. 1, numeral 11 is a D/Dl converter that outputs a power supply voltage Vcc of, for example, 5cm, and numeral 12 is a D/Dl converter that outputs a power supply voltage Vcc of, for example, 5cm.
電圧の低下を検出する電圧検出回路、13は電源オフ状
態においてリセット信号を出力するリセット回路、14
は電圧検出回B12の検出信号をラッチし、スタンバイ
信号を発生するスタンバイ信号発生回路、15は所定の
命令をフエ、ノチj7て実行することによりデータを処
理するCPU、16はリセット信号入力端子、17はス
タンバイ信号入力端子、18A、18Bは出カポ〜 )
、19A。a voltage detection circuit that detects a drop in voltage; 13 a reset circuit that outputs a reset signal when the power is off; 14;
1 is a standby signal generation circuit that latches the detection signal of the voltage detection circuit B12 and generates a standby signal; 15 is a CPU that processes data by executing a predetermined command; 16 is a reset signal input terminal; 17 is standby signal input terminal, 18A, 18B are output capo~)
, 19A.
19Bはプリンタ等の各種周辺装置を表す。19B represents various peripheral devices such as a printer.
cpuisは、いわゆる低消費電力モード等に使用され
るスタンバイ機能を備えており、スタンバイ信号入力端
子17がローレベルになると、内部クロックが固定され
て、スタンバイ状態になる機能を備えている。スタンバ
イ状態のとき、CPU15内部のハードウェアによって
、自動的に。The cpuis has a standby function used in a so-called low power consumption mode, and when the standby signal input terminal 17 becomes low level, the internal clock is fixed and the CPU enters a standby state. Automatically by the hardware inside the CPU 15 when in standby mode.
各種ボー1川8A、1813等は、ハイインピーダンス
状態になり、CPtJ15は、実質的に3種周辺装置1
9A、19B等と切り離されるようになっている。Various ports 8A, 1813, etc. are in a high impedance state, and CPtJ15 is essentially 3 types of peripheral devices 1.
It is designed to be separated from 9A, 19B, etc.
例えば、第2図に示すタイムチャー1・のように。For example, like the time chart 1 shown in FIG.
電源がオンにされ、Vccが所定の闇値用−ヒになると
、電圧検出回路12によって、その電圧が検出され、ス
タンバイが解除されると共に、所定の時間後にリセット
回路13によって、リセット信号の解除がなされ、シス
テノ、が起動される。When the power is turned on and Vcc reaches a predetermined dark value -H, the voltage detection circuit 12 detects the voltage and cancels standby, and after a predetermined time, the reset circuit 13 cancels the reset signal. is made, and Sisteno is activated.
電源がオフにされると1例えば5VのVccが低下しは
じめ、電圧検出回路12は、それが所定の闇値以下にな
ると、リセット回路13およびスタンバイ信号発生回路
14に、その検出信号を出力する。スタンバイ信号発生
回路14は、直ちにその検出信号をラッチし、ローレベ
ルのスタンバイ機能5TBYをスタンバイ信号入力端子
17に送る。また、リセット回路13+よ、リセット信
号入力端7−16にローレベルのリセット信号RES−
を送出する。When the power is turned off, Vcc, for example 5V, begins to drop, and when it falls below a predetermined dark value, the voltage detection circuit 12 outputs a detection signal to the reset circuit 13 and standby signal generation circuit 14. . The standby signal generation circuit 14 immediately latches the detection signal and sends a low level standby function 5TBY to the standby signal input terminal 17. In addition, the reset circuit 13+ also outputs a low level reset signal RES- to the reset signal input terminal 7-16.
Send out.
CPU15は、リセットされる前に、スタンバイ状態t
こ入り、出カポ−)18八、18B等(j)\イインピ
ーダンス状態になるため2周辺装置19A、198等へ
の間違った制御信号の出力が防止される。The CPU 15 is in standby state t before being reset.
Since the input and output capacitors 188, 18B, etc. are in an impedance state, the output of incorrect control signals to the two peripheral devices 19A, 198, etc. is prevented.
なお1 L記スタンバイ信号を9例えば液晶デイスブL
・イ1、CD(図示省略)のリセ・ノド信−q −IT
””””’6丁RESとして用いることにより、液晶表
示の消灯等を行・う、1ン)にすることもできる。Note that 1.L standby signal 9, for example, LCD display L
・I1, CD (not shown) lycee node message-q-IT
By using it as a RES, it is also possible to turn off the liquid crystal display, etc.
第3図は、スタンバイ信号の発生に関連する部分の回路
例4示している。第3図において、符号工4ないし17
は第1図図示のものj・、′対応+、、、、 20は
フリップフロップ521は了ドトスハス、22はデータ
バス、23はNMI割込み入力端子。FIG. 3 shows a fourth circuit example of a portion related to generation of a standby signal. In FIG. 3, code numbers 4 to 17
20 is a flip-flop 521, 22 is a data bus, and 23 is an NMI interrupt input terminal.
24は出力ボートを表している、
第3図に示4−回路では3従来、NMI割込み1活使用
されていた電圧低下の検出信号を、ノリ・ノブフロップ
20のプリセット端子f)R?こ導いている。24 represents an output port. In the 4-circuit shown in FIG. 3, the voltage drop detection signal, which was conventionally used for NMI interrupt 1, is sent to the preset terminal f) R? of the Nori-knob flop 20. I'm leading this.
なお5本発明では、この検出信号をNM+割込7ノ入力
端子23と切り離し、NM+割込7ノが生じないように
してもよい。Note that in the present invention, this detection signal may be separated from the NM+interruption 7 input terminal 23 so that NM+interruption 7 does not occur.
リセット信号ば、リセソ1−信号入力端子16に供給さ
れると共に、フリップフロップ20のクリア端子CLR
に導かれ、CI”[J]5のスタート時にフリップフロ
ップ20をクリアする。The reset signal is supplied to the reset signal input terminal 16 and also to the clear terminal CLR of the flip-flop 20.
Clears the flip-flop 20 at the start of CI"[J]5.
電源低下の検出信号は、プリセット端子PRを介して、
フリップフロップ20にランチされ、フリップフロップ
20の出力頁が、スタンバイ信号τ〒T3■とじて、ス
タンバイ信号入力端子17へ供給される。これにより、
出力ポート24は直ちにハイインピーダンス状態になる
。The power drop detection signal is sent via the preset terminal PR.
The output page of the flip-flop 20 is supplied to the standby signal input terminal 17 as a standby signal τ〒T3■. This results in
Output port 24 immediately goes into a high impedance state.
以上説明したように1本発明によれば、電源断時におい
て、NM1割込み処理C,二必要な電圧を維持できなく
なった場合にも、CPUが事前に各ボートと実質的に切
り離された状態になるため、各種周辺装置の誤動作を防
止することができるようになる。As explained above, (1) according to the present invention, even when the NM1 interrupt processing (C) and (2) the necessary voltage cannot be maintained during power-off, the CPU is substantially disconnected from each board in advance. Therefore, malfunctions of various peripheral devices can be prevented.
第1図は本発明の一実施例構成、第2図は本発明の一実
施例タイムチャー1・、第3図は本発明の一実施例要部
回路図をポす。
図中、11はl) / Dコンバータ、12は電圧検出
回路、13はす七ノド回路、14ばスタンバイ信号発生
回路、15ばCPLJ、16はリセント信号入力端子、
17はスタンバイ信号入力端子、18A、18Bは出力
ポート、19A、19Bは周辺装置を表す。FIG. 1 shows a configuration of an embodiment of the present invention, FIG. 2 shows a time chart 1 of an embodiment of the invention, and FIG. 3 shows a circuit diagram of a main part of an embodiment of the invention. In the figure, 11 is a l)/D converter, 12 is a voltage detection circuit, 13 is a seven-node circuit, 14 is a standby signal generation circuit, 15 is a CPLJ, 16 is a recent signal input terminal,
Reference numeral 17 represents a standby signal input terminal, 18A and 18B represent output ports, and 19A and 19B represent peripheral devices.
Claims (1)
よって、周辺装置(19A、19B)への出力ポート(
18A、18B)をハイインピーダンスにするCPU(
15)を備えたシステムにおいて、 入力電圧の低下を検出する電圧検出回路(12)と、該
電圧検出回路(12)の出力をラッチし、上記スタンバ
イ信号入力端子(17)へスタンバイ信号を供給するス
タンバイ信号発生回路(14)とを備え、入力電圧の低
下時にスタンバイ信号の供給によってCPU(15)を
周辺装置(19A、19B)から切り離すようにしたこ
とを特徴とする電源断時におけるスタンバイ制御方式。[Claims] A standby signal to the standby signal input terminal (17) causes output ports (19A, 19B) to be output to peripheral devices (19A, 19B).
18A, 18B) to high impedance (
15), a voltage detection circuit (12) that detects a drop in input voltage, latches the output of the voltage detection circuit (12), and supplies a standby signal to the standby signal input terminal (17). a standby signal generation circuit (14), and a standby control system during a power cut, characterized in that the CPU (15) is isolated from the peripheral devices (19A, 19B) by supplying a standby signal when the input voltage drops. .
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP60219691A JPS6278616A (en) | 1985-10-02 | 1985-10-02 | Stand-by control system in cut-off mode of power supply |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP60219691A JPS6278616A (en) | 1985-10-02 | 1985-10-02 | Stand-by control system in cut-off mode of power supply |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS6278616A true JPS6278616A (en) | 1987-04-10 |
Family
ID=16739447
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP60219691A Pending JPS6278616A (en) | 1985-10-02 | 1985-10-02 | Stand-by control system in cut-off mode of power supply |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS6278616A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS63276110A (en) * | 1987-05-07 | 1988-11-14 | Fujitsu Ltd | data processing equipment |
-
1985
- 1985-10-02 JP JP60219691A patent/JPS6278616A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS63276110A (en) * | 1987-05-07 | 1988-11-14 | Fujitsu Ltd | data processing equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPH0630541B2 (en) | Operation stop and reset circuit device | |
JPH03171310A (en) | Personal computer | |
JPS6278616A (en) | Stand-by control system in cut-off mode of power supply | |
WO2004003714A2 (en) | Circuit for detection of internal microprocessor watchdog device execution and method for resetting microprocessor system | |
JP3440383B2 (en) | Card interface device | |
JPH0519911A (en) | Power supply circuit | |
JPH04354011A (en) | Power source make and break controller | |
JPH01205312A (en) | bus converter | |
JP3009236B2 (en) | Hot maintenance of devices | |
CN120233859A (en) | Power management system and computer device | |
JP2580673B2 (en) | Power control device | |
JPH0378838A (en) | Information processor | |
JPH04517A (en) | Power supply control device | |
JPH0588790A (en) | Power source control system | |
JPH0276020A (en) | Power control unit program error processing method | |
JPS582955A (en) | Self-diagnostic device for stand-by redundant system | |
KR0134250Y1 (en) | Data Loss Prevention Circuit | |
JPH09212201A (en) | Control circuit for production equipment | |
CN111427719A (en) | Method and device for improving reliability and abnormal restarting performance of SOC (system on chip) | |
JPH07129278A (en) | Resetting control circuit of multiprocessor system | |
JPH01223521A (en) | Large scale integrated circuit | |
JPS62214419A (en) | Arithmatic and control unit | |
KR20010056419A (en) | Circuit controlling power supply in computer | |
JPS61204719A (en) | information processing system | |
JPH0519897A (en) | Resetting control circuit of information processor |