Modeling and identification
Problems
- System identification
Build a model of a dynamical system from measured inputs and outputs, by choosing a model set and the member that best predicts the data.
core - Closed-loop identification
Identify a plant from data taken while a feedback controller runs, where the input is correlated with the noise.
advanced
Algorithms
- Process reaction curve method
Fits a first-order plus dead time model to the open-loop step response from its gain, its delay and its time constant.
1 languagesintro - Empirical transfer function estimate
Estimates the frequency response as the ratio of the DFTs of output and input, and smooths it with a window to cut the variance.
1 languagescore - Instrumental variable identification
Replaces the regressors by instruments that are correlated with them but not with the noise, so the estimate stays consistent for colored noise.
1 languagescore - Least-squares identification of ARX models
Estimates ARX parameters by linear least squares on the regression of each output on past outputs and inputs.
1 languagescore - Prediction error method
Estimates model parameters by minimizing the sum of squared one-step prediction errors; for Gaussian white noise, with start-up effects ignored, this is maximum likelihood.
1 languagescore - Zero-order hold discretization
Turns a continuous LTI system into the exact discrete one for inputs held constant between samples, with A_d = e^(Ah).
1 languagescore - Eigensystem realization algorithm
Fits a state-space model to measured impulse response data by a truncated SVD of their block Hankel matrix; exact and balanced on noise-free data.
1 languagesadvanced - Ho-Kalman algorithm
Builds a minimal state-space realization from exact Markov parameters by a rank factorization of their block Hankel matrix.
1 languagesadvanced - MOESP
Subspace method that gets a state-space model from input-output data by an LQ factorization and an SVD of block Hankel matrices; consistent for white output noise.
1 languagesadvanced - N4SID
Subspace method that estimates a state sequence from input-output data by oblique projections and an SVD, then fits A, B, C, D and the noise covariances by least squares.
1 languagesadvanced - Dynamic mode decomposition
Fits a linear operator that maps each snapshot of a system to the next by a truncated SVD, and returns its eigenvalues and modes.
1 languagesresearch - Kernel-based system identification
Estimates a long impulse response by regularized least squares with a kernel, such as the TC kernel, that encodes exponential decay.
1 languagesresearch - Sparse identification of nonlinear dynamics
Finds the few terms of a library of candidate functions that explain the measured derivatives, by sparse regression.
1 languagesresearch
Techniques
- Block diagram reduction
Rules that merge series, parallel and feedback blocks of a linear diagram, and move summing and takeoff points, until one transfer function from the input to the output is left.
intro - Linearization about an equilibrium
Replaces a nonlinear system near an equilibrium by the linear system given by the Jacobians of the vector field and the output map.
intro - Pseudo-random binary sequence input
An input signal for identification that switches between two levels by a maximum-length shift register sequence, with a near white spectrum.
intro - Subspace identification
Identifies a state-space model from input-output data by projections of block Hankel matrices and an SVD, with no nonlinear optimization.
advanced
Definitions
- Equilibrium point
A state where the vector field is zero for a fixed input, so the constant function at that state is a solution of the state equation for all time.
intro - Laplace transform
The map from a signal f(t), t >= 0, to F(s) = integral from 0- to infinity of f(t) e^(-st) dt. It turns linear ODEs with constant coefficients into algebraic equations in s.
intro - Poles and zeros
The roots of the denominator and the numerator of a rational transfer function in lowest terms. Poles set the modes of the response; zeros are the exponents an input can have and give no output.
intro - Signal-flow graph
A directed graph whose nodes are signals and whose weighted edges are gains. Each node equals the sum of its incoming edge gains times their source nodes, so the graph is a set of linear equations.
intro - State-space representation
A model of a dynamical system as first-order differential or difference equations in a state vector, with an input and an output map.
intro - Markov parameters
The matrices D, CB, CAB, CA^2B and so on, the impulse response of a discrete state-space system, which fill its Hankel matrix.
core - Matrix exponential
The sum of the series I + A + A^2/2! + ..., which gives the solution x(t) = e^(At)x(0) of the linear system x' = Ax.
core - Persistent excitation
An input is persistently exciting of order n if its covariance matrix of n lags is positive definite, so it reveals n parameters.
core - State-transition matrix
The matrix Phi(t, t0) that maps the state at time t0 to the state at time t of a linear, possibly time-varying, system.
core - Transfer function matrix
The p by m matrix G(s) = C(sI - A)^(-1)B + D whose entry (i, j) is the transfer function from input j to output i of a linear time-invariant system with m inputs and p outputs.
core - Transmission zero
A zero of a transfer matrix: a root of the numerators of its Smith-McMillan form. Away from the poles the matrix falls below its normal rank there, and an input e^(zt) u0 can give zero output.
advanced
Theorems
- Variation of constants formula
The state of x' = Ax + Bu is e^(At)x(0) plus the integral of e^(A(t-s))Bu(s), the free response plus the forced response.
intro - Mason's gain formula
The gain of a signal-flow graph from a source to a node equals the sum over forward paths of the path gain times the determinant of the loops off the path, divided by the graph determinant.
core - Smith-McMillan form
Every rational transfer matrix equals U M V with U and V unimodular and M a unique diagonal matrix of coprime ratios with divisibility conditions. M gives the poles and zeros with multiplicities.
advanced
Models
- ARMAX model
A linear model A(q)y = B(q)u + C(q)e that adds a moving average of the white noise to the ARX model.
core - ARX model
A linear model A(q)y = B(q)u + e in which the output is a linear regression on past outputs, past inputs and white noise.
core - Control-affine nonlinear system
A nonlinear system whose state derivative is a drift vector field plus input vector fields weighted by the inputs, x' = f(x) + g(x)u.
core - Linear time-varying system
A linear system x' = A(t)x + B(t)u whose matrices change with time, so its solution needs a state-transition matrix.
core - Output error model
A linear model y = (B(q)/F(q))u + e in which white noise adds only to the output and not to the dynamics.
core - Sampled-data system
A continuous plant controlled by a digital controller through a sampler and a hold, so the loop mixes continuous and discrete time.
core - Time-delay system
A system whose rate of change depends on past states or inputs, with a delay tau. Its transfer function has the factor e^(-s tau), which is not rational, and its state is a function on [-tau, 0].
core - Hammerstein-Wiener model
A nonlinear model made of static nonlinear blocks in series with a linear dynamic block, before it, after it or both.
advanced