From 8d4804c546be699a3c3088edc7de25cfee620562 Mon Sep 17 00:00:00 2001 From: Tom Date: Mon, 1 Feb 2010 18:58:37 -0500 Subject: [PATCH] Simplifying and using PFB resampler to generate pusle shape filtered signal. --- gnuradio-examples/grc/demod/pam_sync.grc | 606 ++++++++++------------- 1 file changed, 263 insertions(+), 343 deletions(-) diff --git a/gnuradio-examples/grc/demod/pam_sync.grc b/gnuradio-examples/grc/demod/pam_sync.grc index fc118689..80a7aef0 100644 --- a/gnuradio-examples/grc/demod/pam_sync.grc +++ b/gnuradio-examples/grc/demod/pam_sync.grc @@ -1,6 +1,6 @@ - Tue Dec 15 23:06:57 2009 + Mon Feb 1 18:58:32 2010 options @@ -366,29 +366,6 @@ 0 - - gr_float_to_complex - - id - gr_float_to_complex_0 - - - _enabled - True - - - vlen - 1 - - - _coordinate - (590, 184) - - - _rotation - 0 - - variable @@ -522,60 +499,6 @@ 180 - - variable - - id - spb_gen - - - _enabled - True - - - value - 4 - - - _coordinate - (119, 841) - - - _rotation - 0 - - - - gr_multiply_const_vxx - - id - gr_multiply_const_vxx_0 - - - _enabled - True - - - type - complex - - - const - sig_amp - - - vlen - 1 - - - _coordinate - (1096, 197) - - - _rotation - 0 - - variable @@ -645,80 +568,6 @@ 0 - - root_raised_cosine_filter - - id - root_raised_cosine_filter_0 - - - _enabled - True - - - type - interp_fir_filter_ccf - - - decim - 1 - - - interp - spb_gen - - - gain - 2*spb_gen - - - samp_rate - 1.0 - - - sym_rate - 1./spb_gen - - - alpha - rolloff - - - ntaps - 11*spb_gen - - - _coordinate - (834, 157) - - - _rotation - 0 - - - - variable - - id - spb - - - _enabled - True - - - value - 4.0 - - - _coordinate - (32, 842) - - - _rotation - 0 - - gr_throttle @@ -1080,57 +929,6 @@ 180 - - gr_pfb_clock_sync_xxx - - id - gr_pfb_clock_sync_xxx_0 - - - _enabled - True - - - type - ccf - - - sps - spb - - - alpha - time_alpha - - - beta - time_beta - - - taps - rrctaps - - - filter_size - nfilts - - - init_phase - 16 - - - max_dev - 1.5 - - - _coordinate - (655, 527) - - - _rotation - 0 - - gr_costas_loop_cc @@ -1237,37 +1035,6 @@ 0 - - blks2_pfb_arb_resampler_ccf - - id - blks2_pfb_arb_resampler_ccf_0 - - - _enabled - True - - - rate - float(spb)/float(spb_gen) - - - taps - firdes.low_pass(128, 128, 0.45, 0.1) - - - size - 128 - - - _coordinate - (596, 326) - - - _rotation - 0 - - variable @@ -1291,49 +1058,6 @@ 0 - - gr_fll_band_edge_cc - - id - gr_fll_band_edge_cc_0 - - - _enabled - True - - - type - cc - - - samps_per_sym - spb_gen - - - rolloff - rolloff - - - filter_size - 44 - - - alpha - freq_alpha - - - beta - freq_beta - - - _coordinate - (429, 543) - - - _rotation - 0 - - notebook @@ -1547,49 +1271,10 @@ - gr_channel_model + virtual_sink id - gr_channel_model_0 - - - _enabled - True - - - noise_voltage - noise_amp - - - freq_offset - freq_offset - - - epsilon - interpratio - - - taps - 1.0 - - - seed - 42 - - - _coordinate - (60, 443) - - - _rotation - 0 - - - - virtual_sink - - id - virtual_sink_0 + virtual_sink_0 _enabled @@ -1688,7 +1373,248 @@ _coordinate - (655, 686) + (663, 687) + + + _rotation + 0 + + + + gr_pfb_clock_sync_xxx + + id + gr_pfb_clock_sync_xxx_0 + + + _enabled + True + + + type + ccf + + + sps + spb + + + alpha + time_alpha + + + beta + time_beta + + + taps + rrctaps + + + filter_size + nfilts + + + init_phase + 16 + + + max_dev + 1.5 + + + _coordinate + (662, 527) + + + _rotation + 0 + + + + gr_float_to_complex + + id + gr_float_to_complex_0 + + + _enabled + True + + + vlen + 1 + + + _coordinate + (592, 184) + + + _rotation + 0 + + + + gr_channel_model + + id + gr_channel_model_0 + + + _enabled + True + + + noise_voltage + noise_amp + + + freq_offset + freq_offset + + + epsilon + interpratio + + + taps + 1.0 + + + seed + 42 + + + _coordinate + (60, 443) + + + _rotation + 0 + + + + gr_multiply_const_vxx + + id + gr_multiply_const_vxx_0 + + + _enabled + True + + + type + complex + + + const + sig_amp + + + vlen + 1 + + + _coordinate + (670, 322) + + + _rotation + 0 + + + + blks2_pfb_arb_resampler_ccf + + id + blks2_pfb_arb_resampler_ccf_0 + + + _enabled + True + + + rate + spb + + + taps + firdes.root_raised_cosine(32, 32, 1.0, 0.35, 44*32) + + + size + 32 + + + _coordinate + (778, 180) + + + _rotation + 0 + + + + gr_fll_band_edge_cc + + id + gr_fll_band_edge_cc_0 + + + _enabled + True + + + type + cc + + + samps_per_sym + spb + + + rolloff + rolloff + + + filter_size + 44 + + + alpha + freq_alpha + + + beta + freq_beta + + + _coordinate + (429, 528) + + + _rotation + 0 + + + + variable + + id + spb + + + _enabled + True + + + value + 4.0 + + + _coordinate + (40, 829) _rotation @@ -1719,12 +1645,6 @@ 0 0 - - blks2_pfb_arb_resampler_ccf_0 - gr_channel_model_0 - 0 - 0 - gr_channel_model_0 gr_throttle_0 @@ -1743,24 +1663,6 @@ 0 1 - - gr_float_to_complex_0 - root_raised_cosine_filter_0 - 0 - 0 - - - root_raised_cosine_filter_0 - gr_multiply_const_vxx_0 - 0 - 0 - - - gr_multiply_const_vxx_0 - blks2_pfb_arb_resampler_ccf_0 - 0 - 0 - gr_uchar_to_float_0 gr_add_xx_0 @@ -1821,4 +1723,22 @@ 0 0 + + gr_float_to_complex_0 + blks2_pfb_arb_resampler_ccf_0 + 0 + 0 + + + blks2_pfb_arb_resampler_ccf_0 + gr_multiply_const_vxx_0 + 0 + 0 + + + gr_multiply_const_vxx_0 + gr_channel_model_0 + 0 + 0 + -- 2.30.2