Description
Problem 1: (warm up) Find the Euler angles equivalent to the following sequence of
rotations: Rotx(π/2), Roty(−π) (relative to y0), Roty(π/2) (relative to the current frame)
and Rotz(-π/2) (relative to z0). Sketch all frames and verify that the Euler angles for the
composite rotation work (if there are multiple solutions, show them all).
Problem 2: (forward kinematics) Consider the PP robot with spherical wrist shown in
Fig. 1. Consider all 3 d.o.f. of the spherical wrist to be concentric (zero lengths between
joints).
Figure 1: 5-dof robot with spherical wrist.
Figure 2 shows the sign convention from the angles and their zero references.
Figure 2: 5-dof robot with spherical wrist at the zero angle configuration.
1. Assign a complete set of coordinate frames following the D-H convention strictly, and
include a summary table. Sketch all frames. Place the origin of the end effector frame
at P.
2. List the frame-to-frame homogeneous transformations and write a Matlab program
that finds the world position of any point in the end effector frame given numerical
values for the five joint coordinates.
3. Verify your solution and code with two “easy” configurations that can be sketched to
find P
0 by inspection:
• q1 = 1, q2 = 1, q3 = π, q4 = 0, q5 = π/2
• q1 = 1, q2 = −1, q3 = π/2, q4 = π/2, q5 = 0
Running your code with these values should match the coordinates of P
0
obtained
from the sketches.
4. Add lines to your code so that the world coordinates x0(t), y0(t) and z0(t) of P(t) are
calculated for the following joint coordinate functions:
• q1(t) = sin(2t)
• q2(t) = cos(t)
• q3(t) = t
• q4(t) = sin(2t)
• q5(t) = t
Use t ∈ [0, 20] with increments δt = 0.01.
5. Plot x0(t), y0(t) and z0(t) each versus t.
6. Make a 3D plot of the end effector trajectory.
2
7. Make 3 projection plots of the above trajectory: xz, xy and yz planes.
8. List your code and the transformation function library you used.
Problem 3: Consider the 4-axis SCARA robot shown in Fig. 3. The spindle at the end
of the second link can move vertically and also rotate through 360 degrees, providing two
degrees of freedom that can be independently actuated.
Figure 3: 4-dof SCARA robot.
A plasma cutting electrode is attached horizontally at the bottom end of the spindle (see
Fig. 4). The electrode rotates and moves up and down with the spindle. The robot will
be used to cut a rectangular window on a circular-base cylinder located along the reference
position shown in the figure. The cylinder has radius 50 mm, is 100 mm tall and is supported
75 mm above the base of the robot. The electrode must be normal to the circumference of
the workpiece during the cut. The electrode will not change length during the operation.
The lower edge of the rectangle starts 10 mm from the base of the cylinder, at the point
nearest to the spindle. The window should be 15 mm wide and 40 mm tall. The cut should
be completed in 20 seconds.
1. Assign coordinate frames starting from the information given in Fig. 4 and the dimensions at the end of this document. Use the D-H convention.
2. Develop the necessary forward kinematics as Matlab code.
3. Consult SHV for the solutions to the inverse kinematics for this robot and make necessary adjustments or simplifications as you see fit.
4. It is suggested to solve four separate inverse kinematics problems corresponding to each
edge of the window. Find the mathematical expressions for each of the 3D Cartesian
trajectories to be followed, as well as the required end frame orientation and write code
to generate them numerically, using a speed that allows the task to be completed in
20 seconds.
3
5. Use exact inverse kinematic formulas to find the four required joint angle histories.
6. Verify by feeding your solutions back into the forward kinematics.
7. Attempt a direct numerical solution using Corke’s Robotics Toolbox (work in meters
to prevent numerical issues).
Link 2 Link 1
Workpiece
Workpiece
Spindle
75 30
Electrode
r = 50
400
Rectangle height
Top of rectangle
Figure 4: Workpiece and initial electrode position
4
External dimensions c = 150mm d = 225mm e = 760mm
a = 325 mm
b = 225 mm