Problemcore
Realization problem
Also called state-space realization problem.
Given a proper rational transfer matrix, find matrices A, B, C and D whose transfer matrix it is.
The realization problem asks, for a given transfer matrix , for a state-space model with . A solution exists exactly when is proper and rational, and then there are many, of many orders. This page is about the problem and its existence answer. The minimal realization theorem describes the solutions of least order. The Ho-Kalman algorithm computes one from exact Markov parameters, and the eigensystem realization algorithm computes an approximate one from noisy data with a truncated SVD.
In plain words
A transfer function says how a system answers its inputs, but not what goes on inside. A state-space model says both. The realization problem goes from the first description to the second: find a set of internal states and first order equations for them whose input to output behavior is the given one. This is possible exactly when the transfer function is a ratio of polynomials whose numerator degree is not larger than its denominator degree. Many models answer the question. The useful ones have as few states as possible, and all of those are the same model seen in different coordinates.
Definition
Input. A matrix whose entries are functions of the complex variable . Equivalently, for rational , the constant term and the Markov parameters in .
Output. An integer and real matrices , , , with , or a statement that none exists. In Markov parameter terms the conditions are for every .
Existence. A realization exists if and only if is proper rational: each entry is a ratio of real polynomials with the numerator degree at most the denominator degree.
Necessity. . The entries of the adjugate are polynomials of degree at most , and has degree . So each entry of is rational with a numerator of lower degree than the denominator, and adding the constant keeps it proper.
Sufficiency. Let be the monic least common denominator of the entries of . Then with and , where each is a real matrix. The block controllable form
of order is a realization. To check it, solve : the block rows give , and . The dual block observable form, with , and , has order . For these are the controllable canonical form and the observable canonical form.
Infinite sequences. A sequence of matrices is the sequence of Markov parameters of some finite realization if and only if its infinite block Hankel matrix, with blocks , has finite rank. That rank is then the minimal order.
Variants
- Minimal realization. Find a realization of least order. The answer is any realization that is controllable and observable, and its order is the McMillan degree of ; see minimal realization.
- Realization from data. The Markov parameters are measured, for example as samples of the impulse response of a discrete-time system, and contain noise. The exact problem is then ill posed, and the question becomes which low order model fits best. See the eigensystem realization algorithm and subspace identification.
- Partial realization. Only are given. Find a realization of least order whose first Markov parameters match. For scalar sequences this is the problem of the shortest linear recurrence that generates the sequence, which the Berlekamp-Massey algorithm solves, and it is close to Padé approximation at infinity. When the order is known to be at most , the parameters fix the transfer matrix.
- Discrete time. For the problem is the same with in place of , and the Markov parameters are the impulse response .
- Structured realizations. Some applications ask for more, for example matrices with nonnegative entries for positive systems. Such problems are harder, and for positive systems the least order can exceed the McMillan degree.
Examples
- A scalar function. has the realization , , , . It is minimal, because and have no common root.
- A row of two functions. , with and . Here and , so and . The block controllable form has order : , , . The block observable form has order : , , . To check the second one, and . The residues at and are and , each of rank 1, so the McMillan degree is 2, and the order 2 realization is minimal. The order 4 realization is controllable but not observable.
- From Markov parameters. , so . The Hankel matrix has rank 2, and the one has determinant , in agreement with the minimal order 2.
- Improper (non-example). , the transfer function of a differentiator, has no realization: tends to as , while does not stay bounded.
- Not rational (non-example). , a pure delay of one second, has no finite-dimensional realization, since every is rational. Rational approximations of the delay, such as Padé approximants, do have realizations.
Known algorithms
- Block companion forms. Write and read off the block controllable form (order ) or the block observable form (order ). Choose the smaller one. The result need not be minimal.
- Reduction to a minimal realization. Remove the uncontrollable and then the unobservable part by the Kalman decomposition. With staircase reductions by orthogonal transformations (Van Dooren 1981) this is numerically stable, and it costs of the order of operations for a realization of order when and are at most . The rank decisions need a tolerance.
- Gilbert's method. If with distinct poles, factor each residue as with columns in . Then , and give a minimal realization of order (Gilbert 1963). Complex conjugate poles give complex blocks, which a further change of coordinates turns into real blocks.
- Hankel factorization. Build the block Hankel matrix of the Markov parameters, factor it as by a rank factorization, and read , and from the factors and the shifted Hankel matrix. This is the Ho-Kalman algorithm for exact data. With a truncated singular value decomposition in place of an exact factorization it becomes the eigensystem realization algorithm for noisy data.
- Coprime fractions. Write with right coprime polynomial matrices and column reduced. A realization built from the column degrees of has order , which is the McMillan degree.
| Algorithm | Time | Space | Properties | Code |
|---|---|---|---|---|
| Eigensystem realization algorithm | O(N^3 m p (m + p)) worst | O(N^2 m p) extra | deterministicexactnot iterativeoffline | 1 language |
| Ho-Kalman algorithm | O(N^2 m n p + n^3) worst | O(N^2 m p) extra | deterministicexactoffline | 1 language |
Bounds
- Lower bound. Every realization has order at least the McMillan degree , and for large enough.
- Upper bound from the forms. , where is the degree of the least common denominator, by the two block companion forms. For a scalar in lowest terms, .
- Data needed. If is known, the Markov parameters determine , and the Hankel matrices and the shifted built from them are enough to compute a minimal realization.
- Cost. A block companion form needs only the coefficients of and , which come from a polynomial gcd computation and polynomial products, and its matrices have entries. Reducing it to a minimal realization costs more operations in the real-RAM model, with .
Reductions
- To Markov parameters. For rational , the Laurent expansion at turns the problem into one about the sequence , and the Hankel rank condition decides it.
- To controllability and observability. Any realization, however obtained, reduces to a minimal one by removing the parts that are not controllable or not observable, so the minimal problem reduces to the existence problem plus the Kalman decomposition.
- By transposition. realizes if and only if realizes . So a method for the case also solves the case .
- To linear recurrences. The scalar partial realization problem is the problem of the shortest linear recurrence for a finite sequence, the same problem that a linear feedback shift register synthesis algorithm solves over a finite field.
Applications
- Simulation: an ordinary differential equation solver needs a state model, not a transfer function.
- Design: the state-space methods, such as the LQR, pole placement and the Kalman filter, start from , while plant data often come as transfer functions or frequency responses.
- Implementation: a controller designed as a transfer matrix is run on a computer as a state recursion, and a minimal realization keeps the number of stored states small.
- Identification and model reduction: measured impulse responses are turned into state models by the Hankel based methods, and balanced truncation reduces them further.
References
- R. E. Kalman, Mathematical description of linear dynamical systems, SIAM Journal on Control 1(2), 152-192, 1963, the realization problem for transfer matrices and impulse responses, and the role of the controllable and observable part
- Elmer G. Gilbert, Controllability and observability in multivariable control systems, SIAM Journal on Control 1(2), 128-151, 1963, the minimal realization of a transfer matrix with simple poles from rank factorizations of its residues
- B. L. Ho and R. E. Kalman, Effective construction of linear state-variable models from input/output functions, Regelungstechnik 14, 545-548, 1966, the construction of a minimal realization from the Hankel matrix of the Markov parameters
- Paul Van Dooren, The generalized eigenstructure problem in linear system theory, IEEE Transactions on Automatic Control 26(1), 111-129, 1981, staircase reductions with orthogonal transformations, used to remove the uncontrollable and unobservable parts of a realization
- Chi-Tsong Chen, Linear System Theory and Design, third edition, Oxford University Press, 1999, Section 4.4 (realizations, and the block companion realization of a proper rational matrix), Section 7.5 (realizations from Markov parameters) and Section 7.7 (minimal realizations in the matrix case)
About this page
The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H0 no proof |
|
| Lean | L0 no Lean part |
|
| Visual | V0 none |
|
| Writing | W2 basic |
|
Tag JNNGT0 Edit this page History Report an error Markdown