Professional Documents
Culture Documents
net/publication/336925739
CITATIONS READS
2 2,678
2 authors, including:
Kamal M. H. Raheem
University of Alkafeel
6 PUBLICATIONS 2 CITATIONS
SEE PROFILE
Some of the authors of this publication are also working on these related projects:
Motion Planning for Robotic Guidance System of Dental Surgery using Particle Swarm Optimization View project
All content following this page was uploaded by Kamal M. H. Raheem on 07 December 2019.
Abstract: A robotics manipulator system is a multi-link mechanical system each link is driven by an electrical
actuator individually. Most industry application uses robotics system, this system needs to be controlled
efficiently. In this study, 3-DOF serial robotic manipulator is simulated with a PID controller by using
MATLAB\Simulink. The PID controller is proposed for every single manipulator where each manipulator is
controlled independently. The performance of the 3-DOF robotic arm for trajectory tracking studies under this
controller with different trajectory and without/with external disturbance torque.
Key words: Robot arm, robotics manipulator, 3-DOF, PID, MIMO PID controller, torque
INTRODUCTION θ3
C1 -S1 0 0 1 0 0 L3
S C 0 0 0
0 1
T43 =
0
T10 = 1 1
(1) (4)
0 0 1 0 0 0 1 0
0 0 0 1 0 0 0 1
Corresponding Author: Kamal M.H. Raheem, Department of Computer Engineering Technique, Engineering College,
Alkafeel University, Al-Najaf, Iraq
410
J. Eng. Applied Sci., 15 (2): 410-414, 2020
The transformation matrix of the end effector relative Table 2: Robot parameters
to the base will be (Liu et al., 2017; Cui et al., 2010): Parameters Link 1 Link 2 Link 3
Mass (kg) 0.30 0.25 0.15
Length (m) 0.25 0.20 0.15
C123 -S123 0 L3C123 +L 2 C12 +L1C1 Moment of inertia (kgm2) 0.02 0.02 0.02
S C123 0 L3S123 +L2S12 +L1S1
T04 = 123 (5)
0 0 1 0 Table 3: Parameters of PID controllers
Variables Link 1 Link 2 Link 3
0 0 0 1
KP 18.00 18.5 19.50
KI 49.00 50.0 49.88
Kd 2.51 2.0 2.70
The Lagrangian dynamic formulation (White et al.,
1989; Yu et al., 2015) provides a means of deriving the
equations of motion from a scalar function called the control system. The main and important advantage of
Lagrangian which is defined as the difference between the PID controller is its feasibility and easy to be
kinetic and potential energy of a mechanical system. The implemented. The main equation of PID controller is
Lagrangian of a manipulator is: (Ang et al., 2005; Bingul, 2004; Allaoua et al., 2010;
Wang et al., 2006):
E , = k , -u (6) dei t 1
i t = K Pi ei t +K d
dt
+
Ki e t dt
i (11)
k , =
1
2
m*vc2 , (7) Where:
e(t) : The error function
KP : The proportional control coefficient which
The equations of motion for the manipulator are then providing control proportional to the error
given by: Kd : The derivative control coefficient which used to
E E
i = - (8) improve transient response
i i
Ki : The integral control coefficient used to reduce the
steady state errors
where, r is the n×1 vector of actuator torques:
The PID parameters are given as shown in Table 3.
d k k u
i = - + (9)
dt i i i RESULTS AND DISCUSSION
411
J. Eng. Applied Sci., 15 (2): 410-414, 2020
L1
m1
m2
L2
2
Inv [A]
(3×3) Out1m3
L3
3
Invert l1
3×3 0.02
l2 L2
Scope 3 matrix 13
0.02
M Matrix3×3 L1 1/5 1/5
M 11 0.02 Integrator Integrator 3
Matrix
M 12 Out 1 - In 1Out 1 - multiply L3 1/5 1/5
M 13 Integrator 2 Integrator 5 Scope
Stop 2 Product
Subsystem 1/5 1/5
Matrix 3×1 L1 Integrator 1 Integrator 4
m1
1
m2
L2
2
Out 1 m3
L3
3
1 Dot
2 Dot Out 1
3 Dot Out 2
Out 3
C+G Out 4
M 11 Out 5
Out 1 M 12 Out 6
M 13 Mass and lenght
Matrix 3×1
1.0
Angle (Rad)
0.8 0.8
0.6 Desired angles 0.6 Desired angles
0.4 Output angle of link 1 0.4 Output angle of link 1
0.2 Output angle of link 2
0.2 Output angle of link 2 0
0.0 Output angle of link 3 Output angle of link 3
-0.2
0 0.2 0.4 0.6 0.8 1.0 1.2 1.4 1.6 1.8 2.0 0 1 2 3 4 5 6 7 8 9 10
Onset = 0 Time (sec) Time (sec)
Fig. 4: Link angles error of 3-DOF robotics arm Fig. 7: Error in the position
Desired angles Angle of link 2
2 1.0 Angle of link 1 Angle of link 3
Disturbance torque
1
0.5
Angles (rad)
0
0
-1
-2 -0.5
-0
-1.0
0 1 2 3 4 5 6 7 8 9 10 0 5 10 15 20 25 30
Time (sec) Time (sec)
Fig. 5: External disturbance torques Fig. 8: Response of all links for desired sine angles
412
J. Eng. Applied Sci., 15 (2): 410-414, 2020
external torque
Error of link 2 angle
Disturbance
0.02 1
0.01 0
0.00 -1
-0.01 -2
-0.02
-3
-0.03
-0.04 0 5 10 15
0 5 10 15 20 25 30 Time (sec)
Time (sec)
Fig. 13: External disturbance torque with different desired
Fig. 9: Error of the trajectory angle
Unit step Angle of linke 2
1.2
1.0 Angle of linke 1 Angle of linke 3
Disturbance torque
0.8 1.0
Angle (Rad)
0.6
0.4 0.5
0.2 0.0
0.0 -0.5
-0.2
-0.4 -1.0
-0.6
-0.8 0 5 10 15
0 5 10 15 20 25 30 Time (sec)
Time (sec)
Fig. 14: Link angles with different desired angle and with
Fig. 10: External disturbance torques external disturbance
Sine wave Angle of link 2
1.0 Error of link 1
Angle of link 1 Angle of link 3
Error of angle
Fig. 11: The response for sine wave desired angles with Table 4: Maximum error response
Desired angle Max. disturbance Link 1 Link 2 Link 3
external disturbance Unit step ……. 0.150 0.180 0.175
Unit step -2 to 2 0.19 0.220 0.210
Error angle of link 1 Error angle Sinusoidal …… 0.035 0.025 0.013
Error angle of link 2 of link 3 Sinusoidal -0.75 to 1.1 0.075 0.075 0.075
0.08
Error of angle (Rad)
413
J. Eng. Applied Sci., 15 (2): 410-414, 2020
analysis of 3-DOF robotic arm has done and the dynamic Han, J., X. Li and Q. Qin, 2014. Design of two-wheeled
equations has been represented by using Lagrangian self-balancing robot based on sensor fusion
dynamic formulation. Beside the dynamic model has been algorithm. Intl. J. Autom. Technol., 8: 216-221.
simulated by using MATLAB/Simulink and controlled by Horowitz, R., W. Messner and J.B. Moore, 1991.
PID controller. The response of all links of 3-DOF Exponential convergence of a learning controller for
robotics manipulator under the PID controller is robot manipulators. IEEE. Trans. Autom. Contr., 36:
represented when the desired angles be: unit step, 890-894.
sinusoidal and unit step and sinusoidal. Jungbeck, M. and M.K. Madrid, 2001. Optimal neural
network output feedback control for robot
REFERENCES manipulators. Proceedings of the 2nd International
Workshop on Robot Motion and Control
Allaoua, B., A. Laoufi and B. Gasbaoui, 2010. RoMoCo’01 (IEEE Cat. No.01EX535), October 20,
Multi-drive paper system control based on 2001, IEEE, Bukowy Dworek, Poland, Poland,
multi-input multi-output PID controller. Leonardo ISBN:83-7143-515-0, pp: 85-90.
J. Sci., 9: 59-70. Lewis, F.L., C.T. Abdallah and D.M. Dawson, 1993.
Ang, K.H., G. Chong and Y. Li, 2005. PID control system Control of Robot Manipulators. Macmillan Pub. Co.,
analysis, design and technology. IEEE Trans. Control New York.
Systems Technol., 13: 569-576. Liu, F., G. Gao, L. Shi and Y. Lv, 2017. Kinematic
Astrom, K.J. and T. Hagglund, 1995. Pid Controllers: analysis and simulation of a 3-DOF robotic
Theory, Design, and Tuning. 2nd Edn., International manipulator. Proceedings of the 2017 3rd
Society of Automation, North Carolina, USA., International Conference on Computational
ISBN-13:978-1556175169, Pages: 343. Intelligence and Communication Technology (CICT),
Bingul, Z., 2004. A new PID tuning technique using February 9-10, 2017, IEEE, Ghaziabad, India,
differential evolution for unstable and integrating ISBN:978-1-5090-6219-5, pp: 1-5.
processes with time delay. Proceedings of the Lloyd, J.E. and V. Hayward, 1988. Kinematics of
International Conference on Neural Information common industrial robots. Robot. Auton. Syst., 4:
Processing, November 22-25, 2014, Springer, 169-191.
Berlin, Germany, ISBN:978-3-540-23931-4, pp: Wang, H., H. Qi, M. Xu, Y. Tang and J. Yao et al., 2014.
254-260. Research on the Relationship between classic
Corke, P.I., 2007. A simple and systematic approach to Denavit-Hartenberg and modified Denavit-
assigning Denavit-Hartenberg parameters. IEEE. Hartenberg. Proceedings of the 2014 7th International
Trans. Rob., 23: 590-594. Symposium on Computational Intelligence and
Craig, J.J., 2005. Introduction to Robotics Mechanics and Design (ISCID) Vol. 2, December 13-14, 2014,
Control. 3rd Edn., Pearson Education Inc., New IEEE, Hangzhou, China, ISBN:978-1-4799-7004-9,
Jersey. pp: 26-29.
Cui, Y., P. Shi and J. Hua, 2010. Kinematics analysis and Wang, J.S., Y. Zhang and W. Wang, 2006. Optimal
simulation of a 6-DOF humanoid robot manipulator. design of PI/PD controller for non-minimum phase
Proceedings of the 2010 2nd International Asia system. Trans. Instit. Measur. Contr., 28: 27-35.
Conference on Informatics in Control, Automation White, W.N., D.D. Niemann and P.M. Lynch, 1989. The
and Robotics (CAR 2010) Vol. 2, March 6-7, 2010, presentation of Lagrange’s equations in introductory
IEEE, Wuhan, China, ISBN:978-1-4244-5192-0, pp: robotics courses. IEEE. Trans. Educ., 32: 39-46.
246-249. Yamacli, S. and H. Canbolat, 2008. Simulation of a
Goldman, R., 1983. Design of an interactive manipulator SCARA robot with PD and learning controllers.
programming environment. Ph.D Thesis, Stanford Simul. Modell. Pract. Theor., 16: 1477-1487.
University, Stanford, California. Yu, Y., P. Qi, K. Althoefer and H.K. Lam, 2015.
Golnazarian, W., 1995. Time-varying neural networks for Lagrangian dynamics and nonlinear control of a
robot trajectory control. Ph.D Thesis, University of continuum manipulator. Proceedings of the 2015
Cincinnati, Cincinnati, Ohio. IEEE International Conference on Robotics and
Guo, W., R. Li, C. Cao and Y. Gao, 2015. Kinematics Biomimetics (ROBIO), December 6-9, 2015,
analysis of a novel 5-DOF hybrid manipulator. Intl. IEEE, Zhuhai, China, ISBN:978-1-4673-9675-2,
J. Autom. Technol., 9: 765-774. pp: 1912-1917.
414