source: ntrip/trunk/BNC/bnchelp.html@ 2714

Last change on this file since 2714 was 2714, checked in by weber, 13 years ago

RINEXv3 header details corrected

File size: 127.6 KB
Line 
1<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
2<h3>BKG Ntrip Client (BNC) Version 2.4 Manual</h3>
3
4<p>
5The BKG Ntrip Client (BNC) is a program for simultaneously retrieving, decoding and converting real-time GNSS data streams from NTRIP broadcasters like <u>http://www.euref-ip.net/home</u> or <u>http://www.igs-ip.net/home</u> or <u>http://products.igs-ip.net/home</u>.
6</p>
7
8<p>
9BNC has been developed for the Federal Agency for Cartography and Geodesy (BKG) within the framework of EUREF's Real-time GNSS Project (EUREF-IP, IP for Internet Protocol) and the Real-Time IGS Pilot Project (RTIGS).
10</p>
11
12<p>
13BNC has been written under GNU General Public License (GPL). Binaries for BNC are available for Windows, 32-bit Linux, 64-bit Linux (compiled under -m32 32-bit compatibility mode), Solaris, and Mac systems. We used the MinGW Version 5.1.3 compiler to create the Windows binary. It is likely that BNC can be compiled on other systems where a GNU compiler and Qt Version 4.5.2 are installed.
14</p>
15
16<p>
17Please ensure that you have installed the latest version of BNC available from <u>http://igs.bkg.bund.de/ntrip/download</u>. We are continuously working on the program and would appreciate if you could send any comments, suggestions, or bug reports to [euref-ip@bkg.bund.de] or [igs-ip@bkg.bund.de].
18</p>
19
20<h3>Contents</h3>
21<p>
22<h4>
23<a href=#purpose>1. Purpose</a><br>
24<a href=#resources>2. Modes &amp; Resources</a><br>
25<a href=#options>3. Settings &amp; Handling</a><br>
26<a href=#limits>4. Limitations &amp; Known Bugs</a><br>
27<a href=#authors>5. Authors</a><br>
28<a href=#annex>6. Annex</a><br>
29</h4>
30</p>
31
32<p><a name="purpose"><h3>1. Purpose</h3></p>
33
34<p> The purpose of BNC is to
35
36<ul>
37<li>retrieve real-time GNSS data streams available through NTRIP transport protocol,</li>
38<li>retrieve real-time GNSS data streams via TCP directly from an IP address without using the NTRIP transport protocol, and/or</li>
39<li>retrieve real-time GNSS data streams from a local UDP or serial port without using the NTRIP transport protocol, and/or</li>
40<li>generate high-rate RINEX Observation and Navigation files to support near real-time GNSS post-processing applications, and/or</li>
41<li>generate ephemeris and synchronized or unsynchronized observations epoch by epoch through an IP port to support real-time GNSS network engines, and/or</li>
42<li>generate clock and orbit corrections to broadcast ephemeris through an IP port to support real-time Precise Point Positioning on GNSS rovers, and/or</li>
43<li>generate synchronized clock and orbit corrections to broadcast ephemeris epoch by epoch through an IP port to support the combination of such streams as coming simultaneously from various correction providers, and/or</li>
44<li>monitor the performance of a network of real-time GNSS data streams to generate advisory notes in case of outages or corrupted streams, and/or</li>
45<li>scan RTCM streams for incoming antenna information as well as message types and their repetition rates, and/or</li>
46<li>feed a stream into a GNSS receiver via serial communication link, and/or</li>
47<li>carry out a real-time Precise Point Positioning to determine a GNSS rover position.</li>
48</ul>
49</p>
50
51<p>
52BNC mainly supports decoding the following GNSS stream formats and message types:
53</p>
54<p>
55<ul>
56<li>RTCM Version 2.x containing message types 18 and 19 or 20 and 21 together with 3 and 22 (GPS and GLONASS), </li>
57<li>RTCM Version 3.x containing message types</li>
58<ul>
59<li>1002, 1004 (GPS, SBAS, observations)</li>
60<li>1010, 1012 (GLONASS, observations)</li>
61<li>1019, 1020 (GPS, GLONASS, ephemeris)</li>
62<li>1057-1068 (proposed State Space Representation messages for GPS and GLONASS ephemeris correctors)</li>
63<li> 1071-1077, 1081-1087, 1091-1097 (proposed 'Multiple Signal Messages' (MSM) for GPS, GLONASS and Galileo observations).</li>
64</ul>
65<li>RTIGS containing GPS record types 200 (observations) and 300 (ephemeris).</li>
66</ul>
67BNC allows to by-pass its decoding and conversion algorithms, leave whatever is received untouched and save it in files.
68</p>
69
70<p>
71The first of the following figures shows a flow chart of BNC connected to a GNSS receiver via serial or TCP communication link for the pupose of Precise Point Positioning. The second figure shows the conversion of RTCM streams to RINEX batches. The third figure shows a flow chart of BNC feeding a real-time GNSS engine. The engine then estimates satellite orbit and clock correctors. The 'BKG Ntrip Server' (BNS) is used in this scenario to encode correctors to RTCMv3.
72</p>
73<p><img src=":bnchelp/screenshot10.png"/></p>
74<p><u>Figure:</u> Flowchart, BNC connected to a GNSS receiver for Precise Point Positioning.</p>
75
76<p>
77</p>
78<p><img src=":bnchelp/screenshot01.png"/></p>
79<p><u>Figure:</u> Flowchart, BNC converting RTCM streams to RINEX batches.</p>
80
81<p>
82</p>
83<p><img src=":bnchelp/screenshot02.png"/></p>
84<p><u>Figure:</u> Flowchart, BNC feeding a real-time GNSS engine.</p>
85
86
87<p><a name="resources"><h3>2. Modes &amp; Resources</h3></p>
88<p>
89Although BNC is a real-time tool to be operated in online mode, it can be run offline for post-processing of data made availabe from a single file. Furthermore, apart from its regular window mode, BNC can be run as a batch/background job in a 'no window' mode using processing options from a previously saved configuration.
90</p>
91<p>
92Unless in offline mode, BNC
93</p>
94<ul>
95<li>requires access to the Internet with a minimum of about 2 to 6 kbits/sec per stream depending on the stream format and the number of visible satellites. You need to make sure that the connection can sustain the required bandwidth.</li>
96<li>requires the clock of the host computer to be properly synchronized.</li>
97<li>has the capacity to retrieve hundreds of GNSS data streams simultaneously. Please be aware that such usage may incur a heavy load on the NTRIP broadcaster side depending on the number of streams requested. We recommend limiting the number of streams where possible to avoid unnecessary workload.</li>
98</ul>
99</p>
100
101<p>
102The main window of BNC shows a top menu bar section, a sections for tabs to set processing options, a 'Streams' section and a section for 'Log' tabs, and a bottom menu bar section, see figure below.
103</p>
104<p><img src=":bnchelp/screenshot09.png"/></p>
105<p><u>Figure:</u> Sections on BNC's main window.</p>
106
107
108<p><a name="options"><h3>3. Settings &amp; Handling</h3></p>
109<p>
110This chapter describes BNC's settings and how to handle the program. It explains the top menu bar, the processing options, the 'Streams' and 'Log' sections, and the bottom menu bar.
111</p>
112
113<p>
114The usual handling of BNC is that you first select a number of streams ('Add Stream'). Any stream configured to BNC shows up on the 'Streams' canvas in the middle of BNC's main window. You then go through BNC's various configuration tabs to select a combination of input, processing and output options before you start the program ('Start'). Records of BNC's activities are shown in the 'Log' tab. The bandwidth consumption per stream, the latency of incoming observations and PPP time series for coordinate components are shown in the 'Throughput', 'Latency' and 'PPP Plot' tabs of the main window.
115</p>
116<p>
117As a default, configuration files for running BNC on Unix/Linux/Mac systems are saved in directory '${HOME}/.config/BKG'. On Windows systems, they are typically saved in directory 'C:/Documents and Settings/Username/.config/BKG'. The default configuration file name is 'BNC.ini'.</p>
118<p>
119The default file name 'BNC.ini' can be changed and the file contents can easily be edited. On graphical user interfaces it is possible to Drag &amp; Drop a configuration file icon to start BNC (not on Mac systems). Some configuration options can be changed on-the-fly. See annexed 'Configuration Example' for a complete set of configuration options.
120</p>
121<p>
1223.1. <a href=#topmenu>Top Menu Bar</a><br>
1233.1.1 <a href=#file>File</a><br>
1243.1.2 <a href=#help>Help</a><br><br>
1253.2. <a href=#proxy>Proxy</a><br>
1263.3. <a href=#general>General</a><br>
127&nbsp; &nbsp; &nbsp; 3.3.1. <a href=#genlog>Logfile</a><br>
128&nbsp; &nbsp; &nbsp; 3.3.2. <a href=#genapp>Append Files</a><br>
129&nbsp; &nbsp; &nbsp; 3.3.3. <a href=#genconf>Reread Configuration</a><br>
130&nbsp; &nbsp; &nbsp; 3.3.4. <a href=#genstart>Auto Start</a><br>
131&nbsp; &nbsp; &nbsp; 3.3.5. <a href=#rawout>Raw Output File</a><br>
1323.4. <a href=#rinex>RINEX Observations</a><br>
133&nbsp; &nbsp; &nbsp; 3.4.1. <a href=#rnxname>File Names</a><br>
134&nbsp; &nbsp; &nbsp; 3.4.2. <a href=#rnxdir>Directory</a><br>
135&nbsp; &nbsp; &nbsp; 3.4.3. <a href=#rnxinterval>File Interval</a><br>
136&nbsp; &nbsp; &nbsp; 3.4.4. <a href=#rnxsample>Sampling</a><br>
137&nbsp; &nbsp; &nbsp; 3.4.5. <a href=#rnxskl>Skeleton Extension</a><br>
138&nbsp; &nbsp; &nbsp; 3.4.6. <a href=#rnxscript>Script</a><br>
139&nbsp; &nbsp; &nbsp; 3.4.7. <a href=#rnxvers>Version</a><br>
1403.5. <a href=#ephemeris>RINEX Ephemeris</a><br>
141&nbsp; &nbsp; &nbsp; 3.5.1. <a href=#ephdir>Directory</a><br>
142&nbsp; &nbsp; &nbsp; 3.5.2. <a href=#ephint>Interval</a><br>
143&nbsp; &nbsp; &nbsp; 3.5.3. <a href=#ephport>Port</a><br>
144&nbsp; &nbsp; &nbsp; 3.5.4. <a href=#ephvers>Version</a><br>
1453.6. <a href=#correct>Broadcast Corrections</a><br>
146&nbsp; &nbsp; &nbsp; 3.6.1. <a href=#corrdir>Directory</a><br>
147&nbsp; &nbsp; &nbsp; 3.6.2. <a href=#corrint>Interval</a><br>
148&nbsp; &nbsp; &nbsp; 3.6.3. <a href=#corrport>Port</a><br>
149&nbsp; &nbsp; &nbsp; 3.6.4. <a href=#corrwait>Wait for Full Epoch</a><br>
1503.7. <a href=#syncout>Feed Engine</a><br>
151&nbsp; &nbsp; &nbsp; 3.7.1. <a href=#syncport>Port</a><br>
152&nbsp; &nbsp; &nbsp; 3.7.2. <a href=#syncwait>Wait for Full Epoch</a><br>
153&nbsp; &nbsp; &nbsp; 3.7.3. <a href=#syncsample>Sampling</a><br>
154&nbsp; &nbsp; &nbsp; 3.7.4. <a href=#syncfile>File</a><br>
155&nbsp; &nbsp; &nbsp; 3.7.5. <a href=#syncuport>Port (unsynchronized)</a><br>
1563.8. <a href=#serial>Serial Output</a><br>
157&nbsp; &nbsp; &nbsp; 3.8.1. <a href=#sermount>Mountpoint</a><br>
158&nbsp; &nbsp; &nbsp; 3.8.2. <a href=#serport>Port Name</a><br>
159&nbsp; &nbsp; &nbsp; 3.8.3. <a href=#serbaud>Baud Rate</a><br>
160&nbsp; &nbsp; &nbsp; 3.8.4. <a href=#serflow>Flow Control</a><br>
161&nbsp; &nbsp; &nbsp; 3.8.5. <a href=#serparity>Parity</a><br>
162&nbsp; &nbsp; &nbsp; 3.8.6. <a href=#serdata>Data Bits</a><br>
163&nbsp; &nbsp; &nbsp; 3.8.7. <a href=#serstop>Stop Bits</a><br>
164&nbsp; &nbsp; &nbsp; 3.8.8. <a href=#serauto>NMEA</a><br>
165&nbsp; &nbsp; &nbsp; 3.8.9. <a href=#serfile>File</a><br>
166&nbsp; &nbsp; &nbsp; 3.8.10. <a href=#serheight>Height</a><br>
1673.9. <a href=#advnote>Outages</a><br>
168&nbsp; &nbsp; &nbsp; 3.9.1. <a href=#obsrate>Observation Rate</a><br>
169&nbsp; &nbsp; &nbsp; 3.9.2. <a href=#advfail>Failure Threshold</a><br>
170&nbsp; &nbsp; &nbsp; 3.9.3. <a href=#advreco>Recovery Threshold</a><br>
171&nbsp; &nbsp; &nbsp; 3.9.4. <a href=#advscript>Script</a><br>
1723.10. <a href=#misc>Miscellaneous</a><br>
173&nbsp; &nbsp; &nbsp; 3.10.1. <a href=#miscmount>Mountpoint</a><br>
174&nbsp; &nbsp; &nbsp; 3.10.2. <a href=#miscperf>Log Latency</a><br>
175&nbsp; &nbsp; &nbsp; 3.10.3. <a href=#miscscan>Scan RTCM</a><br>
1763.11. <a href=#pppclient>PPP Client</a><br>
177&nbsp; &nbsp; &nbsp; 3.11.1 <a href=#pppmount>Mountpoint</a><br>
178&nbsp; &nbsp; &nbsp; 3.11.2 <a href=#pppopt>Options</a><br>
179&nbsp; &nbsp; &nbsp; 3.11.2.1 <a href=#pppstatic>Static</a><br>
180&nbsp; &nbsp; &nbsp; 3.11.2.2 <a href=#pppphase>Use Phase Obs</a><br>
181&nbsp; &nbsp; &nbsp; 3.11.2.3 <a href=#ppptropo>Estimate Tropo</a><br>
182&nbsp; &nbsp; &nbsp; 3.11.2.4 <a href=#pppglo>Use GLONASS</a><br>
183&nbsp; &nbsp; &nbsp; 3.11.3 <a href=#pppoptcont>Options cont'd</a><br>
184&nbsp; &nbsp; &nbsp; 3.11.3.1 <a href=#pppsigma>Sigma Code</a><br>
185&nbsp; &nbsp; &nbsp; 3.11.3.2 <a href=#pppaverage>Averaging</a><br>
186&nbsp; &nbsp; &nbsp; 3.11.4 <a href=#ppporigin>Origin</a><br>
187&nbsp; &nbsp; &nbsp; 3.11.5 <a href=#pppnmeaout>NMEA</a><br>
188&nbsp; &nbsp; &nbsp; 3.11.5.1 <a href=#pppnmeafile>File</a><br>
189&nbsp; &nbsp; &nbsp; 3.11.5.2 <a href=#pppnmeaport>Port</a><br><br>
1903.12. <a href=#streams>Streams</a><br>
191&nbsp; &nbsp; &nbsp; 3.12.1 <a href=#streamedit>Edit Streams</a><br>
192&nbsp; &nbsp; &nbsp; 3.12.2 <a href=#streamdelete>Delete Stream</a><br>
193&nbsp; &nbsp; &nbsp; 3.12.3 <a href=#streamconf>Reconfigure Streams On-the-fly</a><br><br>
1943.13. <a href=#logs>Logging</a><br>
195&nbsp; &nbsp; &nbsp; 3.13.1 <a href=#logfile>Log</a><br>
196&nbsp; &nbsp; &nbsp; 3.13.2 <a href=#throughput>Throughput</a><br>
197&nbsp; &nbsp; &nbsp; 3.13.3 <a href=#latency>Latency</a><br>
198&nbsp; &nbsp; &nbsp; 3.13.4 <a href=#ppptab>PPP Plot</a><br><br>
1993.14. <a href=#bottom>Bottom Menu Bar</a><br>
200&nbsp; &nbsp; &nbsp; 3.14.1. <a href=#streamadd>Add Stream - Coming from Caster</a><br>
201&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 3.14.1.1 <a href=#streamhost>Caster Host and Port</a><br>
202&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 3.14.1.2 <a href=#streamtable>Casters Table</a><br>
203&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 3.14.1.3 <a href=#streamuser>User and Password</a><br>
204&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 3.14.1.4 <a href=#gettable>Get Table</a><br>
205&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 3.14.1.5 <a href=#ntripv>NTRIP Version</a><br>
206&nbsp; &nbsp; &nbsp; 3.14.2 <a href=#streamip>Add Stream - Coming from TCP/IP Port</a><br>
207&nbsp; &nbsp; &nbsp; 3.14.3 <a href=#streamudp>Add Stream - Coming from UDP Port</a><br>
208&nbsp; &nbsp; &nbsp; 3.14.4 <a href=#streamser>Add Stream - Coming from Serial Port</a><br>
209&nbsp; &nbsp; &nbsp; 3.14.5 <a href=#start>Start</a><br>
210&nbsp; &nbsp; &nbsp; 3.14.6 <a href=#stop>Stop</a><br><br>
2113.15. <a href=#cmd>Command Line Options</a><br>
212&nbsp; &nbsp; &nbsp; 3.15.1. <a href=#nw>No Window Mode</a><br>
213&nbsp; &nbsp; &nbsp; 3.15.2. <a href=#post>Offline Mode</a><br>
214&nbsp; &nbsp; &nbsp; 3.15.3. <a href=#conffile>Configuration File</a><br>
215</p>
216
217<p><a name="topmenu"><h4>3.1. Top Menu Bar</h4></p>
218<p>
219The top menu bar allows to select a font for the BNC windows, save configured options or quit the program execution. It also provides access to a program documentation.
220</p>
221
222<p><a name="file"><h4>3.1.1 File</h4></p>
223
224<p>
225The 'File' button lets you
226<ul>
227<li> select an appropriate font.<br>
228Use smaller font size if the BNC main window exceeds the size of your screen.
229</li>
230<li> save selected options in configuration file.<br>
231When using 'Save &amp; Reread Configuration' while BNC is already processing data, some configuration options become immediately effective on-the-fly without interrupting uninvolved threads. See annexed section 'Configuration Example' for a list of on-the-fly changeable configuration options.
232</li>
233<li> quit the BNC program.
234</li>
235</ul>
236</p>
237
238<p><a name="help"><h4>3.1.2 Help</h4></p>
239
240<p>
241The 'Help' button provides access to
242<ul>
243<li>
244help contents.<br>
245You may keep the 'Help Contents' window open while configuring BNC.
246</li>
247<li>
248a 'Flow Chart' showing BNC linked to a real-time GNSS network engine such as RTNet.
249</li>
250<li>
251general information about BNC.<br>
252Close the 'About BNC' window to continue working with BNC.
253</li>
254</ul>
255</p>
256<p>
257BNC comes with a help system providing online information about its functionality and usage. Short descriptions are available for any widget. Focus to the relevant widget and press Shift+F1 to request help information. A help text appears immediately; it disappears as soon as the user does something else. The dialogs on some operating systems may provide a &quot;?&quot; button that users can click; they then click the relevant widget to pop up the help text.
258</p>
259
260<p><a name="proxy"><h4>3.2. Proxy - for usage in a protected LAN</h4></p>
261
262<p>
263If you are running BNC within a protected Local Area Network (LAN), you might need to use a proxy server to access the Internet. Enter your proxy server IP and port number in case one is operated in front of BNC. If you don't know the IP and port of your proxy server, check the proxy server settings in your Internet browser or ask your network administrator.</p>
264<p>
265Note that IP streaming is often not allowed in a LAN. In this case you need to ask your network administrator for an appropriate modification of the local security policy or for the installation of a TCP relay to the NTRIP broadcasters. If these are not possible, you might need to run BNC outside your LAN on a host that has unobstructed connection to the Internet.
266</p>
267<p><a name="general"><h4>3.3. General</h4></p>
268<p>
269The following defines general settings for BNC's logfile, file handling, reconfiguration on-the-fly, and auto-start.
270</p>
271
272<p><a name="genlog"><h4>3.3.1 Logfile - optional</h4></p>
273<p>
274Records of BNC's activities are shown in the 'Log' tab on the bottom of the main window. These logs can be saved into a file when a valid path is specified in the 'Logfile (full path)' field. The logfile name will automatically be extended by a string '_YYMMDD' carrying the current date. This leads to series of daily logfiles when running BNC continuously for extended. Message logs cover the communication status between BNC and the NTRIP broadcaster as well as problems that may occur in the communication link, stream availability, stream delay, stream conversion etc. All times are given in UTC. The default value for 'Logfile (full path)' is an empty option field, meaning that BNC logs will not saved into a file.
275</p>
276
277<p><a name="genapp"><h4>3.3.2 Append Files - optional</h4></p>
278<p>
279When BNC is started, new files are created by default and any existing files with the same name will be overwritten. However, users might want to append existing files following a restart of BNC, a system crash or when BNC crashed. Tick 'Append files' to continue with existing files and keep what has been recorded so far. Note that option 'Append files' affects all types of files created by BNC.
280</p>
281
282<p><a name="genconf"><h4>3.3.3 Reread Configuration - optional</h4></p>
283<p>
284When operating BNC online in 'no window' mode (command line option -nw), some configuration options can nevertheless be changed on-the-fly without interrupting the running process. For that you force the program to reread parts of its configuration in pre-defined intervals from the disk. Select '1 min', '1 hour', or '1 day' to let BNC reread on-the-fly changeable configuration options every full minute, hour, or day. This lets in between edited options become effective without interrupting uninvolved threads. See annexed section 'Configuration Example' for a configuration file example and a list of on-the-fly changeable options.
285</p>
286
287<p><a name="genstart"><h4>3.3.4 Auto Start - optional</h4></p>
288<p>
289You may like to auto-start BNC at startup time in window mode with pre-assigned configuration options. This may be required i.e. immediately after booting your system. Tick 'Auto start' to supersede the usage of the 'Start' button. Make sure that you maintain a link to BNC for that in your Autostart directory (Windows systems) or call BNC in a script below directory /etc/init.d (Unix/Linux/Mac systems).
290</p>
291<p>
292 See BNC's command line option -nw for an auto-start of BNC in 'no window' mode.
293</p>
294
295<p><a name="rawout"><h4>3.3.5 Raw Output File - optional</h4></p>
296<p>
297BNC can save all data coming in through various streams in the received order and format together in one single daily file. This is of importance i.e. when using the PPP option in offline mode where the contents of different streams carrying observations, orbit/clock correctors, and broadcast ephemeris are to be read from one file. Data will be saved in blocks in the received format seperated by ASCII records like (example):
298<pre>
2992010-08-03T18:05:28 RTCM3EPH RTCM_3 67
300</pre>
301This example block header tells you that 67 bytes are saved in the data block following this record. The information in this block is encoded in RTCM Version 3.x format, comes from Mountpoint RTCM3EPH and was received at 18:05:29 UTC on 2010-08-03. BNC adds its own time stamps because a complete time reference may not be provided for all incoming observations and epochs.
302</p>
303<p>
304Note that streams in a 'Raw output file' which shall later be used in an offline PPP calculation must all be encoded in the same format.
305</p>
306<p>
307The default value for 'Raw output file (full path)' is an empty option field, meaning that BNC will not save raw data into a daily file.
308</p>
309
310<p><a name="rinex"><h4>3.4. RINEX Observations</h4></p>
311<p>
312Observations will be converted to RINEX if they come in either RTCM Version 2.x, RTCM Version 3.x, or RTIGS format. BNC's RINEX Version 2 observation files generally contain C1, P1, L1, S1, C2, P2, L2 and S2 observations. RINEX Version 3 observation files generally contain the following observation types:
313<ul>
314<li>For GPS satellites, 'G': C1C L1C D1C S1C C1W L1W D1W S1W C2P L2P D2P S2P C2X L2X D2X S2X C5 L5 D5 S5</li>
315<li>For GLONASS satellites, 'R': C1C L1C D1C S1C C1P L1P D1P S1P C2P L2P D2P S2P C2C L2C D2C S2C</li>
316<li>For Geostationary signal payloads, 'S': C1C L1C D1C S1C C1W L1W D1W S1W</li>
317<li>For Galileo satellites, 'E': C1 L1 D1 S1 C5 L5 D5 S5</li>
318</ul>
319In case an observation is unavailable, its value is set to zero '0.000'. Note that the 'RINEX TYPE' field in the RINEX Observation file header is always set to 'M(MIXED)' even if the file only contains data from one system.
320</p>
321
322<p>
323The screenshot below shows an example setup of BNC when converting streams to RINEX. Streams are coming in from various NTRIP broadcasters as well as via a plain UDP and a serial communication link. Decoder 'ZERO' has been selected for one stream to not convert its contents but save it in original format.
324</p>
325<p><img src=":bnchelp/screenshot16.png"/></p>
326<p><u>Figure:</u> BNC translating incoming streams to 15 min RINEX Version 3 files.</p>
327
328<p><a name="rnxname"><h4>3.4.1 RINEX File Names</h4></p>
329<p>
330RINEX file names are derived by BNC from the first 4 characters of the corresponding stream's mountpoint (4Char Station ID). For example, data from mountpoints FRANKFURT and WETTZELL will have hourly RINEX Observation files named</p>
331<p>
332FRAN{ddd}{h}.{yy}O<br>
333WETT{ddd}{h}.{yy}O
334</p>
335<p>
336where 'ddd' is the day of year, 'h' is a letter which corresponds to an hour long UTC time block and 'yy' is the year.
337</p>
338<p>
339If there are more than one stream with identical 4Char Station ID (same first 4 characters for their mountpoints), the mountpoint strings are split into two sub-strings and both become part of the RINEX file name. For example, when simultaneously retrieving data from mountpoints FRANKFURT and FRANCE, their hourly RINEX Observation files are named as</p>
340<p>
341FRAN{ddd}{h}_KFURT.{yy}O<br>
342FRAN{ddd}{h}_CE.{yy}O.
343</p>
344<p>
345If several streams show exactly the same mountpoint name (example: BRUS0 from <u>www.euref-ip.net</u> and BRUS0 from <u>www.igs-ip.net</u>), BNC adds an integer number to the file name leading i.e. to hourly RINEX Observation files like</p>
346<p>
347BRUS{ddd}{h}_0.{yy}O<br>
348BRUS{ddd}{h}_1.{yy}O.
349</p>
350<p>
351Note that RINEX file names for all intervals less than 1 hour follow the file name convention for 15 minutes RINEX Observation files i.e.</p>
352<p>
353FRAN{ddd}{h}{mm}.{yy}O
354</p>
355<p>
356where 'mm' is the starting minute within the hour.
357</p>
358
359<p><a name="rnxdir"><h4>3.4.2 Directory - optional</h4></p>
360<p>
361Here you can specify the path to where the RINEX Observation files will be stored. If the specified directory does not exist, BNC will not create RINEX Observation files. Default value for 'Directory' is an empty option field, meaning that no RINEX Observation files will be written.
362</p>
363
364<p><a name="rnxinterval"><h4>3.4.3 File Interval - mandatory if 'Directory' is set</h4></p>
365<p>
366Select the length of the RINEX Observation file generated. The default value is 15 minutes.
367</p>
368
369<p><a name="rnxsample"><h4>3.4.4 Sampling - mandatory if 'Directory' is set </h4></p>
370<p>
371Select the RINEX Observation sampling interval in seconds. A value of zero '0' tells BNC to store all received epochs into RINEX. This is the default value.
372</p>
373
374<p><a name="rnxskl"><h4>3.4.5 Skeleton Extension - optional</h4></p>
375<p>
376Whenever BNC starts generating RINEX Observation files (and then once every day at midnight), it first tries to retrieve information needed for RINEX headers from so-called public RINEX header skeleton files which are derived from sitelogs. A HTTP link to a directory containing these skeleton files may be available through data field number 7 of the affected NET record in the source-table. See <u>http://www.epncb.oma.be:80/stations/log/skl/brus.skl</u> for an example of a public RINEX header skeleton file for the Brussels EPN station.
377</p>
378<p>
379However, sometimes public RINEX header skeleton files are not available, its contents is not up to date, or you need to put additional/optional records in the RINEX header. For that BNC allows using personal skeleton files that contain the header records you would like to include. You can derive a personal RINEX header skeleton file from the information given in an up to date sitelog. A file in the RINEX Observations 'Directory' with a 'Skeleton extension' suffix is interpreted by BNC as a personal RINEX header skeleton file for the corresponding stream.
380</p>
381<p>
382Examples for personal skeleton file name convention: RINEX Observation files for mountpoints WETTZELL, FRANKFURT and FRANCE (same 4Char Station ID), BRUS0 from <u>www.euref-ip.net</u> and BRUS0 from <u>www.igs-ip.net</u> (same 4Char Station ID, identical mountpoint stings) would accept personal skeleton files named</p>
383<p>
384WETT.skl<br>
385FRAN_KFURT.skl<br>
386FRAN_CE.skl<br>
387BRUS_0.skl<br>
388BRUS_1.skl</p>
389<p>
390if 'Skeleton extension' is set to 'skl'.
391</p>
392<p>
393Note the following regulations regarding personal RINEX header skeleton files:
394<ul>
395<li>If such a file exists in the 'RINEX directory', the corresponding public RINEX header skeleton file is ignored. The RINEX header is generated solely from the contents of the personal skeleton.</li>
396<li>Personal skeletons should contain a complete first header record of type</li>
397<br>- &nbsp; RINEX VERSION / TYPE
398<li>They should then contain an empty header record of type</li>
399<br>- &nbsp; PGM / RUN BY / DATE
400<br>BNC will complete this line and include it in the actual RINEX file header.
401<li>They should further contain complete header records of type</li>
402<br>- &nbsp; MARKER NAME
403<br>- &nbsp; OBSERVER / AGENCY
404<br>- &nbsp; REC # / TYPE / VERS
405<br>- &nbsp; ANT # / TYPE
406<br>- &nbsp; APPROX POSITION XYZ
407<br>- &nbsp; ANTENNA: DELTA H/E/N
408<br>- &nbsp; WAVELENGTH FACT L1/2
409<li>They may contain any other optional complete header record as defined in the RINEX documentation.</li>
410<li>They should then contain empty header records of type</li>
411<br>- &nbsp; # / TYPES OF OBSERV
412<br>- &nbsp; TIME OF FIRST OBS
413<br>BNC will include these lines in the final RINEX file header together with an additional
414<br>- &nbsp; COMMENT
415<br>line describing the source of the stream.
416<li>They should finally contain an empty header record of type</li>
417<br>- &nbsp; END OF HEADER (last record)
418</ul>
419<p>
420If neither a public nor a personal RINEX header skeleton file is available for BNC, a default header will be used.
421</p>
422
423<p><a name="rnxscript"><h4>3.4.6 Script - optional</h4></p>
424<p>
425Whenever a RINEX Observation file is saved, you might want to compress, copy or upload it immediately via FTP. BNC allows you to execute a script/batch file to carry out these operations. To do that specify the full path of the script/batch file here. BNC will pass the RINEX Observation file path to the script as a command line parameter (%1 on Windows systems, $1 on Unix/Linux/Mac systems).
426</p>
427<p>
428The triggering event for calling the script or batch file is the end of a RINEX Observation file 'Interval'. If that is overridden by a stream outage, the triggering event is the stream reconnection.
429</p>
430<p>
431As an alternative to initiating file uploads through BNC, you may like to call an upload script or batch file through your crontable or Task Scheduler (independent from BNC) once every 2 or 3 minutes after the end of each RINEX file 'Interval'.
432</p>
433
434<p><a name="rnxvers"><h4>3.4.7 Version - optional</h4></p>
435<p>
436The default format for RINEX Observation files is RINEX Version 2.11. Select 'Version 3' if you would like to save observations in RINEX Version 3 format.
437</p>
438
439<p><a name="ephemeris"><h4>3.5. RINEX Ephemeris</h4></p>
440<p>
441Broadcast ephemeris can be saved as RINEX Navigation files when received via RTCM Version 3.x as message types 1019 (GPS) or 1020 (GLONASS) or 1045 (Galileo) or via RTIGS records type 300. The file name convention follows the details given in section 'RINEX File Names' except that the first four characters are 'BRDC' and the last character is
442</p>
443<ul>
444<li>'N' or 'G' for GPS or GLONASS ephemeris in two separate RINEX Version 2.11 Navigation files, or</li>
445<li>'P' for GPS plus GLONASS ephemeris saved together in one RINEX Version 3 Navigation file.
446</ul>
447
448<p>
449Note that streams dedicated to carry Broadacst Ephemeris messages in RTCM v3 format in high repetition rates are listed on <u>http://igs.bkg.bund.de/ntrip/ephemeris</u>.
450</p>
451
452<p><a name="ephdir"><h4>3.5.1 Directory - optional</h4></p>
453<p>
454Specify the path for saving broadcast ephemeris data as RINEX Navigation files. If the specified directory does not exist, BNC will not create RINEX Navigation files. Default value for Ephemeris 'Directory' is an empty option field, meaning that no RINEX Navigation files will be created.
455</p>
456
457<p><a name="ephint"><h4>3.5.2 Interval - mandatory if 'Directory' is set</h4></p>
458<p>
459Select the length of the RINEX Navigation file generated. The default value is 1 day.
460</p>
461
462<p><a name="ephport"><h4>3.5.3 Port - optional</h4></p>
463<p>
464BNC can output broadcast ephemeris in RINEX Version 3 ASCII format on your local host (IP 127.0.0.1) through an IP 'Port'. This function is introduced in order to support i.e. the 'BKG Ntrip Sate Space Server' (BNS) which transforms IGS clocks and orbits into corrections to broadcast ephemeris. Specify an IP port number to activate this function. The default is an empty option field, meaning that no ASCII ephemeris output via IP port is generated.
465</p>
466<p>
467The source code for BNC comes with an example perl script 'test_bnc_eph.pl' that allows you to read BNC's ASCII ephemeris output from the IP port.
468</p>
469
470<p><a name="ephvers"><h4>3.5.4 Version - optional</h4></p>
471<p>
472Default format for RINEX Navigation files containing broadcast ephemeris is RINEX Version 2.11. Select 'Version 3' if you want to save the ephemeris in RINEX Version 3 format.
473</p>
474<p>
475Note that this does not concern the broadcast ephemeris output through IP port which is always in RINEX Version 3 format.
476</p>
477
478<p><a name="correct"><h4>3.6. Broadcast Corrections</h4></p>
479<p>
480</p>
481RTCM is in the process of developing new Version 3 messages to transport satellite clock and orbit corrections in real-time. Based on the latest available proposal, the following premature so-called 'State Space Representation' (SSR) messages currently under discussion have been implemented in BNC. The information below should not be misunderstood as a programmers guide. Programming efforts would definitely require access to the RTCM documentation of SSR messages.
482<ul>
483<li>Message type 1057: GPS orbit corrections to Broadcast Ephemeris</li>
484<li>Message type 1058: GPS clock corrections to Broadcast Ephemeris</li>
485<li>Message type 1059: GPS code biases</li>
486<li>Message type 1060: Combined orbit and clock corrections to GPS Broadcast Ephemeris</li>
487<li>Message type 1061: GPS User Range Accuracy (URA)</li>
488<li>Message type 1062: High-rate GPS clock corrections to Broadcast Ephemeris</li>
489<li>Message type 1063: GLONASS orbit corrections to Broadcast Ephemeris</li>
490<li>Message type 1064: GLONASS clock corrections to Broadcast Ephemeris</li>
491<li>Message type 1065: GLONASS code biases</li>
492<li>Message type 1066: Combined orbit and clock corrections to GLONASS Broadcast Ephemeris</li>
493<li>Message type 1067: GLONASS User Range Accuracy (URA)</li>
494<li>Message type 1068: High-rate GLONASS clock corrections to Broadcast Ephemeris</li>
495</ul>
496<p>
497RTCM Version 3 streams carrying these messages may be used i.e. to support real-time Precise Point Positioning (PPP) applications.
498</p>
499<p>
500When using clocks from Broadcast Ephemeris (with or without applied corrections) or clocks from SP3 files, it may be important to understand that they are not corrected for the conventional periodic relativistic effect. Chapter 10 of the IERS Conventions 2003 mentions that the conventional periodic relativistic correction to the satellite clock (to be added to the broadcast clock) is computed as dt = -2 (R * V) / c^2 where R * V is the scalar product of the satellite position and velocity and c is the speed of light. This can also be found in the GPS Interface Specification, IS-GPS-200, Revision D, 7 March 2006.
501</p>
502
503<p>
504Orbit corrections are provided in along-track, cross-track and radial components. These components are defined in the Earth-centered, Earth-fixed reference frame of the broadcast ephemerides. For an observer in this frame, the along-track component is aligned in both direction and sign with the velocity vector, the cross-track component is perpendicular to the plane defined by the satellite position and velocity vectors, and the radial direction is perpendicular to the along track and cross-track ones. The three components form a right-handed orthogonal system.
505</p>
506
507<p>
508After applying corrections, the satellite position and clock is referred to the 'ionospheric free' phase center of the antenna which is compatible with the broadcast orbit reference.
509</p>
510
511<p>
512The orbit and clock corrections do not include local effects (like Ocean Loading or Solid Earth Tides) or atmospheric effects (Ionosphere and/or troposphere). Depending on the accuracy of your application you should correct for such effects by other means. There is currently no RTCM SSR message for ionospheric state parameters. Such messages are needed for accurate single frequency applications. The development of Iono messages will be the next step in the schedule of the RTCM State Space Representation Working Group.
513</p>
514
515<p>
516Broadcast Corrections can be saved by BNC in files. The file name convention for Broadcast Correction files follows the convention for RINEX files except for the last character of the file name suffix which is set to &quot;C&quot;.
517</p>
518
519<p>
520Saved files contain blocks of records in plain ASCII format where - separate for GPS, GLONASS, message types, streams, and epochs - the begin of a block is indicated by a line like (examples):
521</p>
522<p>
523! Orbits/Clocks: 30 GPS 0 Glonass CLK11<br>
524or<br>
525! Orbits/Clocks: 0 GPS 19 Glonass CLK11
526<p>
527Such line informs you about the number of records (here 30 and 19) carrying GPS or GLONASS related parameters you should receive next as part of a certain stream.
528</p>
529<p>
530The first five parameters in each broadcast corrections record are:
531</p>
532<p>
533<ul>
534<li>RTCMv3 message type number</li>
535<li>SSR message update interval indicator</li>
536<ul>
537<li>0 = 1 sec</li>
538<li>1 = 2 sec</li>
539<li>2 = 5 sec</li>
540<li>3 = 10 sec</li>
541<li>4 = 15 sec</li>
542<li>5 = 30 sec</li>
543<li>6 = 60 sec</li>
544<li>7 = 120 sec</li>
545<li>8 = 240 sec</li>
546<li>9 = 300 sec</li>
547<li>10 = 600 sec</li>
548<li>11 = 900 sec</li>
549<li>12 = 1800 sec</li>
550<li>13 = 3600 sec</li>
551<li>14 = 7200 sec</li>
552<li>15 = 10800 sec</li>
553</ul>
554<li>GPS Week</li>
555<li>Second in GPS Week</li>
556<li>GNSS Indicator and Satellite Vehicle Pseudo Random Number</li>
557</ul>
558</p>
559<p>
560In case of RTCM message types 1057 or 1063 these parameters are followed by
561</p>
562<p>
563<ul>
564<li>IOD referring to Broadcast Ephemeris set</li>
565<li>Radial Component of Orbit Correction to Broadcast Ephemeris [m]</li>
566<li>Along-track Component of Orbit Correction to Broadcast Ephemeris [m]</li>
567<li>Cross-track Component of Orbit Correction to Broadcast Ephemeris [m]</li>
568<li>Velocity of Radial Component of Orbit Correction to Broadcast Ephemeris [m/s]</li>
569<li>Velocity of Along-track Component of Orbit Correction to Broadcast Ephemeris [m/s]</li>
570<li>Velocity of Cross-track Component of Orbit Correction to Broadcast Ephemeris [m/s]</li>
571<p>
572</ul>
573</p>
574<p>
575Undefined parameters are set to zero &quot;0.000&quot;.<br>Example:
576<pre>
577...
5781057 0 1538 211151.0 G18 1 0.034 0.011 -0.064 0.000 0.000 0.000
5791057 0 1538 211151.0 G16 33 -0.005 0.194 -0.091 0.000 0.000 0.000
5801057 0 1538 211151.0 G22 50 0.008 -0.082 -0.001 0.000 0.000 0.000
581...
5821063 0 1538 211151.0 R09 111 -0.011 -0.014 0.005 0.000 0.000 0.000
5831063 0 1538 211151.0 R10 43 0.000 -0.009 -0.002 0.000 0.000 0.000
5841063 0 1538 211151.0 R21 75 -0.029 0.108 0.107 0.000 0.000 0.000
585...
586</pre>
587<p>
588In case of RTCM message types 1058 or 1064 the first five parameters are followed by
589</p>
590<ul>
591<li>IOD set to zero &quot;0&quot;</li>
592<li>C0 polynomial coefficient for Clock Correction to Broadcast Ephemeris [m]</li>
593<li>C1 polynomial coefficient for Clock Correction to Broadcast Ephemeris [m/s]</li>
594<li>C2 polynomial coefficient for Clock Correction to Broadcast Ephemeris [m/s**2]</li>
595</ul>
596Example:
597</p>
598<pre>
599...
6001058 0 1538 211151.0 G18 0 1.846 0.000 0.000
6011058 0 1538 211151.0 G16 0 0.376 0.000 0.000
6021058 0 1538 211151.0 G22 0 2.727 0.000 0.000
603...
6041064 0 1538 211151.0 R08 0 8.956 0.000 0.000
6051064 0 1538 211151.0 R07 0 14.457 0.000 0.000
6061064 0 1538 211151.0 R23 0 6.436 0.000 0.000
607...
608</pre>
609</p>
610<p>
611In case of RTCM message types 1060 or 1066 the first five parameters are followed by
612<p>
613<ul>
614<li>IOD referring to Broadcast Ephemeris set</li>
615<li>C0 polynomial coefficient for Clock Correction to Broadcast Ephemeris [m]</li>
616<li>Radial Component of Orbit Correction to Broadcast Ephemeris [m]</li>
617<li>Along-track Component of Orbit Correction to Broadcast Ephemeris [m]</li>
618<li>Cross-track Component of Orbit Correction to Broadcast Ephemeris [m]</li>
619<li>C1 polynomial coefficient for Clock Correction to Broadcast Ephemeris [m]</li>
620<li>Velocity of Radial Component of Orbit Correction to Broadcast Ephemeris [m/s]</li>
621<li>Velocity of Along-track Component of Orbit Correction to Broadcast Ephemeris [m/s]</li>
622<li>Velocity of Cross-track Component of Orbit Correction to Broadcast Ephemeris [m/s]</li>
623<li>C2 polynomial coefficient for Clock Correction to Broadcast Ephemeris [m]</li>
624</ul>
625Example:
626</p>
627<pre>
628...
6291060 0 1538 211610.0 G30 82 2.533 0.635 -0.359 -0.598 0.000 0.000 0.000 0.000 0.000
6301060 0 1538 211610.0 G31 5 -4.218 -0.208 0.022 0.002 0.000 0.000 0.000 0.000 0.000
6311060 0 1538 211610.0 G32 28 -2.326 0.977 -0.576 0.142 0.000 0.000 0.000 0.000 0.000
632...
6331066 0 1538 211610.0 R22 27 1.585 2.024 2.615 -2.080 0.000 0.000 0.000 0.000 0.000
6341066 0 1538 211610.0 R23 27 6.277 2.853 4.181 1.304 0.000 0.000 0.000 0.000 0.000
6351066 0 1538 211610.0 R24 27 0.846 1.805 13.095 6.102 0.000 0.000 0.000 0.000 0.000
636...
637</pre>
638</p>
639<p>
640In case of RTCM message types 1059 or 1065 the first five parameters are followed by
641<ul>
642<li>Number of Code Biases</li>
643<li>Indicator to specify the signal and tracking mode</li>
644<li>Code Bias</li>
645<li>Indicator to specify the signal and tracking mode</li>
646<li>Code Bias</li>
647<li>etc.</li>
648</ul>
649Example:
650</p>
651<pre>
652...
6531059 0 1538 211151.0 G18 2 0 -0.010 11 -0.750
6541059 0 1538 211151.0 G16 2 0 -0.040 11 -0.430
6551059 0 1538 211151.0 G22 2 0 -0.630 11 -2.400
656...
657</pre>
658
659<p><a name="corrdir"><h4>3.6.1 Directory - optional</h4></p>
660<p>
661Specify a directory for saving Broadcast Corrections in files. If the specified directory does not exist, BNC will not create Broadcast Correction files. Default value for Broadcast Corrections 'Directory' is an empty option field, meaning that no Broadcast Correction files will be created.
662</p>
663
664<p><a name="corrint"><h4>3.6.2 Interval - mandatory if 'Directory' is set</h4></p>
665<p>
666Select the length of the Broadcast Correction files. The default value is 1 day.
667</p>
668
669<p><a name="corrport"><h4>3.6.3 Port - optional</h4></p>
670<p>
671BNC can output epoch by epoch synchronized Broadcast Corrections in ASCII format on your local host (IP 127.0.0.1) through an IP 'Port'. Specify an IP port number to activate this function. The default is an empty option field, meaning that no Broadcast Correction output via IP port is generated.
672</p>
673<p>
674The output format equals the format used for saving Broadcast Corrections in a file with the exception that the Mountpoint is added at each line's end.
675</p>
676<p>
677The following is an example output for streams from Mountpoints RTCMSSR, CLK10 and CLK11:
678<pre>
679...
6801057 0 1538 211151.0 G18 1 0.034 0.011 -0.064 0.000 0.000 0.000 RTCMSSR
6811057 0 1538 211151.0 G16 33 -0.005 0.194 -0.091 0.000 0.000 0.000 RTCMSSR
6821057 0 1538 211151.0 G22 50 0.008 -0.082 -0.001 0.000 0.000 0.000 RTCMSSR
683...
6841058 0 1538 211151.0 G18 0 1.846 0.000 RTCMSSR
6851058 0 1538 211151.0 G16 0 0.376 0.000 RTCMSSR
6861058 0 1538 211151.0 G22 0 2.727 0.000 RTCMSSR
687...
6881059 0 1538 211151.0 G18 2 0 -0.010 11 -0.750 RTCMSSR
6891059 0 1538 211151.0 G16 2 0 -0.040 11 -0.430 RTCMSSR
6901059 0 1538 211151.0 G22 2 0 -0.630 11 -2.400 RTCMSSR
691...
6921063 0 1538 211151.0 R09 111 -0.011 -0.014 0.005 0.0000 0.000 0.000 RTCMSSR
6931063 0 1538 211151.0 R10 43 0.000 -0.009 -0.002 0.0000 0.000 0.000 RTCMSSR
6941063 0 1538 211151.0 R21 75 -0.029 0.108 0.107 0.0000 0.000 0.000 RTCMSSR
695...
6961064 0 1538 211151.0 R08 0 8.956 0.000 RTCMSSR
6971064 0 1538 211151.0 R07 0 14.457 0.000 RTCMSSR
6981064 0 1538 211151.0 R23 0 6.436 0.000 RTCMSSR
699...
7001066 0 1538 211610.0 R24 27 0.846 1.805 13.095 6.102 0.000 0.000 0.000 0.000 0.000 CLK11
7011066 0 1538 211610.0 R23 27 6.277 2.853 4.181 1.304 0.000 0.000 0.000 0.000 0.000 CLK11
7021066 0 1538 211610.0 R22 27 1.585 2.024 2.615 -2.080 0.000 0.000 0.000 0.000 0.000 CLK11
703...
7041060 0 1538 211610.0 G32 28 -2.326 0.977 -0.576 0.142 0.000 0.000 0.000 0.000 0.000 CLK10
7051060 0 1538 211610.0 G31 5 -4.218 -0.208 0.022 0.002 0.000 0.000 0.000 0.000 0.000 CLK10
7061060 0 1538 211610.0 G30 82 2.533 0.635 -0.359 -0.598 0.000 0.000 0.000 0.000 0.000 CLK10
707...
708</pre>
709</p>
710<p>
711The source code for BNC comes with an example perl script 'test_bnc_eph.pl' that allows you to read BNC's Broadcast Corrections from the IP port.
712</p>
713
714<p><a name="corrwait"><h4>3.6.4 Wait for Full Epoch - mandatory if 'Port' is set</h4></p>
715<p>
716When feeding a real-time GNSS network engine waiting epoch by epoch for synchronized Broadcast Corrections, BNC drops (only concerning IP port output) whatever is received later than 'Wait for full epoch' seconds. A value of 2 to 5 seconds could be an appropriate choice for that, depending on the latency of the incoming Broadcast Corrections stream and the delay acceptable by your application. A message such as &quot;COCK1: Correction overaged by 5 sec&quot; shows up in BNC's logfile if 'Wait for full epoch' is exceeded.
717</p>
718
719<p><a name="syncout"><h4>3.7. Feed Engine</h4></p>
720<p>
721BNC can generate synchronized or unsynchronized observations epoch by epoch from all stations and satellites to feed a real-time GNSS network engine. The output can be produced in a binary format through an IP port and/or a plain ASCII format to save the observations in a local file. Following StationID, GPSWeek, GPSWeekSeconds and SV-PRN it comprises the following observations where available:
722<ul>
723<li>For GPS satellites, 'G': C1C L1C D1C S1C C1W L1W D1W S1W C2P L2P D2P S2P C2X L2X D2X S2X C5 L5 D5 S5</li>
724<li>For GLONASS satellites, 'R': C1C L1C D1C S1C C1P L1P D1P S1P C2P L2P D2P S2P C2C L2C D2C S2C</li>
725<li>For Geostationary signal payloads, 'S': C1C L1C D1C S1C C1W L1W D1W S1W</li>
726<li>For Galileo satellites, 'E': C1 L1 D1 S1 C5 L5 D5 S5</li>
727</ul>
728In case an observation is not available, its value is set to zero '0.000'.
729</p>
730
731<p>The binary output is a continuous stream in the following order:</p>
732<pre>
733begEpoch
734t_obsInternal
735t_obsInternal
736...
737t_obsInternal
738endEpoch
739begEpoch
740t_obsInternal
741...
742</pre>
743
744<p>The corresponding structures are defined as follow:</p>
745<pre>
746 const char begEpoch[] = &quot;BEGEPOCH&quot;;
747 const char endEpoch[] = &quot;ENDEPOCH&quot;;
748...
749...
750class t_obsInternal {
751 public:
752 int flags;
753 char StatID[20+1]; // Station ID
754 char satSys; // Satellite System ('G' for GPS or 'R' for GLONASS or 'S' for Geostationary signal payload)
755 int satNum; // Satellite Number (PRN for GPS NAVSTAR)
756 int slot; // Slot Number (for Glonass)
757 int GPSWeek; // Week of GPS-Time
758 double GPSWeeks; // Second of Week (GPS-Time)
759 double C1; // CA-code pseudorange (meters)
760 double C2; // CA-code pseudorange (meters)
761 double P1; // P1-code pseudorange (meters)
762 double P2; // P2-code pseudorange (meters)
763 double L1; // L1 carrier phase (cycles)
764 double L2; // L2 carrier phase (cycles)
765 int slip_cnt_L1; // L1 cumulative loss of continuity indicator (negative value = undefined)
766 int slip_cnt_L2; // L2 cumulative loss of continuity indicator (negative value = undefined)
767 int lock_timei_L1; // L1 last lock time indicator (negative value = undefined)
768 int lock_timei_L2; // L2 last lock time indicator (negative value = undefined)
769 double S1; // L1 signal-to noise ratio
770 double S2; // L2 signal-to noise ratio
771 int SNR1; // L1 signal-to noise ratio (mapped to integer)
772 int SNR2; // L2 signal-to noise ratio (mapped to integer)
773};
774</pre>
775
776<p>
777The source code for BNC comes with an example program called 'test_bnc_qt.cpp' that allows you to read BNC's (synchronized or unsynchronized) binary observation output from the IP port and print the observations in a plain ASCII format on standard output.
778</p>
779<p>
780Note that any socket connection of an application to BNC's synchronized or unsynchronized observations ports is recorded in the 'Log' tab on the bottom of the main window together with a connection counter, resulting in log records like 'New client connection on sync/usync port: # 1'.
781</p>
782
783<p>
784The following figure shows the screenshot of a BNC configuration where a number if streams is pulled from different NTRIP broadcasters to feed a GNSS engine via IP port output.
785</p>
786<p><img src=":bnchelp/screenshot12.png"/></p>
787<p><u>Figure:</u> Synchronized BNC output via IP port to feed a GNSS real-time engine.</p>
788
789<p><a name="syncport"><h4>3.7.1 Port - optional</h4></p>
790<p>
791BNC can produce synchronized observations in binary format on your local host (IP 127.0.0.1) through an IP 'Port'. Synchronized means that BNC collects all data for any specific epoch which become available within a certain number of latency seconds (see 'Wait for Full Epoch' option). It then - epoch by epoch - outputs whatever has been received. Specify an IP port number here to activate this function. The default is an empty option field, meaning that no binary synchronized output is generated.</p>
792</p>
793
794<p><a name="syncwait"><h4>3.7.2 Wait for Full Epoch - mandatory if 'Port' is set</h4></p>
795<p>
796When feeding a real-time GNSS network engine waiting for synchronized input epoch by epoch, BNC drops whatever is received later than 'Wait for full epoch' seconds. A value of 3 to 5 seconds could be an appropriate choice for that, depending on the latency of the incoming streams and the delay acceptable for your real-time GNSS product. Default value for 'Wait for full epoch' is 5 seconds.
797</p>
798<p>
799Note that 'Wait for full epoch' does not effect the RINEX Observation file content. Observations received later than 'Wait for full epoch' seconds will still be included in the RINEX Observation files.
800</p>
801
802<p><a name="syncsample"><h4>3.7.3 Sampling - mandatory if 'File' or 'Port' is set</h4></p>
803<p>
804Select the synchronized observation output sampling interval in seconds. A value of zero '0' tells BNC to send/store all received epochs. This is the default value.
805</p>
806
807<p><a name="syncfile"><h4>3.7.4 File - optional</h4></p>
808<p>
809Specifies the full path to a 'File' where synchronized observations are saved in plain ASCII format. The default value is an empty option field, meaning that no ASCII output file is created.
810</p>
811<p>
812Beware that the size of this file can rapidly increase depending on the number of incoming streams. This option is primarily meant for testing and evaluation.
813</p>
814
815<p><a name="syncuport"><h4>3.7.5 Port (unsynchronized) - optional</h4></p>
816<p>
817BNC can produce unsynchronized observations from all configured streams in binary format on your local host (IP 127.0.0.1) through an IP 'Port'. Unsynchronized means that BNC immediately forwards any received observation to the port. Specify an IP port number here to activate this function. The default is an empty option field, meaning that no binary unsynchronized output is generated.</p>
818<p>
819
820<p><a name="serial"><h4>3.8. Serial Output</h4></p>
821<p>
822You may use BNC to feed a serial connected device like an GNSS receiver. For that one of the incoming streams can be forwarded to a serial port. The following figure shows the screenshot of an example situation where BNC pulls a VRS stream from an NTRIP broadcaster to feed a serial connected rover.
823</p>
824</p>
825<p><img src=":bnchelp/screenshot11.png"/></p>
826<p><u>Figure:</u> BNC pulling a VRS stream to feed a serial connected rover.</p>
827
828<p><a name="sermount"><h4>3.8.1 Mountpoint - optional</h4></p>
829<p>
830Enter a 'Mountpoint' to forward its corresponding stream to a serial connected GNSS receiver.
831</p>
832<p>
833When selecting the serial communication options listed below, make sure that you pick those configured to the serial connected receiver.
834</p>
835
836<p><a name="serport"><h4>3.8.2 Port Name - mandatory if 'Mountpoint' is set</h4></p>
837<p>
838Enter the serial 'Port name' selected on your host for communication with the serial connected receiver. Valid port names are
839</p>
840<pre>
841Windows: COM1, COM2
842Linux: /dev/ttyS0, /dev/ttyS1
843FreeBSD: /dev/ttyd0, /dev/ttyd1
844Digital Unix: /dev/tty01, /dev/tty02
845HP-UX: /dev/tty1p0, /dev/tty2p0
846SGI/IRIX: /dev/ttyf1, /dev/ttyf2
847SunOS/Solaris: /dev/ttya, /dev/ttyb
848</pre>
849<p>
850Note that you must plug a serial cable in the port defined here before you start BNC.
851</p>
852
853<p><a name="serbaud"><h4>3.8.3 Baud Rate - mandatory if 'Mountpoint' is set</h4></p>
854<p>
855Select a 'Baud rate' for the serial output link. Note that using a high baud rate is recommended.
856</p>
857
858<p><a name="serflow"><h4>3.8.4 Flow Control - mandatory if 'Mountpoint' is set</h4></p>
859<p>
860Select a 'Flow control' for the serial output link. Note that your selection must equal the flow control configured to the serial connected device. Select 'OFF' if you don't know better.
861</p>
862
863<p><a name="serparity"><h4>3.8.5 Parity - mandatory if 'Mountpoint' is set</h4></p>
864<p>
865Select the 'Parity' for the serial output link. Note that parity is often set to 'NONE'.
866</p>
867
868<p><a name="serdata"><h4>3.8.6 Data Bits - mandatory if 'Mountpoint' is set</h4></p>
869<p>
870Select the number of 'Data bits' for the serial output link. Note that often '8' data bits are used.
871</p>
872
873<p><a name="serstop"><h4>3.8.7 Stop Bits - mandatory if 'Mountpoint' is set</h4></p>
874<p>
875Select the number of 'Stop bits' for the serial output link. Note that often '1' stop bit is used.
876</p>
877
878<p><a name="serauto"><h4>3.8.8 NMEA - mandatory for VRS streams</h4></p>
879<p>
880Select 'Auto' to automatically forward all NMEA-GGA messages coming from your serial connected GNSS receiver to the NTRIP broadcaster and/or save them in a file.
881</p>
882<p>
883Forwarding valid NMEA-GGA messages to the NTRIP broadcaster is required for receiving 'Virtual Reference Station' (VRS) streams. Thus, in case your serial connected receiver is not capable to provide them, the alternative for VRS streams is a 'Manual' simulation of an initial NMEA-GGA message. Its contents is based on the approximate (editable) latitude/longitude from the broadcaster's source-table and an approximate VRS height to be specified.
884</p>
885<p>
886In summary: select 'Manual' only when handling a VRS stream and your serial connected GNSS receiver doesn't generate NMEA-GGA messages. Select 'Auto' otherwise.
887</p>
888
889<p><a name="serfile"><h4>3.8.9 File - optional if 'Auto' NMEA is set</h4></p>
890<p>Specify the full path to a file where NMEA messages coming from your serial connected receiver are saved.
891</p>
892<p><a name="serheight"><h4>3.8.10 Height - mandatory if 'Manual' NMEA is set</h4></p>
893<p>
894Specify an approximate 'Height' above mean sea level in meter for your VRS to simulate an initial NMEA-GGA message. Latitude and longitude for that (editable) are taken from the broadcaster's source-table.
895</p>
896<p>
897This option concerns only 'Virtual Reference Stations' (VRS). Its setting is ignored in case of streams coming from physical reference stations.
898</p>
899
900<p><a name="advnote"><h4>3.9. Outages</h4></p>
901
902<p>
903At various times, the incoming stream might become unavailable or corrupted. In such cases, it is important that the BNC operator and/or the stream providers become aware of the situation so that necessary measures can be taken to restore the stream. Furthermore, continuous attempts to decode corrupted stream(s) can generate unnecessary workload for BNC. Outages and corruptions are handled by BNC as follows:
904</p>
905<p>
906<u>Stream outages:</u> BNC considers a connection to be broken when there are no incoming data detected for more than 20 seconds. When this occurs, BNC will attempt to reconnect at a decreasing rate. It will first try to reconnect with 1 second delay, and again in 2 seconds if the previous attempt failed. If the attempt is still unsuccessful, it will try to reconnect within 4 seconds after the previous attempt and so on. The wait time doubles each time with a maximum wait time of 256 seconds.
907</p>
908<p>
909<u>Stream corruption:</u> Not all bits chunk transfers to BNC's internal decoders return valid observations. Sometimes several chunks might be needed before the next observation can be properly decoded. BNC buffers all the outputs (both valid and invalid) from the decoder for a short time span (size derived from the expected 'Observation rate') and then determines whether a stream is valid or corrupted.
910</p>
911<p>
912Outage and corruption events are reported in the 'Log' tab. They can also be passed on as parameters to a shell script or batch file to generate an advisory note to BNC operator or affected stream providers. This functionality lets users utilize BNC as a real-time performance monitor and alarm system for a network of GNSS reference stations.
913</p>
914
915<p><a name="obsrate"><h4>3.9.1 Observation Rate - mandatory if 'Failure threshold', 'Recovery threshold', and 'Script' is set</h4></p>
916<p>
917BNC can collect all returns (success or failure) coming from a decoder within a certain short time span to then decide whether a stream has an outage or its content is corrupted. This procedure needs a rough a priory estimate of the expected observation rate of the incoming streams.</p><p>An empty option field (default) means that you don't want an explicit information from BNC about stream outages and incoming streams that cannot be decoded.
918</p>
919
920<p><a name="advfail"><h4>3.9.2 Failure Threshold - optional</h4></p>
921<p>
922Event 'Begin_Failure' will be reported if no data is received continuously for longer than the 'Failure threshold' time. Similarly, event 'Begin_Corrupted' will be reported when corrupted data is detected by the decoder continuously for longer than this 'Failure threshold' time. The default value is set to 15 minutes and is recommended so not to innundate user with too many event reports.
923</p>
924<p>
925Note that specifying a value of zero '0' for the 'Failure threshold' will force BNC to report any stream failure immediately. Note also that for using this function you need to specify the 'Observation rate'.
926</p>
927
928<p><a name="advreco"><h4>3.9.3 Recovery Threshold - optional</h4></p>
929<p>
930Once a 'Begin_Failure' or 'Begin_Corrupted' event has been reported, BNC will check for when the stream again becomes available or uncorrupted. Event 'End_Failure' or 'End_Corrupted' will be reported as soon as valid observations are again detected continuously throughout the 'Recovery threshold' time span. The default value is set to 5 minutes and is recommended so not to innundate users with too many event reports.
931</p>
932<p>
933Note that specifying a value of zero '0' for the 'Recovery threshold' will force BNC to report any stream recovery immediately. Note also that for using this function you need to specify the 'Observation rate'.
934</p>
935
936<p><a name="advscript"><h4>3.9.4 Script - optional </h4></p>
937<p>
938As mentioned previously, BNC can trigger a shell script or a batch file to be executed when one of the events described are reported. This script can be used to email an advisory note to network operator or stream providers. To enable this feature, specify the full path to the script or batch file in the 'Script' field. The affected stream's mountpoint and type of event reported ('Begin_Outage', 'End_Outage', 'Begin_Corrupted' or 'End_Corrupted') will then be passed on to the script as command line parameters (%1 and %2 on Windows systems or $1 and $2 on Unix/Linux/Mac systems) together with date and time information.
939</p>
940<p>
941Leave the 'Script' field empty if you do not wish to use this option. An invalid path will also disable this option.
942</p>
943<p>
944Examples for command line parameter strings passed on to the advisory 'Script' are:
945<pre>
946FFMJ0 Begin_Outage 08-02-21 09:25:59
947FFMJ0 End_Outage 08-02-21 11:36:02 Begin was 08-02-21 09:25:59
948</pre>
949Sample script for Unix/Linux/Mac systems:
950<pre>
951#!/bin/bash
952sleep $((60*RANDOM/32767))
953cat | mail -s &quot;NABU: $1&quot; email@address &lt;&lt;!
954Advisory Note to BNC User,
955Please note the following advisory received from BNC.
956Stream: $*
957Regards, BNC
958!
959</pre>
960</p>
961<p>
962Note the sleep command in this script which causes the system to wait for a random period of up to 60 seconds before sending the email. This should avoids overloading your mail server in case of a simultaneous failure of many streams.
963</p>
964
965<p><a name="misc"><h4>3.10. Miscellaneous</h4></p>
966<p>
967This section describes a number of miscellaneous options which can be applied for a single stream (mountpoint) or for all configured streams.
968</p>
969
970<p>
971The following figure shows RTCM message numbers contained in stream 'CONZ0' and the message latencies recorded every 10 seconds.
972</p>
973<p><img src=":bnchelp/screenshot14.png"/></p>
974<p><u>Figure:</u> RTCM message numbers and latencies.</p>
975
976
977<p><a name="miscmount"><h4>3.10.1 Mountpoint - optional </h4></p>
978<p>
979Specify a mountpoint to apply one or several of the 'Miscellaneous' options to the corresponding stream. Enter 'ALL' if you want to apply these options to all configured streams. An empty option field (default) means that you don't want BNC to apply any of these options.
980</p>
981
982<p><a name="miscperf"><h4>3.10.2 Log Latency - optional </h4></p>
983<p>
984 BNC can average latencies per stream over a certain period of GPS time, the 'Log latency' interval. Mean latencies are calculated from the individual latencies of at most one (first incoming) observation or correction to Broadcast Ephemeris per second. The mean latencies are then saved in BNC's logfile. Note that computing correct latencies requires the clock of the host computer to be properly synchronized. Note further that the latencies available from the 'Latency' tab on the bottom of the main window represent individual latencies and not the mean latencies for the logfile.
985</p>
986<p>
987<u>Latency:</u> Latency is defined in BNC by the following equation:
988</p>
989<pre>
990 UTC time provided by BNC's host
991 - GPS time of currently processed epoch
992 + Leap seconds between UTC and GPS time
993 --------------
994 = Latency
995</pre>
996<p>
997<u>Statistics:</u> BNC counts the number of GPS seconds covered by at least one observation. It also estimates an observation rate (independent from the a priory specified 'Observation rate') from all observations received throughout the first full 'Log latency' interval. Based on this rate, BNC estimates the number of data gaps when appearing in subsequent intervals.
998</p>
999<p>
1000Latencies of observations or corrections to Broadcast Ephemeris and statistical information can be recorded in the 'Log' tab at the end of each 'Log latency' interval. A typical output from a 1 hour 'Log latency' interval would be:
1001</p>
1002<pre>
100308-03-17 15:59:47 BRUS0: Mean latency 1.47 sec, min 0.66, max 3.02, rms 0.35, 3585 epochs, 15 gaps
1004</pre>
1005<p>
1006Select a 'Log latency' interval to activate this function or select the empty option field if you do not want BNC to log latencies and statistical information.
1007</p>
1008
1009
1010<p><a name="miscscan"><h4>3.10.3 Scan RTCM - optional</h4></p>
1011<p>
1012When configuring a GNSS receiver for RTCM stream generation, the setup interface may not provide details about RTCM message types. As reliable information concerning stream contents should be available i.e. for NTRIP broadcaster operators to maintain the broadcaster's source-table, BNC allows to scan RTCM streams for incoming message types and printout some of the contained meta-data. The idea for this option arose from 'InspectRTCM', a comprehensive stream analyzing tool written by D. Stoecker.
1013</p>
1014<p>
1015Tick 'Scan RTCM' to scan RTCM Version 2.x or 3.x streams and log all contained
1016</p>
1017<ul>
1018<li>numbers of incoming message types</li>
1019<li>Antenna Reference Point (ARP) coordinates</li>
1020<li>Antenna Phase Center (APC) coordinates</li>
1021<li>antenna height above marker</li>
1022<li>antenna descriptor.</li>
1023</ul>
1024</p>
1025
1026<p>
1027Note that in RTCM Version 2.x the message types 18 and 19 carry only the observables of one frequency. Hence it needs two type 18 and 19 messages per epoch to transport the observations from dual frequency receivers.
1028</p>
1029<p>
1030
1031<p>Logged time stamps refer to message reception time and allow to understand repetition rates. Enter 'ALL' if you want to log this information from all configured streams. Beware that the size of the logfile can rapidly increase depending on the number of incoming RTCM streams.
1032</p>
1033<p>This option is primarily meant for testing and evaluation. Use it to figure out what exactly is produced by a specific GNSS receiver's configuration. An empty option field (default) means that you don't want BNC to print the message type numbers and antenna information carried in RTCM streams.
1034</p>
1035
1036<p><a name="pppclient"><h4>3.11. PPP Client</h4></p>
1037<p>
1038BNC can derive coordinates for a rover position following the Precise Point Positioning (PPP) approach. It uses either code or code plus phase data in ionosphere free linear combinations P3 or L3. Besides pulling a stream of observations from a dual frequency receiver, this also requires pulling in addition
1039<ul>
1040<li>a stream carrying satellite orbit and clock corrections to Broadcast Ephemeris in the form of 'State Space Representation' (SSR) messages as proposed by RTCM (i.e. premature message type 1060). Note that for BNC these correctors need to be referred to the satellite's Antenna Phase Center (APC). Streams providing such messages are listed on <u>http://igs.bkg.bund.de/ntrip/orbits</u>. Stream products.igs-ip.net:2101/CLK11 is an example.</li>
1041<li>a stream carrying Broadcast Ephemeris available as RTCM Version 3 message types 1019 and 1020. This is a must only when the stream coming from the receiver does not contain Broadcast Ephemeris or provides them only at very low repetition rate. Streams providing such messages are listed on <u>http://igs.bkg.bund.de/ntrip/ephemeris</u>. Stream products.igs-ip.net:2101/RTCM3EPH is an example.</li>
1042</ul>
1043</p>
1044<p>
1045The following figure provides the screenshot of an example PPP session with BNC.
1046</p>
1047<p><img src=":bnchelp/screenshot03.png"/></p>
1048<p><u>Figure:</u> Precise Point Positioning (PPP) with BNC.</p>
1049
1050<p>
1051PPP results are shown in the 'Log' tab on the bottom of BNC's main window. Depending on the processing options, the following values are shown about once per second (example):
1052<pre>
105310-09-08 09:14:06 FFMJ1 PPP 09:14:04.0 12 4053457.429 +- 2.323 617730.551 +- 1.630 4869395.266 +- 2.951
1054</pre>
1055</p>
1056<p>
1057The 'PPP' string in that is followed by the selected mounpoint, a PPP time stamp in GPS Time, the number of processed satellites, and XYZ coordinates with their formal errors as derived from the implemented filter in [m]. The implemented algorithm includes an outlier and cycle slip detection. The maximum for accepted residuals is hard coded to 10 meters for code observations and 10 centimeters for phase observations.
1058</p>
1059
1060<p>
1061More detailed PPP results are saved in BNC's logfile. Depending on the selected processing options you find
1062<ul>
1063<li>code and phase residuals for GPS and GLONASS in [m], </li>
1064<li>receiver clock errors in [m], </li>
1065<li>a-priori and correction values of tropospheric zenith delay in [m],
1066<li>L3 biases, also known as 'floated ambiguities', given per satellite.
1067</ul>
1068These parameters are saved together with their standard deviation. Example extract from a log file:
1069<pre>
107010-08-09 06:04:11 Single Point Positioning of Epoch 06:04:09.0
1071--------------------------------------------------------------
1072residuals code 0.386 0.175 -0.378 0.032 -0.103 -2.409 -0.488 -0.576
1073residuals phase -0.007 -0.001 0.002 0.002 -0.007 -0.005 0.006 0.007
1074residuals glo 0.015 -0.004 0.006
1075
1076 clk = 68260.392 +- 1.353
1077 trp = 2.331 -0.006 +- 0.100
1078 amb G02 = -0.974 +- 0.809
1079 amb G10 = 3.250 +- 0.720
1080 amb G26 = -5.192 +- 0.911
1081 amb G28 = -0.741 +- 0.909
1082 amb G08 = 1.317 +- 0.719
1083 amb G05 = -1.928 +- 0.742
1084 amb G07 = 4.887 +- 0.853
1085 amb G13 = -1.190 +- 1.221
1086 amb R07 = -145.700 +- 0.717
1087 amb R08 = -140.476 +- 0.939
1088 amb R10 = -128.820 +- 0.710
1089
1090</pre>
1091</p>
1092
1093<p>
1094Note that BNC's 'PPP Client' option can also be used in 'Offline Mode'. Apply the 'Offline Mode' command line options for that to read a file containing synchronized observations, orbit and clock corretors, and broadcast ephemeris. Such a file can be generated using BNC's 'Raw output file' option. The first five characters of the file name read in 'Offline Mode' must then be the same as the specified PPP 'Mounpoint': If you produce a 'Raw output file' named 'FFMJ1' then the PPP 'Mountpoint' needs to be also specified as 'FFMJ1' and the command line to execute BNC on a Windows system in 'Offline Mode' could look like:
1095</p>
1096
1097<p>
1098bnc.exe --conf c:\temp\BNC.ppp --file c:\temp\FFMJ1 --format RTCM_3
1099</p>
1100
1101<p>
1102Streams in a 'Raw output file' which shall later be used in an offline PPP calculation must all be encoded in the same format.
1103</p>
1104
1105<p>When using the PPP option, it is important to understand which effects are corrected by BNC.
1106</p>
1107<ul>
1108<li>BNC does correct for Solid Earth Tides and Phase Windup.</li>
1109<li>Satellite Antenna Offsets are not corrected because applied orbit/clock correctors are referred to the satellite's antenna phase center.</li>
1110<li>Satellite Antenna Offset Variations are neglected because this is a small effect usually less than 2 centimeters.</li>
1111<li>Receiver Antenna Offsets are not corrected which means that the estimated position is that of the receiver's antenna phase center and not that of the receiver's Antenna Reference Point.</li>
1112<li>Receiver Antenna Phase Center Variations are not included in the model. The bias caused by this neglect depends on the receiver antenna type. For most antennas it is smaller than a few centimeters.</li>
1113<li>Ocean and atmospheric loading is neglected. Atmospheric loading is pretty small. Ocean loading is usually also a small effect but may reach up to about 10 centimeters for coastal stations.</li>
1114<li>Rotational deformation due to polar motion (Polar Tides) is not corrected because this is a small effect usually less than 2 centimeters.</li>
1115</ul>
1116</p>
1117
1118<p><a name="pppmount"><h4>3.11.1 Mountpoint - optional</h4></p>
1119<p>
1120Specify a mountpoint if you want BNC to derive coordinates for the affected rover position through a Point Positioning solution.
1121</p>
1122<p>
1123Furthermore, specify the Point Positioning method you want to apply. Options are
1124<ul>
1125<li> Precise Point Positioning (PPP, default), and </li>
1126<li> Single Point Positioning (SPP).</li>
1127</ul>
1128Note that a plain SPP solution does not require to pull a stream carrying Broadcast Ephemeris Corrections. It only needs Broadcast Ephemeris.
1129</p>
1130
1131<p><a name="pppopt"><h4>3.11.2 Options</h4></p>
1132BNC allows to use different Point Positioning processing options depending on the capability of the involved receiver and the application in mind.
1133</p>
1134
1135<p><a name="pppstatic"><h4>3.11.2.1 Static - optional</h4></p>
1136<p>
1137By default BNC considers the rover as mobile. It means that the rover coordinates are estimated as stochastic parameters with white noise 100 meters per epoch. Tick 'Static' in a static observation situation to adapt appropriate filter characteristics for that.
1138</p>
1139
1140<p><a name="pppphase"><h4>3.11.2.2 Use Phase Obs - optional</h4></p>
1141<p>
1142By default BNC applies a Point Positioning solution using an ionosphere free P3 linear combination of code observations. Tick 'Use phase obs' for an ionosphere free L3 linear combination of phase observations.
1143</p>
1144
1145<p><a name="ppptropo"><h4>3.11.2.3 Estimate Tropo - optional</h4></p>
1146<p>
1147BNC estimates the tropospheric delay according to equation
1148<pre>
1149T(z) = T_apr(z) + dT / cos(z)
1150</pre>
1151where T_apr is the a-priori tropospheric delay derived from Saastamoinen model.
1152</p>
1153<p>
1154By default BNC does not estimate troposphere parameters. Tick 'Estimate tropo' to estimate troposphere parameters together with the coordinates and save T_apr and dT in BNC's log file.
1155</p>
1156
1157<p><a name="pppglo"><h4>3.11.2.4 Use GLONASS - optional</h4></p>
1158<p>
1159By default BNC does not process GLONASS observations when in Point Positioning mode. Tick 'Use GLONASS' to use GPS and GLONASS observations for estimating coordinates in Point Positioning mode.
1160</p>
1161
1162<p><a name="pppoptcont"><h4>3.11.3 Options cont'd</h4></p>
1163<p>
1164You may like to introduce a specific ratio between the sigmas for code and phase observations. You may also like to output average position values.
1165</p>
1166
1167<p><a name="pppsigma"><h4>3.11.3.1 Sigma Code - mandatory if 'Use Phase Obs' is set</h4></p>
1168<p>
1169When 'Use phase obs' is set in BNC the PPP solution will be carried out using both, code and phase observations. A sigma of 5.0 m for code observations and a sigma of 0.02 m for phase observations (defauls) is used to combine both types of observations.
1170As the convergence characteristic of a PPP solution can be influenced by the ratio of the sigmas for code and phase, you may like to introduce you own sigma for code observations which differs from the default of 5.0 m.
1171<ul>
1172<li>Introducing a smaller sigma (higher accuracy) for code observations leads to better results shortly after program start. However, it may take more time till you finally get the best possible solutions.</li>
1173<li>Introducing a higher sigma (lower accuracy) for code observations may lead to less accurate results shortly after program start and thus a prolonged period of convergence but could provide better positions in the long run.</li>
1174</ul>
1175</p>
1176<p>
1177Note that the 'Sigma code' you enter must be greater than 0.3 m and less than 50.0 m.
1178</p>
1179
1180<p><a name="pppaverage"><h4>3.11.3.2 Averaging - optional if appropriate 'Origin' option is set</h4></p>
1181<p>
1182Enter the length of a sliding time window in minutes. BNC will continuously output moving average positions and their RMS as computed from those individual positions obtained most recently throughout this period. RMS values presented for XYZ coordinates are bias reduced while RMS values for Nort/East/Up (NEU) displacements are not. Averaged values for XYZ coordinates and their RMS are marked with string &quot;AVE-XYZ&quot; in BNC's log file and 'Log' section while averaged values for NEU displacements and their RMS are marked with string &quot;AVE-NEU&quot;. Example:
1183</p>
1184<pre>
118510-09-08 09:13:05 FFMJ1 AVE-XYZ 09:13:04.0 4053455.948 +- 0.284 617730.422 +- 0.504 4869397.692 +- 0.089
118610-09-08 09:13:05 FFMJ1 AVE-NEU 09:13:04.0 1.043 +- 0.179 0.640 +- 0.456 1.624 +- 0.331
1187</pre>
1188<p>
1189Entering any positive value up to 1440 (24h mean value) is allowed. An empty option field (default) means that you don't want BNC to output moving average positions into the log file and the 'Log' section. Note that averaging positions makes only sense for a stationary receiver.
1190</p>
1191
1192<p><a name="ppporigin"><h4>3.11.4 Origin - optional</h4></p>
1193<p>
1194Select an origin
1195</p>
1196<ul>
1197<li>for a North/East/Up displacements time series plot in the 'PPP Plot' section, or</li>
1198<li>for operating BNC in QuickStart mode starting at a known XYZ position.
1199</ul>
1200</p>
1201<p>
1202QuickStart means that BNC operates for the period of 2 minutes in a mode where an introduced reference coordinate is constrained. The PPP solution is expected to converge within this time span. You may need to create your own reference coordinate through running BNC for an hour in normal mode before applying the QuickStart option. The following options are available:
1203<ul>
1204<li>Option 'None' means that BNC shall neither plot a time series of displacements nor start in QuickStart mode.</li>
1205<li>'Plot - Start position' will let run BNC in normal mode for a stationary receiver and plot a time series referred to the very first determined set of coordinate components.</li>
1206<li>'Plot - X Y Z' will let run BNC in normal mode for a stationary receiver and plot a time series referred to entered coordinate components XYZ.</li>
1207<li>Select 'QuickStart - Static' to run BNC in QuickStart mode with observations from a stationary receiver located at known position XYZ.</li>
1208<li>'QuickStart - Mobile' also allows running BNC in QuickStart mode. However, the receiver may leave its known initial XYZ start position after staying there for two minutes.</li>
1209</ul>
1210Default selection for 'Origin' is 'None'. Note that displacements time series plots make only sense for a stationary receiver.
1211</p>
1212
1213<p>
1214</p>
1215<p><img src=":bnchelp/screenshot17.png"/></p>
1216<p><u>Figure:</u> BNC in 'QuickStart - Static' mode</p>
1217
1218<p>
1219If option 'Plot - X Y Z' or 'QuickStart - Static' is selected, the 'PPP' line in BNC's logfile is extended to (example):
1220</p>
1221<pre>
122210-08-09 06:01:56 FFMJ1 PPP 06:02:09.0 11 4053457.628 +- 2.639 617729.438 +- 1.180 4869396.447 +- 1.921 NEU -0.908 -0.571 1.629
1223</pre>
1224<p>
1225The parameters following the 'NEU' string provide Nort, East and Up components of the current coordinate displacement in meters.
1226</p>
1227
1228<p><a name="pppnmeaout"><h4>3.11.5 NMEA</h4></p>
1229<p>
1230BNC allows to output results from Precise Point Positioning in NMEA format. The NMEA sentences generated about once per second are pairs of
1231<ul>
1232<li> GPGGA sentences which mainly carry the estimated latitude, longitude, and height values, plus</li>
1233<li> GPRMC sentences which mainly carry date and time information.</li>
1234</ul>
1235</p>
1236<p>
1237Note that Tomoji Takasu has written a Windows program called RTKPlot for visualizing NMEA strings. It is available from <u>http://gpspp.sakura.ne.jp/rtklib/rtklib.htm</u> and compatible with the NMEA output of BNC's PPP option.
1238</p>
1239
1240
1241<p><a name="pppnmeafile"><h4>3.11.5.1 File - optional</h4></p>
1242<p>
1243Specify the full path to a file where Point Positioning results are saved as NMEA messages. The generated NMEA file begins with a single GPRMC message which carries only date and time information. The default value for 'File (full path)' is an empty option field, meaning that BNC will not saved NMEA messages into a file.
1244</p>
1245
1246<p><a name="pppnmeaport"><h4>3.11.5.2 Port - optional</h4></p>
1247<p>
1248Specify the IP port number of a local port where Point Positioning results become available as NMEA messages. The default value for 'Port' is an empty option field, meaning that BNC does not provide NMEA messages vi IP port. Note that the NMEA file output and the NMEA IP port output are the same.
1249</p>
1250
1251<p><a name="streams"><h4>3.12. Streams</h4></p>
1252<p>
1253Each stream on an NTRIP broadcaster (and consequently on BNC) is defined using a unique source ID called mountpoint. An NTRIP client like BNC access the desired data stream by referring to its mountpoint. Information about streams and their mountpoints is available through the source-table maintained by the NTRIP broadcaster. Note that mountpoints could show up in BNC more than once when retrieving streams from several NTRIP broadcasters.
1254</p>
1255
1256<p>
1257Streams selected for retrieval are listed under the 'Streams' canvas section on BNC's main window. The list provides the following information either extracted from source-table(s) produced by the NTRIP broadcasters or introduced by BNC's user:
1258</p>
1259<p>
1260<table>
1261<tr><td>'resource loader'&nbsp; </td><td>NTRIP broadcaster URL and port, or<br>TCP/IP host and port, or<br>UDP port, or<br>Serial input port specification.</td></tr>
1262<tr><td>'mountpoint' &nbsp;</td><td>Mountpoint introduced by NTRIP broadcaster, or<br>Mountpoint introduced by BNC's user.</td></tr>
1263<tr><td>'decoder' &nbsp;</td><td>Type of decoder used to handle the incoming stream content according to its format; editable.</td></tr>
1264<tr><td>'lat' &nbsp;</td><td>Approximate latitude of reference station, in degrees, north; editable if 'nmea' = 'yes'.</td></tr>
1265<tr><td>'long' &nbsp;</td><td>Approximate longitude of reference station, in degrees, east; editable if 'nmea' = 'yes'.</td></tr>
1266<tr><td>'nmea' &nbsp;</td><td>Indicates whether or not streaming needs to be initiated by BNC through sending NMEA-GGA message carrying position coordinates in 'lat' and 'long'.</td></tr>
1267<tr><td>'ntrip' &nbsp;</td><td>Selected NTRIP transport protocol version (1, 2, R, or U), or<br>'N' for TCP/IP streams without NTRIP, or<br>'UN' for UDP streams without NTRIP, or<br>'S' for serial input streams without NTRIP.</td></tr>
1268<tr><td>'bytes' &nbsp;</td><td>Number of bytes received.
1269</table>
1270</p>
1271
1272<p><a name="streamedit"><h4>3.12.1 Edit Streams</h4></p>
1273<ul>
1274<li>
1275BNC automatically allocates one of its internal decoders to a stream based on the stream's 'format' and 'format-details' as given in the source-table. However, there might be cases where you need to override the automatic selection due to incorrect source-table for example. BNC allows users to manually select the required decoder by editing the decoder string. Double click on the 'decoder' field, enter your preferred decoder and then hit Enter. The accepted decoder strings are 'RTCM_2.x', 'RTCM_3.x', and 'RTIGS'.
1276</li>
1277<li>
1278In case you need to log the raw data as is, BNC allows users to by-pass its decoders and directly save the input in daily log files. To do this specify the decoder string as 'ZERO'. The generated file names are created from the characters of the streams mountpoints plus two-digit numbers each for year, month, and day. Example: Setting the 'decoder' string for mountpoint WTZZ0 to 'ZERO' and running BNC on March 29, 2007 would save the raw data in a file named WTZZ0_070329.
1279</li>
1280<li>
1281BNC can also retrieve streams from virtual reference stations (VRS). To initiate these streams, an approximate rover position needs to be sent in NMEA format to the NTRIP broadcaster. In return, a user-specific data stream is generated, typically by a Network-RTK software. VRS streams are indicated by a 'yes' in the source-table as well as in the 'nmea' column on the 'Streams' canvas in BNC's main window. They are customized exactly to the latitude and longitude transmitted to the NTRIP broadcaster via NMEA-GGA messages.
1282<br>If NMEA-GGA messages are not coming from a serial connected GNSS rover, BNC simulates them from the default latitude and longitude of the source-table as shown in the 'lat' and 'long' columns on the 'Streams' canvas. However, in most cases you would probably want to change these defaults according to your requirement. Double-click on 'lat' and 'long' fields, enter the values you wish to send and then hit Enter. The format is in positive north latitude degrees (e.g. for northern hemisphere: 52.436, for southern hemisphere: -24.567) and eastern longitude degrees (example: 358.872 or -1.128). Only streams with a 'yes' in their 'nmea' column can be edited. The position must preferably be a point within the VRS service area of the network. RINEX files generated from these streams will contain an additional COMMENT line in the header beginning with 'NMEA' showing the 'lat' and 'long' used.
1283<br>Note that when running BNC in a Local Area Network (LAN), NMEA strings may be blocked by a proxy server, firewall or virus scanner.
1284</li>
1285</ul>
1286
1287<p><a name="streamdelete"><h4>3.12.2 Delete Stream</h4></p>
1288<p>
1289To remove a stream from the 'Streams' canvas in the main window, highlight it by clicking on it and hit the 'Delete Stream' button. You can also remove multiple streams simultaneously by highlighting them using +Shift and +Ctrl.</p>
1290
1291<p><a name="streamconf"><h4>3.12.3 Reconfigure Streams On-the-fly</h4></p>
1292<p>
1293The streams selection can be changed on-the-fly without interrupting uninvolved threads in the running BNC process.
1294</p>
1295<p>
1296<u>Window mode:</u> Hit 'Save &amp; Reread Configuration' while BNC is in window mode and already processing data to let changes of your streams selection immediately become effective.
1297<p>
1298<u>No window mode:</u> When operating BNC online in 'no window' mode (command line option -nw), you force BNC to reread its 'mountPoints' configuration option from disk at pre-defined intervals. Select '1 min', '1 hour', or '1 day' as 'Reread configuration' option to reread the 'mountPoints' option every full minute, hour, or day. This lets a 'mountPoints' option edited in between in the configuration file become effective without terminating uninvolved threads. See annexed section 'Configuration Example' for a configuration file example and a list of other on-the-fly changeable options.
1299</p>
1300
1301<p><a name="logs"><h4>3.13. Logging</h4></p>
1302<p>
1303A tabs section on the bottom of the main window provides online control of BNC's activities. Tabs are available to show the records saved in a logfile, for a plot to control the bandwidth consumtion, for a plot showing stream latencies, and for time series plots of PPP results.
1304</p>
1305<p><a name="logfile"><h4>3.13.1 Log</h4></p>
1306<p>
1307Records of BNC's activities are shown in the 'Log' tab. They can be saved into a file when a valid path is specified in the 'Logfile (full path)' field.
1308</p>
1309
1310<p><a name="throughput"><h4>3.13.2 Throughput</h4></p>
1311<p>
1312The bandwidth consumption per stream is shown in the 'Throughput' tab in bits per second (bps) or kilo bits per second (kbps). The following figure shows the bandwidth comsumption of incoming streams.
1313</p>
1314
1315<p>
1316</p>
1317<p><img src=":bnchelp/screenshot08.png"/></p>
1318<p><u>Figure:</u> Bandwidth consumption of incoming streams.</p>
1319
1320<p><a name="latency"><h4>3.13.3 Latency</h4></p>
1321<p>
1322The latency of observations in each incoming stream is shown in the 'Latency' tab in milliseconds or seconds. Streams not carrying observations (i.e. those providing only broadcast ephemeris messages) or having an outage are not considered here and shown in red color. Note that the calculation of correct latencies requires the clock of the host computer to be properly synchronized. The next figure shows the latency of incoming streams.
1323</p>
1324
1325<p>
1326</p>
1327<p><img src=":bnchelp/screenshot07.png"/></p>
1328<p><u>Figure:</u> Latency of incoming streams.</p>
1329
1330<p><a name="ppptab"><h4>3.13.4 PPP Plot</h4></p>
1331<p>
1332Precise Point Positioning time series of North (red), East (green) and Up (blue) coordinate components are shown in the 'PPP Plot' tab when a 'Origin' option is defined. Values are either referred to reference coordinates (if specified) or referred to the first estimated set of coordinate components. The time as given in format [hh:mm] refers to GPS Time. The sliding PPP time series window covers a period of 5 minutes. Note that it may take up to 30 seconds or more till the first PPP solutions becomes available. The following figure shows the screenshot of a PPP time series plot of North, East and Up coordiate components.
1333</p>
1334
1335<p>
1336</p>
1337<p><img src=":bnchelp/screenshot13.png"/></p>
1338<p><u>Figure:</u> Time series plot of PPP session.</p>
1339
1340<p><a name="bottom"><h4>3.14. Bottom Menu Bar</h4></p>
1341<p>
1342The bottom menu bar allows to add or delete streams to BNC's configuration and to start or stop it. It also provides access to BNC's online help function. The 'Add Stream' button opens a window that allows user to select one of several input communication links, see figure below.
1343</p>
1344
1345<p><img src=":bnchelp/screenshot06.png"/></p>
1346<p><u>Figure:</u> Steam input communication links.</p>
1347
1348<p><a name="streamadd"><h4>3.14.1 Add Stream - Coming from Caster</h4></p>
1349
1350<p>
1351Button 'Add Stream' &gt; 'Coming from Caster' then opens a window that allows user to select data streams from an NTRIP broadcaster according to their mountpoints.
1352</p>
1353
1354<p><a name="streamhost"><h4>3.14.1.1 Caster Host and Port - mandatory</h4></p>
1355<p>
1356Enter the NTRIP broadcaster host IP and port number. Note that EUREF and IGS operate NTRIP broadcasters at <u>http://www.euref-ip.net/home</u> and <u>http://www.igs-ip.net/home</u> and <u>http://www.products.igs-ip.net/home</u>.
1357</p>
1358
1359<p><a name="streamtable"><h4>3.14.1.2 Casters Table - optional</h4></p>
1360<p>
1361It may be that your are not sure about your NTRIP broadcasters host and port number or you are interested in other broadcaster installations operated elsewhere. Hit 'Show' for a table of known broadcasters maintained at <u>www.rtcm-ntrip.org/home</u>. A window opens which allows to select a broadcaster for stream retrieval, see figure below.
1362</p>
1363</p>
1364<p><img src=":bnchelp/screenshot04.png"/></p>
1365
1366<p><u>Figure:</u> Casters table.</p>
1367
1368<p><a name="streamuser"><h4>3.14.1.3 User and Password - mandatory for protected streams</h4></p>
1369<p>
1370Some streams on NTRIP broadcasters may be restricted. Enter a valid 'User' ID and 'Password' for access to protected streams. Accounts are usually provided per NTRIP broadcaster through a registration procedure. Register through <u>http://igs.bkg.bund.de/ntrip/registeruser</u> for access to protected streams on <u>www.euref-ip.net</u> or <u>www.igs-ip.net</u> or <u>products.igs-ip.net</u>.
1371</p>
1372
1373<p><a name="gettable"><h4>3.14.1.4 Get Table</h4></p>
1374<p>
1375Use the 'Get Table' button to download the source-table from the NTRIP broadcaster. Pay attention to data fields 'format' and 'format-details'. Keep in mind that BNC can only decode and convert streams that come in RTCM Version 2.x, RTCM Version 3.x, or RTIGS format. For access to observations, ephemeris or ephemris correctiors, an RTCM Version 2.x streams must contain message types 18 and 19 or 20 and 21 while an RTCM Version 3.x streams must contain
1376<ul>
1377<li>GPS or SBAS message types 1002 or 1004, or</li>
1378<li>GLONASS message types 1010 or 1012, or</li>
1379<li>proposed State Space Representation messages for GPS and GLONASS, types 1057-1068, or</li>
1380<li>proposed 'Multiple Signal Messages' (MSM) for GPS, GLONASS, or Galileo, types 1071-1077, 1081-1087, or 1091-1097.</li>
1381</ul>
1382see data field 'format-details' for available message types and their repetition rates in brackets. Note that in order to produce RINEX Navigation files RTCM Version 3.x streams containing message types 1019 (GPS) and 1020 (GLONASS) are required. Select your streams line by line, use +Shift and +Ctrl when necessary. The figure below provides an example source-table.
1383</p>
1384<p>
1385The contents of data field 'nmea' tells you whether a stream retrieval needs to be initiated by BNC through sending an NMEA-GGA message carrying approximate position coordinates (virtual reference station).
1386</p>
1387<p>
1388Hit 'OK' to return to the main window. If you wish you can click on 'Add Stream' and repeat the process again to retrieve streams from different casters.
1389</p>
1390</p>
1391</p>
1392<p><img src=":bnchelp/screenshot05.png"/></p>
1393<p><u>Figure:</u> Broadcaster source-table.</p>
1394
1395<p><a name="ntripv"><h4>3.14.1.5 NTRIP Version - mandatory</h4></p>
1396<p>
1397Some limitations and deficiencies of the NTRIP version 1 stream transport protocol are solved in NTRIP version 2. Improvements mainly concern a full HTTP compatibility in view of requirements coming from proxy servers. Version 2 is backwards compatible to Version 1. Options implemented in BNC are:
1398</p>
1399<p>
1400&nbsp; 1:&nbsp; NTRIP version 1, TCP/IP.<br>
1401&nbsp; 2:&nbsp; NTRIP version 2 in TCP/IP mode.<br>
1402&nbsp; R:&nbsp; NTRIP version 2 in RTSP/RTP mode.<br>
1403&nbsp; U:&nbsp; NTRIP version 2 in UDP mode.
1404</p>
1405<p>
1406If NTRIP version 2 is supported by the broadcaster:
1407</p>
1408<ul>
1409<li>Try using option '2' if your streams are otherwise blocked by a proxy server operated in front of BNC.</li>
1410<li>Option 'R' or 'U' may be selected if latency is more important than completeness for your application. Note that the latency reduction is likely to be in the order of 0.5 sec or less. Note further that options 'R' (RTSP/RTP mode) and 'U' (UDP mode) are not accepted by proxy servers and a mobile Internet Service Provider may not support it.</li>
1411</ul>
1412<p>
1413Select option '1' if you are not sure whether the broadcaster supports NTRIP version 2.</li>
1414</p>
1415
1416<p><a name="streamip"><h4>3.14.2 Add Stream - Coming from TCP/IP Port</h4></p>
1417<p>
1418Button 'Add Stream' &gt; 'Coming from TCP/IP Port' allows to retrieve streams via TCP directly from an IP address without using the NTRIP transport protocol. For that you:
1419<ul>
1420<li>Enter the IP address of the stream providing host.</li>
1421<li>Enter the IP port number of the stream providing host.</li>
1422<li>Specify a mountpoint. Recommended is a 4-character station ID. Example: FFMJ</li>
1423<li>Specify the stream format. Available options are 'RTCM_2', 'RTCM_3', 'RTIGS', and 'ZERO'.</li>
1424<li>Enter the approximate latitude of the stream providing rover in degrees. Example: 45.32.</li>
1425<li>Enter the approximate longitude of the stream providing rover in degrees. Example: -15.20.</li>
1426</ul>
1427</p>
1428<p>
1429Streams directly received from a TCP/IP port show up with an 'N' for 'No NTRIP' in the 'Streams' canvas section on BNC's main window . Latitude and longitude are to be entered just for informal reasons.
1430<p>
1431</p>
1432Note that this option works only if no proxy server is involved in the communication link.
1433</p>
1434
1435<p><a name="streamudp"><h4>3.14.3 Add Stream - Coming from UDP Port</h4></p>
1436<p>
1437Button 'Add Stream' &gt; 'Coming from UDP Port' allows to pick up streams arriving directly at one of the local host's UDP ports without using the NTRIP transport protocol. For that you:
1438<ul>
1439<li>Enter the local port number where the UDP stream arrives.</li>
1440<li>Specify a mountpoint. Recommended is a 4-character station ID. Example: FFMJ</li>
1441<li>Specify the stream format. Available options are 'RTCM_2', 'RTCM_3', 'RTIGS', and 'ZERO'.</li>
1442<li>Enter the approximate latitude of the stream providing rover in degrees. Example: 45.32.</li>
1443<li>Enter the approximate longitude of the stream providing rover in degrees. Example: -15.20.</li>
1444</ul>
1445</p>
1446<p>
1447Streams directly received at a UDP port show up with a 'UN' for 'UDP, No NTRIP' in the 'Streams' canvas section on BNC's main window . Latitude and longitude are to be entered just for informal reasons.
1448<p>
1449
1450<p><a name="streamser"><h4>3.14.4 Add Stream - Coming from Serial Port</h4></p>
1451<p>
1452Button 'Add Stream' &gt; 'Coming from Serial Port' allows to retrieve streams from a GNSS receiver via serial port without using the NTRIP transport protocol. For that you:
1453<ul>
1454<li>Specify a mountpoint. Recommended is a 4-character station ID. Example: FFMJ</li>
1455<li>Specify the stream format. Available options are 'RTCM_2', 'RTCM_3', 'RTIGS', and 'ZERO'.</li>
1456<li>Enter the approximate latitude of the stream providing receiver in degrees. Example: 45.32.</li>
1457<li>Enter the approximate longitude of the stream providing receiver in degrees. Example: -15.20.</li>
1458<li>Enter the serial 'Port name' selected on your host for communication with the receiver. Valid port names are
1459<pre>
1460Windows: COM1, COM2
1461Linux: /dev/ttyS0, /dev/ttyS1
1462FreeBSD: /dev/ttyd0, /dev/ttyd1
1463Digital Unix: /dev/tty01, /dev/tty02
1464HP-UX: /dev/tty1p0, /dev/tty2p0
1465SGI/IRIX: /dev/ttyf1, /dev/ttyf2
1466SunOS/Solaris: /dev/ttya, /dev/ttyb
1467</pre>
1468</li>
1469<li>Select a 'Baud rate' for the serial input. Note that using a high baud rate is recommended.</li>
1470<li>Select the number of 'Data bits' for the serial input. Note that often '8' data bits are used.</li>
1471<li>Select the 'Parity' for the serial input. Note that parity is often set to 'NONE'.</li>
1472<li>Select the number of 'Stop bits' for the serial input. Note that often '1' stop bit is used.</li>
1473<li>Select a 'Flow control' for the serial link. Select 'OFF' if you don't know better.</li>
1474</ul>
1475</p>
1476<p>
1477When selecting the serial communication options listed above, make sure that you pick those configured to the serial connected GNSS receiver.
1478</p>
1479
1480<p>
1481Streams received from a serial connected GNSS receiver show up with an 'S' (for <u>S</u>erial Port, no NTRIP) in the 'Streams' canvas section on BNC's main window . Latitude and longitude are to be entered just for informal reasons.
1482<p>
1483
1484<p>
1485The following figure shows a BNC example setup for pulling a stream via serial port on a Linux operating system.
1486</p>
1487<p><img src=":bnchelp/screenshot15.png"/></p>
1488<p><u>Figure:</u> BNC setup for pulling a stream via serial port.</p>
1489
1490<p><a name="start"><h4>3.14.5 Start</h4></p>
1491<p>
1492Hit 'Start' to start retrieving, decoding, and converting GNSS data streams in real-time. Note that 'Start' generally forces BNC to begin with fresh RINEX which might overwrite existing files when necessary unless the option 'Append files' is ticked.
1493</p>
1494
1495<p><a name="stop"><h4>3.14.6 Stop</h4></p>
1496<p>
1497Hit the 'Stop' button in order to stop BNC.
1498</p>
1499
1500<p><a name="cmd"><h4>3.15. Command Line Options</h4></p>
1501<p>
1502Command line options are available to run BNC in 'no window' mode or let it read data from a file in offline mode. BNC will then use processing options from the configuration file. Note that the self-explaining contents of the configuration file can easily be edited. It is possible to introduce a specific configuration file name instead of using the default name 'BNC.ini'.
1503</p>
1504
1505<p><a name="nw"><h4>3.15.1 No Window Mode - optional</h4></p>
1506<p>
1507Apart from its regular windows mode, BNC can be started on all systems as a background/batch job with command line option '-nw'. BNC will then run in 'no window' mode, using processing options from its configuration file on disk. Terminate BNC using Windows Task Manager when running it in 'no window' mode on Windows systems.
1508</p>
1509<p>
1510Example:<br><br>
1511bnc.exe -nw
1512</p>
1513
1514<p><a name="post"><h4>3.15.2 Offline Mode - optional</h4></p>
1515<p>
1516Although BNC is primarily a real-time online tool, it can be run in offline mode to read data from a previously saved file for post-processing purposes. Enter the following command line options for that:
1517</p>
1518<p>
1519<ul>
1520<li>'--file &lt;<u>inputFileName</u>&gt;' to enter the full path to an input file containing data previously saved by BNC.</li>
1521<li>'--format &lt;<u>format</u>&gt;' to enter one of the file format describing strings 'RTCM_2', 'RTCM_3' or 'RTIGS'.</li>
1522</ul>
1523<p>
1524Example:<br><br>
1525./bnc --file FFMJ.dat --format RTCM_3
1526</p>
1527<p>
1528Note that when running BNC in offline mode, it will use options for file saving, interval, sampling, PPP etc. from its configuration file. Note further that only those data in the file will be processd offline which are encoded as specified with the --format option.
1529</p>
1530
1531<p><a name="conffile"><h4>3.15.3 Configuration File - optional</h4></p>
1532The default configuration file name is 'BNC.ini'. You may change this name at startup time using the command line option '--conf &lt;<u>confFileName</u>&gt;'. This allows to run several BNC jobs in parallel on the same host using different sets of configuration options. <u>confFileName</u> stands either for the full path to a configuration file or just for a file name. If you introduce only a filename, the corresponding file will be saved in the current working directory from where BNC is started.
1533</p>
1534<p>
1535Example:<br><br>
1536./bnc --conf MyConfig.ini
1537</p>
1538<p>
1539This leads to a BNC job using configuration file 'MyConfig.ini'. The configuration file will be saved in the current working directory.
1540</p>
1541<p>
1542On a Mac-OS X v10.6 (or higher) system the command line would be
1543<br><br>
1544open -a /Applications/bnc.app --args -conf /Users/tsyan/MyConfig.ini
1545<br><br>
1546if the program is in /Applications and the configuration file 'MyConfig.ini' in /Users/tsyan.
1547</p>
1548
1549<p><a name="limits"><h3>4. Limitations &amp; Known Bugs</h3></p>
1550<ul>
1551<li>
1552In Qt-based desktop environments (like KDE) on Unix/Linux platforms it may happen that you experience a crash of BNC at startup even when running the program in the background using the '-nw' option. This is a known bug most likely resulting from an incompatibility of Qt libraries in the environment and in BNC. Entering the command 'unset SESSION_MANAGER' before running BNC may help as a work-around.
1553</li>
1554<li>
1555Currently BNC only handles GPS, SBAS, GLONASS and Galileo data.
1556</li>
1557<li>BNC currently will only handle the following observation types:<br>
1558For GPS satellites, 'G': C1C L1C D1C S1C C1W L1W D1W S1W C2P L2P D2P S2P C2X L2X D2X S2X C5 L5 D5 S5<br>
1559For GLONASS satellites, 'R': C1C L1C D1C S1C C1P L1P D1P S1P C2P L2P D2P S2P C2C L2C D2C S2C<br>
1560For Geostationary signal payloads, 'S': C1C L1C D1C S1C C1W L1W D1W S1W<br>
1561For Galileo satellites, 'E': C1 L1 D1 S1 C5 L5 D5 S5<br>
1562Which observables and indicators are available on a particular stream will depend on the setup of source receiver and the data format used. RTCM Version 2.x streams do not carry signal-to-noise ratio 'S' values.
1563</li>
1564<li>
1565Using RTCM Version 3.x to produce RINEX files, BNC will properly handle message types 1002, 1004, 1010, 1012, 1071-1077, 1081-1087, or 1091-1097. However, when handling message types 1001, 1003, 1009 and 1011 where the ambiguity field is not set, the output will be no valid RINEX. All values will be stored modulo 299792.458 (speed of light).
1566</li>
1567<li>Concerning the RTCM Version 3.x premature message types 1057-1068 (see RTCM document 091-2009-SC104-542 'Version 3 Proposed Messages - Set 10'), a final decision is not yet made. Note the what's implemented in BNC is just a temporary solution.</li>
1568<li>Concerning the RTCM Version 3.x premature message types 1071-1077, 1081-1087, 1091-1097 (see RTCM document 086-2010-SC104-587 'New RTCM-3 Multiple Signal Message Proposal for GPS, GLONASS and GALILEO'), a final decision is not yet made. Note the what's implemented in BNC is just a temporary solution.</li>
1569<li>
1570Using RTCM Version 2.x, BNC will only handle message types 18 and 19 or 20 and 21 together with position and the antenna offset information carried in types 3 and 22. Note that processing carrier phase corrections and pseudo-range corrections contained in message types 20 and 21 needs access to broadcast ephemeris. Hence, whenever dealing with message types 20 and 21, make sure that broadcast ephemeris become available for BNC through also retrieving at least one RTCM Version 3.x stream carrying message types 1019 (GPS ephemeris) and 1020 (GLONASS ephemeris).
1571</li>
1572<li>
1573Streams coming in RTIGS format carry only GPS data.
1574</li>
1575<li>
1576BNC's 'Get Table' function only shows the STR records of a source-table. You can use an Internet browser to download the full source-table contents of any NTRIP broadcaster by simply entering its URL in the form of <u>http://host:port</u>. Data field number 8 in the NET records may provide information about where to register for an NTRIP broadcaster account.
1577</li>
1578<li>
1579EUREF as well as IGS adhere to an open data policy. Streams are made available through NTRIP broadcasters at <u>www.euref-ip.net</u>, <u>www.igs-ip.net</u> and <u>products.igs-ip.net</u> free of charge to anyone for any purpose. There is no indication up until now how many users will need to be supported simultaneously. The given situation may develop in such a way that it might become difficult to serve all registered users at the same times. In cases where limited resources on the NTRIP broadcaster side (software restrictions, bandwidth limitation etc.) dictates, first priority in stream provision will be given to stream providers followed by re-broadcasting activities and real-time analysis centers while access to others might be temporarily denied.
1580</li>
1581<li>
1582We experienced a limitation of the Standard Version of Microsoft Windows related to socket communication where sockets are not always handled properly. Since BNC makes intensive use of communication through sockets, we recommend to use the Server Version of Microsoft Windows when running BNC continuously for extended on a Windows platform.
1583</li>
1584<li>
1585The source code provided by NRCan for decoding RTIGS streams is 32-bit dependent. Hence the BNC executable generated for 64-bit Linux systems would only run when compiled using the -m32 compiler option.
1586</li>
1587<li>
1588Once BNC has been started, many of its configuration options cannot be changed as long as it is stopped. See chapter 'Reread Configuration' for on-the-fly configuration exceptions.
1589</li>
1590<li>
1591On Mac systems you may experience a problem in passing a specific configuration file to the BNC application. On a Mac OS X 10.6 (or higher) system, you may then like to try the following command line to launch BNC:<br>
1592open -a /Applications/bnc.app --args -conf /Users/tsyan/MyConfig.ini<br>
1593(if the program is in /Applications and the configuration file 'MyConfig.ini' in /Users/tsyan)
1594</li>
1595
1596</ul>
1597<p><a name="authors"><h3>5. Authors</h3></p>
1598<p>
1599The BKG Ntrip Client (BNC) Qt Graphic User Interface (GUI) has been developed for the Federal Agency for Cartography and Geodesy (BKG) by Leos Mervart, Czech Technical University Prague, Department of Geodesy. BNC includes the following GNU GPL software components:
1600<ul>
1601<li> RTCM 2.x decoder, written by Oliver Montenbruck, German Space Operations Center, DLR, Oberpfaffenhofen</li>
1602<li> RTCM 3.x decoder, written for BKG by Dirk Stoecker, Alberding GmbH, Schoenefeld</li>
1603<li> RTIGS decoder, written by Ken MacLeod, Natural Resources, Canada.</li>
1604</ul>
1605</p>
1606<p>
1607Georg Weber<br>
1608Federal Agency for Cartography and Geodesy (BKG)<br>
1609Frankfurt, Germany<br>
1610[euref-ip@bkg.bund.de] or [igs-ip@bkg.bund.de]
1611</p>
1612<p>
1613<b>Acknowledgements</b><br>
1614BNC's Help Contents has been proofread by Thomas Yan, University of New South Wales, Australia.<br>
1615Scott Glazier, OmniSTAR Australia, included the decoding of broadcast ephemeris from RTIGS streams and has been helpful in finding BNC's bugs.<br>
1616James Perlt, BKG, helped fixing bugs and redesigned BNC's main window.<br>
1617Andre Hauschild, German Space Operations Center, DLR, revised the RTCMv2 decoder.<br>
1618Zdenek Lukes, Czech Technical University Prague, Department of Geodesy, extended the RTCMv2 decoder to handle message types 3, 20, 21, and 22 and added loss of lock indicator.<br>
1619</p>
1620
1621<p><a name="annex"><h3>6. Annex</h3></p>
1622<p>
16236.1. <a href=#history>Revision History</a><br>
16246.2. <a href=#rtcm>RTCM</a><br>
1625&nbsp; &nbsp; &nbsp; 6.2.1 NTRIP <a href=#ntrip1>Version 1</a><br>
1626&nbsp; &nbsp; &nbsp; 6.2.2 NTRIP <a href=#ntrip2>Version 2</a><br>
1627&nbsp; &nbsp; &nbsp; 6.2.3 RTCM <a href=#rtcm2>Version 2.x</a><br>
1628&nbsp; &nbsp; &nbsp; 6.2.4 RTCM <a href=#rtcm3>Version 3.x</a><br>
16296.3. <a href=#rtigs>RTIGS</a><br>
1630&nbsp; &nbsp; &nbsp; 6.3.1 <a href=#soc>SOC</a><br>
16316.4. <a href=#config>Configuration Example</a><br>
16326.5. <a href=#links>Links</a><br>
1633</p>
1634
1635<p><a name=history><h3>6.1 Revision History</h3></p>
1636<table>
1637<tr></tr>
1638
1639<tr>
1640<td>Dec 2006 &nbsp;</td><td>Version 1.0b &nbsp;</td>
1641<td>[Add] First Beta Binaries published based on Qt 4.2.3.</td>
1642</tr>
1643
1644<tr>
1645<td>Jan 2007 &nbsp;</td><td>Version 1.1b &nbsp;</td>
1646<td>[Add] Observables C2, S1, and S2<br>[Add] Virtual reference station access<br>[Bug] RTCM2 decoder time tag fixed<br>[Mod] Small letters for public RINEX skeleton files<br>[Add] Online help through Shift+F1</td>
1647</tr>
1648
1649<tr>
1650<td>Apr 2007 &nbsp;</td><td>Version 1.2b &nbsp;</td>
1651<td>[Bug] Output only through IP port<br>[Bug] Method 'reconnecting' now thread-save<br> [Add] ZERO decoder added<br> [Mod] Download public RINEX skeletons once per day<br> [Mod] Upgrade to Qt Version 4.2.3<br> [Mod] Replace 'system' call for RINEX script by 'QProcess'<br> [Add] HTTP Host directive for skeleton file download<br> [Add] Percent encoding for user IDs and passwords<br> [Bug] Exit execution of calling thread for RTCM3 streams<br> [Bug] Signal-slot mechanism for threads</td>
1652</tr>
1653
1654<tr>
1655<td>May 2007 &nbsp;</td><td>Version 1.3 &nbsp;</td>
1656<td>[Add] Source code published.</td>
1657</tr>
1658
1659<tr>
1660<td>Jul 2007 &nbsp;</td><td>Version 1.4 &nbsp;</td>
1661<td>[Bug] Skip messages from proxy server<br> [Bug] Call RINEX script through 'nohup'</td>
1662</tr>
1663
1664<tr>
1665<td>Apr 2008 &nbsp;</td><td>Version 1.5 &nbsp;</td>
1666<td>[Add] Handle ephemeris from RTCM Version 3.x streams<br> [Add] Upgrade to Qt Version 4.3.2<br> [Add] Optional RINEX v3 output<br> [Add] SBAS support<br> [Bug] RINEX skeleton download following stream outage<br> [Add] Handle ephemeris from RTIGS streams<br> [Add] Monitor stream failure/recovery and latency<br> [Mod] Redesign of main window<br> [Bug] Freezing of About window on Mac systems<br> [Bug] Fixed problem with PRN 32 in RTCMv2 decoder<br> [Bug] Fix for Trimble 4000SSI receivers in RTCMv2 decoder<br> [Mod] Major revision of input buffer in RTCMv2 decoder</td>
1667</tr>
1668
1669<tr>
1670<td>Dec 2008 &nbsp;</td><td>Version 1.6 &nbsp;</td>
1671<td>[Mod] Fill blanc columns in RINEXv3 with 0.000<br> [Add] RTCMv3 decoder for clock and orbit corrections<br>[Add] Check RTCMv3 streams for incoming message types<br> [Add] Decode RTCMv2 message types 3, 20, 21, and 22<br> [Add] Loss of lock and lock time indicator<br> [Bug] Rounding error in RTCMv3 decoder concerning GLONASS height<br> [Mod] Accept GLONASS in RTCMv3 when transmitted first<br> [Add] Leap second 1 January 2009<br> [Add] Offline mode, read data from file<br> [Add] Output antenna descriptor, coordinates and excentricities from RTCMv3<br> [Add] Reconfiguration on-the-fly<br> [Mod] Binary output of synchronized observations<br> [Add] Binary output of unsynchronized observations<br> [Bug] Fixed problem with joined RTCMv3 blocks</td>
1672</tr>
1673
1674<tr>
1675<td>Dec 2008 &nbsp;</td><td>Version 1.6.1 &nbsp;</td>
1676<td>[Mod] HTTP GET when no proxy in front</td>
1677</tr>
1678
1679<tr>
1680<td>Nov 2009 &nbsp;</td><td>Version 1.7 &nbsp;</td>
1681<td>[Bug] RINEX navigation file format<br> [Add] Upgrade to Qt Version 4.5.2<br> [Add] Support of NTRIP v2<br> [Add] Rover support via serial port<br> [Add] Show broadcaster table from www.rtcm-ntrip.org<br> [Add] Enable/disable tab widgets<br> [Add] User defined configuration file name<br> [Mod] Switch to configuration files in ini-Format<br> [Add] Daily logfile rotation<br> [Add] Read from TCP/IP port, by-pass NTRIP transport protocol<br> [Add] Save NMEA messages coming from rover<br> [Add] Auto start<br> [Add] Drag and drop ini files<br> [Add] Read from serial port, by-pass NTRIP transport protocol<br> [Mod] Update of SSR messages following RTCM 091-2009-SC104-542<br> [Add] Read from UPD port, by-pass NTRIP transport protocol<br> [Mod] Output format of Broadcast Corrections<br> [Add] Throughput plot<br> [Add] Latency plot</td>
1682</tr>
1683
1684<tr>
1685<td>Nov 2009 &nbsp;</td><td>Version 1.8 &nbsp;</td>
1686<td>[Mod] On-the-fly reconfiguration of latency and throughput plots</td>
1687</tr>
1688
1689<tr>
1690<td>Feb 2010 &nbsp;</td><td>Version 2.0 &nbsp;</td>
1691<td>[Mod] Change sign of Broadcast Ephemeris correctors<br> [Add] Real-time PPP option</td>
1692</tr>
1693
1694<tr>
1695<td>Jun 2010 &nbsp;</td><td>Version 2.1 &nbsp;</td>
1696<td>[Bug] SSR GLONASS message generation<br> [Add] PPP in post-processing mode<br> [Mod] Update of SSR messages following draft dated 2010-04-12<br> [Mod] Generating error message when observation epoch is wrong</td>
1697</tr>
1698
1699<tr>
1700<td>Jul 2010 &nbsp;</td><td>Version 2.2 &nbsp;</td>
1701<td>[Bug] GLONASS ephemeris time</td>
1702</tr>
1703
1704<tr>
1705<td>Aug 2010 &nbsp;</td><td>Version 2.3 &nbsp;</td>
1706<td>[Mod] Internal format for saving raw streams<br> [Bug] Outlier detection in GLONASS ambiguity resolution<br> [Mod] Format of PPP logs in logfile<br> [Bug] Complete acceleration terms for GLONASS ephemeris<br> [Bug] Handling ephemeris IOD's in PPP mode</td>
1707</tr>
1708
1709<tr>
1710<td>Nov 2010 &nbsp;</td><td>Version 2.4 &nbsp;</td>
1711<td>[Add] Output of averaged positions when in PPP mode<br> [Mod] Use always the latest received set of broadcast ephemeris<br> [Add] QuickStart PPP option</td>
1712</tr>
1713
1714</table>
1715</p>
1716
1717<p><a name="rtcm"><h4>6.2. RTCM</h4></p>
1718
1719<p>
1720The Radio Technical Commission for Maritime Services (RTCM) is an international non-profit scientific, professional and educational organization. Special Committees provide a forum in which governmental and non-governmental members work together to develop technical standards and consensus recommendations in regard to issues of particular concern. RTCM is engaged in the development of international standards for maritime radionavigation and radiocommunication systems. The output documents and reports prepared by RTCM Committees are published as RTCM Recommended Standards. Topics concerning Differential Global Navigation Satellite Systems (DGNSS) are handled by the Special Committee SC 104.
1721<p>
1722Personal copies of RTCM Recommended Standards can be ordered through <u>http://www.rtcm.org/orderinfo.php</u>.
1723</p>
1724
1725<p><a name="ntrip1"><h4>6.2.1 NTRIP Version 1</h4></p>
1726
1727<p>
1728'Networked Transport of RTCM via Internet Protocol' Version 1.0 (NTRIP) stands for an application-level protocol streaming Global Navigation Satellite System (GNSS) data over the Internet. NTRIP is a generic, stateless protocol based on the Hypertext Transfer Protocol HTTP/1.1. The HTTP objects are enhanced to GNSS data streams.
1729</p>
1730
1731<p>
1732NTRIP Version 1.0 is an RTCM standard designed for disseminating differential correction data (e.g. in the RTCM-104 format) or other kinds of GNSS streaming data to stationary or mobile users over the Internet, allowing simultaneous PC, Laptop, PDA, or receiver connections to a broadcasting host. NTRIP supports wireless Internet access through Mobile IP Networks like GSM, GPRS, EDGE, or UMTS.
1733</p>
1734
1735<p>
1736NTRIP is implemented in three system software components: NTRIP clients, NTRIP servers and NTRIP broadcasters. The NTRIP broadcaster is the actual HTTP server program whereas NTRIP client and NTRIP server are acting as HTTP clients.
1737</p>
1738
1739<p>
1740NTRIP is an open none-proprietary protocol. Major characteristics of NTRIP's dissemination technique are:
1741<ul>
1742<li>Based on the popular HTTP streaming standard; comparatively easy to implement when having limited client and server platform resources available.</li>
1743<li>Application not limited to one particular plain or coded stream content; ability to distribute any kind of GNSS data.</li>
1744<li>Potential to support mass usage; disseminating hundreds of streams simultaneously for thousands of users possible when applying modified Internet Radio broadcasting software.</li>
1745<li>Considering security needs; stream providers and users don't necessarily get into contact, streams often not blocked by firewalls or proxy servers protecting Local Area Networks.</li>
1746<li>Enables streaming over mobile IP networks because of using TCP/IP.</li>
1747</ul>
1748</p>
1749
1750<p>
1751The NTRIP broadcaster maintains a source-table containing information on available NTRIP streams, networks of NTRIP streams and NTRIP broadcasters. The source-table is sent to an NTRIP client on request. Source-table records are dedicated to one of the following: Data Streams (record type STR), Casters (record type CAS), or Networks of streams (record type NET).
1752</p>
1753
1754<p>
1755Source-table records of type STR contain the following data fields: 'mountpoint', 'identifier', 'format', 'format-details', 'carrier', 'nav-system', 'network', 'country', 'latitude', 'longitude', 'nmea', 'solution', 'generator', 'compr-encryp', 'authentication', 'fee', 'bitrate', 'misc'.
1756</p>
1757<p>
1758Source-table records of type NET contain the following data fields: 'identifiey', 'operator', 'authentication', 'fee', 'web-net', 'web-str', 'web-reg', 'misc'.
1759</p>
1760<p>
1761Source-table records of type CAS contain the following data fields: 'host', 'port', 'identifier', 'operator', 'nmea', 'country', 'latitude', 'longitude', 'misc'.
1762</p>
1763
1764<p><a name="ntrip2"><h4>6.2.1 NTRIP Version 2</h4></p>
1765
1766<p>
1767The major changes of NTRIP version 2.0 compared to version 1.0 are:
1768</p>
1769
1770<ul>
1771<li>cleared and fixed design problems and HTTP protocol violations;</li>
1772<li>replaced non standard directives;</li>
1773<li>chunked transfer encoding;</li>
1774<li>improvements in header records;</li>
1775<li>source-table filtering; and</li>
1776<li>RTSP communication.</li>
1777</ul>
1778
1779<p>NTRIP version 2 allows to either communicate in TCP/IP mode or in RTSP/RTP mode or in UDP mode whereas version 1 is limited to TCP/IP only.
1780</p>
1781
1782<p><a name="rtcm2"><h4>6.2.3 RTCM Version 2.x</h4></p>
1783<p>
1784Transmitting GNSS carrier phase data can be done through RTCM Version 2.x messages. Please note that only RTCM Version 2.2 and 2.3 streams may include GLONASS data. Messages that may be of some interest here are:
1785</p>
1786
1787<ul>
1788<li>
1789Type 1 message is the range correction message and is the primary message in code-phase differential positioning (DGPS). It is computed in the base receiver by computing the error in the range measurement for each tracked SV.
1790</li>
1791<li>
1792Type 2 message is automatically generated when a new set of satellite ephemeris is downloaded to the base receiver. It is the computed difference between the old ephemeris and the new ephemeris. Type 2 messages are used when the base station is transmitting Type 1 messages.
1793</li>
1794<li>
1795Type 3 and 22 messages are the base station position and the antenna offset. Type 3 and 22 are used in RTK processing to perform antenna reduction.
1796</li>
1797<li>
1798Type 6 message is a null frame filler message that is provided for data links that require continuous transmission of data, even if there are no corrections to send. As many Type 6 messages are sent as required to fill in the gap between two correction messages (type 1). Message 6 is not sent in burst mode.
1799</li>
1800<li>
1801Type 9 message serves the same purpose as Type 1, but does not require a complete satellite set. As a result, Type 9 messages require a more stable clock than a station transmitting Type 1 's, because the satellite corrections have different time references.
1802</li>
1803<li>
1804Type 16 message is simply a text message entered by the user that is transmitted from the base station to the rover. It is used with code-phase differential.
1805</li>
1806<li>
1807Type 18 and 20 messages are RTK uncorrected carrier phase data and carrier phase corrections.
1808</li>
1809<li>
1810Type 19 and 21 messages are the uncorrected pseudo-range measurements and pseudo-range corrections used in RTK.
1811</li>
1812<li>
1813Type 23 message provides the information on the antenna type used on the reference station.
1814</li>
1815<li>
1816Type 24 message carries the coordinates of the installed antenna's ARP in the GNSS coordinate system coordinates.
1817</li>
1818</ul>
1819
1820<p><a name="rtcm3"><h4>6.2.4 RTCM Version 3.x</h4></p>
1821<p>
1822RTCM Version 3.x has been developed as a more efficient alternative to RTCM Version 2.x. Service providers and vendors have asked for a standard that would be more efficient, easy to use, and more easily adaptable to new situations. The main complaint was that the Version 2 parity scheme was wasteful of bandwidth. Another complaint was that the parity is not independent from word to word. Still another was that even with so many bits devoted to parity, the actual integrity of the message was not as high as it should be. Plus, 30-bit words are awkward to handle. The Version 3.x standard is intended to correct these weaknesses.
1823</p>
1824<p>
1825RTCM Version 3.x defines a number of message types. Messages that may be of interest here are:
1826<ul>
1827<li>Type 1001, GPS L1 code and phase.</li>
1828<li>Type 1002, GPS L1 code and phase and ambiguities and carrier to noise ratio.</li>
1829<li>Type 1003, GPS L1 and L2 code and phase.</li>
1830<li>Type 1004, GPS L1 and L2 code and phase and ambiguities and carrier to noise ratio.</li>
1831<li>Type 1005, Station coordinates XZY for antenna reference point.</li>
1832<li>Type 1006, Station coordinates XYZ for antenna reference point and antenna height.</li>
1833<li>Type 1007, Antenna descriptor and ID.</li>
1834<li>Type 1008, Antenna serial number.</li>
1835<li>Type 1009, GLONASS L1 code and phase.</li>
1836<li>Type 1010, GLONASS L1 code and phase and ambiguities and carrier to noise ratio.</li>
1837<li>Type 1011, GLONASS L1 and L2 code and phase.</li>
1838<li>Type 1012, GLONASS L1 and L2 code and phase and ambiguities and carrier to noise ratio.</li>
1839<li>Type 1013, Modified julian date, leap second, configured message types and interval.</li>
1840<li>Type 1014 and 1017, Network RTK (MAK) messages (under development).</li>
1841<li>Type 1019, GPS ephemeris.</li>
1842<li>Type 1020, GLONASS ephemeris.</li>
1843<li>Type 4088 and 4095, Proprietary messages (under development).
1844</li>
1845</ul>
1846</p>
1847
1848<p>
1849The following are proposed 'Multiple Signal Messages' (MSM) under discussion for standardization:
1850<ul>
1851<li>Type 1071, Compact GPS pseudo-ranges</li>
1852<li>Type 1072, Compact GPS carrier phases</li>
1853<li>Type 1073, Compact GPS pseudo-ranges and carrier phases</li>
1854<li>Type 1074, Full GPS pseudo-ranges and carrier phases plus signal strength</li>
1855<li>Type 1075, Full GPS pseudo-ranges, carrier phases, Doppler and signal strength</li>
1856<li>Type 1076, Full GPS pseudo-ranges and carrier phases plus signal strength (high resolution)</li>
1857<li>Type 1077, Full GPS pseudo-ranges, carrier phases, Doppler and signal strength (high resolution)<br></li>
1858<li>Type 1081, Compact GLONASS pseudo-ranges</li>
1859<li>Type 1082, Compact GLONASS carrier phases</li>
1860<li>Type 1083, Compact GLONASS pseudo-ranges and carrier phases</li>
1861<li>Type 1084, Full GLONASS pseudo-ranges and carrier phases plus signal strength</li>
1862<li>Type 1085, Full GLONASS pseudo-ranges, carrier phases, Doppler and signal strength</li>
1863<li>Type 1086, Full GLONASS pseudo-ranges and carrier phases plus signal strength (high resolution)</li>
1864<li>Type 1087, Full GLONASS pseudo-ranges, carrier phases, Doppler and signal strength (high resolution)<br></li>
1865<li>Type 1091, Compact GALILEO pseudo-ranges</li>
1866<li>Type 1092, Compact GALILEO carrier phases</li>
1867<li>Type 1093, Compact GALILEO pseudo-ranges and carrier phases</li>
1868<li>Type 1094, Full GALILEO pseudo-ranges and carrier phases plus signal strength</li>
1869<li>Type 1095, Full GALILEO pseudo-ranges, carrier phases, Doppler and signal strength</li>
1870<li>Type 1096, Full GALILEO pseudo-ranges and carrier phases plus signal strength (high resolution)</li>
1871<li>Type 1097, Full GALILEO pseudo-ranges, carrier phases, Doppler and signal strength (high resolution)<br></li>
1872</ul>
1873</p>
1874
1875<p>
1876The following are proposed 'State Space Representation' (SSR) messages under discussion for standardization:
1877<ul>
1878<li>Type 1057, GPS orbit corrections to Broadcast Ephemeris</li>
1879<li>Type 1058, GPS clock corrections to Broadcast Ephemeris</li>
1880<li>Type 1059, GPS code biases</li>
1881<li>Type 1060, Combined orbit and clock corrections to GPS Broadcast Ephemeris</li>
1882<li>Type 1061, GPS User Range Accuracy (URA)</li>
1883<li>Type 1062, High-rate GPS clock corrections to Broadcast Ephemeris</li>
1884<li>Type 1063, GLONASS orbit corrections to Broadcast Ephemeris</li>
1885<li>Type 1064, GLONASS clock corrections to Broadcast Ephemeris</li>
1886<li>Type 1065, GLONASS code biases</li>
1887<li>Type 1066, Combined orbit and clock corrections to GLONASS Broadcast Ephemeris</li>
1888<li>Type 1067, GLONASS User Range Accuracy (URA)</li>
1889<li>Type 1068, High-rate GLONASS clock corrections to Broadcast Ephemeris</li>
1890</ul>
1891</p>
1892
1893<p><a name="rtigs"><h4>6.3. RTIGS</h4></p>
1894<p>
1895RTIGS stands for a data format and transport protocol for GPS observations. It was defined by the Real-Time IGS Working Group (RTIGS WG). Its definition is based on the SOC format. Every RTIGS record has one of the following numbers:
1896</p>
1897<p>
1898Station record number 100<br>
1899Observation record (O_T) number 200<br>
1900Ephemeris record (E_T) number 300<br>
1901Meteorological record (M_T) number 400
1902</p>
1903<p>
1904Every station has one of the following unique numbers:
1905</p>
1906<p>
19071-99 reserved for JPL<br>
1908100-199 reserved for NRCan<br>
1909200-299 reserved for NGS<br>
1910300-399 reserved for ESOC<br>
1911400-499 reserved for GFZ<br>
1912500-599 reserved for BKG<br>
1913600-699 reserved for GEOSCIENCE AUS<br>
1914700-799 others<br>
1915etc
1916</p>
1917<p>
1918The number of bytes in each real time message includes the header as well as the data content, but NOT the pointer.
1919</p>
1920<p>
1921For example:
1922</p>
1923<ul>
1924<li>A station message is output once per hour and is 20 bytes.</li>
1925<li>An observation message is output once per second. The header is 12 bytes long and the SOC data is 21 bytes per PRN. So a typical RTIGSO_T message will be 390 bytes if 8 sats are being tracked.</li>
1926<li>An ephemeris message is output when the ephemeris is decoded by the GPS receiver. The time in the ephemeris header is the collected time. Only one ephemeris can be bundled in a RTIGSE_T message.<br>
1927A RTIGSE_T message contains one eph. The message consists of 12 header bytes and 72 ephemeris bytes, for a total of 84 bytes.</li>
1928<li>The RTIGSM_T (met) message should be issued once every 15 minutes. A basic met message consists of a 12 byte header and 3 longs (temp, press and relative humidity) for a total of 24 bytes.</li>
1929</ul>
1930<p>
1931All records are related to a station configuration indicated by the Issue of Data Station (IODS). The IODS will enable the user to identify the equipment and software that was used to derive the observation data.
1932</p>
1933<p>
1934Each record header contains the GPS Time in seconds which flows continuously from 6 Jan-1980 onwards.
1935</p>
1936<p>
1937The data payload of each record consists of observations. The structures indicate a pointer to data but in fact the broadcast messages do not contain the pointer, only the data. Users will have to manage the data and the pointer is shown in order to illustrate where the data is located in the message and one possible data management option.
1938</p>
1939<p>
1940All record data are in network byte order (Big Endian), i.e. IA32 users have to swap bytes.
1941</p>
1942<p>
1943Visit <u>http://igscb.jpl.nasa.gov/mail/igs-rtwg/2004/msg00001.html</u> for further details.
1944</p>
1945
1946<p><a name="soc"><h4>6.3.1 SOC</h4></p>
1947<p>
1948The SOC format has been designed in July 1999 by the Jet Propulsion Laboratory (JPL) and the California Institute of Technology (CalTech) to transport 1Hz GPS data with minimal bandwidth over the open Internet. SOC follows the 'little-endian' byte order meaning that the low-order byte of a number is stored in memory at the lowest address, and the high-order byte at the highest address. Because the transport layer is UDP, the format does not include sync bits, a checksum, or cyclic redundancy checksum (CRC). SOC allows to transport the GPS observable CA, P1, P2, L1, and L2, efficiently compressed down to 14 bytes with 1 mm range resolution and 0.02 mm phase resolution. SOC contains epochs for cycle slips, a stand-alone time-tag per epoch, a minimum representation of the receiver's clock solution, 3 SNR numbers, a unique site id, a modulo 12 hour sequence number and flags for receiver type and GPS health. SOC's simple structure comprises an 8 byte header, a 9 byte overhead for timetag, number of gps, etc., plus 21 data bytes per gps.
1949</p>
1950<p>
1951Visit <u>http://gipsy.jpl.nasa.gov/igdg/papers/SOC_FORMAT.ppt</u> for further details.
1952</p>
1953<p>
1954</p>
1955<p><a name="config"><h4>6.4. Configuration Example</h4></p>
1956<p>
1957The following table's left column is an example for the contents of a configuration file 'BNC.ini'. It enables the retrieval of stream ACOR0 form www.euref-ip.net for the generation of 15 min RINEX files. RINEX files are uploaded to an archive using script 'up2archive' :
1958</p>
1959<table>
1960<tr></tr>
1961<tr><td><b>Option</b></td><td><b>Affiliation</b></td></tr>
1962<tr><td>[General]</td><td>Settings: Group</td></tr>
1963<tr><td>adviseFail=15</td><td>Outages: Failure threshold</td></tr>
1964<tr><td>adviseReco=5</td><td>Outages: Recovery threshold</td></tr>
1965<tr><td>adviseScript=</td><td>Outages: Script (full path)</td></tr>
1966<tr><td>autoStart=0</td><td>General: Auto start</td></tr>
1967<tr><td>binSample=0</td><td>Feed Engine: Sampling</td></tr>
1968<tr><td>casterUrlList=http://user:pass@euref-ip:2101</td><td>Internal memory: Visited URLs</td></tr>
1969<tr><td>corrIntr=1 day</td><td>Broadcast Corrections: Interval</td></tr>
1970<tr><td>corrPath=</td><td>Broadcast Corrections: Directory </td></tr>
1971<tr><td>corrPort=</td><td>Broadcast Corrections: Port</td></tr>
1972<tr><td>corrTime=5</td><td>Broadcast Corrections: Wait for full epoch</td></tr>
1973<tr><td>ephIntr=15 min</td><td>RINEX Ephemeris: Interval</td></tr>
1974<tr><td>ephPath=</td><td>RINEX Ephemeris: Directory</td></tr>
1975<tr><td>ephV3=0</td><td>RINEX Ephemeris: Version 3</td></tr>
1976<tr><td>font=</td><td>Internal memory: Used font</td></tr>
1977<tr><td>logFile=/home/weber/bnc.log</td><td>General: Logfile (full path)</td></tr>
1978<tr><td>rawOutFile=</td><td>General: Raw output file (full path)</td></tr>
1979<tr><td>miscMount=</td><td>Miscellaneous: Mountpoint</td></tr>
1980<tr><td>mountPoints=//user:pass@www.euref-ip.net:2101<br>/ACOR0 RTCM_2.3 43.36 351.60 no 1</td><td>Streams: broadcaster:port/mountpoint</td></tr>
1981<tr><td>ntripVersion=1</td><td>Add Stream: NTRIP Version</td></tr>
1982<tr><td>obsRate=</td><td>Outages: Observation rate</td></tr>
1983<tr><td>onTheFlyInterval=1 day</td><td>General: Reread configuration</td></tr>
1984<tr><td>outEphPort=</td><td>RINEX Ephemeris: Port</td></tr>
1985<tr><td>outFile=</td><td>Feed Engine: File (full path)</td></tr>
1986<tr><td>outPort=</td><td>Feed Engine: Port</td></tr>
1987<tr><td>outUPort=</td><td>Feed Engine: Port (unsynchronized)</td></tr>
1988<tr><td>perfIntr=</td><td>Miscellaneous: Log latency</td></tr>
1989<tr><td>proxyHost=</td><td>Proxy: Proxy host</td></tr>
1990<tr><td>proxyPort=</td><td>Proxy: Proxy port</td></tr>
1991<tr><td>rnxAppend=2</td><td>General: Append files</td></tr>
1992<tr><td>rnxIntr=15 min</td><td>RINEX Observations: Interval</td></tr>
1993<tr><td>rnxPath=/home/user/rinex</td><td>RINEX Observations: Directory</td></tr>
1994<tr><td>rnxSample=0</td><td>RINEX Observations: Sampling</td></tr>
1995<tr><td>rnxScript=/home/user/rinex/up2archive</td><td>RINEX Observations: Script (full path)</td></tr>
1996<tr><td>rnxSkel=</td><td>RINEX Observations: Skeleton extension</td></tr>
1997<tr><td>rnxV3=0</td><td>RINEX Observation: Version 3</td></tr>
1998<tr><td>scanRTCM=0</td><td>Miscellaneous: Scan RTCM</td></tr>
1999<tr><td>serialAutoNMEA=Auto</td><td>Serial Output: NMEA</td></tr>
2000<tr><td>serialBaudRate=9600</td><td>Serial Output: Baud rate</td></tr>
2001<tr><td>serialDataBits=8</td><td>Serial Output: Data bits</td></tr>
2002<tr><td>serialHeightNMEA=</td><td>Serial Output: Height</td></tr>
2003<tr><td>serialMountPoint=</td><td>Serial Output: Mountpoint</td></tr>
2004<tr><td>serialParity=NONE</td><td>Serial Output: Parity</td></tr>
2005<tr><td>serialPortName=</td><td>Serial Output: Port name</td></tr>
2006<tr><td>serialStopBits=1</td><td>Serial Output: Stop bits</td></tr>
2007<tr><td>startTab=0</td><td>Internal memory: Top tab index</td></tr>
2008<tr><td>statusTab=0</td><td>Internal memory: Bottom tab index</td></tr>
2009<tr><td>waitTime=5</td><td>Feed Engine: Wait for full epoch</td></tr>
2010<tr><td>pppMount=</td><td>PPP Client: Mountpoint</td></tr>
2011<tr><td>pppSPP=</td><td>PPP Client: PPP/SPP</td></tr>
2012<tr><td>pppStatic=0</td><td>PPP Client: Static mode</td></tr>
2013<tr><td>pppUsePhase=0</td><td>PPP Client: Use phase data </td></tr>
2014<tr><td>pppEstTropo=0</td><td>PPP Client: Estimate troposphere</td></tr>
2015<tr><td>pppGLONASS=0</td><td>PPP Client: Use GLONASS</td></tr>
2016<tr><td>pppSigmaCode=0</td><td>PPP Client: Sigma for Code observations</td></tr>
2017<tr><td>pppAverage=</td><td>PPP Client: Lenght of time window for moving average</td></tr>
2018<tr><td>pppOrigin=</td><td>PPP Client: Origin of time series plot</td></tr>
2019<tr><td>pppRefCrdX=</td><td>PPP Client: X coordinate of plot origin</td></tr>
2020<tr><td>pppRefCrdY=</td><td>PPP Client: Y coordinate of plot origin</td></tr>
2021<tr><td>pppRefCrdZ=</td><td>PPP Client: Z coordinate of plot origin</td></tr>
2022<tr><td>nmeaFile=</td><td>PPP Client: NMEA outputfile</td></tr>
2023<tr><td>nmeaPort=</td><td>PPP Client: NMEA IP output port</td></tr>
2024</table>
2025</p>
2026<p>
2027Note that the following configuration options saved on disk can be changed/edited on-the-fly while BNC is already processing data:
2028</p>
2029<p>
2030<ul>
2031<li>'mountPoints' to change the selection of streams to be processed, see section 'Streams',</li>
2032<li>'waitTime' to change the 'Wait for full epoch' option, see section 'Feed Engine', and</li>
2033<li>'binSampl' to change the 'Sampling' option, see section 'Feed Engine'.</li>
2034</ul>
2035</p>
2036
2037<p><a name="links"><h3>6.5 Links</h3></p>
2038<table>
2039<tr></tr>
2040<tr><td>NTRIP &nbsp;</td><td><u>http://igs.bkg.bund.de/ntrip/about</u></td></tr>
2041<tr><td>EUREF-IP NTRIP broadcaster &nbsp;</td><td><u>http://www.euref-ip.net/home</u></td></tr>
2042<tr><td>IGS-IP NTRIP broadcaster &nbsp;</td><td><u>http://www.igs-ip.net/home</u></td></tr>
2043<tr><td>IGS products NTRIP broadcaster &nbsp;</td><td><u>http://products.igs-ip.net/home</u></td></tr>
2044<tr><td>Distribution of IGS-IP streams &nbsp;</td><td><u>http://www.igs.oma.be/real_time/</u></td></tr>
2045<tr><td>Completeness and latency of IGS-IP data &nbsp;</td><td><u>http://www.igs.oma.be/highrate/</u></td></tr>
2046<tr><td>NTRIP broadcaster overview &nbsp;</td><td><u>http://www.rtcm-ntrip.org/home</u></td></tr>
2047<tr><td>NTRIP Open Source software code &nbsp;</td><td><u>http://software.rtcm-ntrip.org</u></td></tr>
2048<tr><td>EUREF-IP Project &nbsp;</td><td><u>http://www.epncb.oma.be/euref_IP</u></td></tr>
2049<tr><td>Real-time IGS Pilot Project &nbsp;</td><td><u>http://www.rtigs.net/pilot</u></td></tr>
2050<tr><td>Radio Technical Commission<br>for Maritime Services &nbsp;</td><td><u>http://www.rtcm.org</u>
2051</table>
2052
Note: See TracBrowser for help on using the repository browser.