TIDUF56 January   2024

 

  1.   1
  2.   Description
  3.   Resources
  4.   Features
  5.   Applications
  6.   6
  7. 1System Description
    1. 1.1 Terminology
    2. 1.2 Key System Specifications
  8. 2System Overview
    1. 2.1 Block Diagram
    2. 2.2 Design Considerations
    3. 2.3 Highlighted Products
      1. 2.3.1 TMS320F28P65x-Q1
      2. 2.3.2 DRV3255-Q1
      3. 2.3.3 LM25184-Q1
      4. 2.3.4 TCAN1044A-Q1
  9. 3System Design Theory
    1. 3.1 Three-Phase PMSM Drive
      1. 3.1.1 Field-Oriented Control of PM Synchronous Motor
        1. 3.1.1.1 Space Vector Definition and Projection
          1. 3.1.1.1.1 ( a ,   b ) ⇒ ( α , β ) Clarke Transformation
          2. 3.1.1.1.2 α , β ⇒ ( d ,   q ) Park Transformation
        2. 3.1.1.2 Basic Scheme of FOC for AC Motor
        3. 3.1.1.3 Rotor Flux Position
    2. 3.2 Field Weakening (FW) Control
  10. 4Hardware, Software, Testing Requirements, and Test Results
    1. 4.1 Hardware Requirements
      1. 4.1.1 Hardware Board Overview
      2. 4.1.2 Test Conditions
      3. 4.1.3 Test Equipment Required for Board Validation
    2. 4.2 Test Setup
      1. 4.2.1 Hardware Setup
      2. 4.2.2 Software Setup
        1. 4.2.2.1 Code Composer Studio™ Project
        2. 4.2.2.2 Software Structure
    3. 4.3 Test Procedure
      1. 4.3.1 Project Setup
      2. 4.3.2 Running the Application
    4. 4.4 Test Results
  11. 5Design and Documentation Support
    1. 5.1 Design Files
      1. 5.1.1 Schematics
      2. 5.1.2 BOM
      3. 5.1.3 PCB Layout Recommendations
        1. 5.1.3.1 Layout Prints
    2. 5.2 Tools and Software
    3. 5.3 Documentation Support
    4. 5.4 Support Resources
    5. 5.5 Trademarks

Field Weakening (FW) Control

Permanent magnet synchronous motor (PMSM) is widely used in home appliance applications due to the high power density, high efficiency, and wide speed range. The PMSM includes two major types: the surface-mounted PMSM (SPM), and the interior PMSM (IPM). SPM motors are easier to control due to the linear relationship between the torque and q-axis current. The aim of the field weakening control is to optimize to reach the highest power and efficiency of a PMSM drive. Field weakening control can enable a motor operation over the base speed, expanding the operating limits to reach speeds higher than the rated speed and allow exceptional control across the entire speed and voltage range.

The voltage equations of the mathematical model of an IPMSM can be described in d-q coordinates as shown in Equation 6 and Equation 7.

Equation 6. v d = L d d i d d t + R s i d - p ω m L q i q  
Equation 7. v q = L q d i q d t + R s i q + p ω m L d i d + p ω m ψ m

Figure 3-8 shows the dynamic equivalent circuit of an IPM synchronous motor.

GUID-20220116-SS0I-RKDF-ZJH7-GFSKN5ZBLHJT-low.svg Figure 3-8 Equivalent Circuit of an IPM Synchronous Motor

The total electromagnetic torque generated by the IPMSM can be expressed as Equation 8 that the produced torque is composed of two distinct terms. The first term corresponds to the mutual reaction torque occurring between torque current i q and the permanent magnet ψ m , while the second term corresponds to the reluctance torque due to the differences in d-axis and q-axis inductance.

Equation 8. T e = 3 2 p   ψ m i q + ( L d - L q ) i d i q

In most applications, IPMSM drives have speed and torque constraints, mainly due to inverter or motor rating currents and available DC link voltage limitations respectively. These constraints can be expressed with the mathematical equations Equation 9 and Equation 10.

Equation 9. I a = i d 2 + i q 2 I m a x
Equation 10. V a = v d 2 + v q 2 V m a x

where

  • V m a x and I m a x are the maximum allowable voltage and current of the inverter or motor

In a two-level three-phase Voltage Source Inverter (VSI) fed machine, the maximum achievable phase voltage is limited by the DC link voltage and the PWM strategy. The maximum voltage is limited to the value as shown in Equation 11 if Space Vector Modulation (SVPWM) is adopted.

Equation 11. v d 2 + v q 2 v m a x = v d c 3

Usually the stator resistance R s is negligible at high speed operation and the derivative of the currents is zero in steady state, thus Equation 12 is obtained as shown.

Equation 12. L d 2 ( i d + ψ p m L d ) 2 + L q 2 i q 2   V m a x ω m

The current limitation of Equation 9 produces a circle of radius I m a x in the d-q plane, and the voltage limitation of Equation 11 produces an ellipse whose radius V m a x decreases as speed increases. The resultant d-q plane current vector must be controlled to obey the current and voltage constraints simultaneously. According to these constraints, three operation regions for the IPMSM can be distinguished as shown in Figure 3-9.

GUID-20220118-SS0I-HV76-HZH2-JB8VV32KBSCB-low.svg Figure 3-9 IPMSM Control Operation Regions
  1. Constant Torque Region: MTPA can be implemented in this operation region to provide maximum torque generation.
  2. Constant Power Region: Field-weakening control must be employed and the torque capacity is reduced as the current constraint is reached.
  3. Constant Voltage Region: In this operation region, deep field-weakening control keeps a constant stator voltage to maximize the torque generation.

In the constant torque region, according to Equation 8, the total torque of an IPMSM includes the electromagnetic torque from the magnet flux linkage and the reluctance torque from the saliency between L d and L q . The electromagnetic torque is proportional to the q-axis current i q , and the reluctance torque is proportional to the multiplication of the d-axis current i d , the q-axis current i q , and the difference between L d and L q .

Conventional vector control systems of SPM motors only utilizes electromagnetic torque by setting the commanded i d to zero for non-field-weakening modes. But while the IPMSM utilizes the reluctance torque of the motor, the designer must also control the d-axis current. The aim of the MTPA control is to calculate the reference currents i d and i q to maximize the ratio between produced electromagnetic torque and reluctance torque. The relationship between i d and i q , and the vectorial sum of the stator current I s is shown in the following equations.

Equation 13. I s = i d 2 + i q 2
Equation 14. I d = I s cos β
Equation 15. I q = I s sin β

where

  • β is the stator current angle in the synchronous (d-q) reference frame

Equation 8 can be expressed as Equation 16 where I s substituted for i d and i q .

Equation 16 shows that motor torque depends on the angle of the stator current vector:

Equation 16. T e = 3 2 p I s sin β   ψ m + ( L d - L q ) I s cos β

This equation shows the maximum efficiency point can be calculated when the motor torque differential is equal to zero. The MTPA point can be found when this differential, d T e d β is zero as given in Equation 17.

Equation 17. d T e d β = 3 2 p   ψ m I s cos β + ( L d - L q ) I s 2 cos 2 β = 0  

Following this equation, the current angle of the MTPA control can be derived as in Equation 18.

Equation 18. β m t p a = cos - 1 - ψ m + ψ m 2 + 8 × L d - L q 2 × I s 2 4 × L d - L q × I s

Thus, the effective d-axis and q-axis reference currents can be expressed by Equation 19 and Equation 20 using the current angle of the MTPA control.

Equation 19. I d = I s × cos β m t p a
Equation 20. I q = I s × sin β m t p a

However, as shown in Equation 18, the angle of the MTPA control, β m t p a is related to d-axis and q-axis inductance. This means that the variation of inductance impedes the ability to find the exceptional MTPA point. To improve the efficiency of a motor drive, estimate the d-axis and q-axis inductance online, but the parameters L d and L q are not easily measured online and are influenced by saturation effects. A robust Look-Up Table (LUT) method provides controllability under electrical parameter variations. Usually, to simplify the mathematical model, the coupling effect between d-axis and q-axis inductance can be neglected. Thus, assume that L d changes with i d only, and L q changes with i q only. Consequently, d- and q-axis inductance can be modeled as a function of the d-q currents respectively, as shown in Equation 21 and Equation 22.

Equation 21. L d = f 1 i d ,   i q = f 1 i d
Equation 22. L q = f 2 i q ,   i d = f 2 i q

Reduce the ISR calculation burden by simplifying Equation 18. The motor-parameter-based constant, K m t p a is expressed instead as Equation 24, where K m t p a is computed in the background loop using the updated L d and L q .

Equation 23. K m t p a = ψ m 4 × L q - L d = 0.25 × ψ m L q - L d
Equation 24. β m t p a = c o s - 1 K m t p a / I s - K m t p a / I s 2 + 0.5

A second intermediate variable, G m t p a described in Equation 25, is defined to further simplify the calculation. Using G m t p a , the angle of the MTPA control, β m t p a can be calculated as Equation 26. These two calculations are performed in the ISR to achieve a real current angle β m t p a .

Equation 25. G m t p a = K m t p a / I s
Equation 26. β m t p a = c o s - 1 G m t p a - G m t p a 2 + 0.5

In all cases, the magnetic flux can be weakened to extend the achievable speed range by acting on the direct axis current id. As a consequence of entering this constant power operating region, field weakening control is chosen instead of the MTPA control used in constant power and voltage regions. Since the maximum inverter voltage is limited, PMSM motors cannot operate in such speed regions where the back-electromotive force, almost proportional to the permanent magnet field and motor speed, is higher than the maximum output voltage of the inverter. The direct control of magnet flux is not an option in PM motors. However, the air gap flux can be weakened by the demagnetizing effect due to the d-axis armature reaction by adding a negative id. Considering the voltage and current constraints, the armature current and the terminal voltage are limited as Equation 9 and Equation 10. The inverter input voltage (DC-Link voltage) variation limits the maximum output of the motor. Furthermore, the maximum fundamental motor voltage also depends on the PWM method used. In Equation 12, the IPMSM has two factors: one is a permanent magnet value and the other is made by inductance and current of flux.

Figure 3-10 shows the typical control structure is used to implement field weakening. β f w is the output of the field-weakening (FW) PI controller and generates the reference i d and i q . Before the voltage magnitude reaches the limit, the input of the PI controller of FW is always positive and therefore the output is always saturated at 0.

GUID-20220118-SS0I-GNTF-DCL5-SH8NQHJK1QPS-low.svg Figure 3-10 Block Diagram of Field-Weakening and Maximum Torque per Ampere Control

The field-weakening control module shown in Figure 3-10 generates the current angle β f w based on input parameters as shown in Figure 3-11.

GUID-20220118-SS0I-6QLF-3VQL-VH3MWGVQ3V4Q-low.svg Figure 3-11 Current Phasor Diagram of an IPMSM During FW and MTPA

In a typical application, if using both MTPA and FW control, the switching control module is used to determine angle of application, and then calculate the reference i d and i q as shown in Equation 14 and Equation 15. The current angle is chosen as in the following: Equation 27 and Equation 28.

Equation 27. β = β f w   i f   β f w > β m t p a
Equation 28. β = β m p t a   i f   β f w < β m t p a