Parallel RLC circuit complex impedance graphing

  • #1
lys04
95
4
Homework Statement
How can I graph the impedance against the frequency using a logarithmic scale for the frequency axis?
Relevant Equations
$$ Z = \frac{iwL-w^{2}RLC}{1-w^{2}LC+iwRC} $$
^^ as mentioned in the homework statement, the relevant equation is my worked out impedance for the circuit. I have attached a diagram of the circuit below.
 

Attachments

  • IMG_1022.jpeg
    IMG_1022.jpeg
    14.4 KB · Views: 1
Physics news on Phys.org
  • #3
  • #4
##Z## is complex. You want to write it as ##|Z| e^{j\phi}##. Do you know how to do that ?

##\ ##
 
  • Like
Likes FactChecker
  • #5
BvU said:
##Z## is complex. You want to write it as ##|Z| e^{j\phi}##. Do you know how to do that ?

##\ ##
Is it like this? for the branch with resistor and capacitor,
1729162523247.png


And then for the branch with just the inductor in it its just wLe^90j?

And then I need to add them together which is 1/Z = 1/Z_l + 1/Z_c?
 
  • #6
No. You already did the work to get the correct complex ##Z##.

To write it as ##|Z| e^{j\phi}## you want to use ##|Z|^2=ZZ^*## with ##Z^*## the complex conjugate.
And ##\tan\phi = \Im Z/\Re Z## (imaginary part / real part).

If ##Z= (a+jb)/(c+jd)## you get the real and imaginary part by multiplying with ##(c-jd)/(c-jd) ## (because then the denominator ##c^2-d^2## is real).

##\ ##
 
  • #7
BvU said:
If ##Z= (a+jb)/(c+jd)## you get the real and imaginary part by multiplying with ##(c-jd)/(c-jd) ## (because then the denominator ##c^2-d^2## is real).
Did you mean to say "the denominator ##c^2+d^2## is real"?
 
  • Like
Likes BvU
  • #8
Yes, thanks ! o:)

##\ ##
 
  • #9
To actually make a graph, you will need values for R, L, and C. Then you can do the complex arithmetic and get Z(w) as a complex function of w. Then, |Z(w)| is the gain and arg(Z(w)) is the phase shift of the response. You can plot the result. A Bode plot does that.
 
  • #10
BvU said:
To write it as |Z|ejϕ you want to use |Z|2=ZZ∗ with Z∗ the complex conjugate.
And tan⁡ϕ=ℑZ/ℜZ (imaginary part / real part).

If Z=(a+jb)/(c+jd) you get the real and imaginary part by multiplying with (c−jd)/(c−jd) (because then the denominator c2−d2 is real).
Alright,

I did

$$ \frac{iwL-w^{2}RLC}{1-w^2LC+iwRC} . \frac{1-w^2LC-iwRC}{1-w^2LC-iwRC}$$ which gives me $$ \frac{iwL-iw^3L^2C+w^4RL^2C^2+iw^2R^2C^2L}{(1-w^2LC)^2+(wRC)^2}$$

But this still has i's in it?
 
  • #11
lys04 said:
Alright,

I did

$$ \frac{iwL-w^{2}RLC}{1-w^2LC+iwRC} . \frac{1-w^2LC-iwRC}{1-w^2LC-iwRC}$$ which gives me $$ \frac{iwL-iw^3L^2C+w^4RL^2C^2+iw^2R^2C^2L}{(1-w^2LC)^2+(wRC)^2}$$

But this still has i's in it?
And also do I need to take square root to get |z|?
 
  • #12
You need to separate the real and imaginary parts first. This means find real numbers ##Z_1## and ##Z_2## such that $$Z=Z_1+iZ_2.$$ Then $$|Z|=\sqrt{Z_1^2+Z_2^2}.$$
 
  • #13
FactChecker said:
To actually make a graph, you will need values for R, L, and C. Then you can do the complex arithmetic and get Z(w) as a complex function of w. Then, |Z(w)| is the gain and arg(Z(w)) is the phase shift of the response. You can plot the result. A Bode plot does that.
Yeah I have values of R, L and C given to me.

Is arg(z) $$ tan(\phi) = \frac{Im(Z)}{Re(Z)} $$?
 
  • #14
kuruman said:
You need to separate the real and imaginary parts first. This means find real numbers ##Z_1## and ##Z_2## such that $$Z=Z_1+iZ_2.$$ Then $$|Z|=\sqrt{Z_1^2+Z_2^2}.$$
Okay,

real part of |z|^2 is $$ \frac{w^4RL^2C^2}{(1-w^2LC^2)^{2}+(wRC)^{2}} $$ and imaginary part is $$ \frac{wL-w^3L^2C+w^3R^2C^2L}{(1-w^2LC^2)^{2}+(wRC)^{2}}$$

And then do I need to take the square root?
 
Last edited:
  • #15
lys04 said:
Okay,

real part of |z|^2 is $$ \frac{w^4RL^2C^2}{(1-w^2LC^2)+(wRC)^2}$$ and imaginary part is $$ \frac{wL-w^3L^2C+w^3R^2C^2L}{(1-w^2LC^2)+(wRC)^2}$$

And then do I need to take the square root?
Oh wait what I got above is z1^2 and z2^2 so then I just need to take the square root of their sum?
 
  • #16
lys04 said:
Oh wait what I got above is z1^2 and z2^2 so then I just need to take the square root of their sum?
No.
If you have $$Z=\frac{iwL-iw^3L^2C+w^4RL^2C^2+iw^2R^2C^2L}{(1-w^2LC)^2+(wRC)^2},$$the real part is $$Z_1=\frac{w^4RL^2C^2}{(1-w^2LC)^2+(wRC)^2}$$and the imaginary part is $$Z_2=\frac{wL-w^3L^2C+w^2R^2C^2L}{(1-w^2LC)^2+(wRC)^2}.$$You need to find $$|Z|=\sqrt{Z_1^2+Z_2^2}.$$
 
  • #17
kuruman said:
No.
If you have $$Z=\frac{iwL-iw^3L^2C+w^4RL^2C^2+iw^2R^2C^2L}{(1-w^2LC)^2+(wRC)^2},$$the real part is $$Z_1=\frac{w^4RL^2C^2}{(1-w^2LC)^2+(wRC)^2}$$and the imaginary part is $$Z_2=\frac{wL-w^3L^2C+w^2R^2C^2L}{(1-w^2LC)^2+(wRC)^2}.$$You need to find $$|Z|=\sqrt{Z_1^2+Z_2^2}.$$
But is the first fraction you've got not |z|^2 since its ZZ*?
 
  • #18
Alright I did it anyways, does this look correct?, using x for w
1729204766252.png
 
  • #19
There are a few different ways to solve this. One way is how you are approaching it and another way is to convert it to a Laplace transformation. How are you supposed to solve this currently for your class?
 
  • #20
FactChecker said:
There are a few different ways to solve this. One way is how you are approaching it and another way is to convert it to a Laplace transformation. How are you supposed to solve this currently for your class?
Using phasors I think
 
  • Like
Likes FactChecker
  • #21
lys04 said:
Using phasors I think
Then I think your work is good. The only "knit-pick" I would mention is that you might see if your graphics tool can directly plot x on a logarithmic scale and label it appropriately.
 
  • #22
I'm trying to do this on python, neglect the fact that I'm plotting admittance instead, but why is the graph showing negative values? I don't think that's correct?
1729209795663.png
 
  • #23
By the way the solutions look like this
1729210671353.png
 

Similar threads

Replies
5
Views
1K
Replies
3
Views
2K
Replies
5
Views
1K
Replies
15
Views
5K
Replies
12
Views
5K
Replies
1
Views
2K
Replies
2
Views
939
Replies
6
Views
1K
Back
Top