SPRUHJ1I January 2013 – October 2021 TMS320F2802-Q1 , TMS320F28026-Q1 , TMS320F28026F , TMS320F28027-Q1 , TMS320F28027F , TMS320F28027F-Q1 , TMS320F28052-Q1 , TMS320F28052F , TMS320F28052F-Q1 , TMS320F28052M , TMS320F28052M-Q1 , TMS320F28054-Q1 , TMS320F28054F , TMS320F28054F-Q1 , TMS320F28054M , TMS320F28054M-Q1 , TMS320F2806-Q1 , TMS320F28062-Q1 , TMS320F28062F , TMS320F28062F-Q1 , TMS320F28068F , TMS320F28068M , TMS320F28069-Q1 , TMS320F28069F , TMS320F28069F-Q1 , TMS320F28069M , TMS320F28069M-Q1
The parameters provided in user.h for PMSM motors are:
#if (USER_MOTOR == User_PMSM)
#define USER_MOTOR_TYPE MOTOR_Type_Pm
#define USER_MOTOR_NUM_POLE_PAIRS (4)
#define USER_MOTOR_Rs (2.83)
#define USER_MOTOR_Ls_d (0.0115)
#define USER_MOTOR_Ls_q (0.0135)
#define USER_MOTOR_RATED_FLUX (0.502)
#define USER_MOTOR_MAX_CURRENT (4.0)
Table 7-6 summarizes all the parameters that are required in user.h header file when PMSM motor identification is bypassed.
PMSM Motor Parameter in user.h | PMSM Motor Parameter and Units | PMSM Motor Model Symbol |
---|---|---|
USER_Motor_Rs | Stator Resistance (Ω) | Rs |
USER_Motor_Ls_d | Stator Direct Inductance (H) | Lsd |
USER_Motor_Ls_q | Stator Quadrature Inductance (H) | Lsq |
USER_Motor_RATED_FLUX | Rated Flux (V/Hz) | ψ |
The following PMSM model can be referenced when pulling motor parameters from a motor's datasheet:
Where:
Rs: Stator resistance
Lsd: D-axis stator inductance
Lsq: Q-axis stator inductance
ψ: Rotor flux
vsd: D-axis voltage component
vsq: Q-axis voltage component
isd: D-axis current component
isq: Q-axis current component
ωm: Angular frequency of the magnetic field
The following section will cover each of these parameters, and how to get them from a typical motor manufacturer's data sheet.