What is mistake in the PWM generator for the Dual Active Bridge model I built?

조회 수: 2 (최근 30일)
com li
com li 2020년 5월 8일
답변: Sabin 2024년 1월 24일
I am building a PWM generator with dual phase shift control for Dual Active Bridge by Simulink(The model I built is in attachment).
Then I met the following question:
When the simulation time is very short, the output waveform is correct, as shown below.
But when the simulation time is set to three PWM cycles or longer, the output waveform will be wrong. The phase shift angle between S1S2 and S3S4 is lost, and angle between S1S2 and Q1Q2 decreases, as shown below.
Did I make any mistakes with the configurations?

답변 (1개)

Sabin
Sabin 2024년 1월 24일
The problem is the Max step size computed by the model. The parameter ‘Max step size’ in the Model Settings/Solver is set to ‘auto’. When running the simulation for 0.002 seconds, the max step size is computed to 4e-5 which is small enough to capture the delay. However, when the simulation stop, time is increased to 0.004 seconds, the max step size computed in 8e-5 and the delay is not captured in the simulation. The solution is to change the parameter Max step size’ in the Model Settings/Solver to a small enough value that will capture the delay, for example setting it to ‘4e-5’.

카테고리

Help CenterFile Exchange에서 Switches and Breakers에 대해 자세히 알아보기

제품


릴리스

R2018b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by