Obtaining Phase and Amplitude from FFT

AI Thread Summary
Calculating phase and amplitude from FFT data is theoretically possible, but practical challenges arise, particularly if the amplitude is less than the least significant bit (LSB) or if the sampling rate is insufficient for the desired frequency. The output of the FFT provides complex numbers for each frequency bin, which can be converted to polar coordinates to extract magnitude and phase. A good estimate of the frequency (ω) can aid in the process, but the time reference for the signal is crucial for accurate phase measurement. The discussion highlights the importance of understanding the signal's structure and the implications of sampling on the results. Overall, while feasible, the extraction of phase and amplitude without division remains complex and context-dependent.
henryd
Messages
4
Reaction score
0
Is it possible to calculate the phase and signal amplitude from data gained from FFT?

For instance, if I have a samples from a signal B+A*cos(ψ), is it possible to obtain A and ψ?

Extra challenge: is it possible to do so without division? (I am looking to put this on a DSP and division is expensive)

Thanks!
 
Engineering news on Phys.org
Which is the time varying signal? I think the example you gave might be a constant. If so your problem is much easier to solve. :)

Basically: In theory, sure. In practice, maybe. For example, if A is less than a LSB or the sampling rate is slower than the frequency you want to observe, then no. And then when measuring phase there is the whole problem of, what exactly is t0?

You might want to look at this primer. I think it looks pretty good.
http://www.google.com/url?sa=t&rct=...3oipn3Fy-ZK4CYszA&sig2=4Mk4C5H4T1Ug3mHVbrYeMQ
 
Does it help if I have a pretty good estimate of ω?

The signal would be:

B + A\cos(\omega t + \phi)

where B and A are constant
 
The output of your FFT is a complex number for each frequency bin.
Complex number is rectangular coordinates. You will use trig to convert these to polar (magnitude/phase angle).
 
henryd said:
Does it help if I have a pretty good estimate of ω?

The signal would be:

B + A\cos(\omega t + \phi)

where B and A are constant

t relative to what? what is the origin of your time axis? is it relative to the very first bin (sometimes called the "zeroeth" bin) x[0]. i.e. is bin 0:

x[0] = B + A\cos(\omega 0 + \phi) \ \ ?
 
While I was rolling out a shielded cable, a though came to my mind - what happens to the current flow in the cable if there came a short between the wire and the shield in both ends of the cable? For simplicity, lets assume a 1-wire copper wire wrapped in an aluminum shield. The wire and the shield has the same cross section area. There are insulating material between them, and in both ends there is a short between them. My first thought, the total resistance of the cable would be reduced...
Hey guys. I have a question related to electricity and alternating current. Say an alien fictional society developed electricity, and settled on a standard like 73V AC current at 46 Hz. How would appliances be designed, and what impact would the lower frequency and voltage have on transformers, wiring, TVs, computers, LEDs, motors, and heating, assuming the laws of physics and technology are the same as on Earth?
I used to be an HVAC technician. One time I had a service call in which there was no power to the thermostat. The thermostat did not have power because the fuse in the air handler was blown. The fuse in the air handler was blown because there was a low voltage short. The rubber coating on one of the thermostat wires was chewed off by a rodent. The exposed metal in the thermostat wire was touching the metal cabinet of the air handler. This was a low voltage short. This low voltage...
Back
Top