Certified stability of circuits through structured decouplings #
The modified nodal equations of a netlist as sparse rows, built in one pass over the branches
(Cslib.Electrical.Netlist.eSparse, fSparse), and the circuit-level stability theorem of
CslibFrontier.Languages.Electrical.LinearCircuit
(Cslib.Electrical.Netlist.isExponentiallyStable_of_decoupling) for an accepted structured
certificate (Cslib.LinearAlgebra.SparseDecouplingCert), whose check is sparse and much faster
than that of a dense Cslib.LinearAlgebra.DecouplingCert on circuits of more than a few nodes.
With the input data of a Cslib.LinearAlgebra.SparseRealizationCert and the sparse
equilibrium check Cslib.LinearAlgebra.isEquilibriumSparse, nothing dense is checked: the
checked proper realization ẋ = A x + B u, y - y₀ = C x + D u for selected probes and the
input ports (Cslib.Electrical.Netlist.sparseRealization) is the same statement as the dense
Cslib.Electrical.Netlist.isTrajectoryOn_iff_realization, and its response kernel gives the
zero-state response of the circuit (IsTrajectoryOn.probe_sub_eq_integral_sparse).
Main definitions #
Cslib.Electrical.Netlist.eSparse,fSparse,gSparse,probeSparse: sparse rows of the modified nodal equations and of the probes.Cslib.Electrical.Netlist.sparseRealization: the checked realization.
Main results #
Cslib.Electrical.Netlist.mna_E_eq,Cslib.Electrical.Netlist.mna_F_eq,Cslib.Electrical.Netlist.mna_G_eq: they are the rows of the modified nodal equations.Cslib.Electrical.Netlist.isExponentiallyStable_of_sparseCheck,Cslib.Electrical.Netlist.isExponentiallyStable_of_sparseChecksCslib.Electrical.Netlist.isTrajectoryOn_iff_sparseRealization,Cslib.Electrical.Netlist.IsTrajectoryOn.probe_sub_eq_sparse,Cslib.Electrical.Netlist.IsTrajectoryOn.probe_sub_eq_integral_sparse
Sparse rows of the modified nodal equations #
Certified exponential stability of a circuit, structured certificate. The conclusions
of isExponentiallyStable_of_decoupling for an accepted structured decoupling d, an exactly
checked equilibrium z₀ and the checked reduced matrix d.A; the differential coordinates
are the first d.k rows of d.Uᵢ.
Certified exponential stability of a circuit, fully sparse. The conclusions of
isExponentiallyStable_of_sparseCheck, with the equilibrium checked against the sparse rows
of F (isEquilibriumSparse) instead of the dense rows.
Checked realizations through structured decouplings #
The input matrix of the modified nodal equations from its sparse rows.
The checked realization of a circuit through a structured decoupling d with input data
e, for the probes probes and the input ports of the circuit:
ẋ = A x + B u, y = C x + D u with A = d.A, B = e.B, C = H Q₁ and D = -H Q₂ P₂ G
computed from sparse rows (SparseRealizationCert.outputRows, feedthroughRows).
Checked proper realization, structured certificate. Let the netlist be well formed, d
an accepted structured decoupling, e accepted input data for it and z₀ a checked
equilibrium. On a time set with unique derivatives and for every input signal u, (φ, i) is
a circuit trajectory exactly when
z = (φ, i)is reconstructed from the statex = Uᵢ₁ (z - z₀)(the firstd.krows ofd.Uᵢ) and the input:z = z₀ + Q₁ x - (Q₂ P₂ G) u, with the sparse rowsd.stateRowsofQ₁ande.inputRows dofQ₂ P₂ G, andxsolvesẋ = A x + B uofc.sparseRealization d e probes.
The probed outputs then satisfy y - y₀ = C x + D u (IsTrajectoryOn.probe_sub_eq_sparse).
Output equation, structured certificate. Along a circuit trajectory, the probed outputs
differ from their values at the operating point by C x + D u, where x = Uᵢ₁ (z - z₀) is the
state of c.sparseRealization d e probes.
Zero-state response of a circuit, structured certificate. For an input u continuous on
[0, ∞) and a circuit trajectory on [0, ∞) that starts at the operating point state
(x 0 = Uᵢ₁ (z 0 - z₀) = 0), the probed outputs are, for t ≥ 0,
y t - y₀ = D u t + ∫ s in 0..t, h (t - s) u s,
with the response kernel h t = C exp (t A) B (LTISystem.responseKernel) and the direct
feedthrough D of c.sparseRealization d e probes.