Escolar Documentos
Profissional Documentos
Cultura Documentos
IVEZOO
software engineering
control engineering homework
L0
Y0
0.9
1.2e-4
0.03
0.7
0.5
+
[
0
0
0
0
0 ].()= ()
0
+
/
1. Use the above expressions to get the linear state equation of the crane and the
transfer functions Wr, f (s) and Wl,(s) . Use the parameter values from Table 1 to get
the state equation and the transfer functions numerically as well. Compute the
eigenvalues and the poles!
+
[
0
0
0
0
0 ].()= () =>
0
+
/
()= [
0
0
0 1
0
0 ] . () =>
0
+
/
1
2 + 0.9 2 0.7
0
2
2
0.7
0
()= [
] . (2 (9.81) ) =>
1.2104
0
0
2+(
)
/0.03
0.032
2.9 1.4
0 1
()= [ 2 1.4
0 ] . (19.62) =>
/0.03
0
0 2.133
1.11
1.11
0
()= [1.5873 2.3016
0 ] . (19.62) =>
/0.03
0
0
0.4688
1.11 + 21.77
= +
, x= , u=( ), y=( )
()= (1.58 45.15), {
= +
15.62
( )
So now we find the values of A,B,C,D from them:
0
0
1
0
0
0
21.77 0
A= 0
0 45.15 0
0
0
0
(0
0
0
C=(1 0 0
0
1
0
0
0
0
0
0
0
0
0
0
0
0 , B= 1.11
0
1.58
0
1
0
0
( 0
0)
15.62)
0
0
0
0
0
0
1 0) , D=0
For simpler calculation we can see that the state space could be separated into
two SiSo systems:
x= so
( )
x1=( ) and
x2=( )
u=( ) so
u1=()
and
u2=()
y=( ) so
y1= ()
and
y2=( )
0
0
21.77
45.15
1
0
0
0
0
1
0 1
) , A2=(
)
0
0 0
0
0
0
0
B1=(
) , B2=(
)
1.11
15.62
1.58
C1=(1 0 0
0) , C2=(1
Wr,f (s) = 1 ( 1 )1 1 +
Wl, (s) = 2 ( 2 )1 2 +
0)
For finding Wr,f we will use the values of the first system by the matlab commands bellow:
And for finding Wl, we use the values of the second system with matlab
commands as bellow:
For finding eigen values we can use the matlab command eig(A1)and eig(A2)
and we will get:
First of all with substituting the values in the given equations we get the following results:
a=
(2+0.9)9.81
20.7
= 4.5
w0=a/2=2.25
xi=0.7
sc= -4.5
so= -9
Using this formula we will find the values of S1 and S2 (poles)using matlab as bellow:
u= -Kx
Where
As we separated two systems we will have two different K values (K1,K2) that are for
system1 and system2 and we can compute their values by matlab but first regarding to the
formula we will need to find () for both systems:
To do so we need to know the dimension of A1 and A2 which are:
Dim(A1)=4, Dim(A2)=2 so,
(1)= (s1,s2, sc, sc) we called this in matlab as phic1
(2)= (s1,s2) we called this in matlab as phic2
And now we can find the values of K1 and K2 from the ackers formula using matlab
command as bellow:
Using Simulink command in matlab we are able to construct the diagram which I have
done in the following way separately for each of systems:
sysRFss:
sysLTss:
sysLTss:
Y0= 0.5
L0= 0.7
T=1
are given.
r and r hat:
F:
As the initial value is zero we can see that we get the same graph for Y and I and I hat and
Tau as bellow:
Y:
Tau:
L and l hat:
The End.