SPRAD34B July   2023  – October 2023 MSPM0G1507

 

  1.   1
  2.   Abstract
  3.   Trademarks
  4. 1Introduction
  5. 2Getting Started With MSPM0 Motor Control
  6. 3Brushed-DC Motor Control
    1. 3.1 Background
    2. 3.2 Software Architecture
    3. 3.3 Block Diagrams
      1. 3.3.1 H-Bridge Motor Driver
      2. 3.3.2 H-Bridge Gate Driver
    4. 3.4 Hardware Support
    5. 3.5 Software Support
    6. 3.6 Evaluating Brushed-DC with MSP Motor Control SDK
  7. 4Stepper Motor Control
    1. 4.1 Background
    2. 4.2 Software Architecture
    3. 4.3 Block Diagrams
    4. 4.4 Hardware Support
    5. 4.5 Software Support
    6. 4.6 Evaluating Stepper With MSP Motor Control SDK
  8. 5BLDC Sensored Trap Control
    1. 5.1 Background
    2. 5.2 Software Architecture
    3. 5.3 Block Diagrams
    4. 5.4 Hardware Support
    5. 5.5 Software Support
    6. 5.6 Evaluating Sensored Trap with MSP Motor Control
  9. 63-Phase Sensorless FOC Control
    1. 6.1 Background
    2. 6.2 Software Architecture
    3. 6.3 Block Diagrams
      1. 6.3.1 MSPM0Gx10x and Gate Driver with Analog/MOSFET Integration
      2. 6.3.2 MSPM0Gx50x Analog Integration and Gate Driver
    4. 6.4 Hardware Support
    5. 6.5 Software Support
    6. 6.6 Evaluating Sensorless FOC with MSP Motor Control
    7. 6.7 Sensorless FOC Performance
  10. 7References
  11.   Revision History

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 6-1.

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

GUID-61CFE000-EF09-42A4-BD33-6DC2BB0B269E-low.gif Figure 6-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.