Changes between Version 4 and Version 5 of SISOAGC


Ignore:
Timestamp:
Mar 14, 2007, 6:14:45 PM (17 years ago)
Author:
gbmidd
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SISOAGC

    v4 v5  
    1111The radios apply gain at two points during downconversion: course gain is applied at RF (0, 15, or 31 dB), and a fine-grained gain is applied at baseband (0-62 dB, in steps of 2 dB).  Using an analog received signal strength indicator (RSSI), the algorithm selects the appropriate RF gain.  It then uses the digital signal to set the baseband gain.  The choice of RF and baseband gains is determined by the target received signal setting, which is passed into the algorithm upon initialization.
    1212
    13 Before the AGC runs, the gain values in the radio are calibrated such that background noise appears to the receiver at -19 dB.  When a packet is detected, the AGC is triggered, chooses gains, and sets the signal strength to the target value.  These gains are '''locked''' until the AGC is reset.  Ideally, this reset should occur when a packet has been completely processed, so that the AGC is ready for the next packet.
     13Before the AGC runs, the gain values in the radio are calibrated such that background noise appears to the receiver at -19 dBm.  When a packet is detected, the AGC is triggered, chooses gains, and sets the signal strength to the target value.  These gains are '''locked''' until the AGC is reset.  Ideally, this reset should occur when a packet has been completely processed, so that the AGC is ready for the next packet.
    1414
    1515== DC Offset Correction ==
     
    3131'''{{{void ofdm_AGC_Initialize(int noise_estimate)}}}'''
    3232
    33   Resets and initializes the AGC peripheral with all required parameters.  The initial baseband gain is computed from the noise estimate, so an accurate guess of the noise floor is required.  This value is generally near -85 dB.
     33  Resets and initializes the AGC peripheral with all required parameters.  The initial baseband gain is computed from the noise estimate, so an accurate guess of the noise floor is required.  This value is generally near -85 dBm.
    3434
    3535  Upon completing this routine, the AGC is enabled and ready to be triggered by the packet detector.
     
    5151'''{{{ofdm_AGC_SetTarget(signed int c)}}}'''
    5252
    53   Sets the target signal strength value to c dB.  After the AGC completes its execution, the receiver will see a signal of this magnitude.
     53  Sets the target signal strength value to c dBm.  After the AGC completes its execution, the receiver will see a signal of this magnitude.
    5454
    5555'''{{{void ofdm_AGC_setNoiseEstimate(int noise_estimate)}}}'''
     
    8181        xil_printf("AGC initialization...\r\n");
    8282       
    83         // Call the overall init routine -- Master Reset is included in this, use -85 dB as noise floor estimate
     83        // Call the overall init routine -- Master Reset is included in this, use -85 dBm as noise floor estimate
    8484        ofdm_AGC_Initialize(-85);
    8585       
     
    9090        ofdm_AGC_SetDCO(1);
    9191
    92         // Set the target signal strength to -15 dB
     92        // Set the target signal strength to -15 dBm
    9393        ofdm_AGC_SetTarget(-15);
    9494