25
Haptics and Virtual Reality M. Zareinejad Lecture 6: Haptic interface kinematics 1

Haptics and Virtual Reality

  • Upload
    abel

  • View
    38

  • Download
    0

Embed Size (px)

DESCRIPTION

Haptics and Virtual Reality. Lecture 6: Haptic interface kinematics. M. Zareinejad. Grounded interfaces. Very similar to robots Need Kinematics.  . Determine endpoint position Calculate velocities Calculate force-torque relationships. – – –. Sometimes need Dynamics - PowerPoint PPT Presentation

Citation preview

Page 1: Haptics  and Virtual Reality

1

Haptics and Virtual Reality

M. Zareinejad

Lecture 6:

Haptic interface kinematics

Page 2: Haptics  and Virtual Reality

2

Grounded interfaces

Very similar to robotsNeed Kinematics–

Determine endpoint positionCalculate velocitiesCalculate force-torque relationships

Sometimes need DynamicsIf you are weak on these topics, you may wantto check out Introduction to robotics:mechanics and control by Craig (1989).

Page 3: Haptics  and Virtual Reality

3

Kinematics

o Think of a manipulator/

interface as a set of bodies

connected by a chain of joints

o Revolute most common for

haptic interfaces

Page 4: Haptics  and Virtual Reality

4

Orientation of a Body

Page 5: Haptics  and Virtual Reality

5

Homogenous Transforms

Page 6: Haptics  and Virtual Reality

6

Homogenous Transforms

Translation

Rotation

Page 7: Haptics  and Virtual Reality

7

Kinematics

Moving between Joint Space and Cartesian Space

Forward kinematics: based on joint angles, calculateend-effector position

Page 8: Haptics  and Virtual Reality

8

Joint variables

Be careful how you define joint positions

Absolute Relative

Page 9: Haptics  and Virtual Reality

9

Absolute forward kinematics

x = L1cos(1) + L2cos(2)

y = L1sin(1) + L2sin(2)

Page 10: Haptics  and Virtual Reality

10

Relative forward kinematics

x = L1cos(1) + L2cos(1+ 2)

y = L1sin(1) + L2sin(1+ 2)

Page 11: Haptics  and Virtual Reality

11

D-H Parameters

Page 12: Haptics  and Virtual Reality

12

D-H Parameters

Page 13: Haptics  and Virtual Reality

13

Inverse Kinematics

Using the end-effector position, calculate thejoint anglesNot used often in haptics– But useful for calibration

There can be:–

No solution (workspace issue)1 solutionMore than 1 solution

Page 14: Haptics  and Virtual Reality

14

Example

Two possible solutionsTwo approaches:–

algebraic methodgeometric method

Page 15: Haptics  and Virtual Reality

15

Example

Page 16: Haptics  and Virtual Reality

16

Velocity

Recall that the forward kinematics tells us theend-effector position based on joint positionsHow do we calculate velocity?Use a matrix called the Jacobian

Page 17: Haptics  and Virtual Reality

17

Formulating the Jacobian

Use the chain rule:

Take partial derivatives:

Page 18: Haptics  and Virtual Reality

18

Assemble in a Matrix

Page 19: Haptics  and Virtual Reality

19

Singularities

Most devices will have values offor which the Jacobian is singularThis means that the device has lost one ormore degrees of freedom in Cartesian SpaceTwo kinds:–

Workspace boundaryWorkspace interior

Page 20: Haptics  and Virtual Reality

20

Singularity Math

If the matrix is invertible, then it is non-singular

Can check invertibility of J by taking thedeterminant of J. If it is equal to 0, then it issingular

Can use this method to check which values of θwill cause singularities

Page 21: Haptics  and Virtual Reality

21

Calculating Singularities

Simplify text: sin(1+2)=s12

For what values of 1 and 2 does this equalzero?

Page 22: Haptics  and Virtual Reality

22

Even more useful….

The Jacobian can be used to relate jointtorques to end-effector forces:

Why is this important for haptic displays?

Page 23: Haptics  and Virtual Reality

23

How do you get this equation?

Principle of virtual work– States that changing the

coordinate frame doesnot change the total workof a system

Page 24: Haptics  and Virtual Reality

24

Dynamic

Page 25: Haptics  and Virtual Reality

25

Homework #1

SensAble’s Phantoms Quanser Pantograph