source: ntrip/trunk/BNC/txt/frankfurt.tex@ 5611

Last change on this file since 5611 was 5611, checked in by mervart, 10 years ago
File size: 16.1 KB
Line 
1
2\documentclass[10pt]{beamer}
3\usetheme{umbc2}
4\useinnertheme{umbcboxes}
5\setbeamercolor{umbcboxes}{bg=violet!12,fg=black}
6
7\usepackage{longtable}
8\usepackage{tabu}
9\usepackage{subeqnar}
10
11\newcommand{\ul}{\underline}
12\newcommand{\be}{\begin{equation}}
13\newcommand{\ee}{\end{equation}}
14\newcommand{\bdm}{\begin{displaymath}}
15\newcommand{\edm}{\end{displaymath}}
16\newcommand{\bea}{\begin{eqnarray}}
17\newcommand{\eea}{\end{eqnarray}}
18\newcommand{\bsea}{\begin{subeqnarray*}}
19\newcommand{\esea}{\end{subeqnarray*}}
20\newcommand{\mb}[1]{\mbox{#1}}
21\newcommand{\mc}[3]{\multicolumn{#1}{#2}{#3}}
22\newcommand{\bm}[1]{\mbox{\bf #1}}
23\newcommand{\bmm}[1]{\mbox{\boldmath$#1$\unboldmath}}
24\newcommand{\bmell}{\bmm\ell}
25\newcommand{\hateps}{\widehat{\bmm\varepsilon}}
26\newcommand{\graybox}[1]{\psboxit{box .9 setgray fill}{\fbox{#1}}}
27\newcommand{\mdeg}[1]{\mbox{$#1^{\mbox{\scriptsize o}}$}}
28\newcommand{\dd}{\mbox{\footnotesize{$\nabla \! \Delta$}}}
29\newcommand{\p}{\partial\,}
30\renewcommand{\d}{\mbox{d}}
31\newcommand{\dspfrac}{\displaystyle\frac}
32\newcommand{\nl}{\\[4mm]}
33
34\title{Processing GNSS Data in Real-Time}
35
36\author{Leo\v{s} Mervart}
37
38\institute{TU Prague}
39
40\date{Frankfurt, January 2014}
41
42% \AtBeginSection[]
43% {
44% \begin{frame}
45% \frametitle{Table of Contents}
46% \tableofcontents[currentsection]
47% \end{frame}
48% }
49
50\begin{document}
51
52%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
53
54\begin{frame}
55 \titlepage
56\end{frame}
57
58%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
59
60\begin{frame}
61\frametitle{Medieval Times of GNSS (personal memories)}
62
63\begin{description}
64\item[1991] Prof. Gerhard Beutler became the director of the Astronomical Institute, University of
65 Berne. The so-called Bernese GPS Software started to be used for (post-processing) analyzes of
66 GNSS data.
67\item[1992] LM started his PhD study at AIUB.
68\item[1992] Center for Orbit Determination in Europe (consortium of AIUB, Swisstopo, BKG, IGN, and
69 IAPG/TUM) established. Roughly at that time LM met Dr. Georg Weber for the first time.
70\item[1993] International GPS Service formally recognized by the IAG.
71\item[1994] IGS began providing GPS orbits and other products routinely (January, 1).
72\item[1995] GPS declared fully operational.
73\end{description}
74
75\end{frame}
76
77%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
78
79\begin{frame}
80\frametitle{CODE-Related Works in 1990's}
81
82\begin{itemize}
83\item The Bernese GPS Software was the primary tool for CODE analyzes (Fortran~77).
84\item IGS reference network was sparse.
85\item Real-time data transmission limited (Internet was still young, TCP/IP widely accepted 1989).
86\item CPU power of then computers was limited (VAX/VMS OS used at AIUB).
87\end{itemize}
88
89In 1990's high precision GPS analyzes were almost exclusively performed in post-processing mode.
90The typical precise application of GPS at that time was the processing of a network of static
91GPS-only receivers for the estimation of station coordinates.
92
93\end{frame}
94
95%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
96
97\begin{frame}
98\frametitle{Tempora mutantur (and maybe ``nos mutamur in illis'')}
99
100\includegraphics[width=0.7\textwidth,angle=0]{pp_vs_rt.png}
101
102\vspace*{-2cm}
103\hspace*{6cm}
104\includegraphics[width=0.4\textwidth,angle=0]{ea_ztd_21h.png}
105
106
107\end{frame}
108
109
110%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
111
112\begin{frame}
113\frametitle{O tempora! O mores!}
114
115\begin{itemize}
116\item people want more and more \ldots
117\item everybody wants everything immediately \ldots
118\item \hspace*{2cm} and, of course, free of charge \ldots
119\end{itemize}
120\vspace*{5mm}
121In GNSS-world it means:
122\begin{itemize}
123\item There are many new kinds of GNSS applications - positioning is becoming just one of many
124 purposes of GNSS usage.
125\item Many results of GNSS processing are required in real-time (or, at least, with very small
126 delay).
127\item GPS is not the only positioning system. Other GNSS are being established (for practical but
128 also for political reasons).
129\item People are used that many GNSS services are available free of charge (but the development and
130 maintenance has to be funded).
131\end{itemize}
132
133\begin{block}{But \ldots}
134\end{block}
135
136\end{frame}
137
138%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
139
140\begin{frame}
141\frametitle{Nihil novi sub sole}
142
143Each GNSS-application is based on processing code and/or phase observations
144\vspace*{-3mm}
145 \begin{eqnarray*}
146 P^i & = & \varrho^i + c\;\delta - c\;\delta^i + T^i + I^i + b_P \\
147 L^i & = & \varrho^i + c\;\delta - c\;\delta^i + T^i - I^i + b^i
148 \end{eqnarray*}
149 where
150 \begin{tabbing}
151 $P^i$, $L^i$ ~~~~~~~ \= are the code and phase measurements, \\
152 $\varrho^i$ \> is the travel distance between the satellite
153 and the receiver, \\
154 $\delta$, $\delta^i$ \> are the receiver and satellite clock errors, \\
155 $I^i$ \> is the ionospheric delay, \\
156 $T^i$ \> is the tropospheric delay, \\
157 $b_P$ \> is the code bias, and \\
158 $b^i$ \> is the phase bias (including initial
159 phase ambiguity).
160 \end{tabbing}
161Observation equations reveal what information can be gained from processing GNSS data:
162\begin{itemize}
163\item geometry (receiver positions, satellite orbits), and
164\item state of atmosphere (both dispersive and non-dispersive part)
165\end{itemize}
166The observation equations also show that, in principle, GNSS is an
167\textcolor{blue!90}{interferometric} technique -- precise results are actually always relative.
168
169\end{frame}
170
171%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
172
173\begin{frame}
174\frametitle{Challenges of Real-Time GNSS Application}
175\begin{itemize}
176\item Suitable algorithms for the parameter adjustment have to be used (filter techniques instead
177 of classical least-squares).
178\item Reliable data links have to been established (between rover station and a reference station,
179 between receivers and processing center, or between processing center and DGPS correction
180 provider).
181\item Software tools for handling real-time data (Fortran is not the best language for that).
182\item Fast CPUs.
183\end{itemize}
184
185As said above -- GNSS is an interferometric technique. Processing of a single station cannot give
186precise results. However, data of reference station(s) can be replaced by the so-called corrections
187(DGPS corrections, precise-point positioning etc.) These techniques are particularly suited for
188real-time applications because the amount of data being transferred can be considerably reduced.
189
190\end{frame}
191
192%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
193
194\begin{frame}
195\frametitle{Algorithms -- Kalman Filter}
196
197\begin{small}
198
199State vectors $\bmm{x}$ at two subsequent epochs are
200related to each other by the following linear equation:
201\bdm
202\bmm{x}(n) = \bmm{\Phi}\; \bmm{x}(n-1) + \bmm{\Gamma}\;\bmm{w}(n)~,
203\edm
204where $\Phi$ and $\Gamma$ are known matrices and {\em white noise} $\bmm{w}(n)$ is a random
205vector with the following statistical properties:
206\bsea
207E(\bmm{w}) & = & \bmm{0} \\
208E(\bmm{w}(n)\;\bmm{w}^T(m)) & = & \bmm{0} ~~ \mbox{for $m \neq n$} \\
209E(\bmm{w}(n)\;\bmm{w^T}(n)) & = & \bm{Q}_s(n) ~.
210\esea
211
212Observations $\bmm{l}(n)$ and the state vector $\bmm{x}(n)$ are related to
213each other by the linearized {\em observation equations} of form
214\bdm \label{eq:KF:obseqn}
215 \bmm{l}(n) = \bm{A}\;\bmm{x}(n) + \bmm{v}(n) ~ ,
216\edm
217where $\bm{A}$ is a known matrix (the so-called {\em first-design matrix}) and
218$\bmm{v}(n)$ is a vector of random errors with the following properties:
219\bsea\label{eq:KF:resid}
220E(\bmm{v}) & = & \bmm{0} \\
221E(\bmm{v}(n)\;\bmm{v}^T(m)) & = & \bmm{0} ~~ \mbox{for $m \neq n$} \\
222E(\bmm{v}(n)\;\bmm{v^T}(n)) & = & \bm{Q}_l(n) ~.
223\esea
224
225\end{small}
226
227\end{frame}
228
229%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
230
231\begin{frame}
232\frametitle{Classical KF Form}
233
234Minimum Mean Square Error (MMSE) estimate $\widehat{\bmm{x}}(n)$ of vector
235$\bmm{x}(n)$ meets the condition
236$E\left((\bmm{x} - \widehat{\bmm{x}})(\bmm{x} - \widehat{\bmm{x}})^T\right) =
237\mbox{min}$ and is given by
238\begin{subeqnarray}\label{eq:KF:prediction}
239 \widehat{\bmm{x}}^-(n) & = & \bmm{\Phi} \widehat{\bmm{x}}(n-1) \\
240 \bm{Q}^-(n) & = & \bmm{\Phi} \bm{Q}(n-1) \bmm{\Phi}^T +
241 \bmm{\Gamma} \bm{Q}_s(n) \bmm{\Gamma}^T
242\end{subeqnarray}
243\begin{subeqnarray}\label{eq:KF:update}
244 \widehat{\bmm{x}}(n) & = & \widehat{\bmm{x}}^-(n) +
245 \bm{K}\left(\bmm{l} -
246 \bm{A}\widehat{\bmm{x}}(n-1)\right) \\
247 \bm{Q}(n) & = & \bm{Q}^-(n) - \bm{K}\bm{A}\bm{Q}^-(n) ~,
248\end{subeqnarray}
249where
250\bdm \label{eq:KF:KandH}
251 \bm{K} = \bm{Q}^-(n)\bm{A}^T\bm{H}^{-1}, \quad
252 \bm{H} = \bm{Q}_l(n) + \bm{A}\bm{Q}^-(n)\bm{A}^T ~.
253\edm
254Equations (\ref{eq:KF:prediction}) are called {\em prediction},
255equations (\ref{eq:KF:update}) are called {\em update} step of Kalman filter.
256
257\end{frame}
258
259%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
260
261\begin{frame}
262\frametitle{Square-Root Filter} \label{sec:SRF}
263\begin{small}
264Algorithms based on equations (\ref{eq:KF:prediction}) and
265(\ref{eq:KF:update}) may suffer from numerical instabilities that are primarily
266caused by the subtraction in (\ref{eq:KF:update}b). This deficiency may be
267overcome by the so-called {\em square-root} formulation of the Kalman filter
268that is based on the so-called {\em QR-Decomposition}. Assuming the
269Cholesky decompositions
270\be \label{eq:SRF:defsym}
271 \bm{Q}(n) = \bm{S}^{T} \bm{S} , \quad
272 \bm{Q}_l(n) = \bm{S}^T_l \bm{S}_l, \quad
273 \bm{Q}^-(n) = \bm{S}^{-T}\bm{S}^-
274\ee
275we can create the following block matrix and its QR-Decomposition:
276\be \label{eq:SRF:main}
277 \left(\begin{array}{ll}
278 \bm{S}_l & \bm{0} \\
279 \bm{S}^-\bm{A}^T & \bm{S}^-
280 \end{array}\right)
281=
282 N \left(\begin{array}{cc}
283 \bm{X} & \bm{Y} \\
284 \bm{0} & \bm{Z}
285 \end{array}\right) ~ .
286\ee
287It can be easily verified that
288\bsea\label{eq:SRF:HK}
289 \bm{H} & = & \bm{X}^T\bm{X} \\
290 \bm{K}^T & = & \bm{X}^{-1}\bm{Y}\\
291 \bm{S} & = & \bm{Z} \\
292 \bm{Q}(n) & = & \bm{Z}^T\bm{Z} ~ .
293\esea
294State vector $\widehat{\bmm{x}}(n)$ is computed in a usual way using the
295equation (\ref{eq:KF:update}a).
296\end{small}
297\end{frame}
298
299%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
300
301\begin{frame}
302\frametitle{Data Transfer -- NTRIP}
303
304In order to be useful data have to be provided in a well-defined \textcolor{blue}{format}.
305RTCM (Radio Technical Commission for Maritime Services) messages are widely used for GNSS data in
306real-time.
307
308\vspace*{5mm}
309
310In addition to a format the so-called \textcolor{blue}{protocol} has to be defined. Using a given
311protocol the data user communicates with the data provider.
312
313For GNSS data, the so-called \textcolor{blue}{NTRIP} streaming protocol is used.
314\begin{itemize}
315\item NTRIP stands for Networked Transport of RTCM via Internet Protocol.
316\item NTRIP is in principle a layer on top of TCP/IP.
317\item NTRIP has been developed at BKG (together with TU Dortmund).
318\item NTRIP is capable of handling hundreds of data streams simultaneously delivering the data
319to thousands of users.
320\item NTRIP is world-wide accepted.
321\end{itemize}
322
323\end{frame}
324
325%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
326
327\begin{frame}
328\frametitle{NTRIP}
329
330Efficiency of data transfer using NTRIP is achieved thanks to the GNSS Internet Radio /
331IP-Streaming architecture:
332
333\begin{center}
334\includegraphics[width=0.7\textwidth,angle=0]{ntrip.png}
335\end{center}
336
337\end{frame}
338
339%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
340
341\begin{frame}
342\frametitle{BKG Ntrip Client (BNC)}
343
344An important reason why NTRIP has been widely accepted is that BKG provided high-quality public
345license software tools for its usage. One of these tools is the so-called \textcolor{blue}{BKG
346Ntrip Client}.
347
348 \begin{itemize}
349 \item BNC source consists currently of approximately 50.000 lines of code
350 \item approximately 90 \% is C++, 10 \% standard C
351 \item BNC uses a few third-party pieces of software (first of all the RTCM
352 decoders/encoders and a matrix algebra library)
353 \item Qt library is used for
354 \begin{itemize}
355 \item[1.] GUI,
356 \item[2.] networking,
357 \item[3.] threads,
358 \item[4.] containers, streams, files, ...
359 \end{itemize}
360 \end{itemize}
361
362 \begin{block}{BNC is intended to be}
363 \begin{itemize}
364 \item user-friendly
365 \item cross-platform
366 \item easily modifiable (by students, GNSS beginners)
367 \item useful (at least a little bit ...)
368 \end{itemize}
369 \end{block}
370\end{frame}
371
372%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
373
374\begin{frame}
375 \frametitle{BNC source code}
376 Algorithms used in BNC are intended to be
377 \begin{itemize}
378 \item correct, but
379 \item as simple as possible
380 \end{itemize}
381 \begin{center}
382 \hspace*{3cm} \includegraphics[width=0.65\textwidth,angle=0]{kalman.png}
383 \end{center}
384\end{frame}
385
386%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
387
388\begin{frame}
389 \begin{block}{svn archive}
390 BNC source code may be downloaded from the svn archive using a command
391 \begin{itemize}
392 \item[A)] {\tt svn co http://software.rtcm-ntrip.org/svn/trunk/BNC}
393 \end{itemize}
394 or
395 \begin{itemize}
396 \item[B)] {\tt svn co https://software.rtcm-ntrip.org/svn/trunk/BNC}
397 \end{itemize}
398 Option A) is a read-only access. Option B) is for the developers (read-write
399 access). When the source code is downloaded using the {\tt https} (secure
400 protocol) currently two additional sub-directories are retrieved:
401 \begin{itemize}
402 \item combination
403 \item rinex
404 \end{itemize}
405 The sub-directory ``combination'' contains the source code of the BNC module
406 that performs the combination of PPP corrections streams provided by several
407 analysis centers (more about the combination algorithms below).
408
409 The sub-directory ``rinex'' contains the module for the post-processing PPP
410 client that uses the RINEX files as input (this directory is not yet made
411 public because it is still under development).
412 \end{block}
413\end{frame}
414
415%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
416
417\begin{frame}
418 \frametitle{Precise Point Positioning with PPP}
419 \begin{center}
420 \includegraphics[width=0.9\textwidth,angle=0]{ppp1.png}
421 \end{center}
422\end {frame}
423
424%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
425
426\begin{frame}
427 \frametitle{Precise Point Positioning with PPP (cont.)}
428 BNC provides a good framework for the PPP client (observations, orbits, and
429 corrections stand for disposal).
430
431 Main reasons for the PPP module in BNC have been:
432 \begin{itemize}
433 \item monitoring the quality of incoming data streams (primarily the PPP
434 corrections)
435 \item providing a simple easy-to-use tool for the basic PPP positioning
436 \end{itemize}
437
438 The PPP facility in BNC is provided in the hope that it will be useful.
439 \begin{itemize}
440 \item The mathematical model of observations and the adjustment algorithm are
441 implemented in such a way that they are (according to our best knowledge)
442 correct without any shortcomings, however,
443 \item we have preferred simplicity to transcendence, and
444 \item the list of options the BNC users can select is limited.
445 \item[$\Rightarrow$] Commercial PPP clients may outperform BNC in some
446 aspects.
447 \end{itemize}
448 We believe in a possible good coexistence of the commercial software and
449 open source software.
450\end {frame}
451
452%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
453
454\begin{frame}
455 \frametitle{PPP Options}
456 \begin{itemize}
457 \item single station, SPP or PPP
458 \item real-time or post-processing
459 \item processing of code and phase ionosphere-free combinations, GPS,
460 Glonass, and Galileo
461 \end{itemize}
462 \begin{center}
463 \includegraphics[width=0.9\textwidth,angle=0]{ppp_opt1.png} \\[2mm]
464 \includegraphics[width=0.9\textwidth,angle=0]{ppp_opt2.png}
465 \end{center}
466\end {frame}
467
468
469\end{document}
Note: See TracBrowser for help on using the repository browser.