mt411 robotic engineering asian institution of technology (ait) chapter 4 forward kinematics narong...

36
MT411 Robotic Engineering Asian Institution of Technology (AIT) Chapter 4 Forward Kinematics Narong Aphiratsakun, D.Eng

Upload: milo-white

Post on 17-Jan-2016

228 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: MT411 Robotic Engineering Asian Institution of Technology (AIT) Chapter 4 Forward Kinematics Narong Aphiratsakun, D.Eng

MT411Robotic Engineering

Asian Institution of Technology (AIT)

Chapter 4

Forward Kinematics

Narong Aphiratsakun, D.Eng

Page 2: MT411 Robotic Engineering Asian Institution of Technology (AIT) Chapter 4 Forward Kinematics Narong Aphiratsakun, D.Eng

Forward Kinematics

Kinematics is a description on motion of the manipulator without consideration of the forces and torques which cause the motion.

Forward kinematic is to determine the position and orientation of the end effector given the values for the joint variables of the manipulator.

Page 3: MT411 Robotic Engineering Asian Institution of Technology (AIT) Chapter 4 Forward Kinematics Narong Aphiratsakun, D.Eng

Kinematics Chains

Robot manipulator is composed of a set of links connected by joints.

A robot manipulator with n joints will have n+1 links.

Joint is number from 1 to n.

Links is number from 0 to n (0 is base).

Therefore joint i connects link i-1 to link i.

When joint i is actuated, link i moves, link 0 is fixed.

Page 4: MT411 Robotic Engineering Asian Institution of Technology (AIT) Chapter 4 Forward Kinematics Narong Aphiratsakun, D.Eng

2 Links manipulator

Determine the position and orientation of the end effector in term of joint variables.

1 1 2 1 2

1 1 2 1 2

cos cos( )

sin sin( )

x L L

y L L

2 0 1 2

2 0 1 2

2 0 1 2

2 0 1 2

. cos( )

. sin( )

. sin( )

. cos( )

x x

y x

x y

y y

1 2 1 22 0 2 002

2 0 2 0 1 2 1 2

cos sin. .

. . sin cos

x x y xR

x y y y

Page 5: MT411 Robotic Engineering Asian Institution of Technology (AIT) Chapter 4 Forward Kinematics Narong Aphiratsakun, D.Eng

2 Links manipulator

1

11

1 0 0

0 1 0 0

0 0 1 0

0 0 0 1

A

a

R

1 1

0 1 11

cos sin 0 0

sin cos 0 0

0 0 1 0

0 0 0 1

R

2 2

1 2 22

cos sin 0 0

sin cos 0 0

0 0 1 0

0 0 0 1

AR

2

22

1 0 0

0 1 0 0

0 0 1 0

0 0 0 1

A

a

R

0 0 1 1 22 1 1 2 2

AA A AR R R R R

[ cos(theta1)*cos(theta2) - sin(theta1)*sin(theta2), - cos(theta1)*sin(theta2) - cos(theta2)*sin(theta1), 0, L2*(cos(theta1)*cos(theta2) - sin(theta1)*sin(theta2)) + L1*cos(theta1) ;cos(theta1)*sin(theta2) + cos(theta2)*sin(theta1), cos(theta1)*cos(theta2) - sin(theta1)*sin(theta2), 0, L2*(cos(theta1)*sin(theta2) + cos(theta2)*sin(theta1)) + L1*sin(theta1) ;0, 0, 1, 0;0, 0, 0, 1]

02 AR

Page 6: MT411 Robotic Engineering Asian Institution of Technology (AIT) Chapter 4 Forward Kinematics Narong Aphiratsakun, D.Eng

2 Links manipulator

02 AR

Page 7: MT411 Robotic Engineering Asian Institution of Technology (AIT) Chapter 4 Forward Kinematics Narong Aphiratsakun, D.Eng

The Denavit-Hartenberg (DH) Convention

It is possible to carry out forward kinematics analysis as we did for 2 links manipulator. However, the kinematic analysis of an n-link manipulator can be extremely complex and the Denavit-Hartenberg (DH) simplify the analysis. This DH is a universal language with which engineer can communicate.

ai : link length

i : link twist

di : link offset (prismatic joint)

i : joint angle (revolute joint)

**Assign zi to be the axis of actuation for joint i+1.

Page 8: MT411 Robotic Engineering Asian Institution of Technology (AIT) Chapter 4 Forward Kinematics Narong Aphiratsakun, D.Eng

The Denavit-Hartenberg (DH) Convention

DH1: the axis x1 is perpendicular to the axis z0.

DH2: the axis x1 intersects the axis z0.

Page 9: MT411 Robotic Engineering Asian Institution of Technology (AIT) Chapter 4 Forward Kinematics Narong Aphiratsakun, D.Eng

The Denavit-Hartenberg (DH) Convention

DH1: the axis x1 is perpendicular to the axis z0.

DH2: the axis x1 intersects the axis z0.

Page 10: MT411 Robotic Engineering Asian Institution of Technology (AIT) Chapter 4 Forward Kinematics Narong Aphiratsakun, D.Eng

The Denavit-Hartenberg (DH) Convention

DH1: the axis x1 is perpendicular to the axis z0.

DH2: the axis x1 intersects the axis z0.

Page 11: MT411 Robotic Engineering Asian Institution of Technology (AIT) Chapter 4 Forward Kinematics Narong Aphiratsakun, D.Eng

The Denavit-Hartenberg (DH) Convention

ai : distance between axes zi and zi+1, and measured along the axis xi.

i : angle between axes zi and zi+1, and measured in a plane normal to xi.

di : distance from origin to the intersection of the axis xi+1 with zi, and measured along the axis zi.

i : angle from xi to xi+1, and measured in a plane normal to zi.

Page 12: MT411 Robotic Engineering Asian Institution of Technology (AIT) Chapter 4 Forward Kinematics Narong Aphiratsakun, D.Eng

The Denavit-Hartenberg (DH) Convention

a: distance between axes z0 and z1, and measured along the axis x1.

: angle between axes z0 and z1, and measured in a plane normal to x1.

d : distance from origin O0 to the intersection of the axis x1 with z0, and measured along the axis z0.

: angle from x0 to x1, and measured in a plane normal to z0.

Page 13: MT411 Robotic Engineering Asian Institution of Technology (AIT) Chapter 4 Forward Kinematics Narong Aphiratsakun, D.Eng

The Denavit-Hartenberg (DH) Convention

Page 14: MT411 Robotic Engineering Asian Institution of Technology (AIT) Chapter 4 Forward Kinematics Narong Aphiratsakun, D.Eng

a1 (distance between axes z0 and z1, and measured along the axis x1) : a1

1 (angle between axes z0 and z1, and measured in a plane

normal to x1) : 0

d1 (distance from origin O0 to the intersection of the axis x1 with z0, and measured along the axis z0) : 0

1 (angle from x0 to x1, and measured in a plane normal to z0) : 1*

a2 (distance between axes z1 and z2, and measured along the axis x2) : a2

2 (angle between axes z1 and z2, and measured in a plane

normal to x2) : 0

d2 (distance from origin O1 to the intersection of the axis x2 with z1, and measured along the axis z1) : 0

2 (angle from x1 to x2, and measured in a plane normal to z1) : 2*

link1

link2

DH Examples : 2 links manipulator

Page 15: MT411 Robotic Engineering Asian Institution of Technology (AIT) Chapter 4 Forward Kinematics Narong Aphiratsakun, D.Eng

DH Examples : 2 links manipulator

Page 16: MT411 Robotic Engineering Asian Institution of Technology (AIT) Chapter 4 Forward Kinematics Narong Aphiratsakun, D.Eng

DH Examples : 2 links manipulator

Page 17: MT411 Robotic Engineering Asian Institution of Technology (AIT) Chapter 4 Forward Kinematics Narong Aphiratsakun, D.Eng

DH Examples : RRR

*: denote variables

Page 18: MT411 Robotic Engineering Asian Institution of Technology (AIT) Chapter 4 Forward Kinematics Narong Aphiratsakun, D.Eng

DH Examples : RRR

1 1 1 1

1 1 1 11

2 2 2 2

2 2 2 22

3 3 3 3

3 3 3 33

03 1 2 3

cos sin 0 cos

sin cos 0 sin

0 0 1 0

0 0 0 1

cos sin 0 cos

sin cos 0 sin

0 0 1 0

0 0 0 1

cos sin 0 cos

sin cos 0 sin

0 0 1 0

0 0 0 1

L

LA

L

LA

L

LA

T A A A

Page 19: MT411 Robotic Engineering Asian Institution of Technology (AIT) Chapter 4 Forward Kinematics Narong Aphiratsakun, D.Eng

DH Examples : RRR

03T

Page 20: MT411 Robotic Engineering Asian Institution of Technology (AIT) Chapter 4 Forward Kinematics Narong Aphiratsakun, D.Eng

DH Examples : RPP

*: denote variables

Page 21: MT411 Robotic Engineering Asian Institution of Technology (AIT) Chapter 4 Forward Kinematics Narong Aphiratsakun, D.Eng

DH Examples : RPP

03T

Page 22: MT411 Robotic Engineering Asian Institution of Technology (AIT) Chapter 4 Forward Kinematics Narong Aphiratsakun, D.Eng

DH Examples : RPR

*: denote variables

Page 23: MT411 Robotic Engineering Asian Institution of Technology (AIT) Chapter 4 Forward Kinematics Narong Aphiratsakun, D.Eng

DH Examples : RPR

03T

Page 24: MT411 Robotic Engineering Asian Institution of Technology (AIT) Chapter 4 Forward Kinematics Narong Aphiratsakun, D.Eng

2 links manipulator (MATLAB)

Page 25: MT411 Robotic Engineering Asian Institution of Technology (AIT) Chapter 4 Forward Kinematics Narong Aphiratsakun, D.Eng

DH Examples : 2 links manipulator (MATLAB)

T02 = [ cos(theta1)*cos(theta2) - sin(theta1)*sin(theta2), - cos(theta1)*sin(theta2) - cos(theta2)*sin(theta1), 0, L1*cos(theta1) + L2*cos(theta1)*cos(theta2) - L2*sin(theta1)*sin(theta2) ; cos(theta1)*sin(theta2) + cos(theta2)*sin(theta1), cos(theta1)*cos(theta2) - sin(theta1)*sin(theta2), 0, L1*sin(theta1) + L2*cos(theta1)*sin(theta2) + L2*cos(theta2)*sin(theta1) ; 0, 0, 1, 0 ;

0, 0, 0, 1 ]

Manipulate by MATLAB with DH formula

Page 26: MT411 Robotic Engineering Asian Institution of Technology (AIT) Chapter 4 Forward Kinematics Narong Aphiratsakun, D.Eng

DH Examples : 2 links manipulator (Robotics Toolbox)

Manipulate by MATLAB with DH formula by Robotics Toolbox

Page 27: MT411 Robotic Engineering Asian Institution of Technology (AIT) Chapter 4 Forward Kinematics Narong Aphiratsakun, D.Eng

Plot of 2 links manipulator (MATLAB)

::

Page 28: MT411 Robotic Engineering Asian Institution of Technology (AIT) Chapter 4 Forward Kinematics Narong Aphiratsakun, D.Eng

Plot of 2 links manipulator (MATLAB)

Page 29: MT411 Robotic Engineering Asian Institution of Technology (AIT) Chapter 4 Forward Kinematics Narong Aphiratsakun, D.Eng

Plot by Robotics Toolbox (MATLAB)

Page 30: MT411 Robotic Engineering Asian Institution of Technology (AIT) Chapter 4 Forward Kinematics Narong Aphiratsakun, D.Eng

Plot by Robotics Toolbox (MATLAB)

Page 31: MT411 Robotic Engineering Asian Institution of Technology (AIT) Chapter 4 Forward Kinematics Narong Aphiratsakun, D.Eng

Assignment: 1

Q1. With the given reference [x0, y0, z0] and P0 = [0, 0, 0], obtain the transformation matrix

(T) for following cases. Note: You should draw all the frames when rotating and translating is performed.

0Y

0X

0Z

a). 1: rotate in z-axis by 90, 2: translate in y-axis by 2 unit, and 3: rotate in x-axis by -90. Draw final frame compare with reference frame when transformation is performed. b). 1: rotate in y-axis by -90, 2: translate in y-axis by -2 unit, and 3: rotate in z-axis by 90. Draw final frame compare with reference frame when transformation is performed. c). Obtain results for a) and b) by testing with a point [0, 2, 0].

Page 32: MT411 Robotic Engineering Asian Institution of Technology (AIT) Chapter 4 Forward Kinematics Narong Aphiratsakun, D.Eng

Assignment: 1

Q2. Check your result a.Q1a) and Q1b) with MATLAB manipulation.b.Plot Q1c) final point compare with origin frame with MATLAB.

Page 33: MT411 Robotic Engineering Asian Institution of Technology (AIT) Chapter 4 Forward Kinematics Narong Aphiratsakun, D.Eng

Assignment: 2

Q1. 3 Links planer robot is given. Plot 3 links planer robot with MATLAB. With L1 = 1, L2 = 2, and L3 = 3.

L1

L2

1

2

0X

0Y1X1Y

2X

2Y

3X

3Y

P

L3

3

Page 34: MT411 Robotic Engineering Asian Institution of Technology (AIT) Chapter 4 Forward Kinematics Narong Aphiratsakun, D.Eng

Assignment: 3

Q1. Compute DH parameters for examples RPP and RPR. Get the rotation matrices.

Q2. Compute DH parameters for examples RPP and RPR by MATLAB. Q3. Compute DH parameters for examples RPP and RPR by MATLAB Robotic Toolbox.

Page 35: MT411 Robotic Engineering Asian Institution of Technology (AIT) Chapter 4 Forward Kinematics Narong Aphiratsakun, D.Eng

Assignment: 4. Puma560 (up to frame 3)

Q1 a.Compute DH parameters for Puma560.b.Compute transformation matrix from frame 0 to frame 3.

Q2 a.Compute DH parameters for Puma560 with Robotic toolbox.b.Draw the Puma560 in links with Robotics Toolbox.

Page 36: MT411 Robotic Engineering Asian Institution of Technology (AIT) Chapter 4 Forward Kinematics Narong Aphiratsakun, D.Eng

Assignment: 4. Puma560