Tool/software:
Hi TI expert,
While referring to the AWR2944 within the SDK code / HECR demo, please kindly assist confirming mathematical calculations of antMagSq[] in terms of dB with below questions. Specifically, we need to determine whether the amplitude of each antenna for the R-V point should be calculated as 20 * log10(antMagSq[]) or 10 * log10(antMagSq[]) (see 2nd question below). Additionally, we are double-verifying the measurements from the data stored in detObjList, and we need to understand the appropriate Q_VALUE for the magnitude calculation.
1). The amplitude of the signal for each antenna symbol i.e., signal received at each antenna after the 2D-FFT (R-V ) is given as
antMagSq[antennaIdx] = (float)detObjList[objIdxMax].azimSamples[antennaIdx].real * (float)detObjList[objIdxMax].azimSamples[antennaIdx].real + (float)detObjList[objIdxMax].azimSamples[antennaIdx].imag * (float)detObjList[objIdxMax].azimSamples[antennaIdx].imag;
2). We request your assistance to confirm if the amplitude of each antenna for R-V point will be as below, right?
20 * log10(antMagSq[]) or 10 * log10(antMagSq[])
3). Additionally, we are attempting to double-verify the measurements from the data stored in detObjList. The magnitude of the data is calculated as:
20*log10(
(detObjList[objIdx].azimSamples[count_az].imag / (1 << Q_VALUE) * detObjList[objIdx].azimSamples[count_az].imag/ (1 << Q_VALUE) +
detObjList[objIdx].azimSamples[count_az].real/ (1 << Q_VALUE) * detObjList[objIdx].azimSamples[count_az].real/ (1 << Q_VALUE))
what will be the Q_VALUE in this context?
BR, Jesse.
Thank you very much for your assistance and looking forward to your response.