next up previous contents index
Next: Sinusoidal Solution Up: The Oscillator Previous: The Oscillator   Contents   Index


The Simple Harmonic Oscillator

The simple harmonic oscillator, perhaps the single most important ordinary differential equation (ODE) in physics, and of central importance to musical sound synthesis, is defined as

$\displaystyle \frac{d^2 u}{dt^2} = -\omega_{0}^2 u$ (3.1)

It is a second order ODE, and depends on the single parameter $ \omega _{0}$, also known as the angular frequency of oscillation. The frequency $ f_{0}$, in Hertz, is given by $ f_{0} = \omega_{0}/2\pi$. The harmonic oscillator, as it is second order, requires the specification of two initial conditions, normally

$\displaystyle u(0) = u_{0}\qquad \frac{du}{dt}\Big\vert _{t=0} = v_{0}$ (3.2)

Equation (3.1) above may be arrived at in a variety of different contexts. In mechanics and acoustics, the canonical example is that of the mass/spring system, illustrated in Figure 3.1(a). A mass $ M$ is connected, via a linear spring of spring constant $ K$ to a rigid support, and $ u(t)$ represents the variation of the displacement of the mass about an equilibrium distance. Under these conditions, and if initial conditions such as $ u_{0}$ and $ v_{0}$ above are given, $ u(t)$ satisfies (3.1) with $ \omega_{0} = \sqrt{K/M}$. The oscillator also appears naturally in electrical circuit theory, as illustrated in Figure 3.1(b)--here, $ u(t)$ represents the voltage across a linear capacitor, of capacitance $ C$ in series with an linear inductor of inductance $ L$. Again, if appropriate initial conditions are supplied, the voltage will evolve according to (3.1), with $ \omega_{0} = 1/\sqrt{LC}$. Though electrical circuit theory would appear to be a poor match for problems involving musical instrument modelling, and in fact will not appear further in this book, it is worth keeping in mind that scattering methods such as digital waveguides [209] and wave digital filters [81], which are heavily used in physical modelling sound synthesis, were all first developed in the context of electrical circuit theory. There is also, of course, a long tradition in acoustics of modeling lumped systems in terms of equivalent circuit elements, primarily for simplicity of representation.

Figure: (a) Mass-spring system, with a mass $ M$ and a spring of stiffness $ K$, for which the displacement $ u(t)$, measured about an equilibrium distance (marked as 0) solves (3.1). (b) A series connection of an inductor, of inductance $ L$, and a capacitor or capacitance $ C$, for which the voltage $ u(t)$ across the capacitor solves (3.1).
\begin{figure}
\begin{center}
\begin{picture}(400,110)
% graphpaper(0,0)(4...
...45){$u(t)$}
\put(315,-20){(b)}
\end{picture}
\end{center}
\end{figure}



Subsections
next up previous contents index
Next: Sinusoidal Solution Up: The Oscillator Previous: The Oscillator   Contents   Index
Stefan Bilbao 2006-11-15