csdr/grc_tests/test_bpsk_costas_loop.grc

970 lines
19 KiB
Text
Raw Normal View History

2017-04-01 03:26:08 +08:00
<?xml version='1.0' encoding='utf-8'?>
<?grc format='1' created='3.7.8'?>
<flow_graph>
<timestamp>Sat Oct 31 16:06:38 2015</timestamp>
<block>
<key>options</key>
<param>
<key>author</key>
<value></value>
</param>
<param>
<key>window_size</key>
<value>1280, 1024</value>
</param>
<param>
<key>category</key>
<value>Custom</value>
</param>
<param>
<key>comment</key>
<value></value>
</param>
<param>
<key>description</key>
<value></value>
</param>
<param>
<key>_enabled</key>
<value>True</value>
</param>
<param>
<key>_coordinate</key>
<value>(10, 10)</value>
</param>
<param>
<key>_rotation</key>
<value>0</value>
</param>
<param>
<key>generate_options</key>
<value>wx_gui</value>
</param>
<param>
<key>id</key>
<value>top_block</value>
</param>
<param>
<key>max_nouts</key>
<value>0</value>
</param>
<param>
<key>realtime_scheduling</key>
<value></value>
</param>
<param>
<key>run_options</key>
<value>prompt</value>
</param>
<param>
<key>run</key>
<value>True</value>
</param>
<param>
<key>thread_safe_setters</key>
<value></value>
</param>
<param>
<key>title</key>
<value></value>
</param>
</block>
2017-04-02 03:30:58 +08:00
<block>
<key>variable_slider</key>
<param>
<key>comment</key>
<value></value>
</param>
<param>
<key>converver</key>
<value>float_converter</value>
</param>
<param>
<key>value</key>
<value>1</value>
</param>
<param>
<key>_enabled</key>
<value>True</value>
</param>
<param>
<key>_coordinate</key>
<value>(416, 3)</value>
2017-04-02 03:30:58 +08:00
</param>
<param>
<key>_rotation</key>
<value>0</value>
</param>
<param>
<key>grid_pos</key>
<value></value>
</param>
<param>
<key>id</key>
<value>amplitude</value>
</param>
<param>
<key>label</key>
<value></value>
</param>
<param>
<key>max</key>
<value>2</value>
</param>
<param>
<key>min</key>
<value>0</value>
</param>
<param>
<key>notebook</key>
<value></value>
</param>
<param>
<key>num_steps</key>
<value>100</value>
</param>
<param>
<key>style</key>
<value>wx.SL_HORIZONTAL</value>
</param>
</block>
2017-04-01 03:26:08 +08:00
<block>
<key>variable_slider</key>
<param>
<key>comment</key>
<value></value>
</param>
<param>
<key>converver</key>
<value>float_converter</value>
</param>
<param>
<key>value</key>
2017-05-03 01:23:05 +08:00
<value>10</value>
2017-04-01 03:26:08 +08:00
</param>
<param>
<key>_enabled</key>
<value>True</value>
</param>
<param>
<key>_coordinate</key>
2017-04-01 18:54:21 +08:00
<value>(288, 11)</value>
2017-04-01 03:26:08 +08:00
</param>
<param>
<key>_rotation</key>
<value>0</value>
</param>
<param>
<key>grid_pos</key>
<value></value>
</param>
<param>
<key>id</key>
2017-04-01 18:54:21 +08:00
<value>freq_add</value>
2017-04-01 03:26:08 +08:00
</param>
<param>
<key>label</key>
<value></value>
</param>
<param>
<key>max</key>
2017-04-02 03:30:58 +08:00
<value>samp_rate*0.5</value>
2017-04-01 03:26:08 +08:00
</param>
<param>
<key>min</key>
2017-04-02 03:30:58 +08:00
<value>-samp_rate*0.5</value>
2017-04-01 03:26:08 +08:00
</param>
<param>
<key>notebook</key>
<value></value>
</param>
<param>
<key>num_steps</key>
2017-05-03 01:23:05 +08:00
<value>1000</value>
2017-04-01 03:26:08 +08:00
</param>
<param>
<key>style</key>
<value>wx.SL_HORIZONTAL</value>
</param>
</block>
2017-04-02 03:30:58 +08:00
<block>
<key>variable_slider</key>
<param>
<key>comment</key>
<value></value>
</param>
<param>
<key>converver</key>
<value>float_converter</value>
</param>
<param>
<key>value</key>
<value>0.3</value>
</param>
<param>
<key>_enabled</key>
<value>True</value>
</param>
<param>
<key>_coordinate</key>
<value>(32, 275)</value>
2017-04-02 03:30:58 +08:00
</param>
<param>
<key>_rotation</key>
<value>0</value>
</param>
<param>
<key>grid_pos</key>
<value></value>
</param>
<param>
<key>id</key>
<value>loop_bw</value>
</param>
<param>
<key>label</key>
<value></value>
</param>
<param>
<key>max</key>
<value>0.5</value>
</param>
<param>
<key>min</key>
<value>0</value>
</param>
<param>
<key>notebook</key>
<value></value>
2017-04-02 03:30:58 +08:00
</param>
<param>
<key>num_steps</key>
<value>100</value>
</param>
<param>
<key>style</key>
<value>wx.SL_HORIZONTAL</value>
</param>
</block>
2017-04-01 03:26:08 +08:00
<block>
2017-04-01 18:54:21 +08:00
<key>variable</key>
2017-04-01 03:26:08 +08:00
<param>
<key>comment</key>
<value></value>
</param>
<param>
2017-04-01 18:54:21 +08:00
<key>_enabled</key>
<value>True</value>
2017-04-01 03:26:08 +08:00
</param>
<param>
2017-04-01 18:54:21 +08:00
<key>_coordinate</key>
<value>(176, 11)</value>
</param>
<param>
<key>_rotation</key>
2017-04-01 03:26:08 +08:00
<value>0</value>
</param>
2017-04-01 18:54:21 +08:00
<param>
<key>id</key>
<value>samp_rate</value>
</param>
<param>
<key>value</key>
2017-05-14 23:37:54 +08:00
<value>2**12</value>
2017-04-01 18:54:21 +08:00
</param>
</block>
<block>
<key>analog_const_source_x</key>
2017-04-01 18:54:21 +08:00
<param>
<key>alias</key>
<value></value>
</param>
<param>
<key>comment</key>
<value></value>
</param>
<param>
<key>const</key>
<value>0</value>
</param>
2017-04-01 18:54:21 +08:00
<param>
<key>affinity</key>
<value></value>
</param>
2017-04-01 03:26:08 +08:00
<param>
<key>_enabled</key>
<value>True</value>
</param>
<param>
<key>_coordinate</key>
<value>(288, 203)</value>
2017-04-01 03:26:08 +08:00
</param>
<param>
<key>_rotation</key>
<value>0</value>
</param>
<param>
<key>id</key>
<value>analog_const_source_x_0</value>
2017-04-01 03:26:08 +08:00
</param>
<param>
2017-04-01 18:54:21 +08:00
<key>maxoutbuf</key>
<value>0</value>
2017-04-01 03:26:08 +08:00
</param>
2017-04-01 18:54:21 +08:00
<param>
<key>minoutbuf</key>
<value>0</value>
2017-04-01 03:26:08 +08:00
</param>
<param>
2017-04-01 18:54:21 +08:00
<key>type</key>
<value>float</value>
2017-04-01 03:26:08 +08:00
</param>
</block>
<block>
<key>analog_random_source_x</key>
2017-04-01 18:54:21 +08:00
<param>
<key>alias</key>
<value></value>
</param>
2017-04-01 03:26:08 +08:00
<param>
<key>comment</key>
<value></value>
</param>
2017-04-01 18:54:21 +08:00
<param>
<key>affinity</key>
<value></value>
</param>
2017-04-01 03:26:08 +08:00
<param>
<key>_enabled</key>
<value>True</value>
2017-04-01 03:26:08 +08:00
</param>
<param>
<key>_coordinate</key>
<value>(40, 147)</value>
2017-04-01 03:26:08 +08:00
</param>
<param>
<key>_rotation</key>
<value>0</value>
</param>
<param>
<key>id</key>
<value>analog_random_source_x_0</value>
2017-04-01 03:26:08 +08:00
</param>
<param>
2017-04-01 18:54:21 +08:00
<key>maxoutbuf</key>
<value>0</value>
</param>
<param>
<key>max</key>
<value>2</value>
</param>
2017-04-01 18:54:21 +08:00
<param>
<key>minoutbuf</key>
<value>0</value>
</param>
<param>
<key>min</key>
<value>0</value>
</param>
<param>
<key>num_samps</key>
<value>1000</value>
</param>
<param>
<key>type</key>
<value>int</value>
</param>
<param>
<key>repeat</key>
<value>True</value>
2017-04-01 03:26:08 +08:00
</param>
</block>
<block>
<key>blocks_add_const_vxx</key>
2017-04-01 03:26:08 +08:00
<param>
<key>alias</key>
<value></value>
</param>
<param>
<key>comment</key>
<value></value>
</param>
<param>
<key>const</key>
<value>-1</value>
</param>
2017-04-01 03:26:08 +08:00
<param>
<key>affinity</key>
<value></value>
</param>
<param>
<key>_enabled</key>
<value>True</value>
2017-04-01 03:26:08 +08:00
</param>
<param>
<key>_coordinate</key>
<value>(336, 131)</value>
2017-04-01 03:26:08 +08:00
</param>
<param>
<key>_rotation</key>
<value>0</value>
</param>
<param>
<key>id</key>
<value>blocks_add_const_vxx_0</value>
2017-04-01 03:26:08 +08:00
</param>
<param>
2017-04-01 18:54:21 +08:00
<key>type</key>
<value>float</value>
2017-04-01 03:26:08 +08:00
</param>
<param>
2017-04-01 18:54:21 +08:00
<key>maxoutbuf</key>
<value>0</value>
2017-04-01 03:26:08 +08:00
</param>
<param>
<key>minoutbuf</key>
<value>0</value>
</param>
<param>
2017-04-01 18:54:21 +08:00
<key>vlen</key>
2017-04-01 03:26:08 +08:00
<value>1</value>
</param>
</block>
2017-04-02 03:30:58 +08:00
<block>
<key>blocks_float_to_complex</key>
2017-04-02 03:30:58 +08:00
<param>
<key>alias</key>
<value></value>
</param>
<param>
<key>comment</key>
<value></value>
</param>
<param>
<key>affinity</key>
<value></value>
</param>
<param>
<key>_enabled</key>
<value>True</value>
</param>
<param>
<key>_coordinate</key>
<value>(496, 161)</value>
2017-04-02 03:30:58 +08:00
</param>
<param>
<key>_rotation</key>
<value>0</value>
</param>
<param>
<key>id</key>
<value>blocks_float_to_complex_0</value>
2017-04-02 03:30:58 +08:00
</param>
<param>
<key>maxoutbuf</key>
<value>0</value>
</param>
<param>
<key>minoutbuf</key>
<value>0</value>
</param>
<param>
<key>vlen</key>
<value>1</value>
</param>
</block>
2017-04-01 03:26:08 +08:00
<block>
<key>blocks_int_to_float</key>
2017-04-01 03:26:08 +08:00
<param>
<key>alias</key>
<value></value>
</param>
<param>
<key>comment</key>
<value></value>
</param>
<param>
<key>affinity</key>
<value></value>
</param>
<param>
<key>_enabled</key>
<value>True</value>
</param>
<param>
<key>_coordinate</key>
<value>(200, 131)</value>
2017-04-01 03:26:08 +08:00
</param>
<param>
<key>_rotation</key>
<value>0</value>
</param>
<param>
<key>id</key>
<value>blocks_int_to_float_0</value>
2017-04-01 03:26:08 +08:00
</param>
<param>
<key>maxoutbuf</key>
<value>0</value>
</param>
<param>
<key>minoutbuf</key>
<value>0</value>
</param>
<param>
<key>scale</key>
<value>0.5</value>
2017-04-01 03:26:08 +08:00
</param>
<param>
<key>vlen</key>
<value>1</value>
</param>
</block>
2017-04-02 03:30:58 +08:00
<block>
<key>blocks_throttle</key>
2017-04-02 03:30:58 +08:00
<param>
<key>alias</key>
<value></value>
</param>
<param>
<key>comment</key>
<value></value>
</param>
<param>
<key>affinity</key>
<value></value>
</param>
<param>
<key>_enabled</key>
<value>True</value>
</param>
<param>
<key>_coordinate</key>
<value>(496, 355)</value>
2017-04-02 03:30:58 +08:00
</param>
<param>
<key>_rotation</key>
<value>0</value>
</param>
<param>
<key>id</key>
<value>blocks_throttle_0</value>
2017-04-02 03:30:58 +08:00
</param>
<param>
<key>ignoretag</key>
<value>True</value>
2017-04-02 03:30:58 +08:00
</param>
<param>
<key>maxoutbuf</key>
<value>0</value>
</param>
<param>
<key>minoutbuf</key>
<value>0</value>
</param>
<param>
<key>samples_per_second</key>
<value>samp_rate</value>
2017-04-02 03:30:58 +08:00
</param>
<param>
<key>type</key>
<value>complex</value>
</param>
<param>
<key>vlen</key>
<value>1</value>
2017-04-02 03:30:58 +08:00
</param>
</block>
2017-04-01 03:26:08 +08:00
<block>
<key>digital_costas_loop_cc</key>
2017-04-01 03:26:08 +08:00
<param>
<key>alias</key>
<value></value>
</param>
<param>
<key>comment</key>
<value></value>
</param>
<param>
<key>affinity</key>
<value></value>
</param>
<param>
<key>_enabled</key>
<value>True</value>
</param>
<param>
<key>_coordinate</key>
<value>(864, 345)</value>
2017-04-01 03:26:08 +08:00
</param>
<param>
<key>_rotation</key>
<value>0</value>
</param>
<param>
<key>id</key>
<value>digital_costas_loop_cc_0</value>
2017-04-01 03:26:08 +08:00
</param>
<param>
<key>w</key>
<value>loop_bw</value>
2017-04-01 03:26:08 +08:00
</param>
<param>
<key>maxoutbuf</key>
<value>0</value>
</param>
<param>
<key>minoutbuf</key>
<value>0</value>
</param>
<param>
<key>order</key>
2017-04-01 18:54:21 +08:00
<value>2</value>
2017-04-01 03:26:08 +08:00
</param>
<param>
<key>use_snr</key>
2017-04-01 03:26:08 +08:00
<value>False</value>
</param>
</block>
<block>
<key>freq_xlating_fir_filter_xxx</key>
<param>
<key>alias</key>
<value></value>
</param>
<param>
<key>center_freq</key>
<value>freq_add</value>
2017-04-01 03:26:08 +08:00
</param>
<param>
<key>comment</key>
<value></value>
</param>
<param>
<key>affinity</key>
<value></value>
</param>
<param>
<key>decim</key>
<value>1</value>
</param>
<param>
<key>_enabled</key>
<value>True</value>
2017-04-01 03:26:08 +08:00
</param>
<param>
<key>_coordinate</key>
<value>(232, 331)</value>
2017-04-01 03:26:08 +08:00
</param>
<param>
<key>_rotation</key>
<value>0</value>
</param>
<param>
<key>id</key>
<value>freq_xlating_fir_filter_xxx_0</value>
</param>
<param>
<key>maxoutbuf</key>
<value>0</value>
</param>
<param>
<key>minoutbuf</key>
<value>0</value>
</param>
<param>
<key>samp_rate</key>
<value>samp_rate</value>
</param>
<param>
<key>taps</key>
<value>[1]</value>
</param>
<param>
<key>type</key>
<value>ccc</value>
</param>
</block>
<block>
<key>ha5kfu_execproc_xx</key>
<param>
<key>alias</key>
<value></value>
</param>
<param>
<key>commandline</key>
2017-05-15 05:39:11 +08:00
<value>tee /s/costas_input | csdr bpsk_costas_loop_cc 0.1 0.707 --output_combined /s/costas_error /s/costas_dphase /s/costas_nco | tee /s/costas_output</value>
2017-04-01 03:26:08 +08:00
</param>
<param>
<key>comment</key>
<value></value>
</param>
<param>
<key>affinity</key>
<value></value>
</param>
<param>
<key>_enabled</key>
2017-04-01 18:54:21 +08:00
<value>1</value>
2017-04-01 03:26:08 +08:00
</param>
<param>
<key>_coordinate</key>
<value>(840, 163)</value>
2017-04-01 03:26:08 +08:00
</param>
<param>
<key>_rotation</key>
<value>0</value>
</param>
<param>
<key>id</key>
<value>ha5kfu_execproc_xx_0</value>
</param>
<param>
<key>maxoutbuf</key>
<value>0</value>
</param>
<param>
<key>minoutbuf</key>
<value>0</value>
</param>
<param>
<key>type</key>
<value>cc</value>
</param>
</block>
<block>
<key>wxgui_scopesink2</key>
2017-04-01 03:26:08 +08:00
<param>
<key>ac_couple</key>
<value>False</value>
2017-04-01 03:26:08 +08:00
</param>
<param>
<key>alias</key>
<value></value>
2017-04-01 03:26:08 +08:00
</param>
<param>
<key>comment</key>
<value></value>
</param>
<param>
<key>affinity</key>
<value></value>
</param>
<param>
<key>_enabled</key>
<value>1</value>
2017-04-01 03:26:08 +08:00
</param>
<param>
<key>_coordinate</key>
<value>(1104, 123)</value>
2017-04-01 03:26:08 +08:00
</param>
<param>
<key>_rotation</key>
<value>0</value>
</param>
<param>
<key>grid_pos</key>
<value></value>
2017-04-01 03:26:08 +08:00
</param>
<param>
<key>id</key>
<value>wxgui_scopesink2_0_0</value>
2017-04-01 03:26:08 +08:00
</param>
<param>
<key>notebook</key>
<value></value>
2017-04-01 03:26:08 +08:00
</param>
<param>
<key>num_inputs</key>
<value>1</value>
2017-04-01 03:26:08 +08:00
</param>
2017-04-02 03:30:58 +08:00
<param>
<key>samp_rate</key>
<value>samp_rate</value>
2017-04-02 03:30:58 +08:00
</param>
<param>
<key>t_scale</key>
<value>0</value>
2017-04-02 03:30:58 +08:00
</param>
<param>
<key>title</key>
<value>After Costas Loop (csdr)</value>
2017-04-02 03:30:58 +08:00
</param>
<param>
<key>trig_mode</key>
<value>wxgui.TRIG_MODE_AUTO</value>
2017-04-02 03:30:58 +08:00
</param>
<param>
<key>type</key>
<value>complex</value>
2017-04-02 03:30:58 +08:00
</param>
<param>
<key>v_offset</key>
<value>0</value>
2017-04-02 03:30:58 +08:00
</param>
<param>
<key>v_scale</key>
<value>0</value>
2017-04-02 03:30:58 +08:00
</param>
<param>
<key>win_size</key>
<value></value>
2017-04-02 03:30:58 +08:00
</param>
<param>
<key>xy_mode</key>
<value>True</value>
2017-04-02 03:30:58 +08:00
</param>
<param>
<key>y_axis_label</key>
<value>Counts</value>
2017-04-02 03:30:58 +08:00
</param>
</block>
2017-04-01 18:54:21 +08:00
<block>
<key>wxgui_scopesink2</key>
2017-04-01 18:54:21 +08:00
<param>
<key>ac_couple</key>
2017-04-01 18:54:21 +08:00
<value>False</value>
</param>
<param>
<key>alias</key>
<value></value>
</param>
<param>
<key>comment</key>
<value></value>
</param>
<param>
<key>affinity</key>
<value></value>
</param>
<param>
<key>_enabled</key>
<value>1</value>
2017-04-01 18:54:21 +08:00
</param>
<param>
<key>_coordinate</key>
<value>(1112, 299)</value>
2017-04-01 18:54:21 +08:00
</param>
<param>
<key>_rotation</key>
<value>0</value>
</param>
<param>
<key>grid_pos</key>
<value></value>
</param>
<param>
<key>id</key>
<value>wxgui_scopesink2_0_0_0</value>
2017-04-01 18:54:21 +08:00
</param>
<param>
<key>notebook</key>
<value></value>
</param>
<param>
<key>num_inputs</key>
<value>1</value>
</param>
<param>
<key>samp_rate</key>
<value>samp_rate</value>
2017-04-01 18:54:21 +08:00
</param>
<param>
<key>t_scale</key>
2017-04-01 18:54:21 +08:00
<value>0</value>
</param>
<param>
<key>title</key>
<value>After Costas Loop (GNU Radio)</value>
2017-04-01 18:54:21 +08:00
</param>
<param>
<key>trig_mode</key>
<value>wxgui.TRIG_MODE_AUTO</value>
2017-04-01 18:54:21 +08:00
</param>
<param>
<key>type</key>
<value>complex</value>
2017-04-01 18:54:21 +08:00
</param>
<param>
<key>v_offset</key>
<value>0</value>
2017-04-01 18:54:21 +08:00
</param>
<param>
<key>v_scale</key>
<value>0</value>
2017-04-01 18:54:21 +08:00
</param>
<param>
<key>win_size</key>
<value></value>
</param>
<param>
<key>xy_mode</key>
<value>True</value>
2017-04-01 18:54:21 +08:00
</param>
<param>
<key>y_axis_label</key>
<value>Counts</value>
2017-04-01 18:54:21 +08:00
</param>
</block>
2017-04-01 03:26:08 +08:00
<connection>
<source_block_id>analog_const_source_x_0</source_block_id>
<sink_block_id>blocks_float_to_complex_0</sink_block_id>
2017-04-01 18:54:21 +08:00
<source_key>0</source_key>
<sink_key>1</sink_key>
</connection>
<connection>
<source_block_id>analog_random_source_x_0</source_block_id>
<sink_block_id>blocks_int_to_float_0</sink_block_id>
2017-04-01 03:26:08 +08:00
<source_key>0</source_key>
<sink_key>0</sink_key>
</connection>
2017-04-02 03:30:58 +08:00
<connection>
<source_block_id>blocks_add_const_vxx_0</source_block_id>
<sink_block_id>blocks_float_to_complex_0</sink_block_id>
2017-04-02 03:30:58 +08:00
<source_key>0</source_key>
<sink_key>0</sink_key>
</connection>
2017-04-01 03:26:08 +08:00
<connection>
<source_block_id>blocks_float_to_complex_0</source_block_id>
2017-04-01 18:54:21 +08:00
<sink_block_id>freq_xlating_fir_filter_xxx_0</sink_block_id>
<source_key>0</source_key>
<sink_key>0</sink_key>
</connection>
2017-04-02 03:30:58 +08:00
<connection>
<source_block_id>blocks_int_to_float_0</source_block_id>
<sink_block_id>blocks_add_const_vxx_0</sink_block_id>
2017-04-01 03:26:08 +08:00
<source_key>0</source_key>
<sink_key>0</sink_key>
</connection>
2017-04-02 03:30:58 +08:00
<connection>
<source_block_id>blocks_throttle_0</source_block_id>
2017-04-02 03:30:58 +08:00
<sink_block_id>digital_costas_loop_cc_0</sink_block_id>
<source_key>0</source_key>
<sink_key>0</sink_key>
</connection>
2017-04-01 03:26:08 +08:00
<connection>
<source_block_id>blocks_throttle_0</source_block_id>
2017-04-01 22:08:49 +08:00
<sink_block_id>ha5kfu_execproc_xx_0</sink_block_id>
2017-04-01 03:26:08 +08:00
<source_key>0</source_key>
<sink_key>0</sink_key>
</connection>
2017-04-01 18:54:21 +08:00
<connection>
<source_block_id>digital_costas_loop_cc_0</source_block_id>
<sink_block_id>wxgui_scopesink2_0_0_0</sink_block_id>
2017-04-01 18:54:21 +08:00
<source_key>0</source_key>
<sink_key>0</sink_key>
</connection>
2017-04-01 22:08:49 +08:00
<connection>
<source_block_id>freq_xlating_fir_filter_xxx_0</source_block_id>
<sink_block_id>blocks_throttle_0</sink_block_id>
2017-04-01 03:26:08 +08:00
<source_key>0</source_key>
<sink_key>0</sink_key>
</connection>
<connection>
2017-04-01 22:08:49 +08:00
<source_block_id>ha5kfu_execproc_xx_0</source_block_id>
<sink_block_id>wxgui_scopesink2_0_0</sink_block_id>
2017-04-01 03:26:08 +08:00
<source_key>0</source_key>
<sink_key>0</sink_key>
</connection>
</flow_graph>