JPS62189522A - Power source circuit for microcomputer - Google Patents

Power source circuit for microcomputer

Info

Publication number
JPS62189522A
JPS62189522A JP61031381A JP3138186A JPS62189522A JP S62189522 A JPS62189522 A JP S62189522A JP 61031381 A JP61031381 A JP 61031381A JP 3138186 A JP3138186 A JP 3138186A JP S62189522 A JPS62189522 A JP S62189522A
Authority
JP
Japan
Prior art keywords
power supply
microcomputer
voltage
diode
transistor
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
JP61031381A
Other languages
Japanese (ja)
Inventor
Masahiko Fujii
正彦 藤井
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.)
NEC Home Electronics Ltd
NEC Corp
Original Assignee
NEC Home Electronics Ltd
Nippon Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Home Electronics Ltd, Nippon Electric Co Ltd filed Critical NEC Home Electronics Ltd
Priority to JP61031381A priority Critical patent/JPS62189522A/en
Publication of JPS62189522A publication Critical patent/JPS62189522A/en
Pending legal-status Critical Current

Links

Landscapes

  • Power Sources (AREA)
  • Direct Current Feeding And Distribution (AREA)

Abstract

PURPOSE:To prevent latch-up and malfunction by connecting a transistor, instead of connecting a diode between a supply node to the peripheral circuits of a microcomputer and that to the microcomputer main frame part. CONSTITUTION:In terms of a pnp transistor 16 connected between the supply nodes P and Q instead of a diode in a conventional power source circuit, its emitter and collector are connected to the supply nodes P and Q, respectively, and its base is grounded through a resistance R. Where load currents flowing in the supply nodes P and Q are the same value IL, the case where the transistor 16 is connected has a smaller drop in a voltage, which arises between the supply nodes P and Q, than the case where the diode is connected, as DELTAv and DELTAV show. Thus the destruction of a CMOS circuit and malfunction never occur.

Description

【発明の詳細な説明】 発明の目的 産業上の利用分野 本発明は、マイクロコンピュータの電源回路に関するも
のである。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a power supply circuit for a microcomputer.

従来の技術 自動車のエンジン制御や変速制御などがマイクロコンピ
ュータを使用して行われている。
BACKGROUND OF THE INVENTION Microcomputers are used to control the engine and speed change of automobiles.

自動車の走行中には、バッテリーから電圧安定化回路(
レギュレータ)を介して動作電圧がマイクロコンピュー
タに供給される。また、エンジンの停止後は、マイクロ
コンピュータ内の揮発性メモリに格納されているデータ
を保存しておくためバックアップ電圧がバッテリーから
揮発性メモリに供給される。
While the car is running, the voltage stabilization circuit (
The operating voltage is supplied to the microcomputer via the regulator. Furthermore, after the engine is stopped, backup voltage is supplied from the battery to the volatile memory in order to preserve data stored in the volatile memory within the microcomputer.

従来、上述のようなマイクロコンピュータとその電源回
路の典型的なものは、第3図に示すように構成されてい
る。
Conventionally, a typical microcomputer and its power supply circuit as described above is constructed as shown in FIG.

すなわち、バッテリー11の直流電圧がエンジンの始動
時に閉じられる電源スイッチ12を経てレギュレータ1
3に供給される。このレギュレータ13で安定化された
動作電圧は、第1の給電ノードPを経てマイクロコンピ
ュータ20の周辺回路22と23に供給されると共に、
ダイオード18と第2の給電ノードQを経てマイクロコ
ンピュータの本体部分21に供給される。エンジンの停
止に伴いスイッチ12が開かれると、バッテリー11か
らレギュレータ14とダイオード15を経てマイクロコ
ンピュータ本体部分21だけに揮発性メモリへのバック
アップ電圧が供給される。マイクロコンピュータ本体部
分21は、電源スイッチのオフを検出したスイッチ開/
閉検出回路17からの通知を受けると、電源端子Vcc
  に供給されているバンクアップ電圧を内蔵の揮発性
メモリだけに供給する。
That is, the DC voltage of the battery 11 is applied to the regulator 1 via the power switch 12, which is closed when the engine is started.
3. The operating voltage stabilized by this regulator 13 is supplied to the peripheral circuits 22 and 23 of the microcomputer 20 via the first power supply node P.
The power is supplied to the main body portion 21 of the microcomputer via the diode 18 and the second power supply node Q. When the switch 12 is opened when the engine is stopped, backup voltage for the volatile memory is supplied from the battery 11 via the regulator 14 and diode 15 to only the microcomputer main body portion 21. The microcomputer main body part 21 detects that the power switch is turned off.
Upon receiving the notification from the closed detection circuit 17, the power supply terminal Vcc
The bank-up voltage supplied to the memory is supplied only to the internal volatile memory.

レギュレータ13から供給される動作時の電源電圧は、
典型的には5 volt程度の値であり、レギュレータ
14から供給される動作停止時のバックアンプ電圧は、
典型的には動作電圧よりも多少低い3 volt程度の
値である。従って、マイクロコンピュータの動作中にレ
ギュレータ13の出力電流がレギュレータ14側に逆流
するのを防止するためにダイオード15が接続されてい
る。また、マイクロコンピユータの動作停止時に、レギ
ュレータ14からのバックアップ電圧が周辺回路22と
23に供給されるのを防ぐために、給電ノードPとQ間
にダイオード18が接続されている。
The power supply voltage during operation supplied from the regulator 13 is
Typically, the value is about 5 volts, and the back amplifier voltage supplied from the regulator 14 when the operation is stopped is:
Typically, the value is about 3 volts, which is somewhat lower than the operating voltage. Therefore, a diode 15 is connected to prevent the output current of the regulator 13 from flowing back to the regulator 14 side during operation of the microcomputer. Further, a diode 18 is connected between power supply nodes P and Q to prevent the backup voltage from the regulator 14 from being supplied to the peripheral circuits 22 and 23 when the microcomputer stops operating.

発明が解決しようとする問題点 第3図に示した従来の電源回路では、給電ノードPとQ
間に接続されるダイオード18には典型的には100m
A程度の負荷電流が流れ、ここにおいて0.6シolt
程度の電圧降下が生じる。このため、同程度の電源電圧
の差が周辺回路とマイクロコンピュータ本体部分間に発
生し、ラツチア・ノブによってCMO3回路などが破壊
されてしまうおそれがある。
Problems to be Solved by the Invention In the conventional power supply circuit shown in FIG.
The diode 18 connected between
A load current of about A flows, and here 0.6 solt
A slight voltage drop will occur. Therefore, a similar difference in power supply voltage occurs between the peripheral circuits and the main body of the microcomputer, and there is a risk that the CMO3 circuit or the like may be destroyed by the latch knob.

また、マイクロコンピュータ本体部分側の電源電圧を規
格値に設定すると周辺回路側の電源電圧がこの規格値よ
りも高くなり、逆に周辺回路側を規格値に設定すると本
体部分側が規格値よりも低くなる。このため、動作保証
電圧のマージン幅が狭くなって誤動作が生じやすくなる
という問題もある。
Also, if the power supply voltage on the microcomputer main body side is set to the standard value, the power supply voltage on the peripheral circuit side will be higher than this standard value, and conversely, if the peripheral circuit side is set to the standard value, the main body side will be lower than the standard value. Become. For this reason, there is also a problem that the margin width of the guaranteed operation voltage becomes narrow, making malfunctions more likely to occur.

発明の構成 問題点を解決するための手段 上記従来技術の問題点を解決する本発明の電源回路は、
両給電ノード間にダイオードを接続することに代えてト
ランジスタを接続することにより、これら給電ノード間
の電位差を減少させるように構成されている。
Means for Solving the Constituent Problems of the Invention The power supply circuit of the present invention which solves the problems of the above-mentioned prior art is as follows:
By connecting a transistor instead of connecting a diode between both power supply nodes, the potential difference between these power supply nodes is reduced.

以下、本発明の作用を実施例と共に詳細に説明する。Hereinafter, the operation of the present invention will be explained in detail together with examples.

実施例 第1図は、本発明の一実施例の電源回路10の構成を、
給電対象のマイクロコンピュータ20と共に示すブロッ
ク図である。
Embodiment FIG. 1 shows the configuration of a power supply circuit 10 according to an embodiment of the present invention.
It is a block diagram shown together with a microcomputer 20 to which power is supplied.

電源回路10において、11はバッテリー、12は電源
スイッチ、13.14はレギュレータ、15はダイオー
ド、16はトランジスタ、17はスイッチ開/閉検出回
路である。また、マイクロコンピュータ20において、
21はマイクロコンピュータの本体部分、22.23は
マイクロコンピュータの周辺回路である。
In the power supply circuit 10, 11 is a battery, 12 is a power switch, 13 and 14 are regulators, 15 is a diode, 16 is a transistor, and 17 is a switch open/close detection circuit. Furthermore, in the microcomputer 20,
21 is the main body of the microcomputer, and 22 and 23 are peripheral circuits of the microcomputer.

従来の電源回路のダイオードに代えて給電ノードPとQ
間に接続されるpnpl−ランジスタ16は、エミッタ
が給電ノードPに接続され、コレクタが給電ノードQに
接続され、かつベースが抵抗器Rを介して接地されてい
る。
Power supply nodes P and Q instead of diodes in conventional power supply circuits
The pnpl-transistor 16 connected therebetween has an emitter connected to a power supply node P, a collector connected to a power supply node Q, and a base grounded via a resistor R.

バッテリー11の直流電圧は、エンジンの始動時に閉じ
られる電源スイッチ12を経てレギュレータ13に供給
される。このレギュレータ13で安定化された動作電圧
は、第1の給電ノードPを経てマイクロコンピュータ2
0の周辺回路22と23に供給されると共に、トランジ
スタ16と第2の給電ノードQを経てマイクロコンピュ
ータの本体部分21に供給される。スイッチ開/閉検出
回路は、電源スイッチ12の閉成を検出すると、マイク
ロコンピュータの本体部分21に起動信号を供給する。
The DC voltage of the battery 11 is supplied to the regulator 13 via a power switch 12 that is closed when the engine is started. The operating voltage stabilized by this regulator 13 is supplied to the microcomputer 2 via the first power supply node P.
0 peripheral circuits 22 and 23, and is also supplied to the main body portion 21 of the microcomputer via the transistor 16 and the second power supply node Q. When the switch open/close detection circuit detects the closing of the power switch 12, it supplies an activation signal to the main body portion 21 of the microcomputer.

エンジンの停止に伴いスイッチ12が開かれると、バッ
テリー11からレギュレータ14とダイオード15を経
てマイクロコンピュータ本体部分21だけに揮発性メモ
リへのバックアップ電圧が供給される。マイクロコンピ
ュータ本体部分21は、電源スイッチのオフを検出した
スイッチ開/閉検出回路17からの通知を受けると、電
源端子Vcc  に供給されているバンクアップ電圧を
内蔵の揮発性メモリだけに供給する。
When the switch 12 is opened when the engine is stopped, backup voltage for the volatile memory is supplied from the battery 11 via the regulator 14 and diode 15 to only the microcomputer main body portion 21. When the microcomputer body section 21 receives a notification from the switch open/close detection circuit 17 that detects that the power switch is off, it supplies the bank-up voltage supplied to the power supply terminal Vcc only to the built-in volatile memory.

第2図は、給電ノードPとQ間に接続されたトランジス
タ16で生ずる電圧降下の大きさを、従来の電源回路の
ダイオードで生ずる電圧降下の大きさと比較しながら説
明する特性図である。
FIG. 2 is a characteristic diagram illustrating the magnitude of the voltage drop occurring in the transistor 16 connected between the power supply nodes P and Q, while comparing it with the magnitude of the voltage drop occurring in the diode of a conventional power supply circuit.

横軸は供給ノードPとQ間の電圧であり、トランジスタ
16ではそのコレクタ電圧■、がこれに該当し、従来の
ダイオードの場合にはその端子間電圧がこれに該当する
。縦軸は給電ノードPとQを流れる電流すなわち、マイ
クロコンピュータの本体部分21に供給される動作中の
負荷電流であり、トランジスタ16ではそのコレクタ電
流ICがこれに該当し、ダイオードの場合には順方向電
流値1.がこれに該当する。トランジスタ16のコレク
タ電流■。は、慣用の表示方法に従っていくつかのベー
ス電流値I、をパラメータとする複数本の実線で表示さ
れている。一方、ダイオードの順方向のV−1特性は点
線で表示されている。
The horizontal axis is the voltage between the supply nodes P and Q, and in the case of the transistor 16, this corresponds to its collector voltage (2), and in the case of a conventional diode, this corresponds to the voltage between its terminals. The vertical axis is the current flowing through the power supply nodes P and Q, that is, the load current during operation that is supplied to the main body part 21 of the microcomputer. Directional current value 1. falls under this category. Collector current of transistor 16■. is displayed as a plurality of solid lines with several base current values I as parameters according to a conventional display method. On the other hand, the forward V-1 characteristic of the diode is indicated by a dotted line.

トランジスタ1Gの場合もダイオードの場合も給電ノー
ドPとQを流れる負荷電流を同一値ILとすれば、給電
ノードPとQ間に生ずる電圧降下はそれぞれ図示のΔV
とΔ■で例示するように、トランジスタ16の方が小さ
くなる。2SA 1385など飽和電圧が低めのトラン
ジスタを使用すれば、100mA程度の負荷電流(コレ
クタ電流1c)のもとて給電ノードPとQ間の電圧値Δ
V(コレクタ電圧V aE)は、0.2 volt程度
の値となり、典型的なダイオードにおける値(0,6v
olt程度)に比べて 0.4 volt程度小程度値
となる。
If the load current flowing through the power supply nodes P and Q is the same value IL in both the case of the transistor 1G and the diode, the voltage drop occurring between the power supply nodes P and Q is ΔV as shown in the figure.
As illustrated by and Δ■, the transistor 16 is smaller. If a transistor with a low saturation voltage such as 2SA 1385 is used, the voltage value Δ between power supply nodes P and Q under a load current of about 100 mA (collector current 1c)
V (collector voltage VaE) has a value of about 0.2 volt, which is the value in a typical diode (0.6 volt).
0.4 volts).

以上、直流電源11と給電ノーl″PとQのそれぞれの
間にレギュレータ13と14を配置する構成を例示した
が、バックアップ電圧にそれほどの安定度を必要としな
い場合にはレギュレータ14を省略できる。また、電圧
安定度の高い直流電源を使用する場合には、レギュレー
タ13と14を省略できる。さらに、バックアップ電圧
を動作電圧と同一にする場合には、ダイオード15を省
略することもできる。
Above, the configuration in which the regulators 13 and 14 are arranged between the DC power supply 11 and the power supply nodes I''P and Q, respectively, has been illustrated, but the regulator 14 can be omitted if the backup voltage does not require much stability. Furthermore, when using a DC power supply with high voltage stability, the regulators 13 and 14 can be omitted.Furthermore, when the backup voltage is made the same as the operating voltage, the diode 15 can also be omitted.

また、電源スイッチ17によってマイクロコンピュータ
の本体部分21の動作を起動/停止する構成を例示した
が、室内設置用のマイクロコンピュータなどでは、電源
スイッチと別個の起動/停止用指令入力端子をマイクロ
コンピュータの本体部分に設ける構成としてもよい。
In addition, although a configuration in which the power switch 17 starts/stops the operation of the main body part 21 of the microcomputer has been illustrated, in a microcomputer for indoor installation, the power switch and a separate start/stop command input terminal are connected to the microcomputer. It may also be provided in the main body.

発明の効果 以上詳細に説明したように、本発明の電源回路は、マイ
クロコンピュータの周辺回路への給電ノードとマイクロ
コンピュータ本体部分への給電ノード間にダイオードを
接続する代わりにトランジスタを接続する構成であるか
ら給電ノード間の電圧降下が従来回路に比べて典型的に
は1/3程度に低下し、ラッチアップや誤動作の危険を
有効に防止することができる。
Effects of the Invention As explained in detail above, the power supply circuit of the present invention has a configuration in which a transistor is connected instead of a diode between the power supply node to the peripheral circuits of the microcomputer and the power supply node to the main body of the microcomputer. Because of this, the voltage drop between the power supply nodes is typically reduced to about ⅓ compared to conventional circuits, and the risk of latch-up and malfunction can be effectively prevented.

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

第1図は本発明の一実施例に係わるマイクロコンピュー
タの電源回路の構成を給電対象のマイクロ・コンピュー
タと共に示すブロック図、第2図は本発明の作用効果を
説明するための給電ノード間の電圧−電流特性図、第3
図は従来の電源回路の構成を給電対象のマイクロコンピ
ュータと共に示すブロック図である。 11・・直流電源、12・・電源スイッチ、13・・レ
ギュレータ(第1の電圧安定化回路)、14・・レギュ
レータ(第2の電圧安定化回路)、15・・ダイオード
、I6・・トランジスタ、P・・第1の給電ノード、Q
・・第2の給電ノード。 第1図 ]0 第2図
FIG. 1 is a block diagram showing the configuration of a power supply circuit of a microcomputer according to an embodiment of the present invention together with a microcomputer to which power is supplied, and FIG. 2 is a block diagram showing the voltage between power supply nodes for explaining the effects of the present invention. -Current characteristic diagram, 3rd
The figure is a block diagram showing the configuration of a conventional power supply circuit together with a microcomputer to which power is supplied. 11...DC power supply, 12...Power switch, 13...Regulator (first voltage stabilization circuit), 14...Regulator (second voltage stabilization circuit), 15...Diode, I6...Transistor, P...first power supply node, Q
...Second power supply node. Figure 1] 0 Figure 2

Claims (1)

【特許請求の範囲】  直流電源と、マイクロコンピュータを動作可能及び動
作停止の一方の状態に設定する電源スイッチと、マイク
ロコンピュータの周辺回路に動作可能状態時の電源電圧
を供給する第1の給電ノードと、揮発性メモリを内蔵す
るマイクロコンピュータの本体部分に動作可能状態時に
おける動作電源電圧及び動作停止状態時における揮発性
メモリのバックアップ電源電圧を供給する第2の給電ノ
ードとを備えたマイクロコンピュータの電源回路におい
て、 前記動作可能状態時に前記電源スイッチを介して前記直
流電源から受けた電源電圧を安定化したのち又はそのま
ま前記第1の給電ノードに供給する第1の給電路と、 前記動作停止状態時に前記直流電源から受けた電源電圧
を安定化したのち又はそのまま順方向通電状態のダイオ
ードを介して若しくは直接前記第2の給電ノードに供給
する第2の給電路と、前記第1,第2の給電ノードにエ
ミッタ,コレクタが接続されると共にベースが抵抗器を
介して接地されるトランジスタとを備えたことを特徴と
するマイクロコンピュータの電源回路。
[Scope of Claims] A DC power supply, a power switch that sets the microcomputer to either an operable state or an inoperable state, and a first power supply node that supplies a power supply voltage in an operable state to peripheral circuits of the microcomputer. and a second power supply node that supplies an operating power supply voltage when the microcomputer is in an operable state and a backup power supply voltage for the volatile memory when the operation is stopped to the main body portion of the microcomputer that has a built-in volatile memory. In the power supply circuit, a first power supply path that stabilizes the power supply voltage received from the DC power supply via the power switch in the operable state or supplies it to the first power supply node as is; and in the operation stop state. a second power supply path that stabilizes the power supply voltage received from the DC power supply or directly supplies it to the second power supply node via a diode in a forward conduction state; A power supply circuit for a microcomputer, comprising a transistor whose emitter and collector are connected to a power supply node and whose base is grounded via a resistor.
JP61031381A 1986-02-15 1986-02-15 Power source circuit for microcomputer Pending JPS62189522A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61031381A JPS62189522A (en) 1986-02-15 1986-02-15 Power source circuit for microcomputer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61031381A JPS62189522A (en) 1986-02-15 1986-02-15 Power source circuit for microcomputer

Publications (1)

Publication Number Publication Date
JPS62189522A true JPS62189522A (en) 1987-08-19

Family

ID=12329675

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61031381A Pending JPS62189522A (en) 1986-02-15 1986-02-15 Power source circuit for microcomputer

Country Status (1)

Country Link
JP (1) JPS62189522A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01304945A (en) * 1988-06-02 1989-12-08 Ricoh Co Ltd Latch-up preventing circuit of c-mos type ic

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01304945A (en) * 1988-06-02 1989-12-08 Ricoh Co Ltd Latch-up preventing circuit of c-mos type ic

Similar Documents

Publication Publication Date Title
JPH01161512A (en) Dual-input low dropout voltage regulator
JP3751099B2 (en) Power circuit
JP2002132358A (en) Stabilized power circuit
US5619160A (en) Control circuit for setting a bias source at partial stand-by
JPS62189522A (en) Power source circuit for microcomputer
JPS62189521A (en) Power source circuit for microcomputer
JPH07321621A (en) Semiconductor integrated circuit
JP4627894B2 (en) Power supply
JPH05226940A (en) Amplifier circuit
JP4172076B2 (en) Constant voltage power supply
JPS6353566B2 (en)
JPH0729705Y2 (en) Abnormal voltage protection device
JPH0888554A (en) Dc two-wire sensor
US20070146016A1 (en) Signal output circuit and power source voltage monitoring device using the same
JP3531605B2 (en) Constant voltage circuit
JP3265338B2 (en) Stabilized power supply circuit
US20010006341A1 (en) Reset circuit
JPH0749541Y2 (en) Transistor switch circuit
JP3275778B2 (en) Overcurrent protection circuit
JP3421594B2 (en) DC-DC converter
JP2002149250A (en) Constant-current circuit
JP2732677B2 (en) Voltage detection circuit for memory backup
JPH08205400A (en) Power supply circuit for electronic apparatus
JP3938262B2 (en) Integrated circuit device
JP2584089B2 (en) Reset circuit