+ Post New Thread
Results 1 to 3 of 3

9th August 2019, 03:21 #1
 Join Date
 Sep 2018
 Posts
 20
 Helped
 0 / 0
 Points
 297
 Level
 3
How to calculate Signal Power using ADC samples?
Hi, I'm going to test the performance of an antenna, but unfortunately the antenna is connected to the receiver frontend and ADC on the board and cannot be separated from the board. So the only way I can read out the signal is to read the data from ADC. Is it possible to convert voltage samples into power(in dBm)? I've seen that some ADCs are able to plot the spectrum(in dBm) using the software interface. I have very poor knowledge about ADC. What does the ADC calibration usually do? (I just heard about this function)

Advertisement

9th August 2019, 07:03 #2
Awards:
 Join Date
 Apr 2014
 Posts
 15,609
 Helped
 3556 / 3556
 Points
 77,038
 Level
 67
Re: How to calculate Signal Power using ADC samples?
Hi,
An ADC just converts an analog signal into a digital signal.
You need to read the datasheet about the data format.
To get the spectrum you need:
* a known, fixed, stable sampling rate
* take 2^n samples (where n should be in integer to perform an FFT. E.g. n= 10 for 1024 samples)
* use a windowing function
* perform the FFT
* calculate the absolute (vector length) of the each output bin (real and imag part)
* do the logarithmic calculation for each output value
* do the XY plot
For 2^n samples you get 2^(n1) frequency results.
The frequency step size is linear and is f_sample / 2^(n), starting with 0Hz = DC.
******
For more detailed informations you need to read basic informations first. (A forum can not replace this).
******
There will be software tools that help you do all the (mathematical) functions for you.
******
The power can be calculated by performing an RMS calculation over the desired count of samples.
KlausPlease don´t contact me via PM, because there is no time to respond to them. No friend requests. Thank you.

Advertisement

16th August 2019, 23:39 #3
 Join Date
 Aug 2019
 Posts
 6
 Helped
 0 / 0
 Points
 33
 Level
 1
Re: How to calculate Signal Power using ADC samples?
http://www.sjsu.edu/people/burford.f...utorial_NI.pdf
NI has some good info: "According to the Nyquist criterion, the sampling frequency, Fs, must be at least twice the maximum frequency component in the signal. If this criterion is violated, a phenomenon known as aliasing occurs"
Sean
+ Post New Thread
Please login