MATLAB SIMULATIONS OF SERIES RESONANT                   CIRCUIT       564: POWER ELECTRONICS III      COLORADO STATE UNIVE...
PURPOSE: The purpose of this lab is to simulate the LCC circuit usingMATLAB® to better familiarize the student with some o...
So that MATLAB will recognize it as a function. Each function must have its ownfile and the file must have the same as the...
Figure 1: The input impedance of series RLC tank circuit.Once the above m file is captured, the simulations can be run. Fi...
your MATLAB window, then you need to correct your error. Otherwise, you willsee the solution as show in figure 2.         ...
Figure2: The output of input impedance of series RLC tank circuit.Next, plot the total input of the series resonant RLC ta...
Figure 3: the function to calculate the total input current of series RLC tankcircuitOnce the above function file is captu...
Page 8 of 27
Figure 4: the output and plot of the total input current of series RLC tank circuitNow write a function to varying R of th...
C is a variable ideal capacitor. Set to 40pFWrite a loop function to do the varying resistors value, calculate and plot th...
Figure 5: A function of the input impedance of series RLC resonant circuit withvarying Resistor                           ...
Figure 6: Output of the input impedance of series RLC resonant circuit withvarying ResistorNow write a function to varying...
Figure 7: A function of the input current of series RLC resonant circuit withvarying Resistor                             ...
Page 14 of 27
Figure 8: Output of the input current of series RLC resonant circuit with varyingResistor                                 ...
Now write a function to varying R of the output voltage of series RLC resonantcircuit. By adding an array of Resistors (R)...
Figure 9: A function of the output voltage of series RLC resonant circuit withvarying Resistor                            ...
Figure 10: This figure is shown the output voltage of series RLC resonant circuitwith varying Resistor                    ...
For Homework:You need to re-solve the parallel resonant circuit with Capacitor ESR and see its effectson the magnitude and...
Page 20 of 27
Figure 11: the m file to calculate and plot the natural response of current inseries RLC resonant circuit with varying Res...
Figure 12: This figure is shown the output of the natural responses of current in                 series RLC resonant circ...
Io is a variable ideal of inductor current. Set to 2 amps.Vo is a variable ideal of capacitor voltage. Set to -5 volts.Wri...
Page 24 of 27
Figure 13: the m file to calculate and plot the natural response of current in a              series RLC resonant circuit ...
Page 26 of 27
Figure 14: the output of the natural response of capacitor voltage in a series                 RLC resonant circuit with v...
Upcoming SlideShare
Loading in...5
×

MATLAB SIMULATIONS OF SERIES RESONANT CIRCUIT

8,007

Published on

Published in: Education
0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
8,007
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
274
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide

MATLAB SIMULATIONS OF SERIES RESONANT CIRCUIT

  1. 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. 2. PURPOSE: The purpose of this lab is to simulate the LCC circuit usingMATLAB® to better familiarize the student with some of its operatingcharacteristics. This lab will explore some of the following aspects of the buckconverter:  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 dampNOTE: The simulations that follow are intended to be completed with MATLAB®.It is assumed that the student has a fundamental understanding of the operationof MATLAB®. MATLAB® provides tutorials for users that are not experienced withits functions.In this lab you will learn how to write a function to varying, calculating andplotting the input impedance, current and output voltage of the series RLCresonant tank circuit. You can define your own function in MATLAB. A functionmust start with a line.Function return-value = function-name (arguments) Page 2 of 27
  3. 3. So that MATLAB will recognize it as a function. Each function must have its ownfile and the file must have the same as the function.PROCEDURE:Part 1: Write a function to calculate the total input impedance of series RLCresonant circuit as shown in Figure 1.Vm is a variable voltage. Set to 1 voltsL 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. 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 yourdirectory. Find your m file and then run your file. If there is a red message on Page 4 of 27
  5. 5. your MATLAB window, then you need to correct your error. Otherwise, you willsee the solution as show in figure 2. Page 5 of 27
  6. 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 anotherfunction to calculate the total input current of series RLC tank circuit as shown inFigure 3. All the initial variables and values are remain the same.Vm is a variable voltage. Set to 1 voltsL 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. 7. Figure 3: the function to calculate the total input current of series RLC tankcircuitOnce the above function file is captured, the simulations can be run. First, go toyour directory. Find your function file and then run your file. If there is a redmessage 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
  8. 8. Page 8 of 27
  9. 9. Figure 4: the output and plot of the total input current of series RLC tank circuitNow write a function to varying R of the input impedance of series RLC resonantcircuit. By adding an array of Resistors (R) value. Again all the initial variablesand values are remain the same.Vm is a variable voltage. Set to 1 voltsL is a variable inductor. Set to 1000µH.R is a variable ideal resistor. Set to 200Ω. Page 9 of 27
  10. 10. C is a variable ideal capacitor. Set to 40pFWrite a loop function to do the varying resistors value, calculate and plot theoutput of total input impedance of series RLC resonant circuit. When thefunction to varying R of the input impedance of series RLC resonant circuitfunction file is captured, the simulations can be run. If there is any errormessage on your MATLAB windows, then correct your error and then rerun thesimulation. Otherwise, you will see the result as show below Page 10 of 27
  11. 11. Figure 5: A function of the input impedance of series RLC resonant circuit withvarying Resistor Page 11 of 27
  12. 12. Figure 6: Output of the input impedance of series RLC resonant circuit withvarying ResistorNow write a function to varying R of the input current of series RLC resonantcircuit. By adding an array of Resistors (R) value. Again all the initial variablesand values are remain the same.Vm is a variable voltage. Set to 1 voltsL 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 40pFWrite a loop function to do the varying resistors value, calculate and plot theoutput of total input current of series RLC resonant circuit. When the function tovarying R of the input current of series RLC resonant circuit function file iscaptured, the simulations can be run. If there is any error message on yourMATLAB windows, then correct your error and then rerun the simulation.Otherwise, you will see the result as show below Page 12 of 27
  13. 13. Figure 7: A function of the input current of series RLC resonant circuit withvarying Resistor Page 13 of 27
  14. 14. Page 14 of 27
  15. 15. Figure 8: Output of the input current of series RLC resonant circuit with varyingResistor Page 15 of 27
  16. 16. Now write a function to varying R of the output voltage of series RLC resonantcircuit. By adding an array of Resistors (R) value. Again all the initial variablesand values are remain the same.Vm is a variable voltage. Set to 1 voltsL 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 40pFWrite a loop function to do the varying resistors value, calculate and plot theoutput voltage of series RLC resonant circuit. When the function to varying R ofthe input current of series RLC resonant circuit function file is captured, thesimulations can be run. If there is any error message on your MATLABwindows, then correct your error and then rerun the simulation. Otherwise, youwill see the result as show below Page 16 of 27
  17. 17. Figure 9: A function of the output voltage of series RLC resonant circuit withvarying Resistor Page 17 of 27
  18. 18. Figure 10: This figure is shown the output voltage of series RLC resonant circuitwith varying Resistor Page 18 of 27
  19. 19. For Homework:You need to re-solve the parallel resonant circuit with Capacitor ESR and see its effectson the magnitude and phase plots in some detail. For example choose the ratio of the CESR 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 RLCresonant circuit. By adding an array of Resistors (R) value. Again all the initialvariables are remain the same but change their values.Vm is a variable voltage. Set to 0 voltsL 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µFIo 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 thenatural response of current for series RLC resonant circuit. When the functionto varying R of the natural response of current in series RLC resonant circuit fileis captured, the simulations can be run. If there is any error message on yourMATLAB windows, then correct your error and then rerun the simulation.Otherwise, you will see the result as show below Page 19 of 27
  20. 20. Page 20 of 27
  21. 21. Figure 11: the m file to calculate and plot the natural response of current inseries RLC resonant circuit with varying Resistor Page 21 of 27
  22. 22. Figure 12: This figure is shown the output of the natural responses of current in series RLC resonant circuit with varying ResistorNow write m file to varying R of the natural response of capacitor voltage in aseries RLC resonant circuit. By adding an array of Resistors (R) value. Again allthe initial variables are remain the same but change their values.Vm is a variable voltage. Set to 0 voltsL 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. 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 thenatural response of capacitor voltage in a series RLC resonant circuit. Whenthe function to varying R of the natural response of series RLC resonant circuitfile is captured, the simulations can be run. If there is any error message onyour MATLAB windows, then correct your error and then rerun the simulation.Otherwise, you will see the result as show below Page 23 of 27
  24. 24. Page 24 of 27
  25. 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
  26. 26. Page 26 of 27
  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

×