Techniqueadvanced
Averaging method for nonlinear systems
Also called averaging theory.
Approximates a system with fast periodic forcing by its time average, which keeps stability of hyperbolic equilibria for small periods.
The averaging method approximates a system that is forced by a fast periodic signal with the system whose right side is the time average of the forcing over one period. The averaged system does not depend on time, so its equilibria, stability and phase portrait are easy to study. In the standard form with periodic in , the solutions of the full and averaged systems stay within of each other on time intervals of length . If the averaged system has an exponentially stable equilibrium, the full system has an exponentially stable periodic solution near it, and the closeness holds for all time. The method goes back to Krylov and Bogoliubov in the 1930s. In control it explains dither and vibrational stabilization, the gradient behavior of extremum seeking, and the amplitude of oscillations in weakly nonlinear systems.
In plain words
Some systems are shaken fast by a periodic input, or contain a part that oscillates fast. Over one fast cycle, the slow state moves only a little, so what matters is the mean push over the cycle, not the push at each instant. The method replaces the shaking by its mean and studies the simpler system that results. The answer is close to the truth for a long time, and the error gets smaller when the shaking gets faster compared with the slow motion. If the simpler system settles at a point, the real system settles near that point, with a small wobble at the period of the shaking. If the simpler system does not settle, the approximation can drift away after a long time.
When it applies
- The system can be put in the standard form , with periodic in of period and small. An equal form is in the slow time : the forcing has the short period .
- and its partial derivatives with respect to up to second order are continuous and bounded on , for a domain (Khalil 2002, Section 10.4).
- The question is about time intervals of order , or the averaged system has an exponentially stable equilibrium (more generally, a hyperbolic one), which gives results on infinite time.
- A system that is not yet in standard form, such as a weakly nonlinear oscillator , can often be put in it by a change to amplitude and phase coordinates.
The template
- Put the system in standard form. Scale time so that the forcing is fast compared with the drift, or for an oscillator use , with . Then changes at rate , and the right side is periodic in .
- Average. Compute , with held fixed during the integration.
- Analyze the averaged system . Find its equilibria and check their stability with the Jacobian (see Lyapunov's indirect method).
- Apply the averaging theorem (theorem, Khalil 2002, Section 10.4).
- Finite time: if and stays in a compact subset of for , then there is such that on for .
- Infinite time: if is an exponentially stable equilibrium of the averaged system, then for small the full system has a unique -periodic solution within of , it is exponentially stable, and if is also an equilibrium of the full system for every , then 0 is exponentially stable for the full system. A solution that starts in a compact subset of the region of attraction of stays within of the averaged solution for all .
- Undo the change of coordinates to read the answer in the original variables, with an periodic wobble on top of the averaged motion.
Why it works. The proof is a near-identity change of variables with . The integrand has mean zero, so is periodic and bounded. In the new variable, with a bounded . The Gronwall inequality bounds the effect of the term by on , and the change of variables adds another . On infinite time, exponential stability of the averaged system keeps the errors from adding up.
Classic examples
A scalar system with periodic forcing. For , , the period is and . The averaged solution is , and its equilibrium is exponentially stable. The exact steady state is plus an oscillation of amplitude . Measured with RK4 and step 0.01, the largest error on is 0.0260 for and 0.00251 for .
The Van der Pol oscillator. For , amplitude and phase coordinates and averaging give and . The averaged amplitude has an exponentially stable equilibrium at , so the oscillator has a stable limit cycle with amplitude . From , , the averaged amplitude is . Measured with RK4 and step 0.005, the largest error between and on is 0.0614, 0.0304 and 0.0151 for , 0.05 and 0.025. The peak of on the limit cycle is 2.0001 for . The describing function method gives the same amplitude by a related first harmonic argument.
Vibrational stabilization (the Kapitza pendulum). A pendulum of length whose pivot moves up and down as obeys , with measured from the upright position. After a change of variables and averaging over the fast period, the upright position is stable when . For , , the threshold is rad/s. Measured with RK4, step 0.0005, damping and : for , never exceeds 0.2 and is below 0.0043 after ; for , the pendulum falls and reaches 4.67.
Extremum seeking. Extremum seeking control adds a small sinusoidal dither to a parameter and multiplies the measured cost by the same sinusoid. Averaging shows that the parameter then follows, on average, a gradient descent of the cost, with a gain proportional to .
Switching power converters. State-space averaging replaces a converter that switches at a high frequency by the average of its two linear models, weighted by the duty cycle. The averaged model is a smooth nonlinear system used for control design. The error is small when the switching period is short compared with the time constants of the filter.
Variations
- Higher-order averaging. Continue the near-identity change of variables to order or more. It is needed when the first-order average is zero, as for the Kapitza pendulum, whose effect appears at second order.
- General averaging. For forcing that is not periodic, use , when the limit exists uniformly. The error bound then depends on how fast the limit converges, and may be worse than .
- Hyperbolic equilibria. If the averaged system has a hyperbolic equilibrium that is not stable, such as a saddle, the full system has a hyperbolic periodic solution of the same type nearby (theorem, Sanders, Verhulst and Murdock 2007). This is the sense of the summary.
- Averaging with a slow and a fast state. When some states change fast and are not periodic, combine averaging with the singular perturbation method.
- Linear periodic systems. For with periodic, the averaged system is . If is Hurwitz, the linear time-varying system is exponentially stable for small .
Pitfalls
- Using the result beyond time . The finite-time estimate holds on only. Without exponential stability of the averaged system, the error can grow after that, and long simulations of the averaged model can be wrong.
- A center in the averaged system. If the averaged system has an equilibrium that is stable but not asymptotically stable, such as the undamped Kapitza pendulum, which averages to a conservative system, averaging decides nothing about stability on infinite time. Add damping or go to a higher order.
- A zero first-order average. If , the averaged system says nothing. The effect is in a higher-order term, as with vibrational stabilization.
- Forcing that is not fast enough. The theorem gives existence of but not its size. In the Kapitza example, rad/s looks fast compared with the natural rate rad/s, but it is below the threshold and the pendulum falls. Check the prediction with a simulation of the full system.
- The wrong standard form. Averaging when the drift of is not slow compared with the period gives a wrong answer. The factor must be there, after a scaling.
- Resonance. For oscillators with several frequencies, combinations that are near zero (small divisors) make in the near-identity transformation large, and the simple average must be replaced by an average that keeps the resonant terms.
Exercises
- Average and find the equilibria of the averaged system and their stability.
- For , derive the averaged equation for from , .
- For the scalar example, solve the full equation exactly and show that the steady-state oscillation has amplitude .
- Show that for with of period , the near-identity change of variables gives , and conclude exponential stability when is Hurwitz.
- For the Kapitza pendulum, linearize the averaged equation near the upright position and derive the condition .
References
- Hassan K. Khalil, Nonlinear Systems, third edition, Prentice Hall, 2002, Chapter 10, Section 10.4 (the averaging theorem, with the O(epsilon) estimate on time intervals of order 1/epsilon and the periodic solution near an exponentially stable equilibrium of the averaged system), and the later sections of Chapter 10 on weakly nonlinear oscillators and general averaging
- Jan A. Sanders, Ferdinand Verhulst and James Murdock, Averaging Methods in Nonlinear Dynamical Systems, second edition, Springer, 2007, first-order periodic averaging and its error estimate on the time scale 1/epsilon, and the extension to infinite time under attraction
Where this leads
About this page
The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H0 no proof |
|
| Lean | L0 no Lean part |
|
| Visual | V0 none |
|
| Writing | W2 basic |
|
Tag N0JQXA Edit this page History Report an error Markdown