Harmonic oscillator

Last updated

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:

Contents

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:

The boundary solution between an underdamped oscillator and an overdamped oscillator occurs at a particular value of the friction coefficient and is called critically damped.

If an external time-dependent force is present, the harmonic oscillator is described as a driven oscillator.

Mechanical examples include pendulums (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.

Simple harmonic oscillator

Animated-mass-spring-faster.gif
Mass-spring harmonic oscillator
Simple harmonic motion animation.gif
Simple harmonic motion

A 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 position x of the mass and a constant k. Balance of forces (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 , the time for a single oscillation or its frequency , 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 maximal for zero displacement, while the acceleration is in the direction opposite to the displacement.

The potential energy stored in a simple harmonic oscillator at position x is

Damped harmonic oscillator

Dependence of the system behavior on the value of the damping ratio z Damping 1.svg
Dependence of the system behavior on the value of the damping ratio ζ
Phase portrait of damped oscillator, with increasing damping strength. Phase portrait of damped oscillator, with increasing damping strength.gif
Phase portrait of damped oscillator, with increasing damping strength.
Video clip demonstrating a damped harmonic oscillator consisting of a dynamics cart between two springs. An accelerometer on top of the cart shows the magnitude and direction of the acceleration.

In real oscillators, friction, or damping, slows the motion of the system. Due to frictional force, the velocity decreases in proportion to the acting frictional force. While in a simple undriven harmonic oscillator the only force acting on the mass is the restoring force, in a damped harmonic oscillator there is in addition a frictional force which is always in a direction to oppose the motion. In many vibrating systems the frictional force Ff can be modeled as being proportional to the velocity v of the object: Ff = −cv, where c is called the viscous damping coefficient.

The balance of forces (Newton's second law) for damped harmonic oscillators is then [1] [2] [3]

which can be rewritten into the form

where

Step response of a damped harmonic oscillator; curves are plotted for three values of m = o1 = o0[?]1 - z. Time is in units of the decay time t = 1/(zo0). Step response for two-pole feedback amplifier.PNG
Step response of a damped harmonic oscillator; curves are plotted for three values of μ = ω1 = ω01 − ζ. Time is in units of the decay time τ = 1/(ζω0).

The value of the damping ratio ζ critically determines the behavior of the system. A damped harmonic oscillator can be:

The Q factor of a damped oscillator is defined as

Q is related to the damping ratio by

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) that satisfy the unforced equation

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

In the case ζ < 1 and a unit step input with x(0) = 0:

the solution is

with phase φ given by

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 ensure the signal is within a fixed departure from final value, typically within 10%. The term overshoot refers to the extent the response maximum exceeds final value, and undershoot refers to the extent the response falls below final value for times following the response maximum.

Sinusoidal driving force

Steady-state variation of amplitude with relative frequency
o
/
o
0
{\displaystyle \omega /\omega _{0}}
and damping
z
{\displaystyle \zeta }
of a driven harmonic oscillator. This plot is also called the harmonic oscillator spectrum or motional spectrum. Mplwp resonance zeta envelope.svg
Steady-state variation of amplitude with relative frequency and damping of a driven harmonic oscillator. This plot is also called the harmonic oscillator spectrum or motional spectrum.

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 steady-state solution is proportional to the driving force with an induced phase change :

where

is the absolute value of the impedance or linear response function, and

is the phase of the oscillation relative to the driving force. The phase value is usually taken to be between −180° and 0 (that is, it represents a phase lag, for both positive and negative values of the arctan argument).

For a particular driving frequency called the resonance, or resonant frequency , the amplitude (for a given ) is maximal. 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 resonant 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

A parametric oscillator is a driven harmonic oscillator in which the drive energy is provided by varying the parameters of the oscillator, such as the damping or restoring force. A familiar example of parametric oscillation is "pumping" on a playground swing. [4] [5] [6] A person on a moving swing can increase the amplitude of the swing's oscillations without any external drive force (pushes) being applied, by changing the moment of inertia of the swing by rocking back and forth ("pumping") or alternately standing and squatting, in rhythm with the swing's oscillations. 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 low-noise 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 ().

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.[ citation needed ] This is done through nondimensionalization.

If the forcing function is f(t) = cos(ωt) = cos(ωtcτ) = cos(ωτ), where ω = ωtc, 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 c1 and c2

The transient solution is independent of the forcing function.

Steady-state 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 zeroth to second 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

Bode plot of the frequency response of an ideal harmonic oscillator Harmonic oscillator gain.svg
Bode plot of the frequency response of an ideal harmonic oscillator

Squaring both equations and adding them together gives

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 second-order 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 second-order systems.

Full solution

Combining the amplitude and phase portions results in the steady-state solution

The solution of original universal oscillator equation is a superposition (sum) of the transient and steady-state solutions:

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 mechanicalRotational mechanical Series RLC circuit Parallel RLC circuit
Position Angle Charge Flux linkage
Velocity Angular velocity Current Voltage
Mass Moment of inertia Inductance Capacitance
Momentum Angular momentum Flux linkage Charge
Spring constant Torsion constant Elastance Magnetic reluctance
Damping Rotational friction Resistance Conductance
Drive force Drive torque Voltage Current
Undamped resonant frequency :
Damping ratio :
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 is associated with a potential energy. The potential-energy function of a harmonic oscillator is

Given an arbitrary potential-energy function , one can do a Taylor expansion in terms of around an energy minimum () to model the behavior of small perturbations from equilibrium.

Because is a minimum, the first derivative evaluated at must be zero, so the linear term drops out:

The constant term V(x0) 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 with a non-vanishing 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

A simple pendulum exhibits approximately simple harmonic motion under the conditions of no damping and small amplitude. Simple pendulum height.svg
A simple pendulum exhibits approximately simple harmonic motion under the conditions of no damping and small amplitude.

Assuming no damping, the differential equation governing a simple pendulum of length , where is the local acceleration of gravity, is

If the maximal displacement of the pendulum is small, we can use the approximation and instead consider the equation

The general solution to this differential equation is

where and are constants that depend on the initial conditions. Using as initial conditions and , the solution is given by

where is the largest angle attained by the pendulum (that is, is the amplitude of the pendulum). The period, the time for one complete oscillation, is given by the expression

which is a good approximation of the actual period when is small. Notice that in this approximation the period is independent of the amplitude . In the above equation, represents the angular frequency.

Spring/mass system

Spring-mass system in equilibrium (A), compressed (B) and stretched (C) states Harmonic oscillator.svg
Spring–mass system in equilibrium (A), compressed (B) and stretched (C) states

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. The minus sign in the equation indicates that the force exerted by the spring always acts in a direction that is opposite to the displacement (i.e. the force always acts towards the zero position), and so prevents the mass from flying off to infinity.

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 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, is the mass on the end of the spring. If the spring itself has mass, its effective mass must be included in .

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 is then transferred into kinetic energy. The potential energy within a spring is determined by the equation

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 maximal 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.

Definition of terms

SymbolDefinitionDimensionsSI units
Acceleration of massm/s2
Peak amplitude of oscillationm
Viscous damping coefficientN·s/m
FrequencyHz
Drive forceN
Acceleration of gravity at the Earth's surfacem/s2
Imaginary unit,
Spring constantN/m
Torsion Spring constantNm/rad
Masskg
Quality factor
Period of oscillations
Times
Potential energy stored in oscillatorJ
Position of massm
Damping ratio
Phase shiftrad
Angular frequencyrad/s
Natural resonant angular frequencyrad/s

See also

Notes

  1. Fowles & Cassiday (1986 , p. 86)
  2. Kreyszig (1972 , p. 65)
  3. Tipler (1998 , pp. 369, 389)
  4. Case, William. "Two ways of driving a child's swing". Archived from the original on 9 December 2011. Retrieved 27 November 2011.
  5. Case, W. B. (1996). "The pumping of a swing from the standing position". American Journal of Physics. 64 (3): 215–220. Bibcode:1996AmJPh..64..215C. doi:10.1119/1.18209.
  6. Roura, P.; Gonzalez, J.A. (2010). "Towards a more realistic description of swing pumping due to the exchange of angular momentum". European Journal of Physics. 31 (5): 1195–1207. Bibcode:2010EJPh...31.1195R. doi:10.1088/0143-0807/31/5/020. S2CID   122086250.

Related Research Articles

In mechanics and physics, simple harmonic motion is a special type of periodic motion an object experiences due to a restoring force whose magnitude is directly proportional to the distance of the object from an equilibrium position and acts towards the equilibrium position. It results in an oscillation that is described by a sinusoid which continues indefinitely.

<span class="mw-page-title-main">Phase-locked loop</span> Electronic control system

A phase-locked loop or phase lock loop (PLL) is a control system that generates an output signal whose phase is related to the phase of an input signal. There are several different types; the simplest is an electronic circuit consisting of a variable frequency oscillator and a phase detector in a feedback loop. The oscillator's frequency and phase are controlled proportionally by an applied voltage, hence the term voltage-controlled oscillator (VCO). The oscillator generates a periodic signal of a specific frequency, and the phase detector compares the phase of that signal with the phase of the input periodic signal, to adjust the oscillator to keep the phases matched.

<span class="mw-page-title-main">Resonance</span> Tendency to oscillate at certain frequencies

Resonance is a phenomenon that occurs when an object or system is subjected to an external force or vibration that matches its natural frequency. When this happens, the object or system absorbs energy from the external force and starts vibrating with a larger amplitude. Resonance can occur in various systems, such as mechanical, electrical, or acoustic systems, and it is often desirable in certain applications, such as musical instruments or radio receivers. However, resonance can also be detrimental, leading to excessive vibrations or even structural failure in some cases.

<span class="mw-page-title-main">Navier–Stokes equations</span> Equations describing the motion of viscous fluid substances

The Navier–Stokes equations are partial differential equations which describe the motion of viscous fluid substances. They were named after French engineer and physicist Claude-Louis Navier and the Irish physicist and mathematician George Gabriel Stokes. They were developed over several decades of progressively building the theories, from 1822 (Navier) to 1842–1850 (Stokes).

<i>Q</i> factor Parameter describing the longevity of energy in a resonator relative to its resonant frequency

In physics and engineering, the quality factor or Q factor is a dimensionless parameter that describes how underdamped an oscillator or resonator is. It is defined as the ratio of the initial energy stored in the resonator to the energy lost in one radian of the cycle of oscillation. Q factor is alternatively defined as the ratio of a resonator's centre frequency to its bandwidth when subject to an oscillating driving force. These two definitions give numerically similar, but not identical, results. Higher Q indicates a lower rate of energy loss and the oscillations die out more slowly. A pendulum suspended from a high-quality bearing, oscillating in air, has a high Q, while a pendulum immersed in oil has a low one. Resonators with high quality factors have low damping, so that they ring or vibrate longer.

<span class="mw-page-title-main">Theta function</span> Special functions of several complex variables

In mathematics, theta functions are special functions of several complex variables. They show up in many topics, including Abelian varieties, moduli spaces, quadratic forms, and solitons. As Grassmann algebras, they appear in quantum field theory.

In general relativity, Schwarzschild geodesics describe the motion of test particles in the gravitational field of a central fixed mass that is, motion in the Schwarzschild metric. Schwarzschild geodesics have been pivotal in the validation of Einstein's theory of general relativity. For example, they provide accurate predictions of the anomalous precession of the planets in the Solar System and of the deflection of light by gravity.

Nondimensionalization is the partial or full removal of physical dimensions from an equation involving physical quantities by a suitable substitution of variables. This technique can simplify and parameterize problems where measured units are involved. It is closely related to dimensional analysis. In some physical systems, the term scaling is used interchangeably with nondimensionalization, in order to suggest that certain quantities are better measured relative to some appropriate unit. These units refer to quantities intrinsic to the system, rather than units such as SI units. Nondimensionalization is not the same as converting extensive quantities in an equation to intensive quantities, since the latter procedure results in variables that still carry units.

In physical systems, damping is the loss of energy of an oscillating system by dissipation. Damping is an influence within or upon an oscillatory system that has the effect of reducing or preventing its oscillation. Examples of damping include viscous damping in a fluid, surface friction, radiation, resistance in electronic oscillators, and absorption and scattering of light in optical oscillators. Damping not based on energy loss can be important in other oscillating systems such as those that occur in biological systems and bikes. Damping is not to be confused with friction, which is a type of dissipative force acting on a system. Friction can cause or be a factor of damping.

<span class="mw-page-title-main">Duffing equation</span> Non-linear second order differential equation and its attractor

The Duffing equation, named after Georg Duffing (1861–1944), is a non-linear second-order differential equation used to model certain damped and driven oscillators. The equation is given by

<span class="mw-page-title-main">Instantaneous phase and frequency</span> Electrical engineering concept

Instantaneous phase and frequency are important concepts in signal processing that occur in the context of the representation and analysis of time-varying functions. The instantaneous phase (also known as local phase or simply phase) of a complex-valued function s(t), is the real-valued function:

<span class="mw-page-title-main">Bring radical</span> Real root of the polynomial x^5+x+a

In algebra, the Bring radical or ultraradical of a real number a is the unique real root of the polynomial

The Mason–Weaver equation describes the sedimentation and diffusion of solutes under a uniform force, usually a gravitational field. Assuming that the gravitational field is aligned in the z direction, the Mason–Weaver equation may be written

<span class="mw-page-title-main">Parametric oscillator</span>

A parametric oscillator is a driven harmonic oscillator in which the oscillations are driven by varying some parameters of the system at some frequencies, typically different from the natural frequency of the oscillator. A simple example of a parametric oscillator is a child pumping a playground swing by periodically standing and squatting to increase the size of the swing's oscillations. The child's motions vary the moment of inertia of the swing as a pendulum. The "pump" motions of the child must be at twice the frequency of the swing's oscillations. Examples of parameters that may be varied are the oscillator's resonance frequency and damping .

<span class="mw-page-title-main">Toroidal coordinates</span>

Toroidal coordinates are a three-dimensional orthogonal coordinate system that results from rotating the two-dimensional bipolar coordinate system about the axis that separates its two foci. Thus, the two foci and in bipolar coordinates become a ring of radius in the plane of the toroidal coordinate system; the -axis is the axis of rotation. The focal ring is also known as the reference circle.

<span class="mw-page-title-main">Prolate spheroidal coordinates</span>

Prolate spheroidal coordinates are a three-dimensional orthogonal coordinate system that results from rotating the two-dimensional elliptic coordinate system about the focal axis of the ellipse, i.e., the symmetry axis on which the foci are located. Rotation about the other axis produces oblate spheroidal coordinates. Prolate spheroidal coordinates can also be considered as a limiting case of ellipsoidal coordinates in which the two smallest principal axes are equal in length.

<span class="mw-page-title-main">Oblate spheroidal coordinates</span> Three-dimensional orthogonal coordinate system

Oblate spheroidal coordinates are a three-dimensional orthogonal coordinate system that results from rotating the two-dimensional elliptic coordinate system about the non-focal axis of the ellipse, i.e., the symmetry axis that separates the foci. Thus, the two foci are transformed into a ring of radius in the x-y plane. Oblate spheroidal coordinates can also be considered as a limiting case of ellipsoidal coordinates in which the two largest semi-axes are equal in length.

In perturbation theory, the Poincaré–Lindstedt method or Lindstedt–Poincaré method is a technique for uniformly approximating periodic solutions to ordinary differential equations, when regular perturbation approaches fail. The method removes secular terms—terms growing without bound—arising in the straightforward application of perturbation theory to weakly nonlinear problems with finite oscillatory solutions.

<span class="mw-page-title-main">Capstan equation</span> Relates the hold-force to the load-force if a flexible line is wound around a cylinder

The capstan equation or belt friction equation, also known as Euler-Eytelwein formula, relates the hold-force to the load-force if a flexible line is wound around a cylinder.

<span class="mw-page-title-main">RLC circuit</span> Resistor Inductor Capacitor Circuit

An RLC circuit is an electrical circuit consisting of a resistor (R), an inductor (L), and a capacitor (C), connected in series or in parallel. The name of the circuit is derived from the letters that are used to denote the constituent components of this circuit, where the sequence of the components may vary from RLC.

References