SlideShare una empresa de Scribd logo
1 de 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

Más contenido relacionado

La actualidad más candente

Economic load dispatch
Economic load  dispatchEconomic load  dispatch
Economic load dispatch
Deepak John
 

La actualidad más candente (20)

Introduction
IntroductionIntroduction
Introduction
 
Economic load dispatch
Economic load  dispatchEconomic load  dispatch
Economic load dispatch
 
Introduction to Thevenin's theorem
Introduction to Thevenin's theorem Introduction to Thevenin's theorem
Introduction to Thevenin's theorem
 
Z bus building algorithm
Z bus building algorithmZ bus building algorithm
Z bus building algorithm
 
BREAKDOWN IN GASES
BREAKDOWN IN GASESBREAKDOWN IN GASES
BREAKDOWN IN GASES
 
Power control and power flow analysis
Power control and power flow analysisPower control and power flow analysis
Power control and power flow analysis
 
Relays
RelaysRelays
Relays
 
Protection & switchgear
Protection & switchgear   Protection & switchgear
Protection & switchgear
 
Power Electronics Chopper (dc – dc converter)
Power Electronics   Chopper (dc – dc converter)Power Electronics   Chopper (dc – dc converter)
Power Electronics Chopper (dc – dc converter)
 
statcom
statcomstatcom
statcom
 
Dc dc converter
Dc dc converterDc dc converter
Dc dc converter
 
Resonant Inverters
Resonant InvertersResonant Inverters
Resonant Inverters
 
20EEE659T - UNIT - 2 - POWER SYSTEM PLANNING AND RELIABILITY.pptx
20EEE659T - UNIT - 2 - POWER SYSTEM PLANNING AND RELIABILITY.pptx20EEE659T - UNIT - 2 - POWER SYSTEM PLANNING AND RELIABILITY.pptx
20EEE659T - UNIT - 2 - POWER SYSTEM PLANNING AND RELIABILITY.pptx
 
townsend's theory and ionization
townsend's theory and ionizationtownsend's theory and ionization
townsend's theory and ionization
 
Chapter 03
Chapter 03Chapter 03
Chapter 03
 
Invering and non inverting amplifiers
Invering and non inverting amplifiersInvering and non inverting amplifiers
Invering and non inverting amplifiers
 
Superposition of AC and DC sources
Superposition of AC and DC sourcesSuperposition of AC and DC sources
Superposition of AC and DC sources
 
Forward convertor
Forward convertorForward convertor
Forward convertor
 
Testing of Circuit Breakers.pptx
Testing of Circuit Breakers.pptxTesting of Circuit Breakers.pptx
Testing of Circuit Breakers.pptx
 
L11 rc triggering circuit
L11 rc triggering circuitL11 rc triggering circuit
L11 rc triggering circuit
 

Destacado

The experiment of the series resonant circuit
The experiment of the series resonant circuitThe experiment of the series resonant circuit
The experiment of the series resonant circuit
a-mairu
 
Rlc circuits and differential equations1
Rlc circuits and differential equations1Rlc circuits and differential equations1
Rlc circuits and differential equations1
Ghanima Eyleeuhs
 
Power factor improvement of an induction motor
Power factor improvement of an induction motorPower factor improvement of an induction motor
Power factor improvement of an induction motor
IIT Roorkee
 

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

Similar a MATLAB SIMULATIONS OF SERIES RESONANT CIRCUIT

SIMULATIONS LCC RESONANT CIRCUIT using MATLAB
SIMULATIONS LCC RESONANT CIRCUIT using MATLABSIMULATIONS LCC RESONANT CIRCUIT using MATLAB
SIMULATIONS LCC RESONANT CIRCUIT using MATLAB
Minh Anh Nguyen
 
White paper pi 11012011
White paper pi 11012011White paper pi 11012011
White paper pi 11012011
Hany Fahmy
 
Alternating current circuits
Alternating current circuitsAlternating current circuits
Alternating current circuits
cse1014
 

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

Más de Minh Anh Nguyen

Más 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
 

Último

Último (20)

Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
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
 
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.
 
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.
 
Plant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptxPlant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptx
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 
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
 
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
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
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
 
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
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
ICT Role in 21st Century Education & 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
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 

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