SDAA481 August   2026 MSPM33C321A , MSPM33C321A-Q1

 

  1.   1
  2.   Abstract
  3.   Trademarks
  4. 1Introduction
  5. 2Getting Started With MSPM33 Motor Control
  6. 3Stepper Motor Control
    1. 3.1 Background
    2. 3.2 Software Architecture
    3. 3.3 Block Diagrams
    4. 3.4 Hardware Support
  7. 4BLDC Sensored Trap Control
    1. 4.1 Background
    2. 4.2 Software Architecture
    3. 4.3 Block Diagrams
    4. 4.4 Hardware Support
  8. 53-Phase Sensorless FOC Control
    1. 5.1 Background
    2. 5.2 Software Architecture
    3. 5.3 Block Diagrams
    4. 5.4 Hardware Support
  9. 6Summary
  10. 7References

Background

This design uses an incremental system build to demonstrate a complete fixed-point sensorless Field-oriented control (FOC) design across a wide range of speeds and takes into consideration torque changes with transient phases by processing a dynamic model of the motor. Each incremental build uses modular software blocks to create a full sensorless-FOC design using two current sensors, macros for angle and speed estimation, speed and torque regulation, Park, Clarke, inverse Park, and space vector PWM generation (SVGEN). A block daigram for Sensorless FOC using two current sensors is shown in Figure 5-1.

For more information on the theoretical background of Sensorless FOC implementation with this design, see Sensorless FOC of PMSM.

 Sensorless Field-Oriented Control Using Two Current SensorsFigure 5-1 Sensorless Field-Oriented Control Using Two Current Sensors

Angle estimation is implemented using an Enhanced Sliding Mode Observer (eSMO) with phased lock-loop (PLL) to accurately estimate the real-time speed of a BLDC/PMSM motor. The motor state of the algorithm is controlled by using a state variable to automatically transition the motor from startup to open loop, and from open loop to closed loop. The closed-loop state allows for real-time motor control with minimal reference current, and additionally provides tunable speed regulation across torque changes or load conditions.