State-Space Representation of Mechanical Systems
Equations of Motion
Let us consider manipulator equations in the form who's left-hand side may be for example derived from the system's kinetic and potential energy expressed in generalized coordinates by expanding Lagrange equations of the second kind where . First by separating the Lagrangian into its components and then applying the change rule If the external forces are linearly dependent on inputs , such that , the terms of (1) as derived by this approach are
Continuous-time dynamics
Most commonly used state-space representation of a mechanical system in continuous time is attained by concatenating and to form the system's state
Linearization
The system's dynamics can be linearized by performing a Taylor expansion around a point which yields where also .
If is a fixed point, i.e. , first order partial derivatives of the system's dynamics simplify to as terms involving drop out because for all fixed points. Partial derivatives of also disappear as all of its terms contain second degree products of velocities and all velocities must be equal to zero at a fixed point.
Discretization via integration using the explicit Euler scheme
The most basic approach with which we may discretize continuous-time dynamics of a nonlinear system is by integrating the systems state with a timestep of using the explicit Euler scheme
Linearization
Compared to more advanced integration methods, linearization of these discrete time dynamics around a point is trivial: