Documentos de Académico
Documentos de Profesional
Documentos de Cultura
University of Jordan
Faculty of Engineering and
technology
Mechatronics Eng. Dept.
2121354
Modelling and simulation
proj.
Table of contents:
Abstract , Introduction
Page 3
Page 4
Page 5
Preliminaries
Mathematical models for the
elements of the transelevator
State space representation
Page 11
Choosing Parameters and
Page 12
obtaining the T.F. of the system
Obtaining the outputs
References
1|Page
Page 15
Page 20
-Table of Figures :
Figure 1 : a transelevtor in a automated warehouse page 3
Figure 2 : (transelevtor ) page 5
Figure 3 : motor circuit controlled by DC page 6
Figure 4 : Actuators Circuit page 7
Figure 5 : Sensor Circuit page 8
Figure 6 : Simulink page 16
Figure 7 : output response page 17
Figure 8 : states response from X1 to X6 page 18
Figure 9 : states response from X6 to X9 page 19
2|Page
1-Abstract
in this paper, we will obtain
the mathematical models of a
transelevator with a sensor and
a actuator using some
Figure 1 ( a transelevtor in a automated warehouse )
mathematical techniques.
After obtaining the mathematical model we will find its transfer functions and
find its outputs for a given parameters . Finally, the stability analysis of the
model is studied.
2-Introduction
A transelevator is a crane similar to a
Cartesian robotic arm which is moved inside of a warehouse,
this transelevator is used to move loads from one
place to another one inside of the warehouse.(Figure 1)
the structural mathematical model is used
for control application, but in order to control a system, a sensor and an actuator
are required. So this paper is interested to the mathematical model with a sensor
and an actuator of a transelevator.
It is less expensive to obtain a
mathematical model of the system than to get the measure
of all the parameters of the system.
3-Preliminaries
the Euler Lagragian method is used to obtain the mathematical model of the
transelevator. First, we need to find the kinetic energy which is the sum of the
transportational kinetic energy and the rotational kinetic energy and is given as
3|Page
follows :
Where i=1,2,3n, n is the number of links is the speed of motion for the
joint i ,
is the center of mass f the joint i and the link i, if the joint is
rotational then in this case is its inertia, is the anguler position of the joint
i , if the angular positions have different directions
where
direction
are the coordinates of the linear movement of the link i.
now we have to find the potential energy which is given as follows :
Where i=1,2,n , is the height of the center of mass of the joint and the link
I, g is the gravity acceleration.
now , as a third step, the Lagrangian is obtained as follows :
As the forth step, writing the euler-lagrang equation which will be used to find
each dynamic equation for the mathematical model :
4|Page
Figure 2 (transelevtor )
Where
of Eq.(1) are :
Where
of Eq.(1) are :
and the potential energy for the three links is given as follows :
Sunstituting Eqs.(6),(8),(10), and (11) in (3) gives the Lagrangian as follows :
5|Page
Where
and
Using the Euler Lagrange method of Eq. (4) in (12) for the joint 1 gives :
Where
Using the Euler Lagrange method of Eq. (4) in (12) for the joint 2 gives :
Where
Using the Euler Lagrange method of Eq. (4) in (12) for the joint 3 gives :
Where is the force needed to move the link 3 from the home position to
another one.
The structural mathematical model of the transelevator crane is given by Eqs.
(13), (14), and (15).
4.2 Actuator mathematical model
It is necessary to monitor and to ac
over some variables to control a
transelevator; therefor , an actuator and
a sensor are required.
Figure 3 is used to obtain the following
mathematical model of each link :
Where :
Where i=1,2,3, ,
is the current in
the motor link i, is the inductance of
the motor for the link i,
is the resistance of the motor for the link i, is the
input voltage of the motor for link i,
is the constant back emf of the motor
for the link i, is the speed of the angle of the motor of link i.
6|Page
is the voltage in the resistance for link i for the actuator circuit.
is the input voltage of the motor for the link i for the actuator circuit.
It is known that :
Where i=1,2,3, ,
current in the resistance
gives :
7|Page
(24)
(25)
Where
are the
8|Page
Equations (27), (29) , and (30) describe the dynamic behaviour of the first link.
Substituting Eq.(23) in the Eq.(14) for the second link z gives :
Substituting Eq. (17) and Eq.(22) in the Eq.(16) for i=2 gives :
(32)
Equations (31), (33), and (34) describe the dynamic behaviour of the second
link z.
Substituting Eq.(23) in the Eq.(15) and analysing the mathematical model for
the third link gives :
9|Page
Equations (35), (37), and (38) describe the dynamic behaviour of the third link
y.
Now define that :
And let us define that the inputs of our system
as follows :
,the states
10 | P a g e
Supposing
11 | P a g e
we will use matlab now to obtain our transfer functions of the system :
%defining our system
A=[0 1 0 0 0 0 0 0 0 ; 0 0 3.445899 0 0 0 0 0 0 ;0 -18060.131 -560 0 0 0 0 0 0; 0 0 0 0 1 0 0 0
0;0 0 0 0 0 1824.8175 0 0 0;0 0 0 0 21.30542 1316.337 0 0 0 ;0 0 0 0 0 0 0 1 0; 0 0 0 0 0 0 0
0 6.6667;0 0 0 0 0 0 0 -415.7126654 -602.07];
B=[0 0 0 0 ; 0 0 0 0 ; 23.529 0 0 0 ; 0 0 0 0 ;0 0 0 -9.81;0 10.406 0 0 ; 0 0 0 0 ;0 0 0 0 ; 0 0 0
33.445];
C=[0.1879 0 0 0 0 0 0 0 0 ; 0 0 0 0.05423 0 0 0 0 0 ;0 0 0 0 0 0 0.18189 0 0 ];
D=0;
%for input U1
[num1,den1]=ss2tf(A,B,C,D,1);
g11=tf(num1(1,:),den1)
15.23 s^6 - 1.088e04 s^5 - 1.262e07 s^4
----------------------------------------------
12 | P a g e
- 6.706e12 s^3
g21=tf(num1(2,:),den1)
g21 =
0
g31=tf(num1(3,:),den1)
g31 =
0
%for input U2
g12=tf(num1(1,:),den1)
g12 =
0
g22 =
1030 s^6 + 1.197e06 s^5 + 4.141e08 s^4 + 4.018e10 s^3 + 1.776e11 s^2
----------------------------------------------------------------------------------
s^9 - 154.3 s^8 - 1.166e06 s^7 - 5.355e08 s^6 - 6.683e10 s^5 - 1.744e12 s^4
- 6.706e12 s^3
g32=tf(num1(3,:),den1)
g32 =
0
%for input U3
[num1,den1]=ss2tf(A,B,C,D,3);
g13=tf(num1(1,:),den1)
g13 =
0
13 | P a g e
g23=tf(num1(2,:),den1)
g23 =
0
g33=tf(num1(1,:),den1)
g33 =
0
%for the constant g
[num1,den1]=ss2tf(A,B,C,D,4);
g14=tf(num1(1,:),den1)
g14 =
0
g24=tf(num(2,:),den1)
g24 =
-0.532 s^7 + 82.07 s^6 + 5.998e05 s^5 + 2.609e08 s^4 + 2.723e10 s^3 + 1.208e11 s^2
----------------------------------------------------------------------------------
s^9 - 154.3 s^8 - 1.166e06 s^7 - 5.355e08 s^6 - 6.683e10 s^5 - 1.744e12 s^4 - 6.706e12 s^3
g34=tf(num1(3,:),den1)
g34 =
40.56 s^6 - 3.067e04 s^5 - 2.895e07 s^4 - 4.205e09 s^3 - 9.813e10 s^2 - 0.001937 s
14 | P a g e
----------------------------------------------------------------------------------
s^9 - 154.3 s^8 - 1.166e06 s^7 - 5.355e08 s^6 - 6.683e10 s^5 - 1.744e12 s^4 - 6.706e12 s^3
The poles of our system are found by finding the roots of the denominator
We are going to find the outputs and states of the system using Simulink :
15 | P a g e
Figure 6: Simulink
16 | P a g e
outputs :
17 | P a g e
states :
18 | P a g e
19 | P a g e
7-Refrences
-Mathematical model with sensor and actuator for a transelevator
Jose de Jesu s Rubio Jaime Pacheco
J. Humberto Perez-Cruz Francisco Torres Springer-Verlag London 2012
20 | P a g e