JAJU879 November 2022
Follow the steps described in Section 3.3.1.1 to change DMC_BUILDLEVEL to DMC_LEVEL_4. There are several additional edits that should be made for this build level:
#define USER_MOTOR1_Rs_Ohm (0.540593326f)
#define USER_MOTOR1_Ls_d_H (0.000145048587f)
#define USER_MOTOR1_Ls_q_H (0.000145048587f)
#define USER_MOTOR1_RATED_FLUX_VpHz (0.038f)
#define USER_MOTOR1_RES_EST_CURRENT_A (1.5f) // A - 10~30% of rated current of the motor
#define USER_MOTOR1_IND_EST_CURRENT_A (-1.0f) // A - 10~30% of rated current of the motor,
// just enough to enable rotation
#define USER_MOTOR1_MAX_CURRENT_A (6.0f) // A - 30~150% of rated current of the motor
#define USER_MOTOR1_FLUX_EXC_FREQ_Hz (40.0f) // Hz - 10~30% of rated frequency of the motor
Rebuild and load the project. You should also change the contents of the Expressions view to the variables listed in tidm_02012_level4.txt.