The harmonic oscillator model is 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 asclocks and radio circuits.
If a frictional force (damping) proportional to thevelocity is also present, the harmonic oscillator is described as adamped oscillator. Depending on the friction coefficient, the system can:
Oscillate with a frequency lower than in theundamped case, and anamplitude decreasing with time (underdamped oscillator).
Decay to the equilibrium position, without oscillations (overdamped oscillator).
Theboundary solution between an underdamped oscillator and an overdamped oscillator occurs at a particular value of the friction coefficient and is calledcritically damped.
If an external time-dependent force is present, the harmonic oscillator is described as adriven oscillator.
A simple harmonic oscillator is an oscillator that is neither driven nordamped. It consists of a massm, which experiences a single forceF, which pulls the mass in the direction of the pointx = 0 and depends only on the positionx of the mass and a constantk. Balance of forces (Newton's second law) for the system is
Solving thisdifferential equation, we find that the motion is described by the functionwhere
The motion isperiodic, repeating itself in asinusoidal fashion with constant amplitudeA. In addition to its amplitude, the motion of a simple harmonic oscillator is characterized by itsperiod, the time for a single oscillation or its frequency, the number of cycles per unit time. The position at a given timet also depends on thephaseφ, which determines the starting point on the sine wave. The period and frequency are determined by the size of the massm and the force constantk, while the amplitude and phase are determined by the starting position andvelocity.
The velocity andacceleration 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 positionx is
Dependence of the system behavior on the value of the damping ratioζPhase portrait of damped oscillator, with increasing damping strength.Video clip demonstrating a damped harmonic oscillator consisting of a dynamics cart between two springs. Anaccelerometer 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 forceFf can be modeled as being proportional to the velocityv of the object:Ff = −cv, wherec is called theviscous 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 formwhere
Step response of a damped harmonic oscillator; curves are plotted for three values ofμ =ω1 =ω0√1 − ζ2. 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:
Overdamped (ζ > 1): The system returns (exponentially decays) to steady state without oscillating. Larger values of the damping ratioζ return to equilibrium more slowly.
Critically damped (ζ = 1): The system returns to steady state as quickly as possible without oscillating (although overshoot can occur if the initial velocity is nonzero). 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. Theangular frequency of the underdamped harmonic oscillator is given by theexponential decay of the underdamped harmonic oscillator is given by
This equation can be solved exactly for any driving force, using the solutionsz(t) that satisfy the unforced equation
and which can be expressed as damped sinusoidal oscillations:in the case whereζ ≤ 1. The amplitudeA and phaseφ determine the behavior needed to match the initial conditions.
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 calledrelaxation, andτ is called the relaxation time.
In electrical engineering, a multiple ofτ is called thesettling time, i.e. the time necessary to ensure the signal is within a fixed departure from final value, typically within 10%. The termovershoot refers to the extent the response maximum exceeds final value, andundershoot refers to the extent the response falls below final value for times following the response maximum.
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 drivingfrequency for a sinusoidal driving mechanism. This type of system appears inAC-drivenRLC circuits (resistor–inductor–capacitor) and driven spring systems having internal mechanical resistance or externalair resistance.
The general solution is a sum of atransient solution that depends on initial conditions, and asteady state that is independent of initial conditions and depends only on the driving amplitude, driving frequency, undamped angular frequency, and the damping ratio.
is thephase 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 theresonance, 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 system's response to other events that occurred previously.
Aparametric 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 playgroundswing.[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 classicalvaractor parametric oscillator oscillates when thediode'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, theOptical parametric oscillator converts an inputlaser 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 theinstability phenomenon.
The equationis known as theuniversal oscillator equation, since all second-order linear oscillatory systems can be reduced to this form.[citation needed] This is done throughnondimensionalization.
If the forcing function isf(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".
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 onresonance, as well as the "magnitude part" of theRLC circuit. This amplitude function is particularly important in the analysis and understanding of thefrequency response of second-order systems.
Harmonic oscillators occurring in a number of areas of engineering are equivalent in the sense that their mathematical models are identical (seeuniversal 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.
The problem of the simple harmonic oscillator occurs frequently in physics, because a mass at equilibrium under the influence of anyconservative force, in the limit of small motions, behaves as a simple harmonic oscillator.
A conservative force is one that is associated with apotential energy. The potential-energy function of a harmonic oscillator is
Given an arbitrary potential-energy function, one can do aTaylor 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:
Theconstant termV(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-vanishingsecond derivative, one can use the solution to the simple harmonic oscillator to provide an approximate solution for small perturbations around the equilibrium point.
Asimple 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 localacceleration 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 iswhere and are constants that depend on the initial conditions.Using as initial conditions and, the solution is given bywhere is the largest angle attained by the pendulum (that is, is the amplitude of the pendulum). Theperiod, the time for one complete oscillation, is given by the expressionwhich 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 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:whereF is the force,k is the spring constant, andx 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 beingNewton's second law of motion.
If the initial displacement isA, 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, itseffective mass must be included in.
In terms of energy, all systems have two types of energy:potential energy andkinetic 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. Byconservation 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.