JPH11338556A - Power circuit - Google Patents

Power circuit

Info

Publication number
JPH11338556A
JPH11338556A JP10146991A JP14699198A JPH11338556A JP H11338556 A JPH11338556 A JP H11338556A JP 10146991 A JP10146991 A JP 10146991A JP 14699198 A JP14699198 A JP 14699198A JP H11338556 A JPH11338556 A JP H11338556A
Authority
JP
Japan
Prior art keywords
power supply
voltage
circuit
supply 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.)
Granted
Application number
JP10146991A
Other languages
Japanese (ja)
Other versions
JP4155621B2 (en
Inventor
Teruhisa Fukuda
照久 福田
Akio Okahara
章雄 岡原
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.)
Denso Ten Ltd
Original Assignee
Denso Ten 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 Denso Ten Ltd filed Critical Denso Ten Ltd
Priority to JP14699198A priority Critical patent/JP4155621B2/en
Publication of JPH11338556A publication Critical patent/JPH11338556A/en
Application granted granted Critical
Publication of JP4155621B2 publication Critical patent/JP4155621B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To surely switch between normal operation and backup operation and to surely execute the backup operation, in a power circuit equipped with a backup function. SOLUTION: The power circuit equipped with a VCC circuit 1 which supplies electric power to a microcomputer 10 in the ignition switch ON state and a VDD circuit 2 which supplies electric power to the microcomputer 10 in the ignition switch OFF state is equipped with a switch BUSW for power source switching which is connected to the power line between the VCC circuit 1 and microcomputer 10 and connects and disconnects the power line, a voltage drop detecting circuit 3 which monitors the output voltage of the VCC circuit 1 and turns off the switch BUSW for power source switching when the voltage of the VCC circuit 1 drops and turns ON when the voltage rises, and a voltage control means which raises the voltage of the VCC circuit 2 when the voltage of VCC circuit 1 falls and lowers the voltage of the VCC circuit 2 when the voltage of the VCC circuit 1 rises in response to the detection output of the voltage drop detecting circuit 3.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、車載用機器に適し
た電源回路に係り、特にRAMに記憶されたデータを保
持する等のため、イグニッションスイッチオフ時にも電
力を供給するバックアップ機能を備えた電源回路に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a power supply circuit suitable for on-vehicle equipment, and more particularly, to a power supply circuit having a backup function for supplying power even when an ignition switch is turned off in order to retain data stored in a RAM. Power supply circuit.

【0002】[0002]

【従来の技術】自動車に搭載される電子機器はコンピュ
ータ化が進み、高度な制御を行う電子機器が増加してい
る。例えば、動作中の各種データを記憶しておき、その
後の制御にこれらデータを使用することにより、アクチ
ュエータのバラツキや経年変化等にも対応して適切な制
御を行う学習制御も数多く行われている。このような学
習制御等においては、イグニッションスイッチオフ時に
もデータを保持しておく必要があるため、車載用電子機
器の電源回路には、イグニッションスイッチオフ時にも
マイクロコンピュータ(マイコン)等の必要な箇所に電
力を供給するバックアップ電源機能を備えた電源回路が
用いられている。
2. Description of the Related Art Electronic devices mounted on automobiles are increasingly computerized, and electronic devices that perform advanced control are increasing. For example, many learning controls are performed in which various data during operation are stored, and these data are used for subsequent control, thereby performing appropriate control in response to variations in actuators, aging, and the like. . In such learning control and the like, data must be retained even when the ignition switch is turned off. Therefore, the power supply circuit of the vehicle-mounted electronic device requires a microcomputer (microcomputer) or the like in the power supply circuit even when the ignition switch is turned off. A power supply circuit having a backup power supply function for supplying power to the power supply is used.

【0003】図7は、従来の車載用電子機器の構成を示
す構成図である。イグニッションスイッチオフ時にもマ
イコン等の必要な箇所に電力を供給するバックアップ電
源供給用の電源回路(VDD回路)102は、自動車の
バッテリBATTに直接接続されている。またイグニッショ
ンスイッチオン時にのみ、車両のエンジン等の制御を行
う電子制御ユニット(ECU)の各部に電力を供給する
動作用電源回路(VCC回路)101は、イグニッショ
ンスイッチIGSWを介して自動車のバッテリBATTに接続さ
れている。そして、VCC回路101は、電源切換用ス
イッチBUSWを介してマイコン100に電力を供給し、ま
たECU内部の各種回路に電力を供給する。そしてVD
D回路102は直接マイコン100に電力を供給してい
る。尚、VCC回路101からVDD回路102への電
流の流れを阻止するために、VDD回路102の出力部
にはダイオード等の素子が配設されている。
FIG. 7 is a configuration diagram showing a configuration of a conventional on-vehicle electronic device. A power supply circuit (VDD circuit) 102 for supplying a backup power supply for supplying power to a necessary portion such as a microcomputer even when the ignition switch is turned off is directly connected to a battery BATT of the vehicle. An operation power supply circuit (VCC circuit) 101 for supplying power to each part of an electronic control unit (ECU) that controls an engine and the like of a vehicle only when an ignition switch is turned on is connected to a vehicle battery BATT via an ignition switch IGSW. It is connected. The VCC circuit 101 supplies power to the microcomputer 100 via the power supply changeover switch BUSW, and also supplies power to various circuits inside the ECU. And VD
The D circuit 102 directly supplies power to the microcomputer 100. In order to prevent a current from flowing from the VCC circuit 101 to the VDD circuit 102, an element such as a diode is provided at an output portion of the VDD circuit 102.

【0004】電源切換用の切換スイッチBUSWは、マイコ
ン100に電力を供給する電源を選択するスイッチで、
ECUの動作時には導通して、VCC回路101からマ
イコン100に電力が供給されるようにし、またECU
の非動作時には遮断して、VDD回路102からマイコ
ン100に電力が供給されるようにしている。尚、VC
C回路101の出力電圧はマイコン100の動作に適し
た電圧、例えば5Vで、またVDD回路102の出力電
圧はマイコン100のRAMの記憶内容を保持するのに
必要な電圧、例えば3V(一般的にマイコンの動作電圧
より低い)となっている。
A changeover switch BUSW for changing over a power supply is a switch for selecting a power supply for supplying power to the microcomputer 100.
During operation of the ECU, the ECU is turned on so that power is supplied from the VCC circuit 101 to the microcomputer 100.
Is shut off when not operating, and power is supplied from the VDD circuit 102 to the microcomputer 100. In addition, VC
The output voltage of the C circuit 101 is a voltage suitable for the operation of the microcomputer 100, for example, 5 V, and the output voltage of the VDD circuit 102 is a voltage required for holding the contents stored in the RAM of the microcomputer 100, for example, 3 V (generally, (Lower than the operating voltage of the microcomputer).

【0005】VCC回路101は、ECUの電源出力端
子からECU外部のセンサ105に電力を供給し、セン
サ105はその検出出力をECUのアナログデジタル
(A/D)変換器104に出力する。そしてA/D変換
器104は、センサ105出力のデジタル変換値をマイ
コン100に出力し、マイコン100はこのデジタル値
に応じて、各種アクチュエータ等の制御を行う。VCC
回路101あるいはその入力電圧の低下を検出する減電
圧検知回路103は、イグニッションスイッチIGSWの遮
断操作等によるVCC回路101の出力電圧の低下を示
す減電圧信号HALTをマイコン100に出力する。そし
て、マイコン100は、減電圧検知回路103からの減
電圧信号HALTを受け取ると、マイコン動作用のクロック
信号の発振を停止させてマイコンの駆動を停止し、EC
Uの消費電力を低下させる。また、この時に切換スイッ
チBUSWは遮断状態になり、マイコン100へはVDD回
路102から電力が供給される。
The VCC circuit 101 supplies power from a power supply output terminal of the ECU to a sensor 105 outside the ECU, and the sensor 105 outputs a detection output to an analog / digital (A / D) converter 104 of the ECU. Then, the A / D converter 104 outputs a digital conversion value of the output of the sensor 105 to the microcomputer 100, and the microcomputer 100 controls various actuators and the like according to the digital value. VCC
The circuit 101 or the reduced voltage detection circuit 103 for detecting a decrease in the input voltage of the circuit 101 outputs to the microcomputer 100 a reduced voltage signal HALT indicating a decrease in the output voltage of the VCC circuit 101 due to an operation of shutting off the ignition switch IGSW or the like. When the microcomputer 100 receives the reduced voltage signal HALT from the reduced voltage detection circuit 103, the microcomputer 100 stops the oscillation of the microcomputer operating clock signal and stops the microcomputer driving, and
The power consumption of U is reduced. At this time, the changeover switch BUSW is turned off, and power is supplied to the microcomputer 100 from the VDD circuit 102.

【0006】減電圧検知回路103は、図8に示すよう
なコンパレータ(CMP)でVCC回路101の出力電
圧Vcc と基準電圧Vrを比較する構成で、検知出力の反転
領域付近でのハンチングを防止するために、CMPには
ヒステリシスコンパレータが用いられている。つまり、
CMPは、電圧Vcc が電圧VTH を越えれば、出力がH
(高電圧)レベルに反転し、電圧Vcc が電圧VTL を下回
れば、出力がL(低電圧)レベルに反転する。尚、これ
らの各電圧値は電圧VTH >電圧Vr>電圧VTL の関係に設
定されている。そして、CMP出力電圧がHレベルの時
に、切換スイッチBUSWは導通状態となって、またマイコ
ン100は動作状態(HALT信号=H)となる。また、C
MP出力電圧がLレベルの時に、切換スイッチBUSWは遮
断状態となって、またマイコン100は非動作状態(HA
LT信号=L)となる。
The undervoltage detection circuit 103 is configured to compare the output voltage Vcc of the VCC circuit 101 with the reference voltage Vr by a comparator (CMP) as shown in FIG. 8, and prevents hunting near the inversion region of the detection output. Therefore, a hysteresis comparator is used in CMP. That is,
CMP outputs H when voltage Vcc exceeds voltage VTH.
When the voltage Vcc falls below the voltage VTL, the output is inverted to the L (low voltage) level. These voltage values are set in a relationship of voltage VTH> voltage Vr> voltage VTL. Then, when the CMP output voltage is at the H level, the changeover switch BUSW is turned on, and the microcomputer 100 is turned on (HALT signal = H). Also, C
When the MP output voltage is at the L level, the changeover switch BUSW is in the cutoff state, and the microcomputer 100 is in the non-operation state (HA
LT signal = L).

【0007】イグニッションスイッチIGSWが導通される
と、負荷容量等の関係で、電圧Vccは図9に示すよう
に徐々に増大する。そして、電圧Vcc が電圧VTH に
達した時点で、マイコン100への供給電源が、VCC
電源に切り換わる。しかし、図示したT1期間は、マイ
コン100への供給電源はVDD電源で、電圧Vdd であ
るが、センサ等への印加電圧は電圧Vcc で、マイコン1
00の電源電圧Vdd より高い電圧となる。このため、マ
イコン100のセンサ入力部であるA/D変換器104
には、A/D変換器104の動作電圧(この時点でのマ
イコン100への供給電圧Vdd)より高い電圧がA/D変
換すべき電圧として入力されるため異常な入力状態とな
り、マイコン100がラッチアップする等の問題が発生
する可能性がある。
When the ignition switch IGSW is turned on, the voltage Vcc gradually increases as shown in FIG. 9 due to the load capacity and the like. When the voltage Vcc reaches the voltage VTH, the power supply to the microcomputer 100 is changed to VCC.
Switch to power supply. However, in the illustrated T1 period, the power supply to the microcomputer 100 is the VDD power supply and the voltage Vdd, but the voltage applied to the sensors and the like is the voltage Vcc and the microcomputer 1
It is higher than the power supply voltage Vdd of 00. Therefore, the A / D converter 104 which is a sensor input unit of the microcomputer 100
Since a voltage higher than the operating voltage of the A / D converter 104 (the supply voltage Vdd to the microcomputer 100 at this time) is input as a voltage to be A / D converted, an abnormal input state occurs, and the microcomputer 100 Problems such as latch-up may occur.

【0008】このような問題を解決する減電圧検知回路
103として、図10に示すようなCMPで、VCC回
路101の出力電圧Vcc とVDD回路102の出力電圧
Vddを比較する構成のものがある。そしてこの回路構成
では、電圧Vcc が電圧Vdd より高い時に、CMP出力電
圧がHレベルとなり、切換スイッチBUSWは導通状態とな
って、またマイコン100は動作状態(HALT信号=H)
となる。また、電圧Vcc が電圧Vdd より低い時に、CM
P出力電圧がLレベルとなり、切換スイッチBUSWは遮断
状態となって、またマイコン100は非動作状態(HALT
信号=L)となる。この方法では、マイコン100の電
源電圧は常にセンサ105の電源電圧より高くなりラッ
チアップ等の問題は発生しない。
As a reduced voltage detection circuit 103 for solving such a problem, the output voltage Vcc of the VCC circuit 101 and the output voltage of the VDD circuit 102 are determined by CMP as shown in FIG.
There is a configuration that compares Vdd. In this circuit configuration, when the voltage Vcc is higher than the voltage Vdd, the CMP output voltage goes to the H level, the changeover switch BUSW becomes conductive, and the microcomputer 100 operates (HALT signal = H).
Becomes When the voltage Vcc is lower than the voltage Vdd, CM
The P output voltage becomes L level, the changeover switch BUSW is cut off, and the microcomputer 100 is in the non-operation state (HALT).
Signal = L). In this method, the power supply voltage of the microcomputer 100 is always higher than the power supply voltage of the sensor 105, so that problems such as latch-up do not occur.

【0009】[0009]

【発明が解決しようとする課題】しかし、CMPには製
造上のバラツキ等によりオフセット、つまりCMPの両
入力が同電圧となった時に出力が反転するのではなく、
何方かが高い方にずれるのが一般的である。
However, due to manufacturing variations and the like, the output of the CMP is not inverted, that is, the output is not inverted when both inputs of the CMP have the same voltage.
It is common for some to shift to the higher one.

【0010】図11は、オフセット電圧が正(反転入力
端子の電圧よりオフセット電圧Voff分高い電圧が、出力
が反転する境界電圧となる)の場合の、信号波形を示す
波形図である。この場合、電圧Vcc が電圧Vdd+Voffにな
った時点で、CMP出力Sは反転するが、この時切換ス
イッチBUSWが導通してマイコン側に電流Ico が流れる。
切換スイッチBUSWは通常半導体で構成されるため、切換
スイッチBUSWの導通抵抗Ron により、電圧Vcc はIco ・
Ron の電圧降下が起こる。このため、電圧Vccが再度電
圧Vdd+Voffを下回り、CMPの出力Sが反転する。そし
て切換スイッチBUSWが遮断状態となる。従って、今度は
切換スイッチBUSWの導通抵抗Ron による電圧降下はなく
なり、再度電圧Vcc が電圧Vdd+Voffを上回って、CMP
出力Sは反転する。このような動作により、CMP出力
Sの反転時に発振のような現象が起こる問題がある。
FIG. 11 is a waveform diagram showing signal waveforms when the offset voltage is positive (a voltage higher than the voltage at the inverting input terminal by the offset voltage Voff becomes a boundary voltage at which the output is inverted). In this case, when the voltage Vcc becomes the voltage Vdd + Voff, the CMP output S is inverted, but at this time, the changeover switch BUSW is turned on and the current Ico flows to the microcomputer side.
Since the changeover switch BUSW is usually made of a semiconductor, the voltage Vcc is set to Ico
Ron voltage drop occurs. Therefore, the voltage Vcc falls below the voltage Vdd + Voff again, and the output S of the CMP is inverted. Then, the changeover switch BUSW is turned off. Accordingly, this time, the voltage drop due to the conduction resistance Ron of the changeover switch BUSW disappears, and the voltage Vcc exceeds the voltage Vdd + Voff again, and the CMP
The output S is inverted. Due to such an operation, there is a problem that a phenomenon such as oscillation occurs when the CMP output S is inverted.

【0011】図12は、オフセット電圧が負(反転入力
端子の電圧よりオフセット電圧Voff分低い電圧が、出力
が反転する境界電圧となる)の場合の、信号波形を示す
波形図である。この場合には、VCC回路101の出力
電圧低下時に問題が発生する。VCC回路101の出力
電圧Vcc が低下していくと、正常動作では電圧Vcc が電
圧Vdd となった時点で、CMP出力が反転して、切換ス
イッチBUSWが遮断状態となる。しかし、電圧Vcc が低下
して電圧Vdd 以下になっても、オフセット電圧Voffのた
めすぐにはCMP出力Sは反転せず、切換スイッチBUSW
は遮断されない。このため、VDD回路102から切換
スイッチBUSWを通って、センサ等の負荷に電流が流れ、
CMPの非反転入力端子には、電圧Vdd-I(負荷電流) ・
Ron の電圧が印加される。ここで負荷電流が大きければ
問題は無いが、最近の電子機器は小電力化が図られてい
るため負荷電流は小さく(負荷抵抗が大きい)ため、電
圧Vdd-I(負荷電流) ・Ron が電圧Vdd-Voffより大きくな
ることがある。この場合には、切換スイッチBUSWは遮断
状態にならず、イグニッションスイッチIGSWオフにも係
わらず負荷に電流が流れつづけ、バッテリ上がりの原因
になる等の問題がある。
FIG. 12 is a waveform diagram showing signal waveforms when the offset voltage is negative (a voltage lower than the voltage at the inverting input terminal by the offset voltage Voff becomes a boundary voltage at which the output is inverted). In this case, a problem occurs when the output voltage of the VCC circuit 101 drops. When the output voltage Vcc of the VCC circuit 101 decreases, in a normal operation, when the voltage Vcc becomes the voltage Vdd, the CMP output is inverted and the changeover switch BUSW is turned off. However, even when the voltage Vcc drops to the voltage Vdd or less, the CMP output S is not immediately inverted due to the offset voltage Voff, and the changeover switch BUSW
Is not blocked. Therefore, a current flows from the VDD circuit 102 to the load such as the sensor through the changeover switch BUSW,
The non-inverting input terminal of CMP has a voltage Vdd-I (load current)
Ron voltage is applied. There is no problem if the load current is large, but since recent electronic devices are designed to reduce power, the load current is small (the load resistance is large), so the voltage Vdd-I (load current) • Ron is the voltage It may be larger than Vdd-Voff. In this case, the changeover switch BUSW does not enter the cutoff state, and there is a problem that the current continues to flow to the load despite the ignition switch IGSW being turned off, causing the battery to run down.

【0012】本発明は、このような問題に鑑みなされた
もので、マイコンや負荷への電力供給を適切に行える電
源回路を実現することを課題としている。
The present invention has been made in view of such a problem, and has as its object to realize a power supply circuit that can appropriately supply power to a microcomputer and a load.

【0013】[0013]

【課題を解決するための手段及びその効果】上記課題を
解決するため、本発明に係る電源回路(1)は、電源ス
イッチを介して電源に接続され、前記電源スイッチオン
状態においてマイクロコンピュータに電力を供給する通
常電源回路と、前記電源スイッチを介さずに前記電源に
接続され、前記電源スイッチオフ状態においてマイクロ
コンピュータに電力を供給するバックアップ電源回路と
を備えた電源回路において、前記通常電源回路と前記マ
イクロコンピュータとの間の電源ラインに接続され、該
電源ラインの接断を行う接断スイッチと、前記通常電源
回路の出力電圧を監視し、前記通常電源回路の電圧が低
下した時に前記接断スイッチを遮断状態にし、前記通常
電源回路の電圧が上昇した時に前記接断スイッチを接続
状態にする減電圧検知手段と、前記減電圧検知手段の検
出出力に応答し、前記通常電源回路の電圧が低下した時
に前記バックアップ電源回路の電圧を高くし、前記通常
電源回路の電圧が上昇した時に前記バックアップ電源回
路の電圧を低くする電圧制御手段とを備えていることを
特徴としている。
In order to solve the above-mentioned problems, a power supply circuit (1) according to the present invention is connected to a power supply via a power supply switch, and supplies power to the microcomputer when the power supply switch is on. And a backup power supply circuit that is connected to the power supply without passing through the power supply switch and supplies power to the microcomputer in the power switch off state. A disconnection switch connected to a power supply line between the microcomputer and the disconnection switch for disconnecting the power supply line, and monitoring an output voltage of the normal power supply circuit; A reduced voltage for turning off the switch and connecting the disconnection switch when the voltage of the normal power supply circuit rises In response to the detection output of the undervoltage detection means, increasing the voltage of the backup power supply circuit when the voltage of the normal power supply circuit decreases, and increasing the voltage of the backup power supply circuit when the voltage of the normal power supply circuit increases. And a voltage control means for lowering the voltage.

【0014】上記電源回路(1)によれば、前記バック
アップ電源回路から前記通常電源回路に切り換える際
(電源スイッチオン時)には、前記バックアップ電源回
路の電圧が高めになっているので、センサ等からの入力
電圧よりも前記マイクロコンピュータの電源電圧を高く
保て、ラッチアップ等を防ぐことができる。また電源ス
イッチオフ時には、前記バックアップ電源回路の電圧が
低めになっているので、該バックアップ電源回路から前
記通常電源回路側への電流の流れ込みがなく、前記減電
圧検知手段による前記通常電源回路の出力電圧の誤検出
を防げ、それにより前記接断スイッチを適切に遮断で
き、前記バックアップ電源から前記接断スイッチを通っ
て負荷に流れる無駄な電流の発生を防止できる。
According to the power supply circuit (1), when switching from the backup power supply circuit to the normal power supply circuit (when the power switch is turned on), the voltage of the backup power supply circuit is high, so that the The power supply voltage of the microcomputer can be kept higher than the input voltage of the microcomputer to prevent latch-up and the like. Also, when the power switch is off, the voltage of the backup power supply circuit is lower, so that no current flows from the backup power supply circuit to the normal power supply circuit side, and the output of the normal power supply circuit by the reduced voltage detection means is reduced. False detection of voltage can be prevented, whereby the disconnection switch can be properly shut off, and wasteful current flowing from the backup power supply to the load through the disconnection switch can be prevented.

【0015】また本発明に係る電源回路(2)は、電源
スイッチを介して電源に接続され、前記電源スイッチオ
ン状態においてマイクロコンピュータに電力を供給する
通常電源回路と、前記電源スイッチを介さずに前記電源
に接続され、前記電源スイッチオフ状態においてマイク
ロコンピュータに電力を供給するバックアップ電源回路
とを備えた電源回路において、前記通常電源回路と前記
マイクロコンピュータとの間の電源ラインに接続され、
該電源ラインの接断を行う、それぞれ並列に接続された
第1,第2接断スイッチと、前記通常電源回路の出力電
圧を監視し、前記通常電源回路の電圧が低下した時に前
記第1接断スイッチを遮断状態にし、前記通常電源回路
の電圧が上昇した時に前記第1接断スイッチを接続状態
にする減電圧検知手段と、前記通常電源回路の電圧と前
記バックアップ電源回路の電圧とを比較し、前記通常電
源回路の電圧が高い時に前記第2接断スイッチを接続状
態にし、前記通常電源回路の電圧が低い時に前記第2接
断スイッチを遮断状態にする比較手段とを備えているこ
とを特徴としている。
A power supply circuit (2) according to the present invention is connected to a power supply via a power supply switch, and supplies a normal power supply to the microcomputer when the power supply switch is on, and a power supply circuit without the power supply switch. A power supply circuit connected to the power supply and having a backup power supply circuit for supplying power to the microcomputer in the power switch off state, wherein the power supply circuit is connected to a power supply line between the normal power supply circuit and the microcomputer;
First and second disconnection switches connected in parallel, for disconnecting the power supply line, and monitoring the output voltage of the normal power supply circuit; A low-voltage detecting unit that sets a disconnection switch to a cut-off state and sets the first disconnection switch to a connected state when the voltage of the normal power supply circuit rises; And comparing means for setting the second disconnection switch to a connected state when the voltage of the normal power supply circuit is high, and disconnecting the second disconnection switch when the voltage of the normal power supply circuit is low. It is characterized by.

【0016】上記電源回路(2)によれば、前記減電圧
検知手段による電源回路切換の制御と、前記比較手段に
よる電源回路切換の制御が、互いの欠点を補うように動
作して電源回路を切り換えるので、確実で安定性のある
電源切換を実現できる。
According to the power supply circuit (2), the control of the power supply circuit switching by the voltage reduction detecting means and the control of the power supply circuit switching by the comparing means operate so as to compensate for each other's shortcomings, and the power supply circuit is controlled. Since the switching is performed, reliable and stable power switching can be realized.

【0017】また本発明に係る電源回路(3)は、電源
スイッチを介して電源に接続され、前記電源スイッチオ
ン状態においてマイクロコンピュータに電力を供給する
通常電源回路と、前記電源スイッチを介さずに前記電源
に接続され、前記電源スイッチオフ状態においてマイク
ロコンピュータに電力を供給するバックアップ電源回路
とを備えた電源回路において、前記通常電源回路と前記
マイクロコンピュータとの間の電源ラインに接続され、
該電源ラインの接断を行う、それぞれ並列に接続された
第1,第2接断スイッチと、前記マイクロコンピュータ
の入力電源電圧を監視し、該入力電源電圧が低下した時
に前記第1接断スイッチを遮断状態にし、前記入力電源
電圧が上昇した時に前記第1接断スイッチを接続状態に
する減電圧検知手段と、前記通常電源回路の電圧と前記
バックアップ電源回路の電圧とを比較し、前記通常電源
回路の電圧が高い時に前記第2接断スイッチを接続状態
にし、前記通常電源回路の電圧が低い時に前記第2接断
スイッチを遮断状態にする比較手段とを備えていること
を特徴としている。
The power supply circuit (3) according to the present invention is connected to a power supply via a power supply switch, and supplies a power to the microcomputer when the power supply switch is on, and a power supply circuit without the power supply switch. A power supply circuit connected to the power supply and having a backup power supply circuit for supplying power to the microcomputer in the power switch off state, wherein the power supply circuit is connected to a power supply line between the normal power supply circuit and the microcomputer;
First and second disconnection switches connected in parallel, for disconnecting the power supply line, and monitoring the input power supply voltage of the microcomputer, and the first disconnection switch when the input power supply voltage drops. And a voltage reduction detecting means for connecting the first disconnection switch when the input power supply voltage rises, and comparing the voltage of the normal power supply circuit with the voltage of the backup power supply circuit, And comparing means for setting the second disconnection switch to a connected state when the voltage of the power supply circuit is high, and disconnecting the second disconnection switch when the voltage of the normal power supply circuit is low. .

【0018】上記電源回路(3)によれば、前記減電圧
検知手段による電源回路切換の制御と、前記比較手段に
よる電源回路切換の制御が、互いの欠点を補うように動
作して電源回路を切り換えるので、確実で安定性のある
電源切換を実現できる。
According to the power supply circuit (3), the control of the power supply circuit switching by the low voltage detecting means and the control of the power supply circuit switching by the comparing means operate so as to compensate for each other's shortcomings, and the power supply circuit is controlled. Since the switching is performed, reliable and stable power switching can be realized.

【0019】また本発明に係る電源回路(4)は、上記
電源回路(1)、(2)または(3)において、前記減
電圧検知手段がヒステリシス特性を有するもであること
を特徴としている。
The power supply circuit (4) according to the present invention is characterized in that, in the power supply circuit (1), (2) or (3), the reduced voltage detecting means has a hysteresis characteristic.

【0020】上記電源回路(4)によれば、電源切換境
界付近での切換ハンチング(電圧の微妙な変動により、
電圧が境界値を単周期で上下し、電源切換が単周期で起
こる現象)を防ぐことができ、電源切換動作が安定す
る。
According to the power supply circuit (4), switching hunting near the power supply switching boundary (subtle changes in voltage cause
A phenomenon in which the voltage fluctuates a boundary value in a single cycle and the power supply switching occurs in a single cycle can be prevented, and the power supply switching operation is stabilized.

【0021】[0021]

【発明の実施の形態】次に本発明の実施の形態について
説明する。図1は本発明の実施の形態に係る電源回路の
回路構成図であり、車載用電子機器に用いられる電源回
路を示している。
Next, an embodiment of the present invention will be described. FIG. 1 is a circuit configuration diagram of a power supply circuit according to an embodiment of the present invention, and shows a power supply circuit used in an in-vehicle electronic device.

【0022】イグニッションスイッチオフ時にもマイコ
ン等の必要な箇所に電力を供給するバックアップ電源供
給用の電源回路(VDD回路)2は、自動車のバッテリ
BATTに直接接続されている。またイグニッションスイッ
チオン時にのみ、車両のエンジン等の制御を行う電子制
御ユニット(ECU)の各部に電力を供給する動作用電
源回路(VCC回路)1は、イグニッションスイッチIG
SWを介して自動車のバッテリBATTに接続されている。そ
して、VCC回路1は電源切換用スイッチBUSWを介して
マイコン10に電力を供給し、またECU内部の各種回
路に電力を供給する。そしてVDD回路2は直接マイコ
ン10に電力を供給している。尚、VCC回路1からV
DD回路2への電流の流れを阻止するために、VDD回
路2の出力部にはダイオード等の素子が配設されてい
る。
A power supply circuit (VDD circuit) 2 for supplying a backup power supply for supplying power to a necessary portion such as a microcomputer even when the ignition switch is turned off is provided with a battery of an automobile.
Connected directly to BATT. An operation power supply circuit (VCC circuit) 1 for supplying electric power to each part of an electronic control unit (ECU) that controls the engine of the vehicle only when the ignition switch is turned on is provided with an ignition switch IG.
It is connected to the car battery BATT via SW. The VCC circuit 1 supplies power to the microcomputer 10 via the power supply changeover switch BUSW, and also supplies power to various circuits inside the ECU. The VDD circuit 2 directly supplies power to the microcomputer 10. It should be noted that Vcc circuit 1
In order to prevent a current from flowing to the DD circuit 2, an element such as a diode is provided at an output portion of the VDD circuit 2.

【0023】電源切換用の切換スイッチBUSWは、マイコ
ン10に電力を供給する電源を選択するスイッチで、E
CUの動作時には導通して、VCC回路1からマイコン
10に電力が供給されるようにし、またECUの非動作
時には遮断して、VDD回路2からマイコン10に電力
が供給されるようにしている。尚、電源切換用スイッチ
BUSWは、スイッチングトランジスタ等により構成され
る。また、VCC回路1の出力電圧はマイコン10の動
作に適した電圧、例えば5Vで、またVDD回路2の出
力電圧はマイコン10のRAMの記憶内容を保持するの
に必要な電圧、例えば3V(一般的にマイコンの動作電
圧より低い)となっている。
A changeover switch BUSW for switching power supply is a switch for selecting a power supply for supplying electric power to the microcomputer 10.
When the CU is operating, it is conductive so that power is supplied from the VCC circuit 1 to the microcomputer 10, and when the ECU is not operating, it is shut off and power is supplied from the VDD circuit 2 to the microcomputer 10. In addition, power switch
BUSW is configured by a switching transistor and the like. The output voltage of the VCC circuit 1 is a voltage suitable for the operation of the microcomputer 10, for example, 5 V, and the output voltage of the VDD circuit 2 is a voltage required for holding the contents stored in the RAM of the microcomputer 10, for example, 3 V (general). Lower than the operating voltage of the microcomputer).

【0024】VCC回路1は、ECUの電源出力端子か
らECU外部のセンサ5に電力を供給し、センサ5はそ
の検出出力をECUのアナログデジタル(A/D)変換
器4に出力する。そしてA/D変換器4は、センサ5出
力のデジタル変換値をマイコン10に出力し、マイコン
10はこのデジタル値に応じて、各種アクチュエータ等
の制御を行う。VCC回路1あるいはその入力電圧の低
下を検出する減電圧検知回路3は、イグニッションスイ
ッチIGSWの遮断操作等によるVCC回路1の出力電圧の
低下を示す減電圧信号HALT(電圧低下時、低電圧レベ
ル)をマイコン10に出力する。また減電圧検知回路3
はヒステリシスを有しており、VCC回路1の出力電圧
Vcc が高比較電圧VTH 電圧を越えれば、減電圧信号HALT
を高電圧レベル(H信号)とし、またVCC回路1の出
力電圧Vcc が低比較電圧VTL 電圧(VTH > VTL) を下回
れば、減電圧信号HALTを低電圧レベル(L信号)とす
る。
The VCC circuit 1 supplies power from a power supply output terminal of the ECU to a sensor 5 outside the ECU, and the sensor 5 outputs a detection output to an analog / digital (A / D) converter 4 of the ECU. Then, the A / D converter 4 outputs a digital conversion value of the output of the sensor 5 to the microcomputer 10, and the microcomputer 10 controls various actuators and the like according to the digital value. The VCC circuit 1 or a reduced voltage detection circuit 3 for detecting a decrease in the input voltage thereof is provided with a reduced voltage signal HALT (low voltage level at the time of voltage drop) indicating a decrease in the output voltage of the VCC circuit 1 due to an operation such as shutting off an ignition switch IGSW. Is output to the microcomputer 10. Also, a low voltage detection circuit 3
Has a hysteresis and the output voltage of the VCC circuit 1
If Vcc exceeds the high comparison voltage VTH, the reduced voltage signal HALT
Is set to a high voltage level (H signal), and if the output voltage Vcc of the VCC circuit 1 is lower than the low comparison voltage VTL voltage (VTH> VTL), the reduced voltage signal HALT is set to a low voltage level (L signal).

【0025】マイコン10は、減電圧検知回路3からの
減電圧信号HALTを受信しており、この減電圧信号HALTが
L信号となると、マイコン動作用のクロック信号の発振
を停止させてマイコン10の駆動を停止し、ECUの消
費電力を低下させるようになっている。また、この時、
切換スイッチBUSWは遮断状態になり、マイコン10へは
VDD回路2から電力が供給される。つまり、VCC回
路1の出力電圧低下時は、即ちイグニッションスイッチ
IGSWの遮断時等は、マイコン10の駆動が停止、つまり
ECUが停止した状態となる。
The microcomputer 10 receives the reduced voltage signal HALT from the reduced voltage detection circuit 3. When the reduced voltage signal HALT becomes the L signal, the microcomputer 10 stops the oscillation of the microcomputer operating clock signal, and The drive is stopped to reduce the power consumption of the ECU. Also, at this time,
The changeover switch BUSW is turned off, and power is supplied to the microcomputer 10 from the VDD circuit 2. That is, when the output voltage of the VCC circuit 1 drops, that is, when the ignition switch
For example, when the IGSW is shut off, the driving of the microcomputer 10 is stopped, that is, the ECU is stopped.

【0026】またVDD回路2も、減電圧信号HALTを受
信しており、この減電圧信号HALTがL信号の時には出力
電圧を高いレベルのVB1 とし、逆に減電圧信号HALTがH
信号の時には出力電圧を低いレベルのVA1 とするように
なっている。尚、出力電圧を切り換える方法としては、
2種類のレギュレータを切り換える方法や出力電圧設定
用の分圧抵抗を切り換える方法等、各種電圧切換方法が
適用できる。また、各電圧の関係は、VB1 >VTH >VTL
>VA1 の関係に設定されている。
The VDD circuit 2 also receives the reduced voltage signal HALT. When the reduced voltage signal HALT is an L signal, the output voltage is set to a high level VB1.
At the time of a signal, the output voltage is set to a low level VA1. As a method of switching the output voltage,
Various voltage switching methods such as a method of switching between two types of regulators and a method of switching a voltage dividing resistor for setting an output voltage can be applied. The relationship between the voltages is VB1>VTH> VTL
> VA1.

【0027】次に電源回路の動作について説明する。図
2は電源回路の動作を示す動作波形図である。尚、図中
typ は設定電圧を示し、max,min は誤差(バラツキ)を
考慮した場合の、最大および最小電圧を示しており、各
電圧値の設定は、誤差を含めて重ならないようにするこ
とが望ましい。
Next, the operation of the power supply circuit will be described. FIG. 2 is an operation waveform diagram showing the operation of the power supply circuit. In the figure
typ indicates the set voltage, max and min indicate the maximum and minimum voltages in consideration of an error (variation), and it is desirable that the setting of each voltage value does not overlap including the error.

【0028】イグニッションスイッチIGSWが導通前は、
マイコン10へはVDD回路2から電圧Vdd が供給され
ているが、その供給電圧は電圧VB1 となっている。イグ
ニッションスイッチIGSWが導通されると、負荷容量等の
関係で、電圧Vcc は徐々に増大する。そして、電圧Vcc
が電圧VTH に達した時点t1で、HALT信号がHレベルと
なり、マイコン10への供給電源が、VCC回路1に切
り換わる。続いてVDD回路2の出力電圧が電圧VA1 に
切り換わる。
Before the ignition switch IGSW is turned on,
The voltage Vdd is supplied from the VDD circuit 2 to the microcomputer 10, and the supply voltage is the voltage VB1. When the ignition switch IGSW is turned on, the voltage Vcc gradually increases due to the load capacity and the like. And the voltage Vcc
At time t1 when the voltage reaches the voltage VTH, the HALT signal becomes H level, and the power supply to the microcomputer 10 is switched to the VCC circuit 1. Subsequently, the output voltage of the VDD circuit 2 switches to the voltage VA1.

【0029】この切換時点での、電圧Vdd はVB1 であっ
て、この時点での電圧Vcc(=VTH) より高い。従って、イ
グニッションスイッチIGSWが導通になった時点の前後に
おいても、マイコン10に加わる電圧は、常に電圧Vcc
以上となって、センサ5への印加電圧を下回ることはな
い。このため、マイコン10のセンサ入力部であるA/
D変換器4には、A/D変換器4の動作電圧(この時点
でのマイコン10への供給電圧)より高い電圧がA/D
変換すべき電圧として入力されることはなく、マイコン
10がラッチアップする等の問題は発生しない。
The voltage Vdd at the time of this switching is VB1, which is higher than the voltage Vcc (= VTH) at this time. Therefore, before and after the ignition switch IGSW becomes conductive, the voltage applied to the microcomputer 10 is always the voltage Vcc.
As described above, the voltage applied to the sensor 5 does not fall below. For this reason, A /
A voltage higher than the operating voltage of the A / D converter 4 (the voltage supplied to the microcomputer 10 at this time) is applied to the D / D converter 4.
There is no input as a voltage to be converted, and no problem such as latch-up of the microcomputer 10 occurs.

【0030】イグニッションスイッチIGSWが遮断前は、
マイコン10へはVCC回路1から電圧Vcc が供給され
ている。また、VDD回路2の出力電圧は電圧VA1 にな
っている。イグニッションスイッチIGSWが遮断される
と、負荷容量等の関係で、電圧Vcc は徐々に減少する。
そして、電圧Vcc が電圧VTL に達した時点t2で、HALT
信号がLレベルとなり、マイコン10への供給電源が、
VDD回路2に切り換わる。続いてVDD回路2の出力
電圧は電圧VB1 に切り換わる。
Before the ignition switch IGSW is shut off,
The voltage Vcc is supplied from the VCC circuit 1 to the microcomputer 10. The output voltage of the VDD circuit 2 is the voltage VA1. When the ignition switch IGSW is turned off, the voltage Vcc gradually decreases due to the load capacity and the like.
At time t2 when the voltage Vcc reaches the voltage VTL, HALT
The signal becomes L level, and the power supply to the microcomputer 10 becomes
The mode is switched to the VDD circuit 2. Subsequently, the output voltage of the VDD circuit 2 switches to the voltage VB1.

【0031】この切換時点での、電圧Vdd はVA1 であっ
て、この時点での電圧Vcc(=VTL) より低い。従って、イ
グニッションスイッチIGSWが遮断になった時点の前後に
おいても、電圧Vcc が電圧Vdd を下回ることはなく、V
DD回路2からVCC回路1側に電流が流れ、電圧Vcc
が高電圧に維持されることによって起こる、減電圧検知
回路3の誤検出を防止でき、ECU内部の負荷等による
電力の無駄な消費を防止できる。
The voltage Vdd at the time of this switching is VA1, which is lower than the voltage Vcc (= VTL) at this time. Therefore, the voltage Vcc does not fall below the voltage Vdd even before and after the time when the ignition switch IGSW is turned off.
A current flows from the DD circuit 2 to the VCC circuit 1, and the voltage Vcc
Can be prevented from being erroneously detected by the reduced voltage detection circuit 3 caused by maintaining the high voltage, and wasteful consumption of power due to a load or the like in the ECU can be prevented.

【0032】次に本発明の別の実施の形態について説明
する。図3は本発明の実施の形態に係る電源回路の回路
構成図であり、車載用電子機器に用いられる電源回路を
示している。
Next, another embodiment of the present invention will be described. FIG. 3 is a circuit configuration diagram of a power supply circuit according to the embodiment of the present invention, and shows a power supply circuit used in a vehicle-mounted electronic device.

【0033】イグニッションスイッチオフ時にもマイコ
ン等の必要な箇所に電力を供給するバックアップ電源供
給用の電源回路(VDD回路)2は、自動車のバッテリ
BATTに直接接続されている。またイグニッションスイッ
チオン時にのみ、車両のエンジン等の制御を行う電子制
御ユニット(ECU)の各部に電力を供給する動作用電
源回路(VCC回路)1は、イグニッションスイッチIG
SWを介して自動車のバッテリBATTに接続されている。そ
して、VCC回路1は電源切換用スイッチBUSW1 および
BUSW2 を介してマイコン10に電力を供給し、またEC
U内部の各種回路に電力を供給する。そしてVDD回路
2は直接マイコン10に電力を供給している。
A power supply circuit (VDD circuit) 2 for supplying a backup power supply for supplying power to a necessary portion such as a microcomputer even when the ignition switch is turned off is provided with a battery of an automobile.
Connected directly to BATT. An operation power supply circuit (VCC circuit) 1 for supplying electric power to each part of an electronic control unit (ECU) that controls the engine of the vehicle only when the ignition switch is turned on is provided with an ignition switch IG.
It is connected to the car battery BATT via SW. The VCC circuit 1 has a power supply changeover switch BUSW1 and
Power is supplied to the microcomputer 10 via BUSW2,
Power is supplied to various circuits inside U. The VDD circuit 2 directly supplies power to the microcomputer 10.

【0034】尚、電源切換用スイッチBUSW1 およびBUSW
2 は、スイッチングトランジスタ等により構成され、そ
のオン抵抗R1,R2 (導通状態における抵抗)はマイコン
10の動作が正常に行われる値に、また抵抗R1が抵抗R2
の100 倍程度に設定される。またVCC回路1からVD
D回路2への電流の流れを阻止するために、VDD回路
2の出力部にはダイオード等の素子が配設されている。
The power supply changeover switches BUSW1 and BUSW
Reference numeral 2 denotes a switching transistor or the like, and its on-resistances R1 and R2 (resistances in a conductive state) have values at which the microcomputer 10 operates normally, and the resistance R1 is a resistance R2.
It is set to about 100 times. In addition, from the VCC circuit 1 to the VD
In order to prevent a current from flowing to the D circuit 2, an element such as a diode is provided at an output portion of the VDD circuit 2.

【0035】VCC回路1の出力電圧はマイコン10の
動作に適した電圧、例えば5Vに、またVDD回路2の
出力電圧はマイコン10のRAMの記憶内容を保持する
のに必要な電圧、例えば3V(一般的にマイコンの動作
電圧より低い)に設定されている。
The output voltage of the VCC circuit 1 is a voltage suitable for the operation of the microcomputer 10, for example, 5 V, and the output voltage of the VDD circuit 2 is a voltage required for holding the contents stored in the RAM of the microcomputer 10, for example, 3 V ( (Generally lower than the operating voltage of the microcomputer).

【0036】VCC回路1は、ECUの電源出力端子か
らECU外部のセンサ5に電力を供給し、センサ5はそ
の検出出力をECUのアナログデジタル(A/D)変換
器4に出力する。そしてA/D変換器4は、センサ5出
力のデジタル変換値をマイコン10に出力し、マイコン
10はこのデジタル値に応じて、各種アクチュエータ等
の制御を行う。VCC回路1あるいはその入力電圧の低
下を検出する減電圧検知回路3は、イグニッションスイ
ッチIGSWの遮断操作等によるVCC回路1の出力電圧の
低下を示す減電圧信号HALT(電圧低下時、低電圧レベ
ル)をマイコン10に出力し、また電源切換用スイッチ
BUSW2 を制御(減電圧信号HALTがL信号時遮断、H信号
の時導通)するようになっている。また減電圧検知回路
3はヒステリシスを有しており、VCC回路1の出力電
圧Vcc が高比較電圧VTH 電圧を越えれば、減電圧信号HA
LTを高電圧レベル(H信号)とし、またVCC回路1の
出力電圧Vcc が低比較電圧VTL 電圧(VTH > VTL) を下
回れば、減電圧信号HALTを低電圧レベル(L信号)とす
る。
The VCC circuit 1 supplies power from a power supply output terminal of the ECU to a sensor 5 outside the ECU, and the sensor 5 outputs a detection output to an analog / digital (A / D) converter 4 of the ECU. Then, the A / D converter 4 outputs a digital conversion value of the output of the sensor 5 to the microcomputer 10, and the microcomputer 10 controls various actuators and the like according to the digital value. The VCC circuit 1 or a reduced voltage detection circuit 3 for detecting a decrease in the input voltage thereof is provided with a reduced voltage signal HALT (low voltage level at the time of voltage drop) indicating a decrease in the output voltage of the VCC circuit 1 due to an operation such as shutting off an ignition switch IGSW. To the microcomputer 10 and a power switch
BUSW2 is controlled (cut off when the low voltage signal HALT is L signal, and conductive when H signal is H signal). The undervoltage detection circuit 3 has a hysteresis. When the output voltage Vcc of the VCC circuit 1 exceeds the high comparison voltage VTH, the undervoltage signal HA is output.
When LT is set to a high voltage level (H signal), and the output voltage Vcc of the VCC circuit 1 falls below the low comparison voltage VTL voltage (VTH> VTL), the reduced voltage signal HALT is set to a low voltage level (L signal).

【0037】マイコン10は、減電圧検知回路3からの
減電圧信号HALTを受信しており、この減電圧信号HALTが
L信号となると、マイコン動作用のクロック信号の発振
を停止させてマイコン10の駆動を停止し、ECUの消
費電力を低下させるようになっている。比較器6は、V
CC回路1の出力電圧Vcc とVDD回路2の出力電圧Vd
d を比較する回路で、電源切換用スイッチBUSW1 を、電
圧Vcc が電圧Vdd より高い時に接続状態、電圧Vcc が電
圧Vdd より低い時に遮断状態にする。また、各電圧の関
係は、VTH >VTL >Vdd の関係に設定されている。
The microcomputer 10 receives the reduced voltage signal HALT from the reduced voltage detection circuit 3. When the reduced voltage signal HALT becomes the L signal, the microcomputer 10 stops the oscillation of the microcomputer operating clock signal, and The drive is stopped to reduce the power consumption of the ECU. Comparator 6 outputs V
The output voltage Vcc of the CC circuit 1 and the output voltage Vd of the VDD circuit 2
In the circuit for comparing d, the power supply switch BUSW1 is turned on when the voltage Vcc is higher than the voltage Vdd, and is turned off when the voltage Vcc is lower than the voltage Vdd. The relationship between the voltages is set to satisfy the relationship of VTH>VTL> Vdd.

【0038】次に電源回路の動作について説明する。図
4は電源回路の動作を示す動作波形図である。尚、図中
typ は設定電圧を示し、max,min は誤差(バラツキ)を
考慮した場合の、最大および最小電圧を示している。
Next, the operation of the power supply circuit will be described. FIG. 4 is an operation waveform diagram showing the operation of the power supply circuit. In the figure
typ indicates a set voltage, and max and min indicate maximum and minimum voltages in consideration of an error (variation).

【0039】イグニッションスイッチIGSWの導通前は、
マイコン10へはVDD回路2から電圧Vdd が供給され
ている。イグニッションスイッチIGSWが導通されると、
負荷容量等の関係で、電圧Vcc は徐々に増大する。そし
て、電圧Vcc が電圧Vdd に達した時点t3で、比較器6
の出力が反転して電源切換用スイッチBUSW1 が接続状態
となって、マイコン10への供給電源が、VCC回路1
に切り換わる。
Before conducting the ignition switch IGSW,
The microcomputer 10 is supplied with a voltage Vdd from the VDD circuit 2. When the ignition switch IGSW is turned on,
The voltage Vcc gradually increases due to the load capacity and the like. At time t3 when the voltage Vcc reaches the voltage Vdd, the comparator 6
Is inverted, the power switch BUSW1 is connected, and the power supply to the microcomputer 10 is changed to the VCC circuit 1
Switch to.

【0040】この切換時点での、電圧Vcc は電圧Vdd と
等しい(比較器6のオフセット分差があるが、その差は
小さくあまり問題はない)。従って、イグニッションス
イッチIGSWが導通になった時点の前後においても、マイ
コン10に加わる電圧は、常に電圧Vcc 以上となって、
センサ5への印加電圧を下回ることはない。このため、
マイコン10のセンサ入力部であるA/D変換器4に
は、A/D変換器4の動作電圧(この時点でのマイコン
10への供給電圧)より高い電圧がA/D変換すべき電
圧として入力されることはなく、マイコン10がラッチ
アップする等の問題は発生しない。
At the time of this switching, the voltage Vcc is equal to the voltage Vdd (there is an offset difference of the comparator 6, but the difference is small and there is not much problem). Therefore, even before and after the ignition switch IGSW is turned on, the voltage applied to the microcomputer 10 is always equal to or higher than the voltage Vcc.
It does not fall below the voltage applied to the sensor 5. For this reason,
A voltage higher than the operating voltage of the A / D converter 4 (the voltage supplied to the microcomputer 10 at this time) is supplied to the A / D converter 4 as a sensor input unit of the microcomputer 10 as a voltage to be A / D converted. There is no input, and no problem such as latch-up of the microcomputer 10 occurs.

【0041】そして、さらに電圧Vcc が上昇し、電圧VT
H を越えると(t4)、減電圧信号HALTがH信号とな
り、電源切換用スイッチBUSW2 が接続状態となって、V
CC回路1からマイコン10への供給電源が、電源切換
用スイッチBUSW2 を介しても行われ、そしてマイコン動
作用のクロック信号の発振が開始されてマイコン10が
処理を始める。尚、この状態では、電圧Vcc と電圧Vin
は理論的には同じであるが、スイッチのオン抵抗や比較
器6のオフセットの影響などにより比較器6の出力が定
まり、電源切換用スイッチBUSW1 の状態が定まる。
Then, the voltage Vcc further rises, and the voltage VT
When the voltage exceeds H (t4), the reduced voltage signal HALT becomes the H signal, the power supply switch BUSW2 is connected, and V
The power supply from the CC circuit 1 to the microcomputer 10 is also performed via the power supply switch BUSW2, and the oscillation of the microcomputer operation clock signal is started, and the microcomputer 10 starts processing. In this state, the voltage Vcc and the voltage Vin
Is theoretically the same, but the output of the comparator 6 is determined by the influence of the ON resistance of the switch and the offset of the comparator 6, and the state of the power supply switch BUSW1 is determined.

【0042】イグニッションスイッチIGSWが遮断される
と、負荷容量等の関係で、電圧Vccは徐々に減少する。
そして、電圧Vcc が電圧VTL に達した時点t5で、HALT
信号がLレベルとなり、電源切換用スイッチBUSW2 が遮
断され、マイコン動作用のクロック信号の発振が停止さ
れてマイコン10が停止する。しかし、マイコン10へ
の電力供給は、電源切換用スイッチBUSW1 を介してVD
D回路1からも行われる。さらに電圧Vcc が低下し電圧
Vdd に達した時点t6では、比較器6の出力が反転して
電源切換用スイッチBUSW1 が遮断状態となって、マイコ
ン10への供給電源が、VDD回路2に切り換わる。
When the ignition switch IGSW is turned off, the voltage Vcc gradually decreases due to the load capacity and the like.
At time t5 when the voltage Vcc reaches the voltage VTL, HALT
The signal becomes L level, the power switch BUSW2 is cut off, the oscillation of the clock signal for microcomputer operation stops, and the microcomputer 10 stops. However, power is supplied to the microcomputer 10 via the power switch BUSW1.
This is also performed from the D circuit 1. Further, the voltage Vcc drops and the voltage
At time t6 when the voltage reaches Vdd, the output of the comparator 6 is inverted, the power switch BUSW1 is turned off, and the power supply to the microcomputer 10 is switched to the VDD circuit 2.

【0043】このように、イグニッションスイッチIGSW
の遮断時には、先ずVCC回路1の出力電圧Vcc の低下
により、マイコン10のクロック信号の発振を停止し、
また電源切換用スイッチBUSW2 を遮断状態とする。そし
て、その後電圧Vcc と電圧Vdd の比較結果により、電源
切換用スイッチBUSW1 を遮断状態とし、また電源切換用
スイッチBUSW1 を通る経路の抵抗値を大きくしているの
で、VDD回路2側からVCC回路1への電流の流れに
よる電圧Vcc の上昇を抑えることができ、比較器6の誤
検出を防止できる。従って、Vcc 電圧の低下に伴う、V
DD回路2側からマイコン10への電源供給切換を適切
に行え、マイコン10停止時におけるECU内部の負荷
への無駄な電流の流れ込みを防げ、電力の無駄な消費を
防止できる。
As described above, the ignition switch IGSW
When the power supply is cut off, first, the oscillation of the clock signal of the microcomputer 10 is stopped due to the decrease of the output voltage Vcc of the VCC circuit 1,
Also, the power switch BUSW2 is turned off. Then, based on the comparison result of the voltage Vcc and the voltage Vdd, the power supply switch BUSW1 is turned off and the resistance value of the path passing through the power supply switch BUSW1 is increased. The rise of the voltage Vcc due to the flow of the current to the comparator 6 can be suppressed, and the erroneous detection of the comparator 6 can be prevented. Therefore, when the Vcc voltage decreases, V
Power supply switching from the DD circuit 2 side to the microcomputer 10 can be appropriately performed, so that useless current can be prevented from flowing into a load inside the ECU when the microcomputer 10 is stopped, and wasteful consumption of power can be prevented.

【0044】次に本発明のさらに別の実施の形態につい
て説明する。図5は本発明の実施の形態に係る電源回路
の回路構成図であり、車載用電子機器に用いられる電源
回路を示している。尚、本実施の形態は、図3に示した
電源回路における減電圧検知回路3の検知している電圧
Vcc を電源切換用スイッチBUSW1(2)を介した後のマイコ
ン10への入力電圧Vin (減電圧検知回路7で検出)に
変更したもので、他の構成は同様のものである。
Next, still another embodiment of the present invention will be described. FIG. 5 is a circuit configuration diagram of a power supply circuit according to the embodiment of the present invention, and shows a power supply circuit used in an in-vehicle electronic device. In the present embodiment, the voltage detected by the reduced voltage detection circuit 3 in the power supply circuit shown in FIG.
Vcc is changed to the input voltage Vin to the microcomputer 10 via the power supply changeover switch BUSW1 (2) (detected by the reduced voltage detection circuit 7), and the other configuration is the same.

【0045】イグニッションスイッチオフ時にもマイコ
ン等の必要な箇所に電力を供給するバックアップ電源供
給用の電源回路(VDD回路)2は、自動車のバッテリ
BATTに直接接続されている。またイグニッションスイッ
チオン時にのみ、車両のエンジン等の制御を行う電子制
御ユニット(ECU)の各部に電力を供給する動作用電
源回路(VCC回路)1は、イグニッションスイッチIG
SWを介して自動車のバッテリBATTに接続されている。そ
して、VCC回路1は電源切換用スイッチBUSW1 および
BUSW2 を介してマイコン10に電力を供給し、またEC
U内部の各種回路に電力を供給する。そしてVDD回路
2は直接マイコン10に電力を供給している。
A power supply circuit (VDD circuit) 2 for supplying a backup power supply for supplying power to a necessary portion such as a microcomputer even when the ignition switch is turned off is provided with a battery of an automobile.
Connected directly to BATT. An operation power supply circuit (VCC circuit) 1 for supplying electric power to each part of an electronic control unit (ECU) that controls the engine of the vehicle only when the ignition switch is turned on is provided with an ignition switch IG.
It is connected to the car battery BATT via SW. The VCC circuit 1 has a power supply changeover switch BUSW1 and
Power is supplied to the microcomputer 10 via BUSW2,
Power is supplied to various circuits inside U. The VDD circuit 2 directly supplies power to the microcomputer 10.

【0046】尚、電源切換用スイッチBUSW1 およびBUSW
2 は、スイッチングトランジスタ等により構成され、そ
のオン抵抗R1,R2 (導通状態における抵抗)はマイコン
10の動作が正常に行われる値に、また抵抗R1が抵抗R2
の100 倍程度に設定されている。またVCC回路1から
VDD回路2への電流の流れを阻止するために、VDD
回路2の出力部にはダイオード等の素子が配設されてい
る。
The power supply changeover switches BUSW1 and BUSW
Reference numeral 2 denotes a switching transistor or the like, and its on-resistances R1 and R2 (resistances in a conductive state) have values at which the microcomputer 10 operates normally, and the resistance R1 is a resistance R2.
It is set to about 100 times. In order to prevent a current from flowing from the VCC circuit 1 to the VDD circuit 2,
An element such as a diode is provided at an output portion of the circuit 2.

【0047】VCC回路1の出力電圧はマイコン10の
動作に適した電圧、例えば5Vに、またVDD回路2の
出力電圧はマイコン10のRAMの記憶内容を保持する
のに必要な電圧、例えば3V(一般的にマイコンの動作
電圧より低い)に設定されている。
The output voltage of the VCC circuit 1 is set to a voltage suitable for the operation of the microcomputer 10, for example, 5 V, and the output voltage of the VDD circuit 2 is set to a voltage required to hold the contents stored in the RAM of the microcomputer 10, for example, 3 V ( (Generally lower than the operating voltage of the microcomputer).

【0048】VCC回路1は、ECUの電源出力端子か
らECU外部のセンサ5に電力を供給し、センサ5はそ
の検出出力をECUのアナログデジタル(A/D)変換
器4に出力する。そしてA/D変換器4は、センサ5出
力のデジタル変換値をマイコン10に出力し、マイコン
10はこのデジタル値に応じて、各種アクチュエータ等
の制御を行う。VCC回路1あるいはその入力電圧の低
下を検出する減電圧検知回路7は、イグニッションスイ
ッチIGSWの遮断操作等によるマイコン10への入力電圧
Vin の低下を示す減電圧信号HALT(電圧低下時、低電圧
レベル)をマイコン10に出力し、また電源切換用スイ
ッチBUSW2 を制御(減電圧信号HALTがL信号時遮断、H
信号の時導通)するようになっている。また減電圧検知
回路7はヒステリシスを有しており、マイコン10への
入力電圧Vin が高比較電圧VTH 電圧を越えれば、減電圧
信号HALTを高電圧レベル(H信号)とし、また電圧Vin
が低比較電圧VTL 電圧(VTH > VTL) を下回れば、減電
圧信号HALTを低電圧レベル(L信号)とする。
The VCC circuit 1 supplies power from a power supply output terminal of the ECU to a sensor 5 outside the ECU, and the sensor 5 outputs a detection output to an analog / digital (A / D) converter 4 of the ECU. Then, the A / D converter 4 outputs a digital conversion value of the output of the sensor 5 to the microcomputer 10, and the microcomputer 10 controls various actuators and the like according to the digital value. The VCC circuit 1 or a reduced voltage detection circuit 7 for detecting a decrease in the input voltage thereof is provided with an input voltage to the microcomputer 10 by an operation of shutting off an ignition switch IGSW or the like.
A low voltage signal HALT (low voltage level, low voltage level) indicating the drop of Vin is output to the microcomputer 10 and the power supply switch BUSW2 is controlled (the low voltage signal HALT is cut off when the L signal is low, H
(Conduction at the time of signal). The undervoltage detection circuit 7 has a hysteresis. When the input voltage Vin to the microcomputer 10 exceeds the high comparison voltage VTH, the undervoltage signal HALT is set to a high voltage level (H signal), and the voltage Vin
Is lower than the low comparison voltage VTL voltage (VTH> VTL), the reduced voltage signal HALT is set to the low voltage level (L signal).

【0049】マイコン10は、減電圧検知回路7からの
減電圧信号HALTを受信しており、この減電圧信号HALTが
L信号となると、マイコン動作用のクロック信号の発振
を停止させてマイコン10の駆動を停止し、ECUの消
費電力を低下させるようになっている。比較器6は、V
CC回路1の出力電圧Vcc とVDD回路2の出力電圧Vd
d を比較する回路で、電源切換用スイッチBUSW1 を、電
圧Vcc が電圧Vdd より高い時に接続状態、電圧Vcc が電
圧Vdd より低い時に遮断状態にする。また、各電圧の関
係は、VTH >VTL >Vdd の関係に設定されている。
The microcomputer 10 receives the reduced voltage signal HALT from the reduced voltage detection circuit 7. When the reduced voltage signal HALT becomes the L signal, the microcomputer 10 stops the oscillation of the microcomputer operating clock signal, and The drive is stopped to reduce the power consumption of the ECU. Comparator 6 outputs V
The output voltage Vcc of the CC circuit 1 and the output voltage Vd of the VDD circuit 2
In the circuit for comparing d, the power supply switch BUSW1 is turned on when the voltage Vcc is higher than the voltage Vdd, and is turned off when the voltage Vcc is lower than the voltage Vdd. The relationship between the voltages is set to satisfy the relationship of VTH>VTL> Vdd.

【0050】次に電源回路の動作について説明する。図
6は電源回路の動作を示す動作波形図である。尚、図中
typ は設定電圧を示し、max,min は誤差(バラツキ)を
考慮した場合の、最大および最小電圧を示している。
Next, the operation of the power supply circuit will be described. FIG. 6 is an operation waveform diagram showing the operation of the power supply circuit. In the figure
typ indicates a set voltage, and max and min indicate maximum and minimum voltages in consideration of an error (variation).

【0051】イグニッションスイッチIGSWの導通前は、
マイコン10へはVDD回路2から電圧Vdd が供給され
ている。イグニッションスイッチIGSWが導通されると、
負荷容量等の関係で、電圧Vcc は徐々に増大する。そし
て、電圧Vcc が電圧Vdd に達した時点t7で、比較器6
の出力が反転して電源切換用スイッチBUSW1 が接続状態
となって、マイコン10への供給電源が、VCC回路1
に切り換わる。
Before the conduction of the ignition switch IGSW,
The microcomputer 10 is supplied with a voltage Vdd from the VDD circuit 2. When the ignition switch IGSW is turned on,
The voltage Vcc gradually increases due to the load capacity and the like. At time t7 when the voltage Vcc reaches the voltage Vdd, the comparator 6
Is inverted, the power switch BUSW1 is connected, and the power supply to the microcomputer 10 is changed to the VCC circuit 1
Switch to.

【0052】この切換時点での、電圧Vcc は電圧Vdd と
等しい(比較器6のオフセット分差があるが、その差は
小さく問題はない)。従って、イグニッションスイッチ
IGSWが導通になった時点の前後においても、マイコン1
0に加わる電圧は、常に電圧Vcc 以上となって、センサ
5への印加電圧を下回ることはない。このため、マイコ
ン10のセンサ入力部であるA/D変換器4には、A/
D変換器4の動作電圧(この時点でのマイコン10への
供給電圧)より高い電圧がA/D変換すべき電圧として
入力されることはなく、マイコン10がラッチアップす
る等の問題は発生しない。
At this switching time, the voltage Vcc is equal to the voltage Vdd (there is a difference due to the offset of the comparator 6, but the difference is small and there is no problem). Therefore, the ignition switch
Before and after the IGSW becomes conductive, the microcomputer 1
The voltage applied to 0 is always equal to or higher than the voltage Vcc, and does not fall below the voltage applied to the sensor 5. Therefore, the A / D converter 4 which is a sensor input unit of the microcomputer 10 has an A / D converter
A voltage higher than the operating voltage of the D converter 4 (supply voltage to the microcomputer 10 at this time) is not input as a voltage to be A / D converted, and no problem such as latch-up of the microcomputer 10 occurs. .

【0053】そして、さらに電圧Vcc が上昇し、電圧Vi
n が電圧VTH を越えると(t8)、減電圧信号HALTがH
信号となり、電源切換用スイッチBUSW2 が接続状態とな
って、VCC回路1からマイコン10への供給電源が、
電源切換用スイッチBUSW2 を介しても行われ、そしてマ
イコン動作用のクロック信号の発振が開始されてマイコ
ン10が処理を始める。
Then, the voltage Vcc further rises, and the voltage Vi
When n exceeds the voltage VTH (t8), the reduced voltage signal HALT becomes H
Signal, the power switch BUSW2 is connected, and the power supply from the VCC circuit 1 to the microcomputer 10 is
This is also performed through the power supply changeover switch BUSW2, and the oscillation of the microcomputer operation clock signal is started, and the microcomputer 10 starts processing.

【0054】イグニッションスイッチIGSWが遮断される
と、負荷容量等の関係で、電圧Vccは徐々に減少する。
そして、電圧Vin が電圧VTL に達した時点t9で、HALT
信号がLレベルとなり、電源切換用スイッチBUSW2 が遮
断され、マイコン動作用のクロック信号の発振が停止さ
れてマイコン10が停止する。しかし、マイコン10へ
の電力供給は、電源切換用スイッチBUSW1 を介してVD
D回路2からも行われる。さらに電圧Vcc が低下し電圧
Vin が電圧Vdd に達した時点t10では、比較器6の出
力が反転して電源切換用スイッチBUSW1 が遮断状態とな
って、マイコン10への供給電源が、VDD回路2に切
り換わる。
When the ignition switch IGSW is turned off, the voltage Vcc gradually decreases due to the load capacity and the like.
At time t9 when the voltage Vin reaches the voltage VTL, HALT
The signal becomes L level, the power switch BUSW2 is cut off, the oscillation of the clock signal for microcomputer operation stops, and the microcomputer 10 stops. However, power is supplied to the microcomputer 10 via the power switch BUSW1.
This is also performed from the D circuit 2. Further, the voltage Vcc drops and the voltage
At time t10 when Vin reaches the voltage Vdd, the output of the comparator 6 is inverted and the power switch BUSW1 is turned off, and the power supply to the microcomputer 10 is switched to the VDD circuit 2.

【0055】このように、イグニッションスイッチIGSW
の遮断時には、先ずVCC回路1の出力電圧Vcc の低下
により、マイコン10のクロック信号の発振を停止し、
また電源切換用スイッチBUSW2 を遮断状態とする。そし
て、その後電圧Vcc と電圧Vdd の比較結果により、電源
切換用スイッチBUSW1 を遮断状態とし、また電源切換用
スイッチBUSW1 を通る経路の抵抗値を大きくしているの
で、VDD回路2側からVCC回路1への電流の流れに
よる電圧Vcc の上昇を抑えることができ、比較器6の誤
検出を防止できる。従って、Vcc 電圧の低下に伴う、V
DD回路2側からのマイコン10への電源供給切換を適
切に行え、マイコン10停止時におけるECU内部の負
荷への無駄な電流の流れ込みを防げ、電力の無駄な消費
を防止できる。
As described above, the ignition switch IGSW
When the power supply is cut off, first, the oscillation of the clock signal of the microcomputer 10 is stopped due to the decrease of the output voltage Vcc of the VCC circuit 1,
Also, the power switch BUSW2 is turned off. Then, based on the comparison result of the voltage Vcc and the voltage Vdd, the power supply switch BUSW1 is turned off and the resistance value of the path passing through the power supply switch BUSW1 is increased. The rise of the voltage Vcc due to the flow of the current to the comparator 6 can be suppressed, and the erroneous detection of the comparator 6 can be prevented. Therefore, when the Vcc voltage decreases, V
The power supply switching from the DD circuit 2 to the microcomputer 10 can be appropriately performed, so that useless current can be prevented from flowing into the load inside the ECU when the microcomputer 10 is stopped, and wasteful consumption of power can be prevented.

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

【図1】本発明の第1の実施の形態に係る電源回路を示
す回路構成図である。
FIG. 1 is a circuit configuration diagram showing a power supply circuit according to a first embodiment of the present invention.

【図2】本発明の第1の実施の形態に係る電源回路の動
作を示す動作波形図である。
FIG. 2 is an operation waveform diagram showing an operation of the power supply circuit according to the first embodiment of the present invention.

【図3】本発明の第2の実施の形態に係る電源回路を示
す回路構成図である。
FIG. 3 is a circuit configuration diagram showing a power supply circuit according to a second embodiment of the present invention.

【図4】本発明の第2の実施の形態に係る電源回路の動
作を示す動作波形図である。
FIG. 4 is an operation waveform diagram showing an operation of the power supply circuit according to the second embodiment of the present invention.

【図5】本発明の第3の実施の形態に係る電源回路を示
す回路構成図である。
FIG. 5 is a circuit configuration diagram showing a power supply circuit according to a third embodiment of the present invention.

【図6】本発明の第3の実施の形態に係る電源回路の動
作を示す動作波形図である。
FIG. 6 is an operation waveform diagram showing an operation of the power supply circuit according to the third embodiment of the present invention.

【図7】従来の電源回路を示す回路構成図である。FIG. 7 is a circuit configuration diagram showing a conventional power supply circuit.

【図8】ヒステリシスコンパレータの動作を示す説明図
である。
FIG. 8 is an explanatory diagram showing an operation of a hysteresis comparator.

【図9】従来の電源回路の動作を示す動作波形図であ
る。
FIG. 9 is an operation waveform diagram showing an operation of a conventional power supply circuit.

【図10】従来の電源回路を示す回路構成図である。FIG. 10 is a circuit configuration diagram showing a conventional power supply circuit.

【図11】従来の電源回路の動作を示す動作波形図であ
る。
FIG. 11 is an operation waveform diagram showing an operation of a conventional power supply circuit.

【図12】従来の電源回路の動作を示す動作波形図であ
る。
FIG. 12 is an operation waveform diagram showing an operation of a conventional power supply circuit.

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

1・・・VCC回路 2・・・VDD回路 3・・・減電圧検知回路 4・・・A/D(アナログデジタル)変換器 5・・・センサ 10・・・マイクロコンピュータ(マイコン) DESCRIPTION OF SYMBOLS 1 ... VCC circuit 2 ... VDD circuit 3 ... Low voltage detection circuit 4 ... A / D (analog digital) converter 5 ... Sensor 10 ... Microcomputer (microcomputer)

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】電源スイッチを介して電源に接続され、前
記電源スイッチオン状態においてマイクロコンピュータ
に電力を供給する通常電源回路と、 前記電源スイッチを介さずに前記電源に接続され、前記
電源スイッチオフ状態においてマイクロコンピュータに
電力を供給するバックアップ電源回路とを備えた電源回
路において、 前記通常電源回路と前記マイクロコンピュータとの間の
電源ラインに接続され、該電源ラインの接断を行う接断
スイッチと、 前記通常電源回路の出力電圧を監視し、前記通常電源回
路の電圧が低下した時に前記接断スイッチを遮断状態に
し、前記通常電源回路の電圧が上昇した時に前記接断ス
イッチを接続状態にする減電圧検知手段と、 該減電圧検知手段の検出出力に応答し、前記通常電源回
路の電圧が低下した時に前記バックアップ電源回路の電
圧を高くし、前記通常電源回路の電圧が上昇した時に前
記バックアップ電源回路の電圧を低くする電圧制御手段
とを備えていることを特徴とする電源回路。
1. A normal power supply circuit connected to a power supply via a power switch and supplying power to a microcomputer when the power switch is on, a power supply switch connected to the power supply without the power switch and the power switch off A power supply circuit including a backup power supply circuit that supplies power to the microcomputer in a state, a disconnection switch connected to a power supply line between the normal power supply circuit and the microcomputer, and disconnecting the power supply line; Monitoring the output voltage of the normal power supply circuit, setting the disconnection switch to a cut-off state when the voltage of the normal power supply circuit decreases, and setting the disconnection switch to a connected state when the voltage of the normal power supply circuit increases A voltage reduction detecting means, and a voltage of the normal power supply circuit decreases in response to a detection output of the voltage reduction detecting means. A power control circuit for increasing the voltage of the backup power supply circuit and reducing the voltage of the backup power supply circuit when the voltage of the normal power supply circuit increases.
【請求項2】電源スイッチを介して電源に接続され、前
記電源スイッチオン状態においてマイクロコンピュータ
に電源を供給する通常電源回路と、 前記電源スイッチを介さずに前記電源に接続され、前記
電源スイッチオフ状態においてマイクロコンピュータに
電力を供給するバックアップ電源回路とを備えた電源回
路において、 前記通常電源回路と前記マイクロコンピュータとの間の
電源ラインに接続され、該電源ラインの接断を行う、そ
れぞれ並列に接続された第1、第2接断スイッチと、 前記通常電源回路の出力電圧を監視し、前記通常電源回
路の電圧が低下した時に前記第1接断スイッチを遮断状
態にし、前記通常電源回路の電圧が上昇した時に前記第
1接断スイッチを接続状態にする減電圧検知手段と、 前記通常電源回路の電圧と前記バックアップ電源回路の
電圧とを比較し、前記通常電源回路の電圧が高い時に前
記第2接断スイッチを接続状態にし、前記通常電源回路
の電圧が低い時に前記第2接断スイッチを遮断状態にす
る比較手段とを備えていることを特徴とする電源回路。
2. A normal power supply circuit which is connected to a power supply via a power switch and supplies power to the microcomputer when the power switch is on, a power supply circuit which is connected to the power supply without passing through the power switch and the power switch is off. In a power supply circuit having a backup power supply circuit for supplying power to the microcomputer in a state, the power supply circuit is connected to a power supply line between the normal power supply circuit and the microcomputer, and disconnects the power supply line. Connected first and second disconnection switches, and monitoring the output voltage of the normal power supply circuit, when the voltage of the normal power supply circuit decreases, turns off the first disconnection switch, A low voltage detecting means for connecting the first disconnection switch when the voltage rises, and a voltage of the normal power supply circuit; Comparing the voltage of the backup power supply circuit with the second disconnection switch when the voltage of the normal power supply circuit is high, and disconnecting the second disconnection switch when the voltage of the normal power supply circuit is low. A power supply circuit comprising:
【請求項3】電源スイッチを介して電源に接続され、前
記電源スイッチオン状態においてマイクロコンピュータ
に電力を供給する通常電源回路と、 前記電源スイッチを介さずに前記電源に接続され、前記
電源スイッチオフ状態においてマイクロコンピュータに
電力を供給するバックアップ電源回路とを備えた電源回
路において、 前記通常電源回路と前記マイクロコンピュータとの間の
電源ラインに接続され、該電源ラインの接断を行う、そ
れぞれ並列に接続された第1、第2接断スイッチと、 前記マイクロコンピュータの入力電源電圧を監視し、該
入力電源電圧が低下した時に前記第1接断スイッチを遮
断状態にし、前記入力電源電圧が上昇した時に前記第1
接断スイッチを接続状態にする減電圧検知手段と、 前記通常電源回路の電圧と前記バックアップ電源回路の
電圧とを比較し、前記通常電源回路の電圧が高い時に前
記第2接断スイッチを接続状態にし、前記通常電源回路
の電圧が低い時に前記第2接断スイッチを遮断状態にす
る比較手段とを備えていることを特徴とする電源回路。
3. A normal power supply circuit which is connected to a power supply via a power switch and supplies power to the microcomputer in the power switch on state, and which is connected to the power supply without passing through the power switch, and wherein the power switch is off. In a power supply circuit having a backup power supply circuit for supplying power to the microcomputer in a state, the power supply circuit is connected to a power supply line between the normal power supply circuit and the microcomputer, and disconnects the power supply line. The connected first and second disconnection switches and the input power supply voltage of the microcomputer are monitored, and when the input power supply voltage decreases, the first disconnection switch is turned off, and the input power supply voltage increases. Sometimes the first
A low-voltage detecting means for setting a disconnection switch to a connection state; comparing a voltage of the normal power supply circuit with a voltage of the backup power supply circuit; and when the voltage of the normal power supply circuit is high, connecting the second disconnection switch And a comparing means for turning off the second disconnection switch when the voltage of the normal power supply circuit is low.
【請求項4】前記減電圧検知手段がヒステリシス特性を
有するものであることを特徴とする請求項1〜3のいず
れかの項に記載の電源回路。
4. The power supply circuit according to claim 1, wherein said low voltage detecting means has a hysteresis characteristic.
JP14699198A 1998-05-28 1998-05-28 Power circuit Expired - Fee Related JP4155621B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14699198A JP4155621B2 (en) 1998-05-28 1998-05-28 Power circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP14699198A JP4155621B2 (en) 1998-05-28 1998-05-28 Power circuit

Publications (2)

Publication Number Publication Date
JPH11338556A true JPH11338556A (en) 1999-12-10
JP4155621B2 JP4155621B2 (en) 2008-09-24

Family

ID=15420148

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14699198A Expired - Fee Related JP4155621B2 (en) 1998-05-28 1998-05-28 Power circuit

Country Status (1)

Country Link
JP (1) JP4155621B2 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003058285A (en) * 2001-08-10 2003-02-28 Fujitsu Ten Ltd Control system
JPWO2002030713A1 (en) * 2000-10-06 2004-02-19 株式会社ザナヴィ・インフォマティクス Automotive information equipment
US6901520B2 (en) * 2000-02-16 2005-05-31 International Business Machines Corporation Power supply protection apparatus for computer system
JP2011192084A (en) * 2010-03-15 2011-09-29 Sharp Corp Semiconductor integrated circuit and electronic information apparatus
JP2018163548A (en) * 2017-03-27 2018-10-18 日本電気株式会社 Arithmetic device, arithmetic device control method, and program

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6901520B2 (en) * 2000-02-16 2005-05-31 International Business Machines Corporation Power supply protection apparatus for computer system
JPWO2002030713A1 (en) * 2000-10-06 2004-02-19 株式会社ザナヴィ・インフォマティクス Automotive information equipment
JP2003058285A (en) * 2001-08-10 2003-02-28 Fujitsu Ten Ltd Control system
JP2011192084A (en) * 2010-03-15 2011-09-29 Sharp Corp Semiconductor integrated circuit and electronic information apparatus
JP2018163548A (en) * 2017-03-27 2018-10-18 日本電気株式会社 Arithmetic device, arithmetic device control method, and program

Also Published As

Publication number Publication date
JP4155621B2 (en) 2008-09-24

Similar Documents

Publication Publication Date Title
JP4930263B2 (en) Power storage device
JP3818231B2 (en) Power circuit
US10088882B2 (en) Electronic control unit having multiple power supply routes for microcomputer core
JP2017184538A (en) Power supply system
JP3747618B2 (en) Power circuit
JP2007010563A (en) Abnormality detection device of inductive load
JP2001216878A (en) Switching condition monitoring circuit and switch
JP4155621B2 (en) Power circuit
EP3098826B1 (en) Switch monitoring circuit
JP2003047150A (en) Power supply circuit
JPH06232712A (en) Protection device for load controller
US11787307B2 (en) Switch control device, switch control method, and in-vehicle power supply system
JP2000276267A (en) Electronic control unit for vehicle
JPH0538138A (en) Power supply of on-vehicle electronic controls
JP4148243B2 (en) Abnormality detection circuit
JP2012162139A (en) Vehicle power source control device
US20230008237A1 (en) Switch device, current determination method and computer program
JP7275949B2 (en) Voltage output device
WO2023007558A1 (en) Power supply apparatus
JPH0835860A (en) Sensor controller
JP3446593B2 (en) Power circuit
JP3812693B2 (en) Vehicle driving state detection device
KR101022628B1 (en) fuse box for vehicle
CN117280557A (en) Power supply device
JPH0868820A (en) Device for detecting breaking of wire in electrical machinery and apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050228

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20071026

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20071106

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20071227

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20080708

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080708

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

Free format text: PAYMENT UNTIL: 20110718

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20110718

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20120718

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20120718

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20130718

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees