JPH0726751Y2 - Electronic device with low battery detection function - Google Patents

Electronic device with low battery detection function

Info

Publication number
JPH0726751Y2
JPH0726751Y2 JP1988152542U JP15254288U JPH0726751Y2 JP H0726751 Y2 JPH0726751 Y2 JP H0726751Y2 JP 1988152542 U JP1988152542 U JP 1988152542U JP 15254288 U JP15254288 U JP 15254288U JP H0726751 Y2 JPH0726751 Y2 JP H0726751Y2
Authority
JP
Japan
Prior art keywords
voltage
cpu
battery
voltage detection
electronic device
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.)
Expired - Lifetime
Application number
JP1988152542U
Other languages
Japanese (ja)
Other versions
JPH0273226U (en
Inventor
和義 當摩
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co 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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP1988152542U priority Critical patent/JPH0726751Y2/en
Publication of JPH0273226U publication Critical patent/JPH0273226U/ja
Application granted granted Critical
Publication of JPH0726751Y2 publication Critical patent/JPH0726751Y2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Power Sources (AREA)

Description

【考案の詳細な説明】 [産業上の利用分野] この考案は、ローバッテリ検出機能付き電子機器に関す
る。
DETAILED DESCRIPTION OF THE INVENTION [Industrial application] The present invention relates to an electronic device with a low battery detection function.

[従来の技術] 従来、ハンディターミナル等のように電池を電源とする
小型電子機器においては、電池電圧の低下を検出するバ
ッテリ電圧検出回路が設けられている。
[Prior Art] Conventionally, in a small electronic device such as a handy terminal that uses a battery as a power source, a battery voltage detection circuit that detects a decrease in battery voltage is provided.

第5図はこの種の電子機器のブロック回路図を示し、CP
U11にはインプット/アウトプット回路12、ROM13、RAM1
4の他、電圧検出回路15が接続されている。この電圧検
出回路15は電池電圧が所定の動作保障電圧以下を検出す
ると、CPU11に対してローバッテリ検出信号を割り込み
信号として与え、CPU11に電圧低下を知らせる。
Fig. 5 shows a block circuit diagram of this kind of electronic equipment.
U11 has input / output circuit 12, ROM13, RAM1
In addition to 4, the voltage detection circuit 15 is connected. When the voltage detection circuit 15 detects that the battery voltage is equal to or lower than the predetermined operation guarantee voltage, the low voltage detection signal is given to the CPU 11 as an interrupt signal to notify the CPU 11 of the voltage drop.

このような電圧検出回路15は常に動作していて内部のコ
ンパレータ自体にもわずかながらも電流が流れている。
したがって、CPU11やその他のデバイスが動作中である
ときにも非動作中であるときにも不要な電流が電圧検出
回路15に流れ、無駄な電力が消費されるという欠点があ
った。
Such a voltage detection circuit 15 is always operating, and a small amount of current is flowing through the internal comparator itself.
Therefore, there is a drawback that unnecessary current flows to the voltage detection circuit 15 when the CPU 11 and other devices are operating and not operating, resulting in wasted power consumption.

この考案の課題は、電池電圧を検出する為に消費される
電流を効果的に抑制することである。
The problem of this invention is to effectively suppress the current consumed for detecting the battery voltage.

[課題を解決しようとする手段] この考案の手段は次の通りである。[Means for Solving the Problems] The means of this invention are as follows.

電圧検出手段1(第1図のブロック図を参照、以下同
じ)は、電源電池の電圧低下を検出するローバッテリ検
出回路である。
The voltage detection means 1 (see the block diagram of FIG. 1, the same applies hereinafter) is a low battery detection circuit that detects a voltage drop of the power supply battery.

中央処理装置2は予め格納されているマイクロプログラ
ムにしたがって各種の処理を行うCPUである。
The central processing unit 2 is a CPU that performs various processes according to a microprogram stored in advance.

制御手段3は中央処理装置2が動作中であるか否かに基
づいて電圧検出手段1の動作を制御するもので、中央処
理装置2が待ち状態時等の非動作中のときに、電圧検出
手段1の動作を禁止する。
The control means 3 controls the operation of the voltage detection means 1 based on whether or not the central processing unit 2 is operating, and detects the voltage when the central processing unit 2 is not operating, such as in a waiting state. The operation of the means 1 is prohibited.

[作用] この考案の手段の作用は次の通りである。[Operation] The operation of the means of this invention is as follows.

いま、中央処理装置2が動作している場合、制御手段3
は電圧検出手段1を動作させる。これによって、電圧検
出手段1は電源電池の電圧低下の検出を行い、その結
果、ローバッテリを検出すると、例えば電圧検出手段1
は中央処理装置2にその旨を報知する。
If the central processing unit 2 is operating now, the control means 3
Activates the voltage detection means 1. As a result, the voltage detecting means 1 detects the voltage drop of the power supply battery, and when a low battery is detected as a result, for example, the voltage detecting means 1
Notifies the central processing unit 2 to that effect.

また、中央処理装置2が非動作中、例えばキー入力待ち
状態のときには、制御手段3は電圧検出手段1の動作を
禁止させる。
Further, when the central processing unit 2 is not operating, for example, in a key input waiting state, the control means 3 prohibits the operation of the voltage detecting means 1.

その結果、中央処理装置2が非動作中のときには、電池
電圧の低下検出の為に無駄な電流が消費されることがな
い為、その検出に要する電流を最小限に抑えることがで
きる。
As a result, when the central processing unit 2 is not operating, no unnecessary current is consumed for detecting the battery voltage drop, so that the current required for the detection can be minimized.

したがって、電池電圧を検出する為に消費される電流を
効果的に抑制することができる。
Therefore, the current consumed for detecting the battery voltage can be effectively suppressed.

[実施例] 以下、第2図〜第4図を参照して一実施例を説明する。[Embodiment] An embodiment will be described below with reference to FIGS. 2 to 4.

第2図はハンディターミナル等の小型電子機器を示した
ブロック回路図である。CPU21はROM22に予め格納されて
いるマイクロプログラム等にしたがって各種の動作を制
御するもので、CPU21にはROM22の他、インプット/アウ
トプット回路23、RAM24、電圧検出回路25が接続されて
いる。
FIG. 2 is a block circuit diagram showing a small electronic device such as a handy terminal. The CPU 21 controls various operations in accordance with a microprogram stored in advance in the ROM 22, and the CPU 21 is connected to the ROM 22 as well as an input / output circuit 23, a RAM 24, and a voltage detection circuit 25.

電圧検出回路25はコンパレータ等を有する通常の構成
で、電圧検出回路25には電池電圧がゲート回路26を介し
て供給されており、この電池電圧が予め決められている
しきい値電圧(CPU21の動作保障電圧)以下に達する
と、CPU21に割込み信号を与え、ローバッテリ状態を知
らせる。
The voltage detection circuit 25 has a normal configuration including a comparator, etc., and the battery voltage is supplied to the voltage detection circuit 25 via the gate circuit 26, and this battery voltage is a predetermined threshold voltage (of the CPU 21). When it reaches below the operation guarantee voltage), it gives an interrupt signal to the CPU 21 to inform it of the low battery state.

ゲート回路26はCPU21からリード信号等、CPU21が動作し
ていることを示す動作中信号mによって開成されるスイ
ッチング用トランジスタで、電圧検出回路25に対する電
池電圧の供給を制御する。なお、CPU動作中信号mは、C
PU21がリード/ライト処理等を行っている動作中でハイ
レベル、キー入力待ち状態等のように非動作中でローレ
ベルとなる信号である。
The gate circuit 26 is a switching transistor which is opened by an operating signal m indicating that the CPU 21 is operating, such as a read signal from the CPU 21, and controls the supply of the battery voltage to the voltage detection circuit 25. The CPU operating signal m is C
This is a signal that goes high when the PU21 is performing read / write processing, and goes low when it is not operating, such as when waiting for a key input.

次に、本実施例の動作を第3図を参照して説明する。Next, the operation of this embodiment will be described with reference to FIG.

いま、CPU21から出力される動作中信号mは、第3図に
示すように、CPU21の動作に同期してローレベル、ハイ
レベルを繰り返す信号で、CPU21が非動作中のときに
は、ローレベルとなる。したがって、この場合には、ゲ
ート回路26が閉成され、電圧検出回路25に対して電池電
圧の供給を遮断する。この結果、電圧検出回路25は動作
中信号mがローレベルのときに動作停止状態となる。
Now, as shown in FIG. 3, the in-operation signal m output from the CPU 21 is a signal that repeats low level and high level in synchronization with the operation of the CPU 21, and becomes low level when the CPU 21 is not operating. . Therefore, in this case, the gate circuit 26 is closed to cut off the supply of the battery voltage to the voltage detection circuit 25. As a result, the voltage detection circuit 25 is in the operation stopped state when the operating signal m is at the low level.

また、CPU21が動作中のときには、動作中信号mはハイ
レベル、したがって、ゲート回路26が開成される為、電
圧検出回路25には電池電圧が供給され、ローバッテリ検
出を行う。
Further, when the CPU 21 is in operation, the in-operation signal m is at a high level, and therefore the gate circuit 26 is opened, so that the battery voltage is supplied to the voltage detection circuit 25 and low battery detection is performed.

このような動作はCPU21からの動作中信号mにしたがっ
て繰り返される結果、電圧検出回路25はローバッテリ検
出動作を開始しても一定時間(数μsec)後には停止状
態となる。この結果、電圧検出回路25はCPU21が動作す
るタイミング毎に数μsecの間だけ、ローバッテリ検出
動作を行い、CPU21が非動作中のときには電圧検出回路2
5の動作は停止される。このようにCPU21が非動作中のと
きに電圧検出回路25の動作を停止させたとしても、その
間のバッテリ効果は少なく、しかも、数μsec程度の間
だけ停止するので第3図に示す如く、電池電圧がしきい
値以下となった際に、電圧検出回路25の次の動作タイミ
ングでローバッテリ状態が検出され、CPU21に割込み信
号が与えられる。
Such an operation is repeated according to the in-operation signal m from the CPU 21, and as a result, the voltage detection circuit 25 remains in the stopped state after a fixed time (several μsec) even if the low battery detection operation is started. As a result, the voltage detection circuit 25 performs the low battery detection operation for several μsec each time the CPU 21 operates, and the voltage detection circuit 2 operates when the CPU 21 is not operating.
The operation of 5 is stopped. Thus, even if the operation of the voltage detection circuit 25 is stopped while the CPU 21 is not operating, the battery effect during that time is small, and the operation is stopped for a few μsec. Therefore, as shown in FIG. When the voltage becomes equal to or lower than the threshold value, the low battery state is detected at the next operation timing of the voltage detection circuit 25, and the interrupt signal is given to the CPU 21.

第4図は、CPU21の動作を説明する為のフローチャート
である。ここで、CPU21は電圧検出回路25から割込み信
号が入力されると、ローバッテリ状態の報知を行うと共
に現在実行中の処理を停止する。
FIG. 4 is a flow chart for explaining the operation of the CPU 21. Here, when the CPU 21 receives the interrupt signal from the voltage detection circuit 25, it notifies the low battery state and stops the process currently being executed.

即ち、ステップS1におけるキー入力待ち状態において、
キー入力が有ると、CPU21は動作中信号mを出力し、電
圧検出回路25を動作させる(ステップS2)。そして、電
圧検出回路25から割込信号が入力されたか否かを検出し
(ステップS3)、割込み無しが検出されると、キー入力
に応じた各種の処理(ステップS4)を行ったのち、ステ
ップS1に戻るが、割込み有りが検出されると、電圧降下
に伴う割込み処理ルーチンへ移行する。
That is, in the key input waiting state in step S1,
When there is a key input, the CPU 21 outputs the operating signal m to operate the voltage detection circuit 25 (step S2). Then, it is detected whether or not an interrupt signal is input from the voltage detection circuit 25 (step S3), and when no interrupt is detected, various processes corresponding to the key input (step S4) are performed, and then step Although the process returns to S1, if the presence of an interrupt is detected, the process proceeds to the interrupt processing routine accompanying the voltage drop.

この割込み処理は、電圧検出回路25からの割込み信号に
応じてローバッテリ状態を表示あるいはアラーム音等に
よって報知すると共に、現在実行中の処理を停止させ
る。
In this interrupt process, the low battery state is displayed or an alarm sound is given in response to the interrupt signal from the voltage detection circuit 25, and the process currently being executed is stopped.

このようにローバッテリ検出に応答してCPU21の処理を
停止させれば、誤処理を防止することができる。
In this way, by stopping the processing of the CPU 21 in response to the low battery detection, it is possible to prevent erroneous processing.

なお、電源電池としては一次電池の他、二次電池であっ
てもよく、また電池電圧検出手段としてはCPUの動作保
障電圧の他、表示装置や印字装置等の動作保障電圧を検
出するものであってもよい。
The power supply battery may be a secondary battery in addition to the primary battery, and the battery voltage detection means detects the operation guarantee voltage of the display device, the printer, etc. in addition to the operation guarantee voltage of the CPU. It may be.

また、時計回路を有する電子機器においてCPUから発生
されるクロック信号に同期して一定タイミング毎に、電
池電圧検出動作を行うようにしてもよい。
Further, in the electronic device having the clock circuit, the battery voltage detection operation may be performed at a constant timing in synchronization with the clock signal generated from the CPU.

[考案の効果] この考案は、中央処理装置の動作中に電池電圧の低下検
出を行い、中央処理装置が非動作中のときにはその検出
を停止するようにしたから、電池電圧を検出する為に消
費される電流を極力抑制し、無駄な電力消費を防止する
ことができる。
[Effect of the Invention] This invention detects the battery voltage drop during the operation of the central processing unit, and stops the detection when the central processing unit is not operating. It is possible to suppress the consumed current as much as possible and prevent wasteful power consumption.

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

第1図はこの考案のブロック回路図、第2図〜第4図は
実施例を示し、第2図はローバッテリ検出機能付き電子
機器のブロック回路図、第3図はローバッテリ検出機能
付き電子機器の動作を説明する為のタイムチャート、第
4図はCPU21の動作を説明する為のフローチャート、第
5図は従来のローバッテリ検出機能付き電子機器を説明
する為の図である。 21……CPU、22……ROM、25……電圧検出回路、26……ゲ
ート回路、m……動作中信号。
FIG. 1 is a block circuit diagram of the present invention, FIGS. 2 to 4 are embodiments, FIG. 2 is a block circuit diagram of an electronic device with a low battery detection function, and FIG. 3 is an electronic device with a low battery detection function. FIG. 4 is a time chart for explaining the operation of the device, FIG. 4 is a flow chart for explaining the operation of the CPU 21, and FIG. 5 is a diagram for explaining a conventional electronic device with a low battery detection function. 21 …… CPU, 22 …… ROM, 25 …… Voltage detection circuit, 26 …… Gate circuit, m …… Operating signal.

Claims (1)

【実用新案登録請求の範囲】[Scope of utility model registration request] 【請求項1】電池電圧を検出する電圧検出手段と、 各種の処理を行う中央処理装置と、 この中央処理装置が動作中であるか否かに基づいて前記
電圧検出手段の動作を制御する制御手段と、 を具備し、前記制御手段は前記中央処理装置が非動作中
の時に前記電圧検出手段の動作を禁止するようにしたこ
とを特徴とするローバッテリ検出機能付き電子機器。
1. A voltage detecting means for detecting a battery voltage, a central processing unit for performing various kinds of processing, and a control for controlling the operation of the voltage detecting means based on whether or not the central processing unit is in operation. An electronic device with a low-battery detection function, characterized in that the control means prohibits the operation of the voltage detection means when the central processing unit is not operating.
JP1988152542U 1988-11-25 1988-11-25 Electronic device with low battery detection function Expired - Lifetime JPH0726751Y2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1988152542U JPH0726751Y2 (en) 1988-11-25 1988-11-25 Electronic device with low battery detection function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1988152542U JPH0726751Y2 (en) 1988-11-25 1988-11-25 Electronic device with low battery detection function

Publications (2)

Publication Number Publication Date
JPH0273226U JPH0273226U (en) 1990-06-05
JPH0726751Y2 true JPH0726751Y2 (en) 1995-06-14

Family

ID=31427565

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1988152542U Expired - Lifetime JPH0726751Y2 (en) 1988-11-25 1988-11-25 Electronic device with low battery detection function

Country Status (1)

Country Link
JP (1) JPH0726751Y2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2515152B2 (en) * 1989-02-03 1996-07-10 富士通株式会社 Electronic circuit
JP4687478B2 (en) * 2006-01-31 2011-05-25 ぺんてる株式会社 Capacitive touch switch device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0658618B2 (en) * 1981-04-14 1994-08-03 株式会社ニコン Memory device

Also Published As

Publication number Publication date
JPH0273226U (en) 1990-06-05

Similar Documents

Publication Publication Date Title
KR920002754B1 (en) Microcomputer w/power saving function
KR970002550A (en) Information processing device and its control method
JPH0573016A (en) Display controller
KR0154556B1 (en) Electronic device having pseudo-sram
JPH0726751Y2 (en) Electronic device with low battery detection function
JP2004021476A (en) Portable terminal equipment
JPH10268986A (en) Information equipment
JPH07114401A (en) Ram backup circuit
US5569965A (en) Control method for reducing quiescent current
JPS6056638B2 (en) Electronic equipment with printer
JPH05297992A (en) Input circuit for programmable controller
JPH10333789A (en) Computer
JP2002063150A (en) Microcomputer
KR0182927B1 (en) Energy-saving circuit of monitor built-in type computer and method thereof
JPH06222862A (en) Power consumption controller
JPH11351917A (en) Portable recorder
KR890004512B1 (en) Printing control method for memory typewriter
JPH044276Y2 (en)
JPS6234082A (en) Circuit for detecting residual capacity of storage battery
JPH086661A (en) Computer system
JP3302149B2 (en) Computer system
JPH0572297A (en) Semiconductor integrated circuit
JPH08171437A (en) Power supply voltage monitoring device for portable terminal equipment
JPH06216724A (en) Comparator device and its clock supply controller
JP2000184116A (en) State detector