Introduction to Robotics Tutorial II

30
Introduction to Robotics Tutorial II Alfred Bruckstein Yaniv Altshuler

description

Introduction to Robotics Tutorial II. Alfred Bruckstein Yaniv Altshuler. Denavit-Hartenberg. Reminder. Specialized description of articulated figures Each joint has only one degree of freedom rotate around its z-axis translate along its z-axis. Denavit-Hartenberg. Link length a i - PowerPoint PPT Presentation

Transcript of Introduction to Robotics Tutorial II

Page 1: Introduction to Robotics Tutorial II

Introduction to Robotics

Tutorial II

Alfred BrucksteinYaniv Altshuler

Page 2: Introduction to Robotics Tutorial II

Denavit-Hartenberg

•Specialized description of articulated figures

•Each joint has only one degree of freedom

•rotate around its z-axis

•translate along its z-axis

Reminder

Page 3: Introduction to Robotics Tutorial II

Denavit-Hartenberg• Link length ai

• The perpendicular distance between the axes of jointi and jointi+1

Page 4: Introduction to Robotics Tutorial II

• Link twist αi

• The angle between the axes of jointi and jointi+1

• Angle around xi-axis

Denavit-Hartenberg

Page 5: Introduction to Robotics Tutorial II

• Link offset di

• The distance between the origins of the coordinate frames attached to jointi and jointi+1

• Measured along the axis of jointi

Denavit-Hartenberg

Page 6: Introduction to Robotics Tutorial II

• Link rotation (joint angle) φi

• The angle between the link lenghts αi-1 and αi

• Angle around zi-axis

Denavit-Hartenberg

Page 7: Introduction to Robotics Tutorial II

Denavit-Hartenberg

1.Compute the link vector ai and the link length

2.Attach coordinate frames to the joint axes

3.Compute the link twist αi

4.Compute the link offset di

5.Compute the joint angle φi

6.Compute the transformation (i-1)Ti which transforms entities from linki to linki-1

Page 8: Introduction to Robotics Tutorial II

Denavit-Hartenberg

This transformation is done in several steps :

•Rotate the link twist angle αi-1 around the axis xi

•Translate the link length ai-1 along the axis xi

•Translate the link offset di along the axis zi

•Rotate the joint angle φi around the axis zi

iiii xxzzi

i RotTransTransRotT 1

Page 9: Introduction to Robotics Tutorial II

Denavit-Hartenberg

1000

0cossin0

0sincos0

0001

ii

iixi

Rot

Page 10: Introduction to Robotics Tutorial II

Denavit-Hartenberg

1000

0100

0010

001 i

x

a

Transi

Page 11: Introduction to Robotics Tutorial II

Denavit-Hartenberg

1000

100

0010

0001

iz d

Transi

Page 12: Introduction to Robotics Tutorial II

Denavit-Hartenberg

1000

0100

00cossin

00sincos

ii

ii

ziRot

Page 13: Introduction to Robotics Tutorial II

Denavit-Hartenberg

Multiplying the matrices :

iiii xxzzi

i RotTransTransRotT 1

1000

cossin0

sinsincoscoscossin

cossinsincossincos

1

iii

iiiiiii

iiiiiii

ii

d

a

a

T

Page 14: Introduction to Robotics Tutorial II

DH Example3 revolute joints

Shown in home position

Link 1 Link 3

Link 2

joint 1

joint 2 joint 3

R

L1 L2

Page 15: Introduction to Robotics Tutorial II

Shown with joints in non-zero positions

Z1

Z0

Z21

2 3

x0

x1

x2

z3

x3

Observe that frame i moves with link i

DH Example

Page 16: Introduction to Robotics Tutorial II

Z1

Z0

Z2

1

23

x0

x1 x2 x3

Z3

Link Var d a

1 1 1 0 90o R

2 2 2 0 0 L1

3 3 3 0 0 L2

R

L1 L2

1

DH Example

1 = 90o (rotate by 90o around x0 to

align Z0 and Z1)

Page 17: Introduction to Robotics Tutorial II

Link Var d a

1 1 1 0 90o R

2 2 2 0 0 L1

3 3 3 0 0 L2

DH Example

Page 18: Introduction to Robotics Tutorial II

DH Example

Page 19: Introduction to Robotics Tutorial II

z1

z0

z21

2 3

x0

x1

x2

z3

x3

Origin of {1} w.r.t. {0}

x1 axis expressed wrt {0}

y1 axis expressed wrt {0}

z1 axis expressed wrt {0}

DH Example

Page 20: Introduction to Robotics Tutorial II

z1

z0

z21

2 3

x0

x1

x2

z3

x3

Origin of {2} w.r.t. {1}

x2 axis expressed wrt {1}

y2 axis expressed wrt {1}

z2 axis expressed wrt {1}

DH Example

Page 21: Introduction to Robotics Tutorial II

z1

z0

z21

2 3

x0

x1

x2

z3

x3

Origin of {3} w.r.t. {2}

x3 axis expressed wrt {2}

y3 axis expressed wrt {2}

z3 axis expressed wrt {2}

DH Example

Page 22: Introduction to Robotics Tutorial II

where

DH Example

Page 23: Introduction to Robotics Tutorial II

Example – the Stanford Arm

Page 24: Introduction to Robotics Tutorial II

Example – the Stanford Arm

X1Y1

Z1

X2

Z2

X3

Z3

X4

X5

X6

Z4

Z5

Z6

X7

Z7

Page 25: Introduction to Robotics Tutorial II

Example – the Stanford Arm

X1Y1

Z1

X2

Z2

X3

Z3

X4

X5

X6

Z4

Z5

Z6

X7

Z7

i ai di i i

1 0 d1 90° 1

2

3

4

5

6

Page 26: Introduction to Robotics Tutorial II

Example – the Stanford Arm

X1Y1

Z1

X2

Z2

X3

Z3

X4

X5

X6

Z4

Z5

Z6

X7

Z7

i ai di i i

1 0 d1 90° 1

2 0 d2 90° 2

3

4

5

6

Page 27: Introduction to Robotics Tutorial II

Example – the Stanford Arm

X1Y1

Z1

X2

Z2

X3

Z3

X4

X5

X6

Z4

Z5

Z6

X7

Z7

i ai di i i

1 0 d1 90° 1

2 0 d2 90° 2

3 0 d3

(var)90° 90°

4

5

6

Page 28: Introduction to Robotics Tutorial II

Example – the Stanford Arm

X1Y1

Z1

X2

Z2

X3

Z3

X4

X5

X6

Z4

Z5

Z6

X7

Z7

i ai di i i

1 0 d1 90° 1

2 0 d2 90° 2

3 0 d3

(var)90° 90°

4 0 d4 90° 4

5

6

Page 29: Introduction to Robotics Tutorial II

Example – the Stanford Arm

X1Y1

Z1

X2

Z2

X3

Z3

X4

X5

X6

Z4

Z5

Z6

X7

Z7

i ai di i i

1 0 d1 90° 1

2 0 d2 90° 2

3 0 d3

(var)90° 90°

4 0 d4 90° 4

5 0 d5 0° 5

6

Page 30: Introduction to Robotics Tutorial II

Example – the Stanford Arm

X1Y1

Z1

X2

Z2

X3

Z3

X4

X5

X6

Z4

Z5

Z6

X7

Z7

i ai di i i

1 0 d1 90° 1

2 0 d2 90° 2

3 0 d3

(var)90° 90°

4 0 d4 90° 4

5 0 d5 0° 5

6 0 d6 0° 6