Professional Documents
Culture Documents
Version Final
Version Final
Version Final
net/publication/358560440
CITATION READS
1 71
5 authors, including:
All content following this page was uploaded by Carlos alberto Paredes on 29 August 2022.
Abstract—Industry 4.0 has imposed new challenges and oppor- conducted in October 2020 shows that 83% of a group of
tunities to engineering education in robotics and control systems. IT leaders mentioned that improving the use of educational
The concept of the digital twin can be partially implemented tools is a priority [4], this includes the use of simulators for
with the use of virtual robots that incorporate 3D models and
numerical simulations of the dynamical behaviour. This work engineering education. Diverse studies offer reviews of the
presents the development of a virtual 3D SCARA robot which applicability of robots in education, emphasizing the main
requires an external controller for the joint and kinematic advantages of their use [5]. Virtual laboratories have been a
motion control, this was implemented as a tool for teaching and valuable educational resource particularly during the last year
learning robotics and control. The virtual 3D robot incorporates due the COVID-19 pandemic [6].
a novel numerical simulation that combines the Newton-Euler
dynamic equations with the Rayleigh energy dissipation equation Robotics and control engineering education are adapting
to consider the viscous friction. The developed virtual robot can to new distance learning paradigms by using different tools:
be implemented in a real time simulation scheme connected to an video conferences, simulations, online interactive applications,
external controller and used as an educational tool in a virtual and virtual and remote laboratories [7]–[9]. Most virtual robots
robotics laboratory. are used for teaching task oriented programming; however, for
Index Terms—SCARA, Robot Dynamic Modeling, Robot Dy- engineering education it is important to learn programming
namics with Joint Friction, Hardware-in-the-loop simulation. skills oriented to controlling robots. The teaching of control
engineering incorporated robotics into its teaching-learning
I. I NTRODUCTION process because robots can be seen as an excellent example of
interesting control problems, as in [10]–[12]. Learning robot
Robotic technology has been widely implemented in a
control can be done with digital twins in real-time simula-
variety of fields including industry, medicine and education,
tion schemes called hardware-in-the-loop (HIL), which have
among others. The mega technological trend known as Indus-
already been used in workstations to simulate applications of
try 4.0 has imposed new challenges to engineering education
interest such as the robot motor control in [13].
in robotics and control systems, particularly to incorporate
Selective Compliant Arm for Robotic Assembly (SCARA)
the concept of the digital twin that started in 2015 [1],
robots (see Fig. 1) are used for fast pick-and-place applica-
which introduces the simulation of robotic systems in different
tions, in simple words “take this and put it there”, so they
environments [2]. In the education process, technologies found
move fast but do not have the capacity to do high force works.
in Industry 4.0 have to be naturally implemented such that
These robots are “R-R-P-R” systems, which means they are
students experience the benefits and limitations of such tech-
composed by four articulated joints, one prismatic and three
nologies first hand during the learning process [3]. A survey
rotational. In Fig. 1 the joints J1 , J2 and J4 correspond to θ1 ,
This work was supported by the Consejo Nacional de Ciencia y Tecnologı́a θ2 and θ4 respectively, and J3 is a prismatic joint, d3 .
(CONACYT, Mexico). The development of a virtual robot requires the 3D modeling
TABLE I
of the joints and links of the manipulator robot; however, it is DH PARAMETERS .
desirable to incorporate a numerical simulation with a basic Link α(◦ ) a(m) d(m) Variable
dynamic behavior, this can be done at the actuator level, but L1 0 0 l1 = 0.139 θ1 ∈ [−133, 133]◦
it is preferable at the kinematic chain level. Dynamic models L2 0 l2 = 0.300 0 θ2 ∈ [−153, 153]◦
L3 180 l3 = 0.300 d d ∈ [0, 0.200]m
of the SCARA robots have some degree of error either when L4 0 0 0 θ4 ∈ [−360, 360]◦
following trajectories or when positioning the end effector to a
desired Cartesian point. There are several research works about
how to simplify the dynamic modeling of the SCARA robot, (x, y, z) and the orientation (θf ) of the end effector.
most of them based on complex methods to overcome the
conventional dynamic modelling error [15]–[17]. Due to the x =l2 cos(θ1 ) + l3 cos(θ1 + θ2 ) (1)
complexity of such system, the modeling process will become
y =l2 sin(θ1 ) + l3 sin(θ1 + θ2 ) (2)
more complicated [18]. Robot dynamic models are required to
predict both the forces and torques acting on the system and z =l1 − d (3)
those required by the actuators [19]. θf =θ1 + θ2 + θ4 (4)
Based upon the literature review, it can be stated that
a complete dynamical modelling and numerical simulation After obtaining the inverse kinematic solution it is possible
of SCARA robots are complex and time consuming. In a to compute all the combinations of the joint values that allow
virtual robot used for engineering education it is desirable the robot to reach a specified pose; however, for the dynamic
to incorporate at least a simplified dynamical behaviour, this simulation it is common to use a third-party software, like
is enough to represent a problem for robotics and control SIMCAD [20]. In this work a simplified dynamic model of
didactic purposes. This work describes the modeling and the SCARA robot is proposed n toot depend on additional
development of a virtual SCARA robot that is composed of software, this is discussed in the next section.
a 3D model with a numerical simulation of the simplified
dynamical equations. With this technological development the III. DYNAMICS OF THE SCARA ROBOT
user can design algorithms to control the SCARA robot at the
The Newton-Euler method was used in order to study
joint level and at the kinematic level which requires practicing:
the dynamics of the robot. This method consists of outward
control theory, inverse and direct kinematics, and a correct
iterations followed by inward iterations and makes use of: the
interpretation of the work space. of the SCARA robot. This
rotational matrix of frame i+1 relative to i, i+1iR ; the position
document describes the kinematic modeling of the SCARA
vector of frame i + 1 relative to i, iP i+1 ; the position vector
robot in Section II. Section III studies the dynamics of the
of the centre of mass of link i with respect to the ith reference
robot. Its implementation in real time simulation is shown
frame, iP Ci ; and the inertia tensor of link i written in frame C
in Section IV. Section V describes a HIL simulation with
(located at the link’s centre of mass with the same orientation
an external controller that uses the Modbus communication
as the ith reference frame), Ci I i .
protocol. Finally, conclusions are presented in Section VI.
The following notation is also used: iω i and iω̇ i represent
the angular velocity and acceleration of link i with respect to
II. K INEMATIC MODEL OF THE SCARA ROBOT the ith reference frame; θ̇ i and θ̈ i are the rotational velocity
and acceleration at joint i; d˙i and d¨i represent the linear
The kinematics of this robot is widely reported in the velocity and acceleration at joint i; iv̇ i and iv̇ Ci are the linear
literature [15] and can be obtained by means of the Denavit- velocities of frame i and the center of mass of link i with
Hartenberg (DH) parameters, in this work the DRS60L robot respect to frame i; iF i and iN i represent the force-balance
(see Fig. 2) and its DH parameters are shown in Table I. and torque-balance equations for link i; finally, if i and ini
With the DH parameters, it is possible to study the direct are the force and torque that link i − 1 exerts on link i with
kinematics and obtain the equations that describe the position respect to frame i.
A. Newton-Euler equations
This section presents the equations that must be computed
in the Newton-Euler method [21]. The outward iterations were
done for i : 0 → 3, the following equations are used for the
rotational joints (i = 0, 1, 3). For the prismatic joint (i = 2)
(11) and (12) are used instead of (6) and (7), respectively.
ACKNOWLEDGMENT
Thanks to the Consejo Nacional de Ciencia y Tecnologı́a
(CONACYT, Mexico) for supporting this project.
R EFERENCES
[1] M. Grieves, Digital Twin : Mitigating Unpredictable , Undesirable
Emergent Behavior in Complex Systems, March. 2018.
[2] V. Kuts, T. Otto, and Y. Bondarenko, “Digital twin based synchro-
nised control and simulation of the industrial robotic cell using vir-
tual reality gaming and another type of entertainment purposes ,
but actually , it is being used in research,” no. March, 2019, doi:
10.5604/01.3001.0013.0464.
[3] W. Grega, “Hardware-in-the-loop simulation and its application in
control education,” pp. 8–13, 1999.
[4] C. Inés and R. Tarazona, “Resignificar el rol del docente
con el uso de las tecnologı́as,” pp. 1–25, [Online]. Available:
https://repositorio.uniagustiniana.edu.co/bitstream/handle/123456789/
1727/GuevaraMejia-PabloAnilo-2021.pdf?sequence=1&isAllowed=y.
[5] E. Fabregas, G. Farias, S. Dormido-canto, S. Dormido, and F. Es-
quembre, “Developing a remote laboratory for engineering educa-
tion,” Comput. Educ., vol. 57, no. 2, pp. 1686–1697, 2011, doi:
10.1016/j.compedu.2011.02.015.
[6] M. F. J. Fox, A. Werth, J. R. Hoehn, and H. J. Lewandowski, “Teaching
labs during a pandemic : Lessons from Spring 2020 and an outlook for
the future,” pp. 1–24, 2020.
[7] S. Tselegkaridis and T. Sapounidis, “Simulators in Educational Robotics
: A Review,” 2021.
[8] J. Grodotzki, T. R. Ortelt, A. E. Tekkaya, J. Grodotzki, T. R. Or-
telt, and A. E. Tekkaya, “Remote and Virtual Labs for Engineering
Education 4.0,” Procedia Manuf., vol. 26, pp. 1349–1360, 2018, doi:
10.1016/j.promfg.2018.07.126.
[9] V. B. Gómez-pablos and A. G. Muñoz-repiso, “Project-based learning
in the classroom : a case study at High school level,” 2020.
[10] J. Broisin, R. Venant, and P. Vidal, “Lab4CE : a Remote Laboratory for
Computer Education,” 2015, doi: 10.1007/s40593-015-0079-3.
[11] W. H. B, C. Salzmann, and H. Jamkojian, “Enabling the Automatic
Generation of User Interfaces for Remote Laboratories,” vol. 1, 2018,
doi: 10.1007/978-3-319-64352-6.
[12] T. Bower ”Teaching Introductory Robotics Programming: Learning to
Program with National Instruments LabVIEW”, IEEE Robotics and
Automation Magazine, vol. 23, no. 2, pp. 67-73, June 2016.
[13] C. M. Ionescu, E. Fabregas, S. M. Cristescu, S. Dormido, and R. De
Keyser, “A Remote Laboratory as an Innovative Educational Tool for
Practicing Control Engineering Concepts,” vol. 56, no. 4, pp. 436–442,
2013.