Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Kinematic constraints

Kinematic constraints

Mechanical systems often involve multiple inertias (translating or rotating) that are constrained to move together. For example, when two gears interlock and one rotates, this forces the other to rotate along with it. This is known as a kinematic constraint.

We will learn through examples to derive equations of motion for such systems.

Example: rack and pinion

A rack and pinion is a mechanical device that converts rotational motion to translational motion. Typically, a torque is applied to a pinion (small gear), which is interlocked with a rack (flat surface with teeth). So when the pinion turns, the rack translates.

Rack and pinion system.

Figure 1:Rack and pinion system.

Our goal is to derive a single equation of motion relating the applied torque TaT_a to the rack position xx (we are not interested in the pinion angle).

Since there are two inertias (rack and pinion), we will draw two free body diagrams and derive two sets of equations. We also introduce an (unknown) horizontal force F0F_0 between the rack and pinion that represents the pinion pushing on the rack. We can assume this force is horizontal, since any vertical components will (i) produce no torque with respect to the pinion axis, and (ii) will not drive motion of the rack, since it is constrained to only move horizontally.

Free body diagrams for the rack (left) and pinion (right) for the system of .

Figure 2:Free body diagrams for the rack (left) and pinion (right) for the system of Figure 1.

It doesn’t matter which way we draw F0F_0, as long as it is pointing in opposite directions on each free body diagram (Newton’s third law). The equations of motion are

Fs=kx(spring)Fd=bx˙(damping)mx¨=F0FsFd(rack)Jθ¨=TarF0(pinion)\begin{aligned} F_s &= k x && \textsf{(spring)} \\ F_d &= b \dot x && \textsf{(damping)} \\ m \ddot x &= F_0 - F_s - F_d && \textsf{(rack)}\\ J \ddot \theta &= T_a - r F_0 && \textsf{(pinion)} \end{aligned}

Notice that we wrote rF0r F_0 in the final equation, since we must use torque in the rotational version of Newton’s second law. Substituting and simplifying, we obtain

mx¨+bx˙+kx=F0Jθ¨=TarF0\begin{aligned} m \ddot x + b \dot x + k x &= F_0 \\ J \ddot \theta &= T_a - r F_0 \end{aligned}

We are now stuck; we have two equations, but three variables (xx, θ\theta, F0F_0). So it is impossible to eliminate both F0F_0 and θ\theta. What is missing is a kinematic constraint. The rack and pinion do not move independently since they are interconnected. Every time the pinion turns an angle θ\theta, a point on its circumference travels a distance rθr\theta. Therefore, we have the kinematic constraint x=rθx = r\theta. You can think of a kinematic constraint as a constraint on the variables in the system due to geometry.

Since our goal is to eliminate θ\theta, we will substitute θ=xr\theta = \frac{x}{r} into the second equation:

mx¨+bx˙+kx=F0Jrx¨=TarF0\begin{aligned} m \ddot x + b \dot x + k x &= F_0 \\ \tfrac{J}{r} \ddot x &= T_a - r F_0 \end{aligned}

Now to eliminate F0F_0, divide the second equation by rr and add it to the first equation:

(m+Jr2)x¨+bx˙+kx=1rTa\boxed{\left( m + \tfrac{J}{r^2}\right) \ddot x + b \dot x + k x = \tfrac{1}{r}T_a}

This looks exactly like the equation for a standard spring-mass-damper system, as in Eq. (5). The difference is that our mass mm has been replaced by the equivalent mass m+Jr2m + \tfrac{J}{r^2}. From the point of view of the rack, it’s like it got a little heavier because whenever it moves, it must also spin the pinion.

Example: gear and pinion

We now consider a system with two interlocked gears.

Gear and pinion system.

Figure 3:Gear and pinion system.

We would like to derive an equation of motion relating the applied torque TaT_a to the angle of the second inertia θ2\theta_2.

As with the rack and pinion example, we will introduce a tangential force where the two gears meet. Here are the free body diagrams.

Free body diagrams for the gear and pinion system of .

Figure 4:Free body diagrams for the gear and pinion system of Figure 3.

The kinematic constraint this time requires that points on the circumference of each gear travel at the same speed. Therefore, r1θ1=r2θ2r_1\theta_1 = r_2\theta_2. Our equations are therefore:

Td1=bθ˙1(damper 1)Td2=bθ˙2(damper 2)r1θ1=r2θ2(kinematic constraint)J1θ¨1=TaTd1r1F0(pinion)J2θ¨2=Td2+r2F0(gear)\begin{aligned} T_{d1} &= b \dot\theta_1 && \textsf{(damper 1)} \\ T_{d2} &= b \dot\theta_2 && \textsf{(damper 2)} \\ r_1\theta_1 &= r_2\theta_2 && \textsf{(kinematic constraint)} \\ J_1 \ddot \theta_1 &= T_a - T_{d1} - r_1 F_0 && \textsf{(pinion)}\\ J_2 \ddot \theta_2 &= -T_{d2} + r_2 F_0 && \textsf{(gear)} \end{aligned}

Although Newton’s third law ensures that F0F_0 will be equal and opposite on the gear and pinion, these forces produce different torques due to the differing radii. This is why we use r1F0r_1 F_0 and r2F0r_2 F_0 for the torque due to the constraint force for the pinion and gear, respectively. Substituting and simplifying, we obtain:

r1θ1=r2θ2J1θ¨1+bθ˙1=Tar1F0J2θ¨2+bθ˙2=r2F0\begin{aligned} r_1\theta_1 &= r_2\theta_2 \\ J_1 \ddot \theta_1 + b \dot\theta_1 &= T_a - r_1 F_0 \\ J_2 \ddot \theta_2 + b \dot\theta_2 &= r_2 F_0 \end{aligned}

We now have a complete set of equations: 3 equations in 3 variables (θ1\theta_1, θ2\theta_2, F0F_0). This is called a differential-algebraic system of equations (DAE) because it is a mix of differential equations and algebraic equations. Since the problem asks to produce a single differential equation relating TaT_a to θ2\theta_2, we have a bit of work yet to do.

Substitute θ1=r2r1θ2\theta_1 = \frac{r_2}{r_1}\theta_2 from the first equation into the second equation, and multiply the third equation by r1r2\frac{r_1}{r_2} so that we obtain a common r1F0r_1 F_0 term we can cancel out:

r2r1J1θ¨2+r2r1bθ˙2=Tar1F0r1r2J2θ¨2+r1r2bθ˙2=r1F0\begin{aligned} \frac{r_2}{r_1}J_1 \ddot \theta_2 + \frac{r_2}{r_1}b \dot\theta_2 &= T_a - r_1 F_0 \\ \frac{r_1}{r_2}J_2 \ddot \theta_2 + \frac{r_1}{r_2}b \dot\theta_2 &= r_1 F_0 \end{aligned}

Adding both equations together and grouping like terms, we obtain

(r2r1J1+r1r2J2)Jeqθ¨2+(r2r1+r1r2) ⁣bbeqθ˙2=Ta\boxed{\underbrace{\left( \frac{r_2}{r_1}J_1 + \frac{r_1}{r_2}J_2\right)}_{J_\textsf{eq}}\ddot \theta_2 + \underbrace{\left(\frac{r_2}{r_1} + \frac{r_1}{r_2}\right) \!b}_{b_\textsf{eq}}\, \dot\theta_2 = T_a}

Based on the structure of this equation, we conclude that the two inertias move together as though they were a single inertia JeqJ_\textsf{eq} with damping coefficient beqb_\textsf{eq}.


Test your knowledge

Solution to Exercise 1 #

Introduce the rotation angle θ\theta of the drum, and draw separate free body diagrams for the drum and mass. We also include a force F0F_0 (the tension in the rope), being sure to draw this force acting in an equal and opposite way on the two inertias.

Free body diagrams for the rope hoist mechanism of .

Figure 6:Free body diagrams for the rope hoist mechanism of Figure 5.

The kinematic constraint is x=rθx = r\theta, since we assume the rope is winding around the drum of radius rr without slipping. Our equations are:

Td=bθ˙(viscous damping)x=rθ(kinematic constraint)Jθ¨=TaTdrF0(drum)mx¨=F0mg(mass)\begin{aligned} T_{d} &= b \dot\theta && \textsf{(viscous damping)} \\ x &= r\theta && \textsf{(kinematic constraint)} \\ J \ddot \theta &= T_a - T_{d} - r F_0 && \textsf{(drum)}\\ m \ddot x &= F_0 - mg && \textsf{(mass)} \end{aligned}

Eliminating θ\theta and TdT_d using the first two equations, we obtain:

Jrx¨+brx˙=TarF0mx¨=F0mg\begin{aligned} \frac{J}{r} \ddot x + \frac{b}{r} \dot x &= T_a - r F_0 \\ m \ddot x &= F_0 - mg \end{aligned}

Dividing the first equation by rr and adding it to the second equation to eliminate F0F_0, we obtain after simplification:

(m+Jr2)x¨+br2x˙=1rTamg\boxed{\left( m + \frac{J}{r^2} \right) \ddot x + \frac{b}{r^2} \dot x = \frac{1}{r}T_a - mg}

These equations show that the hoist mass has an effective mass of m+Jr2m + \frac{J}{r^2} due to the added inertia of the drum and there is also some effective damping of br2\frac{b}{r^2}.