Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Buck Converter Simulink Problem

Status
Not open for further replies.

fethiyeli

Full Member level 4
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
    Untitled.jpg
    179 KB · Views: 86
  • Untitled2.jpg
    Untitled2.jpg
    105.8 KB · Views: 86
  • Untitled3.jpg
    Untitled3.jpg
    131.4 KB · Views: 92
  • Untitled4.jpg
    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
    2.jpg
    215.6 KB · Views: 88
  • 3.jpg
    3.jpg
    33.9 KB · Views: 90
  • Untitled.jpg
    Untitled.jpg
    147.3 KB · Views: 86
Last edited:

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top