Boost Converter

Introduction

In this model the current ripple of a boost converter is studied.

Explore the available scenarios by evaluating each cell in order. Evaluation is done by selecting a cell and pressing Shift+Enter.

In order to get the full experience of this example, you need the following:

Wolfram SystemModeler; a free trial download is available at www.wolfram.com/system-modeler

The model that came in the same bundle as this notebook

For more information about Wolfram SystemModeler, visit www.wolfram.com/system-modeler.

Initialize

Define the model name:

mmodel="EducationExamples.ElectricalEngineering.BoostConverter";

Simulation

Simulate the model:

dcdcBoost=Quiet[SystemModelSimulate[mmodel,{0,.2}]];

Plot the simulation results:

SystemModelPlot[dcdcBoost,PlotRange->All,PlotLegends->Placed[{"Load voltage","Input voltage","Desired output voltage"},Below]]

Ripple Analysis

To detect the peak-to-peak ripple in the current, the simulation results can be examined.

Sample data from the inductor current:

data=Table[{t,Evaluate@First[dcdcBoost[{"inductor.p.i"},t]]},{t,0.1900,.1902,0.000002}];

Detect max and min:

{mins,maxs}={MinDetect[data[[All,2]]],MaxDetect[data[[All,2]]]};

{filteredMin,filteredMax}={Select[data*mins,#[[2]]>0&],Select[data*maxs,#[[2]]>0&]};

Plot them and the data:

plRipple=ListPlot[data,Epilog->{PointSize[Large],Red,Point[filteredMin],Point[filteredMax]},Joined->True,AxesLabel->{"Time [s]","Current [A]"},PlotLegends->Placed[{"Ripple in the inductor current"},Below]]

Find the difference between the max and min:

First[(filteredMax-Rest@filteredMin)[[All,2]]]

Compare this with the theoretical value of (1/L)Vin*((Subscript[DT, s])):

(1/("inductor.L"))*"Vin"*"D"*"T"/.Quiet[dcdcBoost["ParameterValues"]]

Terms and Conditions of Use

This domain example is an informational resource made freely available by Wolfram Research.

Use of This Example

• You may not use this example for any purpose that is unlawful or dangerous.
• You assume total responsibility and risk for your use of this example.
• You may not present this example with any alteration to its trade dress, trademarks, or design.

License

All content in this bundle is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License. By accessing the content or using it in any way, you accept and agree to be bound by the terms of this license. If you do not agree to these Terms of Use, you may not use this content. Wolfram Research reserves the right to change, modify, add to, or remove portions of these Terms of Use at any time without notice. Please refer back to www.wolfram.com for the latest Terms of Use.

A summary of the licensing terms can be found at:
http://creativecommons.org/licenses/by-nc-sa/3.0

The full legal code can be found at: 
http://creativecommons.org/licenses/by-nc-sa/3.0/legalcode