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

Last change on this file since 174 was 173, checked in by weber, 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><a href=#purpose>A - Purpose<br>
11<a href=#options>B - Options<br>
12<a href=#limits>C - Limitations<br>
13<a href=#authors>D - Authors<br>
14<a href=#annex>E - Annex</h4>
15</p>
16<br>
17
18<a name="purpose">
19<p><h3>A - Purpose</h3></p>
20
21<p> The purpose of BNC is to
22
23<ul>
24<li>Generate high-rate RINEX files to feed near real-time post-processing applications, and/or</li>
25<li>Output synchronize observations through an IP port to feed real-time applications.</li>
26</ul>
27<p>
28BNC decodes and converts streams carrying phase data coming in
29</p>
30<ul>
31<li> RTCM <a href=#rtcm2>Version 2.x</a> Format containing message types 18 and 19, </li>
32<li> RTCM <a href=#rtcm3>Version 3</a> Format containing message types 1001, 1002, 1003, and 1004, and</li>
33<li> <a href=#rtigs>RTIGS</a> Format.</li>
34</ul>
35</p>
36
37<p>
38BNC is available for Windows, Linux, and Solarix systems. It has been developed under GNU General Public License.
39</p>
40
41<br>
42<a name="options">
43<p><h3>B - Options</h3></p>
44<table>
45<tr><td>B - 1.</td><td><a href=#file>File</a></td>
46<tr><td>B - 2.</td><td><a href=#help>Help</a></td>
47<tr><td>B - 3.</td><td><a href=#proxy>Proxy</a></td>
48<tr><td>B - 4.</td><td><a href=#output>Synchronized Output</a></td>
49<tr><td></td><td>B - 4.1.</td><td><a href=#wait>Wait for Full Epoch</a></td>
50<tr><td></td><td>B - 4.2.</td><td><a href=#ascii>ASCII Output File</a></td>
51<tr><td></td><td>B - 4.3.</td><td><a href=#binary>Port for Binary Output</a></td>
52<tr><td>B - 5.</td><td><a href=#rinex>RINEX</a></td>
53<tr><td></td><td>B - 5.1.</td><td><a href=#rnxpath>RINEX Path</a></td>
54<tr><td></td><td>B - 5.2.</td><td><a href=#rnxscript>RINEX Script</a></td>
55<tr><td></td><td>B - 5.3.</td><td><a href=#rnxinterval>RINEX File Interval</a></td>
56<tr><td></td><td>B - 5.4.</td><td><a href=#rnxsample>RINEX Sampling</a></td>
57<tr><td></td><td>B - 5.5.</td><td><a href=#rnxskeleton>RINEX Skeleton Extension</a></td>
58<tr><td>B - 6.</td><td><a href=#mountpoints>Mountpoints</a></td>
59<tr><td></td><td>B - 6.1.</td><td><a href=#AddMounts>Add Mountpoints</a></td>
60<tr><td></td><td>B - 6.2.</td><td><a href=#HostPort>Broadcaster Host and Port</a></td>
61<tr><td></td><td>B - 6.3.</td><td><a href=#account>Broadcaster User and Password</a></td>
62<tr><td></td><td>B - 6.4.</td><td><a href=#GetTable>Get Table</a></td>
63<tr><td>B - 7.</td><td><a href=#delete>Delete Mountpoints</a></td>
64<tr><td>B - 8.</td><td><a href=#log>Log File</a></td>
65<tr><td>B - 9.</td><td><a href=#start>Start</a></td>
66<tr><td>B - 10.</td><td><a href=#stop>Stop</a></td>
67<tr><td>B - 11.</td><td><a href=#nw>No Window</a></td>
68</table>
69</p>
70
71<a name="file">
72<p><h4>B - 1. File</h4></p>
73
74<p>
75The 'File' button lets you
76<ul>
77<li>
78Select an appropriate font.<br>
79Use a small font size in case the BNC window exceed the size of your screen.
80</li>
81<li> Save selected options.<br>
82Note 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.
83</li>
84</ul>
85</p>
86
87<a name="help">
88<p><h4>B - 2. Help</h4></p>
89
90<p>
91The 'Help' button provides access to
92<ul>
93<li>
94General information 'About BNC'.<br>
95Close the 'About BNC' window to continuing with BNC.
96</li>
97<li>
98Help Contents.<br>
99You may keep the 'Help Contens' window open while setting BNC options.
100</li>
101</ul>
102</p>
103
104<a name="proxy">
105<p><h4>B - 3. Proxy</h4></p>
106
107<p>
108You 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 administator.</p>
109<p>
110Note that IP-streaming may be generally denied in a LAN. In such a case you need to contact your network administator 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).
111</p>
112
113<a name="output"> <p><h4>B - 4. Synchronized Output</h4></p>
114<p>
115BNC 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>
116StatID, SVPRN, GPSWeek, GPSWeeks, sec, C1, P2, L1, L2, SNR1, SNR2, pCodeIndicator, cumuLossOfCont.
117</p>
118
119<a name="wait">
120<p><h4>B - 4.1 Wait for Full Epoch</h4></p>
121<p>
122When feeding a real-time GNSS engine waiting for input epoch by epoch, BNC ignores whatever is received latern then 'Wait for full epoch' seconds. A value of 2 to 5 seconds may be an appropriate choise 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.
123</p>
124
125<a name="ascii">
126<p><h4>B - 4.2 ASCII Output File</h4></p>
127<p>
128BNC lets you save synchronized observations in plain ASCII format in a file. Enter a full path for that file.
129</p>
130
131<a name="binary">
132<p><h4>B - 4.3 Port for Binary Output</h4></p>
133<p>
134BNC outputs synchronized observations in a binary format through an IP port with the following format: ..... Souce code of an example program 'test_bnc.cpp' that reads the binary data to feed real-time GNSS applications is available.
135</p>
136
137<a name="rinex">
138<p><h4>B - 5. RINEX</h4></p>
139<p>
140Observations 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>
141<p>
142In case you retrieve straeams 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.*.
143</p>
144
145<a name="rnxpath">
146<p><h4>B - 5.1 RINEX Directory Path</h4></p>
147<p>
148Enther a path for saving the RINEX files in a directory. If this directory does not exist, BNC will not store these files.
149</p>
150
151<a name="rnxscript">
152<p><h4>B - 5.2 RINEX Script</h4></p>
153<p>
154Whenever 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 bach 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
155</p>
156
157<a name="rnxinterval">
158<p><h4>B - 5.3 RINEX File Interval</h4></p>
159<p>
160Enter 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.
161</p>
162
163<a name="rnxsample">
164<p><h4>B - 5.4 RINEX Sample Interval</h4></p>
165<p>
166Select the RINEX sample interval. Zero '0' stands for converting all incoming epochs to RINEX.
167</p>
168
169<a name="rnxskeleton">
170<p><h4>B - 5.5 RINEX Skeleton Extension</h4></p>
171<p>
172The generated RINEX is somewhat limited due to the streaming character of the conversion.
173<ul>
174<li>
175Header 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.
176</li>
177<li>
178The 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.
179</li>
180<li>
181Concerning 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/alamanac and easy positioning algorithm).
182</li>
183</ul>
184To 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.
185</p>
186<p>
187Example: 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 skeletion extension" is set to 'skl' .
188</p>
189
190<a name="mountpoints">
191<p><h4>B - 6. Mountpoints</h4></p>
192<p>
193Each 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.
194</p>
195
196<a name="AddMounts">
197<p><h4>B - 6.1 Add Mountpoints</h4></p>
198<p>
199Buttone 'Add Mountpoints' opens a window that lets you select data streams by their mountpoint.
200</p>
201
202<a name="HostPort">
203<p><h4>B - 6.2 Broadcaster Host and Port</h4></p>
204<p>
205Enter 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.
206</p>
207
208<a name="account">
209<p><h4>B - 6.3 Broadcaster User and Password</h4></p>
210<p>
211Enter 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.
212</p>
213
214<a name="GetTable">
215<p><h4>B - 6.4 Get Table</h4></p>
216<p>
217Hit 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.
218</p>
219
220<a name="delete">
221<p><h4>B - 7. Delete Mountpoints</h4></p>
222<p>
223To 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 delition through using +Shift and +Strg.</p>
224<p>
225BNC automatically selectes 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'.
226</p>
227
228<a name="log">
229<p><h4>B - 8. Log File</h4></p>
230<p>
231BNC's comments its activities in the 'Log file' section on the main windows. All comments can be saved and concatinated 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 occure concering communication, stream availability, stream delay, stream conversion etc.
232</p>
233<p>
234Note 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'.
235</p>
236
237<a name="start">
238<p><h4>B - 9. Start</h4></p>
239<p>
240Hit 'Start' to start retrieving, decodeing and converting GNSS data streams in real-time.
241</p>
242
243<a name="stop">
244<p><h4>B - 10. Stop</h4></p>
245<p>
246Hit the 'Stop' button to terminate BNC.
247</p>
248
249<a name="nw">
250<p><h4>B - 11. No Window</h4></p>
251<p>
252On 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.
253</p>
254
255<br>
256<a name="limits">
257<p><h3>C - Limitations</h3></p>
258<p>
259So 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.
260</p>
261
262<br>
263<a name="authors">
264<p><h3>D - Authors</h3></p>
265<p>
266Based on a Qt Graphic User Inferface (GUI) developed for BKG by Leos Mervart (TU Prague), BNC integrates the following already existing GNU GPL software components:
267<ul>
268<li> RTCM 2.x decoder, written by John Sager with contributions from Carsten Becker (DLR)</li>
269<li> RTCM 3 decoder, written by Dirk Stoecker (Euronik) for BKG</li>
270<li> RTIGS decoder, written by Ken MacLeod (NRCan)</li>
271</ul>
272</p>
273<p>
274Note 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:
275</p>
276<p>
277Federal Agency for Cartography and Geodesy (BKG)<br>
278Frankfurt, Germany<br>
279euref-ip@bkg.bund.de
280</p>
281
282<br>
283<a name="annex">
284<p><h3>E - Annex</h3></p>
285<p>
286<table>
287<tr><td>E - 1.</td><td><a href=#ntrip>NTRIP</a></td>
288<tr><td></td><td>E - 1.1</td><td><a href=#source>Sourcetable</a></td>
289<tr><td>E - 2.</td><td><a href=#rtcm>RTCM</a></td>
290<tr><td></td><td>E - 2.1</td><td><a href=#rtcm2>RTCM Version 2.x</a></td>
291<tr><td></td><td>E - 2.2</td><td><a href=#rtcm3>RTCM Version 3</a></td>
292<tr><td>E - 3.</td><td><a href=#rtigs>RTIGS</a></td>
293<tr><td></td><td>E - 3.1</td><td><a href=#soc>SOC</a></td>
294</table>
295</p>
296
297<a name="ntrip">
298<p><h4>E - 1. NTRIP</h4></p>
299
300<p>
301Networked 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.
302</p>
303
304<p>
305NTRIP is an RTCM standard designed for disseminating differential correction data (e.g in the RTCM-104 format) or otherkinds of GNSS streaming data to stationary or mobile users over the Internet, allowing simultaneous PC, Laptop, PDA, orreceiver connections to a broadcasting host. NTRIP supports wireless Internet access through Mobile IP Networks like GSM, GPRS, EDGE, or UMTS.
306</p>
307
308<p>
309NTRIP 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.
310</p>
311
312<p>
313NTRIP is an open none-proprietary protocol. Major characteristics of NTRIP's dissemination technique are:
314<ul>
315<li>Based on the popular HTTP streaming standard; comparatively easy to implement when having limited client and server platform resources available.</li>
316<li>Application not limited to one particular plain or coded stream content; ability to distribute any kind of GNSS data.</li>
317<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>
318<li>Considering security needs; stream providers and users don't necessarily get into contact, streams often not blocked by firewalls or proxyservers protecting Local Area Networks.</li>
319<li>Enables streaming over any mobile IP network because of using TCP/IP.</li>
320</ul>
321</p><br>
322
323<a name="source">
324<p><h4>E - 1.1 Sourcetable</h4></p>
325
326<p>
327The 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).
328</p>
329
330<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 broswer to retrieve the full sourcetable content entering the URL http://host:port/dummy.
331</p>
332
333<a name="rtcm">
334<p><h4>E - 2. RTCM</h4></p>
335
336<p>
337The 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.
338</p><br>
339
340<a name="rtcm2">
341<p><h4>E - 2.1 RTCM Version 2.x</h4></p>
342<p>
343Transmitting 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.
344</p>
345
346<ul>
347<li>
348Type 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.
349</li>
350<li>
351Type 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.
352</li>
353<li>
354Tpye 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.
355</li>
356<li>
357Type 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.
358</li>
359<li>
360Type 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.
361</li>
362<li>
363Type 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.
364</li>
365<li>
366Type 18 and 20 messages are RTK uncorrected carrier phase data and carrier phase corrections.
367</li>
368<li>
369Type 19 and 21 messages are the uncorrected pseudo-range measurements and pseudo- range corrections used in RTK.
370</li>
371</ul>
372<p>
373Note that this version of BNC handles only RTCM Version 2 message types 18 and 19.
374</p>
375
376<a name="rtcm3">
377<p><h4>E - 2.2 RTCM Version 3</h4></p>
378<p>
379RTCM 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.
380</p>
381<p>
382RTCM Version 3 defines a number of message types. Among them are the following:
383</p>
384<ul>
385<li>
386Tpye 1001 message carries GPS L1 code and phase.
387</li>
388<li>
389Type 1002 message carries GPS L1 code and phase and ambiguities and carrier to noise ratio.
390</li>
391<li>
392Type 1003 message carries GPS L1 and L1 code and phase.
393</li>
394<li>
395Type 1004 message carries GPS L1 and L2 code and phase and ambiguities and carrier to noise ratio.
396</li>
397<li>
398Type 1005 message carries Station coordinates XZY for antenna reference point.
399</li>
400<li>
401Type 1006 message carries Station coordinates XYZ for antenna reference point and antenna height.
402</li>
403<li>
404Type 1007 message carries the Antenna descriptor and ID.
405</li>
406<li>
407Type 1008 message carries the Antenna serial number.
408</li>
409<li>
410Type 1009 message carres GLONASS L1 code and phase.
411</li>
412<li>
413Type 1010 message carries GLONASS L1 code and phase and ambiguities and carrier to noise ratio.
414</li>
415<li>
416Type 1011 message carries GLONASS L1 and L1 code and phase.
417</li>
418<li>
419Type 1012 message carries GLONASS L1 and L2 code and phase and ambiguities and carrier to noise ratio.
420</li>
421<li>
422Type 1013 message carries Modified julian date, leep second, configured message types and intervall.
423</li>
424<li>
425Type 1014 and 1017 messages carry Network RTK (MAK) messages (under development).
426</li>
427<li>
428Type 1019 message carries GPS Ephemeris (under development).
429</li>
430<li>
431Type 1020 message carries GLONASS Ephemeris (under development).
432</li>
433<li>
434Type 4088 and 4095 messages carry Proprietary messages (under development).
435</li>
436</ul>
437<p>
438Note that this version of BNC handles only RTCM Version 3 message types 1001, 1002, 1003, and 1004.
439</p>
440
441<a name="rtigs">
442<p><h4>E - 3. RTIGS</h4></p>
443<p>
444</p>
445
446<a name="soc">
447<p><h4>E - 3.1 SOC</h4></p>
448<p>
449</p>
Note: See TracBrowser for help on using the repository browser.