DAB.plecs (104.8 KB) i am using this Block to create phase shift but will need some different logic to achieve please suggest any changes can be made so that the Block can be modified to generate the pwm as per the image the simulation file is also attached
Take a look at this generic Triple Phase Shift (TPS) block from a previous forum post. As the post notes - there can be different conventions for what the phase shift / input units are, so you’ll want to double check the model against your convention. In most cases the input data can be scaled to achieve the desired convention.
Hi Byran
We have implemented the control but whenever we try to change the phase shift or change in duty cycle between the primary and secondary there is no proper power transfer.
CURRENT FED DAB OPEN LOOP-02.plecs (178.1 KB)
Two small tweaks in the attached model:
- The gate drive signal mapping wasn’t correct. The block outputs 8 gate drive signals that map from switches 1-8 directly.
- You had set the phase shift to 0.5 which is zero power transfer. The convention used for this block has maximum power transfer at 0.25 phase shift. I also set the the primary and secondary duty cycles (
dpanddsin the model) to 1.
With those changes your model looks quite close to the desired output conditions.
CURRENT FED DAB OPEN LOOP-02_BL.plecs (119.3 KB)
Hi,
Could you please help me achieve the Input voltage range is 365V-925V to Output voltage 14V at 3.5kW.Even when i vary the duty cycle or phase shift the power changes drastically with the switching frequency 100khz or 150khz using the same model
This is a power electronics control and design question that is best left for you to analyze with PLECS.
Hi ,
Why are the dp and ds set to 1 can u please explain that
They reflect the D1 and D2 duty cycles in the waveforms from your original plot. They define the period where there is applied voltage on the primary (D1) or secondary (D2) winding. The range of values is from 1 to 0. A value of 1 means there is always applied voltage on the winding. As the value goes towards zero, then there is a longer zero-voltage interval.
Can you help us here to write a script where we can modify the duty cycle and phase shift for different numbers like a parameter sweep and it tells us the output voltage for particular values in the sweep
If you start to write the script and hit a roadblock you are welcome to post your model and script to the forum for feedback. I will not write the script for you.
When writing a script the following resources will be very helpful:
- Scripting chapter in the PLECS Documentation showing the scripting interface options and commands.
- Buck Converter with Parameter Sweep demo model. Note you can open this demo and associated model and script files via the help browser in PLECS.
- PLECS: XML-RPC Interface and Controller Design in Python tutorial. The application and controller design isn’t relevant, but the document elaborates on integrating PLECS and Python.

