Recent Posts
- How does a digital filter work?
- Is a chemistry background important for a mechatronics engineer?
- How old is the RCA connector standard?
- What is the ideal background for a mechatronics engineer?
- Why conduction cool an embedded computer?
- Can you recommend a portable instrument to measure room air pressure?
- Any problems to watch for when overdriving a motor?
- What microprocessors are favored for control applications? (Reprise again!)
- What are medium voltage drives?
- Is Eclipse similar to LabView?
Recent Comments
- Dan Blank on How old is the RCA connector standard?
- Antonio Ibarra on What is the ideal background for a mechatronics engineer?
- Will Delsman on Any problems to watch for when overdriving a motor?
- John Schott, CAP, PE on What microprocessors are favored for control applications?
- Paul J. on What do semiconductor engineers mean by “critical dimension?”
Most Commented On
- For a fail-safe 24 V dc auxilary supply, is it better to use 12 batteries of 2 V each, or two 12 V batteries? (3)
- How do I ensure timing in a microprocessor-based control system? (2)
- Is impedance matching as important when working with digital circuits as it is with analog circuits? (2)
- What can be done to monitor bridge structural condition? (2)
- Would highway automation work for a highway designated for automated cars only? (2)
Archives
- July 2008
- June 2008
- May 2008
- April 2008
- March 2008
- February 2008
- January 2008
- December 2007
- November 2007
- October 2007
- September 2007
- August 2007
- July 2007
- June 2007
- May 2007
- April 2007
- March 2007
Blog
Link This | Email this | Blog This | Comments (0)
How do Fourier transforms work?
The Fourier transform is a means to extract frequency information from a waveform. In control applications, it is useful for diagnosing resonance and oscillation problems in operating machinery. It is also the basis for digital filtering. The full-blown Fourier transform gives both frequency and phase information, but this is a simplified description that only looks at how frequency information is extracted.
Theoretically, Fourier’s theorem assumes infinitely long wavetrains. In practical situations, however, we just can’t wait that long, so we deal with the finite-length wavetrains we encounter in the real world. Exactly how we deal with the fact that the wavetrain is of finite length is called “windowing,” and there are various windowing functions that are beyond the scope of this blog entry. For now, we just assume that the wavetrain starts at a node (zero crossing) and appears at its full amplitude throughout the time period t, then ends at another node.
Start with two waveforms. The first is the waveform under test (WUT), from which we wish to extract frequency information. The second is a comparison waveform (CW) representing a single tone at the frequency f. Let’s say that the CW is chosen to have a node at the same time the WUT begins. There is no constraint on what the CW’s phase is at the ending time t.
If we line up the two waveforms on a time axis, we can compare their instantaneous values at any given time between the start (t0) and end (t). For some intermediate time ti we can multiply these values together to form the product
Now, integrate this product over all time values between the start and end. Mathematicians call this operation "convolving" the two waveforms.
Again, the true convolution operation integrates from negative infinity to positive infinity, but we still can’t wait that long. Similarly, convolution involves an integral, but in the practical world of digital computers, we perform a sum using a great many (thousands) of closely spaced time values.
If the WUT happens to be a single tone that coincides with the CW frequency, the two waveforms are always in phase, and the product equals the root mean square of the product of the two waveform amplitudes—times a factor. For convenience, we normalize this result by multiplying the whole mess by another factor (the normalization factor) that makes it come out to unity.
That sounds pretty stupid on the surface—to go through all that work, then force the answer to be 1.0—but it will make more sense very soon. You see, we’ll be using this part of the calculation for comparison.
Suppose that we now relax the condition that the CW frequency be the same as the WUT frequency. If the frequencies are just a little bit different, the two waveforms start out in phase, then slowly go out of phase. Succeeding products in the sum contribute less and less compared to the comparison case. Eventually, when the phase difference reaches beyond 90°, they actually start subtracting from the sum because the sign of one waveform value has the opposite sign to the value of the other. The result is a sum that, when multiplied by the normalization factor determined above, is less than one.
Finally, to complete the transform, we plot the results for all values of CW frequency within some band of interest, such as dc (zero frequency) to 100 MHz. That graph represents the relative amplitude of the WUT as a function of frequency. By our assumption that the WUT represents a single tone, the Fourier transform shows a single spike at that frequency. If, on the other hand, the WUT is the superposition of two tones, two peaks will appear in the transform. Three tones make three peaks, and so forth.
One rather interesting Fourier transform application is finding resonances in existing mechanical or electromechanical systems. The engineer creates a waveform that represents the superposition of many equally spaced tones (called a “comb”). He or she then uses a transducer to drive this signal into the system. If the system is mechanical, the transducer might be a piezoelectric transducer. If it’s a feedback-controlled system, it might be a rapid change of set point.
In any case, the system responds to each frequency according to its own special frequency-response function. The engineer records that response as a waveform, then washes it through a Fourier transform to obtain a graph of the system’s response at all of the comb frequencies. The height of each peak signal's the frequency response value at that frequency. The graph’s resolution depends on the spacing between the comb frequencies. If the system has a resonance, the graph will show a tall peak at that frequency. If it’s unresponsive at some frequency, then there will be little response there.
It is possible to get even more sophisticated. For example, by monitoring the control inputs to a system and its responses during actual operation, then Fourier analyzing both and convolving the results, you can watch the system’s frequency response function change with time as bearings wear and components age. Then, use this information to modify control-system parameters and prevent drift over time.
Also read from Control Engineering:
Frequency Domain Analysis Explained
and
Analyzing Control Loop Behavior in the Frequency Domain
How do Fourier transforms work?
November 19, 2007
The Fourier transform is a means to extract frequency information from a waveform. In control applications, it is useful for diagnosing resonance and oscillation problems in operating machinery. It is also the basis for digital filtering. The full-blown Fourier transform gives both frequency and phase information, but this is a simplified description that only looks at how frequency information is extracted. Theoretically, Fourier’s theorem assumes infinitely long wavetrains. In practical situations, however, we just can’t wait that long, so we deal with the finite-length wavetrains we encounter in the real world. Exactly how we deal with the fact that the wavetrain is of finite length is called “windowing,” and there are various windowing functions that are beyond the scope of this blog entry. For now, we just assume that the wavetrain starts at a node (zero crossing) and appears at its full amplitude throughout the time period t, then ends at another node.
Start with two waveforms. The first is the waveform under test (WUT), from which we wish to extract frequency information. The second is a comparison waveform (CW) representing a single tone at the frequency f. Let’s say that the CW is chosen to have a node at the same time the WUT begins. There is no constraint on what the CW’s phase is at the ending time t.
If we line up the two waveforms on a time axis, we can compare their instantaneous values at any given time between the start (t0) and end (t). For some intermediate time ti we can multiply these values together to form the product
wWUT(ti) * wCW(ti).
Now, integrate this product over all time values between the start and end. Mathematicians call this operation "convolving" the two waveforms.
Again, the true convolution operation integrates from negative infinity to positive infinity, but we still can’t wait that long. Similarly, convolution involves an integral, but in the practical world of digital computers, we perform a sum using a great many (thousands) of closely spaced time values.
If the WUT happens to be a single tone that coincides with the CW frequency, the two waveforms are always in phase, and the product equals the root mean square of the product of the two waveform amplitudes—times a factor. For convenience, we normalize this result by multiplying the whole mess by another factor (the normalization factor) that makes it come out to unity.
That sounds pretty stupid on the surface—to go through all that work, then force the answer to be 1.0—but it will make more sense very soon. You see, we’ll be using this part of the calculation for comparison.
Suppose that we now relax the condition that the CW frequency be the same as the WUT frequency. If the frequencies are just a little bit different, the two waveforms start out in phase, then slowly go out of phase. Succeeding products in the sum contribute less and less compared to the comparison case. Eventually, when the phase difference reaches beyond 90°, they actually start subtracting from the sum because the sign of one waveform value has the opposite sign to the value of the other. The result is a sum that, when multiplied by the normalization factor determined above, is less than one.
Finally, to complete the transform, we plot the results for all values of CW frequency within some band of interest, such as dc (zero frequency) to 100 MHz. That graph represents the relative amplitude of the WUT as a function of frequency. By our assumption that the WUT represents a single tone, the Fourier transform shows a single spike at that frequency. If, on the other hand, the WUT is the superposition of two tones, two peaks will appear in the transform. Three tones make three peaks, and so forth.
One rather interesting Fourier transform application is finding resonances in existing mechanical or electromechanical systems. The engineer creates a waveform that represents the superposition of many equally spaced tones (called a “comb”). He or she then uses a transducer to drive this signal into the system. If the system is mechanical, the transducer might be a piezoelectric transducer. If it’s a feedback-controlled system, it might be a rapid change of set point.
In any case, the system responds to each frequency according to its own special frequency-response function. The engineer records that response as a waveform, then washes it through a Fourier transform to obtain a graph of the system’s response at all of the comb frequencies. The height of each peak signal's the frequency response value at that frequency. The graph’s resolution depends on the spacing between the comb frequencies. If the system has a resonance, the graph will show a tall peak at that frequency. If it’s unresponsive at some frequency, then there will be little response there.
It is possible to get even more sophisticated. For example, by monitoring the control inputs to a system and its responses during actual operation, then Fourier analyzing both and convolving the results, you can watch the system’s frequency response function change with time as bearings wear and components age. Then, use this information to modify control-system parameters and prevent drift over time.
Also read from Control Engineering:
Frequency Domain Analysis Explained
and
Analyzing Control Loop Behavior in the Frequency Domain
Posted by Charlie Masi on November 19, 2007 | Comments (0)
Advertisement
Advertisements



