Scroll back to top
All state-space models we have seen so far have had this form:
From now on, we will consider state-space models with this form instead:
We have added one more variable (along with the state
Like the state and the input, the output is a function of time — we will write
Then, we would represent it as a column matrix:
Like
The state-space model remains both linear and time-invariant, because
Outputs can be used to model a variety of different things. We will use them to model sensor measurements for the purpose of state estimation.
Heads up!
As usual, other people may use other symbols for both the variables and constants in a state-space model. For example:
This is also a “state-space model,” in which the state is
You already know how to linearize a dynamic model:
Rewrite the dynamic model as a set of first-order ODEs:
Choose an equilibrium point
Define the state and input in terms of the equilibrium point:
Compute
The result is a linear approximation
to the nonlinear dynamic model
that is accurate near the equilibrium point.
We can use the same process to linearize a sensor model:
Step 1. Rewrite the sensor model as follows:
In this expression, the variable
Step 2. Define the output as follows:
Note that
Step 3. Compute
Why does this make sense? Just like we took a first-order Taylor’s series expansion about
So, with this choice of
to the nonlinear sensor model
that is accurate near the equilibrium point.
Heads up!
We could define the variable
to represent, more concisely, what the sensor measurements would be if the system were at equilibrium. With this new variable, we could define the output more simply as
It is important to understand, however, that
Consider again a system with the following dynamic model:
We already showed how to rewrite this dynamic model as
and how to linearize it about the equilibrium point
to produce the state-space model
where
and
Now suppose we have sensors that allow the measurement of
Let’s apply our method to put this measurement in state-space form.
First, we rewrite the measurement in the form
Then, we define the output as the difference between the value of this function and what the value would be at equilibrium:
Finally, we compute
The resulting state-space model is
Note that the original sensor model was linear, so there was no approximation here. We could probably have skipped the entire process of linearization and written the system in state-space form by inspection. However, just as was true when putting dynamic models in state-space form (see example), it is nice to know that “linearization” still works even in this simple case.
Consider a system with the same dynamic model as before, but now suppose we have sensors that allow the measurement of
Again, let’s apply our method to put this measurement in state-space form.
First, we rewrite the measurement in the form
Then, we define the output as the difference between the value of this function and what the value would be at equilibrium:
Finally, we compute
The resulting state-space model is
Heads up!
In both of the previous two examples, we found that
instead of
when describing a sensor model in state-space form.