Position Analysis

Position Analysis#

Position analysis determines the configuration of all links for each increment of the input motion. Before solving, it is crucial to know the Degrees of Freedom (DOF) or mobility of the mechanism, which indicates the number of input parameters needed to define its position. For planar mechanisms, as we have seen, the Grüebler’s formula is used: \( G = 3(N-1) - 2p_{I} - p_{II} \) Where \(G\) is the DOF, \(N\) is the number of links, \(p_{I}\) is the number of 1-DOF joints (pins, sliders), and \(p_{II}\) is the number of 2-DOF joints (cams, gears). For the mechanisms in the examples (with \(G=1\)), we only need to define one variable (e.g., \(\theta_2\)) to solve the entire system.

Graphical Method#

The graphical method is a scale construction technique that solves the position problem in a visual and intuitive way. Although it may be less precise than mathematical analysis, its great advantage is that it provides an immediate understanding of the mechanism’s behavior. With CAD tools, precision is no longer an issue, making it a very powerful and direct method.

The procedure is based on applying the geometric constraints imposed by the link lengths:

  1. Define the frame: The fixed link is drawn to scale (e.g., the segment \(O_2O_4\)), establishing the reference system.

  2. Position the input link: The driving link (e.g., \(O_2A\)) is drawn with its known length and angle.

  3. Close the loop: Here, the constraints of the remaining links are applied. For a four-bar linkage, point B must be simultaneously at a distance \(L_3\) from A and a distance \(L_4\) from \(O_4\).

    • A circle with center A and radius \(L_3\) is drawn.

    • Another circle with center \(O_4\) and radius \(L_4\) is drawn.

  4. Identify the solutions: The intersection points of these two circles are the only two possible positions for joint B. This defines the two configurations or circuits of the mechanism (open and crossed). The designer must select the one that corresponds to the machine’s operation.

fig_prob_pos.jpg

If the two circles do not intersect, the mechanism cannot be assembled for that input angle: the input link cannot reach that position.

Analytical Method#

The analytical method gives an exact solution, valid for any position of the input link. It is based on vector loop (loop closure) equations, and follows these steps:

  1. Draw a vector along each link, from joint to joint, forming closed loops. Each vector has a length \(L_n\) (known for links of fixed length; unknown for the distance along a slider) and an angle \(\theta_n\), measured counterclockwise from the positive \(X\) axis.

  2. Write one vector equation per independent loop: going around a closed loop, the vectors must add up to zero. The number of independent loops is \(L = p - N + 1\), where \(p\) is the number of joints and \(N\) the number of links: one loop for a four-bar or a slider-crank (\(4 - 4 + 1\)), two for a six-bar linkage (\(7 - 6 + 1\)).

  3. Project each vector equation on the \(X\) and \(Y\) axes, using \(\vec{L}_n = L_n\cos\theta_n\,\hat{i} + L_n\sin\theta_n\,\hat{j}\). Each loop gives two scalar equations, so it can be solved for two unknowns (angles or slider positions), once the inputs (as many as the DOF) are given.

  4. Solve the resulting system. The equations are nonlinear (they contain sines and cosines of the unknowns) and usually have two solutions per loop, which correspond to the two assembly configurations of the graphical method. Choose the one that matches the mechanism.

For the four-bar linkage of the figure, equating the two vector chains that connect the origin \(O_2\) to point B:

\[ \vec{L}_2 + \vec{L}_3 = \vec{L}_1 + \vec{L}_4 \]

fig_pos_vectores.jpg

With the frame along the \(X\) axis (\(\theta_1 = 0\)), its projections are:

\[\begin{split} \begin{aligned} L_2\cos\theta_2 + L_3\cos\theta_3 &= L_1 + L_4\cos\theta_4 \\ L_2\sin\theta_2 + L_3\sin\theta_3 &= L_4\sin\theta_4 \end{aligned} \end{split}\]

two equations with the two unknowns \(\theta_3\) and \(\theta_4\). To solve them, isolate the terms with \(\theta_3\) on one side, square both equations and add them, so that \(\sin^2\theta_3 + \cos^2\theta_3 = 1\) eliminates \(\theta_3\):

\[ L_3^2 = (L_1 - L_2\cos\theta_2 + L_4\cos\theta_4)^2 + (L_4\sin\theta_4 - L_2\sin\theta_2)^2 \]

Calling \(P = L_1 - L_2\cos\theta_2\) and \(Q = -L_2\sin\theta_2\) (the components of the vector from \(A\) to \(O_4\)), and expanding:

\[ P\cos\theta_4 + Q\sin\theta_4 = K, \qquad K = \frac{L_3^2 - L_4^2 - P^2 - Q^2}{2L_4} \]

an equation of the form \(P\cos\theta_4 + Q\sin\theta_4 = K\), known as Freudenstein’s equation. Writing \(P = d\cos\varphi\) and \(Q = d\sin\varphi\), with \(d = \sqrt{P^2 + Q^2}\) (the distance \(\overline{AO_4}\)) and \(\varphi = \operatorname{atan2}(Q, P)\), it becomes \(d\cos(\theta_4 - \varphi) = K\), whose solutions are:

\[ \theta_4 = \varphi \pm \arccos\left(\frac{K}{d}\right) \]

Each sign is one of the two assembly configurations. If \(|K| > d\) there is no real solution: the mechanism cannot be assembled at that input angle, as when the circles of the graphical method do not intersect. Once \(\theta_4\) is known, \(\theta_3\) follows from the original equations:

\[ \theta_3 = \operatorname{atan2}\left(L_4\sin\theta_4 - L_2\sin\theta_2,\; L_1 + L_4\cos\theta_4 - L_2\cos\theta_2\right) \]

Note

\(\operatorname{atan2}(y, x)\) is the four-quadrant arctangent (available as atan2 in MATLAB and most programming languages and calculators), which returns the angle of the vector \((x, y)\) in the right quadrant. With a plain \(\arctan(y/x)\), \(180^\circ\) must be added by hand when \(x < 0\).

For a slider-crank whose slider moves along a horizontal line at height \(e\) (the offset; \(e = 0\) for an in-line slider-crank), the loop is \(\vec{L}_2 + \vec{L}_3 = x_B\,\hat{i} + e\,\hat{j}\), and the unknowns are \(\theta_3\) and the slider position \(x_B\):

\[\begin{split} \begin{aligned} L_2\cos\theta_2 + L_3\cos\theta_3 &= x_B \\ L_2\sin\theta_2 + L_3\sin\theta_3 &= e \end{aligned} \qquad\rightarrow\qquad \sin\theta_3 = \frac{e - L_2\sin\theta_2}{L_3}, \qquad x_B = L_2\cos\theta_2 + L_3\cos\theta_3 \end{split}\]

where the two solutions of the arcsine (\(\theta_3\) and \(180^\circ - \theta_3\)) correspond to the slider on either side of the crank.

Example Example 2.1: Kinematic analysis of a four-bar linkage applies this procedure to a four-bar linkage, Example 2.2: Kinematic analysis of a slider-crank mechanism to a slider-crank, and Example 2.5: Kinematic analysis of a six-bar linkage to a six-bar linkage with two loops. For more complex mechanisms, where a closed-form solution may not exist, the loop equations are solved numerically (for example, with the Newton-Raphson method) or with symbolic computation tools.

The velocity and acceleration problems are solved by differentiating these same loop equations with respect to time. As shown in the next pages, they are always linear in the unknowns and have a single solution.