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?

Ferranti effect
Ferranti effectFerranti effect
Ferranti effecttarun1504
 
Series parallel resonance circuit
Series parallel resonance circuitSeries parallel resonance circuit
Series parallel resonance circuitPraveen Vaidya
 
Phasor diagram
Phasor diagramPhasor diagram
Phasor diagramragulkncet
 
Dc Choppers
Dc ChoppersDc Choppers
Dc Choppersstooty s
 
Power Electronics
Power ElectronicsPower Electronics
Power ElectronicsMirza Baig
 
Diode v i characteristic
Diode v i characteristicDiode v i characteristic
Diode v i characteristicUnsa Shakir
 
UNIT-III-Testing of DC Machines.ppt
UNIT-III-Testing of DC Machines.pptUNIT-III-Testing of DC Machines.ppt
UNIT-III-Testing of DC Machines.pptSaligantiKumar
 
V and inverted v curves of synchronous motor
V and inverted v curves of synchronous motorV and inverted v curves of synchronous motor
V and inverted v curves of synchronous motorkarthi1017
 
Silicon controlled rectifier
Silicon controlled rectifierSilicon controlled rectifier
Silicon controlled rectifierRanjith Samala
 
Parallel Inverter
Parallel InverterParallel Inverter
Parallel InverterSmit Shah
 
Induction Motor Protection Using PLC
Induction Motor Protection Using PLCInduction Motor Protection Using PLC
Induction Motor Protection Using PLCvivatechijri
 
Three phase-circuits
Three phase-circuitsThree phase-circuits
Three phase-circuitsrsamurti
 
Unit 2.Converter and Chopper fed Dc drives
Unit 2.Converter and Chopper fed Dc drivesUnit 2.Converter and Chopper fed Dc drives
Unit 2.Converter and Chopper fed Dc drivesraviarmugam
 
Phase Controlled Rectifiers
Phase Controlled RectifiersPhase Controlled Rectifiers
Phase Controlled Rectifiersmaneesh001
 
Single phase AC circuits
Single phase AC circuitsSingle phase AC circuits
Single phase AC circuitsPranav Gupta
 
Electric field intensity due to infinite line charge and infinte sheet of charge
Electric field intensity due to infinite line charge and infinte sheet of chargeElectric field intensity due to infinite line charge and infinte sheet of charge
Electric field intensity due to infinite line charge and infinte sheet of chargeDr.SHANTHI K.G
 

Was ist angesagt? (20)

igbt and its characteristics
igbt and its characteristicsigbt and its characteristics
igbt and its characteristics
 
Ferranti effect
Ferranti effectFerranti effect
Ferranti effect
 
Series parallel resonance circuit
Series parallel resonance circuitSeries parallel resonance circuit
Series parallel resonance circuit
 
Phasor diagram
Phasor diagramPhasor diagram
Phasor diagram
 
Power amplifiers
Power amplifiersPower amplifiers
Power amplifiers
 
Dc Choppers
Dc ChoppersDc Choppers
Dc Choppers
 
Power Electronics
Power ElectronicsPower Electronics
Power Electronics
 
Diode v i characteristic
Diode v i characteristicDiode v i characteristic
Diode v i characteristic
 
UNIT-III-Testing of DC Machines.ppt
UNIT-III-Testing of DC Machines.pptUNIT-III-Testing of DC Machines.ppt
UNIT-III-Testing of DC Machines.ppt
 
Load line & q point
Load line & q pointLoad line & q point
Load line & q point
 
V and inverted v curves of synchronous motor
V and inverted v curves of synchronous motorV and inverted v curves of synchronous motor
V and inverted v curves of synchronous motor
 
Silicon controlled rectifier
Silicon controlled rectifierSilicon controlled rectifier
Silicon controlled rectifier
 
Parallel Inverter
Parallel InverterParallel Inverter
Parallel Inverter
 
Induction Motor Protection Using PLC
Induction Motor Protection Using PLCInduction Motor Protection Using PLC
Induction Motor Protection Using PLC
 
Ujt
UjtUjt
Ujt
 
Three phase-circuits
Three phase-circuitsThree phase-circuits
Three phase-circuits
 
Unit 2.Converter and Chopper fed Dc drives
Unit 2.Converter and Chopper fed Dc drivesUnit 2.Converter and Chopper fed Dc drives
Unit 2.Converter and Chopper fed Dc drives
 
Phase Controlled Rectifiers
Phase Controlled RectifiersPhase Controlled Rectifiers
Phase Controlled Rectifiers
 
Single phase AC circuits
Single phase AC circuitsSingle phase AC circuits
Single phase AC circuits
 
Electric field intensity due to infinite line charge and infinte sheet of charge
Electric field intensity due to infinite line charge and infinte sheet of chargeElectric field intensity due to infinite line charge and infinte sheet of charge
Electric field intensity due to infinite line charge and infinte sheet of charge
 

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

2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptxMaritesTamaniVerdade
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
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
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
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
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxRamakrishna Reddy Bijjam
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and ModificationsMJDuyan
 
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
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
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
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024Elizabeth Walsh
 
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
 
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
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxJisc
 
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
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...Poonam Aher Patil
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfPoh-Sun Goh
 
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
 

Kürzlich hochgeladen (20)

2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
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
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
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...
 
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
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
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
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
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...
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
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
 
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...
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.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
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
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
 

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