SlideShare a Scribd company logo
2
Most read
3
Most read
Robotics lec 6
BY : Mahmoud Hussein
The idea of motion
 To move a robot smoothly from one pose to another, we need smooth and
coordinated motion of all of its joints.
 we begin by looking at how to create smooth paths for the robot end effector
moving from one pose to another. There are two approaches we will introduce you
to. The first is what’s called a joint interpolated trajectory where we take the initial
pose and final pose and we use inverse kinematics to determine the initial and final
sets of joint values; then, we smoothly interpolate between those two sets.
 The second approach is to compute a Cartesian interpolated trajectory and what
we do here is interpolate between the initial and final end effector poses. Then, for
each interpolated pose, we compute the inverse kinematics to find the joint values
that are appropriate at that particular time step.
Interpolation of a scalar
 We want to make our robot to move from A to B , when the motion start, the end
effector of the robot arm is at a position or (pose) A and at the end of the motion ,
the end effector of the robot arm is at a position or (Pose)B , during the motion the
robot's position is changing smoothly and ideally the shortest path.
 We’ll start in a simple way and see how this works for a point moving along a
number line, and then apply those principles to two common approaches for
robotic motion: joint interpolation and Cartesian interpolation.
 Consider A and B are two points in real number line and we wish to move smoothly
between them. We can construct a function
 X(t) = A +(B - A) t
Interpolation of a scalar
 Such that the time variable t varies from 0 to 1 , that o<= t <=1.you should
convince your self that X(0)=A and X(1)=B we call this a trajectory a set of times
and points(ti , x(i)) that defines how the point moves as a function of time We can
choose to divide the time interval into as many steps, time steps, as we desire. This
is commonly known as linear interpolation and does the job very nicely, but has the
drawback that the motion is not totally smooth - let’s examine why.
 The point is initially not moving, and then at t=0 it starts to move with a velocity of
(B - A) since it has to cover the distance from A to B which is (B - A) in 1 second.
When it arrives at B it suddenly stops. The sudden changes in velocity at the start
and at the end mean massive accelerations– this is not a problem when moving a
mathematical point (which has no mass) along a number line but it is a very real
problem for the motors of a real robot.
Interpolation of a scalar
 What we need is a way for our point to smoothly accelerate at the beginning of the
motion and then smoothly decelerate at the end. Fortunately the Toolbox has a
function that does just this. Consider the problem of moving smoothly from X= - 2
to X = 3 n fifty steps. Using the Toolbox the solution is tpoly(-2,3,50)
 If you want to create vector we can do it
 X=tpoly(-2,3,50)
Joint interpolation in 2 D
 we learned how to interpolate a scalar smoothly between two values. Now, we
want to do this for the robot’s joint values, which are a vector.
 We define qA as a vector of the joint values (angles or lengths) at the robot’s initial
position (or pose). For a robot with N oints, this will be a vector of length N .
 Similarly , qB s a vector of the joint values (angles or lengths) at the robot’s final
position (or pose), and is the same length as qA
 Now we want to find a series of vectors that move smoothly between the values qA
and qB . Consider that qA=(-0.3 , 0.5) and qB=(0.5 ,0.2)
 qA=[-0.3 0.5]
 qB=[0.5 0.2]
 q=jtraj(qA,qB,50)
Cartesian interpolation in 2 D
 Now we have made our non-physical robot move as its joint angles followed a
trajectory – it moved from A to B. However, as we saw in the last step, close
scrutiny shows that between points A and B, the robot’s end effector does not
follow a straight line.
 For many robot applications, this is not important and joint interpolated motion is
adequate and easy to compute. However, there are some applications where
following a straight line is important – perhaps the robot is doing a cutting or
welding task. The solution we require is called Cartesian interpolation, and involves
interpolating points in the 2-dimensional (2D) Cartesian coordinate frame rather
than the 2D robot joint space. Consider two points in the 2D Cartesian coordinate
frame
 qA=[-0.3 0.5]
 qB=[0.5 0.2]
 q=mjtraj(@tpoly,qA,qB,50)
Motion in 3D
 Mdl_puma560
Motion in 3 D
Motion in 3 D
 Figure
 qplot(tg)
Cartesian interpolation in 3D
 Ts=ctraj(TA,TB,50);
 Ts(:,:,1)
 Ts(:,:,2)
 And so on
Cartesian interpolation in 3D
Cartesian interpolation in 3D
 Figure
 qplot(ts)

More Related Content

PPTX
Differential kinematics robotic
PPT
Lyapunov stability
PPTX
NONLINEAR CONTROL SYSTEM (Phase plane & Phase Trajectory Method)
PPT
Robotics: Cartesian Trajectory Planning
DOCX
Introduction to Control System Design
PPT
Mechanical translational rotational systems and electrical analogous circuit...
PDF
Exercise 1a transfer functions - solutions
Differential kinematics robotic
Lyapunov stability
NONLINEAR CONTROL SYSTEM (Phase plane & Phase Trajectory Method)
Robotics: Cartesian Trajectory Planning
Introduction to Control System Design
Mechanical translational rotational systems and electrical analogous circuit...
Exercise 1a transfer functions - solutions

What's hot (20)

PDF
Solution to Inverse Kinematics
PDF
Robot joints PDF
PPT
State space analysis, eign values and eign vectors
PPTX
Control system lectures
ODP
Matlab robotics toolbox
PPTX
Chapter 8 - Robot Control System
PDF
Control system stability routh hurwitz criterion
PPT
Basic elements in control systems
PPTX
Robot programming
PDF
Inverse Kinematics
PPTX
Sliding mode control
PDF
Modern Control - Lec 02 - Mathematical Modeling of Systems
PPT
Hydraulic and Pneumatic Actuators
PPTX
Fundamental of robotic manipulator
PPTX
Lyapunov stability analysis
PDF
6. steady state error
PPTX
Control systems engineering
PPSX
Robots one day presentation
PDF
Lecture 1 trajectory generation
PPTX
Jacobian | velocity and static forces
Solution to Inverse Kinematics
Robot joints PDF
State space analysis, eign values and eign vectors
Control system lectures
Matlab robotics toolbox
Chapter 8 - Robot Control System
Control system stability routh hurwitz criterion
Basic elements in control systems
Robot programming
Inverse Kinematics
Sliding mode control
Modern Control - Lec 02 - Mathematical Modeling of Systems
Hydraulic and Pneumatic Actuators
Fundamental of robotic manipulator
Lyapunov stability analysis
6. steady state error
Control systems engineering
Robots one day presentation
Lecture 1 trajectory generation
Jacobian | velocity and static forces
Ad

Viewers also liked (9)

PPTX
Robotics lec7
PPTX
Dh parameter application
PPTX
Automation lecture5
PPTX
Automation lec4
PPTX
Automation lec4
PPTX
Pneumatic control
PPTX
Automation lecture 6
PPTX
Neural network
PPTX
Motors types
Robotics lec7
Dh parameter application
Automation lecture5
Automation lec4
Automation lec4
Pneumatic control
Automation lecture 6
Neural network
Motors types
Ad

Similar to Robotics lec 6 (20)

PDF
03 time and motion
PDF
lec 2 Robotics time & motion
PDF
Research on The Control of Joint Robot Trajectory
DOCX
Sphero Write Up
PPT
Robotics: Introduction to Kinematics
PDF
Kiaras Ioannis cern
PPTX
Manipuladores robóticos em sistemas espaciais
PDF
RMV Mechanics
PDF
9783319319681 c2-3
PDF
090RobotTrajectoryGenerationEn.pdf
PDF
Two Link Robotic Manipulator
PDF
Optimal straight-line-trajectory-generation-in-3 d-space-using-deviation-algo...
PDF
PPTX
4852014.pptx
PDF
Motion Graphs Remediation Reading Madden's Class
PDF
simuliton of biped walkinng robot using kinematics
PDF
Mba Ebooks ! Edhole
PDF
Chapter_2_Representing Position and Orientation.pdf
PPT
Chapter 2 - Robot Kinematics.ppt
PDF
A Bionic gait programming algorithm for Hexapod Robot
03 time and motion
lec 2 Robotics time & motion
Research on The Control of Joint Robot Trajectory
Sphero Write Up
Robotics: Introduction to Kinematics
Kiaras Ioannis cern
Manipuladores robóticos em sistemas espaciais
RMV Mechanics
9783319319681 c2-3
090RobotTrajectoryGenerationEn.pdf
Two Link Robotic Manipulator
Optimal straight-line-trajectory-generation-in-3 d-space-using-deviation-algo...
4852014.pptx
Motion Graphs Remediation Reading Madden's Class
simuliton of biped walkinng robot using kinematics
Mba Ebooks ! Edhole
Chapter_2_Representing Position and Orientation.pdf
Chapter 2 - Robot Kinematics.ppt
A Bionic gait programming algorithm for Hexapod Robot

More from Mahmoud Hussein (20)

PPTX
07 modelling.electric.motors
PPTX
Dc dc converter
PPTX
08 pid.controller
PPTX
06 control.systems
PPTX
05 tuning.pid.controllers
PPTX
02 physical.system.modelling mechanical.systems.
PPTX
03 dynamic.system.
PPTX
Lecture 02 laplace transformation
PPTX
PPTX
Model based design-Hardware in loop-software in loop
PPTX
Ac drive basics
PPTX
Velocity kinematics
PPT
MPI Communication
PPT
PPT
Analogue Module
PPT
Function Block & Organization Block
PPT
Data Block
PPT
Declaration Table
PPT
Math operation
PPTX
Industrial communication
07 modelling.electric.motors
Dc dc converter
08 pid.controller
06 control.systems
05 tuning.pid.controllers
02 physical.system.modelling mechanical.systems.
03 dynamic.system.
Lecture 02 laplace transformation
Model based design-Hardware in loop-software in loop
Ac drive basics
Velocity kinematics
MPI Communication
Analogue Module
Function Block & Organization Block
Data Block
Declaration Table
Math operation
Industrial communication

Recently uploaded (20)

PDF
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
PDF
Automation-in-Manufacturing-Chapter-Introduction.pdf
PDF
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
PPTX
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
PDF
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
PPTX
UNIT 4 Total Quality Management .pptx
PDF
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
PPTX
Lecture Notes Electrical Wiring System Components
PPTX
Welding lecture in detail for understanding
PPT
Mechanical Engineering MATERIALS Selection
PDF
composite construction of structures.pdf
PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PPTX
CH1 Production IntroductoryConcepts.pptx
PPTX
web development for engineering and engineering
DOCX
573137875-Attendance-Management-System-original
PPTX
UNIT-1 - COAL BASED THERMAL POWER PLANTS
PDF
Embodied AI: Ushering in the Next Era of Intelligent Systems
PDF
Model Code of Practice - Construction Work - 21102022 .pdf
PDF
PPT on Performance Review to get promotions
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
Automation-in-Manufacturing-Chapter-Introduction.pdf
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
UNIT 4 Total Quality Management .pptx
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
Lecture Notes Electrical Wiring System Components
Welding lecture in detail for understanding
Mechanical Engineering MATERIALS Selection
composite construction of structures.pdf
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
CH1 Production IntroductoryConcepts.pptx
web development for engineering and engineering
573137875-Attendance-Management-System-original
UNIT-1 - COAL BASED THERMAL POWER PLANTS
Embodied AI: Ushering in the Next Era of Intelligent Systems
Model Code of Practice - Construction Work - 21102022 .pdf
PPT on Performance Review to get promotions

Robotics lec 6

  • 1. Robotics lec 6 BY : Mahmoud Hussein
  • 2. The idea of motion  To move a robot smoothly from one pose to another, we need smooth and coordinated motion of all of its joints.  we begin by looking at how to create smooth paths for the robot end effector moving from one pose to another. There are two approaches we will introduce you to. The first is what’s called a joint interpolated trajectory where we take the initial pose and final pose and we use inverse kinematics to determine the initial and final sets of joint values; then, we smoothly interpolate between those two sets.  The second approach is to compute a Cartesian interpolated trajectory and what we do here is interpolate between the initial and final end effector poses. Then, for each interpolated pose, we compute the inverse kinematics to find the joint values that are appropriate at that particular time step.
  • 3. Interpolation of a scalar  We want to make our robot to move from A to B , when the motion start, the end effector of the robot arm is at a position or (pose) A and at the end of the motion , the end effector of the robot arm is at a position or (Pose)B , during the motion the robot's position is changing smoothly and ideally the shortest path.  We’ll start in a simple way and see how this works for a point moving along a number line, and then apply those principles to two common approaches for robotic motion: joint interpolation and Cartesian interpolation.  Consider A and B are two points in real number line and we wish to move smoothly between them. We can construct a function  X(t) = A +(B - A) t
  • 4. Interpolation of a scalar  Such that the time variable t varies from 0 to 1 , that o<= t <=1.you should convince your self that X(0)=A and X(1)=B we call this a trajectory a set of times and points(ti , x(i)) that defines how the point moves as a function of time We can choose to divide the time interval into as many steps, time steps, as we desire. This is commonly known as linear interpolation and does the job very nicely, but has the drawback that the motion is not totally smooth - let’s examine why.  The point is initially not moving, and then at t=0 it starts to move with a velocity of (B - A) since it has to cover the distance from A to B which is (B - A) in 1 second. When it arrives at B it suddenly stops. The sudden changes in velocity at the start and at the end mean massive accelerations– this is not a problem when moving a mathematical point (which has no mass) along a number line but it is a very real problem for the motors of a real robot.
  • 5. Interpolation of a scalar  What we need is a way for our point to smoothly accelerate at the beginning of the motion and then smoothly decelerate at the end. Fortunately the Toolbox has a function that does just this. Consider the problem of moving smoothly from X= - 2 to X = 3 n fifty steps. Using the Toolbox the solution is tpoly(-2,3,50)  If you want to create vector we can do it  X=tpoly(-2,3,50)
  • 6. Joint interpolation in 2 D  we learned how to interpolate a scalar smoothly between two values. Now, we want to do this for the robot’s joint values, which are a vector.  We define qA as a vector of the joint values (angles or lengths) at the robot’s initial position (or pose). For a robot with N oints, this will be a vector of length N .  Similarly , qB s a vector of the joint values (angles or lengths) at the robot’s final position (or pose), and is the same length as qA  Now we want to find a series of vectors that move smoothly between the values qA and qB . Consider that qA=(-0.3 , 0.5) and qB=(0.5 ,0.2)  qA=[-0.3 0.5]  qB=[0.5 0.2]  q=jtraj(qA,qB,50)
  • 7. Cartesian interpolation in 2 D  Now we have made our non-physical robot move as its joint angles followed a trajectory – it moved from A to B. However, as we saw in the last step, close scrutiny shows that between points A and B, the robot’s end effector does not follow a straight line.  For many robot applications, this is not important and joint interpolated motion is adequate and easy to compute. However, there are some applications where following a straight line is important – perhaps the robot is doing a cutting or welding task. The solution we require is called Cartesian interpolation, and involves interpolating points in the 2-dimensional (2D) Cartesian coordinate frame rather than the 2D robot joint space. Consider two points in the 2D Cartesian coordinate frame  qA=[-0.3 0.5]  qB=[0.5 0.2]  q=mjtraj(@tpoly,qA,qB,50)
  • 8. Motion in 3D  Mdl_puma560
  • 10. Motion in 3 D  Figure  qplot(tg)
  • 11. Cartesian interpolation in 3D  Ts=ctraj(TA,TB,50);  Ts(:,:,1)  Ts(:,:,2)  And so on
  • 13. Cartesian interpolation in 3D  Figure  qplot(ts)