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

Last change on this file since 175 was 175, checked in by mervart, 18 years ago

* empty log message *

File size: 22.2 KB
Line 
1
2<p><h3>BKG Ntrip Client (BNC)</h3></p>
3
4<p>
5The BKG Ntrip Client (BNC) is a program for simultaneously retrieving real-time GNSS data streams from NTRIP broadcasters like <a class="link" href="http://www.euref-ip.net/home"><u>www.euref-ip.net</u></a> or <a class="link" href="http://www.igs-ip.net/home"><u>www.igs-ip.net</u></a>. BNC has been developed within the framework of the EUREF-IP Pilot Project (EUREF-IP) and the Real-Time IGS Working Group (RTIGS).
6</p>
7
8<p>
9<h3>Contents</h3>
10<h4>
11<a href=#purpose>A - Purpose<br>
12<a href=#options>B - Options<br>
13<a href=#limits>C - Limitations<br>
14<a href=#authors>D - Authors<br>
15<a href=#annex>E - Annex<br>
16</h4>
17</p>
18<br>
19
20<a name="purpose">
21<p><h3>A - Purpose</h3></p>
22
23<p> The purpose of BNC is to
24
25<ul>
26<li>Generate high-rate RINEX files to feed near real-time post-processing applications, and/or</li>
27<li>Output synchronize observations through an IP port to feed real-time applications.</li>
28</ul>
29<p>
30BNC decodes and converts streams carrying phase data coming in
31</p>
32<ul>
33<li> RTCM <a href=#rtcm2>Version 2.x</a> Format containing message types 18 and 19, </li>
34<li> RTCM <a href=#rtcm3>Version 3</a> Format containing message types 1001, 1002, 1003, and 1004,</li>
35<li> <a href=#rtigs>RTIGS</a> Format.</li>
36</ul>
37</p>
38
39<p>
40BNC is available for Windows, Linux, and Solaris systems. It has been developed under GNU General Public License.
41</p>
42
43<br>
44<a name="options">
45<p><h3>B - Options</h3></p>
46<table>
47<tr><td>B - 1.</td><td><a href=#file>File</a></td>
48<tr><td>B - 2.</td><td><a href=#help>Help</a></td>
49<tr><td>B - 3.</td><td><a href=#proxy>Proxy</a></td>
50<tr><td>B - 4.</td><td><a href=#output>Synchronized Output</a></td>
51<tr><td></td><td>B - 4.1.</td><td><a href=#wait>Wait for Full Epoch</a></td>
52<tr><td></td><td>B - 4.2.</td><td><a href=#ascii>ASCII Output File</a></td>
53<tr><td></td><td>B - 4.3.</td><td><a href=#binary>Port for Binary Output</a></td>
54<tr><td>B - 5.</td><td><a href=#rinex>RINEX</a></td>
55<tr><td></td><td>B - 5.1.</td><td><a href=#rnxpath>RINEX Path</a></td>
56<tr><td></td><td>B - 5.2.</td><td><a href=#rnxscript>RINEX Script</a></td>
57<tr><td></td><td>B - 5.3.</td><td><a href=#rnxinterval>RINEX File Interval</a></td>
58<tr><td></td><td>B - 5.4.</td><td><a href=#rnxsample>RINEX Sampling</a></td>
59<tr><td></td><td>B - 5.5.</td><td><a href=#rnxskeleton>RINEX Skeleton Extension</a></td>
60<tr><td>B - 6.</td><td><a href=#mountpoints>Mountpoints</a></td>
61<tr><td></td><td>B - 6.1.</td><td><a href=#AddMounts>Add Mountpoints</a></td>
62<tr><td></td><td>B - 6.2.</td><td><a href=#HostPort>Broadcaster Host and Port</a></td>
63<tr><td></td><td>B - 6.3.</td><td><a href=#account>Broadcaster User and Password</a></td>
64<tr><td></td><td>B - 6.4.</td><td><a href=#GetTable>Get Table</a></td>
65<tr><td>B - 7.</td><td><a href=#delete>Delete Mountpoints</a></td>
66<tr><td>B - 8.</td><td><a href=#log>Log File</a></td>
67<tr><td>B - 9.</td><td><a href=#start>Start</a></td>
68<tr><td>B - 10.</td><td><a href=#stop>Stop</a></td>
69<tr><td>B - 11.</td><td><a href=#nw>No Window</a></td>
70</table>
71</p>
72
73<a name="file">
74<p><h4>B - 1. File</h4></p>
75
76<p>
77The 'File' button lets you
78<ul>
79<li>
80Select an appropriate font.<br>
81Use a small font size in case the BNC window exceed the size of your screen.
82</li>
83<li> Save selected options.<br>
84Note that on Windows systems options are saved in the registry file. On Linux and Solaris systems options are saved in ${HOME}/.config/BKG/BKG_NTRIP_Client.conf.
85</li>
86</ul>
87</p>
88
89<a name="help">
90<p><h4>B - 2. Help</h4></p>
91
92<p>
93The 'Help' button provides access to
94<ul>
95<li>
96General information 'About BNC'.<br>
97Close the 'About BNC' window to continuing with BNC.
98</li>
99<li>
100Help Contents.<br>
101You may keep the 'Help Contents' window open while setting BNC options.
102</li>
103</ul>
104</p>
105
106<a name="proxy">
107<p><h4>B - 3. Proxy</h4></p>
108
109<p>
110You may like to run BNC on a host in a Local Area Network (LAN). LAN's are often protected by a proxy server. Enter your proxy server IP and port number in case one is operated in front of you. In case you don't know the IP and port of your proxy server, check out the proxy server settings of your Windows browser or ask your network administrator.</p>
111<p>
112Note that IP-streaming may be generally denied in a LAN. In such a case you need to contact your network administrator for an appropriate modification of your security policy or the installation of a TCP relay to involved NTRIP broadcasters. If that doesn't work out, run BNC on a host that is connected to the Internet through an Internet Service Provider (ISP).
113</p>
114
115<a name="output"> <p><h4>B - 4. Synchronized Output</h4></p>
116<p>
117BNC lets you output synchronized observations epoch by epoch. This output is made available in binary format and in ASCII format. The output comprises the following observations - if available:</p>
118StatID, SVPRN, GPSWeek, GPSWeeks, sec, C1, P2, L1, L2, SNR1, SNR2, pCodeIndicator, cumuLossOfCont.
119</p>
120
121<a name="wait">
122<p><h4>B - 4.1 Wait for Full Epoch</h4></p>
123<p>
124When feeding a real-time GNSS engine waiting for input epoch by epoch, BNC ignores whatever is received later then 'Wait for full epoch' seconds. A value of 2 to 5 seconds may be an appropriate choice for that, depending on the delay you can accept for your real-time product. Note that 'Wait for full epoch' does not influence the RINEX file contents. Observations coming in later than 'Wait for full epoch' will still be included there.
125</p>
126
127<a name="ascii">
128<p><h4>B - 4.2 ASCII Output File</h4></p>
129<p>
130BNC lets you save synchronized observations in plain ASCII format in a file. Enter a full path for that file.
131</p>
132
133<a name="binary">
134<p><h4>B - 4.3 Port for Binary Output</h4></p>
135<p>
136BNC outputs synchronized observations in a binary format through an IP port with the following format: ..... Source code of an example program 'test_bnc.cpp' that reads the binary data to feed real-time GNSS applications is available.
137</p>
138
139<a name="rinex">
140<p><h4>B - 5. RINEX</h4></p>
141<p>
142Observations are converted to RINEX format version 2.1. Note that RINEX file names are derived by BNC from the first 4 characters of the corresponding mountpoint (4Char Station ID). Thus, retrieving data from mounpoints FFMJ1 and KARL0 leads to RINEX files named FFMJ*.* and KARL*.*.</p>
143<p>
144In case you retrieve streams that show mountpoints with an identical 4Char Station ID, the full mountpoint string will become part of the RINEX file name. Example: When simultaneously retrieving mountpoints FFMJ1 and FFMJ3, there RINEX file names will be FFMJ*_1.* and FFMJ*_3.*.
145</p>
146
147<a name="rnxpath">
148<p><h4>B - 5.1 RINEX Directory Path</h4></p>
149<p>
150Enther a path for saving the RINEX files in a directory. If this directory does not exist, BNC will not store these files.
151</p>
152
153<a name="rnxscript">
154<p><h4>B - 5.2 RINEX Script</h4></p>
155<p>
156Whenever a RINEX file is generated, you may like to compress, copy, or upload it immediately. For that you enter the full path of a script or batch file carrying out these operations. The RINEX file name will be passed to the script as a command line parameter. Note the following example for a 'RINEX Script' file: ${HOME}/upload_script
157</p>
158
159<a name="rnxinterval">
160<p><h4>B - 5.3 RINEX File Interval</h4></p>
161<p>
162Enter the interval for the RINEX file generation. Available options are 2 min, 5 min, 10 min, 15 min, 20 min, 30 min, 1 hour, or 1 day.
163</p>
164
165<a name="rnxsample">
166<p><h4>B - 5.4 RINEX Sample Interval</h4></p>
167<p>
168Select the RINEX sample interval. Zero '0' stands for converting all incoming epochs to RINEX.
169</p>
170
171<a name="rnxskeleton">
172<p><h4>B - 5.5 RINEX Skeleton Extension</h4></p>
173<p>
174The generated RINEX is somewhat limited due to the streaming character of the conversion.
175<ul>
176<li>
177Header records can only represent data, which is known after receiving the very first epoch. Data rate, position, number of observations and any such additional fields cannot be provided.
178</li>
179<li>
180The number of observables cannot change during the program runtime. Only the observables, which exist in the first epoch are outputted. If there are new observables later on, these are ignored.
181</li>
182<li>
183Concerning RTCM Version 3 streams: If the ambiguity field is not set, the output will be no valid RINEX. All values will be stored modulo 299792.458. A COMMENT line will tell you, when this happens. It would be necessary to approximately calculate the range to fix the ambiguity (needing ephemeris/almanac and easy positioning algorithm).
184</li>
185</ul>
186To overcome the problem BNC lets you introduce RINEX skeleton files that contain the header records you would like to see instead of the default header. You may like to derive RINEX skeleton files from the information given in sitelogs. Any file in the 'RINEX Directory Path' with the 'RINEX skeleton extension' is understood by BNC as a RINEX skeleton file.
187</p>
188<p>
189Example: Moutpoints FFMJ1 and KARL0 lead to the generation of RINEX files FFMJ*.* and KARL*.*. The header part of these files would be overwritten by the content of the skeleton files FFMJ.skl and KARL.skl in case 'RINEX skeleton extensionis set to 'skl' .
190</p>
191
192<a name="mountpoints">
193<p><h4>B - 6. Mountpoints</h4></p>
194<p>
195Each stream on an NTRIP broadcaster is defined through a unique source ID called mountpoint. An NTRIP client can access the data of a desired stream by its mountpoint. Information about mountpoints as available through a sourcetable maintained by the NTRIP broadcaster.
196</p>
197
198<a name="AddMounts">
199<p><h4>B - 6.1 Add Mountpoints</h4></p>
200<p>
201Button 'Add Mountpoints' opens a window that lets you select data streams by their mountpoint.
202</p>
203
204<a name="HostPort">
205<p><h4>B - 6.2 Broadcaster Host and Port</h4></p>
206<p>
207Enter the NTRIP broadcaster host IP and port number. http://www.rtcm-ntrip.org/home provides information about known NTRIP broadcaster installations. Note that EUREF and IGS maintains NTRIP broadcasters at http://www.euref-ip.net/home and http://www.igs-ip.net/home.
208</p>
209
210<a name="account">
211<p><h4>B - 6.3 Broadcaster User and Password</h4></p>
212<p>
213Enter the User and Password for access to NTRIP broadcaster streams. Note that usually account information is provided per NTRIP broadcaster through a registration procedure. Register for access to protected streams on www.euref-ip.net and www.igs-ip.net through http://igs.bkg.bund.de/index_ntrip_reg.htm.
214</p>
215
216<a name="GetTable">
217<p><h4>B - 6.4 Get Table</h4></p>
218<p>
219Hit button 'Get Table' to request a sourcetable from the NTRIP broadcaster. Various data fields of the sourcetable will be shown. Pay attention to data fields 'format' and 'format-details'. Remember that BNC can only decode and convert streams that come in RTCM 2.x, RTCM 3, or RTIGS format. RTCM 2.x streams must carry message types 18 and 19 while RTCM 3 streams must carry message type 1004, see data field 'format-details'. Select your streams line by line, use +Shift and +Strg when necessary. Hit 'OK' to return to BNC's main window.
220</p>
221
222<a name="delete">
223<p><h4>B - 7. Delete Mountpoints</h4></p>
224<p>
225To delete a stream shown under 'Mountpoints' in BNC's main windows select it by mouse click and hit 'Delete Mountpoints'. You may tag more than one stream for simultaneous deletion through using +Shift and +Strg.</p>
226<p>
227BNC automatically selects the decoder for a stream based on the 'format' and 'format-details' given in the sourcetable. It may happen that you need to overrule this decoder selection because of sourcetable setup deficiencies. Therefore BNC allows to edit the decoder part for each stream shown under 'Mountpoints'. Accepted decoder strings are are 'RTCM 2.x', 'RTCM 3', and 'RTIGS'.
228</p>
229
230<a name="log">
231<p><h4>B - 8. Log File</h4></p>
232<p>
233BNC's comments its activities in the 'Log file' section on the main windows. All comments can be saved and concatenated in a file through entering the full path of 'Log file'. Information is given about the dialog with the NTRIP broadcaster as well as any problem that might occur concerning communication, stream availability, stream delay, stream conversion etc.
234</p>
235<p>
236Note that a connection to the NTRIP broadcaster may break or a stream requested may be temporarily unavailable. When this happens, a reconnect is tried with decreasing frequency. BNC frst tries to reconnect with 1 second delay, if unsuccessful, tries again in 2 seconds from the last attempt, if still unsuccessful tries with 4 seconds from the last attempt etc. Each attempt doubles the delay from the previous attempt. The maximum delay between attempts is limited to 60 seconds. The reconnection process is documented in 'Log File'.
237</p>
238
239<a name="start">
240<p><h4>B - 9. Start</h4></p>
241<p>
242Hit 'Start' to start retrieving, decodeing and converting GNSS data streams in real-time.
243</p>
244
245<a name="stop">
246<p><h4>B - 10. Stop</h4></p>
247<p>
248Hit the 'Stop' button to terminate BNC.
249</p>
250
251<a name="nw">
252<p><h4>B - 11. No Window</h4></p>
253<p>
254On Linux und Solaris systems you may like to start BNC with the comman line option -nw. BNC will then start with 'No Window', reading configurations parameters from file ${HOME}/.config/BKG/BNC_NTRIP_Client.cfg or from the Windows registry file.
255</p>
256
257<br>
258<a name="limits">
259<p><h3>C - Limitations</h3></p>
260<p>
261So far BNC only handles GPS data while ignoring GLONASS and Galileo observations. Its current capacity is limited to process L1, L2, P1, and P2 observables.
262</p>
263
264<br>
265<a name="authors">
266<p><h3>D - Authors</h3></p>
267<p>
268Based on a Qt Graphic User Interface (GUI) developed for BKG by Leos Mervart (TU Prague), BNC integrates the following already existing GNU GPL software components:
269<ul>
270<li> RTCM 2.x decoder, written by John Sager with contributions from Carsten Becker (DLR)</li>
271<li> RTCM 3 decoder, written by Dirk Stoecker (Euronik) for BKG</li>
272<li> RTIGS decoder, written by Ken MacLeod (NRCan)</li>
273</ul>
274</p>
275<p>
276Note that this is a first version of BNC provided for test and evaluation. We are still working on the program and would very much appreciate if you could send your comments, suggestions, or bug reports to:
277</p>
278<p>
279Federal Agency for Cartography and Geodesy (BKG)<br>
280Frankfurt, Germany<br>
281euref-ip@bkg.bund.de
282</p>
283
284<br>
285<a name="annex">
286<p><h3>E - Annex</h3></p>
287<p>
288<table>
289<tr><td>E - 1.</td><td><a href=#ntrip>NTRIP</a></td>
290<tr><td></td><td>E - 1.1</td><td><a href=#source>Sourcetable</a></td>
291<tr><td>E - 2.</td><td><a href=#rtcm>RTCM</a></td>
292<tr><td></td><td>E - 2.1</td><td><a href=#rtcm2>RTCM Version 2.x</a></td>
293<tr><td></td><td>E - 2.2</td><td><a href=#rtcm3>RTCM Version 3</a></td>
294<tr><td>E - 3.</td><td><a href=#rtigs>RTIGS</a></td>
295<tr><td></td><td>E - 3.1</td><td><a href=#soc>SOC</a></td>
296</table>
297</p>
298
299<a name="ntrip">
300<p><h4>E - 1. NTRIP</h4></p>
301
302<p>
303Networked Transport of RTCM via Internet Protocol 'Networked Transport of RTCM via Internet Protocol' (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.
304</p>
305
306<p>
307NTRIP 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.
308</p>
309
310<p>
311NTRIP 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.
312</p>
313
314<p>
315NTRIP is an open none-proprietary protocol. Major characteristics of NTRIP's dissemination technique are:
316<ul>
317<li>Based on the popular HTTP streaming standard; comparatively easy to implement when having limited client and server platform resources available.</li>
318<li>Application not limited to one particular plain or coded stream content; ability to distribute any kind of GNSS data.</li>
319<li>Potential to support mass usage; disseminating hundreds of streams simultaneously for up to thousand users possible when applying modified Internet Radio broadcasting software.</li>
320<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>
321<li>Enables streaming over any mobile IP network because of using TCP/IP.</li>
322</ul>
323</p><br>
324
325<a name="source">
326<p><h4>E - 1.1 Sourcetable</h4></p>
327
328<p>
329The NTRIP broadcaster maintains a sourcetable containing information on available NTRIP sources, networks of NTRIP sources, and NTRIP broadcasters. The sourcetable is sent to an NTRIP client on request. Sourcetable records are dedicated to one of the following: Data STReams (record type STR), CASters (record type CAS), or NETworks of data streams (record type NET).
330</p>
331
332<p>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. Note that BNC's 'Get Table' only shows STR records of a sourcetable. You may like to use a Windows browser to retrieve the full sourcetable content entering the URL http://host:port/dummy.
333</p>
334
335<a name="rtcm">
336<p><h4>E - 2. RTCM</h4></p>
337
338<p>
339The Radio Technical Commission for Maritime Services (RTCM) is an international non-profit scientific, professional and educational organization. Special Committees provide a forum in which government and non-government 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) and handled by the Special Committee SC 104.
340</p><br>
341
342<a name="rtcm2">
343<p><h4>E - 2.1 RTCM Version 2.x</h4></p>
344<p>
345Transmitting carrier phase data can be done by transmitting RTCM Version 2.x messages. Message that may be of interest here are types 1, 2, 3, 6, 9, 16,18/19, 20/21, and 22.
346</p>
347
348<ul>
349<li>
350Type 1 message is the range correction message and is the primay 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.
351</li>
352<li>
353Type 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.
354</li>
355<li>
356Type 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.
357</li>
358<li>
359Type 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.
360</li>
361<li>
362Type 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.
363</li>
364<li>
365Type 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.
366</li>
367<li>
368Type 18 and 20 messages are RTK uncorrected carrier phase data and carrier phase corrections.
369</li>
370<li>
371Type 19 and 21 messages are the uncorrected pseudo-range measurements and pseudo- range corrections used in RTK.
372</li>
373</ul>
374<p>
375Note that this version of BNC handles only RTCM Version 2 message types 18 and 19.
376</p>
377
378<a name="rtcm3">
379<p><h4>E - 2.2 RTCM Version 3</h4></p>
380<p>
381RTCM Version 3 has been developed as a more efficient alternative to RTCM 2.x. Service providers and vendors have asked for a new 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 new standard, Version 3, is intended to correct these weaknesses.
382</p>
383<p>
384RTCM Version 3 defines a number of message types. Among them are the following:
385</p>
386<ul>
387<li>
388Tpye 1001 message carries GPS L1 code and phase.
389</li>
390<li>
391Type 1002 message carries GPS L1 code and phase and ambiguities and carrier to noise ratio.
392</li>
393<li>
394Type 1003 message carries GPS L1 and L1 code and phase.
395</li>
396<li>
397Type 1004 message carries GPS L1 and L2 code and phase and ambiguities and carrier to noise ratio.
398</li>
399<li>
400Type 1005 message carries Station coordinates XZY for antenna reference point.
401</li>
402<li>
403Type 1006 message carries Station coordinates XYZ for antenna reference point and antenna height.
404</li>
405<li>
406Type 1007 message carries the Antenna descriptor and ID.
407</li>
408<li>
409Type 1008 message carries the Antenna serial number.
410</li>
411<li>
412Type 1009 message carries GLONASS L1 code and phase.
413</li>
414<li>
415Type 1010 message carries GLONASS L1 code and phase and ambiguities and carrier to noise ratio.
416</li>
417<li>
418Type 1011 message carries GLONASS L1 and L1 code and phase.
419</li>
420<li>
421Type 1012 message carries GLONASS L1 and L2 code and phase and ambiguities and carrier to noise ratio.
422</li>
423<li>
424Type 1013 message carries Modified julian date, leap second, configured message types and interval.
425</li>
426<li>
427Type 1014 and 1017 messages carry Network RTK (MAK) messages (under development).
428</li>
429<li>
430Type 1019 message carries GPS Ephemeris (under development).
431</li>
432<li>
433Type 1020 message carries GLONASS Ephemeris (under development).
434</li>
435<li>
436Type 4088 and 4095 messages carry Proprietary messages (under development).
437</li>
438</ul>
439<p>
440Note that this version of BNC handles only RTCM Version 3 message types 1001, 1002, 1003, and 1004.
441</p>
442
443<a name="rtigs">
444<p><h4>E - 3. RTIGS</h4></p>
445<p>
446Input from by Ken?
447</p>
448
449<a name="soc">
450<p><h4>E - 3.1 SOC</h4></p>
451<p>
452Input from by Ken?
453</p>
454
Note: See TracBrowser for help on using the repository browser.