Docsity

Lab 5: Path Planning & Trajectory Control in Mechatronics, Lab Reports of Electrical and Electronics Engineering

Toggle sidebar
bg1
ECE 4330/7330 Introduction to Mechatronics & Robotic Vision, Fall 2008
1 of 2
Lab 5
Path Planning and Trajectory Control
Objective
In this experiment, students will continue using the PUMA 260 robot
manipulator to achieve the following goals:
1. Develop a matlab program to control the position and orientation of
PUMA 260 robot to generate a specific trajectory on the x-y plane.
2. Demonstrate the path planning and trajectory control using the
program developed in goal 1.
Introduction
In general, a path consists of a sequence of values to generate a
sequence of positions and orientations of the tool frame as it moves through
a three-dimensional space. The path followed by the origin of the tool frame
can be defined by its shape. Common shapes include straight lines, circles,
and arcs. Therefore, one can define a path as a sequence of points using 6
parameters to define both the position and orientation of the tool frame in
terms of the joint variables. The first 3 components define the position of the
tool frame, P(x, y, z), which is a point on a desired path. The last 3
components define the orientation of the tool frame in terms of the O, A and
T angles.
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 as 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 also orientation over time, O[o(t), a(t), t(t)].
In other words, a path that is defined by a sequence of position and
orientation functions of time is called a trajectory.
pf2

Partial preview of the text

Download Lab 5: Path Planning & Trajectory Control in Mechatronics and more Lab Reports Electrical and Electronics Engineering in PDF only on Docsity!

ECE 4330/7330 Introduction to Mechatronics & Robotic Vision, Fall 2008

1 of 2

Lab 5

Path Planning and Trajectory Control

Objective

In this experiment, students will continue using the PUMA 260 robot manipulator to achieve the following goals:

  1. Develop a matlab program to control the position and orientation of PUMA 260 robot to generate a specific trajectory on the x-y plane.
  2. Demonstrate the path planning and trajectory control using the program developed in goal 1.

Introduction

In general, a path consists of a sequence of values to generate a sequence of positions and orientations of the tool frame as it moves through a three-dimensional space. The path followed by the origin of the tool frame can be defined by its shape. Common shapes include straight lines, circles, and arcs. Therefore, one can define a path as a sequence of points using 6 parameters to define both the position and orientation of the tool frame in terms of the joint variables. The first 3 components define the position of the tool frame, P(x, y, z), which is a point on a desired path. The last 3 components define the orientation of the tool frame in terms of the O, A and T angles.

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 as 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 also orientation over time, O[o(t), a(t), t(t)]. In other words, a path that is defined by a sequence of position and orientation functions of time is called a trajectory.

ECE 4330/7330 Introduction to Mechatronics & Robotic Vision, Fall 2008

2 of 2

Reference Materials

  1. Lecture notes, i.e. forward kinematics, inverse kinematics and path planning.

Lab Procedure

Path Planning

  1. Suppose that a highlight pen is picked by the gripper. With this arrangement, the point of the highlight pen will extend beyond the gripper with the long central axis of the pen aligned with the approach vector.
  2. Define a straight line on the x-y plane with end points located at P 1 (x, y, z) = (15, -10, z) cm and P 2 (x, y, z) = (35, 10, z) cm. Start the planning by defining 10 or more points uniformly spaced on the straight line including the end point. You also have to specify the O, A and T angles for those points. Constructing a straight line, however, does not require changing the T angle.
  3. The important goal is to achieve smooth motion. Treat the points between the end points as via points. Smooth motion means that there are no “large” changes in orientation between successive points and the straight line is generated one point after the other along the line. One strategy is to generate more via points. You may also need to make minor adjustments on z in order that the tip of the pen touches the X-Y surface, but does not “jam” it.
  4. Develop a matlab program to draw a smooth straight line using 10 or more via points;