Dmpcev Lab Manual
Dmpcev Lab Manual
College
VISION
To improve the quality of human life through multi-disciplinary programs in
Engineering, architecture and management that are internationally recognized and
would facilitate research work to incorporate social economical and environmental
development.
MISSION
To create a vibrant atmosphere that creates competent engineers, innovators,
scientists, entrepreneurs, academicians and thinkers of tomorrow.
To establish centers of excellence that provides sustainable solutions to industry
and society.
To enhance capability through various values added programs so as to meet the
challenges of dynamically changing global needs.
Department-EEE
VISION
The department of electrical and electronics engineering is intended to establish a
proficient hub for producing a highly competent electrical engineers by imparting
effective teaching learning process to meet the rapidly transforming technical
scenario.
MISSION
To engender outstanding electrical technocrats for industry demand by research
and industry collaboration.
To train the students with interpersonal communication, ethical teamwork and
time management.
To equip the students with technical knowledge in critical problem solving and
analytical skills.
Program Educational
Objectives(PEOs)
PEO1 Our graduates to meet industry demands and motivate for higher studies.
Our graduates are able to apply widen and in-depth knowledge of Electrical and
PEO2 Engineering toanalyses the realistic problems and think creatively to generate
innovative solutions using appropriate technologies.
Our graduates are able to adapt to different roles and responsibilities and demonstrate
PEO3 leaderships insolving emerging engineering problems within the organization and
society at national and international levels.
vii
Program Outcomes
(POs)
Apply the knowledge of mathematics, science, engineering fundamentals to
PO1
the solution ofcomplex problems in Electrical and Electronics Engineering.
Identify, formulate, research literature, and analyse complex Electrical and
PO2 Electronics Engineering problems reaching substantiated conclusions using first
principles of mathematics, natural sciences, and engineering sciences.
Design solutions for complex Electrical and Electronics Engineering problems and
PO3 design systemcomponents or processes that meet the specified needs with appropriate
consideration for the public health and safety, and the cultural, societal, and
environmental considerations.
Use research-based knowledge and research methods including design of experiments,
PO4
analysis and interpretation of data, and synthesis of the information to provide valid
conclusions related toElectrical and Electronics Engineering.
Create, select, and apply appropriate techniques, resources, and modern engineering
PO5 and IT tools including prediction and modelling to complex Electrical and Electronics
Engineering activities with an understanding of the limitations.
Apply reasoning informed by the contextual knowledge to assess societal, health,
PO6 safety, legal, andcultural issues and the consequent responsibilities relevant to the
professional engineering practice.
Understand the impact of the professional engineering solutions in societal and
PO7 environmentalcontexts, and demonstrate the knowledge of, and need for
Sustainable development.
Apply ethical principles and commit to professional ethics and responsibilities and
PO8
norms of theengineering practice.
Recognise the need for, and have the preparation and ability to engage in
PO12
independent and life- long learning in the broadest context of technological change.
viii
Program Specific
Outcomes(PSOs)
PSO2 Ability to use the MATLAB software to design and simulation of electric circuits.
Mapping
Course
Out PO PO PO PSO PSO PSO
PO1 PO2 PO3 PO4 PO5 PO6 PO7 PO8 PO9
comes 10 11 12 1 2 3
(COs)
CO1 1 1 1
CO2 1
CO3 1
CO4 3 3
CO5 2 2 1 1
ix
LAB MANNERS
Students should bring their own calculators, drawing instruments, charts, data book, etc. whenever needed.
Students should wear their own lab coats and bring observation note books to the laboratory
classesregularly.
Record of experiments done in a particular class should be submitted in the next lab class.
Students who do not submit the record note book in time will not be allowed to do the next experiment
andwill not be given attendance for that laboratory class.
Students will not be allowed to leave the laboratory until they complete the experiment.
x
EE3026-DMPCEV Laboratory, DGCT.
SYLLABUS
LIST OF EXPERIMENTS
2. Bode plots and calculation of Gain margin and Phase margin for power stage
11
EE3026-DMPCEV Laboratory, DGCT.
TABLE OF CONTENTS
Expt. Page.
Name of the Experiment No
No
12
EE3026-DMPCEV Laboratory, DGCT.
INDEX
Page Staff
S.No Date Name of the Experiment Mark
No Signature
13
EE3026-DMPCEV Laboratory, DGCT.
TRANSFER FUNCTION:
2s+5
----------------
s^2 + 4 s + 5
STABILITY ANALYSIS:
Program for Bode Plot (stable system)
num=[2 5];
den=[1 4 5]; k=tf(num,den);
bode(k); w=logspace(0,3,150);
[gm,pm]=bode(k);
[z p k]=tf2zp(num,den) if
(real(p)>=0)
fprintf('stability=unstable\n'); else
fprintf('stability=stable\n') end;
grid;
OUTPUT:
14
EE3026-DMPCEV Laboratory, DGCT.
Exp.No: 01 Date:
AIM:
To obtain the bode plot for the given system whose transfer function is given as
2s+5
G(S) = ---------------- to analysis the stability of the system using MATLAB
s2+ 4 s + 5
APPARATUS REQUIRED:
THEORY:
Bode plot:
The bode plot is a frequency response plot of the transfer function of a system. A bode plot
consists of two graphs. One is plot of the magnitude of a sinusoidal transfer function versus log. The
other is plot of the phase angle of a sinusoidal transfer function versus log. A Linear Time-
Invariant Systems is stable if the following two notions of system stability are satisfied
When the system is excited by Bounded input, the output is also a Bounded output.
In the absence of the input, the output tends towards zero, irrespective of the initial conditions.
The following observations are general considerations regarding system stability and are
If all the roots of the characteristic equation have negative real parts, then the impulse response is
bounded and eventually decreases to zero, then system is stable.
If any root of the characteristic equation has a positive real part, then system is unstable.
If the characteristic equation has repeated roots on the jω-axis, then system is unstable.
If one is more non-repeated roots of the characteristic equation on the jω-axis, then system is
unstable.
PROCEDURE:
1. Enter the command window of the MATLAB.
15
EE3026-DMPCEV Laboratory, DGCT.
BODE PLOT:
Rule 1 A system is stable if the phase lag is less than 180˚ at the frequency for which the gain is
unity (one).
Rule 2 A system is stable if the gain is less than one (unity) at the frequency for which the phase lag is
180˚.
The application of these rules to an actual process requires evaluation of the gain and phase shift of
the system for all frequencies to see if rules 1 and 2 are satisfied. This is obtained by plotting the gain
and phase versus frequency. This plot is called BODE PLOT. The gain obtained here is open loop
gain.
The stability criteria given above represent Limits of Stability. It is well to design a system with a
margin of safety from such limits to allow for variation in components and other unknown factors.
This consideration leads to the revised stability criteria, or more properly, a Margin of Safety
provided to each condition. The exact terminology is in terms of a Gain Margin and Phase Margin
from the limiting values quoted.
If the phase lag is less than 140˚ at the unity gain frequency, the system is stable. This then, is a
40˚ Phase Margin from the limiting values of 180˚.
If the gain is 5dB below unity (or a gain of about 0.56) when the phase lags is 180˚, the system is
Stable. This is 5dB Gain Margin.
The main advantage of the bode plot is that multiplication of magnitude can be converted into addition.
Also a simple method for sketching an approximate log magnitude curve is available.
16
EE3026-DMPCEV Laboratory, DGCT.
MARK ALLOCATION
Execution 5
Viva 5
Total 10
RESULT:
The Bode plot was drawn for the given transfer function using MATLAB. The
system is .
17
EE3026-DMPCEV Laboratory, DGCT.
TRANSFER FUNCTION:
1
𝑇(𝑠 ) =
𝑆+2
OUTPUT:
18
EE3026-DMPCEV Laboratory, DGCT.
Exp.No: 02 Date:
AIM:
To draw the bode plot of the given transfer function of the system. Find the value of GM (Gain
Margin) & PM (Phase Margin).
Transfer Function:
1
1. 𝑇(𝑠) = 𝑆+2
7𝑠+1
2. 𝑇(𝑠) = 9𝑠 2+2𝑠+10
2𝑠 2+1
3. 𝑇(𝑠) = 𝑠 3+4𝑠 2+2𝑠+10
APPARATUS REQUIRED:
THEORY:
The Bode plot for a linear, time-invariant system with transfer function H(s), it consists of a
magnitude plot and a phase plot. The Bode magnitude plot is the graph of the function |H(s=iω)| of
frequency ω, the ω axis of the magnitude plot is logarithmic and the magnitude is given in decibels, i.e., A
value for the magnitude |H| is plotted on the axis at 20 log10|H|.
The gain margin is 1/g, if g is the gain at the –180° phase frequency. Similarly, the phase margin is
the difference between the phase of the response and –180° when the loop gain is 1.0. The frequency Wcp
at which the magnitude is 1.0 is called the unity-gain frequency or gain crossover frequency.
19
EE3026-DMPCEV Laboratory, DGCT.
TRANSFER FUNCTION:
7𝑠 + 1
𝑇 (𝑠 ) =
9𝑠 2 + 2𝑠 + 10
OUTPUT:
20
EE3026-DMPCEV Laboratory, DGCT.
TRANSFER FUNCTION:
2𝑠 2 + 1
𝑇 (𝑠 ) = 3
𝑠 + 4𝑠 2 + 2𝑠 + 10
num=[2 1];
den=[1 4 1 10];
g=tf(num,den)
bode(g)
margin(g)
OUTPUT:
21
EE3026-DMPCEV Laboratory, DGCT.
22
EE3026-DMPCEV Laboratory, DGCT.
MARK ALLOCATION
Execution 5
Viva 5
Total 10
RESULT:
The Bode plot was drawn for the given transfer function using MATLAB. Write the Gain Margin
and Phase Margin values,
1.
2.
3.
23
EE3026-DMPCEV Laboratory, DGCT.
24
EE3026-DMPCEV Laboratory, DGCT.
Exp.No: 03 Date:
AIM:
To design the Buck Converter with following design parameters and draw the converter
circuit.
THEORY:
A buck converter or step-down converter is DC to DC converters which step down voltage from
its input (supply) to its output (load). It is a class of SMPS. Switching converters provide much
greater power frequency as DC-to-DC converters than linear regulator, which are simpler circuits that lower
voltages by dissipating power as heat, but do not step up output current.
DESIGN STEPS:
During on time
di
VL = L
dt
∆I
VS − VO = L
TON
∆I
TON = L.
VS − VO
(VS − VO )TON
∆I =
L
During off time,
∆I
−VO = −L.
TOFF
∆I. L
TOFF =
VO
VO . TOFF
∆I =
L
25
EE3026-DMPCEV Laboratory, DGCT.
1. Output voltage:
VO = αVS
IS = αIO
TON
α=
T
αVS (1 − α)
∆I =
fL
αVS (1 − α) ∆I
∆VC = 2
=
8f LC 8fL
R(1 − α)
L=
2f
1−α
C=
16f 2 L
26
EE3026-DMPCEV Laboratory, DGCT.
Design a buck converter has input voltage of 15V and the average output voltage is 6V at R=400Ω and the
peak to peak output ripple voltage is 20mV. If it operate at 20KHz and the peak to ripple current of
inductor is 0.75A.
Find,
1) Duty cycle
2) Inductance
3) Capacitance
4) Critical value of inductance
5) Critical value of capacitance
27
EE3026-DMPCEV Laboratory, DGCT.
28
EE3026-DMPCEV Laboratory, DGCT.
MARK ALLOCATION
Execution 5
Viva 5
Total 10
RESULT:
29
EE3026-DMPCEV Laboratory, DGCT.
30
EE3026-DMPCEV Laboratory, DGCT.
Exp.No: 04 Date:
AIM:
To design the Boost Converter with following design parameters and draw the converter
circuit diagram.
THEORY:
The average output voltage is greater than the input voltage is called boost converter. It
is also called as step up chopper.
DESIGN STEPS:
During ON Time
VL = VS
di
VL = L
dt
L∆I
VS =
TON
L∆I
TON =
VS
VS TON
∆I =
L
di
VL = L
dt
L∆I
VO – VS
TOFF
L∆I
TOFF =
(VO – VS )
(VO – VS )TOFF
∆I =
L
31
EE3026-DMPCEV Laboratory, DGCT.
32
EE3026-DMPCEV Laboratory, DGCT.
VS
VO =
1−α
I0
IS =
1−α
αVS
∆IL =
Lf
I0 (V0 − VS ) αIO
∆VC = =
V0 fC Cf
α ( 1 − α )R
L =
2f
6. Critical capacitance:
α
C =
2fR
33
EE3026-DMPCEV Laboratory, DGCT.
Design a Boost converter has an input voltage of 5V and its operate at 20KHZ when the average output
voltage VO = 10V average load current is 0.8A. L = 100µH, C = 147µF.
Find:
1) Duty cycle
2) Ripple current of inductor
3) Ripple voltage across the capacitor
4) Critical value of inductor
5) Critical value of capacitor.
34
EE3026-DMPCEV Laboratory, DGCT.
35
EE3026-DMPCEV Laboratory, DGCT.
36
EE3026-DMPCEV Laboratory, DGCT.
MARK ALLOCATION
Execution 5
Viva 5
Total 10
RESULT:
37
EE3026-DMPCEV Laboratory, DGCT.
MATLAB/SIMULINK Introduction
library. This library is diverse enough and expands constantly. When the system model is elaborated,
the developer “clicks and drags” the demanded blocks from Simulink library into his model
diagram and connect them according to the system functional diagram.
m g m g m
a
k a k a k
Diode Thyristor Detailed Thyristor
g m g m g m Universal Bridge
a k C E D S
Gto IGBT Mosfet
g m g m
C E 1 2
Electro technical systems play an important place in our lives and have a wide range of usage.
Scientists and engineers are involved in their research and development. Therefore, the development
of investigation methods of these systems is a very important task. In most cases, these systems turn
out to be very difficult for the full analysis of steady-state and transient processes, and a method of
simulation proves to be the only possibility. A lot of elements and devices that form an electro
technical system have a complex intrinsic structure, and employment of the standard Simulink
blocks for their simulation turns out to be difficult and demands from the staff, who are developing
such systems, in-depth knowledge about the device structure and the equations describing the
processes proceeding in it. Therefore, models of more complicated blocks and devices are developed.
The set of SimPowerSystems blocks contains the models of the complex enough but standard
devices and units, whose fields of application are production, transmission, transformation, and
utilization of the electric power, electrical drives, and power electronics. SimPowerSystems operates
in the Simulink environment. Since Simulink uses MATLAB as the computational engine, the
developer can use MATLAB toolboxes and Simulink blocksets. The first step in simulation is
development of the model scheme consisting of the blocks of Simulink and SimPowerSystems.
After the blocks are connected, it is necessaryto specify their parameters. For that purpose, the block
dialog box (or, the parameter window) opens, in which the block parameters are entered according
to block function.
39
EE3026-DMPCEV Laboratory, DGCT.
SIMULATION DIAGRAM
40
EE3026-DMPCEV Laboratory, DGCT.
Exp.No: 05 Date:
AIM:
To design and simulate a Buck Converter using MATLAB/Simulink and verify the outputs.
APPARATUS REQUIRED:
PROCEDURE:
THEORY:
A buck converter or step-down converter is a DC to DC converter which steps down voltage from
its Input (supply) to its output (load). It is a class of SMPS. Switching converters provide much
greater power frequency as DC-to-DC converters than linear regulator, which are simpler circuits that
lower voltages by dissipating power as heat, but do not step up output current.
41
EE3026-DMPCEV Laboratory, DGCT.
DESIGN SPECIFICATIONS:
SIMULATION OUTPUTS:
42
EE3026-DMPCEV Laboratory, DGCT.
FORMULA USED:
VO = αVS
TON
α=
T
MARK ALLOCATION
Execution 5
Viva 5
Total 10
RESULT:
43
EE3026-DMPCEV Laboratory, DGCT.
MATLAB/SIMULINK Introduction
Many engineering problems can be set up in this way and then solved using MATLAB.
library. This library is diverse enough and expands constantly. When the system model is elaborated,
the developer “clicks and drags” the demanded blocks from Simulink library into his model
diagram and connect them according to the system functional diagram.
m g m g m
a
k a k a k
Diode Thyristor Detailed Thyristor
g m g m g m Universal Bridge
a k C E D S
Gto IGBT Mosfet
g m g m
C E 1 2
Electro technical systems play an important place in our lives and have a wide range of usage.
Scientists and engineers are involved in their research and development. Therefore, the development
of investigation methods of these systems is a very important task. In most cases, these systems turn
out to be very difficult for the full analysis of steady-state and transient processes, and a method of
simulation proves to be the only possibility. A lot of elements and devices that form an electro
technical system have a complex intrinsic structure, and employment of the standard Simulink
blocks for their simulation turns out to be difficult and demands from the staff, who are developing
such systems, in-depth knowledge about the device structure and the equations describing the
processes proceeding in it. Therefore, models of more complicated blocks and devices are developed.
The set of SimPowerSystems blocks contains the models of the complex enough but standard
devices and units, whose fields of application are production, transmission, transformation, and
utilization of the electric power, electrical drives, and power electronics. SimPowerSystems operates
in the Simulink environment. Since Simulink uses MATLAB as the computational engine, the
developer can use MATLAB toolboxes and Simulink blocksets. The first step in simulation is
development of the model scheme consisting of the blocks of Simulink and SimPowerSystems.
After the blocks are connected, it is necessaryto specify their parameters. For that purpose, the block
dialog box (or, the parameter window) opens, in which the block parameters are entered according
to block function.
45
EE3026-DMPCEV Laboratory, DGCT.
SIMULATION DIAGRAM
46
EE3026-DMPCEV Laboratory, DGCT.
Exp.No: 06 Date:
AIM:
To design and simulate a boost Converter using MATLAB/Simulink and verify the outputs.
APPARATUS REQUIRED:
PROCEDURE:
THEORY:
The boost converter is a DC-to-DC converter designed to perform the step-up conversion of
applied DC input. In the Boost converter, the supplied fixed DC input is boosted (or increased) to
adjustable DC output voltage i.e. output voltage of the boost converter is always greater than the
input voltage. Boost converter is also called a step-up converter or step-up chopper. It is
given the name boost because the obtained output voltage is higher than the supplied input
voltage. It performs the reverse operation of the buck converter which converts higher DC input
DESIGN SPECIFICATIONS:
SIMULATION OUTPUTS:
48
EE3026-DMPCEV Laboratory, DGCT.
FORMULA USED:
Average output voltage:
VS
VO =
1−α
Where,
α=Duty ratio
Ton= ON time period
T=Total Time Period
Vs= Input Voltage
Vo=Output Voltage
MARK ALLOCATION
Execution 5
Viva 5
Total 10
RESULT:
49
EE3026-DMPCEV Laboratory, DGCT.
MATLAB/SIMULINK Introduction
Many engineering problems can be set up in this way and then solved using MATLAB.
library. This library is diverse enough and expands constantly. When the system model is elaborated,
the developer “clicks and drags” the demanded blocks from Simulink library into his model
diagram and connect them according to the system functional diagram.
m g m g m
a
k a k a k
Diode Thyristor Detailed Thyristor
g m g m g m Universal Bridge
a k C E D S
Gto IGBT Mosfet
g m g m
C E 1 2
Electro technical systems play an important place in our lives and have a wide range of usage.
Scientists and engineers are involved in their research and development. Therefore, the development
of investigation methods of these systems is a very important task. In most cases, these systems turn
out to be very difficult for the full analysis of steady-state and transient processes, and a method of
simulation proves to be the only possibility. A lot of elements and devices that form an electro
technical system have a complex intrinsic structure, and employment of the standard Simulink
blocks for their simulation turns out to be difficult and demands from the staff, who are developing
such systems, in-depth knowledge about the device structure and the equations describing the
processes proceeding in it. Therefore, models of more complicated blocks and devices are developed.
The set of SimPowerSystem blocks contains the models of the complex enough but standard
devices and units, whose fields of application are production, transmission, transformation, and
utilization of the electric power, electrical drives, and power electronics. SimPowerSystems operates
in the Simulink environment. Since Simulink uses MATLAB as the computational engine, the
developer can use MATLAB toolboxes and Simulink blocksets. The first step in simulation is
development of the model scheme consisting of the blocks of Simulink and SimPowerSystems.
After the blocks are connected, it is necessaryto specify their parameters. For that purpose, the block
dialog box (or, the parameter window) opens, in which the block parameters are entered according
to block function.
51
EE3026-DMPCEV Laboratory, DGCT.
SIMULATION DIAGRAM:
52
EE3026-DMPCEV Laboratory, DGCT.
Exp.No: 07 Date:
AIM:
To design and simulate a Buck Boost Converter using MATLAB/Simulink and verify the
outputs.
APPARATUS REQUIRED:
PROCEDURE:
THEORY:
A buck-boost converter produces a DC output voltage that can be either bigger or smaller in
magnitude than its DC input voltage. As its name suggests, it combines the functions of a buck converter
(used for DC voltage step-down) and a boost converter (used for DC voltage step-up).
When a buck (step-down) converter is combined with a boost (step-up) converter, the output voltage
is typically of the same polarity of the input, and can be lower or higher than the input. Such a non-inverting
buck-boost converter may use a single inductor which is used for both the buck inductor mode and the boost
inductor mode, using switches instead of diode, sometimes called a four-switch buck-boost converter.
53
EE3026-DMPCEV Laboratory, DGCT.
DESIGN SPECIFICATIONS:
SIMULATION OUTPUT:
54
EE3026-DMPCEV Laboratory, DGCT.
FORMULA USED:
∝𝑉
Average dc output voltage 𝑉𝑂 =− 1−∝𝑆
Where,
α=Duty ratio
Ton= ON time period
T=Total Time Period
Vs= Input Voltage
Vo=Output Voltage
MARK ALLOCATION
Execution 5
Viva 5
Total 10
RESULT:
55
EE3026-DMPCEV Laboratory, DGCT.
56