The invention relates generally to motor control and, more particularly, to sensorless control of a permanent magnet synchronous motor (PMSM), brushless direct current motor (BLDC), or an induction motor.
Turning to
The motor controller 102 provides control of motor 108 (through the application of the PWM signals) based on a field-oriented control (FOC) algorithm. For conventional FOC control, there are typically three control loops (one speed loop and two current loops) that are employed to provide adjustments. Typically, the observer 120 forms a portion of the speed loop and determines a feedback speed or feedback signal ω from the PWM signals (provided to the inverter 106) and from the motor 108. A difference between this feedback signal ω and a reference speed or reference signal ω* (which is determined by assert 110-1) is adjusted by the proportional-integral (PI) controller 112-1 to generate the reference torque current iq* for the quadrature axis or q-axis. Additionally, a field weakener 114 provides the reference field current id* for the direct axis d-axis (in normal operation, id*=0 for PMSM and BLDC motors and id* is constant for induction motors). The observer 120 also determined the rotor position or angle and provides the angle signal θ to the Park converter 118 and PWM controller 116. The current loops generally include the Park converter 118, which determines currents id and iq from phase current measurements and the angle signal θ. These currents id and iq are then compared to or subtracted from the reference current id* and iq* by adders 110-2 and 110-3, respectively, to generate errors ΔId and ΔIq. These errors ΔId and ΔIq can then be further adjusted by PI controllers 112-2 and 112-3, and the commanded voltages Vd and Vq, along with the angle signal θ (which form a voltage command vector {right arrow over (V)}), can be used to generate the PWM signals, and generation of the PWM signals is usually accomplished by an inverse Park transformation (performed by an inverse Park converter within PWM controller 116) and a space vector PWM generator (within the PWM controller 116) so as to generate three phase voltages.
Turning to
Thus, there is a need for a lower cost motor controller.
Some examples of conventional systems are: U.S. Pat. No. 5,886,498; U.S. Pat. No. 7,202,629; U.S. Pat. No. 7,208,908; U.S. Pat. No. 7,339,344; U.S. Pat. No. 7,646,164; U.S. Pat. No. 7,808,201; U.S. Patent Pre-Grant Publ. No. 2010/0201298; U.S. Patent Pre-Grant Publ. No. 2011/0012544; Ancuti et al., “Sensorless V/f control of high-speed surface permanent magnet synchronous motor drives with two novel stabilizing loops for fast dynamics and robustness,” IET Electr. Power Appl., Vol. 4, Iss. 3, 2010, pp. 149-157; Itoh et al., “A comparison between V/f control and position-sensorless vector control for the permanent magnet synchronous motor,” Proc. of the Power Conversion Conf., 2002. PCC Osaka 2002, pg. 1310-1315; and Perera et al., “A Sensorless, Stable V=f Control Method for Permanent-Magnet Synchronous Motor Drives”, IEEE Trans. on Ind. Appl., Vol. 39, No. 3, May/June 2003.
An embodiment of the present invention, accordingly, provides a method. The method comprises generating a plurality of pulse width modulation (PWM) signals from a voltage signal and a commanded angle signal; driving a motor with the plurality of PWM signals, wherein the motor has a plurality of phases; measuring a motor current from a motor with a single shunt; converting the motor current to a digital signal; determining at least one of a direct-axis current and a quadrant-axis current for the motor from the digital signal and the commanded angle signal; and adjusting the voltage signal and the commanded angle signal based at least in part on the direct-axis and quadrant-axis currents.
In accordance with an embodiment of the present invention, the method further comprises generating the voltage signal and the commanded angle signal from a reference signal.
In accordance with an embodiment of the present invention, the step of generating the voltage signal and the commanded angle signal from the reference signal further comprises: generating the voltage signal from a frequency of the reference signal; and integrating the reference signal to determine the commanded angle signal.
In accordance with an embodiment of the present invention, the motor current is a peak current.
In accordance with an embodiment of the present invention, the step of driving further comprises applying the plurality of PWM signals to an inverter.
In accordance with an embodiment of the present invention, the direct-axis current is ∥{right arrow over (iR)}∥ cos θ*, wherein ∥{right arrow over (iR)}∥ is the peak current and θ* is the commanded angle signal, and wherein the quadrant-axis current is ∥{right arrow over (iR)}∥ cos θ*.
In accordance with an embodiment of the present invention, the step of determining at least one of the direct-axis and quadrant-axis currents further comprises: determining the direct-axis current to be the motor current when the commanded angle is zero; and determining the quadrant-axis current to be the motor current when the commanded angle is 270°.
In accordance with an embodiment of the present invention, an apparatus is provided. The apparatus comprises an inverter; a motor that is coupled to the inverter; a shunt that is coupled to the inverter; a voltage generator that generates a voltage signal from a reference signal; an integrator that generates an angle signal from the reference signal; a feedback loop that is coupled to the shunt, wherein the feedback loop is configured to measure a motor current from the shunt, to determine direct-axis and quadrant-axis currents from the motor current and the commanded angle signal, and to generate a control signal; a first adder that adds the voltage signal to the control signal; a second adder that subtracts the control signal from the commanded angle signal; and a PWM controller that is coupled to the inverter and that generates a plurality of PWM signals in response to outputs from the first and second adders.
In accordance with an embodiment of the present invention, the feedback loop further comprises: a stator circuit that measures the envelop current and that determines the stator current; and a PI controller that generates the control signal based at least in part on the stator current measurement.
In accordance with an embodiment of the present invention, the PWM controller further comprises: an inverse Park converter that performs an inverse Park transformation on the voltage signal and the commanded angle signal; and a space vector PWM (SVPWM) generator that generates the plurality of PWM signals based at least in part on outputs from the inverse Park converter.
In accordance with an embodiment of the present invention, the stator circuit further comprises: a measurement circuit that is coupled to the shunt; and a stator current calculator that is coupled to the measurement circuit.
In accordance with an embodiment of the present invention, the voltage generator, the integrator, the first adder, the second adder, the stator calculator, the PI controller, and the inverse Park converter are implemented in software that is embodied on a processor and memory.
In accordance with an embodiment of the present invention, an analog-to-digital converter (ADC) that is coupled to the shunt.
In accordance with an embodiment of the present invention, the motor current is a peak current, and wherein the stator circuit further comprises an envelop detector coupled between the ADC and the shunt.
In accordance with an embodiment of the present invention, an apparatus is provided. The apparatus comprises an inverter; a motor that is coupled to the inverter; a shunt that is coupled to the inverter; a measurement circuit that is coupled to the shunt so as to measure a motor current; a processor having a memory with a computer program embodied thereon, the computer program including: computer code for generating a voltage signal and a commanded angle signal from a reference signal; computer code for determining at least one of a direct-axis current and a quadrant-axis current for the motor from the motor current and the commanded angle signal; and computer code for adjusting the voltage signal and the commanded angle signal based at least in part on the direct-axis and quadrant-axis currents; and a PWM generator that is coupled to the processor and the inverter, wherein the PWM generator receives the drive signals and generates a plurality of PWM signals from the drive signals.
In accordance with an embodiment of the present invention, the computer code for generating the voltage signal and the commanded angle signal from the reference signal further comprises: computer code for generating the voltage signal from a frequency of the reference signal; and computer code for integrating the reference signal to determine the commanded angle signal.
In accordance with an embodiment of the present invention, the measurement circuit further comprises an ADC that is coupled to the shunt and the processor.
In accordance with an embodiment of the present invention, the PWM generator further comprises an SVPWM generator, and wherein the computer program further comprises computer code for performing an inverse Park transformation on the voltage signal and the commanded angle signal.
In accordance with an embodiment of the present invention, wherein the motor current is a peak current, and wherein the measurement circuit further comprises an envelop detector that is coupled between the shunt and the ADC to measure the peak current, and wherein the direct-axis current is ∥{right arrow over (iR)}∥ cos θ* wherein ∥{right arrow over (iR)}∥ is the peak current and θ* is the commanded angle signal, and wherein the quadrant-axis current is ∥{right arrow over (iR)}∥ cos θ*.
In accordance with an embodiment of the present invention, the computer code for determining at least one of the direct-axis and quadrant-axis currents further comprises: computer code for determining the direct-axis current to be the motor current when the commanded angle is zero; and computer code for determining the quadrant-axis current to be the motor current when the commanded angle is 270°.
The foregoing has outlined rather broadly the features and technical advantages of the present invention in order that the detailed description of the invention that follows may be better understood. Additional features and advantages of the invention will be described hereinafter which form the subject of the claims of the invention. It should be appreciated by those skilled in the art that the conception and the specific embodiment disclosed may be readily utilized as a basis for modifying or designing other structures for carrying out the same purposes of the present invention. It should also be realized by those skilled in the art that such equivalent constructions do not depart from the spirit and scope of the invention as set forth in the appended claims.
For a more complete understanding of the present invention, and the advantages thereof, reference is now made to the following descriptions taken in conjunction with the accompanying drawings, in which:
Refer now to the drawings wherein depicted elements are, for the sake of clarity, not necessarily shown to scale and wherein like or similar elements are designated by the same reference numeral through the several views.
Turning to
As a result, system 200 has a significant advantage over system 100 in that the two shunts of system 100 (shown as the two connections to motor 108) have been replaced with a single shunt 206 without the need for a high performance ADC and without further introduction of noise. Examples of shunt 206 (which are labeled 206-1 and 206-2) can be seen in
Additionally, the Park converter 118 has been replaced with stator circuit 204. The stator circuit 204 generally includes an ADC (where the shunt 206 and ADC can collectively be considered to be a measurement circuit) and stator current calculator (which can be implemented in hardware or software). Depending on the configuration of the shunt 206 (namely, if shunt 206-1 is employed), stator circuit 204 can also include an envelop detector. By having this arrangement, stator calculator does not perform a Park transformation, but, instead, can directly calculate the stator currents id and iq. Typically, for shunt 206-1, a hardware envelop detector (which can detect an envelop current by eliminating narrow pulses and noises or a peak current) is employed, and, for both shunt 206-1 and 206-2, the envelop detector can be implemented in software or hardware.
To preface, for a typical Park transformation (as shown in equation (1) below), stator currents id and iq are constructed or calculated from two or three phases (of a three phase motor, for example) and a commanded angle signal θ*.
This is the transformation undertaken by Park converter 118 of system 100, and elimination of one or two of the shunts (so as to use the single shunt 206) is very difficult using the arrangement of
Looking to the voltage vector {right arrow over (V)} of
where ω is the angular speed, Vd and Vq are stator voltages for the d-axis and q-axis, respectively, Ψd and Ψq are flux linkages for the d-axis and q-axis, respectively, Ld and Lq are stator inductances for the d-axis and q-axis, respectively, Ψm is the flux linkage of the permanent magnet, and Rs is the stator resistance. Because stator inductances Ld and Lq are small while current iq is small, flux linkage Ψd is approximately equal to flux linkage of the permanent magnet Ψm, while flux linkage Ψq is approximately equal to zero. As a result, equations (2) through (5) can be reduced as follows:
From equations (6) and (7), the magnitude of voltage vector {right arrow over (V)} is:
∥{right arrow over (V)}∥≈Vq≈ωΨm, (10)
Thus, from equation (10), the rotor quadrant position is approximately in alignment with the resultant voltage command (i.e., voltage vector {right arrow over (V)}) in stable control of a motor 108 (which can, for example, be a PMSM, BLDC motor, or induction motor).
From this, it follows that stator currents id and iq can be determined from a current measurement and the commanded angle signal θ*. Turning back to equation (1) and employing either shunt 206-1 or 206-2, when phase a (for example) reaches a peak, then the resultant current vector {right arrow over (iR)} is aligned with the a-axis (as shown in
max(ia)=∥{right arrow over (iR)}∥ (11)
Stator currents id and iq, then, are
id=∥{right arrow over (iR)}∥ cos θ* (12)
iq=∥{right arrow over (iR)}∥ sin θ* (13)
Because stator circuit 204 determines a peak current, the stator current calculator (within envelop circuit 204) is able to use the peak current (which is ∥{right arrow over (iR)}∥) in conjunction with the commanded angle signal θ* to generate a control signal. Thus, it becomes practical to determine stator currents id and iq without performing a Park transformation or a narrow ADC pulse.
Alternatively, when shunt 206-1 or 206-2 is employed, the rotor position may be used instead of a peak current to directly calculate currents id and iq. Turning, again, back to equation (1), when the commanded angle signal θ* becomes 0, the equation (1) becomes:
This means that the vector for current id is aligned with the a-axis (as shown in
Again, it becomes practical to use the configuration for both shunts 206-1 and 206-2 and determine stator currents id and iq without performing a Park transformation.
Having thus described the present invention by reference to certain of its preferred embodiments, it is noted that the embodiments disclosed are illustrative rather than limiting in nature and that a wide range of variations, modifications, changes, and substitutions are contemplated in the foregoing disclosure and, in some instances, some features of the present invention may be employed without a corresponding use of the other features. Accordingly, it is appropriate that the appended claims be construed broadly and in a manner consistent with the scope of the invention.
Number | Name | Date | Kind |
---|---|---|---|
5886498 | Sul et al. | Mar 1999 | A |
6563496 | Sakurai | May 2003 | B1 |
7202629 | Jadot et al. | Apr 2007 | B2 |
7208908 | Anghel | Apr 2007 | B2 |
7339344 | Borisavljevic | Mar 2008 | B2 |
7646164 | Malrait et al. | Jan 2010 | B2 |
7808201 | Borisavljevic | Oct 2010 | B2 |
20010007416 | Koide et al. | Jul 2001 | A1 |
20040104704 | Hirono | Jun 2004 | A1 |
20100201298 | De Filippis | Aug 2010 | A1 |
20110012544 | Schulz et al. | Jan 2011 | A1 |
20120098472 | Wrobel et al. | Apr 2012 | A1 |
20120249033 | Qin | Oct 2012 | A1 |
Entry |
---|
“Sensorless V/f Control of High-Speed Surface Permanent Magnet Synchronous Motor Drives With Two Novel Stabilising Loops for Fast Dynamics and Robustness,” IET Electr. Power Appl., vol. 4, Iss. 3, 2010, pp. 149-157 (Ancuti, et al.). |
“A Comparison Between V/f Control and Position-Sensorless Vector Control for the Permanent Magnet Synchronous Motor,” Proc. of the Power Conversion Conf., PCC Osaka 2002, pp. 1310-1315 (Itoh, et al.). |
“A Sensorless, Stable V=f Control Method for Permanent-Magnet Synchronous Motor Drives,” IEEE Trans. on Ind. Appl., vol. 39, No. 3, May/Jun. 2003, pp. 783-791 (Perera, et al.). |
Number | Date | Country | |
---|---|---|---|
20130043811 A1 | Feb 2013 | US |