Closed loop control of DAB converter
Version 1.0.0 (41.4 KB) by
Abdelrahman Farghly
Implementing closed-loop control for a Dual Active Bridge (DAB) converter in Simulink involves regulating the output voltage or current.
Step-by-Step in Simulink (Simscape Electrical / Specialized Power Systems)
1. Power Circuit Setup
- Two Universal Bridges (primary and secondary)
- High-Frequency Transformer (with or without leakage inductance modeled)
- Input: DC source
- Output: LC filter + resistive or battery load
2. Output Voltage Measurement
- Use a Voltage Measurement block
- Feed into a Simulink PID Controller (e.g., PI)
3. Reference Input
- Provide a constant (or variable) V_ref input
4. Phase Shift Generation
- PI output → Phase Shift (ϕ) in radians
- Use logic to delay or shift the secondary bridge PWM signals
- Primary: unshifted
- Secondary: delayed by ϕ
- Can use Compare To Time + Pulse Generator + Delay blocks or custom logic to create phase-shifted signals
5. Gate Signal Assignment
- Gate signals go to both Universal Bridges
- Ensure correct polarity and dead time if needed
Cite As
Abdelrahman Farghly (2026). Closed loop control of DAB converter (https://in.mathworks.com/matlabcentral/fileexchange/180976-closed-loop-control-of-dab-converter), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2022b
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0 |