Open Educational Resources

Non-Harmonic Periodic Forcing Functions: Fourier Analysis


To this point we have only considered harmonic forcing functions (e.g. sine). These are examples of periodic functions since they repeat themselves after a specific period of time. However, harmonic functions are not the only type of periodic function. There are many others, some typical examples of which are shown in Figure 6.1

Figure 6.1: Examples of periodic functions. From top to bottom: harmonic function, square wave, sawtooth, and a general periodic function.

It would be useful to be able to determine the response of a single degree of freedom system to these other periodic forcing functions as well. Fortunately much of what we have already studied can be applied.

Fourier Analysis

Whenever we have a periodic forcing function F(t) with period \tau = \frac{2\pi}{\omega} it can always be expressed as a Fourier series (a sum of harmonic functions) as

(6.1)   \[F(t) = \frac{a_0}{2} + \sum_{j=1}^\infty a_j \ensuremath{\cos\left(j \omega t\right)} + \sum_{j=1}^\infty b_j \ensuremath{\sin\left(j \omega t\right)},\]


where

(6.2a)   \[a_0 = \frac{2}{\tau} \int_0^{\tau} F(t) dt,\qquad (= 2 F_{\mathrm{AVE}}),\]


(6.2b)   \[a_j = \frac{2}{\tau} \int_0^{\tau} F(t) \ensuremath{\cos\left(j \omega t\right)} dt, \qquad j=1,2,\dots,\infty,\]


(6.2c)   \[b_j = \frac{2}{\tau} \int_0^{\tau} F(t) \ensuremath{\sin\left(j \omega t\right)} dt, \qquad j=1,2,\dots,\infty.\]


For a given periodic function F(t), the coefficients a_0, a_j and b_j (j=1,2,\dots,\infty) can be uniquely determined.

With this expansion of the forcing function, the equation of motion for the damped spring-mass system

    \[m \ddot{x} + c \dot{x} + k x = F(t)\]


becomes

(6.3)   \[m \ddot{x} + c \dot{x} + k x = \frac{a_0}{2} + \sum_{j=1}^\infty a_j \ensuremath{\cos\left(j \omega t\right)} + \sum_{j=1}^\infty b_j \ensuremath{\sin\left(j \omega t\right)}\]

To find the steady state solution to (6.3) we make use of the principle of superposition to express the total solution as the sum of the individual solutions to each term on the right hand side. That is, the solution is the sum of the solutions to

(6.4a)   \[m \ddot{x} + c \dot{x} + k x = \frac{a_0}{2}\]


(6.4b)   \[m \ddot{x} + c \dot{x} + k x = a_j \ensuremath{\cos\left(j \omega t\right)}, \qquad j=1,2,\dots,\infty\]


(6.4c)   \[m \ddot{x} + c \dot{x} + k x = b_j \ensuremath{\sin\left(j \omega t\right)}, \qquad j=1,2,\dots,\infty\]


The steady state solution to (6.4a) is simply

(6.5)   \[x(t) = \frac{a_0}{2k}\]


Aside
We have previously shown that the steady state solution to

    \[m \ddot{x} + c \dot{x} + k x = F_0 \sin \omega t\]


is

    \[x(t) = \frac{\dfrac{F_0}{k}}{\ensuremath{\sqrt{\Bigl[1-\ensuremath{\bigl(\frac{\omega}{\ensuremath{p}}\bigr)}^2\Bigr]^2 + \Bigl[2 \zeta \ensuremath{\frac{\omega}{\ensuremath{p}}} \Bigr]^2}}} \sin (\omega t - \phi), \qquad \phi = \tan^{-1} \Biggl[ \frac{2 \zeta \ensuremath{\frac{\omega}{\ensuremath{p}}}}{1-\ensuremath({\frac{\omega}{\ensuremath{p}}})^2} \Biggr].\]

Following the same procedure, it is straightforward to show that the solution to

    \[m \ddot{x} + c \dot{x} + k x = F_0 \cos \omega t\]


is similarly

    \[x_P(t) = \frac{\dfrac{F_0}{k}}{\ensuremath{\sqrt{\Bigl[1-\ensuremath{\bigl(\frac{\omega}{\ensuremath{p}}\bigr)}^2\Bigr]^2 + \Bigl[2 \zeta \ensuremath{\frac{\omega}{\ensuremath{p}}} \Bigr]^2}}} \cos (\omega t - \phi), \qquad\phi = \tan^{-1} \Biggl[ \frac{2 \zeta \ensuremath{\frac{\omega}{\ensuremath{p}}}}{1-\ensuremath({\frac{\omega}{\ensuremath{p}}})^2} \Biggr]\]


The steady state solution to equations (6.4b) and (6.4c) are

(6.6)   \[\newcommand{\COS}[1]{\ensuremath{\cos\bigl({#1}\bigr)}}x(t) = \frac{\dfrac{a_j}{k}}{\sqrt{\Bigl[ 1-\Bigl(\frac{j \omega}{\ensuremath{p}} \Bigr)^2 \Bigr]^2 + \Bigl[ 2 \zeta \frac{j \omega}{\ensuremath{p}} \Bigr]^2} }\COS{j \omega t - \phi_j}\]


and

(6.7)   \[\newcommand{\SIN}[1]{\ensuremath{\sin\bigl({#1}\bigr)}}x(t) = \frac{\dfrac{b_j}{k}}{\sqrt{\Bigl[ 1-\Bigl(\frac{j \omega}{\ensuremath{p}} \Bigr)^2 \Bigr]^2 + \Bigl[ 2 \zeta \frac{j \omega}{\ensuremath{p}} \Bigr]^2}}\SIN{j \omega t - \phi_j}\]


respectively where

(6.8)   \[\phi_j = \tan^{-1} \Biggl[ \frac{2 \zeta \frac{j \omega}{\ensuremath{p}}}{1-\bigl(\frac{j \omega}{\ensuremath{p}} \bigr)^2} \Biggr]\]


Therefore the steady state solution to equation (6.3) is given by

(6.9)   \[\newcommand{\SIN}[1]{\ensuremath{\sin\bigl({#1}\bigr)}}\newcommand{\COS}[1]{\ensuremath{\cos\bigl({#1}\bigr)}}\begin{split}x(t) = \frac{a_0}{2k} + \sum_{j=1}^{\infty} \frac{\dfrac{a_j}{k}}{\sqrt{\Bigl[ 1-\Bigl(\frac{j \omega}{\ensuremath{p}} \Bigr)^2 \Bigr]^2 + \Bigl[ 2 \zeta \frac{j \omega}{\ensuremath{p}} \Bigr]^2}}\COS{j \omega t - \phi_j} \\+ \sum_{j=1}^{\infty} \frac{\dfrac{b_j}{k}}{\sqrt{\Bigl[ 1-\Bigl(\frac{j \omega}{\ensuremath{p}} \Bigr)^2 \Bigr]^2 + \Bigl[ 2 \zeta \frac{j \omega}{\ensuremath{p}} \Bigr]^2}}\SIN{j \omega t - \phi_j}\end{split}\]


where \phi_j is given by (6.8)


Note:

  • The amplitude and phase angle for the j^{\mathrm{th}} frequency depend on j and are not constants
  • The terms with frequency component j \omega closest to \ensuremath{p} will have the largest dynamic magnification factor.
  • As j continues to increase, the amplitude of the j^{\mathrm{th}} terms decreases (due to the dynamic magnification factor). As a result, in practice a reasonably accurate solution can be obtained using only the first few terms in the expansion in equation (6.3).
  • If the periodic forcing function is sufficiently complex or is determined experimentally the integrations in equations (6.2b) and (6.2c) may not be available analytically. In these case the Fourier coefficients can be approximated numerically.

    We can consider the period \tau to be broken into N (an even number) of equally spaced time intervals \Delta t so that \tau = N \Delta t.

    If F_1, F_2, \dots F_N represent the values of F(t) at the times t_1, t_2, \dots t_N then the Fourier coefficients can be approximated as

        \begin{alignat*}{2}        a_0 &= \frac{2}{N} \sum_{i=1}^{N} F_i,  &   (&= 2 F_{\mathrm{AVE}}),    \\        a_j &= \frac{2}{N} \sum_{i=1}^{N} F_i \cos{\frac{2j\pi t_i}{\tau}},  & \qquad j&=1,2,\dots,\infty, \\        b_j &= \frac{2}{N} \sum_{i=1}^{N} F_i \sin{\frac{2j\pi t_i}{\tau}},  & \qquad j&=1,2,\dots,\infty.    \end{alignat*}


    Once these coefficients are known, we can proceed as before with \omega replaced by \frac{2\pi}{\tau}.
  • The solutions shown are for the steady state only. If we are interested in the transient solution as well, we must add the solution to 

    (6.10)   \begin{alignat*}{2}             m \ddot{x} + c \dot{x} + k x = 0 \end{alignat*}

    to our solution. The solution to (6.10) for the underdamped case is 

        \begin{alignat*}{2}    x(t) = e^{-\zeta p t} \Bigl[ A \sin(\sqrt{1-\zeta^2}pt) + B \cos(\sqrt{1-\zeta^2}pt)\Bigr]      \end{alignat*}

    in which the two constants A and B are determined using initial conditions. These constants must be determined using the complete solution, so the Fourier coefficients need to be determined before A and B can be evaluated.

EXAMPLE

A 3.68 kg slider is placed in a smooth tube with an internal diameter of 40 mm. The spring has a stiffness of 284 N/m. One side of the tube is open to the atmosphere. The pressure on the other side varies periodically as shown in the graph.

Determine the steady state response of the slider

Video Lecture: Non-harmonic Periodic Forcing Functions

Leave a Reply

Your email address will not be published.