






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!







These problems are from the textbook by Spong et al.^1 , which is the textbook for the ECE580 this Fall 2015 semester. As such, many of the problem statements are taken verbatim from the text; however, others have been reworded for reasons of efficiency or instruction. Solutions are mine. Any errors are mine and should be reported to me, [email protected], rather than to the textbook authors.
A general comment: Note that the DH convention specifies
In particular, all link lengths must be either ai along the xi− 1 axis or di along the zi− 1 axis. Displacements along the y axes are not allowed and indicate a frame was ill-chosen. In some cases this will happen as a result of following the rules stated in the textbook. I have searched the web and found numerous copies of the rules, all nearly identical. That notwithstanding, if the only motions allowed are translations and rotations about the x and z axes, then the axes have to be placed such that all translations and rotations can be represented in those terms.
Considerable freedom is allowed in assigning the axes. Thus many different correct rep- resentations can be found. In order to determine the validity of a representation, it is crucial to have a detailed, dimensioned sketch of the coordinate frames.
3-6 Using the DH convention, derive the forward kinematic equations, for the three-link articulated robot shown in Figure 3-21 of the textbook. Solution Note that the DH convention specifies not just the parameters to be used to describe the distances between frames and how the Ai matrices are constructed, but also the relative orientations of the frames themselves. All link lengths must be either ai along the xi− 1 axis or di along the zi− 1 axis. Displacements along the y axes are not allowed and indicate a frame was ill-chosen. The DH parameters for the three-link articulated robot are presented in Table 1. This is not the only possible assignment of coordinate axes. For example, if F 0 and F 1 are chosen to coincide at J2, then d 1 = 0. (^1) Spong, M., S. Hutchinson, and M. Vidyasagar, Robot Modeling and Control, John Wiley & Sons,
Table 1: DH parameters for the three-link articulated robot Link ai αi di θi 1 0 π/ 2 d 1 θ∗ 1 2 a 2 0 0 θ∗ 2 3 a 3 0 0 θ∗ 3
The forward kinematics of the 3-link elbow-manipulator are calculated in the Matlab transcript below:
%%%%% ECE569 Fall 2015, IUPUI %%%%% Forward kinematics for three link articulated robot of %%%%% Figure 3. %%%%% c. 2015 S. Koskie %%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
syms a2 a3 d1 c1 s1 c2 s2 c3 s
H1Rz = [c1 -s1 0 0;s1 c1 0 0;0 0 1 0; 0 0 0 1]
H1Rz =
[ c1, -s1, 0, 0] [ s1, c1, 0, 0] [ 0, 0, 1, 0] [ 0, 0, 0, 1]
H1Tz = [1 0 0 0; 0 1 0 0;0 0 1 d1; 0 0 0 1]
H1Tz =
[ 0, 0, 1, d1] [ 0, 0, 0, 1]
[ 1, 0, 0, a2] [ 0, 1, 0, 0] [ 0, 0, 1, 0] [ 0, 0, 0, 1]
H2Rx = eye(4)
H2Rx =
A2 = H2Rz * H2Tz * H2Tx * H2Rx
[ c2, -s2, 0, a2c2] [ s2, c2, 0, a2s2] [ 0, 0, 1, 0] [ 0, 0, 0, 1]
A3 = [c3 -s3 0 a3c3;s3 c3 0 a3s3;0 0 1 0;0 0 0 1]
[ c3, -s3, 0, a3c3] [ s3, c3, 0, a3s3] [ 0, 0, 1, 0] [ 0, 0, 0, 1]
[ c1c2c3 - c1s2s3, - c1c2s3 - c1c3s2, s1, a2c1c2 - a3c1s2s3 + a3c1c2c [ c2c3s1 - s1s2s3, - c2s1s3 - c3s1s2, -c1, a2c2s1 - a3s1s2s3 + a3c2c3s [ c2s3 + c3s2, c2c3 - s2s3, 0, d1 + a2s2 + a3c2s3 + a3c3*s [ 0, 0, 0,
r11 =T30(1,1)
r11 =
c1c2c3 - c1s2s
r12 = T30(1,2)
r12 =
r13 = T30(1,3)
r13 =
s
r14 = T30(1,4)
r14 =
a2c1c2 - a3c1s2s3 + a3c1c2c
r21 =T30(2,1)
r21 =
c2c3s1 - s1s2s
r22 =T30(2,2)
r22 =
r23 = T30(2,3)
r23 =
-c
r 11 = c 1 c 2 c 3 − c 1 s 2 s 3 = c 1 c 23 r 12 = −c 1 c 2 s 3 − c 1 s 2 c 3 = −c 1 s 23 r 13 = s 1 = s 1 d 1 = c 1 (a 2 c 2 − a 3 s 2 s 3 + a 3 c 2 c 3 ) = c 1 (a 2 c 2 − a 3 c 23 ) r 21 = s 1 c 2 c 3 − s 1 s 2 s 3 = s 1 c 23 r 22 = −s 1 c 2 s 3 − s 1 s 2 c 3 = −s 1 s 23 r 23 = −c 1 = −c 1 d 2 = s 1 (a 2 c 2 − a 3 s 2 s 3 + a 3 c 2 c 3 ) = s 1 (a 2 c 2 − a 3 c 23 ) r 31 = c 2 s 3 + s 2 c 3 = s 23 r 32 = c 2 c 3 − s 2 s 3 = c 23 r 33 = 0 = 0 d 3 = d 1 + a 2 s 2 + a 3 c 2 s 3 + a 3 s 2 c 3 = d 1 + a 2 s 2 + a 3 s 23.
The expressions in the third column were obtained using the trigonometric double- angle formulas
sin(α ± β) = sin α cos β ± cos α sin β (1) cos(α ± β) = cos α cos β ∓ sin α sin β. (2)
3-10 For the Mitsubishi RV-1A, derive the complete set of forward kinematic equations by (i) establishing the appropriate DH coordinate frames, (ii) constructing a table of DH parameters, (iii) forming the Ai matrices, and (iv) calculating T (^) n^0 where n is the number of links of the robot.
(i) DH Coordinate Frames The Mitsubishi RV-1a has six joints connecting seven links, counting the end effector (n = 7, as shown in Figure 2-3 of the robot specifications manual^2 a 2002 version of which is available in the lab. (See Figure 2-4 of the 2002 version.) This figure identifies the joints of the RV-1A as follows:
Table 2: Robot Joints Joint Name Function J1 connects the base to Link 1 J2 Shoulder connects Link 1 to Link 2 (upper arm) J3 Elbow connects Link 2 (upper arm) to Link 3 (elbow block) J4 connects Link 3 (elbow block) and Link 4 (forearm) J5 Wrist (pitch) connects Link 4 (forearm) to Link 5 J6 Wrist (roll) connects Link 5 to Link 6 (end effector)
For the fixed reference frame, x 0 and y 0 are arbitrary. I choose the x 0 axis to be positive toward the front of the robot. The convention for the frames 1 to n − 1 is the following. The zi axes correspond to the axes of rotation of the joints. Since the direction of rotation that is considered positive is shown in the figure, the zi axes are completely described by the figure, because all frames should be right-handed. The xi axes should point towards the next link (the choice of direction is arbitrary, but it is best to be consistent. The yi axes are then fixed by the requirement that the coordinate frames be right-handed. In the end effector/tool frame, F 7 , the axes are assigned according to the following convention. The origin of the frame oc is centered symmetrically between the fingers of the gripper. The positive approach axis ˆa = z 7 axis is oriented in the direction that the gripper would normally approach an object (outward). The positive sweep axis ˆs = y 7 is oriented in the direction of opening of the gripper, and the normal axis ˆn = xn is normal to the sweep and approach axes in the direction that provides a right-handed coordinate system. (ii) DH Parameters To identify the DH parameters, we must examine the di- mensions of the links. This information is found in the Standard Specifications Manual, available in the robotics lab. Distances from the origin of frame i to (^2) Mitsubishi Industrial Robot RV-1A/RV-2AJ Series Standard Specification Manual (CR-571 Con- troller) BFP-A8050-K c©2009 Mitsubishi Electric Corporation http://www.mitsubishielectric.com/.
3-11 How many solutions are there to the inverse kinematics of the three-link planar arm shown in Figure 3.32 (i) if only the end-effector position is specified? (ii) if both position and orientation are specified? Solution
(i) If position alone is specified, the location of the end of the fourth link (to which the end-effector is attached) is fixed. (The first link is the base, which, being fixed, isn’t counted in the name the manipulator.) If the location is at the full extent of the arm (
i=2 ai) for configurations except when all arms are vertical or
i=1 ai^ in the vertical case) then the solution to the inverse kinematics is unique. Otherwise, each elbow joint, J2 and J3 could be oriented either up or down so there are 2^2 configurations corresponding to any set of specified angles. However, since we could add δ to any one of the three joint angle θ 1 , θ 2 , θ 3 and subtract it from another, there are infinitely many options for the joint angles. Formally, for end effector position d, dx = a 2 cos(θ 1 ) + a 3 cos(θ 1 + θ 2 ) + a 4 cos(θ 1 + θ 2 + θ 3 ) dy = a 2 sin(θ 1 ) + a 3 sin(θ 1 + θ 2 ) + a 4 sin(θ 1 + θ 2 + θ 3 ), we have two equations in three unknowns. (ii) If both position and orientation are specified then the locations of both ends of the fourth link, and thus the location and orientation of J3, are fixed. If the location is at the full extent of the arm (
i=2 ai) for configurations except when all arms are vertical or
i=1 ai^ in the vertical case) then the solution to the inverse kinematics is unique. Otherwise, for fixed position d of J3 and L4, dx = a 2 cos(θ 1 ) + a 3 cos(θ 1 + θ 2 ) dy = a 2 sin(θ 1 ) + a 3 sin(θ 1 + θ 2 ) we have two equations in two unknowns, so the solution is unique modulo choice of elbow J2 up or down. Let θ 3 ,d be the angle that L4 defines with respect to the base frame. Then if we define the solution for elbow up to be [ θ 1 u θ 2 u θ 3 u
then solution for elbow down is θd 1 = θu 1 − 2(θu 1 − θ 3 ,d) = 2θ 3 ,d − θ 1 u and θd 2 = θu 2 + 2(θu 2 − θ 3 ,d) = 2θ 3 ,d − θ 2 u .
©c2017 S. Koskie