Fundamentals / Mechanical engineering / Control engineering

Regulate a state and estimate it from data

Calculate an optimal feedback policy and decide when filtering or sensor placement limits its implementation.

1. Energy and effort on an integrator

For \(\dot x=u\), minimise \(\int_0^\infty(9x^2+4u^2)\,dt\). (a) Find the stabilising Riccati solution and feedback gain. (b) For \(x_0=2\) calculate the optimal cost directly from the exponential trajectory. (c) If \(|u|\le2\), identify a region where the unconstrained policy is feasible.

Check the cost with a direct integral

The algebraic equation \(9-P^2/4=0\) gives \(P=6\); \(u=-1.5x\). Then \(x=2e^{-1.5t}\) and the integrand is \(72e^{-3t}\). Its integral 24 agrees with \(Px_0^2\). Feasibility is guaranteed for \(|x_0|\le4/3\) since the magnitude then decreases monotonically. The initial state 2 is outside this region.

2. A scalar filter through a missed measurement

A random-walk model has initial predicted mean 8, variance 4, and measurement variance 1. A reading of 10 arrives. (a) Calculate the corrected mean and variance. (b) Predict one step with process variance 0.5. (c) One reading is then lost. Find the gain at the following available reading.

Follow the prediction and correction chronology

The first gain is \(4/5\), so the corrected mean is 9.6 and variance 0.8. The next prior mean is 9.6 and variance 1.3. With no reading there is no correction; another prediction raises variance to 1.8. The next available reading obtains gain \(1.8/2.8=0.643\). Setting a missed reading equal to its prediction and carrying out a normal update would falsely shrink the variance.

3. An apparently quiet but unreliable sensor

A scalar innovation sequence is \(2.0,2.0,1.8,2.2,2.0\) in sensor units, with predicted innovation standard deviation 0.5. (a) Compute the standardised mean and range. (b) Compare two mechanisms that could generate the trace. (c) Propose a test that separates the mechanisms.

Use sign and time structure as well as magnitude

The standardised values are \(4,4,3.6,4.4,4\), with mean 4 and range 3.6 to 4.4. A biased sensor and a missing nearly constant load can both produce a sustained signed discrepancy. During a known calibration hold compare the device with an independent sensor. Then vary the load while holding sensor conditions fixed; innovations that follow the load implicate the model. Simply increasing the assumed noise variance could hide both effects.