Electrical Engineering (EE) Exam  >  Electrical Engineering (EE) Notes  >  Control Systems  >  State Space to Transfer Function

State Space to Transfer Function | Control Systems - Electrical Engineering (EE) PDF Download

Introduction

In control systems engineering, the state-space representation and transfer function are two fundamental approaches to model and analyze dynamic systems. The state-space method provides a time-domain framework, capturing a system’s internal states through a set of first-order differential equations, offering a comprehensive view of its behavior. In contrast, the transfer function approach describes the system in the frequency domain, relating input to output via a ratio of Laplace-transformed polynomials, which is particularly useful for stability and frequency response analysis. Converting from state space to transfer function bridges these two perspectives, enabling engineers to leverage the strengths of both representations—such as detailed state information and simplified input-output relationships—for design, simulation, and control of complex systems.

State Space to Transfer Function

Consider the state space system:

State Space to Transfer Function | Control Systems - Electrical Engineering (EE)

Now, take the Laplace Transform (with zero initial conditions since we are finding a transfer function):

State Space to Transfer Function | Control Systems - Electrical Engineering (EE)

We want to solve for the ratio of Y(s) to U(s), so we need so remove Q(s) from the output equation.  We start by solving the state equation for Q(s)

State Space to Transfer Function | Control Systems - Electrical Engineering (EE)

The matrix Φ(s) is called the state transition matrix.  Now we put this into the output equation.

State Space to Transfer Function | Control Systems - Electrical Engineering (EE)Now we can solve for the transfer function:

State Space to Transfer Function | Control Systems - Electrical Engineering (EE)

Note that although there are many state space representations of a given system, all of those representations will result in the same transfer function (i.e., the transfer function of a system is unique; the state space representation is not).

Example: State Space to Transfer Function

Find the transfer function of the system with state space representation

State Space to Transfer Function | Control Systems - Electrical Engineering (EE)

State Space to Transfer Function | Control Systems - Electrical Engineering (EE)

Now we can find the transfer function

State Space to Transfer Function | Control Systems - Electrical Engineering (EE)

To make this task easier, MatLab has a command (ss2tf) for converting from state space to transfer function. 

>> % First define state space system

>> A=[0 1 0; 0 0 1; -3 -4 -2];

>> B=[0; 0; 1];

>> C=[5 1 0];

>> [n,d]=ss2tf(A,B,C,D)

n =

         0         0    1.0000    5.0000

d =

    1.0000    2.0000    4.0000    3.0000

>> mySys_tf=tf(n,d)

Transfer function:

       s + 5

----------------------

 s^3 + 2 s^2 + 4 s + 3

This doc is part of
54 videos|83 docs|40 tests
Join course for free

Properties of the State Transition Matrix

The state transition matrix Φ(s) = (s I - A)^(-1) is central to the conversion process. It represents the system’s dynamic response in the s-domain and has several key properties:
  • It is a square matrix of size n × n, where n is the number of states.
  • Its inverse exists for all s except at the eigenvalues of A (poles of the system).
  • The determinant of (s I - A), known as the characteristic polynomial, defines the denominator of the transfer function.
    Understanding these properties aids in manual computation and provides insight into system stability, as the poles (roots of det(s I - A) = 0) determine the system’s natural response.

Controllability and Observability in Conversion

The conversion from state space to transfer function assumes the system is controllable and observable:

  • Controllability: A system is controllable if the input u(t) can drive all states x(t) to any desired value in finite time. This is checked using the controllability matrix [B AB A^2B ... A^(n-1)B], which must have full rank n.
  • Observability: A system is observable if the initial state x(0) can be determined from the output y(t) over time. This is verified using the observability matrix [C; CA; CA^2; ...; CA^(n-1)], which must also have full rank n.
    If a system lacks controllability or observability, some modes (poles) may not appear in the transfer function, leading to a reduced-order model—a critical consideration in practical applications.
Download the notes
State Space to Transfer Function
Download as PDF
Download as PDF

Effect of Direct Feedthrough Term (D)

The D term in the state space model (y = C x + D u) represents the direct transmission from input to output without involving the states. In the transfer function:

  • If D = 0, the transfer function is strictly proper (degree of numerator < degree of denominator).
  • If D ≠ 0, the transfer function becomes proper (degree of numerator ≤ degree of denominator), adding a constant term D to G(s).
    This affects the system’s high-frequency behavior and steady-state response, making D a key factor in system design and analysis.

Take a Practice Test
Test yourself on topics from Electrical Engineering (EE) exam
Practice Now
Practice Now

Conclusion

The conversion from state space to transfer function is a vital technique in control systems, uniting the detailed, state-based insights of the time domain with the concise, frequency-domain simplicity of transfer functions. This process not only enhances flexibility in system analysis but also facilitates the application of powerful tools like root locus, Bode plots, and controller design, which rely on transfer function models. By mastering this transformation, engineers can seamlessly transition between modeling paradigms, optimizing system performance and stability while addressing practical design challenges, making it an indispensable skill in modern control engineering.

The document State Space to Transfer Function | 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)
Are you preparing for Electrical Engineering (EE) Exam? Then you should check out the best video lectures, notes, free mock test series, crash course and much more provided by EduRev. You also get your detailed analysis and report cards along with 24x7 doubt solving for you to excel in Electrical Engineering (EE) exam. So join EduRev now and revolutionise the way you learn!
Sign up for Free Download App for Free
54 videos|83 docs|40 tests

Up next

FAQs on State Space to Transfer Function - Control Systems - Electrical Engineering (EE)

1. What is the process to convert a state-space representation to a transfer function?
Ans. To convert a state-space representation to a transfer function, you start with the state-space equations given in the form \(\dot{x} = Ax + Bu\) and \(y = Cx + Du\). The transfer function \(H(s)\) can be derived using the formula \(H(s) = C(sI - A)^{-1}B + D\), where \(s\) is the complex frequency variable and \(I\) is the identity matrix. This involves calculating the inverse of the matrix \((sI - A)\), multiplying it by the input matrix \(B\), and then applying the output matrix \(C\) and direct feedthrough term \(D\).
2. What are the properties of the state transition matrix?
Ans. The state transition matrix, often denoted as \(\Phi(t)\), has several important properties: 1. \(\Phi(0) = I\), where \(I\) is the identity matrix, meaning that at time \(t=0\), the state transition matrix is the identity. 2. The matrix is continuous and differentiable with respect to time. 3. The relationship \(\frac{d\Phi(t)}{dt} = A\Phi(t)\) holds, indicating how the matrix evolves over time. 4. The state transition matrix satisfies the property \(\Phi(t_1 + t_2) = \Phi(t_1)\Phi(t_2)\), which means it is multiplicative in time.
3. What are controllability and observability in the context of state-space systems?
Ans. Controllability refers to the ability to steer the state of a system to any desired state using appropriate control inputs within a finite time. A system is controllable if the controllability matrix \(W_c = [B, AB, A^2B, \ldots, A^{n-1}B]\) has full rank. Observability, on the other hand, indicates the ability to deduce the complete state of a system from its output measurements. A system is observable if the observability matrix \(W_o = [C^T, (C A)^T, (C A^2)^T, \ldots, (C A^{n-1})^T]^T\) has full rank. Both properties are crucial for effective control and state estimation.
4. How does the direct feedthrough term (D) affect the transfer function?
Ans. The direct feedthrough term \(D\) in the state-space representation indicates a direct coupling between the input and output without any dynamics. In the transfer function \(H(s) = C(sI - A)^{-1}B + D\), the term \(D\) adds a constant value to the transfer function. If \(D\) is zero, the output depends solely on the state dynamics. When \(D\) is non-zero, it influences the system's response to inputs immediately, which can be significant in systems where instantaneous effects are critical, such as in control applications.
5. Can you provide an example of converting a state-space model to a transfer function?
Ans. Certainly! Consider a state-space model defined by the matrices: \(A = \begin{bmatrix} 0 & 1 \\ -2 & -3 \end{bmatrix}\), \(B = \begin{bmatrix} 0 \\ 1 \end{bmatrix}\), \(C = \begin{bmatrix} 1 & 0 \end{bmatrix}\), and \(D = 0\). To convert to transfer function, compute \(H(s) = C(sI - A)^{-1}B + D\). First, calculate \((sI - A) = \begin{bmatrix} s & -1 \\ 2 & s + 3 \end{bmatrix}\). The inverse is \((sI - A)^{-1} = \frac{1}{s^2 + 3s + 2} \begin{bmatrix} s + 3 & 1 \\ -2 & s \end{bmatrix}\). Now, multiply by \(B\) and then \(C\): \(H(s) = C(sI - A)^{-1}B = \frac{1}{s^2 + 3s + 2} \begin{bmatrix} s + 3 & 1 \end{bmatrix} \begin{bmatrix} 0 \\ 1 \end{bmatrix} = \frac{1}{s^2 + 3s + 2}\). Thus, the transfer function is \(H(s) = \frac{1}{s^2 + 3s + 2}\).
54 videos|83 docs|40 tests
Download as PDF

Up next

Explore Courses for Electrical Engineering (EE) exam
Related Searches

MCQs

,

practice quizzes

,

Viva Questions

,

Objective type Questions

,

State Space to Transfer Function | Control Systems - Electrical Engineering (EE)

,

Sample Paper

,

Exam

,

mock tests for examination

,

study material

,

shortcuts and tricks

,

Extra Questions

,

State Space to Transfer Function | Control Systems - Electrical Engineering (EE)

,

pdf

,

Free

,

Previous Year Questions with Solutions

,

video lectures

,

Semester Notes

,

Important questions

,

ppt

,

State Space to Transfer Function | Control Systems - Electrical Engineering (EE)

,

Summary

,

past year papers

;