Modes
Imagine we give a dynamic system a brief disturbance, then stop touching it. A temperature difference fades. A suspended weight swings. A glass rings. The resulting motion is not usually arbitrary: systems tend to respond in recognizable patterns. We call one such characteristic pattern a mode. This is an intuitive definition that we will refine later.
Slightly more formally, the continuous-time systems we study here are modeled by ordinary differential equations. Given an initial state and the inputs over time, this model determines how the system evolves. Modes describe its characteristic ways of evolving. We identify them from the unforced motion (how the system state evolves without additional input), but they also shape how the system responds to inputs.
Modes matter in control because commands, disturbances, and feedback corrections can excite them. A well-designed controller makes unwanted motion fade. A poorly designed controller may allow it to ring for too long, or may even cause it to grow. Some modes simply fade or grow without oscillating. A central part of linear control is shaping the closed-loop system’s modes to produce the desired response.
A mass-spring oscillator
Imagine a weight attached to a spring on a smooth table where we pull the weight to the right and release it. We expect it to slide through its resting position, compress the spring on the other side, reverse direction, and repeat.
Call the weight’s displacement from its resting position . In the picture below, the pale outline marks the resting position . The solid weight has been pulled to the right, so . The stretched spring pulls left, toward equilibrium; after release, the weight’s inertia will carry it through the center.
Now consider the weight as it passes through the center. It crosses that same position twice during every cycle: once moving left and once moving right. Its position is identical, but what happens next differs because its velocity differs. Position alone is therefore not enough to describe the motion. We also need its velocity.
Below, the same motion is drawn three ways at once: the mass itself, its position over time, and its position against its (scaled) velocity.
At either extreme, the weight momentarily stops before reversing, so its velocity is zero. At the resting position, its speed is greatest. The state repeatedly cycles through combinations of position and velocity. If no energy were lost, a suitably scaled plot of these two coordinates would form a circle. Friction removes a little energy on every cycle, so the loop becomes an inward spiral. In the position trace, oscillation and decay are superimposed; in the two-coordinate view, they separate into turning around the origin and shrinking toward it.
The slider is the decay rate, which sets how fast friction shrinks the amplitude of the oscillation. Negative means the motion dies out, and the more negative it is, the faster. A couple things to try out with the visualization:
- Watch the mass and the spiral together. The mass is at an extreme - momentarily stopped - exactly when the spiral crosses the horizontal axis, and passes through the center when the spiral crosses the vertical axis.
- Drag to zero. Nothing removes energy any more, so the spiral closes into a circle and the envelope in the time plot goes flat.
- Raise the frequency with fixed. More cycles fit into the same time, so each turn of the spiral shrinks less.
The modal waveform
The time plot is the history of one oscillatory mode. Let us build its description one step at a time. Begin with
The angular frequency determines how quickly the motion cycles, while the phase determines where in that cycle the motion begins. Multiplying by a positive number , the amplitude at time zero, sets the initial size of the oscillation’s envelope. Finally, multiplying by the real exponential allows that envelope to change with time. Together these pieces give
If , the envelope shrinks; if , its size remains constant; and if , it grows. The spring is only one physical realization of this pattern. Whenever a single growing, decaying, or persistent oscillation appears, the same four parameters can describe its time history.
Why exponentials?
I’d like to briefly pause to explain something more basic, which some people skim over and others may find trivially true. We represent modes with exponentials, but the application of the exponential here is not just a convenient fit; it comes from the solution to the differential equation that defines the system. For a mass , a spring with stiffness , damping , and an applied force , Newton’s law gives
The initial position and velocity tell us where the motion starts, and is the force we apply to it. To find the natural motions, set . We now need a function whose position, velocity, and acceleration satisfy
Why look for an exponential? Because it keeps the same shape when differentiated. If , then
Position, velocity, and acceleration are all constant multiples of the same function . This gives us a way for the three terms to cancel at every instant. Substituting gives
For a nonzero motion, , and the exponential is never zero. We can therefore divide it out, leaving
We have chosen a family of functions that makes differentiation simple, and the equation now tells us exactly which rates actually represent the dynamics of the system. This is the characteristic equation.
A single exponential is not generally the full solution. Because the equation is linear and has zero on the right-hand side, sums of solutions are also solutions. With two distinct roots, the general solution is a combination of the two corresponding exponentials.
Example
Let us take a mass, a damping coefficient of , and a spring stiffness of . With no applied force, dividing the equation by the mass gives
Trying gives the characteristic equation . Using the quadratic formula,
These are the two modal rates, in inverse seconds. The corresponding exponential solutions are and . Together, this conjugate pair describes one real oscillation:
We can already say quite a bit without choosing an initial position or velocity:
- The real part is , so the envelope falls to of its initial size after one second.
- The imaginary part has magnitude , so one cycle takes .
- Both roots have negative real parts, so the motion dies out rather than growing.
Now pull the mass to the right and release it from rest. The initial conditions are and . Substituting the first gives . Differentiating the solution and evaluating at zero gives
Our actual motion is therefore
with measured in seconds.