University of Leeds · FACULTY OF ELECTRICAL ENGINEERING

ELEC5570M Chap.5 State-Space Models

- one subject, every graph, every model, every mark
6 Chapters4-page Bible
Our own words - no uploaded lecturer files
Updated for this semester
Chapter 5 of 6 · ELEC5570M

State-Space Models

State-Space Models arrange dynamic systems as first-order equations. The state vector contains variables that determine future behaviour with the future input. For n states, p inputs and m outputs, A is n by n, B is n by p, C is m by n and D is m by p. The output equation selects measured state combinations and may include direct transmission.

State-space representation retains internal variables and supports multiple inputs and outputs, while the transfer function recovered from C(sI-A) inverse B plus D describes zero-state external behaviour.

In this chapter

What this chapter covers

  • 01

    State selection

  • 02

    First-order equations

  • 03

    Matrix dimensions

  • 04

    Output equations

  • 05

    Transfer-function recovery

  • 06

    State feedback

Worked example · free

Build a two-state mechanical model

Q [8 marks]. For 5 f double dot plus 3 f dot equals 2u and y=f, choose states and form A, B, C and D.
The central block evolves the internal state from the input, while the output equation selects measured combinations and may include direct input transmission.The central block evolves the internal state from the input, while the output equation selects measured combinations and may include direct input transmission.state dynamicsx-dot = Ax + Buy = Cx + Duinput uoutput yinternal state x
The central block evolves the internal state from the input, while the output equation selects measured combinations and may include direct input transmission.
  • 2Choose x1=f and x2=df/dt.
  • 2Write x1 dot=x2 and x2 dot=-0.6x2+0.4u.
  • 2Assemble A=[[0,1],[0,-0.6]] and B=[[0],[0.4]].
  • 2Use C=[1,0] and D=0 for position output.
The stated A, B, C and D reproduce the original differential equation and position output. The practice weighting is not official.
Sia tip — Write the state order beside every matrix before substituting values.
Glossary

Key terms

State vector
The ordered set of variables used to describe internal dynamic memory.
Output matrix
The matrix that maps state variables into measured outputs.
Direct transmission
An immediate input contribution to output represented by D.
FAQ

State-Space Models FAQ

Is state selection unique?

No. Invertible coordinate changes can describe the same dynamics. Choose states that make physical interpretation or design convenient and record their order explicitly. Keep that ordering consistent in every matrix and feedback vector.

How do I check matrix dimensions?

A must map an n-state vector to n state rates; B maps p inputs to n rates; C maps n states to m outputs; D maps p inputs directly to m outputs.

What changes under state feedback?

For u=r-Kx, the state matrix becomes A-BK and the reference enters through B. Closed-loop modes are eigenvalues of A-BK. The output matrices do not determine those internal mode locations.

How do I choose states from a higher-order equation?

Choose variables that convert the equation into coupled first-order relations. For a second-order displacement model, position and velocity are a natural pair because the derivative of position is velocity and the acceleration equation supplies the second state derivative. Declare the order explicitly before collecting coefficients.

Other invertible choices may be valid, but mixing orders halfway through changes rows, columns and feedback gains even though the physical system has not changed.

Why is the D matrix often zero but not always?

D represents an instantaneous algebraic path from input to output that bypasses the state dynamics. Many physical plants store or dissipate energy before the measured output changes, giving no direct term. Yet an output definition, sensor relation or algebraic component can create direct transmission.

Determine D from the output equation rather than assuming it vanishes, and check whether the resulting model remains physically proper for the variables and idealisations being used.

How can I recover a transfer function from a state model?

With zero initial conditions, solve the transformed state equation to obtain X(s)=(sI-A)^{-1}BU(s), then substitute it into the output relation. The resulting ratio is C(sI-A)^{-1}B+D. Check matrix dimensions before expanding the inverse and compare the denominator with the characteristic dynamics.

Agreement with an independently derived transfer function is a powerful audit of state ordering, input scaling and output selection.

What stays unchanged when only the measured output changes?

If the physical states and input dynamics are unchanged, A and B remain the same. The C row changes to select or combine the newly measured quantity, and D changes only if the new output has a direct input contribution. Consequently, two sensors on the same plant can produce different transfer-function numerators while sharing the same internal poles.

This distinction prevents an output-definition change from being mistaken for a change in plant dynamics.

Why distinguish eigenvalues from individual matrix entries?

The natural modes belong to the matrix A as a whole and are found from its characteristic equation, not by reading its diagonal unless the matrix has a special triangular form. Coupling terms can move the eigenvalues even when every diagonal entry appears negative. Under state feedback the relevant matrix becomes A-BK.

Compute or reason about its eigenvalues explicitly, then connect those locations with decay, oscillation and stability just as for transfer-function poles.

Study strategy

Exam move

Begin with the differential equation and choose states that lower every relation to first order. Write each state derivative on its own line, then collect coefficients into A and B in the declared state order. Build C from the requested output rather than copying it from another problem, and justify whether D is zero. Check dimensions before performing any inverse.

Recover the original differential equation by eliminating states and recover the transfer function through C(sI-A) inverse B plus D as independent checks. Practise changing only the output from position to velocity and observe that C changes while A and B do not. Then substitute state feedback and identify A-BK without losing the reference path. Keep the output matrix C distinct from the phrase characteristic equation.

Review mistakes under state order, transposed vector, missing input scale, wrong output selection and unexamined direct transmission.

Working through State-Space Models in ELEC5570M? Sia is AskSia’s AI Electrical Engineering tutor — ask any ELEC5570M State-Space Models question and get a clear, step-by-step explanation grounded in how ELEC5570M is taught and assessed. Read this chapter free, then take your hardest questions to Sia.

A+Everything unlocked
Unlocks this Bible + all 8 of your subjects at University of Leeds, plus 1,000+ more Bibles across the AskSia library.
Sia - your ELEC5570M tutor, unlimited, worked the way the exam marks it
The full 4-page Bible + practice bank with worked solutions
Chrome extension - sync your LMS so Sia knows your deadlines
Bilingual EN / Chinese on every Bible and every Sia answer
$0.99 Trial
30-day money-back · cancel in one tap · how it works