12-12-2018 03:55 AM - edited 12-12-2018 03:55 AM
HI.
I have an array of data from ADC (sinusoidal signal was applied to the input). Is it possible to calculate offset and gain error from this array? Thanks.
12-12-2018 04:59 AM
Yes, that is possible. Providing you have the original input level of course, or you'll only get an amplitude, not a gain.
Details will vary depending on the exact requirements.
I'd use a (PtByPt) FFT. That would give you a DC (at 0 Hz) and a peak at the sinus frequency representing the gain. There are probably specialized tone analysis VIs as well...
12-12-2018 05:05 AM
I don't think that FFT is need to use. Most likely should be used mathematics.
12-12-2018 08:17 AM
@Valentin87 wrote:
I don't think that FFT is need to use. Most likely should be used mathematics.
Isn't FFT mathematics?
It's not about 'need' to use, for me it would be the easiest and most intuitive way to make it.
12-12-2018 08:41 AM
So how from FFT get this parameters if all data in FFT is dB?
12-12-2018 09:06 AM
FFT PtByPt.vi doesn't return dBs...