Rob Lect7 N
Rob Lect7 N
1 6/5/2024
Outline
➢ Trajectory Planning
2 6/5/2024
Trajectory Planning
Introduction
6/5/2024 3
Trajectory Planning
PATH VS. TRAJECTORY
• Path: A sequence of robot configurations in a particular
order without regard to the timing of these
configurations.
▪ Path is a pure geometric description of motion.
• Trajectory: a path on which timing law is specified, e.g.,
velocities and accelerations in its each point.
6/5/2024 4
Trajectory Planning
PATH VS. TRAJECTORY
• Path planning
design of only geometric (kinematic) specifications of the positions and
orientations of robots
• Trajectory planning
path planning + design of linear and angular velocities
6/5/2024 5
Trajectory Planning
Robot Motion Planning
6/5/2024 6
Trajectory Planning
Trajectory generation, problem formulation
6/5/2024 7
Trajectory Planning
Joint-space vs. Cartesian-space descriptions
• Joint-space description:
- The description of the motion to be made by the robot by
its joint values.
- The motion between the two points is unpredictable.
• Cartesian space (Operational space)description:
- The motion between the two points is known at all times
and controllable.
- It is easy to visualize the trajectory, but is difficult to
ensure that singularity.
6/5/2024 8
Trajectory Planning
Cartesian-space descriptions
The trajectory specified in Cartesian coordinates the trajectory may requires a sudden
may force the robot to run into itself. change in the joint angles
6/5/2024 9
Trajectory Planning
Trajectory in the operational space
6/5/2024 10
Trajectory Planning
Trajectory in the joint space
6/5/2024 11
Trajectory Planning
Trajectory Planning
6/5/2024 12
Trajectory Planning
Trajectory planning profiles
6/5/2024 13
Trajectory Planning
Function used for interpolation
6/5/2024 14
Trajectory Planning
BASICS OF TRAJECTORY PLANNING
• Let’s consider a simple 2 degree of freedom robot.
• We desire to move the robot from Point A to Point B.
• Let’s assume that both joints of the robot can move at the maximum
rate of 10 degree/sec.
6/5/2024 15
Trajectory Planning
BASICS OF TRAJECTORY PLANNING
• Let’s assume that the motions of both joints are normalized by a
common factor such that the joint with smaller motion will move
proportionally slower and the both joints will start and stop their
motion simultaneously.
6/5/2024 16
Trajectory Planning
BASICS OF TRAJECTORY PLANNING
• Let’s assume that the robot’s hand follow a known path between point
A to B with straight line.
• The simplest solution would be to draw a line between points A and B,
so called interpolation.
Cartesian-space movements of a
two-degree-of-freedom robot.
6/5/2024 17
Trajectory Planning
BASICS OF TRAJECTORY PLANNING
• Let’s assume that the robot’s hand follow a known path between point
A to B with straight line.
• The simplest solution would be to draw a line between points A and B, so
called interpolation.
6/5/2024 19
Trajectory Planning
Solving the ‘Path Polynomial’
6/5/2024 20
Trajectory Planning
Solving the ‘Path Polynomial’
6/5/2024 21
Trajectory Planning
Solving the ‘Path Polynomial’
6/5/2024 22
Trajectory Planning
Third-Order Polynomial Trajectory Planning
• How the motions of a robot can be planned in joint-space with
controlled characteristics.
• The initial location and orientation of the robot is known, and using the inverse
kinematic equations, we find the final joint angles for the desired position and
orientation.
(t ) = c0 + c1t + c2t 2 + c3t 3 (ti ) = c0 = i
(ti ) = i
(t f ) = c0 + c1t f + c2t 2f + c3t 3f
(t f ) = f
(ti ) = c1 = 0
(ti ) = 0 (t ) = c1 + 2c2t + 3c3t 2
• First derivative of the (t f ) = c1 + 2c2t f + 3c3t 2f = 0
(t f ) = 0 polynomial of equation
• Initial Condition • Substituting the initial
and final conditions
6/5/2024 23
Trajectory Planning
Third-Order Polynomial Trajectory Planning
6/5/2024 24
Trajectory Planning
Example 1
6/5/2024 25
Trajectory Planning
Example 2
◼ It is desired to have the first joint of a six-axis robot go from initial angle of 30o to
a final angle of 75o in 5 seconds. Using a third-order polynomial, calculate the
joint angle at 1, 2 3, and 4 seconds.
6/5/2024 26
Trajectory Planning
Higher-order polynomials
6/5/2024 27
Trajectory Planning
Higher-order polynomials
6/5/2024 28
Trajectory Planning
Higher-order polynomials
6/5/2024 29
Trajectory Planning
Via points with desired velocities
6/5/2024 30
Trajectory Planning
Example3
6/5/2024 31
Trajectory Planning
Example3
6/5/2024 32
Trajectory Planning
Linear function with parabolic blends
This type of trajectory is appropriate when a constant velocity is desired along a portion of the
path. The LSPB trajectory is such that the velocity is initially “ramped up” to its desired value
and then “ramped down” when it approaches the goal position. To achieve this we specify the
desired trajectory in three parts. The first part from time 𝑡0 to time 𝑡𝑏 is a quadratic
polynomial. This results in a linear “ramp” velocity. At time 𝑡𝑏 , called the blend time, the
trajectory switches to a linear function. This corresponds to a constant velocity. Finally, at time
𝑡𝑓 − 𝑡𝑏 the trajectory switches once again, this time to a quadratic polynomial so that the
velocity is linear.
6/5/2024 35
Trajectory Planning
Linear function with parabolic blends
6/5/2024 36
Trajectory Planning
Linear function with parabolic blends
6/5/2024 37
Trajectory Planning
Linear function with parabolic blends
6/5/2024 38
Trajectory Planning
Linear function with parabolic blends
6/5/2024 39
Any questions or
suggestions?!