Class-D Half-Bridge Resonant Converter

ODE validation, FHA accuracy limits, and ZVS design — groundwork for RL-based parameter tuning of DBD drives

1Overview

The Class-D half-bridge with a series-resonant tank is the workhorse topology for high-frequency AC loads such as Dielectric Barrier Discharge (DBD) plasma reactors. Conventional design relies on the First-Harmonic Approximation (FHA) — a linearization that treats the square-wave output as a sinusoid at the fundamental frequency. FHA gives closed-form design equations but breaks down away from resonance and entirely for nonlinear loads.

This work has two objectives: (1) validate a full nonlinear ODE model against the FHA baseline, and (2) characterize the ZVS–power trade-off using the ODE, identifying where conventional analytical design fails and motivating an RL-based approach.

ODE vs FHA at resonance: 0.18% error — ODE correctly implemented

ZVS onset: fsw/f0 ≈ 1.05

Power penalty at 1.1f0: ~8%

FHA error at 0.5f0: 46% — harmonics dominate

2Circuit Model

The half-bridge produces a square wave switching between 0 and Vdc at frequency fsw. This drives a series resonant tank (Lr, Cr) into a load R. In the soft-switching model, a midpoint capacitance Co (MOSFET output capacitance) is added in parallel with the lower switch.

  V_dc ─── S1 ──┬── L_r ── C_r ── R ──┐
                │                      │
               C_o  v_mid              │
                │                      │
   0V  ─── S2 ──┴──────────────────────┘
          

The two state variables during conduction are the inductor current iL and capacitor voltage vC:

diL/dt = (vin(t) − vC − iL·R) / Lr

dvC/dt = iL / Cr

During dead time, vmid becomes a free variable and the system becomes 3rd order — Co charges or discharges driven entirely by iL.

ParameterValueUnit
Vdc400V
Lr50μH
Cr100nF
R10Ω
Co500pF
f071.18kHz
Q = ω0Lr/R2.24

3FHA Baseline

The half-bridge square wave has a Fourier fundamental amplitude of V1 = 2Vdc/π. The DC component is blocked by Cr. Retaining only the fundamental, the voltage transfer function is:

H(jω) = R / [R + j(ωLr − 1/ωCr)]

|H| = R / √[R² + (ωLr − 1/ωCr)²]

At resonance ωsw = ω0 = 1/√(LrCr), the reactive terms cancel (Z = R), giving peak current Ipeak = 2Vdc/(πR) = 25.46 A and peak load voltage VR = 254.65 V.

4ODE Validation

The ODE is integrated with scipy's Radau solver (max step Tsw/200) for 80 cycles to reach steady state. At resonance, the ODE matches the FHA to within 0.18% for both peak current and peak voltage — confirming correct implementation and sufficient solver accuracy.

ODE vs FHA steady-state waveforms
Fig. 1 — Steady-state waveforms at resonance. Blue: ODE. Red dashed: FHA fundamental. Top: switching voltage vin. Middle: inductor current iL. Bottom: load voltage vR.
QuantityFHAODEError
Ipeak25.46 A25.42 A0.18%
VR,peak254.65 V254.19 V0.18%

5Bode Plot & Frequency Sweep

The FHA transfer function is compared against ODE-extracted gain and phase across a 4:1 frequency range. Near resonance (0.85 ≤ fsw/f0 ≤ 1.15) agreement is within a few percent. At low frequencies the error grows sharply — at 0.5f0, the third harmonic lands near the resonant peak and is amplified, which the FHA cannot capture.

Bode plot FHA vs ODE
Fig. 2 — Bode plot. Solid: analytical FHA. Red dots: ODE-extracted gain and phase. Dashed vertical: f0. ODE diverges from FHA below ~0.85f0 due to harmonic amplification.
fsw/f0fsw [kHz]|H| FHA|H| ODEError
0.5035.590.2860.41846.3%
0.7049.820.5230.59613.9%
0.8560.500.8080.8687.4%
0.9567.620.9750.9982.4%
1.0071.181.0000.9980.2%
1.0574.740.9770.9542.4%
1.1581.850.8470.8094.5%
1.3092.530.6440.6243.1%
1.50106.760.4730.4883.3%
2.00142.350.2860.32714.4%
Waveforms at different switching frequencies
Fig. 3 — Waveforms at 0.7f0, f0, and 1.3f0. Below resonance: tank is capacitive, current leads, waveforms non-sinusoidal. At resonance: ODE and FHA overlap. Above resonance: harmonics well-attenuated.

6ZVS & Dead-Time Design

ZVS requires iL > 0 at the switching instant so that Co can discharge from Vdc to zero before the incoming switch turns on. The FHA gives the current at the half-period and the minimum required dead time:

iL(T/2) = −(V1/|Z|) · sin φI

τmin = Co · Vdc / |iL(T/2)|

At resonance φI = 0, so iL(T/2) = 0 and τmin → ∞ — ZVS is impossible without operating above resonance where the tank becomes inductive.

FHA design curves
Fig. 4 — FHA design curves vs. fsw/f0. Top: voltage gain |H|. Middle: current at the switching instant (positive = ZVS capable). Bottom: minimum dead time τmin, which diverges at resonance.
fsw = f0fsw = 1.1f0
|H|1.0000.920
Ipeak25.46 A23.42 A
φI−23.1°
iL(T/2)0 A9.19 A
τmin21.8 ns
Pload3242 W2743 W
ODE verification with dead time
Fig. 5 — ODE simulation with Co and dead time. Left: fsw = f0 — slow transition (low current). Center: fsw = 1.1f0 — fast ZVS transition. Right: zoomed dead-time detail. Orange shading marks the dead-time interval.

7Design Trade-off

A sweep of fsw/f0 from 0.9 to 1.3 quantifies the fundamental ZVS–power trade-off. The ODE measures actual vmid at the end of dead time and actual delivered power, revealing where the FHA current estimate is optimistic vs. pessimistic.

ZVS margin vs power trade-off
Fig. 6 — ZVS–power trade-off sweep. Top: residual vmid at end of dead time — green = full ZVS achieved. Middle: switching-instant current, FHA vs ODE. Bottom: delivered power falls as fsw moves away from f0.
ZVS transition detail
Fig. 7 — Zoomed dead-time transitions at three operating points. Only above ~1.05f0 does vmid fully reach zero before the next switch turns on.

ZVS onset: fsw/f0 ≈ 1.05

Power penalty: ~8% at 1.1f0, ~20% at 1.2f0

FHA accuracy: underestimates ZVS current below resonance (harmonics help); overestimates above — ODE verification required

8Conclusions

The conventional FHA-based design pipeline is accurate only near resonance with linear loads, and fails in two key ways:

  • Harmonic content: At fsw < 0.85f0, higher harmonics are amplified by the tank — FHA underestimates current by up to 46%. The ODE captures this correctly.
  • Nonlinear loads: For DBD loads where impedance alternates between capacitive and resistive within each cycle, FHA linearization fails entirely.

This validated ODE forms the simulation environment for an RL agent tasked with jointly optimizing (Lr, Cr, τ, fsw) for a DBD load — replacing the iterative manual design loop with a single learned policy.

← Back to Projects