3.01 Introduction to State-Space & Phase-Variable Formulations | 3.03 State-Space Modeling of Electrical Circuits


3.02 State-Space Modeling of Transfer Functions (Canonic Forms)

Core Idea

For systems represented by rational s-domain transfer functions with -terms in the numerator, traditional phase-variable definitions based on output derivatives fail because they introduce derivatives of the input signal. To bypass this, we decompose the transfer function into two cascaded subsystems: an Input-to-State subsystem (with a constant numerator) and a State-to-Output subsystem (with s-terms in the numerator) using an intermediate state variable .


1. The Algebra of Numerator Dynamics

1.1 The “Input Derivative” Problem

If we have a transfer function with -terms in the numerator:

Its time-domain differential equation is:

If we attempt to define states as derivatives of the output (e.g., , , ), the derivative of the highest state will directly depend on and . This violates the standard state equation format: which permits only the raw input , not its derivatives!

1.2 The Auxiliary Variable Solution

To decouple the input derivatives, we insert an auxiliary variable and split into two cascaded blocks:

  1. Block 1 (Input-to-State):
  2. Block 2 (State-to-Output):

Multiplying these blocks yields the original transfer function:


2. Phase-Variable Formulation (Control Canonic Form)

2.1 Step-by-Step Derivation Workflow

Step 1: Solve Block 1 in the Time Domain

Multiply out the s-domain terms of the Input-to-State block: Applying the inverse Laplace transform assuming zero initial conditions:

Step 2: Define the State Vector

Since this auxiliary equation has a constant numerator (1), we can safely define our state variables as successive derivatives of the auxiliary variable :

Step 3: Formulate State Equations

Write down the derivatives of our state variables:

Step 4: Solve Block 2 in the Time Domain

Multiply out the s-domain terms of the State-to-Output block: Taking the inverse Laplace transform:

Step 5: Substitute States into the Output Equation

Replace the derivatives of with our defined state variables:

Step 6: Assemble Matrix Form

Combining the state and output equations:


3. High-Yield Worked Classroom Problems

3.01 Constant Numerator Realization

Problem 1: Companion Matrix Mapping

Obtain the state-space model for the transfer function:

  • Step 1: Setup intermediate block
  • Step 2: State Assignments
  • Step 3: Output Mapping
  • Step 4: Matrix Compilation

3.02 Complete Numerator Polynomial Realization

Problem 2: Phase-Variable -Numerator Realization

Obtain the state-space model for the transfer function:

  • Step 1: Subsystem Cascading
  • Step 2: State Variables Mapping Since the denominator polynomial is identical to Problem 1, the system matrix and input matrix remain completely unchanged:
  • Step 3: Output Equation Synthesis Converting to the time domain: Substituting the states , , and :
  • Step 4: Matrix Compilation

4. Hardware Realization Diagram

The Control Canonic Form mapped above directly dictates how an analog computer can be wired using integrators, summers, and potentiometers:

               +-----------------------------------------------------+
               |                                                     |
               v   -24                                               |
u(t) ---> ( + ) ---> [ 1/s ] ---> x_3 ---> [ 1/s ] ---> x_2 ---> [ 1/s ] ---> x_1
            ^          |                     |                      |
            |          v                     v                      v
            |         (x) 1                 (x) 7                  (x) 2
            |          |                     |                      |
            |          +------------------>( + )<--------------------+
            |                                |
            |                                v
            |                              y(t)
            |                                
            +---(x) -9 <---------------------+
            |                                |
            +---(x) -26 <--------------------+

[DIAGRAM: 3-Integrator canonic flow-graph realization of H(s) = (s^2 + 7s + 2)/(s^3 + 9s^2 + 26s + 24) showing nested feedback and feedforward summing nodes - source: Textbook Ch 2]


5. Common Mistakes That Cost Marks

Exam Pitfall: The Sign-Flip omission & Non-Monic Coefficients

  1. Denominator Sign-Flip Trap: When writing the last row of the state system matrix , students often copy the coefficients directly. Remember, they are shifted to the RHS of the state equation and must be negated: .
  2. Numerator Sign-Flip Mistake: Students sometimes also negate the coefficients of the output matrix . Do not do this! The numerator coefficients map directly to the matrix without any sign changes.
  3. Non-Monic Denominator Danger: If the coefficient of the highest power of in the denominator is not unity (e.g., ), you must divide the entire numerator and denominator by that factor (3) to make the polynomial monic before mapping the coefficients!

6. Potential / Grounded Exam Practice Bank

Verbatim Class & Homework Numericals

  1. Find the state variable description corresponding to the continuous system transfer function: Answer Plan: Cascade two blocks using buffer. State equations will yield with last row , , and output .
  2. Formulate the control canonic state-space representation for: Answer Plan: System order . Matrix , , .

7. Self-Check Before Moving On

  • Can you explain why numerator -dynamics prevent defining state variables directly as output derivatives?
  • Do you understand the mechanical step-by-step derivation of the intermediate variable split?
  • Can you write down the state matrices of any monic rational transfer function by inspection within 10 seconds?

Source: (k.Deergha Rao) signals and systems.pdf, Section 2.8; lecture slides on State-Space representations.