Post Go back to editing

AGC

Thread Summary

The user queries the reconciliation of the 60 dB dynamic range and the -133 dBFS maximum programmable threshold in the Power Measurement block, the interpretation of PMD, the relationship between PMD and RxTddPowerMeasurementDuration, and the behavior of the Power Detector when PMD exceeds the gain update interval. The final answer clarifies that the 60 dB range is the physical measurement limit, while the threshold is a digital setting, and recommends configuring thresholds above -60 dBFS. PMD defines the number of samples for power measurement, which must be less than the gain update counter, and RxTddPowerMeasurementDuration sets the measurement duration during the RX-ON portion of the TDD frame. If PMD exceeds the gain update interval, the Power Detector uses the previous valid measurement.
AI Generated Content
Category: Hardware
Product Number: ADRV9002

Hi,

I have several questions regarding the Power Detector (PD) parameters described in the user guide.

1)According to the user guide (p.193), the Power Measurement block has an effective dynamic range of approximately 60 dB, and signals below −60 dBFS cannot be measured accurately. However, on pages 198–199, it is stated that the maximum programmable threshold value is 127, corresponding to −133 dBFS.

Could you please clarify how these two statements are reconciled? Specifically, how should thresholds below the effective measurement range be interpreted in practice?

2)On page 198, it is stated that the Power Measurement Duration (PMD) is a 4-bit word that defines the number of samples used by the Power Detector to calculate the average power.

Based on this description, my understanding is as follows:

  • The PD receives input samples at a fixed rate (184.32 MHz after the first decimation block, as stated on p.156).

  • The PD computes the average power over a number of samples determined by the PMD configuration.

  • By configuring the PMD value, the accumulation length for the power measurement is selected.

Is this interpretation correct?

Additionally, the documentation states that PMD must be configured to be less than the gain update counter, while the gain update counter itself must not be less than 50.5 µs. Could you please explain the rationale behind this requirement?

3)On page 199, it is stated that the RxTddPowerMeasurementDuration parameter sets the duration of the power measurement. This appears to overlap with the role of PMD, which defines the number of samples used for power calculation.

Could you clarify the relationship between these two parameters?
In particular, which parameter ultimately determines the effective power measurement window, and how do PMD and RxTddPowerMeasurementDuration interact?

4)After the first decimation block, the sample rate is 184.32 MHz (approximately one sample every 5.43 ns). With a gain update counter set to 50.5 µs, approximately 93,000 samples are available within a single gain update interval.

For PMD values greater than 13, the configured accumulation length appears to exceed the number of available samples within this interval. In such cases:

  • How does the Power Detector operate?

  • Does it accumulate all available samples within the interval and terminate early, or does it apply some other internal limitation? 

Thank you in advance for your clarification.

Best regards,
Jonatha

  • Are you facing any issues while testing AGC with power detector mode? 

    According to the user guide (p.193), the Power Measurement block has an effective dynamic range of approximately 60 dB, and signals below −60 dBFS cannot be measured accurately. However, on pages 198–199, it is stated that the maximum programmable threshold value is 127, corresponding to −133 dBFS.

    Could you please clarify how these two statements are reconciled? Specifically, how should thresholds below the effective measurement range be interpreted in practice?

    The 60dB dynamic range is the actual physical measurement of the power detector. The maximum programmable threshold 127 is the digital programming range of the threshold registers. 

    Ideally, we recommend configuring till -60dbFS for underRangeHighPowerThresh or any AGC thresholds. 

    Is this interpretation correct?

    Yes, your understanding is correct.

    the documentation states that PMD must be configured to be less than the gain update counter, while the gain update counter itself must not be less than 50.5 µs. Could you please explain the rationale behind this requirement?

    The Power measurement duration must fully complete before the AGC gain update counter. 

    On page 199, it is stated that the RxTddPowerMeasurementDuration parameter sets the duration of the power measurement. This appears to overlap with the role of PMD, which defines the number of samples used for power calculation.

    Could you clarify the relationship between these two parameters?
    In particular, which parameter ultimately determines the effective power measurement window, and how do PMD and RxTddPowerMeasurementDuration interact?

    Both these parameters are not the same, RxTddmeasurementduration parameter defines the power detector running during the RX-ON portion of the TDD frame. The powermeasurement duration is a number of IQ samples to perform the power measurement and this value must be less than the AGC update counter.

    For PMD values greater than 13, the configured accumulation length appears to exceed the number of available samples within this interval. In such cases:

    FYI As mentioned in the user guide, the number of samples corresponding to the 4-bit word is 8 × 2^(pmdMeasDuration[3:0]). So, if PMD=13, the number of samples will be 65536.

    The power measurement duration must be less than the gain update counter. If the accumulation length is exceeding the number of samples, the measurement would not be used, and it would use the previous valid measurement