TIDUF33
june 2023
1
Description
Resources
Features
Applications
6
1
System Description
1.1
Key System Specifications
2
System Overview
2.1
Block Diagram
2.2
Design Considerations
2.2.1
Current and Voltage Controller
2.2.2
High-Resolution PWM Generation
2.3
Highlighted Products
2.3.1
TMS320F280039
2.3.2
ADS131M08
3
Hardware, Software, Testing Requirements, and Test Results
3.1
Hardware Requirements
3.2
Software Requirements
3.2.1
Opening the Project Inside Code Composer Studio
3.2.2
Project Structure
3.2.3
Software Flow Diagram
3.3
Test Setup
3.3.1
Hardware Setup to Tune the Current and Voltage Loops
3.3.2
Hardware Setup to Test Bidirectional Power Flow
3.3.3
Hardware Setup for Current and Voltage Calibration
3.4
Test Procedure
3.4.1
Lab Variables Definitions
3.4.2
Lab 1. Open-Loop Current Control Single Phase
3.4.2.1
Setting Software Options for Lab 1
3.4.2.2
Building and Loading the Project and Setting up Debug Environment
3.4.2.3
Running the Code
3.4.3
Lab 2. Closed Loop Current Control Single Phase
3.4.3.1
Setting Software Options for Lab 2
3.4.3.2
Building and Loading the Project and Setting up Debug Environment
3.4.3.3
Running the Code
3.4.3.4
Current Calibration
3.4.4
Lab 3. Closed Loop Current Control Dual Phase
3.4.4.1
Setting Software Options for Lab 3
3.4.4.2
Building and Loading the Project and Setting up Debug Environment
3.4.4.3
Running the Code
3.4.5
Lab 4. Closed Loop Current and Voltage Control
3.4.5.1
Setting Software Options for Lab 4
3.4.5.2
Building and Loading the Project and Setting up Debug Environment
3.4.5.3
Running the Code
3.4.5.4
Voltage Calibration
3.5
Test Results
3.5.1
Current Loop Load Regulation Error
3.5.2
Voltage Loop Load Regulation Error
3.5.3
Voltage Transition at No Load
3.5.4
Transient Response at Start-Up
3.5.5
Bidirectional Current Switching Time
4
Design and Documentation Support
4.1
Design Files
4.1.1
Schematics
4.1.2
BOM
4.2
Tools and Software
4.3
Documentation Support
4.4
Support Resources
4.5
Trademarks
5
About the Author
3.4.2.1
Setting Software Options for Lab 1
Open the CCS project as outlined in
Section 3.2.1
. If using the powerSUITE, go to
Step 2
, otherwise jump to
Step 3
.
Open the SYSCONFIG page and select under the
Build Options
section:
Select
Lab 1: Open Loop CC Single Phase
for the Lab.
Change the
Phase Enabled
to Phase 1 or Phase 2.
Set the SFRA Enable/Disable to 1.
Save the page.
When using the non-powerSuite version of the project, the above settings are directly modified in the
solution_settings.h
file.
#define LAB_NUMBER (1)
#define PHASE_NUMBER (1)
#define SFRA_ENABLED (true)
Figure 3-11
Build Options for Lab 1