Lecture (4) Mathematical Modeling in Mechanical and Electrical System
Lecture (4) Mathematical Modeling in Mechanical and Electrical System
As systems become more complex, representing them with differential equations or transfer
functions becomes cumbersome. This is even more true if the system has multiple inputs and
outputs. This document introduces the state space method which largely alleviates this
problem. The state space representation of a system replaces an nth order differential equation
with a single first order matrix differential equation. The state space representation of a system
is given by two equations
( ) ( ) ( )
-The first equation is called the state equation,
-the second equation is called the output equation.
For an nth order system (i.e., it can be represented by an nth order differential equation)
with r inputs and m outputs the size of each of the matrices is as follows:
Where
Derive a state space model for the system shown. The input is ia and the output is e2.
There are three energy storage elements, so we expect three state equations. Try choosing
i1, i2 and e1 as state variables. Now we want equations for their derivatives. The voltage
across the inductor L2 is e1 (which is one of our state variables)
This equation has our input (ia) and two state variable (iL2 and iL1) and the current through
the capacitor. So from this we can get our second state equation
Our third, and final, state equation we get by writing an equation for the voltage across
L1 (which is e2) in terms of our other state variables
We also need an output equation:
Consider an 4th order system represented by a single 4th order differential equation
with input x and output z.
but
We can now rewrite the 4th order differential equation as 4 first order equations
Ex2:
Find a state-space representation of the system shown in the figure if the output is the current
through the resistor.