Fig. 1: Fourier series Examples

Similar documents
Topic 3: Fourier Series (FS)

Mathematics for Chemists 2 Lecture 14: Fourier analysis. Fourier series, Fourier transform, DFT/FFT

ω 0 = 2π/T 0 is called the fundamental angular frequency and ω 2 = 2ω 0 is called the

V(t) = Total Power = Calculating the Power Spectral Density (PSD) in IDL. Thomas Ferree, Ph.D. August 23, 1999

SEISMIC WAVE PROPAGATION. Lecture 2: Fourier Analysis

Fourier Transforms and its Applications in Engineering Field

Chirp Transform for FFT

12.1 Fourier Transform of Discretely Sampled Data

FOURIER ANALYSIS. (a) Fourier Series

UNIT 1. SIGNALS AND SYSTEM

CS711008Z Algorithm Design and Analysis

Fourier series. XE31EO2 - Pavel Máša. Electrical Circuits 2 Lecture1. XE31EO2 - Pavel Máša - Fourier Series

Lecture 5. The Digital Fourier Transform. (Based, in part, on The Scientist and Engineer's Guide to Digital Signal Processing by Steven Smith)

Fast Fourier Transform

Handout 11: AC circuit. AC generator

Fourier Series Representation of

Periodic functions: simple harmonic oscillator

Chapter 1. Discrete Fourier Transform. 1.1 Fourier series

GATE EE Topic wise Questions SIGNALS & SYSTEMS

ANALOG AND DIGITAL SIGNAL PROCESSING ADSP - Chapter 8

Fourier Series. (Com S 477/577 Notes) Yan-Bin Jia. Nov 29, 2016

Lab Fourier Analysis Do prelab before lab starts. PHSX 262 Spring 2011 Lecture 5 Page 1. Based with permission on lectures by John Getty

Vibration Testing. Typically either instrumented hammers or shakers are used.

The Fourier Transform (and more )


14 Fourier analysis. Read: Boas Ch. 7.

Fourier Series and Integrals

Wave Phenomena Physics 15c

Aspects of Continuous- and Discrete-Time Signals and Systems

Vibration Testing. an excitation source a device to measure the response a digital signal processor to analyze the system response

Response to Periodic and Non-periodic Loadings. Giacomo Boffi. March 25, 2014

Computational Methods CMSC/AMSC/MAPL 460

Tutorial Sheet #2 discrete vs. continuous functions, periodicity, sampling

CHAPTER 4 FOURIER SERIES S A B A R I N A I S M A I L

Notes on Fourier Series and Integrals Fourier Series

PHYS 502 Lecture 3: Fourier Series

Class #12: Experiment The Exponential Function in Circuits, Pt 1

EDISP (NWL2) (English) Digital Signal Processing Transform, FT, DFT. March 11, 2015

Wave Phenomena Physics 15c

Chapter 4 Discrete Fourier Transform (DFT) And Signal Spectrum

Radar Systems Engineering Lecture 3 Review of Signals, Systems and Digital Signal Processing

LAB 6: FIR Filter Design Summer 2011

Jim Lambers ENERGY 281 Spring Quarter Lecture 5 Notes

Transient Response of a Second-Order System

Outline. Introduction

Response to Periodic and Non-periodic Loadings. Giacomo Boffi.

In-Structure Response Spectra Development Using Complex Frequency Analysis Method

Frequency-domain representation of discrete-time signals

EA2.3 - Electronics 2 1

Discrete Fourier Transform

Supplemental Notes on Complex Numbers, Complex Impedance, RLC Circuits, and Resonance

Tutorial 2 - Learning about the Discrete Fourier Transform

APPENDIX A. The Fourier integral theorem

Each of these functions represents a signal in terms of its spectral components in the frequency domain.

Sequential Fast Fourier Transform (PSC ) Sequential FFT

Appendix C: Recapitulation of Numerical schemes

Phasor mathematics. Resources and methods for learning about these subjects (list a few here, in preparation for your research):

Information and Communications Security: Encryption and Information Hiding

Scientific Computing: An Introductory Survey

Discrete Time Fourier Transform (DTFT)

EDISP (NWL3) (English) Digital Signal Processing DFT Windowing, FFT. October 19, 2016

Lecture 7 January 26, 2016

The Continuous-time Fourier

Physics 4 Spring 1989 Lab 5 - AC Circuits

Fourier Series. Now we need to take a theoretical excursion to build up the mathematics that makes separation of variables possible.

Mathematics for Engineers II. lectures. Power series, Fourier series

5.6 Convolution and FFT

Sequential Fast Fourier Transform

Math 121A: Homework 6 solutions

The Fourier spectral method (Amath Bretherton)

A1 Time-Frequency Analysis

Design and Analysis of Algorithms

MATH 308 COURSE SUMMARY

LECTURE 12 Sections Introduction to the Fourier series of periodic signals

SIGNALS AND SYSTEMS: PAPER 3C1 HANDOUT 6a. Dr David Corrigan 1. Electronic and Electrical Engineering Dept.

Biomedical Engineering Image Formation II

Computer Problems for Fourier Series and Transforms

Experiment 3: Resonance in LRC Circuits Driven by Alternating Current

The (Fast) Fourier Transform

f (t) K(t, u) d t. f (t) K 1 (t, u) d u. Integral Transform Inverse Fourier Transform

3.2 Complex Sinusoids and Frequency Response of LTI Systems

THE FOURIER TRANSFORM (Fourier series for a function whose period is very, very long) Reading: Main 11.3

Introduction to the Scanning Tunneling Microscope

Communication Engineering Prof. Surendra Prasad Department of Electrical Engineering Indian Institute of Technology, Delhi

Tyler Anderson 1, Murat Tanyel 2

Module 3. Convolution. Aim

Math 56 Homework 5 Michael Downs

Fourier Series. Fourier Transform

The Discrete Fourier Transform

Review of Linear Time-Invariant Network Analysis

Signals and Systems Lecture (S2) Orthogonal Functions and Fourier Series March 17, 2008

LINEAR RESPONSE THEORY

SHOCK AND VIBRATION RESPONSE SPECTRA COURSE Unit 7A. Power Spectral Density Function

Discrete Time Signals and Systems Time-frequency Analysis. Gloria Menegaz

The Harmonic Oscillator

8. Introduction and Chapter Objectives

DOING PHYSICS WITH MATLAB FOURIER ANALYSIS FOURIER TRANSFORMS

Digital Power System Protection

1 (2n)! (-1)n (θ) 2n

4.3 The Discrete Fourier Transform (DFT) and the Fast Fourier Transform (FFT)

Transcription:

FOURIER SERIES AND ITS SOME APPLICATIONS P. Sathyabama Assistant Professor, Department of Mathematics, Bharath collage of Science and Management, Thanjavur, Tamilnadu Abstract: The Fourier series, the founding principle behind the field of Fourier Analysis, is an infinite expansion of a function in terms of sines and cosines. In physics and engineering, expanding functions in terms of sines and cosines is useful because it allows one to more easily manipulate functions. In particular, the fields of electronics, quantum mechanics, and electrodynamics all make heavy use of the Fourier series. Key words: Fourier Transform, Discrete Fourier Transform & Convolution Transforms 1. Introduction: The Fourier series, the founding principle behind the field of Fourier analysis, is an infinite expansion of a function in terms of sines and cosines or imaginary exponentials. The series is defied in its imaginary exponential form as follows: f t = where An, s are given by the expression A 1 n = 2π n= A n e inx (1) π f x e inx dx π Thus, the Fourier series is an infinite superposition of imaginary exponentials with frequency terms that increase as n increases. Since sines and cosines (and in turn imaginary exponentials) form an orthogonal set 1, this series converges for any moderately well- behaved function f x.examples of the Fourier Series for different wave forms are given in figure I. 2. The Fast Fourier Transforms: The Fourier series is only capable of analyzing the frequency components of certain, discrete frequencies (integers) of a given function. In order to study the case where the frequency components of the sine and cosine terms are continuous, the concept of the Fourier Transform must be introduced. The imaginary exponential form of the Fourier Transform is defined as follows: H ω = (t)e iωt dt t = 1 H(ω) 2π Fig. 1: Fourier series Examples (2) (3) e iωt dt (4) 394

Here, the H(ω) fulfils the role of the A n, s in equations(1) and (2); it gives an indicator of how much a particular frequency oscillation contributes to the function f t. Assume that we have a equidistant, finite data set hk = h(tk), tk = k, and we are only interested in N equidistant, discreet frequencies in the range ωc to ωc.we thus wish to examine the frequencies ω n = 2πn N,for N =,, N,where we let be the same which defines[1, N 2 2 2] our tk's. We may provide an approximation to the Fourier Transform in this range by a Riemann sum as follows: H ω n = (t)e it dt k e iω n t k Using our definition of t k, this expression reduces to H w k e N (5) This equation is called the Discrete Fourier Transform (DFT) of the function (t). If we denote Hn as H n = k e N (6) The Fourier Transform,H(ω), may then be approximate reducing the expression H w H n (7) Comparing equation (6) with the Fourier series given in equation (1), it is clear that this is a form of the Fourier series with non-integer frequency components. Currently, the most common and efficient method of numerically calculating the DFT is by using a class of algorithms called Fast Fourier Transforms (FFTs). The first known discovery of the FFT was by Gauss in 1805; however, that modern rediscovery of the FFT was done in 1942 by Danielson and Lanczos. They were able to show one may N divide any DFT into a sum of two DFT's which each correspond to 1 points. 2 The proof of Danielson and Lanczos assertion is the following: First, define W as the complex number W = e 2πi N (8) Equation (6) may be then be written H n = w nk k (9) Any DFT may then be written as follows: H n= e 2πink N n N 2 1 = e 2πi (2k)n N N 2 1 2k + e 2πi (2k+1)n N 2k+1 N 2 1 2πi (2k)n (N 2) = e 2k + W k N 2 1 e 2πi (2k)n (N 2) 2k+1 = H e n + W k O H n Here, H e n denotes the even terms of the sum (the ones corresponding to the index O 2k) and H n denotes the odd terms (the ones corresponding to the index (2k + 1). The most useful part of this formula is that it can be used recursively, since each of these H e O n and H n terms may be independently expanded using the same algorithm, each time reducingthe number of calculations by a factor of 2. In fact, this class of FFT algorithm shrinks the computation time from O(N 2 )operations to the much more manageable O(Nlog 2 N)operations. There are many different FFT algorithms; the one presented here is simply the most common one, known as a Cooley-Turkey FFT algorithm. There are other algorithms which can decrease computation time by 20 or 30 percent (socalled base-4 FFTs or base-8 FFTs). Most importantly, both classes of FFT algorithms are fast enough to embed into modern digital oscilloscopes and other such electronic equipment. Thus, FFTs have many modern applications, such as Spectrum Analyzers, ik 2πn ik 2πn 395

Digital Signal Processors (DSPs), and the numerical computation arbitrary-size multiplication operations. 3. The Spectrum Analyzer: An important instrument to any experimentalist is the spectrum analyzer. This instrument reads a signal (usually a voltage) and provides the operator with the Fourier coefficient which corresponds to each of the sine and cosine terms of the Fourier expansion of the signal. Suppose an instrument takes a time-domain signal, such as the amplitude of the output voltage of an instrument. Let us call this signal V(t). Then the DFT of V(t) is H n = v k e N (10) We see that this equation is of the same form of equation (6), which means that the previously described methods of the FFT apply to the function. Thus, any digital oscilloscope that is sufficiently fast and equipped with a FFT algorithm is capable of providing the user with the frequency components of the source signal. Oscilloscopes which are equipped with the ability to FFT their inputs are termed Digital Spectral Analyzers". Although they were once a separate piece of equipment for experimentalists, improvements in digital electronics has made it practical to merge the role of oscilloscopes with that of the Spectral Analyzer; it is quite common now that FFT algorithms come built into oscilloscopes. Spectrum Analyzers have many uses in the laboratory, but one of the most common uses is for signal noise studies. As shown above, the FFT of the signal gives the amplitudes of the various oscillatory components of the input. After normalization, this allows for the experimentalist to determine what frequencies dominate their signal. For example, if you have a DC signal, you would expect the FFT to show only very low frequency oscillations (i.e., the largest amplitudes should correspond to f 0). However, if you see a sharp peak of amplitudes around 60 Hz, you would know that something is feeding noise into your signal with a frequency of 60 Hz (for example, an AC leakage from your power source). 4. Digital Signal Processing: We have already seen how the Fourier series allows experimentalists to identify sources of noise. It may also be used to eliminate sources of noise by introducing the idea of the Inverse Fast Fourier Transform (IFFT).In general, the goal of an Inverse Fourier Transform is to take the An (the ones that appear in equation (5) and use them to reconstruct the original function, f(t).analytically, this is done by multiplying each An bye 2πk n N then taking the sum over all n. However, thisis an inefficient algorithm to use when the calculation must be done numerically. Just as there is a fast numerical algorithm for approximating the Fourier coefficients (the FFT), there is another efficient algorithm, called the IFFT, which is capable of calculating the Inverse Fourier Transform much faster than the brute-force method. In 1988, it was shown by Duhamel, Piron, and Etcheto 7 that the IFFT is simply F 1 x = F(ix ) (11) In other words, you can calculate the IFFT directly from the FFT; you simply ip the real and imaginary parts of the coefficients calculated by the original FFT. Thus, the IFFT algorithms are essentially the same as the FFT algorithms; all one must do is ip the numbers around at the beginning of the calculation. Since the IFFT inherits all of the speed benefits of the FFT, it is also quite practical to use it in real time in the laboratory. One of the most common applications of the IFFT in the laboratory is to provide Digital Signal Processing (DSP). In general, the ik 2 n 396

idea of DSP is to use configurable digital electronics to clean up, transform, or amplify a signal by first FFT'ing the signal, removing, shifting or damping the unwanted frequency components, and then transforming the signal back using the IFFT on the filtered signal. There are many advantages to doing DSP as opposed to doing analog signal processing. To begin with, practically speaking, you can have a much more complicated filtering function (the function that transforms the coefficients of the DFT) with DSP than analog signal processing. While it is fairly easy to make a single band pass, low pass, or high pass filter with capacitors, resistors, and inductors, it is relatively difficult and time consuming to implement anything more complicated than these three simple filters. Furthermore, even if a more [3, 4] complicated filter was implemented with analog electronics, it is difficult to make even small modifications to the filter (there are exceptions to this, such as FPGA's, but those are also more difficult to implement than simple software solution). DSP is not limited by either of these effects since the processing is (usually) done in software, which can be programmed to do whatever the user desires. Probably the most important advantage that DSP has over analog signal processing is the fact that the processing may be done after the signal has been taken. In modern-day experiments, raw data is often recorded during the experiment and corrected for noise in software during the analysis step. If one filters the signal beforehand (with analog signal processing), it is possible that later in the experiment, the experimenter could find that they filtered out good signal. The only option in this case is for the experiment to be rerun. On the other hand, if the signal processing was done digitally, all that the experimenter has to do is edit their analysis code and rerun the analysis; this could save both time and money. 5. Analytical Applications: The Fourier series also has many applications in mathematical analysis. Since it is a sum of multiple sines and cosines, it is easily differentiated and integrated, which often simplifies analysis of functions such as saw waves which are common signals in experimentation. A. Discontinuous Functions: The Fourier series also offers a simplified analytical approach to dealing with discontinuous functions. Dirichlet's Theorem states the following: If f(x) is a periodic of period 2π, and if between π and π it is single-valued, has a finite number of maximum and minimum values, and a finite number of discontinuities, and π If f(x) dx finite, then the Fourier series converges to f(x) at all the points where f(x) π is continuous; at jumps, the Fourier series converges to the midpoint of the jump (This includes jumps that occur at ±πforthe periodic function). In other words, nearly every function encountered in physics, both continuous and discontinuous, may be represented in terms of the Fourier series. This gives the Fourier series a distinct advantage over the Taylor Series expansion of a function; since the Taylor Series places much more stringent limits on convergence than the Fourier series does (continuity is a requirement, for example). B. Convolutions: The Convolution Theorem states the following: F 1 F f F g = f g (12) Where F[f] denotes the Fourier Transform of thefunction f. Since the Fourier Transform may be approximated by a Fourier series, FFT algorithms may be applied to the [5, 6] numerical calculation of the convolution; in fact, the FFT method is the 397

preferred method of calculating convolutions which prevents the need for direct integration. C. Generalized Fourier series: The concept of the Fourier series may be generalized to any complete orthogonal system of functions. An orthogonal system" satisfies the following relation m x n x w x = c m δ mn (13) In a generalized Fourier series, we use these functions (x) as the expansion functions instead of sines and cosines (or imaginary exponentials). Then our expansion takes on the following form f x = n=0 a n n (x) (14) One may then find the coefficients an in an analogous way that one finds the coefficients in the Fourier series: f x n x w x dx = n=0 a n m x n x w(x)dx = n=0 a n m x n x w(x)dx = n=0 a n c m δ mn = a n c n Where c n is the normalization constant given by the orthogonality relationship defined in (13). Equating the first and last parts leaves us with 1 f x c n x w x dx = a n (15) n This result is analogous to the result that was presented in equation (2), and can be used to derive these expressions. An example of another complete orthogonal system which can be used as the basis element for a Generalized Fourier Series is the set of Spherical Harmonics. The Spherical Harmonics provide the series that is analogous to the Fourier series, called the Laplace series, which is given by the expression I f θ, = l=0 m=0 A m l Y m l (θ, ) (16) Functional expansions of this form are termed Generalized Fourier Series" since they utilize the orthogonality relationships of functional systems in the same way that the Fourier series does. 6. Conclusion: The Fourier series is useful in many applications ranging from experimental instruments to rigorous mathematical analysis techniques. Thanks to modern developments in digital electronics, coupled with numerical algorithms such as the FFT, the Fourier series has become one of the most widely used and useful mathematical tools available to any scientist. 7. References: 1. Boas, M., Mathematical Methods in the Physical Sciences, 2 nd edition. Tata McGraw Hill Private Limited, Delhi. 2. Duhamel, P.; Piron, B.; Etcheto, J.M., "On computing theinverse DFT," Acoustics, Speech and Signal Processing. 3. Matt Hollingsworth in the Applications of the Fourier series, Tata McGraw Hill Private Limited, Delhi. 4. Arfken & Weber, Mathematical Methods for Physicists, Tata McGraw Hill Private Limited, Delhi. 5. W. H. Press, Numerical Methods in C: The Art of Scientific Computing, 2nd Edition, Prentice Hall of India, Delhi 6. S. A. Teukolsky, W T. Vetterling, B. P. Flannery. Channel 12, 2nd Edition, Prentice Hall of India, Delhi 7. Weisstein, Eric W. "Fourier Series." From Math World-AWolfram Web Resource 398

8. Weisstein, Eric W. "Convolution Theorem."From Math World-A Wolfram Web Resource. 9. Weisstein, Eric W. Generalized Fourier Series. From Math world A Wolfram Web Resource. 399