//Combination 1 : //enable ENABLE_ROTOR_IPD1_FUNCTION only, it will enter open loop mode after IPD1 be executed//20190626 //ENABLE : ENABLE_ROTOR_IPD1_FUNCTION //use bemf to detect initial position of rotor //DISABLE: ENABLE_ROTOR_IPD2_FUNCTION //use magnetic saturation to detect initial position of rotor //DISABLE: ENABLE_NEW_STARTUP_METHOD //new startup method to do motor start //DISABLE: ENABLE_NEW_STARTUP_METHOD_AFTER_ALIGNMENT_MODE //do new startup method after alignment mode //DISABLE: ENABLE_NEW_STARTUP_METHOD_AFTER_ALIGNMENT_AND_OPEN_LOOP_MODE//do new startup method after alignment mode and open loop modefan翻译
时间: 2023-08-11 19:08:02 浏览: 215
这段代码的作用是:启用 ENABLE_ROTOR_IPD1_FUNCTION 功能,并在执行 IPD1 后进入开环模式。如果禁用了 ENABLE_ROTOR_IPD2_FUNCTION 和 ENABLE_NEW_STARTUP_METHOD 功能,则会使用反电势来检测转子的初始位置。同时,禁用了 ENABLE_NEW_STARTUP_METHOD_AFTER_ALIGNMENT_MODE 和 ENABLE_NEW_STARTUP_METHOD_AFTER_ALIGNMENT_AND_OPEN_LOOP_MODE 功能,这意味着在对齿轮进行校准后,不会使用新的启动方法,也不会在校准模式和开环模式后使用新的启动方法。
相关问题
//Combination 2 : //enable ENABLE_ROTOR_IPD2_FUNCTION only, it will enter open loop mode after IPD2 be executed (IPM MOTOR is better than Surface mounted Motor) //DISABLE: ENABLE_ROTOR_IPD1_FUNCTION //ENABLE : ENABLE_ROTOR_IPD2_FUNCTION //DISABLE: ENABLE_NEW_STARTUP_METHOD //DISABLE: ENABLE_NEW_STARTUP_METHOD_AFTER_ALIGNMENT_MODE //DISABLE: ENABLE_NEW_STARTUP_METHOD_AFTER_ALIGNMENT_AND_OPEN_LOOP_MODE 翻译
这段代码是针对一种电机的控制方式进行设置的。如果启用了ENABLE_ROTOR_IPD2_FUNCTION,将会在执行IPD2后进入开环模式(IPM电机比表面安装电机更好)。同时,DISABLE掉ENABLE_ROTOR_IPD1_FUNCTION、ENABLE_NEW_STARTUP_METHOD、ENABLE_NEW_STARTUP_METHOD_AFTER_ALIGNMENT_MODE和ENABLE_NEW_STARTUP_METHOD_AFTER_ALIGNMENT_AND_OPEN_LOOP_MODE。
阅读全文