Robotics
Robotics
• Reachable.
• Reach the point by at least one
orientation.
• Dextrous.
Joints and Links
Joints and Links
Degree of Freedom (DOF)
6 DOF
Degree of Freedom (DOF)
1. Cartesian Robot
(PPP or 3P)
Three linear motion in X , Y and Z
Types of Robots
2. Cylindrical Robot
(RPP or R2P)
Types of Robots
3. Spherical Robot
(2RP)
Types of Robots
4. Articulated Robot
(3R)
Types of Robots
5. SCARA Robot
(3RP)
Homework 1
Robotics MATLAB
TOOLBOX
Know every function inside
the RVC tools library
Term Assignments
• Attendance – 10%
• HomeWorks. – 40%
• Final Term Project – 50%
Final Term Project – Due Week 8
3 A
5
P 5
P
1 A 3 X
A 3 X
Frame Movement
Translation Matrix
Y
P
B
A 5
B X
A 3 X
Frame Movement
Translation Matrix -2D Space
Y
Y
1 0 3
0 1 5
5
0 0 1 B X
3x3 A 3 X
Frame Movement
Translation in a 3D Transformation
Matrix Y
1 0 0 3
0 1 0 5 5
B X
0 0 1 0
0 0 0 1 A 3 X
1 0 4
0 1 5
0 0 1
>> trplot2(transl2(4,
5));
MATLAB – rotation 2D
Rotation matrix representing a rotation of theta in radians:
>> rot2(pi/2)
ans =
0.0000 -1.0000
1.0000 0.0000
Homogeneous transformation (3 ×3) representing a rotation of
theta in radians:
>> trot2(pi/2)
ans =
0.0000 -1.0000 0
1.0000 0.0000 0
0 0 1.0000
MATLAB – transformation 2D
We create a homogeneous transformation using the function se2:
which represents a translation of (1, 2) and a rotation of 30°:
>> T1=se2(2,3,60*pi/180)
T1 =
0.5000 -0.8660 2.0000
0.8660 0.5000 3.0000
0 0 1.0000
Find:
1-rotation of 180 degrees.
2-translation of (0,1).
3-translation of (-1,-1) along the
generated axis.
4-rotation of -30 along the
generated axis.
Example -1
Find:
1-rotation of 180 degrees.
2-translation of (0,1).
3-translation of (-1,-1) along the
generated axis.
4-rotation of -30 along the
generated axis.
Example -3
Example -3
Moving to 3D
• Se3(frame2D) : convert any 3x3 to 4x4 matrix
Moving to 3D
• Se3(frame2D) : convert any 3x3 to 4x4 matrix
6 DOF
Forward Kinematics
• Forward kinematics refers to process of obtaining position and
velocity of end effector, given the known joint angles and angular
velocities.
Forward Kinematics
• Forward kinematics refers to process of obtaining position and
velocity of end effector, given the known joint angles and angular
velocities.
Robotics
Lab 6 : DH- Table
Objectives
• What is a DH-table
• What are the parameters of a DH-table.
• How to form a robot with DH-table
What is a DH-table
• Denavit–Hartenberg (DH) parameters are a convention used by
robotics experts to mathematically describe the size and range of a
robot’s bones.
DH-Table parameters
DH-Table parameters
Example 1
Example 1
Example 1
Example 1
Example 2: define in MATLAB
Example 2: define in MATLAB
Example 2: define in MATLAB
Example 2: define in MATLAB
Robotics
Lab 7 : Inverse Kinematics
Inverse Kinematics
• Given the desired position and orientation of the tool relative to the
station, how do we compute the set of joint angles which will achieve
this desired result.
Inverse Kinematics -MATLAB
• We will split all proposed manipulator solution strategies into two
broad classes:
• Closed-form solution.
• Numerical solutions.
Inverse Kinematics - Closed-form
solution
• Each joint angle is calculated from the pose of the end-effector based
on a mathematical formula.
• Analytical Inverse Kinematics is mainly used for robots with low
degrees of freedom (DOF).
Inverse Kinematics -Solvability
• The problem of solving the inverse kinematic of a manipulator is a
nonlinear one.
• As with any nonlinear set of equations, we must concern ourselves
with:
• -The existence of solutions.
• -Multiple solutions.
• -The method of solution.
Inverse Kinematics -The Existence of
Solutions
• For a solution to exist, the specified goal point must lie within the
workspace.
• Types of workspace:
• Dexterous workspace: We can reach the goal point with a lot of paths.
• Reachable workspace: We can reach the goal point with one path only.
• Workspace at Joint limits.
Inverse Kinematics -Example
• Example: Find the specification of
the robot in the figure. Assume
L1 = 20, L2 = 15
Inverse Kinematics - MATLAB
Inverse Kinematics - MATLAB
Inverse Kinematics -Multiple
Solutions
• The fact that a manipulator has multiple solutions can cause
problems, because the system has to be able to choose one.
• A very reasonable choice would be the closest solution.
• In the case of the obstacle existence in the workspace, configuration avoiding
obstacle will be chosen.
Trajectory