Direct Current and Transient Analysis
171
5. V R (t) versus t, where V R (t) = Ri(t)
6. V L (t) versus t, where V L (t) = L
di(t)
____
dt
7. V C (t) versus t, where V C (t) = (
1
__
C ) ∫ i(t) dt
8. [V L (t) + V R (t)] versus t
9. [V C (t) + V R (t)] versus t
10. P R (t) versus t, where P R (t) = i
2
(t)R
11. P L (t) versus t, where P L (t) = i L (t)V L (t)
12. P C (t) versus t, where P C (t) = i C (t)V C (t)
FIGURE 2.68
Network of Example 2.22.
C = 0.5 µF
i(t )
+
−
−
L = 30 mH
R = 1000 Ω
1 2
−0.5
i (t )
t
0.5
0
MATLAB Solution
% Script file: analysis
% Analysis of RLC Series circuit
% with non DC source
echo off;
syms t;
H1 = 2/pi*sin(pi*t);
H3 = 2/(3*pi)*sin(3*pi*t);
H5 = 2/(5*pi)*sin(5*pi*t);
H7 = 2/(7*pi)*sin(7*pi*t);
H9 = 2/(9*pi)*sin(9*pi*t);
H11 = 2/(11*pi)*sin(11*pi*t);
H13 = 2/(13*pi)*sin(13*pi*t);
H15 = 2/(15*pi)*sin(15*pi*t);
iamps = H1+H3+H5+H7+H9+H11+H13+H15;
figure(1)
ezplot(iamps,[0,3])
xlabel(‘ time ‘);ylabel(‘i(t)in amps’);
title(‘i(t) vs t’);grid on;
isquare=iamps^2;
figure(2);%part(c.2)
ezplot(isquare,[0,3])
xlabel(‘ time ‘);ylabel(‘i(t)^2’);
title(‘i(t)^2 vs t’);grid on;
CRC_47760_CH002.indd 171
CRC_47760_CH002.indd 171
7/23/2008 1:38:54 PM
7/23/2008 1:38:54 PM
Précédent

- 182/708

Suivant