$25.99
Preliminary steps
Determine the slight difference between Matlab’s atan2 and the function shown in Appendix A of SHV.
Read Sections 2.5.1 and 2.5.2 of SHV to develop a detailed understanding of the inverseorientation solutions using Euler.
Read Section 3.3 to understand the geometric approach to the inverse position solutionsfor common robot configurations.
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.
Assign a complete set of coordinate frames following the D-H convention strictly, andinclude a summary table. Sketch all frames. Place the origin of the end effector frame at P.
List the frame-to-frame homogeneous transformations and write a Matlab programthat finds the world position of any point in the end effector frame given numerical values for the five joint coordinates.
Verify your solution and code with two “easy” configurations that can be sketched tofind P0 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 P0 obtained from the sketches.
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.
Plot x0(t), y0(t) and z0(t) each versus t.
Make a 3D plot of the end effector trajectory.
Make 3 projection plots of the above trajectory: xz, xy and yz
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.
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.
Develop the necessary forward kinematics as Matlab code.
Consult SHV for the solutions to the inverse kinematics for this robot and make necessary adjustments or simplifications as you see fit.
It is suggested to solve four separate inverse kinematics problems corresponding to eachedge 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.
Use exact inverse kinematic formulas to find the four required joint angle histories.
Verify by feeding your solutions back into the forward kinematics.
Attempt a direct numerical solution using Corke’s Robotics Toolbox (work in metersto prevent numerical issues).
Figure 4: Workpiece and initial electrode position
External dimensions