Professional Documents
Culture Documents
Dynamics and Control of A Robotic Arm Having Four Links
Dynamics and Control of A Robotic Arm Having Four Links
net/publication/309544658
CITATIONS READS
26 7,750
3 authors, including:
Amin A. Mohammed
King Fahd University of Petroleum and Minerals
10 PUBLICATIONS 172 CITATIONS
SEE PROFILE
All content following this page was uploaded by Amin A. Mohammed on 03 November 2016.
Abstract The manipulator control is an important problem first. In their approach for modeling and identification of a
in robotics. To work out this problem, a correct dynamic high-performance robot control, Kostic et al. [2] highlighted
model for the robot manipulator must be in hand. Hence, this a procedure for obtaining kinematic and dynamic models
work first presents the dynamic model of an existing 4-DOF of a robot for the control design. The procedure involves
robot manipulator based on the Euler–Lagrange principle, deduction of the robot’s kinematic and dynamic models,
utilizing the body Jacobian of each link and the general- estimation of the model parameters experimentally, valida-
ized inertia matrix. Furthermore, essential properties of the tion of the model and identification of the remaining robot
dynamic model are analyzed for the purpose of control. Then, dynamics, which should not be ignored if robustness and
a PID controller is designed to control the position of the high-performance robot operation are required. Finally, a
robot by decoupling the dynamic model. To achieve a good straightforward and efficient estimation of parameters of the
performance, the differential evolution algorithm is used for rigid-body dynamics model that includes friction effects is
the selection of parameters of the PID controller. Feedback suggested. With these additional dynamics available, more
linearization scheme is also utilized for the position and tra- advanced feedback control designs become possible.
jectory tracking control of the manipulator. The obtained In [3], Long et al. showed the model and simulation of a
results reveal that the PID control coupled with the dif- test system for an articulated robotic arm. They designed the
ferential evolution algorithm and the feedback linearization test system of smaller volume for the articulated robotic arm
control enhance the performance of the robotic manipulator. and then developed the mathematical model of the system.
It is also found out that increasing masses of manipulator The mathematical model of the robot allowed for the MAT-
links do not affect the performance of the PID position con- LAB numerical simulation and PID optimization. According
trol, but higher control torques are required in these cases. to the results, the system carries advantages of strong driving
capability and high positioning accuracy for the hydraulic
Keywords Robot control · PID · Differential evolution · and motor drive systems.
Feedback linearization Beside their uses in various industries [4–6], robotics has
also applications in biologic and medical fields, where it
1 Introduction is used to help disabled people to perform necessary liv-
ing activities. Methods for kinematic modeling of robotics
Obtaining the correct dynamic model of a robot is a nec- and biological systems were given in [7]. Strategies were
essary step for its control [1]. In other words, to achieve developed to automatically produce kinematic models for
a proper control, a valid dynamic model must be obtained the movements of biological and robotic systems. Particular
attention was given to build a wheelchair-mounted robotic
B H. M. Al-Qahtani arm to be utilized by children with quadriplegia. The move-
qahtanih@kfupm.edu.sa ment of the system was approximated with an open kinematic
1 chain. Two identification methods were adopted to automati-
Mechanical Engineering Department, King Fahd University
of Petroleum & Minerals, Dhahran 31261, Kingdom of Saudi cally generate kinematic models and tested with a planar RR
Arabia robotic arm. While the first method requires the elimination
123
Arab J Sci Eng
123
Arab J Sci Eng
⎡ ⎤
Thus, the Lagrangian becomes 0 l2 s34 + l3 s4 l3 s4 0
⎢ l3 c23 + l2 c2 + r4 c234 0 0 0 ⎥
⎢ ⎥
⎢0 r4 + l2 c34 + l3 c4 r 4 + l 3 c4 r4 ⎥
n J4 = ⎢
⎢ s234
⎥
1 T ⎢ 0 0 0 ⎥⎥
L(θ, θ̇ ) = (K i (θ, θ̇ ) − Vi (θ )) = θ̇ D(θ )θ̇ − V (θ ). ⎣0 −1 −1 −1 ⎦
2
i=1 c234 0 0 0
(5) (10)
For control purposes, it is common and more practical to where ri stands for distance of the ith link to its mass center,
rewrite the Euler–Lagrangian dynamic model of the robot in si = sin θi , ci = cos θi , si j = sin(θi + θ j ), si jk = sin(θi +
compact or matrix form as follows θ j + θk ) and so on. Elements of the symmetric inertia matrix
D are computed as follows
D(θ )θ̈ + C(θ, θ̇ )θ̇ + g(θ ) = τ (6)
D11 = I x2 s22 + I x3 s23
2
+ I x4 s234
2
+ Iz1 + Iz2 c22
where τ is the vector of actuator torques, g(θ ) is the vector of + Iz3 c23
2
+ Iz4 c234
2
+ m 2 r22 c22 + m 3 (r3 c23 + l2 c2 )2
gravity forces and the matrix C(θ, θ̇ ) is called the Coriolis + m 4 (l3 c23 + l2 c2 + r4 c234 )2
term for the manipulator given by D12 = 0, D13 = 0, D14 = 0
D22 = I y2 + I y3 + I y4 + m 2 r22 + m 3l22 s32 + m 3 (r3 + l2 c3 )2
1 ∂ Di j ∂ Dik ∂ Dk j
C(θ, θ̇ ) = Γi jk θ̇k = + − θ̇k . (7) + m 4 (l2 s23 + l3 s4 )2 + m 4 (r4 + l2 c34 + l3 c4 )2
2 ∂θk ∂θ j ∂θi
D23 = I y3 + I y4 + m 3r3 (r3 + l2 c3 ) + m 4 l3 s4 (l2 s23 + l3 s4 )
In Eqs. (6) and (7), D is a square matrix of the size 4 × + m 4 (r4 + l3 c4 )(r4 + l2 c34 + l3 c4 )
4, C, g and τ are column vectors of the size 4 × 1. To find D24 = I y4 + m 4 r4 (r4 + l2 c34 + l3 c4 )
the inertia matrix D using Eq. (3), we need to know the body D33 = I y3 + I y4 + m 3r32 + m 4 l32 s42 + m 4 (r4 + l3 c4 )2
Jacobian for every link. By attaching a coordinate frame at
D34 = I y4 + m 4 r4 (r4 + l3 c4 )
the mass center of each link, the generalized inertia matrix
Mi simplifies to the following diagonal matrix D44 = I y4 + m 4 r42 . (11)
where the Jacobian matrix J corresponding to each link is where h i is the height of the mass center of the i th link given
given by by
⎡ ⎤ ⎡ ⎤
0 0 0 0 0 0 0 0 h 1 (θ ) = r1 , h 2 (θ ) = l1 + r2 sinθ2 ,
⎢0 0 0 0⎥ ⎢ r 2 c2 0 0 0⎥
⎢ ⎥ ⎢ ⎥ h 3 (θ ) = l1 + l2 sinθ2 + r3 sin(θ2 + θ3 )
⎢0 0 0 0⎥ ⎢ 0⎥
J1 = ⎢ ⎥ , J2 = ⎢ 0 r2 0 ⎥,
⎢0
⎢ 0 0 0⎥⎥
⎢ s2
⎢ 0 0 0⎥⎥
h 4 (θ ) = l1 + l2 sinθ2 + l3 sin(θ2 + θ3 )
⎣0 0⎦ ⎣ 0 −1 0⎦
0 0 0 + r4 sin(θ2 + θ3 + θ4 ).
1 0 0 0 c2 0 0 0
⎡ ⎤
0 l2 s3 0 0 According to the derived model with the symmetric inertia
⎢ r3 c23 + l2 c2 0 0 0⎥
⎢ ⎥ matrix obtained above, there is no dynamic interaction due to
⎢ 0 r 3 + l 2 c3 r3 0⎥
J3 = ⎢
⎢
⎥ acceleration between the first link and the other three planar
⎢ s23 0 0 0⎥⎥
⎣ 0 −1 −1 0⎦ links. The only interaction is due to the nonlinear Coriolis
c23 0 0 0 and centrifugal forces.
123
Arab J Sci Eng
The PID control law is given by ξ ∗ = K I−1 [D(θd )θ̈d + C(θd , θ̇d )θ̇d + g(θd )]
d θd θ̇d
= .
τ = K P θ̃ + K I θ̃ dt + K D θ̃˙ (14) dt θ̇d D(θd )−1 [τ − C(θd , θ̇d )θ̇d − g(θd )]
123
Arab J Sci Eng
Fig. 2 Responses for PID control (manual tuning), Case 1 Fig. 3 Control signals for PID control (manual tuning), Case 1
⎡ ⎤
650 0 0
0
⎢0 400 0 ⎥
0
KP = ⎢
⎣0
⎥,
0 0 ⎦
800
0 0 0
500
⎡ ⎤
180 0 0 0
⎢0 350 0 0 ⎥
KI = ⎢
⎣0
⎥,
0 903 0 ⎦
0 0 0 730
⎡ ⎤
150 0 0 0
⎢0 160 0 0 ⎥
KD = ⎢
⎣0
⎥.
0 900 0 ⎦
0 0 0 420
123
Arab J Sci Eng
123
Arab J Sci Eng
123
Arab J Sci Eng
4 Feedback Linearization
Fig. 11 Desired/final position, Case 2 After defining the tracking error as θ̃ = θ − θd , the control
law u can be shown to become [21]
u = θ̈d − 2λθ̃˙ − λ2 θ̃
Table 1 Summary of results
(20)
Case θi θf Overshoot Settling Rise
(%) time (s) time (s) where λ > 0 leads to an exponentially stable closed-loop sys-
I 0 30 2.2904 0.3988 0.0562 tem, because the closed-loop error dynamics can be derived
0 30 1.5257 0.0974 0.0582 from Eqs. (19) and (20) as
0 30 2.8776 0.6545 0.0631
0 30 4.2763 1.0815 0.0638 θ̃¨ + 2λθ̃˙ + λ2 θ̃ = 0. (21)
II 30 60 0.9236 0.0749 0.0418
30 60 0.8879 0.0952 0.0572 The closed-loop system model in the view of Eqs. (6) and
30 60 1.9530 0.9791 0.0608
(19) then becomes
30 60 1.6189 0.7946 0.0642
D(θ )u + c(θ, θ̇ )θ̇ + g(θ ) = τ (22)
123
Arab J Sci Eng
123
Arab J Sci Eng
5.1 Performance of PID Position Control under Varying heavier links are expected to require higher control torques
Masses in order to overcome effects of the gravity and inertia forces,
evident in Fig. 17. The problem of high torque requirement
Without loss of generality, masses of the robotic arms are can be alleviated by adjusting the PID tuning parameters, but
increased up to 7 times of their original values. Due to sim- usually at the expense of control performance.
ilarities, only results of Case 1 are presented. It is assumed
that the external forces acting on the robot can be added 5.2 Performance of FBL Position Control under
directly as weights acting at the center of gravity of each link Varying Masses
to simplify the analysis. Therefore, each time the mass is
changed, the corresponding inertia tensor is calculated. Fig- Analysis is performed with the same assumptions as the PID
ure 16 shows that the joint angle θ1 responses of the PID control Case 1. Figure 18 for θ1 indicates that the FBL con-
control are almost identical for different masses, indicating trol leads to closed-loop results that are very close to each
that the performance of the PID control is not affected by other for different masses. Therefore, as above, it can be
changing masses of the manipulator links. The other joint concluded that variation in masses of robot arms does not
angles θ2 , θ3 and θ4 also yield very close results. However, greatly affect the closed-loop FBL control behavior. How-
ever, Fig. 19 shows that high control torques are needed as
the masses increase, but much less than those for the PID
control.
Fig. 16 θ1 Response of PID position control for varying masses, Fig. 18 θ1 Response of FBL position control for varying masses,
Case 1 Case 1
123
Arab J Sci Eng
References
123
Arab J Sci Eng
17. Arunachalam, V.: Optimization using di_erential evolution (2008). 20. Corke, P.I.: A computer tool for simulation and analysis: the robot-
http://ir.lib.uwo.ca/wrrr/22/ ics toolbox for MATLAB. In: Proceedings of National Conference
18. Taher, S.A.; Afsari, S.A.: Optimal location and sizing of UPQC Australian Robot Association, pp. 319–330 (1995). http://www.
in distribution networks using differential evolution algorithm. pessoal.utfpr.edu.br/winderson/arquivos/ARA95.pdf
Math. Problems Eng. 2012, 1–20 (2012). http://www.hindawi.com/ 21. Fahimi, F.: Autonomous Robots. Springer US, Boston (2009).
journals/mpe/2012/838629/ http://link.springer.com/10.1007/978-0-387-09538-7
19. Corke, P.: A robotics toolbox for MATLAB. IEEE Robot. Autom.
Mag. 3(1), 24–32 (1996)
123