From 225d3141a7f4754eae5a1a041e1d18dc38131772 Mon Sep 17 00:00:00 2001 From: Johnathan Corgan Date: Sat, 29 Aug 2009 13:24:58 -0700 Subject: Implemented crude timing recovery using zero crossings but no resampling --- gr-noaa/grc/usrp_rx_hrpt.grc | 513 ++++++++++++++++++++----------------------- 1 file changed, 236 insertions(+), 277 deletions(-) (limited to 'gr-noaa/grc/usrp_rx_hrpt.grc') diff --git a/gr-noaa/grc/usrp_rx_hrpt.grc b/gr-noaa/grc/usrp_rx_hrpt.grc index d3c6603ad..b304bd359 100644 --- a/gr-noaa/grc/usrp_rx_hrpt.grc +++ b/gr-noaa/grc/usrp_rx_hrpt.grc @@ -1,6 +1,6 @@ - Sat Aug 29 11:48:56 2009 + Sat Aug 29 13:16:19 2009 options @@ -257,85 +257,56 @@ - wxgui_fftsink2 + variable id - rx_fftsink + max_carrier_offset _enabled True - type - complex - - - title - RX Spectrum - - - samp_rate - sample_rate - - - baseband_freq - 1698e6 - - - y_per_div - 5 - - - y_divs - 8 - - - ref_level - 20 + value + 2*math.pi*100e3/sample_rate - fft_size - 1024 + _coordinate + (668, 107) - fft_rate - 30 + _rotation + 0 + + + variable - peak_hold - False + id + max_sync_offset - average + _enabled True - avg_alpha - 0.1 - - - grid_pos - 0, 0, 1, 1 - - - notebook - displays, 0 + value + 0.01 _coordinate - (194, 263) + (665, 173) _rotation - 180 + 0 wxgui_scopesink2 id - wxgui_scopesink2_0 + wxgui_scopesink2_0_0 _enabled @@ -347,7 +318,7 @@ title - RX Waveform + Post-PLL samp_rate @@ -355,7 +326,7 @@ v_scale - 0 + 0.5 t_scale @@ -375,15 +346,15 @@ grid_pos - 1, 0, 1, 1 + 0, 0, 1, 1 notebook - displays, 0 + displays, 1 _coordinate - (198, 609) + (618, 335) _rotation @@ -391,38 +362,34 @@ - gr_agc_xx + notebook id - agr + displays _enabled True - type - complex - - - rate - 1e-6 + style + wx.NB_TOP - reference - 1.0 + labels + ['RX','PLL','SYNC'] - gain - 1.0 + grid_pos + 1, 0, 1, 2 - max_gain - 1.0 + notebook + _coordinate - (261, 494) + (9, 99) _rotation @@ -430,10 +397,10 @@ - gr_moving_average_xx + wxgui_scopesink2 id - gr_moving_average_xx_0 + wxgui_scopesink2_0_0_0 _enabled @@ -444,66 +411,79 @@ complex - length - hs + title + Post-PLL - scale - 1.0/hs + samp_rate + sample_rate - max_iter - 4000 + v_scale + 0.5 - _coordinate - (434, 502) + t_scale + 20.0/sample_rate - _rotation - 0 + ac_couple + False - - - variable - id - max_carrier_offset + xy_mode + True - _enabled - True + num_inputs + 1 - value - 2*math.pi*100e3/sample_rate + grid_pos + 1, 0, 1, 1 + + + notebook + displays, 1 _coordinate - (668, 107) + (618, 614) _rotation - 0 + 180 - variable + noaa_hrpt_sync_cc id - max_sync_offset + sync _enabled True - value - 0.01 + alpha + sync_alpha + + + beta + sync_alpha**2/4.0 + + + sps + sps + + + max_offset + max_sync_offset _coordinate - (665, 173) + (865, 494) _rotation @@ -511,140 +491,156 @@ - variable_slider + wxgui_scopesink2 id - pll_alpha + wxgui_scopesink2_0_0_0_0 _enabled True - label - PLL Alpha + type + complex - value - 0.005 + title + Post-SYNC - min - 0.0 + samp_rate + sym_rate - max + v_scale 0.5 - num_steps - 500 + t_scale + 20.0/sym_rate - style - wx.SL_HORIZONTAL + ac_couple + False - converver - float_converter + xy_mode + True + + + num_inputs + 1 grid_pos - 0, 0, 1, 1 + 1, 0, 1, 1 notebook - + displays, 2 _coordinate - (192, 100) + (872, 607) _rotation - 0 + 180 - variable_slider + wxgui_scopesink2 id - sync_alpha + wxgui_scopesink2_0_0_1 _enabled True - label - SYNC Alpha + type + complex - value - 0.005 + title + Post-SYNC - min - 0.0 + samp_rate + sym_rate - max + v_scale 0.5 - num_steps - 500 + t_scale + 20.0/sym_rate - style - wx.SL_HORIZONTAL + ac_couple + False - converver - float_converter + xy_mode + False + + + num_inputs + 1 grid_pos - 0, 1, 1, 1 + 0, 0, 1, 1 notebook - + displays, 2 _coordinate - (344, 101) + (872, 341) _rotation - 0 + 180 - noaa_hrpt_pll_cc + gr_agc_xx id - noaa_hrpt_pll_cc_0 + agr _enabled True - alpha - pll_alpha + type + complex - beta - pll_alpha**2/4.0 + rate + 1e-6 - max_offset - max_carrier_offset + reference + 1.0 + + + gain + 1.0 + + + max_gain + 1.0 _coordinate - (628, 502) + (261, 494) _rotation @@ -652,69 +648,41 @@ - wxgui_scopesink2 + noaa_hrpt_pll_cc id - wxgui_scopesink2_0_0 + noaa_hrpt_pll_cc_0 _enabled True - type - complex - - - title - Post-PLL - - - samp_rate - sample_rate - - - v_scale - 0.5 - - - t_scale - 20.0/sample_rate - - - ac_couple - False - - - xy_mode - False - - - num_inputs - 1 + alpha + pll_alpha - grid_pos - 0, 0, 1, 1 + beta + pll_alpha**2/4.0 - notebook - displays, 1 + max_offset + max_carrier_offset _coordinate - (618, 335) + (628, 502) _rotation - 180 + 0 - wxgui_scopesink2 + wxgui_fftsink2 id - wxgui_scopesink2_0_0_1 + rx_fftsink _enabled @@ -726,78 +694,59 @@ title - Post-SYNC + RX Spectrum samp_rate sample_rate - v_scale - 0.5 - - - t_scale - 20.0/sample_rate - - - ac_couple - False - - - xy_mode - False + baseband_freq + 1698e6 - num_inputs - 1 + y_per_div + 5 - grid_pos - 0, 0, 1, 1 + y_divs + 8 - notebook - displays, 2 + ref_level + 20 - _coordinate - (872, 341) + fft_size + 1024 - _rotation - 180 + fft_rate + 30 - - - notebook - id - displays + peak_hold + False - _enabled + average True - style - wx.NB_TOP - - - labels - ['RX','PLL','SYNC'] + avg_alpha + 0.1 grid_pos - 1, 0, 1, 2 + 0, 0, 1, 1 notebook - + displays, 0 _coordinate - (9, 99) + (433, 297) _rotation @@ -808,7 +757,7 @@ wxgui_scopesink2 id - wxgui_scopesink2_0_0_0 + wxgui_scopesink2_0 _enabled @@ -820,7 +769,7 @@ title - Post-PLL + RX Waveform samp_rate @@ -828,7 +777,7 @@ v_scale - 0.5 + 0 t_scale @@ -840,7 +789,7 @@ xy_mode - True + False num_inputs @@ -852,46 +801,66 @@ notebook - displays, 1 + displays, 0 _coordinate - (618, 614) + (434, 603) _rotation - 180 + 0 - noaa_hrpt_sync_cc + variable_slider id - sync + pll_alpha _enabled True - alpha - sync_alpha + label + PLL Alpha - beta - sync_alpha**2/4.0 + value + 0.001 - sps - sps + min + 0.0 - max_offset - max_sync_offset + max + 0.5 + + + num_steps + 500 + + + style + wx.SL_HORIZONTAL + + + converver + float_converter + + + grid_pos + 0, 0, 1, 1 + + + notebook + _coordinate - (865, 494) + (192, 100) _rotation @@ -899,62 +868,58 @@ - wxgui_scopesink2 + variable_slider id - wxgui_scopesink2_0_0_0_0 + sync_alpha _enabled True - type - complex + label + SYNC Alpha - title - Post-SYNC + value + 0.001 - samp_rate - sample_rate + min + 0.0 - v_scale + max 0.5 - t_scale - 20.0/sample_rate - - - ac_couple - False + num_steps + 500 - xy_mode - True + style + wx.SL_HORIZONTAL - num_inputs - 1 + converver + float_converter grid_pos - 1, 0, 1, 1 + 0, 1, 1, 1 notebook - displays, 2 + _coordinate - (872, 607) + (344, 101) _rotation - 180 + 0 @@ -969,12 +934,6 @@ 0 0 - - agr - gr_moving_average_xx_0 - 0 - 0 - agr rx_fftsink @@ -987,12 +946,6 @@ 0 0 - - gr_moving_average_xx_0 - noaa_hrpt_pll_cc_0 - 0 - 0 - noaa_hrpt_pll_cc_0 wxgui_scopesink2_0_0 @@ -1023,4 +976,10 @@ 0 0 + + agr + noaa_hrpt_pll_cc_0 + 0 + 0 + -- cgit