06 - Harmonic Analysis
06 - Harmonic Analysis
Harmonic Analysis
Although harmonic motion is simplest to handle, the motion of many vibratory systems is not
harmonic. However, in many cases the vibrations are periodic for example, the type shown below
on left. Fortunately, any periodic function of time can be represented by Fourier series as an
infinite sum of sine and cosine terms.
Periodic Function
a0
x t a1 cos t a2 cos 2t ... b1 sin t b2 sin 2t ...
2
a
0 an cos nt bn sin nt
2 n 1
2
In the equation above is the fundamental frequency and a0 , a1 ,...b1 , b2 ... are constant
coefficients. To determine the coefficients an and bn we multiply the equation above by
2
cos nt and sin nt respectively, and integrate over one period for example, from 0 to
2
. Then we notice that all terms except one on the right-hand side of the equation will be zero,
and we obtain:
2
a0
x t dt
0
2
2
an x t cos ntdt x t cos ntdt ,
0
0
2
2
bn x t sin ntdt x t sin ntdt
0
0
a0
The physical interpretation of the equation x t an cos nt bn sin nt is that any
2 n 1
periodic function can be represented as a sum of harmonic functions. Although the series in the
above equation is an infinite sum, we can approximate most periodic functions with the help of
only a few harmonic functions. For example, the triangular wave represented above on left can be
represented closely by adding only three harmonic functions, as shown above on right.
Fourier series can also be represented by the sum of sine terms only or cosine terms only. For
example, the series using cosine terms only can be expressed as:
Gibbs Phenomenon
When a periodic function is represented by a Fourier series, an anomalous behaviour can be
observed. For example, the illustration below shows a triangular wave and its Fourier series
representation using a different number of terms. As the number of terms n increases, the
approximation can be seen to improve everywhere except in the vicinity of the discontinuity P .
Here the deviation from the true waveform becomes narrower but not any smaller in amplitude. It
has been observed that the error in amplitude remains at approximately 9 percent, even when
k . This behaviour is known as Gibbs phenomenon, after its discoverer.
Gibbs phenomenon
2
6.2 Complex Fourier Series
The Fourier series can also be represented in terms of complex numbers using the following
relationships:
a0
Equation x t an cos nt bn sin nt and introducing b0 0 can be written as:
2 n 1
an ibn
cn ,
2
a ibn
c n n
2
an ibn 1 1
cn x t cos nt i sin nt dt x t e int dt
2 0 0
3
6.3 Frequency Spectrum
The harmonic functions a0 cos nt or b0 sin nt in
a0
x t an cos nt bn sin nt are called Harmonics of Order n of the periodic
2 n 1
function x t . The harmonic of order n has a period . These harmonics can be plotted as
n
vertical lines on a diagram of amplitude an and bn or d n and n versus frequency n , called
frequency spectrum or spectral diagram. The illustration below shows a typical frequency
spectrum.
4
The use of Fourier integrals permits the representation of even non-periodic functions in either a
time domain or a frequency domain. The illustration above shows that the frequency-domain
representation does not provide the initial conditions. However, in many practical applications the
initial conditions are often considered unnecessary and only the steady-state conditions are of
main interest.
x t x t
In this case, the Fourier series expansion of x t contains only cosine terms:
a0
x t an cos nt
2 n 1
x t x t
In this case, the Fourier series expansion of x t contains only sine terms:
x t bn sin nt
n 1
2
a0
x t dt
0
2
an
x t cos ntdt ,
0
2
bn
x t sin ntdt
0
In some cases, a given function may be considered as even or odd depending on the location of
the coordinate axes. For example, the shifting of the vertical axis from (a) to (b) or (c) below on
top will make it an odd or even function. This means that we need to compute only the
coefficients bn or an . Similarly, a shift in the time axis from (d) to (e) amounts to adding a
constant equal to the amount of shift.
5
In the case illustrated above in the middle, when the function is odd, the Fourier series expansion
becomes:
4A
1 2 2n 1 t
x1 t
2n 1 sin
n 1
On the other hand, if the function is even, as shown above at the bottom, its Fourier series
expansion becomes:
1 2 2n 1 t
n 1
4A
x2 t
n 1 2n 1
sin
Since the functions x1 t and x2 t represent the same wave except for the location of the
origin, there exists a relationship between their Fourier series expansions also because
x1 t x2 t .
4
6
In such cases there is no condition of periodicity of the function, since the function itself is not
defined outside the interval 0 to . However, we can extend the function arbitrarily to include the
interval to 0 as shown in the above illustration in the middle or the bottom. The extension of
the function indicated in the middle results in an odd function x1 t , while the extension of the
function shown at the bottom results in an even function x2 t . Thus the Fourier series
expansion of x1 t yields only sine terms and that of x2 t involves only cosine terms. These
Fourier series expansions of x1 t and x2 t are known as half-range expansions. Any of these
Summary
In this lecture we discussed harmonic analysis, including:
References
Rao, S. – Mechanical Vibrations, 5th Edition, Prentice Hall, New York, 2011
Gans, R.- Mechanical Systems - A Unified Approach to Vibrations and Controls,
Springer, 2015
Thomson, W., Dahleh, M. - Theory of Vibrations with Applications, 5th Edition, Prentice
Hall, 1998