For the state-space model , , assume independent Gaussian process noise and measurement noise of variances , independent of the prior state and previous observations. A normal distribution for the filtered state, with mean and variance , predicts mean and variance . Here denotes predicted state variance, rather than the observation-noise covariance notation used in the vector equations above. Gaussian conditional expectation then gives posterior mean and posterior variance , where the Kalman gain is .
Mere weak white noise assumptions do not imply normal posterior distributions: independent process noise with a Rademacher distribution makes the next state a mixture of two shifted normal distributions. The Kalman filter can still describe a best affine state estimate under appropriate second-order assumptions, but that is distinct from an exact Gaussian conditional law.
Scalar static-state Kalman update Created 2026-10-03 Updated 2026-10-14
Suppose the predicted state has normal distribution and the new observation is , where the measurement noise is independent of the state and previous observations. Gaussian conditional expectation gives
The coefficient is the scalar Kalman gain. The posterior mean is a weighted mean of the predicted state and the new observation, with the more precise quantity receiving more weight. For , the same equations can be expressed in precision parameters
The two precision parameters add because the measurement noise is independent of the state and past observations. Completing the square in the product of the prior density and the likelihood function gives this form directly. This is a Gaussian conditional expectation for a fixed unknown state; a moving state additionally requires a Kalman prediction step.
Sensor bias 2026-10-14
A sensor bias is a systematic offset between the measured output and the physical plant output, modeled here as with constant . Unlike zero-mean measurement noise, a sensor bias persists when repeated readouts are averaged. A sensor bias affects the physical meaning of a zero tracking error; for a temperature readout, independent thermometer calibration can detect it.
State estimation Created 2026-10-03 Updated 2026-10-13
State estimation infers an unobserved state of a dynamical system from its observations and a model of its evolution. An observed position can help estimate an unobserved velocity; repeated noisy observations can help distinguish changes in the state from measurement noise. The result should describe both an estimate and its uncertainty. A Kalman filter does this exactly for a linear Gaussian state-space model, maintaining a conditional expectation and conditional covariance.
The time at which information is available matters. Causal state filtering estimates the present state from observations available now. State prediction estimates a future state from those same observations. Later observations can improve an estimate of a past state, but that is a different information set from the one a live controller had. Kalman explicitly distinguishes these estimation tasks in A New Approach to Linear Filtering and Prediction Problems (1960), section Optimal Estimates.
Tikhonov regularization Created 2026-09-24 Updated 2026-10-14
For a bounded linear operator between Hilbert spaces and , Tikhonov regularization minimizes
The quadratic norm penalty makes this functional a strictly convex, coercive function, yielding the unique minimizer displayed in the title. Here is the adjoint operator and the identity operator. Our regularization parameter multiplies the squared norm directly. Hansen's notes instead write : the same reconstruction requires , not .[ref]
For a real matrix with singular value decomposition , the exact reconstruction is
The singular-system Tikhonov filter is the data-to-solution gain; is the fraction of an exact solution mode retained. If , a positive singular value mode has error
The first term is approximation bias; the second is transmitted measurement noise. Suppressing a weak mode suppresses its true signal too.
For the two-pixel matrix in the inverse problem example and (), the mean and difference attenuation factors are and . Since , the reconstruction is
Its noise contribution is , half the direct inverse's, but its exact-data reconstruction is . Consequently its total error Euclidean norm, about , exceeds the direct inverse's : this parameter sacrifices too much contrast. Taking instead gives and error about . Regularization parameter choice matters; attenuation alone does not guarantee accuracy.
Figure 1.
Tikhonov attenuation reduces difference-mode noise while biasing the reconstructed contrast
. Details.
Tracking error 2026-10-14
The tracking error used by the controller is the signed difference
between the reference signal and the measured output. A positive tracking error means the readout is below the desired value; a negative tracking error means it is above. With exact measurement , and give . For a positive-response controlled plant, positive feedback gain in proportional control then reduces the plant output. The sign of the controller must also account for the sign of the controlled plant's response: a positive command that reduces the plant output requires a different sign choice. Kantor uses the opposite tracking error convention, , together with a minus sign in his controller; translating both signs gives the convention here. [ref]
Distinguish the controller's tracking error from the physical plant output discrepancy . If the readout has constant sensor bias , then
All four quantities have the same units under dimensional analysis; a sensor bias is expressed in those units too. A readout that is too high by can make when the physical temperature is below the goal. Integral action integrates the tracking error it receives; it cannot infer this missing calibration information from that tracking error alone. Thermometer calibration against an independent reference addresses a different problem from tuning a feedback gain.
Figure 1. . Original signal diagram with a synthetic equilibrium point for proportional-integral control. All output coordinates are temperature rises above one fixed baseline; the control input is in heater-command percentage points. With and sensor bias , zero measured tracking error means , while the physical plant output is and its discrepancy is . No plotted laboratory measurements are implied. Details.
A motivating apparatus/model comparison is Park, Martin, Kelly and Hedengren's temperature-control laboratory: two TIP31C heaters with attached TMP36GZ sensors and heat sinks, an Arduino, a power supply, and a USB-connected computer. The readout converts sensor voltage to temperature; software records that measured output while specifying heater commands from to . For the single-heater test, one command changes in steps and the other heater stays off. Parameters are fitted to one run, then a different command sequence tests predictions without feeding measured temperatures into the simulation. The authors observe that their richer thermal model predicts the response better than the approximation with a single time constant and a delayed control input, especially after command changes. The real sensor has its own thermal lag. They also repeat the same command profile at different ambient temperatures and find changes in the response, motivating ambient-condition reporting. This experiment measures a command-to-readout response, not independently the exact heater temperature or delivered power. [ref]
The lesson for tracking error is to record three traces during a tracking test: the reference signal, the measured output, and the applied control input. Their first difference is the tracking error; a model prediction minus a readout is instead a model discrepancy. In a proposed comparison of proportional control and proportional-integral control, keep the initial temperature, ambient conditions, heater limits, and target changes fixed; run the second heater separately as a known control disturbance. Independent thermometer calibration is needed to assess physical accuracy. These are suggested controls, not additional experiments claimed for the paper. A sensor's lag, measurement noise, actuator saturation, and changed ambient conditions can all invalidate conclusions drawn from the ideal first-order model.