diff options
author | Tom | 2010-02-01 18:55:24 -0500 |
---|---|---|
committer | Tom | 2010-02-01 18:55:24 -0500 |
commit | 9fc527b4735db31acb967ed1309b86fd76003b03 (patch) | |
tree | 56620170eae49d5c6caa921e658362a91652581b /gnuradio-examples/grc/demod/pam_timing.grc | |
parent | e6e29a45df8a97c80a213645968ac01fda904777 (diff) | |
download | gnuradio-9fc527b4735db31acb967ed1309b86fd76003b03.tar.gz gnuradio-9fc527b4735db31acb967ed1309b86fd76003b03.tar.bz2 gnuradio-9fc527b4735db31acb967ed1309b86fd76003b03.zip |
Using PFB resampler to generate the pulse shaping filtered signal.
Diffstat (limited to 'gnuradio-examples/grc/demod/pam_timing.grc')
-rw-r--r-- | gnuradio-examples/grc/demod/pam_timing.grc | 608 |
1 files changed, 264 insertions, 344 deletions
diff --git a/gnuradio-examples/grc/demod/pam_timing.grc b/gnuradio-examples/grc/demod/pam_timing.grc index 149e4c706..02130f481 100644 --- a/gnuradio-examples/grc/demod/pam_timing.grc +++ b/gnuradio-examples/grc/demod/pam_timing.grc @@ -1,6 +1,6 @@ <?xml version='1.0' encoding='ASCII'?> <flow_graph> - <timestamp>Sat Oct 31 10:26:48 2009</timestamp> + <timestamp>Mon Feb 1 18:54:46 2010</timestamp> <block> <key>options</key> <param> @@ -173,29 +173,6 @@ </param> </block> <block> - <key>variable</key> - <param> - <key>id</key> - <value>rrctaps</value> - </param> - <param> - <key>_enabled</key> - <value>True</value> - </param> - <param> - <key>value</key> - <value>firdes.root_raised_cosine(nfilts,1.0,1.0/(spb*nfilts), .35, int(11*spb*nfilts))</value> - </param> - <param> - <key>_coordinate</key> - <value>(513, 679)</value> - </param> - <param> - <key>_rotation</key> - <value>0</value> - </param> - </block> - <block> <key>random_source_x</key> <param> <key>id</key> @@ -328,45 +305,6 @@ </param> </block> <block> - <key>gr_channel_model</key> - <param> - <key>id</key> - <value>gr_channel_model_0</value> - </param> - <param> - <key>_enabled</key> - <value>True</value> - </param> - <param> - <key>noise_voltage</key> - <value>noise_amp</value> - </param> - <param> - <key>freq_offset</key> - <value>freq_offset</value> - </param> - <param> - <key>epsilon</key> - <value>interpratio</value> - </param> - <param> - <key>taps</key> - <value>1.0</value> - </param> - <param> - <key>seed</key> - <value>42</value> - </param> - <param> - <key>_coordinate</key> - <value>(59, 543)</value> - </param> - <param> - <key>_rotation</key> - <value>0</value> - </param> - </block> - <block> <key>notebook</key> <param> <key>id</key> @@ -402,73 +340,6 @@ </param> </block> <block> - <key>wxgui_scopesink2</key> - <param> - <key>id</key> - <value>wxgui_scopesink2_0_0_1</value> - </param> - <param> - <key>_enabled</key> - <value>True</value> - </param> - <param> - <key>type</key> - <value>complex</value> - </param> - <param> - <key>title</key> - <value>Error</value> - </param> - <param> - <key>samp_rate</key> - <value>samp_rate</value> - </param> - <param> - <key>v_scale</key> - <value>.5</value> - </param> - <param> - <key>v_offset</key> - <value>0</value> - </param> - <param> - <key>t_scale</key> - <value>0</value> - </param> - <param> - <key>ac_couple</key> - <value>False</value> - </param> - <param> - <key>xy_mode</key> - <value>False</value> - </param> - <param> - <key>num_inputs</key> - <value>1</value> - </param> - <param> - <key>win_size</key> - <value></value> - </param> - <param> - <key>grid_pos</key> - <value></value> - </param> - <param> - <key>notebook</key> - <value>notebook_0,3</value> - </param> - <param> - <key>_coordinate</key> - <value>(1115, 358)</value> - </param> - <param> - <key>_rotation</key> - <value>0</value> - </param> - </block> - <block> <key>gr_add_xx</key> <param> <key>id</key> @@ -531,29 +402,6 @@ </param> </block> <block> - <key>gr_float_to_complex</key> - <param> - <key>id</key> - <value>gr_float_to_complex_0</value> - </param> - <param> - <key>_enabled</key> - <value>True</value> - </param> - <param> - <key>vlen</key> - <value>1</value> - </param> - <param> - <key>_coordinate</key> - <value>(590, 184)</value> - </param> - <param> - <key>_rotation</key> - <value>0</value> - </param> - </block> - <block> <key>variable</key> <param> <key>id</key> @@ -687,29 +535,6 @@ </param> </block> <block> - <key>variable</key> - <param> - <key>id</key> - <value>spb_gen</value> - </param> - <param> - <key>_enabled</key> - <value>True</value> - </param> - <param> - <key>value</key> - <value>4</value> - </param> - <param> - <key>_coordinate</key> - <value>(119, 841)</value> - </param> - <param> - <key>_rotation</key> - <value>0</value> - </param> - </block> - <block> <key>variable_slider</key> <param> <key>id</key> @@ -820,50 +645,45 @@ </param> </block> <block> - <key>root_raised_cosine_filter</key> + <key>variable</key> <param> <key>id</key> - <value>root_raised_cosine_filter_0</value> + <value>pam_amp</value> </param> <param> <key>_enabled</key> <value>True</value> </param> <param> - <key>type</key> - <value>interp_fir_filter_ccf</value> - </param> - <param> - <key>decim</key> - <value>1</value> - </param> - <param> - <key>interp</key> - <value>spb_gen</value> + <key>value</key> + <value>2</value> </param> <param> - <key>gain</key> - <value>2*spb_gen</value> + <key>_coordinate</key> + <value>(223, 9)</value> </param> <param> - <key>samp_rate</key> - <value>1.0</value> + <key>_rotation</key> + <value>0</value> </param> + </block> + <block> + <key>variable</key> <param> - <key>sym_rate</key> - <value>1./spb_gen</value> + <key>id</key> + <value>sig_amp</value> </param> <param> - <key>alpha</key> - <value>0.35</value> + <key>_enabled</key> + <value>True</value> </param> <param> - <key>ntaps</key> - <value>11*spb_gen</value> + <key>value</key> + <value>1</value> </param> <param> <key>_coordinate</key> - <value>(834, 157)</value> + <value>(315, 9)</value> </param> <param> <key>_rotation</key> @@ -871,30 +691,66 @@ </param> </block> <block> - <key>blks2_pfb_arb_resampler_ccf</key> + <key>wxgui_scopesink2</key> <param> <key>id</key> - <value>blks2_pfb_arb_resampler_ccf_0</value> + <value>wxgui_scopesink2_0</value> </param> <param> <key>_enabled</key> <value>True</value> </param> <param> - <key>rate</key> - <value>float(spb)/float(spb_gen)</value> + <key>type</key> + <value>complex</value> </param> <param> - <key>taps</key> - <value>firdes.low_pass(128, 128, 0.45, 0.1)</value> + <key>title</key> + <value>Scope Plot</value> </param> <param> - <key>size</key> - <value>128</value> + <key>samp_rate</key> + <value>samp_rate</value> + </param> + <param> + <key>v_scale</key> + <value>0</value> + </param> + <param> + <key>v_offset</key> + <value>0</value> + </param> + <param> + <key>t_scale</key> + <value>0</value> + </param> + <param> + <key>ac_couple</key> + <value>False</value> + </param> + <param> + <key>xy_mode</key> + <value>False</value> + </param> + <param> + <key>num_inputs</key> + <value>1</value> + </param> + <param> + <key>win_size</key> + <value></value> + </param> + <param> + <key>grid_pos</key> + <value></value> + </param> + <param> + <key>notebook</key> + <value></value> </param> <param> <key>_coordinate</key> - <value>(617, 374)</value> + <value>(1116, 500)</value> </param> <param> <key>_rotation</key> @@ -902,10 +758,10 @@ </param> </block> <block> - <key>gr_multiply_const_vxx</key> + <key>gr_throttle</key> <param> <key>id</key> - <value>gr_multiply_const_vxx_0</value> + <value>gr_throttle_0</value> </param> <param> <key>_enabled</key> @@ -916,8 +772,8 @@ <value>complex</value> </param> <param> - <key>const</key> - <value>sig_amp</value> + <key>samples_per_second</key> + <value>samp_rate</value> </param> <param> <key>vlen</key> @@ -925,7 +781,7 @@ </param> <param> <key>_coordinate</key> - <value>(1096, 197)</value> + <value>(290, 575)</value> </param> <param> <key>_rotation</key> @@ -933,68 +789,66 @@ </param> </block> <block> - <key>variable</key> + <key>wxgui_scopesink2</key> <param> <key>id</key> - <value>pam_amp</value> + <value>wxgui_scopesink2_0_0</value> </param> <param> <key>_enabled</key> <value>True</value> </param> <param> - <key>value</key> - <value>2</value> + <key>type</key> + <value>float</value> </param> <param> - <key>_coordinate</key> - <value>(223, 9)</value> + <key>title</key> + <value>Error</value> </param> <param> - <key>_rotation</key> - <value>0</value> + <key>samp_rate</key> + <value>samp_rate</value> </param> - </block> - <block> - <key>variable</key> <param> - <key>id</key> - <value>spb</value> + <key>v_scale</key> + <value>3</value> </param> <param> - <key>_enabled</key> - <value>True</value> + <key>v_offset</key> + <value>0</value> </param> <param> - <key>value</key> - <value>4.1</value> + <key>t_scale</key> + <value>0</value> </param> <param> - <key>_coordinate</key> - <value>(32, 842)</value> + <key>ac_couple</key> + <value>False</value> </param> <param> - <key>_rotation</key> - <value>0</value> + <key>xy_mode</key> + <value>False</value> </param> - </block> - <block> - <key>variable</key> <param> - <key>id</key> - <value>sig_amp</value> + <key>num_inputs</key> + <value>1</value> </param> <param> - <key>_enabled</key> - <value>True</value> + <key>win_size</key> + <value></value> </param> <param> - <key>value</key> - <value>1</value> + <key>grid_pos</key> + <value></value> + </param> + <param> + <key>notebook</key> + <value>notebook_0,0</value> </param> <param> <key>_coordinate</key> - <value>(315, 9)</value> + <value>(1110, 651)</value> </param> <param> <key>_rotation</key> @@ -1005,7 +859,7 @@ <key>wxgui_scopesink2</key> <param> <key>id</key> - <value>wxgui_scopesink2_0</value> + <value>wxgui_scopesink2_0_0_0</value> </param> <param> <key>_enabled</key> @@ -1013,7 +867,7 @@ </param> <param> <key>type</key> - <value>complex</value> + <value>float</value> </param> <param> <key>title</key> @@ -1025,7 +879,7 @@ </param> <param> <key>v_scale</key> - <value>0</value> + <value>9</value> </param> <param> <key>v_offset</key> @@ -1057,11 +911,11 @@ </param> <param> <key>notebook</key> - <value></value> + <value>notebook_0,1</value> </param> <param> <key>_coordinate</key> - <value>(1116, 500)</value> + <value>(1112, 881)</value> </param> <param> <key>_rotation</key> @@ -1069,10 +923,33 @@ </param> </block> <block> - <key>gr_throttle</key> + <key>variable</key> <param> <key>id</key> - <value>gr_throttle_0</value> + <value>rrctaps</value> + </param> + <param> + <key>_enabled</key> + <value>True</value> + </param> + <param> + <key>value</key> + <value>firdes.root_raised_cosine(nfilts,1.0,1.0/(spb*nfilts), .35, int(11*spb*nfilts))</value> + </param> + <param> + <key>_coordinate</key> + <value>(513, 679)</value> + </param> + <param> + <key>_rotation</key> + <value>0</value> + </param> + </block> + <block> + <key>gr_pfb_clock_sync_xxx</key> + <param> + <key>id</key> + <value>gr_pfb_clock_sync_xxx_0</value> </param> <param> <key>_enabled</key> @@ -1080,19 +957,39 @@ </param> <param> <key>type</key> - <value>complex</value> + <value>ccf</value> </param> <param> - <key>samples_per_second</key> - <value>samp_rate</value> + <key>sps</key> + <value>spb</value> </param> <param> - <key>vlen</key> - <value>1</value> + <key>alpha</key> + <value>alpha</value> + </param> + <param> + <key>beta</key> + <value>beta</value> + </param> + <param> + <key>taps</key> + <value>rrctaps</value> + </param> + <param> + <key>filter_size</key> + <value>nfilts</value> + </param> + <param> + <key>init_phase</key> + <value>16</value> + </param> + <param> + <key>max_dev</key> + <value>1.5</value> </param> <param> <key>_coordinate</key> - <value>(290, 575)</value> + <value>(512, 527)</value> </param> <param> <key>_rotation</key> @@ -1103,7 +1000,7 @@ <key>wxgui_scopesink2</key> <param> <key>id</key> - <value>wxgui_scopesink2_0_0</value> + <value>wxgui_scopesink2_0_0_0_0</value> </param> <param> <key>_enabled</key> @@ -1115,7 +1012,7 @@ </param> <param> <key>title</key> - <value>Error</value> + <value>Scope Plot</value> </param> <param> <key>samp_rate</key> @@ -1123,7 +1020,7 @@ </param> <param> <key>v_scale</key> - <value>3</value> + <value>1.25</value> </param> <param> <key>v_offset</key> @@ -1155,11 +1052,11 @@ </param> <param> <key>notebook</key> - <value>notebook_0,0</value> + <value>notebook_0,2</value> </param> <param> <key>_coordinate</key> - <value>(1110, 651)</value> + <value>(1111, 767)</value> </param> <param> <key>_rotation</key> @@ -1170,7 +1067,7 @@ <key>wxgui_scopesink2</key> <param> <key>id</key> - <value>wxgui_scopesink2_0_0_0_0</value> + <value>wxgui_scopesink2_0_0_1</value> </param> <param> <key>_enabled</key> @@ -1178,11 +1075,11 @@ </param> <param> <key>type</key> - <value>float</value> + <value>complex</value> </param> <param> <key>title</key> - <value>Scope Plot</value> + <value>Error</value> </param> <param> <key>samp_rate</key> @@ -1190,7 +1087,7 @@ </param> <param> <key>v_scale</key> - <value>1.25</value> + <value>.5</value> </param> <param> <key>v_offset</key> @@ -1222,11 +1119,11 @@ </param> <param> <key>notebook</key> - <value>notebook_0,2</value> + <value>notebook_0,3</value> </param> <param> <key>_coordinate</key> - <value>(1111, 767)</value> + <value>(1115, 358)</value> </param> <param> <key>_rotation</key> @@ -1234,50 +1131,53 @@ </param> </block> <block> - <key>gr_pfb_clock_sync_xxx</key> + <key>gr_float_to_complex</key> <param> <key>id</key> - <value>gr_pfb_clock_sync_xxx_0</value> + <value>gr_float_to_complex_0</value> </param> <param> <key>_enabled</key> <value>True</value> </param> <param> - <key>type</key> - <value>ccf</value> + <key>vlen</key> + <value>1</value> </param> <param> - <key>sps</key> - <value>spb</value> + <key>_coordinate</key> + <value>(590, 184)</value> </param> <param> - <key>alpha</key> - <value>alpha</value> + <key>_rotation</key> + <value>0</value> </param> + </block> + <block> + <key>blks2_pfb_arb_resampler_ccf</key> <param> - <key>beta</key> - <value>beta</value> + <key>id</key> + <value>blks2_pfb_arb_resampler_ccf_0</value> </param> <param> - <key>taps</key> - <value>rrctaps</value> + <key>_enabled</key> + <value>True</value> </param> <param> - <key>filter_size</key> - <value>nfilts</value> + <key>rate</key> + <value>spb</value> </param> <param> - <key>init_phase</key> - <value>16</value> + <key>taps</key> + <value>firdes.root_raised_cosine(32, 32, 1.0, 0.35, 44*32)</value> </param> <param> - <key>max_dev</key> - <value>1.5</value> + <key>size</key> + <value>32</value> </param> <param> <key>_coordinate</key> - <value>(512, 527)</value> + <value>(816, 181)</value> </param> <param> <key>_rotation</key> @@ -1285,66 +1185,92 @@ </param> </block> <block> - <key>wxgui_scopesink2</key> + <key>gr_channel_model</key> <param> <key>id</key> - <value>wxgui_scopesink2_0_0_0</value> + <value>gr_channel_model_0</value> </param> <param> <key>_enabled</key> <value>True</value> </param> <param> - <key>type</key> - <value>float</value> + <key>noise_voltage</key> + <value>noise_amp</value> </param> <param> - <key>title</key> - <value>Scope Plot</value> + <key>freq_offset</key> + <value>freq_offset</value> </param> <param> - <key>samp_rate</key> - <value>samp_rate</value> + <key>epsilon</key> + <value>interpratio</value> </param> <param> - <key>v_scale</key> - <value>9</value> + <key>taps</key> + <value>1.0</value> </param> <param> - <key>v_offset</key> - <value>0</value> + <key>seed</key> + <value>42</value> </param> <param> - <key>t_scale</key> + <key>_coordinate</key> + <value>(59, 543)</value> + </param> + <param> + <key>_rotation</key> <value>0</value> </param> + </block> + <block> + <key>gr_multiply_const_vxx</key> <param> - <key>ac_couple</key> - <value>False</value> + <key>id</key> + <value>gr_multiply_const_vxx_0</value> </param> <param> - <key>xy_mode</key> - <value>False</value> + <key>_enabled</key> + <value>True</value> </param> <param> - <key>num_inputs</key> + <key>type</key> + <value>complex</value> + </param> + <param> + <key>const</key> + <value>sig_amp</value> + </param> + <param> + <key>vlen</key> <value>1</value> </param> <param> - <key>win_size</key> - <value></value> + <key>_coordinate</key> + <value>(714, 382)</value> </param> <param> - <key>grid_pos</key> - <value></value> + <key>_rotation</key> + <value>0</value> </param> + </block> + <block> + <key>variable</key> <param> - <key>notebook</key> - <value>notebook_0,1</value> + <key>id</key> + <value>spb</value> + </param> + <param> + <key>_enabled</key> + <value>True</value> + </param> + <param> + <key>value</key> + <value>4.2563</value> </param> <param> <key>_coordinate</key> - <value>(1112, 881)</value> + <value>(42, 840)</value> </param> <param> <key>_rotation</key> @@ -1388,18 +1314,6 @@ <sink_key>0</sink_key> </connection> <connection> - <source_block_id>blks2_pfb_arb_resampler_ccf_0</source_block_id> - <sink_block_id>gr_channel_model_0</sink_block_id> - <source_key>0</source_key> - <sink_key>0</sink_key> - </connection> - <connection> - <source_block_id>blks2_pfb_arb_resampler_ccf_0</source_block_id> - <sink_block_id>wxgui_scopesink2_0_0_1</sink_block_id> - <source_key>0</source_key> - <sink_key>0</sink_key> - </connection> - <connection> <source_block_id>gr_channel_model_0</source_block_id> <sink_block_id>gr_throttle_0</sink_block_id> <source_key>0</source_key> @@ -1418,51 +1332,57 @@ <sink_key>1</sink_key> </connection> <connection> - <source_block_id>gr_float_to_complex_0</source_block_id> - <sink_block_id>root_raised_cosine_filter_0</sink_block_id> + <source_block_id>gr_pfb_clock_sync_xxx_0</source_block_id> + <sink_block_id>wxgui_scopesink2_0</sink_block_id> <source_key>0</source_key> <sink_key>0</sink_key> </connection> <connection> - <source_block_id>root_raised_cosine_filter_0</source_block_id> - <sink_block_id>gr_multiply_const_vxx_0</sink_block_id> + <source_block_id>gr_throttle_0</source_block_id> + <sink_block_id>gr_pfb_clock_sync_xxx_0</sink_block_id> <source_key>0</source_key> <sink_key>0</sink_key> </connection> <connection> - <source_block_id>gr_multiply_const_vxx_0</source_block_id> - <sink_block_id>blks2_pfb_arb_resampler_ccf_0</sink_block_id> - <source_key>0</source_key> + <source_block_id>gr_pfb_clock_sync_xxx_0</source_block_id> + <sink_block_id>wxgui_scopesink2_0_0</sink_block_id> + <source_key>1</source_key> <sink_key>0</sink_key> </connection> <connection> <source_block_id>gr_pfb_clock_sync_xxx_0</source_block_id> - <sink_block_id>wxgui_scopesink2_0</sink_block_id> - <source_key>0</source_key> + <sink_block_id>wxgui_scopesink2_0_0_0</sink_block_id> + <source_key>3</source_key> <sink_key>0</sink_key> </connection> <connection> - <source_block_id>gr_throttle_0</source_block_id> - <sink_block_id>gr_pfb_clock_sync_xxx_0</sink_block_id> + <source_block_id>gr_pfb_clock_sync_xxx_0</source_block_id> + <sink_block_id>wxgui_scopesink2_0_0_0_0</sink_block_id> + <source_key>2</source_key> + <sink_key>0</sink_key> + </connection> + <connection> + <source_block_id>gr_multiply_const_vxx_0</source_block_id> + <sink_block_id>wxgui_scopesink2_0_0_1</sink_block_id> <source_key>0</source_key> <sink_key>0</sink_key> </connection> <connection> - <source_block_id>gr_pfb_clock_sync_xxx_0</source_block_id> - <sink_block_id>wxgui_scopesink2_0_0</sink_block_id> - <source_key>1</source_key> + <source_block_id>gr_float_to_complex_0</source_block_id> + <sink_block_id>blks2_pfb_arb_resampler_ccf_0</sink_block_id> + <source_key>0</source_key> <sink_key>0</sink_key> </connection> <connection> - <source_block_id>gr_pfb_clock_sync_xxx_0</source_block_id> - <sink_block_id>wxgui_scopesink2_0_0_0_0</sink_block_id> - <source_key>2</source_key> + <source_block_id>blks2_pfb_arb_resampler_ccf_0</source_block_id> + <sink_block_id>gr_multiply_const_vxx_0</sink_block_id> + <source_key>0</source_key> <sink_key>0</sink_key> </connection> <connection> - <source_block_id>gr_pfb_clock_sync_xxx_0</source_block_id> - <sink_block_id>wxgui_scopesink2_0_0_0</sink_block_id> - <source_key>3</source_key> + <source_block_id>gr_multiply_const_vxx_0</source_block_id> + <sink_block_id>gr_channel_model_0</sink_block_id> + <source_key>0</source_key> <sink_key>0</sink_key> </connection> </flow_graph> |