Harmonic oscillator

A harmonic oscillator is either

<math> F = - k x\, <math>,where k > 0 is a constant, or
  • any physical system that is analogous to this mechanical system, in which some other quantity behaves in the same way mathematically. Examples of harmonic oscillators include pendulums (in small angles), masses on springs, and RLC circuits.
Contents

Examples

Comparing a mechanical harmonic oscillator with an RLC circuit, the following correspond:

  • force - electric potential
  • position - charge
  • velocity - electric current
    • damping factor - electrical resistance - rate of opposing the latter (in the mechanical case the damping force is here assumed to be proportional to the speed, as opposed to cases where the drag equation applies, with a force proportional to the square of the speed)
  • acceleration - rate of change of current

If F is the only force acting on the mechanical system, the system is called a simple harmonic oscillator. The motion of a simple harmonic oscillator, called simple harmonic motion, is essentially a sine function oscillating about the equilibrium displacement, x = 0, at which the returning force is zero.

  • The potential energy V associated with such a returning force is called a harmonic potential. It has the form
<math>V(x) = \frac{1}{2} k x^2 <math>

The simple harmonic oscillator can also be formulated in terms of the Lagrangian

<math> \mathcal{L} = \frac{1}{2}m\dot{x}^2 - \frac{1}{2}kx^2 <math>

or the Hamiltonian

<math> \mathcal{H} = \frac{p^2}{2 m} + \frac{1}{2}m \omega^2 x^2 <math>

The following article discusses the harmonic oscillator in terms of classical mechanics. See the article quantum harmonic oscillator for a discussion of the harmonic oscillator in quantum mechanics.

Full mathematical definition

Most harmonic oscillators, at least approximately, solve the differential equation:

<math>\frac{d^2x}{dt^2} + b \frac{dx}{dt} + {\omega_0}^2x = A_0 \cos(\omega t) <math>

where t is time, b is the damping constant, ωo is the characteristic angular frequency, and Aocos(ωt) represents something driving the system with amplitude Ao and angular frequency ω. x is the measurement that is oscillating; it can be position, current, or nearly anything else. The angular frequency is related to the frequency, f, by:

<math> f = \frac{\omega}{2 \pi}<math>

Important terms

  • Amplitude: maximal displacement from the equilibrium.
  • Period: the time it takes the system to complete an oscillation cycle.
  • Frequency: the number of cycles the system performs per unit time (usually measured in hertz = 1/s).
  • Angular frequency: <math> \omega = 2 \pi \cdot f <math>
  • Phase: how much of a cycle the system completed (system that begins is in phase zero, system which completed half a cycle is in phase <math> \pi <math>).
  • Initial conditions: the state of the system at t = 0, the beginning of oscillations.

Simple harmonic oscillator

A simple harmonic oscillator is simply an oscillator that is neither damped nor driven. So the equation to describe one is:

<math>\frac{d^2x}{dt^2} + {\omega_0}^2x = 0<math>

Physically, the above never actually exists, since there will always be friction or some other resistance, but two approximate examples are a mass on a spring and an LC circuit.

In the case of a mass hanging on a spring, Newton's Laws, combined with Hooke's law for the behavior of a spring, states that:

<math> -ky = ma<math>

where k is the spring constant, m is the mass, y is the position of the mass, and a is its acceleration. Noting that acceleration is the second derivative of position, we can rewrite the equation as follows:

<math>\frac{d^2y}{dt^2} = -\frac{k}{m}y<math>

The easiest way to solve the above equation is to recognize that when d2z/dt2 ∝ -z, z is some form of sine. So we try the solution:

<math>y = A \cos(\omega t + \delta)<math>
<math>\frac{d^2y}{dt^2} = -A \omega^2 \cos(\omega t + \delta)<math>

where A is the amplitude, δ is the phase shift, and ω is the angular frequency. Substituting, we have:

<math> -A \omega^2 \cos(\omega t +\delta) = -\frac{k}{m} A \cos(\omega t + \delta)<math>

and thus (dividing both sides by -A cos(ωt + δ)):

<math>\omega = \sqrt{\frac{k}{m}}<math>

The above formula reveals that the angular frequency of the solution is only dependent upon the physical characteristics of the system, and not the initial conditions (those are represented by A and δ). That means that what was labelled ω is in fact ωo. This will become important later.

Driven harmonic oscillator

Satisfies equation:

<math>\frac{d^2x}{dt^2} + {\omega_0}^2x = A_0 \cos(\omega t)<math>

Good example: AC LC (inductor-capacitor) circuit.

Damped harmonic oscillator

Satisfies equation:

<math>\frac{d^2x}{dt^2} + b \frac{dx}{dt} + {\omega_0}^2x = 0<math>

Good example: weighted spring underwater

Damped, driven harmonic oscillator

equation:

<math>m\frac{d^2x}{dt^2} + r \frac{dx}{dt} + kx= F_0 \cos(\omega t)<math>

The general solution is a sum of a transient (the solution for damped undriven harmonic oscillator, ` ODE) that depends on initial conditions, and a steady state (particular solution of the unhomogenous ODE) that is independent of initial conditions and depends only on driving frequency, driving force, restoring force, damping force, and inertial moment of the oscillator (see also kernel and image).

The steady state solution is

<math> x(t) = \frac{F_0}{Z_m \cdot\ \omega} \sin(\omega t - \phi)<math>

where

<math> Z_m = \sqrt{r^2 + \left(\omega \cdot m - \frac{k}{\omega}\right)^2}<math>

is the absolute value of the impedance

<math> Z = r + i\left(\omega \cdot m - \frac{k}{\omega}\right) <math>

and

<math> \phi = \arctan\left(\frac{\omega m - \frac{k}{\omega}}{r}\right)<math>

is the phase of the oscillation relative to the driving force.

One might see that for a certain driving frequency, <math> \omega <math>, the amplitude (relative to a given <math>F_0<math>) is maximal. This occurs for the frequency

<math> {\omega}_r = \sqrt{\frac{k}{m} - \frac{r^2}{2 m^2}} <math>

and is called resonance of displacement.

In summary: at steady state the frequency of oscillation is the same as the driving force, but the oscillation is phase offset and scaled by amounts that depend on the frequency of the driving force in relation to the preferred (resonant) frequency of the oscillating system.

Good example: RLC circuit

Universal oscillator equation

The equation

<math>\frac{d^2q}{d \tau^2} + 2 \zeta \frac{dq}{d\tau} + q = 0<math>

is known as the universal oscillator equation since all second order linear oscillatory systems can be reduced to this form. This is done through nondimensionalization.

If the forcing function is f(t) = cos(ωt) = cos(ωtcτ) = cos(Ωτ), where Ω = ωtc, the equation becomes

<math>\frac{d^2q}{d \tau^2} + 2 \zeta \frac{dq}{d\tau} + q = \cos(\Omega \tau).<math>

The solution to this differential equation contains two parts, the "transient" and the "steady state".

Transient solution

The solution based on solving the ordinary differential equation is for arbitrary constants c1 and c2 is

<math>q_t (\tau) = \begin{cases} e^{-\zeta\tau} \left( c_1 e^{\tau \sqrt{\zeta^2 - 1}} + c_2 e^{- \tau \sqrt{\zeta^2 - 1}} \right) & \zeta > 1 \ \mbox{(overdamping)} \\ e^{-\zeta\tau} (c_1+c_2 \tau) = e^{-\tau}(c_1+c_2 \tau) & \zeta = 1 \ \mbox{(critical damping)} \\ e^{-\zeta \tau} \left[ c_1 \cos \left(\sqrt{1-\zeta^2} \tau\right) +c_2 \sin\left(\sqrt{1-\zeta^2} \tau\right) \right] & \zeta < 1 \ \mbox{(underdamping)} \end{cases}<math>

The transient solution is independent of the forcing function. If the system is critically damped, the response is independent of the damping.

Steady state solution

Apply the "complex variables method" by solving the auxillary equation below and then finding the real part of its solution:

<math>\frac{d^2 q}{d\tau^2} + 2 \zeta \frac{dq}{d\tau} + q = \cos(\Omega \tau) + i\sin(\Omega \tau) = e^{ i \Omega \tau} .<math>

Supposing the solution is of the form

<math>\,\! q_s(\tau) = A e^{i ( \Omega \tau + \phi ) } . <math>

Its derivatives from zero to 2nd order are

<math>q_s = A e^{i ( \Omega \tau + \phi ) }, \ \frac{dq_s}{d \tau} = i \Omega A e^{i ( \Omega \tau + \phi ) }, \ \frac{d^2 q_s}{d \tau^2} = - \Omega^2 A e^{i ( \Omega \tau + \phi ) } .<math>

Substituting these quantities into the differential equation gives

<math>\,\! -\Omega^2 A e^{i (\Omega \tau + \phi)} + 2 \zeta i \Omega A e^{i(\Omega \tau + \phi)} + A e^{i(\Omega \tau + \phi)} = (-\Omega^2 A \, + \, 2 \zeta i \Omega A \, + \, A) e^{i (\Omega \tau + \phi)} = e^{i \Omega \tau} .<math>

Dividing by the exponential term on the left results in

<math>\,\! -\Omega^2 A + 2 \zeta i \Omega A + A = e^{-i \phi} = \cos\phi - i \sin\phi . <math>

Equating the real and imaginary parts results in two independent equations

<math>A (1-\Omega^2)=\cos\phi \qquad 2 \zeta \Omega A = - \sin\phi.<math>

Amplitude part

Squaring both equations and adding them together gives

<math>\left . \begin{matrix}A^2 (1-\Omega^2)^2 = \cos^2\phi \\ (2 \zeta \Omega )^2 = \sin^2\phi \end{matrix} \right \} \Rightarrow A^2[(1-\Omega^2)^2 + (2 \zeta \Omega A)^2] = 1. <math>

By convention the positive root is taken since amplitude is usually considered a positive quantity. Therefore,

<math>A = A( \zeta, \Omega) = \frac{1}{\sqrt{(1-\Omega^2)^2 + (2 \zeta \Omega)^2}}.<math>

Compare this result with the theory section on resonance, as well as the "magnitude part" of the RLC circuit. This amplitude function is particularly important in the analysis and understanding of the frequency response of second order systems.

Phase part

To solve for φ, divide both equations to get

<math>\tan\phi = - \frac{2 \zeta \Omega}{ 1 - \Omega^2} = \frac{2 \zeta \Omega}{\Omega^2 - 1} \Rightarrow \phi \equiv \phi(\zeta, \Omega) = \arctan \left( \frac{2 \zeta \Omega}{\Omega^2 - 1} \right ). <math>

This phase function is particularly important in the analysis and understanding of the frequency response of second order systems.

Full solution

The combining the amplitude and phase portions together results in the steady state solution

<math>\,\! q_s (\tau) = A(\zeta,\Omega) \cos(\Omega \tau + \phi(\zeta,\Omega)) = A\cos(\Omega \tau + \phi).<math>

The solution to original universal oscillator equation is a superposition of the transient and steady state solutions

<math>\,\! q(\tau) = q_t (\tau) + q_s (\tau).<math>

A final note on mathematics

For a more complete description of how to solve the above equation, see the article on differential equations.

See also

de:Harmonischer Oszillator it:moto armonico ja:調和振動子 pl:Oscylator harmoniczny sl:Nihanje

Navigation

  • Art and Cultures
    • Art (https://academickids.com/encyclopedia/index.php/Art)
    • Architecture (https://academickids.com/encyclopedia/index.php/Architecture)
    • Cultures (https://www.academickids.com/encyclopedia/index.php/Cultures)
    • Music (https://www.academickids.com/encyclopedia/index.php/Music)
    • Musical Instruments (http://academickids.com/encyclopedia/index.php/List_of_musical_instruments)
  • Biographies (http://www.academickids.com/encyclopedia/index.php/Biographies)
  • Clipart (http://www.academickids.com/encyclopedia/index.php/Clipart)
  • Geography (http://www.academickids.com/encyclopedia/index.php/Geography)
    • Countries of the World (http://www.academickids.com/encyclopedia/index.php/Countries)
    • Maps (http://www.academickids.com/encyclopedia/index.php/Maps)
    • Flags (http://www.academickids.com/encyclopedia/index.php/Flags)
    • Continents (http://www.academickids.com/encyclopedia/index.php/Continents)
  • History (http://www.academickids.com/encyclopedia/index.php/History)
    • Ancient Civilizations (http://www.academickids.com/encyclopedia/index.php/Ancient_Civilizations)
    • Industrial Revolution (http://www.academickids.com/encyclopedia/index.php/Industrial_Revolution)
    • Middle Ages (http://www.academickids.com/encyclopedia/index.php/Middle_Ages)
    • Prehistory (http://www.academickids.com/encyclopedia/index.php/Prehistory)
    • Renaissance (http://www.academickids.com/encyclopedia/index.php/Renaissance)
    • Timelines (http://www.academickids.com/encyclopedia/index.php/Timelines)
    • United States (http://www.academickids.com/encyclopedia/index.php/United_States)
    • Wars (http://www.academickids.com/encyclopedia/index.php/Wars)
    • World History (http://www.academickids.com/encyclopedia/index.php/History_of_the_world)
  • Human Body (http://www.academickids.com/encyclopedia/index.php/Human_Body)
  • Mathematics (http://www.academickids.com/encyclopedia/index.php/Mathematics)
  • Reference (http://www.academickids.com/encyclopedia/index.php/Reference)
  • Science (http://www.academickids.com/encyclopedia/index.php/Science)
    • Animals (http://www.academickids.com/encyclopedia/index.php/Animals)
    • Aviation (http://www.academickids.com/encyclopedia/index.php/Aviation)
    • Dinosaurs (http://www.academickids.com/encyclopedia/index.php/Dinosaurs)
    • Earth (http://www.academickids.com/encyclopedia/index.php/Earth)
    • Inventions (http://www.academickids.com/encyclopedia/index.php/Inventions)
    • Physical Science (http://www.academickids.com/encyclopedia/index.php/Physical_Science)
    • Plants (http://www.academickids.com/encyclopedia/index.php/Plants)
    • Scientists (http://www.academickids.com/encyclopedia/index.php/Scientists)
  • Social Studies (http://www.academickids.com/encyclopedia/index.php/Social_Studies)
    • Anthropology (http://www.academickids.com/encyclopedia/index.php/Anthropology)
    • Economics (http://www.academickids.com/encyclopedia/index.php/Economics)
    • Government (http://www.academickids.com/encyclopedia/index.php/Government)
    • Religion (http://www.academickids.com/encyclopedia/index.php/Religion)
    • Holidays (http://www.academickids.com/encyclopedia/index.php/Holidays)
  • Space and Astronomy
    • Solar System (http://www.academickids.com/encyclopedia/index.php/Solar_System)
    • Planets (http://www.academickids.com/encyclopedia/index.php/Planets)
  • Sports (http://www.academickids.com/encyclopedia/index.php/Sports)
  • Timelines (http://www.academickids.com/encyclopedia/index.php/Timelines)
  • Weather (http://www.academickids.com/encyclopedia/index.php/Weather)
  • US States (http://www.academickids.com/encyclopedia/index.php/US_States)

Information

  • Home Page (http://academickids.com/encyclopedia/index.php)
  • Contact Us (http://www.academickids.com/encyclopedia/index.php/Contactus)

  • Clip Art (http://classroomclipart.com)
Toolbox
Personal tools