Buck Converter Simulink Problem

Status
Not open for further replies.

fethiyeli

Full Member level 4
Joined
Feb 9, 2013
Messages
207
Helped
10
Reputation
20
Reaction score
12
Trophy points
1,298
Visit site
Activity points
2,986
Hi guys, i have found a pdf which explains designing SMPS converter models (switch and averaged) step by step. It also includes the code but i have very little experience in simulink. I tried to do everything correct but it seems there is something wrong. I couldnt find where it is. Could u check it for me ? I really need to simulate SMPS converters in simulink. Thnx. Here are the pics.

Source : **broken link removed**
 

Attachments

  • Untitled.jpg
    179 KB · Views: 86
  • Untitled2.jpg
    105.8 KB · Views: 86
  • Untitled3.jpg
    131.4 KB · Views: 92
  • Untitled4.jpg
    117.3 KB · Views: 90

Your problem might be:

In the main function, C is the value required in order to evaluate it. When you are giving u as an array of 5 elements, it is giving vg, d, iLoad, v and i ; but not the value C. Value C does not even get evaluated in the main function. In short, function does not know the value of C and it fails to get evaluated.

Which CCM Buck converter equations are you referring to for simulating mathematical model of buck converter? This should be from Dr. Erickson's book. Try adding extra element u(6) and define C = u(6). I hope that works.
 
Thnx but C and rest of them are parameters as shown below. It didnt work by the way.
 

Attachments

  • 2.jpg
    215.6 KB · Views: 88
  • 3.jpg
    33.9 KB · Views: 90
  • Untitled.jpg
    147.3 KB · Views: 86
Last edited:

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…