Robotics Control L3 Part1
Robotics Control L3 Part1
Prof. S. P. Harsha
[email protected]
9917489849 (M)
2
Modeling of Robots: Coordinates Frames
• The manipulator consists of several links and joints
– Coordinated motion with constraints
3
Modeling of Robots: Coordinates Frames
• Description of object in space
• Position
• Orientation
4
Modeling of Robots: Coordinates Frames
5
Positions, orientations and frames
• The position of a point p relative to a coordinate system A
(Ap):
px ZA
A
p
A
p = py
p YA
z XA
6
Positions, orientations and frames
• The orientation of a body is described by a coordinate
system B attached to the body, relative to A (a known
coordinate system).
ZA ZB
XB YA
XA YB
7
Positions, orientations and frames
• A frame is a set of 4 vectors giving the position and
orientation.
• Example: frame B
B = A
R ,A
PB Borg
ZBZB
AAP
ZA P Borg
Borg
XX
BB
YBYB
YA
XA orientation
position
8
Coordinates Frames: Conventional 3D coordinate frame:
1 represents frame-1
In vector-matrix notation:
Direction cosines:
9
Mapping
• Three possibilities:
1. Second frame is rotated w. r. t. the first ---- orientation
2. Second frame is translated from the first --- position
3. Second frame is rotated as well as translated w. r. t. the
first (combined) ---- position & orientation
10
1. Mapping Between Rotated Frames
• Consider the two frames: Frame -1 (x, y, z) and
Frame – 2 (u, v, w)
1. Mapping Between Rotated Frames
• The problem may be posed as: “The description of point
P in frame-2 is known and its description in frame-1 is to
be found”
• We can have:
• Also,
• Thus,
2. Mapping Between Translated Frames
• Now:
• Thus:
• Finally:
3. Mapping Between Rotated and Translated Frames
• In homogeneous coordinates:
Fundamental Rotation Matrices
Principal Axes Rotation:
• “Successive rotations are performed about
the principal axes of the fixed frame”
Fundamental Rotation Matrices
Principal Axes Rotation:
• “Successive rotations are performed about
the principal axes of the fixed frame”
Fundamental Rotation Matrices
• Principal Axes Rotation: Consider the following
rotation:
• Similarly:
• In homogeneous transforms:
Fundamental Rotation Matrices
• Principal Axes Rotation:
• Rotation matrices can be multiplied together to
get sequence of finite rotations:
The order is left to right
cosθ − sinθ 0
Rotation around the Z-Axis
R z = sinθ cosθ 0
0 0 1
cosθ 0 sinθ
R y = 0 1 0 Rotation around the Y-Axis
𝟏 𝟎 𝟎
𝐑𝑋 = 𝟎 𝐜𝐨𝐬𝛉 −𝐬𝐢𝐧𝛉 Rotation around the X-Axis
𝟎 𝐬𝐢𝐧𝛉 𝐜𝐨𝐬𝛉
47
Homogeneous Matrices (H) in 3D
H is a 4x4 matrix that can describe a translation, rotation, or both in one matrix
O
1 0 0 Px
Y
0 1 0 Py
N H=
P
0 0 1 Pz
X A
Translation without rotation 0 0 0 1
Z
Y
n x ox ax 0
n oy ay 0
H= y
O
N
n z oz az 0
X 0 0 0 1
Rotation part:
Z Rotation without translation Could be rotation around z-axis,
A x-axis, y-axis or a combination of
the three.
48
The Homogeneous Matrix is a concatenation of numerous
translations and rotations
W N
Y O
W
W A
T
P
X
Z
One more variation on finding H:
49
We are interested in two kinematics topics
Forward Kinematics (angles to position)
What you are given: The length of each link
The angle of each joint
50
TYPES OF JOINTS
Forward v/s Inverse
•Forward Kinematics
– Compute configuration (pose) given individual DOF
values
• Good for simulation
•Inverse Kinematics
– Compute individual DOF values that result in
specified end effector position
• Good for control
52
What is Inverse Kinematics?
• Forward Kinematics
End Effector
Base
What is Inverse Kinematics?
• Inverse Kinematics
End Effector
Base
Description of Links
• From a geometric viewpoint, the link defines the
relative position and orientation of joint axes at its
two ends
link length
variable variable
offset di angle θi
Kinematic Modeling of the manipulator
Denavit-Hartenberg (DH) Notation
• “The definition of a manipulator with four joint-link
parameters for each link and a systematic procedure
for assigning right-handed orthonormal coordinate
frames, one to each link in an open kinematic chain,
was proposed by Denavit and Hartenberg and is
known as the Denavit - Hartenberg notation or the
DH notation”
• Base frame or inertial reference frame is frame {0}
• Tool frame is frame {n}
• Frame {i} is rigidly attached to distal end of the link
{i}
• An n-DOF manipulator will have (n+1) frames
Denavit – Hartenberg (DH) Notation
Denavit-Hartenberg Notation
• Frame {i} is attached to link {i} using following
convention:
Denavit - Hartenberg Notation
• Labeling scheme
Denavit-Hartenberg Notation
Denavit-Hartenberg Notation
Denavit-Hartenberg Notation
Denavit-Hartenberg Notation
Denavit-Hartenberg Notation
Denavit-Hartenberg Notation
• Once the frames are assigned, the joint-link parameters are
easily identified.
Kinematic Model:
For θ1 = 120° and d2 = 200 mm:
Example-2: Kinematic Model of a Cylindrical Arm
• Formulate the forward kinematic model of the 3 DOF (RPP)
manipulator arm as shown in figure:
Example-2
• Transformation Matrices:
Example-3: Articulated Arm Kinematic Model
• Formulate the forward kinematic model of the following manipulator:
Example-3
• Transformation Matrices:
Example-4: RPY wrist Kinematics
• For the following RPY wrist obtain the direct Kinematic model:
Example-4
• Transformation Matrices:
Example-5: Kinematics of a 3-DOF Polar Arm
• For the given 3-DOF Polar Arm, obtain the orientation and position
of Tool-Point P if the joint-link variable is q=[ 90° -45° 100 mm]T:
Example-5
• Transformation Matrices:
Example-6: SCARA Robot Kinematics
• For the following SCARA manipulator obtain the direct Kinematic model:
Example-6
• Transformation Matrices:
Example-6
• Kinematic Model:
•
Example-8: Stanford Robot Kinematics
For the following manipulator obtain the direct Kinematic model:
Example-8
• Joint-link Parameters:
Example-8
• Transformation Matrices:
Example-8
• Kinematic Model:
Example-8
• Kinematic Model:
❖ Sources:
❖ Internet sources
❖ Book - Robotics and control by Mittal and Nagrath
❖ Book – Mechatronics – W. Bolton
93