Incorrect simulation results for flyback converter using Simpowersys

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
3 replies · 3K views
thecake
Messages
12
Reaction score
0
Hello :)

I have created a flyback converter model using Simpowersystems in Simulink/Matlab. But it always gives me the wrong answer! I have simulated the same system using PLECS and Simscape/simulink and got the correct answer. But with my Simpowersystems model, it always gives me the wrong answer here is a link to the model

https://www.dropbox.com/sh/6h6e219x65o6ldk/aKKEgl3Y_D

Any idea what is going on? I tried changing the solver but without luck

Here is a picture of the model

http://prntscr.com/2be8yk
 
Engineering news on Phys.org
thecake said:
Hello :)

I have created a flyback converter model using Simpowersystems in Simulink/Matlab. But it always gives me the wrong answer! I have simulated the same system using PLECS and Simscape/simulink and got the correct answer. But with my Simpowersystems model, it always gives me the wrong answer here is a link to the model

https://www.dropbox.com/sh/6h6e219x65o6ldk/aKKEgl3Y_D

Any idea what is going on? I tried changing the solver but without luck

Here is a picture of the model

http://prntscr.com/2be8yk

The picture of the model looks wrong. D3 is in backwards and Cf is upside-down. D3 has to be reversed to give you a positive Vo.
 
berkeman said:
The picture of the model looks wrong. D3 is in backwards and Cf is upside-down. D3 has to be reversed to give you a positive Vo.
That was intentional, I wanted to have a negative output voltage, that is why they are reversed :)

Here is what the output is supposed to look like in this configuration using another program

http://img703.imageshack.us/img703/355/cmgy.png
 
Last edited by a moderator:
thecake said:
That was intentional, I wanted to have a negative output voltage, that is why they are reversed :)

Here is what the output is supposed to look like in this configuration using another program

http://img703.imageshack.us/img703/355/cmgy.png

It's just pumping down the voltage without any feedback regulation working. Your feedback sensor element is upside down with respect to your "negative output voltage".
 
Last edited by a moderator: