From dac3b2a3097894a062f9ff2b65d6ff2d5319adc6 Mon Sep 17 00:00:00 2001 From: ptrkrysik Date: Thu, 6 Nov 2014 14:47:33 +0100 Subject: Added new block which adapts stream of samples to GSM receiver's input requirements (integer multiply of 1625000/6 symbol rate, LP filtering) --- hier_blocks/receiver/gsm_input.grc | 486 +++++++++++++++++++++++++++++++++++++ 1 file changed, 486 insertions(+) create mode 100644 hier_blocks/receiver/gsm_input.grc (limited to 'hier_blocks') diff --git a/hier_blocks/receiver/gsm_input.grc b/hier_blocks/receiver/gsm_input.grc new file mode 100644 index 0000000..8d99640 --- /dev/null +++ b/hier_blocks/receiver/gsm_input.grc @@ -0,0 +1,486 @@ + + + Thu Nov 6 14:41:06 2014 + + options + + id + gsm_input + + + _enabled + True + + + title + GSM input adaptor + + + author + Piotr Krysik + + + description + Adaptor of input stream for the GSM receiver. Contains frequency ofset corrector doing also resampling to integer multiplies of GSM sample rate and LP filter filtering GSM channel. + + + window_size + 1280, 1024 + + + generate_options + hb + + + category + + + + run_options + prompt + + + run + True + + + max_nouts + 0 + + + realtime_scheduling + + + + alias + + + + _coordinate + (10, 10) + + + _rotation + 0 + + + + pad_sink + + id + pad_sink_0 + + + _enabled + True + + + label + out + + + type + complex + + + vlen + 1 + + + num_streams + 1 + + + optional + False + + + _coordinate + (706, 213) + + + _rotation + 0 + + + + parameter + + id + ppm + + + _enabled + True + + + label + ppm + + + value + 0 + + + type + eng_float + + + short_id + + + + alias + + + + _coordinate + (453, 22) + + + _rotation + 0 + + + + parameter + + id + osr + + + _enabled + True + + + label + OSR + + + value + 4 + + + type + intx + + + short_id + + + + alias + + + + _coordinate + (541, 23) + + + _rotation + 0 + + + + low_pass_filter + + id + low_pass_filter_0_0 + + + _enabled + True + + + type + fir_filter_ccf + + + decim + 1 + + + interp + 1 + + + gain + 1 + + + samp_rate + 1625000.0/6.0*osr + + + cutoff_freq + 125e3 + + + width + 5e3 + + + win + firdes.WIN_HAMMING + + + beta + 6.76 + + + alias + + + + affinity + + + + minoutbuf + 0 + + + maxoutbuf + 0 + + + _coordinate + (502, 165) + + + _rotation + 0 + + + + pad_source + + id + ppm_in + + + _enabled + True + + + label + ppm_in + + + type + message + + + vlen + 1 + + + num_streams + 1 + + + optional + True + + + _coordinate + (91, 242) + + + _rotation + 0 + + + + gsm_clock_offset_corrector + + id + gsm_clock_offset_corrector_0 + + + _enabled + True + + + fc + fc + + + ppm + 0 + + + samp_rate_in + samp_rate_in + + + samp_rate_out + 1625000.0/6.0*4.0 + + + alias + + + + affinity + + + + minoutbuf + 0 + + + maxoutbuf + 0 + + + _coordinate + (279, 190) + + + _rotation + 0 + + + + pad_source + + id + pad_source_0 + + + _enabled + True + + + label + in + + + type + complex + + + vlen + 1 + + + num_streams + 1 + + + optional + False + + + _coordinate + (88, 197) + + + _rotation + 0 + + + + parameter + + id + fc + + + _enabled + True + + + label + fc + + + value + 940e6 + + + type + eng_float + + + short_id + + + + alias + + + + _coordinate + (231, 22) + + + _rotation + 0 + + + + parameter + + id + samp_rate_in + + + _enabled + True + + + label + samp_rate_in + + + value + 1e6 + + + type + eng_float + + + short_id + + + + alias + + + + _coordinate + (328, 22) + + + _rotation + 0 + + + + low_pass_filter_0_0 + pad_sink_0 + 0 + 0 + + + gsm_clock_offset_corrector_0 + low_pass_filter_0_0 + 0 + 0 + + + pad_source_0 + gsm_clock_offset_corrector_0 + 0 + 0 + + + ppm_in + gsm_clock_offset_corrector_0 + 0 + ppm_in + + -- cgit v1.2.3