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

Totem-Pole Modulation and Dead-Time Control

To realize totem-pole modulation, compare the output error signal of current loop with the generated sawtooth wave. See Table 2-2 for the switching state. The positive and negative values of the error signal determine the switching state of the low-frequency bridge, and the intersection point between the sawtooth and error signals determines the switching state of the high-frequency bridge. To avoid the PWM signal glitch near the zero point, set the threshold value.

Additionally, to avoid short circuits in bridge, the dead time is set. Since a continuous sample rate is set, all these functions are executed with a certain sequence; therefore, a delay function cannot be added in the transient time. Instead, a background timer is set in the update function and accumulates every sample time. Therefore, once the counter reaches the desired value, the timer turns off or turns on another FET in the bridge. Accordingly, the turn-on or turn-off time can be extended, but cannot be decreased to achieve dead-time control. Figure 3-13 and Figure 3-14 show the codes.

GUID-20240319-SS0I-HFH9-R279-DV12R2LKC57S-low.pngFigure 3-13 Background Dead-Time Counter in Update Function

Although the counter number is set to 11, the effective number is 10 which means the dead time is 83.3ns.

GUID-20240319-SS0I-QR1M-6LXG-0DP0F8RCVCXM-low.pngFigure 3-14 Totem-Pole Control Code in Positive Cycle