JPH075957A - Information processor - Google Patents

Information processor

Info

Publication number
JPH075957A
JPH075957A JP5329380A JP32938093A JPH075957A JP H075957 A JPH075957 A JP H075957A JP 5329380 A JP5329380 A JP 5329380A JP 32938093 A JP32938093 A JP 32938093A JP H075957 A JPH075957 A JP H075957A
Authority
JP
Japan
Prior art keywords
power
input
processing
switch
output
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
JP5329380A
Other languages
Japanese (ja)
Other versions
JP2552247B2 (en
Inventor
Kiyomi Uchikawa
清美 内川
Tsuminori Nagao
積憲 長尾
Masaaki Hanaoka
正明 花岡
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson 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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP5329380A priority Critical patent/JP2552247B2/en
Publication of JPH075957A publication Critical patent/JPH075957A/en
Application granted granted Critical
Publication of JP2552247B2 publication Critical patent/JP2552247B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To provide an information processor provided with a power source control means capable of automatically checking the state of a power source switch, the state of a supply power source voltage, and the executing state of a program, etc., and performing power source disconnection processing. CONSTITUTION:Power source control for the information processor is performed by a switch off decision means 3 which decides the switching state of the information processor based on the state of a physical switch 1 located outside the information processor, output from a voltage drop detecting means 2, and the outputs from a pre-processing means 9 and from a post-processing means 7.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、電源制御手段をもった
情報処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an information processing apparatus having a power supply control means.

【0002】[0002]

【従来の技術】従来の情報処理装置(本明細書では、パ
ソコン、ハンドヘルドコンピュータ、オフコン等を情報
処理装置と呼ぶ)においては、プログラムの実行中に電
源スイッチがオフされたり、供給電源電圧が低下する
と、実行中のプログラムの状態によらず処理が中断され
てしまった。このため、中断部分からの再実行は不可能
であり、特に、入出力処理中の中断は使用中のメディア
自体を破壊する恐れがあった。これは、電源バッテリ−
電圧の低下による不慮の中断に対して、非常に大きな問
題点であった。
2. Description of the Related Art In a conventional information processing apparatus (in this specification, a personal computer, a handheld computer, an office computer, etc. are referred to as an information processing apparatus), a power switch is turned off or a power supply voltage is lowered during execution of a program. Then, the process was interrupted regardless of the state of the program being executed. For this reason, re-execution from the interrupted portion is impossible, and in particular, interruption during input / output processing may destroy the medium itself being used. This is the power battery
It was a very big problem for the accidental interruption due to the voltage drop.

【0003】[0003]

【発明が解決しようとする課題】本発明は、上記問題点
を解決するため、電源スイッチの状態や供給電源電圧の
状態及びプログラムの実行状態等を自動的に調べ、電源
オフ処理をすることのできる電源制御手段をもった情報
処理装置を提供することを目的とする。
SUMMARY OF THE INVENTION In order to solve the above problems, the present invention is to automatically check the state of the power switch, the state of the power supply voltage, the execution state of the program, etc. to perform the power-off process. An object of the present invention is to provide an information processing apparatus having a power supply control means that can be used.

【0004】[0004]

【課題を解決するための手段】本発明は、物理的スイッ
チの状態と電圧低下検出手段からの信号により電源のオ
フを決定するスイッチ・オフ決定手段と、該スイッチ・
オフ決定手段からの指示により実際に電源オフ処理をす
る電源オフ処理手段と、前記スイッチ・オフ決定手段に
対して電源オフを禁止する前処理手段と、電源オフ要因
の発生時はその情報のみ格納して入出力処理を続行する
入出力処理手段と、前記前処理手段で禁止した事項を解
除しかつ、前記入出力処理手段の動作中に電源オフ要因
が発生した時には設定された情報を調べて入出力処理終
了後電源オフを実行する後処理手段とから成ることを特
徴とする。
According to the present invention, there is provided switch-off determining means for determining power-off based on a state of a physical switch and a signal from a voltage drop detecting means, and the switch-off determining means.
Power-off processing means for actually performing power-off processing in response to an instruction from the off-determination means, pre-processing means for prohibiting the power-off to the switch / off determination means, and storing only that information when a power-off factor occurs And the input / output processing means for continuing the input / output processing and the items prohibited by the pre-processing means are canceled, and the set information is checked when a power-off factor occurs during the operation of the input / output processing means. It is characterized by comprising post-processing means for executing power-off after completion of input / output processing.

【0005】[0005]

【実施例】本発明の構成を図1に基づいて説明する。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The structure of the present invention will be described with reference to FIG.

【0006】本発明の情報処理装置の電源コントロール
は、情報処理装置の外部にあるスイッチ1(以下、これ
を物理的スイッチと称す)の状態と、電源電圧低下(以
下、これを電圧低下と称す)検出手段2からの出力と、
前処理手段9及び後処理手段7からの出力とから情報処
理装置のスイッチ状態を決定するスイッチ・オフ決定手
段3によって行なわれる。このスイッチ・オフ決定手段
3の出力は、論理的電気スイッチ4に入力され、実際の
電源のオン/オフ操作を行なっている。ここで、前処理
手段9は、入出力処理実行手段8の動作中において電源
オフ要因(すなわち、物理的スイッチ1がオフされた
り、電圧低下が生じた場合等)が発生した場合でも、入
出力処理実行手段8の動作中はそれを続行させるために
電源オフを禁止する手段である。また、後処理手段7
は、前記電源オフ要因に対する電源オフ禁止事項を解除
し、入出力処理実行手段8の動作中に電源オフ要因が発
生した場合には電源オフを実行させるよう出力する手段
である。
The power supply control of the information processing apparatus of the present invention includes the state of the switch 1 (hereinafter referred to as a physical switch) outside the information processing apparatus and the power supply voltage drop (hereinafter referred to as voltage drop). ) The output from the detection means 2,
This is performed by the switch-off determining means 3 which determines the switch state of the information processing device based on the outputs from the pre-processing means 9 and the post-processing means 7. The output of the switch-off determination means 3 is input to the logical electric switch 4 to perform an actual power on / off operation. Here, the preprocessing unit 9 performs input / output even when a power-off factor (that is, when the physical switch 1 is turned off, a voltage drop occurs, etc.) occurs during the operation of the input / output processing execution unit 8. During the operation of the processing execution means 8, it is means for prohibiting the power-off in order to continue it. Also, the post-processing means 7
Is means for releasing the power-off prohibition item for the power-off factor and outputting to execute power-off when a power-off factor occurs during the operation of the input / output processing execution means 8.

【0007】図2は、本発明のハード・ウェア構成を示
すブロック図である。ここにおいて、情報処理装置の電
源は、物理的スイッチ26、電源リース27及び中央処
理装置21よりの出力からの電源のオン/オフを判定す
る電源コントロ−ラ25と、該電源コントローラ25の
出力により実際に電源をオン/オフする電気的スイッチ
24から成っている。
FIG. 2 is a block diagram showing the hardware configuration of the present invention. Here, the power supply of the information processing device is controlled by the power switch 25, which determines whether the power is turned on or off from the outputs from the physical switch 26, the power lease 27, and the central processing unit 21, and the output of the power controller 25. It consists of an electrical switch 24 that actually turns the power on and off.

【0008】又、図3は図2のハードウェア構成図をさ
らに詳細に説明する図である。電源リース27の電圧が
低下しある一定値以下になるとA−Dコンバータ−28
を介して電源コントローラ25は電圧低下の状態を検知
する。そしてさらにその情報を電源コントローラ25
は、中央処理装置21に知らせる。
FIG. 3 is a diagram for explaining the hardware configuration diagram of FIG. 2 in more detail. If the voltage of the power supply lease 27 drops below a certain level, the A-D converter-28
The power supply controller 25 detects the state of voltage drop via the. Then, the information is further provided to the power controller 25
Informs the central processing unit 21.

【0009】電源コントローラ25は、たとえば、マイ
クロプロセッサによって構成されるが、その構成をさら
に図4を用いて説明すると以下のようになる。71はプ
ログラムカウンタでプログラムのアドレス情報(プログ
ラムメモリ74のアドレス)を保持するレジスタであ
る。72は、スタックポインタ−でデータメモリ73の
スタックの先頭アドレス情報を保持している8ビットレ
ジスタである。75は汎用レジスタである。76は演算
結果をストアしたり、データメモリ73、I/Oポート
77そして汎用レジスタ75などとの間でデータのやり
とりを行うレジスタである。又、77はレジスタ76の
けた上げがあるかないかを示すレジスタである。又、7
8は演算器である。79はプログラムメモリ74に格納
された命令を解読するインストラクションデコーダーで
ある。又、システム・クロック発生回路80はRC発振
回路(図示せず)と1/2分周回路(図示せず)で構成
されている。RC発振回路は、CL1、CL2端子(図
示せず)に接続された外付抵抗(図示せず)とキャパン
タ(図示せず)によって発振する。又、RC発振を行わ
ずCL1入力より外部クロックを入力することもでき、
その場合RC発振回路は単に反転バッファとしてのみ働
く。又、RC発振回路よりの出力81はクロック制御回
路83に送られ、そこで分周されてタイマ/イベント・
カウンタ84のカウント・パルスとなる。又、RC発振
回路出力よりさらに1/2分周された信号はシステム・
クロック82となりシリアル・インターフェース86に
送られる。カウント・クロック発生回路87はクリスタ
ル発振回路(図示せず)から成る。クリスタル発振回路
はX1、X2端子(図示せず)に接続されたクリスタル
及び抵抗R(図示せず)、キャパシタC(図示せず)に
よって発振する。又、クリスタル発振を行わず、X1入
力より外部クロックを入力することもでき、その場合ク
リスタル発振回路は単に反転バッファとしてのみ働く。
カウント・クッロク発生回路87よりの出力88は、ク
ロック制御回路83へ送られ直接または分周されてタイ
マ/イベント・カウンタ84のカウント・パルス89と
なる。又、85はインタ−ラプト制御回路であり、86
はシリアル・データの入出力に使用するためのシリアル
インタ−フェースである。
The power supply controller 25 is composed of, for example, a microprocessor, and its structure will be described below with reference to FIG. Reference numeral 71 denotes a program counter which is a register for holding program address information (address of the program memory 74). Reference numeral 72 denotes an 8-bit register which holds stack head address information of the data memory 73 by a stack pointer. 75 is a general-purpose register. Reference numeral 76 is a register for storing the calculation result and exchanging data with the data memory 73, the I / O port 77, the general-purpose register 75 and the like. Reference numeral 77 is a register indicating whether or not there is a carry in the register 76. Also, 7
Reference numeral 8 is an arithmetic unit. Reference numeral 79 is an instruction decoder that decodes the instructions stored in the program memory 74. The system clock generation circuit 80 is composed of an RC oscillator circuit (not shown) and a 1/2 frequency divider circuit (not shown). The RC oscillator circuit oscillates by an external resistor (not shown) connected to CL1 and CL2 terminals (not shown) and a captor (not shown). It is also possible to input an external clock from CL1 input without RC oscillation.
The RC oscillator circuit then acts only as an inverting buffer. The output 81 from the RC oscillator circuit is sent to the clock control circuit 83, where it is frequency-divided and the timer / event.
It becomes the count pulse of the counter 84. In addition, the signal divided by 1/2 from the RC oscillator circuit output is
It becomes the clock 82 and is sent to the serial interface 86. The count / clock generating circuit 87 comprises a crystal oscillating circuit (not shown). The crystal oscillator circuit oscillates by a crystal connected to X1 and X2 terminals (not shown), a resistor R (not shown), and a capacitor C (not shown). It is also possible to input an external clock from the X1 input without performing crystal oscillation, in which case the crystal oscillation circuit functions only as an inverting buffer.
The output 88 from the count clock generation circuit 87 is sent to the clock control circuit 83 and directly or divided into a count pulse 89 of the timer / event counter 84. Further, 85 is an interrupt control circuit, and 86
Is a serial interface used for inputting / outputting serial data.

【0010】次に前記のように構成された本発明の情報
処理装置の動作を図5のフローチャートを用いて説明す
る。まず電源オフの要因が発生するのは、入出力処理を
実行中の場合と、そうでない場合がある。入出力処理を
実行中でない場合には、電源オフの要因が発生した直後
に電源オフ処理手段5が動作し電源が落とされる。図5
のフローチャートで示されているのは入出力処理を実行
中に電源オフの要因が発生した場合である。まず、入出
力処理に入るための準備が、入出力処理開始手段10に
よってなされる(<1>)。次に前処理手段9が、スイ
ッチ・オフ決定手段3に対して電源オフを禁止する(<
2>)。その後、入出力処理実行手段8によって入出力
処理が実行されるが、この時電源オフ要因が発生しても
ただその情報が格納されるだけで、処理は中断されない
(<3>)。 その後、入出力処理が終了すると後処理
手段7がスイッチ・オフ決定手段3に対する電源オフの
禁止を解除(<4>)し、さらに電源オフ情報の格納エ
リアを調べ、電源オフ要因発生の情報を検知した場合に
は、まずその情報エリアをクリアした後、電源オフを実
行する。また、電源オフ要因の発生がない場合には、続
いて入出力処理終了手段6が動作し入出力処理が終了し
て次の処理へと進んでいく(<5>)。以上説明したよ
うに入出力処理実行中の電源オフはその完了後に実行さ
れる。
Next, the operation of the information processing apparatus of the present invention configured as described above will be described with reference to the flowchart of FIG. First, the power-off factor may be generated when the input / output process is being executed or not. When the input / output processing is not being executed, the power-off processing means 5 operates and the power is turned off immediately after the power-off factor occurs. Figure 5
The flow chart shown in FIG. 6 shows the case where a power-off factor occurs during execution of input / output processing. First, the input / output processing starting means 10 prepares for input / output processing (<1>). Next, the pre-processing means 9 prohibits the power-off of the switch-off determination means 3 (<
2>). After that, the input / output processing execution means 8 executes the input / output processing, but even if a power-off factor occurs at this time, the information is merely stored and the processing is not interrupted (<3>). After that, when the input / output processing is completed, the post-processing means 7 releases the prohibition of the power-off to the switch-off determination means 3 (<4>), further checks the storage area of the power-off information, and obtains the information of the power-off factor occurrence. If detected, the information area is first cleared and then the power is turned off. If there is no power-off factor, the input / output processing termination means 6 operates to finish the input / output processing and proceed to the next processing (<5>). As described above, the power off during the execution of the input / output processing is executed after the completion.

【0011】[0011]

【発明の効果】以上説明したように本発明によって、プ
ログラムの実行状態によらず電源オフ要因が発生した場
合でも入出力処理が終了した時点で処理が中断されるた
め、使用メディアの破壊が防げ、また、中断箇所からの
続行が可能となった。これらにより本発明は、情報処理
装置の信頼性を高めるという効果をもつ。
As described above, according to the present invention, even if a power-off factor occurs regardless of the execution state of the program, the processing is interrupted at the end of the input / output processing, so that the destruction of the medium used can be prevented. Also, it became possible to continue from the point of interruption. Due to these, the present invention has the effect of increasing the reliability of the information processing apparatus.

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

【図1】本発明の概要を示すブロック図である。FIG. 1 is a block diagram showing an outline of the present invention.

【図2】本発明の一実施例のハードウェア構成を示す図
である。
FIG. 2 is a diagram showing a hardware configuration of an embodiment of the present invention.

【図3】図2を更に詳細に示した図である。FIG. 3 is a diagram showing FIG. 2 in more detail.

【図4】図2、図3の電源コントローラ25の詳細を示
した図である。
FIG. 4 is a diagram showing details of the power supply controller 25 of FIGS. 2 and 3;

【図5】本発明の情報処理装置の動作を示すフローチャ
ートである。
FIG. 5 is a flowchart showing the operation of the information processing apparatus of the present invention.

【符号の説明】[Explanation of symbols]

2:電圧低下検出手段 3:スイッチ・オフ決定手段 7:後処理手段 9:前処理手段 2: Voltage drop detection means 3: Switch-off determination means 7: Post-processing means 9: Pre-processing means

─────────────────────────────────────────────────────
─────────────────────────────────────────────────── ───

【手続補正書】[Procedure amendment]

【提出日】平成6年1月26日[Submission date] January 26, 1994

【手続補正1】[Procedure Amendment 1]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】特許請求の範囲[Name of item to be amended] Claims

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【特許請求の範囲】[Claims]

【手続補正2】[Procedure Amendment 2]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0001[Correction target item name] 0001

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0001】[0001]

【産業上の利用分野】本発明は、電圧低下時も入出力処
理を続行する情報処理装置に関する。
The present invention relates to input / output processing even when the voltage drops.
The present invention relates to an information processing device that continues processing.

【手続補正3】[Procedure 3]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0003[Name of item to be corrected] 0003

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0003】[0003]

【発明が解決しようとする課題】本発明は、上記問題点
解決するため、供給電源電圧の状態及びプログラムの
実行状態等を自動的に調べ、電源オフ処理をすることの
できる情報処理装置を提供することを目的とする。
SUMMARY OF THE INVENTION In order to solve the above problems, the present invention automatically checks the state of the power supply voltage and the execution state of the program, and performs a power-off process.
It is an object of the present invention to provide an information processing device that can be used .

【手続補正4】[Procedure amendment 4]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0004[Correction target item name] 0004

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0004】[0004]

【課題を解決するための手段】本発明は、電源を供給す
るための電池と、該電池の電圧低下を検出する電圧低下
検出手段とを備える情報処理装置であって、該電圧低下
検出手段からの信号に基づき電源のオフを決定するスイ
ッチ・オフ決定手段と、該スイッチ・オフ決定手段から
の指示により実際に電源オフ処理をする電源オフ処理手
段と、入出力処理が開始される前に前記スイッチ・オフ
決定手段に対して電源オフを禁止する前処理手段と、
圧低下の発生時、電圧低下の発生を示す情報を格納手段
格納して入出力処理を続行する入出力処理実行手段
と、入出力処理の終了に伴って、前記前処理手段により
実施された電源オフの禁止を解除する後処理手段と、
量処理手段による電源オフの禁止の解除後、前記格納手
段に格納された電圧低下の発生を示す情報に基づき電源
オフ処理を実行する電源オフ処理手段とから成ることを
特徴とする。
The present invention provides a power supply.
And a voltage drop to detect the voltage drop of the battery
An information processing device comprising a detection means , wherein a switch-off determination means for determining power-off based on a signal from the voltage drop detection means, and an actual power-off processing by an instruction from the switch-off determination means preprocessing means for inhibiting the power off for a power-off processing means for the switch-off determining unit before the input process is started, electricity
When a pressure drop occurs, the information indicating the occurrence of the voltage drop is stored in the storage means.
And an input / output processing execution means for storing the input / output data and continuing the input / output processing;
A post-processing unit for releasing the prohibition of the power-off performed , and
After releasing the prohibition of the power-off by the quantity processing means,
Based on the information stored in the stage indicating the occurrence of brownout
And a power-off processing means for executing the off processing .

【手続補正5】[Procedure Amendment 5]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0007[Correction target item name] 0007

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0007】図2は、本発明のハード・ウェア構成を示
すブロック図である。ここにおいて、情報処理装置の電
源は、物理的スイッチ26、電源ース27及び中央処
理装置21よりの出力からの電源のオン/オフを判定す
る電源コントローラ25と、該電源コントローラ25の
出力により実際に電源をオン/オフする電気的スイッチ
24から成っている。
FIG. 2 is a block diagram showing the hardware configuration of the present invention. Here, the power of the information processing apparatus, a physical switch 26, the power supply controller 25 determines the power on / off from the output of the power source source over scan 27 and the central processing unit 21, the output of the power source controller 25 It consists of an electrical switch 24 that actually turns the power on and off.

【手続補正6】[Procedure correction 6]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0008[Correction target item name] 0008

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0008】又、図3は図2のハードウェア構成図をさ
らに詳細に説明する図である。電源ソース27中には、
装置に電源を供給するための電池32がある。そして、
電池32は、A−Cアダプタ34により充電可能であ
る。電池32の電圧が低下しある一定量以下になるとA
−Dコンバーター28及び信号線33を介して電源コン
トローラ25は電圧低下の状態を検知する。そしてその
情報を電源コントローラ25は、信号線30経由で中央
処理装置21に知らせる。又、電池32により供給され
る電圧は、信号線31により中央処理装置21、ROM
22、RAM23に供給される。
FIG. 3 is a diagram for explaining the hardware configuration diagram of FIG. 2 in more detail. In the power source 27,
There is a battery 32 for supplying power to the device. And
The battery 32 can be charged by the AC adapter 34.
It When the voltage of the battery 32 drops and falls below a certain amount, A
-Power converter via D converter 28 and signal line 33
The tracker 25 detects a voltage drop state. And that
The power supply controller 25 sends information to the center via the signal line 30.
Notify the processor 21. Also supplied by the battery 32
The voltage to be supplied to the central processing unit 21
22 and the RAM 23.

【手続補正7】[Procedure Amendment 7]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0009[Correction target item name] 0009

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0009】電源コントローラ25は、たとえば、マイ
クロプロセッサによって構成されるが、その構成をさら
に図4を用いて説明すると以下のようになる。71はプ
ログラムカウンタでプログラムのアドレス情報(プログ
ラムメモリ74のアドレス)を保持するレジスタであ
る。72は、スタックポインターでデータメモリ73の
スタツクの先頭アドレス情報を保持している8ビットレ
ジスタである。75は汎用レジスタである。76は演算
結果をストアしたり、データメモリ73、I/Oポート
77そして汎用レジスタ75などとの間でデータのやり
とりを行うレジスタである。又、100はレジスタ76
のけた上げがあるかないかを示すレジスタである。又、
78は演算器である。79はプログラムメモリ74に格
納された命令を解読するインストラクションデコーダー
である。又、システム・クロック発生回路80はRC発
振回路(図示せず)と1/2分周回路(図示せず)で構
成されている。RC発振回路は、CL1、CL2端子
(図示せず)に接続された外付抵抗(図示せず)とキャ
パンタ(図示せず)によって発振する。又、RC発振を
行わずCL1入力より外部クロックを入力することもで
き、その場合RC発振回路は単に反転バッファとしての
み働く、又、RC発振回路よりの出力81はクロック制
御回路83に送られ、そこで分周されてタイマ/イベン
ト・カウンタ84のカウント・パルスとなる。又、RC
発振回路出力よりさらに1/2分周された信号はシステ
ム・クロック82となりシリアル・インターフェース8
6に送られる。カウント・クロック発生回路87はクリ
スタル発振回路(図示せず)から成る。クリスタル発振
回路はX1、X2端子(図示せず)に接続されたクリス
タル及び抵抗R(図示せず)、キャパシタC(図示せ
ず)によって発振する。又、クリスタル発振を行わず、
X1入力より外部クロックを入力することもでき、その
場合クリスタル発振回路は単に反転バッファとしてのみ
働く。カウント・クッロク発生回路87よりの出力88
は、クロック制御回路83へ送られ直接または分周され
てタイマ/イベント・カウンタ84のカウント・パルス
89となる。又、85はインターラプト制御回路であ
り、86はシリアル・データの入出力に使用するための
シリアルインターフェースである。
The power supply controller 25 is composed of, for example, a microprocessor, and its structure will be described below with reference to FIG. Reference numeral 71 denotes a program counter which is a register for holding program address information (address of the program memory 74). A stack pointer 72 is an 8-bit register which holds stack head address information of the data memory 73. 75 is a general-purpose register. Reference numeral 76 is a register for storing the calculation result and exchanging data with the data memory 73, the I / O port 77, the general-purpose register 75 and the like. Also, 100 is a register 76
This is a register indicating whether or not there is a carry. or,
Reference numeral 78 is an arithmetic unit. Reference numeral 79 is an instruction decoder that decodes the instructions stored in the program memory 74. The system clock generation circuit 80 is composed of an RC oscillator circuit (not shown) and a 1/2 frequency divider circuit (not shown). The RC oscillator circuit oscillates by an external resistor (not shown) connected to CL1 and CL2 terminals (not shown) and a captor (not shown). It is also possible to input an external clock from the CL1 input without performing RC oscillation, in which case the RC oscillation circuit functions only as an inverting buffer, and the output 81 from the RC oscillation circuit is sent to the clock control circuit 83. Then, the frequency is divided into the count pulse of the timer / event counter 84. Also, RC
The signal further divided by 1/2 from the output of the oscillation circuit becomes the system clock 82 and the serial interface 8
Sent to 6. The count / clock generating circuit 87 comprises a crystal oscillating circuit (not shown). The crystal oscillator circuit oscillates by a crystal connected to X1 and X2 terminals (not shown), a resistor R (not shown), and a capacitor C (not shown). Also, without crystal oscillation,
It is also possible to input an external clock from the X1 input, in which case the crystal oscillator circuit only functions as an inverting buffer. Output 88 from count / clock generation circuit 87
Is sent to the clock control circuit 83 and directly or divided into the count pulse 89 of the timer / event counter 84. Reference numeral 85 is an interrupt control circuit, and 86 is a serial interface used for inputting / outputting serial data.

【手続補正8】[Procedure Amendment 8]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0011[Correction target item name] 0011

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0011】[0011]

【発明の効果】以上説明したように本発明によって、プ
ログラムの実行状態によらず電源電圧の低下が発生した
場合でも入出力処理が終了した時点で処理が中断される
ため、使用メディアの破壊が防げ、また、中断箇所から
の続行が可能となった。これらにより本発明は、情報処
理装置の信頼性を高めるという効果をもつ。
As described above, according to the present invention, the processing is interrupted at the end of the input / output processing even if the power supply voltage drops regardless of the program execution state, so that the media used is destroyed. It was possible to prevent it and continue from the point of interruption. Due to these, the present invention has the effect of increasing the reliability of the information processing apparatus.

【手続補正9】[Procedure Amendment 9]

【補正対象書類名】図面[Document name to be corrected] Drawing

【補正対象項目名】図3[Name of item to be corrected] Figure 3

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【図3】 [Figure 3]

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】物理的スイッチの状態と電圧低下検出手段
からの信号により電源のオフを決定するスイッチ・オフ
決定手段と、該スイッチ・オフ決定手段からの指示によ
り実際に電源オフ処理をする電源オフ処理手段と、前記
スイッチ・オフ決定手段に対して電源オフを禁止する前
処理手段と、電源オフ要因の発生時はその情報のみ格納
して入出力処理を続行する入出力処理手段と、前記前処
理手段で禁止した事項を解除しかつ、前記入出力処理手
段の動作中に電源オフ要因が発生した時には設定された
情報を調べて入出力処理終了後電源オフを実行する後処
理手段とから成ることを特徴とする情報処理装置。
1. A switch-off deciding means for deciding the power-off based on a state of a physical switch and a signal from a voltage drop detecting means, and a power supply for actually performing a power-off processing according to an instruction from the switch-off deciding means. An off processing means; a preprocessing means for prohibiting the switch-off determination means from turning off the power; and an input / output processing means for storing only that information and continuing the input / output processing when a power-off factor occurs, The post-processing means removes the matter prohibited by the pre-processing means and checks the set information when the power-off factor occurs during the operation of the input / output processing means, and executes the power-off after the end of the input / output processing. An information processing device characterized by being formed.
JP5329380A 1993-12-27 1993-12-27 Information processing device Expired - Lifetime JP2552247B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5329380A JP2552247B2 (en) 1993-12-27 1993-12-27 Information processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5329380A JP2552247B2 (en) 1993-12-27 1993-12-27 Information processing device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP59083184A Division JPS60225922A (en) 1984-04-25 1984-04-25 Information processor

Publications (2)

Publication Number Publication Date
JPH075957A true JPH075957A (en) 1995-01-10
JP2552247B2 JP2552247B2 (en) 1996-11-06

Family

ID=18220798

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5329380A Expired - Lifetime JP2552247B2 (en) 1993-12-27 1993-12-27 Information processing device

Country Status (1)

Country Link
JP (1) JP2552247B2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56148751U (en) * 1980-04-09 1981-11-09
JPS5833758A (en) * 1981-08-24 1983-02-28 Omron Tateisi Electronics Co Programmable controller

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56148751U (en) * 1980-04-09 1981-11-09
JPS5833758A (en) * 1981-08-24 1983-02-28 Omron Tateisi Electronics Co Programmable controller

Also Published As

Publication number Publication date
JP2552247B2 (en) 1996-11-06

Similar Documents

Publication Publication Date Title
JPH03116311A (en) Sleep mode control system
KR100281535B1 (en) Computer system and its control method
JPH0630541B2 (en) Operation stop and reset circuit device
US20070162675A1 (en) Interrupt control device
JPH075957A (en) Information processor
JPH10268981A (en) Device and method for cutting power supply to computer system
US5343436A (en) Electronic apparatus having backup power source
EP0429781A2 (en) Resume control system and method for executing resume processing while checking operation mode of CPU
JP2967219B2 (en) External power supply for digital computer
JP2552247C (en)
JP2997584B2 (en) Power control device
JPH0736574A (en) Initializing device and method for electronic equipment
US20060221751A1 (en) Memory power supply backup system
JP4702343B2 (en) Mobile terminal device
JPH10161781A (en) Data disappearance preventing system for information processor
KR100274781B1 (en) Computer with clock control function
JP4423124B2 (en) Information processing system and image forming apparatus
JPH06119256A (en) Memory check system
JPS60262229A (en) Lifetime discriminating method of memory backup battery
KR100215293B1 (en) Battery charge alarm method using cmos ram
JPH0553618A (en) Programmable controller
JPH0452918A (en) Detection of running-out of dry cell for real time clock of electronic computer
JPH10201132A (en) Data processor
JPH0519897A (en) Resetting control circuit of information processor
JP2000181583A (en) Hit detecting device