JP3354413B2 - Electronic circuit backup voltage detector - Google Patents

Electronic circuit backup voltage detector

Info

Publication number
JP3354413B2
JP3354413B2 JP30552096A JP30552096A JP3354413B2 JP 3354413 B2 JP3354413 B2 JP 3354413B2 JP 30552096 A JP30552096 A JP 30552096A JP 30552096 A JP30552096 A JP 30552096A JP 3354413 B2 JP3354413 B2 JP 3354413B2
Authority
JP
Japan
Prior art keywords
backup
voltage
power supply
electronic circuit
microcomputer
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
JP30552096A
Other languages
Japanese (ja)
Other versions
JPH10133787A (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.)
Kenwood KK
Original Assignee
Kenwood KK
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 Kenwood KK filed Critical Kenwood KK
Priority to JP30552096A priority Critical patent/JP3354413B2/en
Publication of JPH10133787A publication Critical patent/JPH10133787A/en
Application granted granted Critical
Publication of JP3354413B2 publication Critical patent/JP3354413B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)
  • Power Sources (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、電子回路のバック
アップ電圧検出装置に関する。
The present invention relates to a backup voltage detecting device for an electronic circuit.

【0002】[0002]

【従来の技術】図2に示す従来の電子回路のバックアッ
プ電圧検出装置において、IC1、IC2は内部RAM
(ランダムアクセスメモリ)を持つマイクロコンピュー
タ(以下マイコンと言う)IC、IC3はIC1、IC
2のリセット信号を出力するリセットIC、V11はI
C1、IC2のバックアップ電圧、C1はバックアップ
コンデンサである。IC2は、IC1のバックアップデ
ータの有無により、データが有る場合とデータが無い場
合で他の回路系に対し異なる処理を行なっている。電源
Vのオフ時にバックアップコンデンサC1のバックアッ
プ電圧V11によるバックアップ状態において、バック
アップコンデンサC1の電圧V11がIC3の基準電圧
(バックアップ保証電圧)より低くなると、IC3から
リセット信号が出力されて、IC1、IC2が共にリセ
ットされ、ICの暴走(メモリ内容が保証されていない
状態)が防止される。
2. Description of the Related Art In a conventional backup voltage detecting device for an electronic circuit shown in FIG.
Microcomputers (hereinafter referred to as microcomputers) having (random access memory) IC, IC3 are IC1, IC
V11 is a reset IC that outputs a reset signal of
C1 is a backup voltage for IC2, and C1 is a backup capacitor. The IC2 performs different processing for other circuit systems depending on the presence or absence of the backup data of the IC1 when there is data and when there is no data. If the voltage V11 of the backup capacitor C1 becomes lower than the reference voltage (backup guaranteed voltage) of the IC3 in the backup state with the backup voltage V11 of the backup capacitor C1 when the power supply V is turned off, a reset signal is output from the IC3, and the IC1 and IC2 are reset. Both are reset to prevent runaway of the IC (a state where the memory contents are not guaranteed).

【0003】[0003]

【発明が解決しようとする課題】ところで、IC3から
のリセット信号でIC1、IC2がリセットされたとき
は、IC1のバックアップデータが消去されるので、次
に電源Vがオンされたとき、IC2はデータが無い場合
の処理を他の回路系に対して行なう。このとき、IC
1、IC2の電源及びバックアップコンデンサC1と、
リセットIC IC3の電源が共通であり、IC1、I
C2のリセット信号が共通なため、IC2は、IC1の
バックアップデータの有無について直接認識することが
できないので、IC2自身がリセットされたかどうかで
処理の選択をしていた。
By the way, when IC1 and IC2 are reset by a reset signal from IC3, the backup data of IC1 is erased. The processing in the case where there is no is performed for another circuit system. At this time, IC
1. Power supply for IC2 and backup capacitor C1,
Reset IC IC3 has a common power supply, and IC1, I2
Since the reset signal of C2 is common, IC2 cannot directly recognize the presence or absence of the backup data of IC1, so that the process is selected depending on whether or not IC2 itself has been reset.

【0004】また、他の例として、図2ではIC1、I
C2の電源及びバックアップコンデンサC1が共通にな
っているが、IC1、IC2の電源が例えば3Vと5V
のように異なる電源ラインから供給されている場合は、
IC1のバックアップデータの有無について、IC2に
は全く判断できないという問題があった。
[0004] As another example, in FIG.
The power supply of C2 and the backup capacitor C1 are common, but the power supplies of IC1 and IC2 are 3V and 5V, for example.
If the power is supplied from different power lines like
There has been a problem that IC2 cannot determine at all whether there is backup data for IC1.

【0005】本発明の目的は、上記問題を解決して、電
子回路のバックアップ状態を検出することができる電子
回路のバックアップ電圧検出装置を提供することにあ
る。
An object of the present invention is to solve the above-mentioned problem and to provide a backup voltage detecting device for an electronic circuit capable of detecting a backup state of the electronic circuit.

【0006】[0006]

【課題を解決するための手段】本発明に係る電子回路の
バックアップ電圧検出装置は、第1の電圧値の第1の電
源に接続されたバックアップ電圧源よりバックアップ電
圧が供給される第1のマイクロコンピュータICと、上
記第1の電源とは異なる第2の電源から前記第1の電圧
値とは異なる第2の電圧値の電圧が供給され、前記第1
マイクロコンピュータICのバックアップの有無に応
じた処理を行なう第2のマイクロコンピュータICとを
備える電子回路において、前記第1の電源と前記バック
アップ電圧源の間に第1のスイッチが挿入され、前記第
2のマイクロコンピュータICは、前記第1のマイクロ
コンピュータICのバックアップ電圧を第2のスイッチ
を介して検出する検出手段と、検出した電圧値を基準電
圧値と比較する比較手段と、前記第1及び第2のスイッ
チを制御する制御手段とを備えたものである。
Backup voltage detecting device for an electronic circuit according to the present invention According to an aspect of the first micro which the first backup voltage from the backup voltage source connected to the power supply of the first voltage value is supplied A computer IC and a second power supply different from the first power supply supplied with a voltage having a second voltage value different from the first voltage value;
In the electronic circuit and a second microcomputer IC that performs processing according to the presence or absence of a backup of the microcomputer IC, the first switch is inserted between the backup voltage source and the first power supply, said first 2 microcomputer IC is the first microcomputer
Detecting means for detecting a backup voltage of the computer IC via a second switch; comparing means for comparing the detected voltage value with a reference voltage value; and control means for controlling the first and second switches. It is a thing.

【0007】[0007]

【0008】[0008]

【作用】電源に接続されたバックアップ電圧源としての
コンデンサよりバックアップ電圧が供給される第1の電
気部品(例えばマイクロコンピュータIC)と、第1の
電気部品のバックアップの有無に応じた処理を行なう第
2の電気部品(例えばマイクロコンピュータIC)とを
備えた電子回路において、電源とバックアップコンデン
サ間に第1のスイッチが挿入され、第2の電気部品は、
第1の電気部品のバックアップ電圧を第2のスイッチを
介して検出し、第1の電気部品のバックアップ状態に応
じた処理を行なう。
A first electric component (for example, a microcomputer IC) to which a backup voltage is supplied from a capacitor as a backup voltage source connected to a power supply, and a process for performing a process according to the presence or absence of backup of the first electric component. In an electronic circuit including two electric components (for example, a microcomputer IC), a first switch is inserted between a power supply and a backup capacitor, and the second electric component is
The backup voltage of the first electric component is detected via the second switch, and a process according to the backup state of the first electric component is performed.

【0009】[0009]

【発明の実施の形態】図1は、本発明に係る電子回路の
バックアップ電圧検出装置の一実施例を示す回路構成図
である。図1において、IC1はバックアップの対象と
なる内部RAM(ランダムアクセスメモリ)を持つマイ
コンIC、IC2は、内部RAM(ランダムアクセスメ
モリ)を持ち、スイッチS1、S2のオン/オフの制御
と、IC1のバックアップ電圧の検出及び判断と、それ
に基づく他回路への処理とを行なうマイコンICであ
る。V1はIC2の電源、V2は電源V1と異なる電圧
を有するIC1の電源、C1はバックアップ電圧源とし
てのコンデンサである。
FIG. 1 is a circuit diagram showing an embodiment of a backup voltage detecting device for an electronic circuit according to the present invention. In FIG. 1, IC1 has a microcomputer IC having an internal RAM (random access memory) to be backed up, and IC2 has an internal RAM (random access memory), and controls on / off of switches S1 and S2, and control of IC1. This is a microcomputer IC that detects and determines a backup voltage and performs processing for other circuits based on the detection and determination. V1 is a power supply of the IC2, V2 is a power supply of the IC1 having a voltage different from the power supply V1, and C1 is a capacitor as a backup voltage source.

【0010】電源V1、V2がオフの時、スイッチS
1、S2はオフの状態となっている。電源V1及び電源
V2がオンされると、IC2が立ち上がりスイッチS2
をオンする。このとき、スイッチS1はオフの状態であ
る。スイッチS2を通じてバックアップコンデンサC1
の両端電圧、すなわちIC1のバックアップ電圧Vdが
IC2の検出入力ポートに入力される。IC2内にて、
この検出入力ポートに入力された電圧Vdと予め決めら
れた基準電圧値Vrとが比較される。この基準電圧値V
rは、IC1をバックアップ可能な電圧レベルに設定さ
れている。比較の結果、IC2は、検出した電圧Vdが
基準電圧値Vrよりも小さければIC1がバックアップ
されていないと判断し、基準電圧値Vrよりも大きけれ
ばIC1がバックアップされていると判断する。したが
って、IC2は、前者の判断に応じてスイッチS1をオ
、スイッチS1を介して電源V2をIC1に印加
し、Vd<Vrの場合はリセット信号をIC1に供給し
IC1をリセットし、Vd>Vrの場合はリセット信号
を出さないで、ICのバックアップ有無のそれぞれに対
応した処理を行なう。
When the power supplies V1 and V2 are off, the switch S
1, S2 is off. When the power supply V1 and the power supply V2 are turned on, the IC2 rises and the switch S2
Turn on. At this time, the switch S1 is off. Backup capacitor C1 through switch S2
, Ie, the backup voltage Vd of IC1 is input to the detection input port of IC2. In IC2,
The voltage Vd input to the detection input port is compared with a predetermined reference voltage value Vr. This reference voltage value V
r is set to a voltage level at which IC1 can be backed up. As a result of the comparison, if the detected voltage Vd is smaller than the reference voltage value Vr, the IC2 determines that the IC1 is not backed up, and if the detected voltage Vd is larger than the reference voltage value Vr, it determines that the IC1 is backed up. Accordingly, the IC2 turns on the switch S1 in accordance with the former determination, applies the power supply V2 to the IC1 via the switch S1, supplies a reset signal to the IC1 when Vd <Vr, resets the IC1, and resets the IC1. In the case of Vr, a process corresponding to the presence or absence of backup of the IC is performed without outputting a reset signal.

【0011】このように、IC1とIC2の電源が異な
る場合でもIC2にてIC1のバックアップ状態を検出
できる。また、スイッチS1が電源V1及びV2のオン
直後からバックアップ電圧の検出が終わるまでの間オフ
となるので、電源V2によりバックアップコンデンサC
1が充電されずにバックアップ電圧を正確に測定でき
る。また、スイッチS2は電源V1及びV2のオフ中は
オフとなるので、マイコンの検出入力ポートへ流れるバ
ックアップコンデンサC1の電荷の減少がない。また、
バックアップ用リセットIC(例えば図2のIC3)を
使わなくても良くなる。
As described above, even when the power supplies of IC1 and IC2 are different, the backup state of IC1 can be detected by IC2. Further, since the switch S1 is turned off immediately after the power supplies V1 and V2 are turned on and until the detection of the backup voltage ends, the power supply V2 supplies the backup capacitor C
The backup voltage can be accurately measured without 1 being charged. Further, since the switch S2 is off while the power supplies V1 and V2 are off, there is no decrease in the charge of the backup capacitor C1 flowing to the detection input port of the microcomputer. Also,
It is not necessary to use a backup reset IC (for example, IC3 in FIG. 2).

【0012】[0012]

【実施例】なお、図1の例ではIC1、IC2をマイコ
ンICとしたが、これに限らず同等の機能を持つ他の電
気部品でも良い。
EXAMPLES Although the microcomputer IC and I C1, IC 2 in the example of FIG. 1, but may be other electrical components having an equivalent function is not limited thereto.

【0013】[0013]

【発明の効果】本発明に係る電子回路のバックアップ電
圧検出装置によれば、マイクロコンピュータICのバッ
クアップ電圧を検出することができる。
According to the electronic circuit backup voltage detecting device of the present invention, the backup voltage of the microcomputer IC can be detected.

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

【図1】本発明に係る電子回路のバックアップ電圧検出
装置の一実施例を示す回路構成図である。
FIG. 1 is a circuit diagram showing an embodiment of a backup voltage detecting device for an electronic circuit according to the present invention.

【図2】従来の電子回路のバックアップ電圧検出装置の
例を示す回路構成図である。
FIG. 2 is a circuit diagram showing an example of a conventional backup voltage detecting device for an electronic circuit.

【符号の説明】[Explanation of symbols]

IC1 マイクロコンピュータIC IC2 マイクロコンピュータIC V1 電源 V2 電源 C1 バックアップコンデンサ S1 スイッチ S2 スイッチ IC1 microcomputer IC IC2 microcomputer IC V1 power supply V2 power supply C1 backup capacitor S1 switch S2 switch

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 第1の電圧値の第1の電源に接続された
バックアップ電圧源よりバックアップ電圧が供給される
第1のマイクロコンピュータICと、上記第1の電源と
は異なる第2の電源から前記第1の電圧値とは異なる第
2の電圧値の電圧が供給され、前記第1のマイクロコン
ピュータICのバックアップの有無に応じた処理を行な
う第2のマイクロコンピュータICとを備える電子回路
において、前記第1の電源と前記バックアップ電圧源の
間に第1のスイッチが挿入され、前記第2のマイクロコ
ンピュータICは、前記第1のマイクロコンピュータI
のバックアップ電圧を第2のスイッチを介して検出す
る検出手段と、検出した電圧値を基準電圧値と比較する
比較手段と、前記第1及び第2のスイッチを制御する制
御手段とを備えたことを特徴とする電子回路のバックア
ップ電圧検出装置。
1. A first microcomputer IC to which a backup voltage is supplied from a backup voltage source connected to a first power supply having a first voltage value, and a second power supply different from the first power supply. A voltage having a second voltage value different from the first voltage value is supplied, and the first microcomputer
An electronic circuit including a second microcomputer IC for performing processing according to the presence or absence of backup of the computer IC , wherein a first switch is inserted between the first power supply and the backup voltage source; Microco
The computer IC is the first microcomputer I
Detecting means for detecting the backup voltage of C via a second switch; comparing means for comparing the detected voltage value with a reference voltage value; and control means for controlling the first and second switches. A backup voltage detecting device for an electronic circuit, comprising:
JP30552096A 1996-11-01 1996-11-01 Electronic circuit backup voltage detector Expired - Fee Related JP3354413B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP30552096A JP3354413B2 (en) 1996-11-01 1996-11-01 Electronic circuit backup voltage detector

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP30552096A JP3354413B2 (en) 1996-11-01 1996-11-01 Electronic circuit backup voltage detector

Publications (2)

Publication Number Publication Date
JPH10133787A JPH10133787A (en) 1998-05-22
JP3354413B2 true JP3354413B2 (en) 2002-12-09

Family

ID=17946147

Family Applications (1)

Application Number Title Priority Date Filing Date
JP30552096A Expired - Fee Related JP3354413B2 (en) 1996-11-01 1996-11-01 Electronic circuit backup voltage detector

Country Status (1)

Country Link
JP (1) JP3354413B2 (en)

Also Published As

Publication number Publication date
JPH10133787A (en) 1998-05-22

Similar Documents

Publication Publication Date Title
MXPA05004097A (en) Bus controlled power switch.
KR900008610B1 (en) Information process
EP0181943A1 (en) Data-holding circuit in a memory
JP3354413B2 (en) Electronic circuit backup voltage detector
US6693806B2 (en) Electric power source
JP2004513594A (en) Method of controlling backup capacitor charging and discharging phases
JP3190564B2 (en) Electronic equipment with battery power
JP2004159410A (en) Power supply device and power control method
JP2000083331A (en) Backup power supply circuit and electronic circuit
JPH09128114A (en) Computer system and card type interface device to be applied to the computer system
JP2000277213A (en) System and method for detecting connection of power source adapter
JP7261080B2 (en) Control device and control method
JP2001333545A (en) Power supply, electronic device and its stopping/restoring method and recording medium
US11714770B2 (en) Relay device and method of controlling relay device
KR970016889A (en) Computer system protection device and method thereof in suspend mode
CN210444005U (en) Over-temperature protection device
JP3404664B2 (en) Terminal device
KR100482006B1 (en) Battery charging circuit
KR930003568B1 (en) Charge start control method
JP2000075968A (en) Small-sized electronic equipment
JPH10136575A (en) Electric apparatus and power supply control circuit
JPH0974694A (en) Uninerruptible power supply
JPH11191937A (en) Power interrupt processing apparatus
JPH0365828A (en) Reset device
JPH0640433Y2 (en) Output mode control circuit for AC adapter that also functions as a charger

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20020806

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20070927

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080927

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080927

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090927

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100927

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110927

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120927

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120927

Year of fee payment: 10

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120927

Year of fee payment: 10

R360 Written notification for declining of transfer of rights

Free format text: JAPANESE INTERMEDIATE CODE: R360

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120927

Year of fee payment: 10

R360 Written notification for declining of transfer of rights

Free format text: JAPANESE INTERMEDIATE CODE: R360

R371 Transfer withdrawn

Free format text: JAPANESE INTERMEDIATE CODE: R371

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120927

Year of fee payment: 10

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120927

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130927

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees