Professional Documents
Culture Documents
M A N U A L
Power Electronics
Lab Manual
Version 1.0 11 November 2014
Preliminary Content This document may not include the latest updates and may
contain errors.
Copyright
Under the copyright laws, this publication may not be reproduced or transmitted in any form, electronic or mechanical,
including photocopying, recording, storing in an information retrieval system, or translating, in whole or in part, without the
prior written consent of National Instruments Corporation. National Instruments respects the intellectual property of others,
and we ask our users to do the same. NI software is protected by copyright and other intellectual property laws. Where NI
software may be used to reproduce software or other materials belonging to others, you may use NI software only to
reproduce materials that you may reproduce in accordance with the terms of any applicable license or other legal restriction.
Trademarks
LabVIEW, National Instruments, NI, ni.com, and NI-DAQ are trademarks of National Instruments. Refer to the Terms of Use
section on ni.com/legal for more information about National Instruments trademarks. Other product and company names
mentioned herein are trademarks or trade names of their respective companies
Patents
For patents covering National Instruments products, refer to ni.com/patents.
Some portions of this product are protected under United States Patent No. 6,560,572.
WARNING REGARDING USE OF NATIONAL INSTRUMENTS PRODUCTS
(1) NATIONAL INSTRUMENTS PRODUCTS ARE NOT DESIGNED WITH COMPONENTS AND TESTING FOR A LEVEL OF
RELIABILITY SUITABLE FOR USE IN OR IN CONNECTION WITH SURGICAL IMPLANTS OR AS CRITICAL COMPONENTS IN
ANY LIFE SUPPORT SYSTEMS WHOSE FAILURE TO PERFORM CAN REASONABLY BE EXPECTED TO CAUSE SIGNIFICANT
INJURY TO A HUMAN.
(2) IN ANY APPLICATION, INCLUDING THE ABOVE, RELIABILITY OF OPERATION OF THE SOFTWARE PRODUCTS CAN BE
IMPAIRED BY ADVERSE FACTORS, INCLUDING BUT NOT LIMITED TO FLUCTUATIONS IN ELECTRICAL POWER SUPPLY,
COMPUTER HARDWARE MALFUNCTIONS, COMPUTER OPERATING SYSTEM SOFTWARE FITNESS, FITNESS OF
COMPILERS AND DEVELOPMENT SOFTWARE USED TO DEVELOP AN APPLICATION, INSTALLATION ERRORS,
SOFTWARE AND HARDWARE COMPATIBILITY PROBLEMS, MALFUNCTIONS OR FAILURES OF ELECTRONIC MONITORING
OR CONTROL DEVICES, TRANSIENT FAILURES OF ELECTRONIC SYSTEMS (HARDWARE AND/OR SOFTWARE),
UNANTICIPATED USES OR MISUSES, OR ERRORS ON THE PART OF THE USER OR APPLICATIONS DESIGNER (ADVERSE
FACTORS SUCH AS THESE ARE HEREAFTER COLLECTIVELY TERMED SYSTEM FAILURES). ANY APPLICATION WHERE A
SYSTEM FAILURE WOULD CREATE A RISK OF HARM TO PROPERTY OR PERSONS (INCLUDING THE RISK OF BODILY
INJURY AND DEATH) SHOULD NOT BE RELIANT SOLELY UPON ONE FORM OF ELECTRONIC SYSTEM DUE TO THE RISK
OF SYSTEM FAILURE. TO AVOID DAMAGE, INJURY, OR DEATH, THE USER OR APPLICATION DESIGNER MUST TAKE
REASONABLY PRUDENT STEPS TO PROTECT AGAINST SYSTEM FAILURES, INCLUDING BUT NOT LIMITED TO BACK-UP
OR SHUT DOWN MECHANISMS. BECAUSE EACH END-USER SYSTEM IS CUSTOMIZED AND DIFFERS FROM NATIONAL
INSTRUMENTS' TESTING PLATFORMS AND BECAUSE A USER OR APPLICATION DESIGNER MAY USE NATIONAL
INSTRUMENTS PRODUCTS IN COMBINATION WITH OTHER PRODUCTS IN A MANNER NOT EVALUATED OR
CONTEMPLATED BY NATIONAL INSTRUMENTS, THE USER OR APPLICATION DESIGNER IS ULTIMATELY RESPONSIBLE
FOR VERIFYING AND VALIDATING THE SUITABILITY OF NATIONAL INSTRUMENTS PRODUCTS WHENEVER NATIONAL
INSTRUMENTS PRODUCTS ARE INCORPORATED IN A SYSTEM OR APPLICATION, INCLUDING, WITHOUT LIMITATION,
THE APPROPRIATE DESIGN, PROCESS AND SAFETY LEVEL OF SUCH SYSTEM OR APPLICATION.
Contents
Lab at a Glance.................................................................................................................... 7
What You Will Do ................................................................................................................ 7
Time Required..................................................................................................................... 7
Background Knowledge ....................................................................................................... 8
Lab at a Glance
Lab
Gate Driver
Overview
Discover power transistors and the importance of the gate driver
circuit
Buck Converter
Boost Converter
Rectifier
Time Required
The labs should take around three (2-3) hours, but this can vary depending on your prior knowledge and
rate of learning.
Background Knowledge
It is recommended that you have some exposure to LabVIEW, but it is not required. The instructions for
the exercises cover all necessary steps to complete the task. Note that you are expected to learn basic
tasks as you progress, and the instructions become less detailed and require that you retain some of the
knowledge.
You are expected to be familiar with using a computer, mouse, and keyboard.
L A B
1.1 Goal
To understand the importance of using a gate driver when controlling power transistors and to become
familiar with National Instruments hardware
1.2 Objectives
In this lab you will:
Textbook References:
Hart, Daniel W. Power Electronics. New York, NY: McGraw-Hill, 2011.
Section: 10.
Mohan, Ned, Undeland, Tore M, Robbins, William P. Power Electronics:
Converters Applications and Design. Danvers, MA: John Wiley and Sons, 2003.
Sections: 28.1 28.3
myDAQ References:
Get Started Using NI myDAQ with LabVIEW for Education
https://www.youtube.com/watch?v=RsD2tHbuAF4
DAQ Lesson 1
https://decibel.ni.com/content/docs/DOC-11624
10
11
12
13
Note: You will need to change the Scale of channel A and B in order to see all of the signals
you are simulating.
14
The additional components can be found in Group: Transistors: Family: BJT_NPN and BJT_PNP.
You can search for them by the model numbers listed in the figure. The additional power
supply provides a higher voltage and current signal that can be switched by the control signal.
Challenge Question 1: Explain in detail why the output rise and fall times are so different
between the two circuits.
Challenge Question 2: Go back and calculate the power dissipated in the transistor in both
cases. Explain why there is a difference between the two and reference the regions that the
transistor is in.
15
Step 10: Open the Gate Driver Lab.vi, select the appropriate myDAQ from the Devices drop
down, and run the VI. Observe the output waveform and comment on the amplitude and rise and
fall times of the signal. Vary the frequency of the output square wave and observe the change in the
output waveform.
Step 11 (Optional): Directly connect the myDAQ control signal to the gate of the IGBT and rerun
the Gate Driver Lab.vi. Vary the signal frequency and examine the output waveform for any
changes. Comment on the influence of the gate driver in your lab report.
16
17
18
L A B
Buck Converter
Lab
One Hour
19
2.1 Goal
To understand the basics of a buck converter circuit, common transistors used in power electronics, and
National Instruments hardware
2.2 Objectives
In this lab you will:
20
21
22
Step 2: Label the wire at the top of the resister branch by right clicking on it and choosing
Properties. Then under the Net name tab, update Preferred net name with a descriptive
name of your choice, and click Ok.
23
Step 5: Click Simulate to run the transient analysis. Take a screen shot of your results to
include in your lab report.
24
Step 6: Click Simulate on the top toolbar and navigate to Analyses>> Parameter Sweep. In
the pop up configuration window, navigate to the Analysis parameters tab and set the
following parameters:
Sweep Parameter: Device Parameter
Device Type: Vsource
Name: vdc_pwm_controller (the name of the PWM_controller on your schematic)
Parameter: dc
Start: 100 mV
Stop: 950 mV
Number of points: 6
Analysis to sweep: Transient Analysis
Verify on the Output tab that the Selected variables for analysis field shows the resistor
load branch as selected for analysis, the same that was chosen for your transient analysis step.
Click Simulate to run the parameter sweep. This will create six instances of your buck
converter output, which correspond to the six different PWM duty cycles created from varying
the PWM_Controller voltage.
Take a screen shot of your results to include in your lab report. Find out what the PWM
switching frequency is from the PWM generator function (done by double clicking on the
function) and label the screenshot with the frequency where the analysis takes place.
Step 7: Pick five different frequencies evenly spaced out in the range from 50Hz to 20 kHz.
Change the PWM generator frequency to each of these values, and rerun your transient
analysis from steps 2 and 3 for each frequency value. Take a screen shot of all of these trials for
your lab report and comment on the effects you observed of changing the generator
frequency.
25
26
Challenge Question 1: Voltage ripple relies heavily on the switching frequency and corner
frequency of your LC lowpass filter. Calculate the corner frequency of this buck converter,
determine a switching frequency that will increase V ripple, and modify the PWM generator
with your new switching frequency value. This can be done by double clicking on the PWM
function and changing the reference frequency. Rerun a transient analysis and comment on
whether the change gives the expected results.
Challenge Question 2: There is a significant amount of power lost in the buck converter diode.
Explain why this is the case and suggest ways to improve the efficiency of your buck converter.
For example, you might suggest additional circuitry.
27
Step 14: Build the Buck converter on your myProto protoboard using Insulated Gate Bipolar
Transistors (IGBTs). The design should follow what you designed in Multisim, and you should build
the gate driver from Lab 0 to properly control the IGBTs. Use values for the resistor, capacitor and
inductor similar to that used in the initial Multisim design. The PWM generator will be replaced with
the Analog output 0 line from the myDAQ. You may use the block diagram in Figure 5 to assist in
building the buck converter circuit.
28
29
Switching
Duty Cycle(%)
Vout DC(V)
Vout RMS(V)
Iout DC(A)
Frequency(Hz)
DC Output
Power (W)
Inductance(mH)
Capacitance(uF)
Table 1 Experimental Observations
30
L A B
Boost Converter
Lab
One Hour
31
3.1 Goal
To understand the basics of a boost converter circuit, common transistors used in power electronics,
and National Instruments hardware.
3.2 Objectives
In this lab you will:
32
33
PWM_Generator PWM function used to generate the boost converter control signal, found in
Group: Power; Family: Power_Controllers.
DC_PWM_Controller DC signal used as a reference for the PWM generation. See DC_Source
for location.
VCVS Voltage Controlled Voltage Source used to provide a constant voltage regardless of the
current requirements of the load, in this case the MOSFET. Found in Group: Sources; Family:
Controlled_Voltage_Sources.
Power_MOSFET Power transistor used to switch the DC supply in order to provide an
alternating signal for the boost converter. Found in Group: Transistors; Family: Power_Mos_N.
For more information about working in Multisim, visit:
https://www.youtube.com/user/ntspress/search?query=multisim
34
Step 3: Click Simulate on the top toolbar and navigate to Analyses>>Transient Analysis. In
the pop up configuration window, choose the Analysis parameters tab and set the following
parameters:
Initial Conditions: Set to zero
Start time (TSTART): 0
End time (TSTOP): 0.05s
Step 4: Navigate to the Output tab, click on the descriptive name you just made to select
that node to monitor from the Variables in circuit field and click Add. Select anything that
may be in the Selected variable for analysis field that you are not monitoring and click
Remove.
Step 5: Click Simulate to run the transient analysis. Take a screen shot of your results to
include in your lab report. In this setup we have achieved a duty cycle ( ) of 40%, use the
Boost Converter Lab
35
following equation to calculate the expected output voltage then use the cursors in your
transient analysis to measure what the average voltage of you output is. In your lab report
document the calculated and simulated output voltages. Calculate the percent error of your
data and comment on why you believe there to be an error.
36
Take a screen shot of your results to include in your lab report. Find out what the PWM
switching frequency is from the PWM generator function (done by double clicking on the
function) and label the screenshot with the frequency where the analysis takes place.
Step 7: Pick five different frequencies evenly spaced out in the range from 50Hz to 20 kHz.
Change the PWM generator frequency to each of these values, and rerun your transient
analysis from steps 2 and 3 for each frequency value. Take a screen shot of all of these trials for
your lab report and comment on the effects you observed of changing the generator
frequency.
37
38
Challenge Question 1: Explain the critical values of a boost converter. Describe how the
frequency, inductance and capacitance values determine the operation modes.
Challenge Question 2: Explain the discontinuous current mode and continuous current mode
of operation. What differences are observed in each mode?
Challenge Question 3: Describe a 1-quadrant, 2-quadrant and 4-quadrant converter.
39
the Analog output 0 line from the myDAQ. You may use the block diagram in Figure 9 to assist in
building the boost converter circuit.
40
Switching
Duty Cycle(%)
Vout DC(V)
Vout RMS(V)
Iout DC(A)
Frequency(Hz)
DC Output
Power (W)
Inductance(mH)
Capacitance(uF)
Table 1 Experimental Observations
Boost Converter Lab
41
42
L A B
Buck Boost
Converter Lab
One Hour
43
4.1 Goal
To understand the basics of a buck boost converter circuit, common transistors used in power
electronics, and National Instruments hardware
4.2 Objectives
In this lab you will:
44
Obtain the relation of the output voltage, input voltage and duty cycle in a buck-boost
converter. Explain how the circuit operation reduces and boosts the voltage.
Explain the advantages and disadvantages of a buck-boost converter.
45
PWM_Generator PWM function used to generate the buck converter control signal, found in
Group: Power; Family: Power_Controllers.
DC_PWM_Controller DC signal used as a reference for the PWM generation. See DC_Source
for location.
VCVS Voltage Controlled Voltage Source used to provide a constant voltage regardless of the
current requirements of the load, in this case the MOSFET. Found in Group: Sources; Family:
Controlled_Voltage_Sources.
Power_MOSFET Power transistor used to switch the DC supply in order to provide an
alternating signal for the buck converter. Found in Group: Transistors; Family: Power_Mos_N.
For more information about working in Multisim, visit:
https://www.youtube.com/user/ntspress/search?query=multisim
46
Step 3: Click Simulate on the top toolbar and navigate to Analyses>>Transient Analysis. In
the pop up configuration window, choose the Analysis parameters tab and set the following
parameters:
Initial Conditions: Set to zero
Start time (TSTART): 0
End time (TSTOP): 0.05s
Step 4: Navigate to the Output tab, click on the descriptive name you just made to select
that node to monitor from the Variables in circuit field and click Add. Select anything that
may be in the Selected variable for analysis field that you are not monitoring and click
Remove.
Step 5: Click Simulate to run the transient analysis. Take a screen shot of your results to
include in your lab report. In this setup we have achieved a duty cycle ( ) of 40%, use the
Boost Converter Lab
47
following equation to calculate the expected output voltage then use the cursors in your
transient analysis to measure what the average voltage of you output is. In your lab report
document the calculated and simulated output voltages. Calculate the percent error of your
data and comment on why you believe there to be an error.
48
Take a screen shot of your results to include in your lab report. Find out what the PWM
switching frequency is from the PWM generator function (done by double clicking on the
function) and label the screenshot with the frequency where the analysis takes place.
Step 7: Pick five different frequencies evenly spaced out in the range from 50Hz to 20kHz.
Change the PWM generator frequency to each of these values, and rerun your transient
analysis from steps 2 and 3 for each frequency value. Take a screen shot of all of these trials for
your lab report and comment on the effects you observed of changing the generator
frequency.
49
50
51
the Analog output 0 line from the myDAQ. You may use the block diagram in Figure 13 to assist in
building the buck boost converter circuit.
52
Switching
Duty Cycle(%)
Vout DC(V)
Vout RMS(V)
Iout DC(A)
Frequency(Hz)
DC Output
Power (W)
Inductance(mH)
Capacitance(uF)
Table 1 Experimental Observations
Full Bridge Inverter
53
54
L A B
55
5.1 Goal
To understand the basics of a full bridge inverter, common transistors used in power electronics, and
National Instruments hardware.
5.2 Objectives
In this lab you will:
Textbook References:
Hart, Daniel W. Power Electronics. New York, NY: McGraw-Hill 2011. Print
Sections: 1.4, 8.1-8.4
Mohan, Ned, Undeland, Tore M, Robbins, William P. Power Electronics: Converters
Applications and Design. Danvers, MA: John Wiley and Sons 2003
Sections: 2.1-2.8, 8.1-8.3
myDAQ References:
Get Started Using NI myDAQ with LabVIEW for Education
https://www.youtube.com/watch?v=RsD2tHbuAF4
DAQ Lesson 1
https://decibel.ni.com/content/docs/DOC-11624
56
57
58
VCVS_A/B Voltage Controlled Voltage Source used to provide a constant voltage regardless
of the current requirements of the load, in this case the MOSFET. Found in Group: Sources;
Family: Controlled_Voltage_Sources.
Power_MOSFET_1-4 Power transistor used to switch the DC supply in order to create an AC
output signal. Found in Group: Transistors; Family: Power_Mos_N.
You can use wires or on-page connectors to wire up the circuit.
For more information about working with Multisim, visit:
https://www.youtube.com/user/ntspress/search?query=multisim.
59
60
61
62
Step 8: Open and observe the PWM control signals.vi. The implementation purposely did not
follow the theoretical solution for the PWM signals. Devise a means of realizing the theoretical
solution in LabVIEW, implement it and run it without being connected to the inverter circuit.
Take a screen shot of your generated signals for your lab report.
Rectifier Lab
63
Rectifier Lab
64
L A B
Rectifier Lab
One Hour
Rectifier Lab
65
6.1 Goal
To understand the basics of an uncontrolled and controlled rectifier circuit, common transistors used in
power electronics, and National Instruments hardware
6.2 Objectives
In this lab you will:
Simulate a half and full wave uncontrolled rectifier circuit in Multisim software.
Simulate a full wave controlled rectifier circuit in Multisim software.
Build and interact with a controlled rectifier circuit. You will reference the AC signal in the
control mechanism to determine when to switch transistors.
Create a lab report to present your data, observations, and conclusions.
Rectifier Lab
66
Rectifier Lab
67
The diode resistor and capacitor are fundamental components that can be found at the top
toolbar of Multisim. The two sections to look under are Place Diode and Place Basic.
Rectifier Lab
68
Rectifier Lab
69
Rectifier Lab
70
Rectifier Lab
71
Challenge Question 1: Draw the circuit for a three phase uncontrolled rectifier circuit and
provide and explanation on how it works and its benefit.
Challenge Question 2: Explain what would happen to the output signal if the frequency of the
input signal were to increase while everything else stayed the same
Rectifier Lab
73
Step 17: Double click on the pulsed voltage source V2 and set the following parameters:
o
Initial Value: 0
Pulsed Value: 5
Delay Time: 5m
Pulse Width: 5m
Period: 20m
Step 18: Double click on the pulsed voltage source V3 and set the following parameters:
o
Initial Value: -5
Pulsed Value: 0
Pulse Width: 8m
Period: 20m
Rectifier Lab
74
Setting these values for the two pulsed voltage sources creates two pulse trains, one for the positive half of the
AC input and one for the negative half. These pulse trains will trigger the SCRs at specific times in order to
control how much signal is transmitted to be filtered for the DC output.
Step 20: Click Simulate on the top toolbar and navigate to Analyses>>Transient Analysis. In the pop up
configuration window, choose the Analysis parameters tab and set the following parameters:
Initial Conditions: Set to zero
Start time (TSTART): 0
End time (TSTOP): 0.5s
Step 21: Using the same technique from steps 9 and 10, create an expression that will take the voltage at the
load as the difference between the voltages at each end of the load.
Step 22: Click Simulate to run the analysis, comment on what happens when the output signal has a zero
crossing in your lab report. Also include how the output signal as seen here will influence the DC signal that will
be derived from this. Explain how changing where you trigger the SCR affects the DC output. Include a picture of
the output in your lab report.
Step 23: Vary the delay time and pulse width of both signals making sure that they always add to 10ms for V2
and 20ms for V3. Run the transient analysis again with the new delay and pulse width times and take a picture of
your new results to include in your lab report.
Rectifier Lab
75
Rectifier Lab
76