This tuning guide provides step-by-step guidance to set up an MSPM0 MCU and supported DRV hardware board to tune and spin 3-phase brushless DC motor using Sensored FOC Algorithm.
LaunchPad™ and Code Composer Studio™ are trademarks of Texas Instruments.
Arm® and Cortex® are registered trademarks of Arm Limited.
All trademarks are the property of their respective owners.
The MSPM0Gxxx family of 80MHz Arm®-Cortex® M0+ MCUs can commutate a Hall Sensor embedded 3-phase brushless DC (BLDC) motor with FOC control. The BLDC motor is driven by a three-phase brushless DC (BLDC) MOSFET gate driver or integrated MOSFET motor driver at 12V or 24V nominal DC rails or battery-powered applications. The driver typically integrates three current-sense amplifiers (CSAs) for sensing the three-phase currents of BLDC motors to achieve optimum FOC control.
Figure 1-1 shows a simplified schematic of an MSPM0Gxxx MCU and BLDC motor driver.
This tuning guide provides the steps to tune a 3-phase BLDC motor using an MSPM0Gxxxx MCU. The tuning process is classified into four sections: Hardware Setup, Software Setup, Basic Tuning and Advanced Tuning.
The following items are required to use this tuning guide:
Figure 2-1 shows the block diagram connections for a Sensored FOC motor system. The system can be built using:
The following sections describe how to configure the pins for each portion of the Sensored FOC block diagram.
The System Configuration tool (SysConfig) helps to configure the pins in a motor control system. The default pin configurations are provided for the EVM hardware setup to spin a motor, but pins can be remapped to other pins visually inside SysConfig. This is useful for reconfiguring different pins (such as PWM, ADC, or other control signals) on a custom PCB or for scaling to different packages across MSPM0 devices.