JPH0624900Y2 - Memory backup power supply - Google Patents
Memory backup power supplyInfo
- Publication number
- JPH0624900Y2 JPH0624900Y2 JP1984131130U JP13113084U JPH0624900Y2 JP H0624900 Y2 JPH0624900 Y2 JP H0624900Y2 JP 1984131130 U JP1984131130 U JP 1984131130U JP 13113084 U JP13113084 U JP 13113084U JP H0624900 Y2 JPH0624900 Y2 JP H0624900Y2
- Authority
- JP
- Japan
- Prior art keywords
- cpu
- power supply
- battery
- memory
- backup
- 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
Links
- 230000002265 prevention Effects 0.000 description 9
- 238000010586 diagram Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000005856 abnormality Effects 0.000 description 1
- OJIJEKBXJYRIBZ-UHFFFAOYSA-N cadmium nickel Chemical compound [Ni].[Cd] OJIJEKBXJYRIBZ-UHFFFAOYSA-N 0.000 description 1
- 239000000470 constituent Substances 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000007257 malfunction Effects 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Landscapes
- Power Sources (AREA)
- Techniques For Improving Reliability Of Storages (AREA)
- Stand-By Power Supply Arrangements (AREA)
Description
【考案の詳細な説明】 〔産業上の利用分野〕 この考案は中央制御装置(以下にはCPUと略記する)
を使用する電子応用機器において、CPUの主電源の停
止時に、内蔵電池より該CPUのメモリを保持するため
の電力を供給する、いわゆるメモリバックアップ装置に
関するものである。[Detailed Description of the Invention] [Industrial Application Field] This invention is a central control unit (hereinafter abbreviated as CPU).
The present invention relates to a so-called memory backup device that supplies electric power for holding a memory of the CPU from an internal battery when the main power supply of the CPU is stopped in an electronic application device using the.
最近の自動制御機器や半自動制御機器の多くにCPUが
用いられている。このCPUの動作指令は通常CPUの
RAM(Random Access Memory)に保持されているが、そ
のメモリデータは電源が切れると消失してしまうため、
メモリ保持のためのバックアップ電池を内蔵することが
多い。A CPU is used in many of recent automatic control devices and semi-automatic control devices. This CPU operation command is normally held in the RAM (Random Access Memory) of the CPU, but the memory data is lost when the power is turned off.
It often has a built-in backup battery for holding memory.
RAMメモリを備えたCPUの供給電源は、CPU動作
用には通常5Vの電圧を供給して、動作電流は約5mA
である。又、CPUの動作を停止した時CPUのRAM
のメモリを保持する為にメモリバックアップ用電圧・電
流は3Vで10μA程度で充分である。The power supply of the CPU equipped with the RAM memory normally supplies a voltage of 5 V for CPU operation, and the operating current is about 5 mA.
Is. Also, when the operation of the CPU is stopped, the RAM of the CPU
In order to hold the memory, the memory backup voltage / current of 3 V is about 10 μA.
一方、CPUには供給電圧の低下による誤動作等を生じ
させないように、所定の電圧以下になったときCPUの
動作を停止させるストップモード機能を備えており、次
に規定の電圧に復旧する迄CPUは停止状態を保ってい
る。On the other hand, the CPU is provided with a stop mode function of stopping the operation of the CPU when the voltage becomes a predetermined voltage or less so as to prevent the malfunction due to the decrease of the supply voltage, and the CPU continues until the voltage is restored to the specified level. Keeps stopped.
ここでCPU停止時のバックアップ電池の回路を第2図
に示す。主電源Vccより逆流防止ダイオード1を通って
CPUに電力を供給する。一方、バックアップ電池3は
逆流防止ダイオード2を通ってCPU電源に接続してお
く、バックアップ電池3の電圧は主電源Vccより低く、
メモリ保持に必要な3V程度の電圧がかかれば良い、主
電源Vccから電力が供給されたCPUの動作時は電池3
からは出力しない。また、ダイオード2により主電源か
らの流入は防止される。主電源Vccが供給停止した場合
は電池3の電圧はダイオード2を通してCPUの電源回
路を通して供給されRAMメモリの内容を保持するが、
逆流防止ダイオード1により、電源Vcc回路への流入を
防止される。この際のCPUはすべての動作を停止して
いるので、電池3にはメモリ保持のための極めてわずか
な電流が流れるのに過ぎないから小形乾電池が使用され
るが、充電式電池の場合はダイオード2に並列に抵抗8
を接続して主電源動作中に抵抗8を通して電池3に充電
電流を供給することもある。Here, the circuit of the backup battery when the CPU is stopped is shown in FIG. Power is supplied to the CPU from the main power supply Vcc through the backflow prevention diode 1. On the other hand, the backup battery 3 is connected to the CPU power supply through the backflow prevention diode 2, the voltage of the backup battery 3 is lower than the main power supply Vcc,
It is only necessary to apply the voltage of about 3V necessary for holding the memory, and the battery 3 is used when the CPU is powered by the main power supply Vcc.
Is not output from. In addition, the diode 2 prevents inflow from the main power supply. When the main power supply Vcc is stopped, the voltage of the battery 3 is supplied through the diode 2 through the power supply circuit of the CPU to retain the contents of the RAM memory.
The backflow prevention diode 1 prevents the power supply from flowing into the Vcc circuit. Since the CPU at this time has stopped all operations, a small dry battery is used because only a very small current for holding the memory flows in the battery 3, but in the case of a rechargeable battery a diode is used. 8 in parallel with 2
And the charging current may be supplied to the battery 3 through the resistor 8 during the operation of the main power supply.
ところでCPUには暴走およびラッチアップという現象
があり、CPU自体および構成回路において、それ等の
発生を防止する配慮をしており通常は問題は無いが、静
電気の影響等により一度発生すると制御不能となるばか
りで無く機器を破損する危険がある。さらに一度暴走や
ラッチアップ状態となるとCPUをリセットしても効果
が無く、また電源スイッチを切ってもCPU回路には第
2図のごとくバックアップ電池3が入っているため暴走
やラッチアップ状態を保持し続ける。このような状態に
あるCPUの消費電流はメモリバックアップ時に比べて
はるかに大きいので短時間で電池3は放電してしまい、
電池交換を必要とするに到るものである。By the way, there are phenomena such as runaway and latch-up in the CPU, and there is usually no problem in the CPU itself and the constituent circuits to prevent the occurrence thereof, but once it occurs due to the influence of static electricity, etc., it becomes uncontrollable. Not only is there a risk of damaging the equipment. Furthermore, once a runaway or latch-up state is reached, resetting the CPU has no effect, and even if the power switch is turned off, the CPU circuit contains the backup battery 3 as shown in FIG. Keep doing Since the current consumption of the CPU in such a state is much larger than that at the time of memory backup, the battery 3 is discharged in a short time,
This leads to the need for battery replacement.
以上の対応策としては、バックアップ電池回路スイッチ
を設けて、CPUの異常時に主電源Vccを切った上で更
にバックアップ電池回路のスイッチを一時切ることでC
PUのストップモードにしてCPU動作を停止させる。
この状態から主電源Vccが供給されると、正常状態にも
どすように構成した機器があるが、滅多に発生しない異
常のために特別のスイッチを設ける無駄と、異常発生時
にスイッチを操作するという面倒があるので、更に良い
対策が望まれていた。As a countermeasure against the above, a backup battery circuit switch is provided, and when the CPU is abnormal, the main power supply Vcc is turned off, and then the backup battery circuit switch is temporarily turned off.
The CPU operation is stopped by setting the PU stop mode.
There are devices configured to return to the normal state when the main power Vcc is supplied from this state, but there is no need to provide a special switch for an error that rarely occurs and the trouble of operating the switch when an error occurs. Therefore, better measures were desired.
本考案においてはCPUの暴走やラッチアップの異常発
生時に一度主電源スイッチを切るだけで自動的に初期正
常状態に回復するCPUのバックアップ電源装置の電池
の充放電回路の提供を目的とする。SUMMARY OF THE INVENTION It is an object of the present invention to provide a battery charge / discharge circuit of a backup power supply unit for a CPU, which automatically recovers to an initial normal state by simply turning off the main power supply switch once when a CPU runaway or latch-up abnormality occurs.
主電源からダイオード1を通してCPUに電源を供給す
るとともにダイオード6と電流制限器7を通してバック
アップ用の充電可能な電池に電源を供給し、バックアッ
プ用の充電電池から電流制限器5とダイオード2を通し
てCPUに接続した構成である。Power is supplied to the CPU from the main power source through the diode 1 and the backup rechargeable battery through the diode 6 and the current limiter 7, and from the backup charging battery to the CPU through the current limiter 5 and the diode 2. It is a connected configuration.
第1図は本考案の一実施例のメモリバックアップ電源装
置の回路図である。FIG. 1 is a circuit diagram of a memory backup power supply device according to an embodiment of the present invention.
第1図に示すように、主電源Vccより逆流防止ダイオー
ド1を通してCPUに電力を供給する回路と、主電源Vc
cから逆流防止ダイオード6と電流制限器7を介して充
電型のメモリバックアップ用電池3に入力する。主電源
Vccの供給停止時にメモリバックアップ電池3が放電す
るように電流制限器5と逆流防止ダイオード2を通して
CPUに供給するよう構成する。前記の電流制限器5の
電流値はCPUの暴走およびラッチアップ時の消費電流
値以下に設定する。As shown in FIG. 1, a circuit for supplying power from the main power supply Vcc to the CPU through the backflow prevention diode 1 and the main power supply Vc
Input from c to the rechargeable memory backup battery 3 via the backflow prevention diode 6 and the current limiter 7. Main power supply
In order to discharge the memory backup battery 3 when the supply of Vcc is stopped, the current is supplied to the CPU through the current limiter 5 and the backflow prevention diode 2. The current value of the current limiter 5 is set to be equal to or less than the current consumption value at the time of CPU runaway and latch-up.
以上の構成で動作状態では逆流防止ダイオード1を通し
てCPUに主電源Vccの電力が供給されるとともに逆流
防止ダイオード6と電流制限器7を通してバックアップ
電池3を充電する。ここでCPUが暴走やラッチアップ
が発生して運用動作が不能になると主電源スイッチを切
ればよい、その状態ではバックアップ電池からCPU及
びメモリに電力を供給するが電流制限器5による微弱電
流のため電圧降下してCPUの暴走やラッチアップは停
止する。その後で主電源スイッチを入れるとCPUは正
常にスタートするものである。In the above-described configuration, in the operating state, the power of the main power supply Vcc is supplied to the CPU through the backflow prevention diode 1 and the backup battery 3 is charged through the backflow prevention diode 6 and the current limiter 7. If the CPU runs out or latches up and becomes inoperable, the main power switch can be turned off. In that state, power is supplied from the backup battery to the CPU and memory, but the current limiter 5 causes a weak current. The voltage drops and CPU runaway and latch-up stop. After that, when the main power switch is turned on, the CPU starts normally.
実際の回路においては、バックアップ電池3として充電
電池にニッケルカドミウム電池を使用した場合の電流制
限器5を抵抗で使用すると実施例では47kΩであり、
充電回路側の逆流防止ダイオード6と電流制限器7の抵
抗は主電源Vccを5Vとして、電池電圧が3Vの場合3
3kΩ程度が適当であった。電池電圧3V電流制限器5
が47kΩとすると約70μA程度の電流となる。この
ためCPUの暴走やラッチアップは停止するがメモリバ
ックアップには充分な電流値である。In the actual circuit, when the nickel-cadmium battery is used as the backup battery 3 as the backup battery 3 and the current limiter 5 is used as a resistor, it is 47 kΩ in the embodiment,
The resistance of the backflow prevention diode 6 and the current limiter 7 on the charging circuit side is 3 when the main power supply Vcc is 5V and the battery voltage is 3V.
About 3 kΩ was suitable. Battery voltage 3V current limiter 5
Is 47 kΩ, the current is about 70 μA. For this reason, runaway or latch-up of the CPU is stopped, but the current value is sufficient for memory backup.
上記のように本考案はCPUのバックアップ電源回路に
充電用と放電用の電流制限用の電流制限器各1個追加す
るだけでCPUの暴走やラッチアップ状態を主電源スイ
ッチの操作だけで自動的に回復できるので外部に余分の
操作個所を設ける必要が無く、また回路構成としてもバ
ックアップ電池に直列に適当な抵抗器を入れるだけでよ
いので、そのための材料費・工作費用は極めて安価であ
り、未対策の従来機器に追加改造することも容易であっ
て、本考案の実用上の効果は大きい。As described above, according to the present invention, by adding one current limiter for charging and one for limiting current for discharging to the backup power supply circuit of the CPU, CPU runaway or latch-up state is automatically generated by operating the main power switch. Since there is no need to provide an extra operation part outside because it can be recovered to, and since it is only necessary to put an appropriate resistor in series with the backup battery as the circuit configuration, the material cost and work cost for that are extremely low, It is easy to retrofit to the conventional equipment that has not been taken measures, and the practical effect of the present invention is great.
第1図は本考案の一実施例を示すメモリバックアップ電
源回路図、第2図は従来のメモリバックアップ電源回路
図である。 1・2・6…ダイオード、3…電池、5・7・8…電流
制限器。FIG. 1 is a memory backup power supply circuit diagram showing an embodiment of the present invention, and FIG. 2 is a conventional memory backup power supply circuit diagram. 1.2.6 ... diode, 3 ... battery, 5.7.8 ... current limiter.
Claims (1)
電源からダイオード1を通してCPUへ供給する回路
と、ダイオード6と電流制限器7を通してバックアップ
電池3とに供給するよう接続し、メモリバックアップ電
池3は電流制限器5とダイオード2を通してCPUに供
給する回路とで構成し、前記電流制限器5はメモリバッ
クアップ動作時はCPUの暴走動作の停止とメモリバッ
クアップを可能にする電流値に設定したことを特徴とす
るメモリバックアップ電源装置。1. A power supply circuit for a CPU provided with a memory is connected to a circuit for supplying a CPU from a main power supply to a CPU through a diode 1 and a backup battery 3 through a diode 6 and a current limiter 7 for memory backup. The battery 3 is composed of a current limiter 5 and a circuit which supplies it to the CPU through the diode 2. The current limiter 5 is set to a current value which enables the CPU to stop the runaway operation and the memory backup during the memory backup operation. A memory backup power supply device characterized by the above.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP1984131130U JPH0624900Y2 (en) | 1984-08-29 | 1984-08-29 | Memory backup power supply |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP1984131130U JPH0624900Y2 (en) | 1984-08-29 | 1984-08-29 | Memory backup power supply |
Publications (2)
Publication Number | Publication Date |
---|---|
JPS6146621U JPS6146621U (en) | 1986-03-28 |
JPH0624900Y2 true JPH0624900Y2 (en) | 1994-06-29 |
Family
ID=30689724
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP1984131130U Expired - Lifetime JPH0624900Y2 (en) | 1984-08-29 | 1984-08-29 | Memory backup power supply |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH0624900Y2 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP3971041A1 (en) * | 2020-09-21 | 2022-03-23 | Veoneer Sweden AB | Ecu with power supply management and method for power supply of an ecu |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH02254515A (en) * | 1989-03-29 | 1990-10-15 | Honda Motor Co Ltd | Resetting device for microcomputer |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5741005B2 (en) * | 1975-03-14 | 1982-09-01 | ||
JPS5387019U (en) * | 1976-12-20 | 1978-07-18 | ||
JPS5540857U (en) * | 1978-09-08 | 1980-03-15 | ||
JPS5986099U (en) * | 1982-11-29 | 1984-06-11 | 株式会社東芝 | Setting display circuit |
JPS59155628U (en) * | 1983-03-31 | 1984-10-19 | 富士電機株式会社 | power backup circuit |
-
1984
- 1984-08-29 JP JP1984131130U patent/JPH0624900Y2/en not_active Expired - Lifetime
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP3971041A1 (en) * | 2020-09-21 | 2022-03-23 | Veoneer Sweden AB | Ecu with power supply management and method for power supply of an ecu |
Also Published As
Publication number | Publication date |
---|---|
JPS6146621U (en) | 1986-03-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4422163A (en) | Power down circuit for data protection in a microprocessor-based system | |
US7629769B2 (en) | Power surge filtering in over-current and short circuit protection | |
US4677311A (en) | Power supply system for an electronic apparatus having memory | |
CA2126405C (en) | Power regulation for redundant battery supplies | |
US5251179A (en) | Apparatus and method for extending battery life | |
JPH05189095A (en) | Electronic device | |
CN106230099B (en) | Power-supply device | |
JPH0624900Y2 (en) | Memory backup power supply | |
JPH0459645B2 (en) | ||
JPS6315954Y2 (en) | ||
JPH022165B2 (en) | ||
JPS61141059A (en) | Terminal equipment | |
JPH1051978A (en) | Power supply backup circuit | |
JPH01142911A (en) | Battery-powered electronic equipment | |
JPH0721070Y2 (en) | Rechargeable battery package with charging function | |
JP2701266B2 (en) | Electronics | |
KR0121498Y1 (en) | Memory backup power supply | |
JP2607370Y2 (en) | Charge / discharge control circuit | |
KR0117851Y1 (en) | Shut-off compensated circuit for a timer | |
JPH05224786A (en) | Holding circuit for nickel-cadmium battery voltage | |
KR950002023B1 (en) | Circuit for backup cmos memory | |
JPH0379937B2 (en) | ||
JPH07154922A (en) | Backup power supply | |
JPS641806B2 (en) | ||
JPH01158314A (en) | Electronic measuring instrument |