This is the continuation to Fundamentals of parameter estimation - Part II. Exercise 3/8 from my optimal estimation course. The focus is on random vectors and unbiased linear MMSE estimation.
At the end of this exercise I should understand insights about the concept of covariance matrices and about unbiased linear MMSE estimation.
Context
Prior knowledge
I have a ship. The parameter vector to estimate is the position vector of that ship . The prior knowledge, obtained via dead reckoning, is captured as a prior expectation and a covariance matrix which expresses the prior uncertainty that we have about the position .
Measurement
In order to increase the accuracy, the navigator of the ship measures the direction of a beacon, e.g. lighthouse, relative to the ship as in the Figure below.
The beacon has a known reference position . The line of sight is defined by the position of the beacon and by the measured direction . The compass reading gives . The following equation defines the line of sight in the plane:
The measurement model
The relation between the ship’s true position and the true bearing is:
or, by substituting
The relation between the ship’s true position and the observed direction is nonlinear. To get a linear approximation, we apply a truncated Taylor series expansion to the sine and cosine functions:
Since , the factor almost equals . The latter equals the distance between beacon and ship. Therefore:
This can be written in the form with the following definitions
The distance is unknown, but can be estimated from prior knowledge of the ship’s position and the position of the beacon: . Assuming the measurement of the bearing has an uncertainty of , the standard deviation of is [radians].
The Case
Physical units are Nautical miles (Nm).
Uncertainty regions and principal axes
For normal distributions , the equation for the contour simplifies to: .
The eigenvectors and eigenvalues are solutions of and the corresponding scaling factors are
First topic: Determine the eigenvalues and eigenvectors of and draw the associated uncertainty region.
1.1 Generate a set of points on a circle with unit radius. The centre of the circle is positioned at the origin
1.2 Scale the and coordinates of these points in accordance with the scaling factors and . The resulting points form an ellipse with the right shape, but not with the right orientation and position.
So based on the Figure 5 above, I need to extract the and scaling factors of the ellipse defined by . The corresponding scaling factors are .
1.3 Rotate the set of points in accordance with the direction of the principal axes. The eigenvector-matrix is a rotation matrix.
This is really just a no-brainer, since the eigenvector-matrix is in itself the Rotation Matrix I need to apply.
1.4+1.5 Shift the whole set to the position determined by . Plot the curve defined by the resulting set of points.
Again, I simply add to each axis the values from .