JPH04199412A - Memory back-up device - Google Patents

Memory back-up device

Info

Publication number
JPH04199412A
JPH04199412A JP2333094A JP33309490A JPH04199412A JP H04199412 A JPH04199412 A JP H04199412A JP 2333094 A JP2333094 A JP 2333094A JP 33309490 A JP33309490 A JP 33309490A JP H04199412 A JPH04199412 A JP H04199412A
Authority
JP
Japan
Prior art keywords
power supply
memory
battery
backed
supply
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
JP2333094A
Other languages
Japanese (ja)
Inventor
Toshiro Katsumata
勝又 利郎
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 JP2333094A priority Critical patent/JPH04199412A/en
Publication of JPH04199412A publication Critical patent/JPH04199412A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To assure the back-up of a memory with high reliability despite a short daily using time of the memory by backing up the memory with use of a main power supply, a sub-power supply, and a battery. CONSTITUTION:A main power supply 25 is connected to a commercial power supply 21 via a series connection of a plug socket 22, a noise filter 23, and a power switch 24. Meanwhile a sub-power supply 26 having the capacity smaller than that of the supply 25 is connected to the supply 21 via the socket 22 and the filter 23. Then a volatile memory 28 is backed up by the supply 25 in an ON state of the switch 24 and then backed up the supply 26 in an OFF state of the switch 24 respectively. Then the memory 28 is backed up by a battery 31 when the supply 21 is stopped. As a result, the memory 28 can be backed up with high reliability despite a short daily using time of the memory 28. Furthermore the capacity of the battery 31 can be reduced.

Description

【発明の詳細な説明】 [産業上の利用分野コ 本発明は、電子キャッシュレジスタやPO5(ポイント
・オフ・セールス)ターミナル等比較的大容量の揮発性
メモリを使用した電子機器のメモリバックアップ装置に
関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a memory backup device for electronic devices such as electronic cash registers and PO5 (point-off sales) terminals that use relatively large-capacity volatile memories. .

[従来の技術] 例えば電子キャッシュレジスタやPOSターミナル等に
おいては多種の商品販売データを登録処理するために大
容量のメモリが使用されているが、このようなメモリに
は電源バックアップの必要な揮発性メモリであるRAM
 (ランダム・アクセス・メモリ)が使用されている。
[Prior Art] For example, large-capacity memories are used in electronic cash registers, POS terminals, etc. to register and process various product sales data, but such memories are volatile and require power backup. RAM which is memory
(random access memory) is used.

そしてこの種の装置ではメモリに登録されたデータを何
日も保持する必要があり、このためバッテリーを設けて
1日の業務が終了して電源がオフされてもバッテリーで
メモリをバックアップするようになっている。
In this type of device, it is necessary to retain the data registered in the memory for many days, so a battery is installed to back up the memory even when the power is turned off at the end of the day's work. It has become.

このような電子機器に使用されるメモリバックアップ装
置としては従来、第3図に示すものが知られている。こ
れは商用電源1にコンセント拳プラグ2を介し、ざらに
ノスズフィルタ3及び電源スイッチ4を直列に介して電
源5を接続し、その電源5の出力端子から各回路部動作
のための直流電圧VCCを出力している。前記電源5の
出力端子にはダイオード6を介して揮発性メモリである
RAM7が接続されている。また前記電源5の出力端子
にはダイオード8を介しさらに充電電流制限用抵抗9を
介して充電式バッテリー10が接続されている。そして
このバッテリー10をダイオード11を介して前記RA
M7にバックアップ用電源として接続している。
As a memory backup device used in such electronic equipment, the one shown in FIG. 3 is conventionally known. This connects a power supply 5 to a commercial power supply 1 through an outlet plug 2, a nozzle filter 3, and a power switch 4 in series, and outputs a DC voltage VCC for operating each circuit from the output terminal of the power supply 5. It is outputting. A RAM 7, which is a volatile memory, is connected to the output terminal of the power source 5 via a diode 6. Further, a rechargeable battery 10 is connected to the output terminal of the power source 5 through a diode 8 and a charging current limiting resistor 9. Then, this battery 10 is connected to the RA through a diode 11.
Connected to M7 as a backup power source.

この装置においては電源スイッチ4をオンしているとき
には電源5からの直流電圧VCCがダイオード6を介し
てRAM7に供給されると共にダイオード8及び抵抗9
を介してバッテリー10に供給されてこのバッテリー1
0が充電される。そして電源スイッチ4をオフすると電
源5からの直流電圧vccの出力が停止されるのでバッ
テリー10の電圧がダイオード11を介してRAM7に
供給されメモリバックアップされる。
In this device, when the power switch 4 is turned on, the DC voltage VCC from the power source 5 is supplied to the RAM 7 via the diode 6, and also to the diode 8 and the resistor 9.
This battery 1 is supplied to the battery 10 via
0 is charged. Then, when the power switch 4 is turned off, the output of the DC voltage vcc from the power source 5 is stopped, so that the voltage of the battery 10 is supplied to the RAM 7 via the diode 11 and is backed up as a memory.

[発明が解決しようとする課題] ところで電子キャッシュレジスタやPOSターミナル等
では使用する場所や条件等により使用時間が日々異なる
場合がある。このため従来装置では場合によってバッテ
リー10が放電しきってメモリバックアップが保証でき
なくなる虞があった。
[Problems to be Solved by the Invention] Incidentally, the usage time of electronic cash registers, POS terminals, etc. may vary from day to day depending on the location and conditions of use. For this reason, in the conventional device, there was a risk that the battery 10 would be completely discharged in some cases, making it impossible to guarantee memory backup.

例えば1日8時間使用で設計されたものが例えば1日1
時間程度しか使用されなくなるとバッテリーが放電しき
ってメモリバックアップが保証できなくなる。
For example, a product designed to be used for 8 hours a day may
If the device is only used for about an hour, the battery will be completely discharged and memory backup cannot be guaranteed.

そこで本発明は、たとえ1日の使用時間が短くてもメモ
リバックアップを確実に保証でき、しかも使用するバッ
テリーの容量を小さくてきるメモリバックアップ装置を
提供しようとするものである。
SUMMARY OF THE INVENTION Therefore, the present invention aims to provide a memory backup device that can reliably guarantee memory backup even if the usage time per day is short and that can reduce the capacity of the battery used.

E課題を解決するための手段] 本発明は、商用電源に電源スイッチを介して接続され各
回路部動作のための直流電圧を出力するメイン電源と、
商用電源に接続され直流電圧を出力するメイン電源より
も容量の小さいサブ電源と、バッテリーと、電源スイッ
チのオン時にはメイン電源によりバックアップされ、電
源スイッチのオフ時にはサブ電源によりバックアップさ
れ、かつ商用電源の供給停止時にはバッテリーによりバ
ックアップされる揮発性メモリからなるものである。
Means for Solving Problem E] The present invention provides a main power source that is connected to a commercial power source via a power switch and outputs a DC voltage for operating each circuit section;
A sub power supply with a smaller capacity than the main power supply that is connected to the commercial power supply and outputs DC voltage, a battery, and a sub power supply that is backed up by the main power supply when the power switch is on, backed up by the sub power supply when the power switch is off, and that is connected to the commercial power supply. It consists of volatile memory that is backed up by a battery when the supply is interrupted.

[作 用〕 このような構成の本発明においては、電源スイッチをオ
ンしているときにはメモリにはメイン電源から直流電圧
が供給され、電源スイッチをオフしているときにはサブ
電源からの直流電圧によりメモリがバックアップされる
。さらに商用電源が停電したときにはバッテリーにより
メモリがバックアップされる。
[Function] In the present invention having such a configuration, when the power switch is on, DC voltage is supplied to the memory from the main power supply, and when the power switch is off, the memory is supplied with DC voltage from the sub power supply. is backed up. Furthermore, in the event of a power outage, the memory is backed up by a battery.

[実施例コ 以下、本発明の一実施例を図面を参照して説明する。[Example code] Hereinafter, one embodiment of the present invention will be described with reference to the drawings.

第1図に示すように、商用電源21にコンセント・プラ
グ22を介し、さらにノスズフィルタ23及び電源スイ
ッチ24を直列に介してメイン電源25を接続している
。このメイン電源25はその出力端子から各回路部を動
作させるための直流電圧VCC,を出力している。
As shown in FIG. 1, a main power source 25 is connected to a commercial power source 21 through an outlet plug 22, and further through a Nozzle filter 23 and a power switch 24 in series. This main power supply 25 outputs a DC voltage VCC for operating each circuit section from its output terminal.

また箭記商用電源21にコンセント・プラグ22を介し
、さらにノスズフィルタ23を介して前記メイン電源2
5よりも容量の小さいサブ電源・ 26を接続している
。このサブ電源26はその出力端子からメモリバックア
ップに必要な直流電圧VCC2を出力している。
In addition, the main power supply 2 is connected to the commercial power supply 21 through an outlet/plug 22 and further through a Nozzle filter 23.
A sub power supply 26 with a smaller capacity than 5 is connected. This sub power supply 26 outputs a DC voltage VCC2 necessary for memory backup from its output terminal.

前記メイン電源25の出力端子にはダイオード27を介
して揮発性メモリであるRAM28が接続されている。
A RAM 28, which is a volatile memory, is connected to the output terminal of the main power supply 25 via a diode 27.

またこのメイン電源25の出力端子にはダイオード29
を介しさらに充電電流制限用抵抗30を介して充電式バ
ッテリー31が接続されている。
In addition, a diode 29 is connected to the output terminal of this main power supply 25.
Further, a rechargeable battery 31 is connected via a charging current limiting resistor 30.

前記サブ電源26あ出力端子にはダイオード32を介し
て前記RAM28か接続されている。
The RAM 28 is connected to the output terminal of the sub power supply 26 via a diode 32.

またこのサブ電源26の出力端子にはダイオード33を
介しさらに充電電流制限用抵抗34を介して前記バッテ
リー31が接続されている。
Further, the battery 31 is connected to the output terminal of the sub power source 26 via a diode 33 and a charging current limiting resistor 34.

前記バッテリー10はダイオード35を介して前記RA
M28に停電時のバックアップ用電源として接続してい
る。
The battery 10 is connected to the RA via a diode 35.
Connected to M28 as a backup power source in case of power outage.

前記サブ電源26の出力端子にはまた前記ダイオード3
2を介しさらに抵抗36及びNPN形の第1のトランジ
スタ37のコレクタ、エミッタを介して発光ダイオード
38が接続されている。前記第1のトランジスタ37の
ベース、エミッタ間にはNPN形の第2のトランジスタ
39のコレクタ、エミッタが接続されている。前記第1
のトランジスタ37のベースはまた抵抗40を介して前
記ダイオード32のカソードに接続されている。
The diode 3 is also connected to the output terminal of the sub power supply 26.
Further, a light emitting diode 38 is connected through a resistor 36 and the collector and emitter of a first transistor 37 of NPN type. The collector and emitter of a second NPN transistor 39 are connected between the base and emitter of the first transistor 37. Said first
The base of the transistor 37 is also connected to the cathode of the diode 32 via a resistor 40.

前記第2のトランジスタ39のベースは抵抗41を介し
て前記メイン電源25の電圧VCCIの出力端子に接続
されている。
The base of the second transistor 39 is connected to the output terminal of the voltage VCCI of the main power supply 25 via a resistor 41.

このような構成の本実施例においては、電源スイッチ2
4がオンされるとメイン電源25が商用電源21に接続
され、そのメイン電源25の出力端子から直流電圧VC
CIが出力され、各回路部に供給されると共にダイオー
ド27を介してRAM28にも供給される。
In this embodiment with such a configuration, the power switch 2
4 is turned on, the main power supply 25 is connected to the commercial power supply 21, and the DC voltage VC is output from the output terminal of the main power supply 25.
CI is output and supplied to each circuit section and also to the RAM 28 via the diode 27.

またダイオード29及び抵抗30を介してバッテリー3
1か充電される。
Also, the battery 3 is connected via a diode 29 and a resistor 30.
1 is charged.

またサブ電源26も商用電源2]に接続されているので
直流電圧V CC2は出力される。
Further, since the sub power supply 26 is also connected to the commercial power supply 2, the DC voltage VCC2 is output.

直流電圧V((、か出力されることにより第2の]・ラ
ンジスタ39かオンされ、第1のトランジスタ37かオ
フされるので発光ダイオード38は滅灯される。
By outputting the DC voltage V(,, the second transistor 39 is turned on and the first transistor 37 is turned off, so that the light emitting diode 38 is turned off.

この状態で電源スイッチ24かオフされるとメイン電源
25からの直流電圧VCCIの出力は停止される。しか
しサブ電源26は商用電源21に接続されているのでそ
のサブ電源26からの直流電圧Vco2の出力状態は継
続される。
When the power switch 24 is turned off in this state, the output of the DC voltage VCCI from the main power supply 25 is stopped. However, since the sub power supply 26 is connected to the commercial power supply 21, the output state of the DC voltage Vco2 from the sub power supply 26 continues.

しかしてサブ電源26からの直流電圧V CC2がRA
M28に供給されるので電源スイッチ24のオフ後もR
AM28は確実にメモリバックアップされる。またバッ
テリー31はダイオード33及び抵抗34を介してサブ
電源26の出力端子に接続されているので充電は継続し
て行われる。
Therefore, the DC voltage V CC2 from the sub power supply 26 is RA
Since it is supplied to M28, R is supplied even after the power switch 24 is turned off.
AM28 is reliably memory backed up. Furthermore, since the battery 31 is connected to the output terminal of the sub-power source 26 via the diode 33 and the resistor 34, charging continues.

またメイン電源25からの直流電圧VCCIの出力が停
止されると、第1のトランジスタ39がオフするので第
2のトランジスタ37がオンし発光ダイオード38か点
灯する。これによりサブ電源26でRAM28をバック
アップしている状態が知らされる。
Further, when the output of the DC voltage VCCI from the main power supply 25 is stopped, the first transistor 39 is turned off, so the second transistor 37 is turned on and the light emitting diode 38 is turned on. This informs the user that the sub power supply 26 is backing up the RAM 28.

従って電源スイッチ24かたとえ長期間に亘ってオフさ
れてもRAM28のメモリバックアップは確実に保証さ
れる。
Therefore, even if the power switch 24 is turned off for a long period of time, memory backup of the RAM 28 is reliably guaranteed.

さらに商用電源21が停電したり、コンセント・プラグ
22が外れたときにはサブ電源26からの直流電圧VC
C2の出力も停止される。このような事態が発生したと
きにはバッテリー31によりRAM28のメモリかバッ
クアップされる。
Furthermore, when the commercial power supply 21 is out of power or the outlet plug 22 is disconnected, the DC voltage VC from the sub power supply 26 is
The output of C2 is also stopped. When such a situation occurs, the memory of the RAM 28 is backed up by the battery 31.

こうしてRAM28はたとえどのような事態が発生して
も確実にメモリがバックアップされることになる。
In this way, the memory of the RAM 28 will be reliably backed up no matter what happens.

しかもバッテリー31は商用電源21が停電したり、コ
ンセント・プラグ22が外れたとき等特殊な事態が発生
したときのみメモリバックアップ制御を行えばよいので
小容量で安価なバッテリーで十分である。
Moreover, since the battery 31 only needs to perform memory backup control when a special situation occurs, such as when the commercial power supply 21 is out of power or when the outlet/plug 22 is disconnected, a small-capacity, inexpensive battery is sufficient.

なお、前記実施例ではメイン電源及びサブ電源の両方に
よってバッテリーを充電させるようにしたが必ずしもこ
れに限定されるものではなく、−方の電源のみで充電さ
せるようにしてもよく、またバッテリーとして充電式で
ない1次電池を使用してもよい。
In the above embodiment, the battery is charged by both the main power source and the sub power source, but the invention is not limited to this, and the battery may be charged by only the negative power source. A non-type primary battery may be used.

[発明の効果] 以上詳述したように本発明によれば、たとえ1日の使用
時間か短くてもメモリバックアップを確実に保証でき、
しかも使用するバッテリーの容量を小さくできるメモリ
バックアップ装置を提供できるものである。
[Effects of the Invention] As detailed above, according to the present invention, memory backup can be reliably guaranteed even if the usage time is short in one day.
Moreover, it is possible to provide a memory backup device that can reduce the capacity of the battery used.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図及び第2図は本発明の一実施例を示す回路図、第
3図は従来例を示す回路図である。 21・・・商用電源、 24・・・電源スイッチ、 25・・・メイン電源、 26・・・サブ電源、 28・・・RAM (揮発性メモリ)、31・・・バッ
テリー。 出願人代理人 弁理士 鈴江武彦
1 and 2 are circuit diagrams showing one embodiment of the present invention, and FIG. 3 is a circuit diagram showing a conventional example. 21...Commercial power supply, 24...Power switch, 25...Main power supply, 26...Sub power supply, 28...RAM (volatile memory), 31...Battery. Applicant's agent Patent attorney Takehiko Suzue

Claims (1)

【特許請求の範囲】[Claims] 商用電源に電源スイッチを介して接続され各回路部動作
のための直流電圧を出力するメイン電源と、前記商用電
源に接続され直流電圧を出力する前記メイン電源よりも
容量の小さいサブ電源と、バッテリーと、前記電源スイ
ッチのオン時には前記メイン電源によりバックアップさ
れ、前記電源スイッチのオフ時には前記サブ電源により
バックアップされ、かつ前記商用電源の供給停止時には
前記バッテリーによりバックアップされる揮発性メモリ
からなることを特徴とするメモリバックアップ装置。
A main power supply that is connected to a commercial power supply via a power switch and outputs DC voltage for operating each circuit, a sub power supply that is connected to the commercial power supply and outputs DC voltage and has a smaller capacity than the main power supply, and a battery. and a volatile memory backed up by the main power supply when the power switch is on, backed up by the sub power supply when the power switch is off, and backed up by the battery when the commercial power supply stops. memory backup device.
JP2333094A 1990-11-29 1990-11-29 Memory back-up device Pending JPH04199412A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2333094A JPH04199412A (en) 1990-11-29 1990-11-29 Memory back-up device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2333094A JPH04199412A (en) 1990-11-29 1990-11-29 Memory back-up device

Publications (1)

Publication Number Publication Date
JPH04199412A true JPH04199412A (en) 1992-07-20

Family

ID=18262211

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2333094A Pending JPH04199412A (en) 1990-11-29 1990-11-29 Memory back-up device

Country Status (1)

Country Link
JP (1) JPH04199412A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5652442B2 (en) * 1973-02-27 1981-12-12

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5652442B2 (en) * 1973-02-27 1981-12-12

Similar Documents

Publication Publication Date Title
JP2887353B2 (en) Battery Power Digital Data Processor
JPH0416806B2 (en)
JPH04199412A (en) Memory back-up device
JP3266982B2 (en) Power supply switching device
KR100734101B1 (en) An apparatus for controlling battery backup of a banking system
JPH0519911A (en) Power supply circuit
JPS59216428A (en) Battery protecting device
JPS5897720A (en) Power supply circuit
KR950002023B1 (en) Circuit for backup cmos memory
JP2562261Y2 (en) Backup power supply circuit
JPH0751628Y2 (en) Microcomputer reset device
JPS61278785A (en) Electronic timer
JP2508085B2 (en) IC card
JPS5831214Y2 (en) Power supply circuit for storage devices
KR200157748Y1 (en) Electrostatic compensation circuit
JPS63244289A (en) Memory card
KR930002027Y1 (en) Circuit for back-up battery
JPS6260437A (en) Power source backup circuit
JPS6395825A (en) Backup source circuit
JPH02121018A (en) Power supplying device
JPS6154828A (en) Memory backup device
JPH0566752U (en) Battery backup circuit for portable electronic devices
JPS60245012A (en) Backup power source for cpu and memory
JPS62138781A (en) Timer device
JPH07129285A (en) Power source control circuit