infineon4engineers Facebook

infineon@google+ Google+

infineon@linkedin linkedin

infineon4engi@twitter twitter

infineon@youtube youtube

+ Reply to Thread
Results 1 to 3 of 3

Thread: Distance2Go IF scale understanding

  1. #1
    New Member New Member radaruser is on a distinguished road
    Join Date
    Aug 2018
    Posts
    23
    Points
    155

    Distance2Go IF scale understanding

    Hey there,

    in D2G v1.2.0 (Radar_D2G_Doppler_FMCW project in DAVE) there are two IF scale factors defined, one for FMCW range processing and another one for Doppler/speed evaluation.

    In Radar_D2G_Doppler_FMCW\Algorithm\src\fmcw.h, line 95 it is said: 'Floating point scale applied to the FFT spectrum to enhance the visibility of targets'. The value is calculated by the following formula in fmcw.c:
    (FMCW_IQ_SCALE * 3.3f / 4095.0f) = 16*3.3/4095 = 0.001289.
    In Radar_D2G_Doppler_FMCW\Algorithm\src\doppler.h, line 77 it is said: 'Scale to be applied to the raw IQ data defined by \ref DOPPLER_IQ_SCALE'. The formula in doppler.c is:
    (if_scale * 3.3f / 4095.0f) = 8*3.3/4095 = 0.00645.

    Can someone tell me more details about these values? Why do they enhance the visibility of targets? What is the idea behind the formulas? Why 3.3? Why 4095? Is the 4095 related to the 12 Bit ADCs, so it would be (2^12)-1=4095? Why?

    I appreciate your help

  2. #2
    Beginner Beginner
    Infineon Employee
    Infineon Employee
    tinymanta is on a distinguished road
    Join Date
    Jan 2019
    Location
    Munich
    Posts
    8
    Points
    220
    Hello,

    Thanks for your contribution.
    Within the D2G FW, and for both supported algorithms (Doppler/FMCW), the Floating point scale is applied to the raw IQ data, before performing the calculation of the complex FFT spectrum.
    Otherwise, applying the if_scale after the FFT spectrum will come-out also to the same result, since it's a linear scaling.

    Apply linear IF scaling to the frequency domain spectrum of Doppler/FMCW, is increasing the signal (and the noise) magnitude, so that can used to avoid overflow conditions and minimize quantization errors, thus enhance the visibility of targets.

    The 3.3 value is based on the voltage scale, of the powered D2G board, and is an optional factor in the if_scale formula.

    You're right! The 4095 value is based on the XMC4200 ADC peripheral configured to 12-bit resolution, and used to sample and process the analog down-converted signals in the base-band. Each up-chirp is digitized by an ADC to 12-bit, complex (I/Q), and time-domain raw data stored as 2-byte-value.

    Cheers,
    Montassar.
    The views expressed here are my personal opinions, have not been reviewed or authorized by Infineon and do not necessarily represent the views of Infineon.

  3. #3
    New Member New Member radaruser is on a distinguished road
    Join Date
    Aug 2018
    Posts
    23
    Points
    155
    Thank your for your detailed explanation!

+ Reply to Thread

Tags for this Thread

Disclaimer

All content and materials on this site are provided “as is“. Infineon makes no warranties or representations with regard to this content and these materials of any kind, whether express or implied, including without limitation, warranties or representations of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, whether express or implied, is granted by Infineon. Use of the information on this site may require a license from a third party, or a license from Infineon.


Infineon accepts no liability for the content and materials on this site being accurate, complete or up- to-date or for the contents of external links. Infineon distances itself expressly from the contents of the linked pages, over the structure of which Infineon has no control.


Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Usage Terms of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Usage Terms of this site. Infineon reserves the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.