- Repository File Descriptions
Coursework Excel CW_Workbook - An all encompassing workbook
This workbook contains:
- Output voltage rail specification (copied from coursework manual)
- (Ideal Boost) Efficiency at various loads, various vin, startup behaviour
- Component selection summary
Task6_Cores: Inductor core selection, following the specifications in Magnetic Poder Core Catalog, and using the curve fitting tool- Abandoned:
Task5_Inductor_CoreandTask5_Inductors: Used Magnetics' guide instead. - List of component selections for capacitor, diode and MOSFET. Data exported from Digikeys.
BOM - Final bill of materials
MATLAB script for choosing components: Ideal_Boost_Components.m
Simple MATLAB script to generate the ideal inductance and capacitance value with the given specifications (power throughput, ripple, efficiency, operating frequency etc.)
SPICE Simulation: Ideal Boost SMPS
A SPICE circuit which models an ideal boost SMPS to meet the required power and ripple specifications. The measurements obtained are:
-
$V_{out}$ maximum and average, to confirm output voltage is as specified, startup behavior, and to verify efficiency -
$I_c$ and$I_{Rload}$ average -
$I_L$ to observe ripple is less than required - Finding settling time, rise time
- Power input, output, efficiency
In each folder, the LTSPice simulation is accompanied by their correponding MATLAB files for re-plotting the results.
Choosing real components: 5_0_Choosing_Real_Components
PDF datasheets for our selected capacitor, diode, MOSFET and inductor. What values do we need to extract from them to create the relevant models on SPICE?
Choosing inductor core: Magnetics-Curve-Fit-Equation-Tool-2020
Used in conjunction with the Magnetics Powder Core manual to determine and optimise the inductor core size, required windings and parameters such as resistance. Results outlined in Task6_Cores of CW_Workbook.
SPICE simulation with real components: Boost_SMPS
Similar to Ideal Boost SMPS, except we use real component values and attempt to implement the control signal. PID controller does not seem to work.
- Vary Real Boost SMPS Load
- Real Boost SMPS Load with very low loads
- Vary Real Boost SMPS input voltage
In each folder, the LTSPice simulation is accompanied by their correponding MATLAB files for re-plotting the results.
MATLAB control design: 7_2_CL_Boost_MATLAB/boost_cl_redo/Boost_transfer_function
- Obtain state space model of Boost converter in ON and OFF state.
- State space averaging
- Transfer function for open loop state space model
- Root locus of closed loop system, with only a proportional controller
Stored in 7_3_Real_Boost_SPICE: Boost_SMPS_ideal_ctrl
Choosing components: flyback_components.m
Choosing the primary inductor coil, secondary inductor coils, ripple capacitor and load resistor.
- Single rail, no control: [flyback single no controlled.asc](8_1_Flyback_SPICE/flyback single no controlled.asc)
- Single rail, with control: [flyback single controlled.asc](8_1_Flyback_SPICE/flyback single controlled.asc.asc)
- Single rail, with control, with varying load transients: [flyback single controlled varying transients.asc](8_1_Flyback_SPICE/flyback single controlled varying transients.asc)
- All rails, no control: BasicFlyBack_AllRails.asc
- All rails, with control: BasicFlyBack_AllRails_Controlled.asc
- All rails, with control, with varying load transients: BasicFlyBack_AllRails_Controlled_vary.asc
- All rails stacked, with no control: BasicFlyBack_AllRails_Stacked.asc
- All rails stacked, with control: [flyback - final.asc](8_3_Flyback_SPICE_Stacked/flyback - final.asc)
Again, each simulation is accompanied by their correponding MATLAB files for re-plotting the results.
MATLAB Controller design: 8_2_Flyback_MATLAB/flyback_ss_simplify.m
Also see variant called flyback_ss_simplify_compare.m to compare step responses at multiple loads.
Also stored workings in 8_2_Flyback_MATLAB/flyback_workbook.xlsx. Contains:
- Poles of flyback state space model at 100% load, 100V
- Load resistors for achieving varying transients.
Recommend Real PFC - fast.asc. Result text files not commited.
Recommend final boost real. Result text files not commited. Estimated run time is 3 hours.