> For the complete documentation index, see [llms.txt](https://www.opal-rt.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://www.opal-rt.com/docs/smart-power-simulation-software-sps/example-models/power-converters/dual-active-bridge-converter-dc-dc-converter.md).

# Dual Active Bridge Converter DC/DC Converter

This example shows the operation of a single-phase Dual Active Bridge (DAB) DC/DC converter.

<figure><img src="https://799605156-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdlNg8IbOdahCpFCyzxSN%2Fuploads%2Fgit-blob-b5e72722e7c3e71ba077ed89bc965694a5314457%2Fdual_active_bridge_converter_DCDC_example.png?alt=media" alt=""><figcaption></figcaption></figure>

## Description

The single-phase Dual Active Bridge (DAB) converter is a highly efficient isolated bidirectional DC-to-DC converter. Its key features are:

* Isolated operation
* Power density (high frequency operation reduces the size of the isolation transformer)
* Bidirectional power flow
* Efficiency (Zero Voltage Switching)

It is used in several applications such as in charging stations and electric vehicle traction. Vehicle-to-Grid (V2G) systems are also using this type of converters. The 10-kW DAB model consists of two MOSFET full-bridges linked by a coupling inductor and a high frequency transformer. The high voltage bridge is connected to an 800V DC source and the low voltage bridge is connected to a 450V DC source. Both bridges are controlled by a pulse generator and a current regulator.

### DAB Operation

Power flow in the DAB is achieved by phase-shifting the pulses of one bridge with respect to the other, while keeping the duty cycle of both bridges at 50%. Note that identical pulses are sent to the diagonal switches. In our example, the switching frequency is set to 100 kHz and the dead time to 150 ns. The theoretical output power transfer between the two bridges is given by:

$$
P = \frac{V\_{HV} , N , V\_{LV} , \phi , (\pi - |\phi|)}{2 \pi^2 F\_{SW} L}
$$

where:

* *V*<sub>*HV*</sub> is the DC link voltage of the high voltage bridge, in Volts
* *N* is the primary to secondary transformer voltage ratio
* *V*<sub>*LV*</sub> is the DC link voltage of the low voltage bridge, in Volts
* $$\phi$$ is the phase shift between the two square waves of the bridges, in Radians
* *F*<sub>*SW*</sub> is the PWM switching frequency, in Hertz
* *L* is the total inductance (coupling inductor + total transformer leakage reactance seen from the primary) between the two bridges, in Henry.

We can see that the power transfer between the two bridges can be controlled by changing the angle of the two square waves of the bridges. For a positive angle $$\phi$$, power will be transferred from the high-voltage bridge to the low-voltage bridge. Power flow will be reversed for a negative angle $$\phi$$.

The figure below shows the bridges voltages and the resulting coupling inductor current during the four switching states while angle $$\phi$$is set to +22 degrees.

<figure><img src="https://799605156-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdlNg8IbOdahCpFCyzxSN%2Fuploads%2Fgit-blob-14c3f6a34e6e779e96f0d890dfde0d1d9589b21e%2Fdual_active_bridge_converter_DCDC_simul.png?alt=media" alt=""><figcaption></figcaption></figure>

## Simulation

The model allows running two simulation scenarios:

{% stepper %}
{% step %}

### Current regulation mode

Activate the current regulation mode by setting the value of the Control Mode block to zero. Run the simulation and observe the DAB current regulator dynamics on Scope phi\_P2\_kW.

* The reference current is changed from 22 A to -22 A at 0.01 s (at a slew rate of 3000 A/s).
* To follow the new reference, the regulator output will vary from 22.9 degrees to -22.5 degrees.
  {% endstep %}

{% step %}

### Direct pulse generator control

Set the value of the Control Mode block to 1 to allow direct control of the pulse generator input (phi\_deg) to ramp the angle from -100 to 100 degrees.

* In the Additional Scopes subsystem, open the Scope\_P2\_Ptheo\_kW and run the simulation.
* You will see the actual power delivered to DC Source 2 compared to the calculated theoretical value while the angle is ramped from -100 to 100 degrees.
* For an angle ranging from -15 to +5 degrees, the actual power transfer does not match the theoretical value. This discrepancy is mainly due to the 150 ns dead time.
* A third curve (blue) shows the power transfer from another simulation performed without dead time; this blue curve and the theoretical value curve are almost identical.
  {% endstep %}
  {% endstepper %}

<figure><img src="https://799605156-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdlNg8IbOdahCpFCyzxSN%2Fuploads%2Fgit-blob-c5d33a0eb3ff2073a2b4217cc39c1f2375719bf7%2Fdual_active_bridge_converter_DCDC_simul2.png?alt=media" alt=""><figcaption></figcaption></figure>

## Command

Example model name: power\_converters\_DAB\_1ph

{% code lineNumbers="true" %}

```matlab
open('power_converters_DAB_1ph')
```

{% endcode %}

## References

1. Texas Instruments TIDA-010054 Bi-directional, Dual Active Bridge Reference Design for Level 3 Electric Vehicle Charging Stations. June 2019. [TIDA-010054 reference design | TI.com](https://www.ti.com/tool/TIDA-010054)
2. Rawad Zgheib, Innocent Kamwa, Kamal Al-Haddad, "Comparison between Isolated and Non-Isolated DC/DC Converters for Bidirectional EV Chargers", IEEE 2017. <https://ieeexplore.ieee.org/document/7913285>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://www.opal-rt.com/docs/smart-power-simulation-software-sps/example-models/power-converters/dual-active-bridge-converter-dc-dc-converter.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
