X-Git-Url: https://git.gag.com/?p=debian%2Fgnuradio;a=blobdiff_plain;f=gnuradio-examples%2Fgrc%2Fdemod%2Fpam_timing.grc;fp=gnuradio-examples%2Fgrc%2Fdemod%2Fpam_timing.grc;h=02130f4815f9886fbdec89d67e2f8ed5b0385fc2;hp=0000000000000000000000000000000000000000;hb=fd9980f919b6f05e2fbea404fea322825ce438f0;hpb=2415ccdbf9d97878a0888bbdff30d699ae2326dd diff --git a/gnuradio-examples/grc/demod/pam_timing.grc b/gnuradio-examples/grc/demod/pam_timing.grc new file mode 100644 index 00000000..02130f48 --- /dev/null +++ b/gnuradio-examples/grc/demod/pam_timing.grc @@ -0,0 +1,1388 @@ + + + Mon Feb 1 18:54:46 2010 + + options + + id + top_block + + + _enabled + True + + + title + + + + author + + + + description + + + + window_size + 1280, 1024 + + + generate_options + wx_gui + + + category + Custom + + + run_options + prompt + + + run + True + + + realtime_scheduling + + + + _coordinate + (10, 10) + + + _rotation + 0 + + + + gr_uchar_to_float + + id + gr_uchar_to_float_0 + + + _enabled + True + + + _coordinate + (217, 108) + + + _rotation + 0 + + + + gr_uchar_to_float + + id + gr_uchar_to_float_0_0 + + + _enabled + True + + + _coordinate + (216, 273) + + + _rotation + 0 + + + + variable + + id + samp_rate + + + _enabled + True + + + value + 32000 + + + _coordinate + (128, 9) + + + _rotation + 0 + + + + variable_slider + + id + freq_offset + + + _enabled + True + + + label + Frequency Offset + + + value + 0 + + + min + -0.5 + + + max + 0.5 + + + num_steps + 1000 + + + style + wx.SL_HORIZONTAL + + + converver + float_converter + + + grid_pos + + + + notebook + + + + _coordinate + (293, 684) + + + _rotation + 0 + + + + random_source_x + + id + random_source_x_0 + + + _enabled + True + + + type + byte + + + min + 0 + + + max + pam_amp + + + num_samps + 10000 + + + repeat + True + + + _coordinate + (13, 80) + + + _rotation + 0 + + + + random_source_x + + id + random_source_x_0_0 + + + _enabled + True + + + type + byte + + + min + 0 + + + max + pam_amp + + + num_samps + 10000 + + + repeat + True + + + _coordinate + (15, 245) + + + _rotation + 0 + + + + const_source_x + + id + const_source_x_0 + + + _enabled + True + + + type + float + + + const + -0.5*(pam_amp-1) + + + _coordinate + (213, 197) + + + _rotation + 0 + + + + const_source_x + + id + const_source_x_0_0 + + + _enabled + True + + + type + float + + + const + -0.5*(pam_amp-1) + + + _coordinate + (200, 360) + + + _rotation + 0 + + + + notebook + + id + notebook_0 + + + _enabled + True + + + style + wx.NB_TOP + + + labels + ['error', 'phase', 'freq', 'Resampled Signal'] + + + grid_pos + + + + notebook + + + + _coordinate + (729, 769) + + + _rotation + 0 + + + + gr_add_xx + + id + gr_add_xx_0 + + + _enabled + True + + + type + float + + + num_inputs + 2 + + + vlen + 1 + + + _coordinate + (440, 167) + + + _rotation + 0 + + + + gr_add_xx + + id + gr_add_xx_0_1 + + + _enabled + True + + + type + float + + + num_inputs + 2 + + + vlen + 1 + + + _coordinate + (430, 330) + + + _rotation + 0 + + + + variable + + id + nfilts + + + _enabled + True + + + value + 32 + + + _coordinate + (435, 686) + + + _rotation + 0 + + + + variable_slider + + id + noise_amp + + + _enabled + True + + + label + Channel Noise + + + value + 0 + + + min + 0 + + + max + 1.0 + + + num_steps + 1000 + + + style + wx.SL_HORIZONTAL + + + converver + float_converter + + + grid_pos + + + + notebook + + + + _coordinate + (168, 684) + + + _rotation + 0 + + + + variable_slider + + id + interpratio + + + _enabled + True + + + label + Timing Offset + + + value + 1.00 + + + min + 0.99 + + + max + 1.01 + + + num_steps + 1000 + + + style + wx.SL_HORIZONTAL + + + converver + float_converter + + + grid_pos + + + + notebook + + + + _coordinate + (40, 684) + + + _rotation + 180 + + + + variable_slider + + id + beta + + + _enabled + True + + + label + Timing Beta + + + value + 0 + + + min + 0.0 + + + max + 0.1 + + + num_steps + 1000 + + + style + wx.SL_HORIZONTAL + + + converver + float_converter + + + grid_pos + + + + notebook + + + + _coordinate + (668, 5) + + + _rotation + 180 + + + + variable_slider + + id + alpha + + + _enabled + True + + + label + Timing Alpha + + + value + 0 + + + min + 0 + + + max + 1 + + + num_steps + 1000 + + + style + wx.SL_HORIZONTAL + + + converver + float_converter + + + grid_pos + + + + notebook + + + + _coordinate + (552, 4) + + + _rotation + 0 + + + + variable + + id + pam_amp + + + _enabled + True + + + value + 2 + + + _coordinate + (223, 9) + + + _rotation + 0 + + + + variable + + id + sig_amp + + + _enabled + True + + + value + 1 + + + _coordinate + (315, 9) + + + _rotation + 0 + + + + wxgui_scopesink2 + + id + wxgui_scopesink2_0 + + + _enabled + True + + + type + complex + + + title + Scope Plot + + + samp_rate + samp_rate + + + v_scale + 0 + + + v_offset + 0 + + + t_scale + 0 + + + ac_couple + False + + + xy_mode + False + + + num_inputs + 1 + + + win_size + + + + grid_pos + + + + notebook + + + + _coordinate + (1116, 500) + + + _rotation + 0 + + + + gr_throttle + + id + gr_throttle_0 + + + _enabled + True + + + type + complex + + + samples_per_second + samp_rate + + + vlen + 1 + + + _coordinate + (290, 575) + + + _rotation + 0 + + + + wxgui_scopesink2 + + id + wxgui_scopesink2_0_0 + + + _enabled + True + + + type + float + + + title + Error + + + samp_rate + samp_rate + + + v_scale + 3 + + + v_offset + 0 + + + t_scale + 0 + + + ac_couple + False + + + xy_mode + False + + + num_inputs + 1 + + + win_size + + + + grid_pos + + + + notebook + notebook_0,0 + + + _coordinate + (1110, 651) + + + _rotation + 0 + + + + wxgui_scopesink2 + + id + wxgui_scopesink2_0_0_0 + + + _enabled + True + + + type + float + + + title + Scope Plot + + + samp_rate + samp_rate + + + v_scale + 9 + + + v_offset + 0 + + + t_scale + 0 + + + ac_couple + False + + + xy_mode + False + + + num_inputs + 1 + + + win_size + + + + grid_pos + + + + notebook + notebook_0,1 + + + _coordinate + (1112, 881) + + + _rotation + 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 + + + + gr_pfb_clock_sync_xxx + + id + gr_pfb_clock_sync_xxx_0 + + + _enabled + True + + + type + ccf + + + sps + spb + + + alpha + alpha + + + beta + beta + + + taps + rrctaps + + + filter_size + nfilts + + + init_phase + 16 + + + max_dev + 1.5 + + + _coordinate + (512, 527) + + + _rotation + 0 + + + + wxgui_scopesink2 + + id + wxgui_scopesink2_0_0_0_0 + + + _enabled + True + + + type + float + + + title + Scope Plot + + + samp_rate + samp_rate + + + v_scale + 1.25 + + + v_offset + 0 + + + t_scale + 0 + + + ac_couple + False + + + xy_mode + False + + + num_inputs + 1 + + + win_size + + + + grid_pos + + + + notebook + notebook_0,2 + + + _coordinate + (1111, 767) + + + _rotation + 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_float_to_complex + + id + gr_float_to_complex_0 + + + _enabled + True + + + vlen + 1 + + + _coordinate + (590, 184) + + + _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 + (816, 181) + + + _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 + (59, 543) + + + _rotation + 0 + + + + gr_multiply_const_vxx + + id + gr_multiply_const_vxx_0 + + + _enabled + True + + + type + complex + + + const + sig_amp + + + vlen + 1 + + + _coordinate + (714, 382) + + + _rotation + 0 + + + + variable + + id + spb + + + _enabled + True + + + value + 4.2563 + + + _coordinate + (42, 840) + + + _rotation + 0 + + + + random_source_x_0 + gr_uchar_to_float_0 + 0 + 0 + + + gr_uchar_to_float_0 + gr_add_xx_0 + 0 + 0 + + + const_source_x_0 + gr_add_xx_0 + 0 + 1 + + + gr_uchar_to_float_0_0 + gr_add_xx_0_1 + 0 + 0 + + + const_source_x_0_0 + gr_add_xx_0_1 + 0 + 1 + + + random_source_x_0_0 + gr_uchar_to_float_0_0 + 0 + 0 + + + gr_channel_model_0 + gr_throttle_0 + 0 + 0 + + + gr_add_xx_0 + gr_float_to_complex_0 + 0 + 0 + + + gr_add_xx_0_1 + gr_float_to_complex_0 + 0 + 1 + + + gr_pfb_clock_sync_xxx_0 + wxgui_scopesink2_0 + 0 + 0 + + + gr_throttle_0 + gr_pfb_clock_sync_xxx_0 + 0 + 0 + + + gr_pfb_clock_sync_xxx_0 + wxgui_scopesink2_0_0 + 1 + 0 + + + gr_pfb_clock_sync_xxx_0 + wxgui_scopesink2_0_0_0 + 3 + 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_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 + +