Hi,FAST and eSMO estimators can work simultaneously using the below definition. How can I switch the estimator between FAST and eSMO during the running stage? Thanks
#if defined(MOTOR1_FAST) && defined(MOTOR1_ESMO) // (OK<->OK)
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi,FAST and eSMO estimators can work simultaneously using the below definition. How can I switch the estimator between FAST and eSMO during the running stage? Thanks
#if defined(MOTOR1_FAST) && defined(MOTOR1_ESMO) // (OK<->OK)
Yes. You just need to set/change the value of motorVars_M1.estimatorMode.
motorVars_M1.estimatorMode = ESTIMATOR_MODE_ESMO;
motorVars_M1.estimatorMode = ESTIMATOR_MODE_FAST;
FAST has the force angle feature for startup that just needs several electrical cycles for all of the motors include low induction motor.