Trajectory Generation 1/2

95
Trajectory Generation 1/2 Instructor: Jacob Rosen Advanced Robotic - MAE 263D - Department of Mechanical & Aerospace Engineering - UCLA

Transcript of Trajectory Generation 1/2

Page 1: Trajectory Generation 1/2

Trajectory Generation 1/2

Instructor: Jacob Rosen

Advanced Robotic - MAE 263D - Department of Mechanical & Aerospace Engineering - UCLA

Page 2: Trajectory Generation 1/2

Instructor: Jacob Rosen

Advanced Robotic - MAE 263D - Department of Mechanical & Aerospace Engineering - UCLA

Page 3: Trajectory Generation 1/2

Introduction

Instructor: Jacob Rosen

Advanced Robotic - MAE 263D - Department of Mechanical & Aerospace Engineering - UCLA

Page 4: Trajectory Generation 1/2

Instructor: Jacob Rosen

Advanced Robotic - MAE 263 - Department of Mechanical & Aerospace Engineering - UCLA

Motion Planning

Page 5: Trajectory Generation 1/2

Instructor: Jacob Rosen

Advanced Robotic - MAE 263 - Department of Mechanical & Aerospace Engineering - UCLA

Motion Planning

Page 6: Trajectory Generation 1/2

Instructor: Jacob Rosen

Advanced Robotic - MAE 263 - Department of Mechanical & Aerospace Engineering - UCLA

Motion Planning

Routine Cataract Surgery

https://youtu.be/QbeI72QmFAU

Page 7: Trajectory Generation 1/2

Instructor: Jacob Rosen

Advanced Robotic - MAE 263 - Department of Mechanical & Aerospace Engineering - UCLA

Motion Planning

Page 8: Trajectory Generation 1/2

Instructor: Jacob Rosen

Advanced Robotic - MAE 263 - Department of Mechanical & Aerospace Engineering - UCLA

Motion Planning

Page 9: Trajectory Generation 1/2

Instructor: Jacob Rosen

Advanced Robotic - MAE 263 - Department of Mechanical & Aerospace Engineering - UCLA

Motion Planning

Page 10: Trajectory Generation 1/2

Instructor: Jacob Rosen

Advanced Robotic - MAE 263 - Department of Mechanical & Aerospace Engineering - UCLA

Motion Planning

Page 11: Trajectory Generation 1/2

Instructor: Jacob Rosen

Advanced Robotic - MAE 263 - Department of Mechanical & Aerospace Engineering - UCLA

Motion Planning

Page 12: Trajectory Generation 1/2

Motion Planning

Problem Defenition

Instructor: Jacob Rosen

Advanced Robotic - MAE 263D - Department of Mechanical & Aerospace Engineering - UCLA

Page 13: Trajectory Generation 1/2

Motion Planning – Hierarchy

• Trajectory planning is a subset of the overall problem that

is navigation or motion planning. The typical hierarchy

of motion planning is as follows:

– Task planning – Designing a set of high-level goals,

such as “go pick up the object in front of you”.

– Path planning – Generating a feasible path from a

start point to a goal point. A path usually consists of a

set of connected waypoints.

– Trajectory planning – Generating a time schedule for

how to follow a path given constraints such as

position, velocity, and acceleration.

– Trajectory following – Once the entire trajectory is

planned, there needs to be a control system that can

execute the trajectory in a sufficiently accurate

manner.

• Q: What’s the difference between path planning and

trajectory planning?

• A: A trajectory is a description of how to follow a path over

time

Page 14: Trajectory Generation 1/2

Trajectory Generation – Problem Definition

Problem

Given: Manipulator geometry, End Effector

Path (via point)

Compute: The trajectory of each joint such that

the end effector move in space

from point A to Point B

Solution (Domains)

• Joint space / Task Space

Definitions

• Trajectory (Definition) - Time history of

position, velocity, and acceleration for

each DOF.

• Trajectory Generation – Methods of

computing a trajectory that describes the

desired motion of a manipulator in a

multidimensional space

Instructor: Jacob Rosen

Advanced Robotic - MAE 263D - Department of Mechanical & Aerospace Engineering - UCLA

Page 15: Trajectory Generation 1/2

Joint Space Task Space

Inverse

Kinematics Inverse

Kinematics Inverse

Kinematics

Task Space Versus Joint Space - Interpolations

Instructor: Jacob Rosen

Advanced Robotic - MAE 263D - Department of Mechanical & Aerospace Engineering - UCLA

Inverse

Kinematics

Inverse

Kinematics

Inverse

Kinematics

Inverse

Kinematics

Inverse

Kinematics

+

+0

f

0

y

y

x

z

y

x

fy

y

x

z

y

x

0

y

y

x

z

y

x

fy

y

x

z

y

x

Inverse

Kinematics

+

+

61

Inverse

Kinematics Inverse

Kinematics Inverse

Kinematics Inverse

Kinematics

0

f

61

Interpolations at

the Task Space

Interpolations at

the Joint Space

Page 16: Trajectory Generation 1/2

Task Space Versus Joint Space

Interpolation Method Computational

Requirements

Accuracy of the

End Effector

Join Space Low (Advantage) Low (Disadvantage)

Task Space High (Disadvantage) High (Advantage)

Page 17: Trajectory Generation 1/2

Task Space Versus Joint Space

• Task space means the waypoints and interpolation are on the Cartesian pose (position and orientation) of a

specific location on the manipulator – usually the end effector.

• Joint space means the waypoints and interpolation are directly on the joint positions (angles or

displacements, depending on the type of joint)

• Main Difference –

– Smoothness - task-space trajectories tend to look more “natural” than joint-space trajectories because

the end effector is moving smoothly with respect to the environment even if the joints are not.

– IK / Computation - The big drawback is that following a task-space trajectory involves solving inverse

kinematics (IK) more often than a joint-space trajectory, which means a lot more computation especially

if your IK solver is based on optimization.

Page 18: Trajectory Generation 1/2

Task Space Versus Joint Space

Page 19: Trajectory Generation 1/2

Trajectory Generation – Problem Definition

• Human Machine interface (requirements)

– Human - Specifying trajectories with simple description of the desired motion

• Example – start / end points position and orientation of the end effectors

– System - Designing the details of the trajectory

• Example – Design the exact shape of the path, duration, joint velocity, etc.

• Trajectory Representation

– Representation of trajectory in the computer after they were planned

• Trajectory Generation

– Generation occurs at runtime (real time) where positions, velocities, and accelerations are computed.

– Path update rate 60-2000 Hz

Instructor: Jacob Rosen

Advanced Robotic - MAE 263D - Department of Mechanical & Aerospace Engineering - UCLA

Page 20: Trajectory Generation 1/2

General Consideration

• General approach for the motion of the

manipulator

– Specify the path as a motion of the tool frame {T}

relative to the station frame {S}. Frame {S} may

change it position in time (e.g. conveyer belt)

• Advantages

– Decouple the motion description from any

particular robot, end effector, or workspace.

– Modularity – Use the same path with:

• Different robot

• Different tool size

Instructor: Jacob Rosen

Advanced Robotic - MAE 263D - Department of Mechanical & Aerospace Engineering - UCLA

Page 21: Trajectory Generation 1/2

Trajectory Generation & Inverse Kinematics

General Approach

Instructor: Jacob Rosen

Advanced Robotic - MAE 263 - Department of Mechanical & Aerospace Engineering - UCLA

Page 22: Trajectory Generation 1/2

Trajectory Generation & Inverse Kinematics

General Approach

Instructor: Jacob Rosen

Advanced Robotic - MAE 263 - Department of Mechanical & Aerospace Engineering - UCLA

Page 23: Trajectory Generation 1/2

Trajectory Generation & Inverse Kinematics

General Approach

Instructor: Jacob Rosen

Advanced Robotic - MAE 263 - Department of Mechanical & Aerospace Engineering - UCLA

Page 24: Trajectory Generation 1/2

Trajectory Generation & Inverse Kinematics

General Approach

Instructor: Jacob Rosen

Advanced Robotic - MAE 263 - Department of Mechanical & Aerospace Engineering - UCLA

Page 25: Trajectory Generation 1/2

Trajectory Generation & Inverse Kinematics

General Approach

Instructor: Jacob Rosen

Advanced Robotic - MAE 263 - Department of Mechanical & Aerospace Engineering - UCLA

Page 26: Trajectory Generation 1/2

Trajectory Generation & Inverse Kinematics

General Approach

Instructor: Jacob Rosen

Advanced Robotic - MAE 263 - Department of Mechanical & Aerospace Engineering - UCLA

Page 27: Trajectory Generation 1/2

Trajectory Generation & Inverse Kinematics

General Approach

Instructor: Jacob Rosen

Advanced Robotic - MAE 263 - Department of Mechanical & Aerospace Engineering - UCLA

Page 28: Trajectory Generation 1/2

Trajectory Generation & Inverse Kinematics

General Approach

Instructor: Jacob Rosen

Advanced Robotic - MAE 263 - Department of Mechanical & Aerospace Engineering - UCLA

Page 29: Trajectory Generation 1/2

Trajectory Generation & Inverse Kinematics

General Approach

Instructor: Jacob Rosen

Advanced Robotic - MAE 263 - Department of Mechanical & Aerospace Engineering - UCLA

Page 30: Trajectory Generation 1/2

Trajectory Generation & Inverse Kinematics

General Approach

Instructor: Jacob Rosen

Advanced Robotic - MAE 263 - Department of Mechanical & Aerospace Engineering - UCLA

Page 31: Trajectory Generation 1/2

General Consideration – Via Points

• Basic Problem – Move the tool frame {T}

from its initial position / orientation {T_initial}

to the final position / orientation {T_final}.

• Specific Description

– Via Point – Intermediate points between

the initial and the final end- effector

locations that the end-effector mast go

through and match it position and

orientation along the trajectory.

– Each via point is defined by a frame

defining the position/orintataion of the

tool with respect to the station frame

– Path Points – includes all the via points

along with the initial and final points

– Point (Frame) – Every point on the

trajectory is define by a frame (spatial

description)

Instructor: Jacob Rosen

Advanced Robotic - MAE 263D - Department of Mechanical & Aerospace Engineering - UCLA

Page 32: Trajectory Generation 1/2

General Consideration – Smooth Path

• “Smooth” Path or Function

– Continuous path / function with first and second derivatives.

– Add constrains on the spatial and temporal qualities of the path between the via-points

• Implications of non-smooth path

– Increase wear in the mechanism (rough jerky movement)

– Vibration – exciting resonances.

Instructor: Jacob Rosen

Advanced Robotic - MAE 263D - Department of Mechanical & Aerospace Engineering - UCLA

Page 33: Trajectory Generation 1/2

Trajectory Generation – Task Space Control

Instructor: Jacob Rosen

Advanced Robotic - MAE 263 - Department of Mechanical & Aerospace Engineering - UCLA

Page 34: Trajectory Generation 1/2

Trajectory Generation – Joint Space Space Control

Instructor: Jacob Rosen

Advanced Robotic - MAE 263 - Department of Mechanical & Aerospace Engineering - UCLA

Page 35: Trajectory Generation 1/2

Precision versus Accuracy

Instructor: Jacob Rosen

Advanced Robotic - MAE 263 - Department of Mechanical & Aerospace Engineering - UCLA

Page 36: Trajectory Generation 1/2

Trajectory Generation – Roadmap Diagram

Instructor: Jacob Rosen

Advanced Robotic - MAE 263 - Department of Mechanical & Aerospace Engineering - UCLA

Trajectory

Generation

Joint Space

Task Space

Single Time

Interval

Multiple Time

Intervals (Via Points)

Polynomials

1st Order

Linear

3ed Order

Cubic

5th Order

Quantic

Linear Function with

Parabolic Blend

User Defined

Function

System Defined

Function

Linear Function with

Parabolic Blend

Heuristic

3ed Order

Cubic

Linear Function with

Parabolic Blend

Page 37: Trajectory Generation 1/2

Trajectory Generation – Roadmap Diagram

Instructor: Jacob Rosen

Advanced Robotic - MAE 263 - Department of Mechanical & Aerospace Engineering - UCLA

Trajectory

Generation

Joint Space

Task Space

Single Time

Interval

Multiple Time

Intervals (Via Points)

Polynomials

1st Order

Linear

3ed Order

Cubic

5th Order

Quantic

Linear Function with

Parabolic Blend

User Defined

Function

System Defined

Function

Linear Function with

Parabolic Blend

Heuristic

3ed Order

Cubic

Linear Function with

Parabolic Blend

Page 38: Trajectory Generation 1/2

Joint Space Schemes

Single Time Interval

Page 39: Trajectory Generation 1/2

Trajectory Generation – Roadmap Diagram

Instructor: Jacob Rosen

Advanced Robotic - MAE 263 - Department of Mechanical & Aerospace Engineering - UCLA

Trajectory

Generation

Joint Space

Task Space

Single Time

Interval

Multiple Time

Intervals (Via Points)

Polynomials

1st Order

Linear

3ed Order

Cubic

5th Order

Quantic

Linear Function with

Parabolic Blend

User Defined

Function

System Defined

Function

Linear Function with

Parabolic Blend

Heuristic

3ed Order

Cubic

Linear Function with

Parabolic Blend

Page 40: Trajectory Generation 1/2

Joint Space Schemes

• Joint space Schemes – Path shapes (in space and in time) are

described in terms of functions in the joint space.

• General process (Steps) given initial and target P/O

1. Select a path point or via point (desired position and

orientation of the tool frame {T} with respect to the base

frame {s})

2. Convert each of the “via point” into a set of joint angles

using the invers kinematics

3. Find a smooth function for each of the n joints that pass

trough the via points, and end the goal point.

Note 1: The time required to complete each segment is the

same for each joint such that the all the joints will reach

the via point at the same time. Thus resulting in the

position and orientation of the frame {T} at the via point.

Note 2: The joints move independently with only one time

restriction (Note 1)

Instructor: Jacob Rosen

Advanced Robotic - MAE 263D - Department of Mechanical & Aerospace Engineering - UCLA

Page 41: Trajectory Generation 1/2

Joint Space Schemes

• Define a function for each joint such that value

at is the initial position of the joint and

whose value at is the desire goal position

of the joint

• There are many smooth functions that may

be used to interpolate the joint value.

0t

ft

)(t

Instructor: Jacob Rosen

Advanced Robotic - MAE 263D - Department of Mechanical & Aerospace Engineering - UCLA

Page 42: Trajectory Generation 1/2

Joint Space Schemes

Single Time Interval

Polynomials

First Order Polynomial

Page 43: Trajectory Generation 1/2

Trajectory Generation – Roadmap Diagram

Instructor: Jacob Rosen

Advanced Robotic - MAE 263 - Department of Mechanical & Aerospace Engineering - UCLA

Trajectory

Generation

Joint Space

Task Space

Single Time

Interval

Multiple Time

Intervals (Via Points)

Polynomials

1st Order

Linear

3ed Order

Cubic

5th Order

Quantic

Linear Function with

Parabolic Blend

User Defined

Function

System Defined

Function

Linear Function with

Parabolic Blend

Heuristic

3ed Order

Cubic

Linear Function with

Parabolic Blend

Page 44: Trajectory Generation 1/2

Joint Space Schemes – Linear Polynomials

Instructor: Jacob Rosen

Advanced Robotic - MAE 263 - Department of Mechanical & Aerospace Engineering - UCLA

Page 45: Trajectory Generation 1/2

Joint Space Schemes – Linear Polynomials

Instructor: Jacob Rosen

Advanced Robotic - MAE 263 - Department of Mechanical & Aerospace Engineering - UCLA

Page 46: Trajectory Generation 1/2

Joint Space Schemes

Single Time Interval

Polynomials

Cubic Order Polynomial

Page 47: Trajectory Generation 1/2

Trajectory Generation – Roadmap Diagram

Instructor: Jacob Rosen

Advanced Robotic - MAE 263 - Department of Mechanical & Aerospace Engineering - UCLA

Trajectory

Generation

Joint Space

Task Space

Single Time

Interval

Multiple Time

Intervals (Via Points)

Polynomials

1st Order

Linear

3ed Order

Cubic

5th Order

Quantic

Linear Function with

Parabolic Blend

User Defined

Function

System Defined

Function

Linear Function with

Parabolic Blend

Heuristic

3ed Order

Cubic

Linear Function with

Parabolic Blend

Page 48: Trajectory Generation 1/2

Joint Space Schemes – Order of the Polynomials

Instructor: Jacob Rosen

Advanced Robotic - MAE 263D - Department of Mechanical & Aerospace Engineering - UCLA

Page 49: Trajectory Generation 1/2

Joint Space Schemes – Cubic Polynomials - Zero Velocity

• Problem - Define a function for each joint such that it value at

– is the initial position of the joint and at

– is the desired goal position of the joint

• Given - Constrains on

• What should be the order of the polynomial function to meet these constrains?

0t

ft

)(t

0)(

0)0(

)(

)0( 0

f

ff

t

t

Instructor: Jacob Rosen

Advanced Robotic - MAE 263D - Department of Mechanical & Aerospace Engineering - UCLA

Page 50: Trajectory Generation 1/2

Joint Space Schemes – Cubic Polynomials - Zero Velocity

• Solution - The four constraints can be satisfied by a polynomial of at least third

degree

• The joint velocity and acceleration

• Combined with the four desired constraints yields four equations in four

unknowns

3

3

2

210)( tatataat

taat

tataat

32

2

321

62)(

32)(

2

321

1

3

3

2

210

00

320

0

ff

ffff

tataa

a

tatataa

a

0)(

0)0(

)(

)0( 0

f

ff

t

t

Instructor: Jacob Rosen

Advanced Robotic - MAE 263D - Department of Mechanical & Aerospace Engineering - UCLA

Page 51: Trajectory Generation 1/2

Joint Space Schemes – Cubic Polynomials - Zero Velocity

Instructor: Jacob Rosen

Advanced Robotic - MAE 263D - Department of Mechanical & Aerospace Engineering - UCLA

Page 52: Trajectory Generation 1/2

Joint Space Schemes – Cubic Polynomials - Zero Velocity

Instructor: Jacob Rosen

Advanced Robotic - MAE 263D - Department of Mechanical & Aerospace Engineering - UCLA

Page 53: Trajectory Generation 1/2

Joint Space Schemes – Cubic Polynomials - Zero Velocity

• Solving these equations for the we obtain ia

)(2

)(3

0

033

022

1

00

f

f

f

f

ta

ta

a

a

Instructor: Jacob Rosen

Advanced Robotic - MAE 263D - Department of Mechanical & Aerospace Engineering - UCLA

Page 54: Trajectory Generation 1/2

Joint Space Schemes – Cubic Polynomials - Zero Velocity

Instructor: Jacob Rosen

Advanced Robotic - MAE 263D - Department of Mechanical & Aerospace Engineering - UCLA

Page 55: Trajectory Generation 1/2

Joint Space Schemes – Cubic Polynomials - Zero Velocity

Instructor: Jacob Rosen

Advanced Robotic - MAE 263D - Department of Mechanical & Aerospace Engineering - UCLA

Page 56: Trajectory Generation 1/2

Joint Space Schemes – Cubic Polynomials - Zero Velocity

Instructor: Jacob Rosen

Advanced Robotic - MAE 263D - Department of Mechanical & Aerospace Engineering - UCLA

Page 57: Trajectory Generation 1/2

Joint Space Schemes – Cubic Polynomials - Zero Velocity

• Example – A single-link robot with a rotary joint is motionless at

degrees. It is desired to move the joint in a smooth manner to degrees

in 3 seconds. Find the coefficient of the cubic polynomial that accomplish this

motion and brings the manipulator to rest at the goal

44.4)1575(27

2)(

2

20)1575(9

3)(

3

0

15

033

022

1

00

f

f

f

f

ta

ta

a

a

150 75f

0)(

0)0(

75)(

15)0(

f

f

t

t

tt

ttt

ttt

66.2640)(

33.1340)(

44.42015)(

2

32

Instructor: Jacob Rosen

Advanced Robotic - MAE 263D - Department of Mechanical & Aerospace Engineering - UCLA

Page 58: Trajectory Generation 1/2

Joint Space Schemes – Cubic Polynomials - Zero Velocity

• The velocity profile of any cubic function is a

parabola

• The acceleration profile of any cubic function is

linear

Instructor: Jacob Rosen

Advanced Robotic - MAE 263D - Department of Mechanical & Aerospace Engineering - UCLA

Page 59: Trajectory Generation 1/2

Joint Space Schemes – Cubic Polynomials – Non Zero Velocity

• Previous Method - The manipulator comes to rest at each via point

• General Requirement - Pass through a point without stopping

• Problem - Define a function for each joint such that it value at

– is the initial position of the joint and at

– is the desire goal position of the joint

• Given - Constrains on such that the velocities at the via points are not zero

but rather some known velocities

0t

ft

)(t

ff

ff

t

t

)(

)0(

)(

)0(

0

0

Instructor: Jacob Rosen

Advanced Robotic - MAE 263D - Department of Mechanical & Aerospace Engineering - UCLA

Page 60: Trajectory Generation 1/2

Joint Space Schemes – Cubic Polynomials – Non Zero Velocity

• Solution - The four constraints can be satisfied by a polynomial

• Combined with the four desired constraints yields four equations in four

unknowns

taat

tataat

tatataat

32

2

321

3

3

2

210

62)(

32)(

)(

2

321

10

3

3

2

210

00

32 ffff

ffff

tatata

a

tatataa

a

ff

ff

t

t

)(

)0(

)(

)0(

0

0

Instructor: Jacob Rosen

Advanced Robotic - MAE 263D - Department of Mechanical & Aerospace Engineering - UCLA

Page 61: Trajectory Generation 1/2

Joint Space Schemes – Cubic Polynomials – Non Zero Velocity

Instructor: Jacob Rosen

Advanced Robotic - MAE 263D - Department of Mechanical & Aerospace Engineering - UCLA

Page 62: Trajectory Generation 1/2

Joint Space Schemes – Cubic Polynomials – Non Zero Velocity

Instructor: Jacob Rosen

Advanced Robotic - MAE 263D - Department of Mechanical & Aerospace Engineering - UCLA

Page 63: Trajectory Generation 1/2

Joint Space Schemes – Cubic Polynomials – Non Zero Velocity

• Solving these equations for the we obtain

• Given - velocities at each via point are

• Solution - Apply these equations for each segment of the trajectory.

• Note: The Cubic polynomials ensures the continuity of velocity but not the

acceleration. Practically, the industrial manipulators are sufficiently rigid so this

this continuity in acceleration

ia

)(2

)(2

12)(

3

02033

0022

01

00

f

f

f

f

f

ff

f

f

tta

ttta

a

a

Instructor: Jacob Rosen

Advanced Robotic - MAE 263D - Department of Mechanical & Aerospace Engineering - UCLA

Page 64: Trajectory Generation 1/2

Joint Space Schemes – Cubic Polynomials – Non Zero Velocity

• Note:

– The Cubic polynomials ensures the continuity of velocity but not the

acceleration.

– Practically, the industrial manipulators are sufficiently rigid so this

discontinuity in acceleration is filtered by the mechanical structure

– Therefore this trajectory is generally satisfactory for most applications

Instructor: Jacob Rosen

Advanced Robotic - MAE 263D - Department of Mechanical & Aerospace Engineering - UCLA

Page 65: Trajectory Generation 1/2

Joint Space Schemes

Single Time Interval

Polynomials

Quantic Order Polynomial

Page 66: Trajectory Generation 1/2

Trajectory Generation – Roadmap Diagram

Instructor: Jacob Rosen

Advanced Robotic - MAE 263 - Department of Mechanical & Aerospace Engineering - UCLA

Trajectory

Generation

Joint Space

Task Space

Single Time

Interval

Multiple Time

Intervals (Via Points)

Polynomials

1st Order

Linear

3ed Order

Cubic

5th Order

Quantic

Linear Function with

Parabolic Blend

User Defined

Function

System Defined

Function

Linear Function with

Parabolic Blend

Heuristic

3ed Order

Cubic

Linear Function with

Parabolic Blend

Page 67: Trajectory Generation 1/2

Joint Space Schemes – Quantic Polynomials

• Rational for Quantic Polynomials (high order)

– High Speed Robot

– Robot Carrying heavy/delicate load

– Non Rigid links

– For high speed robots or when the robot is handling heavy or delicate loads. It is

worth insuring the continuity of accelerations as well as avoid excitation of the

resonance modes of the mechanism

Instructor: Jacob Rosen

Advanced Robotic - MAE 263D - Department of Mechanical & Aerospace Engineering - UCLA

Page 68: Trajectory Generation 1/2

Joint Space Schemes – Quantic Polynomials - Non Zero Acceleration

• Problem - Define a function for each joint such that it value at

– is the time at the initial position

– is the time at the desired goal position

• Given - Constrains on the position velocity and acceleration at the

beginning and the end of the path segment

• What should be the order of the polynomial function to meet these

constrains?

0t

ft

ff

ff

ff

t

t

t

)(

)0(

)(

)0(

)(

)0(

0

0

0

Instructor: Jacob Rosen

Advanced Robotic - MAE 263D - Department of Mechanical & Aerospace Engineering - UCLA

Page 69: Trajectory Generation 1/2

Joint Space Schemes – Quantic Polynomials - Non Zero Acceleration

• Solution - The six constraints can be satisfied by a polynomial of at least fifth

order

• Combined with the six desired constraints yields six equations with six unknowns

3

5

2

432

4

5

3

4

2

321

5

5

4

4

3

3

2

210

201262)(

5432)(

)(

tatataat

tatatataat

tatatatataat

3

5

2

432

20

4

5

3

4

2

321

10

5

5

4

4

3

3

2

210

00

201262

2

5432

ffff

fffff

ffffff

tatataa

a

tatatataa

a

tatatatataa

a

ff

ff

ff

t

t

t

)(

)0(

)(

)0(

)(

)0(

0

0

0

Instructor: Jacob Rosen

Advanced Robotic - MAE 263D - Department of Mechanical & Aerospace Engineering - UCLA

Page 70: Trajectory Generation 1/2

Joint Space Schemes – Quantic Polynomials - Non Zero Acceleration

Instructor: Jacob Rosen

Advanced Robotic - MAE 263D - Department of Mechanical & Aerospace Engineering - UCLA

Page 71: Trajectory Generation 1/2

Joint Space Schemes – Quantic Polynomials - Non Zero Acceleration

Instructor: Jacob Rosen

Advanced Robotic - MAE 263D - Department of Mechanical & Aerospace Engineering - UCLA

Page 72: Trajectory Generation 1/2

Joint Space Schemes – Cubic Polynomials - Non Zero Acceleration

• Solving these equations for the we obtain ia

5

2

000

5

4

2

000

4

3

2

000

3

02

01

00

2

)()66(1212

2

)23()1614(3030

2

)3()128(2020

2

f

fffff

f

fffff

f

fffff

t

tta

t

tta

t

tta

a

a

a

Instructor: Jacob Rosen

Advanced Robotic - MAE 263D - Department of Mechanical & Aerospace Engineering - UCLA

Page 73: Trajectory Generation 1/2

Joint Space Schemes – Quantic Polynomials - Non Zero Acceleration

Instructor: Jacob Rosen

Advanced Robotic - MAE 263D - Department of Mechanical & Aerospace Engineering - UCLA

Page 74: Trajectory Generation 1/2

Joint Space Schemes – Quantic Polynomials - Zero Acceleration

Instructor: Jacob Rosen

Advanced Robotic - MAE 263D - Department of Mechanical & Aerospace Engineering - UCLA

Page 75: Trajectory Generation 1/2

Joint Space Schemes – Quantic Polynomials - Zero Acceleration

• Solution - The six constraints can be satisfied by a polynomial of at least fifth

order

• Combined with the six desired constraints yields six equations with six unknowns

3

5

2

432

4

5

3

4

2

321

5

5

4

4

3

3

2

210

201262)(

5432)(

)(

tatataat

tatatataat

tatatatataat

3

5

2

432

2

4

5

3

4

2

321

10

5

5

4

4

3

3

2

210

00

2012620

20

5432

fff

fffff

ffffff

tatataa

a

tatatataa

a

tatatatataa

a

0)(

0)0(

)(

)0(

)(

)0(

0

0

f

ff

ff

t

t

t

Instructor: Jacob Rosen

Advanced Robotic - MAE 263D - Department of Mechanical & Aerospace Engineering - UCLA

Page 76: Trajectory Generation 1/2

Joint Space Schemes – Quantic Polynomials - Zero Acceleration

Instructor: Jacob Rosen

Advanced Robotic - MAE 263D - Department of Mechanical & Aerospace Engineering - UCLA

Page 77: Trajectory Generation 1/2

Joint Space Schemes – Quantic Polynomials - Zero Velocity & Acceleration

Instructor: Jacob Rosen

Advanced Robotic - MAE 263D - Department of Mechanical & Aerospace Engineering - UCLA

Page 78: Trajectory Generation 1/2

Joint Space Schemes – Quantic Polynomials - Zero Velocity & Acceleration

• Solution - The six constraints can be satisfied by a polynomial of at least fifth

order

• Combined with the six desired constraints yields six equations with six unknowns

3

5

2

432

4

5

3

4

2

321

5

5

4

4

3

3

2

210

201262)(

5432)(

)(

tatataat

tatatataat

tatatatataat

3

5

2

432

2

4

5

3

4

2

321

1

5

5

4

4

3

3

2

210

00

2012620

20

54320

0

fff

ffff

ffffff

tatataa

a

tatatataa

a

tatatatataa

a

0)(

0)0(

0)(

0)0(

)(

)0( 0

f

f

ff

t

t

t

Instructor: Jacob Rosen

Advanced Robotic - MAE 263D - Department of Mechanical & Aerospace Engineering - UCLA

Page 79: Trajectory Generation 1/2

Joint Space Schemes – Quantic Polynomials - Zero Velocity & Acceleration

Instructor: Jacob Rosen

Advanced Robotic - MAE 263D - Department of Mechanical & Aerospace Engineering - UCLA

Page 80: Trajectory Generation 1/2

Joint Space Schemes – Quantic Polynomials - Zero Velocity & Acceleration

Instructor: Jacob Rosen

Advanced Robotic - MAE 263D - Department of Mechanical & Aerospace Engineering - UCLA

Page 81: Trajectory Generation 1/2

Joint Space Schemes – Quantic Polynomials - Zero Velocity & Acceleration

Instructor: Jacob Rosen

Advanced Robotic - MAE 263D - Department of Mechanical & Aerospace Engineering - UCLA

Page 82: Trajectory Generation 1/2

Joint Space Schemes – Quantic Polynomials - Zero Velocity & Acceleration

Instructor: Jacob Rosen

Advanced Robotic - MAE 263D - Department of Mechanical & Aerospace Engineering - UCLA

Page 83: Trajectory Generation 1/2

Joint Space Schemes – Quantic Polynomials - Zero Velocity & Acceleration

Instructor: Jacob Rosen

Advanced Robotic - MAE 263D - Department of Mechanical & Aerospace Engineering - UCLA

Page 84: Trajectory Generation 1/2

Joint Space Schemes

Single Time Interval

Polynomials

Linear Function with Parabolic Blend (Trapezoid Velocity Method)

Page 85: Trajectory Generation 1/2

Trajectory Generation – Roadmap Diagram

Instructor: Jacob Rosen

Advanced Robotic - MAE 263 - Department of Mechanical & Aerospace Engineering - UCLA

Trajectory

Generation

Joint Space

Task Space

Single Time

Interval

Multiple Time

Intervals (Via Points)

Polynomials

1st Order

Linear

3ed Order

Cubic

5th Order

Quantic

Linear Function with

Parabolic Blend

User Defined

Function

System Defined

Function

Linear Function with

Parabolic Blend

Heuristic

3ed Order

Cubic

Linear Function with

Parabolic Blend

Page 86: Trajectory Generation 1/2

Joint Space Schemes –

Linear Function With Parabolic Blend

Instructor: Jacob Rosen

Advanced Robotic - MAE 263D - Department of Mechanical & Aerospace Engineering - UCLA

Page 87: Trajectory Generation 1/2

Joint Space Schemes –

Linear Function With Parabolic Blend

Instructor: Jacob Rosen

Advanced Robotic - MAE 263D - Department of Mechanical & Aerospace Engineering - UCLA

Page 88: Trajectory Generation 1/2

Joint Space Schemes –

Linear Function With Parabolic Blend

Instructor: Jacob Rosen

Advanced Robotic - MAE 263D - Department of Mechanical & Aerospace Engineering - UCLA

Page 89: Trajectory Generation 1/2

Joint Space Schemes –

Linear Function With Parabolic Blend

Instructor: Jacob Rosen

Advanced Robotic - MAE 263D - Department of Mechanical & Aerospace Engineering - UCLA

Page 90: Trajectory Generation 1/2

Joint Space Schemes –

Linear Function With Parabolic Blend

Instructor: Jacob Rosen

Advanced Robotic - MAE 263D - Department of Mechanical & Aerospace Engineering - UCLA

Page 91: Trajectory Generation 1/2

Joint Space Schemes –

Linear Function With Parabolic Blend

Instructor: Jacob Rosen

Advanced Robotic - MAE 263D - Department of Mechanical & Aerospace Engineering - UCLA

Page 92: Trajectory Generation 1/2

Joint Space Schemes –

Linear Function With Parabolic Blend

Instructor: Jacob Rosen

Advanced Robotic - MAE 263D - Department of Mechanical & Aerospace Engineering - UCLA

Page 93: Trajectory Generation 1/2

Joint Space Schemes –

Linear Function With Parabolic Blend

Instructor: Jacob Rosen

Advanced Robotic - MAE 263D - Department of Mechanical & Aerospace Engineering - UCLA

Page 94: Trajectory Generation 1/2

Joint Space Schemes –

Linear Function With Parabolic Blend

Instructor: Jacob Rosen

Advanced Robotic - MAE 263D - Department of Mechanical & Aerospace Engineering - UCLA

Page 95: Trajectory Generation 1/2

Joint Space Schemes –

Linear Function With Parabolic Blend

Instructor: Jacob Rosen

Advanced Robotic - MAE 263D - Department of Mechanical & Aerospace Engineering - UCLA