Lyapunov stability & control functions
Watch states move through the phase plane and over a Lyapunov energy bowl. Compare stability, asymptotic convergence, a saddle, the LaSalle case, and feedback control. Change a gain or perturb the state while the animation runs.
1 · Choose a dynamical system
Parameters update while runningInitial state & disturbances
Click or drag in phase planeAn impulse produces an instantaneous jump in V; the plotted V̇ describes the continuous dynamics between impulses.
2 · Phase portrait
t = 0.0 / 32 s3 · Lyapunov energy landscape
Same V(x), different dynamics5 · Watch the proof evolve over time
Histories can change if you adjust gains or inject disturbancesSuggested 10-minute class exercise
1. Run the stable center, then the stable spiral. Both stay near the origin, but only the spiral converges.
2. Run the damped oscillator: V̇ is zero whenever x₂ = 0, even though trajectories ultimately converge. Discuss LaSalle's invariance principle.
3. Choose the CLF controller. Set K = 0.8, 1.0, and 1.6, resetting between trials. Ask students when V̇ becomes negative definite.
Reading the result correctly
V positive definite is not sufficient by itself: the same bowl appears for stable and unstable dynamics.
V̇ < 0 away from the equilibrium proves asymptotic stability under the relevant hypotheses. V̇ = 0 for a center demonstrates stability without convergence. For the damped oscillator, V̇ ≤ 0 needs an additional invariance argument to conclude convergence.