Motion analysis of a device including a disk and two slender bars with a design change for full disk revolution
Mathematical formulations and numerical experiments for the kinematics of an articulated mechanism are presented. The system of connected rigid bodies is configured in three different ways. For the first two configurations (double rocker), the input motion is either a constant counter-clockwise rotation rate for the disk, or a linearly increasing one. A design modification is implemented to allow full disk revolution with a constant and clockwise input rotation (crank-rocker). Angles, velocities and accelerations are computed and analyzed for a quarter revolution of the disk. The results corroborate the inversion of the linking bar sense of rotation in planar motion and its deceleration. This sense of rotation is always clockwise in the modified design. We note that some quantities have instantaneous equal values at particular positions. This fact may preclude a better understanding of the motion if only instantaneous calculations are made. The approach illustrates how applied rigid body mechanics can be used with profit to describe the motion of articulated devices.
The rigid body is an important idealization of moving and interacting parts and beings. The key feature is the fixed distance between two points in the body, since forces cannot cause deformation of its shape . The subject is relevant in the development of video-game physics engines since the simulation of motions and interactions of rigid bodies approximates reality fairly well . Prosthetic limbs and robotic devices are other important application areas ; .
Here we offer a tool to simulate the motion of an articulated mechanism made with a disk and two slender bars. An input rotation is imposed on the disk, triggering the planar motion of the long intermediate link, and the partial rotation of the short output bar. We develop the kinematics in detail using applied vector algebra, calculus and descriptive geometry. An approach based on differential modeling has been reported in the literature as a simplified alternative based on kinematic Jacobians . Use of commercial packages is also popular with the intent to offer an automated procedure for mechanism design .
The study of the motion of articulated devices and machines is a classic and well-established subject ; .  have used alternative methods to describe the two-dimensional motion of rigid bodies in biomechanics applications. Our approach is based on first principles carefully accounting for the physical constraints of the articulated mechanism. The main thrust is the numerical evaluation of the kinematic equations and its reproducibility. We display results using line plots that show how key parameters evolve during the simulation (this is in contrast to visualization systems employed for the realistic animation of articulated devices ). The interest for this work originated from the impetus to develop alternative learning tools for undergraduate vector mechanics. Some pedagogical considerations of using these tools have been addressed elsewhere.
The outline of the article is as follows. The original mechanism is presented and its two configurations are formulated. Geometrical constraints are introduced, as well as formulations to obtain various velocities and accelerations, paying particular attention to the proper use of Chasles’ theorem. Then the modified design is explained, and a similar sequence of formulations for the geometry, the velocities, and the accelerations is presented. The numerical experiments properly said are then described. Results are presented for each one of the three configurations, where various aspects of the motions are demonstrated. Final remarks are then laid out, summarizing the important results of this investigation. At the end, an appendix with the details of the angular accelerations’ calculations for the original mechanism is given.
The analysis is traced back to , where there is a solved example for the instantaneous position as shown in Fig. 1(a), and general guidelines for a computer project are proposed. In what follows, equations for the kinematics are derived showing angle and length constraints, as well as velocity and acceleration relations while the disk undergoes either a constant , or a variable , with being the turn angle of the disk (Fig. 1(b)).
The three angles describing rotation of the articulated mechanism are , , and . A one letter notation is introduced to write trigonometric functions as:
Since the length of the linking bar cannot change, the horizontal displacement of pin must be equal to the horizontal displacement of pin , or:
An overbar means the length of a given straight line segment. It can be inferred from Fig. 1(a) that . Simplifying:
A right triangle with being hypotenuse will have the following opposite side to angle [Fig. 1(b)]:
And the adjacent side:
Applying the Pitagorean theorem in Fig. 1(a):
These relations are needed to obtain , , and the equations for velocities and accelerations in the following sections.
With pin viewed as part of the disk, its velocity is:
Where for constant rotation, or for variable rotation ( is the unit cartesian vector in the -direction). For going from to counterclockwise starting at the lowest position, varies from to , giving for the average angular velocity. We can thus write:
Taking the time derivative of we get:
With pin as part of the output bar , its velocity is:
Where is the still unknown angular velocity vector of bar . The motion of linking bar can be described using Chasles theorem :
Where is the still to be determined angular velocity vector. and are always tangential to the circular trajectories of pins and . For the mechanism’s intermediate position shown in Fig. 1(b), and components for both velocities can be written as:
The fixed vectors in the rigid bodies going from to (), to (), and to () can also be expressed using their and components. An inspection of Fig. 1(b) allows one to write:
Solving the vector algebra of Eq. (14) using Eqs. (15) – (19):
Having obtained , Eq. (13) can be used to determine .
Here we need to distinguish between the constant and the variable scenarios. Pin A only has radial acceleration with constant , but it has both radial and tangential components otherwise. Pin B will have both radial and tangential acceleration components.
Constant input rotation rate
Taking the derivative of Eq. (14) with respect to time:
The linear accelerations , , and can be expressed in terms of unit vectors and :
Substituting back into Eq. (23) and working the vector algebra, we obtain expressions for angular accelerations of bars and . Since the expressions are long, they are grouped into four different terms as through for , and through for (see the appendix for details):
Variable input rotation rate
Since the disk now has a variable rate of rotation , pin A’s acceleration has both radial and tangential components:
Referring back to Fig. 1(b), the tangential component can be written as:
The radial component is still given by Eq. (24). Following a similar procedure as for the constant case, angular accelerations for bars and are written as:
A design modification of the original mechanism is shown in Fig. 2. The distance between fixed centers O and C is made shorter than the original to allow full revolution of the disk while keeping the size of the linking bar AB unchanged. The full revolution is not possible in the original mechanism in Fig. 1.  proposed an innovative design approach for a slider-crank mechanism using pneumatic cylinders. His design could be an alternative to allow full disk revolution for the 2-D device investigated here, but it would require replacing the linking bar with a pneumatic cylinder without the need to reduce the distance between centers O and C. Other approaches to study the kinematics and dynamics of slider-crank mechanisms have been proposed and their benefits in learning theoretical aspects of mechanism design have been highlighted .
Trigonometric functions follow the same short-hand notation described earlier. The relation between horizontal displacements for pins A and B are now given by:
A right triangle with AB as the hypotenuse gives:
An intermediate position will have a velocity vector for pin A with negative and positive components respectively. Pin B’s velocity will have both negative components:
The fixed vectors in the rigid bodies from O to A (), C to B (), and B to A () can be expressed using their and components for an intermediate position:
Similarly to what was done earlier, we find and as functions of :
The linear accelerations , and can be expressed in terms of unit vectors and :
Substituting back into Eq. (23) and working the vector algebra:
Tables 1 and 2 present a summary of all acceleration terms for the three configurations of the articulated mechanism. The reader is referred to the appendix for a derivation of these terms. These equations have been implemented numerically  and the Fortran code is available .
Original mechanism: constant angular velocity
In figure 3 we plot angles, velocities and accelerations for a turn of the disk. The inversion of the sense of rotation for the linking bar takes place at (top two panels): reaches a maximum and then starts to decrease, and changes from counterclockwise to clockwise (positive to negative). remains nearly equal to the constant during the change (lower left panel). Angular accelerations, despite their intricate expressions (Eqs. 27 through 32), are slowly varying functions after the start-up period. Both linear and angular velocities for the initial and final positions are shown in table 3. Angular accelerations are shown in table 4. The values for , , and at match the solution presented in , validating our implementation.
In Table 3, cells with an asterisk highlight the same numerical values. For example, the calculated value for is equal to and at . Solving for this instantaneous position only, as is typical in a routine paper and pencil exercise, may lead to the conclusion that these quantities remain equal at other positions. This is clearly not true as an inspection of Fig. 3 reveals. Values for , and also have the same absolute values at . Note that the linking bar stops at the same inclination of its initial position ().
Original mechanism: variable angular velocity
The results for the original mechanism with an increasing rotation rate for the disk are presented in Fig. 4. Since the mechanism’s geometry is the same, the change in sense of rotation for the linking bar still takes place at . Note that again matches (linearly increasing) at this position (lower left panel). Angular accelerations reach higher values than the constant rotation case, and they change sign (zero crossings at lower right panel), indicating rotation slowdown for both bars. The linking bar starts decelerating at and the output bar starts at . Initial and final values of angles, velocities and accelerations are also shown in Tables 5 and 6. Cells with * in Table 5 have the same meaning of the constant case. Here, for example, a calculation for yields equal values for and . But an inspection of the top right panel of Figure 4 clearly shows that it is only at this particular position these values are equal.
Results for the modified design are shown in Fig. 5. In this scenario there is no change in rotation direction for linking bar AB. This can be seen in the top right panel, where is always negative (clockwise rotation). This can also be understood by noting that is always decreasing (top left panel). Bar has a zero-crossing in its angular acceleration (bottom left panel) indicating the bar starts decelerating at . Bar is always turning counterclockwise since , but continually decelerating . Shaded cells in Table 7 have the same meaning as before.
The motion of the modified mechanism has one peculiarity not present in the previous two cases. At the end of the turn of the disk, both bars will be horizontal, triggering a division by zero in the calculations of and . The computation is thus stopped at . Angular velocities are not affected as both numerator and denominator of the parameter approach zero (Eq. 53). Scripts and data files to make Figures 3, 4 and 5 are available in .
Discussion and conclusions
The relations needed to simulate the motion of a two-dimensional device were presented and the kinematics of three variants of this device were analyzed through a turn of the disk. The input rotation had two options: either a constant or a linearly varying rotation rate. Due to the geometrical configuration of the mechanism, the disk could only complete half a revolution. A design modification was implemented to allow full revolution, making the third option of the device.
Results of the simulation runs were presented using line plots for the variables of interest as functions of the disk’s turn angle , complemented with tables of the initial and final positions. The analysis showed various aspects of the motions that are usually not accessible by only performing calculations for instantaneous values. It was possible to infer where a bar’s rotation change from clockwise to counterclockwise during its planar motion, as well as where it starts decelerating during the turn of the disk. The new modified design was analyzed in a similar fashion, and important changes on the mechanism’s behavior were observed.
Despite the complexities of the rigid bodies’ formulations described here, one should keep in mind that this is still a relatively simple mechanics problem. All principles applied are exact and the numerical implementations only required algebraic expressions. Complications arise if one attempts to formulate and model collisions between rigid bodies. Impulse-momentum principles are needed compared to the limited kinematics toolbox used in this investigaton (, , ).
This work was motivated by the desire to introduce project-based activities in the undergraduate engineering mechanics’ classroom. Without showing how the motion of articulated mechanisms is obtained, one may not appreciate the intricacies of the kinematics of rigid bodies in key applications such as video-game physics engines, and the design of prosthetic limbs or robotic devices.
Appendix: Derivation of angular acceleration terms
Details of the procedure to obtain the angular acceleration terms for the original mechanism are shown below. Similar procedures apply for the other two configurations. We start by substituting Eqs. (24) through (26) into Eq. (23):
Using Eqs. (19) for and performing the vector products:
Now we separate Eq. (64) into its - and -components, obtaining a system of two equations with two unknowns ( and ).
Multiplying the -component by , the -component by and summing up, the result will have only as the unknown:
Solving Eq. (66) for :
Eq. (67) can be compared to Eq. (29) to identify terms through . To get , we now multiply the -component by , and the -component by . Summing the two component equations will result in a single equation with as the only unknown:
Finally, solving it for :
And Eq. (69) can be compared to Eq. (32) to identify terms through .