Modeladvanced
Hammerstein-Wiener model
Also called block-oriented model, Hammerstein model, Wiener model.
A nonlinear model made of static nonlinear blocks in series with a linear dynamic block, before it, after it or both.
A Hammerstein-Wiener model is a nonlinear dynamic model made of three blocks in series: a static nonlinearity on the input, a linear time-invariant system , and a static nonlinearity on the output. The two static blocks have no memory, so all the dynamics are in the linear block, and all the nonlinearity is in the static blocks. With equal to the identity it is a Hammerstein system, which describes, for example, an actuator with a nonlinear gain in front of a linear plant. With equal to the identity it is a Wiener system, which describes a linear plant read by a nonlinear sensor. The model is a small step away from a linear model: the linear block can be an ARX model or an output error model, and the nonlinear blocks are curves of one variable. It is a common member of the block-oriented structures, which also include the Wiener-Hammerstein sandwich (linear, static nonlinear, linear) and feedback connections.
The machine
Signals. Time is discrete, with sampling period . The input is and the output is . In the basic form both are scalars; for several inputs and outputs, and act on each channel and is a transfer function matrix.
The blocks. The model is
where is the shift operator, is a rational transfer function or a state-space model , , and is measurement noise. The intermediate signals and are not measured.
Parametrization. The static blocks are written as sums of known basis functions, and , for example polynomials, piecewise linear functions with fixed break points, or a saturation and a dead zone with unknown limits. Some methods parametrize the inverse instead, which needs to be invertible.
Normalization. The blocks are not unique. For every , the pair gives the same , and for every , gives the same . Constant offsets can also move between blocks. A model is fixed by a normalization, such as or with a sign rule, and the same for , or a unit static gain of .
What it counts
- Parameters. The linear block has parameters, or the entries of a state-space model of order . The static blocks have and parameters. Two of these are fixed by the normalization.
- Cost of a simulation. One step costs one evaluation of , one update of the linear block, and one evaluation of : operations in the real RAM.
- Identification cost. It depends on the method. A linear regression with products of parameters costs one least squares problem with unknowns and an SVD of an matrix. A prediction error fit costs an iterative search, with one simulation of samples per evaluation of the criterion.
- Data. Identification needs an input with enough amplitude levels to show the curve , and enough frequency content to show . A binary input shows only two points of .
Relation to other models
- Linear models. If and are linear, the model is the linear system with a gain. The describing function of a static nonlinearity is a way to treat it as a gain that depends on the amplitude.
- Order matters. The blocks do not commute. A static nonlinearity before a linear system is a different input-output map from the same nonlinearity after it, unless the nonlinearity is linear. Ordinary block diagram reduction holds only for linear blocks.
- Wiener-Hammerstein and other structures. A static nonlinearity between two linear blocks gives the sandwich structure. A static nonlinearity in a feedback loop around a linear block gives a Lur'e system, used in absolute stability theory.
- Volterra series. A Hammerstein system with a polynomial of degree has a Volterra series with kernels of order up to that are nonzero only on the diagonal. A Wiener system with a polynomial has kernels that are products of the impulse response of .
- Nonlinear state-space and NARX models. The model is a special case of a nonlinear state-space model with linear state dynamics. A Hammerstein system with an ARX linear block is a special NARX model that is linear in products of parameters.
- Sparse regression. SINDy fits nonlinear state equations from a library of functions; a Hammerstein system with a polynomial is such a model with a library of powers of the input.
Known results in the model
- Steady state (theorem). If is asymptotically stable with static gain and the input is constant at , the output tends to . So a steady-state test shows only the composite curve, not the blocks.
- Step responses (theorem). In a Hammerstein system, the response to a step of height from rest is times the step response of , so the shape does not depend on ; only the size does. In a Wiener system, the shape changes with when is not linear. This gives a simple test to tell the two apart.
- Separation by correlation (theorem). If the input has zero mean and independent, identically distributed samples, and the noise is independent of the input, the cross-correlation of and the output of a Hammerstein system is , where is the impulse response of . So the impulse response is found up to scale without knowing . For a Wiener system with a Gaussian input, Bussgang's theorem gives the same proportionality with the factor .
- Overparametrization (theorem). For a Hammerstein system with an ARX block and , the output is linear in the products and in the coefficients of . Least squares on these products, followed by the best rank one approximation of the matrix of products by the SVD, gives and up to scale. Bai (1998) gives this two-stage method for Hammerstein-Wiener systems with an invertible output nonlinearity.
- Alternating fits can fail (theorem). Narendra and Gallman (1966) fit the linear block with fixed and with the linear block fixed, in turn. Stoica (1981) gave an example in which this iteration does not converge.
- Nonconvex criterion. The prediction error or output error criterion is not convex in the parameters, so a search can stop at a local minimum. A good starting value from a correlation or overparametrization method helps.
- Identifiability. Without a normalization, only the composite input-output map can be identified. With one, and with an input rich enough in amplitude and in frequency, the usual parametrizations of the blocks can be identified.
Example. Take and , with static gain . In the Hammerstein case ( the identity), a step of height gives . After one, two and three steps the output is , and times its final value for every .
In the Wiener case with the same and , the output after one step is times its final value for , times for , and times for . The large step drives into the flat part of , so the output looks much faster. The final values are : , and .
References
- K. S. Narendra and P. G. Gallman, An iterative method for the identification of nonlinear systems using a Hammerstein model, IEEE Transactions on Automatic Control 11(3), 546-550, 1966, the series connection of a static polynomial nonlinearity and a linear system, and the iteration that fits the two parts in turn
- P. Stoica, On the convergence of an iterative algorithm used for Hammerstein system identification, IEEE Transactions on Automatic Control 26(4), 967-969, 1981, the example in which the iteration of Narendra and Gallman does not converge
- Er-Wei Bai, An optimal two-stage identification algorithm for Hammerstein-Wiener nonlinear systems, Automatica 34(3), 333-338, 1998, the overparametrized least squares step and the SVD step that recovers the parameters of the blocks
- Fouad Giri and Er-Wei Bai (editors), Block-oriented Nonlinear System Identification, Lecture Notes in Control and Information Sciences 404, Springer, 2010, the survey chapters on the structures with static nonlinearities and linear blocks, and on their identification
- Lennart Ljung, System Identification: Theory for the User, second edition, Prentice Hall, 1999, the chapter on models for time-varying and nonlinear systems (nonlinear models built from linear blocks and static nonlinearities)
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 | W4 complete |
|
Tag QKK97P Edit this page History Report an error Markdown