State Equations: 1st Step: Form The Equations, Full System, Reduced To Algabraic (Over DX, Y, X, U)
State Equations: 1st Step: Form The Equations, Full System, Reduced To Algabraic (Over DX, Y, X, U)
State Equations: 1st Step: Form The Equations, Full System, Reduced To Algabraic (Over DX, Y, X, U)
wxm
state equations
1st step: form the equations, full system,
reduced to algabraic (over Dx, y, x, u)
e10: i1=C1*Du1;
i1 = Du1 C1
e11: u2=R1*i2;
u2 = i2 R1
e12: i3=0;
i3 = 0
1 / 3
wienbridge.wxm
(%i13)
(%o13)
(%i14)
(%o14)
(%i15)
(%o15)
2 / 3
e13: u4=R2*i4;
u4 = i4 R2
e14: i5=C2*Du5;
i5 = Du5 C2
e15: u6=A*u3;
u6 = u3 A
S: [e1, e2, e3, e4, e5, e6, e7, e8, e9, e10, e11, e12, e13, e14, e15];
(%o16) [ - i4 + i3 + i2 + i1 = 0 , i4 - i5 = 0 , i6 + i5 = 0 , u1 = v1 , u2 = v1 , u3 =
v1 , u4 = v2 - v1 , u5 = v3 - v2 , u6 = v3 , i1 = Du1 C1 , u2 = i2 R1 , i3 = 0 , u4 = i4
(%i16)
R2 , i5 = Du5 C2 , u6 = u3 A ]
(%i17)
(%o17)
(%i18)
(%o18)
y: [i1, i2, i3, i4, i5, i6, u2, u3, u4, u6, v1, v2, v3];
[ i1 , i2 , i3 , i4 , i5 , i6 , u2 , u3 , u4 , u6 , v1 , v2 , v3 ]
SE:
eliminate(S, y);
[ - A ( Du1 C1 - Du5 C2 ) R1 + u1 , - A
+
+
- Du1 C1 R1 R2 u1 ( - R2 - R1 ) u1 A R1 - u5 R1 ]
3rd step: solve over Dx
(%i19)
(%o19)
(%i20)
(%o20)
(%i21)
(%o21)
SE: solve(SE,
[Du1, Du5]);
[ [ Du1 =
u1 A - u5 - u1
R1 - u1 R2
C1 R1 R2
, Du5 =
SE1: ratsimp(SE[1][1],
u1, u5);
Du1 = -
u1
R2 + 1 - A R1 + u5 R1
C1 R1 R2
SE2: ratsimp(SE[1][2],
u1, u5);
Du5 = -
u1
1 - A + u5
C2 R2
u1 A - u5 - u1
C2 R2
]]
wienbridge.wxm
3 / 3
O: [e1, e2, e3, e4, e5, e6, e7, e8, e9, e11, e12, e13, e15];
(%o22) [ - i4 + i3 + i2 + i1 = 0 , i4 - i5 = 0 , i6 + i5 = 0 , u1 = v1 , u2 = v1 , u3 =
v1 , u4 = v2 - v1 , u5 = v3 - v2 , u6 = v3 , u2 = i2 R1 , i3 = 0 , u4 = i4 R2 , u6 = u3 A ]
(%i22)
(%i23)
(%o23)
i5 =
u1
OE: solve(O,
y);
[ [ i1 =
u1
A - 1 - u5
R2
A-1
, i6 = -
R1 - R2 - u5 R1
R1 R2
u1 A - 1 - u5
R2
, i2 =
u1
R1
, i3 = 0 , i4 =
u1
A - 1 - u5
R2
, u2 = u1 , u3 = u1 , u4 = u1 ( A - 1 ) - u5 ,
u6 = u1 A , v1 = u1 , v2 = u1 A - u5 , v3 = u1 A ] ]