Chapter 8 · 4 hours
State Space Analysis
IOE past exam questions
Past questions and answers
29 questions set from this chapter, 5 of them more than once. Most asked first.
- Asked 3 times
- 2080 Baisakh · 8 marks
- 2073 Shrawan · 8 marks
- 2081 Bhadra · 5+1 marks
The system equations are given by ẋ(t) = [0 1; −5 −6]x(t) + [0; 1]u(t) and y(t) = [1 0]x(t). Find transfer function of the system and also check stability.
Answer
For a state model , , the transfer function is
Here
Step 1: and its determinant
Step 2: Inverse
Step 3: Transfer function
Step 4: Stability
Characteristic equation: , so the eigenvalues of (poles) are
Both are real and negative (in the left half of the s-plane), so the system is stable. It is overdamped: comparing with , rad/s and . Its unit step response settles to without oscillation.
Answer: ; poles at and , so the system is stable.
- Asked 2 times
- 2081 Baisakh · 4 marks
- 2070 Chaitra · 4 marks
Obtain characteristic equation for the system having given state model. [ẋ1; ẋ2] = [−5 −1; 3 −1][x1; x2] + [2; 5]u and Y = [1 2][x1; x2]
Answer
The characteristic equation of a state model is ; its roots are the eigenvalues of , which are the poles of the system.
Step 1: Form
Step 2: Determinant
Characteristic equation:
Roots (eigenvalues): and . Both are in the left half of the s-plane, so the system is stable. Note that and do not affect the characteristic equation.
Check through the transfer function
, so
The denominator of the transfer function is the same characteristic polynomial, .
Answer: , roots and .
- Asked 2 times
- 2078 Bhadra · 6+2 marks
- 2071 Shrawan · 8 marks
For given state equation and output equation, find transfer function Y(s)/U(s). Ẋ = [0 1 0; 0 0 1; −1 −2 −3]X + [10; 0; 0]u and y = [1 0 0]X
Answer
For , :
Step 1: and its determinant
Step 2: Required part of the adjoint
Because has only its first element non-zero and picks only the first row, only the (1,1) element of the adjoint is needed:
Full first column of the adjoint: , so
Step 3: Transfer function
Stability check
Routh array for :
| Row | ||
|---|---|---|
| 1 | 2 | |
| 3 | 1 | |
| 0 | ||
| 1 |
No sign change, so the system is stable. The poles are and ; the zeros are and .
Answer: .
- Asked 2 times
- 2078 Kartik · 5 marks
- 2068 Baisakh (old course) · 8 marks
Write the state space equation for the electrical network shown below. Take voltage across 2F capacitor as output. [Figure: source Vs – series 1 Ω – node A; 1 F capacitor from node A to ground; node A – series 1 H inductor – node B; 1 Ω resistor and 2 F capacitor each from node B to ground; Vo across the 2 F capacitor]
Answer
Choose the energy-storing elements' variables as states: capacitor voltages and inductor current.
- : voltage across the 1 F capacitor (node A)
- : current in the 1 H inductor (from A to B)
- : voltage across the 2 F capacitor (node B)
Vs 1 ohm A 1 H B
(+)-/\/\/--+--UUUU--+------+---o Vo
| | iL | |
| === 1F 1 ohm === 2F
| | | |
(-)--------+--------+------+---o
KCL at node A
Current from the source through 1 Ω :
KVL around the inductor
KCL at node B
State and output equations
Check: from this model , the same as found directly by nodal analysis with impedances ( for 1 F, for 1 H, for 2 F).
- Asked 2 times
- 2075 Asoj · 8 marks
- 2079 Bhadra · 8 marks
A system is characterized by the equation Y(s)/U(s) = 20(4s+2)/(s³ + 5s² + 8s + 2). Find its state and output equation and express in matrix form. Then using your matrix, how do you get characteristic equation?
Answer
Since the numerator has terms, use the phase-variable (controllable canonical) form with an intermediate variable .
Step 1: Split the transfer function
So and .
Step 2: Choose state variables
, , :
Step 3: Matrix form
Step 4: Characteristic equation from the matrix
The characteristic equation is :
This equals the denominator of the transfer function, as it must. Its roots (eigenvalues of ) are and , all in the left half-plane, so the system is stable.
Answer: , , ; characteristic equation .
- 2082 Baisakh · 5+1 marks
Determine transfer function for the system whose state space representation is given by: [ẋ1; ẋ2] = [0 −1; −2 −3][x1; x2] + [1; 2]u, y = [1 0][x1; x2]. Also comment on the stability of the system.
Answer
For , :
Step 1: and determinant
Step 2: Inverse
Step 3: Transfer function
Stability
Characteristic equation :
One pole lies in the right half of the s-plane (). Also the coefficients of the characteristic polynomial do not all have the same sign, which already fails the necessary condition for stability. So the system is unstable; its response contains a growing term .
Answer: ; unstable.
- 2081 Bhadra · 6+2 marks
Determine transfer function from the given state space model and check stability of the system. [ẋ1; ẋ2] = [1 0; 1 1][x1; x2] + [1; 1]u, y = [1 1][x1; x2]
Answer
For , :
Step 1: and determinant
Step 2: Inverse
Step 3: Transfer function
Stability
Characteristic equation: , so there is a repeated pole at in the right half of the s-plane (also visible because is lower triangular with diagonal entries 1, 1).
The impulse response contains terms and , which grow without bound. The system is unstable.
Answer: ; poles at , zero at ; unstable.
- 2080 Bhadra · 4 marks
Obtain state space model of the following mechanical system. [Figure: mass M (displacement x, on rollers) with applied force F(t), connected to the left wall by spring K and to the right wall by damper B]
Answer
The mass is pulled by , held back by the spring (left wall) and the damper (right wall). Both oppose the motion.
Differential equation
Newton's law (free-body diagram of ):
State variables
Displacement and velocity of the mass (energy in the spring and the mass):
State-space model
Taking the displacement as the output:
(If velocity is wanted as output, use .) The corresponding transfer function is .
- 2079 Bhadra · 6 marks
Find state space model of given circuit. Consider Vo as output. [Figure: input Vi; series R1 to node V2; capacitor C1 from V2 to ground; series R2 from V2 to the output node; capacitor C2 from output node to ground; Vo across C2; mesh currents i1(t) and i2(t)]
Answer
Take the capacitor voltages as state variables:
Vi R1 v2 R2 Vo
o--/\/\/--+--/\/\/--+----o
i1 -> | i2 -> |
=== C1 === C2
| |
o---------+---------+----o
Circuit equations
Mesh currents: through , through .
KCL at node (current in is ):
KCL at the output node (current in is ):
State equations
Matrix form
This gives , the known result for a two-stage RC ladder.
- 2076 Chaitra · 4 marks
Obtain the transfer function from the following system equations given by [ẋ1; ẋ2] = [0 1; −K/M −B/M][x1; x2] + [0; 1/M]u, y = [1 0][x1; x2].
Answer
with
(The input matrix is written to avoid confusion with the damping coefficient .)
Step 1: and determinant
Step 2: Inverse
Step 3: Transfer function
This is the transfer function of the mass–spring–damper system , with and .
Answer: .
- 2076 Asoj · 8 marks
Consider a mechanical system shown in figure below. The external force u(t) is input to the system and displacement y(t) of the mass is the output. Obtain the state space representation of the system. [Figure: vertical system; mass M1 hangs from a fixed support through spring K, with external force u(t) applied to M1; mass M2 hangs below M1 through damper B; y(t) is the downward displacement of M2; a fixed surface is drawn below M2]
Answer
Let be the downward displacement of and that of , both measured from the static equilibrium position, so gravity and the static spring force cancel and do not appear.
////////// support
|
K (spring)
|
+-------+
| M1 | <-- u(t), y1
+-------+
|
B (damper)
|
+-------+
| M2 | y(t) = y2
+-------+
Equations of motion
For : spring force and damper force oppose its motion:
For : only the damper acts on it:
State variables
State-space representation
itself is needed as a state only because it is the output; the dynamics depend on , and .
- 2075 Chaitra · 6 marks
Develop state space model for circuit below. [Figure: two-source circuit; source V1 on the left and V2 on the right; top branch: V1(+) – 2 Ω – node A – 1 H – V2(+); bottom branch: V1(−) – 2 H – node B – 3 Ω – V2(−); 2 F capacitor connected between node A and node B]
Answer
Choose the inductor currents and the capacitor voltage as states. The left loop current flows through 2 Ω and 2 H (in series); the right loop current flows through 1 H and 3 Ω (in series); the capacitor carries the difference.
- : current in the 2 H inductor (left loop, clockwise)
- : current in the 1 H inductor (right loop, from A towards )
- : voltage on the 2 F capacitor
2 ohm A 1 H
+--/\/\/--+---UUUU---+
| i1 -> | i2 -> |
(V1) === 2F (V2)
| | |
+--UUUU---+--/\/\/---+
2 H B 3 ohm
Left loop (KVL)
Right loop (KVL)
From A through 1 H, and 3 Ω back to B:
Capacitor (KCL at A)
State model
Output: no output is marked, so the capacitor voltage is taken as output:
(For the current in as output, use .)
- 2074 Chaitra · 6 marks
Write the state equation for the circuit shown below. Also write output equation. [Figure: source V1 on the left in series with 1 Ω and 2 H inductor to node A; 2 F capacitor from node A to the bottom (common) line; node A through 1 H inductor and 2 Ω resistor to source V2 on the right; both sources return to the common bottom line]
Answer
Take the two inductor currents and the capacitor voltage as states (assumed directions shown):
- : current in the 2 H inductor, from towards node A
- : current in the 1 H inductor, from node A towards
- : voltage on the 2 F capacitor (node A to common line)
1 ohm 2 H A 1 H 2 ohm
+-/\/\/-UUUU----+---UUUU-/\/\/-+
| i1 -> | i2 -> |
(V1) === 2F (V2)
| | |
+---------------+--------------+
Left loop (KVL)
Right loop (KVL)
KCL at node A
State equation
Output equation
No output is marked in the figure, so the capacitor voltage (node A voltage) is taken as the output:
If, for example, the voltage across the 2 Ω resistor is the output, then , i.e. .
- 2074 Asoj · 8 marks
Given state equation and output equation, find transfer function Y(s)/U(s) and determine the poles and zeros. Ẋ = [0 1 0; −1 −1 0; 1 0 0]X + [0; 1; 0]u and y = [0 0 1]X
Answer
For , :
Step 1: and determinant
Expanding along the third column:
Step 2: Needed adjoint elements
picks row 3 and picks column 2, so only is needed. It is the cofactor of element (2,3):
(The full column .)
Step 3: Transfer function
Poles and zeros
- Poles: :
- Zeros: the numerator is a constant, so there are no finite zeros (three zeros at infinity).
The pole at the origin makes the system marginally stable (type 1); the complex pair has rad/s and .
Answer: ; poles ; no finite zeros.
- 2073 Shrawan · 6 marks
The differential equations related to a system are dx1/dt = −3x1 + x2 and dx2/dt = −2x1 + u for t > 0. Its output equation is given by y = x1. Derive the transfer function of the system with these differential equations and output equation.
Answer
Step 1: Write the state model
Step 2: Transfer function
Check by direct Laplace transform (zero initial conditions)
Poles at : the system is stable and overdamped.
Answer: .
- 2072 Chaitra · 6 marks
Develop state space equations for the following circuit considering voltage of 2H inductor as output. I is input to the system. [Figure: current source I in parallel with a 1 H inductor, a 1 F capacitor, and a branch of 1.5 Ω resistor in series with a 2 H inductor]
Answer
All branches are in parallel across the current source, so they share one voltage (the capacitor voltage).
State variables:
- : current in the 1 H inductor
- : voltage across the 1 F capacitor
- : current in the 1.5 Ω – 2 H branch
+------+------+--------+
| | | |
(I)^ 1H === 1F 1.5 ohm
| |i1 | |
| | | 2H i2
| | | |
+------+------+--------+
Equations
1 H inductor:
KCL at the top node:
R–L branch:
State equation
Output equation
Voltage across the 2 H inductor:
Check: this model gives , the same as the impedance method.
- 2071 Chaitra · 4 marks
For a system given by d/dt [x1; x2] = [−5 −6; 1 0][x1; x2] + [1; 0]u; y = [1 2][x1; x2], determine the zeros and the poles of the system.
Answer
Find the transfer function ; its denominator roots are the poles and numerator roots are the zeros.
Step 1
Step 2
Poles and zeros
- Poles (eigenvalues of ): and
- Zero:
The zero at cancels the pole at , so the input–output transfer function reduces to . The mode exists inside the system but does not appear at the output: the system is controllable () but not observable (). Both poles are in the left half-plane, so the system is stable.
- 2071 Chaitra · 5 marks
Develop state equation for motor circuit below. [Figure: DC motor; armature circuit with supply Ea, resistance Ra, inductance La, armature current Ia and back emf Eb; separate field circuit with supply ef, resistance Rf, inductance Lf and field current If; motor torque Tm, speed ωm, angle θm; load inertia Jm and friction Bm]
Answer
Take the currents in the two inductances and the mechanical speed and angle as state variables:
Basic equations
- Armature circuit:
- Field circuit:
- Back emf: (with field flux)
- Motor torque: (with field flux)
- Load: , and
Strictly, flux is proportional to , so and , which are non-linear. For a linear model the field flux is taken as constant at its operating value (armature control), so and are constants.
State equations
Matrix form
Output (shaft position): (or for speed).
With constant field the armature-controlled motor uses only , , , giving .
- 2069 Chaitra · 8 marks
A system has the transfer function Y(s)/U(s) = 2/(s³ + 6s² + 11s + 6). Find the state and output equation in matrix form and test the controllability and observability of the system.
Answer
State model (phase-variable form)
Split the transfer function with an intermediate variable :
So and . Choose , , :
Controllability (Kalman test)
:
Rank , so the system is completely state controllable.
Observability
:
Rank , so the system is completely observable.
This agrees with the transfer function: and the numerator is a constant, so there is no pole–zero cancellation.
Answer: the system is both controllable and observable.
- 2068 Chaitra · 8 marks
Determine TF for the system whose state space representation is given by: [ẋ1; ẋ2] = [0 −1; −2 −3][x1; x2] + [1; 2]u, y = [1 0][x1; x2].
Answer
For , :
Step 1:
Step 2: Determinant and adjoint
Step 3: Multiply by and
Step 4: Transfer function
- Zero:
- Poles: and
The pole at lies in the right half-plane, so this system is unstable.
Answer: .
- 2067 Asar (old course) · 8 marks
Represent the mechanical system of figure 1 (wall – spring K1 – mass M1 – spring K2 – mass M2 with force F(t) on M2, no friction) with state equation and output equation, if output is x2(t) in the figure.
Answer
Let and be the displacements of and from their rest positions (positive to the right).
| K1 +----+ K2 +----+
|--/\/\/---| M1 |--/\/\/--| M2 |--> F(t)
| +----+ +----+
| x1 -> x2 ->
Equations of motion (no friction)
Mass : spring pulls back by ; spring by :
Mass :
State variables
, , , :
State equation
Output equation
With no damping the eigenvalues of lie on the imaginary axis, so the system oscillates without decay (marginally stable).
- 2066 Jestha (old course) · 10 marks
Discuss the advantages and limitations of state-space analysis of control systems. Find the transfer function for the system represented by following state-space model: [ẋ1; ẋ2] = [−4 −1; 10 0][x1; x2] + [1; 0]u, y = [1 0][x1; x2]. Also evaluate the stability of this system.
Answer
Advantages of state-space analysis
- Applies to MIMO (multi-input multi-output) systems as easily as to single-input single-output systems.
- Can handle non-linear and time-varying systems; the transfer function needs linear time-invariant systems.
- Includes initial conditions; the transfer function assumes zero initial conditions.
- Gives the internal behaviour (all state variables), not only the input–output relation.
- Allows tests of controllability and observability, and hidden (cancelled) modes are not lost.
- Suited to computer solution and simulation, since it uses first-order matrix equations.
- Forms the basis of modern and optimal control design: state feedback (pole placement), observers, Kalman filter.
Limitations
- Needs more computation (matrix algebra, first-order equations); physical insight is less direct than with a transfer function or Bode plot.
- The choice of state variables is not unique, so different models describe the same system.
- State variables may not all be measurable; an observer may be needed for state feedback.
- Classical specifications (gain margin, phase margin, bandwidth) are not read directly.
Transfer function
Stability
Characteristic equation :
Both poles have negative real parts, so the system is stable (underdamped: rad/s, ). There is a zero at .
- 2065 Shrawan (old course) · 8 marks
Discuss the advantages of state space representation. Find the state equation and output equation of state space form for the system represented by transfer function G(s) = (2s² + 3s + 1)/(s³ + 5s² + 6s + 7).
Answer
Advantages of state-space analysis
- Applies to MIMO (multi-input multi-output) systems as easily as to single-input single-output systems.
- Can handle non-linear and time-varying systems; the transfer function needs linear time-invariant systems.
- Includes initial conditions; the transfer function assumes zero initial conditions.
- Gives the internal behaviour (all state variables), not only the input–output relation.
- Allows tests of controllability and observability, and hidden (cancelled) modes are not lost.
- Suited to computer solution and simulation, since it uses first-order matrix equations.
- Forms the basis of modern and optimal control design: state feedback (pole placement), observers, Kalman filter.
State model of
Use the controllable canonical (phase-variable) form. Let
So and .
Choose , , :
State equation:
Output equation:
The last row of holds the negated denominator coefficients (7, 6, 5) and holds the numerator coefficients in ascending powers (1, 3, 2). Check: .
- 2081 Baisakh · 8 marks
A system is described by the transfer function Y(s)/U(s) = 10(s² + 2s)/(s³ + 5s² + 8s + 15). Find its state and output equation in matrix form.
Answer
A state model can be written directly from the transfer function in phase variable (controllable canonical) form. The denominator gives the system matrix and the numerator gives the output matrix.
Given transfer function
The numerator order (2) is less than the denominator order (3), so there is no direct term ().
Step 1: Introduce an intermediate variable
Let
So
Step 2: Choose state variables
Then
Step 3: Output equation
State and output equations in matrix form
So
Block diagram of the realization
u -->(+)--> 1/s --x3--> 1/s --x2--> 1/s --x1
^ -5x3 -8x2 -15x1 (fed back)
y = 20*x2 + 10*x3
Check
Using , the last column of is with . Hence
which is the given transfer function.
Answer: , with , , as above (phase variable form). The state model is not unique; other forms (observable canonical, Jordan) give the same transfer function.
- 2080 Bhadra · 8 marks
The differential equations related to the system are dx1/dt = −3x1 + x2 and dx2/dt = −2x1 + u for t > 0. Its output is given by y = x2. Derive the transfer function of the system with these differential equations and check stability.
Answer
The transfer function of a state model is , and the system is stable if all roots of (the eigenvalues of ) lie in the left half of the s-plane.
Step 1: Write the state model
Step 2: Find and its determinant
Step 3: Inverse
Step 4: Transfer function
Transfer function:
Cross-check by Laplace transform
With zero initial conditions: gives . Then , so
Same result.
Step 5: Stability check
Characteristic equation:
| Item | Value |
|---|---|
| Eigenvalues (poles) | , |
| Zero | |
| Location of poles | Left half s-plane |
| Damping | Overdamped (real, distinct poles) |
Routh array for : first column , all positive, no sign change.
Answer: . Both poles ( and ) are real and negative, so the system is stable (asymptotically stable, overdamped response).
- 2080 Baisakh · 8 marks
Obtain a state-space representation of the mechanical system shown in the figure where external force F is the input and the displacements of the masses x1 and x2 are the outputs. [Figure: wall – spring k2 parallel with damper b2 – mass m2 (displacement x2, on rollers) – spring k1 parallel with damper b1 – mass m1 (displacement x1, on rollers, force F applied)]
Answer
A state-space model is obtained by writing Newton's second law for each mass and choosing the displacements and velocities as state variables (one pair per mass, so 4 states).
System and assumptions
wall |--[k2 || b2]--[ m2 ]--[k1 || b1]--[ m1 ]--> F
x2 -> x1 ->
- Masses run on rollers, so there is no friction with the ground.
- , are measured from equilibrium, positive to the right.
- , connect and ; , connect to the wall.
Equations of motion
Free body of (force , spring and damper , resisting relative motion):
Free body of (pulled by , ; held back by , ):
Choice of state variables
State equations
Matrix form
Output equation
The outputs are the two displacements and :
Summary
| Matrix | Size | Meaning |
|---|---|---|
| Masses, springs, dampers | ||
| Force acts on only | ||
| Picks and | ||
| Zero (no direct path) |
Answer: , with , , as above and . Physical check: in the static case (), the equations give and , i.e. the two springs carry the same force in series, as expected.
- 2078 Bhadra · 8 marks
A system is described by the following equations: ẋ(t) = [−1 1; 0 −2]x(t) + [1 0 1; 0 1 1]u(t), y(t) = [1 2; 1 0; 1 1]x(t). Find the transfer function of the system and identify if the system is stable.
Answer
For a multi-input multi-output (MIMO) system the transfer function is a transfer matrix . Here there are 3 inputs and 3 outputs, so is .
Given
Step 1:
Step 2:
Step 3: Multiply by
Row by row (common factor ):
- Row 1, :
- Row 2, :
- Row 3, :
So
After cancelling common factors:
Here with the other inputs set to zero.
Step 4: Stability
Characteristic equation:
Since is upper triangular, its eigenvalues are simply the diagonal entries and .
| Check | Result |
|---|---|
| Eigenvalues of | , |
| Real parts | Both negative |
| Poles of every | Subset of |
| Routh array () | No sign change |
Answer: The transfer matrix is as given above. All eigenvalues of lie in the left half s-plane, so the system is asymptotically stable (and also BIBO stable).
- 2078 Kartik · 6 marks
Find state space representation of the system. [Figure: voltage source Vi in series with 4 Ω to node Vc1; 0.25 F capacitor from Vc1 to ground; 2 H inductor (current iL) from Vc1 to node Vc2; 0.5 F capacitor (voltage Vo) from Vc2 to ground; 1 Ω resistor from Vc2 to ground; current source is injecting into node Vc2 from ground]
Answer
For an electric circuit the natural state variables are the capacitor voltages and inductor currents, since they describe the stored energy. Here the states are , and ; the inputs are and .
Circuit
Vi --[4 ohm]--+--[2 H, iL ->]--+-------+
| | |
0.25 F 0.5 F 1 ohm Is (up into
| | | node Vc2)
GND ----------+----------------+-------+
State variables and inputs
KCL at node
Current in through 4 Ω = capacitor current + inductor current:
KVL around the inductor
KCL at node
Inductor current + source current = capacitor current + resistor current:
State equation
Output equation
Check
- Characteristic equation: .
- . At DC this is , which matches the resistive divider .
- . At DC this is , which matches .
Answer: , with , , , . (If the current source points the other way, the sign of the column in changes.)
- 2076 Chaitra · 2+6 marks
Discuss the advantages and limitations of state space analysis of control systems. Find the transfer function for the system represented by following state space model: ẋ = [−3 1; −2 0]x + [0; 1]u, y = [1 0]x.
Answer
Advantages of state space analysis
State space analysis describes a system by a set of first-order differential equations in terms of state variables, , .
- Works for MIMO systems as easily as for single-input single-output systems.
- Applies to non-linear and time-varying systems; the transfer function method does not.
- Takes non-zero initial conditions into account.
- Gives the internal behaviour (all states), not only the input-output relation; controllability and observability can be tested.
- Suited to computer solution and to modern design methods (pole placement, optimal control, observers).
- Works in the time domain directly.
Limitations
- Needs more mathematics (matrices, eigenvalues); less physical insight for simple systems.
- The state model is not unique: different choices of states give different , , .
- Frequency-domain specifications (gain margin, phase margin, bandwidth) are not seen directly.
- Some states may not be measurable, so observers are needed for feedback.
Transfer function of the given model
Step 1:
Step 2:
Step 3:
Answer:
The poles are at and , so the system is stable and overdamped.
Questions from Old Question Collection (EE 602) (IOE Control System exam papers (EE 602 and older course), 2065 to 2082) and Old Question Collection (BEI, EE 504) (IOE BEI Control System (EE 504) exam papers, 2076 to 2081). Answers are written for this site; check them against your class notes.
Chapter titles and hours from the IOE syllabus ↗