From 65bcd58b65219408268e5db1b8fbafb2d3ccc215 Mon Sep 17 00:00:00 2001 From: Johnathan Corgan Date: Mon, 7 Sep 2009 13:22:16 -0700 Subject: Updated HRPT blocks/scripts for testing. Seeing good minor frame sync's. * Change PLL and SYNC blocks to output floats * Correct bit sense * Update RX script to record ascii bits --- gr-noaa/grc/usrp_rx_hrpt.grc | 599 ++++++++++++++++++++++++------------------- 1 file changed, 337 insertions(+), 262 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 b304bd359..41aa1958e 100644 --- a/gr-noaa/grc/usrp_rx_hrpt.grc +++ b/gr-noaa/grc/usrp_rx_hrpt.grc @@ -1,6 +1,6 @@ - Sat Aug 29 13:16:19 2009 + Mon Sep 7 13:05:09 2009 options @@ -106,41 +106,6 @@ 0 - - gr_file_source - - id - src - - - _enabled - True - - - file - poes-d16.dat - - - type - complex - - - repeat - True - - - vlen - 1 - - - _coordinate - (34, 423) - - - _rotation - 0 - - variable @@ -257,45 +222,78 @@ - variable + wxgui_fftsink2 id - max_carrier_offset + rx_fftsink _enabled True - value - 2*math.pi*100e3/sample_rate + type + complex - _coordinate - (668, 107) + title + RX Spectrum - _rotation - 0 + samp_rate + sample_rate - - - variable - id - max_sync_offset + baseband_freq + 1698e6 - _enabled + y_per_div + 5 + + + y_divs + 8 + + + ref_level + 20 + + + ref_scale + 2.0 + + + fft_size + 1024 + + + fft_rate + 30 + + + peak_hold + False + + + average True - value - 0.01 + avg_alpha + 0.1 + + + grid_pos + 0, 0, 1, 1 + + + notebook + displays, 0 _coordinate - (665, 173) + (433, 297) _rotation @@ -306,7 +304,7 @@ wxgui_scopesink2 id - wxgui_scopesink2_0_0 + wxgui_scopesink2_0 _enabled @@ -318,7 +316,7 @@ title - Post-PLL + RX Waveform samp_rate @@ -326,7 +324,7 @@ v_scale - 0.5 + 0 t_scale @@ -346,42 +344,62 @@ grid_pos - 0, 0, 1, 1 + 1, 0, 1, 1 notebook - displays, 1 + displays, 0 _coordinate - (618, 335) + (434, 603) _rotation - 180 + 0 - notebook + variable_slider id - displays + pll_alpha _enabled True + + label + PLL Alpha + + + value + 0.001 + + + min + 0.0 + + + max + 0.5 + + + num_steps + 500 + style - wx.NB_TOP + wx.SL_HORIZONTAL - labels - ['RX','PLL','SYNC'] + converver + float_converter grid_pos - 1, 0, 1, 2 + 0, 0, 1, 1 notebook @@ -389,7 +407,7 @@ _coordinate - (9, 99) + (192, 100) _rotation @@ -397,93 +415,100 @@ - wxgui_scopesink2 + variable_slider id - wxgui_scopesink2_0_0_0 + sync_alpha _enabled True - type - complex + label + SYNC Alpha - title - Post-PLL + 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, 1 + _coordinate - (618, 614) + (344, 101) _rotation - 180 + 0 - noaa_hrpt_sync_cc + variable id - sync + max_carrier_offset _enabled True - alpha - sync_alpha + value + 2*math.pi*100e3/sample_rate - beta - sync_alpha**2/4.0 + _coordinate + (671, 14) - sps - sps + _rotation + 0 + + + variable - max_offset + id max_sync_offset + + _enabled + True + + + value + 0.01 + _coordinate - (865, 494) + (805, 13) _rotation @@ -491,69 +516,84 @@ - wxgui_scopesink2 + gr_file_source id - wxgui_scopesink2_0_0_0_0 + src _enabled True + + file + poes-d16.dat + type complex - title - Post-SYNC + repeat + False - samp_rate - sym_rate + vlen + 1 - v_scale - 0.5 + _coordinate + (34, 423) - t_scale - 20.0/sym_rate + _rotation + 0 + + + gr_agc_xx - ac_couple - False + id + agr - xy_mode + _enabled True - num_inputs - 1 + type + complex - grid_pos - 1, 0, 1, 1 + rate + 1e-6 - notebook - displays, 2 + reference + 1.0 + + + gain + 1.0 + + + max_gain + 1.0 _coordinate - (872, 607) + (261, 494) _rotation - 180 + 0 wxgui_scopesink2 id - wxgui_scopesink2_0_0_1 + wxgui_scopesink2_0_0 _enabled @@ -561,15 +601,15 @@ type - complex + float title - Post-SYNC + Post-PLL samp_rate - sym_rate + sample_rate v_scale @@ -577,7 +617,7 @@ t_scale - 20.0/sym_rate + 20.0/sample_rate ac_couple @@ -597,11 +637,11 @@ notebook - displays, 2 + displays, 1 _coordinate - (872, 341) + (618, 335) _rotation @@ -609,38 +649,30 @@ - gr_agc_xx + noaa_hrpt_pll_cf id - agr + noaa_hrpt_pll_cf_0 _enabled True - type - complex - - - rate - 1e-6 - - - reference - 1.0 + alpha + pll_alpha - gain - 1.0 + beta + pll_alpha**2/4.0 - max_gain - 1.0 + max_offset + max_carrier_offset _coordinate - (261, 494) + (639, 502) _rotation @@ -648,10 +680,10 @@ - noaa_hrpt_pll_cc + noaa_hrpt_sync_ff id - noaa_hrpt_pll_cc_0 + noaa_hrpt_sync_ff_0 _enabled @@ -659,19 +691,23 @@ alpha - pll_alpha + .005 beta - pll_alpha**2/4.0 + .005*.005/4.0 + + + sps + sps max_offset - max_carrier_offset + max_sync_offset _coordinate - (628, 502) + (876, 494) _rotation @@ -679,74 +715,91 @@ - wxgui_fftsink2 + gr_binary_slicer_fb id - rx_fftsink + gr_binary_slicer_fb_0 _enabled True - type - complex + _coordinate + (1108, 522) - title - RX Spectrum + _rotation + 0 + + + virtual_sink - samp_rate - sample_rate + id + virtual_sink_1 - baseband_freq - 1698e6 + _enabled + True - y_per_div - 5 + stream_id + bits - y_divs - 8 + _coordinate + (1289, 518) - ref_level - 20 + _rotation + 0 + + + gr_file_sink - fft_size - 1024 + id + gr_file_sink_0 - fft_rate - 30 + _enabled + True - peak_hold - False + file + bits.dat - average - True + type + byte - avg_alpha - 0.1 + vlen + 1 - grid_pos - 0, 0, 1, 1 + _coordinate + (981, 919) - notebook - displays, 0 + _rotation + 0 + + + + gr_char_to_float + + id + gr_char_to_float_0 + + + _enabled + True _coordinate - (433, 297) + (477, 923) _rotation @@ -754,58 +807,72 @@ - wxgui_scopesink2 + gr_float_to_char id - wxgui_scopesink2_0 + gr_float_to_char_0 _enabled True - type - complex + _coordinate + (809, 923) - title - RX Waveform + _rotation + 0 + + + gr_add_const_vxx - samp_rate - sample_rate + id + gr_add_const_vxx_0 - v_scale - 0 + _enabled + True - t_scale - 20.0/sample_rate + type + float - ac_couple - False + const + 48.0 - xy_mode - False + vlen + 1 - num_inputs - 1 + _coordinate + (653, 919) - grid_pos - 1, 0, 1, 1 + _rotation + 0 + + + virtual_source - notebook - displays, 0 + id + virtual_source_0 + + + _enabled + True + + + stream_id + bits _coordinate - (434, 603) + (283, 919) _rotation @@ -813,101 +880,85 @@ - variable_slider + wxgui_scopesink2 id - pll_alpha + wxgui_scopesink2_0_0_0_0 _enabled True - label - PLL Alpha + type + float - value - 0.001 + 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, 0, 1, 1 + 1, 0, 1, 1 notebook - + displays, 1 _coordinate - (192, 100) + (872, 607) _rotation - 0 + 180 - variable_slider + notebook id - sync_alpha + displays _enabled True - - label - SYNC Alpha - - - value - 0.001 - - - min - 0.0 - - - max - 0.5 - - - num_steps - 500 - style - wx.SL_HORIZONTAL + wx.NB_TOP - converver - float_converter + labels + ['RX','PLL/SYNC'] grid_pos - 0, 1, 1, 1 + 1, 0, 1, 2 notebook @@ -915,7 +966,7 @@ _coordinate - (344, 101) + (9, 99) _rotation @@ -947,38 +998,62 @@ 0 - noaa_hrpt_pll_cc_0 - wxgui_scopesink2_0_0 + gr_binary_slicer_fb_0 + virtual_sink_1 0 0 - noaa_hrpt_pll_cc_0 - wxgui_scopesink2_0_0_0 + agr + noaa_hrpt_pll_cf_0 0 0 - noaa_hrpt_pll_cc_0 - sync + noaa_hrpt_pll_cf_0 + wxgui_scopesink2_0_0 0 0 - sync - wxgui_scopesink2_0_0_1 + noaa_hrpt_pll_cf_0 + noaa_hrpt_sync_ff_0 0 0 - sync + noaa_hrpt_sync_ff_0 + gr_binary_slicer_fb_0 + 0 + 0 + + + noaa_hrpt_sync_ff_0 wxgui_scopesink2_0_0_0_0 0 0 - agr - noaa_hrpt_pll_cc_0 + virtual_source_0 + gr_char_to_float_0 + 0 + 0 + + + gr_float_to_char_0 + gr_file_sink_0 + 0 + 0 + + + gr_add_const_vxx_0 + gr_float_to_char_0 + 0 + 0 + + + gr_char_to_float_0 + gr_add_const_vxx_0 0 0 -- cgit