Advertisement
carruinar

GPS USRP config

Mar 10th, 2014
251
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.45 KB | None | 0 0
  1. ; Default configuration file
  2. ; You can define your own receiver and invoke it by doing
  3. ; gnss-sdr --config_file=my_GNSS_SDR_configuration.conf
  4. ;
  5.  
  6. [GNSS-SDR]
  7.  
  8. ;######### GLOBAL OPTIONS ##################
  9. ;internal_fs_hz: Internal signal sampling frequency after the signal conditioning stage [Hz].
  10. GNSS-SDR.internal_fs_hz=4000000
  11.  
  12.  
  13.  
  14. ;######### CONTROL_THREAD CONFIG ############
  15. ControlThread.wait_for_flowgraph=false
  16.  
  17. ;######### SIGNAL_SOURCE CONFIG ############
  18. ;#implementation: Use [File_Signal_Source] or [UHD_Signal_Source] or [GN3S_Signal_Source] or [Rtlsdr_Signal_Source]
  19. SignalSource.implementation=UHD_Signal_Source
  20.  
  21.  
  22.  
  23. ;#item_type: Type and resolution for each of the signal samples.
  24. ;#Use gr_complex for 32 bits float I/Q or short for I/Q interleaved short integer.
  25. ;#If short is selected you should have to instantiate the Ishort_To_Complex data_type_adapter.
  26.  
  27. SignalSource.item_type=gr_complex
  28.  
  29. ;#sampling_frequency: Original Signal sampling frequency in [Hz]
  30. SignalSource.sampling_frequency=4000000
  31.  
  32. ;#freq: RF front-end center frequency in [Hz]
  33. SignalSource.freq=1575420000
  34.  
  35. ;#gain: Front-end Gain in [dB]
  36. ;SignalSource.gain=60
  37. SignalSource.gain=40
  38.  
  39. ;#AGC_enabled: RTLSDR AGC enabled [true or false]
  40.  
  41. SignalSource.AGC_enabled=true
  42.  
  43. ;#subdevice: UHD subdevice specification (for USRP1 use A:0 or B:0)
  44. SignalSource.subdevice=A:0
  45.  
  46. ;#samples: Number of samples to be processed. Notice that 0 indicates the entire file.
  47. SignalSource.samples=0
  48.  
  49. ;#repeat: Repeat the processing file. Disable this option in this version
  50. SignalSource.repeat=false
  51.  
  52. ;#dump: Dump the Signal source data to a file. Disable this option in this version
  53. SignalSource.dump=false
  54.  
  55. SignalSource.dump_filename=/home/caruiz_ext/Escritorio/signal_source.dat
  56.  
  57.  
  58. ;#enable_throttle_control: Enabling this option tells the signal source to keep the delay between samples in post processing.
  59. ; it helps to not overload the CPU, but the processing time will be longer.
  60. SignalSource.enable_throttle_control=false
  61.  
  62.  
  63. ;######### SIGNAL_CONDITIONER CONFIG ############
  64. ;## It holds blocks to change data type, filter and resample input data.
  65.  
  66. ;#implementation: Use [Pass_Through] or [Signal_Conditioner]
  67. ;#[Pass_Through] disables this block and the [DataTypeAdapter], [InputFilter] and [Resampler] blocks
  68. ;#[Signal_Conditioner] enables this block. Then you have to configure [DataTypeAdapter], [InputFilter] and [Resampler] blocks
  69. SignalConditioner.implementation=Signal_Conditioner
  70.  
  71. ;######### DATA_TYPE_ADAPTER CONFIG ############
  72. ;## Changes the type of input data. Please disable it in this version.
  73. ;#implementation: Use [Ishort_To_Complex] or [Pass_Through]
  74. ;DataTypeAdapter.implementation=Ishort_To_Complex
  75. ;#dump: Dump the filtered data to a file.
  76. DataTypeAdapter.dump=false
  77. ;#dump_filename: Log path and filename.
  78. DataTypeAdapter.dump_filename=../data/data_type_adapter.dat
  79.  
  80. ;######### INPUT_FILTER CONFIG ############
  81. ;## Filter the input data. Can be combined with frequency translation for IF signals
  82.  
  83. ;#implementation: Use [Pass_Through] or [Fir_Filter] or [Freq_Xlating_Fir_Filter]
  84. ;#[Pass_Through] disables this block
  85. ;#[Fir_Filter] enables a FIR Filter
  86. ;#[Freq_Xlating_Fir_Filter] enables FIR filter and a composite frequency translation that shifts IF down to zero Hz.
  87.  
  88. ;InputFilter.implementation=Fir_Filter
  89. ;InputFilter.implementation=Freq_Xlating_Fir_Filter
  90. InputFilter.implementation=Pass_Through
  91.  
  92. ;#dump: Dump the filtered data to a file.
  93. InputFilter.dump=false
  94.  
  95. ;#dump_filename: Log path and filename.
  96. InputFilter.dump_filename=../data/input_filter.dat
  97.  
  98. ;#The following options are used in the filter design of Fir_Filter and Freq_Xlating_Fir_Filter implementation.
  99. ;#These options are based on parameters of gnuradio's function: gr_remez.
  100. ;#These function calculates the optimal (in the Chebyshev/minimax sense) FIR filter inpulse reponse given a set of band edges, the desired reponse on those bands, and the weight given to the error in those bands.
  101.  
  102. ;#input_item_type: Type and resolution for input signal samples. Use only gr_complex in this version.
  103. InputFilter.input_item_type=gr_complex
  104.  
  105. ;#outut_item_type: Type and resolution for output filtered signal samples. Use only gr_complex in this version.
  106. InputFilter.output_item_type=gr_complex
  107.  
  108. ;#taps_item_type: Type and resolution for the taps of the filter. Use only float in this version.
  109. InputFilter.taps_item_type=float
  110.  
  111. ;#number_of_taps: Number of taps in the filter. Increasing this parameter increases the processing time
  112. InputFilter.number_of_taps=5
  113.  
  114. ;#number_of _bands: Number of frequency bands in the filter.
  115. InputFilter.number_of_bands=2
  116.  
  117. ;#bands: frequency at the band edges [ b1 e1 b2 e2 b3 e3 ...].
  118. ;#Frequency is in the range [0, 1], with 1 being the Nyquist frequency (Fs/2)
  119. ;#The number of band_begin and band_end elements must match the number of bands
  120.  
  121. InputFilter.band1_begin=0.0
  122. ;InputFilter.band1_end=0.8
  123. InputFilter.band1_end=0.85
  124. InputFilter.band2_begin=0.90
  125. InputFilter.band2_end=1.0
  126.  
  127. ;#ampl: desired amplitude at the band edges [ a(b1) a(e1) a(b2) a(e2) ...].
  128. ;#The number of ampl_begin and ampl_end elements must match the number of bands
  129.  
  130. InputFilter.ampl1_begin=1.0
  131. InputFilter.ampl1_end=1.0
  132. InputFilter.ampl2_begin=0.0
  133. InputFilter.ampl2_end=0.0
  134.  
  135. ;#band_error: weighting applied to each band (usually 1).
  136. ;#The number of band_error elements must match the number of bands
  137. InputFilter.band1_error=1.0
  138. InputFilter.band2_error=1.0
  139.  
  140. ;#filter_type: one of "bandpass", "hilbert" or "differentiator"
  141. InputFilter.filter_type=bandpass
  142.  
  143. ;#grid_density: determines how accurately the filter will be constructed.
  144. ;The minimum value is 16; higher values are slower to compute the filter.
  145. InputFilter.grid_density=16
  146.  
  147. ;#The following options are used only in Freq_Xlating_Fir_Filter implementation.
  148. ;#InputFilter.IF is the intermediate frequency (in Hz) shifted down to zero Hz
  149.  
  150. InputFilter.sampling_frequency=4000000
  151. InputFilter.IF=0
  152.  
  153.  
  154.  
  155. ;######### RESAMPLER CONFIG ############
  156. ;## Resamples the input data.
  157.  
  158. ;#implementation: Use [Pass_Through] or [Direct_Resampler]
  159. ;#[Pass_Through] disables this block
  160. ;#[Direct_Resampler] enables a resampler that implements a nearest neigbourhood interpolation
  161. ;Resampler.implementation=Direct_Resampler
  162. Resampler.implementation=Pass_Through
  163.  
  164. ;#dump: Dump the resamplered data to a file.
  165. Resampler.dump=false
  166. ;#dump_filename: Log path and filename.
  167. Resampler.dump_filename=../data/resampler.dat
  168.  
  169. ;#item_type: Type and resolution for each of the signal samples. Use only gr_complex in this version.
  170. Resampler.item_type=gr_complex
  171.  
  172. ;#sample_freq_in: the sample frequency of the input signal
  173. Resampler.sample_freq_in=4000000
  174.  
  175. ;#sample_freq_out: the desired sample frequency of the output signal
  176. Resampler.sample_freq_out=4000000
  177.  
  178. ;######### CHANNELS GLOBAL CONFIG ############
  179. ;#count: Number of available satellite channels.
  180. Channels.count=8
  181. ;#in_acquisition: Number of channels simultaneously acquiring
  182. Channels.in_acquisition=1
  183.  
  184.  
  185.  
  186.  
  187. ;#signal:
  188. ;# "1C" GPS L1 C/A
  189. ;# "1P" GPS L1 P
  190. ;# "1W" GPS L1 Z-tracking and similar (AS on)
  191. ;# "1Y" GPS L1 Y
  192. ;# "1M" GPS L1 M
  193. ;# "1N" GPS L1 codeless
  194. ;# "2C" GPS L2 C/A
  195. ;# "2D" GPS L2 L1(C/A)+(P2-P1) semi-codeless
  196. ;# "2S" GPS L2 L2C (M)
  197. ;# "2L" GPS L2 L2C (L)
  198. ;# "2X" GPS L2 L2C (M+L)
  199. ;# "2P" GPS L2 P
  200. ;# "2W" GPS L2 Z-tracking and similar (AS on)
  201. ;# "2Y" GPS L2 Y
  202. ;# "2M" GPS GPS L2 M
  203. ;# "2N" GPS L2 codeless
  204. ;# "5I" GPS L5 I
  205. ;# "5Q" GPS L5 Q
  206. ;# "5X" GPS L5 I+Q
  207. ;# "1C" GLONASS G1 C/A
  208. ;# "1P" GLONASS G1 P
  209. ;# "2C" GLONASS G2 C/A (Glonass M)
  210. ;# "2P" GLONASS G2 P
  211. ;# "1A" GALILEO E1 A (PRS)
  212. ;# "1B" GALILEO E1 B (I/NAV OS/CS/SoL)
  213. ;# "1C" GALILEO E1 C (no data)
  214. ;# "1X" GALILEO E1 B+C
  215. ;# "1Z" GALILEO E1 A+B+C
  216. ;# "5I" GALILEO E5a I (F/NAV OS)
  217. ;# "5Q" GALILEO E5a Q (no data)
  218. ;# "5X" GALILEO E5a I+Q
  219. ;# "7I" GALILEO E5b I
  220. ;# "7Q" GALILEO E5b Q
  221. ;# "7X" GALILEO E5b I+Q
  222. ;# "8I" GALILEO E5 I
  223. ;# "8Q" GALILEO E5 Q
  224. ;# "8X" GALILEO E5 I+Q
  225. ;# "6A" GALILEO E6 A
  226. ;# "6B" GALILEO E6 B
  227. ;# "6C" GALILEO E6 C
  228. ;# "6X" GALILEO E6 B+C
  229. ;# "6Z" GALILEO E6 A+B+C
  230. ;# "1C" SBAS L1 C/A
  231. ;# "5I" SBAS L5 I
  232. ;# "5Q" SBAS L5 Q
  233. ;# "5X" SBAS L5 I+Q
  234. ;# "2I" COMPASS E2 I
  235. ;# "2Q" COMPASS E2 Q
  236. ;# "2X" COMPASS E2 IQ
  237. ;# "7I" COMPASS E5b I
  238. ;# "7Q" COMPASS E5b Q
  239. ;# "7X" COMPASS E5b IQ
  240. ;# "6I" COMPASS E6 I
  241. ;# "6Q" COMPASS E6 Q
  242. ;# "6X" COMPASS E6 IQ
  243. ;#if the option is disabled by default is assigned "1C" GPS L1 C/A
  244. Channel0.signal=1C
  245.  
  246. ;######### CHANNEL 0 CONFIG ############
  247. ;#system: GPS, GLONASS, GALILEO, SBAS or COMPASS
  248. ;#if the option is disabled by default is assigned GPS
  249. Channel0.system=GPS
  250. ;#satellite: Satellite PRN ID for this channel. Disable this option to random search
  251. ;Channel0.satellite=16
  252. ;Channel0.satellite=12
  253. Channel0.repeat_satellite=false
  254.  
  255. ;######### CHANNEL 1 CONFIG ############
  256.  
  257. Channel1.system=GPS
  258. Channel1.signal=1C
  259. ;Channel1.satellite=11
  260. Channel1.satellite=false
  261. Channel1.repeat_satellite=false
  262.  
  263. ;######### CHANNEL 2 CONFIG ############
  264.  
  265. Channel2.system=GPS
  266. Channel2.signal=1C
  267. ;Channel2.satellite=17
  268. Channel2.satellite=false
  269. Channel2.repeat_satellite=false
  270.  
  271. ;######### CHANNEL 3 CONFIG ############
  272.  
  273. Channel3.system=GPS
  274. Channel3.signal=1C
  275. ;Channel3.satellite=20
  276. Channel3.satellite=false
  277. Channel3.repeat_satellite=false
  278.  
  279. ;######### CHANNEL 4 CONFIG ############
  280.  
  281. Channel4.system=GPS
  282. Channel4.signal=1C
  283. ;Channel4.satellite=23
  284. Channel4.satellite=false
  285. Channel4.repeat_satellite=false
  286.  
  287. ;######### CHANNEL 5 CONFIG ############
  288.  
  289. Channel5.system=GPS
  290. Channel5.signal=1C
  291. ;Channel5.satellite=24
  292. Channel5.satellite=false
  293. Channel5.repeat_satellite=false
  294.  
  295. ;######### CHANNEL 6 CONFIG ############
  296.  
  297. Channel6.system=GPS
  298. Channel6.signal=1C
  299. ;Channel6.satellite=24
  300. Channel6.satellite=false
  301. Channel6.repeat_satellite=false
  302.  
  303. ;######### CHANNEL 7 CONFIG ############
  304.  
  305. Channel7.system=GPS
  306. Channel7.signal=1C
  307. ;Channel7.satellite=24
  308. Channel7.satellite=false
  309. Channel7.repeat_satellite=false
  310.  
  311.  
  312.  
  313. ;######### ACQUISITION GLOBAL CONFIG ############
  314.  
  315. ;#dump: Enable or disable the acquisition internal data file logging [true] or [false]
  316. Acquisition.dump=false
  317. ;#filename: Log path and filename
  318. Acquisition.dump_filename=./acq_dump.dat
  319. ;#item_type: Type and resolution for each of the signal samples. Use only gr_complex in this version.
  320. Acquisition.item_type=gr_complex
  321. ;#if: Signal intermediate frequency in [Hz]
  322. Acquisition.if=0
  323.  
  324. ;#sampled_ms: Signal block duration for the acquisition signal detection [ms]
  325. Acquisition.sampled_ms=20
  326.  
  327. ;#implementation: Acquisition algorithm selection for this channel: [GPS_L1_CA_PCPS_Acquisition] or [Galileo_E1_PCPS_Ambiguous_Acquisition]
  328. Acquisition.implementation=GPS_L1_CA_PCPS_Acquisition
  329.  
  330. ;#threshold: Acquisition threshold
  331. ;Acquisition.threshold=50
  332.  
  333. ;#pfa: Acquisition false alarm probability. This option overrides the threshold option. Only use with implementations: [GPS_L1_CA_PCPS_Acquisition] or [Galileo_E1_PCPS_Ambiguous_Acquisition]
  334. ;Acquisition.pfa=0.0000000001
  335. Acquisition.pfa=0.0000001
  336.  
  337. ;#doppler_max: Maximum expected Doppler shift [Hz]
  338. Acquisition.doppler_max=20000
  339. Acquisition.doppler_min=-20000
  340. ;#doppler_max: Doppler step in the grid search [Hz]
  341. Acquisition.doppler_step=200
  342.  
  343. ;#maximum dwells
  344. Acquisition.max_dwells=1
  345.  
  346. ;######### ACQUISITION CHANNELS CONFIG ######
  347.  
  348. ;######### ACQUISITION CH 0 CONFIG ############
  349. ;#implementation: Acquisition algorithm selection for this channel: [GPS_L1_CA_PCPS_Acquisition]
  350. ;Acquisition0.implementation=GPS_L1_CA_PCPS_Acquisition
  351. ;#threshold: Acquisition threshold
  352. ;Acquisition0.threshold=100
  353. ;#doppler_max: Maximum expected Doppler shift [Hz]
  354. ;Acquisition0.doppler_max=10000
  355. ;#doppler_max: Doppler step in the grid search [Hz]
  356. ;Acquisition0.doppler_step=250
  357. ;#repeat_satellite: Use only jointly with the satellite PRN ID option.
  358.  
  359.  
  360. ;######### ACQUISITION CH 1 CONFIG ############
  361. ;Acquisition1.implementation=GPS_L1_CA_PCPS_Acquisition
  362. ;Acquisition1.threshold=100
  363. ;Acquisition1.doppler_max=10000
  364. ;Acquisition1.doppler_step=250
  365.  
  366.  
  367. ;######### ACQUISITION CH 2 CONFIG ############
  368. ;Acquisition2.implementation=GPS_L1_CA_PCPS_Acquisition
  369. ;Acquisition2.threshold=100
  370. ;Acquisition2.doppler_max=10000
  371. ;Acquisition2.doppler_step=250
  372.  
  373.  
  374. ;######### ACQUISITION CH 3 CONFIG ############
  375. ;Acquisition3.implementation=GPS_L1_CA_PCPS_Acquisition
  376. ;Acquisition3.threshold=100
  377. ;Acquisition3.doppler_max=10000
  378. ;Acquisition3.doppler_step=250
  379.  
  380.  
  381. ;######### ACQUISITION CH 4 CONFIG ############
  382. ;Acquisition4.implementation=GPS_L1_CA_PCPS_Acquisition
  383. ;Acquisition4.threshold=100
  384. ;Acquisition4.doppler_max=10000
  385. ;Acquisition4.doppler_step=250
  386.  
  387.  
  388. ;######### ACQUISITION CH 5 CONFIG ############
  389. ;Acquisition5.implementation=GPS_L1_CA_PCPS_Acquisition
  390. ;Acquisition5.threshold=100
  391. ;Acquisition5.doppler_max=10000
  392. ;Acquisition5.doppler_step=250
  393.  
  394.  
  395. ;######### ACQUISITION CH 6 CONFIG ############
  396. ;Acquisition6.implementation=GPS_L1_CA_PCPS_Acquisition
  397. ;Acquisition6.threshold=100
  398. ;Acquisition6.doppler_max=10000
  399. ;Acquisition6.doppler_step=250
  400.  
  401.  
  402. ;######### ACQUISITION CH 7 CONFIG ############
  403. ;Acquisition7.implementation=GPS_L1_CA_PCPS_Acquisition
  404. ;Acquisition7.threshold=100
  405. ;Acquisition7.doppler_max=10000
  406. ;Acquisition7.doppler_step=250
  407.  
  408.  
  409.  
  410.  
  411.  
  412. ;######### TRACKING GLOBAL CONFIG ############
  413.  
  414. ;#implementation: Selected tracking algorithm: [GPS_L1_CA_DLL_PLL_Tracking] or [GPS_L1_CA_DLL_FLL_PLL_Tracking] [GPS_L1_CA_DLL_PLL_Optim_Tracking]
  415. Tracking.implementation=GPS_L1_CA_DLL_PLL_Optim_Tracking
  416. ;#item_type: Type and resolution for each of the signal samples. Use only [gr_complex] in this version.
  417. Tracking.item_type=gr_complex
  418.  
  419. ;#sampling_frequency: Signal Intermediate Frequency in [Hz]
  420. Tracking.if=0
  421.  
  422. ;#dump: Enable or disable the Tracking internal binary data file logging [true] or [false]
  423. Tracking.dump=false
  424.  
  425. ;#dump_filename: Log path and filename. Notice that the tracking channel will add "x.dat" where x is the channel number.
  426. Tracking.dump_filename=./tracking_ch_
  427.  
  428. ;#pll_bw_hz: PLL loop filter bandwidth [Hz]
  429. Tracking.pll_bw_hz=50.0;
  430.  
  431. ;#dll_bw_hz: DLL loop filter bandwidth [Hz]
  432. Tracking.dll_bw_hz=2.0;
  433.  
  434. ;#fll_bw_hz: FLL loop filter bandwidth [Hz]
  435. Tracking.fll_bw_hz=10.0;
  436.  
  437. ;#order: PLL/DLL loop filter order [2] or [3]
  438. Tracking.order=3;
  439.  
  440. ;#early_late_space_chips: correlator early-late space [chips]. Use [0.5]
  441. Tracking.early_late_space_chips=0.5;
  442.  
  443. ;######### TELEMETRY DECODER CONFIG ############
  444. ;#implementation: Use [GPS_L1_CA_Telemetry_Decoder] for GPS L1 C/A.
  445. TelemetryDecoder.implementation=GPS_L1_CA_Telemetry_Decoder
  446. TelemetryDecoder.dump=false
  447.  
  448. ;######### OBSERVABLES CONFIG ############
  449. ;#implementation: Use [GPS_L1_CA_Observables] for GPS L1 C/A.
  450. Observables.implementation=GPS_L1_CA_Observables
  451.  
  452. ;#dump: Enable or disable the Observables internal binary data file logging [true] or [false]
  453. Observables.dump=false
  454.  
  455. ;#dump_filename: Log path and filename.
  456. Observables.dump_filename=./observables.dat
  457.  
  458.  
  459. ;######### PVT CONFIG ############
  460. ;#implementation: Position Velocity and Time (PVT) implementation algorithm: Use [GPS_L1_CA_PVT] in this version.
  461. PVT.implementation=GPS_L1_CA_PVT
  462.  
  463. ;#averaging_depth: Number of PVT observations in the moving average algorithm
  464. PVT.averaging_depth=10
  465.  
  466. ;#flag_average: Enables the PVT averaging between output intervals (arithmetic mean) [true] or [false]
  467. PVT.flag_averaging=true
  468.  
  469. ;#output_rate_ms: Period between two PVT outputs. Notice that the minimum period is equal to the tracking integration time (for GPS CA L1 is 1ms) [ms]
  470. PVT.output_rate_ms=100
  471.  
  472. ;#display_rate_ms: Position console print (std::out) interval [ms]. Notice that output_rate_ms<=display_rate_ms.
  473. PVT.display_rate_ms=500
  474.  
  475. ;# RINEX, KML, and NMEA output configuration
  476.  
  477. ;#dump_filename: Log path and filename without extension. Notice that PVT will add ".dat" to the binary dump and ".kml" to GoogleEarth dump.
  478. PVT.dump_filename=/home/caruiz_ext/Escritorio/prueba
  479.  
  480.  
  481. ;#nmea_dump_filename: NMEA log path and filename
  482. PVT.nmea_dump_filename=./gnss_sdr_pvt.nmea;
  483.  
  484. ;#flag_nmea_tty_port: Enable or disable the NMEA log to a serial TTY port (Can be used with real hardware or virtual one)
  485. PVT.flag_nmea_tty_port=false;
  486.  
  487. ;#nmea_dump_devname: serial device descriptor for NMEA logging
  488. PVT.nmea_dump_devname=/dev/pts/4
  489.  
  490.  
  491. ;#dump: Enable or disable the PVT internal binary data file logging [true] or [false]
  492. PVT.dump=false
  493.  
  494. ;######### OUTPUT_FILTER CONFIG ############
  495. ;# Receiver output filter: Leave this block disabled in this version
  496. OutputFilter.implementation=Null_Sink_Output_Filter
  497. OutputFilter.filename=data/gnss-sdr.dat
  498. OutputFilter.item_type=gr_complex
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement