SMPS Information
SMPS Information
Geoff Hilton
University of Bristol
23rd September 2022
Version 1.0
Table of Contents
1. SWITCHED MODE POWER SUPPLY DESIGN OVERVIEW .............................................................................. 1
1.1 Introduction ............................................................................................................................................... 1
1.2 Resources .................................................................................................................................................. 2
1.3 Group Organisation and Assessments....................................................................................................... 2
1.4 Keeping notes for this design .................................................................................................................... 3
1.5 Practical Laboratory work.......................................................................................................................... 3
1.6 Design Specifications ................................................................................................................................. 4
2. INTRODUCTION TO CIRCUIT MODELLING USING MATLAB SIMULINK AND SIMSCAPE .............................. 5
2.1 The series LCR resonator circuit ................................................................................................................ 5
2.2 Quick overview of time-domain modelling ............................................................................................... 6
2.3 Simscape modelling ................................................................................................................................... 7
2.3.1 Finding components and making interconnections ........................................................................... 7
2.3.2 Setting component values – typical example but will be different for each component. ................. 7
2.3.3 Labelling components......................................................................................................................... 7
2.4 Simulink components and interface .......................................................................................................... 8
2.4.1. Adding Scope and Solver Configuration blocks ................................................................................. 8
2.4.2. Solver Configuration and Configure Parameters ............................................................................... 8
2.4.3 Changing Scope settings and data logging ......................................................................................... 9
2.5 Practical versus simulation ...................................................................................................................... 10
2.5.1 Scope Probes .................................................................................................................................... 10
2.5.2 Component Polarity.......................................................................................................................... 11
2.5.3 Preferred component values ............................................................................................................ 11
2.5.4 Maximum operating conditions of components .............................................................................. 11
3. CIRCUIT DESCRIPTION AND TASKS ........................................................................................................... 12
4. CIRCUIT MODELS ...................................................................................................................................... 13
4.1 Full-wave rectification of AC supply voltage ........................................................................................... 13
4.2 PWM generator ....................................................................................................................................... 14
4.3 Gate-drive circuit ..................................................................................................................................... 15
4.4 Completing the Main Transformer Primary Winding circuit ................................................................... 17
4.4.1. MOSFET switching ........................................................................................................................... 18
4.4.2. MOSFETs, Freewheeling Diodes and Main Transformer primary winding inductance. .................. 19
4.4.3 Nonlinear Inductor ........................................................................................................................... 19
4.4.4 Heatsink requirements for active components ................................................................................ 21
1
4.5 Secondary Circuit and ‘100KHz’ filter ...................................................................................................... 21
4.6 Complete open loop SMPS circuit ........................................................................................................... 23
4.7 Closed loop control and other considerations ........................................................................................ 24
5. PWM Practical Laboratory ......................................................................................................................... 25
Appendix A: Laboratory Notebook ............................................................................................................... 26
Document Version
This document may need to be updated throughout TB1 if more clarification of sections is required.
2
1. SWITCHED MODE POWER SUPPLY DESIGN OVERVIEW
1.1 Introduction
Switched Mode Power Supplies (SMPS) provide a constant, stabilised DC voltage for a wide range of
electrical and electronic equipment such as computers, televisions etc. For the second year SMPS design
exercise, students have to design a highly efficient regulated DC power supply that is fed from a 50Hz AC
supply. The design exercise considers the use of a variety of electronic components as well as the practical
implementation of electronic control techniques in order to provide students with an appreciation of the
challenges and compromises involved with any product design.
The SMPS design exercise covers a wide variety of topics found in Electrical and Electronic Engineering,
including:
• Power management
• Classical control theory
• Use of power semiconductor devices
• System modelling
• Mixed analogue and digital ICs
• Magnetics
• Filter design
• Thermal management
• Measurement techniques
• Practical limitations of real components
• EMC and power quality
• Use of data sheets
A block diagram of the system is shown in Figure 1.1. Low voltage digital and analogue circuitry, and high
current (high voltage) analogue circuitry are used in the design. The input is 50 Hz AC (30 Vrms in this case),
while the DC output is designed to supply between 9 V and 18 V into a resistive load between 2 Ω and 21 Ω.
The resistive load has to the switched to show how the supply copes with a change in current load.
1
The majority of the work will be a simulation exercise using Matlab Simulink/Simscape combined with
practical work on one aspect of the design. The main objectives of the project would not be significantly
different to a practical SMPS design and build, only that you will build and test a software design rather than
a hardware design. There are differences - getting hardware to work correctly is undoubtedly more difficult
than getting software to produce ‘something’, through this is not necessarily the correct ‘something’. It is
possible to produce a completely meaningless output in software (assuming the model is ‘stable’ and able to
run in the first place).
Even though a simulation-based exercise would generally be significantly less time consuming than a
hardware-based exercise only 3 out of the 4 design stages (shown in Figure 1.1) will be formally required and
assessed (the feedback loop will not be). There is opportunity to complete the full design with the feedback
loop, but support will not be available. In addition to the simulation work, you will be required to complete
the practical design of the Pulse Width Modulator (PWM) circuit.
1.2 Resources
The design exercises uses a series of (mainly) audio PowerPoint videos. These are used to explain the
operation of the circuit and how to do a ‘paper’ design (i.e. specify the value of the components needed for
correct operation). In a hardware design, these component values would then be used in the practical
circuit build, while here the simulation environment will be used to verify the correct calculation of the
components and the correct operation of the circuit. The PowerPoints include information relating to a
practical supply build as any simulation should (where possible) match that of the practical design needs.
This is not always possible and any simulation will only be an approximation of the practical design. The
emphasis is therefore on your understanding of the circuit operation and ability to produce a workable
design.
Some components are specified. These are usually the active components (diodes or MOSFETs), and you will
need to look up the device parameters in data sheets. Other components you are free to choose depending
on the design. These are the passive components (resistors, capacitors and inductors). As with any design,
the initial calculations may not work as expected (or only give a first-order estimate) and hence these can be
fine-tuned (and optimised) using the model.
1. Introduction.mp4
2. How does SMPS work.mp4
There is a lot of information to take in here, so at this stage all that is required is a general ‘feel’ for what the
project is about. The design itself is done in ‘bite-size’ stages so that you will build up a full understanding of
the circuit operation by the time you complete the final tasks.
2
further clarification with the design and expected outcomes. The group progress will be assessed and forms
part of the overall SMPS mark.
There are two assessments: Individual (60% weighting) and Group (40% weighting).
The individual assessment comprises an online Blackboard multiple choice test. The design will need to be
completed and fully written up in your notebooks by the time that the individual Blackboard test has to be
undertaken. The test will last 1 hour and is envisaged to take place during a timetabled slot in TB1, though
there may be a need to organise some special arrangements. This is an Open Book test with the ‘book’ being
the Laboratory book as detailed in Section 1.4. Students must use only their OWN notebook and the use of
another student’s notebook will be regarded as CHEATING.
For the Group mark, each group will have to fill in designs and results in a worksheet (one per group) based
on each of the models developed in the laboratory and discuss the results with the Unit Organiser.
An Introductory Talk (with Q&A) will be scheduled for all students in Week 1 with the unit formally starting
in Week 2. The timetable for support and meetings with TAs from Weeks 2 to 12 will be posted on BB.
You will need to keep your own notes on the design. An A4 booklet or pad (with soft or hard covers) should
ideally be used. In some cases an electronic equivalent may be more appropriate. If so, please discuss with
the unit organiser. This notebook must be dedicated to this project (not used for any other work) and the
Unit Organiser will check and clarify this with each Group. Notes should be handwritten in English and can
be supplemented with data sheet information, diagrams etc. that are firmly affixed into the booklet.
3
1.6 Design Specifications
Not all groups will carry out the same design and there are 4 output specifications that will be randomly
assigned. The specifications for circuit design are shown in Table 1.1 (general specifications) and Table 1.2
(Individual Group specifications).
The PowerPoint videos give general guidance and these are for a 15V, 45W design. Since there are a number
of individual group specifications, these designs will be to be adjusted accordingly. Given the number of
degrees of freedom, no two designs should be identical (there is no ‘correct answer’).
Specification Comment
Input voltage 30 V rms AC Although the SMPS would use an AC mains supply (single phase
240 V rms in the UK) the practical laboratory was limited to a 30
V rms AC supply and so here the same will be assumed for this
design exercise.
Output voltage Variable See Table 1.2
Power output (max.) Variable See Table 1.2
Power output (min) Variable See Table 1.2
Output regulation 0.1% This was with the feedback loop.
(min to max. load) Without feedback performance will be compromised.
Output ripple 1% max Split between 100 Hz ripple and PWM switching ripple.
Without feedback performance will be compromised.
Efficiency at full load 75% The ratio of DC power out to AC power in
Ambient temperature 0 – 40 °C
Table 1.1: SMPS design specifications (all groups).
4
2. INTRODUCTION TO CIRCUIT MODELLING USING MATLAB SIMULINK AND SIMSCAPE
This exercise should be able to be completed within around 3-hours (as verified by previous undergraduate
students) and must be undertaken individually by each member of the group before starting the SMPS as a
group design exercise.
The aim is for each student to understand the basic concepts of time-domain circuit modelling and to
understand how to put together a simple passive electrical circuit in Matlab Simulink/Simscape. It will
describe the main features of the software and the best method to present the results.
The analysis of this circuit in the time domain for a step input of 5 V at time t = 0s is shown in figures 2(a) for
the voltage sensors and 2(b) for the current sensor. Each scope input needs to have a ‘PS-Simulink’
converter and each sensor has an output to that. The circuit also has to contain a ‘Solver Configuration’
block - this will all be explained in detail in Section 2.4.
(a) Scope showing voltage levels (b) Scope 1 showing current in the circuit.
Figure 2.2: Simulink analysis with voltage step applied at 0μs.
5
2.2 Quick overview of time-domain modelling
While a detailed understanding of the methodology behind the various ‘solvers’ is not required an
appreciation of the circuit analysis in time steps is important. The circuit in figure 2.1 is described in Eq. 1,
and for time stepping this can be rewritten as Eq. 2
𝑑𝑖 1
𝑉=𝐿 + 𝑅𝑖 + ∫ 𝑖 𝑑𝑡
𝑑𝑡 𝐶
(1)
𝑑𝑉 𝑑2 𝑖 𝑑𝑖 𝑖
=𝐿 2+𝑅 +
𝑑𝑡 𝑑𝑡 𝑑𝑡 𝐶
(2)
Expanding Eq. 2 in discrete time steps gives Eq. 3 as one example, though there are several different versions
for this approximation. In this case, the central difference is used. The subscript n is the discrete time step
number, and the applied stimulus is the voltage at a given time step, 𝑣𝑛 .
𝑣𝑛+1 − 𝑣𝑛−1 𝑖𝑛+1 − 2𝑖𝑛 + 𝑖𝑛−1 (𝑖𝑛+1 − 𝑖𝑛−1 ) 𝑖𝑛
=𝐿 2
+𝑅 +
2∆𝑡 ∆𝑡 2∆𝑡 𝐶
(3)
With initial conditions of 𝑖𝑛 as zero, this can then be written as Equation 4 and implemented directly as a
Matlab script, with the corresponding results shown figure 2.3.
2 ∆𝑡 2 2𝐿 1 𝑅 𝐿 𝑣𝑛+1 − 𝑣𝑛−1
𝑖𝑛+1 = [𝑖𝑛 ( 2 − ) + 𝑖𝑛−1 ( − 2) + ]
𝑅∆𝑡 + 2𝐿 ∆𝑡 𝐶 2∆𝑡 ∆𝑡 2∆𝑡
(4)
There are clearly issues surrounding the time step interval, ∆𝑡, as too short a time step will require a ‘long’
simulating time, while too long a time step may lead to instability. This does not need to be discussed
further here but may be an issue that should be considered with any numerical simulation.
Figure 2.3: Implementation of Equation 4 with 0.1μs time step and 5μs delayed voltage step.
Figure 2.1 can be described as a series of nodes and what Simscape does is to deal with the analysis of the
circuit as well (as the time-step) for any complex circuit.
6
2.3 Simscape modelling
2.3.1 Finding components and making interconnections
2.3.2 Setting component values – typical example but will be different for each component.
Right click on
component
Move property
tokens across.
7
This was a quick start guide to finding your way around Simscape so that you can quickly put together a
model to test. There are a lot of additional features that you may wish to try at a later stage.
There are a number of ways to set up the solver and once working you can try other solver types and sample
times to see how these may affect the outcomes. In addition to this, Configuration Parameters needs to be
set whereby a fixed or variable time step can be selected and the Stop time for the model (leave Start time
as 0). Once this is done the simulation can be run.
8
Run simulation
Model Configuration
Parameters button
Both the Solver Configuration and the Configuration Parameters may need to be adjusted during the
modelling process to allow fast, yet stable, operation of the models. In all designs and summary table of the
initial set up will be included (Table 2.1 shows this one) but you are free to change parameters to see how
these may affect accuracy, stability and running efficiency.
Since initial conditions for the components are set to zero, the simulation will yield both the transient and
the steady-state responses. In the physical circuit build for the practical laboratory, the oscilloscope will
trigger on events (i.e. rising/falling edges of repetitive signals) and hence what is captured on the
oscilloscope is usually the steady-state outcome (though transients are possible). The model will therefore
need to be ‘run’ for the steady state to be reached.
You will need to export the figures you have generated. This must not be a PC screenshot but you must
copy the figure (‘copy figure’ from ‘Tools’) and paste into the word document that will be used in the
laboratory assessment and in your Laboratory Notebooks.
9
Where to find
‘copy figure’
Set time-axis
labels
Change these
to white.
You can also configure data logging that will allow you to export your data for use in other applications.
A realistic model for the x10 scope probes and the oscilloscope’s input impedance also includes the
compensation capacitance for tuning the scope probe so that a 10KHz square wave applied at the probe
does look like a 10KHz square wave on the oscilloscope display.
Also note the Earth (Ground) connections on the circuit. A scope probe has two connections: the probe tip
and a Crocodile clip that is connected to Ground. So, wherever this clip is attached will ‘ground’ that point
and if multiple probes are used and clips placed at different parts of the circuit, then these points will be
grounded (and therefore connected together). This may cause problems with the circuit operation, so this
is something to be aware of.
10
Probe
X10 Probe Oscilloscope
tip
Crocodile
clip
In all the simulation models you will use the ideal voltage and current monitors that will not influence the
operation of the circuit, but you will need to appreciate that in a practical circuit this will not be the case.
Component Comment
Resistor Not relevant for this design
Capacitor The practical design does use Electrolytic Capacitors where polarity is
shown on the component and is VERY important.
For all other capacitors, polarity is not relevant.
Inductor Not relevant for this design
Transformer This is important but is effectively replicating the ‘dot convention’
used in circuit diagrams.
Diode May be shown. This is important but the anode and cathode are
already identified in the component’s symbol.
Voltage and current sources This is important
Voltage and current monitors This is important
Table 2.2: Importance of polarity for the electrical components.
11
3. CIRCUIT DESCRIPTION AND TASKS
Figure 3.1 shows the circuit diagram for the open loop SMPS. The aim here is not to just build the circuit
using Simulink/Simscape but to understand the operation of each of the six highlighted blocks that make up
the complete circuit.
The relevant PowerPoint presentations are listed under the following stages:
1. PWM Controller
2. Full wave rectification of 30Vrms AC supply; Gate Drive Circuit, MOSFET switches and Main
transformer (primary winding)
3. Main transformer (secondary winding) and secondary filter
4. Feedback (closed loop). This is not shown here and will not be assessed this year.
In a practical design, these would have to be tackled in this order to be able to get each section of the design
to operate due to interdependencies. With the simulation design, ‘sources’ and ‘sinks’ (voltage and current
monitors) can be inserted into the part-constructed circuits, and hence there is more flexibility in the
verification of component values. Therefore, the calculation of component values in each of the highlighted
blocks will be separate tasks, with the integration of the various circuit parts being the final stage.
Section 4 will detail the various Simulink/Simscape circuits that will be constructed and identify the relevant
PowerPoints for the calculations. Although the input voltage will be 30V rms AC in all cases, Table 1.2, there
will be 4 possible DC output voltages ranging from 9V to 18V as listed in Table 1.3, with one of these
assigned to each group. In addition, the PWM frequency can be chosen by groups to be anywhere between
80 KHz and 120 KHz. Therefore, it is very unlikely that any two circuits will be identical in choice of
components and circuit performance.
The PowerPoint presentations that you will need to access and take notes from assume a 35Vrms AC input
and a 15V DC output, so all your calculations will need to be scaled accordingly.
12
4. CIRCUIT MODELS
For each of the designs there will be a worksheet to record the design and simulation outputs as a group.
This is in addition to individually recording the information (in more detail) in your Laboratory Notebooks.
Before attempting to calculate the values of the components and construct the model, all PowerPoints
identified in each of the sections must be read and design information written into Laboratory Notebooks.
The PowerPoint that needs to be used for calculations prior to starting the modelling:
• Reservoir Capacitor.mp4
This is an equivalent
resistance representing
+ the rest of the SMPS
One of 4 diodes in a
-
single package.
1. Here you are calculating the value of the reservoir capacitor based upon the information given in the
PowerPoints for the power requirements of the SMPS. Make sure to include ‘efficiency’.
2. In addition to this (not in PowerPoints), to get this model to operate you will have to determine an
Equivalent Resistance for the rest of the SMPS circuit. You need to just consider the power needed
to be ‘dissipated’ into this load being equivalent to the power flowing the rest of the SMPS (if it was
connected).
3. A voltage sensor has been connected across the output. Add any other appropriate sensors.
4. Record all relevant data and fill in the Group Worksheet on this.
13
4.2 PWM generator
The PowerPoint that needs to be used for calculations prior to starting the modelling:
• 3524 PWM.mp4
The PowerPoint concentrates on the use of the 3524 IC to generate the PWM waveform. This circuit design,
Figure 4.2, has been slightly simplified in that the PWM frequency is set within the ‘Controlled PWM Voltage
block’, Figure 4.3, and not by external CR timing components. However, these CR components must be
calculated as they would be required in the optional practical work described in Section 5. A transistor has
also to be added to the circuit to model the open-collector output stage of the 3524 IC.
Pin 9 Pin 12
Pin 11
Figure 4.3: Parameters for the PWM controller and open-collector output transistor
14
Solver Configuration Configuration Parameters
Local solver: Backward Euler Type: Fixed-step
Sample time: 1e-9 Stop time: 1e-4
Table 4.2: Summary of suggested model parameters
Requirements:
1. Setting the PWM frequency to your own choice (80-120 KHz) in the model and determining the CR
values that would be required for the practical 3524 PWM IC.
2. Insert an open collector NPN transistor that is actually the output stage of the 3524 IC and
identifying a suitable pull-up resistor to be used. This resistor may be changed later.
3. Checking range of duty cycle with the potentiometer
4. Record all relevant data and fill in the Group Worksheet on this.
The PowerPoints that need to be used for calculations prior to starting the modelling:
The next stage, Figure 4.4, requires a number of new components, and the circuit should be constructed and
tested in stages rather than all at once.
Although a transistor has been used in the PWM controller, the values required were given to you. Here the
PNP-NPN follower pair of transistors will need to be specified from the data sheets with the parameters
required to be entered shown as the blanked-out sections of Figure 4.5 for the NPN transistor. The PNP has
similar, but not identical, parameters as the PNP transistor and will also have to be entered into the model.
The second new component is the gate-drive transformer. This is a toroid and probably strictly should be
represented as a non-linear three-way transformer, but a suitable Simscape model is not available in the
library. Given that this is to give isolated (equal) feeds to the MOSFET gates and add some voltage
amplification, this representation is sufficient. The PowerPoint show the number of turns that should be
used on the primary and secondary windings and the corresponding value of primary inductance, L1, is given
in Figure 4.6. From the relationship between number of turn an inductance you will need to calculate the
secondary inductance. You may need to increase the number of secondary turns later. Note also the ‘dot
convention’ used on the circuit.
The circuit also includes an equivalent gate charge capacitance for the MOSFETs. This will be discussed in
detail in Section 4.4.1, so for now just include the values indicated in Figure 4.6.
15
Add 1MΩ resistors for 10Ω damping
model ‘continuity’ only resistors
Figure 4.5: NPN transistor parameters. Double left-click the icon to access these.
16
Solver Configuration Configuration Parameters
Local solver: Backward Euler Fixed time step
Sample time: 0.01e-6 Stop time: 3e-4
Table 4.3: Summary of suggested model parameters
Requirements:
1. Build up the circuit in stages by first adding PNP-NPN transistor pair and DC blocking capacitor, and
then checking waveforms.
2. Add the gate-drive transformer and again check voltages at both outputs
3. Add final components and checking range of duty cycle with the potentiometer
4. Record all relevant data and fill in the Group Worksheet on this.
The PowerPoints that need to be used for calculations prior to starting the modelling:
1. MOSFETs.mp4
2. Primary Winding.mp4
3. Circuit Operation.mp4
To complete the circuit to operate the main transformer primary winding, MOSFETS, freewheeling diodes
and the main transformer primary winding need to be added, Figure 4.7. Before embarking on this it is
necessary to identify a number of features of both components. The MOSFET are just on-off switches, but to
get them to operate (power) efficiently, current needs to be injected quickly into their gates at turn on and
quickly removed at turn off – hence the need for the gate-drive circuit that is a ‘current amplifier’.
17
The diodes are also just acting as on-off switches, but it is the voltages applied across their terminals that
determines this operation. The primary transformer at this stage is simply an inductance. This is, however, a
non-ideal inductance as it exhibits hysteresis (and other losses). Initially this can be modelled as ideal and
then changed to non-ideal once the model is working.
Once the N-channel MOSFET is loaded into the circuit you will need to double-left click on the icon, and you
can then bring up the two input windows to enter the necessary data, Figure 4.8. Again, you are expected to
input the data from the relevant data sheet – the blanked-out parts are the figures required. For the
‘Measurement temperature’ use the 25°C value for 𝑅𝑑𝑠(𝑜𝑛) shown on the data sheet for now, but in all your
calculations for losses and heatsink requirements give in the PowerPoints use the scaled value for you
chosen junction temperature.
For the MOSFET capacitance three figures are required to be entered in the Junction Capacitance Table.
These do not necessarily give the capacitance between terminals but are measured as a combination of
them according to equations 5 – 7.
Figure 4.9 shows a model to test both the threshold and the capacitance effects of the MOSFET. The input is
a ramp function that can be used to see what happens when threshold is reached. The pulse generator can
also be directly connected to the circuit to see the usual switching operation of the MOSFET and the delayed
switching due to the capacitance. This circuit build is optional.
18
Pulse generator can be directly
connected to the circuit.
4.4.2. MOSFETs, Freewheeling Diodes and Main Transformer primary winding inductance.
The final components can now be added to the model, Figure 4.7. In addition to the MOSFETs, Figure 4.10
shows the Block Parameter details that need to be entered from the data sheet for the diodes and the
Primary winding inductance that you have calculated. The circuit shows a non-linear inductance that can be
operated in linear inductance mode, and you should use this first in the model.
Calculate this using the ‘Test Initially do not include May be able to calculate a
Conditions’ information, IF the non-linearity suitable value for this later
Figure 4.11 shows the mapping of the B-H curve axes to a Φ − I axes using equations 8 and 9, where A is the
ferrite core area and l is the ferrite core length (both given on data sheets).
Φ = 𝐵𝐴 (8)
𝐻𝑙 (9)
𝐼=
𝑁
19
From equation 10 we can then have a relationship between the magnetic flux in the inductor and the
applied current
𝑑𝜙 𝑑𝑖 (10)
𝑉=𝑁 = 𝐿
𝑑𝑡 𝑑𝑡
𝑁Φ = 𝐿𝐼 (11)
Or more strictly this can be applied as a piecewise linear model looking at the asymptotic inductance
slopes, equation 12, and hence the unsaturated inductance and saturated inductance can be defined
separately with the intercept point at the saturate magnetic flux level, Φ𝑠𝑎𝑡
𝑑Φ 𝐿 (12)
=
𝑑𝐼 𝑁
The equation for the asymptote for the unsaturated inductance can therefore be written as equation 13
and therefore these parameters can be calculated for figure 4.10 using the magnetisation, Φ𝑟𝑒𝑠 .
𝐿 (13)
Φ= 𝐼 + Φ𝑟𝑒𝑠
𝑁
𝑑Φ 𝐿𝑠𝑎𝑡
B Φ =
𝑑𝐼 𝑁
Φ𝑠𝑎𝑡
′
Φ𝑠𝑎𝑡
Φ𝑟𝑒𝑠 𝑑Φ 𝐿
=
𝑑𝐼 𝑁
H I
Figure 4.11: Piecewise linear approximation including saturation (positive Φ − 𝐼 quadrant)
While it would be more applicable to use the non-linear mode, this should not be essential since you should
be operating the inductor within its saturation limits and only in one quarter of the B-H curve (positive B,
positive H). Figure 4.12 show the Block Parameters required for the non-linear inductor using the model in
Figure 4.11(a). The saturation inductance and saturation limit will need to be estimated from the B-H curve.
The latter should be above your operating limits. If not, the primary winding current will not be a uniform
ramp waveform.
20
Now include basic non-linearity
(but not hysteresis)
• MOSFET Heatsinks.mp4
Requirements:
1. The MOSFETs, freewheeling diodes and primary inductance will all need to be added before
checking the circuit.
2. The DC link voltage will need to be set to the average value based upon your reservoir capacitor
choice, Section 4.1.
3. Include damping resistors to both MOSFET gates. Initially use a series resistance of 10Ω and a shunt
resistance of 5.6KΩ. These may be modified later.
4. Use ideal (linear) inductance setting first.
5. In addition to monitoring voltages, monitor the primary winding inductance current using the
current sensing resistor. Amplify the signal so that this signal can be seen on the same scope vertical
axis scales as those for the other monitored parts of the circuit.
6. Include the non-linear transformer model parameters
7. Identify heatsink requirements for MOSFETS
8. Record all relevant data and fill in the Group Worksheet on this
The PowerPoints that need to be used for calculations prior to starting the modelling:
1. Secondary Winding.mp4
2. Filter Inductor Design.mp4
3. Filter Capacitor.mp4
Although not assessed in the laboratory, information on the practical construction of the inductor can be
found at:
• Inductor Construction.mp4
21
This section considers the filtering of the transformer secondary waveform to remove the AC components to
yield the DC voltage output for the SMPS, Figure 4.13. This will be initially modelled independently from the
previous models for two main reasons:
• The waveforms generated in the earlier circuit produce a lot of oscillations that do happen in
practice though makes it very difficult to understand the basic operation of the filter, so the
switching waveform is ‘cleaned up’.
• The filter characteristics have a long transient time given the high frequency of the square wave
input. The model has to be run for a long time period before the steady state is reached and this run
time needs to be adjusted manually.
The new component being introduced here is the non-linear transformer representation of the main
transformer. As with previous magnetic components this can be used in both linear and non-linear modes,
Figure 4.14. The ‘cleaned-up’ switching waveforms use two pulse generators whose outputs are combined.
Figure 4.15 shows a potential set-up to generate the stepped waveform driving the main transformer
primary winding though these will need to be adjusted for your design specifications.
Linear inductor
+
Diode pair in a
-
single package
Figure 4.14: Parameters required for the transformer operated in ideal (linear) and non-ideal modes.
22
Subtracting this one
Requirements:
1. Determine a suitable number of turns for the main transformer secondary winding and hence
equivalent circuit model parameters for the transformer.
2. Calculate the critical values of the filter inductor and hence a suitable final value for the output filter
inductor.
3. Calculate the minimum capacitance requirement for the DC ripple and the ESR requirement for the
ripple and then decide on a suitable output filter capacitance
4. Check circuit operation with both minimum and maximum load resistance and measure the ‘100KHz’
ripple.
5. Record all relevant data and fill in the Group Worksheet on this.
The relevant PowerPoint for this section of work that needs to be used:
It is now time to combine the Full wave rectifier (section 4.1) and the secondary circuit (section 4.5) with the
primary circuit (section 4.4). Since all the subsections have been fully tested the whole circuit should work
perfectly first time!
The complete open loop circuit is shown in Figure 4.16 and the integration requires some removal in interim
components used in the individual stage tests. The expectation is that while the majority of students will
23
complete up to section 4.5 and hence have satisfied the calculation of the basic design components and
have recorded the majority of the waveforms in the circuit, not all students will get the final model working
in the allotted time for the project. This is entirely in keeping with the practical SMPS build that around 75%
of the students partially or fully completed the final stage of the project. With the knowledge you have
gained as a group from this laboratory will now need to work together with minimum HPT support to get the
circuit to operate.
Set the output voltage using this (maximum = 1) Replace ideal DC link voltage with full wave rectifier
Requirements:
In this section you are not calculating any component values but checking to make sure that components
you have previously specified still suitably work. There may need to be some changes to component values
to get the circuit to operate correctly. Once this is done, you need to consider the following the open-loop
system performance metrics:
These are both outside the scope of this laboratory and the design is not assessed. If anyone is interested,
then this can be discussed with the Unit Organiser.
24
5. PWM Practical Laboratory
All groups must undertake the practical build of the PWM control circuit using the 3524 PWM IC and the
prototyping board, with the results entered into the Group worksheet.
Before undertaking the laboratory, you will need to familiarise yourself with this circuit, make all appropriate
notes in your laboratory book (including the connections and operation of the oscilloscopes). It would be
useful, but not essential, to consider how the PWM waveform is actually being generated within the 3524 IC
used in the laboratory, figure 4.17, and is slightly more complex than the shown in Section 4.2.
For the practical build you will just need to read the following Blackboard information which show the
internal workings of the 3524 IC (in Black) and the external connections you need to make (in Blue):
• 524QuickStart.pdf
You have already calculated the timing components C and R and so you will ned to add a potentiometer for
controlling the PWM duty cycle, a pull up resistor on one of the open-collector outputs (you can choose
either one) and a decoupling capacitor on the 12 V power rails. You only need one DC source (12 V) and this
comes from the prototype variable voltage output. There is also a need for 5 V DC to connect to the duty-
cycle and where this comes from is one of the questions posed on the information sheet. Component will
just need to be plugged into the board and wires (single strand) cut to link the components.
25
Appendix A: Laboratory Notebook
This shows an example of the information that should be recorded in your notebook. Pages should be
numbered, titled, dated and with an index used at the beginning so you can locate information quickly. Each
student must keep their own laboratory notebook even though you are sharing information in your group.
Laboratory notebooks will be checked.
26