Fundamentals / Mechanical engineering / Control engineering

Proving a region of attraction with the energy of a pendulum

Pole locations describe a small neighbourhood of a nonlinear equilibrium. An energy argument can prove that a much larger set of initial conditions converges to the same resting point. Work out the region explicitly and test individual trajectories against its boundary.

Extract a storage function from a torque balance

Measure angle \(\theta\) from the downward vertical, let \(\omega=\dot\theta\), and use pivot inertia J and gravitational torque coefficient \(K=mgl\). Add viscous damping b and a control torque \(u=-k_d\omega\) that opposes motion. The closed dynamics are \(J\dot\omega=-K\sin\theta-(b+k_d)\omega\). Define a scalar function with units of energy by adding kinetic energy to the integral of the restoring torque from zero angle:

\[V(\theta,\omega)={1\over2}J\omega^2+K(1-\cos\theta),\]
\[\dot V=J\omega\dot\omega+K\sin\theta\,\omega=-(b+k_d)\omega^2 .\]

A positive damping coefficient ensures energy cannot increase. On the branch \(-\pi<\theta<\pi\), V is positive away from the hanging rest state and zero there. Its derivative is zero whenever velocity vanishes, including ordinary turning points. To justify eventual convergence we need to establish whether any motion can remain indefinitely in this zero-derivative set.

Distinguish a turning point from an invariant state

At \(\omega=0\) a nonzero \(\sin\theta\) produces angular acceleration, taking the trajectory immediately away from zero velocity. Inside the well the only state remaining forever at zero velocity is \((0,0)\). The upright position sits at potential energy \(2K\). Each closed sublevel \(V\le c<2K\) containing the downward rest state is compact and cannot leave the well, because reaching \(\theta=\pm\pi\) would cost at least \(2K\). LaSalle's invariance principle then establishes asymptotic convergence on that component.

\[|\omega_0|<\sqrt{{2K\over J}(1+\cos\theta_0)}\]

This expresses the strict sublevel as a speed allowance at each angle. A state outside it can still settle in the same well because damping removes energy before it reaches the top. The inequality is a sufficient certificate that can be tested from an initial measurement. Exactly at the upright rest state no damping torque acts and the system can remain there.

Compare two releases at the same angle

Let \(J=0.20\) kg m², \(K=2.0\) N m and \(b+k_d=0.30\) N m s/rad. At 60° the potential energy is 1.0 J and the certificate allows speeds below \(\sqrt{30}=5.48\) rad/s. At 4 rad/s the total is 2.6 J, safely below the 4 J barrier. The turning angle cannot exceed \(\arccos(1-2.6/2)=107.5^\circ\) in magnitude. Positive damping reduces the actual maximum further.

At 6 rad/s the initial energy is 4.6 J, outside that guarantee. The instantaneous dissipation is \(0.30(6)^2=10.8\) W, so dissipation before any top crossing may be substantial. Integrate the equation with the same initial angle and compare the true energy trace with the barrier. Moving the damping slider changes the rate of energy loss, while the sublevel calculated from J and K remains fixed.

Raise the starting speed until the initial energy just exceeds the barrier. Compare a damped run with a zero-damping run. Use the two traces to distinguish a guaranteed sublevel from energy actually removed during a particular trajectory.

Tutorial · design an admissible release speed

At 120° with the same parameters, choose a speed ensuring the trajectory remains below 90% of the barrier. What changes in the proof if the velocity gain cancels the physical damping exactly?

Show the energy budget

The potential energy is

\[2(1-\cos120^\circ)=3.0\,\mathrm{J}.\]

The target maximum total energy is 3.6 J, leaving 0.6 J of kinetic energy. Thus \(|\omega_0|\le\sqrt{2(0.6)/0.20}=2.45\) rad/s to the quoted precision. When \(b+k_d=0\), energy is constant. The sublevel remains invariant, but whole undamped orbits now lie in the zero-derivative set, so convergence to rest no longer follows.

Further reading · Åström and Murray, Feedback Systems · chapter 5, Lyapunov stability