I would like to incorporate resistor - I name it R6 in attached screenshot (which is in series with inductor and both parallel with capacitor)
into equation of LC tank's impedance. Why? Because real inductor has resistor connected in series with it.
I am including only LC impedance equation, not entire script, which calculates AC voltage gain.
// 1ST EQUATION
// produces result of AC voltage gain equation: -103.09889, which is far from peak inside bode plotter inside simulator
var ZC = 1 / (2*Math.PI*f*C);
var ZL = 2*Math.PI*f*L;
var Zlc = (ZL * ZC) / (ZL + ZC);
// 2ND EQUATION
// this one produces result of AC voltage gain equation: -1373.9779, which corresponds to measured value inside bode plotter inside multisim
var Zlc = (2*Math.PI*f*L) / (1 - ((2*Math.PI*f*L)*2*Math.PI*f*C));
I don't understand why second equation works, because it is derived from first equation (I took both equations from
https://www.geeksforgeeks.org/lc-circuits/ ).
Please see attached second screenshot, to see where they are originally on website.
Increasing R6 resistor value, the AC voltage gain at resonant frequency drops down inside simulator.
Where in my second equation to put it's resistance variable, so it would reflect the simulated one?
into equation of LC tank's impedance. Why? Because real inductor has resistor connected in series with it.
I am including only LC impedance equation, not entire script, which calculates AC voltage gain.
// 1ST EQUATION
// produces result of AC voltage gain equation: -103.09889, which is far from peak inside bode plotter inside simulator
var ZC = 1 / (2*Math.PI*f*C);
var ZL = 2*Math.PI*f*L;
var Zlc = (ZL * ZC) / (ZL + ZC);
// 2ND EQUATION
// this one produces result of AC voltage gain equation: -1373.9779, which corresponds to measured value inside bode plotter inside multisim
var Zlc = (2*Math.PI*f*L) / (1 - ((2*Math.PI*f*L)*2*Math.PI*f*C));
I don't understand why second equation works, because it is derived from first equation (I took both equations from
https://www.geeksforgeeks.org/lc-circuits/ ).
Please see attached second screenshot, to see where they are originally on website.
Increasing R6 resistor value, the AC voltage gain at resonant frequency drops down inside simulator.
Where in my second equation to put it's resistance variable, so it would reflect the simulated one?
Attachments
-
339.8 KB Views: 15
-
136.9 KB Views: 15
