JPH02246738A - Power unit - Google Patents
Power unitInfo
- Publication number
- JPH02246738A JPH02246738A JP1067024A JP6702489A JPH02246738A JP H02246738 A JPH02246738 A JP H02246738A JP 1067024 A JP1067024 A JP 1067024A JP 6702489 A JP6702489 A JP 6702489A JP H02246738 A JPH02246738 A JP H02246738A
- Authority
- JP
- Japan
- Prior art keywords
- power supply
- backup
- voltage
- microcomputer
- secondary battery
- 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
Landscapes
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
Abstract
Description
【発明の詳細な説明】
産業上の利用分野
本発明は、マイクロコンピュータを利用する装置におけ
る電源装置、特にバックアップ電源を利用した電源装置
に関するものである。DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a power supply device in an apparatus using a microcomputer, and particularly to a power supply device using a backup power source.
従来の技術 近年、マイクロコンピュータを応用した装置は。Conventional technology In recent years, devices using microcomputers have been developed.
急激に増加し、各種の装置にマイクロコンピュータが搭
載されるようになった。The number of computers has rapidly increased, and microcomputers have come to be installed in various types of equipment.
以下図面を参照しながら従来のバックアップ電源を備え
たマイクロコンピュータの電源回路の一例について説明
する。An example of a power supply circuit for a microcomputer equipped with a conventional backup power supply will be described below with reference to the drawings.
第6図は従来のバックアップ電源を備えたマイクロコン
ピュータの電源回路を示すものである。FIG. 6 shows a power supply circuit for a microcomputer equipped with a conventional backup power supply.
1′ハマイクロコンピユータで、1′ムの制御手段と1
7C−のメモリーを備えている。2はバックアップ用2
次電池で、4は操作スイッチ、5,6.7はトランジス
タ、3,9,10.11は抵抗である。1' microcomputer, 1' control means and 1'
Equipped with 7C- memory. 2 is for backup 2
In the secondary battery, 4 is an operation switch, 5, 6.7 are transistors, and 3, 9, 10.11 are resistors.
以上のように構成されたバックアップ電源を備えたマイ
クロコンピュータの電源回路について、以下その動作に
ついて説明する。The operation of the microcomputer power supply circuit equipped with the backup power supply configured as described above will be described below.
マス、マイクロコンピュータ1′のメモリー1′Gは、
バックアップ用2次電池2により、外部電源がなくとも
保持される。通常使用する場合、操作スイッチ4を一度
オンすることにより、トランジスタ6がオンし、トラン
ジスタ7がオンし、そしてトランジスタ6がオンしてマ
イクロコンピュータ1′に外部より電源が供給されると
ともに、トランジスタ6のオンした信号が予め設定され
た制御手段17ムに入力されると保持出力を出し、トラ
ンジスタ7をオンし続けさせ、外部電源を継続して供給
させるようになっている。一方、オフ時には操作スイッ
チ4を再度オンさせ制御手段1′ムにトランジスタ6の
オン信号を入力させることにより。The memory 1'G of the microcomputer 1' is
The backup secondary battery 2 can be maintained even without an external power source. In normal use, by turning on the operation switch 4 once, the transistor 6 is turned on, the transistor 7 is turned on, and the transistor 6 is turned on, and power is supplied from the outside to the microcomputer 1', and the transistor 6 is turned on. When the ON signal is input to the preset control means 17, a holding output is output, the transistor 7 is kept on, and the external power is continuously supplied. On the other hand, when it is off, the operation switch 4 is turned on again and the on signal of the transistor 6 is inputted to the control means 1'.
制御手段1′ムからのトランジスタ7を保持する信号を
なくシ、トランジスタ6をオフして外部電源からの供給
を止めている。The signal for holding the transistor 7 from the control means 1' is removed, the transistor 6 is turned off, and the supply from the external power source is stopped.
発明が解決しようとする課題
しかしながら、上記のような構成では、外部電源からの
供給がされなくなったバックアップの時に、その時間が
長いとマイクロコンピュータニ供給される電圧が徐々に
低下し、いずれメモリーオフ電圧に達し、メモリーが消
滅してしまうという問題点を有していた。また、よりバ
ックアップ時間を長くするために、バックアップ用2次
電池をより大きくせねばならなくなり、装置が小型化で
きないという問題点を有していた。Problems to be Solved by the Invention However, with the above configuration, if the external power is not supplied for a long time during backup, the voltage supplied to the microcomputer will gradually decrease, and eventually the memory will turn off. The problem was that the voltage reached the point where the memory was erased. Furthermore, in order to extend the backup time, the backup secondary battery must be made larger, which poses a problem in that the device cannot be miniaturized.
本発明は上記問題点に鑑み、バックアップ時のメモリー
オフ電圧に達する時間を長くシ、かつ、装置の小型化を
図ることができるバックアップ電源を備えたマイクロコ
ンピュータの電源装置を提供するものである。SUMMARY OF THE INVENTION In view of the above-mentioned problems, the present invention provides a power supply device for a microcomputer that is equipped with a backup power source that can extend the time required to reach the memory off voltage during backup, and can reduce the size of the device.
課題を解決するための手段
上記問題点を解決するために本発明の電源装置は、マイ
クロコンピュータの中に電源電圧を検出する検出手段を
備え、バックアップ電源の電圧状態に応じて外部電圧供
給オフ後にマイクロコンピュータの制御手段から指示を
出し、予め時間設定されたタイマー手段より出力信号を
出し、外部電源からバックアップ用2次電池を予め時間
設定された時間だけ充電するという構成を備えたもので
ある。Means for Solving the Problems In order to solve the above problems, the power supply device of the present invention includes a detection means for detecting the power supply voltage in the microcomputer, and detects the power supply voltage after the external voltage supply is turned off according to the voltage state of the backup power supply. This device is configured to issue an instruction from a microcomputer control means, issue an output signal from a timer means with a preset time, and charge a backup secondary battery from an external power source for a preset time.
作用
本発明は、上記した構成によってバックアップ電源の電
圧レベルがマイクロコンピュータのメモリーリセット電
圧以下の状態の時にマイクロコンピュータに外部電源か
ら供給され、そして、供給停止後になってタイマー設定
時間分だけバックアップ用2次電池を外部電源から充電
するように制御を行なうことにより、通常マイクロコン
ピュータを操作するスイッチによるマイクロコンピュー
タへの外部電源からの供給時間が短かく、かつ、外部電
源からの供給停止時のバックアップ用2次電池の電圧が
低い時にも予め設定された時間分だけ、バックアップ用
2次電池が充電され、充電停止後の出力電圧を充分上昇
させることで、メモリーの消滅は皆無になるものである
。また、バックアップ用2次電池を小型にすることが可
能になることにより装置を小型に構成できるものである
。Effect of the present invention With the above-described configuration, when the voltage level of the backup power source is lower than the memory reset voltage of the microcomputer, the microcomputer is supplied with the external power source, and after the supply is stopped, the backup power source 2 is supplied for the timer setting time. By controlling the next battery to be charged from an external power source, the time required to supply the external power to the microcomputer using a switch that normally operates the microcomputer can be shortened, and it can also be used as a backup when the external power supply stops. Even when the voltage of the secondary battery is low, the backup secondary battery is charged for a preset time, and the output voltage is sufficiently increased after charging is stopped, thereby eliminating memory loss. Furthermore, since the backup secondary battery can be made smaller, the device can be made smaller.
実施例
以下本発明の一実施例の電源装置について、図面を参照
しながら説明する。Embodiment Hereinafter, a power supply device according to an embodiment of the present invention will be described with reference to the drawings.
第1図は本発明の第1の実施例の電源装置を示すブロッ
ク図、第2図はその制御フローチャート、第3図はその
操作スイッチに対するタイミングチャート、第4図は本
発明の第2の実施例を示す電源装置のブロック図である
。FIG. 1 is a block diagram showing a power supply device according to a first embodiment of the present invention, FIG. 2 is a control flowchart thereof, FIG. 3 is a timing chart for its operation switches, and FIG. 4 is a diagram showing a second embodiment of the present invention. FIG. 2 is a block diagram of an example power supply device.
第1図において、1はマイクロコンピュータ、1Bはマ
イクロコンピュータ電源電圧を検出する検出手段、1D
はタイマー手段、8はタイマー手段1Dによってオンオ
フするトランジスタである。In FIG. 1, 1 is a microcomputer, 1B is a detection means for detecting the microcomputer power supply voltage, and 1D is a detection means for detecting the microcomputer power supply voltage.
is a timer means, and 8 is a transistor that is turned on and off by the timer means 1D.
従来例で説明したように、操作スイッチ4が一度オンす
れば、マイクロコンピュータ1の制i手段1ムからの電
源保持指示により、トランジスタ7はオンし、トランジ
スタ6により外部電源が供給さ、れる。そして、操作ス
イッチ4をさらにもう一度オンさせると、トランジスタ
7はオフとなり、トランジスタ6もオフとなり、マイク
ロコンピュータはバックアップモードとなり、バックア
ップ用2次電池より、電圧が供給される。ただし、操作
スイッチが一度目オンになる時に、バックアップモード
の時のマイクロコンピュータ1の電源電圧が、メモIJ
−10のリセット電圧以下の場合は。As explained in the conventional example, once the operation switch 4 is turned on, the transistor 7 is turned on in response to a power hold instruction from the control means 1 of the microcomputer 1, and external power is supplied by the transistor 6. Then, when the operation switch 4 is turned on again, the transistor 7 is turned off, and the transistor 6 is also turned off, and the microcomputer enters the backup mode, and voltage is supplied from the backup secondary battery. However, when the operation switch is turned on for the first time, the power supply voltage of the microcomputer 1 in the backup mode is
-10 reset voltage or less.
l@2図のフローチャートに示すように、操作スイッチ
4の二度目のオン後、タイマー動作指令に入り、第3図
に示すようにトランジスタ7はオフになっても、タイマ
ー用のトランジスタ8がオンし、トランジスタ6がオン
して外部電源よりバックアップ用2次電池2に予め設定
されたタイマー時間分だけ充電が継続され、タイマーオ
フ後のバックアップ用2次電池の電圧は十分高いものと
なる。As shown in the flowchart in Figure 1@2, after the operation switch 4 is turned on for the second time, a timer operation command is entered, and as shown in Figure 3, even though the transistor 7 is turned off, the timer transistor 8 is turned on. However, the transistor 6 is turned on and charging of the backup secondary battery 2 from the external power source continues for a preset timer period, and the voltage of the backup secondary battery becomes sufficiently high after the timer is turned off.
以上のように本実施例によれば、マイクロコンピュータ
の電源電圧の立上る時の電圧を検出する検出手段により
、メモリーのリセット電圧以下よりマイクロコンピュー
タの電源電圧が立ち上がった時にのみ、バックアップモ
ードに入っても、予め設定されたタイマー手段によって
バックアップ用2次電池を充電する回路を設けることに
より。As described above, according to this embodiment, the detection means that detects the rising voltage of the microcomputer's power supply enters the backup mode only when the microcomputer's power supply voltage rises below the memory reset voltage. However, by providing a circuit that charges the backup secondary battery using a preset timer means.
バックアップ用2次電池の電圧は通常操作スイッチによ
る外部電源印加時間が短かくても十分高いものとなり、
バックアップ時間の長時間化が図られ、メモリーは従来
と比べて容易にリセットされなくすることができるもの
である。ま九、従来とバックアップ時間を同程度とする
ならば、バックアップ用2次電池を小型にすることがで
き、装置をより小型化することができる。The voltage of the backup secondary battery will be sufficiently high even if the external power supply time using the normal operation switch is short.
The backup time can be extended, and the memory can be prevented from being reset more easily than in the past. (9) If the backup time is the same as in the past, the backup secondary battery can be made smaller, and the device can be made more compact.
第4図はマイクロコンピュータ1の動作電圧が、外部電
源の電圧Vaaよりも高い場合を示す。DC−DCコン
バータ19は外部電源の電圧をマイクロコンピュータ1
の動作電圧まで直流電圧増幅するものであり、第1図に
示す操作スイッチ4の入力信号をトランジスタ13,1
4.15によってトランジスタ6及び7に伝えており、
動作そのものは、第1の実施例と同様である。。FIG. 4 shows a case where the operating voltage of the microcomputer 1 is higher than the voltage Vaa of the external power supply. The DC-DC converter 19 converts the voltage of the external power supply into the microcomputer 1.
The input signal of the operation switch 4 shown in FIG.
4.15 to transistors 6 and 7,
The operation itself is similar to the first embodiment. .
第2の実施例のように、電圧が異なる場合は特にパ2ツ
クアップ用の電源を一次電池にすることが多く、そうす
れば取り換え可能にするような重付は構造が必要となる
。つまり、Do−DCコンバータを外部電源供給トラン
ジスタとマイクロコンピュータの電源端子との間に配置
し、マイクロコンピュータのバッファラグ電源に2次電
池を使用する構成にし、他の検出・制御・タイマーの方
式を第1の実施例と同等にすることにより、第1の実施
例以上に小型化の効果が大きく、タイマー動作をリセッ
ト電圧以下より立ち上った時にのみ動作させることで、
外部電源の電力消費を極力押えることができる。As in the second embodiment, when the voltages are different, the power source for backup is often a primary battery, and in this case, a weighted structure is required to make it replaceable. In other words, a Do-DC converter is placed between the external power supply transistor and the microcomputer's power supply terminal, a secondary battery is used as the microcomputer's buffer lag power supply, and other detection, control, and timer methods are used. By making it the same as the first embodiment, the effect of miniaturization is greater than that of the first embodiment, and by operating the timer only when the voltage rises from below the reset voltage,
Power consumption of external power supply can be minimized.
発明の効果
以上のように本発明は、バックアップ用電源と、その電
源の電圧レベルをあらかじめ設定したレベルで検出する
検出手段と、外部電源で電源を供給するための入力信号
と、上記検出された信号によって対応した制御手段とタ
イマー手段とによって外部電源をマイクロコンピュータ
に供給しかつバックアップ用2次電池に供給し充電する
ように構成した電源装置を設けることにより、マイクロ
コンピュータのメモリーをバックアップ電圧の低下によ
る消滅する機会・時間を極端に少なくし、かつ、電源装
置の小型化を図ることができるものである。Effects of the Invention As described above, the present invention includes a backup power source, a detection means for detecting the voltage level of the power source at a preset level, an input signal for supplying power from an external power source, and a By providing a power supply device configured to supply external power to the microcomputer and to supply and charge the backup secondary battery using control means and timer means corresponding to the signal, the memory of the microcomputer can be used to protect the memory of the microcomputer from a drop in backup voltage. This makes it possible to extremely reduce the opportunity and time for the power supply to disappear, and to downsize the power supply device.
第1図は本発明の第1の実施例における電源装置のブロ
ック図、第2図はその制御フローチャート、第3図はそ
の操作スイッチに対するタイミングチャート、第4図は
本発明の第2の実施例における電源装置のブロック図、
第6図は従来の電源装置のブロック図である。
1ム・・・・・・制御手段、1B・・・・・・検出手段
、1G・・・・・メモリ、1D・・・・・タイマー手段
、2・・・・・・バックアップ用2次電池、3.9〜1
2・・・・・抵抗、4・・・・・操作スイッチ、6〜8
・・・・・・トランジスタ。
代理人の氏名 弁理上 粟 野 重 孝 にか1名!、
9.10.11.12−−・ b 抗4− 冷汗
スイッチ
6.6.1.l3−)−ランシスタ
(1層−)
C2mm)
!−−−
マイクロコンピューダFIG. 1 is a block diagram of a power supply device according to a first embodiment of the present invention, FIG. 2 is a control flowchart thereof, FIG. 3 is a timing chart for its operation switches, and FIG. 4 is a diagram of a second embodiment of the present invention. Block diagram of the power supply in
FIG. 6 is a block diagram of a conventional power supply device. 1M: Control means, 1B: Detection means, 1G: Memory, 1D: Timer means, 2: Backup secondary battery , 3.9-1
2...Resistance, 4...Operation switch, 6-8
...Transistor. Name of agent: Shigetaka Awano for patent purposes! ,
9.10.11.12--b anti-4- cold sweat switch 6.6.1. l3-)-Lancista (1 layer-) C2mm)! −−− Microcomputer
Claims (2)
池電源と、外部電源による電源電圧を上記マイクロコン
ピュータ及び2次電池電源に供給するための電源供給回
路手段と、上記2次電池電源の電圧レベルをあらかじめ
設定したレベルで検出する検出手段と、この検出手段に
よって検出された電圧が設定レベル以下になった場合に
上記電源供給回路手段を一定時間供給可能とするタイマ
ー手段とを備えたことを特徴とする電源装置。(1) A backup secondary battery power supply for the microcomputer, a power supply circuit means for supplying power supply voltage from an external power supply to the microcomputer and the secondary battery power supply, and a voltage level of the secondary battery power supply set in advance. It is characterized by comprising a detection means for detecting at a set level, and a timer means for enabling the power supply circuit means to supply power for a certain period of time when the voltage detected by the detection means falls below the set level. power supply.
手段として、手動操作スイッチに基づく第1の電源供給
回路と、マイクロコンピュータの制御手段により制御さ
れると共にタイマー手段により制御される第2の電源供
給回路とを備えてなることを特徴とする電源装置。(2) The power supply device according to claim 1, wherein the power supply circuit means includes a first power supply circuit based on a manually operated switch, and a first power supply circuit controlled by a control means of a microcomputer and controlled by a timer means. 2. A power supply device comprising: 2 power supply circuits.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1067024A JPH02246738A (en) | 1989-03-17 | 1989-03-17 | Power unit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1067024A JPH02246738A (en) | 1989-03-17 | 1989-03-17 | Power unit |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH02246738A true JPH02246738A (en) | 1990-10-02 |
Family
ID=13332909
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP1067024A Pending JPH02246738A (en) | 1989-03-17 | 1989-03-17 | Power unit |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH02246738A (en) |
Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS6041795B2 (en) * | 1977-12-15 | 1985-09-18 | 松下電工株式会社 | photoelectric smoke detector |
-
1989
- 1989-03-17 JP JP1067024A patent/JPH02246738A/en active Pending
Patent Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS6041795B2 (en) * | 1977-12-15 | 1985-09-18 | 松下電工株式会社 | photoelectric smoke detector |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4434395A (en) | Solar cell power supply circuit | |
| KR940006802B1 (en) | Power control method and device | |
| JP2002320338A (en) | Adjusting device of voltage supplied from battery | |
| JP3155247B2 (en) | Battery condition monitoring circuit, battery device, and electronic device equipped with the battery device | |
| JP3430466B2 (en) | Rechargeable battery charger | |
| KR940006804B1 (en) | Power control method and apparatus therefor | |
| JPS586964B2 (en) | Power control method | |
| JP2002373037A (en) | Power source controller | |
| JP3228652B2 (en) | Electronics | |
| JPH08314584A (en) | Microcomputer power source circuit | |
| JPH04325836A (en) | Battery charger | |
| JPS60689B2 (en) | Power control method | |
| KR950004205B1 (en) | Power control method of computer system and apparatus therefor | |
| JPH02254935A (en) | Charging apparatus | |
| JPH1023685A (en) | Backup power supply circuit | |
| JP4227284B2 (en) | CPU control circuit | |
| JPH04190637A (en) | electronic equipment | |
| JP2005312185A (en) | Secondary battery charging apparatus | |
| JPH04335413A (en) | Portable type data processor | |
| JPH10320081A (en) | Power supply switching circuit | |
| JPS61277326A (en) | Charging of storage battery | |
| JPH04372534A (en) | Secondary-battery charge controller | |
| JPH03272533A (en) | Relay drive unit | |
| JPS6253138A (en) | Storage battery spare power source unit | |
| JPS6077640A (en) | Charging device |