March 20, 2020#Tracking#Sensors#Thesis logbook#maritime-autonomy
Observation models
An observation model zk=h(xk)+wk expresses a sensor’s observations zk at time instances tk given the state vector x . wk is assumed to be white gaussian noise with covariance matrix that depends on the specific sensor. The selection of the state vector x can lead to linear or nonlinear observation models.
Radar
The radar observation model includes calculating the distance and bearing from the own-ship to the target in polar form zradar=[ρ,θ]T , given the target’s position [xt,yt]T w.r.t the sensor’s coordinate system..
If the radar’s coordinate system, is for simplicity chosen to coincide with the tracking coordinate system, then the radar observation model can be expressed as:
zradar(x)=[ρθ]=[x2+y2arctan(xy)]+wradar
where the observation noise w is commonly assumed to be white, zero-mean Gaussian with covariance Rradar=diag[σρ2,σθ2]
A reasonable sizing of the noise variances can be
σρ2=10[m]
σθ2=3180π[rad]
GPS
A GPS observation model calculates the target’s relative position [x,y]T w.r.t the own-ship’s tracking coordinate system, which is directly a part of the state vector, given the target’s state vector x
The own-ship’s geodetic coordinates [ϕ0,λ0]T
The own-ships sea-keeping heading angle from true north ψ0
The target’s measured geodetic coordinates [ϕ,λ]T which is usually available at sea through the Automatic Identification System.
zGPS(x,[ϕ0,λ0,ψ0]T)=xyGPS=xy+wGPS
The fact that the geodetic coordinates origin and the heading angle of the own-ship is not included in the state-space representation leads to a linear observation model.
The observations are pre-converted into tracking coordinates, and the noise is added on the the post-converted observations.
The AIS observations [ϕ,λ]T can be transformed into tracking coordinates [x,y]T by using the transformations from the relative chapter.
[xy]=Rz(2π−ψ0)⋅F1(F2([ϕλ]),[ϕ0λ0])
Where
F2([ϕλ]) is the transformation from geodetic to ECEF coordinates
F1XYZECEF,[ϕ0λ0] is the transformation from ECEF to ENU, given the geodetic coordinates of the own-ship [ϕ0,λ0]T as a reference point.
Rz(θ) is the transformation from ENU to sea-keeping/tracking coordinate system..
AIS
An alternative method to using the aforementioned GPS model is to leverage the fact that the tracked targets are in the viscinity of the own-ship, and thus small differences in geodetical coordinates can be linearly mapped to ENU differences and the other way around.
By differentiating the model mentioned in the Coordinate systems section, one can confirm that for given own-ship geodetic coordinates (ϕ0,λ0,h0)own-ship
, which is a linear observation model that is approximating the geoid with a spherical-linearization about the own-ship’s geodetic location.
Camera
Assuming a camera sensor on a mast with the camera z-axis aligned with the own-ship’s body coordinate system
A top-view of the pinhole model seen in the figure below
Then the observation model for the predicted pixel location of a target obtained from a deep neural-network classifier and localiser is found by projecting a point in homogeneous coordinates
xwrtsea keeping=[x,y,0,1]T
to the finite camera frame, given measured information zgyro about the rotational angle of the own-ship body coord system, w.r.t the tracking coord system
Because of the denominator this is a non-linear model, and a description of the matrices that comprise the projection matrix P is given below:
K
is the intrinsic camera calibration matrix
K=fmx000fmy0pxpyz
with
f is the intrinsic camera calibration parameter, focal length in mm
mx,my are the camera’s sensor pixel density in mmnumber of pixels across the two different directions of the image plane.
px,py correspond to the position of the principal point of the image in pixel coordinates
wcamera is white gaussian zero mean noise with variance related to the classifier accuracy, or any calibration errors in the extrinsic and intrinsic camera matrices.
Rown-shipcamera
is the extrinsic camera rotation matrix that describes the orientation of the camera coordinate system. w.r.t. the own-ship.
C
is the extrinsic origin of the camera coordinate system. w.r.t. the own-ship.
Rtrackingown-ship
Is the transformation matrix that corresponds to the roll-pitch rotation of the own-ship’s body coordinate system. w.r.t the tracking coordinate system.. Please note that the order of the rotations matters.
Rtrackingown-ship=(RpitchRroll)T
Where Rpitch,Rroll are the standard rotation matrices for Euler’s angles zgyro=(α,β)T=(roll,pitch)T.
Rroll=Rx(α)=1000cosαsinα0−sinαcosα
and
Rpitch=Ry(β)=cosβ0−sinβ010sinβ0cosβ
A basic assumption at that point, is that the own-ship is able to measure the angles (α,β) of the own-ship body coordinate system. w.r.t the tracking coordinate system.. These angles are usually available on a ship by using one or multiple gyroscope sensors.