From 9fc527b4735db31acb967ed1309b86fd76003b03 Mon Sep 17 00:00:00 2001 From: Tom Date: Mon, 1 Feb 2010 18:55:24 -0500 Subject: [PATCH] Using PFB resampler to generate the pulse shaping filtered signal. --- gnuradio-examples/grc/demod/pam_timing.grc | 612 +++++++++------------ 1 file changed, 266 insertions(+), 346 deletions(-) diff --git a/gnuradio-examples/grc/demod/pam_timing.grc b/gnuradio-examples/grc/demod/pam_timing.grc index 149e4c70..02130f48 100644 --- a/gnuradio-examples/grc/demod/pam_timing.grc +++ b/gnuradio-examples/grc/demod/pam_timing.grc @@ -1,6 +1,6 @@ - Sat Oct 31 10:26:48 2009 + Mon Feb 1 18:54:46 2010 options @@ -172,29 +172,6 @@ 0 - - variable - - id - rrctaps - - - _enabled - True - - - value - firdes.root_raised_cosine(nfilts,1.0,1.0/(spb*nfilts), .35, int(11*spb*nfilts)) - - - _coordinate - (513, 679) - - - _rotation - 0 - - random_source_x @@ -327,45 +304,6 @@ 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 - (59, 543) - - - _rotation - 0 - - notebook @@ -401,73 +339,6 @@ 0 - - wxgui_scopesink2 - - id - wxgui_scopesink2_0_0_1 - - - _enabled - True - - - type - complex - - - title - Error - - - samp_rate - samp_rate - - - v_scale - .5 - - - v_offset - 0 - - - t_scale - 0 - - - ac_couple - False - - - xy_mode - False - - - num_inputs - 1 - - - win_size - - - - grid_pos - - - - notebook - notebook_0,3 - - - _coordinate - (1115, 358) - - - _rotation - 0 - - gr_add_xx @@ -530,29 +401,6 @@ 0 - - gr_float_to_complex - - id - gr_float_to_complex_0 - - - _enabled - True - - - vlen - 1 - - - _coordinate - (590, 184) - - - _rotation - 0 - - variable @@ -686,29 +534,6 @@ 180 - - variable - - id - spb_gen - - - _enabled - True - - - value - 4 - - - _coordinate - (119, 841) - - - _rotation - 0 - - variable_slider @@ -820,50 +645,45 @@ - root_raised_cosine_filter + variable id - root_raised_cosine_filter_0 + pam_amp _enabled True - type - interp_fir_filter_ccf - - - decim - 1 - - - interp - spb_gen + value + 2 - gain - 2*spb_gen + _coordinate + (223, 9) - samp_rate - 1.0 + _rotation + 0 + + + variable - sym_rate - 1./spb_gen + id + sig_amp - alpha - 0.35 + _enabled + True - ntaps - 11*spb_gen + value + 1 _coordinate - (834, 157) + (315, 9) _rotation @@ -871,61 +691,66 @@ - blks2_pfb_arb_resampler_ccf + wxgui_scopesink2 id - blks2_pfb_arb_resampler_ccf_0 + wxgui_scopesink2_0 _enabled True - rate - float(spb)/float(spb_gen) + type + complex - taps - firdes.low_pass(128, 128, 0.45, 0.1) + title + Scope Plot - size - 128 + samp_rate + samp_rate - _coordinate - (617, 374) + v_scale + 0 - _rotation + v_offset 0 - - - gr_multiply_const_vxx - id - gr_multiply_const_vxx_0 + t_scale + 0 - _enabled - True + ac_couple + False - type - complex + xy_mode + False - const - sig_amp + num_inputs + 1 - vlen - 1 + win_size + + + + grid_pos + + + + notebook + _coordinate - (1096, 197) + (1116, 500) _rotation @@ -933,22 +758,30 @@ - variable + gr_throttle id - pam_amp + gr_throttle_0 _enabled True - value - 2 - + type + complex + + + samples_per_second + samp_rate + + + vlen + 1 + _coordinate - (223, 9) + (290, 575) _rotation @@ -956,45 +789,66 @@ - variable + wxgui_scopesink2 id - spb + wxgui_scopesink2_0_0 _enabled True - value - 4.1 + type + float - _coordinate - (32, 842) + title + Error - _rotation + samp_rate + samp_rate + + + v_scale + 3 + + + v_offset 0 - - - variable - id - sig_amp + t_scale + 0 - _enabled - True + ac_couple + False - value + xy_mode + False + + + num_inputs 1 + + win_size + + + + grid_pos + + + + notebook + notebook_0,0 + _coordinate - (315, 9) + (1110, 651) _rotation @@ -1005,7 +859,7 @@ wxgui_scopesink2 id - wxgui_scopesink2_0 + wxgui_scopesink2_0_0_0 _enabled @@ -1013,7 +867,7 @@ type - complex + float title @@ -1025,7 +879,7 @@ v_scale - 0 + 9 v_offset @@ -1057,11 +911,11 @@ notebook - + notebook_0,1 _coordinate - (1116, 500) + (1112, 881) _rotation @@ -1069,10 +923,33 @@ - gr_throttle + variable id - gr_throttle_0 + rrctaps + + + _enabled + True + + + value + firdes.root_raised_cosine(nfilts,1.0,1.0/(spb*nfilts), .35, int(11*spb*nfilts)) + + + _coordinate + (513, 679) + + + _rotation + 0 + + + + gr_pfb_clock_sync_xxx + + id + gr_pfb_clock_sync_xxx_0 _enabled @@ -1080,19 +957,39 @@ type - complex + ccf - samples_per_second - samp_rate + sps + spb - vlen - 1 + alpha + alpha + + + beta + beta + + + taps + rrctaps + + + filter_size + nfilts + + + init_phase + 16 + + + max_dev + 1.5 _coordinate - (290, 575) + (512, 527) _rotation @@ -1103,7 +1000,7 @@ wxgui_scopesink2 id - wxgui_scopesink2_0_0 + wxgui_scopesink2_0_0_0_0 _enabled @@ -1115,7 +1012,7 @@ title - Error + Scope Plot samp_rate @@ -1123,7 +1020,7 @@ v_scale - 3 + 1.25 v_offset @@ -1155,11 +1052,11 @@ notebook - notebook_0,0 + notebook_0,2 _coordinate - (1110, 651) + (1111, 767) _rotation @@ -1170,7 +1067,7 @@ wxgui_scopesink2 id - wxgui_scopesink2_0_0_0_0 + wxgui_scopesink2_0_0_1 _enabled @@ -1178,11 +1075,11 @@ type - float + complex title - Scope Plot + Error samp_rate @@ -1190,7 +1087,7 @@ v_scale - 1.25 + .5 v_offset @@ -1222,11 +1119,11 @@ notebook - notebook_0,2 + notebook_0,3 _coordinate - (1111, 767) + (1115, 358) _rotation @@ -1234,50 +1131,53 @@ - gr_pfb_clock_sync_xxx + gr_float_to_complex id - gr_pfb_clock_sync_xxx_0 + gr_float_to_complex_0 _enabled True - type - ccf + vlen + 1 - sps - spb + _coordinate + (590, 184) - alpha - alpha + _rotation + 0 + + + blks2_pfb_arb_resampler_ccf - beta - beta + id + blks2_pfb_arb_resampler_ccf_0 - taps - rrctaps + _enabled + True - filter_size - nfilts + rate + spb - init_phase - 16 + taps + firdes.root_raised_cosine(32, 32, 1.0, 0.35, 44*32) - max_dev - 1.5 + size + 32 _coordinate - (512, 527) + (816, 181) _rotation @@ -1285,66 +1185,92 @@ - wxgui_scopesink2 + gr_channel_model id - wxgui_scopesink2_0_0_0 + gr_channel_model_0 _enabled True - type - float + noise_voltage + noise_amp - title - Scope Plot + freq_offset + freq_offset - samp_rate - samp_rate + epsilon + interpratio - v_scale - 9 + taps + 1.0 - v_offset - 0 + seed + 42 - t_scale + _coordinate + (59, 543) + + + _rotation 0 + + + gr_multiply_const_vxx - ac_couple - False + id + gr_multiply_const_vxx_0 - xy_mode - False + _enabled + True - num_inputs + type + complex + + + const + sig_amp + + + vlen 1 - win_size - + _coordinate + (714, 382) - grid_pos - + _rotation + 0 + + + + variable + + id + spb - notebook - notebook_0,1 + _enabled + True + + + value + 4.2563 _coordinate - (1112, 881) + (42, 840) _rotation @@ -1387,18 +1313,6 @@ 0 0 - - blks2_pfb_arb_resampler_ccf_0 - gr_channel_model_0 - 0 - 0 - - - blks2_pfb_arb_resampler_ccf_0 - wxgui_scopesink2_0_0_1 - 0 - 0 - gr_channel_model_0 gr_throttle_0 @@ -1418,51 +1332,57 @@ 1 - gr_float_to_complex_0 - root_raised_cosine_filter_0 + gr_pfb_clock_sync_xxx_0 + wxgui_scopesink2_0 0 0 - root_raised_cosine_filter_0 - gr_multiply_const_vxx_0 + gr_throttle_0 + gr_pfb_clock_sync_xxx_0 0 0 - gr_multiply_const_vxx_0 - blks2_pfb_arb_resampler_ccf_0 - 0 + gr_pfb_clock_sync_xxx_0 + wxgui_scopesink2_0_0 + 1 0 gr_pfb_clock_sync_xxx_0 - wxgui_scopesink2_0 - 0 + wxgui_scopesink2_0_0_0 + 3 0 - gr_throttle_0 - gr_pfb_clock_sync_xxx_0 + gr_pfb_clock_sync_xxx_0 + wxgui_scopesink2_0_0_0_0 + 2 + 0 + + + gr_multiply_const_vxx_0 + wxgui_scopesink2_0_0_1 0 0 - gr_pfb_clock_sync_xxx_0 - wxgui_scopesink2_0_0 - 1 + gr_float_to_complex_0 + blks2_pfb_arb_resampler_ccf_0 + 0 0 - gr_pfb_clock_sync_xxx_0 - wxgui_scopesink2_0_0_0_0 - 2 + blks2_pfb_arb_resampler_ccf_0 + gr_multiply_const_vxx_0 + 0 0 - gr_pfb_clock_sync_xxx_0 - wxgui_scopesink2_0_0_0 - 3 + gr_multiply_const_vxx_0 + gr_channel_model_0 + 0 0 -- 2.39.5