A8 · Lesson 38 · Driven state equations
Inputs, outputs and the full solution of x′ = Ax + Bu
Lessons 36 and 37 solved : a system left alone, settling from wherever it started. Real systems are driven. A source pushes a circuit, a motor's voltage pushes the shaft, and what you measure is some combination of the states. The standard form adds an input and an output, and , and its solution has two parts: the natural response from the initial state, and a convolution of the input with the matrix exponential from A7.
- The curve is the state of a series RLC circuit after a 1 V step, plotted as capacitor voltage across and scaled current up, for the damping ratio you set.
- The state spirals into the dot at : the steady state, where the capacitor holds the full voltage and no current flows.
- Raise toward 1. The spiral tightens into a curve that approaches without circling: the overshoot disappears.
Predict
A stable system gets a constant input . Where does the state end up?
At . Once everything settles, , so . For a stable system has no zero eigenvalue, so it's invertible and the steady state is unique. For a series RLC with a DC source, this gives the capacitor at the source voltage and zero current.
Name it
The standard form
is ; says how the input pushes each state; says which combination of states you observe; is any direct path from input to output, often zero.
The solution
The first term is the natural response from the initial state. The second is the forced response, a convolution of the input with , the state's response to an impulse. For a constant input on a stable system, it settles to .
The transfer function
Taking Laplace transforms from rest, , so and
Its denominator is , the characteristic polynomial: the poles of the transfer function are the eigenvalues of . Its DC gain, , is the steady-state output per unit of constant input.
Worked example
Find the DC steady state of a series RLC with state and a source .
Show the solution
- State equations. and , so
- Invert . , so
- Steady state.
- Read it. The capacitor charges to the source voltage and the current stops, as expected; the formula works the same way for circuits with dozens of states, where intuition runs out.
Answer and : the capacitor charges to the source voltage and the current stops.
Worked example
Find the transfer function of , , .
Show the solution
- Form . with determinant .
- Pick out the entry. With and , is the top-right entry of (swap the diagonal, negate the off-diagonal, divide by the determinant):
- Check against the equation. That's , the equation this state form came from.
- DC gain. .
Answer , with a DC gain of 0.5.
Worked example
Two RC stages with = 1 s are separated by a buffer, so and . Find after a unit step.
Show the solution
- Eigenvalues. has the eigenvalue twice with one eigenvector, so expect .
- First stage. Solving in order,
- Second stage. Then gives
- At .
- The slow start. The second stage starts slowly, since its input starts at zero: its response begins flat, like .
Answer , which is 0.264 at s.
Check
and , with output . What is the DC gain?
Check
A mass of 1 kg on a spring of 10 N/m with damping is pushed by a constant force. How far does it move per newton, in steady state?
Write units the way you normally would: 1.5 m/N, 1500 mm/N and 0.0015 km/N are the same answer.
Check
Solve from rest. What is at = 2?
Check
For the two buffered RC stages ( = 1 s), what is at = 1 after a unit step?
Check
, , .
(a)
. What is ?
(b)
What is the DC gain?
Check
Solve from rest with a unit step, using .
Step 1
What is ?
Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.
Step 2
What does it settle to?
Explain why
Why are the poles of a system's transfer function the eigenvalues of its state matrix?
The transfer function is , and the inverse of is its adjugate divided by its determinant, . So every entry has in the denominator, and that polynomial is zero exactly when is an eigenvalue of . Those are the values of where the transfer function can blow up: its poles. Physically, both describe the natural modes, the exponentials the system produces by itself. A mode can be hidden if never excites it or never sees it, in which case its pole cancels from , but it's still in .
Practice
Keep practicing
7 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.