JP4083065B2 - Load drive device - Google Patents

Load drive device Download PDF

Info

Publication number
JP4083065B2
JP4083065B2 JP2003111158A JP2003111158A JP4083065B2 JP 4083065 B2 JP4083065 B2 JP 4083065B2 JP 2003111158 A JP2003111158 A JP 2003111158A JP 2003111158 A JP2003111158 A JP 2003111158A JP 4083065 B2 JP4083065 B2 JP 4083065B2
Authority
JP
Japan
Prior art keywords
circuit
microcomputer
current
output
limit value
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
JP2003111158A
Other languages
Japanese (ja)
Other versions
JP2004320890A5 (en
JP2004320890A (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.)
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 JP2003111158A priority Critical patent/JP4083065B2/en
Publication of JP2004320890A publication Critical patent/JP2004320890A/en
Publication of JP2004320890A5 publication Critical patent/JP2004320890A5/ja
Application granted granted Critical
Publication of JP4083065B2 publication Critical patent/JP4083065B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Protection Of Static Devices (AREA)
  • Direct Current Feeding And Distribution (AREA)
  • Continuous-Control Power Sources That Use Transistors (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、電圧を負荷に供給するレギュレータやドライバ回路等の負荷駆動装置、特に電流制限機能を備えた負荷駆動装置に関する。
【0002】
【従来の技術】
従来、負荷に電源を供給する場合、ドライバ回路を介して負荷に電圧を供給したり、リップル分等の変動要素を多く含んだ安定でない電源から負荷に電源を供給する場合には、入力される電圧を定電圧に安定化して出力するレギュレータを用いている。このようなドライバ回路やレギュレータのような負荷駆動回路において、負荷に異常電流が流れたり、あるいは出力端子の接地電圧へのショートや低抵抗接続により、出力端子から大きな電流が流れた場合、回路部品の破損や、大電流による部品の発熱に起因する不具合が発生する。このような不具合を防止するため、負荷駆動装置には、必要以上の電流が流れないようにするために、電流制限機能が付加されている。(例えば、特許文献1参照)。
【0003】
【特許文献1】
特開平6−113476号公報
【0004】
従来の負荷駆動装置は、上記のように、電流制限機能を付加して回路部品の破壊を防止しているが、この電流制限機能の電流制限値は、通常、その回路が許容可能な最大電流値に設定されていることが多い。
そのため、負荷が動作異常を起こし、異常な電流が流れたとしても、その電流値が電流制限値以下であれば、システムの異常を検出することができない。例えば、自動車用電子機器や携帯電子機器などバッテリで動作している機器において、システム停止時など低消費電流状態になっている時に、システムが異常になり消費電流が増大すると、バッテリ寿命が低下するという問題が生じる。すなわち、従来の負荷駆動装置では、上記のように電流制限機能の電流制限値がその回路が許容可能な最大電流値に設定されているので、システム停止時のように、負荷電流が少ない状態では、異常により消費電流が増大しても、その消費電流が電流制限値よりも大きくないため、システム異常を検出することができず、この異常な消費電流が流れ続けるので、バッテリの消耗を防止することができなかった。
【0005】
本発明は、上記の問題に鑑みてなされたもので、システムスタンバイ中などの負荷電流が少ない状態においてもシステムの異常動作の防止や回路の保護を行うことができる負荷駆動装置を提供することを目的とする。
【0006】
【課題を解決するための手段】
上述の目的を達成するため、本発明に係る負荷駆動装置は、負荷としてのマイコンに電源を供給するとともに、マイコンへの電流を制限する電流制限手段を備えた負荷駆動装置において、上記マイコンを電源電流が少ないスタンバイ状態に制御するとともに、上記マイコンのスタンバイ状態において上記電流制限手段の電流制限値を低く設定する制御手段と、上記制御手段から上記マイコンに供給するスタンバイ信号と、上記電流制限手段に供給する切替信号の送出タイミングを制御するタイミング制御手段を備えたことを特徴とする。
【0007】
本発明に係る負荷駆動装置よれば、マイコンの電源電流が少ないスタンバイ状態では、上記電流制限手段の電流制限値が低く設定されるので、たとえ、マイコンが低消費電流モードになっているときでも、マイコン暴走などで電流が異常に上昇した場合には、電源出力を低下させて減電圧リセットをかけることができるので、バッテリの消耗を軽減することができる。
【0008】
また、マイコンのパワーオン時など電圧安定化回路の電流制限値が小さい値に設定されている状態から大きい値に切り替わる前に、マイコンに供給されるスタンバイ信号が切り替わって負荷電流が増加してしまうと、システムが起動できなくなるという問題が生じ、また、パワーオフ時はシステムがスタンバイ状態になって負荷電流が減少する前に、負荷駆動装置の電流制限値が小さい値に切り替わってしまうと、システムが正常であるにも関わらず電流制限がかかってしまうという問題が生じるが、本発明に係る負荷駆動装置によれば、タイミング制御回路によりマイコンに供給するスタンバイ信号と、上記電流制限手段に供給する切替信号の送出タイミングが制御されるので、正常な動作を保証することができる。
【0012】
【発明の実施の形態】
以下、本発明の負荷駆動装置を車両搭載のマイコンに適用した実施の形態について、図面を用いて説明する。図1は本発明の負荷駆動装置を示すブロック図であり、図2は負荷駆動回路の詳細を示す図である。
【0013】
図1において、1は電流制限機能を内蔵したドライバ回路やレギュレータ等の負荷駆動回路、2は車両のバッテリスイッチ等からの信号が入力されるスタンバイ制御部、Vinはバッテリ等の電源、SW1はスイッチである。スタンバイ制御部2は車両のパワースイッチ 、イグニッションスイッチ、あるいは、カーオーディオ等のアクセサリスイッチなどからの信号が入力されるものであり、各スイッチがオンされていないスタンバイ状態では、マイコンにスタンバイ信号STBYを供給している。このマイコンのスタンバイ状態では、スタンバイ制御部2が負荷駆動回路1の電流制限値を低く設定するとともに、スイッチSW1がオフされ、スタンバイ時にも電源供給が必要なメモリ内蔵マイコン等にのみ出力Vout2が供給されている。一方、パワースイッチ等がオンされ、マイコンが動作状態になると、スタンバイ制御部2は負荷駆動回路1の電流制限値を高く設定するとともに、スタンバイ信号STBYを切替えてマイコンをスタンバイ状態から通常動作状態に切替えると同時に、スイッチSW1をオンして、制御回路等の通常動作状態時のみ電圧供給が必要な箇所に出力Vout1を供給する。
【0014】
図2は電流制限機能内蔵負荷駆動回路1の一例を示すものであり、レギュレータ11と電流制限回路12とから構成されている。レギュレータ11は出力電圧Voutの制御を行うPNP形のトランジスタTr1と、トランジスタTr1のベースにコレクタが接続されたNPN形のトランジスタTr2と、出力電圧Voutを分圧して分圧電圧Vdを生成して出力する抵抗R1、R2の直列回路と、所定の基準電圧Vr1を出力する基準電源VR1と、分圧電圧Vdと基準電圧Vr1を比較し、この比較結果に応じてトランジスタTr2のベース電圧の制御を行う演算増幅器AMP1とから構成されている。
【0015】
一方、電流制限回路12はレギュレータ11の出力電流の検出を行うための負荷抵抗Rmと、抵抗R3、R4、スイッチSW2、定電流I1を発生する定電流源OC1よりなる電流制限値発生回路と、レギュレータ11の出力電流と電流制限値を比較し、この比較結果に応じてトランジスタTr2のベース電圧の制御を行う演算増幅器AMP2とから構成されており、スタンバイ制御部2からの電流制限値切替信号によってスイッチSW2がオン、オフされることにより、電流制限値が切替えられる。なお、負荷駆動装置としてはスイッチSW1を含むようにしてもよい。
【0016】
次に、図1、図2の負荷駆動装置の動作について説明する。
抵抗R1、R2の直列回路により出力電圧Voutを分圧した分圧電圧Vdと基準電源VR1からの基準電圧Vr1とが演算増幅器AMP1で比較され、この演算増幅器AMP1の出力がトランジスタTr2のベース電圧を制御し、このトランジスタTr2の出力によりトランジスタTr1の駆動電流が制御されて出力電圧Voutが一定値に制御される。
【0017】
一方、マイコンのスタンバイ状態では、スタンバイ制御部2から出力される電流制限値切替信号はオンであり、スイッチSW2がオンしているので、演算増幅器AMP2に供給される電流制限基準電圧Vr2は、Vr2=I1・(R3・R4)/(R3+R4)となり、電流制限値Ilim1は、Ilim1=Vr2/Rmとなり、電流制限値が低く設定されている。
このスタンバイ状態の低消費電流状態において、負荷電流が異常に上昇し、負荷電流が上記電流制限値Ilim1を超えると、演算増幅器AMP2の出力によりトランジスタTr2が制御されるので、レギュレータ11の出力電圧Voutが低下するとともに、出力電流が上記電流制限値Ilim1に制限される。
【0018】
この状態で、例えば、パワースイッチがオンされ、マイコンが通常の動作状態になると、スタンバイ制御部2から出力される電流制限値切替信号がオフとなるので、演算増幅器AMP2に供給される電流制限基準電圧Vr2は、Vr2=I1・R3となり、電流制限値Ilim2は、Ilim2=Vr2/Rmとなって、電流制限値が高く設定される。
以上のように、システムスタンバイ中など負荷電流が少ない状態では、電流制限値が低く設定され、負荷電流が異常に増加し、この低く設定された電流制限値を超えると、電流制限がかかるので、バッテリの消耗を軽減することができる。
【0019】
上記の実施の形態では、レギュレータに直列接続された負荷抵抗により負荷電流を検出したが、カレントミラー回路を用いて負荷電流を検出することも可能であり、このカレントミラー回路を用いた実施の形態を図3により説明する。
図3において、レギュレータ11の出力トランジスタTr1とトランジスタTr3がカレントミラー回路を構成し、トランジスタTr3の出力電流が電流制限回路12に入力される。電流制限回路12は抵抗R5、R6、スイッチSW3よりなる負荷電流に応じた電圧の発生回路と、基準電圧Vr2を出力する電圧源VR2と、演算増幅器AMP2とにより構成され、カレントミラー回路のカレントミラー比をn:1とすると、スタンバイ時には、スイッチSW3はオフで電流検出抵抗はR5になり、電流制限値Ilim1は、Ilim1=n・Vr2/R5となり、通常動作時には、スイッチSW3がオンとなるので、電流制限値Ilim2は、Ilim2=n・Vr2/{(R5・R6)/(R5+R6)}となり、電流制限値が高く設定される。
この実施の形態の場合、電流制限値切替信号のレベルとしては、実際にはスタンバイ状態のときに、ローレベルが出力される。すなわち、図2の実施の形態では、ローレベルが与えられると、スイッチSW2がオン、図3の実施の形態では、ローレベルが与えられると、スイッチSW3がオフするように回路が構成される。
【0020】
図4は減電圧リセット回路を備えたマイコンに本発明の負荷駆動装置を適用した場合の実施の形態を示す図であり、電流制限機能内蔵負荷駆動回路1の出力電圧Voutがマイコン3と減電圧リセット回路4に供給されている。
図4において、マイコン3を低消費電流モードにしている時に、マイコン暴走などで電流が異常に増加すると、負荷駆動回路1内の電流制限回路により上記と同様にして電流制限がかけられてレギュレータ出力Voutが低下するので、この出力電圧Voutの低下が減電圧リセット回路4により検出され、この減電圧リセット回路4によってマイコン3がリセットされる。これにより、低消費電流モード時のマイコン暴走によるバッテリの消耗を軽減することができる。
【0021】
一方、このようなマイコンを備えたシステムにおいて、負荷駆動装置の電流制限値の切替を行う場合、パワーオン時など負荷駆動装置の電流制限値が低い値から高い値に切り替わる前に、スタンバイ制御部からマイコンに入力されるスタンバイ信号が切り替わって負荷電流が増加してしまうと、システムが起動できなくなる。また、パワーオフ時は、システムがスタンバイ状態になって負荷電流が減少する前に負荷駆動装置の電流制限値が低い値に切り替わってしまうと、システムが正常であるにも関わらず電流制限がかかってしまう、という問題が生じる。このような問題を避けるため、スタンバイ制御部からの電流制限値切替信号とスタンバイ信号の切替タイミングを制御することが好ましい。
【0022】
図5はこのように、電流制限値切替信号とスタンバイ信号の切替タイミングを制御するようにした、スタンバイ制御部を示す回路であり、パワースイッチ等の操作を検出するSW検出部21と、抵抗R7とコンデンサC1よりなる積分回路と、抵抗R8、R9、R10よりなる基準電圧の分圧回路と、比較器COM1、COM2とから構成されている。
【0023】
以下、図5のスタンバイ制御部2の動作を図6の波形図を用いて説明する。
例えば、パワースイッチがオンになると、SW検出部21がこれを検出し、図6(a)に示すように、SW検出部21の出力がハイレベルになる。これにより、積分回路が積分を開始し、コンデンサC1の端子電圧Vcは、図6(b)に示すように、徐々に大きくなる。そして、電圧Vcが分圧回路の電圧Vr3より大きくなると、比較器COM1の出力が反転し、電流制限値切替信号は図6(c)に示すように、制限値小の状態から制限値大の状態に切替えられる。さらに、電圧Vcが分圧回路の電圧Vr4より大きくなると、比較器COM2の出力が反転し、スタンバイ信号STBYが図6(d)に示すように、スタンバイ状態からアクティブ状態に切替えられる。
【0024】
一方、パワースイッチがオフされると、SW検出部21から電圧が出力されなくなるので、コンデンサC1の電荷が放電し、図6(b)に示すように電圧Vcが下がり始める。そして、電圧Vcが分圧回路の電圧Vr4より小さくなると、まず、比較器COM2の出力が反転し、スタンバイ信号STBYが図6(d)に示すように、アクティブ状態からスタンバイ状態に切替えられ、この後、電圧Vcが分圧回路の電圧Vr3より小さくなると、比較器COM1の出力が反転し、電流制限値切替信号が図6(c)に示すように、制限値大の状態から制限値小の状態に切替えられる。
【0025】
このように、パワーオン時には、電流制限値切替信号が制限値小の状態から制限値大の状態に切替えられた後、スタンバイ信号がスタンバイ状態からアクティブ状態に切替えられ、一方、パワースイッチオフ時には、スタンバイ信号がアクティブ状態からスタンバイ状態に切替えられた後、電流制限値切替信号が制限値大の状態から制限値小の状態に切替えられるので、パワーオン時には、正常にシステムを起動でき、また、パワーオフ時は、システムが正常であるにも関わらず電流制限がかかるという状況を回避することができる。
【0026】
また、マイコンを内蔵したシステムでは、マイコンの暴走を検知しマイコンにリセットをかけるウォッチドック機能を有するものがあるが、スタンバイモードなど低消費電流モードを有するマイコンでは、スタンバイ中はマイコンからウォッチドッグパルスが出力されないため、通常、暴走検知禁止機能を有するウォッチドッグ回路を使用し、マイコンスタンバイ中は暴走検知機能を停止している。このため、マイコンスタンバイ中はマイコンの暴走を検知することができないが、本発明の負荷駆動装置をこのような暴走検知禁止機能を有するウォッチドッグ回路を備えたシステムに適用すれば、マイコンスタンバイ中であっても、マイコンの暴走を検知することができる。
【0027】
図7は本発明の負荷駆動装置を暴走検知禁止機能を有するウォッチドッグ回路を備えたシステムに適用した実施の形態を示すものであり、図4の構成に暴走検知禁止機能を有する暴走リセット回路5とノア回路NORを付加したものである。この図7の負荷駆動装置の動作を図8の波形図を用いて説明する。
マイコンの通常動作時には、図8(b)、(c)、(d)に示すように、スタンバイ制御部2からのスタンバイ信号STBY、暴走検知禁止信号INH、電流制限値切替信号はハイレベルとなっているので、暴走リセット回路5は暴走検知可能であり、負荷駆動回路1の電流制限値は大に設定されている。そして、マイコンの正常動作時には、マイコン3から暴走リセット回路5に図8(e)に示すようなウォッチドッグパルスWDTが供給されているが、マイコンが暴走し、このウォッチドッグパルスWDTが暴走リセット回路5に供給されなくなると、暴走リセット回路5は、ウォッチドッグパルスWDTが消滅してから一定時間後に、図8(f)に示すように、マイコンリセット信号RESETを出力し、このマイコンリセット信号がノア回路NORを介してマイコン3に入力されるので、マイコン3がリセットされ暴走が停止させられる。
【0028】
一方、パワースイッチがオフされ、マイコンがスタンバイ状態になると、スタンバイ制御部2からのスタンバイ信号STBY、暴走検知禁止信号INH、電流制限値切替信号はローレベルとなり、暴走リセット回路5が暴走検知禁止にされるとともに、負荷駆動回路1の電流制限値が小に設定される。このスタンバイ状態では、マイコン3が暴走しても、暴走リセット回路5で暴走を検知することができないが、マイコン暴走により電流が異常に増加すると、負荷駆動回路1の電流制限値が低く設定されているので、負荷駆動回路1の出力Voutが低下し、減電圧リセット回路4が図8(f)に示すようにリセット信号RESETを出力するので、マイコン3がリセットされ、バッテリの消耗を軽減することができる。なお、図7の実施の形態で示した減電圧リセット回路4及び暴走リセット回路5に対し共通のタイマを用いるようにすることも可能である。
【0029】
図9は図7の負荷駆動装置のスタンバイ制御部2の構成を示す図で、構成は図5と同様であり、比較器COM2の出力が暴走検知禁止信号INHとして暴走リセット回路5に入力される。このスタンバイ制御部2の動作は図10の波形図に示すように、図5のスタンバイ制御部2と同じであるので、詳細な説明は省略する。
【0030】
また、スタンバイモードを有するマイコンを用いたシステムでは、通常、マイコンが通常動作からスタンバイモードに切り替わる際には、メモリに保存しておく必要のある情報がある場合には、スタンバイ信号が切り替わってもすぐにスタンバイ状態にはならず、情報をメモリに保存する作業を行った後にスタンバイ状態になる。このため、通常動作状態からスタンバイ状態に切り替わる際は、マイコンはすぐに低消費電流モードにならないため、通常動作状態からスタンバイ状態に切り替わるとき、直ちに電流制限値を小さく切替えてしまうと、メモリの情報保存動作中に電流制限がかかるという問題がある。
【0031】
図9に示すスタンバイ制御部では、スタンバイ状態から通常動作状態への切替時と通常動作状態からスタンバイ状態への切替時との切替タイミングは同じになり、通常動作状態からスタンバイ状態への切替時のみ切替間隔を長くすることができず、マイコンが通常動作状態からスタンバイ状態に切り替わるとき、制御信号の送出タイミングをメモリの情報保存動作が完了するのに十分な時間だけ異ならせるようにすることが困難である。図11はこのような問題を解決するためのスタンバイ制御部の実施の形態を示す図であり、遅延回路を用いてマイコンが通常動作状態からスタンバイ状態に切り替わるときのみ、制御信号の送出タイミングを切替え、スタンバイ信号の切替時から十分な時間が経過してから電流制限値切替信号を切替えるようにしたものである。遅延回路22は入力信号がハイレベルになると、直ちに出力がハイレベルになり、入力信号がローレベルになると、ローレベルになってから一定時間後に出力がローレベルになる特性を有する遅延回路である。
【0032】
図11のスタンバイ制御部2の動作を図12の波形図を用いて説明する。
パワースイッチがオンになると、SW検出部21がこれを検出し、図12(a)に示すように、SW検出部21の出力がハイレベルになる。これにより、図12(b)に示すように、スタンバイ信号STBY及び暴走検知禁止信号INHがハイレベルになり、マイコンがスタンバイ状態からアクティブ状態に切替えられるとともに、暴走リセット回路5の暴走検知動作が可能にされる。このとき同時に、図12(c)に示すように、遅延回路22の出力もハイレベルになるので、負荷駆動回路1の電流制限値は制限値小の状態から制限値大の状態に切替えられる。
【0033】
一方、パワースイッチがオフされると、SW検出部21の出力がローレベルになるので、スタンバイ信号STBYと暴走検知禁止信号INHがローレベルになり、マイコンがアクティブ状態からスタンバイ状態に切替えられるとともに、暴走リセット回路5の暴走検知動作が禁止される。一方、遅延回路22の出力は、図12(c)に示すように、SW検出部21の出力がローレベルになってから一定時間後にローレベルになるので、マイコンがアクティブ状態からスタンバイ状態に切り替わってから一定時間後に負荷駆動回路1の電流制限値が制限値大の状態から制限値小の状態に切替えられる。
これにより、マイコンが通常動作状態からスタンバイ状態に切り替わるときは、電流制限値の切替時期をメモリの情報保存動作が完了するのに十分な時間だけ遅らせることができる。
【0034】
一方、本発明のようにスタンバイ状態で電流制限値を低くすると、ノイズによる瞬時の電流増加等によって出力が停止する可能性がある。このようなノイズによる誤動作を防止するため、一定時間過電流が流れ続けると、出力を停止するタイマ付過電流検知機能を内蔵した負荷駆動回路を用いた実施の形態を図13及び図14により説明する。
図14に示すように、この実施の形態では電流制限機能を過電流検知回路13により実行させており、スタンバイ制御部2は過電流の検知電流切替信号とタイマのタイマ時間切替信号を負荷駆動回路1に供給する。過電流検知回路13は、図14に示すように、図2の電流制限回路12の差動増幅器に替えて比較器COM3を用いるとともに、この比較器COM3の出力が入力されるタイマラッチ14とこのタイマラッチ14により駆動されるMOSFET1が付加されている。タイマラッチ14は信号がタイマ時間切替信号により設定されているタイマ時間以上継続して入力された場合に信号を出力する。なお、図に示すように、この実施の形態では、レギュレータ11の出力回路においても、トランジスタに替えてMOSFETを使用している。
【0035】
図13、14の負荷駆動装置において、出力回路に流れる電流が検知電流切替信号により設定されている電流制限値を越えると、比較器COM3の出力が反転してタイマラッチ14に入力され、この比較器COM3の出力がタイマラッチ14に設定されているタイマ時間より長い時間継続して出力されると、タイマラッチ14がハイレベル信号を出力し、MOSFET1が導通するので、レギュレータの出力回路のMOSFETが遮断される。
【0036】
図13、図14に示す負荷駆動装置では、スタンバイ状態では、過電流の検知電流が低く設定されると同時に、タイマ時間切替信号によりタイマラッチ14のタイマ時間が長く切替えられるので、ノイズにより瞬時の電流増加が発生しても、タイマ時間が長く設定されているので、タイマラッチ14からは信号が出力されず、誤動作を防止することができる。そして、パワースイッチ等がオンされて、通常動作時になると、スタンバイ制御部2により、過電流の検知電流が高く設定されるとともに、タイマラッチ14のタイマ時間は短く切替えられる。
図15は図14の過電流検知回路13の電流検出抵抗Rmに代えてカレントミラー回路を用いた実施の形態であり、動作については図14の実施の形態と同様であるので説明を省略する。
【0037】
ところで、負荷駆動装置の出力側には、通常、出力電圧の安定化のために大容量のコンデンサが接続されるが、回路の電源となるバッテリを接続する時はマイコンがスタンバイ状態となっており、本発明の負荷駆動装置のように、スタンバイ時に電流制限値を小さく設定すると、バッテリ接続時には、負荷駆動装置の出力側に接続されるコンデンサを小さな電流で充電することになり、出力の立ち上がりに時間がかかるという問題が生じる。
【0038】
図16はこのような問題を解消するための負荷駆動装置の実施の形態を示す図であり、図1の実施の形態の構成に加えて、負荷駆動回路1の入力電圧を検知する入力電圧検知回路6と、入力電圧検知回路6の出力が入力される遅延回路7と、スタンバイ制御部2からの信号と遅延回路7の出力が入力されるオア回路ORと、負荷駆動回路1の出力側に接続された大容量コンデンサCoが設けられている。なお、遅延回路7の遅延時間はコンデンサCoが充電されるのに十分な時間が設定されている。
【0039】
図16に示す実施の形態の負荷駆動装置の動作を図17の波形図を用いて説明する。
負荷駆動回路1にバッテリVinを接続する前には、遅延回路7の出力はハイレベルになっており、このハイレベル信号がオア回路ORを介して負荷駆動回路1に入力されているので、図17(d)に示すように、オア回路ORの出力である電流制限値切替信号はハイレベルであり、電流制限値は制限値大の状態となっている。そして、図17(a)のt0の時点で負荷駆動回路1にバッテリVinを接続すると、電流制限値が大であるので、大きな電流でコンデンサCoを充電することができ、図17(e)に示すように、出力電圧Voutは急速に立ち上がる。一方、バッテリVinが接続されると、入力電圧検知回路6がバッテリVinの電圧を検出して遅延回路7に信号を送出する。遅延回路7は信号が入力されてから一定時間経過後に出力をローレベルにするので、電流制限値切替信号は、図17(d)に示すように、バッテリが接続されてから一定時間後にローレベルとなり、負荷駆動回路1の電流制限値が小に切替えられる。なお、パワーオン時の動作は図6と同様であるので、説明を省略する。
上記のように、バッテリ接続時には、スタンバイ時であっても、電流制限値を大きく設定することができるので、負荷駆動装置の出力側に接続されるコンデンサを大きな電流で充電でき、負荷駆動装置の出力の立ち上がり時間を短くすることができる。
【0040】
図18は図16の実施の形態の負荷駆動装置の遅延回路7に代えてワンショットパルス発生回路8を設けたものであり、この場合には、負荷駆動回路1にバッテリVinを接続する前には、ワンショットパルス発生回路8の出力はローレベルとなっているので、オア回路ORの出力である電流制限値切替信号は、図19(d)に示すように、ローレベルであり負荷駆動回路1の電流制限値は小となっている。そして、図19(a)のt0の時点で負荷駆動回路1にバッテリVinを接続すると、入力電圧検知回路6がバッテリVinの電圧を検出してワンショットパルス発生回路8に信号を送出する。ワンショットパルス発生回路8は信号が入力されると、一定時間ハイレベルとなる信号を出力する。したがって、電流制限値切替信号が図19(d)に示すように、一定時間ハイレベルとなり、電流制限値が大に切り替わるので、大きな電流でコンデンサCoを充電することができ、図19(e)に示すように、出力電圧Voutは急速に立ち上がる。このワンショットパルス発生回路8が出力するパルスの継続時間もコンデンサCoを充電するのに十分な時間が設定されており、このワンショットパルス発生回路8からのパルスが消滅すると、電流制限値切替信号がローレベルとなり、負荷駆動回路1の電流制限値が小に切り替えられる。
【0041】
上記の実施の形態では遅延回路またはワンショットパルス発生回路を用いてバッテリ接続時に一定時間電流制限値を大にしたが、出力電圧を監視し、出力電圧が所定電圧になったら電流制限値を小に切替えることも可能であり、図20はこのように出力電圧を監視する場合の実施の形態を示す図である。
この実施の形態では、図1の実施の形態の構成に加えて、負荷駆動回路1の入力電圧を検知する入力電圧検知回路6と、負荷駆動回路1の出力電圧が規定値になったことを検知する出力電圧検知回路9と、入力電圧検知回路6の出力によりセットされ、出力電圧検知回路9の出力によりリセットされるフリップフロップ回路10と、スタンバイ制御部2からの信号とフリップフロップ回路10の出力が入力されるオア回路ORと、負荷駆動回路1の出力側に接続された大容量コンデンサCoが設けられている。
【0042】
図20において、負荷駆動回路1にバッテリVinを接続する前には、フリップフロップ回路9の出力はローレベルであり、オア回路ORの出力である電流制限値切替信号は、図21(f)に示すようにローレベルになっており、負荷駆動回路1の電流制限値は小となっている。そして、図21(a)のt0の時点で負荷駆動回路1にバッテリVinを接続すると、入力電圧検知回路6が信号を出力してフリップフロップ回路10がセットされ、フリップフロップ回路10の出力がハイレベルとなるので、電流制限値切替信号が、図21(f)に示すように、ハイレベルになる。したがって、負荷駆動回路1の電流制限値が大に切り替わり、大きな電流でコンデンサCoを充電することができ、図21(d)に示すように、出力電圧Voutが急速に立ち上がる。一方、出力電圧Voutが規定値まで立ち上がると、図21(e)に示すように、出力電圧検知回路9が信号を出力するので、フリップフロップ回路10がリセットされ、フリップフロップ回路10の出力がローレベルになる。これにより、電流制限値切替信号が、図21(f)に示すようにローレベルになり、負荷駆動回路1の電流制限値が小に切り替えられる。なお、パワーオン時の動作は図6と同様であるので、説明を省略する。
上記のように、バッテリ接続時から負荷駆動装置の出力電圧が規定値に立ち上がるまで、電流制限値を大きく設定することができるので、負荷駆動装置の出力側に接続されるコンデンサを大きな電流で充電でき、負荷駆動装置の出力の立ち上がり時間を短くすることができる。
【0043】
また、マイコンには入力電圧が規定値以上になった場合、規定値になってから一定時間後にマイコンをリセットするパワーオンリセット回路が設けられており、このパワーオンリセット回路を用いて上記のフリップフロップ回路をリセットすることも可能である。
図22はパワーオンリセット回路を用いた実施の形態を示す図であり、パワーオンリセット回路15は、負荷駆動回路1の出力電圧Voutが規定値になったことを検出する出力電圧検知回路16と遅延回路17により構成されている。この負荷駆動装置において、出力電圧Voutが規定値まで立ち上がると、出力電圧検知回路16が信号を遅延回路17に出力し、遅延回路17は出力電圧検知回路16から信号が入力されてから一定時間後に図23(e)に示すような信号を出力し、マイコン3にリセット信号RESETとして供給する。そして、このリセット信号RESETが、同時に、フリップフロップ回路10のリセット端子Rに入力される。したがって、電流制限値切替信号は、図23(f)に示すように、バッテリ接続時にハイレベルとなり、出力電圧が規定値まで立ち上がってから一定時間経過した後にローレベルになるので、出力電圧が確実に立ち上がるまで負荷駆動回路1の電流制限値を大にすることができる。
【0044】
さらに、負荷駆動回路の出力電圧のみを監視し、出力電圧に応じて電流制限値を切替えることも可能であり、図24はこのように出力電圧のみを監視する場合の実施の形態を示す図である。
この実施の形態では、図1の実施の形態の構成に加えて、負荷駆動回路1の出力電圧が規定値になったことを検知する出力電圧検知回路9と、出力電圧検知回路9の出力が入力されるノット回路NOTと、スタンバイ制御部2からの信号とノット回路NOTの出力が入力されるオア回路ORと、負荷駆動回路1の出力側に接続された大容量コンデンサCoが設けられている。
【0045】
図24において、負荷駆動回路1にバッテリVinを接続する前には、出力電圧検知回路9の出力はローレベルであり、ノット回路NOTの出力がハイレベルであるので、オア回路ORの出力である電流制限値切替信号は、図25(e)に示すようにハイレベルになっており、負荷駆動回路1の電流制限値は大となっている。したがって、負荷駆動回路1にバッテリVinを接続すると、大きな電流でコンデンサCoが充電され、図25(c)に示すように、出力電圧Voutが急速に立ち上がる。一方、出力電圧Voutが規定値まで立ち上がると、図25(d)に示すように、出力電圧検知回路9の出力がハイレベルになり、ノット回路NOTの出力がローレベルになるので、電流制限値切替信号が、図25(e)に示すようにローレベルになり、負荷駆動回路1の電流制限値が小に切り替えられる。なお、パワーオン時の動作は図6と同様であるので、説明を省略する。
上記のように、出力電圧が規定値以下のときは電流制限値が高く設定され、出力電圧が規定値以上になると、電流制限値が低く切替えられるので、負荷が低消費電流状態であっても、バッテリ接続時に出力の立ち上がりを早くすることができる。
なお、上記の実施の形態では、ノット回路を用いたが、入力電圧が規定値以下のときは、ハイレベルを出力し、入力電圧が規定値以上になると、ローレベルを出力する出力電圧検知回路を用いれば、ノット回路は不要である。
【0046】
また、図25の実施の形態の出力電圧検知回路に替えて減電圧リセット回路を用いることもでき、図26は減電圧リセット回路を用いた実施の形態を示す図である。減電圧リセット回路4は、負荷駆動回路1の出力電圧Voutが規定値になったことを検出する出力電圧検知回路16と遅延回路17により構成され、遅延回路17は遅延回路17への入力電圧の立ち上り時のみ、入力電圧を一定時間遅延するので、遅延回路17からは図23(e)に示す信号と同じ信号を出力する。この負荷駆動装置において、負荷駆動回路1にバッテリVinを接続する前には、遅延回路17の出力はローレベルであり、ノット回路NOTの出力がハイレベルであるので、オア回路ORの出力である電流制限値切替信号は、図27(e)に示すようにハイレベルになっており、負荷駆動回路1の電流制限値は大となっている。したがって、負荷駆動回路1にバッテリVinを接続すると、大きな電流でコンデンサCoが充電され、図27(c)に示すように、出力電圧Voutが急速に立ち上がる。そして、出力電圧Voutが規定値まで立ち上がると、出力電圧検知回路16の出力がハイレベルになり、その後一定時間が経過すると、遅延回路17の出力が図27(d)に示すようにハイレベルになる。これにより、ノット回路NOTの出力がローレベルになるので、電流制限値切替信号が、図27(e)に示すようにローレベルになり、負荷駆動回路1の電流制限値が小に切り替えられる。
上記のように、出力電圧が規定値以下のときは電流制限値が高く設定され、出力電圧が規定値まで上昇してから一定時間後に電流制限値が低く切替えられるので、上記と同様に、負荷が低消費電流状態であっても、バッテリ接続時に出力の立ち上がりを早くすることができる。
【0047】
上記のバッテリ接続時の負荷駆動装置の出力立ち上がり時間を短かくするための構成は、減電圧リセット回路や暴走リセット回路を備えたマイコンと組み合わせて使用することができ、その一例の実施の形態を図28に示す。
図28において、減電圧リセット回路4は上記のように電圧検知回路と遅延回路により構成され、図23(e)に示す信号と同じ信号を出力するので、この実施の形態では、ノア回路NORの出力をフリップフロップ回路10のリセット端子Rに入力している。
【0048】
図28に示す負荷駆動装置の動作は、図22の負荷駆動装置とほぼ同様であり、以下図23の波形図を用いて説明する。
負荷駆動回路1にバッテリVinを接続する前には、フリップフロップ回路10の出力はローレベルであり、オア回路ORの出力である電流制限値切替信号は、図23(f)に示すようにローレベルになっており、負荷駆動回路1の電流制限値は小となっている。そして、図23(a)のt0の時点で負荷駆動回路1にバッテリVinを接続すると、入力電圧検知回路6が信号を出力してフリップフロップ回路10がセットされ、フリップフロップ回路10の出力がハイレベルとなるので、電流制限値切替信号が、図23(f)に示すように、ハイレベルになる。したがって、負荷駆動回路1の電流制限値が大に切り替わり、大きな電流でコンデンサCoを充電することができ、出力電圧Voutは、図23(d)に示すように急速に立ち上がる。そして、出力電圧Voutが規定値まで立ち上がった後、一定時間が経過すると、減電圧リセット回路4が図23(e)に示すリセット信号RESETを出力し、マイコン3がリセットされる。この時、同時に、ノア回路NORからのリセット信号RESETがフリップフロップ回路10のリセット端子Rに入力されるので、電流制限値切替信号が図23(f)に示すようにローレベルになり、負荷駆動回路1の電流制限値が小に切り替えられる。
なお、パワースイッチがオンされ、マイコンが通常動作状態なった以降の動作は図10に示す動作と同じであるので、詳細な説明を省略する。
【0049】
なお、以上の実施の形態では、本発明の負荷駆動装置をマイコンを備えたシステムに適用した例を説明したが、マイコン以外で負荷状態が所定の条件で変化する様々なシステムに本発明の負荷駆動装置を適用することができる。
また、上記の実施の形態では、レギュレータの出力トランジスタとして、PNP形のトランジスタやFETを使用したが、NPN形のトランジスタやFETを用いることも可能である。
さらに、減電圧リセット回路とパワーオンリセット回路とは別々の回路として説明したが、同じ回路とし、減電圧リセットとパワーオンリセットのそれぞれの機能を有するようにしてもよい。
【0050】
【発明の効果】
以上詳述したように、本発明に係る負荷駆動装置、負荷駆動回路、電流制限回路あるいは負荷駆動方法によれば、制御手段によって電流制限手段の電流制限値を切替えることができ、負荷が低消費電流状態等の低動作状態のとき、電流制限値を低く設定することができるので、低消費電流状態であっても負荷の異常を検出することができる。
【0051】
また、本発明に係る負荷駆動装置をマイコンを用いたシステムに適用し、マイコンを電源電流が少ないスタンバイ状態に制御する制御手段によって電流制限値を切替えれば、マイコンの電源電流が少ないスタンバイ状態では、電流制限手段の電流制限値が低く設定されるので、たとえ、マイコンが低消費電流モードになっているときでも、マイコン暴走などで電流が異常に上昇した場合には、電源出力を低下させて減電圧リセットをかけることができ、バッテリの消耗を軽減することができる。
さらに、マイコンが減電圧リセット回路と暴走リセット回路を備え、上記制御手段からマイコンのスタンバイ状態において暴走リセット回路に暴走検知禁止信号が出力されるシステムに本発明の負荷駆動装置を適用すれば、マイコンスタンバイ中暴走検知機能が停止されているとき、負荷駆動装置の電流制限手段の電流制限値が低く設定され、マイコン暴走などで電流が異常に増加すると、電流制限がかかって負荷駆動装置出力が低下して減電圧リセットがかかるので、マイコンの暴走を停止させ、バッテリの消耗を軽減することができる。
【0052】
また、上記制御手段からマイコンに供給するスタンバイ信号と、電流制限手段に供給する切替信号の送出タイミングを制御するタイミング制御手段を設け、マイコンが通常動作状態からスタンバイ状態に切り替わるとき、スタンバイ信号が出力されてから一定期間後に電流制限値を小に切替える切替信号を出力すれば、マイコンのパワーオフ時にシステムがスタンバイ状態になってから負荷駆動装置の電流制限値が小さい値に切り替わるので、システムが正常であるにも関わらず電流制限がかかってしまうという問題を防止することができる。さらに、上記タイミング制御手段により、マイコンがスタンバイ状態から通常動作状態に切り替わるときは電流制限値を大に切替える切替信号を出力してから一定期間後に、マイコンをスタンバイ状態から通常動作状態に切替えれば、マイコンのパワーオン時に、負荷駆動装置の電流制限値が小さい値に設定されている状態から大きい値に切り替わってから、マイコンに供給されるスタンバイ信号が切り替わるので、正常にシステムを起動することができる。
【0053】
また、電流制限手段に過電流が一定時間流れ続けたことを検知するタイマ回路を設けるとともに、電流制限手段の電流制限値を低く設定する場合、このタイマ回路のタイマ時間を長くすれば、低消費電流状態において、電流制限値を低く設定した場合であっても、タイマ回路のタイマ時間が長くなるので、ノイズによる誤動作を確実に防止することができる。
【0054】
さらに、負荷駆動装置の入力電圧を検知する入力電圧検知回路と遅延回路を設け、入力電圧が印加されていないときは、電流制限値を高く設定し、入力電圧が印加された場合には、入力電圧が立ち上がってから一定時間後に電流制限値を低く設定するようにすれば、バッテリ接続時に、低消費電流モードであっても、負荷駆動装置の出力側に設けられたコンデンサを大きな電流で充電することができ、負荷駆動装置の出力の立ち上がり時間を短くすることができる。また、負荷駆動装置の入力電圧を検知する入力電圧検知回路とワンショットパルス発生回路を設けても、同様にバッテリ接続時の負荷駆動装置の出力の立ち上がりを早くすることができる。
【0055】
さらに、負荷駆動装置の入力電圧を検知する入力電圧検知回路と、負荷駆動装置の出力電圧を検知する出力電圧検知回路と、入力電圧検知回路の出力によりセットされ、出力電圧検知回路の出力によりリセットされるフリップフロップ回路とを設け、このフリップフロップ回路の出力を電流制限手段に入力すれば、入力電圧が立ち上がると、電流制限値が大の状態にされ、出力電圧が規定値まで上昇すると電流制限値が小に切替えられるので、負荷が低消費電流状態であっても、バッテリ接続時に負荷駆動装置の出力の立ち上がりが遅くなることを防止することができる。また、負荷駆動装置の入力電圧を検知する入力電圧検知回路と、負荷駆動装置の出力電圧を検知する出力電圧検知回路と、遅延回路と、入力電圧検知回路の出力によりセットされ、出力電圧検知回路出力が入力される遅延回路の出力によりリセットされるフリップフロップ回路とを設け、このフリップフロップ回路の出力を電流制限手段に入力すれば、入力電圧が立ち上がると、電流制限値が大の状態にされ、その後出力電圧が規定値まで上昇してから一定期間後に電流制限値が小に切替えられるので、上記と同様に、負荷が低消費電流状態であっても、バッテリ接続時の負荷駆動装置の出力の立ち上がりを早くすることができる。
【0056】
また、負荷駆動装置の出力電圧を検知する出力電圧検知回路を設け、この出力電圧検知回路の出力を電流制限手段に入力することにより、出力電圧が規定値以下のときは電流制限値を高く設定し、出力電圧が規定値以上のとき、電流制限値を低く設定すれば、出力電圧が規定値以下のときは電流制限値が高く設定され、出力電圧が規定値以上になると、電流制限値が低く切替えられるので、負荷が低消費電流状態であっても、バッテリ接続時に出力の立ち上がりを早くすることができる。さらに、負荷駆動装置の出力電圧を検知する出力電圧検知回路と、この出力電圧検知回路の出力が入力され、出力電圧立ち上り時のみ、出力電圧検知回路出力を遅延する遅延回路とを設け、この遅延回路出力を電流制限手段に入力することにより、出力電圧が規定値以下のときは電流制限値を高く設定し、出力電圧が規定値まで上昇してから一定期間後に電流制限値を低く設定すれば、同様に、負荷が低消費電流状態であっても、バッテリ接続時に出力の立ち上がりを早くすることができる。
【図面の簡単な説明】
【図1】 本発明の実施の形態に係る負荷駆動装置を示すブロック図である。
【図2】 図1の負荷駆動装置の負荷駆動回路の詳細を示す図である。
【図3】 図1の負荷駆動装置の負荷駆動回路の他の実施の形態の詳細を示す図である。
【図4】 本発明の他の実施の形態に係る負荷駆動装置を示すブロック図である。
【図5】 図4の負荷駆動装置のスタンバイ制御部の詳細を示す図である。
【図6】 図5のスタンバイ制御部の動作を示す波形図である。
【図7】 本発明のさらに他の実施の形態に係る負荷駆動装置を示すブロック図である。
【図8】 図7の負荷駆動装置の過電流検知回路の詳細を示す図である。
【図9】 図7の負荷駆動装置のスタンバイ制御部の詳細を示す図である。
【図10】 図9のスタンバイ制御部の動作を示す波形図である。
【図11】 図7の負荷駆動装置のスタンバイ制御部の他の実施の形態の詳細を示す図である。
【図12】 図11のスタンバイ制御部の動作を示す波形図である。
【図13】 本発明のさらに他の実施の形態に係る負荷駆動装置を示すブロック図である。
【図14】 図13の負荷駆動装置の過電流検知回路の詳細を示す図である。
【図15】 図13の負荷駆動装置の過電流検知回路の他の実施の形態の詳細を示す図である。
【図16】 本発明のさらに他の実施の形態に係る負荷駆動装置を示すブロック図である。
【図17】 図16の負荷駆動装置の動作を示す波形図である。
【図18】 本発明のさらに他の実施の形態の負荷駆動装置を示すブロック図である。
【図19】 図18の負荷駆動装置の動作を示す波形図である。
【図20】 本発明のさらに他の実施の形態の負荷駆動装置を示すブロック図である。
【図21】 図20の負荷駆動装置の動作を示す波形図である。
【図22】 本発明のさらに他の実施の形態の負荷駆動装置を示すブロック図である。
【図23】 図22の負荷駆動装置の動作を示す波形図である。
【図24】 本発明のさらに他の実施の形態の負荷駆動装置を示すブロック図である。
【図25】 図24の負荷駆動装置の動作を示す波形図である。
【図26】 本発明のさらに他の実施の形態の負荷駆動装置を示すブロック図である。
【図27】 図26の負荷駆動装置の動作を示す波形図である。
【図28】 本発明のさらに他の実施の形態の負荷駆動装置を示すブロック図である。
【符号の説明】
1 電流制限機能内蔵負荷駆動回路
2 スタンバイ制御部
3 マイコン
4 減電圧リセット回路
5 暴走リセット回路
6 入力電圧検知回路
7、17、22 遅延回路
8 ワンショットパルス発生回路
9、16 出力電圧検知回路
10 フリップフロップ回路
11 レギュレータ
12 電流制限回路
13 過電流検知回路
14 タイマラッチ
15 パワーオンリセット回路
21 SW検出部
SW1、SW2、SW3 スイッチ
Tr1、Tr2、Tr3 トランジスタ
AMP1、AMP2 演算増幅器
VR1、VR2 基準電源
COM1〜COM3 比較器
FET1〜FET4 電界効果トランジスタ
OR オア回路
NOR ノア回路
NOT ノット回路
Rm、R1〜R10 抵抗
C1、Co コンデンサ
OC1 電流源
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a load driving device such as a regulator or a driver circuit for supplying a voltage to a load, and more particularly to a load driving device having a current limiting function.
[0002]
[Prior art]
Conventionally, when power is supplied to a load, the voltage is supplied to the load via a driver circuit, or when power is supplied to the load from an unstable power source that contains many fluctuation elements such as ripples, etc. A regulator that stabilizes the voltage to a constant voltage and outputs it is used. In such drive circuits such as driver circuits and regulators, if abnormal current flows through the load, or if a large current flows from the output terminal due to a short circuit or low resistance connection to the ground voltage of the output terminal, circuit components Or problems caused by heat generation of parts due to large current. In order to prevent such a problem, a current limiting function is added to the load driving device in order to prevent an excessive current from flowing. (For example, refer to Patent Document 1).
[0003]
[Patent Document 1]
JP-A-6-113476
[0004]
As described above, the conventional load driving device adds a current limiting function to prevent circuit components from being destroyed. The current limiting value of the current limiting function is usually the maximum current that the circuit can tolerate. Often set to a value.
Therefore, even if the load causes an abnormal operation and an abnormal current flows, if the current value is equal to or less than the current limit value, it is not possible to detect a system abnormality. For example, in a battery-operated device such as an automobile electronic device or a portable electronic device, the battery life will be reduced if the system becomes abnormal and the current consumption increases when the current consumption is low, such as when the system is stopped. The problem arises. That is, in the conventional load driving device, the current limit value of the current limiting function is set to the maximum current value that the circuit can tolerate as described above. Therefore, when the load current is low, such as when the system is stopped. Even if the current consumption increases due to an abnormality, the current consumption is not greater than the current limit value, so the system abnormality cannot be detected and the abnormal current consumption continues to flow, thus preventing the battery from being consumed. I couldn't.
[0005]
The present invention has been made in view of the above problems, and provides a load driving device capable of preventing abnormal system operation and protecting a circuit even when the load current is low, such as during system standby. Objective.
[0006]
[Means for Solving the Problems]
In order to achieve the above object, a load driving device according to the present invention includes: In microcomputer as load While supplying power, To the microcomputer In the load driving device provided with the current limiting means for limiting the current, Control means for controlling the microcomputer to a standby state with a low power supply current, and setting the current limit value of the current limit means low in the standby state of the microcomputer; There is provided a timing control means for controlling a transmission timing of a standby signal supplied from the control means to the microcomputer and a switching signal supplied to the current limiting means.
[0007]
According to the present invention Load drive device Therefore, in the standby state where the power supply current of the microcomputer is low, the current limit value of the current limiting means is set low, so even if the microcomputer is in the low current consumption mode, the current is abnormal due to the microcomputer running away. When the voltage rises, the power supply output can be lowered and a reduced voltage reset can be applied, so that battery consumption can be reduced.
[0008]
In addition, the standby signal supplied to the microcomputer is switched before the current limit value of the voltage stabilization circuit is set to a small value, such as when the microcomputer is turned on, and then the load current increases. If the current limit value of the load drive device is switched to a small value before the system goes into the standby state and the load current decreases when the power is turned off, the system will not be able to start. Although there is a problem that the current is limited even though the current is normal, Load drive device Accordingly, the timing control circuit controls the transmission timing of the standby signal supplied to the microcomputer and the switching signal supplied to the current limiting means, so that normal operation can be ensured.
[0012]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, an embodiment in which a load driving device of the present invention is applied to a microcomputer mounted on a vehicle will be described with reference to the drawings. FIG. 1 is a block diagram showing a load driving device of the present invention, and FIG. 2 is a diagram showing details of a load driving circuit.
[0013]
In FIG. 1, 1 is a load drive circuit such as a driver circuit or a regulator incorporating a current limiting function, 2 is a standby control unit to which a signal from a vehicle battery switch or the like is input, Vin is a power source such as a battery, and SW1 is a switch. It is. The standby control unit 2 receives a signal from a vehicle power switch, an ignition switch, or an accessory switch such as a car audio. In the standby state where each switch is not turned on, the standby control unit 2 outputs a standby signal STBY to the microcomputer. Supply. In the standby state of the microcomputer, the standby control unit 2 sets the current limit value of the load drive circuit 1 low, and the switch SW1 is turned off, and the output Vout2 is supplied only to the microcomputer with a built-in memory that requires power supply even during standby. Has been. On the other hand, when the power switch or the like is turned on and the microcomputer is in the operating state, the standby control unit 2 sets the current limit value of the load driving circuit 1 high and switches the standby signal STBY to change the microcomputer from the standby state to the normal operating state. Simultaneously with the switching, the switch SW1 is turned on, and the output Vout1 is supplied to a place where voltage supply is required only in the normal operation state of the control circuit or the like.
[0014]
FIG. 2 shows an example of a load driving circuit 1 with a built-in current limiting function, which is composed of a regulator 11 and a current limiting circuit 12. The regulator 11 divides the output voltage Vout by generating a divided voltage Vd by dividing a PNP transistor Tr1 for controlling the output voltage Vout, an NPN transistor Tr2 having a collector connected to the base of the transistor Tr1. The series circuit of the resistors R1 and R2, the reference power supply VR1 that outputs a predetermined reference voltage Vr1, the divided voltage Vd, and the reference voltage Vr1 are compared, and the base voltage of the transistor Tr2 is controlled according to the comparison result It comprises an operational amplifier AMP1.
[0015]
On the other hand, the current limiting circuit 12 includes a load resistor Rm for detecting the output current of the regulator 11, a resistor R3, R4, a switch SW2, and a current limit value generating circuit including a constant current source OC1 that generates a constant current I1. The output current of the regulator 11 is compared with the current limit value, and the operational amplifier AMP2 controls the base voltage of the transistor Tr2 in accordance with the comparison result. The current limit value switching signal from the standby control unit 2 is used. The current limit value is switched by turning on / off the switch SW2. The load driving device may include a switch SW1.
[0016]
Next, the operation of the load driving device of FIGS. 1 and 2 will be described.
The divided voltage Vd obtained by dividing the output voltage Vout by the series circuit of the resistors R1 and R2 and the reference voltage Vr1 from the reference power supply VR1 are compared by the operational amplifier AMP1, and the output of the operational amplifier AMP1 is used as the base voltage of the transistor Tr2. The driving current of the transistor Tr1 is controlled by the output of the transistor Tr2, and the output voltage Vout is controlled to a constant value.
[0017]
On the other hand, in the standby state of the microcomputer, since the current limit value switching signal output from the standby control unit 2 is on and the switch SW2 is on, the current limit reference voltage Vr2 supplied to the operational amplifier AMP2 is Vr2. = I1 · (R3 · R4) / (R3 + R4), and the current limit value Ilim1 is set to Ilim1 = Vr2 / Rm, and the current limit value is set low.
In this standby low power consumption state, when the load current rises abnormally and the load current exceeds the current limit value Ilim1, the transistor Tr2 is controlled by the output of the operational amplifier AMP2, so the output voltage Vout of the regulator 11 And the output current is limited to the current limit value Ilim1.
[0018]
In this state, for example, when the power switch is turned on and the microcomputer enters a normal operation state, the current limit value switching signal output from the standby control unit 2 is turned off, so that the current limit reference supplied to the operational amplifier AMP2 The voltage Vr2 becomes Vr2 = I1 · R3, and the current limit value Ilim2 becomes Ilim2 = Vr2 / Rm, and the current limit value is set high.
As described above, when the load current is low, such as during system standby, the current limit value is set low, the load current increases abnormally, and if this low current limit value is exceeded, the current limit is applied. Battery consumption can be reduced.
[0019]
In the above embodiment, the load current is detected by the load resistance connected in series to the regulator. However, it is also possible to detect the load current using a current mirror circuit, and the embodiment using this current mirror circuit. Will be described with reference to FIG.
In FIG. 3, the output transistor Tr 1 and the transistor Tr 3 of the regulator 11 constitute a current mirror circuit, and the output current of the transistor Tr 3 is input to the current limiting circuit 12. The current limiting circuit 12 is composed of a voltage generating circuit comprising resistors R5 and R6 and a switch SW3 according to the load current, a voltage source VR2 that outputs a reference voltage Vr2, and an operational amplifier AMP2, and is a current mirror of the current mirror circuit. When the ratio is n: 1, the switch SW3 is off and the current detection resistor is R5 in the standby state, and the current limit value Ilim1 is Ilim1 = n · Vr2 / R5, and the switch SW3 is turned on in the normal operation. The current limit value Ilim2 is Ilim2 = n · Vr2 / {(R5 · R6) / (R5 + R6)}, and the current limit value is set high.
In the case of this embodiment, as the level of the current limit value switching signal, a low level is actually output in the standby state. That is, in the embodiment of FIG. 2, the switch SW2 is turned on when a low level is applied, and in the embodiment of FIG. 3, the switch SW3 is turned off when a low level is applied.
[0020]
FIG. 4 is a diagram showing an embodiment in which the load driving device of the present invention is applied to a microcomputer provided with a reduced voltage reset circuit. The output voltage Vout of the load driving circuit 1 with a built-in current limiting function is reduced with the microcomputer 3. It is supplied to the reset circuit 4.
In FIG. 4, when the microcomputer 3 is in the low current consumption mode and the current increases abnormally due to microcomputer runaway or the like, the current limiting circuit in the load driving circuit 1 applies the current limiting in the same manner as described above and the regulator output Since Vout decreases, the decrease in the output voltage Vout is detected by the reduced voltage reset circuit 4, and the microcomputer 3 is reset by the reduced voltage reset circuit 4. Thereby, battery consumption due to microcomputer runaway in the low current consumption mode can be reduced.
[0021]
On the other hand, in a system equipped with such a microcomputer, when switching the current limit value of the load driving device, the standby control unit before the current limit value of the load driving device is switched from a low value to a high value, such as at power-on. If the standby signal input to the microcomputer is switched and the load current increases, the system cannot be started. Also, when the power is turned off, if the current limit value of the load drive device is switched to a low value before the system goes into the standby state and the load current decreases, the current limit is applied even though the system is normal. Problem arises. In order to avoid such a problem, it is preferable to control the switching timing of the current limit value switching signal and the standby signal from the standby control unit.
[0022]
FIG. 5 is a circuit showing a standby control unit that controls the switching timing of the current limit value switching signal and the standby signal as described above. The SW detection unit 21 detects an operation of a power switch and the like, and the resistor R7. And an integrating circuit composed of a capacitor C1, a reference voltage dividing circuit composed of resistors R8, R9 and R10, and comparators COM1 and COM2.
[0023]
The operation of the standby control unit 2 in FIG. 5 will be described below with reference to the waveform diagram in FIG.
For example, when the power switch is turned on, the SW detection unit 21 detects this, and the output of the SW detection unit 21 becomes a high level as shown in FIG. As a result, the integrating circuit starts integration, and the terminal voltage Vc of the capacitor C1 gradually increases as shown in FIG. When the voltage Vc becomes larger than the voltage Vr3 of the voltage dividing circuit, the output of the comparator COM1 is inverted, and the current limit value switching signal is changed from a state where the limit value is small to a value where the limit value is large as shown in FIG. Switch to state. Further, when the voltage Vc becomes larger than the voltage Vr4 of the voltage dividing circuit, the output of the comparator COM2 is inverted, and the standby signal STBY is switched from the standby state to the active state as shown in FIG. 6 (d).
[0024]
On the other hand, when the power switch is turned off, no voltage is output from the SW detection unit 21, so the charge of the capacitor C1 is discharged, and the voltage Vc starts to decrease as shown in FIG. 6B. When the voltage Vc becomes smaller than the voltage Vr4 of the voltage dividing circuit, first, the output of the comparator COM2 is inverted, and the standby signal STBY is switched from the active state to the standby state as shown in FIG. Thereafter, when the voltage Vc becomes smaller than the voltage Vr3 of the voltage dividing circuit, the output of the comparator COM1 is inverted, and the current limit value switching signal is changed from the state where the limit value is large to the value where the limit value is small as shown in FIG. Switch to state.
[0025]
Thus, at power-on, after the current limit value switching signal is switched from the limit value small state to the limit value large state, the standby signal is switched from the standby state to the active state, while when the power switch is off, After the standby signal is switched from the active state to the standby state, the current limit value switching signal is switched from the large limit value state to the small limit value state. When the system is off, it is possible to avoid a situation where the current is limited even though the system is normal.
[0026]
Some systems with a built-in microcomputer have a watchdog function that detects a microcomputer runaway and resets the microcomputer. However, in a microcomputer with a low current consumption mode such as standby mode, the watchdog pulse is output from the microcomputer during standby. Is not normally output, a watchdog circuit having a runaway detection prohibition function is normally used, and the runaway detection function is stopped during microcomputer standby. For this reason, microcomputer runaway cannot be detected during microcomputer standby, but if the load driving device of the present invention is applied to a system having a watchdog circuit having such a runaway detection prohibiting function, microcomputer runaway is not possible. Even if there is, the runaway of the microcomputer can be detected.
[0027]
FIG. 7 shows an embodiment in which the load driving device of the present invention is applied to a system having a watchdog circuit having a runaway detection prohibiting function, and a runaway reset circuit 5 having a runaway detection prohibiting function in the configuration of FIG. And a NOR circuit NOR. The operation of the load driving device of FIG. 7 will be described with reference to the waveform diagram of FIG.
During normal operation of the microcomputer, as shown in FIGS. 8B, 8C, and 8D, the standby signal STBY, the runaway detection inhibition signal INH, and the current limit value switching signal from the standby control unit 2 are at a high level. Therefore, the runaway reset circuit 5 can detect runaway, and the current limit value of the load drive circuit 1 is set to a large value. During normal operation of the microcomputer, a watchdog pulse WDT as shown in FIG. 8 (e) is supplied from the microcomputer 3 to the runaway reset circuit 5. When no longer supplied to 5, the runaway reset circuit 5 outputs a microcomputer reset signal RESET, as shown in FIG. 8 (f), after a predetermined time from the disappearance of the watchdog pulse WDT. Since the signal is input to the microcomputer 3 through the circuit NOR, the microcomputer 3 is reset and the runaway is stopped.
[0028]
On the other hand, when the power switch is turned off and the microcomputer is in a standby state, the standby signal STBY, the runaway detection inhibition signal INH, and the current limit value switching signal from the standby control unit 2 become low level, and the runaway reset circuit 5 disables the runaway detection. At the same time, the current limit value of the load driving circuit 1 is set to be small. In this standby state, even if the microcomputer 3 runs away, the runaway reset circuit 5 cannot detect the runaway, but if the current increases abnormally due to the microcomputer runaway, the current limit value of the load drive circuit 1 is set low. As a result, the output Vout of the load driving circuit 1 is lowered, and the reduced voltage reset circuit 4 outputs the reset signal RESET as shown in FIG. 8 (f), so that the microcomputer 3 is reset and the consumption of the battery is reduced. Can do. It is also possible to use a common timer for the reduced voltage reset circuit 4 and the runaway reset circuit 5 shown in the embodiment of FIG.
[0029]
FIG. 9 is a diagram showing the configuration of the standby control unit 2 of the load driving device of FIG. 7. The configuration is the same as that of FIG. 5, and the output of the comparator COM2 is input to the runaway reset circuit 5 as the runaway detection inhibition signal INH. . The operation of the standby control unit 2 is the same as that of the standby control unit 2 of FIG. 5 as shown in the waveform diagram of FIG.
[0030]
Also, in a system using a microcomputer having a standby mode, when the microcomputer switches from normal operation to standby mode, if there is information that needs to be stored in the memory, the standby signal is switched. It does not immediately enter the standby state, but enters the standby state after performing an operation of storing information in the memory. For this reason, when switching from the normal operation state to the standby state, the microcomputer does not immediately enter the low current consumption mode.Therefore, when switching from the normal operation state to the standby state, if the current limit value is immediately switched to a smaller value, the memory information There is a problem that current limitation is applied during the storage operation.
[0031]
In the standby control unit shown in FIG. 9, the switching timing is the same when switching from the standby state to the normal operation state and when switching from the normal operation state to the standby state, and only when switching from the normal operation state to the standby state. When the switching interval cannot be extended and the microcomputer switches from the normal operation state to the standby state, it is difficult to make the control signal transmission timing different for a sufficient time to complete the memory information storage operation. It is. FIG. 11 is a diagram showing an embodiment of a standby control unit for solving such a problem. Only when the microcomputer is switched from the normal operation state to the standby state using a delay circuit, the control signal transmission timing is switched. The current limit value switching signal is switched after a sufficient time has elapsed since switching of the standby signal. The delay circuit 22 is a delay circuit having a characteristic that when the input signal becomes high level, the output immediately becomes high level, and when the input signal becomes low level, the output becomes low level after a certain time after becoming low level. .
[0032]
The operation of the standby control unit 2 in FIG. 11 will be described with reference to the waveform diagram in FIG.
When the power switch is turned on, the SW detection unit 21 detects this, and the output of the SW detection unit 21 becomes high level as shown in FIG. As a result, as shown in FIG. 12B, the standby signal STBY and the runaway detection inhibition signal INH become high level, the microcomputer is switched from the standby state to the active state, and the runaway reset circuit 5 can perform the runaway detection operation. To be. At the same time, as shown in FIG. 12C, the output of the delay circuit 22 is also at a high level, so that the current limit value of the load drive circuit 1 is switched from a small limit value to a large limit value.
[0033]
On the other hand, when the power switch is turned off, the output of the SW detection unit 21 becomes low level, so that the standby signal STBY and the runaway detection inhibition signal INH become low level, and the microcomputer is switched from the active state to the standby state. The runaway detection operation of the runaway reset circuit 5 is prohibited. On the other hand, as shown in FIG. 12C, the output of the delay circuit 22 becomes low level after a certain time since the output of the SW detection unit 21 becomes low level, so that the microcomputer switches from the active state to the standby state. After a certain period of time, the current limit value of the load drive circuit 1 is switched from a state where the limit value is large to a state where the limit value is small.
As a result, when the microcomputer switches from the normal operation state to the standby state, the switching time of the current limit value can be delayed by a time sufficient for the information storage operation of the memory to be completed.
[0034]
On the other hand, if the current limit value is lowered in the standby state as in the present invention, the output may stop due to an instantaneous current increase due to noise or the like. In order to prevent such malfunction due to noise, an embodiment using a load driving circuit incorporating a timer overcurrent detection function that stops output when an overcurrent continues to flow for a certain time will be described with reference to FIGS. 13 and 14. To do.
As shown in FIG. 14, in this embodiment, the current limiting function is executed by the overcurrent detection circuit 13, and the standby control unit 2 sends the overcurrent detection current switching signal and the timer time switching signal of the timer to the load driving circuit. 1 is supplied. As shown in FIG. 14, the overcurrent detection circuit 13 uses a comparator COM3 in place of the differential amplifier of the current limiting circuit 12 of FIG. 2, and a timer latch 14 to which the output of the comparator COM3 is input and the timer latch MOSFET 1 driven by 14 is added. The timer latch 14 outputs a signal when the signal is continuously input for the timer time set by the timer time switching signal. As shown in the figure, in this embodiment, the output circuit of the regulator 11 uses a MOSFET instead of a transistor.
[0035]
13 and 14, when the current flowing through the output circuit exceeds the current limit value set by the detection current switching signal, the output of the comparator COM3 is inverted and input to the timer latch 14, and the comparator When the output of COM3 is continuously output for a time longer than the timer time set in the timer latch 14, the timer latch 14 outputs a high level signal and the MOSFET 1 becomes conductive, so that the MOSFET of the regulator output circuit is cut off. .
[0036]
In the load driving device shown in FIG. 13 and FIG. 14, in the standby state, the overcurrent detection current is set low, and at the same time, the timer time of the timer latch 14 is switched long by the timer time switching signal. Even if the increase occurs, the timer time is set to be long, so that no signal is output from the timer latch 14 and malfunction can be prevented. When the power switch or the like is turned on and the normal operation is started, the standby control unit 2 sets the overcurrent detection current to be high and the timer time of the timer latch 14 is switched short.
FIG. 15 shows an embodiment in which a current mirror circuit is used in place of the current detection resistor Rm of the overcurrent detection circuit 13 of FIG. 14, and the operation is the same as that of the embodiment of FIG.
[0037]
By the way, normally, a large-capacitance capacitor is connected to the output side of the load drive device to stabilize the output voltage. However, the microcomputer is in a standby state when a battery, which is the power source of the circuit, is connected. If the current limit value is set to a small value during standby, as in the load driving device of the present invention, the capacitor connected to the output side of the load driving device is charged with a small current when the battery is connected. The problem is that it takes time.
[0038]
FIG. 16 is a diagram showing an embodiment of a load driving device for solving such a problem. In addition to the configuration of the embodiment of FIG. 1, input voltage detection for detecting the input voltage of the load driving circuit 1 is shown. A circuit 6, a delay circuit 7 to which an output of the input voltage detection circuit 6 is input, an OR circuit OR to which a signal from the standby control unit 2 and an output of the delay circuit 7 are input, and an output side of the load driving circuit 1 A connected large-capacitance capacitor Co is provided. The delay time of the delay circuit 7 is set to a time sufficient for charging the capacitor Co.
[0039]
The operation of the load driving device of the embodiment shown in FIG. 16 will be described with reference to the waveform diagram of FIG.
Before the battery Vin is connected to the load drive circuit 1, the output of the delay circuit 7 is at a high level, and this high level signal is input to the load drive circuit 1 via the OR circuit OR. As shown in FIG. 17 (d), the current limit value switching signal, which is the output of the OR circuit OR, is at a high level, and the current limit value is in a large limit value state. When the battery Vin is connected to the load driving circuit 1 at time t0 in FIG. 17 (a), the current limit value is large, so that the capacitor Co can be charged with a large current, as shown in FIG. 17 (e). As shown, the output voltage Vout rises rapidly. On the other hand, when the battery Vin is connected, the input voltage detection circuit 6 detects the voltage of the battery Vin and sends a signal to the delay circuit 7. Since the delay circuit 7 sets the output to the low level after a lapse of a certain time from the input of the signal, the current limit value switching signal is set to the low level after a certain time after the battery is connected, as shown in FIG. Thus, the current limit value of the load driving circuit 1 is switched to a small value. The operation at power-on is the same as that in FIG.
As described above, when the battery is connected, the current limit value can be set large even during standby, so the capacitor connected to the output side of the load driving device can be charged with a large current, and the load driving device Output rise time can be shortened.
[0040]
18 is provided with a one-shot pulse generation circuit 8 in place of the delay circuit 7 of the load driving device of the embodiment of FIG. 16, and in this case, before connecting the battery Vin to the load driving circuit 1. Since the output of the one-shot pulse generation circuit 8 is at a low level, the current limit value switching signal that is the output of the OR circuit OR is at a low level as shown in FIG. The current limit value of 1 is small. When the battery Vin is connected to the load driving circuit 1 at time t0 in FIG. 19A, the input voltage detection circuit 6 detects the voltage of the battery Vin and sends a signal to the one-shot pulse generation circuit 8. When a signal is input, the one-shot pulse generation circuit 8 outputs a signal that is at a high level for a certain time. Accordingly, as shown in FIG. 19D, the current limit value switching signal is at a high level for a certain period of time, and the current limit value is switched to a large level, so that the capacitor Co can be charged with a large current. As shown, the output voltage Vout rises rapidly. The duration of the pulse output from the one-shot pulse generation circuit 8 is also set to a time sufficient to charge the capacitor Co. When the pulse from the one-shot pulse generation circuit 8 disappears, the current limit value switching signal Becomes a low level, and the current limit value of the load driving circuit 1 is switched to a small value.
[0041]
In the above embodiment, the delay circuit or the one-shot pulse generation circuit is used to increase the current limit value for a certain period of time when the battery is connected. However, the output voltage is monitored, and when the output voltage reaches a predetermined voltage, the current limit value is decreased. FIG. 20 is a diagram showing an embodiment in which the output voltage is monitored in this way.
In this embodiment, in addition to the configuration of the embodiment of FIG. 1, the input voltage detection circuit 6 that detects the input voltage of the load drive circuit 1 and the output voltage of the load drive circuit 1 have become a specified value. The output voltage detection circuit 9 to detect, the flip-flop circuit 10 which is set by the output of the input voltage detection circuit 6 and reset by the output of the output voltage detection circuit 9, the signal from the standby control unit 2 and the flip-flop circuit 10 An OR circuit OR to which an output is input and a large-capacitance capacitor Co connected to the output side of the load driving circuit 1 are provided.
[0042]
In FIG. 20, before connecting the battery Vin to the load driving circuit 1, the output of the flip-flop circuit 9 is at a low level, and the current limit value switching signal that is the output of the OR circuit OR is shown in FIG. As shown, the level is low, and the current limit value of the load driving circuit 1 is small. When the battery Vin is connected to the load driving circuit 1 at time t0 in FIG. 21A, the input voltage detection circuit 6 outputs a signal, the flip-flop circuit 10 is set, and the output of the flip-flop circuit 10 is high. Therefore, the current limit value switching signal becomes a high level as shown in FIG. Therefore, the current limit value of the load driving circuit 1 is switched to a large value, the capacitor Co can be charged with a large current, and the output voltage Vout rises rapidly as shown in FIG. 21 (d). On the other hand, when the output voltage Vout rises to the specified value, as shown in FIG. 21E, the output voltage detection circuit 9 outputs a signal, so that the flip-flop circuit 10 is reset and the output of the flip-flop circuit 10 is low. Become a level. As a result, the current limit value switching signal becomes a low level as shown in FIG. 21F, and the current limit value of the load drive circuit 1 is switched to a small level. The operation at power-on is the same as that in FIG.
As described above, the current limit value can be set to a large value from when the battery is connected until the output voltage of the load driving device rises to the specified value, so the capacitor connected to the output side of the load driving device can be charged with a large current. The rise time of the output of the load driving device can be shortened.
[0043]
The microcomputer is also provided with a power-on reset circuit that resets the microcomputer after a certain period of time after the input voltage exceeds the specified value. It is also possible to reset the loop circuit.
FIG. 22 is a diagram showing an embodiment using a power-on reset circuit. The power-on reset circuit 15 includes an output voltage detection circuit 16 that detects that the output voltage Vout of the load drive circuit 1 has reached a specified value, and FIG. The delay circuit 17 is configured. In this load driving device, when the output voltage Vout rises to a specified value, the output voltage detection circuit 16 outputs a signal to the delay circuit 17, and the delay circuit 17 receives a signal from the output voltage detection circuit 16 after a certain time. A signal as shown in FIG. 23E is output and supplied to the microcomputer 3 as a reset signal RESET. The reset signal RESET is input to the reset terminal R of the flip-flop circuit 10 at the same time. Therefore, as shown in FIG. 23 (f), the current limit value switching signal becomes high level when the battery is connected, and becomes low level after a certain period of time has elapsed since the output voltage has risen to the specified value. The current limit value of the load drive circuit 1 can be increased until the voltage rises.
[0044]
Furthermore, it is possible to monitor only the output voltage of the load drive circuit and switch the current limit value according to the output voltage. FIG. 24 is a diagram showing an embodiment in which only the output voltage is monitored in this way. is there.
In this embodiment, in addition to the configuration of the embodiment of FIG. 1, the output voltage detection circuit 9 that detects that the output voltage of the load drive circuit 1 has reached a specified value, and the output of the output voltage detection circuit 9 are An input NOT circuit NOT, an OR circuit OR to which a signal from the standby control unit 2 and an output of the NOT circuit NOT are input, and a large-capacitance capacitor Co connected to the output side of the load driving circuit 1 are provided. .
[0045]
In FIG. 24, before the battery Vin is connected to the load drive circuit 1, the output of the output voltage detection circuit 9 is at a low level and the output of the knot circuit NOT is at a high level, so that it is the output of the OR circuit OR. The current limit value switching signal is at a high level as shown in FIG. 25 (e), and the current limit value of the load drive circuit 1 is large. Therefore, when the battery Vin is connected to the load driving circuit 1, the capacitor Co is charged with a large current, and the output voltage Vout rises rapidly as shown in FIG. 25 (c). On the other hand, when the output voltage Vout rises to the specified value, the output of the output voltage detection circuit 9 becomes high level and the output of the knot circuit NOT becomes low level as shown in FIG. The switching signal becomes a low level as shown in FIG. 25E, and the current limit value of the load driving circuit 1 is switched to a small value. The operation at power-on is the same as that in FIG.
As described above, when the output voltage is below the specified value, the current limit value is set high, and when the output voltage exceeds the specified value, the current limit value is switched low, so even if the load is in a low current consumption state When the battery is connected, the rise of the output can be accelerated.
In the above embodiment, the knot circuit is used. However, when the input voltage is lower than the specified value, a high level is output. When the input voltage is higher than the specified value, the output voltage detection circuit outputs a low level. If k is used, a knot circuit is unnecessary.
[0046]
Further, a reduced voltage reset circuit can be used instead of the output voltage detection circuit of the embodiment of FIG. 25, and FIG. 26 is a diagram showing an embodiment using the reduced voltage reset circuit. The voltage reduction reset circuit 4 includes an output voltage detection circuit 16 and a delay circuit 17 that detect that the output voltage Vout of the load drive circuit 1 has reached a specified value. The delay circuit 17 is a circuit for inputting an input voltage to the delay circuit 17. Since the input voltage is delayed for a certain time only at the rising edge, the delay circuit 17 outputs the same signal as the signal shown in FIG. In this load driving device, before the battery Vin is connected to the load driving circuit 1, the output of the delay circuit 17 is at a low level, and the output of the knot circuit NOT is at a high level. The current limit value switching signal is at a high level as shown in FIG. 27E, and the current limit value of the load drive circuit 1 is large. Therefore, when the battery Vin is connected to the load driving circuit 1, the capacitor Co is charged with a large current, and the output voltage Vout rises rapidly as shown in FIG. 27 (c). When the output voltage Vout rises to a specified value, the output of the output voltage detection circuit 16 becomes high level, and after a certain period of time, the output of the delay circuit 17 becomes high level as shown in FIG. Become. As a result, the output of the knot circuit NOT becomes low level, so that the current limit value switching signal becomes low level as shown in FIG. 27E, and the current limit value of the load driving circuit 1 is switched to low.
As described above, when the output voltage is less than or equal to the specified value, the current limit value is set high, and after a certain period of time after the output voltage rises to the specified value, the current limit value is switched low. Even in a low current consumption state, the rise of the output can be accelerated when the battery is connected.
[0047]
The above-described configuration for shortening the output rise time of the load driving device when the battery is connected can be used in combination with a microcomputer equipped with a reduced voltage reset circuit or a runaway reset circuit. As shown in FIG.
In FIG. 28, the reduced voltage reset circuit 4 is composed of the voltage detection circuit and the delay circuit as described above, and outputs the same signal as the signal shown in FIG. 23 (e). Therefore, in this embodiment, the NOR circuit NOR The output is input to the reset terminal R of the flip-flop circuit 10.
[0048]
The operation of the load driving device shown in FIG. 28 is substantially the same as that of the load driving device of FIG. 22, and will be described below using the waveform diagram of FIG.
Before the battery Vin is connected to the load driving circuit 1, the output of the flip-flop circuit 10 is at a low level, and the current limit value switching signal that is the output of the OR circuit OR is low as shown in FIG. The current limit value of the load drive circuit 1 is small. When the battery Vin is connected to the load driving circuit 1 at time t0 in FIG. 23A, the input voltage detection circuit 6 outputs a signal, the flip-flop circuit 10 is set, and the output of the flip-flop circuit 10 is high. Therefore, the current limit value switching signal becomes a high level as shown in FIG. Therefore, the current limit value of the load driving circuit 1 is switched to a large value, the capacitor Co can be charged with a large current, and the output voltage Vout rises rapidly as shown in FIG. Then, after a certain period of time has elapsed after the output voltage Vout has risen to the specified value, the reduced voltage reset circuit 4 outputs a reset signal RESET shown in FIG. 23 (e), and the microcomputer 3 is reset. At the same time, since the reset signal RESET from the NOR circuit NOR is input to the reset terminal R of the flip-flop circuit 10, the current limit value switching signal becomes low level as shown in FIG. The current limit value of the circuit 1 is switched to a small value.
Since the operation after the power switch is turned on and the microcomputer enters the normal operation state is the same as the operation shown in FIG. 10, detailed description thereof is omitted.
[0049]
In the above embodiment, the example in which the load driving device of the present invention is applied to a system including a microcomputer has been described. However, the load of the present invention can be applied to various systems in which the load state changes under a predetermined condition other than the microcomputer. A drive device can be applied.
In the above embodiment, a PNP transistor or FET is used as an output transistor of the regulator. However, an NPN transistor or FET can also be used.
Furthermore, although the reduced voltage reset circuit and the power-on reset circuit have been described as separate circuits, they may be the same circuit and have functions of reduced voltage reset and power-on reset.
[0050]
【The invention's effect】
As described above in detail, according to the load driving device, the load driving circuit, the current limiting circuit or the load driving method according to the present invention, the current limiting value of the current limiting means can be switched by the control means, and the load is reduced. Since the current limit value can be set low in a low operating state such as a current state, a load abnormality can be detected even in a low current consumption state.
[0051]
In addition, if the load driving device according to the present invention is applied to a system using a microcomputer and the current limit value is switched by a control means for controlling the microcomputer to a standby state with a small power supply current, in a standby state with a small power supply current of the microcomputer. Because the current limit value of the current limiter is set low, even if the microcomputer is in the low current consumption mode, if the current rises abnormally due to a microcomputer runaway, etc., the power output is reduced. Reduced voltage reset can be applied and battery consumption can be reduced.
Further, if the load driving device of the present invention is applied to a system in which the microcomputer includes a voltage reduction reset circuit and a runaway reset circuit, and the runaway detection prohibition signal is output from the control means to the runaway reset circuit in the microcomputer standby state, the microcomputer When the runaway detection function during standby is stopped, the current limit value of the current limiter of the load drive unit is set low, and if the current increases abnormally due to microcomputer runaway, the current limit is applied and the load drive unit output decreases. Since the reduced voltage reset is applied, the runaway of the microcomputer can be stopped and the battery consumption can be reduced.
[0052]
Also provided is a timing control means for controlling the timing of sending the standby signal supplied to the microcomputer from the control means and the switching signal supplied to the current limiting means, and the standby signal is output when the microcomputer switches from the normal operation state to the standby state. If a switching signal that switches the current limit value to a small value after a certain period of time has been output, the load drive device current limit value will switch to a smaller value after the system enters the standby state when the microcomputer is powered off. In spite of this, it is possible to prevent the problem that current limitation is applied. Further, when the microcomputer is switched from the standby state to the normal operation state by the above timing control means, if the microcomputer is switched from the standby state to the normal operation state after a certain period of time after outputting a switching signal for switching the current limit value to a large value. When the microcomputer power is turned on, the current limit value of the load drive device is switched from a small value to a large value, and then the standby signal supplied to the microcomputer is switched. it can.
[0053]
In addition, a timer circuit that detects that overcurrent has continued to flow for a certain period of time is provided in the current limiting means, and when the current limiting value of the current limiting means is set low, if the timer time of this timer circuit is increased, the power consumption can be reduced. Even when the current limit value is set to a low value in the current state, the timer time of the timer circuit becomes long, so that malfunction due to noise can be reliably prevented.
[0054]
Furthermore, an input voltage detection circuit and a delay circuit for detecting the input voltage of the load driving device are provided. When the input voltage is not applied, the current limit value is set high, and when the input voltage is applied, the input is If the current limit value is set low after a certain period of time after the voltage rises, the capacitor provided on the output side of the load drive device is charged with a large current even when the battery is connected, even in the low current consumption mode. And the rise time of the output of the load driving device can be shortened. Further, even if an input voltage detection circuit for detecting the input voltage of the load driving device and a one-shot pulse generation circuit are provided, the rise of the output of the load driving device when the battery is connected can be similarly accelerated.
[0055]
Furthermore, the input voltage detection circuit that detects the input voltage of the load driving device, the output voltage detection circuit that detects the output voltage of the load driving device, and the output of the input voltage detection circuit, is reset by the output of the output voltage detection circuit If the output voltage of the flip-flop circuit is input to the current limiting means, the current limit value becomes large when the input voltage rises, and the current limit is increased when the output voltage rises to the specified value. Since the value is switched to a small value, it is possible to prevent the rise of the output of the load driving device from being delayed when the battery is connected even when the load is in a low current consumption state. Also, an input voltage detection circuit for detecting the input voltage of the load driving device, an output voltage detection circuit for detecting the output voltage of the load driving device, a delay circuit, and an output of the input voltage detection circuit, the output voltage detection circuit Provided with a flip-flop circuit that is reset by the output of the delay circuit to which the output is input, and if the output of this flip-flop circuit is input to the current limiting means, the current limit value is increased when the input voltage rises. Then, since the current limit value is switched to a small value after a certain period after the output voltage rises to the specified value, the output of the load driving device when the battery is connected, even if the load is in a low current consumption state, as described above The rise of can be made faster.
[0056]
In addition, an output voltage detection circuit that detects the output voltage of the load drive device is provided, and the output of this output voltage detection circuit is input to the current limiting means, so that the current limit value is set high when the output voltage is below the specified value. If the current limit value is set low when the output voltage is above the specified value, the current limit value is set high when the output voltage is below the specified value, and the current limit value is set when the output voltage exceeds the specified value. Since it is switched to a low level, even when the load is in a low current consumption state, the rise of the output can be accelerated when the battery is connected. Furthermore, an output voltage detection circuit for detecting the output voltage of the load driving device and a delay circuit for delaying the output voltage detection circuit output only when the output of the output voltage detection circuit is inputted and the output voltage rises are provided. By inputting the circuit output to the current limiting means, if the output voltage is below the specified value, set the current limiting value high, and if the output voltage rises to the specified value, set the current limiting value low after a certain period of time. Similarly, even when the load is in a low current consumption state, the rise of the output can be accelerated when the battery is connected.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a load driving device according to an embodiment of the present invention.
FIG. 2 is a diagram showing details of a load driving circuit of the load driving device of FIG. 1;
FIG. 3 is a diagram showing details of another embodiment of the load drive circuit of the load drive device of FIG. 1;
FIG. 4 is a block diagram showing a load driving device according to another embodiment of the present invention.
FIG. 5 is a diagram illustrating details of a standby control unit of the load driving device of FIG. 4;
6 is a waveform diagram showing an operation of the standby control unit in FIG. 5. FIG.
FIG. 7 is a block diagram showing a load driving device according to still another embodiment of the present invention.
FIG. 8 is a diagram showing details of an overcurrent detection circuit of the load driving device of FIG. 7;
FIG. 9 is a diagram illustrating details of a standby control unit of the load driving device of FIG. 7;
10 is a waveform diagram showing the operation of the standby control unit of FIG. 9;
FIG. 11 is a diagram showing details of another embodiment of the standby control unit of the load driving device of FIG. 7;
12 is a waveform diagram showing an operation of the standby control unit in FIG. 11. FIG.
FIG. 13 is a block diagram showing a load driving device according to still another embodiment of the present invention.
14 is a diagram showing details of an overcurrent detection circuit of the load driving device of FIG. 13;
FIG. 15 is a diagram showing details of another embodiment of the overcurrent detection circuit of the load driving device of FIG. 13;
FIG. 16 is a block diagram showing a load driving device according to still another embodiment of the present invention.
17 is a waveform diagram showing an operation of the load driving device of FIG.
FIG. 18 is a block diagram showing a load driving device according to still another embodiment of the present invention.
FIG. 19 is a waveform diagram showing an operation of the load driving device of FIG. 18;
FIG. 20 is a block diagram showing a load driving device according to still another embodiment of the present invention.
FIG. 21 is a waveform diagram showing an operation of the load driving device of FIG. 20;
FIG. 22 is a block diagram showing a load driving apparatus according to still another embodiment of the present invention.
FIG. 23 is a waveform diagram showing an operation of the load driving device of FIG. 22;
FIG. 24 is a block diagram showing a load driving device according to still another embodiment of the present invention.
25 is a waveform diagram showing an operation of the load driving device of FIG. 24. FIG.
FIG. 26 is a block diagram showing a load driving apparatus according to still another embodiment of the present invention.
FIG. 27 is a waveform diagram showing an operation of the load driving device of FIG. 26;
FIG. 28 is a block diagram showing a load driving apparatus according to still another embodiment of the present invention.
[Explanation of symbols]
1 Load drive circuit with built-in current limiting function
2 Standby control unit
3 Microcomputer
4 Reduced voltage reset circuit
5 Runaway reset circuit
6 Input voltage detection circuit
7, 17, 22 Delay circuit
8 One-shot pulse generator
9, 16 Output voltage detection circuit
10 Flip-flop circuit
11 Regulator
12 Current limit circuit
13 Overcurrent detection circuit
14 Timer latch
15 Power-on reset circuit
21 SW detector
SW1, SW2, SW3 switch
Tr1, Tr2, Tr3 transistors
AMP1, AMP2 operational amplifier
VR1, VR2 reference power supply
COM1-COM3 comparator
FET1-FET4 field effect transistor
OR OR circuit
NOR NOR circuit
NOT knot circuit
Rm, R1-R10 resistance
C1, Co capacitor
OC1 current source

Claims (5)

負荷としてのマイコンに電源を供給するとともに、マイコンへの電流を制限する電流制限手段を備えた負荷駆動装置において、
上記マイコンを電源電流が少ないスタンバイ状態に制御するとともに、上記マイコンのスタンバイ状態において上記電流制限手段の電流制限値を低く設定する制御手段と、
上記制御手段から上記マイコンに供給するスタンバイ信号と、上記電流制限手段に供給する切替信号の送出タイミングを制御するタイミング制御手段を備えたことを特徴とする負荷駆動装置。
In the load driving device having a current limiting means for supplying power to the microcomputer as a load and limiting the current to the microcomputer,
Control means for controlling the microcomputer to a standby state with a low power supply current, and setting the current limit value of the current limit means low in the standby state of the microcomputer;
A load driving device comprising a timing control means for controlling a transmission timing of a standby signal supplied to the microcomputer from the control means and a switching signal supplied to the current limiting means.
上記マイコンにリセット信号を出力する減電圧リセット回路と暴走リセット回路とを備え、
上記制御手段が上記マイコンのスタンバイ状態において、暴走リセット回路に暴走検知禁止信号を出力することを特徴とする、請求項1に記載の負荷駆動装置。
A voltage reduction reset circuit that outputs a reset signal to the microcomputer and a runaway reset circuit are provided.
2. The load driving apparatus according to claim 1, wherein the control means outputs a runaway detection inhibition signal to the runaway reset circuit in a standby state of the microcomputer.
上記タイミング制御手段が、少なくともマイコンが通常動作状態からスタンバイ状態に切り替わるとき、スタンバイ信号が出力されてから一定期間後に電流制限値を小に切替える切替信号を出力することを特徴とする、請求項1に記載の負荷駆動装置。The timing control means outputs a switching signal for switching the current limit value to a small value after a predetermined period from the output of the standby signal when at least the microcomputer switches from the normal operation state to the standby state. The load drive device described in 1. 上記タイミング制御手段が、マイコンがスタンバイ状態から通常動作状態に切り替わるときは、電流制限値を大に切替える切替信号を出力してから一定期間後に、マイコンをスタンバイ状態から通常動作状態に切替えるとともに、マイコンが通常動作状態からスタンバイ状態に切り替わるときは、マイコンがスタンバイ状態に切り替わってから一定期間後に電流制限値を小に切替える切替信号を出力することを特徴とする、請求項1に記載の負荷駆動装置。When the timing control means switches the microcomputer from the standby state to the normal operation state, the microcomputer switches the microcomputer from the standby state to the normal operation state after a certain period of time after outputting a switching signal for switching the current limit value to a large value. 2. The load driving device according to claim 1, wherein when the microcomputer switches from the normal operation state to the standby state, the microcomputer outputs a switching signal for switching the current limit value to a small value after a certain period after the microcomputer switches to the standby state. . 上記電流制限手段が過電流が一定時間流れ続けたことを検知するタイマ回路を備え、
上記制御手段の出力により電流制限手段によって電流制限値を低く設定する場合、上記タイマ回路のタイマ時間を長く切替えることを特徴とする、請求項1に記載の負荷駆動装置。
The current limiting means includes a timer circuit that detects that overcurrent has continued for a certain period of time,
2. The load driving device according to claim 1, wherein when the current limiting value is set low by the current limiting means based on the output of the control means, the timer time of the timer circuit is switched long.
JP2003111158A 2003-04-16 2003-04-16 Load drive device Expired - Fee Related JP4083065B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003111158A JP4083065B2 (en) 2003-04-16 2003-04-16 Load drive device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003111158A JP4083065B2 (en) 2003-04-16 2003-04-16 Load drive device

Publications (3)

Publication Number Publication Date
JP2004320890A JP2004320890A (en) 2004-11-11
JP2004320890A5 JP2004320890A5 (en) 2006-05-11
JP4083065B2 true JP4083065B2 (en) 2008-04-30

Family

ID=33471791

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003111158A Expired - Fee Related JP4083065B2 (en) 2003-04-16 2003-04-16 Load drive device

Country Status (1)

Country Link
JP (1) JP4083065B2 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5177986B2 (en) * 2006-10-04 2013-04-10 ローム株式会社 LOAD DRIVE DEVICE AND ELECTRIC DEVICE USING THE SAME
JP2011030353A (en) * 2009-07-24 2011-02-10 Nec Personal Products Co Ltd Electric appliance and protection circuit of electric appliance
JP5361824B2 (en) * 2010-08-04 2013-12-04 三洋電機株式会社 Pack battery and overcurrent detection method
JP5778094B2 (en) * 2012-08-02 2015-09-16 国産電機株式会社 Electric work vehicle, battery device thereof, and battery monitoring device
EP2728439A1 (en) * 2012-10-31 2014-05-07 Thomson Licensing Device and method for electric power management of a plurality of peripheral interfaces
JP2016126359A (en) * 2014-12-26 2016-07-11 日立オートモティブシステムズ株式会社 Electronic device
CN116661543B (en) * 2023-07-28 2023-10-20 常州满旺半导体科技有限公司 Intelligent regulation system and method based on low-power consumption voltage source

Also Published As

Publication number Publication date
JP2004320890A (en) 2004-11-11

Similar Documents

Publication Publication Date Title
US6900618B2 (en) Power generation control apparatus for vehicle
JP3719303B2 (en) Vehicle power supply device
JP2004173481A (en) Switching regulator and power supply
KR101346128B1 (en) Method and system for protecting voltage regulator driver circuitry during field coil short circuit condition
JP4083065B2 (en) Load drive device
US6084384A (en) Power supply circuit with auxiliary constant voltage circuit inhibit feature
JP4107052B2 (en) Multi-output power supply
JP2001157356A (en) Power control circuit for short-circuit detection and overcurrent protection and method thereof
US5986442A (en) Load drive device having short-circuit protection function
JP2001103674A (en) System and method for charging battery for cellular telephone
JP3608000B2 (en) Power supply unit for in-vehicle computing equipment
JP2007193458A (en) Power supply circuit
JP2624524B2 (en) Motor overload detection device
JP2571589Y2 (en) Watchdog detection control circuit
JP2002305037A (en) Battery-type power tool
JPH0779562A (en) Dc/dc converter
JP2565567B2 (en) Engine generator
JP3466789B2 (en) Power backup device
JP2555459B2 (en) Power control device
JP2002034237A (en) On-vehicle power supply
JPH0441371Y2 (en)
JP2607370Y2 (en) Charge / discharge control circuit
JPH08168186A (en) Battery charger
JP3329600B2 (en) Voltage control circuit, DC / DC converter including this voltage control circuit, and electronic device provided with this DC / DC converter
JPH10253053A (en) Combustion device

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060316

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060316

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20061016

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20061124

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070606

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070703

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070903

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20071009

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20071024

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20071127

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080107

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: 20080212

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080212

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: 20110222

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20110222

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20120222

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20120222

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20130222

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20140222

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20150222

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees