From 872fb0be7ad7743481e4d6cefa111c3ac8d0888e Mon Sep 17 00:00:00 2001 From: Thomas Kolb Date: Sat, 28 Sep 2019 00:09:10 +0200 Subject: [PATCH] demod: replaced AGC with AGC2 AGC2 provides fast attack and slow decay. --- grc/hamnet70_demod_sc16qam.grc | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/grc/hamnet70_demod_sc16qam.grc b/grc/hamnet70_demod_sc16qam.grc index addcc67..806ac89 100644 --- a/grc/hamnet70_demod_sc16qam.grc +++ b/grc/hamnet70_demod_sc16qam.grc @@ -396,26 +396,27 @@ blocks: coordinate: [319, 11] rotation: 0 state: enabled -- name: analog_agc_xx_0 - id: analog_agc_xx +- name: analog_agc2_xx_0 + id: analog_agc2_xx parameters: affinity: '' alias: '' + attack_rate: 1e-1 comment: '' + decay_rate: 1e-4 gain: '1.0' max_gain: '65536' maxoutbuf: '0' minoutbuf: '0' - rate: 1e-4 - reference: '1.0' + reference: '1.12' type: complex states: bus_sink: false bus_source: false bus_structure: null - coordinate: [1525, 387] + coordinate: [1552, 380.0] rotation: 0 - state: enabled + state: true - name: analog_sig_source_x_0 id: analog_sig_source_x parameters: @@ -994,11 +995,11 @@ blocks: alias: '' comment: '' d: '0.0' - i: '0.03' + i: '0.05' interval: '1500' maxoutbuf: '0' minoutbuf: '0' - p: '0.001' + p: '0.01' post_gain: -sym_rate states: bus_sink: false @@ -1211,7 +1212,7 @@ blocks: state: enabled connections: -- [analog_agc_xx_0, '0', hamnet70_insert_delayed_tag_0, '0'] +- [analog_agc2_xx_0, '0', hamnet70_insert_delayed_tag_0, '0'] - [analog_sig_source_x_0, '0', blocks_multiply_xx_0, '0'] - [blocks_add_const_vxx_0, '0', blocks_tagged_stream_to_pdu_1_0_0_0, '0'] - [blocks_add_const_vxx_0, '0', fec_extended_tagged_decoder_0, '0'] @@ -1245,7 +1246,7 @@ connections: - [fec_async_decoder_0, out, digital_crc32_async_bb_0, in] - [fec_extended_tagged_decoder_0, '0', blocks_repack_bits_bb_0_0, '0'] - [hamnet70_async_scrambler_0, pdu_out, pad_sink_2, in] -- [hamnet70_correct_frequency_from_pilot_syms_0, '0', analog_agc_xx_0, '0'] +- [hamnet70_correct_frequency_from_pilot_syms_0, '0', analog_agc2_xx_0, '0'] - [hamnet70_correct_phase_from_tag_0, '0', hamnet70_correct_frequency_from_pilot_syms_0, '0'] - [hamnet70_freq_est_lr_0, '0', hamnet70_pid_controller_0, '0']