Linear descriptor systems and their index-one decoupling #
A descriptor system (differential-algebraic equation) E ż = F z + G u + b has square real
matrices E and F over an index type ι of unknowns, an input matrix G and a constant term
b. Nothing is assumed about E: it is singular for every electrical circuit with a resistor
or a source, and the rows it annihilates are algebraic constraints. A solution on a time set s
is a curve z such that E z (not necessarily z) has derivative F z + G u + b within s
(DescriptorSystem.IsSolutionOn). An algebraic component of z therefore needs no
differentiability, and follows the input u instantaneously.
Index-one decoupling #
DescriptorSystem.IndexOneDecoupling S κ ρ consists of matrices P = [P₁; P₂] (row operations)
and Q = [Q₁ Q₂] (a change of unknowns z = Q₁ x + Q₂ y) bringing the pencil into the form
P E Q = [[1, 0], [0, 0]], P F Q = [[A, 0], [0, 1]],
with P left invertible (P₁' P₁ + P₂' P₂ = 1) and Q invertible (Q₁ Q₁' + Q₂ Q₂' = 1,
Q₁' Q₁ = 1, Q₁' Q₂ = 0). This is the Weierstrass form of a pencil with a zero nilpotent part,
i.e. of index at most one. Then S decouples into the ODE ẋ = A x + B u + c on the
differential coordinates x = Q₁' z, with B = P₁ G and c = P₁ b, and the algebraic
equation y = -P₂ (G u + b), which has a unique solution for every input value. Every quantity
is recovered: z = Q₁ x - Q₂ P₂ (G u + b) (IndexOneDecoupling.reconstruct). Nothing is
discarded; the theorems below are an exact correspondence between solutions of S and of the
ODE, with existence and uniqueness for every consistent initial state.
The decoupling is data, so an untrusted tool can find it and a checker can verify its identities
exactly (Cslib.LinearAlgebra.DecouplingCert). A system that has no decoupling of this form, for
example one of higher index, whose solutions depend on derivatives of the input, or one whose
algebraic part is singular, is outside the supported class; no claim is made about it.
Stability #
DescriptorSystem.IsExponentiallyStableAt S z₀ says that all solutions with zero input converge
to z₀ exponentially, uniformly, in the Euclidean norm of the full vector of unknowns. On its own
this would hold vacuously for an inconsistent model without solutions, so the theorems that prove
it also give the constant solution z₀ (IsEquilibrium.isSolutionOn) and a solution through
every consistent initial state (IndexOneDecoupling.exists_isSolutionOn_Ici_iff).
Main definitions #
DescriptorSystem ι m: the dataE,F,G,bofE ż = F z + G u + b.DescriptorSystem.IsSolutionOn,DescriptorSystem.IsEquilibrium,DescriptorSystem.deviation,DescriptorSystem.IsExponentiallyStableAt.DescriptorSystem.IndexOneDecoupling, with the reduced matricesA,B,c, the reconstructionreconstructand the realizationrealization Hfor an output mapH.DescriptorSystem.IndexOneDecoupling.ofPartitioned: a decoupling from squarePandQin partitioned form;DescriptorSystem.IndexOneDecoupling.ofSchur: a decoupling in Schur form, from invertible transformsT,UwithT E U = [[E₁₁, 0], [0, 0]], given onlyE₁₁, the blocks ofT F UandK = F₂₂⁻¹ F₂₁.
Main results #
DescriptorSystem.IsEquilibrium.isSolutionOn_iff: deviations from an equilibrium solve the system withb = 0.DescriptorSystem.IndexOneDecoupling.isSolutionOn_iff:zsolvesSexactly when it is reconstructed fromx = Q₁' zand the input, andxsolvesẋ = A x + B u + c.DescriptorSystem.IndexOneDecoupling.isSolutionOn_reconstruct: conversely every solution of the ODE yields a solution ofS.DescriptorSystem.IndexOneDecoupling.exists_isSolutionOn_Ici_iff: for continuous inputs, an initial statez₀starts a solution on[0, ∞)exactly when it satisfies the algebraic constraintz₀ = reconstruct (Q₁' z₀) (u 0).DescriptorSystem.IndexOneDecoupling.eqOn_of_isSolutionOn_Ici: uniqueness of solutions with a given input and initial state.DescriptorSystem.IndexOneDecoupling.isSolutionOn_iff_realization: after the equilibrium shift, solutions ofSare the solutions of the proper realizationẋ = A x + B u,y = (H Q₁) x - (H Q₂ P₂ G) uwith outputH (z - z₀).DescriptorSystem.IndexOneDecoupling.isExponentiallyStableAt: ifẋ = A xis exponentially stable, so is every equilibrium ofS.DescriptorSystem.IndexOneDecoupling.A_ofSchur,Q₁'_ofSchur: the state matrixE₁₁⁻¹ (F₁₁ - F₁₂ K)and the differential coordinates of the Schur-form decoupling.DescriptorSystem.IndexOneDecoupling.P₁_ofSchur,P₂_ofSchur,Q₁_ofSchur,Q₂_ofSchur: the blocksP₁ = E₁₁⁻¹ (T₁ - F₁₂ F₂₂⁻¹ T₂),P₂ = F₂₂⁻¹ T₂,Q₁ = U₁ - U₂ KandQ₂ = U₂of the Schur-form decoupling, whereT₁,T₂are the row blocks ofTandU₁,U₂the column blocks ofU.DescriptorSystem.IndexOneDecoupling.P₂_G_B_ofSchur: solutionsW,BofF₂₂ W = T₂ GandE₁₁ B = T₁ G - F₁₂ WareP₂ Gand the input matrixP₁ G, so these can be checked without invertingE₁₁orF₂₂.
z solves E ż = F z + G u + b on the time set s: at each t ∈ s, the curve E z has
derivative F z t + G u t + b within s. No differentiability of z itself is required.
The deviation system E ż = F z + G u, without the constant term.
z₀ is (globally, uniformly) exponentially stable: there are constants M and α > 0 such
that every solution with zero input on [0, ∞) satisfies
‖z t - z₀‖ ≤ M * exp (-(α * t)) * ‖z 0 - z₀‖ in the Euclidean norm. This alone is vacuous for a
system without solutions; see the module documentation.
An equilibrium is a constant solution with zero input.
Deviation dynamics. If z₀ is an equilibrium, z solves S exactly when z - z₀
solves the deviation system, with the same input.
An index-one decoupling of S: row operations P = [P₁; P₂] with left inverse
[P₁' P₂'] and a change of unknowns z = Q₁ x + Q₂ y with inverse [Q₁'; Q₂'], such that
P E Q = [[1, 0], [0, 0]] and P F Q = [[A, 0], [0, 1]] for some A. The differential
coordinates are indexed by κ, the algebraic ones by ρ.
Rows producing the differential equations.
Rows producing the algebraic equations.
Left inverse of
P, first block.Left inverse of
P, second block.Unknowns from the differential coordinates.
Unknowns from the algebraic coordinates.
Differential coordinates of the unknowns.
Algebraic coordinates of the unknowns.
The unknowns determined by the differential coordinates x and the input value v:
Q₁ x - Q₂ P₂ (G v + b).
The same decoupling, for the deviation system (it only involves E and F).
E factors through the differential coordinates: E = E Q₁ Q₁'. In particular E = 0
when there are no differential coordinates.
The differential coordinates of a reconstructed vector are the given ones.
Exact decoupling. On a time set with unique derivatives (such as [0, ∞)), z solves
E ż = F z + G u + b exactly when (i) at every time it is reconstructed from its differential
coordinates x = Q₁' z and the input value, and (ii) x solves ẋ = A x + B u + c.
Reconstruction. Every solution x of the reduced ODE ẋ = A x + B u + c on s yields
the solution t ↦ reconstruct (x t) (u t) of S, whose differential coordinates are x.
Existence and consistent initial states. For an input continuous on [0, ∞), an
initial state z₀ starts a solution of S on [0, ∞) exactly when it satisfies the algebraic
constraint z₀ = reconstruct (Q₁' z₀) (u 0). In particular every x₀ : κ → ℝ is the
differential part of a consistent initial state, reconstruct x₀ (u 0).
Uniqueness. Two solutions of S on [0, ∞) with the same input and the same initial
state agree at all times t ≥ 0. No regularity of the input is needed: the differential
coordinates of the two solutions differ by a solution of ẋ = A x starting at 0, and the
algebraic coordinates are determined by the differential ones and the input.
The proper realization of S with output H z, after the equilibrium shift:
ẋ = A x + B u, y = (H Q₁) x - (H Q₂ P₂ G) u.
Proper realization about an equilibrium. Let z₀ be an equilibrium and H an output
map. On a time set with unique derivatives, z solves S with input u exactly when
(i) z t = z₀ + Q₁ x t - Q₂ P₂ G u t with x = Q₁' (z - z₀), and (ii) x solves the state
equation of realization H with input u. Then the output deviation is
H (z t - z₀) = C x t + D u t (IndexOneDecoupling.output_eq). No derivative of u occurs.
The output deviation of a solution in the form of isSolutionOn_iff_realization (i).
Stability of the descriptor system from the reduced ODE. If ẋ = A x is exponentially
stable in the Euclidean norm, then every equilibrium z₀ of S is exponentially stable: all
solutions with zero input converge to z₀, with constants from those of A and the norms of
Q₁ and Q₁'. Solutions exist through every consistent initial state
(exists_isSolutionOn_Ici_iff), so this is not vacuous.
Decouplings from block transforms #
An index-one decoupling from square P and Q in partitioned form: P' P = 1, Q Q' = 1,
P E Q = [[1, 0], [0, 0]] and P F Q = [[A, 0], [0, 1]].
The state matrix of ofPartitioned is the block A of P F Q.
Decoupling in Schur form. Let T, U be invertible transforms of the rows and of the
unknowns with T E U = [[E₁₁, 0], [0, 0]] and T F U = [[F₁₁, F₁₂], [F₂₁, F₂₂]], where E₁₁
and F₂₂ are invertible, and let F₂₂ K = F₂₁. Then
P = [[E₁₁⁻¹, -E₁₁⁻¹ F₁₂ F₂₂⁻¹], [0, F₂₂⁻¹]] T and Q = U [[1, 0], [-K, 1]] decouple S, with
state matrix E₁₁⁻¹ (F₁₁ - F₁₂ K) (A_ofSchur).
The state matrix of the Schur-form decoupling.
The differential coordinates of the Schur-form decoupling are the first rows of Uᵢ.
The differential rows of P in the Schur-form decoupling.
The algebraic rows of P in the Schur-form decoupling.
The differential columns of Q in the Schur-form decoupling.
The algebraic columns of Q in the Schur-form decoupling.
Input maps of the Schur-form decoupling from solutions. If F₂₂ W = T₂ G and
E₁₁ B = T₁ G - F₁₂ W, then P₂ G = W and the input matrix P₁ G of the reduced system is
B.