SlideShare une entreprise Scribd logo
1  sur  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

Contenu connexe

Tendances

Regulated power supply
Regulated power supplyRegulated power supply
Regulated power supplyddsshukla
 
Types of MOSFET Applications and Working Operation
Types of MOSFET Applications and Working OperationTypes of MOSFET Applications and Working Operation
Types of MOSFET Applications and Working OperationEdgefxkits & Solutions
 
Speed Control Of Single Phase Induction Motor
Speed Control Of Single Phase Induction MotorSpeed Control Of Single Phase Induction Motor
Speed Control Of Single Phase Induction MotorBhuban Chandra Mohanta
 
PASCHEN'S LAW , PASCHEN SERIES, EFFECT, IN SIMPLE LANGUAGE|BREAKDOWN IN GAS|H...
PASCHEN'S LAW , PASCHEN SERIES, EFFECT, IN SIMPLE LANGUAGE|BREAKDOWN IN GAS|H...PASCHEN'S LAW , PASCHEN SERIES, EFFECT, IN SIMPLE LANGUAGE|BREAKDOWN IN GAS|H...
PASCHEN'S LAW , PASCHEN SERIES, EFFECT, IN SIMPLE LANGUAGE|BREAKDOWN IN GAS|H...Prasant Kumar
 
Instrumentation Lab. Experiment #4 Report: Op-Amps: Integrator, Differentiato...
Instrumentation Lab. Experiment #4 Report: Op-Amps: Integrator, Differentiato...Instrumentation Lab. Experiment #4 Report: Op-Amps: Integrator, Differentiato...
Instrumentation Lab. Experiment #4 Report: Op-Amps: Integrator, Differentiato...mohammad zeyad
 
Single phase full bridge inverter
Single phase full bridge inverterSingle phase full bridge inverter
Single phase full bridge inverterNisarg Amin
 
Basics of Electric circuit theory
Basics of Electric circuit theoryBasics of Electric circuit theory
Basics of Electric circuit theoryMohsin Mulla
 
Differnce bw bjt & fet
Differnce bw bjt & fetDiffernce bw bjt & fet
Differnce bw bjt & fetZunAib Ali
 
POWER QUALITY IMPROVEMENT BY DSTATCOM
POWER QUALITY IMPROVEMENT BY DSTATCOMPOWER QUALITY IMPROVEMENT BY DSTATCOM
POWER QUALITY IMPROVEMENT BY DSTATCOMSajid Sheikh
 
Resonant circuits
Resonant circuitsResonant circuits
Resonant circuitsarjav patel
 
Unit IV Boundary Conditions
Unit IV  Boundary ConditionsUnit IV  Boundary Conditions
Unit IV Boundary ConditionsKannanKrishnana
 
Introduction to reactive power control in electrical power
Introduction to reactive power control in electrical powerIntroduction to reactive power control in electrical power
Introduction to reactive power control in electrical powerDr.Raja R
 

Tendances (20)

Regulated power supply
Regulated power supplyRegulated power supply
Regulated power supply
 
Electrical Network Topology
Electrical Network TopologyElectrical Network Topology
Electrical Network Topology
 
Types of MOSFET Applications and Working Operation
Types of MOSFET Applications and Working OperationTypes of MOSFET Applications and Working Operation
Types of MOSFET Applications and Working Operation
 
A.c circuits
A.c circuitsA.c circuits
A.c circuits
 
Speed Control Of Single Phase Induction Motor
Speed Control Of Single Phase Induction MotorSpeed Control Of Single Phase Induction Motor
Speed Control Of Single Phase Induction Motor
 
Armature reaction
Armature reactionArmature reaction
Armature reaction
 
PASCHEN'S LAW , PASCHEN SERIES, EFFECT, IN SIMPLE LANGUAGE|BREAKDOWN IN GAS|H...
PASCHEN'S LAW , PASCHEN SERIES, EFFECT, IN SIMPLE LANGUAGE|BREAKDOWN IN GAS|H...PASCHEN'S LAW , PASCHEN SERIES, EFFECT, IN SIMPLE LANGUAGE|BREAKDOWN IN GAS|H...
PASCHEN'S LAW , PASCHEN SERIES, EFFECT, IN SIMPLE LANGUAGE|BREAKDOWN IN GAS|H...
 
DC GENERATOR
DC GENERATORDC GENERATOR
DC GENERATOR
 
Instrumentation Lab. Experiment #4 Report: Op-Amps: Integrator, Differentiato...
Instrumentation Lab. Experiment #4 Report: Op-Amps: Integrator, Differentiato...Instrumentation Lab. Experiment #4 Report: Op-Amps: Integrator, Differentiato...
Instrumentation Lab. Experiment #4 Report: Op-Amps: Integrator, Differentiato...
 
Single phase full bridge inverter
Single phase full bridge inverterSingle phase full bridge inverter
Single phase full bridge inverter
 
Basics of Electric circuit theory
Basics of Electric circuit theoryBasics of Electric circuit theory
Basics of Electric circuit theory
 
Power MOSFET
Power MOSFETPower MOSFET
Power MOSFET
 
Differnce bw bjt & fet
Differnce bw bjt & fetDiffernce bw bjt & fet
Differnce bw bjt & fet
 
POWER QUALITY IMPROVEMENT BY DSTATCOM
POWER QUALITY IMPROVEMENT BY DSTATCOMPOWER QUALITY IMPROVEMENT BY DSTATCOM
POWER QUALITY IMPROVEMENT BY DSTATCOM
 
Speed Controller for DC Motor
Speed Controller for DC MotorSpeed Controller for DC Motor
Speed Controller for DC Motor
 
Resonant circuits
Resonant circuitsResonant circuits
Resonant circuits
 
Unit IV Boundary Conditions
Unit IV  Boundary ConditionsUnit IV  Boundary Conditions
Unit IV Boundary Conditions
 
Introduction to reactive power control in electrical power
Introduction to reactive power control in electrical powerIntroduction to reactive power control in electrical power
Introduction to reactive power control in electrical power
 
Thyristor switched capacitor
Thyristor switched capacitorThyristor switched capacitor
Thyristor switched capacitor
 
Skin effect
Skin effectSkin effect
Skin effect
 

En vedette

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
 

En vedette (13)

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
 

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

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

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

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

Dernier

Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - Englishneillewis46
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsKarakKing
 
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
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Association for Project Management
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Pooja Bhuva
 
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
 
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
 
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
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentationcamerronhm
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxPooja Bhuva
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSCeline George
 
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
 
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
 
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
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfDr Vijay Vishwakarma
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and ModificationsMJDuyan
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxEsquimalt MFRC
 

Dernier (20)

Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
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.
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 
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...
 
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.
 
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
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
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...
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
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
 
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
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).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