EXPERIMENT 10 REPORT Phasors, Matlab and PSPICE Name(s):

advertisement
EXPERIMENT 10 REPORT
Phasors, Matlab and PSPICE
Name(s):
Use Matlab to compute the following (enter your final answers in the space provided)
I)
Express these quantities in rectangular form:
a+b
a/b
c
c+d
II) Express these quantities in polar form (magnitude and phase):
a
c/d
ab
a+c
Phasor Drill Exercises
First verify the solution to (a) in both problems above, then use Matlab to find answers to the other questions:
7.4 b)
7.4 c)
7.4 d)
7.5 b)
7.5 c)
Example:
We sometimes refer to the impedance of a capacitor or inductor as Zc or ZL. Find Zc and ZL for the circuit shown:
Given: w = 60 Hz:
Zc =
ZL =
phasor Vin =
AC Solution by Phasor Analysis
We are now ready to find phasor Vout in the circuit above. Clearly, this is an example of a voltage divider formula.
Therefore, our solution in Matlab for Vout will be similar to the voltage divider formula we developed for DC circuits:
Vout = Vin*Zc / (1000 + ZL + ZC)
And that's it!
Of course, we still need to convert back into the time domain. Enter your solution for Vout and vout below:
phasor domain Vout =
time domain vout =
We now turn to PSPICE to see how we can get independent verification of our results in Matlab.
PSPICE
solution for the demo schematic and simulation results:
Include your matlab history showing your calculations, plus your final results. Also insert pictures of your pspice
schematics and your pspice simulation results.
% I)
a
b
c
d
=
=
=
=
3 + 4i;
-5 + 6i;
polar2rect(8+45i);
polar2rect(12+250i);
a
d = a + b
c
e = c + d
%
%
%
%
%
%
%
%
a =
3 +
4i
-2 +
10i
5.6569 +
5.6569i
3.6569 +
15.657i
d =
c =
e =
% II)
% All variables are already in rectangular form. I can therefore easily use
% them with the rect2polar() function.
f
h
g
i
=
=
=
=
rect2polar(a)
rect2polar(c / d)
rect2polar(a*b)
rect2polar(a + b)
%
%
%
%
%
%
%
%
'
f =
5 +
53.13i
0.78446 -
56.31i
39.051 -
177.06i
10.198 +
101.31i
h =
g =
i =
Download