Docsity

Path Planning and Trajectory Control Experiment for Robotics, Lab Reports of Electrical and Electronics Engineering

Toggle sidebar
bg1
ECE 4330, 7330 EXPERIMENT VI Fall, 2004
INTRODUCTION TO PATH PLANNING, TRAJECTORY CONTROL
AND ROBOTIC CELL INTEGRATION
This experiment will utilize the Mentor robot and the 5150 robot, along with the
laboratory control computer and the results of previous experiments to accomplish the
following objectives.
1. Develop a computer program to control the position and orientation of the Mentor
robot manipulator to generate a specific trajectory on the x-y plane.
2. Demonstrate path planning and trajectory control in the laboratory using the
program developed in objective 1.
3. Develop control programs for the Mentor and 5150 robot manipulators to
coordinate motions to accomplish a common task.
Introduction
In previous experiments, the robot manipulator was programmed to accomplish tasks
that essentially consisted of pick-and-place operations. Such an operation consists of
specifying a pick-up location, a place-down location, and two or more via locations to
achieve smoother operation and avoid obstacles. However, in this experiment, path or
trajectory control is considered. In general, a path consists of a sequence of values or
locations of the joint variables to generate a sequence of positions and orientations of the
tool frame as it moves through three-dimensional space. Recall that the control of the
position and orientation of the tool frame (end effector) represents a major objective in
robotics. The path followed by the origin of the tool frame can be defined by its shape.
Common shapes include straight lines, circles, and arcs. Thus, one can define a path as a
sequence of points, perhaps a nearly continuous one. The 6 x 1 configuration or
Cartesian space vector, W, defines both the position and orientation of the tool frame in
terms of, or as functions of the joint variables. The first 3 components of W define the
position of the tool frame, P(x, y, z), which is a point on a desired path. The last 3
components of W define the orientation of the tool frame in terms of the roll angle and
the projections of the approach vector onto the x, y, and z axes of the reference frame. It
is more difficult to visualize a path formed by a sequence of orientations since this is
defined by a corresponding sequence of pointing directions of the approach vector, a. A
trajectory is defined as a path generated over time; then, the position of the origin of the
tool frame would be defined by P[x(t), y(t), z(t)] . Trajectory control is crucial in many
applications, such a paint spraying and welding. In pain spraying, for example, in
addition to following a path to match the dimensions of the object being sprayed,
thickness and uniformity of the finished coating depend upon the speed of sweeping the
sprayer. Thus, one must consider orientation, O[ax(t), ay(t), az(t); θn(t)]. Thus, a path is
defined by a sequence of position and orientation functions of time is called a trajectory.
pf3

Partial preview of the text

Download Path Planning and Trajectory Control Experiment for Robotics and more Lab Reports Electrical and Electronics Engineering in PDF only on Docsity!

ECE 4330, 7330 EXPERIMENT VI Fall, 2004 INTRODUCTION TO PATH PLANNING, TRAJECTORY CONTROL AND ROBOTIC CELL INTEGRATION This experiment will utilize the Mentor robot and the 5150 robot, along with the laboratory control computer and the results of previous experiments to accomplish the following objectives.

  1. Develop a computer program to control the position and orientation of the Mentor robot manipulator to generate a specific trajectory on the x-y plane.
  2. Demonstrate path planning and trajectory control in the laboratory using the program developed in objective 1.
  3. Develop control programs for the Mentor and 5150 robot manipulators to coordinate motions to accomplish a common task. Introduction In previous experiments, the robot manipulator was programmed to accomplish tasks that essentially consisted of pick-and-place operations. Such an operation consists of specifying a pick-up location, a place-down location, and two or more via locations to achieve smoother operation and avoid obstacles. However, in this experiment, path or trajectory control is considered. In general, a path consists of a sequence of values or locations of the joint variables to generate a sequence of positions and orientations of the tool frame as it moves through three-dimensional space. Recall that the control of the position and orientation of the tool frame (end effector) represents a major objective in robotics. The path followed by the origin of the tool frame can be defined by its shape. Common shapes include straight lines, circles, and arcs. Thus, one can define a path as a sequence of points, perhaps a nearly continuous one. The 6 x 1 configuration or Cartesian space vector, W, defines both the position and orientation of the tool frame in terms of, or as functions of the joint variables. The first 3 components of W define the position of the tool frame, P(x, y, z), which is a point on a desired path. The last 3 components of W define the orientation of the tool frame in terms of the roll angle and the projections of the approach vector onto the x, y, and z axes of the reference frame. It is more difficult to visualize a path formed by a sequence of orientations since this is defined by a corresponding sequence of pointing directions of the approach vector, a. A trajectory is defined as a path generated over time; then, the position of the origin of the tool frame would be defined by P[x(t), y(t), z(t)]. Trajectory control is crucial in many applications, such a paint spraying and welding. In pain spraying, for example, in addition to following a path to match the dimensions of the object being sprayed, thickness and uniformity of the finished coating depend upon the speed of sweeping the sprayer. Thus, one must consider orientation, O[ ax(t), ay(t), az(t); θn(t)]. Thus, a path is defined by a sequence of position and orientation functions of time is called a trajectory.

Background This experiment consists of the following two tasks.

  1. Constructing a Circle in the x-y Plane: Suppose that a felt pen is held by the gripper, with the long central axis of the pen aligned with the approach vector. Then, define a circle on the x-y plane with center located at P(x, y, z) = (20, 0,
    1. cm and a radius of 9 cm. Start the planning by defining 8 points uniformly spaced on the circle and determine the required orientation and position for the tool frame. Recall that the orientation for this type of robot is defined by the global pitch angle and the roll angle. Constructing a circle, however does not require changing the roll angle (in general). The global pitch could be, but is not limited to a vertical approach. The important goal is to achieve smooth motion. Between the chosen points, use via points defined as having joint angle that are the average values of the two end points between which is a via point. Smooth motion means that there are no “large” changes in orientation between successive points and the circle is generated one point after the other, around the circle.
  2. Coordinated Motion: Consider the following assembly task. The Mentor robot picks up a cylinder from (x, y, z) = (0, -25, 5) cm and places it down at (x, y, z) = (24.5, - 5, 5) and then returns home. This sequence should start 5 seconds after digital input 2 changes from 0 to 1. After the Mentor returns home and 5 seconds later, it sends a signal (start conveyor – digital output 2) to the 5150 (input 1) to pick up a cylinder from a position directly in front of it (say (25, 0, 5) relative to its coordinate system, The 5150 then moves this cylinder to (x, y, z) = (0, 25, 5) relative to the Mentor coordinate system and then returns home. When the 5150 robot has returned home, there is a 5 sec waiting period and then, it sends a digital signal (digital output 1 on the 5150) to the Mentor (digital input 3). After waiting for 5 seconds, the Mentor will move to pick-up the cylinder at (0, 25, 5) cm and place it down at (x, y, z) = (24.5, 5, 5) and then returns home. After another 5 sec wait, the Mentor sends a signal (halt conveyor, digital output
    1. to the 5150 robot (digital input 2). The 5150 then moves to approximately (0, 25, 9) on a shelf to pick-up a rectangular block (10 cm x 3.8 cm x 3.8 cm) and moves it to (x, y, x) so that the centroid will be at (0, 25, 6) cm on a low shelf in the Mentor work spaceand so that the long side is parallel with the x axis of the Mentor robot. Then, the 5150 should return home. After it returns home, it sends ( digital output 2) a signal to the Mentor (digital input 4), After 5 sec, the Mentor robot picks-up th is last block and places on top of the two cylinders evenly so that the long side of this rectangular block is parallel to the y axis. Finally, the Mentor returns to its home position.