JPH05265599A - Power source supply device for microcomputer - Google Patents

Power source supply device for microcomputer

Info

Publication number
JPH05265599A
JPH05265599A JP4063609A JP6360992A JPH05265599A JP H05265599 A JPH05265599 A JP H05265599A JP 4063609 A JP4063609 A JP 4063609A JP 6360992 A JP6360992 A JP 6360992A JP H05265599 A JPH05265599 A JP H05265599A
Authority
JP
Japan
Prior art keywords
microcomputer
switch
power supply
power
switching element
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
JP4063609A
Other languages
Japanese (ja)
Inventor
Yoshinori Ueno
恵紀 上野
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 TEC Corp
Original Assignee
Tokyo Electric 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 Tokyo Electric Co Ltd filed Critical Tokyo Electric Co Ltd
Priority to JP4063609A priority Critical patent/JPH05265599A/en
Publication of JPH05265599A publication Critical patent/JPH05265599A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To suppress useless power consumption in a microcomputer by cutting off power supply to the microcomputer when electronic equipment controlled by the microcomputer is not used for a long period. CONSTITUTION:The microcomputer 1 reads in the output signal of a switch detecting part 5 when a reset signal is inputted from a reset signal generating part 9, and energizes a semiconductor switching element 7 by controlling a conduction circuit 8 when confirming the open state of a switch 4. After that, the microcomputer monitors the output signal of the switch detecting part 5, and performs prescribed post-processing in a state where the power source is disconnected when confirming the closed state of the switch 4, then, cuts off the energized state of the semiconductor element 7 by controlling the conduction circuit 8.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、マイクロコンピュータ
の電源供給装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a power supply device for a microcomputer.

【0002】[0002]

【従来の技術】マイクロコンピュータを備えた電子機器
は、一般に、マイクロコンピュータが主電源に対する電
源スイッチのオン、オフ状態を常時監視し、該電源スイ
ッチのオンを確認すると各種の電子機器構成部品を初期
化する等の所定の立上げ処理を行ない、該電源スイッチ
のオフを確認するとRAM(ランダム・アクセス・メモ
リ)の内容を不揮発性の記憶装置に書き込んで保持する
等の後処理を行なうようにしていた。
2. Description of the Related Art Generally, an electronic device equipped with a microcomputer is designed such that the microcomputer constantly monitors the on / off state of a power switch with respect to a main power source, and when the on / off state of the power switch is confirmed, various electronic device components are initialized. After confirming that the power switch has been turned off by performing a predetermined start-up process such as erasing, post-processing such as writing and holding the contents of RAM (random access memory) to a non-volatile storage device is performed. It was

【0003】このため、この種の電子機器はマイクロコ
ンピュータのみをバッテリで駆動するか、電源スイッチ
がオフされてもマイクロコンピュータには主電源から電
源供給が継続されるように回路構成して、電源スイッチ
オフ時にもマイクロコンピュータに駆動用の直流電源が
連続的に供給されるようにしていた。
Therefore, in this type of electronic equipment, only the microcomputer is driven by a battery, or a circuit is constructed so that the main power is continuously supplied to the microcomputer even when the power switch is turned off. Even when the switch was turned off, the driving DC power was continuously supplied to the microcomputer.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、従来は
主電源の電源スイッチがオフされてもマイクロコンピュ
ータには電源供給が行われていたため、該電子機器を長
期間使用しない場合等は電力の浪費が大きかった。
However, conventionally, since the microcomputer is still supplied with power even when the power switch of the main power supply is turned off, power is wasted when the electronic device is not used for a long period of time. It was great.

【0005】そこで本発明は、マイクロコンピュータの
機能を損なうことなく簡単な構成で、該マイクロコンピ
ュータに対する電力の浪費を防止できるマイクロコンピ
ュータの電源供給装置を提供しようとするものである。
Therefore, the present invention is intended to provide a power supply device for a microcomputer, which has a simple structure without impairing the function of the microcomputer and which can prevent power consumption of the microcomputer.

【0006】[0006]

【課題を解決するための手段】本発明は、マイクロコン
ピュータに駆動用の直流電源を供給するマイクロコンピ
ュータ用電源部と、この電源部とマイクロコンピュータ
とを接続する電源供給ラインに介在された自己復帰型の
スイッチと、このスイッチよりも下流側に接続され該電
源供給ラインの電圧が所定レベルまで上昇したときマイ
クロコンピュータにリセット信号を出力するリセット信
号発生部と、スイッチの閉成状態を検出するスイッチ検
出部と、電源供給ラインにスイッチと並列に接続された
半導体スイッチング素子と、この半導体スイッチング素
子を通電する通電回路とを設けるとともに、マイクロコ
ンピュータは、リセット信号が入力されるとスイッチ検
出部の出力信号を読込み、スイッチの閉成状態を確認し
たならば通電回路を制御して半導体スイッチング素子を
導通させる電源オン制御手段と、この手段により半導体
スイッチング素子が導通された状態でスイッチ検出部の
出力信号を監視し、スイッチの閉成状態を確認したなら
ば電源断時における所定の後処理を行った後、通電回路
を制御して半導体スイッチング素子の導通状態をしゃ断
する電源オフ制御手段とを備えたマイクロコンピュータ
の電源供給装置である。
According to the present invention, there is provided a microcomputer power supply unit for supplying a driving DC power supply to a microcomputer and a self-restoring interposed in a power supply line connecting the power supply unit and the microcomputer. Type switch, a reset signal generator connected downstream of the switch and outputting a reset signal to the microcomputer when the voltage of the power supply line rises to a predetermined level, and a switch for detecting the closed state of the switch A detection unit, a semiconductor switching element connected in parallel to the switch on the power supply line, and an energizing circuit for energizing the semiconductor switching element are provided, and the microcomputer outputs the output of the switch detection unit when a reset signal is input. After reading the signal and confirming the closed state of the switch, energizing circuit Power-on control means for controlling the conduction of the semiconductor switching element and the output signal of the switch detection part while the semiconductor switching element is conducting by this means, and confirming the closed state of the switch, the power is turned off. And a power-off control unit that cuts off the conduction state of the semiconductor switching element by controlling the energizing circuit after performing the predetermined post-processing in 1.

【0007】[0007]

【作用】このような構成の本発明であれば、電源部から
マイクロコンピュータに直流電源が供給されていない状
態でスイッチが閉成されると、該スイッチよりも下流側
で電源供給ラインの電圧が所定レベルまで上昇するの
で、リセット信号発生部からマイクロコンピュータにリ
セット信号が出力される。そうするとマイクロコンピュ
ータにより通電回路が制御されて半導体スイッチング素
子が導通する。これにより、スイッチは自己復帰型であ
るので自動的に開放されるが、半導体スイッチング素子
が導通状態にあるので、マイクロコンピュータへの電源
供給が継続される。
According to the present invention having such a configuration, when the switch is closed in the state where the direct current power is not supplied from the power supply unit to the microcomputer, the voltage of the power supply line is downstream from the switch. Since the voltage rises to the predetermined level, the reset signal generator outputs the reset signal to the microcomputer. Then, the microcomputer controls the energizing circuit to bring the semiconductor switching element into conduction. As a result, the switch is automatically opened because it is a self-reset type, but since the semiconductor switching element is in a conductive state, power supply to the microcomputer is continued.

【0008】この状態で、スイッチが再度閉成される
と、マイクロコンピュータにより電源断時における所定
の後処理が行われた後、通電回路が制御されて半導体ス
イッチング素子の導通状態がしゃ断される。これによ
り、電源部からマイクロコンピュータへの電源供給が停
止され、電力の浪費が防止される。
When the switch is closed again in this state, the microcomputer carries out a predetermined post-processing when the power is cut off, and then the energizing circuit is controlled to cut off the conduction state of the semiconductor switching element. As a result, the power supply from the power supply unit to the microcomputer is stopped, and the waste of power is prevented.

【0009】[0009]

【実施例】以下、本発明の一実施例を図面を参照しなが
ら説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings.

【0010】図1において、マイクロコンピュータ1は
電子機器の制御部本体を構成する。このマイクロコンピ
ュータ1は、電子機器の主電源とは別に設けられたバッ
テリ2から電源供給ライン3を通して供給される+5V
の直流電源によって駆動する。
In FIG. 1, a microcomputer 1 constitutes a control unit main body of an electronic device. This microcomputer 1 is supplied from a battery 2 provided separately from the main power source of electronic equipment through a power supply line 3 and + 5V.
It is driven by the DC power supply.

【0011】2つの常開接点41,42を並列に備えた
スイッチ4は自己復帰型のスイッチで、両常開接点4
1,42は連動する。一方の常開接点41は前記バッテ
リ2と前記マイクロコンピュータ1とを接続する電源供
給ライン3に介在される。他方の常開接点42は前記バ
ッテリ2とスイッチ検出部5とを接続するライン6に介
在される。
The switch 4 provided with two normally open contacts 41 and 42 in parallel is a self-reset type switch.
1, 42 are interlocked. One normally open contact 41 is interposed in the power supply line 3 that connects the battery 2 and the microcomputer 1. The other normally open contact 42 is interposed in the line 6 connecting the battery 2 and the switch detection unit 5.

【0012】スイッチ検出部5は、前記スイッチ4の閉
成状態を検出するもので、エミッタが接地されたNPN
型トランジスタ51と、このトランジスタ51のベース
と前記他方の常開接点42とを接続するラインに介在さ
れた抵抗52と、トランジスタ51のコレクタと前記電
源供給ライン3とを接続するラインに介在された抵抗5
2とで構成される。
The switch detection section 5 detects the closed state of the switch 4, and is an NPN whose emitter is grounded.
Type transistor 51, a resistor 52 interposed in the line connecting the base of the transistor 51 and the other normally open contact 42, and a line connecting the collector of the transistor 51 and the power supply line 3 Resistance 5
2 and.

【0013】半導体スイッチング素子であるPチャネル
型MOSFET(MOS−Filed Effect Transistor )
7は、ベース及びソースを前記電源供給ライン3におけ
る前記スイッチ4の上流側に接続し、ドレーンを前記電
源供給ライン3における前記スイッチ4の下流側に接続
している。すなわち、このMOSFET7は前記スイッ
チ4の一方の常開接点41と並列に前記電源供給ライン
3に接続される。
P-channel MOSFET (MOS-Filed Effect Transistor) which is a semiconductor switching element
Reference numeral 7 connects a base and a source to the upstream side of the switch 4 in the power supply line 3 and a drain to the downstream side of the switch 4 in the power supply line 3. That is, the MOSFET 7 is connected to the power supply line 3 in parallel with one normally open contact 41 of the switch 4.

【0014】このMOSFET7は、ゲートをNPN型
トランジスタ81のコレクタに接続し、ソースとゲート
との間を抵抗71を介して接続している。NPN型トラ
ンジスタ81はエミッタが接地されている。
In the MOSFET 7, the gate is connected to the collector of the NPN type transistor 81, and the source and the gate are connected via the resistor 71. The NPN transistor 81 has its emitter grounded.

【0015】リセット信号発生部9は、前記電源供給ラ
イン3の電圧を監視し、所定レベルまで上昇したとき前
記マイクロコンピュータ1にリセット信号を出力するも
のである。
The reset signal generator 9 monitors the voltage of the power supply line 3 and outputs a reset signal to the microcomputer 1 when the voltage rises to a predetermined level.

【0016】マイクロコンピュータ1のリセット端子R
は前記リセット信号発生部9に接続され、電源端子Vは
前記電源供給ライン3に接続される。また、このマイク
ロコンピュータ1の入力ポートJは前記スイッチ検出部
5におけるトランジスタ51のコレクタに接続され、出
力ポートQは抵抗82を介して前記トランジスタ81の
ベースに接続される。トランジスタ81及び抵抗82
は、前記半導体スイッチング素子であるMOSFETを
通電する通電回路8を構成する。
Reset terminal R of the microcomputer 1
Is connected to the reset signal generator 9, and the power supply terminal V is connected to the power supply line 3. The input port J of the microcomputer 1 is connected to the collector of the transistor 51 in the switch detector 5, and the output port Q is connected to the base of the transistor 81 via the resistor 82. Transistor 81 and resistor 82
Constitutes an energizing circuit 8 for energizing the MOSFET which is the semiconductor switching element.

【0017】マイクロコンピュータ1は、特に図2に示
す制御を実行するようにプログラム構成されている。こ
の制御はリセット端子Rにリセット信号が入力されると
開始される。
The microcomputer 1 is programmed so as to execute the control shown in FIG. This control is started when a reset signal is input to the reset terminal R.

【0018】先ず、ST1で入力ポートJに入力されて
いる信号、すなわちスイッチ検出部5の出力信号を読込
む。そして、この信号がローレベル“L”であることを
確認すると、スイッチ4が閉成されたので、ST2で出
力ポートQの信号レベルをハイレベル“H”として通電
回路8のトランジスタ81をオンさせ、MOSFET7
を導通させる。(電源オン制御手段) 次に、ST3で入力ポートJの入力信号を読込み、ハイ
レベル“H”であることを確認したならばスイッチ4が
正常に自動復帰して開放されたので、ST4で予め設定
された電源立上げ後の処理を実行し、実行後、ST5で
通常の処理に入る。
First, in ST1, the signal input to the input port J, that is, the output signal of the switch detector 5 is read. Then, when it is confirmed that this signal is at the low level "L", the switch 4 is closed. Therefore, at ST2, the signal level of the output port Q is set to the high level "H" to turn on the transistor 81 of the energizing circuit 8. , MOSFET7
To conduct. (Power-on control means) Next, if the input signal of the input port J is read in ST3 and it is confirmed that it is at the high level "H", the switch 4 is automatically restored to normal and opened. The processing after the set power-up is executed, and after the execution, the normal processing is started in ST5.

【0019】マイクロコンピュータ1は、この通常の処
理を実行中でも常時入力ポートJの入力信号を監視して
いる。そして、ST6で入力ポートJの入力信号がロー
レベル“L”に変化したことを確認したならば、スイッ
チ4が再度閉成されたので、ST7で予め設定された電
源断後の処理を実行する。そして、この後処理を終了し
たならば、ST8で出力ポートQの信号レベルをローレ
ベル“L”にして通電回路8のトランジスタ81をオフ
させ、MOSFET7の導通状態をしゃ断する。(電源
オフ制御手段) このような構成の本実施例においては、マイクロコンピ
ュータ1にバッテリ2からの直流電源が供給されていな
い状態でスイッチ4が閉成されると、電源供給ライン3
にバッテリ2からの+5V直流電源が供給される。これ
により、マイクロコンピュータ1が起動するとともに、
リセット信号発生部9からはマイクロコンピュータ1に
リセット信号が送出される。しかして、マイクロコンピ
ュータ1では図2に示す制御が開始される。
The microcomputer 1 constantly monitors the input signal of the input port J even while executing this normal processing. Then, if it is confirmed in ST6 that the input signal of the input port J has changed to the low level "L", the switch 4 is closed again. Therefore, in ST7, the preset processing after power-off is executed. .. When this post-processing is completed, the signal level of the output port Q is set to the low level "L" in ST8 to turn off the transistor 81 of the energizing circuit 8 and cut off the conduction state of the MOSFET 7. (Power Off Control Unit) In the present embodiment having such a configuration, when the switch 4 is closed in a state where the DC power from the battery 2 is not supplied to the microcomputer 1, the power supply line 3
A + 5V DC power source from the battery 2 is supplied to. This starts the microcomputer 1 and
A reset signal is sent from the reset signal generator 9 to the microcomputer 1. Then, the microcomputer 1 starts the control shown in FIG.

【0020】このとき、スイッチ検出部5のトランジス
タ51はスイッチ4が自動復帰するまでオンしており、
マイクロコンピュータ1の入力ポートJに入力される信
号はローレベル“L”となっている。よって、マイクロ
コンピュータ1の出力ポートQからハイレベル“H”の
信号が出力される。
At this time, the transistor 51 of the switch detector 5 is on until the switch 4 is automatically restored,
The signal input to the input port J of the microcomputer 1 is at low level "L". Therefore, a high level “H” signal is output from the output port Q of the microcomputer 1.

【0021】そうすると、通電回路8のトランジスタ8
1がオンし、MOSFET7が導通する。従って、スイ
ッチ4は一定時間経過後に自動復帰して開放されるが、
MOSFET7が導通しているので、バッテリ2からの
+5V直流電源は電源供給ライン3に供給され続ける。
マイクロコンピュータ1は電源立上げ後の処理を行った
後、通常の処理に入る。
Then, the transistor 8 of the energizing circuit 8
1 is turned on and the MOSFET 7 is turned on. Therefore, the switch 4 is automatically restored after a certain period of time and opened,
Since the MOSFET 7 is conducting, the + 5V DC power from the battery 2 is continuously supplied to the power supply line 3.
The microcomputer 1 performs normal processing after performing the processing after the power is turned on.

【0022】その後、スイッチ4が再度閉成されると、
マイクロコンピュータ1の入力端子Jに入力されている
信号がハイレベル“H”からローレベル“L”に変化す
る。これにより、マイクロコンピュータ1では電源断後
の処理が行われる。そして、この後処理が終了したなら
ば、出力ポートQから出力されている信号がハイレベル
“H”からローレベル“L”に変化する。
After that, when the switch 4 is closed again,
The signal input to the input terminal J of the microcomputer 1 changes from the high level "H" to the low level "L". As a result, the microcomputer 1 performs the process after the power is turned off. When the post-processing is completed, the signal output from the output port Q changes from the high level "H" to the low level "L".

【0023】そうすると、通電回路8のトランジスタ8
1がオフし、MOSFET7の導通状態がしゃ断され
る。従って、スイッチ4も自動復帰して開放されるの
で、電源供給ライン3にバッテリ2からの電源供給が行
われなくなる。その結果、マイクロコンピュータ1はそ
の動作を停止する。
Then, the transistor 8 of the energizing circuit 8
1 is turned off, and the conduction state of MOSFET 7 is cut off. Accordingly, the switch 4 is also automatically restored and opened, so that the power supply line 3 is not supplied with power from the battery 2. As a result, the microcomputer 1 stops its operation.

【0024】このように本実施例装置は、マイクロコン
ピュータ1に駆動用の直流電源を供給するバッテリ2
と、このバッテリ2とマイクロコンピュータ1とを接続
する電源供給ライン3に自己復帰型のスイッチ4を設け
ている。また、このスイッチ4よりも下流側に該電源供
給ライン3の電圧が所定レベルまで上昇したときマイク
ロコンピュータ1にリセット信号を出力するリセット信
号発生部9を設けるとともに、スイッチ4の閉成状態を
検出するスイッチ検出部5を設けている。さらに、スイ
ッチ3と並列にMOSFET7を接続するとともに、こ
のMOSFET7を通電する通電回路8を設けている。
As described above, the apparatus according to the present embodiment has the battery 2 that supplies the driving DC power to the microcomputer 1.
A self-reset type switch 4 is provided on a power supply line 3 that connects the battery 2 and the microcomputer 1. Further, a reset signal generator 9 for outputting a reset signal to the microcomputer 1 when the voltage of the power supply line 3 rises to a predetermined level is provided on the downstream side of the switch 4, and the closed state of the switch 4 is detected. The switch detection unit 5 is provided. Further, a MOSFET 7 is connected in parallel with the switch 3 and an energizing circuit 8 for energizing the MOSFET 7 is provided.

【0025】そして、マイクロコンピュータ1は、リセ
ット信号が入力されるとスイッチ検出部5の出力信号を
読込み、スイッチ4の閉成状態を確認したならば通電回
路8を制御してMOSFET7を導通させる。また、こ
のMOSFET7が導通された状態でスイッチ検出部5
の出力信号を監視し、スイッチ4の閉成状態を確認した
ならば電源断時における所定の後処理を行った後、通電
回路8を制御してMOSFET7の導通状態をしゃ断す
るようにプログラム制御されている。
When the reset signal is input, the microcomputer 1 reads the output signal of the switch detector 5 and, when the closed state of the switch 4 is confirmed, controls the energizing circuit 8 to make the MOSFET 7 conductive. In addition, the switch detector 5 with the MOSFET 7 turned on.
If the closed state of the switch 4 is confirmed by monitoring the output signal of the switch 4, after performing predetermined post-processing when the power is cut off, the energizing circuit 8 is controlled to program-control so as to cut off the conduction state of the MOSFET 7. ing.

【0026】従って、当該マイクロコンピュータ1によ
って制御される電子機器の使用を開始する場合、ユーザ
は主電源の電源スイッチとは別にスイッチ4を押下す
る。そうすると、マイクロコンピュータ1にバッテリ2
の電源が供給されるとともにリセット信号発生部9から
リセット信号が入力されて、マイクロコンピュータ1は
起動する。そして、MOSFET7が導通してマイクロ
コンピュータ1への電源供給が継続される。よって、マ
イクロコンピュータ1は主電源の電源スイッチを監視す
る等の通常処理が可能となる。
Therefore, when starting to use the electronic device controlled by the microcomputer 1, the user presses the switch 4 separately from the power switch of the main power supply. Then, the microcomputer 1 and the battery 2
Is supplied and a reset signal is input from the reset signal generator 9 to start the microcomputer 1. Then, the MOSFET 7 becomes conductive and the power supply to the microcomputer 1 is continued. Therefore, the microcomputer 1 can perform normal processing such as monitoring the power switch of the main power supply.

【0027】一方、当該電子機器を長期間使用しない場
合、ユーザは主電源の電源スイッチとは別に前記スイッ
チ4を押下する。そうすると、マイクロコンピュータ1
において所定の電源断後の処理が行われた後、MOSF
ET7の導通状態がしゃ断される。これによりマイクロ
コンピュータ1への電源供給が断たれるので、バッテリ
2における電力の浪費が防止され、バッテリ2の長寿命
化を図り得る。
On the other hand, when the electronic device is not used for a long time, the user presses the switch 4 separately from the power switch of the main power source. Then, the microcomputer 1
After the processing after the predetermined power-off in the
The conduction state of ET7 is cut off. As a result, the power supply to the microcomputer 1 is cut off, so that the power consumption of the battery 2 can be prevented and the life of the battery 2 can be extended.

【0028】この場合において、電源供給ライン3に介
在されるスイッチとして、2つの常開接点41,42を
並列に備えた自己復帰型のスイッチ4を使用し、このス
イッチと並列に接続されるスイッチング手段としてMO
SFET7を使用している。従って、このスイッチ4の
閉成状態を検出するスイッチ検出部5は1個のトランジ
スタ51と2個の抵抗52,53で構成できる。また、
通電回路8は1個のトランジスタ81と1個の抵抗82
で構成できる。従って回路構成が簡単で、安価に実現で
きる。
In this case, a self-reset type switch 4 having two normally open contacts 41, 42 in parallel is used as a switch interposed in the power supply line 3, and a switching connected in parallel with this switch. MO as a means
SFET7 is used. Therefore, the switch detection unit 5 for detecting the closed state of the switch 4 can be composed of one transistor 51 and two resistors 52 and 53. Also,
The energizing circuit 8 includes one transistor 81 and one resistor 82.
Can be configured with. Therefore, the circuit configuration is simple and can be realized at low cost.

【0029】なお、前記実施例ではマイクロコンピュー
タ用の電源部としてバッテリ2を示したが、電子機器の
主電源で生成される+5Vの直流電源を使用してもよ
い。この場合も、スイッチ4の2回目の操作でマイクロ
コンピュータ1への電源供給がしゃ断されるので、主電
源の電力浪費を低減できる。
Although the battery 2 is shown as the power source for the microcomputer in the above embodiment, a + 5V DC power source generated by the main power source of electronic equipment may be used. Also in this case, since the power supply to the microcomputer 1 is cut off by the second operation of the switch 4, the power consumption of the main power supply can be reduced.

【0030】また、前記実施例では2つの常開接点4
1,42を並列に備えた自己復帰型のスイッチ4を使用
したが、1つの接点しかもたない自己復帰型のスイッチ
を使用することもできる。この場合、スイッチ検出部5
としてはスイッチ4の動作を機械的に検出するセンサ
(リミットスイッチや光センサ等)を使用することが考
えられる。
Further, in the above embodiment, two normally open contacts 4 are provided.
Although the self-recovery type switch 4 having 1, 42 in parallel is used, a self-recovery type switch having only one contact may be used. In this case, the switch detector 5
For this, it is conceivable to use a sensor (such as a limit switch or an optical sensor) that mechanically detects the operation of the switch 4.

【0031】この他、本発明の要旨を逸脱しない範囲で
種々変形実施可能であるのは勿論である。
In addition, various modifications can be made without departing from the scope of the invention.

【0032】[0032]

【発明の効果】以上詳述したように本発明によれば、マ
イクロコンピュータの機能を損なうことなく簡単な構成
で、該マイクロコンピュータに対する電力の浪費を防止
できるマイクロコンピュータの電源供給装置を提供でき
る。
As described in detail above, according to the present invention, it is possible to provide a power supply device for a microcomputer, which has a simple structure and does not impair the function of the microcomputer, and which can prevent power consumption of the microcomputer.

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

【図1】本発明の一実施例の構成を示す回路図。FIG. 1 is a circuit diagram showing a configuration of an embodiment of the present invention.

【図2】同実施例におけるマイクロコンピュータの主要
な制御を示す流れ図。
FIG. 2 is a flowchart showing main control of the microcomputer in the embodiment.

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

1…マイクロコンピュータ、 2…バッテリ(マイクロコンピュータ用電源部)、 3…電源供給ライン、 4…スイッチ、 5…スイッチ検出部、 7…MOSFET(半導体スイッチング素子)、 8…通電回路、 9…リセット信号発生部。 DESCRIPTION OF SYMBOLS 1 ... Microcomputer, 2 ... Battery (microcomputer power supply part), 3 ... Power supply line, 4 ... Switch, 5 ... Switch detection part, 7 ... MOSFET (semiconductor switching element), 8 ... Energizing circuit, 9 ... Reset signal Generation part.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 マイクロコンピュータに駆動用の直流電
源を供給するマイクロコンピュータ用電源部と、この電
源部と前記マイクロコンピュータとを接続する電源供給
ラインに介在された自己復帰型のスイッチと、このスイ
ッチよりも下流側に接続され該電源供給ラインの電圧が
所定レベルまで上昇したとき前記マイクロコンピュータ
にリセット信号を出力するリセット信号発生部と、前記
スイッチの閉成状態を検出するスイッチ検出部と、前記
電源供給ラインに前記スイッチと並列に接続された半導
体スイッチング素子と、この半導体スイッチング素子を
通電する通電回路とを設けるとともに、 前記マイクロコンピュータは、前記リセット信号が入力
されると前記スイッチ検出部の出力信号を読込み、前記
スイッチの閉成状態を確認したならば前記通電回路を制
御して前記半導体スイッチング素子を導通させる電源オ
ン制御手段と、この手段により前記半導体スイッチング
素子が導通された状態で前記スイッチ検出部の出力信号
を監視し、前記スイッチの閉成状態を確認したならば電
源断時における所定の後処理を行った後、前記通電回路
を制御して半導体スイッチング素子の導通状態をしゃ断
する電源オフ制御手段とを備えたことを特徴とするマイ
クロコンピュータの電源供給装置。
1. A power supply unit for a microcomputer for supplying a driving DC power supply to the microcomputer, a self-reset type switch interposed in a power supply line connecting the power supply unit and the microcomputer, and this switch. A reset signal generator connected downstream of the power supply line and outputting a reset signal to the microcomputer when the voltage of the power supply line rises to a predetermined level; a switch detector that detects a closed state of the switch; A semiconductor switching element connected in parallel to the switch in a power supply line and an energizing circuit for energizing the semiconductor switching element are provided, and the microcomputer outputs the switch detection section when the reset signal is input. Do not read the signal and confirm the closed state of the switch. For example, power-on control means for controlling the energizing circuit to make the semiconductor switching element conductive, and monitoring the output signal of the switch detector in a state where the semiconductor switching element is made conductive by this means, and closing the switch. A microcomputer provided with a power-off control means for controlling the energizing circuit to shut off the conduction state of the semiconductor switching element after performing a predetermined post-processing when the power is turned off if the state is confirmed. Power supply device.
JP4063609A 1992-03-19 1992-03-19 Power source supply device for microcomputer Pending JPH05265599A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4063609A JPH05265599A (en) 1992-03-19 1992-03-19 Power source supply device for microcomputer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4063609A JPH05265599A (en) 1992-03-19 1992-03-19 Power source supply device for microcomputer

Publications (1)

Publication Number Publication Date
JPH05265599A true JPH05265599A (en) 1993-10-15

Family

ID=13234210

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4063609A Pending JPH05265599A (en) 1992-03-19 1992-03-19 Power source supply device for microcomputer

Country Status (1)

Country Link
JP (1) JPH05265599A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11296265A (en) * 1998-04-15 1999-10-29 Matsushita Electric Ind Co Ltd Power switch monitor circuit
JP2002373037A (en) * 2001-03-30 2002-12-26 Fuji Photo Film Co Ltd Power source controller
JP2008517395A (en) * 2004-10-20 2008-05-22 コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ Power control circuit with low power consumption
JP2014130735A (en) * 2012-12-28 2014-07-10 Dainippon Printing Co Ltd Power supply switch circuit, and battery drive type device
KR101444182B1 (en) * 2013-04-03 2014-09-26 (주)아이디온 Self reset device
WO2020195489A1 (en) * 2019-03-28 2020-10-01 テルモ株式会社 Power supply control circuit, and medical liquid administration device comprising said power supply control circuit

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11296265A (en) * 1998-04-15 1999-10-29 Matsushita Electric Ind Co Ltd Power switch monitor circuit
JP2002373037A (en) * 2001-03-30 2002-12-26 Fuji Photo Film Co Ltd Power source controller
JP2008517395A (en) * 2004-10-20 2008-05-22 コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ Power control circuit with low power consumption
JP2014130735A (en) * 2012-12-28 2014-07-10 Dainippon Printing Co Ltd Power supply switch circuit, and battery drive type device
KR101444182B1 (en) * 2013-04-03 2014-09-26 (주)아이디온 Self reset device
WO2020195489A1 (en) * 2019-03-28 2020-10-01 テルモ株式会社 Power supply control circuit, and medical liquid administration device comprising said power supply control circuit
CN113573755A (en) * 2019-03-28 2021-10-29 泰尔茂株式会社 Power supply control circuit and liquid medicine dispensing device with same
EP3925644A4 (en) * 2019-03-28 2022-04-13 TERUMO Kabushiki Kaisha Power supply control circuit, and medical liquid administration device comprising said power supply control circuit
US11733759B2 (en) 2019-03-28 2023-08-22 Terumo Kabushiki Kaisha Power supply control circuit and drug solution administration apparatus including the power supply control circuit
CN113573755B (en) * 2019-03-28 2023-09-08 泰尔茂株式会社 Power supply control loop and medicine liquid throwing device with same

Similar Documents

Publication Publication Date Title
JP5538927B2 (en) Electronic apparatus and image forming apparatus
JPH0556577A (en) Power supply controller
JPS59206231A (en) Safety device for regulator, which can be operated by manual operation or programming, of seat
JPH05265599A (en) Power source supply device for microcomputer
JPH06208423A (en) Power supply circuit
JP2000050526A (en) Power supply controller
JP2001228937A (en) Power down circuit
JP3492150B2 (en) Battery-powered equipment
JP2522689Y2 (en) Computer voltage monitoring circuit
JPH06339233A (en) Power source switching apparatus
JPH081578B2 (en) Power supply switching control device
JPH08205400A (en) Power supply circuit for electronic apparatus
JPH044276Y2 (en)
JP2000138023A (en) Reverse voltage protection device
JPH05233107A (en) Power source controller
JP3060841B2 (en) Sound equipment
JPH1118414A (en) Power supply controller
JPH0744709Y2 (en) Automotive timer mechanism
JPH0751628Y2 (en) Microcomputer reset device
JPH0326685Y2 (en)
JP2003199334A (en) Power supply circuit and method of feeding power
JPH05265600A (en) Power source controller
KR950002644B1 (en) Direct power source
JPH0614384Y2 (en) Latching relay drive circuit
JPS647701B2 (en)