Skip to content

Commit 2574280

Browse files
committed
lowering carrier tracking loop bandwidth for lower SNR
1 parent 0d79b06 commit 2574280

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

dssdr_rxtx_nav.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ def __init__(self, options):
109109
self._up_bitrate = options.up_bitrate
110110
self._up_samples_per_symbol = self._up_samples_per_second/self._up_bitrate
111111
self._samples_per_symbol = self._samples_per_second/self._down_decim/self._down_bitrate
112-
self._down_sub_freq = 25e3
112+
self._down_sub_freq = options.down_sub_freq
113113
self._up_sub_freq = 25e3
114114
self._tm_len = 8920
115115
self._up_tm_len = 8920
@@ -716,7 +716,7 @@ def __init__(self, options):
716716
self.turnaround_null = blocks.null_sink(gr.sizeof_float)
717717

718718
# PLL and associated carrier for tracking carrier frequency if residual carrier is used
719-
self.carrier_tracking = sdrp.pll_freq_acq_cc(math.pi/200, math.pi, -math.pi, int(options.acq_samples))
719+
self.carrier_tracking = sdrp.pll_freq_acq_cc(math.pi/2000, math.pi, -math.pi, int(options.acq_samples))
720720
self.imag_to_float = blocks.complex_to_imag()
721721

722722
#Suppressed carrier requires costas after subcarrier mixer
@@ -1260,6 +1260,8 @@ def main():
12601260
help="FIFO to write command responses to (for interfacing to GNURadio)")
12611261
parser.add_option("", "--rx-freq", type="eng_float", default=7.2e9,
12621262
help="set RX frequency [default=%default]")
1263+
parser.add_option("", "--down-sub-freq", type="eng_float", default=25e3,
1264+
help="set downlink subcarrier frequency [default=%default]")
12631265
parser.add_option("", "--excess-bw", type="float", default=_def_excess_bw,
12641266
help="set RRC excess bandwith factor [default=%default]")
12651267
parser.add_option("", "--freq-bw", type="float", default=_def_freq_bw,

0 commit comments

Comments
 (0)