SNOAAA7 April   2024 LMG3522R030

 

  1.   1
  2.   Abstract
  3.   Trademarks
  4. 1Introduction
  5. 2Overview of Inverter Model
    1. 2.1 Power Stage
    2. 2.2 Control and Modulation Method
  6. 3Realization of Digital Control Using C-Script Block
    1. 3.1 Overview of Project Structure
    2. 3.2 AC Voltage Sampling and True RMS Value Calculation
    3. 3.3 Multiple Loop Control
      1. 3.3.1 Voltage Loop With Notch Filter
      2. 3.3.2 Current Loop With PI Compensator Anti-Windup
      3. 3.3.3 Sinusoidal and Sawtooth Wave Generator
      4. 3.3.4 Totem-Pole Modulation and Dead-Time Control
  7. 4Simulation Results
  8. 5Summary
  9. 6References

Summary

This application note introduces the implementation of single phase off-grid inverter with digital control in PLECS. All function blocks are realized using a C-Script block with code. This model matches the TI reference design PMP23338 or other TI totem-pole PFCs or inverter reference designs. By utilizing this model, the parameters of the power stage or control block can be easily verified. TI GaN LMG352XR030 is also implemented in this model, and the performance of this device can be verified by using this model.

In addition, the description of the multi-loop control loop with the true RMS calculation can be used as a design reference for a single-phase off-grid inverter. The complex control method and topology can be extended by using this model.

Furthermore, through a detailed description of the project software structure and code, this application note provides ideas for porting code to TI's C2000 MCU.