The present disclosure relates to a motor control circuit and related method that includes a transform component configured to receive current values associated with a motor being driven by the motor control circuit, and output polar coordinate values representing a magnitude component and a direction component of a current space vector. The motor control circuit further includes a control component configured to receive the magnitude component and the direction component of the current space vector, and generate motor control signals for driving the motor.
|
4. A motor control system, comprising:
a transform component configured to receive current values associated with a motor being driven by the motor control circuit, and output polar coordinate values representing a first current magnitude component and a first current direction component of a current space vector in a stationary polar coordinate system;
a control component configured to:
receive the first current magnitude component and the first current direction component of the current space vector and a position angle; and
transform the current space vector into a rotating polar coordinate system fixed to a rotor of the motor by subtracting the position angle from the first current direction component to calculate a second current direction component, such that the transformed current space vector comprises the first current magnitude component and the second current direction component;
a voltage direction controller configured to directly input the second current direction component and control a direction component of a polar voltage space vector based on the second current direction component;
a voltage magnitude controller configured to directly input the first current magnitude component and control a magnitude component of the polar voltage space vector based on the first current magnitude component; and
wherein the control component is configured to add the position angle to the direction component of the polar voltage space vector to transform the polar voltage space vector into the stationary polar coordinate system; and
a space vector modulator configured to receive the transformed voltage space vector and use the voltage space vector in generating motor control signals for driving the motor.
1. A motor control system, comprising:
a transform component configured to receive current values associated with a motor being driven by the motor control circuit, and output polar coordinate values representing a magnitude component and a direction component of a current space vector, wherein the transform component comprises:
a clarke transform component configured to receive the current values associated with respective phases of the motor being drive, and convert the current values into a cartesian space to obtain cartesian current values of the current space vector;
a cartesian to polar transform component configured to receive the cartesian current values and convert such into the magnitude component and the direction component of the current space vector; and
a subtraction circuit configured to subtract a position angle from the direction component to transform the direction component from a stationary coordinate system to a rotating coordinate system; and
a control component configured to receive the magnitude component and the direction component of the current space vector, and generate motor control signals for driving the motor, wherein the control component further comprises:
a magnitude controller configured to receive the magnitude component of the current space vector and a feedback control value associated with a speed value and a reference value, and generate a magnitude of a voltage space vector based thereon, wherein the speed value is calculated from the position angle;
a direction controller configured to control a direction of the voltage space vector to make a stator flux space vector perpendicular to a rotor magnetic field of the motor being driven; and
an addition circuit to add the position angle to the voltage space vector to transform the voltage space vector from a rotating coordinate system to a stationary coordinate system;
a polar to cartesian transform component configured to receive the voltage space vector in the stationary coordinate system and generate the voltage space vector in cartesian coordinates in the stationary coordinate system; and
position estimator circuit configured to receive the voltage space vector from the polar to cartesian transform component and the current space vector from the Clark transform component, and generate the position angle as an estimate based on the cartesian coordinates of the voltage space vector and the cartesian components of the current space vector.
2. The motor control system of
a space vector modulator configured to receive the voltage space vector magnitude and direction from the magnitude controller and the direction controller, respectively, and generate control signals for control of an inverter to drive the motor.
3. The motor control system of
5. The motor control system of
a pulse width modulator configured to receive the control signals from the space vector modulator and generate pulse width modulation signals in response thereto for driving switches of the inverter.
6. The motor control system of
wherein the transform component is configured to provide a pseudo direct transform from current values to the stationary polar coordinate format comprising a square of the magnitude component and a direction component of the current space vector.
7. The motor control system of
the voltage magnitude controller is configured to control a magnitude of the voltage space vector constant in the rotating polar coordinate system;
the voltage direction controller is configured to control a direction of the voltage space vector to be perpendicular to a rotor magnetic field in the rotating polar coordinate system.
8. The motor control system of
|
Permanent magnet synchronous motor (PMSM) has a growing adoption in consumer and industrial motor applications due to its high reliability and small size compared to other motors. To achieve high efficiency and low vibration and acoustic noise, field oriented control (FOC) is increasingly being used in PMSM control for fans, pumps, compressors, geared motors, etc. To further increase energy efficiency at a lowest cost, more and more new functions (e.g., digital power conversion, digital power factor correction (PFC), multiple PMSM control in air-con) need to be handled by one single microcontroller. But existing FOC control strategies are complicated and processor-intensive, thereby impeding additional microcontroller power from being allocated to those complex new system functions.
For PMSM with highly dynamic loading (e.g., motors for electric propulsion, compressors), a fast and accurate control loop is needed to control motor currents and voltages to consistently maintain maximum efficiency. But existing FOC has complex transformations in the critical control loop, making it inaccurate and relative slow.
New microcontrollers include more and more features and peripherals (e.g., human machine interface (HMI), communications) in order to excel in the intensely fierce competition. However, existing FOC control strategies tend to overburden the microcontrollers, hindering the full use of their potential and features in complex applications with FOC motor controls.
The description herein is made with reference to the drawings, wherein like reference numerals are generally utilized to refer to like elements throughout, and wherein the various structures are not necessarily drawn to scale. In the following description, for purposes of explanation, numerous specific details are set forth in order to facilitate understanding. It may be evident, however, to one skilled in the art, that one or more aspects described herein may be practiced with a lesser degree of these specific details. In other instances, known structures and devices are shown in block diagram form to facilitate understanding.
To address some of the above mentioned shortcomings, the present disclosure proposes new sensored and sensorless stator flux magnitude and direction control strategies for PMSM. Without a computation-intensive Park Transform and Inverse Park Transform which were heretofore indispensable in the existing FOC, the new control strategies have a simplified structure, a faster control loop, and a decreased CPU time utilization. In complex applications with PMSM motor control, the new strategies will boost the performance of the microcontrollers and the whole system.
The existing FOC transforms three phase signals into two rotor-fix signals and vice-versa, with complex Cartesian reference frame transformations (e.g., employing a Park Transform and an Inverse Park Transform) in the control loop, which is supposed to be fast. These reference frame transformations are computation-intensive and are inclined to introduce extra calculation errors, resulting in a slow current control loop and a poor response to dynamic motor loads, and making it difficult to handle more composite system functions (e.g., digital PFC, multiple FOC motor controls, digital power conversion) with only one single microcontroller.
Normally, existing FOC for PMSMs uses a Clarke Transform to transform 3-phase currents Iu, Iv, and/or Iw 11 measured by an analog to digital converter (ADC) 14 (ADC conversion can be triggered by a pulse width modulation (PWM) unit 16) to a stationary α-β reference frame as Iα and Iβ 18 (which are sinusoidal signals in steady state). Then a Park Transform 20 is used to transform Iα and Iβ 18 to another rotor d-q coordinate system as Id and Iq 22, respectively. Id and Iq are feedback signals of the FOC control loop and are almost constants at steady state. Proportional-integral (PI) controllers 24, 26, 27 are used for speed and current controls separately, to achieve controllable motor speed, torque and air gap flux. In general, the flux generating component Id is controlled to 0. It is also possible to control Id to negative values (i.e., a flux-weakening control) to extend the operating speed range of PMSMs. The speed PI controller 27 has an output 28 that provides the reference current for the torque generating component Iq. The current PI controllers 24, 26 output desired voltages Vd and Vq the motor phases should generate in d-q reference frame. Here Vd and Vq are almost constants in steady state. An Inverse Park Transform 30 is used to transform resultant voltages Vd and Vq to the stationary α/β reference frame as Vα and Vβ 32, which are sinusoidal signals in steady state. The amplitude and angle of voltage vector (Vα, Vβ) are the reference voltage for the space vector modulator (SVM) 34, which is used for the control of the PWM unit 16 to create 3-phase waveform outputs from the 3-phase 2-level voltage inverter 12 to drive the motor phases uvw 36. The Cartesian to Polar Transform 38 can be neglected if the microcontroller is not good at such calculation, instead the voltages Vα and Vβ are sent to the SVM modulator 34 directly. The ADC value of the inverter DC link voltage VDC (normally a voltage divider is needed) is also obtained regularly for SVM calculations.
The rotor position is obtained from a rotor position sensor 40 (such as an encoder, a resolver, Hall sensors, etc.) for sensored FOC, or a position estimator for sensorless FOC (see
The stator flux magnitude and direction control strategies of the present disclosure control the stator flux magnitude and direction to achieve PMSM motor control with a high energy efficiency, and use extremely simple reference frame transformations to achieve fast and accurate control to solve the above-mentioned problems. Table 1 provided below compares the mathematical transformations used in existing FOC and the proposed new control strategies of the present disclosure.
The new control strategies use polar coordinates instead of Cartesian coordinates to represent motor space vectors, so that the complex Cartesian reference frame transformations (e.g., Park Transform and Inverse Park Transform with sine and cosine functions, which are crucial in existing FOC) can be replaced by simple subtraction and addition of angles while keeping space vector magnitudes unchanged. The subtraction and addition of angles can be computed precisely and instantly (an addition or subtraction operation can be done within only one, or a few system clocks with current microcontrollers). It will be shown below that the addition/subtraction of angles consume almost zero CPU time if using controllers such as, for example, Infineon microcontrollers with CORDIC coprocessors.
With simple reference frame transformations, the new PMSM control strategies optimize and speed-up the fast control loop, which will benefit the PMSM motor control with highly dynamic loading (such as a compressor or motor for electric propulsion). It also reduces CPU load and saves precious CPU time for other purposes (e.g., digital PFC, multiple PMSM motor drive, HMI, communications) in sophisticated systems, hence the microcontroller's potential and features can be fully used. Conversely, with the new stator flux magnitude and direction control strategies of the present disclosure, users could select a microcontroller with less computation power and lower cost to accomplish PMSM motor controls of the same quality as existing FOC.
It is worth noting that the transformations solving vector magnitudes and arctangent functions for the new control strategies are well suited for many microcontrollers, for example, Infineon microcontrollers with hardware CORDIC coprocessors to achieve decreased CPU time utilization. The new control strategies fully use the advantages of CORDIC coprocessors and showcase the prominent features of Infineon microcontrollers, for example.
TABLE 1
Mathematical transformations in existing FOC and proposed new control strategies
Transformation
For Existing FOC
For Proposed New Control Strategies
uvw to α-β Transform
Clarke Transform: Iα = Iu Iβ = (Iu + 2Iv)/{square root over (3)} (Iu + Iv + Iw = 0) In matrix form:
Same as existing FOC
Stationary coordinate system to rotating coordinate system Transform
Park Transform: Id = Iαcos(φ) + Iβsin(φ) Iq = −Iαsin(φ) + Iβcos(φ) In matrix form:
Subtraction of angles: Γ = γ − φ (±2 mπ)
Rotating coordinate system to stationary coordinate system Transform
Inverse Park Transform: Vα = Vdcos(φ) − Vqsin(φ) Vβ = Vdsin(φ) + Vqcos(φ) In matrix form:
Addition of angles: θ = Θ + φ (±2 nπ)
Cartesian to Polar Transform
Polar to Cartesian Transform
Not used
For sensorless new strategies only: Vα = |Vref|cos(θ) Vβ = |Vref|sin(θ)
Note
*: Mathematically m can be any integers. Usually select one m so that Γ is near to π/2.
Note
**: Mathematically n can be any integers. Usually select only one n (e.g.: n = 0)
One aspect of the disclosure involving stator flux magnitude and direction control strategies for PMSM is that in steady state the magnitudes of all the PMSM motor space vectors (i.e., current space vector, stator and rotor magnetic flux space vectors, and voltage space vector) are constants while their directions are stationary in the rotating polar coordinate system which is fixed to the rotor. So it is possible to use proportion-integral-derivative (PID) type controllers to control the stator flux magnitude and direction to achieve constant speed and controlled torque for quiet motor operation, and also control the stator flux to be perpendicular to the rotor flux for maximum energy efficiency. With polar coordinate systems the reference frame transformations for motor control can be done by simple subtraction or addition of angles, so computation-friendly motor control and a fast control loop are achieved.
In the disclosure below, the proposed new PMSM control strategies are highlighted with a detailed description of the new control strategies, including coordinate systems, space vectors, PI controller, SVM, rotor position determination, and CORDIC.
New sensored and sensorless stator flux magnitude and direction control strategies for PMSM are shown in
TABLE 2
Computation formulas for proposed control strategies
Transformation
Equations
Clark Transform
Iα = Iu Iβ = (Iu + 2Iv)/{square root over (3)} (Iu + Iv + Iw = 0)
Cartesian to Polar Transform, and Subtraction of Angles
Addition of Angles
θ = Θ + φ
Polar to Cartesian Transform (for sensorless new control strategies only)
Vα = |Vref|cos(θ) Vβ = |Vref|sin(θ)
Pseudo Cartesian to Polar Transform, for FIG. 3 (c) and FIG. 3 (d)
In the new control strategies shown in
The speed PI controller output 135 is the reference for the magnitude PI controller 123. The rotor position 139 and speed calculations 141 from a position sensor 142, speed PI control 143 are slow control loop. Note that in sensorless control as shown in
One advantageous feature of the proposed new stator flux magnitude and direction control strategies is that they do not have Park Transform and Inverse Park Transforms which were heretofore essential to existing FOC control strategies. The fast control loop becomes much more simple and fast. Note that less calculations and more simple calculations also mean less accumulative calculation errors, especially for low-end microcontrollers
To provide the highest performance for both sensored and sensorless new control strategies as shown in
In one embodiment, for both sensored and sensorless new control strategies, they can use (Γ−π/2) as feedback 151 for the direction PI controllers 125, but control (Γ−π/2) to 0 instead, as shown in
On the feedback path 153 to the magnitude PI controllers 123 of sensored and sensorless new control strategies, sine functions may be employed in some applications (i.e., use torque generating component |I|sin(Γ)) as the feedback 153 as shown in
As shown in
Depending on different system requirements, the final control strategies can be any combinations of the new control strategies as shown in
The discussion below describes the coordinate systems, space vectors, PI controller, SVM, rotor position determination, and CORDIC used in the new stator flux magnitude and direction control strategies in accordance with one embodiment of the disclosure.
The coordinate systems for a 3-phase 2-pole PMSM motor are shown below in Table 3 and
TABLE 3
Coordinate systems for stator flux magnitude and direction
control strategies
Coordinate System
Stationary
Rotating
3-phase (electrically 120° separated)
uvw
✓
Cartesian (electrically orthogonal)
α-β
✓
Polar
Ou
✓
Od
✓
3-phase 120° separated currents Iu, Iv and Iw of motor stator windings will generate three non-rotating but pulsating magnetic fields in u, v and w directions respectively, resulting in a rotating magnetic field (stator flux space vector). Coincidently, vector addition of Iu, Iv, and Iw gives a current space vector {right arrow over (I)} (its magnitude can be scaled down or up but no change of direction) rotating at speed ωi. In the stationary α-β reference frame, {right arrow over (I)} has Cartesian coordinates Iα and Iβ, as shown in
Similarly, vector addition of 3-phase 120° separated stator phase voltages gives a rotating voltage space vector. Also, a rotating rotor permanent magnet generates a rotating rotor magnetic flux space vector.
The magnitudes and directions of the above-mentioned rotating space vectors can be represented by the radial coordinates and polar angles in polar coordinate systems, as shown in
TABLE 4
Coordinates of space vectors for stator flux magnitude and
direction control strategies
Coordinates in Different Coordinate Systems
Space Vector
uvw
α-β
Ou
Od
{right arrow over (I)}
Iu, Iv, Iw
Iα, Iβ
| I|, Υ
| I|, Γ
{right arrow over (V)}ref
Vu, Vv, Vw
Vα, Vβ
| Vref|, θ
|Vref|, Θ
{right arrow over (Ψ)}s
LIu, LIv, LIw
LIα, LIβ,
L| I|, Υ
L| I|, Γ
{right arrow over (Ψ)}r
—
Ψrα, Ψrβ
Ψr, φ
Ψr, 0
where: {right arrow over (I)}—Stator current space vector
{right arrow over (V)}ref—Stator voltage space vector
{right arrow over (Ψ)}s—Stator magnetic flux space vector, {right arrow over (Ψ)}s =L{right arrow over (I)}. Its magnitude and direction are controlled.
L—Stator winding inductance per phase
{right arrow over (Ψ)}r—Rotor permanent magnet(s) flux space vector. Its magnitude Ψr can be derived from voltage constant, speed constant or torque constant in motor specifications
φ—Rotor electrical position
γ—Angle of current space vector in stationary Ou polar coordinate system
Γ—Angle of current space vector in rotating Od polar coordinate system, Γ=γ−φ
⊖—Angle of voltage space vector in rotating Od polar coordinate system
θ—Angle of voltage space vector in stationary Ou polar coordinate system, θ=⊖+φ
PI controllers are used for the rotor speed, stator magnetic flux magnitude and direction control. A PI controller is a special case of the PID controller in which the derivative of the error is not used. A PI controller 160 is shown in
A digital implementation of it in a microcontroller can be
I(k)=Kie(k)+I(k−1) (2)
U(k)=Kpe(k)+I(k) (3)
Both I and U in Equations (2) and (3) have minimum and maximum limits to avoid the unwanted windup situation (anti-windup).
The connection of a 3-phase 2-level voltage source inverter such as inverter 132 in
To avoid a short-circuit of the DC link voltage, the inverter 132 has only eight possible switching voltage vectors as shown in
Using the voltage space vector in Sector A as an example, the following shows the calculation. Using volt second balancing:
Solving the equation we have
Equations (6) and (7) can be calculated with different methods, e.g., use a look-up table for the sine function from 0 to 60° in microcontroller memory, or may be calculated by the CORDIC coprocessor of an Infineon microcontroller, for example.
There are many SVM schemes (e.g., symmetrical or asymmetrical 7-segment schemes, symmetrical or asymmetrical 5-segment scheme, and 3-segment scheme) that result in different quality and computational requirements. A particular SVM scheme can be selected based on microcontroller features and application requirements.
In sensored stator flux magnitude and direction control as illustrated in
An equivalent circuit of the electrical subsystem of a PMSM is shown in
Iα and Iβ are real-time measured and calculated current values. Vα and Vβ are last control cycle calculation results and presently apply to the motor phases. The integrations shown in Equations (11) and (12) may be simplified by replacing the integrations by low pass filters with a very low cut-off frequency. The rotor position can be calculated by knowing the motor parameters R and L. The flux position estimator is
The rotor electrical speed is
The proposed new stator flux magnitude and direction control strategies are well suited for various controllers, and in particular Infineon microcontrollers that have hardware CORDIC coprocessors, e.g., 8-bit microcontrollers XC83x, XC88x and XC87x. The following Table 5 gives examples of CORDIC computations that could be used in the new control strategies.
TABLE 5
Computations with CORDIC coprocessors of Infineon microcontrollers
CORDIC Coprocessor
Initial
Computations for New Control
Operating Modes
Data
Final Result Data
Strategies
Vectoring Mode
X Y Z
Cartesian to Polar Transform:
Rotation Mode
X Y Z
Xfinal = K[Xcos(Z) − Ysin(Z)]/MPS Yfinal = K[Ycos(Z) + Xsin(Z)]/MPS Zfinal = 0 where K ≈ 1.64676 MPS - X and Y magnitude prescaler, e.g.: MPS = 1, 2, or 4, depending on microcontroller register setting 1). In case it is needed to use CORDIC to solve the Polar to Cartesian Transform, set X = |Vref|/K, Y = 0, Z = θ
Polar to Cartesian Transform: Vα = |Vref|cos(θ) Vβ = |Vref|sin(θ)
For the sensored stator flux magnitude and direction control strategy shown in
A sensored stator flux magnitude and direction control strategy according to another embodiment with a direct uvw to Polar Transform 180 (i.e., without Clarke Transform) is shown in
Of course, the various embodiments as shown in
A sensored new stator flux magnitude and direction control strategy with a pseudo uvw to Polar Transform 182 (i.e., without Clarke Transform anymore) is shown below in
It will be appreciated that equivalent alterations and/or modifications may occur to those skilled in the art based upon a reading and/or understanding of the specification and annexed drawings. For example, the above examples are discussed in the context of PMSM motors, but the present disclosure is equally applicable for sensored and sensorless FOC control for other AC motors such as Alternating Current Induction Motor (ACIM). The disclosure herein includes all such modifications and alterations and is generally not intended to be limited thereby.
In addition, while a particular feature or aspect may have been disclosed with respect to only one of several implementations, such feature or aspect may be combined with one or more other features and/or aspects of other implementations as may be desired. Furthermore, to the extent that the terms “includes”, “having”, “has”, “with”, and/or variants thereof are used herein, such terms are intended to be inclusive in meaning—like “comprising.” Also, “exemplary” is merely meant to mean an example, rather than the best. It is also to be appreciated that features, layers and/or elements depicted herein are illustrated with particular dimensions and/or orientations relative to one another for purposes of simplicity and ease of understanding, and that the actual dimensions and/or orientations may differ substantially from that illustrated herein.
Zhao, Tao, Rabenstein, Arno, Wong, Sze Main, Gan, Theng Kiong, Kok, Choon Keat
Patent | Priority | Assignee | Title |
Patent | Priority | Assignee | Title |
5467000, | Jul 09 1993 | Siemens Aktiengesellschaft | Method and apparatus for current regulating in a voltage-injecting converter |
5714857, | Mar 24 1994 | Siemens Aktiengesellschaft | Current regulation process for a three-phase, static-converter-fed, permanently excited synchronous machine |
6388419, | Sep 01 2000 | Continental Automotive Systems, Inc | Motor control system |
6838860, | Sep 21 2001 | Honeywell International Inc. | Power generating system including permanent magnet generator and shunt AC regulator |
6940251, | Apr 30 2004 | Honeywell International Inc. | Decoupling of cross coupling for floating reference frame controllers for sensorless control of synchronous machines |
7075264, | Mar 31 2004 | Honeywell International Inc | Instantaneous power floating frame controller |
7659685, | Aug 03 2006 | STMicroelectronics S.r.l. | Method of estimating the state of a system and relative device for estimating position and speed of the rotor of a brushless motor |
7733677, | Oct 11 2007 | Honeywell International Inc. | Output power switching vector scaling system and method |
7821145, | Jun 14 2006 | Smiths Aerospace, LLC | Aircraft engine starter/generator and controller |
20040062062, | |||
20100001669, |
Executed on | Assignor | Assignee | Conveyance | Frame | Reel | Doc |
Jan 30 2014 | Infineon Technologies AG | (assignment on the face of the patent) | / | |||
Feb 27 2014 | ZHAO, TAO | Infineon Technologies AG | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 032527 | /0201 | |
Feb 27 2014 | RABENSTEIN, ARNO | Infineon Technologies AG | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 032527 | /0201 | |
Feb 27 2014 | KOK, CHOON KEAT | Infineon Technologies AG | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 032527 | /0201 | |
Feb 27 2014 | WONG, SZE MAIN | Infineon Technologies AG | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 032527 | /0201 | |
Mar 26 2014 | GAN, THENG KIONG | Infineon Technologies AG | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 032527 | /0201 |
Date | Maintenance Fee Events |
Dec 28 2016 | ASPN: Payor Number Assigned. |
Apr 16 2020 | M1551: Payment of Maintenance Fee, 4th Year, Large Entity. |
Apr 17 2024 | M1552: Payment of Maintenance Fee, 8th Year, Large Entity. |
Date | Maintenance Schedule |
Oct 25 2019 | 4 years fee payment window open |
Apr 25 2020 | 6 months grace period start (w surcharge) |
Oct 25 2020 | patent expiry (for year 4) |
Oct 25 2022 | 2 years to revive unintentionally abandoned end. (for year 4) |
Oct 25 2023 | 8 years fee payment window open |
Apr 25 2024 | 6 months grace period start (w surcharge) |
Oct 25 2024 | patent expiry (for year 8) |
Oct 25 2026 | 2 years to revive unintentionally abandoned end. (for year 8) |
Oct 25 2027 | 12 years fee payment window open |
Apr 25 2028 | 6 months grace period start (w surcharge) |
Oct 25 2028 | patent expiry (for year 12) |
Oct 25 2030 | 2 years to revive unintentionally abandoned end. (for year 12) |