when using a FFT should I convert the AtoD samples into a Voltage?


by btb4198
Tags: atod, convert, samples, voltage
btb4198
btb4198 is offline
#1
Sep13-13, 01:04 AM
P: 147
when using the FFT for DSP should I convert the A to D samples back into a Voltages ?

so

A to D sample = sample voltage * ( bits / max Voltages)

so

sample Voltage = (A to D sample ) *(max Voltages/ bits)
that is right, right?

anyhow should I keep the samples as digital samples or convert them to analog samples
before I run them in to the FFT?
why or why not?

I kind of think it should matter... but I do not know . I am new to this.

I do think that the A to D / mic on a computer might remove all the negative numbers, but i do not know is you would get negative numbers from a microphone...
do you ?
Phys.Org News Partner Engineering news on Phys.org
SensaBubble: It's a bubble, but not as we know it (w/ video)
WSU innovation improves drowsy driver detection
Faster computation of electromagnetic interference on an electronic circuit board
UltrafastPED
UltrafastPED is offline
#2
Sep13-13, 01:13 AM
Thanks
P: 1,364
The units are only a scaling factor ... they don't change the relative values of the amplitudes.

They would be important if you were comparing one spectrum with another: you need to be consistent.
meBigGuy
meBigGuy is offline
#3
Sep13-13, 06:00 PM
P: 976
Do all your computations in the digital domain, and afterwards scale your results to the analog domain if you need to. For example you may need to know the actual energy level of a modulated signal within a bandwidth.

I get in trouble with the 1/N normalization thing all the time. Should I use 1/N for forward, inverse, or 1/sqrt(N) on both.

berkeman
berkeman is offline
#4
Sep13-13, 06:12 PM
Mentor
berkeman's Avatar
P: 39,720

when using a FFT should I convert the AtoD samples into a Voltage?


Quote Quote by btb4198 View Post
when using the FFT for DSP should I convert the A to D samples back into a Voltages ?

so

A to D sample = sample voltage * ( bits / max Voltages)

so

sample Voltage = (A to D sample ) *(max Voltages/ bits)
that is right, right?

anyhow should I keep the samples as digital samples or convert them to analog samples
before I run them in to the FFT?
why or why not?

I kind of think it should matter... but I do not know . I am new to this.

I do think that the A to D / mic on a computer might remove all the negative numbers, but i do not know is you would get negative numbers from a microphone...
do you ?
A microphone puts out an AC signal. How are you handling that at your ADC? Are you offsetting the zero crossing voltage of the input signal to bias it up to half of the input voltage range of the ADC? If so, you will want to subtract that offset out of your digital data before doing the FFT, or else just subtract the DC component out of the final FFT data.

If your ADC circuit outputs 2's complement data to represent the AC waveform, you will probably need to do something before the FFT, I would think...
meBigGuy
meBigGuy is offline
#5
Sep13-13, 08:01 PM
P: 976
If you get A/D numbers from a sound card or wave file they are 2's complement positive and negative numbers. Is that what you are doing? Just crunch on them to your hearts content.
btb4198
btb4198 is offline
#6
Sep14-13, 08:54 AM
P: 147
yes, I am getting them from a sound card on my computer ....


Register to reply

Related Discussions
How do superconductors convert frequency to voltage? Atomic, Solid State, Comp. Physics 1
convert voltage to acceleration Engineering, Comp Sci, & Technology Homework 7
convert voltage to acceleration Mechanical Engineering 1
Finding frequencies given AC voltage samples Engineering, Comp Sci, & Technology Homework 1
how to convert dc voltage into higher dc voltage using transformer???? Electrical Engineering 16