Electrical Engineering (EE) Exam  >  Electrical Engineering (EE) Notes  >  Control Systems  >  State Space Representation of Control System

State Space Representation of Control System | Control Systems - Electrical Engineering (EE) PDF Download

State Space Analysis

The state-space description provides the dynamics of a system as a set of coupled first-order ordinary differential equations in a set of internal variables called state variables, together with algebraic equations that combine the state variables to produce the physical output variables.

State

The state of a dynamic system is a minimum set of variables that, together with knowledge of future inputs, completely determines the future behaviour of the system. Formally, a set of variables xi(t), i = 1,...,n, is a state if knowledge of x(t0) at some initial time t0 and the inputs u(t) for t ≥ t0 suffice to predict x(t) and all outputs y(t) for t > t0.

  • The dynamic behaviour of a state-determined system is fully characterised by the responses of the n state variables xi(t). The integer n is called the order of the system.
  • If a system has r inputs u1(t),...,ur(t) and m outputs y1(t),...,ym(t), then the state variables form an internal description from which any output can be computed.
State

The State Equations

In general the dynamics are expressed as n coupled first-order ordinary differential equations, the state equations, in which the time derivative of each state variable is a (possibly nonlinear, time varying) function of the state variables, the system inputs and time:

1(t) = f1(x(t), u(t), t)

2(t) = f2(x(t), u(t), t)

...

n(t) = fn(x(t), u(t), t)

The State Equations
  • Here ẋi = d xi/dt and the functions fi(·) may be nonlinear and explicitly time dependent.
  • For compactness we use vector notation. Define the state vector x(t) = [x1(t), x2(t), ..., xn(t)]T and the input vector u(t) = [u1(t), ..., ur(t)]T.
The State Equations

In vector form the general nonlinear state equations become

ẋ(t) = f(x(t), u(t), t)

The State Equations

Linear Time-Invariant (LTI) State Equations

For linear time-invariant systems the functions are linear and time independent. The state equations take the matrix form

ẋ(t) = A x(t) + B u(t)

Linear Time-Invariant (LTI) State Equations

where A is an n × n matrix of constant coefficients aij, and B is an n × r matrix of coefficients bij that weight the inputs.

Linear Time-Invariant (LTI) State Equations

Compactly:

Linear Time-Invariant (LTI) State Equations

Output Equations

An output is any variable of interest produced by the system. For linear systems an arbitrary output y(t) (scalar) may be written as a linear combination of state variables and inputs:

y(t) = c1x1(t) + c2x2(t) + ... + cnxn(t) + d1u1(t) + ... + drur(t)

In matrix form, when m outputs are defined, the output equation is

y(t) = C x(t) + D u(t)

  • Here y(t) is an m × 1 column vector of outputs, C is an m × n matrix of coefficients that weight the state variables, and D is an m × r feedthrough matrix that weights the inputs.
  • For many physical systems the direct feedthrough is zero, D = 0, so y = C x.

Block Diagram Representation of Linear Systems Described by State Equations

A system of order n is represented in block diagram form by n integrators. Each integrator's output is a state variable and the integrator input is the derivative of that state. The block diagram is constructed by following these rules:

  • Draw n integrator blocks and assign a state variable to the output of each block (integrator output = xi(t)).
  • At the input to each integrator place a summing junction that forms ẋi from weighted sums of state variables and inputs.
  • From the state equations connect state outputs and inputs to the summing junctions through scaling blocks (gains equal to elements of A and B).
  • Form the outputs by summing scaled state variables and inputs according to the C and D matrices.
Block Diagram Representation of Linear Systems Described by State Equations

Example: Second-order SISO System

Consider a general second-order single-input single-output system described by state equations (canonical form). A block diagram for this system is drawn by following the four steps above.

Example: Second-order SISO System
Example: Second-order SISO System

Transformation from Classical (Transfer Function) Form to State-Space Representation

Consider a scalar transfer function represented by polynomial operators of order n:

(ansn + an-1sn-1 + ··· + a0)Y(s) = (bnsn + bn-1sn-1 + ··· + b0)U(s)

  • Multiplying both sides by s-n (or dividing by sn) converts the operator polynomials to powers of s-1, which helps in defining a set of first-order differential (or difference) relations corresponding to state equations.

One standard procedure is to select state variables as successive derivatives (or integrals) of the output (or of an intermediate variable). This yields equivalent state equations and output equations in the time domain. Different choices of state variables produce different state-space realizations (for example, controllable canonical form, observable canonical form, or diagonal/ modal forms), all of which are algebraically equivalent.

Transformation from Classical (Transfer Function) Form to State-Space Representation

State-Space and Transfer Function

Given the LTI state equations

ẋ(t) = A x(t) + B u(t)

y(t) = C x(t) + D u(t)

take Laplace transforms and neglect initial conditions to obtain the input-output transfer function G(s) = Y(s)/U(s).

s X(s) = A X(s) + B U(s)

(sI - A) X(s) = B U(s)

X(s) = (sI - A)-1 B U(s)

Substitute into the output equation:

Y(s) = C X(s) + D U(s) = C (sI - A)-1 B U(s) + D U(s)

Therefore the transfer function is

G(s) = C (sI - A)-1 B + D

State-Space and Transfer Function

State-Transition Matrix

For the homogeneous linear system

ẋ(t) = A x(t)

the solution with initial condition x(0) is expressed using the state-transition matrix ϕ(t):

x(t) = ϕ(t) x(0)

ϕ(t) must satisfy the matrix differential equation

ϕ̇(t) = A ϕ(t)

and the initial condition ϕ(0) = I.

The state-transition matrix is related to the matrix exponential:

ϕ(t) = eAt

State-Transition Matrix

It can also be obtained by the inverse Laplace transform:

ϕ(t) = L-1[(sI - A)-1].

Computation of eAt

  • Power series definition: eAt = I + At + (At)2/2! + (At)3/3! + ···.
  • If A is diagonalizable, A = V Λ V-1, then eAt = V eΛt V-1, where eΛt is a diagonal matrix of exponentials of the eigenvalues.
  • When (sI - A) has a known partial fraction expansion, ϕ(t) is obtained by inverse Laplace transform term by term.

Properties of the State-Transition Matrix

  1. ϕ(0) = I (identity matrix).
  2. ϕ-1(t) = ϕ(-t) (when the matrix exponential exists for the required t range).
  3. ϕ(t2 - t1) ϕ(t1 - t0) = ϕ(t2 - t0) for any t0, t1, t2.
  4. ϕ(kt) = [ϕ(t)]k for positive integer k when the exponential series interpretation is used (matrix properties must be respected).

Controllability and Observability

Controllability

Controllability expresses whether the input can move the system between arbitrary states. A continuous-time LTI system ẋ = A x + B u is said to be controllable on [t0, t1] if, for any initial state x(t0) and any final state x(t1), there exists an input u(t) defined on [t0, t1] that transfers the state from x(t0) to x(t1).

For finite-dimensional LTI systems the following algebraic test is standard:

The controllability matrix is

Wc = [ B   A B   A2 B   ...   An-1 B ]

If rank(Wc) = n, the system is controllable (reachable).

Observability

Observability expresses whether the internal state can be determined from output measurements. The system ẋ = A x + B u, y = C x + D u is observable if the initial state x(t0) can be determined from knowledge of the output y(t) over a finite time interval t ∈ [t0, t1].

The observability matrix is

Wo = [ CT   AT CT   ...   (AT)n-1 CT ]T

Equivalently, written row-wise,

Wo = [ C   C A   C A2   ...   C An-1 ]T.

If rank(Wo) = n, the system is observable.

Remarks on Controllability and Observability

  • Controllability and observability are dual concepts: tests for one can be derived from tests for the other by transposition.
  • If a system is not controllable, it is not possible to place all closed-loop poles arbitrarily by state feedback; only the controllable subsystem poles can be assigned.
  • If a system is not observable, some internal modes cannot be seen from outputs and cannot be estimated by any observer that uses only the measured outputs.
  • Canonical state representations such as controllable canonical form and observable canonical form make these properties transparent and are useful for controller and observer design.

Worked Example: Controllability of a Second-Order System

Consider a second-order system with state matrices

A = [ [0, 1], [-k/m, -c/m] ] and B = [ 0, 1/m ]T (typical mass-spring-damper form).

Form the controllability matrix Wc = [ B   A B ].

Compute A B and then check rank(Wc). If rank = 2 the system is controllable; if rank < 2="" it="" is="">

Summary

The state-space method provides a general and compact framework to represent linear and nonlinear dynamic systems using state variables, state equations and output equations. It is especially suited to multivariable systems and modern control design (state feedback, observers). Key algebraic relations include the LTI state equations ẋ = A x + B u and y = C x + D u, the transfer function relation G(s) = C(sI - A)-1B + D, the state-transition matrix ϕ(t) = eAt, and the algebraic tests for controllability and observability based on the matrices [B AB ... An-1B] and [C; CA; ...; C An-1].

The document State Space Representation of Control System | Control Systems - Electrical Engineering (EE) is a part of the Electrical Engineering (EE) Course Control Systems.
All you need of Electrical Engineering (EE) at this link: Electrical Engineering (EE)
53 videos|116 docs|40 tests

FAQs on State Space Representation of Control System - Control Systems - Electrical Engineering (EE)

1. What is state space analysis in control systems?
Ans. State space analysis is a mathematical modeling technique used in control systems engineering. It involves representing a control system as a set of first-order differential equations known as state equations. These equations describe the behavior of the system in terms of its internal states, inputs, and outputs.
2. How is a control system represented in state space form?
Ans. A control system is represented in state space form by defining a set of state variables that collectively describe the internal states of the system. The dynamics of the system are then represented by a set of first-order differential equations, known as state equations, which relate the derivatives of the state variables to the inputs and outputs of the system.
3. What are the advantages of using state space analysis in control systems?
Ans. State space analysis offers several advantages in control systems engineering. Firstly, it provides a more intuitive and physical representation of the system dynamics compared to other methods. Secondly, it allows for the analysis of both time-domain and frequency-domain properties of the system. Thirdly, it facilitates the design of optimal control systems using techniques such as linear quadratic regulator (LQR) and Kalman filtering.
4. How does state space analysis differ from transfer function analysis?
Ans. State space analysis and transfer function analysis are two different approaches to modeling and analyzing control systems. State space analysis focuses on the internal states of the system and their dynamics, while transfer function analysis represents the system's input-output relationship using a ratio of polynomials. State space analysis provides a more comprehensive and flexible representation, while transfer function analysis is simpler and more suitable for certain types of analysis, such as frequency response analysis.
5. How can state space analysis be used in practical control system design?
Ans. State space analysis is widely used in practical control system design. It allows engineers to analyze the stability, controllability, and observability of a system, which are crucial aspects in control system design. State space models can be easily manipulated and combined with other mathematical techniques to design and implement various control strategies, such as PID controllers, state feedback controllers, and observers. The ability to analyze and design control systems in the state space domain makes it a valuable tool for control engineers.
Related Searches
State Space Representation of Control System | Control Systems - Electrical Engineering (EE), State Space Representation of Control System | Control Systems - Electrical Engineering (EE), practice quizzes, Semester Notes, Previous Year Questions with Solutions, MCQs, State Space Representation of Control System | Control Systems - Electrical Engineering (EE), past year papers, pdf , study material, shortcuts and tricks, Exam, Viva Questions, mock tests for examination, Important questions, Extra Questions, ppt, Objective type Questions, video lectures, Free, Sample Paper, Summary;