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.

Help replacing SMO macro with back-emf observer

Other Parts Discussed in Thread: CONTROLSUITE, TMS320F28035

Goodnight.

I am building the PM_sensorless example project from controlsuite in code composer v5.4. This project uses SMO to estimate rotor position and speed. I want to replace the SMO block with a back-emf observer. How do I go about implementing this in code? I am using the DRV-8312-C2-kit with the TMS320F28035 Microcontroller.

the screenshot shows the back-emf observer equations.

Any help will be much appreciated.