Engineering:GNSS positioning calculation

From HandWiki
Revision as of 08:51, 9 July 2022 by imported>NBrush (change)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The global navigation satellite system (GNSS) positioning for receiver's position is derived through the calculation steps, or algorithm, given below. In essence, a GNSS receiver measures the transmitting time of GNSS signals emitted from four or more GNSS satellites (giving the pseudorange) and these measurements are used to obtain its position (i.e., spatial coordinates) and reception time.

Calculation steps

  1. A global-navigation-satellite-system (GNSS) receiver measures the apparent transmitting time, [math]\displaystyle{ \displaystyle \tilde{t}_i }[/math], or "phase", of GNSS signals emitted from four or more GNSS satellites ([math]\displaystyle{ \displaystyle i \;=\; 1,\, 2,\, 3,\, 4,\, ..,\, n }[/math] ), simultaneously.[1]
  2. GNSS satellites broadcast the messages of satellites' ephemeris, [math]\displaystyle{ \displaystyle \boldsymbol{r}_i (t) }[/math], and intrinsic clock bias (i.e., clock advance), [math]\displaystyle{ \displaystyle\delta t_{\text{clock,sv},i} (t) }[/math][clarification needed] as the functions of (atomic) standard time, e.g., GPST.[2]
  3. The transmitting time of GNSS satellite signals, [math]\displaystyle{ \displaystyle t_i }[/math], is thus derived from the non-closed-form equations [math]\displaystyle{ \displaystyle \tilde{t}_i \;=\; t_i \,+\, \delta t_{\text{clock},i} (t_i) }[/math] and [math]\displaystyle{ \displaystyle \delta t_{\text{clock},i} (t_i) \;=\; \delta t_{\text{clock,sv},i} (t_i) \,+\, \delta t_{\text{orbit-relativ},\, i} (\boldsymbol{r}_i,\, \dot{\boldsymbol{r}}_i) }[/math], where [math]\displaystyle{ \displaystyle \delta t_{\text{orbit-relativ},i} (\boldsymbol{r}_i,\, \dot{\boldsymbol{r}}_i) }[/math] is the relativistic clock bias, periodically risen from the satellite's orbital eccentricity and Earth's gravity field.[2] The satellite's position and velocity are determined by [math]\displaystyle{ \displaystyle t_i }[/math] as follows: [math]\displaystyle{ \displaystyle \boldsymbol{r}_i \;=\; \boldsymbol{r}_i (t_i) }[/math] and [math]\displaystyle{ \displaystyle \dot{\boldsymbol{r}}_i \;=\; \dot{\boldsymbol{r}}_i (t_i) }[/math].
  4. In the field of GNSS, "geometric range", [math]\displaystyle{ \displaystyle r(\boldsymbol{r}_A,\, \boldsymbol{r}_B) }[/math], is defined as straight range, or 3-dimensional distance,[3] from [math]\displaystyle{ \displaystyle\boldsymbol{r}_A }[/math] to [math]\displaystyle{ \displaystyle\boldsymbol{r}_B }[/math] in inertial frame (e.g., Earth-centered inertial (ECI) one), not in rotating frame.[2]
  5. The receiver's position, [math]\displaystyle{ \displaystyle \boldsymbol{r}_{\text{rec}} }[/math], and reception time, [math]\displaystyle{ \displaystyle t_{\text{rec}} }[/math], satisfy the light-cone equation of [math]\displaystyle{ \displaystyle r(\boldsymbol{r}_i,\, \boldsymbol{r}_{\text{rec}}) / c \,+\, (t_i - t_{\text{rec}}) \;=\; 0 }[/math] in inertial frame, where [math]\displaystyle{ \displaystyle c }[/math] is the speed of light. The signal time of flight from satellite to receiver is [math]\displaystyle{ \displaystyle -(t_i \,-\, t_{\text{rec}}) }[/math].
  6. The above is extended to the satellite-navigation positioning equation, [math]\displaystyle{ \displaystyle r(\boldsymbol{r}_i,\, \boldsymbol{r}_{\text{rec}}) / c \,+\, (t_i \,-\, t_{\text{rec}}) \,+\, \delta t_{\text{atmos},i} \,-\, \delta t_{\text{meas-err},i} \;=\; 0 }[/math], where [math]\displaystyle{ \displaystyle \delta t_{\text{atmos},i} }[/math] is atmospheric delay (= ionospheric delay + tropospheric delay) along signal path and [math]\displaystyle{ \displaystyle \delta t_{\text{meas-err},i} }[/math] is the measurement error.
  7. The Gauss–Newton method can be used to solve the nonlinear least-squares problem for the solution: [math]\displaystyle{ \displaystyle (\hat{\boldsymbol{r}}_{\text{rec}},\, \hat{t}_{\text{rec}}) \;=\; \arg \min \phi ( \boldsymbol{r}_{\text{rec}},\, t_{\text{rec}} ) }[/math], where [math]\displaystyle{ \displaystyle \phi ( \boldsymbol{r}_{\text{rec}},\, t_{\text{rec}} ) \;=\; \sum_{i=1}^n ( \delta t_{\text{meas-err},i} / \sigma_{\delta t_{\text{meas-err},i} } )^2 }[/math]. Note that [math]\displaystyle{ \displaystyle \delta t_{\text{meas-err},i} }[/math] should be regarded as a function of [math]\displaystyle{ \displaystyle \boldsymbol{r}_{\text{rec}} }[/math] and [math]\displaystyle{ \displaystyle t_{\text{rec}} }[/math].
  8. The posterior distribution of [math]\displaystyle{ \displaystyle \boldsymbol{r}_{\text{rec}} }[/math] and [math]\displaystyle{ \displaystyle t_{\text{rec}} }[/math] is proportional to [math]\displaystyle{ \displaystyle \exp ( -\frac{1}{2} \phi ( \boldsymbol{r}_{\text{rec}},\, t_{\text{rec}} ) ) }[/math], whose mode is [math]\displaystyle{ \displaystyle (\hat{\boldsymbol{r}}_{\text{rec}},\, \hat{t}_{\text{rec}}) }[/math]. Their inference is formalized as maximum a posteriori estimation.
  9. The posterior distribution of [math]\displaystyle{ \displaystyle \boldsymbol{r}_{\text{rec}} }[/math] is proportional to [math]\displaystyle{ \displaystyle \int_{-\infty}^\infty \exp ( -\frac{1}{2} \phi ( \boldsymbol{r}_{\text{rec}},\, t_{\text{rec}} ) ) \, d t_{\text{rec}} }[/math].

The solution illustrated

The GPS case

[math]\displaystyle{ \scriptstyle \begin{cases} \scriptstyle \Delta t_i (t_i,\, E_i) \;\triangleq\; t_i \,+\, \delta t_{\text{clock},i} (t_i,\, E_i) \,-\, \tilde{t}_i \;=\; 0, \\ \scriptstyle \Delta M_i (t_i,\, E_i) \;\triangleq\; M_i (t_i) \,-\, (E_i \,-\, e_i \sin E_i) \;=\; 0, \end{cases} }[/math]

in which [math]\displaystyle{ \scriptstyle E_i }[/math] is the orbital eccentric anomaly of satellite [math]\displaystyle{ i }[/math], [math]\displaystyle{ \scriptstyle M_i }[/math] is the mean anomaly, [math]\displaystyle{ \scriptstyle e_i }[/math] is the eccentricity, and [math]\displaystyle{ \scriptstyle \delta t_{\text{clock},i} (t_i,\, E_i) \;=\; \delta t_{\text{clock,sv},i} (t_i) \,+\, \delta t_{\text{orbit-relativ},i} (E_i) }[/math].

  • The above can be solved by using the bivariate Newton–Raphson method on [math]\displaystyle{ \scriptstyle t_i }[/math] and [math]\displaystyle{ \scriptstyle E_i }[/math]. Two times of iteration will be necessary and sufficient in most cases. Its iterative update will be described by using the approximated inverse of Jacobian matrix as follows:

[math]\displaystyle{ \scriptstyle \begin{pmatrix} t_i \\ E_i \\ \end{pmatrix} \leftarrow \begin{pmatrix} t_i \\ E_i \\ \end{pmatrix} - \begin{pmatrix} 1 && 0 \\ \frac{\dot{M}_i (t_i)}{1 - e_i \cos E_i} && -\frac{1}{1 - e_i \cos E_i} \\ \end{pmatrix} \begin{pmatrix} \Delta t_i \\ \Delta M_i \\ \end{pmatrix} }[/math]

  • Tropospheric delay should not be ignored, while the Global Positioning System (GPS) specification[2] doesn't provide its detailed description.

The GLONASS case

  • The GLONASS ephemerides don't provide clock biases [math]\displaystyle{ \scriptstyle\delta t_{\text{clock,sv},i} (t) }[/math], but [math]\displaystyle{ \scriptstyle\delta t_{\text{clock},i} (t) }[/math].

Note

  • In the field of GNSS, [math]\displaystyle{ \scriptstyle \tilde{r}_i \;=\; -c (\tilde{t}_i \,-\, \tilde{t}_{\text{rec}}) }[/math] is called pseudorange, where [math]\displaystyle{ \scriptstyle \tilde{t}_{\text{rec}} }[/math] is a provisional reception time of the receiver. [math]\displaystyle{ \scriptstyle \delta t_{\text{clock,rec}} \;=\; \tilde{t}_{\text{rec}} \,-\, t_{\text{rec}} }[/math] is called receiver's clock bias (i.e., clock advance).[1]
  • Standard GNSS receivers output [math]\displaystyle{ \scriptstyle \tilde{r}_i }[/math] and [math]\displaystyle{ \scriptstyle \tilde{t}_{\text{rec}} }[/math] per an observation epoch.
  • The temporal variation in the relativistic clock bias of satellite is linear if its orbit is circular (and thus its velocity is uniform in inertial frame).
  • The signal time of flight from satellite to receiver is expressed as [math]\displaystyle{ \scriptstyle -(t_i - t_{\text{rec}}) \;=\; \tilde{r}_i/c \,+\, \delta t_{\text{clock},i} \,-\, \delta t_{\text{clock,rec}} }[/math], whose right side is round-off-error resistive during calculation.
  • The geometric range is calculated as [math]\displaystyle{ \scriptstyle r(\boldsymbol{r}_i,\, \boldsymbol{r}_{\text{rec}}) \;=\; | \Omega_{\text{E}} (t_i \,-\, t_{\text{rec}}) \boldsymbol{r}_{i,\text{ECEF}} \,-\, \boldsymbol{r}_{\text{rec,ECEF}} | }[/math], where the Earth-centred, Earth-fixed (ECEF) rotating frame (e.g., WGS84 or ITRF) is used in the right side and [math]\displaystyle{ \scriptstyle \Omega_{\text{E}} }[/math] is the Earth rotating matrix with the argument of the signal transit time.[2] The matrix can be factorized as [math]\displaystyle{ \scriptstyle \Omega_{\text{E}} (t_i \,-\, t_{\text{rec}}) \;=\; \Omega_{\text{E}} (\delta t_{\text{clock,rec}}) \Omega_{\text{E}} (-\tilde{r}_i/c \,-\, \delta t_{\text{clock},i}) }[/math].
  • The line-of-sight unit vector of satellite observed at [math]\displaystyle{ \scriptstyle \boldsymbol{r}_{\text{rec,ECEF}} }[/math] is described as: [math]\displaystyle{ \scriptstyle \boldsymbol{e}_{i, \text{rec,ECEF}} \;=\; -\frac{\partial r(\boldsymbol{r}_i,\, \boldsymbol{r}_{\text{rec}})}{\partial \boldsymbol{r}_{\text{rec,ECEF}}} }[/math].
  • The satellite-navigation positioning equation may be expressed by using the variables [math]\displaystyle{ \scriptstyle \boldsymbol{r}_{\text{rec,ECEF}} }[/math] and [math]\displaystyle{ \scriptstyle \delta t_{\text{clock,rec}} }[/math].
  • The nonlinearity of the vertical dependency of tropospheric delay degrades the convergence efficiency in the Gauss–Newton iterations in step 7.
  • The above notation is different from that in the Wikipedia articles, 'Position calculation introduction' and 'Position calculation advanced', of Global Positioning System (GPS).

See also

References

  1. 1.0 1.1 Misra, P. and Enge, P., Global Positioning System: Signals, Measurements, and Performance, 2nd, Ganga-Jamuna Press, 2006.
  2. 2.0 2.1 2.2 2.3 2.4 2.5 The interface specification of NAVSTAR GLOBAL POSITIONING SYSTEM
  3. 3-dimensional distance is given by [math]\displaystyle{ \displaystyle r(\boldsymbol{r}_A,\, \boldsymbol{r}_B) = |\boldsymbol{r}_A - \boldsymbol{r}_B| = \sqrt{(x_A-x_B)^2+(y_A-y_B)^2+(z_A-z_B)^2} }[/math] where [math]\displaystyle{ \displaystyle\boldsymbol{r}_A = (x_A, y_A, z_A) }[/math] and [math]\displaystyle{ \displaystyle\boldsymbol{r}_B = (x_B, y_B, z_B) }[/math] represented in inertial frame.

External links

  • PVT (Position, Velocity, Time): Calculation procedure in the open-source GNSS-SDR and the underlying RTKLIB