ME 352 - Machine Design I Name of Student: - Fall Semester 2019 Lab Section Number
ME 352 - Machine Design I Name of Student: - Fall Semester 2019 Lab Section Number
Homework 2 (40 points). Upload to Gradescope before 8:00 am on Friday, August 30th.
Recall that the important notes for this homework assignment are as printed on Homework 1.
The fixed X and Y-axes of a right-hand reference frame are specified as horizontal and vertical,
respectively, and the origin is coincident with O 2 , that is, the ground pivot of the input link 2. The
orientation of the ground link O 2O 4 relative to the X-axis is θ1 = 15° counterclockwise; that is, oriented
above the X-axis.
For the posture where the input angle θ2 = 30 counterclockwise from the X-axis, determine the
postures of the coupler link 3 and the output link 4 for the open and crossed postures of the four-bar
linkage using the following three methods: (i) graphical (make a scale drawing and measure the angles);
(ii) trigonometry (the sine rule and cosine rule); and (iii) the Newton-Raphson numerical technique.
Compare the answers that you obtain from the three methods.
Note that this problem is similar to Problem 2.33, see page 112 of the custom edition, Theory of
Machines and Mechanisms, Fifth Edition, J.J. Uicker, Jr., G.R. Pennock, and J.E. Shigley, Oxford
University Press, New York, 2017.
Solution to Homework 2.
(i) Graphical (10 Points). The link dimensions and joint angles specified in the problem statement are:
Ground Link: R1 = 200 mm θ1 = 15˚
Input Link: R2 = 90 mm θ2 = 30˚
Coupler Link: R3 = 150 mm θ3 = ?˚
Output Link: R4 = 170 mm θ4 = ?˚
For the specified input angle θ2 = 30 (measured from the X-axis), the two possible configurations of
the four-bar linkage are as shown in Figure 1. The loop O2 A B1 O4 is the open configuration and the
loop O2 A B2 O4 is the closed (or crossed-over) configuration of the four-bar linkage.
(ii) Trigonometry (10 Points). The notation for the open and closed (or crossed-over) configurations of
the four-bar linkage are shown in Figure 2. The law of cosines, for the triangle O2AO4, can be written as
2
Substituting the given values into this equation gives
Obviously, this distance cannot be a negative value, therefore, the length AO4 = 11.544 cm . The
notation for the angles for the open and closed (or crossed-over) configurations are shown in Figure 2.
Figure 2. The notation for the angles for the open and closed (or crossed-over) configurations.
The angle ∠O4 AO2 = α can be determined from the law of sines; i.e.,
R1 AO4
= (3)
sin α sin (θ2 − θ1)
which gives
20 sin15
α = sin −1 = 153.36
(4)
11.544
Therefore, the angle β = ∠O2O4 A can be determined from the sum of the angles of triangle O4O2 A ;
i.e.,
3
The triangle O4 AB has the same lengths and angles in both configurations, however, the influence of
these angles on the joint angles θ3 and θ 4 are different.
For the open configuration. The angles are
θ3 = θ 2 − 180° + α − γ (11a)
which can be written as
θ3 = 30° − 180° + 153.36° − 78.47° = −75.11° (11b)
The joint angle for link 4 is
θ 4 = θ1 + 180 − β + θ (12a)
which can be written as
θ 4 = 15° + 180° − 11.64° + 59.82° = 243.18° = −116.82° (12b)
where ε X and ε Y are the X and Y components of the error vector. To linearize these two equations, the
first-order Taylor’s Series can be written as
∂ε X ∂ε X
Δθ3 * + Δθ 4 * = Δε X = − ε X (14a)
∂θ
3 * ∂θ
4 *
and
4
∂ε Y ∂ε Y
Δθ3 * + Δθ 4 * = Δε Y = − ε Y (14b)
∂θ3 * ∂θ 4 *
where Δθ3 * and Δθ 4 * are the two corrections to the joint angles for links 3 and 4. In matrix form, these
two linear equations can be written as
The coefficients of the 2x2 matrix on the left-hand side of Eq. (15) can be written from Eqs. (13) as
∂ε X ∂ε X
a11 = = – R3 sin θ 3 * and a12 = = + R4 sin θ 4 * (16a)
∂θ 3 * ∂θ 4 *
and
∂ε Y ∂ε Y
a21 = = + R3 cos θ 3 * and a22 = = – R4 cos θ 4 * (16b)
∂θ 3 * ∂θ 4 *
−ε X a12
−ε Y a22 ( −ε X )( a22 ) − ( −ε Y )( a12 )
Δθ3 * = = (17a)
a11 a12 DET
a21 a22
and
a11 −ε X
Δθ 4 * =
a21 −ε Y
=
( −ε Y )( a11 ) − ( −ε X )( a21 ) (17b)
a11 a12 DET
a21 a22
a11 a12
DET = = a11 a 22 − a12 a 21 (18a)
a 21 a 22
Substituting Eqs. (16a) and (16b) into Eq. (18a), the determinant can be written as
For the second iteration, the coupler angle and the output angle can be written as
The First iteration. Begin with the initial guesses for the coupler angle and the output angle. From a
scaled drawing of the open configuration, see Part (i), the coupler angle and the output angle were
measured as
θ3∗ = 81 and θ 4∗ = 123 (20)
5
Note that the accuracy of the final values for the angles should be within 0.01˚ = 0.0001745 rads. From
Eqs. (13a) and (13b), the errors are
Therefore, the new values for the coupler angle and the output angle from Eq. (19), and using the
accuracy of the final values for the angles within 0.01˚ = 0.0001745 rads, are
The Second iteration. Substituting Eqs. (26) into Eqs. (13a) and (13b) the errors are
6
(+ 0.00014 cm)( − 14.847 cm) − ( − 0.00031cm)( + 2.134 cm)
Δθ4∗ = 2
= + 8.353 x 10 −6 rads (30b)
− 169.654 cm
Therefore, the new values for the coupler angle and the output angle from Eq. (19), and using the
accuracy of the final values for the angles within 0.01˚ = 0.0001745 rads, are
Note that these answers are the same as the answers given by the second iteration, see Eqs. (26). A third
iteration would show that these answers are acceptable within the accuracy of the final values for the
angles within 0.01˚ = 0.0001745 rads.
Summary of the answers: For the coupler angle and the output angle (after two iterations):
A computer code based on the Newton-Raphson iterative technique could be written as follows:
%% Initialize correction
dt_3=1; dt_4=1;
resolution = 0.01*pi/180;
iteration=0;
%% Estimating theta 3 and theta 4 values (from the Newton-Raphson technique)
if ( iteration > 10 )
display ( ' Error - Number of iterations exceeds 10 ' )
break
end
end