#define USER_MOTOR1_RES_EST_CURRENT_A (1.0f) // 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 (4.5f) // A - 30~150% of rated current of the motor
#define USER_MOTOR1_FLUX_EXC_FREQ_Hz (20.0f) // Hz - 10~30% of rated frequency of the motor
重新构建工程并将代码加载到控制器中,通过点击按钮 来运行工程,或点击“Debug”选项卡中的 Run → Resume。经过固定的时长后,systemVars.flagEnableSystem 应设置为 1,这意味着偏移校准已完成并且浪涌电源继电器已开启。双电机和 PFC 的故障标志(motorVars[0].faultMtrUse.all、motorVars[1].faultMtrUse.all 和 pfcVars.faultPFCUse.all)应等于“0”,否则用户应按照Topic Link Label3.3.1中的说明检查电流和电压检测电路。