I am using a PI controller and the variable phase shift module to do a single phase shift in the DAB and it works very well. I am trying to do a double phase shift between the QP1 and QP2 ( 1st and the 2nd leg of the primary bridge).
Please let me know how to implement this or if there is a different approach other than using the Variable Phase Shift PWM block.
Here’s a generic Triple Phase Shift (TPS) PWM block I developed previously. Since TPS is the most generic approach, you can assign the primary and secondary duty cycles to achieve single phase shift (SPS), dual phase shift (DPS), and extended phase shift (EPS) as well.
Under the hood it uses the Variable Phase PWM block from the PLECS library.
It’s worth noting that each of these can be defined using slightly different conventions for what phase shift means, so you’ll want to double check the model against your convention.
The modulator block should be pretty self explanatory. There is a great review paper with associated PLECS models on various DAB control approaches. The PLECS models and paper are IEEE Dataport, although I’m not sure if any of the approaches utilize DPS specifically.