Równania obwodu:
/, +/,-/3 =0 e]-u]-u2-ua = o e2-u2-u2-u5 = o
'u2 = r2-i2 u3 =r3 h ua=r4-i{
Us=R*-i 2
Równania obwodu w zapisie macierzowym:
' 1 |
1 |
-1 |
0 |
0 |
0 |
0 |
0 " |
' 0 ' | |||
0 |
0 |
0 |
1 |
0 |
1 |
1 |
0 |
h | |||
0 |
0 |
0 |
0 |
1 |
1 |
0 |
1 |
h |
e2 | ||
*1 |
0 |
0 |
-1 |
0 |
0 |
0 |
0 |
U, |
0 | ||
0 |
*2 |
0 |
0 |
-1 |
0 |
0 |
0 |
U2 |
0 | ||
0 |
0 |
*3 |
0 |
0 |
-1 |
0 |
0 |
U, |
0 | ||
*4 |
0 |
0 |
0 |
0 |
0 |
-1 |
0 |
UA |
0 | ||
0 |
*5 |
0 |
0 |
0 |
0 |
0 |
-1 |
Us_ |
_ 0 _ |
A X = B
Plik skryptowy w programie Matlab
%Analiza obwodu pełne równania R1=20,R2=15,R3=10,R4=30,R5=25 El=12, E2=15 A= [11-100000 00010110 00001101 R1 0 0 -1 0 0 0 0 0R2 00-1000 00 R3 00-100 R4 00000 -10 0R5 00000-1]
B=[0 El E2 0 0 0 0 0]'
X=inv(A)*B
I1=X(1) ,I2=X(2) ,U1=X(4) ,U2 =X(5)
Wyniki programie Matlab X =
0.1552
0.2690
0.4241
3.1034
4.0345
4.2414
4.6552
6.7241
11 =0.1552 12 = 0.2690 Ul =3.1034 U2 = 4.0345