From 6c7fb8a8e93b79b13c80a5ce0256ae3190ca53d2 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Thu, 18 Jul 2019 16:47:20 +0200 Subject: Add PSK125 decoder script --- decoder/analyse_capture.grc | 1676 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 1676 insertions(+) create mode 100644 decoder/analyse_capture.grc (limited to 'decoder/analyse_capture.grc') diff --git a/decoder/analyse_capture.grc b/decoder/analyse_capture.grc new file mode 100644 index 0000000..e844934 --- /dev/null +++ b/decoder/analyse_capture.grc @@ -0,0 +1,1676 @@ + + + + Wed Jul 17 22:04:54 2019 + + options + + author + HB9EGM + + + window_size + + + + category + [GRC Hier Blocks] + + + comment + + + + description + + + + _enabled + True + + + _coordinate + (8, 8) + + + _rotation + 0 + + + generate_options + no_gui + + + hier_block_src_path + .: + + + id + analyse_capture + + + max_nouts + 0 + + + qt_qss_theme + + + + realtime_scheduling + + + + run_command + {python} -u {filename} + + + run_options + run + + + run + True + + + sizing_mode + fixed + + + thread_safe_setters + + + + title + Analyse RTLSDR capture + + + placement + (0,0) + + + + variable + + comment + + + + _enabled + True + + + _coordinate + (12, 229) + + + _rotation + 0 + + + id + audio_rate + + + value + int(32e3) + + + + variable + + comment + + + + _enabled + True + + + _coordinate + (12, 296) + + + _rotation + 0 + + + id + decim + + + value + 16 + + + + variable + + comment + + + + _enabled + True + + + _coordinate + (8, 160) + + + _rotation + 0 + + + id + samp_rate + + + value + 2048000 + + + + variable_low_pass_filter_taps + + beta + 6.76 + + + comment + + + + cutoff_freq + 3e3 + + + _enabled + True + + + _coordinate + (385, 15) + + + _rotation + 0 + + + gain + 1.0/256 + + + id + taps + + + samp_rate + samp_rate + + + width + 10e2 + + + win + firdes.WIN_HAMMING + + + + analog_agc_xx + + alias + + + + comment + + + + affinity + + + + _enabled + True + + + _coordinate + (612, 257) + + + _rotation + 0 + + + gain + 1.0 + + + id + analog_agc_xx_0 + + + max_gain + 1 + + + maxoutbuf + 0 + + + minoutbuf + 0 + + + rate + 1e-4 + + + reference + 0.2 + + + type + float + + + + analog_const_source_x + + alias + + + + comment + + + + const + 0 + + + affinity + + + + _enabled + True + + + _coordinate + (42, 453) + + + _rotation + 0 + + + id + analog_const_source_x_0 + + + maxoutbuf + 0 + + + minoutbuf + 0 + + + type + float + + + + analog_nbfm_rx + + audio_rate + audio_rate + + + alias + + + + comment + + + + affinity + + + + _enabled + True + + + _coordinate + (428, 257) + + + _rotation + 0 + + + id + analog_nbfm_rx_0 + + + max_dev + 5e3 + + + maxoutbuf + 0 + + + minoutbuf + 0 + + + quad_rate + samp_rate/decim + + + tau + 75e-6 + + + + analog_sig_source_x + + amp + 1 + + + alias + + + + comment + + + + affinity + + + + _enabled + True + + + freq + 588 + + + _coordinate + (202, 502) + + + _rotation + 0 + + + id + analog_sig_source_x_1 + + + maxoutbuf + 0 + + + minoutbuf + 0 + + + offset + 0 + + + type + complex + + + samp_rate + audio_rate + + + waveform + analog.GR_COS_WAVE + + + + audio_sink + + alias + + + + comment + + + + affinity + + + + device_name + + + + _enabled + 0 + + + _coordinate + (832, 281) + + + _rotation + 0 + + + id + audio_sink_0 + + + num_inputs + 1 + + + ok_to_block + True + + + samp_rate + audio_rate + + + + blocks_complex_to_float + + alias + + + + comment + + + + affinity + + + + _enabled + True + + + _coordinate + (410, 726) + + + _rotation + 0 + + + id + blocks_complex_to_float_0 + + + maxoutbuf + 0 + + + minoutbuf + 0 + + + vlen + 1 + + + + blocks_deinterleave + + alias + + + + blocksize + 1 + + + comment + + + + affinity + + + + _enabled + True + + + _coordinate + (361, 168) + + + _rotation + 0 + + + id + blocks_deinterleave_0 + + + type + byte + + + maxoutbuf + 0 + + + minoutbuf + 0 + + + num_streams + 2 + + + vlen + 1 + + + + blocks_file_sink + + append + False + + + alias + + + + comment + + + + affinity + + + + _enabled + True + + + file + ./psk125.bit + + + _coordinate + (760, 702) + + + _rotation + 0 + + + id + blocks_file_sink_0 + + + type + byte + + + unbuffered + False + + + vlen + 1 + + + + blocks_file_source + + begin_tag + pmt.PMT_NIL + + + alias + + + + comment + + + + affinity + + + + _enabled + True + + + file + ./iq.raw + + + _coordinate + (153, 156) + + + _rotation + 0 + + + id + blocks_file_source_0 + + + maxoutbuf + 0 + + + minoutbuf + 0 + + + type + byte + + + repeat + False + + + vlen + 1 + + + + blocks_float_to_complex + + alias + + + + comment + + + + affinity + + + + _enabled + True + + + _coordinate + (636, 162) + + + _rotation + 0 + + + id + blocks_float_to_complex_0 + + + maxoutbuf + 0 + + + minoutbuf + 0 + + + vlen + 1 + + + + blocks_float_to_complex + + alias + + + + comment + + + + affinity + + + + _enabled + True + + + _coordinate + (214, 438) + + + _rotation + 0 + + + id + blocks_float_to_complex_1 + + + maxoutbuf + 0 + + + minoutbuf + 0 + + + vlen + 1 + + + + blocks_multiply_xx + + alias + + + + comment + + + + affinity + + + + _enabled + True + + + _coordinate + (386, 481) + + + _rotation + 0 + + + id + blocks_multiply_xx_0 + + + type + complex + + + maxoutbuf + 0 + + + minoutbuf + 0 + + + num_inputs + 2 + + + vlen + 1 + + + + blocks_uchar_to_float + + alias + + + + comment + + + + affinity + + + + _enabled + True + + + _coordinate + (495, 165) + + + _rotation + 0 + + + id + blocks_uchar_to_float_0 + + + maxoutbuf + 0 + + + minoutbuf + 0 + + + + blocks_uchar_to_float + + alias + + + + comment + + + + affinity + + + + _enabled + True + + + _coordinate + (495, 195) + + + _rotation + 0 + + + id + blocks_uchar_to_float_0_0 + + + maxoutbuf + 0 + + + minoutbuf + 0 + + + + digital_binary_slicer_fb + + alias + + + + comment + + + + affinity + + + + _enabled + True + + + _coordinate + (613, 723) + + + _rotation + 0 + + + id + digital_binary_slicer_fb_0 + + + maxoutbuf + 0 + + + minoutbuf + 0 + + + + digital_diff_phasor_cc + + alias + + + + comment + + + + affinity + + + + _enabled + True + + + _coordinate + (214, 735) + + + _rotation + 0 + + + id + digital_diff_phasor_cc_0 + + + maxoutbuf + 0 + + + minoutbuf + 0 + + + + digital_mpsk_receiver_cc + + alias + + + + comment + + + + affinity + + + + _enabled + True + + + _coordinate + (778, 419) + + + _rotation + 0 + + + gain_mu + 0.04 + + + gain_omega + 64*64/4 + + + id + digital_mpsk_receiver_cc_0 + + + w + cmath.pi/100.0 + + + M + 2 + + + fmax + 0.25 + + + maxoutbuf + 0 + + + fmin + -0.25 + + + minoutbuf + 0 + + + mu + 0.25 + + + omega_relative_limit + 0.005 + + + omega + 64 + + + theta + 0 + + + + freq_xlating_fft_filter_ccc + + alias + + + + center_freq + 145725e3-145700e3 + + + comment + + + + affinity + + + + decim + decim + + + _enabled + True + + + _coordinate + (177, 251) + + + _rotation + 0 + + + id + freq_xlating_fft_filter_ccc_0 + + + maxoutbuf + 0 + + + minoutbuf + 0 + + + nthreads + 1 + + + samp_delay + 0 + + + samp_rate + samp_rate + + + taps + taps + + + + low_pass_filter + + beta + 6.76 + + + alias + + + + comment + + + + affinity + + + + cutoff_freq + 200 + + + decim + 4 + + + _enabled + True + + + type + fir_filter_ccf + + + _coordinate + (515, 438) + + + _rotation + 0 + + + gain + 1 + + + id + low_pass_filter_0 + + + interp + 1 + + + maxoutbuf + 0 + + + minoutbuf + 0 + + + samp_rate + audio_rate + + + width + 20 + + + win + firdes.WIN_HAMMING + + + + qtgui_const_sink_x + + autoscale + False + + + axislabels + True + + + alias + + + + comment + + + + affinity + + + + _enabled + 0 + + + _coordinate + (1017, 481) + + + gui_hint + + + + _rotation + 0 + + + grid + False + + + id + qtgui_const_sink_x_1 + + + legend + True + + + alpha1 + 1.0 + + + color1 + "blue" + + + label1 + + + + marker1 + 0 + + + style1 + 0 + + + width1 + 1 + + + alpha10 + 1.0 + + + color10 + "red" + + + label10 + + + + marker10 + 0 + + + style10 + 0 + + + width10 + 1 + + + alpha2 + 1.0 + + + color2 + "red" + + + label2 + + + + marker2 + 0 + + + style2 + 0 + + + width2 + 1 + + + alpha3 + 1.0 + + + color3 + "red" + + + label3 + + + + marker3 + 0 + + + style3 + 0 + + + width3 + 1 + + + alpha4 + 1.0 + + + color4 + "red" + + + label4 + + + + marker4 + 0 + + + style4 + 0 + + + width4 + 1 + + + alpha5 + 1.0 + + + color5 + "red" + + + label5 + + + + marker5 + 0 + + + style5 + 0 + + + width5 + 1 + + + alpha6 + 1.0 + + + color6 + "red" + + + label6 + + + + marker6 + 0 + + + style6 + 0 + + + width6 + 1 + + + alpha7 + 1.0 + + + color7 + "red" + + + label7 + + + + marker7 + 0 + + + style7 + 0 + + + width7 + 1 + + + alpha8 + 1.0 + + + color8 + "red" + + + label8 + + + + marker8 + 0 + + + style8 + 0 + + + width8 + 1 + + + alpha9 + 1.0 + + + color9 + "red" + + + label9 + + + + marker9 + 0 + + + style9 + 0 + + + width9 + 1 + + + name + "" + + + nconnections + 1 + + + size + 32 + + + tr_chan + 0 + + + tr_level + 0.0 + + + tr_mode + qtgui.TRIG_MODE_FREE + + + tr_slope + qtgui.TRIG_SLOPE_POS + + + tr_tag + "" + + + type + complex + + + update_time + 0.10 + + + xmax + 2 + + + xmin + -2 + + + ymax + 2 + + + ymin + -2 + + + + analog_agc_xx_0 + audio_sink_0 + 0 + 0 + + + analog_agc_xx_0 + blocks_float_to_complex_1 + 0 + 0 + + + analog_const_source_x_0 + blocks_float_to_complex_1 + 0 + 1 + + + analog_nbfm_rx_0 + analog_agc_xx_0 + 0 + 0 + + + analog_sig_source_x_1 + blocks_multiply_xx_0 + 0 + 1 + + + blocks_complex_to_float_0 + digital_binary_slicer_fb_0 + 0 + 0 + + + blocks_deinterleave_0 + blocks_uchar_to_float_0 + 0 + 0 + + + blocks_deinterleave_0 + blocks_uchar_to_float_0_0 + 1 + 0 + + + blocks_file_source_0 + blocks_deinterleave_0 + 0 + 0 + + + blocks_float_to_complex_0 + freq_xlating_fft_filter_ccc_0 + 0 + 0 + + + blocks_float_to_complex_1 + blocks_multiply_xx_0 + 0 + 0 + + + blocks_multiply_xx_0 + low_pass_filter_0 + 0 + 0 + + + blocks_uchar_to_float_0 + blocks_float_to_complex_0 + 0 + 0 + + + blocks_uchar_to_float_0_0 + blocks_float_to_complex_0 + 0 + 1 + + + digital_binary_slicer_fb_0 + blocks_file_sink_0 + 0 + 0 + + + digital_diff_phasor_cc_0 + blocks_complex_to_float_0 + 0 + 0 + + + digital_mpsk_receiver_cc_0 + digital_diff_phasor_cc_0 + 0 + 0 + + + digital_mpsk_receiver_cc_0 + qtgui_const_sink_x_1 + 0 + 0 + + + freq_xlating_fft_filter_ccc_0 + analog_nbfm_rx_0 + 0 + 0 + + + low_pass_filter_0 + digital_mpsk_receiver_cc_0 + 0 + 0 + + -- cgit v1.2.3