Generalized forces & damping
So far the right-hand side was zero. Real machines have motors and friction — here is how a push, a torque, and a damper enter as the generalized force \(Q\).
Source: course notes, Week 2 (the energy method).
Before you start
What you need first
- Lagrange's equation with its right-hand side \(Q\) (Topic 12).
- The pendulum EOM \(mL^2\ddot\theta + mgL\sin\theta = 0\).
- Damping \(F=-c\dot x\) from the mass–spring–damper.
What you'll be able to do
- Say what belongs in the generalized force \(Q\).
- Add a motor torque and damping to a model.
- Write the full driven, damped pendulum equation.
What goes into \(Q\)?
The Lagrangian \(\mathcal{L}=T-V\) already captures inertia, gravity, and springs. Anything not already inside \(T\) or \(V\) goes on the right-hand side, collected into the generalized force \(Q\):
| Goes inside \(\mathcal{L}=T-V\) | Goes into \(Q\) (right side) |
|---|---|
| inertia (masses, \(I\)) | applied forces (a hand, an actuator) |
| gravity \(mgh\) | motor / joint torques \(\tau\) |
| springs \(\tfrac12 kx^2\) | damping / friction \(-c\dot q\) |
A push that drives
A motor torque on a joint
If a motor applies a torque \(\tau\) at the pendulum's pivot, that torque is exactly the generalized force for the coordinate \(\theta\). It goes on the right:
A force that resists
Adding damping
A damper (oil, friction at the joint) gives a torque that opposes motion, sized by the angular speed. It contributes \(-c\dot\theta\) to the generalized force. Moving it to the left side, it joins the equation as a new term:
| Symbol | Meaning | SI unit |
|---|---|---|
| \(\tau\) | applied (motor) torque | N·m |
| c | damping coefficient (rotational) | N·m·s/rad |
| \(\dot\theta\) | angular speed | rad/s |
Read every term — the same cast as the spring
| Term | Name | Where it comes from |
|---|---|---|
| \(mL^2\ddot\theta\) | inertia | kinetic energy \(T\) |
| \(c\dot\theta\) | damping | generalized force \(Q\) |
| \(mgL\sin\theta\) | gravity | potential energy \(V\) |
| \(\tau\) | input | generalized force \(Q\) |
Where does a driven pendulum settle?
A pendulum (bob \(m = 0.5\ \text{kg}\), rod \(L = 1.0\ \text{m}\)) is held by a motor giving a constant torque \(\tau = 2.0\ \text{N·m}\). Take \(g = 9.81\ \text{m/s}^2\). At what angle does it finally come to rest?
✏️ Try it yourself
A pendulum (bob \(m = 0.8\ \text{kg}\), rod \(L = 0.5\ \text{m}\)) is driven by a constant motor torque \(\tau = 1.5\ \text{N·m}\). Take \(g = 9.81\ \text{m/s}^2\). Find the rest angle.
Common mistakes to avoid
| Mistake | Fix |
|---|---|
| Putting a motor torque inside \(\mathcal{L}\) | Applied torques are not energy stored — they go into \(Q\) on the right. |
| Giving damping a \(+c\dot q\) on the right | Damping opposes motion: \(Q\) gets \(-c\dot q\), so it lands as \(+c\dot q\) on the left. |
| Forgetting to move \(-c\dot\theta\) across | Bringing \(Q\)'s damping to the left flips its sign to \(+c\dot\theta\) beside the inertia term. |
| Expecting a rest angle for any \(\tau\) | If \(\tau>mgL\) there is no equilibrium — the drive beats gravity. |
Recap — the whole topic on one screen
| Idea | What you own now |
|---|---|
| What \(Q\) is | Everything not in \(T\) or \(V\): pushes, torques, damping |
| A motor | Torque \(\tau\) goes on the right as \(Q\) |
| Damping | \(-c\dot q\) in \(Q\) → \(+c\dot q\) on the left |
| The full model | Inertia + damping + gravity = drive — same cast as the spring |