SlideShare a Scribd company logo
MATLAB SIMULATIONS OF SERIES RESONANT

                   CIRCUIT

       564: POWER ELECTRONICS III

      COLORADO STATE UNIVERSITY



 By Electrical and Computer Engineering student

             Minh Anh Thi Nguyen




                    Page 1 of 27
PURPOSE: The purpose of this lab is to simulate the LCC circuit using
MATLAB® to better familiarize the student with some of its operating
characteristics. This lab will explore some of the following aspects of the buck
converter:


      Input impedance
      Output impedance
      Magnitude and phase margin
      Zero frequency
      Output power
      Output current
      Plot the natural response for the output voltage
      Zero poles
      Phase of transfer function
      Stable circuit
      Unstable circuit
      Input impedance for varying loads resistance (R)
      Under damped
      Over damped
      Critical damp




NOTE: The simulations that follow are intended to be completed with MATLAB®.
It is assumed that the student has a fundamental understanding of the operation
of MATLAB®. MATLAB® provides tutorials for users that are not experienced with
its functions.
In this lab you will learn how to write a function to varying, calculating and
plotting the input impedance, current and output voltage of the series RLC
resonant tank circuit. You can define your own function in MATLAB. A function
must start with a line.
Function return-value = function-name (arguments)




                                      Page 2 of 27
So that MATLAB will recognize it as a function. Each function must have its own
file and the file must have the same as the function.


PROCEDURE:
Part 1: Write a function to calculate the total input impedance of series RLC
resonant circuit as shown in Figure 1.
Vm is a variable voltage. Set to 1 volts
L is a variable inductor. Set to 1000µH.
R is a variable ideal resistor. Set to 200Ω.
C is a variable ideal capacitor. Set to 40pF.




                                     Page 3 of 27
Figure 1: The input impedance of series RLC tank circuit.




Once the above m file is captured, the simulations can be run. First, go to your
directory. Find your m file and then run your file. If there is a red message on



                                    Page 4 of 27
your MATLAB window, then you need to correct your error. Otherwise, you will
see the solution as show in figure 2.




                                    Page 5 of 27
Figure2: The output of input impedance of series RLC tank circuit.



Next, plot the total input of the series resonant RLC tank circuit. Write another
function to calculate the total input current of series RLC tank circuit as shown in
Figure 3. All the initial variables and values are remain the same.


Vm is a variable voltage. Set to 1 volts
L is a variable inductor. Set to 1000µH.
R is a variable ideal resistor. Set to 200Ω.
C is a variable ideal capacitor. Set to 40pF




                                     Page 6 of 27
Figure 3: the function to calculate the total input current of series RLC tank
circuit


Once the above function file is captured, the simulations can be run. First, go to
your directory. Find your function file and then run your file. If there is a red
message on your MATLAB window, then you need to correct your error.
Otherwise, you will see the solution as show in figure 4.




                                      Page 7 of 27
Page 8 of 27
Figure 4: the output and plot of the total input current of series RLC tank circuit




Now write a function to varying R of the input impedance of series RLC resonant
circuit. By adding an array of Resistors (R) value. Again all the initial variables
and values are remain the same.
Vm is a variable voltage. Set to 1 volts
L is a variable inductor. Set to 1000µH.
R is a variable ideal resistor. Set to 200Ω.



                                     Page 9 of 27
C is a variable ideal capacitor. Set to 40pF


Write a loop function to do the varying resistors value, calculate and plot the
output of total input impedance of series RLC resonant circuit. When the
function to varying R of the input impedance of series RLC resonant circuit
function file is captured, the simulations can be run. If there is any error
message on your MATLAB windows, then correct your error and then rerun the
simulation. Otherwise, you will see the result as show below




                                     Page 10 of 27
Figure 5: A function of the input impedance of series RLC resonant circuit with
varying Resistor




                                   Page 11 of 27
Figure 6: Output of the input impedance of series RLC resonant circuit with
varying Resistor


Now write a function to varying R of the input current of series RLC resonant
circuit. By adding an array of Resistors (R) value. Again all the initial variables
and values are remain the same.
Vm is a variable voltage. Set to 1 volts
L is a variable inductor. Set to 1000µH.
R is a variable ideal resistor. Set to 200Ω.
C is a variable ideal capacitor. Set to 40pF


Write a loop function to do the varying resistors value, calculate and plot the
output of total input current of series RLC resonant circuit. When the function to
varying R of the input current of series RLC resonant circuit function file is
captured, the simulations can be run. If there is any error message on your
MATLAB windows, then correct your error and then rerun the simulation.
Otherwise, you will see the result as show below




                                     Page 12 of 27
Figure 7: A function of the input current of series RLC resonant circuit with
varying Resistor




                                    Page 13 of 27
Page 14 of 27
Figure 8: Output of the input current of series RLC resonant circuit with varying
Resistor




                                    Page 15 of 27
Now write a function to varying R of the output voltage of series RLC resonant
circuit. By adding an array of Resistors (R) value. Again all the initial variables
and values are remain the same.
Vm is a variable voltage. Set to 1 volts
L is a variable inductor. Set to 1000µH.
R is a variable ideal resistor. Set to 200Ω.
C is a variable ideal capacitor. Set to 40pF


Write a loop function to do the varying resistors value, calculate and plot the
output voltage of series RLC resonant circuit. When the function to varying R of
the input current of series RLC resonant circuit function file is captured, the
simulations can be run. If there is any error message on your MATLAB
windows, then correct your error and then rerun the simulation. Otherwise, you
will see the result as show below




                                     Page 16 of 27
Figure 9: A function of the output voltage of series RLC resonant circuit with
varying Resistor




                                    Page 17 of 27
Figure 10: This figure is shown the output voltage of series RLC resonant circuit
with varying Resistor




                                   Page 18 of 27
For Homework:

You need to re-solve the parallel resonant circuit with Capacitor ESR and see its effects
on the magnitude and phase plots in some detail. For example choose the ratio of the C
ESR to the load resistance to be in the ratio range from 0.01 to 1.



Now write m file to varying R of the natural response of current in series RLC
resonant circuit. By adding an array of Resistors (R) value. Again all the initial
variables are remain the same but change their values.
Vm is a variable voltage. Set to 0 volts
L is a variable inductor. Set to 5mH.
R is a variable ideal resistor. Set to 8Ω.
C is a variable ideal capacitor. Set to 200µF
Io is a variable ideal of inductor current. Set to 2 amps.
Vo is a variable ideal of capacitor voltage. Set to -5 volts.


Write a loop function to do the varying resistors value, calculate and plot the
natural response of current for series RLC resonant circuit. When the function
to varying R of the natural response of current in series RLC resonant circuit file
is captured, the simulations can be run. If there is any error message on your
MATLAB windows, then correct your error and then rerun the simulation.
Otherwise, you will see the result as show below




                                        Page 19 of 27
Page 20 of 27
Figure 11: the m file to calculate and plot the natural response of current in
series RLC resonant circuit with varying Resistor




                                    Page 21 of 27
Figure 12: This figure is shown the output of the natural responses of current in
                 series RLC resonant circuit with varying Resistor


Now write m file to varying R of the natural response of capacitor voltage in a
series RLC resonant circuit. By adding an array of Resistors (R) value. Again all
the initial variables are remain the same but change their values.
Vm is a variable voltage. Set to 0 volts
L is a variable inductor. Set to 5mH.
R is a variable ideal resistor. Set to 8Ω.
C is a variable ideal capacitor. Set to 200µF



                                     Page 22 of 27
Io is a variable ideal of inductor current. Set to 2 amps.
Vo is a variable ideal of capacitor voltage. Set to -5 volts.


Write a loop function to do the varying resistors value, calculate and plot the
natural response of capacitor voltage in a series RLC resonant circuit. When
the function to varying R of the natural response of series RLC resonant circuit
file is captured, the simulations can be run. If there is any error message on
your MATLAB windows, then correct your error and then rerun the simulation.
Otherwise, you will see the result as show below




                                     Page 23 of 27
Page 24 of 27
Figure 13: the m file to calculate and plot the natural response of current in a
              series RLC resonant circuit with varying Resistor




                                  Page 25 of 27
Page 26 of 27
Figure 14: the output of the natural response of capacitor voltage in a series
                 RLC resonant circuit with varying Resistor




                                 Page 27 of 27

More Related Content

What's hot

Rec101 unit iii operational amplifier
Rec101 unit iii operational amplifierRec101 unit iii operational amplifier
Rec101 unit iii operational amplifier
Dr Naim R Kidwai
 
Ujt
UjtUjt
Ideal voltage & current sources
Ideal voltage & current sourcesIdeal voltage & current sources
Ideal voltage & current sources
Anil Kumar
 
Dc dc converter
Dc dc converterDc dc converter
Dc dc converter
Mahmoud Hussein
 
diode.ppt
diode.pptdiode.ppt
diode.ppt
sheneaziz3
 
Load line & q point
Load line & q pointLoad line & q point
Load line & q point
THE CREATORS ACADEMY
 
inductive ac circuits
 inductive ac circuits inductive ac circuits
inductive ac circuits
vishal gupta
 
basic-analog-electronics
basic-analog-electronicsbasic-analog-electronics
basic-analog-electronics
ATTO RATHORE
 
operational amplifiers
operational amplifiersoperational amplifiers
operational amplifiers
Patel Jay
 
Negative feedback Amplifiers
Negative feedback AmplifiersNegative feedback Amplifiers
Negative feedback Amplifiers
Yeshudas Muttu
 
1 ph semi converter (r-l load)
1 ph semi converter (r-l load)1 ph semi converter (r-l load)
1 ph semi converter (r-l load)
avi1001
 
Power amplifiers
Power amplifiersPower amplifiers
Power amplifiers
Sarah Krystelle
 
Transient response of RC , RL circuits with step input
Transient response of RC , RL circuits  with step inputTransient response of RC , RL circuits  with step input
Transient response of RC , RL circuits with step input
Dr.YNM
 
Power Electronics - Power Semi – Conductor Devices
Power Electronics - Power Semi – Conductor DevicesPower Electronics - Power Semi – Conductor Devices
Power Electronics - Power Semi – Conductor Devices
Burdwan University
 
Feedback Amplifiers & Operational Amplifiers (OPAMP)
Feedback Amplifiers  & Operational Amplifiers (OPAMP)Feedback Amplifiers  & Operational Amplifiers (OPAMP)
Feedback Amplifiers & Operational Amplifiers (OPAMP)
Darwin Nesakumar
 
Transistor configurations
Transistor configurationsTransistor configurations
Transistor configurations
JAGMIT Jamkhandi
 
Semiconductor theory
Semiconductor theorySemiconductor theory
A BASIC INTRODUCTION TO SEMICONDUCTOR DEVICES - THE
A BASIC INTRODUCTION TO SEMICONDUCTOR DEVICES - THEA BASIC INTRODUCTION TO SEMICONDUCTOR DEVICES - THE
A BASIC INTRODUCTION TO SEMICONDUCTOR DEVICES - THE
Winston Bent A.S.S.
 
Two port network
Two port networkTwo port network
Two port network
Rajput Manthan
 
Operational Amplifier (OpAmp)
Operational Amplifier (OpAmp)Operational Amplifier (OpAmp)
Operational Amplifier (OpAmp)
Mohammed Bamatraf
 

What's hot (20)

Rec101 unit iii operational amplifier
Rec101 unit iii operational amplifierRec101 unit iii operational amplifier
Rec101 unit iii operational amplifier
 
Ujt
UjtUjt
Ujt
 
Ideal voltage & current sources
Ideal voltage & current sourcesIdeal voltage & current sources
Ideal voltage & current sources
 
Dc dc converter
Dc dc converterDc dc converter
Dc dc converter
 
diode.ppt
diode.pptdiode.ppt
diode.ppt
 
Load line & q point
Load line & q pointLoad line & q point
Load line & q point
 
inductive ac circuits
 inductive ac circuits inductive ac circuits
inductive ac circuits
 
basic-analog-electronics
basic-analog-electronicsbasic-analog-electronics
basic-analog-electronics
 
operational amplifiers
operational amplifiersoperational amplifiers
operational amplifiers
 
Negative feedback Amplifiers
Negative feedback AmplifiersNegative feedback Amplifiers
Negative feedback Amplifiers
 
1 ph semi converter (r-l load)
1 ph semi converter (r-l load)1 ph semi converter (r-l load)
1 ph semi converter (r-l load)
 
Power amplifiers
Power amplifiersPower amplifiers
Power amplifiers
 
Transient response of RC , RL circuits with step input
Transient response of RC , RL circuits  with step inputTransient response of RC , RL circuits  with step input
Transient response of RC , RL circuits with step input
 
Power Electronics - Power Semi – Conductor Devices
Power Electronics - Power Semi – Conductor DevicesPower Electronics - Power Semi – Conductor Devices
Power Electronics - Power Semi – Conductor Devices
 
Feedback Amplifiers & Operational Amplifiers (OPAMP)
Feedback Amplifiers  & Operational Amplifiers (OPAMP)Feedback Amplifiers  & Operational Amplifiers (OPAMP)
Feedback Amplifiers & Operational Amplifiers (OPAMP)
 
Transistor configurations
Transistor configurationsTransistor configurations
Transistor configurations
 
Semiconductor theory
Semiconductor theorySemiconductor theory
Semiconductor theory
 
A BASIC INTRODUCTION TO SEMICONDUCTOR DEVICES - THE
A BASIC INTRODUCTION TO SEMICONDUCTOR DEVICES - THEA BASIC INTRODUCTION TO SEMICONDUCTOR DEVICES - THE
A BASIC INTRODUCTION TO SEMICONDUCTOR DEVICES - THE
 
Two port network
Two port networkTwo port network
Two port network
 
Operational Amplifier (OpAmp)
Operational Amplifier (OpAmp)Operational Amplifier (OpAmp)
Operational Amplifier (OpAmp)
 

Viewers also liked

Matlab solving rlc circuit
Matlab solving rlc circuitMatlab solving rlc circuit
Matlab solving rlc circuit
Ameen San
 
Circuit analysis i with matlab computing and simulink sim powersystems modeling
Circuit analysis i with matlab computing and simulink sim powersystems modelingCircuit analysis i with matlab computing and simulink sim powersystems modeling
Circuit analysis i with matlab computing and simulink sim powersystems modeling
Indra S Wahyudi
 
lcr circuit implementation using matlab
lcr circuit implementation using matlablcr circuit implementation using matlab
lcr circuit implementation using matlab
Sunny Choudhary
 
MATLAB SIMULATIONS OF PARALLEL RESONANT CIRCUIT
MATLAB SIMULATIONS OF PARALLEL RESONANT CIRCUITMATLAB SIMULATIONS OF PARALLEL RESONANT CIRCUIT
MATLAB SIMULATIONS OF PARALLEL RESONANT CIRCUIT
Minh Anh Nguyen
 
The experiment of the series resonant circuit
The experiment of the series resonant circuitThe experiment of the series resonant circuit
The experiment of the series resonant circuit
a-mairu
 
Resonant circuits
Resonant circuitsResonant circuits
Resonant circuits
Rahul Maheshwari
 
RLC Circuit
RLC CircuitRLC Circuit
236793460 ee6361-electric-circuit-lab-docx
236793460 ee6361-electric-circuit-lab-docx236793460 ee6361-electric-circuit-lab-docx
236793460 ee6361-electric-circuit-lab-docx
homeworkping3
 
Knowdiff visiting lecturer 140 (Azad Shademan): Uncalibrated Image-Based Robo...
Knowdiff visiting lecturer 140 (Azad Shademan): Uncalibrated Image-Based Robo...Knowdiff visiting lecturer 140 (Azad Shademan): Uncalibrated Image-Based Robo...
Knowdiff visiting lecturer 140 (Azad Shademan): Uncalibrated Image-Based Robo...
knowdiff
 
Matlab m files and scripts
Matlab m files and scriptsMatlab m files and scripts
Matlab m files and scripts
Ameen San
 
COMP 4010 Lecture10: AR Tracking
COMP 4010 Lecture10: AR TrackingCOMP 4010 Lecture10: AR Tracking
COMP 4010 Lecture10: AR Tracking
Mark Billinghurst
 
SERIES RESISTOR-CAPASITOR CIRCUIT experiment 7
SERIES RESISTOR-CAPASITOR CIRCUIT experiment 7SERIES RESISTOR-CAPASITOR CIRCUIT experiment 7
SERIES RESISTOR-CAPASITOR CIRCUIT experiment 7
Karimi LordRamza
 
Rlc circuits and differential equations1
Rlc circuits and differential equations1Rlc circuits and differential equations1
Rlc circuits and differential equations1
Ghanima Eyleeuhs
 
Matlab for Electrical Engineers
Matlab for Electrical EngineersMatlab for Electrical Engineers
Matlab for Electrical Engineers
Manish Joshi
 
Power factor improvement of an induction motor
Power factor improvement of an induction motorPower factor improvement of an induction motor
Power factor improvement of an induction motor
IIT Roorkee
 

Viewers also liked (15)

Matlab solving rlc circuit
Matlab solving rlc circuitMatlab solving rlc circuit
Matlab solving rlc circuit
 
Circuit analysis i with matlab computing and simulink sim powersystems modeling
Circuit analysis i with matlab computing and simulink sim powersystems modelingCircuit analysis i with matlab computing and simulink sim powersystems modeling
Circuit analysis i with matlab computing and simulink sim powersystems modeling
 
lcr circuit implementation using matlab
lcr circuit implementation using matlablcr circuit implementation using matlab
lcr circuit implementation using matlab
 
MATLAB SIMULATIONS OF PARALLEL RESONANT CIRCUIT
MATLAB SIMULATIONS OF PARALLEL RESONANT CIRCUITMATLAB SIMULATIONS OF PARALLEL RESONANT CIRCUIT
MATLAB SIMULATIONS OF PARALLEL RESONANT CIRCUIT
 
The experiment of the series resonant circuit
The experiment of the series resonant circuitThe experiment of the series resonant circuit
The experiment of the series resonant circuit
 
Resonant circuits
Resonant circuitsResonant circuits
Resonant circuits
 
RLC Circuit
RLC CircuitRLC Circuit
RLC Circuit
 
236793460 ee6361-electric-circuit-lab-docx
236793460 ee6361-electric-circuit-lab-docx236793460 ee6361-electric-circuit-lab-docx
236793460 ee6361-electric-circuit-lab-docx
 
Knowdiff visiting lecturer 140 (Azad Shademan): Uncalibrated Image-Based Robo...
Knowdiff visiting lecturer 140 (Azad Shademan): Uncalibrated Image-Based Robo...Knowdiff visiting lecturer 140 (Azad Shademan): Uncalibrated Image-Based Robo...
Knowdiff visiting lecturer 140 (Azad Shademan): Uncalibrated Image-Based Robo...
 
Matlab m files and scripts
Matlab m files and scriptsMatlab m files and scripts
Matlab m files and scripts
 
COMP 4010 Lecture10: AR Tracking
COMP 4010 Lecture10: AR TrackingCOMP 4010 Lecture10: AR Tracking
COMP 4010 Lecture10: AR Tracking
 
SERIES RESISTOR-CAPASITOR CIRCUIT experiment 7
SERIES RESISTOR-CAPASITOR CIRCUIT experiment 7SERIES RESISTOR-CAPASITOR CIRCUIT experiment 7
SERIES RESISTOR-CAPASITOR CIRCUIT experiment 7
 
Rlc circuits and differential equations1
Rlc circuits and differential equations1Rlc circuits and differential equations1
Rlc circuits and differential equations1
 
Matlab for Electrical Engineers
Matlab for Electrical EngineersMatlab for Electrical Engineers
Matlab for Electrical Engineers
 
Power factor improvement of an induction motor
Power factor improvement of an induction motorPower factor improvement of an induction motor
Power factor improvement of an induction motor
 

Similar to MATLAB SIMULATIONS OF SERIES RESONANT CIRCUIT

SIMULATIONS LCC RESONANT CIRCUIT using MATLAB
SIMULATIONS LCC RESONANT CIRCUIT using MATLABSIMULATIONS LCC RESONANT CIRCUIT using MATLAB
SIMULATIONS LCC RESONANT CIRCUIT using MATLAB
Minh Anh Nguyen
 
Week10
Week10Week10
Diodes
DiodesDiodes
Elec ch06bjt amplifiers
Elec ch06bjt amplifiersElec ch06bjt amplifiers
Elec ch06bjt amplifiers
Ismael Cayo Apaza
 
Electrical lab
Electrical labElectrical lab
Electrical lab
pramod naik
 
Lesson4
Lesson4Lesson4
Lesson4
Kavin Paul
 
Resonant Response of RLC Circuits
Resonant Response of RLC Circuits Resonant Response of RLC Circuits
Resonant Response of RLC Circuits
Sachin Mehta
 
Basic Electronics (Rectifiers) by Er. Swapnil Kaware
Basic Electronics (Rectifiers) by Er. Swapnil KawareBasic Electronics (Rectifiers) by Er. Swapnil Kaware
Basic Electronics (Rectifiers) by Er. Swapnil Kaware
Prof. Swapnil V. Kaware
 
The MATLAB File by Akshit Jain .pdf on .
The MATLAB File by Akshit Jain .pdf on .The MATLAB File by Akshit Jain .pdf on .
The MATLAB File by Akshit Jain .pdf on .
Akshit Jain
 
Integrated circuit unit 2 notes
Integrated circuit unit 2 notesIntegrated circuit unit 2 notes
Integrated circuit unit 2 notes
VINOD YADAV
 
Exp5
Exp5Exp5
BEF 12403 - Week 6 - Series-Parallel Resistor Circuits.ppt
BEF 12403 - Week 6 - Series-Parallel Resistor Circuits.pptBEF 12403 - Week 6 - Series-Parallel Resistor Circuits.ppt
BEF 12403 - Week 6 - Series-Parallel Resistor Circuits.ppt
LiewChiaPing
 
Basic electronics MODULE_3_Zener diode.ppt
Basic electronics MODULE_3_Zener diode.pptBasic electronics MODULE_3_Zener diode.ppt
Basic electronics MODULE_3_Zener diode.ppt
happycocoman
 
Evandro lab 4
Evandro lab 4Evandro lab 4
Evandro lab 4
Evandro Conceicao
 
Evandro lab 4
Evandro lab 4Evandro lab 4
Evandro lab 4
Evandro Conceicao
 
White paper pi 11012011
White paper pi 11012011White paper pi 11012011
White paper pi 11012011
Hany Fahmy
 
Modeling Of Transfer Function Characteristic of Rlc-Circuit
Modeling Of Transfer Function Characteristic of Rlc-Circuit Modeling Of Transfer Function Characteristic of Rlc-Circuit
Modeling Of Transfer Function Characteristic of Rlc-Circuit
IOSR Journals
 
E017122733
E017122733E017122733
E017122733
IOSR Journals
 
Augmentation of Real & Reactive Power in Grid by Unified Power Flow Controller
Augmentation of Real & Reactive Power in Grid by Unified Power Flow ControllerAugmentation of Real & Reactive Power in Grid by Unified Power Flow Controller
Augmentation of Real & Reactive Power in Grid by Unified Power Flow Controller
IJERA Editor
 
Alternating current circuits
Alternating current circuitsAlternating current circuits
Alternating current circuits
cse1014
 

Similar to MATLAB SIMULATIONS OF SERIES RESONANT CIRCUIT (20)

SIMULATIONS LCC RESONANT CIRCUIT using MATLAB
SIMULATIONS LCC RESONANT CIRCUIT using MATLABSIMULATIONS LCC RESONANT CIRCUIT using MATLAB
SIMULATIONS LCC RESONANT CIRCUIT using MATLAB
 
Week10
Week10Week10
Week10
 
Diodes
DiodesDiodes
Diodes
 
Elec ch06bjt amplifiers
Elec ch06bjt amplifiersElec ch06bjt amplifiers
Elec ch06bjt amplifiers
 
Electrical lab
Electrical labElectrical lab
Electrical lab
 
Lesson4
Lesson4Lesson4
Lesson4
 
Resonant Response of RLC Circuits
Resonant Response of RLC Circuits Resonant Response of RLC Circuits
Resonant Response of RLC Circuits
 
Basic Electronics (Rectifiers) by Er. Swapnil Kaware
Basic Electronics (Rectifiers) by Er. Swapnil KawareBasic Electronics (Rectifiers) by Er. Swapnil Kaware
Basic Electronics (Rectifiers) by Er. Swapnil Kaware
 
The MATLAB File by Akshit Jain .pdf on .
The MATLAB File by Akshit Jain .pdf on .The MATLAB File by Akshit Jain .pdf on .
The MATLAB File by Akshit Jain .pdf on .
 
Integrated circuit unit 2 notes
Integrated circuit unit 2 notesIntegrated circuit unit 2 notes
Integrated circuit unit 2 notes
 
Exp5
Exp5Exp5
Exp5
 
BEF 12403 - Week 6 - Series-Parallel Resistor Circuits.ppt
BEF 12403 - Week 6 - Series-Parallel Resistor Circuits.pptBEF 12403 - Week 6 - Series-Parallel Resistor Circuits.ppt
BEF 12403 - Week 6 - Series-Parallel Resistor Circuits.ppt
 
Basic electronics MODULE_3_Zener diode.ppt
Basic electronics MODULE_3_Zener diode.pptBasic electronics MODULE_3_Zener diode.ppt
Basic electronics MODULE_3_Zener diode.ppt
 
Evandro lab 4
Evandro lab 4Evandro lab 4
Evandro lab 4
 
Evandro lab 4
Evandro lab 4Evandro lab 4
Evandro lab 4
 
White paper pi 11012011
White paper pi 11012011White paper pi 11012011
White paper pi 11012011
 
Modeling Of Transfer Function Characteristic of Rlc-Circuit
Modeling Of Transfer Function Characteristic of Rlc-Circuit Modeling Of Transfer Function Characteristic of Rlc-Circuit
Modeling Of Transfer Function Characteristic of Rlc-Circuit
 
E017122733
E017122733E017122733
E017122733
 
Augmentation of Real & Reactive Power in Grid by Unified Power Flow Controller
Augmentation of Real & Reactive Power in Grid by Unified Power Flow ControllerAugmentation of Real & Reactive Power in Grid by Unified Power Flow Controller
Augmentation of Real & Reactive Power in Grid by Unified Power Flow Controller
 
Alternating current circuits
Alternating current circuitsAlternating current circuits
Alternating current circuits
 

More from Minh Anh Nguyen

Chúc mừng năm mới 2018
Chúc mừng năm mới 2018Chúc mừng năm mới 2018
Chúc mừng năm mới 2018
Minh Anh Nguyen
 
Chuc Mung Nam Moi 2017- Dinh Dau
Chuc Mung Nam Moi 2017- Dinh DauChuc Mung Nam Moi 2017- Dinh Dau
Chuc Mung Nam Moi 2017- Dinh Dau
Minh Anh Nguyen
 
Happy New Year
Happy New Year Happy New Year
Happy New Year
Minh Anh Nguyen
 
Tutorial for EDA Tools
Tutorial for EDA ToolsTutorial for EDA Tools
Tutorial for EDA Tools
Minh Anh Nguyen
 
Sound and Vibration Toolkit User Manual
Sound and Vibration Toolkit User ManualSound and Vibration Toolkit User Manual
Sound and Vibration Toolkit User Manual
Minh Anh Nguyen
 
Tet trung thu -- Happy mid-autumn moon festival
Tet trung thu -- Happy mid-autumn moon festivalTet trung thu -- Happy mid-autumn moon festival
Tet trung thu -- Happy mid-autumn moon festival
Minh Anh Nguyen
 
An Introduction to HFSS:
An Introduction to HFSS:An Introduction to HFSS:
An Introduction to HFSS:
Minh Anh Nguyen
 
STUCK-OPEN FAULT ANALYSIS IN CMOS TRANSISTOR BASED COMBINATIONAL CIRCUITS
STUCK-OPEN FAULT ANALYSIS IN CMOS TRANSISTOR BASED COMBINATIONAL CIRCUITSSTUCK-OPEN FAULT ANALYSIS IN CMOS TRANSISTOR BASED COMBINATIONAL CIRCUITS
STUCK-OPEN FAULT ANALYSIS IN CMOS TRANSISTOR BASED COMBINATIONAL CIRCUITS
Minh Anh Nguyen
 
Electrocardiogram (ECG or EKG)
Electrocardiogram (ECG or EKG)Electrocardiogram (ECG or EKG)
Electrocardiogram (ECG or EKG)
Minh Anh Nguyen
 
Maxwell3 d
Maxwell3 dMaxwell3 d
Maxwell3 d
Minh Anh Nguyen
 
Simulation results of induction heating coil
Simulation results of induction heating coilSimulation results of induction heating coil
Simulation results of induction heating coil
Minh Anh Nguyen
 
Matlab code for comparing two microphone files
Matlab code for comparing two microphone filesMatlab code for comparing two microphone files
Matlab code for comparing two microphone files
Minh Anh Nguyen
 
Audio detection system
Audio detection systemAudio detection system
Audio detection system
Minh Anh Nguyen
 
Love me tender
Love me tenderLove me tender
Love me tender
Minh Anh Nguyen
 
Ni myRio and Microphone
Ni myRio and MicrophoneNi myRio and Microphone
Ni myRio and Microphone
Minh Anh Nguyen
 
Results Review of iphone and Detecting of Human Errors Algorithm
Results Review of iphone and Detecting of Human Errors AlgorithmResults Review of iphone and Detecting of Human Errors Algorithm
Results Review of iphone and Detecting of Human Errors Algorithm
Minh Anh Nguyen
 
Results Review of Microphone Prototype and LabView Detecting of Human Errors ...
Results Review of Microphone Prototype and LabView Detecting of Human Errors ...Results Review of Microphone Prototype and LabView Detecting of Human Errors ...
Results Review of Microphone Prototype and LabView Detecting of Human Errors ...
Minh Anh Nguyen
 
The method of comparing two audio files
The method of comparing two audio filesThe method of comparing two audio files
The method of comparing two audio files
Minh Anh Nguyen
 
The method of comparing two image files
 The method of comparing two image files The method of comparing two image files
The method of comparing two image files
Minh Anh Nguyen
 
A message for my uncle on father's day
A message for my uncle on father's dayA message for my uncle on father's day
A message for my uncle on father's day
Minh Anh Nguyen
 

More from Minh Anh Nguyen (20)

Chúc mừng năm mới 2018
Chúc mừng năm mới 2018Chúc mừng năm mới 2018
Chúc mừng năm mới 2018
 
Chuc Mung Nam Moi 2017- Dinh Dau
Chuc Mung Nam Moi 2017- Dinh DauChuc Mung Nam Moi 2017- Dinh Dau
Chuc Mung Nam Moi 2017- Dinh Dau
 
Happy New Year
Happy New Year Happy New Year
Happy New Year
 
Tutorial for EDA Tools
Tutorial for EDA ToolsTutorial for EDA Tools
Tutorial for EDA Tools
 
Sound and Vibration Toolkit User Manual
Sound and Vibration Toolkit User ManualSound and Vibration Toolkit User Manual
Sound and Vibration Toolkit User Manual
 
Tet trung thu -- Happy mid-autumn moon festival
Tet trung thu -- Happy mid-autumn moon festivalTet trung thu -- Happy mid-autumn moon festival
Tet trung thu -- Happy mid-autumn moon festival
 
An Introduction to HFSS:
An Introduction to HFSS:An Introduction to HFSS:
An Introduction to HFSS:
 
STUCK-OPEN FAULT ANALYSIS IN CMOS TRANSISTOR BASED COMBINATIONAL CIRCUITS
STUCK-OPEN FAULT ANALYSIS IN CMOS TRANSISTOR BASED COMBINATIONAL CIRCUITSSTUCK-OPEN FAULT ANALYSIS IN CMOS TRANSISTOR BASED COMBINATIONAL CIRCUITS
STUCK-OPEN FAULT ANALYSIS IN CMOS TRANSISTOR BASED COMBINATIONAL CIRCUITS
 
Electrocardiogram (ECG or EKG)
Electrocardiogram (ECG or EKG)Electrocardiogram (ECG or EKG)
Electrocardiogram (ECG or EKG)
 
Maxwell3 d
Maxwell3 dMaxwell3 d
Maxwell3 d
 
Simulation results of induction heating coil
Simulation results of induction heating coilSimulation results of induction heating coil
Simulation results of induction heating coil
 
Matlab code for comparing two microphone files
Matlab code for comparing two microphone filesMatlab code for comparing two microphone files
Matlab code for comparing two microphone files
 
Audio detection system
Audio detection systemAudio detection system
Audio detection system
 
Love me tender
Love me tenderLove me tender
Love me tender
 
Ni myRio and Microphone
Ni myRio and MicrophoneNi myRio and Microphone
Ni myRio and Microphone
 
Results Review of iphone and Detecting of Human Errors Algorithm
Results Review of iphone and Detecting of Human Errors AlgorithmResults Review of iphone and Detecting of Human Errors Algorithm
Results Review of iphone and Detecting of Human Errors Algorithm
 
Results Review of Microphone Prototype and LabView Detecting of Human Errors ...
Results Review of Microphone Prototype and LabView Detecting of Human Errors ...Results Review of Microphone Prototype and LabView Detecting of Human Errors ...
Results Review of Microphone Prototype and LabView Detecting of Human Errors ...
 
The method of comparing two audio files
The method of comparing two audio filesThe method of comparing two audio files
The method of comparing two audio files
 
The method of comparing two image files
 The method of comparing two image files The method of comparing two image files
The method of comparing two image files
 
A message for my uncle on father's day
A message for my uncle on father's dayA message for my uncle on father's day
A message for my uncle on father's day
 

Recently uploaded

CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
camakaiclarkmusic
 
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptxC1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
mulvey2
 
writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
Nicholas Montgomery
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
TechSoup
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
Scholarhat
 
Advanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docxAdvanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docx
adhitya5119
 
How to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRMHow to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRM
Celine George
 
Assessment and Planning in Educational technology.pptx
Assessment and Planning in Educational technology.pptxAssessment and Planning in Educational technology.pptx
Assessment and Planning in Educational technology.pptx
Kavitha Krishnan
 
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
National Information Standards Organization (NISO)
 
World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024
ak6969907
 
South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)
Academy of Science of South Africa
 
Liberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdfLiberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdf
WaniBasim
 
Film vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movieFilm vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movie
Nicholas Montgomery
 
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdfANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
Priyankaranawat4
 
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat  Leveraging AI for Diversity, Equity, and InclusionExecutive Directors Chat  Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
TechSoup
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
Nguyen Thanh Tu Collection
 
The basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptxThe basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptx
heathfieldcps1
 
Types of Herbal Cosmetics its standardization.
Types of Herbal Cosmetics its standardization.Types of Herbal Cosmetics its standardization.
Types of Herbal Cosmetics its standardization.
Ashokrao Mane college of Pharmacy Peth-Vadgaon
 
Digital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments UnitDigital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments Unit
chanes7
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 

Recently uploaded (20)

CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
 
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptxC1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
 
writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
 
Advanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docxAdvanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docx
 
How to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRMHow to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRM
 
Assessment and Planning in Educational technology.pptx
Assessment and Planning in Educational technology.pptxAssessment and Planning in Educational technology.pptx
Assessment and Planning in Educational technology.pptx
 
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
 
World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024
 
South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)
 
Liberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdfLiberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdf
 
Film vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movieFilm vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movie
 
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdfANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
 
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat  Leveraging AI for Diversity, Equity, and InclusionExecutive Directors Chat  Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
 
The basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptxThe basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptx
 
Types of Herbal Cosmetics its standardization.
Types of Herbal Cosmetics its standardization.Types of Herbal Cosmetics its standardization.
Types of Herbal Cosmetics its standardization.
 
Digital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments UnitDigital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments Unit
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
 

MATLAB SIMULATIONS OF SERIES RESONANT CIRCUIT

  • 1. MATLAB SIMULATIONS OF SERIES RESONANT CIRCUIT 564: POWER ELECTRONICS III COLORADO STATE UNIVERSITY By Electrical and Computer Engineering student Minh Anh Thi Nguyen Page 1 of 27
  • 2. PURPOSE: The purpose of this lab is to simulate the LCC circuit using MATLAB® to better familiarize the student with some of its operating characteristics. This lab will explore some of the following aspects of the buck converter:  Input impedance  Output impedance  Magnitude and phase margin  Zero frequency  Output power  Output current  Plot the natural response for the output voltage  Zero poles  Phase of transfer function  Stable circuit  Unstable circuit  Input impedance for varying loads resistance (R)  Under damped  Over damped  Critical damp NOTE: The simulations that follow are intended to be completed with MATLAB®. It is assumed that the student has a fundamental understanding of the operation of MATLAB®. MATLAB® provides tutorials for users that are not experienced with its functions. In this lab you will learn how to write a function to varying, calculating and plotting the input impedance, current and output voltage of the series RLC resonant tank circuit. You can define your own function in MATLAB. A function must start with a line. Function return-value = function-name (arguments) Page 2 of 27
  • 3. So that MATLAB will recognize it as a function. Each function must have its own file and the file must have the same as the function. PROCEDURE: Part 1: Write a function to calculate the total input impedance of series RLC resonant circuit as shown in Figure 1. Vm is a variable voltage. Set to 1 volts L is a variable inductor. Set to 1000µH. R is a variable ideal resistor. Set to 200Ω. C is a variable ideal capacitor. Set to 40pF. Page 3 of 27
  • 4. Figure 1: The input impedance of series RLC tank circuit. Once the above m file is captured, the simulations can be run. First, go to your directory. Find your m file and then run your file. If there is a red message on Page 4 of 27
  • 5. your MATLAB window, then you need to correct your error. Otherwise, you will see the solution as show in figure 2. Page 5 of 27
  • 6. Figure2: The output of input impedance of series RLC tank circuit. Next, plot the total input of the series resonant RLC tank circuit. Write another function to calculate the total input current of series RLC tank circuit as shown in Figure 3. All the initial variables and values are remain the same. Vm is a variable voltage. Set to 1 volts L is a variable inductor. Set to 1000µH. R is a variable ideal resistor. Set to 200Ω. C is a variable ideal capacitor. Set to 40pF Page 6 of 27
  • 7. Figure 3: the function to calculate the total input current of series RLC tank circuit Once the above function file is captured, the simulations can be run. First, go to your directory. Find your function file and then run your file. If there is a red message on your MATLAB window, then you need to correct your error. Otherwise, you will see the solution as show in figure 4. Page 7 of 27
  • 9. Figure 4: the output and plot of the total input current of series RLC tank circuit Now write a function to varying R of the input impedance of series RLC resonant circuit. By adding an array of Resistors (R) value. Again all the initial variables and values are remain the same. Vm is a variable voltage. Set to 1 volts L is a variable inductor. Set to 1000µH. R is a variable ideal resistor. Set to 200Ω. Page 9 of 27
  • 10. C is a variable ideal capacitor. Set to 40pF Write a loop function to do the varying resistors value, calculate and plot the output of total input impedance of series RLC resonant circuit. When the function to varying R of the input impedance of series RLC resonant circuit function file is captured, the simulations can be run. If there is any error message on your MATLAB windows, then correct your error and then rerun the simulation. Otherwise, you will see the result as show below Page 10 of 27
  • 11. Figure 5: A function of the input impedance of series RLC resonant circuit with varying Resistor Page 11 of 27
  • 12. Figure 6: Output of the input impedance of series RLC resonant circuit with varying Resistor Now write a function to varying R of the input current of series RLC resonant circuit. By adding an array of Resistors (R) value. Again all the initial variables and values are remain the same. Vm is a variable voltage. Set to 1 volts L is a variable inductor. Set to 1000µH. R is a variable ideal resistor. Set to 200Ω. C is a variable ideal capacitor. Set to 40pF Write a loop function to do the varying resistors value, calculate and plot the output of total input current of series RLC resonant circuit. When the function to varying R of the input current of series RLC resonant circuit function file is captured, the simulations can be run. If there is any error message on your MATLAB windows, then correct your error and then rerun the simulation. Otherwise, you will see the result as show below Page 12 of 27
  • 13. Figure 7: A function of the input current of series RLC resonant circuit with varying Resistor Page 13 of 27
  • 15. Figure 8: Output of the input current of series RLC resonant circuit with varying Resistor Page 15 of 27
  • 16. Now write a function to varying R of the output voltage of series RLC resonant circuit. By adding an array of Resistors (R) value. Again all the initial variables and values are remain the same. Vm is a variable voltage. Set to 1 volts L is a variable inductor. Set to 1000µH. R is a variable ideal resistor. Set to 200Ω. C is a variable ideal capacitor. Set to 40pF Write a loop function to do the varying resistors value, calculate and plot the output voltage of series RLC resonant circuit. When the function to varying R of the input current of series RLC resonant circuit function file is captured, the simulations can be run. If there is any error message on your MATLAB windows, then correct your error and then rerun the simulation. Otherwise, you will see the result as show below Page 16 of 27
  • 17. Figure 9: A function of the output voltage of series RLC resonant circuit with varying Resistor Page 17 of 27
  • 18. Figure 10: This figure is shown the output voltage of series RLC resonant circuit with varying Resistor Page 18 of 27
  • 19. For Homework: You need to re-solve the parallel resonant circuit with Capacitor ESR and see its effects on the magnitude and phase plots in some detail. For example choose the ratio of the C ESR to the load resistance to be in the ratio range from 0.01 to 1. Now write m file to varying R of the natural response of current in series RLC resonant circuit. By adding an array of Resistors (R) value. Again all the initial variables are remain the same but change their values. Vm is a variable voltage. Set to 0 volts L is a variable inductor. Set to 5mH. R is a variable ideal resistor. Set to 8Ω. C is a variable ideal capacitor. Set to 200µF Io is a variable ideal of inductor current. Set to 2 amps. Vo is a variable ideal of capacitor voltage. Set to -5 volts. Write a loop function to do the varying resistors value, calculate and plot the natural response of current for series RLC resonant circuit. When the function to varying R of the natural response of current in series RLC resonant circuit file is captured, the simulations can be run. If there is any error message on your MATLAB windows, then correct your error and then rerun the simulation. Otherwise, you will see the result as show below Page 19 of 27
  • 21. Figure 11: the m file to calculate and plot the natural response of current in series RLC resonant circuit with varying Resistor Page 21 of 27
  • 22. Figure 12: This figure is shown the output of the natural responses of current in series RLC resonant circuit with varying Resistor Now write m file to varying R of the natural response of capacitor voltage in a series RLC resonant circuit. By adding an array of Resistors (R) value. Again all the initial variables are remain the same but change their values. Vm is a variable voltage. Set to 0 volts L is a variable inductor. Set to 5mH. R is a variable ideal resistor. Set to 8Ω. C is a variable ideal capacitor. Set to 200µF Page 22 of 27
  • 23. Io is a variable ideal of inductor current. Set to 2 amps. Vo is a variable ideal of capacitor voltage. Set to -5 volts. Write a loop function to do the varying resistors value, calculate and plot the natural response of capacitor voltage in a series RLC resonant circuit. When the function to varying R of the natural response of series RLC resonant circuit file is captured, the simulations can be run. If there is any error message on your MATLAB windows, then correct your error and then rerun the simulation. Otherwise, you will see the result as show below Page 23 of 27
  • 25. Figure 13: the m file to calculate and plot the natural response of current in a series RLC resonant circuit with varying Resistor Page 25 of 27
  • 27. Figure 14: the output of the natural response of capacitor voltage in a series RLC resonant circuit with varying Resistor Page 27 of 27