Fourbar Linkages
A fourbar linkage consists of four links and four joints, in which one link is usually grounded (fixed).
If S is the length of the shortest link, L is the length of the longest link, and P and Q are the lengths of the remaining two links, then the formula below shows the Grashof condition. If the Grashof condition is true for a given fourbar linkage, then the mechanism will be able to perform a full rotation with respect to the ground.
S + L <= P + Q
Fourbar Linkage Analysis
Fourbar mechanisms can be analyzed to find the positions, velocities, and accelerations of different parts based on the angular rotation of each joint. The image below shows a fourbar linkage with angles from the positive x-axis to the link.
If we assume that theta 1 is at the origin, then by following the vectors we can find the following equation:
L1 + L2 - L3 - L4 = 0
because by following the shape in the direction of L1 and L2 and then following vectors L3 and L4 backwards, you arrive at the origin again, causing 0 displacement.
Each link can be represented by the following:
La = laejӨ
in which Ө represents the link's angle from the positive x-axis and la represents the length of La. So if we plug that in to the above equation:
l1ejӨ1 + l2ejӨ2 - l3ejӨ4 - l4ej0 = 0
Notice that l4 has an angle of zero since it is parallel to the positive x-axis.
Using Euler's formula, ejӨ = cos(Ө) + jsin(Ө), we can separate this equation into two equations, one using the real values and one using the imaginary by dividing all terms by j:
Real: l1cos(Ө1) + l2cos(Ө2) - l3cos(Ө4) - l4 = 0
Imaginary: l1sin(Ө1) + l2sin(Ө2) - l3sin(Ө4) = 0
Now we can rearrange each equation:
l1cos(Ө1) = l3cos(Ө4) + l4 - l2cos(Ө2)
l1sin(Ө1) = l3sin(Ө4) - l2sin(Ө2)
Square them:
l12cos2(Ө1) = l32cos2(Ө4)