Bidirectional Interleaved Flyback Converter for charging and discharging using Matlab Simulink

Thread Starter

FIRRR

Joined May 22, 2023
9
Hi. I need help regarding my project which is bidirectional interleaved flyback converter. As you can see, my main waveforms should be as shown in the picture below for VS3,g, iS3, VS4,g and iS4. However, when im trying to simulate my circuit the current for iS3 and iS4 not the same as the expected output and I cant seem to get the same output. Can you help me in this matter? I also attached my matlab simulink file below.
My parameters are as follow:
Vin = 190 V
Vout = 48 V
Duty cycle = 0.45
Switching frequency = 65kHz

1686243413612.png
1686243445669.png
1686243457051.png
 

Attachments

Irving

Joined Jan 30, 2016
3,533
You'll be lucky to get someone to run the simulation, but by inspection I think your P-side MOSFETs are 'upside-down' - or your power source is. A P-channel MOSFET's Drain is usually -ve wrt the Source, an N-channel's Drain is +ve wrt Source...

Not sure why you need P-channel here. All the examples I've seen in reference designs use N-channel both sides...
 

Thread Starter

FIRRR

Joined May 22, 2023
9
You'll be lucky to get someone to run the simulation, but by inspection I think your P-side MOSFETs are 'upside-down' - or your power source is. A P-channel MOSFET's Drain is usually -ve wrt the Source, an N-channel's Drain is +ve wrt Source...

Not sure why you need P-channel here. All the examples I've seen in reference designs use N-channel both sides...
Correct me if I am wrong but I think I am using N-channel there since the arrow goes inside and not outside
 

Irving

Joined Jan 30, 2016
3,533
No, my bad, you're right. It was the p-side & n-side that confused me, I'd convinced myself the arrow was the other way round...
 

Thread Starter

FIRRR

Joined May 22, 2023
9
No, my bad, you're right. It was the p-side & n-side that confused me, I'd convinced myself the arrow was the other way round...
it's okay, i got it already, my position for mosfet s3 and s4 is at the wrong place. thank you!!!
 

Irving

Joined Jan 30, 2016
3,533
Sometimes just asking the question can remove 'blindness' :)

I'm intrigued by this simulation... can you post the corrected Simulink file. I've just installed the latest MATLAB/Simulink release and would like to run this simulation.
 

Thread Starter

FIRRR

Joined May 22, 2023
9
Sometimes just asking the question can remove 'blindness' :)

I'm intrigued by this simulation... can you post the corrected Simulink file. I've just installed the latest MATLAB/Simulink release and would like to run this simulation.
Here is my corrected simulink file. However, can you check my simulation since it should get output of 48 V but when i try to run, it does not get the expected output. Maybe i have made some mistakes at any parameters.
 

Attachments

Thread Starter

FIRRR

Joined May 22, 2023
9
I managed to get the expected waveform, however, the output voltage not the same as the expected one. It should be 48 V since I have set the parameters of Vin = 190 V, Switching frequency = 65kHz, Vout = 48 V and Duty cycle = 0.45. As you can see in my simulation below, I only get the output of 15.97 V. Also i attached the parameters for each component and also my simulink file.

1686383653155.png
1686383704838.png1686383751953.png
1686383767235.png1686383791308.png
 
Top