TIDUEY0A November   2020  – December 2025

 

  1.   1
  2.   Description
  3.   Resources
  4.   Features
  5.   Applications
  6.   6
  7. 1System Description
    1. 1.1 Li-ion Cell Formation Equipment
    2. 1.2 Key System Specifications
  8. 2System Overview
    1. 2.1 Block Diagram
    2. 2.2 System Design Theory
      1. 2.2.1 Feedback Controller
      2. 2.2.2 DC/DC Start-Up
      3. 2.2.3 High-Resolution PWM Generation
      4. 2.2.4 Output Inductor and Capacitor Selection
      5. 2.2.5 Current and Voltage Feedback
    3. 2.3 Highlighted Products
      1. 2.3.1 TMS320F28P650DK
      2. 2.3.2 ADS9324
      3. 2.3.3 INA630
      4. 2.3.4 UCC27284
      5. 2.3.5 REF50E
  9. 3Hardware, Software, Testing Requirements, and Test Results
    1. 3.1 Hardware Requirements
    2. 3.2 Software
      1. 3.2.1 Opening the Project Inside Code Composer Studio
      2. 3.2.2 Project Structure
      3. 3.2.3 Software Flow Diagram
    3. 3.3 Test Setup
      1. 3.3.1 Hardware Setup to Test Bidirectional Power Flow
      2. 3.3.2 Hardware Setup to Tune the Current and Voltage Loop
      3. 3.3.3 Hardware Setup for Current and Voltage Calibration
      4. 3.3.4 Lab Variables Definitions
      5. 3.3.5 Test Procedure
        1. 3.3.5.1 Lab 1. Open-Loop Current Control Single Phase
          1. 3.3.5.1.1 Setting Software Options for Lab 1
          2. 3.3.5.1.2 Building and Loading the Project and Setting up Debug Environment
          3. 3.3.5.1.3 Running the Code
        2. 3.3.5.2 Lab 2. Closed Loop Current Control Single Channel
          1. 3.3.5.2.1 Setting Software Options for Lab 2
          2. 3.3.5.2.2 Building and Loading the Project and Setting up Debug Environment
          3. 3.3.5.2.3 Run the Code
        3. 3.3.5.3 Lab 3. Open Loop Voltage Control Single Channel
          1. 3.3.5.3.1 Setting Software Options for Lab 3
          2. 3.3.5.3.2 Building and Loading the Project and Setting up Debug Environment
          3. 3.3.5.3.3 Running the Code
        4. 3.3.5.4 Lab 4. Closed Loop Current and Voltage Control Single Channel
          1. 3.3.5.4.1 Setting Software Options for Lab 4
          2. 3.3.5.4.2 Building and Loading the Project and Setting up Debug Environment
          3. 3.3.5.4.3 Running the Code
        5. 3.3.5.5 Lab 5. Closed Loop Current and Voltage Control Four Channels
          1. 3.3.5.5.1 Setting Software Options for Lab 5
          2. 3.3.5.5.2 Building and Loading the Project and Setting up Debug Environment
          3. 3.3.5.5.3 Running the Code
        6. 3.3.5.6 Calibration
    4. 3.4 Test Results
      1. 3.4.1 Current Load Regulation
      2. 3.4.2 Voltage Load Regulation
      3. 3.4.3 Current Linearity Test
      4. 3.4.4 Voltage Loop Linearity Test
      5. 3.4.5 Bidirectional Current Switching Time
      6. 3.4.6 Current Step Response
  10. 4Design and Documentation Support
    1. 4.1 Design Files
      1. 4.1.1 Schematics
      2. 4.1.2 BOM
    2. 4.2 Tools and Software
    3. 4.3 Documentation Support
    4. 4.4 Support Resources
    5. 4.5 Trademarks
  11. 5About the Author
  12. 6Revision History

Calibration

  1. To run this lab, make sure the hardware is set up as shown in Section 3.3.3. The two-point calibration method is used to calibrate gain and offset errors.
  2. There are three ways to measure current:
    1. Use an external precision resistor and a 6.5-digit DMM in voltage mode measure the voltage drop across the resistor, then the current can be calculated.
    2. Measure the voltage across the sense resistors on the TIDA-010086 boards
    3. Probe Tp1 and Tp2 on the board to measure the voltage drop across the shunt
    4. Use e-load readings, but this approach requires high-accuracy electronic load or source measure unit (SMU) equipment.
  3. To measure voltage, use a DMM across the buck converter output voltage and remote sense Terminal J8
  4. Open the SYSCONFIG page, select Lab 5, and set Calibration Mode to Current Calibration. Figure 3-33 shows the SYSCONFIG page setting for current calibration.
    • Save the SYSCONFIG page, and run the code.
    • Open the Expression Window.
    • The output current is updated using BT4PH_userParam_V_I_chX->ibatCal_pu parameter.
    • Set the BT4CH_userParam_chX->Relay_ON to 1 to enable the output relay.
    • Set the BT4CH_userParam_chX->en_bool = 1.
    • Set the BT4CH_userParam_chX->ibatCal_pu to "0.3" and "0.5", and note the output current readings.
    • Update the actual output current readings in bt4ch_gan_cal.h file.
    #define BT4CH_IBAT_ACTUAL_CH1_P1_A ((float32_t)3.59)
    #define BT4CH_IBAT_ACTUAL_CH1_P2_A ((float32_t)6.02)
    • Repeat the steps for channel 2, 3 and 4.
  5. Open the SYSCONFIG page, select Lab 5, and set Calibration Mode to Voltage Calibration. Figure 3-34 shows the SYSCONFIG page setting for voltage calibration.
    • Save the SYSCONFIG page, and run the code.
    • Open the Expression Window.
    • The output current is updated using BT4PH_userParam_V_I_chX->vbatCal_pu parameter.
    • Set the BT4CH_userParam_chX->Relay_ON to 1 to enable the output relay.
    • Set the BT4CH_userParam_chX->en_bool = 1.
    • Set the BT4CH_userParam_chX->vbatCal_pu to "0.2" and "0.6", and note the output current readings. Update the actual output current readings in bt4ch_cal.h file.
      #define BT4CH_VBAT_ACTUAL_CH1_P1_V ((float32_t)0.9976)
      #define BT4CH_VBAT_ACTUAL_CH1_P2_V ((float32_t)2.998)
    • Repeat the steps for channel 2, 3 and 4.
  6. After calibration finishes, stops the project and open the SYSCONFIG page, disable the calibration mode.
  7. When using non-powerSuite version of the project, Build Settings are directly modified in the solution_settings.h file. Set CALIBRATION_MODE to (1) for current calibration, and (2) for voltage calibration.
    #define LAB_NUMBER (5)
    #define CHANNEL_NUMBER (5)
    #define CALIBRATION_ENABLED (true)
    #define CALIBRATION_MODE (1)
TIDA-010086 Build Options for Current CalibrationFigure 3-33 Build Options for Current Calibration
TIDA-010086 Build Options for Voltage CalibrationFigure 3-34 Build Options for Voltage Calibration