SlideShare ist ein Scribd-Unternehmen logo
1 von 27
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

Weitere ähnliche Inhalte

Was ist angesagt?

Rectifiers (ac dc)
Rectifiers (ac dc) Rectifiers (ac dc)
Rectifiers (ac dc) Taimur Ijaz
 
Transistor and it's working principle
Transistor and it's working principleTransistor and it's working principle
Transistor and it's working principleEkram Bin Mamun
 
Methods of voltage control
Methods of voltage controlMethods of voltage control
Methods of voltage controlv Kalairajan
 
Separation of losses in a dc shunt motor
Separation of losses in a dc shunt motorSeparation of losses in a dc shunt motor
Separation of losses in a dc shunt motorsuresh shindhe
 
Analysis of Phasor Diagram
Analysis of Phasor Diagram Analysis of Phasor Diagram
Analysis of Phasor Diagram Abhishek Choksi
 
Superposition theorem
Superposition theoremSuperposition theorem
Superposition theoremRajni Maurya
 
Fundamentals of Power Electronics - R. W. Erickson.pdf
Fundamentals of Power Electronics - R. W. Erickson.pdfFundamentals of Power Electronics - R. W. Erickson.pdf
Fundamentals of Power Electronics - R. W. Erickson.pdfGollapalli Sreenivasulu
 
Diodes and rectifiers
Diodes and rectifiersDiodes and rectifiers
Diodes and rectifiersAnkit Dubey
 
Power electronics Phase Controlled Rectifiers - SCR
Power electronics   Phase Controlled Rectifiers - SCRPower electronics   Phase Controlled Rectifiers - SCR
Power electronics Phase Controlled Rectifiers - SCRBurdwan University
 
Resonance in electrical circuits – series resonance
Resonance in electrical circuits – series resonanceResonance in electrical circuits – series resonance
Resonance in electrical circuits – series resonancemrunalinithanaraj
 
Ideal Transformers
           Ideal Transformers           Ideal Transformers
Ideal Transformersmasum heera
 
Series & shunt compensation and FACTs Devices
Series & shunt compensation and FACTs DevicesSeries & shunt compensation and FACTs Devices
Series & shunt compensation and FACTs Deviceskhemraj298
 
armature reaction effect and minimization methods
armature reaction effect and minimization methodsarmature reaction effect and minimization methods
armature reaction effect and minimization methodsNayan Solanki
 
Electronic circuit design lab manual
Electronic circuit design lab manualElectronic circuit design lab manual
Electronic circuit design lab manualawais ahmad
 
Full Wave Rectifier Circuit Working and Theory
Full Wave Rectifier Circuit Working and TheoryFull Wave Rectifier Circuit Working and Theory
Full Wave Rectifier Circuit Working and Theoryelprocus
 

Was ist angesagt? (20)

Rectifiers (ac dc)
Rectifiers (ac dc) Rectifiers (ac dc)
Rectifiers (ac dc)
 
Transistor and it's working principle
Transistor and it's working principleTransistor and it's working principle
Transistor and it's working principle
 
Methods of voltage control
Methods of voltage controlMethods of voltage control
Methods of voltage control
 
Separation of losses in a dc shunt motor
Separation of losses in a dc shunt motorSeparation of losses in a dc shunt motor
Separation of losses in a dc shunt motor
 
1. rc rl-rlc
1. rc rl-rlc1. rc rl-rlc
1. rc rl-rlc
 
Bode plot
Bode plot Bode plot
Bode plot
 
Analysis of Phasor Diagram
Analysis of Phasor Diagram Analysis of Phasor Diagram
Analysis of Phasor Diagram
 
Superposition theorem
Superposition theoremSuperposition theorem
Superposition theorem
 
Fundamentals of Power Electronics - R. W. Erickson.pdf
Fundamentals of Power Electronics - R. W. Erickson.pdfFundamentals of Power Electronics - R. W. Erickson.pdf
Fundamentals of Power Electronics - R. W. Erickson.pdf
 
Diodes and rectifiers
Diodes and rectifiersDiodes and rectifiers
Diodes and rectifiers
 
Power electronics Phase Controlled Rectifiers - SCR
Power electronics   Phase Controlled Rectifiers - SCRPower electronics   Phase Controlled Rectifiers - SCR
Power electronics Phase Controlled Rectifiers - SCR
 
Skin effect
Skin effectSkin effect
Skin effect
 
Resonance in electrical circuits – series resonance
Resonance in electrical circuits – series resonanceResonance in electrical circuits – series resonance
Resonance in electrical circuits – series resonance
 
Unit 2 resonance circuit
Unit 2 resonance circuitUnit 2 resonance circuit
Unit 2 resonance circuit
 
Ideal Transformers
           Ideal Transformers           Ideal Transformers
Ideal Transformers
 
Series & shunt compensation and FACTs Devices
Series & shunt compensation and FACTs DevicesSeries & shunt compensation and FACTs Devices
Series & shunt compensation and FACTs Devices
 
armature reaction effect and minimization methods
armature reaction effect and minimization methodsarmature reaction effect and minimization methods
armature reaction effect and minimization methods
 
Electronic circuit design lab manual
Electronic circuit design lab manualElectronic circuit design lab manual
Electronic circuit design lab manual
 
Ac single phase
Ac single phaseAc single phase
Ac single phase
 
Full Wave Rectifier Circuit Working and Theory
Full Wave Rectifier Circuit Working and TheoryFull Wave Rectifier Circuit Working and Theory
Full Wave Rectifier Circuit Working and Theory
 

Andere mochten auch

Matlab solving rlc circuit
Matlab solving rlc circuitMatlab solving rlc circuit
Matlab solving rlc circuitAmeen 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 modelingIndra S Wahyudi
 
lcr circuit implementation using matlab
lcr circuit implementation using matlablcr circuit implementation using matlab
lcr circuit implementation using matlabSunny Choudhary
 
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 circuita-mairu
 
236793460 ee6361-electric-circuit-lab-docx
236793460 ee6361-electric-circuit-lab-docx236793460 ee6361-electric-circuit-lab-docx
236793460 ee6361-electric-circuit-lab-docxhomeworkping3
 
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 scriptsAmeen San
 
COMP 4010 Lecture10: AR Tracking
COMP 4010 Lecture10: AR TrackingCOMP 4010 Lecture10: AR Tracking
COMP 4010 Lecture10: AR TrackingMark Billinghurst
 
SERIES RESISTOR-CAPASITOR CIRCUIT experiment 7
SERIES RESISTOR-CAPASITOR CIRCUIT experiment 7SERIES RESISTOR-CAPASITOR CIRCUIT experiment 7
SERIES RESISTOR-CAPASITOR CIRCUIT experiment 7Karimi LordRamza
 
Rlc circuits and differential equations1
Rlc circuits and differential equations1Rlc circuits and differential equations1
Rlc circuits and differential equations1Ghanima Eyleeuhs
 
Matlab for Electrical Engineers
Matlab for Electrical EngineersMatlab for Electrical Engineers
Matlab for Electrical EngineersManish 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 motorIIT Roorkee
 

Andere mochten auch (14)

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
 
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
 

Ähnlich wie 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 MATLABMinh Anh Nguyen
 
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 KawareProf. Swapnil V. Kaware
 
Integrated circuit unit 2 notes
Integrated circuit unit 2 notesIntegrated circuit unit 2 notes
Integrated circuit unit 2 notesVINOD YADAV
 
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.pptLiewChiaPing
 
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.ppthappycocoman
 
White paper pi 11012011
White paper pi 11012011White paper pi 11012011
White paper pi 11012011Hany 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
 
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 ControllerIJERA Editor
 
Alternating current circuits
Alternating current circuitsAlternating current circuits
Alternating current circuitscse1014
 
Ece 523 project – fully differential two stage telescopic op amp
Ece 523 project – fully differential two stage telescopic op ampEce 523 project – fully differential two stage telescopic op amp
Ece 523 project – fully differential two stage telescopic op ampKarthik Rathinavel
 

Ähnlich wie 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
 
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
 
Ece 523 project – fully differential two stage telescopic op amp
Ece 523 project – fully differential two stage telescopic op ampEce 523 project – fully differential two stage telescopic op amp
Ece 523 project – fully differential two stage telescopic op amp
 

Mehr von 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 2018Minh 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 DauMinh Anh Nguyen
 
Sound and Vibration Toolkit User Manual
Sound and Vibration Toolkit User ManualSound and Vibration Toolkit User Manual
Sound and Vibration Toolkit User ManualMinh 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 festivalMinh 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 CIRCUITSMinh Anh Nguyen
 
Electrocardiogram (ECG or EKG)
Electrocardiogram (ECG or EKG)Electrocardiogram (ECG or EKG)
Electrocardiogram (ECG or EKG)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 coilMinh 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 filesMinh 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 AlgorithmMinh 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 filesMinh 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 filesMinh 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 dayMinh Anh Nguyen
 

Mehr von 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
 

Kürzlich hochgeladen

This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibitjbellavia9
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...Nguyen Thanh Tu Collection
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.MaryamAhmad92
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...pradhanghanshyam7136
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxAmanpreet Kaur
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024Elizabeth Walsh
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfNirmal Dwivedi
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17Celine George
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17Celine George
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxDr. Sarita Anand
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...Nguyen Thanh Tu Collection
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - Englishneillewis46
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsMebane Rash
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...ZurliaSoop
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Jisc
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Pooja Bhuva
 

Kürzlich hochgeladen (20)

This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 

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