Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
HIGH PERFORMANCE CURRENT SENSING ARCHITECTURE FOR BRUSHLESS MOTORS
Document Type and Number:
WIPO Patent Application WO/2020/097508
Kind Code:
A1
Abstract:
A motor controller for controlling the operation of a three-phase permanent magnet synchronous electric motor, wherein the three-phase permanent magnet synchronous electric motor is characterized by three phases A, B, C, and further wherein the three-phase permanent magnet synchronous electric motor is driven by regulating three phase currents iA, iB and iC for the three phases A, B, C, respectively, the motor controller comprising: a three-phase power supply for supplying the three phase currents iA, iB and iC; a first sensor for sensing the phase current iA; a second sensor for sensing across the phase currents iB and iC; and a microcontroller for controlling the operation of the three-phase power supply so as to produce the three phase currents iA, iB and iC needed to operate the three-phase permanent magnet synchronous electric motor, wherein the microcontroller reads the outputs of the first sensor and the second sensor and adjusts operation of the three-phase power supply so as to produce phase currents iA, iB and iC which produce the desired torque in the three-phase permanent magnet synchronous electric motor.

Inventors:
VALLE IV CLAUDE F (US)
BLANK AMY A (US)
ZENOWICH BRIAN (US)
NADOVICH THOMAS (US)
DRUMM DONALD E (US)
WOODALL CHRISTOPHER (US)
TOWNSEND WILLIAM T (US)
Application Number:
PCT/US2019/060541
Publication Date:
May 14, 2020
Filing Date:
November 08, 2019
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
BARRETT TECH LLC (US)
International Classes:
H02P6/00; G01R19/00; H02P6/08; H02P7/00
Foreign References:
US9257919B22016-02-09
US9291666B22016-03-22
US5541484A1996-07-30
Attorney, Agent or Firm:
PANDISCIO, Mark J. et al. (US)
Download PDF:
Claims:
What Is Claimed Is:

1. A motor controller for controlling the operation of a three-phase permanent magnet synchronous electric motor, wherein the three-phase permanent magnet synchronous electric motor is characterized by three phases A, B, C, and further wherein the three-phase permanent magnet synchronous electric motor is driven by regulating three phase currents iA, IB and ic for the three phases A, B, C, respectively, the motor controller comprising:

a three-phase power supply for supplying the three phase currents iA, IB and iC;

a first sensor for sensing the phase current iA;

a second sensor for sensing across the phase currents iB and ic; and

a microcontroller for controlling the operation of the three-phase power supply so as to produce the three phase currents iA, iB and ic needed to operate the three-phase permanent magnet synchronous electric motor, wherein the microcontroller reads the outputs of the first sensor and the second sensor and adjusts operation of the three-phase power supply so as to produce phase currents iA, iB and ic which produce the desired torque in the three-phase permanent magnet synchronous electric motor.

2. A motor controller according to claim 1 wherein the first sensor comprises an amplifier.

3. A motor controller according to claim 1 wherein the second sensor comprises an amplifier.

4. A motor controller according to claim 1 wherein the microcontroller causes the three- phase power supply to supply the three phase currents iA, iB and ic in the form of pulses.

5. A motor controller according to claim 1 wherein the three-phase power supply comprises a three-phase half-bridge amplifier.

6. A motor controller according to claim 5 wherein the three-phase half-bridge amplifier comprises: an A phase section comprising two transistors arranged in series and operated by the microcontroller; a B phase section comprising two transistors arranged in series and operated by the microcontroller; and a C phase section comprising two transistors arranged in series and operated by the microcontroller.

7. A motor controller according to claim 6 wherein the A phase of the three-phase permanent magnet synchronous electric motor is connected between the two transistors of the A phase section of the three-phase half-bridge amplifier; wherein the B phase of the three- phase permanent magnet synchronous electric motor is connected between the two transistors of the B phase section of the three-phase half-bridge amplifier; and wherein the C phase of the three-phase permanent magnet synchronous electric motor is connected between the two transistors of the C phase section of the three-phase half-bridge amplifier.

8. A motor controller according to claim 7 wherein the first sensor is connected to the A phase section of the three-phase half-bridge amplifier, and wherein the second sensor is con nected to the B phase section of the three-phase half-bridge amplifier and the C phase section of the three-phase half-bridge amplifier.

9. A motor controller according to claim 5 wherein the three-phase half-bridge amplifier comprises an A phase section comprising two transistors arranged in series and operated by the microcontroller, wherein one transistor of the A phase section is a high side transistor and one transistor of the A phase section is a low side transistor; a B phase section comprising two transistors arranged in series and operated by the microcontroller, wherein one transistor of the B phase section is a high side transistor and one transistor of the B phase section is a low side transistor; and a C phase section comprising two transistors arranged in series and operated by the microcontroller, wherein one transistor of the C phase section is a high side transistor and one transistor of the C phase section is a low side transistor,

wherein the A phase of the three-phase permanent magnet synchronous electric motor is connected to the A phase section of the three-phase half-bridge amplifier between the high side transistor and the low side transistor of the A phase section of the three-phase half-bridge amplifier; wherein the B phase of the three-phase permanent magnet synchronous electric motor is connected to the B phase section of the three-phase half-bridge amplifier between the high side transistor and the low side transistor of the B phase section of the three-phase half bridge amplifier; and wherein the C phase of the three-phase permanent magnet synchronous electric motor is connected to the C phase section of the three-phase half-bridge amplifier between the high side transistor and the low side transistor of the C phase section of the three- phase half-bridge amplifier; and wherein the first sensor is connected to the low side transistor of the A phase section of the three-phase half-bridge amplifier, and wherein the second sensor is connected to the low side transistor of the B phase section of the three-phase half-bridge amplifier and the low side transistor of the C phase section of the three-phase half-bridge amplifier.

10. A method for controlling the operation of a three-phase permanent magnet synchronous electric motor, wherein the three-phase permanent magnet synchronous electric motor is characterized by three phases A, B, C, and further wherein the three-phase permanent magnet synchronous electric motor is driven by regulating three phase currents iA, iB and ic for the three phases A, B, C, respectively, the method comprising:

supplying the three phase currents iA, IB and ic so as to drive the three-phase permanent magnet synchronous electric motor;

sensing the phase current iA and sensing across the phase currents iB and ic; and adjusting phase currents iA, iB and ic so as to produce phase currents iA, iB and ic which produce the desired torque in the three-phase permanent magnet synchronous electric motor.

1 1 . A method according to claim 10 wherein the first sensor comprises an amplifier.

12. A method according to claim 10 wherein the second sensor comprises an amplifier.

13. A method according to claim 10 wherein the microcontroller causes the three-phase power supply to supply the three phase currents iA, iB and ic in the form of pulses.

14. A method according to claim 10 wherein the three-phase power supply comprises a three-phase half-bridge amplifier.

15. A method according to claim 14 wherein the three-phase half-bridge amplifier comprises: an A phase section comprising two transistors arranged in series and operated by the microcontroller; a B phase section comprising two transistors arranged in series and operated by the microcontroller; and a C phase section comprising two transistors arranged in series and operated by the microcontroller.

16. A method according to claim 15 wherein the A phase of the three-phase permanent magnet synchronous electric motor is connected between the two transistors of the A phase section of the three-phase half-bridge amplifier; wherein the B phase of the three-phase permanent magnet synchronous electric motor is connected between the two transistors of the B phase section of the three-phase half-bridge amplifier; and wherein the C phase of the three- phase permanent magnet synchronous electric motor is connected between the two transistors of the C phase section of the three-phase half-bridge amplifier.

17. A method according to claim 16 wherein the first sensor is connected to the A phase section of the three-phase half-bridge amplifier, and wherein the second sensor is connected to the B phase section of the three-phase half-bridge amplifier and the C phase section of the three-phase half-bridge amplifier.

18. A method according to claim 14 wherein the three-phase half-bridge amplifier comprises an A phase section comprising two transistors arranged in series and operated by the microcontroller, wherein one transistor of the A phase section is a high side transistor and one transistor of the A phase section is a low side transistor; a B phase section comprising two transistors arranged in series and operated by the microcontroller, wherein one transistor of the B phase section is a high side transistor and one transistor of the B phase section is a low side transistor; and a C phase section comprising two transistors arranged in series and operated by the microcontroller, wherein one transistor of the C phase section is a high side transistor and one transistor of the C phase section is a low side transistor,

wherein the A phase of the three-phase permanent magnet synchronous electric motor is connected to the A phase section of the three-phase half-bridge amplifier between the high side transistor and the low side transistor of the A phase section of the three-phase half-bridge amplifier; wherein the B phase of the three-phase permanent magnet synchronous electric motor is connected to the B phase section of the three-phase half-bridge amplifier between the high side transistor and the low side transistor of the B phase section of the three-phase half bridge amplifier; and wherein the C phase of the three-phase permanent magnet synchronous electric motor is connected to the C phase section of the three-phase half-bridge amplifier between the high side transistor and the low side transistor of the C phase section of the three- phase half-bridge amplifier;

and wherein the first sensor is connected to the low side transistor of the A phase section of the three-phase half-bridge amplifier, and wherein the second sensor is connected to the low side transistor of the B phase section of the three-phase half-bridge amplifier and the low side transistor of the C phase section of the three-phase half-bridge amplifier.

Description:
HIGH PERFORMANCE CURRENT SENSING ARCHITECTURE FOR BRUSHLESS MOTORS

Reference To Pending Prior Patent Applications

This patent application:

(i) claims benefit of pending prior U.S. Provisional Patent Application Serial No.

62/758,004, filed 1 1/09/2018 by Barrett Technology, LLC and Claude F. Valle IV et al. for HIGH PERFORMANCE CURRENT SENSING ARCHITECTURE FOR BRUSHLESS MOTORS

(Attorney’s Docket No. BARRETT-13 PROV); and

(ii) claims benefit of pending prior U.S. Provisional Patent Application Serial No.

62/861 ,772, filed 06/14/2019 by Barrett Technology, LLC and Claude F. Valle IV et al. for HIGH PERFORMANCE CURRENT SENSING ARCHITECTURE FOR BRUSHLESS MOTORS (Attorney’s Docket No. BARRETT-15 PROV).

The two (2) above-identified patent applications are hereby incorporated herein by reference.

Field Of The Invention

This invention relates to motors in general, and more particularly to permanent magnet synchronous electric motors and motor controllers for operating the same.

Background Of The Invention

To appreciate the invention, it is important to understand some core concepts:

(i) the basic construction and operation of a 3-phase permanent magnet synchronous electric motor (PMSM);

(ii) two of the mathematical building blocks involved: Clarke and Park transforms;

(iii) 3-phase half-bridge operation: switching states, current paths, diode circulation; and

(iv) how the pulse-width modulation (PWM) pattern moments (energize and decay) relate to the motor model and the sampling windows.

Three-Phase Permanent Magnet Synchronous Electric Motor (PMSM)

As shown in Fig. 1 , three-phase permanent magnet synchronous electric motor 5 typically comprises a fixed stator 10 comprising a plurality of poles 15, and a rotatable rotor 20 comprising at least one pair of North and South poles (for clarity of illustration, rotatable rotor 20 is shown in Fig. 1 as having only one pair of North and South poles, however, it should be appreciated that in practice, it is common for rotatable rotor 20 to comprise many pairs of North and South poles). Rotatable rotor 20 is movably disposed within fixed stator 10. When poles 15 of fixed stator 10 are appropriately electrically energized, e.g., by a motor controller 25, rotating magnetic fields can be created within the interior of fixed stator 10 so that the poles of rotatable rotor 20 are sequentially attracted toward, or repelled from, poles 15 of fixed stator 10, whereby to cause rotation of rotatable rotor 20 within fixed stator 10. A drive shaft 30 is attached to rotatable rotor 20 so as to provide output power from three-phase permanent magnet synchronous electric motor 5.

Three-phase permanent magnet synchronous electric motor 5 is characterized by three phases A, B, C, and motor controller 25 drives the three phases A, B, C by supplying three phase currents i A , I B , ic- The three phase currents i A , I B , ic typically comprise pulses, with the timing of the pulses being coordinated so as to cause rotation of rotatable rotor 20.

Clarke And Park

For a sinusoidally-wound permanent magnet synchronous electric motor (PMSM), each of the three phase current waveforms takes a sinusoidal shape as the motor turns (see Fig. 2). The motor torque is a function of these three phase currents. But it is easier and more efficient to control a constant current value than a set of three sinusoidally-varying current values, so the three sensed winding currents are first converted to a 2-phase sinusoidal ab system using the Clarke transform (see Fig. 3), then they are converted to a 2-element dq system that eliminates the dependency on electrical angle Q using the Park transform (see Fig. 4). The q-axis

(quadrature) current i q is solely responsible for generating a motor torque, so it is useful to have this in a single, easily-controllable variable. 3-Phase Half-Bridge, Switching States, Current Paths

To vary the current in the three motor phases using a single DC bus voltage (Vbus), six identical power metal-oxide semiconductor field-effect transistors (MOSFETs) 35 are used in a three-phase half-bridge amplifier configuration 40 shown in Fig. 5. A microcontroller 42 is used to control operation of MOSFET gates 35. It will be appreciated that microcontroller 42 and three-phase half-bridge amplifier configuration 40, together with appropriate supporting circuitry and logic, form motor controller 25.

Each MOSFET gate 35 is labeled with the phase it controls (A, B, C) and whether it is the high-side (FI) or the low-side (L) of the bridge (i.e., AH, AL, BH, BL, CH, CL). Each motor phase is labeled (A, B, C), with N being the neutral point of the wye-wound motor. The high- side MOSFETs determine the state of the amplifier which takes the form S[ABC]. Each low-side MOSFET is commanded to be the opposite state as its related high-side MOSFET. This prevents direct conduction from Vbus to ground, also known as shoot-through.

By switching these three bridges (AH/AL, BH/BL, CH/CL) on and off rapidly using calculated timing patterns known as pulse-width modulation (PWM), the amount of current flowing in each motor phase (A, B, C) can be controlled to achieve the desired torque. For example, the PWM pattern in the table shown below in the section entitled“Description Of The States” consists of a series of 7 states (i.e., S[000], S[100], S[1 10], S[1 1 1], S[1 10], S[100] and S[000]), 4 of which (i.e., S[000], S[100], S[1 10] and S[1 1 1]) are unique.

See Figs. 6-9. Descriptions Of The States

The motor’s inductance dramatically affects the flow of current through the amplifier. This is first evident in S3. It is logical to assume that current is flowing into phase B because it is connected to Vbus in this state. But the outflow of current in phase B was already built up during S2, and the flow of current cannot change instantly because it is governed by the equation: where:

• bi phase is the change in phase current (A)

• Dί is the change in time (s)

• L p n ase is the phase inductance (H)

u Vhase is the phase voltage (V)

In addition to inductance, other factors can affect the flow of current through the amplifier and/or affect performance of the three-phase permanent magnet synchronous electric motor, e.g., heat effects causing changes in resistance in the coils, heat effects causing changes in friction within the motor, external loads applied to the motor, etc.

For these reasons, it is important for motor controller 25 to continually sense the flow of current through the three motor stages A, B, C and adjust the three phase currents i A , i B , ic as appropriate in order to produce the desired torque in the three-phase synchronous electric motor.

The initial state S[000] before current begins to flow may be visualized in the context of the 3-phase amplifier diagram shown in Fig. 5, i.e. , the initial state S[000] (before current begins to flow) is shown in Fig. 10.

The flow of current in the rest of the states of this example is visualized in Figs. 1 1 -16.

Various Sensor Architectures

As noted above, the motor’s inductance dramatically affects the flow of current through the amplifier. And, in addition to inductance, other factors can affect the flow of current through the amplifier and/or affect performance of the three-phase permanent magnet synchronous electric motor, e.g., heat effects causing changes in resistance in the coils, heat effects causing changes in friction within the motor, external loads applied to the motor, etc.

As a result, it is important for motor controller 25 to continually sense the flow of current through the three motor stages A, B, C and adjust the three phase currents i A , i B , ic as appropriate in order to produce the desired torque in the three-phase synchronous electric motor.

Various schemes have been developed for sensing the flow of current through the three motor stages A, B, C. Three of the most common architectures are the so-called“Triple- Sensor” architecture, the so-called“Single-Sensor” architecture and the so-called“Standard Dual-Sensor (B & C)” architecture.

Triple-Sensor

In a triple-sensor design, there is a shunt resistor 45 in the current’s path to ground for each of the three phases. The microcontroller samples each of the three amplifier outputs (e.g., via operational amplifiers 50) during the“decay” phase of the PWM pattern to get a full picture of the winding currents. See Fig. 17.

There is additive white Gaussian noise (AWGN) in each sample, but the microcontroller is able to sample two inputs simultaneously, so the common-mode noise cancels when calculating ί b due to the i B - i c Clarke term. But i a still contains the AWGN, and this is carried through the Park transform to yield a q-axis noise factor of 1 (times the AWGN amplitude).

Then the control system is applied to the d-axis and q-axis currents. Then the d-axis & q-axis efforts are transformed back into the sinusoidal alpha-beta system using the inverse Park transform. Finally, the alpha-beta efforts are sent to a PWM generator that determines the three duty cycles required to implement the control effort. This is a 5-step process after sampling: Clarke, Park, control, inverse Park, then PWM generation.

Each sensor (e.g., operational amplifier 50) requires two calibration steps to determine its offset voltage and amplifier gain. For three sensors, this yields six calibration steps.

Single-Sensor

A single-sensor design minimizes the size and cost of the hardware. See Fig. 18.

However, a single-sensor design is unable to match the performance of multi-sensored systems for a few reasons:

(i) The PWM patterns need to be distorted due to minimum sample times. This introduces excess currents in some windings which need to corrected by applying carefully- constructed compensation patterns in subsequent patterns. The rapid injection/correction of phase currents results in undesirable audible noise.

(ii) Pattern distortion results in winding voltages which do not match the motor’s natural back-EMF voltages. This results in uneven torque production throughout each electrical cycle.

(iii) Because of the need to take two sequential current samples, there is no way to eliminate the AWGN from either sample. So the phase reconstruction math results in one phase with 2x the AWGN. After passing this noise through the Clarke and Park transforms, the i q current ends up with 4x the AWGN. This noise negatively affects the controller’s ability to apply a constant torque. (iv) There is substantial calculation overhead involved in choosing which phases to sample, how to stretch the relevant parts of the PWM pattern to allow for sampling, and how to compensate for those distortions in subsequent PWM patterns.

Standard Dual-Sensor (B & C)

Using two current sensors (e.g., operational amplifiers 50) eliminates many of the problems with single-sensor design. See Fig. 19.

The phase currents can be sampled between each PWM pattern, during the decay phase. No pattern distortion is necessary, so the motor generates no audible noise.

Because there is no PWM distortion, the applied winding voltages can be made to match the motor’s natural back-EMF voltages. This results in a consistent torque throughout each electrical cycle.

The microcontroller can take simultaneous samples from the two current sensors. This allows calculation of a clean ί b term, but the i a term contains 2x the AWGN. This noise is carried through to the i q current, negatively affecting the controller’s ability to apply a constant torque.

Note that if i A and i B are measured instead, i c would contain 2x AWGN after

reconstruction, and the ί b term would therefore contain 3x AWGN after the Clarke transform. Thus it is better to measure i B and i c .

While it still requires reconstructing the third phase current from the two sampled phases, this design eliminates all the calculation overhead involved in sample selection, PWM pattern stretching, and pattern compensation. In view of the foregoing, there is a need for a new current-sensing architecture which minimizes noise and computational complexity compared to competing designs.

Summary Of The Invention

In an effort to create a high-performance miniature brushless motor controller, a novel current-sensing architecture was developed that minimizes noise and computational complexity compared to competing designs. A dual-sensor design was pursued, but instead of choosing two of the three motor phases to sample and then reconstructing the third phase current, one sensor’s difference amplifier (e.g., a difference operational amplifier) was leveraged to yield a direct measurement of the motor’s ί b current. This results in a 50% noise reduction at the inputs to the controller and allows a calculation step to be skipped in the control loop. See the summary table below:

Summary Table: Comparison of various current sensor architectures

In one preferred form of the invention, there is provided a motor controller for controlling the operation of a three-phase permanent magnet synchronous electric motor, wherein the three-phase permanent magnet synchronous electric motor is characterized by three phases A, B, C, and further wherein the three-phase permanent magnet synchronous electric motor is driven by regulating three phase currents i A , i B and i c for the three phases A, B, C, respectively, the motor controller comprising:

a three-phase power supply for supplying the three phase currents i A , i B and i C;

a first sensor for sensing the phase current i A ;

a second sensor for sensing across the phase currents i B and i c ; and

a microcontroller for controlling the operation of the three-phase power supply so as to produce the three phase currents i A , i B and i c needed to operate the three-phase permanent magnet synchronous electric motor, wherein the microcontroller reads the outputs of the first sensor and the second sensor and adjusts operation of the three-phase power supply so as to produce phase currents i A , i B and i c which produce the desired torque in the three-phase permanent magnet synchronous electric motor.

In another form of the invention, there is provided a method for controlling the operation of a three-phase permanent magnet synchronous electric motor, wherein the three-phase permanent magnet synchronous electric motor is characterized by three phases A, B, C, and further wherein the three-phase permanent magnet synchronous electric motor is driven by regulating three phase currents i A , i B and i c for the three phases A, B, C, respectively, the method comprising:

supplying the three phase currents i A , i B and i c so as to drive the three-phase permanent magnet synchronous electric motor; sensing the phase current i A and sensing across the phase currents i B and i c ; and adjusting phase currents i A , i B and i c so as to produce phase currents i A , i B and i c which produce the desired torque in the three-phase permanent magnet synchronous electric motor.

Brief Description Of The Drawings

These and other objects and features of the present invention will be more fully disclosed or rendered obvious by the following detailed description of the preferred

embodiments of the invention, which is to be considered together with the accompanying drawings wherein like numbers refer to like parts, and further wherein:

Fig. 1 is a schematic view showing a three-phase permanent magnet synchronous electric motor;

Fig. 2 is a schematic view showing the phase currents for a three-phase permanent magnet synchronous electric motor;

Fig. 3 is a schematic view showing the Clarke transform for the phase currents for a three-phase permanent magnet synchronous electric motor;

Fig. 4 is a schematic view showing the Park transform for the phase currents for a three- phase permanent magnet synchronous electric motor;

Fig. 5 is a schematic view showing a three-phase half-bridge amplifier which may be used to drive a three-phase permanent magnet synchronous electric motor;

Figs. 6-9 are schematic views showing a single-nested PWM pattern, phase voltages, phase currents and Alpha-Beta currents for a three-phase permanent magnet synchronous electric motor; Figs. 10-16 are schematic views showing the flow of current for various states of a three- phase half-bridge amplifier driving a three-phase permanent magnet synchronous electric motor;

Fig. 17 is a schematic view showing a triple-sensor current-sensing architecture;

Fig. 18 is a schematic view showing a single-sensor current-sensing architecture;

Fig. 19 is a schematic view showing a two-sensor current-sensing architecture;

Fig. 20 is a schematic view showing the novel current-sensing architecture of the present invention;

Fig. 21 is a schematic view showing how shunt resistors and operational amplifiers can be selected for some sensor architectures; and

Fig. 22 is a schematic view showing how shunt resistors and operational amplifiers can be selected for other sensor architectures.

Detailed Description Of The Invention

The present invention comprises the provision and use of a novel two-sensor current sensing architecture which focuses on the Alpha and Beta currents.

More particularly, as shown in Fig. 20, the novel approach is to put one sensor (e.g., an operational amplifier 50) on i A to monitor the Alpha current and apply the other sensor (e.g., another operational amplifier 50) across phases B and C to monitor the Beta current.

Microcontroller 42 of the motor controller 25 reads the outputs of the sensor on the A phase (i.e., the Alpha current sensor) and the sensor across the B and C phases (i.e., the Beta current sensor) and adjusts the operation of the three-phase half-bridge amplifier (i.e., by appropriately controlling MOSFET gates 35 so as to produce the desired torque in the three-phase permanent magnet synchronous electric motor.

Using this architecture, a clean i p is measured because the operational amplifier 50 sensing across the B and C phases is immune to common-mode noise, but now the i a term only contains 1 x the AWGN. This cuts the i q noise in half (compared to the standard dual sensor method) which allows the current controller to be tuned to be much more aggressive. Additionally, the operational amplifier 50 sensing across the B and C phases is configured with a gain equal to 1/V3 times the gain of operational amplifier 50 sensing the A phase, this method eliminates the Clarke transform step from the calculations because the post-transform values are read directly from the hardware.

Offset And Gain Calculation For Alpha & Beta Values

For any specific implementation of this design, operational amplifiers 50 must be provided to translate the voltage signal from the shunt resistor 45 to a voltage signal that satisfactorily spans the range of the microcontroller analog-to-digital (ADC) section, effectively setting the range of currents possible to be digitized. For the operational amplifiers 50 in the aforementioned triple sensor, the single sensor and the standard dual sensor designs, this is a simple matter of selecting resistances for the shunt resistors 45 and selecting non-inverting operational amplifiers 50 such that the maximum and minimum desired currents are amplified to the maximum and minimum ADC values, respectively, according to the schematic and formula shown in Fig. 21. This formula shows the ADC reading that will be obtained for a given operational amplifier and shunt current, where l Ri is the shunt current, ADC bits is the bit resolution of the ADC, and V cc is the reference voltage for the operational amplifier. From this, acceptable resistance and V C c values can be chosen to provide the correct range for application-specific motor currents and data acquisition systems.

This circuit analysis can be applied to the Alpha amplifier (i.e., the operational amplifier 50 used to sense i A ) of the new dual-sense design as well. However, this does not hold for the Beta amplifier (i.e., the operational amplifier 50 used to sense across i B and i c ). At a high level, the design of this Beta amplifier is the same: controlling the offset and gain, so the desired output Beta voltage range matches the range of the data acquisition system. However, unlike the single current amplifier, a non-weighted differential amplifier cannot set an arbitrary offset with a resistor divider the way that it is done in the single current design. This is because the input impedance of both amplifier inputs must match to avoid creating difference in gain between the two input signals (R3 must match R4 and R5 must match R6, see Fig. 22). When this is implemented, the output bias voltage is equal to the input bias voltage because two resistor dividers match. The bias voltage is divided by the first, and then multiplied by the second, in a way that they cancel out, and if the first divider ratio is increased so that the bias at 0 is below Vbias (the way it was done in the Alpha amplifier), then the relative gains of B and C no longer match. This means that once the resistor ratio is selected for a given gain, the only remaining way to set the output offset is to change the voltage that is being driven at the top of R5, likely with a dedicated reference voltage. With this addition, the relationship between ADC value and input currents becomes the equation shown in Fig. 22, as long as R 3 and R 4 are the same value, and so are R 5 and R 6 . In Fig. 22, the current l B is the current flowing through shunt resistor R2, and l c is the current through R^ .

Modifications Of The Preferred Embodiments It should be understood that many additional changes in the details, materials, steps and arrangements of parts, which have been herein described and illustrated in order to explain the nature of the present invention, may be made by those skilled in the art while still remaining within the principles and scope of the invention.