SLAU927A
March 2024 – June 2024
MSPM0G3507
1
Abstract
Trademarks
1
Introduction
2
Hardware Setup
2.1
EVM Hardware Setup
2.1.1
EVM Hardware Support
2.2
Pin Configurations for IPD Usage
2.3
Pin Configurations for PWM Outputs
2.4
Pin Configurations for ADC Currents
2.5
Pin Configurations for ADC Voltages
2.6
Pin Configurations for Faults
2.7
Pin Configurations for GPIO Output Functions
2.8
Pin Configurations for SPI Communication
2.9
Pin Configurations for UART Communication
2.10
External Connections for Evaluation Boards
3
Software Setup
3.1
Software Support
4
GUI Setup
5
Register Map
5.1
User Control Registers (Base Address = 0x20200400h)
5.2
User Input Registers (Base Address = 0x20200000h)
5.3
User Status Registers (Base Address = 0x20200430h)
6
Basic Tuning
6.1
System Configuration Parameters
6.1.1
Configuring System Parameters from GUI
6.1.2
Motor Resistance in Milliohms (mΩ)
6.1.3
Motor Inductance in Microhenries (μH)
6.1.4
Saliency of IPMSM Motor
6.1.5
Motor BEMF Constant
6.1.6
Base Voltage (V)
6.1.7
Base Current (A)
6.1.8
Maximum Motor Electrical Speed (Hz)
6.2
Control Configurations for Basic Motor Spinning
6.2.1
Basic Motor Startup
6.2.1.1
Disable ISD
6.2.1.2
Motor Start Option - Align
6.2.1.3
Motor Open Loop Ramp
6.2.1.4
Motor Open Loop Debug
6.2.2
Controller Configuration for spinning the Motor in Closed Loop
6.2.2.1
PI Controller Tuning for Closed Loop Speed Control
6.2.2.2
Testing for Successful Startup Into Closed Loop
6.3
Fault Handling
6.3.1
Abnormal BEMF Fault [ABN_BEMF]
6.3.2
Monitoring Power Supply Voltage Fluctuations for Voltage Out of Bound Faults
6.3.3
No Motor Fault [NO_MTR]
7
Advanced Tuning
7.1
Control Configurations Tuning
7.1.1
Initial Speed Detection of the Motor for Reliable Motor Resynchronization
7.1.2
Unidirectional Motor Drive Detecting Backward Spin
7.1.3
Preventing Back Spin of Rotor During Startup
7.1.4
Gradual and Smooth Start up Motion
7.1.5
Faster Startup Timing
7.1.6
Stopping Motor Quickly
7.1.7
Flux Weakening : Operating Motor at Speeds Higher than Rated Speed
7.1.8
Maximum Torque Per Ampere : Improve Efficiency of IPMSM Motors
7.1.9
Preventing Supply Voltage Overshoot During Motor Stop.
7.1.10
Protecting the Power Supply
7.1.11
FOC Bandwidth Selection
8
Hardware Configurations
8.1
Direction Configuration
8.2
Brake Configuration
8.3
Main.h Definitions
8.4
Real Time Variable Tracking
9
Revision History
7.1
Control Configurations Tuning