Nonlinear Control Basics
Nise's main development is linear control, but the book repeatedly notes nonlinear effects such as saturation, dead zone, backlash, and small-signal linearization. This page is a short supplementary bridge into nonlinear control ideas that commonly follow an undergraduate linear-control course: describing functions, phase-plane analysis, and Lyapunov stability. It stays light because these topics are not the central scope of Nise's text.
The practical lesson is that every real control system is nonlinear somewhere. Linear design is valuable because it works near an operating point and gives strong intuition, but actuator limits, friction, geometry, quantization, and switching logic can dominate behavior when signals become large. Nonlinear analysis asks what remains true outside the small-signal model.
Definitions
A nonlinear system violates superposition or homogeneity. A state-space nonlinear model has the form
An equilibrium point for constant input is a state such that
Linearization around the equilibrium uses Jacobians:
A describing function approximates a static nonlinearity driven by a sinusoid by retaining only the fundamental harmonic. It produces an amplitude-dependent complex gain . This is an approximate method for predicting limit cycles in systems with one dominant nonlinearity.
A phase plane plots trajectories for a second-order autonomous system using state coordinates, often and . Instead of showing response versus time, it shows how the state moves in state space.
A Lyapunov function is a scalar energy-like function used to prove stability without solving the differential equation. Around an equilibrium at the origin, if
and
then the equilibrium is stable under standard Lyapunov conditions. If for , asymptotic stability can often be concluded.
Key results
Common nonlinearities in control systems:
| Nonlinearity | Model idea | Typical effect |
|---|---|---|
| saturation | output limited to maximum magnitude | windup, reduced effective gain |
| dead zone | no output for small input | steady error, limit cycles |
| backlash | output does not move until gap closes | oscillation and lost motion |
| Coulomb friction | force changes sign with velocity | stick-slip motion |
| relay | output switches between levels | sustained oscillations |
| geometric sine terms | pendulum and attitude dynamics | operating-point-dependent stability |
Describing-function limit-cycle prediction uses the approximate condition
This resembles the Nyquist critical-point condition but includes amplitude . Because higher harmonics are ignored, the result is an approximation, not a proof.
Phase-plane analysis classifies equilibrium behavior by trajectory patterns. Linearized eigenvalues provide local hints: stable nodes, saddles, spirals, and centers. Nonlinear trajectories can reveal features that linearization misses, such as finite escape, multiple equilibria, or large-amplitude cycles.
Lyapunov analysis provides conservative but rigorous stability statements. For a damped mechanical system, total energy is a natural Lyapunov candidate:
If damping dissipates energy, is negative semidefinite or negative definite, proving stability properties without solving for explicitly.
Local linearization remains the first tool for many nonlinear systems because it gives immediate information near an equilibrium. If the linearized system has all eigenvalues in the open left half-plane, the nonlinear equilibrium is locally asymptotically stable under standard smoothness assumptions. If the linearized system has an eigenvalue in the right half-plane, the nonlinear equilibrium is locally unstable. If eigenvalues lie on the imaginary axis, linearization may be inconclusive and nonlinear terms must be examined.
Saturation is the nonlinearity most likely to surprise a linear design. A linear controller may request a torque, voltage, or valve opening that the actuator cannot deliver. While saturated, the effective loop gain is lower and the controller's integrator may wind up. The response can overshoot badly even though the unsaturated linear model has comfortable damping. Anti-windup, command limiting, and actuator sizing are therefore nonlinear design issues.
Dead zones and backlash are especially damaging near zero error. A linear model predicts ever-smaller corrective action as the error shrinks, but a dead zone may produce no actuator response until the error grows enough. Backlash can make the output lag behind input reversals, creating chatter or limit cycles. These effects are often handled by mechanical design, preload, dither, compensation logic, or accepting a finite accuracy band.
Describing functions are useful when a relay, saturation, or dead zone sits in an otherwise linear loop and the dominant behavior is nearly sinusoidal. The method predicts possible oscillation amplitude and frequency by solving . Because higher harmonics are neglected, the result should be verified by nonlinear simulation. It is a design warning and approximation, not a rigorous proof of a limit cycle.
Lyapunov methods generalize the energy intuition behind stable mechanical systems. The difficult part is finding a suitable . Once found, the method can prove stability over a region rather than only along one simulated trajectory. This makes Lyapunov analysis central in advanced nonlinear, adaptive, and robotic control, even though Nise's undergraduate linear sequence only gestures toward the topic.
Nonlinear systems may have multiple equilibria. A pendulum has a downward equilibrium and an upright equilibrium; one is locally stable without control, while the other is unstable unless actively balanced. A linear transfer function around one equilibrium says little about behavior near another. This is why nonlinear analysis often talks about regions of attraction: the set of initial states from which the system returns to a chosen equilibrium.
Simulation is indispensable but not conclusive. A nonlinear simulation can reveal saturation recovery, limit cycles, and large-signal failure modes, but it samples only the initial conditions and parameter values that were tried. Lyapunov analysis, invariant-set reasoning, and conservative bounds complement simulation by proving statements over sets. A serious nonlinear design usually uses both: simulation for insight and proof techniques for guarantees where they are needed.
Visual
Saturation nonlinearity
output
^
M | _______
| /
| /
|_____/
| /
| /
-M|__/____________> input
Worked example 1: small-angle pendulum linearization
Problem: A simple pendulum without damping satisfies
Linearize about the downward equilibrium .
Method:
- Identify the nonlinear term:
- Use Taylor expansion around :
- Evaluate:
Thus
- Substitute into the pendulum equation:
- The characteristic equation is
with poles
Checked answer: the small-angle undamped pendulum is marginally stable in the linear natural-response sense, oscillating at .
Worked example 2: Lyapunov energy for a damped mass-spring system
Problem: Show stability of
for , , using an energy function.
Method:
- Choose state variables:
- Candidate Lyapunov function:
This is positive definite because and .
- Differentiate:
- Substitute :
- From the equation of motion:
- Substitute:
- Cancel terms:
Checked answer: energy never increases. With additional invariance reasoning, the damped mass-spring equilibrium is asymptotically stable because the only trajectory that can keep is the origin.
Code
import numpy as np
from scipy.integrate import solve_ivp
def saturated_mass_spring(t, state, M=1.0, D=0.4, K=2.0, umax=1.0):
x, v = state
u_linear = -3.0 * x - 1.0 * v
u = np.clip(u_linear, -umax, umax)
a = (u - D * v - K * x) / M
return [v, a]
sol = solve_ivp(
saturated_mass_spring,
[0, 20],
[2.0, 0.0],
t_eval=np.linspace(0, 20, 500),
)
energy = 0.5 * 2.0 * sol.y[0] ** 2 + 0.5 * 1.0 * sol.y[1] ** 2
print("initial energy:", energy[0])
print("final energy:", energy[-1])
print("final state:", sol.y[:, -1])
Common pitfalls
- Assuming a linearized stable model proves global nonlinear stability. Linearization is local.
- Ignoring actuator saturation in simulations of aggressive controllers.
- Treating describing-function predictions as exact. They are harmonic-balance approximations.
- Using a Lyapunov candidate that is not positive definite around the equilibrium.
- Forgetting that may prove stability but not automatically asymptotic stability without additional arguments.
- Simulating nonlinear systems from only one initial condition and assuming the result generalizes.
Connections
- Linearization and transfer functions gives the small-signal bridge from nonlinear equations to LTI models.
- Time response explains local pole-based behavior after linearization.
- PID and compensators must be checked against saturation and windup.
- Simulation is essential for nonlinear behavior outside analytic approximations.
- Autonomous driving control contains applied nonlinear and constrained-control examples.