# Dual active bridge: power, current and ZVS against phase shift

A dual active bridge (DAB) moves power between two DC buses through a transformer by shifting the square wave of one full bridge against the other. With single-phase-shift modulation, both bridges run at a fixed 50 % duty and the only control variable is the phase shift $\varphi$. The power is $P = n V_1 V_2\, \varphi(\pi - \varphi) / (2\pi^2 f_s L)$, it flows from the leading bridge to the lagging one, and it reverses with the sign of $\varphi$. This article works through the formula on a 400 V to 200 V, 4.4 kW example, then shows what the phase shift does to the inductor current and to zero-voltage switching (ZVS), and why the converter is happiest when the two voltages match the turns ratio.

## The circuit

Each side has a full bridge. The primary bridge drives the transformer through a series inductance $L$, which is usually the transformer's leakage inductance plus an external inductor. With a turns ratio $n = N_1/N_2$, the secondary bridge puts $\pm n V_2$ on the primary side of the transformer. The inductor sees the difference of two square waves:

- the primary bridge output $v_1 = \pm V_1$;
- the secondary bridge output referred to the primary, $v_2' = \pm n V_2$, delayed by $\varphi$ (in radians of the switching period, $\varphi = 2\pi f_s t_\varphi$).

The ratio $d = n V_2 / V_1$ is the voltage gain referred to the primary. It is 1 when the two buses match the turns ratio.

Eight switches, two transformer windings and an inductor sound like a lot, but each bridge only ever does one thing: it makes a square wave of its own bus voltage. Everything interesting happens in the inductor between the two square waves.

## The intuition: two voltage sources and a reactance

If you have met power flow on the grid, you already know the DAB. Two AC sources $V_1$ and $V_2$ joined by a reactance $X$ exchange

$$P = \frac{V_1 V_2 \sin\delta}{X}$$

where $\delta$ is the angle between them. Power flows from the leading source to the lagging one, it is largest at 90°, and when the two amplitudes are equal almost no reactive current flows at small angles. A synchronous generator on the grid works this way, and so does the DAB: the two bridges are the two sources, the series inductance is the reactance $X = \omega L$, and the phase shift is the load angle.

The square waves only change the numbers. A square wave of amplitude $V$ has a fundamental of $4V/\pi$, so the fundamentals alone give

$$P_1 = \frac{8}{\pi^2}\,\frac{n V_1 V_2 \sin\varphi}{\omega L}$$

For the example below at 30° that is 4.13 kW, 93 % of the exact 4.44 kW; the harmonics carry the rest. This first-harmonic picture is good for intuition (and for an LLC-style analysis), but the exact square-wave formula is just as easy, so the rest of the article uses it.

Three consequences follow straight from the analogy:

- **Direction.** Swap which bridge leads, and the power reverses. No relay, no second converter: the DAB is bidirectional by construction, which is why it is used between batteries and DC links.
- **Control.** At a fixed frequency, power is set by one number, the phase shift. A digital controller only moves the timing of one PWM carrier against the other.
- **Matching.** When the two amplitudes differ ($d \ne 1$), reactive current flows even when little power does, exactly like a generator with the wrong excitation. This is the root of the DAB's main weakness, covered below.

## The power formula

Over one half period, from the primary edge at $\theta = 0$ to the next one at $\theta = \pi$ (with $\theta = 2\pi f_s t$ and $\omega = 2\pi f_s$):

- for $0 < \theta < \varphi$, the primary is at $+V_1$ and the secondary is still at $-nV_2$, so the inductor voltage is $V_1(1+d)$;
- for $\varphi < \theta < \pi$, both are positive and the inductor voltage is $V_1(1-d)$.

The current has half-wave symmetry, $i(\pi) = -i(0)$, which fixes the two corner currents:

$$i(0) = -\frac{V_1}{2\omega L}\left[\pi(1-d) + 2d\varphi\right], \qquad i(\varphi) = \frac{V_1}{2\omega L}\left[2\varphi - \pi(1-d)\right]$$

The power is $V_1$ times the average of the current while the primary is positive. Integrating the two segments gives the familiar result:

$$P = \frac{n V_1 V_2}{2\pi^2 f_s L}\,\varphi(\pi - \varphi)$$

It peaks at $\varphi = \pi/2$ (90°), where $P_{max} = n V_1 V_2 / (8 f_s L)$. Beyond 90° the power falls again while the current keeps rising, so practical designs stay well below it: the formula is symmetric, the circulating current is not.

### A worked example

The `dab` example in Voltecx: $V_1 = 400$ V, $V_2 = 200$ V, $n = 2$, $f_s = 50$ kHz, $L = 50$ µH. The gain is $d = 2 \times 200 / 400 = 1$.

$$P_{max} = \frac{2 \times 400 \times 200}{8 \times 50\,\text{k} \times 50\,\mu} = 8.0\ \text{kW}$$

At $\varphi = 30° = \pi/6$:

$$P = 8.0\ \text{kW} \times \frac{4\varphi(\pi-\varphi)}{\pi^2} = 8.0\ \text{kW} \times \frac{5}{9} = 4.44\ \text{kW}$$

Simulated in Voltecx, the `dab` example at 30° delivers 4.43 kW into the 200 V bus and draws 4.46 kW from the 400 V bus; the 30 W between them is the conduction loss of the eight 20 mΩ switches. From 10° to 90° the simulated power stays within 2 % of the formula, the dead time and the switch resistance taking the rest.

![Power into the 200 V bus against the phase shift: the formula (line) and Voltecx runs of the dab example (points).](https://voltecx-web.nguyenvanqui291.workers.dev/media/blog/dual-active-bridge-phase-shift/power-vs-phase.svg)

## The inductor current

With $d = 1$ the inductor voltage is zero for $\varphi < \theta < \pi$: the current ramps from $i(0)$ to $i(\varphi)$ and then stays flat. The corners are

$$i(\varphi) = -i(0) = \frac{V_1 \varphi}{\omega L} = \frac{400 \times 0.524}{2\pi \times 50\,\text{k} \times 50\,\mu} = 13.3\ \text{A}$$

The waveform is a trapezoid, so its RMS value is

$$I_{rms} = i(\varphi)\sqrt{1 - \frac{2\varphi}{3\pi}} = 13.3 \times \sqrt{1 - \frac{1}{9}} = 12.6\ \text{A}$$

The simulation gives 12.6 A RMS, the same as the formula, and a 13.6 A peak, 2 % above it: the formula leaves out the dead time and the drops across the switches.

How to read the waveform below: the top panel shows the two bridge voltages. While they have opposite signs (the short interval after each primary edge), the full $V_1 + nV_2 = 800$ V sits across the inductor and the current ramps fast, at 16 A/µs. While they have the same sign, the inductor sees nothing and the current stays flat. The flat part is where the power is delivered; the ramp is the price of reversing the current every half period.

![One switching period of the dab example at a 30° shift: the bridge voltages v(a,b) and v(c,d) and the inductor current iL.](https://voltecx-web.nguyenvanqui291.workers.dev/media/blog/dual-active-bridge-phase-shift/waveforms.svg)

The RMS current sets the conduction loss in all eight switches, the transformer and the inductor, so a useful figure of merit is $I_{rms} V_1 / P$. Here it is $12.6 \times 400 / 4440 = 1.13$. It rises with the phase shift: at 60° the power is 7.1 kW, 1.6 times as much, but the RMS current is 23.5 A, 1.9 times as much, and near 90° much of the current only circulates.

![Peak and RMS inductor current against the phase shift at d = 1: the trapezoid formulas and Voltecx runs of the dab example, within 3 % of each other.](https://voltecx-web.nguyenvanqui291.workers.dev/media/blog/dual-active-bridge-phase-shift/current-vs-phase.svg)

The current grows linearly with the phase shift, while the power bends over towards its maximum. That is why a DAB is designed to run at a moderate shift at full load: the last 30 % of the power range costs far more current than the first 70 %.

## Zero-voltage switching

A switch turns on at zero voltage when, during the dead time, the current flows in the direction that discharges its output capacitance and then forward-biases its body diode. For the DAB with single phase shift:

- the **primary** bridge switches at $\theta = 0$; its switches turn on softly when $i(0) < 0$, which holds whenever $\pi(1-d) + 2d\varphi > 0$, so always for $d \le 1$;
- the **secondary** bridge switches at $\theta = \varphi$; its switches turn on softly when $i(\varphi) > 0$, that is when

$$\varphi > \frac{\pi(1-d)}{2}$$

For $d = 1$ both conditions hold at any phase shift, in the ideal waveform. In practice the current at the edge must also stay in the right direction through the whole dead time $t_d$, while it ramps at $V_1(1+d)/L$ towards zero. Setting $|i(0)| > V_1(1+d)\,t_d/L$ gives the primary limit with dead time,

$$\varphi > \frac{\pi(d-1) + 2(1+d)\,\omega\, t_d}{2d}$$

which at $d = 1$ is $2\,\omega\, t_d = 2 \times 2\pi \times 50\,\text{k} \times 100\,\text{n} = 0.063$ rad, or 3.6°, in the example. In the Voltecx simulation every switch turns on at zero voltage from 4° up; at 3° the 1.3 A at the primary edge reverses inside the dead time (the current ramps at 16 A/µs) and the primary bridge switches hard. The output capacitance of real switches, which must be swung before the dead time ends, raises this light-load limit further.

For $d \ne 1$ one bridge loses ZVS below a minimum phase shift, that is below a minimum power: the secondary when $d < 1$, the primary when $d > 1$. The map below puts both limits on one chart. It is V-shaped with its tip at $d = 1$, and the dead time lifts the right-hand branch by about 3° and lowers the left-hand branch by about 2°, because the secondary's current only has to reverse within the dead time: its limit is $\pi(1-d)/2 - \omega\, t_d$. The simulated points come from `analysis.softSwitching` sweeps of the `dab` example at five secondary voltages (160 V to 240 V): each is the smallest whole-degree shift at which every one of the eight switches turns on softly, and each lies on the whole degree at or above the curve with dead time (16° for the 16.2° of $d = 0.8$).

![The smallest phase shift with ZVS on both bridges against d: ideal (td = 0), with the example's 100 ns dead time, and from Voltecx sweeps of the dab example.](https://voltecx-web.nguyenvanqui291.workers.dev/media/blog/dual-active-bridge-phase-shift/zvs-boundary.svg)

Read the map as a design tool: pick the range of $d$ your buses will cover, read the smallest phase shift, and turn it into a power with the power formula. Below that power the converter switches hard, and the switching loss and EMI go up.

## The cost of a voltage mismatch

Keep the same converter and the same 4.44 kW, but let the 200 V bus sag to 180 V, a battery at a low state of charge. Now $d = 0.9$ and $P_{max} = 7.2$ kW.

- The phase shift that gives 4.44 kW solves $4\varphi(\pi-\varphi)/\pi^2 = 4.44/7.2$: $\varphi = 34.3°$.
- The corner currents become $i(0) = -17.7$ A and $i(\varphi) = 11.3$ A. The peak rises from 13.3 A to 17.7 A, about a third more, for the same power.
- ZVS of the secondary needs $\varphi > \pi(1-0.9)/2 = 9°$ in the ideal waveform (7.2° with the 100 ns dead time), that is $P > 7.2\ \text{kW} \times 4 \times 0.05 \times 0.95 = 1.37$ kW. Below about 31 % of the 4.44 kW load the secondary bridge switches hard.

Simulated, the converter at 180 V and 34.3° delivers 4.43 kW with a 17.5 A peak and 13.7 A RMS, against 12.6 A at 200 V: 9 % more RMS current and about 19 % more conduction loss for the same power. A sweep of the phase shift with `analysis.softSwitching` finds the four secondary switches losing ZVS between 7° and 8°, 1.8° below the ideal 9° by $\omega\, t_d$.

![The same converter with the secondary bus at 180 V and a 34.3° shift: the inductor current is no longer flat between the edges.](https://voltecx-web.nguyenvanqui291.workers.dev/media/blog/dual-active-bridge-phase-shift/mismatch.svg)

This is the main design trade-off of the DAB. Choose the turns ratio for the voltage where the converter spends most of its time, and expect higher current and a narrower ZVS range away from it. Wide-range applications (battery chargers, solid-state transformers) add degrees of freedom: extended phase shift, dual phase shift or triple phase shift modulation shift the two legs inside each bridge as well, so that each bridge also controls its own effective duty.

## Choosing the inductance

Rearranging the power formula for a target power $P$ at a chosen phase shift $\varphi_{nom}$ gives

$$L = \frac{n V_1 V_2\, \varphi_{nom}(\pi - \varphi_{nom})}{2\pi^2 f_s P}$$

A small $\varphi_{nom}$ (a large $L$ for the power) keeps the circulating current low but leaves little control range and a small ZVS margin when $d \ne 1$; a large $\varphi_{nom}$ does the opposite. A common starting point is a full-load phase shift between 30° and 45°, then a check of the RMS current and the ZVS boundary at the voltage extremes. Remember that the leakage of the transformer is part of $L$, and that the dead time removes a little volt-seconds at each edge, which the closed loop absorbs.

### A design walk-through

Putting the pieces together for a new DAB:

1. **Turns ratio.** Set $n = V_1 / V_2$ at the operating point where the converter spends most of its time, so that $d = 1$ there.
2. **Frequency.** Pick $f_s$ from the switch technology and the transformer size (a few tens of kHz for IGBTs and silicon at high power, hundreds of kHz for SiC and GaN).
3. **Inductance.** Choose the full-load phase shift (30° to 45°) and compute $L$ from the formula above, at the lowest input and output voltage, where the most shift is needed for the power.
4. **Current.** Compute $i(0)$, $i(\varphi)$ and the RMS current at the corners of the voltage range. These size the switches, the transformer windings and the inductor.
5. **ZVS range.** Read the map above at the extreme values of $d$, turn the minimum phase shift into a minimum power, and decide whether hard switching below it is acceptable or whether a richer modulation is needed.
6. **Simulate the corners.** Run the switching model at each corner and at light load, with the real dead time and output capacitances, and check the soft-switching report rather than the ideal conditions.

## Common mistakes

- **Leaving the leakage inductance out.** A transformer with 10 µH of leakage and a 40 µH external inductor is a 50 µH DAB. Measure or estimate the leakage before choosing the external part.
- **Designing at the nominal voltage only.** The worst current and the narrowest ZVS range are at the corners of the voltage range, not at the nominal point.
- **Running near 90° at full load.** The power curve is flat there: the loop gain collapses and the current is far higher than the power needs.
- **Trusting the ideal ZVS condition at light load.** Dead time and output capacitance both need current; the simulation above loses ZVS at 3° even with $d = 1$.
- **Forgetting the DC offset at start-up.** A step in phase shift leaves a DC component in the inductor current that only the circuit resistance removes, over many switching periods. Soft-start the phase shift, or the transformer can saturate.

The analysis follows R. W. De Doncker, D. M. Divan and M. H. Kheraluwala, "A three-phase soft-switched high-power-density DC/DC converter for high-power applications", *IEEE Transactions on Industry Applications*, vol. 27, no. 1, 1991, and B. Zhao, Q. Song, W. Liu and Y. Sun, "Overview of dual-active-bridge isolated bidirectional DC-DC converter for high-frequency-link power-conversion system", *IEEE Transactions on Power Electronics*, vol. 29, no. 8, 2014.

## Try it in Voltecx

- Open the `dab` example (`File › Open Example`, Isolated). The variables `V1`, `V2`, `Nt`, `fsw`, `Lk`, `Phs` and `td` hold the numbers above; change `Phs` in `Circuit › Variables` and run again.
- `analysis.paramSweep` over `Phs` with `i(V2)` as the measure draws the power curve; set `V2` to 180 to see the mismatch.
- `analysis.softSwitching` classifies every turn-on of the eight switches as ZVS, partial or hard, and its `sweep` option over `Phs` reports where each switch loses ZVS.
- `analysis.losses` splits the conduction loss by switch, so you can see what the RMS current costs at each operating point.
