Top Banner
MEAM 520 Velocity Kinematics Katherine J. Kuchenbecker, Ph.D. General Robotics, Automation, Sensing, and Perception Lab (GRASP) MEAM Department, SEAS, University of Pennsylvania Lecture 11: October 16, 2012
33

Velocity Kinematics - alliance.seas.upenn.edumedesign/wiki/uploads/Courses/... · Velocity Kinematics Katherine J. Kuchenbecker, Ph.D. General Robotics, Automation, Sensing, ... SCARA

Jun 04, 2018

Download

Documents

trandung
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Velocity Kinematics - alliance.seas.upenn.edumedesign/wiki/uploads/Courses/... · Velocity Kinematics Katherine J. Kuchenbecker, Ph.D. General Robotics, Automation, Sensing, ... SCARA

MEAM 520Velocity Kinematics

Katherine J. Kuchenbecker, Ph.D.General Robotics, Automation, Sensing, and Perception Lab (GRASP)

MEAM Department, SEAS, University of Pennsylvania

Lecture 11: October 16, 2012

Page 3: Velocity Kinematics - alliance.seas.upenn.edumedesign/wiki/uploads/Courses/... · Velocity Kinematics Katherine J. Kuchenbecker, Ph.D. General Robotics, Automation, Sensing, ... SCARA
Page 4: Velocity Kinematics - alliance.seas.upenn.edumedesign/wiki/uploads/Courses/... · Velocity Kinematics Katherine J. Kuchenbecker, Ph.D. General Robotics, Automation, Sensing, ... SCARA
Page 5: Velocity Kinematics - alliance.seas.upenn.edumedesign/wiki/uploads/Courses/... · Velocity Kinematics Katherine J. Kuchenbecker, Ph.D. General Robotics, Automation, Sensing, ... SCARA
Page 6: Velocity Kinematics - alliance.seas.upenn.edumedesign/wiki/uploads/Courses/... · Velocity Kinematics Katherine J. Kuchenbecker, Ph.D. General Robotics, Automation, Sensing, ... SCARA

wrist center

tip of robot(origin of tool frame) position

orientation

Page 7: Velocity Kinematics - alliance.seas.upenn.edumedesign/wiki/uploads/Courses/... · Velocity Kinematics Katherine J. Kuchenbecker, Ph.D. General Robotics, Automation, Sensing, ... SCARA

Quick Example with a MATLAB Rubik’s Cube

Page 8: Velocity Kinematics - alliance.seas.upenn.edumedesign/wiki/uploads/Courses/... · Velocity Kinematics Katherine J. Kuchenbecker, Ph.D. General Robotics, Automation, Sensing, ... SCARA

Euler Angle Explanation

Page 9: Velocity Kinematics - alliance.seas.upenn.edumedesign/wiki/uploads/Courses/... · Velocity Kinematics Katherine J. Kuchenbecker, Ph.D. General Robotics, Automation, Sensing, ... SCARA

=

!

"

c!c"c# ! s!s# !c!c"s# ! s!c# c!s"

s!c"c# + c!s# !s!c"s# + c!c# s!s"

!s"c# s"s# c"

#

$

The book explains how to calculate the three angles given R: see SHV pages 55-56

Page 10: Velocity Kinematics - alliance.seas.upenn.edumedesign/wiki/uploads/Courses/... · Velocity Kinematics Katherine J. Kuchenbecker, Ph.D. General Robotics, Automation, Sensing, ... SCARA

Turn in your best effort by 5:00 p.m. today.

Using your IK for light painting may expose issues;you will be able to submit a new IK solution andtest function with your final code for project 1.

Page 11: Velocity Kinematics - alliance.seas.upenn.edumedesign/wiki/uploads/Courses/... · Velocity Kinematics Katherine J. Kuchenbecker, Ph.D. General Robotics, Automation, Sensing, ... SCARA

Questions ?

Page 12: Velocity Kinematics - alliance.seas.upenn.edumedesign/wiki/uploads/Courses/... · Velocity Kinematics Katherine J. Kuchenbecker, Ph.D. General Robotics, Automation, Sensing, ... SCARA

Project 1 : PUMA Light Painting

Page 13: Velocity Kinematics - alliance.seas.upenn.edumedesign/wiki/uploads/Courses/... · Velocity Kinematics Katherine J. Kuchenbecker, Ph.D. General Robotics, Automation, Sensing, ... SCARA

PUMA Light Painting code dueby 5:00 p.m. on Thursday, October 25.

Submissions after that are late.

Same teams as IK.

Develop in simulation, get approval,meet with a member of the teaching team to learn to run the real robot

and make your light painting.

Code review will be ongoing; submit as soon as you are happy.

PUMA simulator to be released soon.

Page 14: Velocity Kinematics - alliance.seas.upenn.edumedesign/wiki/uploads/Courses/... · Velocity Kinematics Katherine J. Kuchenbecker, Ph.D. General Robotics, Automation, Sensing, ... SCARA
Page 15: Velocity Kinematics - alliance.seas.upenn.edumedesign/wiki/uploads/Courses/... · Velocity Kinematics Katherine J. Kuchenbecker, Ph.D. General Robotics, Automation, Sensing, ... SCARA

If your IK solution is good, this part of the project should be fun and easy.

If your IK solution isn’t working well yet, you will need to get it to work to

be able to use the robot.

We will make a gallery of MEAM 520 PUMA light paintings.

Creative ideas for light painting?

Page 16: Velocity Kinematics - alliance.seas.upenn.edumedesign/wiki/uploads/Courses/... · Velocity Kinematics Katherine J. Kuchenbecker, Ph.D. General Robotics, Automation, Sensing, ... SCARA

Proposed Midterm DateThursday, November 8, in class

Page 17: Velocity Kinematics - alliance.seas.upenn.edumedesign/wiki/uploads/Courses/... · Velocity Kinematics Katherine J. Kuchenbecker, Ph.D. General Robotics, Automation, Sensing, ... SCARA

Velocity Kinematics

Slides created by Jonathan Fiene

Page 18: Velocity Kinematics - alliance.seas.upenn.edumedesign/wiki/uploads/Courses/... · Velocity Kinematics Katherine J. Kuchenbecker, Ph.D. General Robotics, Automation, Sensing, ... SCARA

Robonaut

Page 19: Velocity Kinematics - alliance.seas.upenn.edumedesign/wiki/uploads/Courses/... · Velocity Kinematics Katherine J. Kuchenbecker, Ph.D. General Robotics, Automation, Sensing, ... SCARA
Page 20: Velocity Kinematics - alliance.seas.upenn.edumedesign/wiki/uploads/Courses/... · Velocity Kinematics Katherine J. Kuchenbecker, Ph.D. General Robotics, Automation, Sensing, ... SCARA

Joint and Task Coordinates

Joint Coordinates Task Coordinates

!1, !2, !3 x, y, !

Inverse Kinematics (IK)

Forward Kinematics (FK)

So much about position and orientation. What about velocities?

Page 21: Velocity Kinematics - alliance.seas.upenn.edumedesign/wiki/uploads/Courses/... · Velocity Kinematics Katherine J. Kuchenbecker, Ph.D. General Robotics, Automation, Sensing, ... SCARA

How do the velocities of the joints affectthe linear and angular velocity of the end-effector?

These quantities are related by the Jacobian,a matrix that generalizes the notion of an ordinary

derivative of a scalar function.

Jacobians are useful for planning and executingsmooth trajectories, determining singular configurations,

executing coordinated anthropomorphic motion, deriving dynamic equations of motion, and transforming

forces and torques from the end-effector to themanipulator joints.

Page 22: Velocity Kinematics - alliance.seas.upenn.edumedesign/wiki/uploads/Courses/... · Velocity Kinematics Katherine J. Kuchenbecker, Ph.D. General Robotics, Automation, Sensing, ... SCARA

−2−1

01

2

−2−1

01

2−2

−1.5

−1

−0.5

0

0.5

1

1.5

2

X (m)

t = 10.00 s

SCARA Robot Moving Just a Little Bit

Y (m)

Z (m

)

Page 23: Velocity Kinematics - alliance.seas.upenn.edumedesign/wiki/uploads/Courses/... · Velocity Kinematics Katherine J. Kuchenbecker, Ph.D. General Robotics, Automation, Sensing, ... SCARA

The Manipulator Jacobian

explore how changes in joint values affect the end-effector movement (velocities)

could have N joints, but only six end-effector velocity terms (xyzpts)

would love to have a matrix that goes from joint velocities to end-effector velocities!

look at it in two parts - position and orientation

Page 24: Velocity Kinematics - alliance.seas.upenn.edumedesign/wiki/uploads/Courses/... · Velocity Kinematics Katherine J. Kuchenbecker, Ph.D. General Robotics, Automation, Sensing, ... SCARA

Differential Motion

Jp =

!

"

"

"

#

!x!q1

!x!q2

. . .

!x!qn

!y!q1

!y!q2

. . .

!y!qn

!z!q1

!z!q2

. . .

!z!qn

$

%

%

%

& jointvelocity

endpointvelocity

p = Jp(q) q

Jacobianmatrix

For an n-dimensional joint space and a cartesian workspace, the position Jacobian is a 3xn matrix composed of the partial derivatives of the end-effector position with respect to each joint variable.

dx

dt=

n�

i=1

δx

δqi

dqidt

the time derivative can be found using

for

x(t) = f(q1(t), q2(t), . . . , qn(t))

Page 25: Velocity Kinematics - alliance.seas.upenn.edumedesign/wiki/uploads/Courses/... · Velocity Kinematics Katherine J. Kuchenbecker, Ph.D. General Robotics, Automation, Sensing, ... SCARA

The Position Jacobian : Planar RR

!

"

xyz

#

$ =

!

"

!a1s1 ! a2s12 !a2s12

a1c1 + a2c12 a2c12

0 0

#

$

%

!1

!2

&

d0

2 =

!

"

a2c12 + a1c1

a2s12 + a1s1

0

#

$

From the forward kinematics, we can extract the position vector from the last column of the

transform matrix:

Taking the partial derivative with respect to each joint variable produces the Jacobian:

which relates instantaneous joint velocities to endpoint velocities

a1

a2

!1

!2

(x, y)

Jp =

!

"

"

"

#

!x!q1

!x!q2

. . .

!x!qn

!y!q1

!y!q2

. . .

!y!qn

!z!q1

!z!q2

. . .

!z!qn

$

%

%

%

&

J =

!

!a1s1 ! a2s12 !a2s12

a1c1 + a2c12 a2c12

"

Page 26: Velocity Kinematics - alliance.seas.upenn.edumedesign/wiki/uploads/Courses/... · Velocity Kinematics Katherine J. Kuchenbecker, Ph.D. General Robotics, Automation, Sensing, ... SCARA

The Position Jacobian : Planar RR

a1

a2

!1

!2

(x, y)J =

!

!a1s1 ! a2s12 !a2s12

a1c1 + a2c12 a2c12

"

Page 27: Velocity Kinematics - alliance.seas.upenn.edumedesign/wiki/uploads/Courses/... · Velocity Kinematics Katherine J. Kuchenbecker, Ph.D. General Robotics, Automation, Sensing, ... SCARA

−2 −1 0 1 2−2

−1.5

−1

−0.5

0

0.5

1

1.5

2

t = 10.00 s

X (m)

SCARA Robot Moving Just a Little Bit

Y (m

)

Page 28: Velocity Kinematics - alliance.seas.upenn.edumedesign/wiki/uploads/Courses/... · Velocity Kinematics Katherine J. Kuchenbecker, Ph.D. General Robotics, Automation, Sensing, ... SCARA

Jp =

!

"

"

"

#

!x!q1

!x!q2

. . .

!x!qn

!y!q1

!y!q2

. . .

!y!qn

!z!q1

!z!q2

. . .

!z!qn

$

%

%

%

&

Position Jacobian for SCARA?Work with a partner. Where do you start?

Page 29: Velocity Kinematics - alliance.seas.upenn.edumedesign/wiki/uploads/Courses/... · Velocity Kinematics Katherine J. Kuchenbecker, Ph.D. General Robotics, Automation, Sensing, ... SCARA

Prismatic Joints

Page 30: Velocity Kinematics - alliance.seas.upenn.edumedesign/wiki/uploads/Courses/... · Velocity Kinematics Katherine J. Kuchenbecker, Ph.D. General Robotics, Automation, Sensing, ... SCARA

Revolute Joints

Page 31: Velocity Kinematics - alliance.seas.upenn.edumedesign/wiki/uploads/Courses/... · Velocity Kinematics Katherine J. Kuchenbecker, Ph.D. General Robotics, Automation, Sensing, ... SCARA

Prismatic Joints Revolute Joints

Another way to construct the position Jacobian.

Page 32: Velocity Kinematics - alliance.seas.upenn.edumedesign/wiki/uploads/Courses/... · Velocity Kinematics Katherine J. Kuchenbecker, Ph.D. General Robotics, Automation, Sensing, ... SCARA

Questions ?

Page 33: Velocity Kinematics - alliance.seas.upenn.edumedesign/wiki/uploads/Courses/... · Velocity Kinematics Katherine J. Kuchenbecker, Ph.D. General Robotics, Automation, Sensing, ... SCARA

Singularities

singularities are often found on the edges of the workspace, and also relate to non-unique solutions to the inverse kinematics

Singularities are points in the configuration space where infinitesimal motion in a certain direction is not possible and

the manipulator loses one or more degrees of freedom

Mathematically, singularities exist at any point in the workspace where the Jacobian matrix loses rank.

det(J) = 0

a matrix is singular if and only if its determinant is zero:

when operating at a singular point, bounded end-effector velocities may correspond to unbounded

joint velocities