JP2015046710A - Load drive circuit - Google Patents

Load drive circuit Download PDF

Info

Publication number
JP2015046710A
JP2015046710A JP2013175929A JP2013175929A JP2015046710A JP 2015046710 A JP2015046710 A JP 2015046710A JP 2013175929 A JP2013175929 A JP 2013175929A JP 2013175929 A JP2013175929 A JP 2013175929A JP 2015046710 A JP2015046710 A JP 2015046710A
Authority
JP
Japan
Prior art keywords
circuit
signal
current
drive
load
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
JP2013175929A
Other languages
Japanese (ja)
Inventor
正紀 安藤
Masaki Ando
正紀 安藤
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.)
Tokai Rika Co Ltd
Original Assignee
Tokai Rika 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 Tokai Rika Co Ltd filed Critical Tokai Rika Co Ltd
Priority to JP2013175929A priority Critical patent/JP2015046710A/en
Publication of JP2015046710A publication Critical patent/JP2015046710A/en
Pending legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide a load drive circuit that can detect an overcurrent not with the use of a separate overcurrent detection circuit but with the use of part of the load drive circuit.SOLUTION: A load drive circuit includes: a bridge circuit 100 for controlling on/off a current Im flowing through a motor 110; a drive circuit 200 for driving the bridge circuit 100; a microcomputer 300 for generating a drive instruction signal Vs giving an instruction to drive the motor 110; a current feedback circuit 400 for comparing a current detection signal Vi based on the load current Im with a desired value signal Vref and outputting a comparison output signal Vc; a holding circuit 500 for holding a current detection result on the basis of the drive instruction signal Vs and the comparison output signal Vc; and a gate circuit 600 for driving the drive circuit 200 on the basis of the drive instruction signal Vs and a latch output signal Vr output from the holding circuit 500. The microcomputer 300 performs overcurrent detection by time measurement based on the drive instruction signal Vs and the latch output signal Vr.

Description

本発明は、負荷駆動回路に関し、特に、過電流検出部を別途設けずに過電流検出が可能な負荷駆動回路に関する。   The present invention relates to a load drive circuit, and more particularly to a load drive circuit capable of detecting an overcurrent without separately providing an overcurrent detection unit.

従来、モータ等の負荷に流れる電流を制御する負荷駆動回路に過電流検出回路を備えたものがある(例えば、特許文献1参照)。   2. Description of the Related Art Conventionally, there is a load drive circuit that controls an electric current flowing through a load such as a motor, which includes an overcurrent detection circuit (see, for example, Patent Document 1).

この負荷駆動回路は、負荷に流れる電流を電圧値として検出するシャント抵抗と、この検出電圧と閾値電圧とを比較するコンパレータを有している。閾値電圧は、閾値生成回路で生成され、平均負荷電流、負荷電流の交流変化分、電源電圧値が大きいほど閾値電圧を増やし、負荷の温度が低いほど閾値電圧を増やすように設定されている。これにより、所望のヒステリシス特性を保つことができ、過電流の検出動作と過電流検出状態からの復帰動作とを安定して行うことができるとされている。   This load driving circuit includes a shunt resistor that detects a current flowing through the load as a voltage value, and a comparator that compares the detected voltage with a threshold voltage. The threshold voltage is generated by a threshold generation circuit, and is set so that the threshold voltage is increased as the power supply voltage value is larger and the threshold voltage is increased as the load temperature is lower. Thereby, desired hysteresis characteristics can be maintained, and an overcurrent detection operation and a return operation from an overcurrent detection state can be stably performed.

特開2013−62721号公報JP 2013-62721 A

しかし、従来の負荷駆動回路は、負荷駆動回路の一部を利用して過電流検出を行なうものではなく、過電流検出回路を負荷駆動回路の他に別途設ける必要があった。このため、回路スペースが増大し、部品点数が増加するという問題があった。   However, the conventional load drive circuit does not perform overcurrent detection using a part of the load drive circuit, and it is necessary to separately provide an overcurrent detection circuit in addition to the load drive circuit. Therefore, there is a problem that the circuit space increases and the number of parts increases.

従って、本発明の目的は、過電流検出回路を別途設けずに、負荷駆動回路の一部を利用して過電流検出が可能な負荷駆動回路を提供することにある。   Accordingly, an object of the present invention is to provide a load drive circuit capable of detecting an overcurrent by using a part of the load drive circuit without separately providing an overcurrent detection circuit.

[1]本発明は、上記目的を達成するために、負荷に流れる電流をオンオフ制御するブリッジ回路と、前記ブリッジ回路を駆動するドライブ回路と、前記負荷の駆動指示を行なう駆動指示信号を発生する制御部と、前記負荷に直列接続された電流検出用抵抗と比較器とにより構成され、負荷電流の電流検出信号と目標値信号との比較により比較出力信号を出力する電流フィードバック回路と、前記駆動指示信号と前記比較出力信号とに基づいて電流検知結果を保持する保持回路と、前記駆動指示信号と前記保持回路から出力されるラッチ出力信号とに基づいて前記ドライブ回路を駆動するゲート回路と、を有し、前記制御部は、前記駆動指示信号及び前記ラッチ出力信号に基づく時間計測により過電流検出を行なうことを特徴とする負荷駆動回路を提供する。 [1] In order to achieve the above object, the present invention generates a bridge circuit for controlling on / off of a current flowing through a load, a drive circuit for driving the bridge circuit, and a drive instruction signal for instructing driving of the load. A current feedback circuit configured by a control unit, a current detection resistor and a comparator connected in series to the load, and outputting a comparison output signal by comparing a current detection signal of a load current with a target value signal; and the drive A holding circuit that holds a current detection result based on an instruction signal and the comparison output signal; a gate circuit that drives the drive circuit based on the drive instruction signal and a latch output signal output from the holding circuit; And the controller performs overcurrent detection by measuring time based on the drive instruction signal and the latch output signal. To provide the road.

[2]前記制御部は、正常電流のときに目標電流に到達する時間と過電流時に目標電流に到達する時間との間に設定した基準時間を基準として、過電流か否かを判断することを特徴とする上記[1]に記載の負荷駆動回路であってもよい。 [2] The control unit determines whether or not there is an overcurrent with reference to a reference time set between a time to reach the target current at the normal current and a time to reach the target current at the overcurrent. The load driving circuit according to the above [1] may be characterized.

[3]また、前記制御部は、1チップマイコンであり、前記時間計測は、前記1チップマイコンに内蔵されたタイマーユニット部により行なわれることを特徴とする上記[1]又は[2]に記載の負荷駆動回路であってもよい。 [3] In addition, in the above [1] or [2], the control unit is a one-chip microcomputer, and the time measurement is performed by a timer unit unit built in the one-chip microcomputer. The load driving circuit may be used.

本発明によれば、過電流検出回路を別途設けずに、負荷駆動回路の一部を利用して過電流検出が可能な負荷駆動回路を提供することができる。   According to the present invention, it is possible to provide a load driving circuit capable of detecting an overcurrent using a part of the load driving circuit without separately providing an overcurrent detection circuit.

図1は、本発明の実施の形態に係る負荷駆動回路の回路構成図である。FIG. 1 is a circuit configuration diagram of a load driving circuit according to an embodiment of the present invention. 図2は、本発明の実施の形態に係る負荷駆動回路の正常動作時における各部の各信号波形を示す図である。FIG. 2 is a diagram showing each signal waveform of each part during normal operation of the load driving circuit according to the embodiment of the present invention. 図3は、正常動作時とショート故障発生時(過電流発生時)のそれぞれの電流検出信号波形を示す図である。FIG. 3 is a diagram showing current detection signal waveforms at the time of normal operation and at the time of occurrence of a short-circuit failure (when an overcurrent occurs). 図4は、負荷駆動回路における過電流検出の動作を示すフローチャートである。FIG. 4 is a flowchart showing an overcurrent detection operation in the load drive circuit. 図5は、本発明の実施の形態に係る負荷駆動回路のショート故障発生時(過電流発生時)における各部の各信号波形を示す図である。FIG. 5 is a diagram showing each signal waveform of each part when a short fault occurs (when an overcurrent occurs) in the load driving circuit according to the embodiment of the present invention.

(負荷駆動回路1の全体構成)
図1は、本発明の実施の形態に係る負荷駆動回路の回路構成図である。
(Overall configuration of load drive circuit 1)
FIG. 1 is a circuit configuration diagram of a load driving circuit according to an embodiment of the present invention.

本発明の実施の形態に係る負荷駆動回路1は、負荷であるモータ110に流れる電流Imをオンオフ制御するブリッジ回路100と、ブリッジ回路100を駆動するドライブ回路200と、モータ110の駆動指示を行なう駆動指示信号Vsを発生する制御部としてのマイコン300と、モータ110に直列接続された電流検出用抵抗であるシャント抵抗410と比較器420とにより構成され、負荷電流Imの電流検出信号Viと目標値信号Vrefとの比較により比較出力信号Vcを出力する電流フィードバック回路400と、駆動指示信号Vsと比較出力信号Vcとに基づいて電流検知結果を保持する保持回路500と、駆動指示信号Vsと保持回路500から出力されるラッチ出力信号Vrとに基づいてドライブ回路200を駆動するゲート回路600と、を有し、マイコン300は、駆動指示信号Vs及びラッチ出力信号Vrに基づく時間計測により過電流検出を行なうように概略構成されている。   The load drive circuit 1 according to the embodiment of the present invention performs on / off control of a current Im flowing through the motor 110 as a load, a drive circuit 200 that drives the bridge circuit 100, and a drive instruction for the motor 110. A microcomputer 300 serving as a control unit that generates the drive instruction signal Vs, a shunt resistor 410 that is a current detection resistor connected in series to the motor 110, and a comparator 420 are configured. The current detection signal Vi of the load current Im and the target A current feedback circuit 400 that outputs a comparison output signal Vc by comparison with the value signal Vref, a holding circuit 500 that holds a current detection result based on the drive instruction signal Vs and the comparison output signal Vc, and a drive instruction signal Vs. The drive circuit 200 is driven based on the latch output signal Vr output from the circuit 500. It has the bets circuit 600, the microcomputer 300 is schematically configured to perform overcurrent detection by the time measurement based on a drive command signal Vs and the latch output signal Vr.

ブリッジ回路100は、4つのMOSFETで構成され、FET1とFET3の間、及び、FET2とFET4の間にモータ110が接続されるブリッジ構成とされている。FET1とFET4がON、FET2とFET3がOFFとされることにより図1に示すIm方向にモータ電流が流れ、モータ110が正回転する。逆に、FET1とFET4がOFF、FET2とFET3がONとされることにより逆方向にモータ電流が流れ、モータ110が逆回転する。これらのMOSFETのON、OFFの組合せ、タイミングによりモータ110の回転制御が行なわれる。なお、上記のMOSFETのON、OFFの組合せ、タイミングは、ドライブ回路200、及び、ゲート回路600から所定のオンオフ信号が入力されて制御される。   The bridge circuit 100 includes four MOSFETs, and has a bridge configuration in which the motor 110 is connected between the FET1 and the FET3 and between the FET2 and the FET4. When FET1 and FET4 are turned on and FET2 and FET3 are turned off, a motor current flows in the Im direction shown in FIG. 1, and the motor 110 rotates forward. Conversely, when FET1 and FET4 are OFF and FET2 and FET3 are ON, the motor current flows in the reverse direction, and the motor 110 rotates in the reverse direction. The rotation of the motor 110 is controlled by the combination and timing of these MOSFETs. Note that the ON / OFF combination and timing of the MOSFETs are controlled by inputting predetermined on / off signals from the drive circuit 200 and the gate circuit 600.

ドライブ回路200は、入力側がゲート回路600に接続され、出力側がブリッジ回路100にそれぞれ接続されている。ゲート回路600から出力される駆動信号Vdに基づいて各FETがスイッチング制御されることで、電源電圧12Vからブリッジ回路100、モータ110に電流が供給される。   The drive circuit 200 has an input side connected to the gate circuit 600 and an output side connected to the bridge circuit 100. Each FET is subjected to switching control based on the drive signal Vd output from the gate circuit 600, whereby a current is supplied from the power supply voltage 12V to the bridge circuit 100 and the motor 110.

マイコン300は、モータ110の駆動指示を行なう駆動指示信号Vsを発生させる駆動指示信号発生部310、モータ駆動方向制御部320、NchFET制御信号発生部330、フィードバック入力部340、目標値信号発生部350、タイマーユニット部360等を備えた制御部として機能する1チップマイコンである。   The microcomputer 300 includes a drive instruction signal generator 310 that generates a drive instruction signal Vs for instructing driving of the motor 110, a motor drive direction controller 320, an NchFET control signal generator 330, a feedback input unit 340, and a target value signal generator 350. A one-chip microcomputer that functions as a control unit including a timer unit unit 360 and the like.

駆動指示信号発生部310は、PWM(Pulse Width Modulation)信号としてのモータ110の駆動指示を行なう駆動指示信号Vsを発生する。例えば、マイコン300のPWM機能等を使用して、HiレベルからLoレベルの出力を一定間隔で反転出力する駆動指示信号Vsを発生させることができる。この出力である駆動指示信号Vsは、保持回路500及びゲート回路600に接続される。   The drive instruction signal generator 310 generates a drive instruction signal Vs for instructing driving of the motor 110 as a PWM (Pulse Width Modulation) signal. For example, by using the PWM function of the microcomputer 300 or the like, it is possible to generate the drive instruction signal Vs that inverts and outputs the output from the Hi level to the Lo level at regular intervals. The output drive instruction signal Vs is connected to the holding circuit 500 and the gate circuit 600.

モータ駆動方向制御部320は、モータ110の回転方向の制御を行なうための信号であるモータ駆動方向制御信号Vmを出力する。このモータ駆動方向制御信号Vmは、ゲート回路600のAND回路610に入力される。   The motor drive direction control unit 320 outputs a motor drive direction control signal Vm that is a signal for controlling the rotation direction of the motor 110. The motor drive direction control signal Vm is input to the AND circuit 610 of the gate circuit 600.

NchFET制御信号発生部330は、モータ110の回転方向の制御を行なうための信号であるNchFET制御信号Vを出力する。このNchFET制御信号Vは、所定のタイミングでHi、Lo信号がFET3、FET4に入力されて、MOSFETをON、OFF制御する。前述のモータ駆動方向制御信号Vmと併せてブリッジ回路100を制御することにより、モータ110の回転方向の制御を行なう。 NchFET control signal generator 330 outputs a NchFET control signal V F which is a signal for controlling the rotation direction of the motor 110. The NchFET control signal V F at a predetermined timing Hi, Lo signal is input to the FET 3, FET 4, ON the MOSFET, to OFF control. The bridge circuit 100 is controlled together with the motor drive direction control signal Vm described above to control the rotation direction of the motor 110.

フィードバック入力部340は、保持回路500から出力されるラッチ出力信号Vrが入力される。この入力されたラッチ出力信号Vr(=電流フィードバック信号)は、マイコン内部で、タイマーユニット部360に入力される。   The feedback input unit 340 receives the latch output signal Vr output from the holding circuit 500. The input latch output signal Vr (= current feedback signal) is input to the timer unit 360 in the microcomputer.

目標値信号発生部350は、電流フィードバック回路400への目標電流値を指示するDC電圧の信号であり、比較器420の基準電圧(閾値)となる目標値信号Vrefを比較器420へ入力する。この目標値信号Vrefを調整することにより、モータ電流Imを制御してモータの定常回転速度を調節することができる。   The target value signal generator 350 is a DC voltage signal that indicates a target current value to the current feedback circuit 400, and inputs a target value signal Vref serving as a reference voltage (threshold value) of the comparator 420 to the comparator 420. By adjusting the target value signal Vref, the motor current Im can be controlled to adjust the steady rotational speed of the motor.

タイマーユニット部360は、マイコン300に内蔵されるタイマーユニット部である。タイマーユニット部360には、駆動指示信号Vs及びラッチ出力信号Vr(=電流フィードバック信号)が入力され、駆動指示信号Vsの立ち上り時からラッチ出力信号Vrの立ち上り時までの時間計測を行なう。   The timer unit unit 360 is a timer unit unit built in the microcomputer 300. The timer unit 360 receives the drive instruction signal Vs and the latch output signal Vr (= current feedback signal), and measures the time from when the drive instruction signal Vs rises to when the latch output signal Vr rises.

電流フィードバック回路400は、モータ110に直列接続されたシャント抵抗410と比較器(コンパレータ)420により構成され、モータ電流Imの電流検出信号Viと目標値信号Vrefとの比較により比較出力信号Vcを出力する。この電流フィードバック回路400の出力は、比較出力信号Vcとして保持回路500の入力側に接続される。例えば、ドライブ回路200のONによりブリッジ回路100が駆動されて、モータ110に電流が流れると、モータ110に接続されたシャント抵抗410にもモータ110に流れる電流と同じ電流(Im)が流れる。シャント抵抗410の抵抗Raに流れるモータ電流Imにより、シャント抵抗410の両端には、電流検出信号Vi=Ra×Imが発生する。電流検出信号Viと目標値信号発生部700により生成する目標値信号Vrefとを比較器420にて比較し、目標値信号Vref<電流検出信号Viになった時に比較出力信号VcがLoレベルとなり、この比較出力信号Vcが保持回路500へ入力される。   The current feedback circuit 400 includes a shunt resistor 410 and a comparator (comparator) 420 connected in series to the motor 110, and outputs a comparison output signal Vc by comparing the current detection signal Vi of the motor current Im with the target value signal Vref. To do. The output of the current feedback circuit 400 is connected to the input side of the holding circuit 500 as a comparison output signal Vc. For example, when the bridge circuit 100 is driven by turning on the drive circuit 200 and a current flows through the motor 110, the same current (Im) as the current flowing through the motor 110 also flows through the shunt resistor 410 connected to the motor 110. Due to the motor current Im flowing through the resistor Ra of the shunt resistor 410, a current detection signal Vi = Ra × Im is generated at both ends of the shunt resistor 410. The comparator 420 compares the current detection signal Vi and the target value signal Vref generated by the target value signal generator 700. When the target value signal Vref <the current detection signal Vi, the comparison output signal Vc becomes Lo level. The comparison output signal Vc is input to the holding circuit 500.

保持回路500は、マイコン300からの駆動指示信号Vsと電流フィードバック回路400からの比較出力信号Vcとが入力され、この駆動指示信号Vsと比較出力信号Vcとに基づいて、電流検知結果をラッチ(保持)する。ラッチ出力信号Vrは、フィードバック入力部340に入力されると共に、駆動停止用Tr620を介してゲート回路600に入力される。   The holding circuit 500 receives the drive instruction signal Vs from the microcomputer 300 and the comparison output signal Vc from the current feedback circuit 400, and latches the current detection result based on the drive instruction signal Vs and the comparison output signal Vc ( Hold. The latch output signal Vr is input to the feedback input unit 340 and also input to the gate circuit 600 via the drive stop Tr 620.

ゲート回路600は、駆動指示信号Vsと保持回路500から出力されるラッチ出力信号Vrとに基づいて駆動信号Vdを出力する。本実施の形態では、モータ回転の方向も制御するので、駆動指示信号Vsと、ラッチ出力信号Vr又はモータ駆動方向制御信号Vmとの論理積として、AND回路610から駆動信号Vdが出力される。この駆動信号Vdによりドライブ回路200を駆動することで、モータ110に通電する。なお、モータ駆動方向制御信号Vmを用いたゲート制御と共に、前述のNchFET制御信号発生部330により、モータの回転方向の制御が行なわれる。   The gate circuit 600 outputs a drive signal Vd based on the drive instruction signal Vs and the latch output signal Vr output from the holding circuit 500. In this embodiment, since the direction of motor rotation is also controlled, the AND circuit 610 outputs the drive signal Vd as the logical product of the drive instruction signal Vs and the latch output signal Vr or the motor drive direction control signal Vm. Driving the drive circuit 200 with the drive signal Vd energizes the motor 110. In addition to the gate control using the motor drive direction control signal Vm, the NchFET control signal generator 330 controls the rotation direction of the motor.

(負荷駆動回路1の正常動作)
図2は、本発明の実施の形態に係る負荷駆動回路の正常動作時における各部の信号波形を示す図である。この図2に示す正常動作時の主要ポイントの波形図に沿って、以下の番号(1)〜(9)順に負荷駆動回路1の正常動作(定電流制御動作)を説明する。
(Normal operation of the load drive circuit 1)
FIG. 2 is a diagram showing signal waveforms at various parts during normal operation of the load driving circuit according to the embodiment of the present invention. The normal operation (constant current control operation) of the load drive circuit 1 will be described in the order of the following numbers (1) to (9) along the waveform diagram of main points during normal operation shown in FIG.

(1)駆動指示信号VsがHiレベル出力(オン信号Von)となる。
(2)ゲート回路600から駆動信号Vdがオン出力され、FET1、4がON、FET2、3がOFFとなる。
(3)モータ110に電流Imが流れてシャント抵抗410により電流検出信号Viが発生する。
(4)電流検出信号Viが目標値信号Vrefを上回った時に、ラッチ出力信号VrがHiレベルとなる。
(5)これにより、FET1、4がOFFとなり、モータ110が停止して電流検出信号Viが0になる。
(6)所定期間経過後、駆動指示信号VsはLoレベルに切り替る。(オン信号Vonからラッチクリア信号Vclrとなる。)
(7)駆動指示信号VsのHiレベルからLoレベルの切替りエッジ(ラッチクリア信号Vclr)で保持回路500の保持状態が解除される。
(8)駆動指示信号VsのLoレベル期間中(ラッチクリア信号Vclr期間)は、駆動信号VdのLoレベルが継続される。
(9)所定期間経過後、駆動指示信号VsがHiレベルに切り替る(オン信号Vonとなる)。
以降(1)〜(9)の動作が繰り返され、上記の(3)と(5)のそれぞれの期間で図2で示すように、実際のモータ電流は増加、減少しながら、電流フィードバック回路400で指定した目標値信号Vrefに対応した電流値にてモータ110が定電流駆動される。
(1) The drive instruction signal Vs becomes a Hi level output (ON signal Von).
(2) The drive signal Vd is turned on from the gate circuit 600, the FETs 1 and 4 are turned on, and the FETs 2 and 3 are turned off.
(3) The current Im flows through the motor 110 and the current detection signal Vi is generated by the shunt resistor 410.
(4) When the current detection signal Vi exceeds the target value signal Vref, the latch output signal Vr becomes Hi level.
(5) As a result, the FETs 1 and 4 are turned OFF, the motor 110 is stopped, and the current detection signal Vi becomes 0.
(6) After a predetermined period, the drive instruction signal Vs switches to the Lo level. (The ON signal Von changes to the latch clear signal Vclr.)
(7) The holding state of the holding circuit 500 is released at the switching edge (latch clear signal Vclr) from the Hi level to the Lo level of the drive instruction signal Vs.
(8) During the Lo level period of the drive instruction signal Vs (latch clear signal Vclr period), the Lo level of the drive signal Vd is continued.
(9) After a predetermined period, the drive instruction signal Vs is switched to the Hi level (becomes the ON signal Von).
Thereafter, the operations of (1) to (9) are repeated, and the current feedback circuit 400 increases and decreases while the actual motor current increases and decreases as shown in FIG. 2 in the respective periods (3) and (5). The motor 110 is driven at a constant current with a current value corresponding to the target value signal Vref specified in.

(負荷駆動回路1のショート故障発生時(過電流発生時)の動作)
図3は、正常動作時とショート故障発生時(過電流発生時)のそれぞれの電流検出信号波形を示す図である。
(Operation when load drive circuit 1 short-circuit failure occurs (overcurrent occurs))
FIG. 3 is a diagram showing current detection signal waveforms at the time of normal operation and at the time of occurrence of a short-circuit failure (when an overcurrent occurs).

図3における正常動作時の電流検出信号Viは、図2における電流検出信号と同じである。正常動作時は、モータ110に電流が流れるため、抵抗及びコイル成分により電流は徐々に増加する。τeをインダクタンスと電機子抵抗の比とすると、モータ電流Imは、次のような式で表される。
モータ電流Im=(電源電圧12V/電機子抵抗)×(1−e-t/τe
上式より、正常動作時に目標値信号Vrefで設定される目標電流に達するまでの時間T1が求まる。
The current detection signal Vi during normal operation in FIG. 3 is the same as the current detection signal in FIG. During normal operation, current flows through the motor 110, so that the current gradually increases due to resistance and coil components. When τe is the ratio of the inductance and the armature resistance, the motor current Im is expressed by the following equation.
Motor current Im = (power supply voltage 12V / armature resistance) × (1−e −t / τe )
From the above equation, the time T1 required to reach the target current set by the target value signal Vref during normal operation can be obtained.

一方、ショート故障発生時は、モータ110には電流が流れないため、コイル成分の影響がなく、電流が急峻に流れる。電流検出信号Viは、図3に示すように、T2<T1の時間で目標値信号Vrefに達する。   On the other hand, when a short circuit failure occurs, no current flows through the motor 110, so there is no influence of the coil component and the current flows sharply. As shown in FIG. 3, the current detection signal Vi reaches the target value signal Vref in the time T2 <T1.

以上のことから、図3に示すように、過電流検出判定時間として、T2<Ta<T1となる基準時間Taを設定する。   From the above, as shown in FIG. 3, the reference time Ta satisfying T2 <Ta <T1 is set as the overcurrent detection determination time.

電流検出信号Viが0(ゼロ)から目標値信号Vrefに達するまでの時間は、図2に示されたように、駆動指示信号Vsの立ち上り時からラッチ出力信号Vr(=電流フィードバック信号)の立ち上り時までの時間に等しい。したがって、マイコン300により、駆動指示信号Vsの立ち上り時からラッチ出力信号Vr(=電流フィードバック信号)の立ち上り時までの時間をカウントすることにより、モータ110に正常電流が流れているのか、ショート故障が発生して過電流が流れているのかを判断することができる。   As shown in FIG. 2, the time until the current detection signal Vi reaches the target value signal Vref from 0 (zero) is from the rising edge of the drive instruction signal Vs to the rising edge of the latch output signal Vr (= current feedback signal). Equivalent to time to time. Therefore, the microcomputer 300 counts the time from the rising edge of the drive instruction signal Vs to the rising edge of the latch output signal Vr (= current feedback signal), so that a normal current is flowing in the motor 110 or a short circuit failure occurs. It can be determined whether or not an overcurrent flows.

図4は、負荷駆動回路における過電流検出の動作を示すフローチャートである。以下、このフローチャートに基づいて、マイコン300による過電流検出の方法を説明する。   FIG. 4 is a flowchart showing an overcurrent detection operation in the load drive circuit. Hereinafter, a method of overcurrent detection by the microcomputer 300 will be described based on this flowchart.

まず、マイコン300は、駆動指示信号Vsの立ち上がりを検出したかどうかを判断する(Step1)。駆動指示信号Vsの立ち上がりを検出した場合はStep2へ進み、検出しない場合は、Step1を繰り返して実行する。   First, the microcomputer 300 determines whether or not the rising of the drive instruction signal Vs has been detected (Step 1). When the rising edge of the drive instruction signal Vs is detected, the process proceeds to Step 2, and when not detected, Step 1 is repeatedly executed.

Step2では、タイマーユニット部360によるカウントを開始する。内部カウンタ値TCNTをリセットした状態からカウントを開始する。   In Step 2, counting by the timer unit unit 360 is started. Counting is started from the state where the internal counter value TCNT is reset.

マイコン300は、ラッチ出力信号Vrの立ち上がりを検出したかどうかを判断する。ラッチ出力信号Vrの立ち上がりを検出した場合はStep4へ進み、検出しない場合は、カウンタ値TCNTに1を加えてStep3を繰り返して実行する(Step3)。   The microcomputer 300 determines whether or not the rising edge of the latch output signal Vr is detected. If the rising edge of the latch output signal Vr is detected, the process proceeds to Step 4. If not detected, 1 is added to the counter value TCNT and Step 3 is repeatedly executed (Step 3).

Step4では、タイマーユニット部360によるカウントを停止する。   In Step 4, the counting by the timer unit unit 360 is stopped.

マイコン300は、カウンタ値TCNTに対応する時間Tが基準時間Ta以下かどうかを判断する。時間Tが基準時間Ta以下の場合は、Step6へ進み、時間Tが基準時間Taを超えている場合は、判断動作を終了する(Step5)。   The microcomputer 300 determines whether the time T corresponding to the counter value TCNT is equal to or less than the reference time Ta. If the time T is less than or equal to the reference time Ta, the process proceeds to Step 6, and if the time T exceeds the reference time Ta, the determination operation is terminated (Step 5).

マイコン300は、駆動指示信号VsをLowに制御してモータ110を停止させる。すなわち、マイコン300は過電流発生と判断し、所定周期のPWM信号である駆動指示信号Vsを停止させ、Lowレベルに変更する(Step6)。これにより、モータ110が停止して、ショート故障発生時の安全性が確保される。   The microcomputer 300 controls the drive instruction signal Vs to Low to stop the motor 110. That is, the microcomputer 300 determines that an overcurrent has occurred, stops the drive instruction signal Vs, which is a PWM signal having a predetermined period, and changes it to the Low level (Step 6). Thereby, the motor 110 stops and the safety at the time of a short circuit failure is ensured.

図5は、本発明の実施の形態に係る負荷駆動回路のショート故障発生時(過電流発生時)における各部の信号波形を示す図である。この図5に示すショート故障発生時の主要ポイントの波形図に沿って、以下の番号(1)〜(6)順に負荷駆動回路1の動作を説明する。   FIG. 5 is a diagram showing signal waveforms at various parts when a short-circuit failure occurs (when an overcurrent occurs) in the load drive circuit according to the embodiment of the present invention. The operation of the load drive circuit 1 will be described in the order of the following numbers (1) to (6) along the waveform diagram of main points at the time of occurrence of a short fault shown in FIG.

(1)駆動指示信号VsがHiレベル出力(オン信号Von)となる。
(2)ゲート回路600から駆動信号Vdがオン出力され、FET1、4がON、FET2、3がOFFとなる。
(3)ショート故障が発生する。モータ110には電流が流れないので、実際のモータ電流はゼロである。
(4)しかし、シャント抵抗410にショート電流が流れると電流検出信号Viが急激に上昇する。
(5)マイコン300により、電流検出信号Viが目標値信号Vrefに達した時間Tが基準時間Ta以下であると判断される。
(6)マイコン300は、駆動指示信号VsをLowに制御してモータ110を停止させる。これにより、FET1、4がOFFとなり、モータ110が停止する。
上記(1)〜(6)の動作により、ショート故障発生時(過電流発生時)にモータ110の駆動が停止される。
(1) The drive instruction signal Vs becomes a Hi level output (ON signal Von).
(2) The drive signal Vd is turned on from the gate circuit 600, the FETs 1 and 4 are turned on, and the FETs 2 and 3 are turned off.
(3) A short circuit failure occurs. Since no current flows through the motor 110, the actual motor current is zero.
(4) However, when a short current flows through the shunt resistor 410, the current detection signal Vi rapidly increases.
(5) The microcomputer 300 determines that the time T when the current detection signal Vi reaches the target value signal Vref is equal to or less than the reference time Ta.
(6) The microcomputer 300 stops the motor 110 by controlling the drive instruction signal Vs to Low. As a result, the FETs 1 and 4 are turned off, and the motor 110 is stopped.
By the operations (1) to (6), the driving of the motor 110 is stopped when a short circuit failure occurs (overcurrent occurs).

(本発明の実施の形態の効果)
上記のように構成された負荷駆動回路1によると、以下のような効果を有する。
(1)本発明の実施の形態に係る負荷駆動回路1は、マイコン300により、電流検出信号Viが目標値信号Vrefに達する時間をカウントして検出しているので、ショート故障発生時の過電流を検出することが可能となる。これにより、過電流検出回路を別途設けずに、負荷駆動回路の一部を利用して過電流検出が可能な負荷駆動回路を提供することができる。
(2)マイコン300による電流検出信号Viが目標値信号Vrefに達する時間のカウントは、駆動指示信号Vsの立ち上り時からラッチ出力信号Vr(電流フィードバック信号)の立ち上り時までの時間計測により行なう。すなわち、負荷駆動回路1の一部を利用してマイコンにより過電流検出を行なうので、別途、過電流検出回路を設ける必要がない。
(3)過電流検出判定時間として、T2<Ta<T1となる基準時間Taを設定するので、確実に過電流検出を行なうことができる。
(4)別途、過電流検出回路を設ける必要がないので、回路スペースを縮小することができ、基板の小型化及び基板スペースの有効利用が可能となる。
(5)上記した回路スペース縮小、基板の小型化及び基板スペースの有効利用により、製品コストの改善にも効果を有する。
(Effect of the embodiment of the present invention)
The load driving circuit 1 configured as described above has the following effects.
(1) Since the load driving circuit 1 according to the embodiment of the present invention counts and detects the time when the current detection signal Vi reaches the target value signal Vref by the microcomputer 300, the overcurrent at the time of occurrence of a short circuit failure is detected. Can be detected. Thus, it is possible to provide a load driving circuit capable of detecting an overcurrent using a part of the load driving circuit without separately providing an overcurrent detection circuit.
(2) The time for the current detection signal Vi to reach the target value signal Vref by the microcomputer 300 is counted by measuring the time from the rise of the drive instruction signal Vs to the rise of the latch output signal Vr (current feedback signal). That is, since overcurrent detection is performed by a microcomputer using a part of the load driving circuit 1, it is not necessary to provide an overcurrent detection circuit separately.
(3) Since the reference time Ta satisfying T2 <Ta <T1 is set as the overcurrent detection determination time, the overcurrent detection can be reliably performed.
(4) Since it is not necessary to provide an overcurrent detection circuit separately, the circuit space can be reduced, and the board can be downsized and the board space can be effectively used.
(5) By reducing the circuit space, reducing the size of the board, and effectively using the board space, it is effective in improving the product cost.

以上、本発明の実施の形態を説明したが、上記実施の形態は、一例に過ぎず、特許請求の範囲に係る発明を限定するものではない。これら新規な実施の形態およびその変形例は、その他の様々な形態で実施されることが可能であり、本発明の要旨を逸脱しない範囲で、種々の省略、置き換え、変更等を行うことができる。また、上記実施の形態の中で説明した特徴の組合せの全てが発明の課題を解決するための手段に必須であるとは限らない。さらに、上記実施の形態およびその変形例は、発明の範囲及び要旨に含まれるとともに、特許請求の範囲に記載された発明とその均等の範囲に含まれる。   Although the embodiment of the present invention has been described above, the above embodiment is merely an example and does not limit the invention according to the claims. These novel embodiments and modifications thereof can be implemented in various other forms, and various omissions, replacements, changes, and the like can be made without departing from the scope of the present invention. . Moreover, not all the combinations of features described in the above embodiments are essential to the means for solving the problems of the invention. Further, the above-described embodiment and its modifications are included in the scope and gist of the invention, and are included in the invention described in the claims and the equivalents thereof.

1…負荷駆動回路
100…ブリッジ回路
110…モータ
200…ドライブ回路
300…マイコン
310…駆動指示信号発生部
320…モータ駆動方向制御部
330…NchFET制御信号発生部
340…フィードバック入力部
350…目標値信号発生部
360…タイマーユニット部
400…電流フィードバック回路
410…シャント抵抗
420…比較器
500…保持回路
600…ゲート回路
610…AND回路
620…駆動停止用Tr
Im…モータ電流
Vs…駆動指示信号
Vref…目標値信号
Vc…比較出力信号
Vd…駆動信号
Vr…ラッチ出力信号
Vi…電流検出信号
Vm…モータ駆動方向制御信号
Von…オン信号
Vclr…ラッチクリア信号
DESCRIPTION OF SYMBOLS 1 ... Load drive circuit 100 ... Bridge circuit 110 ... Motor 200 ... Drive circuit 300 ... Microcomputer 310 ... Drive instruction signal generation part 320 ... Motor drive direction control part 330 ... NchFET control signal generation part 340 ... Feedback input part 350 ... Target value signal Generator 360 ... Timer unit 400 ... Current feedback circuit 410 ... Shunt resistor 420 ... Comparator 500 ... Holding circuit 600 ... Gate circuit 610 ... AND circuit 620 ... Tr for stopping driving
Im: Motor current Vs ... Drive instruction signal Vref ... Target value signal Vc ... Comparison output signal Vd ... Drive signal Vr ... Latch output signal Vi ... Current detection signal Vm ... Motor drive direction control signal Von ... ON signal Vclr ... Latch clear signal

Claims (3)

負荷に流れる電流をオンオフ制御するブリッジ回路と、
前記ブリッジ回路を駆動するドライブ回路と、
前記負荷の駆動指示を行なう駆動指示信号を発生する制御部と、
前記負荷に直列接続された電流検出用抵抗と比較器とにより構成され、負荷電流の電流検出信号と目標値信号との比較により比較出力信号を出力する電流フィードバック回路と、
前記駆動指示信号と前記比較出力信号とに基づいて電流検知結果を保持する保持回路と、
前記駆動指示信号と前記保持回路から出力されるラッチ出力信号とに基づいて前記ドライブ回路を駆動するゲート回路と、を有し、
前記制御部は、前記駆動指示信号及び前記ラッチ出力信号に基づく時間計測により過電流検出を行なうことを特徴とする負荷駆動回路。
A bridge circuit that controls on / off of the current flowing through the load;
A drive circuit for driving the bridge circuit;
A control unit for generating a drive instruction signal for instructing driving of the load;
A current feedback circuit configured by a current detection resistor and a comparator connected in series to the load, and outputting a comparison output signal by comparing a current detection signal of the load current with a target value signal;
A holding circuit for holding a current detection result based on the drive instruction signal and the comparison output signal;
A gate circuit that drives the drive circuit based on the drive instruction signal and a latch output signal output from the holding circuit;
The load drive circuit, wherein the control unit performs overcurrent detection by measuring time based on the drive instruction signal and the latch output signal.
前記制御部は、正常電流のときに目標電流に到達する時間と過電流時に目標電流に到達する時間との間に設定した基準時間を基準として、過電流か否かを判断することを特徴とする請求項1に記載の負荷駆動回路。   The control unit determines whether or not there is an overcurrent with reference to a reference time set between a time to reach the target current at a normal current and a time to reach the target current at an overcurrent. The load drive circuit according to claim 1. 前記制御部は、1チップマイコンであり、前記時間計測は、前記1チップマイコンに内蔵されたタイマーユニット部により行なわれることを特徴とする請求項1又は2に記載の負荷駆動回路。   3. The load driving circuit according to claim 1, wherein the control unit is a one-chip microcomputer, and the time measurement is performed by a timer unit unit built in the one-chip microcomputer.
JP2013175929A 2013-08-27 2013-08-27 Load drive circuit Pending JP2015046710A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013175929A JP2015046710A (en) 2013-08-27 2013-08-27 Load drive circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013175929A JP2015046710A (en) 2013-08-27 2013-08-27 Load drive circuit

Publications (1)

Publication Number Publication Date
JP2015046710A true JP2015046710A (en) 2015-03-12

Family

ID=52671912

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013175929A Pending JP2015046710A (en) 2013-08-27 2013-08-27 Load drive circuit

Country Status (1)

Country Link
JP (1) JP2015046710A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017168963A (en) * 2016-03-15 2017-09-21 アルプス電気株式会社 Load drive device
JP2020171088A (en) * 2019-04-01 2020-10-15 Kyb株式会社 Overcurrent protection circuit

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017168963A (en) * 2016-03-15 2017-09-21 アルプス電気株式会社 Load drive device
JP2020171088A (en) * 2019-04-01 2020-10-15 Kyb株式会社 Overcurrent protection circuit
JP7264696B2 (en) 2019-04-01 2023-04-25 Kyb株式会社 Overcurrent protection circuit

Similar Documents

Publication Publication Date Title
US8633755B2 (en) Load driver with constant current variable structure
TWI629867B (en) Systems and methods for sensing current through a low-side field effect transistor
JP5750311B2 (en) Inverter drive
US8841870B2 (en) Driver for switching element and control system for rotary machine using the same
JP5287916B2 (en) Load drive device
WO2011019038A1 (en) Load drive control device and load drive control method
US20170214313A1 (en) Drive circuit for semiconductor switching element
JP2018157670A (en) Driving device for semiconductor element
US9065275B2 (en) Driving circuit for an electric motor
US20100066286A1 (en) Motor controller
JP5756501B2 (en) Motor drive device
JP5561197B2 (en) Electronic equipment
JP5077030B2 (en) Motor drive circuit and motor abnormality determination method
JP5653975B2 (en) Motor control device
JP2015046710A (en) Load drive circuit
JP6665742B2 (en) Load drive
JP2005217774A5 (en)
CN107529350B (en) Electric power steering apparatus
KR101626762B1 (en) Motor driver
JP2014069253A (en) Power tool
JP5653976B2 (en) Motor control device
JP6117389B1 (en) Motor drive device
JP2023046828A (en) Motor driving apparatus, motor system, and electrical equipment
JP2016052233A (en) Elevator device
JP2007068260A (en) Pwm drive controller and its control method