TIDUET7G September   2019  – October 2023

 

  1.   1
  2.   Description
  3.   Resources
  4.   Features
  5.   Applications
  6.   6
  7. 1System Description
    1. 1.1 Key System Specifications
  8. 2System Overview
    1. 2.1 Block Diagram
    2. 2.2 Design Considerations
    3. 2.3 Highlighted Products
      1. 2.3.1  LMG3422R050 — 600-V GaN With Integrated Driver and Protection
      2. 2.3.2  TMCS1100 — Precision Isolated Current Sense Monitor
      3. 2.3.3  UCC27524 — Dual, 5-A, High-Speed Low-Side Power MOSFET Driver
      4. 2.3.4  UCC27714 — 620-V, 1.8-A, 2.8-A High-Side Low-Side Gate Driver
      5. 2.3.5  ISO7721 — High Speed, Robust EMC, Reinforced and Basic Dual-Channel Digital Isolator
      6. 2.3.6  ISO7740 and ISO7720 — High-Speed, Low-Power, Robust EMC Digital Isolators
      7. 2.3.7  OPA237 — Single-Supply Operational Amplifier
      8. 2.3.8  INAx180 — Low- and High-Side Voltage Output, Current-Sense Amplifiers
      9. 2.3.9  TPS560430 — SIMPLE SWITCHER 4-V to 36-V, 600-mA Synchronous Step-Down Converter
      10. 2.3.10 TLV713 — 150-mA Low-Dropout (LDO) Regulator With Foldback Current Limit for Portable Devices
      11. 2.3.11 TMP61 — Small Silicon-Based Linear Thermistor for Temperature Sensing
      12. 2.3.12 CSD18510Q5B — 40-V, N-Channel NexFET MOSFET, Single SON5x6, 0.96 mOhm
      13. 2.3.13 UCC28911 — 700-V Flyback Switcher With Constant-Voltage, Constant-Current, and Primary-Side Regulation
      14. 2.3.14 SN74LVC1G3157DRYR — Single-Pole Double-Throw Analog Switch
    4. 2.4 System Design Theory
      1. 2.4.1 Totem Pole PFC Stage Design
        1. 2.4.1.1 Design Parameters of the PFC Stage
        2. 2.4.1.2 Current Calculations
        3. 2.4.1.3 PFC Boost Inductor
        4. 2.4.1.4 Output Capacitor
        5. 2.4.1.5 Fast and Slow Switches
        6. 2.4.1.6 AC Current Sensing Circuits
        7. 2.4.1.7 Temperature Sensing
      2. 2.4.2 Design Parameters of the LLC Stage
        1. 2.4.2.1 Determining LLC Transformer Turns Ratio N
        2. 2.4.2.2 Determining Mg_min and Mg_max
        3. 2.4.2.3 Determining Equivalent Load Resistance (Re) of Resonant Network
        4. 2.4.2.4 Selecting Lm and Lr Ratio (Ln) and Qe
        5. 2.4.2.5 Determining Primary-Side Currents
        6. 2.4.2.6 Determining Secondary-Side Currents
        7. 2.4.2.7 Primary-Side GaN and Driver
        8. 2.4.2.8 Secondary-Side Synchronous MOSFETs
        9. 2.4.2.9 Output Current Sensing
      3. 2.4.3 Communication Between the Primary Side and the Secondary Side
  9. 3Hardware, Software, Testing Requirements, and Test Results
    1. 3.1 Required Hardware and Software
      1. 3.1.1 Hardware
        1. 3.1.1.1 Test Conditions
        2. 3.1.1.2 Test Equipment Required for Board Validation
        3. 3.1.1.3 Test Procedure
          1. 3.1.1.3.1 System Test: Dual Stages
          2. 3.1.1.3.2 PFC Stage Test
          3. 3.1.1.3.3 LLC Stage Test
      2. 3.1.2 PFC Stage Software
        1. 3.1.2.1 Opening Project Inside CCS
        2. 3.1.2.2 Project Structure
        3. 3.1.2.3 Using CLA on C2000 MCU to Alleviate CPU Burden
        4. 3.1.2.4 CPU Utilization and Memory Allocation
        5. 3.1.2.5 Running the Project
          1. 3.1.2.5.1 Lab 1: Open Loop, DC (PFC Mode)
            1. 3.1.2.5.1.1 Setting Software Options for Lab 1
            2. 3.1.2.5.1.2 Building and Loading Project
            3. 3.1.2.5.1.3 Setup Debug Environment Windows
            4. 3.1.2.5.1.4 Using Real-Time Emulation
            5. 3.1.2.5.1.5 Running Code
          2. 3.1.2.5.2 Lab 2: Closed Current Loop DC
            1. 3.1.2.5.2.1 Setting Software Options for Lab 2
            2. 3.1.2.5.2.2 Building and Loading Project and Setting up Debug
            3. 3.1.2.5.2.3 Running Code
          3. 3.1.2.5.3 Lab 3: Closed Current Loop, AC (PFC)
            1. 3.1.2.5.3.1 Setting Software Options for Lab 3
            2. 3.1.2.5.3.2 Building and Loading Project and Setting up Debug
            3. 3.1.2.5.3.3 Running Code
          4. 3.1.2.5.4 Lab 4: Closed Voltage and Current Loop (PFC)
            1. 3.1.2.5.4.1 Setting Software Options for Lab 4
            2. 3.1.2.5.4.2 Building and Loading Project and Setting up Debug
            3. 3.1.2.5.4.3 Running Code
      3. 3.1.3 LLC Stage Software
        1. 3.1.3.1 Opening Project Inside CCS
        2. 3.1.3.2 Project Structure
        3. 3.1.3.3 Software Flow
        4. 3.1.3.4 CPU Utilization and Memory Allocation
        5. 3.1.3.5 Running the Project
          1. 3.1.3.5.1 Lab 1: Open-Loop Control
            1. 3.1.3.5.1.1 Software Setup
            2. 3.1.3.5.1.2 Build and Load the Project
            3. 3.1.3.5.1.3 Debug Environment Windows
            4. 3.1.3.5.1.4 Run the Code
          2. 3.1.3.5.2 Lab 2: Closed-Loop Control With SFRA
            1. 3.1.3.5.2.1 Software Setup
            2. 3.1.3.5.2.2 Build and Load the Project
            3. 3.1.3.5.2.3 Debug Environment Windows
            4. 3.1.3.5.2.4 Run the Code
      4. 3.1.4 PFC + LLC Stage Dual Test
        1. 3.1.4.1 Hardware Setup
        2. 3.1.4.2 System Test Procedure
        3. 3.1.4.3 FSI Software in TIDA-010062
      5. 3.1.5 Live Firmware Update Overview
        1. 3.1.5.1 Live Firmware Update Description
        2. 3.1.5.2 Software Structure
        3. 3.1.5.3 LFU on LLC Stage Software
          1. 3.1.5.3.1 Opening Project Inside CCS
        4. 3.1.5.4 Loading the Custom Bootloader and Application to Flash Using CCS
        5. 3.1.5.5 Running the LFU Demonstration With Control Loop Running on the CLA and Test Results
    2. 3.2 Testing and Results
      1. 3.2.1 Performance, Data, and Curve
        1. 3.2.1.1 Efficiency, iTHD, and PF of the PFC Stage
        2. 3.2.1.2 Efficiency of the LLC Stage
        3. 3.2.1.3 Efficiency of the Whole System
      2. 3.2.2 Functional Waveforms
        1. 3.2.2.1 Start-up
        2. 3.2.2.2 Hall Sensor
        3. 3.2.2.3 PFC Working Waveforms
        4. 3.2.2.4 LLC Working Waveforms
  10. 4Design Files
    1. 4.1 Schematics
    2. 4.2 Bill of Materials
    3. 4.3 PCB Layout Recommendations
      1. 4.3.1 Power Stage Specific Guidelines
      2. 4.3.2 Gate Driver Specific Guidelines
      3. 4.3.3 Layout Prints
    4. 4.4 Altium Project
    5. 4.5 Gerber Files
    6. 4.6 Assembly Drawings
  11. 5Software Files
  12. 6Related Documentation
    1. 6.1 Trademarks
  13. 7About the Author
  14. 8Revision History
  15.   132

Running the LFU Demonstration With Control Loop Running on the CLA and Test Results

With both flash banks of the device programmed with the custom bootloader and Application images, the LFU demonstration is now ready to run in Standalone mode.

To confirm successful switchover, a variety of different signals, registers and LEDs on the device can be observed.

WARNING: Confirm the running of new firmware by probing different waveforms such as PWM gate drive signals, input voltage, and current and output voltage using an oscilloscope. Take appropriate safety precautions and appropriate grounding requirements while probing these high voltages and high currents for this isolated DC/DC converter.

Apply power to the board. At this point, verify that LED2 (GPIO34 – D2) is OFF and LED1 (GPIO31 -D1) is ON. This indicates that the Bank0 application is the active application being run. If both LEDs (D1 and D2) are ON, then Bank1 is the active application. Observe that the PWMs gate driver signals are not visible on an oscilloscope. This is due to the software waiting for the SCI autobaud lock command from the Microsoft® Windows® PC.

To enable SCI autobaud lock, execute a command from the Microsoft Windows command prompt. This command is similar to the command previously entered when programming bootloader and application. An example command follows:

  • serial_flash_programmer_appln.exe -d f28003x -k f28003x_fw_upgrade_example\flash_kernel_ex3_sci_flash_kernel_bank0.txt -a f28003x_fw_upgrade_example\llc_f28003x_BANK1FLASH.txt -b 9600 -p COM5

GUID-20230801-SS0I-VVBR-D3F3-QZDDBR6V89P7-low.png

Figure 3-38 Switching Frequency Change Pre- and Post-LFU Operations

Now observe on the controlCARD that the LED1 toggles, thus confirming the execution of the LLC_HAL_toggleLED () function in the background task B1 in llc_main.c. LED2 is OFF if Bank0 has the active application and ON if Bank1 has the active application.

The command prompt window shows the same option flash programming options as previously shown. The device is now ready to switch to the other flash bank. To switch execution to the other bank, Enter “8 – Live DFU” – this programs the new firmware to the inactive bank. When complete, Enter “0 – Done” to complete the process. During downloading to Flash, LED1 stops toggling because background tasks are halted.

After programming the new image to the device, LED2 and LED1 switch from ON to OFF (Bank 1 -> Bank 0) or from OFF to ON (Bank0 -> Bank1). This indication of execution of the new image.

The PWM signal waveforms should now be updated with the new targeted switching frequency (200 kHz) as shown in green (M1), see Figure 3-38.

Another step that can be confirmed is the programming of new coefficient for the DF22 controller, this can be done by loading the symbols of Bank0 application into CCS prior to LFU and looking at the contents of the LLC_ctrl_DF22 structure. Specifically observing the targeted control loop parameters b0, b1, and b2. Once the LFU is complete, the symbols for the Bank1 application can be loaded into CCS and the targeted parameters can observed to confirm the switchover and execution of the new image and the appropriate settings. Figure 3-39 illustrates the coefficient values prior and post LFU.


GUID-20230801-SS0I-NPTS-HKGP-NNK3BDTVSWRQ-low.png

Figure 3-39 Control Loop Parameter Changes Between Different Images on Bank0 vs Bank1
Note: For the purposes of testing, the coefficients in Bank0 are chosen to be roughly half the values of those shown in Bank1. This is done to demonstrate the impact of a poorly tuned compensator (Bank0) versus a fine-tuned compensator (Bank1). For more robust testing, the designer can perform a transient response analysis and monitor the impact and changes in real-time as the new image is loaded and switched over to.