This invention relates to motors in general, and more particularly to permanent magnet synchronous electric motors and motor controllers for operating the same.
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.
As shown in
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 iA, iB, iC. The three phase currents iA, iB, iC typically comprise pulses, with the timing of the pulses being coordinated so as to cause rotation of rotatable rotor 20.
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
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
Each MOSFET gate 35 is labeled with the phase it controls (A, B, C) and whether it is the high-side (H) 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[110], S[111], S[110], S[100] and S[000]), 4 of which (i.e., S[000], S[100], S[110] and S[111]) are unique.
See
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:
Δiphase is the change in phase current (A)
Δt is the change in time (s)
Lphase is the phase inductance (H)
uphase 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 iA, iB, 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
The flow of current in the rest of the states of this example is visualized in
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 iA, iB, 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.
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
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 iβ due to the iB-iC Clarke term. But iα 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.
A single-sensor design minimizes the size and cost of the hardware. See
However, a single-sensor design is unable to match the performance of multi-sensored systems for a few reasons:
Using two current sensors (e.g., operational amplifiers 50) eliminates many of the problems with single-sensor design. See
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 iβ term, but the iα term contains 2× the AWGN. This noise is carried through to the iq current, negatively affecting the controller's ability to apply a constant torque.
Note that if iA and iB are measured instead, iC would contain 2×AWGN after reconstruction, and the term iβ would therefore contain 3×AWGN after the Clarke transform. Thus it is better to measure iB and iC.
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.
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 iβ 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:
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 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.
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 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.
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:
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
Using this architecture, a clean iβ is measured because the operational amplifier 50 sensing across the B and C phases is immune to common-mode noise, but now the iα term only contains 1× the AWGN. This cuts the iq 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/√{square root over (3)}V 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.
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
This circuit analysis can be applied to the Alpha amplifier (i.e., the operational amplifier 50 used to sense iA) 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 iB and iC). 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
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.
This patent application: (i) claims benefit of prior U.S. Provisional Patent Application Ser. No. 62/758,004, filed Nov. 9, 2018 by Barrett Technology, LLC and Claude F. Valle IV et al. for HIGH PERFORMANCE CURRENT SENSING ARCHITECTURE FOR BRUSHLESS MOTORS; and (ii) claims benefit of prior U.S. Provisional Patent Application Ser. No. 62/861,772, filed Jun. 14, 2019 by Barrett Technology, LLC and Claude F. Valle IV et al. for HIGH PERFORMANCE CURRENT SENSING ARCHITECTURE FOR BRUSHLESS MOTORS. The two (2) above-identified patent applications are hereby incorporated herein by reference.
Number | Name | Date | Kind |
---|---|---|---|
5541484 | DiTucci | Jul 1996 | A |
6301137 | Li | Oct 2001 | B1 |
9257919 | Pisau | Feb 2016 | B2 |
9291666 | Ueno et al. | Mar 2016 | B2 |
20080265829 | Hayashi | Oct 2008 | A1 |
Number | Date | Country | |
---|---|---|---|
20200153372 A1 | May 2020 | US |
Number | Date | Country | |
---|---|---|---|
62758004 | Nov 2018 | US | |
62861772 | Jun 2019 | US |