1. Technical Field
This disclosure relates to current sensing circuits, including current sensing circuits that control motors driven by an H-bridge of electronic switches.
2. Description of Related Art
The windings of a motor may each be driven by an H-bridge of electronic switches, which may be driven by a pulse-width-modulated (PWM) signal.
The system may need to continually measure the current flowing into (or out of) each motor winding. To effectuate this needed measurement, a shunt resistance may be placed in series with each winding, and the differential voltage across each shunt resistance may be measured and serve as an indication of the current that is traveling through it.
A differential amplifier may be used to measure the differential voltage across the shunt resistance. However, the differential voltage across the shunt resistance may be very low, while the common mode voltage of the shunt resistance—the instantaneous average of the voltages of the shunt resistance terminals with respect to ground—may vary widely as the H-bridge is switched by the PWM signal. This may cause errors in the measurements made by the differential amplifier.
To reduce these errors, the differential amplifier may have a high common mode voltage rejection ratio (CMRR). This may enable the differential amplifier to accurately track the differential voltage across the shunt resistance, even in the face of wide variations in the common mode voltage. However, difficult trade-offs between optimizing for DC accuracy (offset voltage) and AC performance (AC CMRR) may be needed.
Some H-bridge driven motor controllers may not directly measure the current in the motor winding. Instead, they may measure the current in either a ground or a supply connection to switches that form the H-bridge. However, the information provided by this approach may not be as accurate as directly measuring the current to the motor winding.
A current sensing circuit may include a shunt resistance through which current to be sensed travels. A first and a second differential amplifier may each provide an amplified output of the voltage across the shunt resistance. A switching system may deliver a current sensing signal output based on the amplified output of the first differential amplifier when the common mode voltage across the shunt resistance is low and based on the amplified output of the second differential amplifier when the common mode voltage across the shunt resistance is high.
The first differential amplifier may provide its lowest output DC offset voltage when the common mode voltage is low, while the second differential amplifier may provide its lowest output DC offset voltage when the common mode voltage is high. The current sensing circuit may sense current that is controlled by one or more switches that switch at a switching frequency. The first and second differential amplifiers may both have a low common mode voltage rejection ratio at the switching frequency, such as a ratio of less than 40 dB.
These, as well as other components, steps, features, objects, benefits, and advantages, will now become clear from a review of the following detailed description of illustrative embodiments, the accompanying drawings, and the claims.
The drawings are of illustrative embodiments. They do not illustrate all embodiments. Other embodiments may be used in addition or instead. Details that may be apparent or unnecessary may be omitted to save space or for more effective illustration. Some embodiments may be practiced with additional components or steps and/or without all of the components or steps that are illustrated. When the same numeral appears in different drawings, it refers to the same or like components or steps.
Illustrative embodiments are now described. Other embodiments may be used in addition or instead. Details that may be apparent or unnecessary may be omitted to save space or for a more effective presentation. Some embodiments may be practiced with additional components or steps and/or without all of the components or steps that are described.
The motor 101 may be of any type. For example, the motor may be a DC motor whose torque is proportional to input current. The motor 101 may have several windings. Each winding may be driven by an additional instance of the circuit illustrated in
The H-bridge switches 107 and 109 may be electronic switches, such as MOSFETs that may be driven at a switching frequency. The gate drive circuit 105 may be configured to actuate the H-bridge switches 107 and 109 so as to cause the winding of the motor 101 to be alternatingly connected to a high and a low voltage, such as to a positive supply voltage +V and to ground, in synchronism with state changes of the PWM drive signal 103. For example, the gate drive circuit 105 may be configured to cause the winding of the motor 101 to be connected to +V when the PWM drive signal 103 is high and to ground when the PWM drive signal 103 is low.
The PWM drive signal 103 may be generated by a drive circuit (not shown) that causes the PWM drive signal 103 to have a frequency and/or duty cycle that causes the motor 101 to operate in a particular desired way, such as at a particular position, speed, and/or acceleration. To facilitate this, information about the current that is traveling through the motor 101 may be needed by the drive circuit that generates the PWM drive signal 103. This current information may be obtained by measuring the voltage across the shunt resistance 111. The shunt resistance 111 may be a single resistor, a set of resistors, and/or one or more other types of components that have a resistance. The value of the resistance may be low, so as not to cause a large voltage drop and hence energy loss.
The average of the voltage at the input of the shunt resistance 111 and the voltage at the output of the shunt resistance 111 is known as the common mode voltage. This common mode voltage may be very low when the motor winding is connected to ground through the H-bridge switch 109, while it may be very high when the motor winding is connected to +V through the H-bridge switch 107.
Both differential amplifiers 113 and 115 may be configured to provide an amplified output of the voltage across the shunt resistance 111 when connected across the shunt resistance 111. However, the differential amplifier 113 may be optimized to provide its lowest output DC offset voltage when the common mode voltage is low (e.g., ground). Conversely, the differential amplifier 115 may be optimized to provide its lowest output DC offset voltage when the common mode voltage is high (e.g., +V). When in this configuration, both of the differential amplifiers 113 and 115 may have a small common mode rejection ratio, such as a ratio that is less than 40 dB at the switching frequency.
The switching system may be configured to cause a current sensing signal output 135 to be based on the amplified output of the first differential amplifier 113 and not the amplified output of the second differential amplifier 115 when the common mode voltage across the shunt resistance 111 is low (e.g., ground). Conversely, the switching system may be configured to cause the current sensing signal output 135 to be based on the amplified output of the second differential amplifier 115 and not the amplified output of the first differential amplifier 113 when the common mode voltage across the shunt resistance 111 is high (e.g., +V).
Amplifiers 113 and 115 may each have connections to +V and GND, unlike as is illustrated in
The switching system may employ any means to facilitate this functionality. For example, the threshold bias circuit 117 may generate a reference voltage and the comparator 119 may compare that reference voltage with a voltage on the shunt resistance 111, such as the voltage at the input to the shunt resistance 111. When above the reference voltage, the output of the comparator 119 may cause the switch timing/nulling circuit 121 to cause the voltage across the shunt resistance 111 to be amplified by only the differential amplifier 113 by causing switches 123, 125, and 131 to close, while causing switches 127, 129, and 133 to open. Conversely, when above the reference voltage, the output of the comparator 119 may cause the switch timing/nulling circuit 121 to cause the voltage across the shunt resistance 111 to be amplified by only the differential amplifier 115 by causing switches 123, 125, and 131 to open, while causing switches 127, 129, and 133 to close. The switches 123, 125, 127, 129, 131, and 133 may be any type of electronic switches, such as MOSFETs.
In a different configuration, there may not be switches 123, 125, 127, or 129. Instead, the inputs to the differential amplifiers 113 and 115 may both always be connected across the shunt resistance 111. The switching could instead be internal to a single chip containing both amplifiers.
By ping-ponging the differential amplifiers 113 and 115 back and forth, each may amplify the differential voltage across the shunt resistance 111 only when the differential amplifier is best matched to the common mode voltage of the shunt resistance 111, i.e., at a time when the common mode voltage is low (e.g., ground) for the differential amplifier 113 that is optimized for low common mode voltages, and at a time when the common mode voltage is high (e.g., +V) for the differential amplifier 115 that is optimized for high common mode voltages.
The switch timing/nulling circuit 121 may automatically adjust the differential amplifiers 113 and 115 so as to cause their outputs to be zero when there is no differential voltage at their inputs. The switch timing/nulling circuit 121 may be configured to perform this function repeatedly during the course of the operation of the current sensing circuit, thereby compensating for drift in this zero output caused by temperature changes, component aging, and/or other reasons.
The switch timing/nulling circuit 121 may implement any approach for effectuating this auto zeroing function. For example, the switch timing/nulling circuit 121 may be configured to zero each of the differential amplifiers 113 and 115 when they are not being used to measure the voltage across the shunt resistance 111, e.g., when the input to the differential amplifier that is being nulled is disconnected from the shunt resistance 111 by opening the switches that connect the differential amplifier to the shunt resistance 111, thereby causing the voltage at the input of the differential amplifier to be zero. The switch timing/nulling circuit 121 may then examine the output of the disconnected differential amplifier and provide a compensating input to the differential amplifier that causes its output to also be at zero. Example of such nulling approaches may be found in U.S. Pat. No. 4,633,642 and European patent 1,428,314. All or any portion of the switch timing/nulling circuit 121 could be part of the amplifiers 113 and/or 115.
In order to synchronize nulling of the differential amplifiers, a clock that runs at a multiple of the frequency of the PWM drive signal 103 may be used to provide non-overlapping clocks. A PLL/frequency synthesizer or other type of circuit that can produce a multiple (e.g., doubling or quadrupling) of this frequency from the PWM drive signal 103 or from another signal may be used.
The switch timing/nulling circuit 121 may instead be configured to null each of the differential amplifiers 113 and 115 while they are measuring the voltage across the shunt resistance 111. Examples of nulling approaches that may be used may be found in U.S. Pat. No. 7,292,095; “140 dB-CMMR Current-Feedback Instrumentation Amplifier Employing Ping-Pong Auto-Zeroing and Chopping,” a paper presented at the 2009 IEEE International Solid-State Circuits Conference; and “A Micro Power Chopper-Stabilized Operational Amplifier Using A SC Notch Filter With Synchronous Integration Inside The Continuous-Time Signal Path,” IEEE Journal of Solid-State Circuits, Vol. 41, No. 12, Dec. 2006.
Unlike in
Unlike in
Unlike in
More specifically, a switch timing/nulling circuit 501 may be configured to switch in the differential amplifier 113 so that it can begin measuring the voltage across the shunt resistance 111 when the voltage on the shunt resistance 111 drops below the low reference voltage 407 as detected by the comparator 411; may switch out the differential amplifier 113 so that it stops measuring the voltage across the shunt resistance 111 when there is an upward transition in the PWM drive signal 103; may switch in the differential amplifier 115 so that it begins measuring the voltage across the shunt resistance 111 when the voltage on the shunt resistance 111 rises above the high reference voltage 405 as detected by the comparator 409; and may switch out the differential amplifier 115 so that it stops measuring the voltage across the shunt resistance 111 when there is a downward transition in the PWM drive signal 103. Except for this difference, the switch timing/nulling circuit 501 may be the same as the switch timing/nulling circuit 121 illustrated in
A switch timing/nulling circuit 601 may be configured to control the sample and hold circuits 603 and 605 so as to cause them to each sample the voltage across the shunt resistance 111 at the end of the period when the differential amplifier to which the sample and hold circuit is amplifying the voltage across the shunt resistance 111. The switch timing/nulling circuit 601 may be configured to control the sample and hold circuits 603 and 605 so as to cause them to each hold that sampled voltage at the input to its differential amplifier while its differential amplifier is not amplifying the voltage across the shunt resistance 111. Except for this additional functionality, the switch timing/nulling circuit 601 may be the same as the switch timing/nulling circuit 501. A track and hold circuit may be used instead of one or both of the sample and hold circuits 603 and 605.
The components, steps, features, objects, benefits, and advantages that have been discussed are merely illustrative. None of them, nor the discussions relating to them, are intended to limit the scope of protection in any way. Numerous other embodiments are also contemplated. These include embodiments that have fewer, additional, and/or different components, steps, features, objects, benefits, and advantages. These also include embodiments in which the components and/or steps are arranged and/or ordered differently.
For example, instead of connecting a comparator input directly to the shunt resistance 111, the voltage on the shunt resistance 111 may first be attenuated using, for example, a resistive divider, so that a lower threshold voltage may be applied to the comparator reference input. Instead of using switches 131 and 133 at the output of the differential amplifiers, the differential amplifiers may be configured such that the switch timing/nulling circuit can set the output of a differential amplifier in a high-impedance state, so that the output 135 of the circuit may be derived, in turn, from the differential amplifier which is not set in a high-impedance state, using a technique commonly referred to as “wired-or” connecting of two outputs. Comparators may also be used to detect fault conditions, such as a disconnected sense resistance or a shorted winding. The amplifiers may be designed such that the inputs must stay within the supplies, or such that the inputs may operate outside of the supplies, allowing for supply voltages that are substantially lower than the motor winding voltages. The amplifiers may operate from the same set of power supplies, or power supplies tailored to the common-mode voltages that correspond to the active periods of each amplifier's operation. The amplifiers may null at frequencies that are higher than, lower than, or synchronized to the common-mode switch frequency. The nulling may include spread-spectrum or other clock-feed through reduction techniques.
Unless otherwise stated, all measurements, values, ratings, positions, magnitudes, sizes, and other specifications that are set forth in this specification, including in the claims that follow, are approximate, not exact. They are intended to have a reasonable range that is consistent with the functions to which they relate and with what is customary in the art to which they pertain.
All articles, patents, patent applications, and other publications that have been cited in this disclosure are incorporated herein by reference.
The phrase “means for” when used in a claim is intended to and should be interpreted to embrace the corresponding structures and materials that have been described and their equivalents. Similarly, the phrase “step for” when used in a claim is intended to and should be interpreted to embrace the corresponding acts that have been described and their equivalents. The absence of these phrases from a claim means that the claim is not intended to and should not be interpreted to be limited to these corresponding structures, materials, or acts, or to their equivalents.
The scope of protection is limited solely by the claims that now follow. That scope is intended and should be interpreted to be as broad as is consistent with the ordinary meaning of the language that is used in the claims when interpreted in light of this specification and the prosecution history that follows, except where specific meanings have been set forth, and to encompass all structural and functional equivalents.
Relational terms such as “first” and “second” and the like may be used solely to distinguish one entity or action from another, without necessarily requiring or implying any actual relationship or order between them. The terms “comprises,” “comprising,” and any other variation thereof when used in connection with a list of elements in the specification or claims are intended to indicate that the list is not exclusive and that other elements may be included. Similarly, an element preceded by an “a” or an “an” does not, without further constraints, preclude the existence of additional elements of the identical type.
None of the claims are intended to embrace subject matter that fails to satisfy the requirement of Sections 101, 102, or 103 of the Patent Act, nor should they be interpreted in such a way. Any unintended coverage of such subject matter is hereby disclaimed. Except as just stated in this paragraph, nothing that has been stated or illustrated is intended or should be interpreted to cause a dedication of any component, step, feature, object, benefit, advantage, or equivalent to the public, regardless of whether it is or is not recited in the claims.
The abstract is provided to help the reader quickly ascertain the nature of the technical disclosure. It is submitted with the understanding that it will not be used to interpret or limit the scope or meaning of the claims. In addition, various features in the foregoing detailed description are grouped together in various embodiments to streamline the disclosure. This method of disclosure should not be interpreted as requiring claimed embodiments to require more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive subject matter lies in less than all features of a single disclosed embodiment. Thus, the following claims are hereby incorporated into the detailed description, with each claim standing on its own as separately claimed subject matter.
This application is based upon and claims priority to U.S. provisional patent application 61/866,334, entitled “Current Sensing for H-Bridge Applications,” filed Aug. 15, 2013. The entire content of this application is incorporated herein by reference.
Number | Name | Date | Kind |
---|---|---|---|
2873417 | Wilkins | Feb 1959 | A |
4608524 | Yokobori | Aug 1986 | A |
4764720 | Nystrom | Aug 1988 | A |
4933642 | Lee | Jun 1990 | A |
5266888 | Aslan | Nov 1993 | A |
5552684 | Wada et al. | Sep 1996 | A |
5861775 | Chen et al. | Jan 1999 | A |
5920189 | Fisher et al. | Jul 1999 | A |
6332506 | Kifuku | Dec 2001 | B1 |
6459972 | Kodaka et al. | Oct 2002 | B2 |
6476671 | Tang | Nov 2002 | B1 |
6570360 | Freeman | May 2003 | B1 |
7075464 | Hehn | Jul 2006 | B2 |
7224135 | Menegoli | May 2007 | B1 |
7292095 | Burt et al. | Nov 2007 | B2 |
20130033209 | Murata et al. | Feb 2013 | A1 |
Number | Date | Country |
---|---|---|
0827266 | Mar 1998 | EP |
1428314 | Mar 2009 | EP |
2840407 | Feb 2015 | EP |
Entry |
---|
Intersil. 2013. Micropower, Rail to Rail Input Current Sense Amplifier with Voltage Output: ISL28006. Technical Data Sheet, Intersil Americas LLC, Nov. 22, 2013, 26 pages. |
Burt, R. 2006. A Micropower Chopper-Stabilized Operational Amplifier Using a SC Notch Filter With Synchronous Integration Inside the Continuous-Time Signal Path. IEEE Journal of Solid-State Circuits, vol. 41, No. 12, Dec. 2006, pp. 2729-2736. |
Linear Technology Corporation. 2007. LT6105: Precision, Extended Input Range Current Sense Amplifier. Technical Data Sheet, 20 pages. |
Linear Technology Corporation. 2010. LT1999-10/LT1999-20/LT1999-50: High Voltage, Bidirectional Current Sense Amplifier. Technical Data Sheet. 24 page. (Revised Mar. 2012.). |
Pertijs, M.A.P. et al. 2009. A 140dB-CMRR Current-Feedback Instrumentation Amplifier Employing Ping-Pong Auto-Zeroing and Chopping. 2009 IEEE International Solid-State Circuits Conference, 2009, Session 19, pp. 324-325. |
European Patent Office. 2015. Extended European Search Report issued on Jan. 28, 2015 for European Patent Application No. EP 14 00 2828, published Feb. 25, 2015 as EP 2 840 407 A1 (European counterpart to instant application). |
Number | Date | Country | |
---|---|---|---|
20150048770 A1 | Feb 2015 | US |
Number | Date | Country | |
---|---|---|---|
61866334 | Aug 2013 | US |