Académique Documents
Professionnel Documents
Culture Documents
Laboratory Module
Demo & QA
[30 marks]
Lab Report
[30 marks]
TOTAL
[60 marks]
LABORATORY MODULE
ENT 372 / 4
ROBOTICS
EXPERIMENT 3
Basics of Trajectory Planning for Robot Arm
with Matlab
LECTURER
PLV
TECHNICIAN
GROUP
:____________
NAME:
1)_____________________________
DATE
:____________
1 / 10
MATRIC NO:
__________________
ENT372 Robotics
Laboratory Module
EXPERIMENT
Basics of Trajectory Planning for Arm Robot with Matlab
1. OBJECTIVES:
1.1 To understand the basic principle of robot arm.
1.2 To understand the kinematics and simulate using Matlab.
2 / 10
ENT372 Robotics
Laboratory Module
3.1 Introduction
Trajectory planning relates to the way a robot is moved from one location to another in a
controlled manner. A trajectory contains a sequence of movements between motion
segments, in straight-line motions, or in sequential motions. Trajectory planning requires
the use of both kinematics and dynamics of robots.
3.2 Kinematics
The kinematics of a robot can be solved using numerical or analytical approach. The
forward kinematics will enable us to determine where the robots end (hand) will be if all
joint variables are known. Inverse kinematics will enable us to calculate what each joint
variable must be if we desire that the hand be located at a particular point and have a
particular orientation.
Figure 1 shows a general structure for a three degrees of freedom (3-DOF) planar arm
robot.
b = x l3 cos
(1)
a = y l3 sin
(2)
a
b
y l3 sin
1
= tan
x l3 cos
= tan1
= cos1
l12 + c2 l22
2l1 c
(3)
(4)
3 / 10
ENT372 Robotics
Laboratory Module
= cos
l12 + l22 c2
2l1l2
(5)
where,
c=
a2 + b2
1 =
(6)
2 = ( )
(7)
3 = 1 2
(8)
xf xi
N
yf yi
y =
N
f i
=
N
(9)
x =
(10)
(11)
where, i and f are referring to the initial and final position of the trajectory. Thus, the
orientation and position of the joints can be determined by replacing back the value into
forward and inverse kinematics equations.
4 / 10
ENT372 Robotics
Laboratory Module
4. PROCEDURE:
Task: Simulate a two degrees of freedom (2-DOF) planar arm robot as shown in Figure
2. The required trajectory will be provided during laboratory session.
5 / 10
ENT372 Robotics
Laboratory Module
6 / 10
ENT372 Robotics
Laboratory Module
4.2 Programming
#
Program
Description
7 / 10
ENT372 Robotics
Laboratory Module
Instructor Approval: .
8 / 10
Date:
ENT372 Robotics
Laboratory Module
5. RESULTS
Sketch the results.
6. DISCUSSION
9 / 10
ENT372 Robotics
Laboratory Module
7. CONCLUSION
Instructor Approval: .
10 / 10
Date: