Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
SYSTEMS AND METHODS FOR SENSING CURRENT THROUGH A LOW-SIDE FIELD EFFECT TRANSISTOR
Document Type and Number:
WIPO Patent Application WO/2015/167822
Kind Code:
A1
Abstract:
Systems and techniques detecting a reverse current are disclosed. An apparatus comprises a switching circuit coupled to a load and a reference node. The switching circuit may be capable of conducting a reverse current from the reference node to the load when a voltage at the load is lower than a voltage at the reference node. A voltage source has a first terminal coupled to the load, a second terminal configured to follow a voltage at the load, and produces a voltage proportional to a voltage drop across the switching circuit. A comparator circuit is coupled to compare a voltage at the second terminal of the voltage source to the voltage at the reference node and configured to indicate when the reverse current has a magnitude greater than a predetermined threshold.

Inventors:
MCINTOSH JAMES (GB)
CHRISTIE ROBERT D (GB)
BRYCE DOUGLAS (GB)
WILSON WALTER MORRISON STEWART (GB)
Application Number:
PCT/US2015/026332
Publication Date:
November 05, 2015
Filing Date:
April 17, 2015
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
ALLEGRO MICROSYSTEMS LLC (US)
International Classes:
G01R19/165; H02P8/12
Foreign References:
US20100067152A12010-03-18
US20100301791A12010-12-02
Other References:
ANONYMOUS: "AND8093/D Current Sensing PowerMOSFETs", July 2002 (2002-07-01), XP002742395, Retrieved from the Internet [retrieved on 20150716]
Attorney, Agent or Firm:
MILMAN, Seth, A. et al. (Crowley Mofford & Durkee, LLP,Suite 301A,354A Turnpike Stree, Canton Massachusetts, US)
Download PDF:
Claims:
What is claimed is:

1. An apparatus comprising:

a switching circuit coupled to a load and a reference node, the switching circuit capable of conducting a reverse current from the reference node to the load when a voltage at the load is lower than a voltage at the reference node;

a voltage source having a first terminal coupled to the load, a second terminal configured to follow a voltage at the load, and a produced voltage proportional to a voltage drop across the switching circuit; and

a comparator circuit coupled to compare a voltage at the second terminal of the voltage source to the voltage at the reference node and configured to indicate when the reverse current has a magnitude greater than a predetermined threshold.

2. The apparatus of claim 1 wherein the switching circuit comprises a transistor.

3. The apparatus of claim 2 wherein the transistor is a FET.

4. The apparatus of claim 2 wherein the voltage drop across the switching circuit is a voltage drop across a body diode of the transistor.

5. The apparatus of claim 2 wherein the transistor is a low-side transistor in motor driver circuit.

6. The apparatus of 1 wherein the voltage source comprises a sense transistor and a current source coupled to a source terminal of the sense transistor.

7. The apparatus of claim 6 wherein the current source is a DAC or is controlled by a DAC.

8. The apparatus of claim 6 wherein the produced voltage comprises a voltage drop across a body diode of the sense transistor.

9. The apparatus of claim 6 wherein a voltage at the source terminal of the transistor follows the voltage at the load.

10. The apparatus of claim 6 wherein a current conducted through the sense transistor is less than the reverse current.

11. The apparatus of claim 10 wherein the current conducted through the sense transistor is between about 1000 and about 1400 times less than the reverse current.

12. The apparatus of claim 1 wherein the produced voltage and the voltage drop across the switching circuit have substantially the same magnitude.

13. The apparatus of claim 1 wherein the comparator circuit is configured to indicate that the reverse current is flowing when the voltage at the second terminal of the voltage source is less than the voltage at the reference node.

14. The apparatus of claim 1 wherein the voltage drop across the switching circuit is a conduction threshold of the switching circuit, and the switching circuit is configured to conduct the reverse current when the voltage at the load is less than the voltage at the reference node minus the conduction threshold of the switching circuit when the switching circuit is in a non-conducting state.

15. The apparatus of claim 1 comprising at least one additional switching circuit and at least one additional voltage source.

16. The apparatus of claim 1 wherein the reference node is a ground node.

17. A motor driver circuit comprising:

a low-side transistor coupled between a load and a reference node, the low-side transistor capable of conducting a reverse current from the reference node to the load when a voltage at the load is lower than a voltage at the reference node;

a voltage source having a first terminal coupled to the load, a second terminal configured to follow a voltage at the load, and a produced voltage proportional to a voltage drop across a body diode of the low-side transistor; and

a comparator circuit coupled to compare a voltage at the second terminal of the voltage source to the voltage at the reference node and configured to indicate when the reverse current is flowing.

18. The motor driver circuit of claim 17 wherein the load comprises a motor.

19. The motor driver circuit of claim 17 wherein the voltage source comprises a sense transistor and a current source coupled to a source terminal of the sense transistor to provide a current through the sense transistor, and the produced voltage comprises a voltage drop across a body diode of the sense transistor.

20. The motor driver circuit of claim 19 wherein the low-side transistor and the sense transistor are formed on a same substrate.

21. The motor driver circuit of claim 20 wherein the sense transistor is smaller than the low-side transistor, and the current through the second transistor is smaller than the reverse current through the low-side transistor.

22. The motor driver circuit of claim 21 wherein the current through the second transistor is between about 1000 and about 1400 times smaller than the reverse current through the low-side transistor.

23. The motor driver circuit of claim 18 wherein the current source comprises a

DAC.

24. A motor driver circuit comprising:

a motor; and

a switched bridge for driving the motor, the switched bridge comprising: a low-side transistor having a gate terminal coupled to a control circuit, a drain terminal coupled to at least one coil of the motor, and a source terminal coupled to a reference node;

a sense transistor having a gate terminal coupled to the gate terminal of the low- side transistor, a drain terminal coupled to the at least one coil of the motor, and a source terminal;

a current source coupled to the source terminal of the sense transistor to produce voltage across a body diode of the sense transistor and to allow a voltage at the source terminal of the sense transistor to follow a voltage at the at least one coil of the motor; and a comparator circuit coupled to compare the voltage at the source terminal of the sense transistor to a voltage at the reference node and to indicate when a predetermined reverse current is flowing from the reference node to the at least one coil of the motor through the low-side transistor by indicating when the voltage at the source terminal of the sense transistor is less than the voltage at the reference node.

25. The motor driver circuit of claim 24 wherein the low-side transistor is a FET.

26. The motor driver circuit of claim 25 wherein the sense transistor is a FET that is smaller than the low-side transistor by a predetermined scale factor.

27. The motor driver of claim 24 wherein the switched bridge is an H-bridge or a half-bridge.

28. A method comprising: generating, by a voltage source, a voltage that is proportional to a voltage drop across a switching circuit that is coupled to a load and a reference node;

allowing at least one terminal of the voltage source to follow a voltage at the load; and

indicating whether a predetermined reverse current is flowing through the switching circuit by comparing a voltage at the one terminal of the voltage source to a voltage at the reference node.

29. The method of claim 28 wherein generating the voltage comprises generating a voltage that is a substantially equal to the voltage drop across the switching circuit.

Description:
SYSTEMS AND METHODS FOR SENSING CURRENT

THROUGH A LOW-SIDE FIELD EFFECT

TRANSISTOR

FIELD

[0001] This disclosure relates to current sensing and, more particularly, to sensing current through a low-side field effect transistor ("FET").

BACKGROUND

[0002] There are an increasing number of applications that require current sensing and current regulation with inductive loads. These applications include, but are not limited to: switching motor drivers, voltage regulators, and rectifying circuits and systems.

[0003] Switching applications such as these often employ an H-bridge or half- bridge to drive the inductive load. In certain applications, the system attempts to halt or reverse the direction of current though the inductive load by switching transistors in the bridge on and off. This can cause a so-called fly-back effect to occur, where current through the inductive load cannot change direction instantaneously, causing a phase discrepancy between the switching bridge (which may effectively provide alternating power to the load) and the current through the load. Immediately after switching, the fly-back effect can cause a reverse current to flow from ground, through the low side transistors, to the load.

[0004] Phase discrepancies and the fly-back effect can lead to imprecision in

controlling the load. For instance, in the case of a motor controller, phase

discrepancies can cause imprecision in controlling the motor. In the case of a voltage regulator or rectifier, phase discrepancies can create unwanted voltage or current levels in the output. Thus, some systems attempt to regulate fly-back voltage and current to minimize their effect. To do so, some systems monitor and detect fly-back current that flows in a reverse direction through the low side transistors of the H-bridge or half- bridge.

SUMMARY

[0005] In an embodiment, an apparatus comprises a switching circuit coupled to a load and a reference node. The switching circuit may be capable of conducting a reverse current from the reference node to the load when a voltage at the load is lower than a voltage at the reference node. A voltage source in included, having a first terminal coupled to the load, a second terminal configured to follow a voltage at the load, and a produced voltage proportional to a voltage drop across the switching circuit. A comparator is circuit coupled to compare a voltage at the second terminal of the voltage source to the voltage at the reference node and configured to indicate when the reverse current has a magnitude greater than a predetermined threshold.

[0006] One or more of the following features may be included. The switching circuit may comprise a FET transistor. The voltage drop across the switching circuit may be a voltage drop across a body diode of the FET transistor. The FET transistor may be a low-side transistor in a motor driver circuit. The voltage source may comprise a sense transistor and a current source coupled to a source terminal of the sense transistor, and wherein the current source comprises a DAC or is controlled by a DAC. The produced voltage may comprise a voltage drop across a body diode of the sense transistor. The source terminal of the transistor may follow the voltage at the load. A current conducted through the sense transistor may be less than the reverse current. The produced voltage and the voltage drop across the switching circuit may have substantially the same magnitude. The comparator circuit may be configured to indicate that the reverse current is flowing when the voltage at the second terminal of the voltage source is less than the voltage at the reference node. The voltage drop across the switching circuit may be a conduction threshold of the switching circuit, and the switching circuit may be configured to conduct the reverse current when the voltage at the load is less than the voltage at the reference node minus the conduction threshold of the switching circuit when the switching circuit is in a non-conducting state. At least one additional switching circuit and at least one additional voltage source may be included.

[0007] In another embodiment, a motor driver circuit includes a low-side transistor coupled between a load and a reference node, the low-side transistor capable of conducting a reverse current from the reference node to the load when a voltage at the load is lower than a voltage at the reference node. A voltage source is included, having a first terminal coupled to the load, a second terminal configured to follow a voltage at the load, and a produced voltage proportional to a voltage drop across a body diode of the low-side transistor. A comparator circuit may be coupled to compare a voltage at the second terminal of the voltage source to the voltage at the reference node and configured to indicate when the reverse current is flowing.

[0008] One or more of the following features may be included. The load may

comprise a motor. The voltage source may comprise a sense transistor and a current source coupled to a source terminal of the sense transistor to provide a current through the sense transistor, and the produced voltage may comprise a voltage drop across a body diode of the sense transistor. The low-side transistor and the sense transistor may be formed on a same substrate. The sense transistor may be smaller than the low-side transistor, and the current through the second transistor is smaller than the reverse current through the low-side transistor. The current through the second transistor may be between about 1000 and about 1400 times smaller than the reverse current through the low-side transistor.

[0009] In another embodiment, a motor driver circuit includes a motor and a

switched bridge for driving the motor. The switched bridge may include a low-side transistor having a gate terminal coupled to a control circuit, a drain terminal coupled to at least one coil of the motor, and a source terminal coupled to a reference node. A sense transistor may be included having a gate terminal coupled to the gate terminal of the low-side transistor, a drain terminal coupled to the at least one coil of the motor, and a source terminal. A current source may be coupled to the source terminal of the sense transistor to produce a voltage across a body diode of the sense transistor and to allow a voltage at the source terminal of the sense transistor to follow a voltage at the at least one coil of the motor. A comparator circuit may be coupled to compare the voltage at the source terminal of the sense transistor to a voltage at the reference node and to indicate when a predetermined reverse current is flowing from the reference node to the at least one coil of the motor through the low-side transistor by indicating when the voltage at the source terminal of the sense transistor is less than the voltage at the reference node.

[0010] One or more of the following features may be included. The sense

transistor may be a FET that is smaller than the low-side transistor by a predetermined scale factor. The switched bridge may be an H-bridge or a half-bridge.

[001 1] In another embodiment, a method includes generating, by a voltage source, a voltage that is proportional to a voltage drop across a switching circuit that is coupled to a load and a reference node. At least one terminal of the voltage source may be allowed to follow a voltage at the load. Whether a predetermined reverse current is flowing through the switching circuit may be indicated by comparing a voltage at the one terminal of the voltage source to a voltage at the reference node.

[0012] One or more of the following features may be included. Generating the voltage may comprise generating a voltage that is a substantially equal to the voltage drop across the switching circuit.

BRIEF DESCRIPTION OF THE DRAWINGS

[0013] The foregoing features may be more fully understood from the following description of the drawings. The drawings aid in explaining and understanding the disclosed technology. Since it is often impractical or impossible to illustrate and describe every possible embodiment, the provided figures depict one or more exemplary embodiments. Accordingly, the figures are not intended to limit the scope of the invention. Like numbers in the figures denote like elements.

[0014] FIG. 1 is a block diagram of a system for detecting reverse current.

[0015] FIG. 2 is a block diagram of a reverse current detector circuit.

[0016] FIG. 3 is a block diagram of a reverse current detector circuit.

[0017] FIG. 4 is a graph of signals produced by a system for detecting reverse current.

[0018] FIG. 5 is a flowchart of a method for detecting reverse current.

DETAILED DESCRIPTION

[0019] In the following description, the term "on", when referring to a transistor, refers to a transistor state that allows current to flow through the transistor. Examples of an "on" state include, but are not limited to: a saturation state, an active state, and the like. The term "off, when referring to a FET, refers to a transistor state that minimizes current flow through the transistor. Examples of an "off state include, but are not limited to, a cutoff state and the like.

[0020] Referring to FIG. 1, a system 100 is coupled to a load 102 to electrically drive the load. In an embodiment, system 100 is a motor driver circuit and load is a motor 102 having one or more inductive windings 124 and 126. In an embodiment, motor 102 is a stepper motor and system 100 is a stepper motor controller. In other embodiments, system 100 may be another type of circuit and motor 102 may be another type of load. For example, system 100 may be a switching voltage regulator and the load may be circuitry or devices powered by the switching voltage regulator. In yet another embodiment, system 100 may be a switching rectifier.

[0021] As shown, system 100 includes one or more H-bridge circuits 104 and 106 coupled to inputs of motor 102. H-bridge circuit 104 includes two high-side field effect transistors ("FETs") 108 and 110 and two low side FETs 112 and 1 14. FETs 108, 110, 112, and 1 14 may be viewed as switches that provide power to motor 102. Signal 102a is coupled to and driven by FETs 1 10 and 1 14, and signal 102b is coupled to and driven by FETs 108 and 112, as shown. In an embodiment, signal 102a is coupled to one side of a motor winding 124 in motor 102 and signal 102b is coupled to the other side of motor winding 124 in motor 102.

[0022] H-bridge circuit 106 includes two high side FETs 116 and 118 and two low side FETs 120 and 122. FETs 1 16, 1 18, 120, and 122 may be viewed as switches that provide power to motor 102. Signal 102c is coupled to and driven by FETs 116 and 120 and signal 102d is coupled to and driven by FETs 118 and 122. In an embodiment, signal 102c is coupled to one side of a motor winding 126 in motor 102 and signal 102d is coupled to the other side of motor winding 126 in motor 102.

[0023] In embodiments, H-bridge circuit 104 and/or H-bridge circuit 106 may be replaced by half-bridge circuits, having a single high-side and a single low-side FET. The half bridge circuit may be coupled to one side of the motor winding, with the other side of the motor winding coupled to either a power source or ground.

[0024] System 100 also includes additional circuits for controlling operation of H- bridges 104 and 106, and thus for controlling motor 124. As shown, system 100 includes a gate drive circuit 128 which may be coupled to the gate terminals of FETs 108-122 to control the operation of the FETs. A bridge control logic circuit 130 and PWM controller 134 provide timing and control circuitry for controlling motor 102. For example, bridge control logic circuit 130 may control direction, speed, or position of motor 102.

[0025] System 100 may also include system control and register circuit 136.

System control and register circuit 136 may include inputs such as STEP input, to instruct system 100 to advance a stepper motor by one step (or a half-, quarter-, or eighth-, or sixteenth-step), a DIR input to control the direction of rotation of motor 102, a RESET input, a clock input, a serial interface, etc. Registers within system control and register circuit 136 may, for example, be programmed via the serial interface. The programmable registers may also control operation of the system, and may include programmable control registers that affect operation of system 100 including but not limited to: registers to control rectification, blank time, frequency, dither control, slew rate, max phase current, motor step resolution (e.g. full-, half-, quarter-, or eighth-, or sixteenth-step resolution), serial communication parameters, and/or other operating parameters of system 100.

[0026] In embodiments, system 100 is capable of driving motor 102, e.g. a stepper motor, in full-, half-, quarter-, eighth-, and sixteenth-step modes, with phase current up to about +/- 1.4 Amps. PWM control circuits 132 and 134 control the phase current by controlling the driving of the gates of FETs 108-122 using pulse- width modulation techniques.

[0027] System 100 also includes reverse current detector circuits 138 and 140 to detect when current is flowing in a reverse direction, i.e. from ground to motor 102, through low-side FETs 1 12, 114, 120, or 122. The reverse current detector circuits may indicate when a reverse current flows through the low side FETs, which will be discussed below in greater detail.

[0028] System 100 may also include other circuits, such as oscillators, regulators, charge pumps, under-voltage and over-voltage detection circuits, temperature sensing circuits, etc.

[0029] In operation, system 100 controls motor 102 by switching FETs 108-122 on and off. For example, referring to H-bridge 104, system 100 may turn FETs 108 and 114 on (i.e. place FETs 108 and 1 14 in a conducting state) and turn FETs 110 and 1 12 off (i.e. place FETs 1 10 and 112 in a non-conducting state). This allows current to flow from power source VBB, through FET 108, through motor winding 124 in the direction of arrow 142, through FET 1 14, and finally to ground. System 100 may then turn FETs 108 and 1 14 off and turn FETs 110 and 112 on. This allows current to flow in the opposite direction through motor winding 124: from power source VBB, though transistor 110, through motor winding 124 in the direction of arrow 144, through FET 1 12, and finally to ground. System 100 may switch FETs 1 16-122 of H-bridge 106 in the same or a similar manner to drive current through motor winding 126.

[0030] One skilled in the art will recognize that, if motor 102 is a two-phase

stepper motor, alternating the current through windings 124 and 126 will cause motor 102 to rotate. By controlling the timing of the current switching, system 100 can control the speed, direction, and position of motor 102. However, as noted above, system 100 may be used to control other types of loads including, but not limited to, other types of electric motors, regulated voltage loads, etc.

[0031] Because the motor coils are inductive, attempting to instantaneously switch the direction of the current quickly can cause fly-back voltage and/or fly-back current. Consider the situation where FETs 108 and 114 are closed and current is flowing through motor coil 124 in the direction of arrow 142. In this situation, the voltage of signal 102b will be relatively high (e.g. near VBB) and the voltage of signal 102a will be relatively low (e.g. near ground). When FETs 108 and 1 14 open and FETs 1 10 and 112 close, the voltage at signal 102b approaches ground and the voltage at signal 102a approaches VBB. However, due to the inductance of coil 124, the current through coil 124 will not change directions instantaneously— it will continue to flow in the direction of arrow 142 immediately after the FETs are switched. This can drive the voltage level of signal 102a up, potentially to a level greater than the voltage at VBB, and/or drive the voltage level of signal 102b down, potentially to a level lower than the ground voltage. If the voltage at signal 102b is less than the ground voltage, a reverse current may flow from ground, through FET 1 14, to motor coil 124 of motor 102.

[0032] Fly-back voltage and current effects of the motor can cause inaccuracies and inefficiencies in system operation. For example, the fly-back effects can affect the shape of the current waveform and/or the phase of current through the motor winding, which can create imprecision in controlling the motor and cause energy to be lost in the form of heat. Therefore, system 100 may include circuitry to minimize the effect of the fly-back voltage and/or current of the inductive motor coil. In embodiments, PWM control circuits 132 and 134 may act to minimize the time during which reverse current is flowing from ground, through the low side FETs, to the motor winding. The PWM control circuits may employ a fast decay, slow-decay, and/or a mixed mode scheme to minimize the fly-back current.

[0033] A fast-decay scheme switches the FETs in an H-bridge as described above.

For example, referring to H-bridge 104, a fast-decay scheme will switch between driving FETs 108 and 1 14 open and driving FETs 1 10 and 1 12 closed, -to driving FETs 108 and 114 closed and driving FETs 1 10 and 112 open. This will cause the fly-back current to decay at a relatively fast rate because the H-bridge will be driving current in the opposite direction of the fly-back current.

[0034] A slow-decay scheme ties both sides of the motor winding to ground or ties both sides of the motor winding to the power supply (e.g. VBB) after the coil has been turned off. Thus, between driving current through the motor coil in the direction of arrow 142 and driving current through the motor coil in the direction of arrow 144, the system 100 may turn on both low-side FETs (e.g. FETs 112 and 1 14), and turn off both high-side FETs (e.g. FETs 108 and 1 10) to tie both sides of the motor winding to ground; or may turn off both low-side FETs and turn on both high-side FETs to tie both sides of the motor winding to VBB to allow the fly-back current to decay. This ties both ends of the motor winding 124 to ground to allow the fly-back current to decay at a relatively slower rate than when using fast-decay. [0035] A mixed-mode decay uses both fast-decay and slow-decay schemes. Under mixed-mode, after driving cun-ent through the motor in the direction of arrow 142, the system 100 may immediately employ a fast-decay scheme by switching the FETs 108- 1 14 to drive the current in the opposite direction (i.e. in the direction of arrow 144). After the fly-back current has been partially reduced by the fast-decay, the system 100 may then employ a slow-decay scheme by turning FETs 1 12 and 114 on to tie both ends of motor winding 124 to ground. System 100 may then drive motor winding in either direction 142 or 144 to control motor 102.

[0036] To determine when reverse current is flowing through the low side FETs, so that PWM control circuits can control the decay of fly-back current, reverse current detector circuits 138 and 140 may detect the reverse current flowing through the low- side FETs.

[0037] Referring to FIG. 2, a switching circuit (e.g. FET 202) is coupled to a load

(e.g. motor 204) and a reference node (e.g. ground 203). FET 202 may be the same as or similar to low-side FETs 112, 1 14, 120, and/or 122 in FIG. 1. FET 202 may be capable of conducting a reverse current from the reference node to the load (i.e. from ground to motor 204) when a voltage at the load is lower than a voltage at the reference node. For example, FET 202 may include a body diode 206 through which current can flow when the voltage at drain terminal 208 is lower than the ground voltage. The gate terminal 205 of FET 202 may be coupled to and driven by a gate drive circuit, such as gate drive circuit 128 in FIG. 1.

[0038] A reverse current detector circuit 210 may include a voltage source circuit

212 having a first terminal 214 coupled to the load, a second terminal 216 configured to follow a voltage at the load. Reverse current detector circuit 210 may be the same as or similar to reverse current detector circuit 138 and/or reverse current detector circuit 140 in FIG. 1.

[0039] Voltage source circuit 212 may produce a voltage proportional to a voltage drop across the switching circuit. For example, voltage source circuit 212 may produce a voltage approximately proportional or equal to a voltage across body diode 206 when current is flowing through body diode 206.

[0040] A comparator circuit 218 has a first input 220 coupled to receive the

voltage at second terminal 216 and another input 222 coupled to receive the voltage at the reference node 203. Thus, comparator circuit 218 may compare a voltage at the second terminal 216 of the voltage source circuit 212 to the voltage at the reference node 203. Comparator circuit 218 also includes an output terminal 224 which produces a signal 224a to indicate when the reverse current through FET 202 has a magnitude greater than a predetermined threshold (i.e. when a predetermined reverse current flows). For example, when the voltage at terminal 216 drops below the voltage at reference node 203, comparator circuit 218 asserts signal 224a to indicate that reverse current is flowing through FET 202. One of skill in the art will recognize that the comparator may be configured to produce positive logic (i.e. a high output indicating when a predetermined reverse current is flowing) or negative logic (i.e. a low output indicating when a predetermined reverse current is flowing).

[0041 ] Referring to FIG. 3 , a reverse current detector circuit 310 may be the same as or similar to reverse current detector circuit 210 in FIG. 2. As shown in FIG. 3, voltage source circuit 212 may comprise a sense transistor (i.e. FET 302) and a current source 304. A first terminal (e.g. drain terminal 305) of FET 302 is coupled to the load 204, and a second terminal (e.g. source terminal 306) of FET 302 is coupled to input 220 of comparator circuit 21 8, and allowed to follow the voltage at the load 204. The gate terminal of FET 302 may be tied to the gate terminal of FET 202 so that FETs 202 and 302 are turned on and off at the same time.

[0042] As shown, FET 302 may include a body diode 308. In an embodiment, the conduction threshold voltage of body diode 308 may be about the same as the conduction threshold voltage of body diode 206, so that the voltage drop across body diode 308 when a predetermined reverse current is flowing through FET 302 is about the same as the voltage drop across body diode 206 when the predetermined reverse current is flowing through FET 202.

[0043] The conduction threshold voltage of body diode 308 and/or body diode 206 may be between about 0.3 V to about 0.8V. In embodiments, the conduction threshold voltage may be up to 1.4V or higher. In other embodiments, the conduction threshold voltage of body diode 308 may be different than the threshold voltage of body diode 206.

[0044] FET 302 may be proportionally smaller than FET 202. For example, if

FETs 202 and 302 are part of an integrated circuit, FET 302 may comprise a smaller area on the silicon than FET 202. In embodiments, the area of FET 302 may be on the order of about 1000 to 1400 times smaller than that of FET 202. Thus, the reverse current through FET 302 may need only be about 1000 to about 1400 times less than the reverse current through FET 202 in order to produce a proportional voltage drop (e.g. a substantially equal voltage drop) across body diode 308 to that of the voltage drop across body diode 206.

[0045] In embodiments, current source 304 is a variable current source, such as may be a digital-to-analog controlled current source, or by be controlled with a digital- to-analog converter. For example, current source 304 may have a digital input 307. Digital input 307 may be a digital bus that can control the magnitude of the current produced by current source 304. In an embodiment, digital input 307 is a 16-bit digital bus.

[0046] Current source 304 may drive a variable current into source terminal 310 of

FET 302, through body diode 308, and into load 204. Reverse current through low- side FET 202 acts to discharge the fly-back current of motor 204. Although the reverse current through FET 302 is smaller than the reverse current through FET 202, the reverse current through FET 202 may also contribute to discharging the back-EMF or fly-back current.

[0047] In operation, reverse current detector circuit 310 detects reverse current flowing from reference node 203, through FET 202, and into motor 204. While the reverse current is flowing, and more particularly, while the magnitude of the reverse current exceeds a predetermined threshold (i.e. when a predetermined reverse current flows), comparator circuit 218 asserts signal 224a to indicate that the predetermined reverse current is flowing.

[0048] First consider the situation where the predetermined threshold is zero. In other words, reverse current detector circuit 310 is configured to assert signal 224a when any reverse current is flowing through FET 202. In this situation, current source 304 is configured to drive a current through body diode 308 so that the voltage drop across body diode 308 is substantially equal to the conduction threshold of body diode 206. Assume also that the first terminal 208 is coupled to one side of motor winding 312. [0049] While driving motor 204 with low-side FET 202 on, current flows through winding 312, through FET 202, to reference node 203. Because FET 202 is in saturation, the voltage at terminal 208 is Vds, which may be zero or very close to zero. Assuming that reference node 203 is a ground node, voltage at terminal 208 is zero or very close to zero.

[0050] When low-side FET switches off, the instantaneous current through the inductive winding 312 continues to flow in the direction of arrow 314, which drives the voltage at terminal 208 down. If the voltage at terminal 208 drops to a level so that the voltage across body diode 206 meets or exceeds the conduction threshold of body diode 206, then reverse current will flow from reference node 203, through body diode 206, toward motor 204, in the direction of arrow 316.

[0051] Recall that current source 304 is driving a predetermined current through

FET 302 so that the voltage drop across body diode 308 is substantially equal to the conduction threshold of body diode 206. In other words, voltage Vds2 is substantially equal to voltage Vds. Thus, when body diode 206 is on the verge of conducting reverse current, the voltage at source terminal 306 is substantially equal to the voltage at reference node 203.

[0052] If the voltage at terminal 208 is driven further down by the fly-back

current, body diode 206 will begin to conduct reverse current. Also, as the voltage at terminal 208 is driven further down, the voltage at source terminal 306 will follow the voltage at terminal 208 so that, as body diode 206 begins to conduct, the voltage at source terminal 306 will drop below the voltage at reference node 203. When the voltage at source terminal 306 drops below the voltage at reference node 203, comparator circuit 218 will assert signal 224a to indicate that reverse current is flowing through FET 202.

[0053] Changing the output of current source 304 can change the predetermined threshold of reverse current through FET 202 that must be exceeded in order for the comparator 208 to assert signal 224a. As noted above, current source 304 may be a variable current source. In one embodiment, current source 304 may be, or may be controlled by, a 16-bit DAC such as DAC 309, for example.

[0054] The example above illustrates operation of reverse current detector circuit

310 where the predetermined threshold of reverse current being detected is zero or, in other words, where signal 224a is asserted as soon as reverse current flows through FET 202. However, reverse current detector 310 can be configured to assert signal 224a only if the magnitude of the reverse current exceeds other predetermined thresholds. In embodiments, this can be accomplished by increasing the current provided by current source 304. If the output of current source 304 is increased, the voltage across body diode 308 will proportionally increase. Therefore, in order to trip the comparator circuit 218, the voltage at terminal 208 must be driven to a relatively lower voltage than in the zero-threshold example above, which correlates to a relatively higher reverse current through flowing through body diode 206 prior to the comparator circuit 218 asserting output signal 224a. Alternatively, the output current of current source 304 can be decreased so that signal 224a is asserted when the voltage at terminal 208 drops to a level that does not yet allow reverse current to flow through body diode 206. In an embodiment, the current provided by current source 304 can be configured so that comparator circuit 218 trips when the reverse current has a magnitude between about 0 Amps and about 1400 milliamps. [0055] It will be appreciated that while adjusting the current provided by current source 304 as described above is one way to adjust the level of reverse current necessary to cause the comparator circuit 218 to trip, an offset voltage may be introduced between the reference node 203 and the comparator input 222. Such an embodiment may incorporate a programmable offset into the comparator circuit.

[0056] Referring to FIG. 4, graph 400 includes examples of waveforms that may be generated by reverse current detector circuit 310 and low-side FET. Waveform 402 represents the current through motor winding 312. Waveform 404 represents the voltage at terminal 208 (the drain terminal of low-side-FET 202). Waveform 406 represents a current flowing through a low-side (e.g. FET 202) during the PWM on- time, i.e. when low side FET 202 is on and driving the load. Waveform 408 represents output signal 224a of comparator 218. Waveform 410 represents the voltage at the drain node of a low side FET (e.g. FET 202 or 1 12). Waveform 412 represents the voltage at the drain of a FET on the opposite side of the load. For example, if waveform 410 represents the voltage at the drain node of FET 112 in FIG. 1, then waveform 412 may represent the voltage at the drain node of FET. 1 14. Waveform 414 represents the voltage at the source node 306 of FET 302. Waveform 416 represents the output current of current source 304.

[0057] Referring to waveform 404, the current flowing through the low-side FET

202 while low-side FET 202 is on can be used to determine when to turn FET 202 off to stop driving the load. For example, while FET 202 is on, once the current reaches a predetermined threshold, the bridge may switch to a so-called off-time where the bridge is not actively driving the motor. During the off-time, FET 202 may be turned off, which may induce a fly-back current effect and cause reverse current to flow through FET 202, as described above.

[0058] In the example waveform shown, at or about time Tl , FET 202 switches from an on state to an off state. Also at time Tl, current source 304 turns on and drives a reverse current through FET 302, as shown by waveform 416. Between the times Tl and T2, a fly-back current from motor winding 312 drives the voltage at terminal 208 down, as shown by wavefomi 410. The voltage at source terminal 306 (at the input 220 of comparator 218) follows the voltage at terminal 208.

[0059] At time T2, the voltage at terminal 208 is low enough to allow reverse current to flow through transistor 202. Accordingly, at time T2, the voltage at source terminal 306 is below zero as shown by waveform 414. Comparator 218 then asserts signal 224a, as shown by waveform 408 at time T2.

[0060] Between times T2 and T3, the fly-back current dissipates, and the voltages at terminal 208 and source terminal 306 rise. This can be seen in the rising slopes of waveforms 410 and 414 between times T2 and T3. At time T3, the voltage at terminal 306 rises to zero volts and the comparator output transitions, indicating that the predetermined reverse current is no longer flowing through FET 202. It will be appreciated that the predetermined reverse current may have already ceased flowing prior to the transition of the comparator output due to comparator blanking or hysteresis and/or signal propagation delay, for example. In an embodiment, a fixed blank time is used which may prevent switching transients from falsely tripping the comparator.

[0061] In embodiments, a single reverse current detector circuit can be selectively coupled to two (or more) low-side FETs in an H-bridge in order to detect reverse current. For example, referring again to FIG. 1 , when driving motor winding 124, typically only one of low-side FET 1 12 and 1 14 is off at a given time. A switch or series of switches can be used to couple reverse current detector 138 to low-side FET 1 12 while low-side FET 1 12 is off, and to couple reverse current detector 138 to low- side FET 1 14 when low-side FET 1 14 is off. Thus, a single reverse current detector 138 can be used to detect reverse current flowing through FET 1 12 and FET 114.

[0062] Referring to FIG. 5, a method 500 for detecting reverse current includes generating a voltage proportional to a voltage drop across a switching circuit in box 502. The voltage may be generated by a voltage source, a battery, etc. In an embodiment, the voltage may be generated by a current source 304 driving current through a FET 306, as shown in FIG. 3.

[0063] In box 504, one terminal of the voltage source is allowed to follow the voltage at a load. For example, in FIG. 3, the source terminal of FET 302 is tied to a high impedance input of comparator circuit 208. Thus, as Vds2 remains relatively constant, the voltage at source terminal 308 will follow any changes in the voltage at terminal 208, i.e. the voltage at motor 204.

[0064] In box 506, whether a predetermined reverse current is flowing through the switching circuit is indicated. For instance, when reverse current flows through FET 202 in FIG. 3, signal 224a is asserted by the comparator circuit 218 to indicate that the predetermined reverse current is flowing. In box 508, the system may indicate whether the reverse current is flowing by comparing a voltage at the one terminal of the voltage source (e.g. at source terminal 306) to a reference voltage (e.g. reference voltage 203, which may be a ground reference voltage). 65] Having described preferred embodiments, which serve to illustrate various concepts, structures and techniques, which are the subject of this patent, it will now become apparent to those of ordinary skill in the art that other embodiments incorporating these concepts, structures and techniques may be used. Accordingly, it is submitted that that scope of the patent should not be limited to the described embodiments but rather should be limited only by the spirit and scope of the following claims. All references cited herein are hereby incorporated herein by reference in their entirety.