Fundamentals / Mechanical engineering / Machine dynamics

Velocities and accelerations in planar mechanisms

Use the rigid-body velocity and acceleration relations to connect an instantaneously known crank speed to a slider acceleration.

From first principles

Differentiate a fixed link vector in a rotating body

For two material points \(A,B\) on a rigid planar link, their separation has constant length even while its direction changes. Let \(\mathbf r=\mathbf r_B-\mathbf r_A\) and angular velocity vector \(\boldsymbol\omega\) be perpendicular to the plane. A small rotation by \(d\theta\) sweeps a displacement perpendicular to the separation. Dividing by time gives the inertial derivative \(\dot{\mathbf r}=\boldsymbol\omega\times\mathbf r\) and hence

\[\mathbf v_B=\mathbf v_A+\boldsymbol\omega\times\mathbf r .\]

Differentiate once more using the product rule. Change of angular speed provides the tangential acceleration contribution; change of the separation's direction gives the second cross product.

\[\mathbf a_B=\mathbf a_A+\boldsymbol\alpha\times\mathbf r+\boldsymbol\omega\times(\boldsymbol\omega\times\mathbf r).\]

For planar rotation the final term is \(-\omega^2\mathbf r\), directed towards \(A\). It remains even when angular speed is constant. These relations concern two fixed points on one rigid body. A slider moving along the rotating link changes the body-relative separation and contributes additional velocity and acceleration terms.

Derivation and applications

Recover planar angular acceleration from two accelerometers

Velocities identify an instantaneous rotation centre, but a time-varying rotation is better characterised by both angular speed and angular acceleration. Mount two aligned accelerometers at points \(A\) and \(B\) on one rigid planar body. Assume the measured vectors have been expressed in common inertial axes and any gravity contribution cancels in their difference. The separation vector is \(\mathbf r=\mathbf r_B-\mathbf r_A\) with fixed length \(d\). Rigid-body kinematics gives

\[\Delta\mathbf a=\mathbf a_B-\mathbf a_A=\alpha\,\mathbf e_z\times\mathbf r-\omega^2\mathbf r .\]

The two terms point in perpendicular directions. Form the unit vector \(\mathbf e_r=\mathbf r/d\) from \(A\) to \(B\) and its counterclockwise normal \(\mathbf e_t=\mathbf e_z\times\mathbf e_r\). Projecting gives a radial signal proportional to squared angular speed and a tangential signal proportional to signed angular acceleration.

\[\Delta a_r=-d\omega^2,\]
\[\Delta a_t=d\alpha .\]

Thus no knowledge of the translational acceleration of the reference point is needed. An additional tangential relative-velocity measurement supplies the missing sense of rotation because the signed \(\omega\) enters linearly.

\[|\omega|=\sqrt{-\Delta a_r/d},\]
\[\alpha=\Delta a_t/d,\]
\[\omega=(\mathbf v_B-\mathbf v_A)\cdot\mathbf e_t/d .\]

A positive radial acceleration difference is inconsistent with a rigid pair under the stated conventions. Flexible mounting, sensor misalignment or treating differently oriented sensor components as parallel can all spoil the projection.

Worked example

Read the motion of a rotating link

At separation 0.200 m the measured acceleration difference is \(-3.20\,\mathbf e_r+0.600\,\mathbf e_t\) m/s². The link has speed magnitude \(\sqrt{3.20/0.200}=4.00\) rad/s and counterclockwise angular acceleration \(0.600/0.200=3.00\) rad/s². A measured relative tangential velocity of \(-0.800\) m/s identifies clockwise rotation. Its speed magnitude is decreasing at this instant.

Change the inputs and inspect this calculation below

Second application

Estimate a sensor spacing from a calibrated turn

A second instrument rotates steadily at 5.00 rad/s and records radial acceleration difference \(-3.75\) m/s². Its effective sensor separation is

\[3.75/25.0=0.150\,\mathrm{m}.\]

A later measurement with the same instrument gives tangential difference \(-0.450\) m/s², implying \(\alpha=-3.00\) rad/s². This calibration uses steady rotation for the length scale and a distinct transient to determine angular acceleration.

Interactive calculation · Change the inputs of this example

Use the adjustable quantities to test the two worked calculations above. The plot recomputes this derivation’s balance or constitutive relation; its numerical readout reports the quantities needed for the forward calculation and the inverse or design question. Keep the fixed assumptions stated in the readout when comparing with the example values.

What can change between two points on a link?

The point at which a connecting rod drives a slider moves along a straight line although its other end moves around a crank circle. Writing every trajectory as a function of crank angle is possible, but often only one configuration matters. The rigidity constraint transfers instantaneous velocity and acceleration between points on a link. Choose a fixed inertial frame and use the positive out-of-plane direction for counterclockwise angles. Every vector component below refers to these fixed axes.

Write \(r_B=r_A+r_{B/A}\). The vector between two body points keeps its length but changes direction. Its derivative is \(\omega\times r_{B/A}\). Differentiating a second time introduces both the changing magnitude of angular velocity and the changing direction of the relative vector:

\[v_B=v_A+\omega\times r_{B/A},\]
\[a_B=a_A+\alpha\times r_{B/A}+\omega\times(\omega\times r_{B/A}).\]

The last term is \(-\omega^2r_{B/A}\) for planar motion. It points along the rod towards \(A\), even when the rod has constant angular speed. Enforce constraints on the actual point \(B\); a slider constrained horizontally has zero vertical velocity and zero vertical acceleration if its guide is straight and fixed.

A crank at its uppermost position

Place crank centre \(O\) at the origin and the slider along the positive horizontal axis. The crank length is 50 mm and the connecting rod length is 130 mm. At the configuration considered its pin is \(A=(0,50)\,\mathrm{mm}\) and slider pin \(B=(120,0)\,\mathrm{mm}\), since \(120^2+50^2=130^2\). The crank rotates counterclockwise at constant 20 rad/s. Accordingly \(v_A=(-1,0)\,\mathrm{m/s}\) and \(a_A=(0,-20)\,\mathrm{m/s^2}\).

The rod vector from \(A\) to \(B\) is \((0.120,-0.050)\,\mathrm m\). Its relative velocity is \(\omega_r(0.050,0.120)\). The vertical velocity constraint gives \(0=0+0.120\omega_r\), so \(\omega_r=0\) at this instant and \(v_B=(-1,0)\,\mathrm{m/s}\). The rod is instantaneously translating. That description concerns velocity only. A moment later its two ends no longer have the same velocity.

Recover the slider force input

Since \(\omega_r=0\) here, the relative centripetal term for the rod vanishes. The angular-acceleration term gives \(0=-20+0.120\alpha_r\), hence \(\alpha_r=166.7\,\mathrm{rad/s^2}\). The slider’s horizontal acceleration is

\[a_{Bx}=0+0.050(166.7)=8.33\,\mathrm{m/s^2}.\]

At this instant the slider is moving to the left while accelerating to the right. A bare slider mass of 3 kg needs a net force of 25.0 N to the right before guide friction or process forces are considered.

A useful independent check follows from the exact geometry \(x_B=r\cos\theta+\sqrt{l^2-r^2\sin^2\theta}\). At \(\theta=\pi/2\) the first derivative with respect to angle is \(-r\); multiplication by crank speed gives −1 m/s. A numerical second derivative must resolve the curvature of this path. Differentiating noisy measured positions twice can produce a large fictitious force, so comparing observed positions with this geometric constraint is often a better starting point.

Change the drive speed

Repeating the same configuration at twice the constant crank speed doubles every point velocity. Its centripetal terms and the constraint-induced angular acceleration scale with the square of that speed, so the predicted slider acceleration becomes 33.3 m/s². This scaling is one reason mechanism inertia loads can grow rapidly with production rate.

Differentiate a coordinate measured along a rotating guide

The rigid-body formula above assumes that the position vector joining the two points is fixed in their common body. A slider moving along a rotating guide violates that assumption. Introduce a guide-fixed unit vector \(e_r\) along the slot and its positive quarter-turn \(e_\theta\). At an inertially fixed pivot the slider’s position is \(r(t)e_r\); the basis changes according to \(\dot e_r=\omega e_\theta,\ \dot e_\theta=-\omega e_r\). Differentiate both the scalar radial position and the changing basis at every step.

\[v=\dot r\,e_r+r\omega\,e_\theta,\]
\[a=(\ddot r-r\omega^2)e_r+(r\dot\omega+2\dot r\omega)e_\theta .\]

The factor two in the transverse contribution has two origins. The outward relative velocity vector rotates with the guide, and the speed of the circumferential transport changes as the slider moves outwards. Each contributes \(\dot r\omega\). This Coriolis term is an actual part of the acceleration measured in an inertial frame. In a rotating-frame force balance an apparent Coriolis force of opposite sign must be introduced only if the inertial acceleration has been removed from that balance. Counting both would double the effect.

If the guide’s pivot itself translates, add its inertial acceleration to the expression. For an instantaneously stationary guide \(\omega=0\) eliminates centripetal and Coriolis terms, but a nonzero angular acceleration can still produce transverse acceleration \(r\dot\omega\). This distinction parallels the translating rod in the first worked mechanism.

Determine drive and guide reactions on a rotating table

A 2.5 kg carriage slides outwards along a straight radial slot in a horizontal table. At the given instant \(r=0.30\,\mathrm m\), \(\dot r=0.20\,\mathrm{m/s}\), \(\ddot r=0.50\,\mathrm{m/s^2}\), \(\omega=4.0\,\mathrm{rad/s}\) counterclockwise, and \(\dot\omega=1.0\,\mathrm{rad/s^2}\). The radial acceleration is \(0.50-0.30(4)^2=-4.30\,\mathrm{m/s^2}\) and the transverse acceleration is

\[0.30(1)+2(0.20)(4)=1.90\,\mathrm{m/s^2}.\]

A frictionless slot supplies a 4.75 N transverse reaction in the positive rotational direction. The radial actuator must exert a net 10.75 N inward, even though the carriage is moving outwards and accelerating relative to the slot in that direction.

The transverse reaction produces a 1.425 N m moment about the centre. Independently, differentiating the angular momentum \(mr^2\omega\) gives

\[m(2r\dot r\omega+r^2\dot\omega)=1.425\,\mathrm{N\,m}.\]

A table drive that assumes fixed radius would include only \(mr^2\dot\omega=0.225\,\mathrm{N\,m}\), missing most of the required moment in this manoeuvre. Holding angular speed constant would remove this last term but leave the 1.20 N m moment associated with increasing inertia. A torque sensor at the turntable shaft therefore detects radial carriage motion even when no angular acceleration is commanded.

Mechanical power supplies an independent sign check. The rail reaction transmits positive power \(4.75(r\omega)=5.70\) W through the transverse motion at this instant. The inward radial actuator supplies \(-10.75(0.20)=-2.15\) W. Their sum, 3.55 W, equals the instantaneous change of the point mass’s translational energy, \(m(\dot r\,a_r+r\omega a_\theta)=2.5[0.20(-4.30)+1.20(1.90)]\). The rail can supply power because it moves transversely with the table even though the contact has no work in the sliding direction.

Construct angular momentum when the rotation axis is not principal

A planar moment of inertia determines one scalar angular momentum. In three dimensions a balanced body can have angular momentum tilted relative to its angular velocity. About its centre of mass a particle at \(r\) has velocity \(\omega\times r\). Integrate \(r\times(\omega\times r)\) over mass and use the vector triple product. The result is

\[H_G=I_G\omega,\]

with tensor \(I_G=\int[(r^Tr)\mathbf1-rr^T]\,dm\). Its \(x\)-diagonal element is \(\int(y^2+z^2)dm\) and its \(xy\) element is \(-\int xy\,dm\). Equal and opposite points cancel their first moments but add their products of inertia. Symmetry about a coordinate plane, rather than symmetry only about the centre, is sufficient to make the associated product vanish.

In a body-fixed basis rotating at \(\omega\), the external moment components obey \(M_G=I_G\dot\omega+\omega\times(I_G\omega)\). This follows from differentiating \(H_G\) in an inertial frame: the body basis vectors rotate as well as the components. Even with constant body components of angular velocity, a transverse moment can be required to keep a nonprincipal axis fixed.

Model a compact instrument carrier as two equal 0.50 kg masses at \((0.20,0.10,0)\) m and its negative, neglecting the frame mass. Its tensor in kg m² has entries \(I_{xx}=0.010,\ I_{yy}=0.040,\ I_{zz}=0.050,\ I_{xy}=-0.020\). At \(\omega=(20,0,0)\) rad/s, \(H_G=(0.20,-0.40,0)\) kg m²/s. Maintaining that rotation requires \(M_G=(0,0,-8.0)\) N m. There is no offset centre of mass to correct with a single static counterweight. Repositioning the masses to remove the product of inertia, or reorienting the shaft along a principal axis, eliminates this transverse couple in the model. A bearing reaction can reverse the sign convention for the load read by its support. Always state whether the reported moment acts on the rotor or on the frame.

Practise on sheet 4 · Predict the reaction moment from a tilted mass arrangement. Further reading · MIT · 16.07 Dynamics · Lecture L26, 3D Rigid Body Dynamics: The Inertia Tensor.