# Control System – State Space Model

In my previous post we have seen that the state space model of a **Linear Time-Invariant (LTI)** system is represented as,

(t) = A x(t) + B x(t) ,

y(t) = Cx(t) + D u(t)

Now we have a different representation of state model:

- Forming state model by physical variables
- Forming state model by phase variables
- Canonical state variables

Forming state models by physical variables:

We now take one simple example to illustrate this:

We need to obtain state model of the given RLC circuit

From the above circuit diagram, we can see that there are two storage elements, i.e capacitor and inductance . Hence two state variables that we can choose are

- Current passing through the inductor
- Voltage across capacitor

The input is represented as u(t)

Here u(t) = (t) ,

The state variables are

We now apply KVL , (t) = Ri(t) + L i(t) + (t) ………. (1.2)

We write equation (1.2) in terms of i(t)

Hence, i(t) = (t) – i(t) – (t) …….. (1.3)

(t) is the state variable (t)

(t) = (t) = (t)

Similarly (t) is the input, (t) = u(t) ,

(t) is the state variable (t) ,

Using these in equation (1.3) we get,

(t) = u(t) – (t) – (t) ……. (1.4)

We know that (t) is the voltage across the capacitor

(t) = ,

Differentiating both sides, we get

(t) = i(t)

We now put (t) = (t) and i(t) = (t) ,

(t) = (t) …………. (1.5)

Equation (1.4) and equation (1.5) give us the state equation

= + u(t) ,

This is of the form = A x(t) + Bu(t)

For the output we have,

y(t) = (t) = (t) y(t) = + u(t) ,

This is of the form Y = Cx(t) + D u(t)

Now we will see some important properties of state transition matrix:

The state transition matrix gives idea about the progress of state fro x(0) , It gives the free response of the system.

- Φ(0) = = I ,
- Φ(t) = = ,
- = Φ(nt) ,
- Φ() Φ() = Φ() ,

**How to obtain Transfer function from State Variable Model and Vise versa:**

We already know that apart from internal behaviour , the state variable model yields the input output behaviour as well.Hence we can convert the state variable to its transfer function form and vice versa.

Now consider a SISO case, whose state and output equations are given as :

= Ax(t) + Br(t) …… (1.6)

y(t) = Cx(t) + Dr(t) …….(1.7)

To obtain transfer function, we take its Laplace transformations.

Hence, sX(s) – s() = AX(s) + BR(s)

Here x() indicates initial condition.

Now assuming zero initial conditions, i.e x() = 0 ,

sX(s) = AX(s) + BR(s)

Then , (sI-A)X(s) = BR(s) ,

Now, X(s) = …… (1.10)

Taking Laplace Transform of equ (1.7) , Y(s) = CX(s) + DR(s) , ……. (1.11)

Putting equ (1.10) in equ (1.11) we get,

Now, Y(s) = CBR(s) + DR(s) ,

Hence , CR(s) ,

Hence we get transfer function T(s) = = C ,

Concept of controllability and observability :

**Controllability:**

In the control system, there are many systems that is required to be controlled. The concept of controllability refers to the capability of any controller in order to arbitrarily modify the functionality of the system plant. Controllability implies the ability to change the state by input.

A process is said to be controllable if for the system it is possible to transfer the system from the initial state i.e x( ) to some other desired state i.e x() in a specified time.

**Observability :**

We have seen that the state variable of a system , x , represents the internal working of the system. This also needs to be observed along with the output and the input .This term describes if any internal state variables of any particular system can be externally measured.Thus a process is said to be observable if every state x() can be easily determined by the measurements of the output y(t) over a specific time duration .

Aric is a tech enthusiast , who love to write about the tech related products and ‘How To’ blogs . IT Engineer by profession , right now working in the Automation field in a Software product company . The other hobbies includes singing , trekking and writing blogs .