TIDUF60
December 2023
1
Description
Resources
Features
Applications
6
1
System Description
1.1
Terminology
1.2
Key System Specifications
2
System Overview
2.1
Block Diagram
2.2
Design Considerations
2.3
Highlighted Products
2.3.1
TMS320F2800137
2.3.2
MSPM0G1507
2.3.3
TMP6131
2.3.4
UCC28881
2.3.5
TPS54202
2.3.6
TLV9062
2.3.7
TLV74033
2.4
System Design Theory
2.4.1
Hardware Design
2.4.1.1
Modular Design
2.4.1.2
High-Voltage Buck Auxiliary Power Supply
2.4.1.3
DC Link Voltage Sensing
2.4.1.4
Motor Phase Voltage Sensing
2.4.1.5
Motor Phase Current Sensing
2.4.1.6
External Overcurrent Protection
2.4.1.7
Internal Overcurrent Protection for TMS320F2800F137
2.4.2
Three-Phase PMSM Drive
2.4.2.1
Field-Oriented Control of PM Synchronous Motor
2.4.2.1.1
Space Vector Definition and Projection
2.4.2.1.1.1
( a , b ) ⇒ ( α , β ) Clarke Transformation
2.4.2.1.1.2
α , β ⇒ ( d , q ) Park Transformation
2.4.2.1.2
Basic Scheme of FOC for AC Motor
2.4.2.1.3
Rotor Flux Position
2.4.2.2
Sensorless Control of PM Synchronous Motor
2.4.2.2.1
Enhanced Sliding Mode Observer With Phase-Locked Loop
2.4.2.2.1.1
Mathematical Model and FOC Structure of an IPMSM
2.4.2.2.1.2
Design of ESMO for the IPMSM
2.4.2.2.1.3
Rotor Position and Speed Estimation With PLL
2.4.2.3
Field Weakening (FW) and Maximum Torque Per Ampere (MTPA) Control
2.4.2.4
Hardware Prerequisites for Motor Drive
2.4.2.4.1
Motor Current Feedback
2.4.2.4.1.1
Three-Shunt Current Sensing
2.4.2.4.1.2
Single-Shunt Current Sensing
2.4.2.4.2
Motor Voltage Feedback
3
Hardware, Software, Testing Requirements, and Test Results
3.1
Getting Started Hardware
3.1.1
Hardware Board Overview
3.1.2
Test Conditions
3.1.3
Test Equipment Required for Board Validation
3.2
Getting Started GUI
3.2.1
Test Setup
3.2.2
Overview of GUI Software
3.2.3
Setup Serial Port
3.2.4
Motor Identification
3.2.5
Spin Motor
3.2.6
Motor Fault Status
3.2.7
Tune Control Parameters
3.2.8
Virtual Oscilloscope
3.3
Getting Started C2000 Firmware
3.3.1
Download and Install Software Required for Board Test
3.3.2
Opening Project Inside CCS
3.3.3
Project Structure
3.3.4
Test Procedure
3.3.4.1
Build Level 1: CPU and Board Setup
3.3.4.1.1
Start CCS and Open Project
3.3.4.1.2
Build and Load Project
3.3.4.1.3
Setup Debug Environment Windows
3.3.4.1.4
Run the Code
3.3.4.2
Build Level 2: Open-Loop Check With ADC Feedback
3.3.4.2.1
Start CCS and Open Project
3.3.4.2.2
Build and Load Project
3.3.4.2.3
Setup Debug Environment Windows
3.3.4.2.4
Run the Code
3.3.4.3
Build Level 3: Closed Current Loop Check
3.3.4.3.1
Start CCS and Open Project
3.3.4.3.2
Build and Load Project
3.3.4.3.3
Setup Debug Environment Windows
3.3.4.3.4
Run the Code
3.3.4.4
Build Level 4: Full Motor Drive Control
3.3.4.4.1
Start CCS and Open Project
3.3.4.4.2
Build and Load Project
3.3.4.4.3
Setup Debug Environment Windows
3.3.4.4.4
Run the Code
3.3.4.4.5
Tuning Motor Drive FOC Parameters
3.3.4.4.6
Tuning Field Weakening and MTPA Control Parameters
3.3.4.4.7
Tuning Current Sensing Parameters
3.4
Test Results
3.4.1
Load and Thermal Test
3.4.2
Overcurrent Protection by External Comparator
3.4.3
Overcurrent Protection by Internal CMPSS
3.5
Migrate Firmware to a New Hardware Board
3.5.1
Configure the PWM, CMPSS, and ADC Modules
3.5.2
Setup Hardware Board Parameters
3.5.3
Configure Faults Protection Parameters
3.5.4
Setup Motor Electrical Parameters
3.6
Getting Started MSPM0 Firmware
4
Design and Documentation Support
4.1
Design Files
4.1.1
Schematics
4.1.2
Bill of Materials
4.1.3
PCB Layout Recommendations
4.1.4
Altium Project
4.1.5
Gerber Files
4.2
Software Files
4.3
Documentation Support
4.4
Support Resources
4.5
Trademarks
5
About the Author
3.3.4.4.2
Build and Load Project
To build and load the project, complete the following steps:
Open the sys_settings.h file, set DMC_BUILDLEVEL to DMC_LEVEL_4.
Follow Steps 2 to 4 of
Section 3.3.4.1.2
to build the project and load code into controller.