 Harmonic oscillator

This article is about the harmonic oscillator in classical mechanics. For its uses in quantum mechanics, see quantum harmonic oscillator.
In classical mechanics, a harmonic oscillator is a system that, when displaced from its equilibrium position, experiences a restoring force, F, proportional to the displacement, x:
where k is a positive constant.
If F is the only force acting on the system, the system is called a simple harmonic oscillator, and it undergoes simple harmonic motion: sinusoidal oscillations about the equilibrium point, with a constant amplitude and a constant frequency (which does not depend on the amplitude).
If a frictional force (damping) proportional to the velocity is also present, the harmonic oscillator is described as a damped oscillator. Depending on the friction coefficient, the system can:
 Oscillate with a frequency smaller than in the nondamped case, and an amplitude decreasing with time (underdamped oscillator).
 Decay exponentially to the equilibrium position, without oscillations (overdamped oscillator).
If an external time dependent force is present, the harmonic oscillator is described as a driven oscillator.
Mechanical examples include pendula (with small angles of displacement), masses connected to springs, and acoustical systems. Other analogous systems include electrical harmonic oscillators such as RLC circuits. The harmonic oscillator model is very important in physics, because any mass subject to a force in stable equilibrium acts as a harmonic oscillator for small vibrations. Harmonic oscillators occur widely in nature and are exploited in many manmade devices, such as clocks and radio circuits. They are the source of virtually all sinusoidal vibrations and waves.
Contents
Simple harmonic oscillator
Main article: Simple harmonic motionA simple harmonic oscillator is an oscillator that is neither driven nor damped. It consists of a mass m,which experiences a single force, F, which pulls the mass in the direction of the point x=0 and depends only on the mass's position x and a constant k. Newton's second law for the system is
Solving this differential equation, we find that the motion is described by the function
where
The motion is periodic— repeating itself in a sinusoidal fashion with constant amplitude, A. In addition to its amplitude, the motion of a simple harmonic oscillator is characterized by its period T, the time for a single oscillation or its frequency f = ^{1}⁄_{T}, the number of cycles per unit time. The position at a given time t also depends on the phase, φ, which determines the starting point on the sine wave. The period and frequency are determined by the size of the mass m and the force constant k, while the amplitude and phase are determined by the starting position and velocity.
The velocity and acceleration of a simple harmonic oscillator oscillate with the same frequency as the position but with shifted phases. The velocity is maximum for zero displacement, while the acceleration is in the opposite direction as the displacement.
The potential energy stored in a simple harmonic oscillator at position x is
Damped harmonic oscillator
Main article: DampingIn real oscillators, friction, or damping, slows the motion of the system. In many vibrating systems the frictional force F_{f} can be modeled as being proportional to the velocity v of the object: F_{f} = −cv, where c is called the viscous damping coefficient.
Newton's second law for damped harmonic oscillators is then
This is rewritten into the form
where
 is called the 'undamped angular frequency of the oscillator' and
 is called the 'damping ratio'.
The value of the damping ratio ζ critically determines the behavior of the system. A damped harmonic oscillator can be:
 Overdamped (ζ > 1): The system returns (exponentially decays) to equilibrium without oscillating. Larger values of the damping ratio ζ return to equilibrium slower.
 Critically damped (ζ = 1): The system returns to equilibrium as quickly as possible without oscillating. This is often desired for the damping of systems such as doors.
 Underdamped (ζ < 1): The system oscillates (with a slightly different frequency than the undamped case) with the amplitude gradually decreasing to zero. The angular frequency of the underdamped harmonic oscillator is given by
The Q factor of a damped oscillator is defined asQ is related to the damping ratio by the equation
Driven harmonic oscillators
Driven harmonic oscillators are damped oscillators further affected by an externally applied force F(t).
Newton's second law takes the form
It is usually rewritten into the form
This equation can be solved exactly for any driving force using the solutions z(t) to the unforced equation, which satisfy
and which can be expressed as damped sinusoidal oscillations,
in the case where ζ ≤ 1. The amplitude A and phase φ determine the behavior needed to match the initial conditions.
Step input
See also: Step responseIn the case ζ < 1 and a unit step input with x(0) = 0:
the solution is:
with phase φ given by
This behavior is found in (for example) feedback amplifiers, where the amplifier design is adjusted to obtain the fastest step response possible without undue overshoot or undershoot and with an adequate settling time.
The time an oscillator needs to adapt to changed external conditions is of the order τ = 1/(ζω_{0}). In physics, the adaptation is called relaxation, and τ is called the relaxation time.
In electrical engineering, a multiple of τ is called the settling time, i.e. the time necessary to insure the signal is within a fixed departure from final value, typically within 10%. The term overshoot refers to the extent the maximum response exceeds final value, and undershoot refers to the extent the response falls below final value for times following the maximum response.
Sinusoidal driving force
In the case of a sinusoidal driving force:
where is the driving amplitude and is the driving frequency for a sinusoidal driving mechanism. This type of system appears in AC driven RLC circuits (resistorinductorcapacitor) and driven spring systems having internal mechanical resistance or external air resistance.
The general solution is a sum of a transient solution that depends on initial conditions, and a steady state that is independent of initial conditions and depends only on the driving amplitude , driving frequency, , undamped angular frequency , and the damping ratio .
The steadystate solution is proportional to the driving force with an induced phase change of :
where
is the absolute value of the impedance or linear response function and
is the phase of the oscillation relative to the driving force.
For a particular driving frequency called the resonance frequency , the amplitude (for a given ) is maximum. This resonance effect only occurs when , i.e. for significantly underdamped systems. For strongly underdamped systems the value of the amplitude can become quite large near the resonance frequency.
The transient solutions are the same as the unforced () damped harmonic oscillator and represent the systems response to other events that occurred previously. The transient solutions typically die out rapidly enough that they can be ignored.
Parametric oscillators
Main article: Parametric oscillatorA parametric oscillator is a harmonic oscillator whose parameters oscillate in time. For example, a well known parametric oscillator is a child on a swing where periodically changing the child's center of gravity causes the swing to oscillate. The varying of the parameters drives the system. Examples of parameters that may be varied are its resonance frequency ω and damping β.
Parametric oscillators are used in many applications. The classical varactor parametric oscillator oscillates when the diode's capacitance is varied periodically. The circuit that varies the diode's capacitance is called the "pump" or "driver". In microwave electronics, waveguide/YAG based parametric oscillators operate in the same fashion. The designer varies a parameter periodically to induce oscillations.
Parametric oscillators have been developed as lownoise amplifiers, especially in the radio and microwave frequency range. Thermal noise is minimal, since a reactance (not a resistance) is varied. Another common use is frequency conversion, e.g., conversion from audio to radio frequencies. For example, the Optical parametric oscillator converts an input laser wave into two output waves of lower frequency (ω_{s},ω_{i}).
Parametric resonance occurs in a mechanical system when a system is parametrically excited and oscillates at one of its resonant frequencies. Parametric excitation differs from forcing, since the action appears as a time varying modification on a system parameter. This effect is different from regular resonance because it exhibits the instability phenomenon.
Universal oscillator equation
The equation
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(ωt_{c}τ) = cos(ωτ), where ω = ωt_{c}, the equation becomes
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 c_{1} and c_{2}
The transient solution is independent of the forcing function.
Steadystate solution
Apply the "complex variables method" by solving the auxiliary equation below and then finding the real part of its solution:
Supposing the solution is of the form
Its derivatives from zero to 2nd order are
Substituting these quantities into the differential equation gives
Dividing by the exponential term on the left results in
Equating the real and imaginary parts results in two independent equations
Amplitude part
Squaring both equations and adding them together gives
By convention the positive root is taken since amplitude is usually considered a positive quantity. Therefore,
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 secondorder systems.
Phase part
To solve for φ, divide both equations to get
This phase function is particularly important in the analysis and understanding of the frequency response of secondorder systems.
Full solution
Combining the amplitude and phase portions results in the steadystate solution
The solution of original universal oscillator equation is a superposition (sum) of the transient and steadystate solutions
For a more complete description of how to solve the above equation, see linear ODEs with constant coefficients.
Equivalent systems
Harmonic oscillators occurring in a number of areas of engineering are equivalent in the sense that their mathematical models are identical (see universal oscillator equation above). Below is a table showing analogous quantities in four harmonic oscillator systems in mechanics and electronics. If analogous parameters on the same line in the table are given numerically equal values, the behavior of the oscillators—their output waveform, resonant frequency, damping factor, etc.—are the same.
Translational Mechanical Torsional Mechanical Series RLC Circuit Parallel RLC Circuit Position Angle Charge Voltage Velocity Angular velocity Current Mass Moment of inertia Inductance Capacitance Spring constant Torsion constant Elastance Susceptance Friction Rotational friction Resistance Conductance Drive force Drive torque Undamped resonant frequency : Differential equation: Application to a conservative force
The problem of the simple harmonic oscillator occurs frequently in physics, because a mass at equilibrium under the influence of any conservative force, in the limit of small motions, behaves as a simple harmonic oscillator.
A conservative force is one that has a potential energy function. The potential energy function of a harmonic oscillator is:
Given an arbitrary potential energy function V(x), one can do a Taylor expansion in terms of x around an energy minimum (x = x_{0}) to model the behavior of small perturbations from equilibrium.
Because V(x_{0}) is a minimum, the first derivative evaluated at x_{0} must be zero, so the linear term drops out:
The constant term V(x_{0}) is arbitrary and thus may be dropped, and a coordinate transformation allows the form of the simple harmonic oscillator to be retrieved:
Thus, given an arbitrary potential energy function V(x) with a nonvanishing second derivative, one can use the solution to the simple harmonic oscillator to provide an approximate solution for small perturbations around the equilibrium point.
Examples
Simple pendulum
Assuming no damping and small amplitudes, the differential equation governing a simple pendulum is
The solution to this equation is given by:
where θ_{0} is the largest angle attained by the pendulum. The period, the time for one complete oscillation, is given by 2π divided by whatever is multiplying the time in the argument of the cosine ( here).
Pendulum swinging over turntable
Simple harmonic motion can in some cases be considered to be the onedimensional projection of twodimensional circular motion. Consider a long pendulum swinging over the turntable of a record player. On the edge of the turntable there is an object. If the object is viewed from the same level as the turntable, a projection of the motion of the object seems to be moving backwards and forwards on a straight line orthogonal to the view direction, sinusoidally like the pendulum.
Spring–mass system
When a spring is stretched or compressed by a mass, the spring develops a restoring force. Hooke's law gives the relationship of the force exerted by the spring when the spring is compressed or stretched a certain length:
where F is the force, k is the spring constant, and x is the displacement of the mass with respect to the equilibrium position. This relationship shows that the distance of the spring is always opposite to the force of the spring.
By using either force balance or an energy method, it can be readily shown that the motion of this system is given by the following differential equation:
...the latter evidently being Newton's second law of motion.
If the initial displacement is A, and there is no initial velocity, the solution of this equation is given by:
Given an ideal massless spring, m is the mass on the end of the spring. If the spring itself has mass, its effective mass must be included in m.
Energy variation in the spring–damping system
In terms of energy, all systems have two types of energy, potential energy and kinetic energy. When a spring is stretched or compressed, it stores elastic potential energy, which then is transferred into kinetic energy. The potential energy within a spring is determined by the equation U = kx^{2} / 2.
When the spring is stretched or compressed, kinetic energy of the mass gets converted into potential energy of the spring. By conservation of energy, assuming the datum is defined at the equilibrium position, when the spring reaches its maximum potential energy, the kinetic energy of the mass is zero. When the spring is released, it tries to return to equilibrium, and all its potential energy converts to kinetic energy of the mass.
See also
 Anharmonic oscillator
 Critical speed
 Effective mass (springmass system)
 Normal mode
 Parametric oscillator
 Q factor
 Quantum harmonic oscillator
 Radial harmonic oscillator
References
 Serway, Raymond A.; Jewett, John W. (2003). Physics for Scientists and Engineers. Brooks/Cole. ISBN 0534408427.
 Tipler, Paul (1998). Physics for Scientists and Engineers: Vol. 1 (4th ed.). W. H. Freeman. ISBN 1572594926.
 Wylie, C. R. (1975). Advanced Engineering Mathematics (4th ed.). McGrawHill. ISBN 0070721807.
External links
 Harmonic Oscillator from The Chaos Hypertextbook
 A Java applet of harmonic oscillator with damping proportional to velocity or damping caused by dry friction
Categories: Mechanical vibrations
 Ordinary differential equations
Wikimedia Foundation. 2010.
Look at other dictionaries:
harmonic oscillator — harmonikų generatorius statusas T sritis Standartizacija ir metrologija apibrėžtis Kartotinių dažnių (harmonikų) virpesių generatorius. atitikmenys: angl. harmonic generator; harmonic oscillator vok. Oberschwingungserzeuger, m; Oberwellenerzeuger … Penkiakalbis aiškinamasis metrologijos terminų žodynas
harmonic oscillator — harmonikų generatorius statusas T sritis Standartizacija ir metrologija apibrėžtis Įtaisas, keičiantis pamatinio generatoriaus harmoninius virpesius į kartotinio dažnio virpesius – harmonikas. atitikmenys: angl. harmonic generator; harmonic… … Penkiakalbis aiškinamasis metrologijos terminų žodynas
harmonic oscillator — harmonikų generatorius statusas T sritis fizika atitikmenys: angl. harmonic generator; harmonic oscillator vok. Oberschwingungserzeuger, m; Oberwellenerzeuger, m rus. генератор гармоник, m pranc. générateur d’harmoniques, m … Fizikos terminų žodynas
harmonic oscillator — harmoninis osciliatorius statusas T sritis fizika atitikmenys: angl. harmonic oscillator vok. harmonischer Oszillator, m rus. гармонический осциллятор, m pranc. oscillateur harmonique, m … Fizikos terminų žodynas
harmonic oscillator — noun A system which, when displaced from its equilibrium position, experiences a restoring force proportional to the displacement according to Hookes law: , where is a positive constant … Wiktionary
Quantum harmonic oscillator — The quantum harmonic oscillator is the quantum mechanical analogue of the classical harmonic oscillator. It is one of the most important model systems in quantum mechanics because an arbitrary potential can be approximated as a harmonic potential … Wikipedia
Harmonic series (music) — Harmonic series of a string. Pitched musical instruments are often based on an approximate harmonic oscillator such as a string or a column of air, which oscillates at numerous frequencies simultaneously. At these resonant frequencies, waves… … Wikipedia
Harmonic motion — can mean: The motion of a Harmonic oscillator (in physics), which can be: Simple harmonic motion Complex harmonic motion Keplers laws of planetary motion (in physics, known as the harmonic law) Quasi harmonic motion: Unit… … Wikipedia
Harmonic — This article is about the components of periodic signals. For other uses, see Harmonic (disambiguation). The nodes of a vibrating string are harmonics. A harmonic of a wave is a component frequency of the signal that is an integer multiple of the … Wikipedia
Oscillator (disambiguation) — An oscillator is a device designed for oscillation. Oscillator may also refer to: Electronic oscillator Harmonic oscillator Oscillator (technical analysis), a method used in technical analysis of financial markets Oscillator (cellular automaton)… … Wikipedia