To work with nonlinear equations in a ๐บ๐ธ State Space Model, we can make small linear approximations around the nominal input trajectory.
First, we represent a nonlinear SSM as
In vector format, we can compactly write this as
where
To make linear approximations, we must find equilibrium points. These are the only points where the approximation is linear since by definition of equilibrium,
Computing equilibrium points
Next, we calculate the โ๏ธ Gradient > Vector Gradients, called Jacobian, for ๐ค Taylor Expansion around the equilibrium. This is
where
We can make the same approximation for the second equation,
and also output deviation
Putting everything together, we have
Note that this also works for nominal trajectories, where we have