JP2835162B2 - RAM backup power supply - Google Patents

RAM backup power supply

Info

Publication number
JP2835162B2
JP2835162B2 JP2209094A JP20909490A JP2835162B2 JP 2835162 B2 JP2835162 B2 JP 2835162B2 JP 2209094 A JP2209094 A JP 2209094A JP 20909490 A JP20909490 A JP 20909490A JP 2835162 B2 JP2835162 B2 JP 2835162B2
Authority
JP
Japan
Prior art keywords
power supply
ram
constant current
voltage
control signal
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 - Fee Related
Application number
JP2209094A
Other languages
Japanese (ja)
Other versions
JPH0496116A (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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP2209094A priority Critical patent/JP2835162B2/en
Publication of JPH0496116A publication Critical patent/JPH0496116A/en
Application granted granted Critical
Publication of JP2835162B2 publication Critical patent/JP2835162B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Power Sources (AREA)

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) 本発明は、マイクロプロセッサその他RAMを有する各
種の電子機器に利用されるRAMバックアップ電源装置に
係り、特に他の構成要素に影響を与えずに確実にRAMの
内容を破壊できるRAMバックアップ電源装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Object of the Invention] (Industrial application field) The present invention relates to a RAM backup power supply device used for various electronic devices having a microprocessor and other RAMs, and particularly to other components. The present invention relates to a RAM backup power supply that can surely destroy the contents of RAM without affecting the RAM.

(従来の技術) 従来のRAMバックアップ電源装置は、商用電源を所定
の直流電圧に変換して出力する直流電源およびバックア
ップ用の二次電池が設けられ、通常動作時には直流電源
の出力電圧をRAMに供給する一方、充電用抵抗を介して
二次電池への充電を行う。また、商用電源のしゃ断時に
はバックアップ用二次電池の電圧をRAMに供給する。
(Conventional technology) A conventional RAM backup power supply device is provided with a DC power supply that converts commercial power to a predetermined DC voltage and outputs the converted DC voltage and a secondary battery for backup. During normal operation, the output voltage of the DC power supply is stored in RAM. While supplying, the secondary battery is charged via the charging resistor. When the commercial power supply is cut off, the voltage of the backup secondary battery is supplied to the RAM.

ところで、RAMをもつ各種電子機器では、その機器製
造完了後にRAMの動作確認等を行う必要があるが、この
ような場合にはRAMの領域を初期化した後、RAMに対して
データの書込み・読み出し行うことにより、RAMの動作
が正常であるか否かを確認する。ここで、初期化とはソ
フト処理に適した値に設定することであって、一般的に
は全ての領域を「0」に設定する処理である。
By the way, in various electronic devices having a RAM, it is necessary to confirm the operation of the RAM after the completion of the device manufacturing. In such a case, after initializing the RAM area, writing / writing data to / from the RAM. By performing the reading, it is confirmed whether or not the operation of the RAM is normal. Here, the initialization is to set a value suitable for software processing, and is generally a process of setting all areas to “0”.

このようにしてRAMの動作が正常であると確認された
ならば、ソフト処理によりRAMの内容を初期化した後、R
AMの全ての領域のデータを破壊し製造完了状態に戻す。
ここで、RAMの内容を破壊するとは、一定の値である
「1」または「0」に初期化することでなく、不定の値
にすることである。通常、RAMの動作確認時にRAMの初期
化およびデータの書込み・読出し処理を行うが、例えば
RAMのステータス領域などにはキーワード、動作上必要
な設定データ、最初の動作立ち上げ時の動作履歴などの
ような重要なデータが書き込まれるが、この領域のデー
タは初期化しない部分であり、さらに具体的には初期化
処理によって初期化できない領域である。このため機器
の製造完了後の出荷時などのとき、初期化しただけでは
RAMにキーワード、動作履歴等がそのまま残った状態で
ユーザに渡さなければならない問題がある。
If the operation of the RAM is confirmed to be normal in this way, the contents of the RAM are initialized by software processing, and then R
Destroy data in all areas of AM and return to manufacturing completed state.
Here, to destroy the contents of the RAM means not to initialize it to a fixed value of "1" or "0" but to make it an undefined value. Normally, RAM initialization and data write / read processing are performed when checking the operation of the RAM.
Important data such as keywords, setting data required for operation, operation history at the time of the first operation startup, etc. are written in the RAM status area, etc., but the data in this area is not initialized, Specifically, it is an area that cannot be initialized by the initialization processing. For this reason, at the time of shipment after the completion of device
There is a problem that the keyword, the operation history, and the like must be given to the user in a state of being left in the RAM.

そこで、機器の製造完了後の出荷時、RAMの正常動作
確認時に一度初期化したキーワード、動作履歴等,その
RAMの内容を破壊して出荷する必要がある。ユーザはRAM
内容の破壊後に例えばキーワードや動作履歴の領域のデ
ータを読み取っても不定データであるので、キーワード
や動作履歴を読み取ることができず、RAM内容の破壊の
意図を達成することができる。
Therefore, at the time of shipment after the completion of device manufacture, the keyword once initialized at the time of normal operation confirmation of RAM, operation history, etc.
It is necessary to destroy the contents of RAM before shipping. User is RAM
For example, even if the data of the keyword or the operation history area is read after the contents are destroyed, the data is indefinite. Therefore, the keyword and the operation history cannot be read, and the intention of destroying the RAM contents can be achieved.

また、ユーザ自身においてもRAMの内容を破壊し、新
たにキーワード、動作履歴等を構築し、RAMを使用した
いという要請が多い。
In addition, there are many requests by the user himself to destroy the contents of the RAM, construct new keywords, operation histories, and the like, and use the RAM.

そこで、従来、以上のような必要性からRAMの内容を
破壊する場合、バックアップ中に二次電池を取り外す手
段やスイッチを用いてバックアップ電源を断つ手段があ
り、そのうち操作性の面から後者のスイッチによるRAM
の内容破壊手段が採られている。このスイッチを用いて
RAMの内容を破壊する場合にも、前記直流電源,二次電
池とRAMとの間、つまり電源ラインに押し釦スイッチを
設け、この押し釦スイッチの開操作によりRAMへの電源
を切り離す手段と、二次電池とRAMとから成る閉回路に
並列に押し釦スイッチを設け、この押し釦スイッチの閉
操作により二次電池を放電させる手段とがある。
Therefore, conventionally, when the contents of RAM are destroyed due to the above necessity, there is a means to remove the secondary battery during backup and a means to cut off the backup power using a switch. RAM
Means of destruction of contents are adopted. With this switch
Means for providing a push button switch between the DC power supply, the secondary battery and the RAM, that is, a power supply line, and disconnecting the power supply to the RAM by opening the push button switch even when the contents of the RAM are destroyed; There is a means for providing a push button switch in parallel with a closed circuit comprising a secondary battery and a RAM, and discharging the secondary battery by closing the push button switch.

(発明が解決しようとする課題) 以上のようにスイッチを用いたRAMの内容破壊手段の
うち、電源ラインに押し釦スイッチを設けたものは、押
し釦スイッチの開操作によってRAMの内容を破壊するこ
とができるものの、スイッチが度々接触不良を起こすこ
とがある。この場合には、スイッチを操作しなくても開
状態となってRAMの内容を破壊してしまう問題がある。
(Problems to be Solved by the Invention) Among the means for destroying the contents of RAM using switches as described above, the means provided with a push button switch on the power supply line destroys the contents of the RAM by opening the push button switch. Although possible, the switches often cause poor contact. In this case, there is a problem that the RAM is opened without operating the switch and the contents of the RAM are destroyed.

一方、二次電池とRAMの内容とから成る閉回路に並列
にスイッチを設け、そのスイッチの閉操作によって二次
電池を放電させるRAMの内容破壊手段では、スイッチ操
作時のみスイッチが閉じ、常時はスイッチが開状態とな
っているので接触不良となってもRAMの内容が破壊する
問題はないが、二次電池の放電に時間がかかるので迅速
にRAMの内容を破壊できず、またRAMの内容を破壊した時
には二次電池が完全に放電しているため再びバックアッ
プするときに充電しなおす必要がある。
On the other hand, a switch is provided in parallel with a closed circuit composed of the secondary battery and the contents of the RAM, and in the RAM contents destruction means for discharging the secondary battery by closing the switch, the switch is closed only when the switch is operated, and always Since the switch is open, there is no problem that the contents of the RAM will be destroyed even if the contact is poor.However, since the discharge of the secondary battery takes time, the contents of the RAM cannot be destroyed quickly, and the contents of the RAM cannot be destroyed. When the battery is destroyed, the secondary battery is completely discharged, so it is necessary to recharge it when backing up again.

また、充電を速めるために充電用抵抗を小さくするこ
とが考えられるが、二次電池の誤接続等があったときに
過電流が流れて充電用抵抗を破損する問題がある。
Further, it is conceivable to reduce the charging resistance in order to speed up the charging, but there is a problem that an overcurrent flows when the secondary battery is erroneously connected or the like, and the charging resistance is damaged.

本発明は上記実情に鑑みてなされたのもので、RAMの
内容破壊用スイッチの接触不良があってもRAMの内容が
破壊されることがなく、しかもRAMの内容破壊時に二次
電池の放電量が少なくてすみ、かつ、二次電池の誤接続
等があっても過電流が生じないRAMバックアップ電源装
置を提供することを目的とする。
The present invention has been made in view of the above circumstances, and the content of the RAM is not destroyed even if there is a contact failure of the switch for destroying the content of the RAM, and the discharge amount of the secondary battery is small when the content of the RAM is destroyed. It is an object of the present invention to provide a RAM backup power supply device in which overcurrent does not occur even if the secondary battery is erroneously connected or the like.

[発明の構成] (課題を解決するための手段) 本発明は上記課題を解決するために、直流電源電圧と
電池電源電圧とを監視し、両電圧の大小関係に応じて通
常動作時制御信号またはしゃ断時制御信号を出力する電
圧監視手段と、前記直流電源とRAMとの間に設けられ、
前記電圧監視手段から出力される通常動作時制御信号を
受けて前記直流電源とRAMとを電気的に接続し、かつ、
前記しゃ断時制御信号を受けて直流電源からRAMを切り
離す直流電源しゃ断手段と、通常動作時には直流電源を
受けて所定の定電流を出力して電池電源を充電し、前記
電圧監視手段からしゃ断時制御信号を受けたとき定電流
路をしゃ断する第1の定電流回路と、前記電池電源とRA
Mとの間に設けられ前記電圧監視手段からの通常動作時
制御信号を受けて定電流路をしゃ断し、かつ、前記しゃ
断時制御信号を受けて電池電源とRAMとを電気的に接続
する第2の定電流回路と、常時はオフ状態にあり、RAM
の内容を破壊するためにオン操作があったとき、前記電
池電源と第2の定電流回路との間およびRAMとの間でそ
れぞれ閉回路を形成することにより第2の定電流回路に
よる電池電源の少ない放電量でRAMの内容を破壊する押
し釦スイッチとを備えた構成図である。
[Means for Solving the Problems] In order to solve the above problems, the present invention monitors a DC power supply voltage and a battery power supply voltage, and controls a normal operation control signal according to the magnitude relationship between the two voltages. Or, a voltage monitoring means for outputting a control signal at the time of interruption, and provided between the DC power supply and the RAM,
Upon receiving the normal operation control signal output from the voltage monitoring means, the DC power supply and the RAM are electrically connected, and
DC power supply shut-off means for receiving the control signal at the time of cut-off and disconnecting the RAM from the DC power supply, and receiving DC power supply and outputting a predetermined constant current to charge the battery power supply during normal operation and controlling the power supply at the time of cut-off from the voltage monitoring means. A first constant current circuit for interrupting a constant current path when receiving a signal;
M to receive a control signal during normal operation from the voltage monitoring means and cut off the constant current path, and receive the control signal at cutoff to electrically connect the battery power supply and the RAM. 2 constant current circuit and always off, RAM
When a turn-on operation is performed to destroy the contents of the above, a closed circuit is formed between the battery power supply and the second constant current circuit and between the battery power supply and the RAM, respectively. FIG. 2 is a configuration diagram including a push button switch that destroys the contents of the RAM with a small amount of discharge.

(作用) 従って、本発明は以上の手段を講じたことにより、電
圧監視手段にて直流電源電圧が電池電源電圧よりも高い
と判断したとき、電圧監視手段から通常動作時制御信号
が送出され、これを受けた直流電源しゃ断手段および第
1の定電流回路が通電状態となり、かつ、第2の定電流
回路が定電流路をしゃ断するので、直流電源がRAMに電
力を供給すると共に電池電源を定電流充電できる。また
第2の定電流回路がしゃ断状態であるため押し釦スイッ
チを操作してもRAMの内容は破壊することがない。一
方、電圧監視手段にて直流電源電圧よりも電池電源電圧
の方が高い判断したとき、電圧監視手段からしゃ断時制
御信号が送出され、これを受けた直流電源しゃ断手段お
よび第1の定電流回路がしゃ断状態となり、かつ、第2
の定電流回路が通常状態となることにより、電池電源か
らRAMに電力が供給され、二次電池の充電は行われな
い。このとき、押し釦スイッチを操作すると、電池電
源、第2の定電流回路および押し釦スイッチよりなる閉
回路のほか、RAMと押し釦スイッチとの間でも閉回路が
形成され、RAMの内容を確実に破壊できると共に、RAMの
内容破壊時の電池電源の放電は第2の定電流回路による
定電流放電となるので、その放電量を極めて少なくでき
る。
(Operation) Therefore, according to the present invention, by taking the above means, when the voltage monitoring means determines that the DC power supply voltage is higher than the battery power supply voltage, a normal operation control signal is transmitted from the voltage monitoring means, In response to this, the DC power supply cutoff means and the first constant current circuit are turned on, and the second constant current circuit cuts off the constant current path, so that the DC power supply supplies power to the RAM and the battery power supply. Constant current charging. Further, since the second constant current circuit is in the cutoff state, even if the push button switch is operated, the contents of the RAM are not destroyed. On the other hand, when the voltage monitoring means determines that the battery power supply voltage is higher than the DC power supply voltage, the voltage monitoring means sends a shut-off control signal, and receives the DC power cut-off means and the first constant current circuit. Is cut off and the second
Is in a normal state, power is supplied from the battery power source to the RAM, and the secondary battery is not charged. At this time, when the push button switch is operated, a closed circuit is formed between the RAM and the push button switch in addition to the closed circuit including the battery power supply, the second constant current circuit, and the push button switch, and the contents of the RAM are securely confirmed. In addition, the battery power supply when the contents of the RAM are destroyed is a constant current discharge by the second constant current circuit, so that the discharge amount can be extremely reduced.

(実施例) 以下本発明の実施例を図面を参照して説明する。第1
図は本発明の一実施例を示す構成図である。同図におい
て1は商用電源電圧を所定の直流電圧に変換してマイク
ロコンピュータ2およびRAM3に供給する直流電源があ
る。このマイクロコンピュータ2はデータの保存および
読出しのためにRAM3とデータの授受を行い、RAM3は送ら
れてきたデータの保存および読出し指令を受けてデータ
の送出を行う。
(Example) Hereinafter, an example of the present invention will be described with reference to the drawings. First
FIG. 1 is a configuration diagram showing one embodiment of the present invention. In FIG. 1, reference numeral 1 denotes a DC power supply that converts a commercial power supply voltage into a predetermined DC voltage and supplies the DC voltage to the microcomputer 2 and the RAM 3. The microcomputer 2 exchanges data with the RAM 3 for saving and reading data, and the RAM 3 sends out data in response to instructions for saving and reading the sent data.

一方、直流電源1と並列に二次電池4が設けられ、直
流電源1のしゃ断時に二次電池4によってRAM3に電流を
供給する構成となっている。5は直流電源1と二次電池
4のそれぞれの電圧を比較し、直流電源電圧が大きいと
きに通常動作時制御信号を送出し、逆に二次電池電圧が
大きいときにしゃ断時制御信号を送出し、後述するトラ
ンジスタスイッチ6、第1の定電流回路7および第2の
定電流回路8に導入する電圧監視手段である。このトラ
ンジスタスイッチ6は直流電源1とRAM3との間に設けら
れ、前記電圧監視手段5からの制御信号を受けて直流電
源1とRAM3を電気的に接続またはしゃ断する直流電源し
ゃ断機能をもっている。第1の定電流回路7は、直流電
源1および二次電池4と共に閉回路を形成するように設
けられ、前記電圧監視手段5からの制御信号を受けて二
次電池4の定電流充電のための定電流通電またはしゃ断
を行うものである。第2の定電流回路8は、RAM3と二次
電池4との間に設けられ、第1の定電流回路7と同様に
前記電圧監視手段5からの制御信号を受けてRAM3と二次
電池4を電気的に接続またはしゃ断し、さらには後述す
るRAMの内容破壊時に定電流放電を行う機能をもってい
る。9は二次電池4と第2の定電流回路8との間、およ
びRAM3と第2の定電流回路8との間でそれぞれ閉回路を
形成するように設けられ、常時は開状態にあり、RAM3の
内容の破壊時には押し操作を行う押し釦スイッチであ
る。
On the other hand, a secondary battery 4 is provided in parallel with the DC power supply 1, and a current is supplied to the RAM 3 by the secondary battery 4 when the DC power supply 1 is cut off. Reference numeral 5 compares the respective voltages of the DC power supply 1 and the secondary battery 4, and sends a control signal during normal operation when the DC power supply voltage is high, and sends a control signal during shut down when the voltage of the secondary battery is high. The voltage monitoring means is introduced into a transistor switch 6, a first constant current circuit 7, and a second constant current circuit 8, which will be described later. The transistor switch 6 is provided between the DC power supply 1 and the RAM 3 and has a DC power supply cutoff function of electrically connecting or disconnecting the DC power supply 1 and the RAM 3 in response to a control signal from the voltage monitoring means 5. The first constant current circuit 7 is provided so as to form a closed circuit together with the DC power supply 1 and the secondary battery 4, and receives a control signal from the voltage monitoring means 5 to charge the secondary battery 4 with a constant current. The constant current is supplied or cut off. The second constant current circuit 8 is provided between the RAM 3 and the secondary battery 4, and receives a control signal from the voltage monitoring means 5 in the same manner as the first constant current circuit 7 to receive the RAM 3 and the secondary battery 4. Is electrically connected or cut off, and furthermore, has a function of discharging a constant current when the contents of the RAM described later are destroyed. 9 is provided to form a closed circuit between the secondary battery 4 and the second constant current circuit 8 and between the RAM 3 and the second constant current circuit 8, respectively, and is normally open, A push button switch for performing a pressing operation when the contents of the RAM 3 are destroyed.

次に、以上のように構成された装置の動作を説明す
る。常時は電圧監視手段5において直流電源電圧と二時
電池4の電圧とを比較しており、ここで直流電源電圧が
二次電池4の電圧よりも大きいときに通常動作時と判断
し、通常動作時制御信号をトランジスタスイッチ6,第1
の定電流回路7,第2の定電流回路8に送出する。この通
常動作時信号を受けると、トランジスタスイッチ6はオ
ン状態となり直流電源1の電力をRAM3に供給し、一方、
第1の定電流回路7は定電流通電となって二次電池4を
定電流充電し、さらに第2の定電流回路8はしゃ断状態
となって二次電池4とRAM3とが電気的にしゃ断する。こ
れにより直流電源1からのみRAMへ電力が供給され、ま
た二次電池4が定電流充電される。なお、この通常動作
時においては押し釦スイッチ9を操作しても、第2の定
電流回路8の一部とRAM3に対して直流電源1からの直流
電力が供給されることとなり、RAM3には一定の電圧がか
かるので、RAM3の内容は破壊されない。
Next, the operation of the device configured as described above will be described. Normally, the voltage monitoring means 5 compares the DC power supply voltage with the voltage of the rechargeable battery 4. When the DC power supply voltage is higher than the voltage of the rechargeable battery 4, it is determined that the normal operation is performed. When the time control signal is the transistor switch 6, the first
To the second constant current circuit 7 and the second constant current circuit 8. Upon receiving the normal operation signal, the transistor switch 6 is turned on, and the power of the DC power supply 1 is supplied to the RAM 3.
The first constant current circuit 7 supplies a constant current to charge the secondary battery 4 with a constant current, and the second constant current circuit 8 enters a cutoff state to electrically cut off the secondary battery 4 and the RAM 3. I do. As a result, power is supplied from only the DC power supply 1 to the RAM, and the secondary battery 4 is charged at a constant current. In this normal operation, even if the push button switch 9 is operated, the DC power from the DC power supply 1 is supplied to a part of the second constant current circuit 8 and the RAM 3, and the RAM 3 is supplied to the RAM 3. Since a constant voltage is applied, the contents of RAM3 are not destroyed.

次に、商用電源がしゃ断されたとき、二次電池4の電
圧が直流電源1の電圧よりも大きいので電圧監視手段5
ではそれに基づいてしゃ断時制御信号をトランジスタス
イッチ6,第1の定電流回路7,第2の定電流回路8に送出
する。その結果、トランジスタスイッチ6はオフ状態と
なり直流電源1とRAM3とは電気的にしゃ断され、第1の
定電流回路7はしゃ断状態となり二次電池4の充電は行
われず、第2の定電流回路8はRAM3と二次電池4を電気
的に接続し、二次電池4からRAM3に電力を供給する。こ
れにより二次電池4からのみRAM3へ電力が供給され、ま
た二次電池の充電は行われない。
Next, when the commercial power supply is cut off, since the voltage of the secondary battery 4 is higher than the voltage of the DC power supply 1,
Then, based on this, a control signal at the time of shutoff is sent to the transistor switch 6, the first constant current circuit 7, and the second constant current circuit 8. As a result, the transistor switch 6 is turned off, the DC power supply 1 and the RAM 3 are electrically cut off, the first constant current circuit 7 is turned off, the secondary battery 4 is not charged, and the second constant current circuit Reference numeral 8 electrically connects the RAM 3 and the secondary battery 4, and supplies power to the RAM 3 from the secondary battery 4. As a result, power is supplied only from the secondary battery 4 to the RAM 3, and the secondary battery is not charged.

次に、直流電源しゃ断時においてRAM3の内容を破壊す
るとき押し釦スイッチ9を操作するが、このとき二次電
池4の電圧は第2の定電流回路8により定電流放電する
一方、RAM3の内容に印加されていた電圧も放電しRAM3の
内容が破壊される。このRAM内容破壊における二次電池
4の放電量は、上記の如き定電流によって極めて少ない
放電量となる。
Next, when the contents of the RAM 3 are destroyed when the DC power supply is cut off, the push button switch 9 is operated. At this time, the voltage of the secondary battery 4 is discharged at a constant current by the second constant current circuit 8, while the contents of the RAM 3 are discharged. Is discharged, and the contents of the RAM 3 are destroyed. The amount of discharge of the secondary battery 4 in the destruction of the RAM contents is extremely small due to the constant current as described above.

次に、第2図は第1図の構成要素をさらに詳細に示す
回路構成図である。すなわち、この回路構成は、直流電
源1の出力端間に分圧抵抗R51、R52が接続され、かつ、
この両抵抗間に電圧判定素子IC51を設け、直流電源1の
電圧が例えば2.5V以上になったことを判定し抵抗R53
電流を流してトランジスタTR51、TR52を作動する。ここ
で、トランジスタTR51、TR52が作動すると、これらトラ
ンジスタTR51、TR52によって直流電源電圧と二次電池4
の電圧との大きさを比較する。
FIG. 2 is a circuit diagram showing the components of FIG. 1 in more detail. That is, in this circuit configuration, the voltage dividing resistors R51 and R52 are connected between the output terminals of the DC power supply 1, and
Both resistance between the voltage determination element IC 51 provided to operate the transistor TR 51, TR 52 by applying a current to the determined resistance R 53 to the voltage of the DC power source 1 is turned, for example, 2.5V or more. Here, when the transistors TR 51 and TR 52 operate, the DC power supply voltage and the rechargeable battery 4 are controlled by the transistors TR 51 and TR 52 .
And the magnitude of the voltage.

このとき、直流電源電圧が二次電池電圧よりも大きい
とき、トランジスタTR52がオンし、電圧判定素子IC52
IC53から低電圧が出力される。その結果、電圧判定素子
IC52出力の抵抗R61に電流が流れ、トランジスタTR61
オンとなり、直流電源1からRAM3に電力が供給される。
また、電圧判定素子IC53の出力のダイオードD71が導通
し、抵抗R71に電流が流れてトランジスタTR71、TR72
オン状態となり、しかも抵抗R72、R73およびトランジス
タTR71、TR72等によってカーレントミラを構成している
ことから一定電流が抵抗R71を通して流れ、二次電池4
への充電電流も一定となる。また、ダイオードD81が導
通し、抵抗R81、R84、R85を通って電流が流れるので、F
ET81がオフとなる。ゆえに、二次電池4からRAM3が切り
離され、二次電流4からRAM3へは電流が供給されない。
このとき、押し釦スイッチ9を押し操作しても、直流電
源1から抵抗R81、R84、R85に電流が流れ、ここで電流
が制限されることによりRAM3にかかる電圧が下がらず、
RAM3の内容は破壊されない。
In this case, when the DC power source voltage is larger than the secondary battery voltage, the transistor TR 52 is turned on, the voltage determination element IC 52,
Low voltage is output from the IC 53. As a result, the voltage judgment element
Current flows through the resistor R 61 of the IC 52 output, transistor TR 61 is turned on, electric power is supplied from the DC power source 1 to the RAM 3.
Also, conducting the diode D 71 in the output of the voltage determination element IC 53, the transistor TR 71, TR 72 a current flows through the resistor R 71 is turned on, yet the resistor R 72, R 73 and transistors TR 71, TR 72 a constant current flows through the resistor R 71 since it constitutes a Karentomira by such secondary battery 4
The charging current to is also constant. Also, since the diode D 81 conducts and current flows through the resistors R 81 , R 84 and R 85 , F
ET 81 turns off. Therefore, the RAM 3 is disconnected from the secondary battery 4, and no current is supplied from the secondary current 4 to the RAM 3.
At this time, even if the push button switch 9 is pressed, a current flows from the DC power supply 1 to the resistors R 81 , R 84 , and R 85 , and the current is limited, so that the voltage applied to the RAM 3 does not decrease.
The contents of RAM3 are not destroyed.

次に、電圧監視手段5において二次電源電圧が直流電
源電圧よりも大きいとき、トランジスタTR52がオフとな
り、電圧判定素子IC51から高い電圧が出力される。その
結果、抵抗R61には電流が流れず、トランジスタTR61
オフとなり、直流電源1からRAM3を切り離すことにな
る。また、ダイオードD71、D72がオフとなって抵抗R71
に電流が流れず、そのためトランジスタTR71、TR72がオ
フとなり、またダイオードD81がオフしFET81のゲート電
圧が高くなってオンとなり、二次電池4からRAM3に電力
が供給される。このとき、押し釦スイッチ9を押し操作
すると、抵抗R82に電流が流れてダイオードD81がオフと
なって、FET81のゲート電圧が低くなり、かつ、RAM3に
印加されていた電圧により抵抗R81に電流が流れ、よっ
てRAM電圧が0.3V以下となったときにRAM3の内容が破壊
される。そして、FET81と抵抗R81、R82、R84、R85とに
よって二次電池4から所定の放電電流が流れるものであ
る。
Then, when the secondary power supply voltage is the voltage monitoring means 5 greater than the DC supply voltage, the transistor TR 52 is turned off, a high voltage from the voltage determination element IC 51 is output. As a result, no current flows through the resistor R 61, the transistor TR 61 is turned off, a DC power source 1 to be disconnected RAM 3. Further, the diodes D 71 and D 72 are turned off, and the resistance R 71
, The transistors TR 71 and TR 72 are turned off, the diode D 81 is turned off, the gate voltage of the FET 81 is increased and turned on, and power is supplied from the secondary battery 4 to the RAM 3. In this case, when pressed the push button switch 9, the resistor diode D 81 a current flows through the R 82 is turned off, the lower the gate voltage of the FET 81, and the resistor R by the voltage applied to the RAM3 When current flows through 81 , the contents of RAM3 are destroyed when the RAM voltage falls below 0.3V. Then, a predetermined discharge current flows from the secondary battery 4 by the FET 81 and the resistors R 81 , R 82 , R 84 , and R 85 .

従って、以上のような実施例の構成によれば、電圧監
視手段5を用いて直流電源1と二次電池4とを切り換え
るに際し、直流電源1の電圧と二次電池4の電圧とを同
じタイミングで切り換えるのでRAM3の電源変動が過渡的
にならない。このため急激な電圧変動によるRAM内容の
破壊等が生じない。またRAMの内容破壊時、第2の定電
流回路8を用いて放電させることにより、二次電池4の
放電が極めて少なく、再充電の必要がないかまたは再充
電時間が短くてすむ。また、第2の定電流回路8はドロ
ップ電圧が少ないので電力供給効率がよく、機械的な接
点を持たないので接触不良などが起こらず信頼性が高
い。さらに、通常動作時には第2の定電流回路8がしゃ
断状態となり、この時に押し釦スイッチ9を操作しても
RAM内容の破壊が起きず、不用意な操作に対してRAM内容
を保護することができる。また、第1の定電流回路7に
よる定電流充電により、二次電池4を誤接続した場合で
も過電流が流れず二次電池4およびその関連機器の損傷
を回避できる。
Therefore, according to the configuration of the above embodiment, when switching between the DC power supply 1 and the secondary battery 4 using the voltage monitoring means 5, the voltage of the DC power supply 1 and the voltage of the secondary battery 4 are set at the same timing. , The power supply fluctuation of RAM3 does not become transient. As a result, the contents of the RAM are not destroyed due to sudden voltage fluctuation. When the contents of the RAM are destroyed, the second constant current circuit 8 is used to discharge the battery, so that the discharge of the secondary battery 4 is extremely small, and the recharge is not required or the recharge time is short. Further, the second constant current circuit 8 has a low drop voltage and thus has a high power supply efficiency, and has no mechanical contact, so that a contact failure does not occur and the reliability is high. Further, at the time of normal operation, the second constant current circuit 8 is in a cut-off state.
The contents of the RAM are not destroyed, and the contents of the RAM can be protected against inadvertent operations. Further, by the constant current charging by the first constant current circuit 7, even when the secondary battery 4 is erroneously connected, an overcurrent does not flow and damage to the secondary battery 4 and its related devices can be avoided.

なお、上記実施例では、二次電池4が特定の電圧にな
るまでは一定の電流で二次電池4を充電し、前記特定の
電圧以上の電圧になったとき少ない電流で充電するよう
にすれば、二次電池の過充電を容易に防止することがで
きる。
In the above embodiment, the rechargeable battery 4 is charged with a constant current until the rechargeable battery 4 reaches a specific voltage, and is charged with a small current when the voltage exceeds the specific voltage. In this case, overcharging of the secondary battery can be easily prevented.

その他、本発明はその要旨を逸脱しない範囲で種々変
形して実施できる。
In addition, the present invention can be implemented with various modifications without departing from the scope of the invention.

[発明の効果] 以上説明したように本発明によれば、RAM内容破壊用
のスイッチの接触不良によってRAM内容が破壊されるこ
とがなく、RAMの内容を破壊する場合には二次電池の放
電量が極めて少なくてすみ、かつ二次電池の誤接続等が
あっても過電流が生じないRAMバックアップ電源装置を
提供できる。
[Effects of the Invention] As described above, according to the present invention, the RAM contents are not destroyed due to a contact failure of the switch for destroying the RAM contents. It is possible to provide a RAM backup power supply device that requires an extremely small amount and does not generate an overcurrent even if a secondary battery is erroneously connected.

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

第1図は本発明の一実施例を示すブロック構成図、第2
図は第1図の構成要素を具体化した回路構成図である。 1……直流電源、2……マイクロコンピュータ、3……
RAM、4……二次電池、5……電圧監視手段、6……ト
ランジスタスイッチ、7……第1の定電流回路、8……
第2の定電流回路、9……押し釦スイッチ。
FIG. 1 is a block diagram showing an embodiment of the present invention.
The figure is a circuit configuration diagram that embodies the components of FIG. 1. DC power supply 2. Microcomputer 3.
RAM, 4 ... secondary battery, 5 ... voltage monitoring means, 6 ... transistor switch, 7 ... first constant current circuit, 8 ...
2nd constant current circuit, 9 ... push button switch.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】商用電源を直流電力に変換する直流電源と
バックアップ用電源としての電池電源とが並列に接続さ
れ、商用電源の通電時(以下、通電動作時という)には
直流電源の直流電力をRAMに供給するとともに電池電源
への充電を行い、前記商用電源のしゃ断時には電池電源
をRAMに供給するRAMバックアップ電源装置において、 前記直流電源電圧と前記電池電源電圧とを監視し、両電
圧の大小関係に応じて通常動作時制御信号またはしゃ断
時制御信号を出力する電圧監視手段と、 前記直流電源とRAMとの間に設けられ、前記電圧監視手
段から出力される通常動作時制御信号を受けて前記直流
電源とRAMとを電気的に接続し、前記しゃ断時制御信号
を受けて直流電源からRAMを切り離す直流電源しゃ断手
段と、 通常動作時には直流電源を受けて所定の定電流を出力し
て電池電源を充電し、前記電圧監視手段からしゃ断時制
御信号を受けたとき定電流路をしゃ断する第1の定電流
回路と、 前記電池電源とRAMとの間に設けられ、前記電圧監視手
段からの通常動作時制御信号を受けて定電流路をしゃ断
し、また前記しゃ断時制御信号を受けて電池電源とRAM
とを電気的に接続する第2の定電流回路と、 常時はオフ状態にあり、RAMの内容を破壊するためにオ
ン操作があったとき、前記電池電源と第2の定電流回路
との間およびRAMとの間でそれぞれ閉回路を形成するこ
とにより第2の定電流回路による電池電源の少ない放電
量でRAMの内容を破壊する押し釦スイッチと、 を備えたことを特徴とするRAMバックアップ電源装置。
A DC power supply for converting a commercial power supply to DC power and a battery power supply as a backup power supply are connected in parallel, and when the commercial power supply is energized (hereinafter referred to as energizing operation), the DC power of the DC power supply is supplied. In the RAM backup power supply that supplies battery power to the RAM when the commercial power is cut off, the DC power supply voltage and the battery power supply voltage are monitored. A voltage monitoring unit that outputs a normal operation control signal or a shutoff control signal according to the magnitude relation; and a normal operation control signal that is provided between the DC power supply and the RAM and that is output from the voltage monitoring unit. DC power supply disconnecting means for electrically connecting the DC power supply to the RAM and receiving the control signal at the time of disconnection and disconnecting the RAM from the DC power supply; A first constant current circuit that outputs a constant current to charge a battery power supply, and that interrupts a constant current path when receiving a shutoff control signal from the voltage monitoring means; and a first constant current circuit that is provided between the battery power supply and the RAM. Receiving a control signal during normal operation from the voltage monitoring means to cut off a constant current path, and receiving a control signal during cutoff to receive a battery power supply and a RAM.
And a second constant current circuit for electrically connecting the battery power supply and the second constant current circuit, which is normally in an off state and is turned on to destroy the contents of the RAM. And a push button switch for forming a closed circuit between the RAM and the RAM to destroy the contents of the RAM with a small amount of discharge of the battery power by the second constant current circuit. apparatus.
JP2209094A 1990-08-09 1990-08-09 RAM backup power supply Expired - Fee Related JP2835162B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2209094A JP2835162B2 (en) 1990-08-09 1990-08-09 RAM backup power supply

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2209094A JP2835162B2 (en) 1990-08-09 1990-08-09 RAM backup power supply

Publications (2)

Publication Number Publication Date
JPH0496116A JPH0496116A (en) 1992-03-27
JP2835162B2 true JP2835162B2 (en) 1998-12-14

Family

ID=16567189

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2209094A Expired - Fee Related JP2835162B2 (en) 1990-08-09 1990-08-09 RAM backup power supply

Country Status (1)

Country Link
JP (1) JP2835162B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010058357A (en) * 2008-09-03 2010-03-18 Dainippon Printing Co Ltd Thermal printer

Also Published As

Publication number Publication date
JPH0496116A (en) 1992-03-27

Similar Documents

Publication Publication Date Title
US5589719A (en) Card out of socket detector for IC cards
US5790873A (en) Method and apparatus for power supply switching with logic integrity protection
JPH0556577A (en) Power supply controller
JPH08140260A (en) Power supply
JPH05501992A (en) Method of operating a recording device powered by at least one rechargeable battery
JP2862591B2 (en) Inrush current prevention circuit
JPS59204429A (en) Power source control circuit
JP2835162B2 (en) RAM backup power supply
JP3704886B2 (en) Battery pack
US5949160A (en) System and method for double fault protection within a digital camera device
US5825099A (en) Uninterruptible power supply circuit
JP2000083325A (en) Battery condition monitoring circuit, battery device and electronic equipment mounted therewith
US7336005B2 (en) System and method for brownout protection of a FET based battery switch
JPH09322390A (en) Protecting circuit from overvoltage
JPH05265599A (en) Power source supply device for microcomputer
JP2000050526A (en) Power supply controller
JP2020195192A (en) Storage battery system, method, and program
JPH0624900Y2 (en) Memory backup power supply
JPS63124731A (en) Charger of secondary battery in electronic equipment
JPS60689B2 (en) Power control method
JPH0519911A (en) Power supply circuit
KR20000077068A (en) An integrated circuit for monitoring and controlling power and the method therefor
JP2000138023A (en) Reverse voltage protection device
JP2595653B2 (en) Tape recorder
JPH0224971A (en) Power generating operation starting device for alkaline type fuel cell

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees