4RM3 Week 1A Introduction to Robotics
4RM3 Week 1A Introduction to Robotics
Introduction:
Source: http://www.fanucrobotics.com/
2
The traditional robotic arm can be classified as Open Chain Robot or Serial Link
Robot.
It is called serial link robot because the links are driven by one motor at a time.
The first link is used to position the second link and the third link is used to position
the third link and so on.
This type of robot usually has larger work envelops and higher payload capacities.
Parallel Robots are becoming very popular due to their high speeds.
They are called Closed Chain robots (because the links are closed) or Delta Robots
(because of the triangular/delta shape) as well.
Sometimes they are called Spider robots due to the look.
The tool point of a parallel robot is driven by 3 motors located at the robot base.
The 3 motors are used to move the tool point to a new X, Y, Z position concurrently.
Up to 3 extra motors can be mounted at the tool point to form a write allowing for
yaw, pitch and roll motion on top of the X, Y, Z motion.
Usually parallel robot has smaller work envelope and lower payload capacity
(e.g. Fanuc M1 has 0.5 kg payload capacity)
3
1:15 http://www.youtube.com/watch?v=4oE_W8m48D0
2:40 http://www.youtube.com/watch?v=VJOytLqyH-A
Robot Terminologies
Joint =A joint of a robot is similar to a joint in the human body. It provides relative
motion between two parts of the body.
A 6 DOF robot can move its tool to any arbitrary position in (x, y, and z)
and any arbitrary orientation in (Rx, Ry, and Rz).
How many DOF does a human arm have (not including the fingers)?
The human arm has 7 DOF; 3 in the shoulder joint, 1 in elbow joint, and 3 in the wrist
joint.
Load Carrying Capacity = It is the load that a robot can carry and still be able to
operate without violating the other specifications (e.g. speed).
-The usual load carrying capacity of an industrial robot is from 1Kg to 22Kg.
Payload = the payload of a robot is the load carried by the robot at a given time.
Joint Types
(1) Revolute/Rotational – R for short, and
(2) Prismatic (translational - P for short).
Work Envelop = the points in 3D space which the tool tip of a robot can reach.
5
To select the most suitable robot for the required accuracy to complete the
tasks at hand.
To design the work cell in such a way to minimize robot move time.
3. Spherical Robot:
Joints 1 & 2 are revolute.
Joint 3 is prismatic.
The work envelope is spherical in shape.
5. Articulated Robot:
Joints 1, 2, and 3 are all revolute.
The work envelope is complex, with a
side view cross section typically being
crescent (half-moon) shaped.
Most articulated robots has an extra 2
to 3 joint at the wrist
8
Robot Kinematics:
Kinematics is the science of motion which treats the position, velocity and
acceleration of motion without regard to the forces which cause it.
One of the objectives of robot motion control is to control the position and the
orientation of the robot tool in 3-D space.
A robot link is usually driven by a rotary motor connected to the joint.
Each joint’s position is controlled using a PID control loop using joint position
feedback.
In order to control the tool position, we have to establish mathematical relations
between the joint angles, the link lengths, and the tool tip position.
We will only be dealing with 2 DOF robots in this course (for example the first 2
links of a SCARA robot); however, techniques learned can be applied equally to
robots with more links.
Forward Kinematics:
In forward kinematics, the joint angles and link lengths are given, and the
position and orientation of the tool with respect to the base frame is
determined.
In other words, given joint space parameters, find world space information.
9
Defining Robot Joint Angles:
Robot joint angles are defined using the right hand rule: counter clockwise (CCW) is positive.
Joint 1 angle, A1, is defined with respect to the X axis on the base frame.
Joint 2 angle, A2, is defined with respect to the center axis of link 1, L1.
The joint tip location of link 1, (X1, Y1), with respect to the base frame is simply:
o X1 = L1 Cos(A1)
o Y1 = L1 Sin(A1)
The joint tip location of link 2, (X2, Y2), with respect to link 1 tip is:
o X2 = L2 Cos(A1+A2)
o Y2 = L2 Sin(A1+A2)
The overall tool tip location, (X, Y), with respect to the base frame is:
o X = X1 + X2 = L1 Cos(A1) + L2 Cos(A1+A2)
o Y = Y1 + Y2 = L1 Sin(A1) + L2 Sin (A1+A2)
o This is simply a vector going from (0,0) to the tool tip (X,Y).
Inverse Kinematics:
10
In inverse kinematics, the position and orientation of the tool with respect to the base
frame and the link lengths are given, the joint angles are to be determined.
In general, this is a more complicated problem. However, this is a more useful problem to
solve for robot control because in everyday application, we are more interested in
positioning a robot tool in a particular position in world space X, Y & Z coordinates for part
manipulation.
Now that we have established the forward kinematics solution for the 2 DOF robot, we can
proceed to determine the inverse kinematics solution. The objective is to solve for the
joint angles, A1 and A2 (the unknowns), respectively using the forward kinematics
equations:
Squaring [1]:
X2 = L12Cos2 A1 + 2(L1 CosA1)(L2 Cos(A1+A2)) + L22Cos2 (A1+A2)
X2 = L12Cos2 A1 + 2L1 L2 CosA1 Cos(A1+A2) + L22Cos2 (A1+A2) ----------[3]
Squaring [2]:
Y2 = L12Sin2 A1 + 2(L1 SinA1)(L2 Sin(A1+A2)) + L22Sin2 (A1+A2)
Y2 = L12Sin2 A1 + 2L1 L2 Sin A1 Sin(A1+A2) + L22Sin2 (A1+A2) ------------[4]
[3] + [4]:
X2 +Y2 = L12 [Cos2 A1 + Sin2 A1] + 2L1 L2 [CosA1 Cos(A1+A2) + Sin A1 Sin(A1+A2)] +
L22[Sin2 (A1+A2) + Cos2 (A1+A2)] ---------------------------------------[5]
To solve for joint angle A1, we have to make use of the following formulas from Grade 13 Algebra:
From [10]:
Sin A1 = [(L1+L2 Cos A2) Cos A1 –X)/ (L2Sin A2)] ------------------------------[12]
Y L2 SinA2 – (L2 Sin A2)2 Cos A1 = (L1+L2Cos A2)2 Cos A1 – (L1+L2 Cos A2) X
Y L2 SinA2 + (L1+L2 Cos A2) X = (L1+L2Cos A2)2 Cos A1 + (L2 Sin A2)2 Cos A1
Y L2 SinA2 + (L1+L2 Cos A2) X = [(L1+L2Cos A2)2 + (L2 Sin A2)2 ] Cos A1
Therefore:
Cos A1 = [Y L2 SinA2 + (L1+L2 Cos A2) X] / [(L1+L2Cos A2)2 + (L2 Sin A2)2] ---[13]
A1 = +/- ArcCos{ [Y L2 SinA2 + (L1+L2 Cos A2) X] / [(L1+L2Cos A2)2 + (L2 Sin A2)2]}--[14]
When substitute the –ve A2 angle from [7] into [14], we get the “Left Arm Solution”.
When substitute the +ve A2 angle from [7] into [14], we get the “Right Arm Solution”.
For each A2 angle entered into this equation, two solutions will be generated. Human judgment is
required to check whether the +ve or –ve result yields the true solution. The incorrect solution needs
to be rejected.
12
Example 1: Forward Kinematics
A 2 DOF planar robot has two rotary joints. The link length for joint 1 and joint 2 are both 400
mm. Determine the tool point World Position on the X-Y plane if the joint angles A1 = 80 deg and
A2 = -135 deg.
Solution: Apply the forward kinematics equations:
Solution:
Substitute everything into A2 = +/- ArcCos[(X2 +Y2- L12 – L22)/ (2L1 L2)] and get
A2 = +/- 112.02 deg.
For Left Arm Solution: Sub A2 = - 112.02 into A1 = +/- ArcCos{ [Y L2 SinA2 + (L1+L2 Cos A2) X]
/ [(L1+L2Cos A2)2 + (L2 Sin A2)2]} to calculate A1.
We got2 possible solutions: A1 = + 150.55 deg or = - 150.55 deg.
Sketch a robot arm and we can see that (-150.55, - 112.02) deg is the left arm solution that will
bring the robot to desired (X, Y) location. (Or sub into the
We rejected A1 = +150.55 deg as a solution.
For Right Arm Solution: Sub A2 = +112.02 into A1 = +/- ArcCos{ [Y L2 SinA2 + (L1+L2 Cos A2)
X] / [(L1+L2Cos A2)2 + (L2 Sin A2)2]} to calculate A1.
We got 2 possible solutions: A1 = +97.42 deg or A1 = -97.42 deg
By sketching a robot arm, we can see that (+97.42, + 112.02) deg is the correct right arm solution
that can bring the tool to the desired (X, Y) location.
Therefore, we rejected A1 = -97.42 deg as a solution.
End of Notes