JPS62106523A - Memory back-up circuit - Google Patents

Memory back-up circuit

Info

Publication number
JPS62106523A
JPS62106523A JP60246779A JP24677985A JPS62106523A JP S62106523 A JPS62106523 A JP S62106523A JP 60246779 A JP60246779 A JP 60246779A JP 24677985 A JP24677985 A JP 24677985A JP S62106523 A JPS62106523 A JP S62106523A
Authority
JP
Japan
Prior art keywords
microcomputer
power supply
input
terminal
voltage
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
JP60246779A
Other languages
Japanese (ja)
Inventor
Toshiyuki Shiromizu
敏行 白水
Haruhiko Murakami
晴彦 村上
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.)
Sharp Corp
Original Assignee
Sharp 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 Sharp Corp filed Critical Sharp Corp
Priority to JP60246779A priority Critical patent/JPS62106523A/en
Publication of JPS62106523A publication Critical patent/JPS62106523A/en
Pending legal-status Critical Current

Links

Landscapes

  • Power Sources (AREA)
  • Calculators And Similar Devices (AREA)

Abstract

PURPOSE:To minimize the power consumption of an auxiliary power supply by eliminating the application of such external stimulation as the reset input, the interruption input, etc., while the contents of a RAM are held by an auxiliary power supply. CONSTITUTION:When a microcomputer 2 is set under a normal action mode in case a main power supply 1 is consumed and is unable to output the fixed level of voltage, the output voltage of an IC5 for monitor of the power supply 1 is changed to a low level from a high level. Then the input voltage of an input terminal P1 of a microcomputer 2 is changed to a low level from a high level and 'BATTERY LOW!' is displayed on a display device 3 for several seconds. Then the microcomputer 2 is changed to a stand-by mode and works by an auxiliary power supply 6. When the input voltage of the IC5 is set at a low level. Thus no reset signal is produced despite the depression of the switch 8 of a resetting circuit A and no reset signal is applied to the terminal RES of the microcomputer 2. This prevents the early consumption of the power supply 6.

Description

【発明の詳細な説明】 く技術分野〉 本発明は、リセット、インクラブド入力等の外部刺激の
印加にて、スタンバイモードがら通常動作−E−−)”
K切り換わるワンチップマイコン、ハイブリットマイコ
ン等に用いるメモリーバンクアップ回路に関するもので
ある。
[Detailed Description of the Invention] Technical Field> The present invention enables normal operation in standby mode by applying external stimuli such as reset and included input.
This relates to a memory bank up circuit used in K-switching one-chip microcomputers, hybrid microcomputers, etc.

〈従来技術〉 従来のメモリーバックアップ回路をワンチップマイコン
(ワンチップ内にCRU、RAM、ROM、タイマー等
を内蔵するもの)に於いて使用した一実例を説明する。
<Prior Art> An example in which a conventional memory backup circuit is used in a one-chip microcomputer (one chip having a built-in CRU, RAM, ROM, timer, etc.) will be described.

ワンチップマイコンへ電力を供給する主電源を該ワンチ
ップマイコンの電源端子に接続し、該ワンチップマイコ
ンの電源端子に該主電源が切れた時にのみ電力を供給す
る補助電源を接続し、上記ワンチップマイコンのリセッ
ト、インタラプト入力等の外部刺激を入力する外部刺激
人力−子にリセット、インクラブド入力等の外部刺激を
発生する外部刺激発生回路を接続し、該外部刺激発生回
路は−に記主電源、補助電源とも接続し、上記ワンチッ
プマイコンをRAMKのみ電力を供給しその他には供給
しないスタンバイモードにすることによりRAMの内容
を保持しており、該スタンバイモードはリセット、イン
タラプト入力等の外部刺激によりRAMの他にCPU、
ROM等にも電力を供給する通常動作モードに切り換わ
るようになっており、該通常動作モード時には上記スタ
ンバイモード時の消費電力より非常に大きな電力が消費
される為、上記主電源が切れて上記補助電源で電力を供
給している時には上記補助電源の消耗を早めたり、時に
は使用不能になるといった欠点があった。
Connect the main power supply that supplies power to the one-chip microcomputer to the power terminal of the one-chip microcomputer, connect the auxiliary power supply that supplies power only when the main power supply is cut off to the power terminal of the one-chip microcomputer, and An external stimulus generation circuit that generates external stimuli such as reset and included input is connected to the external stimulus generator that inputs external stimuli such as chip microcontroller reset and interrupt input, and the external stimulus generation circuit is connected to the main power supply. The content of the RAM is maintained by connecting it to an auxiliary power supply and placing the one-chip microcontroller in standby mode, where power is supplied only to the RAMK and not to anything else.The standby mode does not require external stimulation such as reset or interrupt input. In addition to RAM, CPU,
The system switches to the normal operation mode that also supplies power to the ROM, etc., and because the normal operation mode consumes much more power than the standby mode, the main power is turned off and the When power is supplied from an auxiliary power source, there is a drawback that the auxiliary power source wears out quickly and sometimes becomes unusable.

く目 的〉 本発明は上記のような欠点を除去したメモリーバックア
ップ回路を提供することを目的としたものである。
Purpose of the present invention An object of the present invention is to provide a memory backup circuit that eliminates the above-mentioned drawbacks.

〈実施例〉 以下本発明のメモリーバックアップ回路の一実施例を図
面とともに説明する。図面の一実施例は主電源に乾電池
、補助電源に大容量コンデンサ、外部刺激発生回路とし
てリセット回路を使用したメモリーバックアップ回路を
示す。
<Embodiment> An embodiment of the memory backup circuit of the present invention will be described below with reference to the drawings. One embodiment of the drawing shows a memory backup circuit using a dry battery as a main power source, a large capacity capacitor as an auxiliary power source, and a reset circuit as an external stimulation generating circuit.

図面に於いて、1はマイコン2に電力を供給する主電源
であり、該マイコン2は電源端子(VCC端子)、アー
ス端子(GND端子)、第1プログラム入力端子(P、
端子)、第2プログラム入力端子(P2端子)、第3プ
ログラム出力端子(P3端子)、リセット端子(RES
端子)を有し、該P1入力端子の入力電圧が高レベルか
ら低レベルになると上記P3出力端子より表示器3に「
BATTRYL OW /J と数秒間表示される信号
を出力し、該表示器3か[BATTRY LOW、l」
と表示した後、上記マイコン2r/iスタンバイモード
に切り換わるようになっており、上記P2入力端子の入
力電圧が高レベルから低レベルになると上記マイコン2
は通常動作モードからスタンバイモードに切り換わるよ
うになっており、上記RES入力端子にリセット信号(
RE s信号)が入力されるとスタンバイモードから通
常動作モードに切り換わるようにプログラムされたマイ
コンであり、4は一定電圧を取り出すだめの定電圧IC
であり、5は入力電圧が所定の電圧より高い入力電圧で
あると入力電圧とほとんど等しい電圧を出力し、所定の
電圧より低い入力電圧であると低レベルの電圧を出力し
、該各々の出力電圧を上記マイコン2のP、入力端子及
び回路Aに印加する主電源監視用ICであり、6は上記
主電源1が働かない時に上記マイコン2に電力を供給す
る補助電源であり、7は上記マイコン2のP2入力端子
の入力電圧を閉成することにより高レベルから低レベル
にするスイッチであり、上記回路Aは公知のリセット回
路であり、該リセット回路Aは上記主電源監視用IC5
の出力端子にスイッチ8と抵抗9を直列に介してトラン
ジスタ10のベースを接続し、該トランジスタ1゜のベ
ース、エミッタ間に抵抗11を接続し、上記定電圧IC
4の出力端子にダイオードI2と抵抗13との並列回路
を介して上記トランジスタ1゜のコレクタを接続し、上
記トランジスタのコレクタ、エミッタ間にコンデンサ1
4を接続してなり、上記リセット回路AFi、上記スイ
ッチ8の入力電圧(主電源監視用IC5の出力電圧)が
高レベルで上記スイッチ8を閉成した時はリセット信号
を発生し上記マイコン2のRES端子に印加するが、上
記スイッチ8の入力電圧が低レベルで上記スイッチ8を
閉成した時はリセット信号を発生せず上記マイコン2の
RES端子には印加されない。
In the drawing, 1 is the main power supply that supplies power to the microcomputer 2, and the microcomputer 2 has a power terminal (VCC terminal), a ground terminal (GND terminal), and a first program input terminal (P,
terminal), second program input terminal (P2 terminal), third program output terminal (P3 terminal), reset terminal (RES
terminal), and when the input voltage of the P1 input terminal changes from a high level to a low level, the display unit 3 displays a message from the P3 output terminal.
Outputs a signal that is displayed as BATTRYL OW /J for a few seconds, and displays [BATTRY LOW, l] on the display 3.
is displayed, the microcomputer 2r/i switches to the standby mode, and when the input voltage of the P2 input terminal goes from a high level to a low level, the microcomputer 2r/i switches to the standby mode.
is designed to switch from normal operation mode to standby mode, and a reset signal (
This is a microcomputer programmed to switch from standby mode to normal operation mode when the RE s signal is input, and 4 is a constant voltage IC that outputs a constant voltage.
5 outputs a voltage almost equal to the input voltage when the input voltage is higher than a predetermined voltage, and outputs a low level voltage when the input voltage is lower than the predetermined voltage. A main power monitoring IC that applies voltage to P, the input terminal and circuit A of the microcomputer 2, 6 is an auxiliary power supply that supplies power to the microcomputer 2 when the main power supply 1 does not work, and 7 is the This is a switch that changes the input voltage from the high level to the low level by closing the input voltage of the P2 input terminal of the microcomputer 2. The circuit A is a known reset circuit, and the reset circuit A is connected to the main power monitoring IC 5.
The base of a transistor 10 is connected to the output terminal of the constant voltage IC via a switch 8 and a resistor 9 in series, and a resistor 11 is connected between the base and emitter of the transistor 1°.
The collector of the transistor 1° is connected to the output terminal of the transistor 1 through a parallel circuit of a diode I2 and a resistor 13, and a capacitor 1 is connected between the collector and emitter of the transistor.
4 is connected, and when the input voltage of the reset circuit AFi and the switch 8 (output voltage of the main power monitoring IC 5) is high level and the switch 8 is closed, a reset signal is generated and the microcomputer 2 However, when the input voltage of the switch 8 is at a low level and the switch 8 is closed, a reset signal is not generated and the reset signal is not applied to the RES terminal of the microcomputer 2.

尚、上記スイッチ7.8はスイッチを押した時だけ閉成
するように7にっている。
The switches 7 and 8 are set to 7 so that they close only when the switches are pressed.

次に上記各部の接続状態を説明する。Next, the connection state of each of the above parts will be explained.

ス 上記主電源lのプラ層側に上記定電圧IC4を介して上
記マイコン2のVCC端子を接続し、上記マイコン2の
GND端子を上記主電源Iのマイナス側に接続し、L記
定電圧IC4のGND端子を上記主電源1のマイナス側
に接続し、上記マイコン2のvCC端子と上記マイコン
2のGND端子間に抵抗I5と上記スイッチ7を直列に
接続し、該抵抗15と該スイッチ7との接続点に上記マ
イコン2のP2入力端子を接続し、上記抵抗I5と上記
スイッチ7の両者と並列に上記補助電源6を接続し、上
記主電源監視用IC5の出力端子に上記リセット回路A
の抵抗8と接続するとともに上記マイコン2のP1入力
端子を接続し、上記主電源監視用IC4のGND端子を
上記主電源lのマイナス側に接続し、上記リセット回路
へのトランジスタ10のコレクタに上記マイコン2のR
ES端子を接続し、」1記リセット回路Aのトランジス
タ10のエミッタに上記マイコン2のGNDi子を接続
し、上記マイコン2のR3川力端子に上記表示器3を接
続してなる。
The VCC terminal of the microcomputer 2 is connected to the plastic layer side of the main power source I via the constant voltage IC4, and the GND terminal of the microcomputer 2 is connected to the negative side of the main power source I. The GND terminal of is connected to the negative side of the main power supply 1, the resistor I5 and the switch 7 are connected in series between the vCC terminal of the microcomputer 2 and the GND terminal of the microcomputer 2, and the resistor 15 and the switch 7 are connected in series. The P2 input terminal of the microcomputer 2 is connected to the connection point of the microcomputer 2, the auxiliary power supply 6 is connected in parallel with both the resistor I5 and the switch 7, and the reset circuit A is connected to the output terminal of the main power monitoring IC 5.
The P1 input terminal of the microcomputer 2 is connected to the resistor 8, and the GND terminal of the main power monitoring IC 4 is connected to the negative side of the main power supply l, and the collector of the transistor 10 to the reset circuit is connected to the P1 input terminal of the microcomputer 2. Microcomputer 2 R
The ES terminal is connected, the GNDi terminal of the microcomputer 2 is connected to the emitter of the transistor 10 of the reset circuit A, and the display 3 is connected to the R3 power terminal of the microcomputer 2.

以下」−記のように構成してなるメモリーバックアップ
回路の動作を説明する。
The operation of the memory backup circuit configured as shown below will be explained.

まず、主電源1が正常に動作している時に於いて、マイ
コン2が通常動作モードの時にスイッチ7を押すとマイ
コン2のP2入力端子の入力電圧力高レベルから低レベ
ルに変わるのでマイコン2は通常動作モードからスタン
バイモードに切り換わる。又、マイコン2がスタンバイ
モードの時にリセット回路Aのスイッチ8を押すとマイ
コン2のRE S入力端子にリセット信号が入力されマ
イコン2はスタンバイモードから通常動作モードに切り
換わる。そして、主電源Iが正常に動作している時に補
助電源6が充電される。
First, when the main power supply 1 is operating normally and the microcomputer 2 is in the normal operation mode, if you press the switch 7, the input voltage at the P2 input terminal of the microcomputer 2 changes from a high level to a low level, so the microcomputer 2 Switches from normal operating mode to standby mode. When the switch 8 of the reset circuit A is pressed when the microcomputer 2 is in the standby mode, a reset signal is input to the RES input terminal of the microcomputer 2, and the microcomputer 2 is switched from the standby mode to the normal operation mode. Then, the auxiliary power source 6 is charged while the main power source I is operating normally.

次に、主電源1が消耗して一定電圧を出力できない時に
於いて、マイコン2が通常動作モードであれば主電源監
視用IC5の出力電圧が高レベルから低レベルになり、
マイコン2のP1入力端子の入力電圧が高レベルから低
レベルになり表示器3でrBATTRY  LOW/J
と数秒間表示をした後、スタンバイモードへ切り換わる
Next, when the main power supply 1 is exhausted and cannot output a constant voltage, if the microcomputer 2 is in the normal operation mode, the output voltage of the main power supply monitoring IC 5 changes from a high level to a low level.
The input voltage of the P1 input terminal of the microcomputer 2 changes from high level to low level, and the display 3 shows rBATTRY LOW/J.
is displayed for a few seconds, then switches to standby mode.

そして、マイコン2がスタンバイモードに切り換わり補
助電源6で動作し主電源監視用IC50入力電圧が所定
の電圧より低くなると該主電源監視用IC5の出力電圧
は低レベルになり、リセット回路Aのスイッチ8を押し
てもリセット信号を発生せずマイコン2のRES端子に
は印加されないので補助電源6の消耗を早めるといった
ことがおこらない。
Then, when the microcomputer 2 switches to standby mode and operates on the auxiliary power supply 6, and the input voltage of the main power monitoring IC 50 becomes lower than a predetermined voltage, the output voltage of the main power monitoring IC 5 becomes a low level, and the reset circuit A switches Even if 8 is pressed, a reset signal is not generated and is not applied to the RES terminal of the microcomputer 2, so that the auxiliary power source 6 does not wear out quickly.

上記のメモリーバックアンプ回路の構成は一実施例であ
り、本発明の一実施例では補助電源に大容量コンデンサ
を使用しているが補助電源は一次電池、二次電池等でも
よい。
The configuration of the memory back amplifier circuit described above is one embodiment, and in one embodiment of the present invention, a large capacity capacitor is used as an auxiliary power source, but the auxiliary power source may be a primary battery, a secondary battery, or the like.

く効 果〉 本発明のメモリーバックアップ回路は上記のような構成
であるから、補助電源によりRAMの内容を保持してい
る時にはリセット、インクラブド弯1++
Effect> Since the memory backup circuit of the present invention has the above-described configuration, when the contents of the RAM are retained by the auxiliary power supply, the memory backup circuit of the present invention is reset and included.

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

図面は本発明のメモリーバックアップ回路の一実施例の
回路図である。 図中、1:主電源、2:マイコン、4:定電圧IC。 5:主電源監視用IC,6:補助電源。
The drawing is a circuit diagram of one embodiment of the memory backup circuit of the present invention. In the figure, 1: main power supply, 2: microcomputer, 4: constant voltage IC. 5: Main power supply monitoring IC, 6: Auxiliary power supply.

Claims (1)

【特許請求の範囲】[Claims] 1、リセット、インタラプト入力等の外部刺激の印加に
てスタンバイモードから通常動作モードに切り換わるワ
ンチップマイコン、ハイブリットマイコン等に用いるメ
モリーバックアップ回路に於いて、補助電源により電力
を供給しているスタンバイモード時に上記外部刺激の印
加を遮断する手段を備えてなることを特徴とするメモリ
ーバックアップ回路。
1. Standby mode in which power is supplied from an auxiliary power source in memory backup circuits used in one-chip microcontrollers, hybrid microcontrollers, etc. that switch from standby mode to normal operation mode upon application of external stimuli such as reset or interrupt input. A memory backup circuit characterized in that it is provided with means for blocking the application of the external stimulus at times.
JP60246779A 1985-11-01 1985-11-01 Memory back-up circuit Pending JPS62106523A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60246779A JPS62106523A (en) 1985-11-01 1985-11-01 Memory back-up circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60246779A JPS62106523A (en) 1985-11-01 1985-11-01 Memory back-up circuit

Publications (1)

Publication Number Publication Date
JPS62106523A true JPS62106523A (en) 1987-05-18

Family

ID=17153532

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60246779A Pending JPS62106523A (en) 1985-11-01 1985-11-01 Memory back-up circuit

Country Status (1)

Country Link
JP (1) JPS62106523A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63451A (en) * 1986-05-05 1988-01-05 ゼネラル・エレクトリツク・カンパニイ Formation of wide area high quality plasma spraying deposit
JPS6433478A (en) * 1987-07-27 1989-02-03 Sanyo Electric Co Cold and hot changeover type absorption refrigerator
JPH0191951U (en) * 1987-12-09 1989-06-16
US5648799A (en) * 1992-12-02 1997-07-15 Elonex I.P. Holdings, Ltd. Low-power-consumption monitor standby system
US5821924A (en) * 1992-09-04 1998-10-13 Elonex I.P. Holdings, Ltd. Computer peripherals low-power-consumption standby system
JP2008093449A (en) * 1997-11-12 2008-04-24 Gillette Canada Inc Toothbrush

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63451A (en) * 1986-05-05 1988-01-05 ゼネラル・エレクトリツク・カンパニイ Formation of wide area high quality plasma spraying deposit
JPS6433478A (en) * 1987-07-27 1989-02-03 Sanyo Electric Co Cold and hot changeover type absorption refrigerator
JPH0191951U (en) * 1987-12-09 1989-06-16
US5821924A (en) * 1992-09-04 1998-10-13 Elonex I.P. Holdings, Ltd. Computer peripherals low-power-consumption standby system
US5648799A (en) * 1992-12-02 1997-07-15 Elonex I.P. Holdings, Ltd. Low-power-consumption monitor standby system
US5880719A (en) * 1992-12-02 1999-03-09 Eloney I.P. Holdings L.T.D. Low-power-consumption monitor standby system
JP2008093449A (en) * 1997-11-12 2008-04-24 Gillette Canada Inc Toothbrush

Similar Documents

Publication Publication Date Title
KR20010038449A (en) Power supply control circuit for computer system having a plurality of power management states
US5148380A (en) Method and apparatus for conserving power in a data processing system
JPS62106523A (en) Memory back-up circuit
JP3873864B2 (en) Backup charging circuit
JPS626315A (en) Memory back-up device for microcomputer
JPH044276Y2 (en)
JP2722348B2 (en) Oscillation circuit
JP2786379B2 (en) Power control circuit for battery operation device
JP2719132B2 (en) Low battery alarm
JPH01128111A (en) Power supply system
JPS5918743Y2 (en) Electronics
JP2515152B2 (en) Electronic circuit
JP2534485Y2 (en) Battery-powered power supply
JPH022165B2 (en)
JP2523730Y2 (en) Backup circuit for non-lock switch
JPH02121018A (en) Power supplying device
JPH04190412A (en) Power supply unit for microcomputer
JPH074662Y2 (en) Computer system
KR200157748Y1 (en) Electrostatic compensation circuit
JPH054022Y2 (en)
JPH02128209A (en) Memory back-up device
JPH10301673A (en) Power source circuit
JPS5826049B2 (en) Reset signal generation circuit
JPH0315179U (en)
JPH0876895A (en) Battery back-up circuit