HOME

TheInfoList



OR:

In
electronics The field of electronics is a branch of physics and electrical engineering that deals with the emission, behaviour and effects of electrons using electronic devices. Electronics uses active devices to control electron flow by amplification ...
a relaxation oscillator is a
nonlinear In mathematics and science, a nonlinear system is a system in which the change of the output is not proportional to the change of the input. Nonlinear problems are of interest to engineers, biologists, physicists, mathematicians, and many othe ...
electronic oscillator An electronic oscillator is an electronic circuit that produces a periodic, oscillation, oscillating electronic signal, often a sine wave or a square wave or a triangle wave. Oscillation, Oscillators convert direct current (DC) from a power supp ...
circuit that produces a nonsinusoidal repetitive output signal, such as a
triangle wave A triangular wave or triangle wave is a non-sinusoidal waveform named for its triangular shape. It is a periodic, piecewise linear, continuous real function. Like a square wave, the triangle wave contains only odd harmonics. However, the ...
or
square wave A square wave is a non-sinusoidal periodic waveform in which the amplitude alternates at a steady frequency between fixed minimum and maximum values, with the same duration at minimum and maximum. In an ideal square wave, the transitions b ...
. on Peter Millet'
Tubebooks
website
The circuit consists of a
feedback loop Feedback occurs when outputs of a system are routed back as inputs as part of a chain of cause-and-effect that forms a circuit or loop. The system can then be said to ''feed back'' into itself. The notion of cause-and-effect has to be handled c ...
containing a switching device such as a
transistor upright=1.4, gate (G), body (B), source (S) and drain (D) terminals. The gate is separated from the body by an insulating layer (pink). A transistor is a semiconductor device used to Electronic amplifier, amplify or electronic switch, switch e ...
,
comparator In electronics, a comparator is a device that compares two voltages or currents and outputs a digital signal indicating which is larger. It has two analog input terminals V_+ and V_- and one binary digital output V_\text. The output is ideally : ...
,
relay A relay Electromechanical relay schematic showing a control coil, four pairs of normally open and one pair of normally closed contacts An automotive-style miniature relay with the dust cover taken off A relay is an electrically operated switch ...
,
op amp An operational amplifier (often op amp or opamp) is a DC-coupled high- gain electronic voltage amplifier with a differential input and, usually, a single-ended output. In this configuration, an op amp produces an output potential (relative to ...
, or a
negative resistance In electronics, negative resistance (NR) is a property of some electrical circuits and devices in which an increase in voltage across the device's terminals results in a decrease in electric current through it. This is in contrast to an ordina ...
device like a
tunnel diode A tunnel diode or Esaki diode is a type of semiconductor diode that has effectively "negative resistance" due to the quantum mechanical effect called tunneling. It was invented in August 1957 by Leo Esaki, Yuriko Kurose, and Takashi Suzuki ...
, that repetitively charges a
capacitor A capacitor is a device that stores electrical energy in an electric field by virtue of accumulating electric charges on two close surfaces insulated from each other. It is a passive electronic component with two terminals. The effect of ...
or
inductor An inductor, also called a coil, choke, or reactor, is a passive two-terminal electrical component that stores energy in a magnetic field when electric current flows through it. An inductor typically consists of an insulated wire wound into a c ...
through a resistance until it reaches a threshold level, then discharges it again. The
period Period may refer to: Common uses * Era, a length or span of time * Full stop (or period), a punctuation mark Arts, entertainment, and media * Period (music), a concept in musical composition * Periodic sentence (or rhetorical period), a concept ...
of the oscillator depends on the
time constant In physics and engineering, the time constant, usually denoted by the Greek letter (tau), is the parameter characterizing the response to a step input of a first-order, linear time-invariant (LTI) system.Concretely, a first-order LTI system is a sy ...
of the capacitor or inductor circuit. The active device switches abruptly between charging and discharging modes, and thus produces a discontinuously changing repetitive waveform. This contrasts with the other type of electronic oscillator, the harmonic or linear oscillator, which uses an
amplifier An amplifier, electronic amplifier or (informally) amp is an electronic device that can increase the magnitude of a signal (a time-varying voltage or current). It may increase the power significantly, or its main effect may be to boost the v ...
with feedback to excite
resonant Resonance describes the phenomenon of increased amplitude that occurs when the frequency of an applied periodic force (or a Fourier component of it) is equal or close to a natural frequency of the system on which it acts. When an oscilla ...
oscillations in a
resonator A resonator is a device or system that exhibits resonance or resonant behavior. That is, it naturally oscillates with greater amplitude at some frequencies, called resonant frequencies, than at other frequencies. The oscillations in a resonator ...
, producing a
sine wave A sine wave, sinusoidal wave, or just sinusoid is a curve, mathematical curve defined in terms of the ''sine'' trigonometric function, of which it is the graph of a function, graph. It is a type of continuous wave and also a Smoothness, smooth p ...
. Relaxation oscillators are used to produce low frequency signals for applications such as blinking lights (
turn signals The lighting system of a motor vehicle consists of lighting and signalling devices mounted to or integrated into the front, rear, sides, and in some cases the top of a motor vehicle. They illuminate the road ahead for the driver and increase th ...
) and electronic beepers and in
voltage controlled oscillator A microwave (12–18GHz) voltage-controlled oscillator A voltage-controlled oscillator (VCO) is an electronic oscillator whose oscillation frequency is controlled by a voltage input. The applied input voltage determines the instantaneous oscillat ...
s (VCOs),
inverter A power inverter, inverter or invertor is a power electronic device or circuitry that changes direct current (DC) to alternating current (AC). The resulting AC frequency obtained depends on the particular device employed. Inverters do the opp ...
s and switching power supplies, dual-slope analog to digital converters, and
function generator In electrical engineering, a function generator is usually a piece of electronic test equipment or software used to generate different types of electrical waveforms over a wide range of frequencies. Some of the most common waveforms produced ...
s. The term ''relaxation oscillator'' is also applied to
dynamical system In mathematics, a dynamical system is a system in which a Function (mathematics), function describes the time dependence of a Point (geometry), point in an ambient space. Examples include the mathematical models that describe the swinging of a ...
s in many diverse areas of science that produce nonlinear oscillations and can be analyzed using the same mathematical model as electronic relaxation oscillators., For example, geothermal
geyser A geyser (, ) is a spring characterized by an intermittent discharge of water ejected turbulently and accompanied by steam. As a fairly rare phenomenon, the formation of geysers is due to particular hydrogeological conditions that exist only in ...
s, networks of firing
nerve cell A neuron, neurone, or nerve cell is an electrically excitable cell that communicates with other cells via specialized connections called synapses. The neuron is the main component of nervous tissue in all animals except sponges and placozoa. No ...
s,
thermostat A thermostat is a regulating device component which senses the temperature of a physical system and performs actions so that the system's temperature is maintained near a desired setpoint. Thermostats are used in any device or system tha ...
controlled heating systems, Pippard, The Physics of Vibration, p. 41-42
/ref> coupled chemical reactions, the beating human heart, earthquakes, the squeaking of chalk on a blackboard, the cyclic populations of predator and prey animals, and
gene activation Regulation of gene expression, or gene regulation, includes a wide range of mechanisms that are used by cells to increase or decrease the production of specific gene products (protein or RNA). Sophisticated programs of gene expression are wi ...
systems have been modeled as relaxation oscillators. Relaxation oscillations are characterized by two alternating processes on different time scales: a long relaxation period during which the system approaches an
equilibrium point In mathematics, specifically in differential equations, an equilibrium point is a constant solution to a differential equation. Formal definition The point \tilde\in \mathbb^n is an equilibrium point for the differential equation :\frac = \ ...
, alternating with a short impulsive period in which the equilibrium point shifts. The
period Period may refer to: Common uses * Era, a length or span of time * Full stop (or period), a punctuation mark Arts, entertainment, and media * Period (music), a concept in musical composition * Periodic sentence (or rhetorical period), a concept ...
of a relaxation oscillator is mainly determined by the
relaxation time In the physical sciences, relaxation usually means the return of a perturbed system into equilibrium. Each relaxation process can be categorized by a relaxation time τ. The simplest theoretical description of relaxation as function of time ' ...
constant. Relaxation oscillations are a type of
limit cycle In mathematics, in the study of dynamical systems with two-dimensional phase space, a limit cycle is a closed trajectory in phase space having the property that at least one other trajectory spirals into it either as time approaches infinity ...
and are studied in
nonlinear control Nonlinear control theory is the area of control theory which deals with systems that are nonlinear, time-variant, or both. Control theory is an interdisciplinary branch of engineering and mathematics that is concerned with the behavior of dyn ...
theory.see Ch. 9, "Limit cycles and relaxation oscillations" in


Electronic relaxation oscillators

The first relaxation oscillator circuit, the astable multivibrator, was invented by
Henri Abraham Henri Abraham (1868–1943) was a French physicist who made important contributions to the science of radio waves. He performed some of the first measurements of the propagation velocity of radio waves, helped develop France's first triode vacu ...
and Eugene Bloch using
vacuum tube A vacuum tube, electron tube, valve (British usage), or tube (North America), is a device that controls electric current flow in a high vacuum between electrodes to which an electric voltage, potential difference has been applied. The type kn ...
s during
World War I World War I (28 July 1914 11 November 1918), often abbreviated as WWI, was one of the deadliest global conflicts in history. Belligerents included much of Europe, the Russian Empire, the United States, and the Ottoman Empire, with fightin ...
.
Balthasar van der Pol Balthasar van der Pol (27 January 1889 – 6 October 1959) was a Dutch physicist. Life and work Van der Pol began his studies of physics in Utrecht in 1911. J. A. Fleming offered van der Pol the use of the Pender Electrical Laboratory at ...
first distinguished relaxation oscillations from harmonic oscillations, originated the term "relaxation oscillator", and derived the first mathematical model of a relaxation oscillator, the influential
Van der Pol oscillator In dynamics, the Van der Pol oscillator is a non-conservative oscillator with non-linear damping. It evolves in time according to the second-order differential equation: :-\mu(1-x^2)+x= 0, where ''x'' is the position coordinate—which is a f ...
model, in 1920. Van der Pol borrowed the term '' relaxation'' from mechanics; the discharge of the capacitor is analogous to the process of ''
stress relaxation In materials science, stress relaxation is the observed decrease in stress in response to strain generated in the structure. This is primarily due to keeping the structure in a strained condition for some finite interval of time hence causing some ...
'', the gradual disappearance of deformation and return to equilibrium in an
inelastic In economics, elasticity measures the percentage change of one economic variable in response to a percentage change in another. If the price elasticity of the demand of something is -2, a 10% increase in price causes the demand quantity to fall ...
medium. Relaxation oscillators can be divided into two classes *''Sawtooth, sweep, or flyback oscillator'': In this type the energy storage capacitor is charged slowly but discharged rapidly, essentially instantly, by a short circuit through the switching device. Thus there is only one "ramp" in the output waveform which takes up virtually the entire period. The voltage across the capacitor approximates a
sawtooth wave The sawtooth wave (or saw wave) is a kind of non-sinusoidal waveform. It is so named based on its resemblance to the teeth of a plain-toothed saw with a zero rake angle. A single sawtooth, or an intermittently triggered sawtooth, is called a ...
, while the current through the switching device is a sequence of short pulses. *'' Astable multivibrator'': In this type the capacitor is both charged and discharged slowly through a resistor, so the output waveform consists of two parts, an increasing ramp and a decreasing ramp. The voltage across the capacitor approximates a
triangle wave A triangular wave or triangle wave is a non-sinusoidal waveform named for its triangular shape. It is a periodic, piecewise linear, continuous real function. Like a square wave, the triangle wave contains only odd harmonics. However, the ...
form, while the current through the switching device approximates a square wave. Before the advent of microelectronics, simple relaxation oscillators often used a
negative resistance In electronics, negative resistance (NR) is a property of some electrical circuits and devices in which an increase in voltage across the device's terminals results in a decrease in electric current through it. This is in contrast to an ordina ...
device with
hysteresis Hysteresis is the dependence of the state of a system on its history. For example, a magnet may have more than one possible magnetic moment in a given magnetic field, depending on how the field changed in the past. Plots of a single component of ...
such as a
thyratron A thyratron is a type of gas-filled tube used as a high-power electrical switch and controlled rectifier. Thyratrons can handle much greater currents than similar hard-vacuum tubes. Electron multiplication occurs when the gas becomes ionized, p ...
tube,
neon lamp A neon lamp (also neon glow lamp) is a miniature gas discharge lamp. The lamp typically consists of a small glass capsule that contains a mixture of neon and Penning mixture, other gases at a low pressure and two electrodes (an anode and a cold ...
, or
unijunction transistor A unijunction transistor (UJT) is a three-lead electronic semiconductor device with only one junction that acts exclusively as an electrically controlled switch. The UJT is not used as a linear amplifier. It is used in free-running oscillators, sy ...
, however today they are more often built with dedicated integrated circuits such as the 555 timer chip.


Applications

Relaxation oscillators are generally used to produce low
frequency Frequency is the number of occurrences of a repeating event per unit of time. It is also occasionally referred to as ''temporal frequency'' for clarity, and is distinct from ''angular frequency''. Frequency is measured in hertz (Hz) which is eq ...
signals for such applications as blinking lights, and electronic beepers. and
clock signal In electronics and especially synchronous digital circuits, a clock signal (historically also known as ''logic beat'') oscillates between a high and a low state and is used like a metronome to coordinate actions of digital circuits. A clock sign ...
s in some digital circuits. During the vacuum tube era they were used as oscillators in electronic organs and horizontal deflection circuits and time bases for CRT
oscilloscope An oscilloscope (informally a scope) is a type of electronic test instrument that graphically displays varying electrical voltages as a two-dimensional plot of one or more signals as a function of time. The main purposes are to display repetiti ...
s; one of the most common was the Miller integrator circuit invented by Alan Blumlein, which used vacuum tubes as a constant current source to produce a very linear ramp. They are also used in
voltage controlled oscillator A microwave (12–18GHz) voltage-controlled oscillator A voltage-controlled oscillator (VCO) is an electronic oscillator whose oscillation frequency is controlled by a voltage input. The applied input voltage determines the instantaneous oscillat ...
s (VCOs),
inverter A power inverter, inverter or invertor is a power electronic device or circuitry that changes direct current (DC) to alternating current (AC). The resulting AC frequency obtained depends on the particular device employed. Inverters do the opp ...
s and switching power supplies, dual-slope analog to digital converters, and in
function generator In electrical engineering, a function generator is usually a piece of electronic test equipment or software used to generate different types of electrical waveforms over a wide range of frequencies. Some of the most common waveforms produced ...
s to produce square and triangle waves. Relaxation oscillators are widely used because they are easier to design than linear oscillators, are easier to fabricate on
integrated circuit An integrated circuit or monolithic integrated circuit (also referred to as an IC, a chip, or a microchip) is a set of electronic circuits on one small flat piece (or "chip") of semiconductor material, usually silicon. Large numbers of tiny ...
chips because they do not require inductors like LC oscillators, and can be tuned over a wide frequency range. However they have more
phase noise In signal processing, phase noise is the frequency-domain representation of random fluctuations in the phase of a waveform, corresponding to time-domain deviations from perfect periodicity (jitter). Generally speaking, radio-frequency engineers ...
and poorer frequency stability than linear oscillators.


Pearson–Anson oscillator

This example can be implemented with a
capacitive A capacitor is a device that stores electrical energy in an electric field by virtue of accumulating electric charges on two close surfaces insulated from each other. It is a passive electronic component with two terminals. The effect of a c ...
or resistive-capacitive integrating circuit driven respectively by a constant
current Currents, Current or The Current may refer to: Science and technology * Current (fluid), the flow of a liquid or a gas ** Air current, a flow of air ** Ocean current, a current in the ocean *** Rip current, a kind of water current ** Current (stre ...
or
voltage source A voltage source is a two-terminal device which can maintain a fixed voltage. An ideal voltage source can maintain the fixed voltage independent of the load resistance or the output current. However, a real-world voltage source cannot supply unl ...
, and a threshold device with
hysteresis Hysteresis is the dependence of the state of a system on its history. For example, a magnet may have more than one possible magnetic moment in a given magnetic field, depending on how the field changed in the past. Plots of a single component of ...
(
neon lamp A neon lamp (also neon glow lamp) is a miniature gas discharge lamp. The lamp typically consists of a small glass capsule that contains a mixture of neon and Penning mixture, other gases at a low pressure and two electrodes (an anode and a cold ...
,
thyratron A thyratron is a type of gas-filled tube used as a high-power electrical switch and controlled rectifier. Thyratrons can handle much greater currents than similar hard-vacuum tubes. Electron multiplication occurs when the gas becomes ionized, p ...
, diac, reverse-biased
bipolar transistor A bipolar junction transistor (BJT) is a type of transistor that uses both electrons and electron holes as charge carriers. In contrast, a unipolar transistor, such as a field-effect transistor, uses only one kind of charge carrier. A bipolar t ...
, or
unijunction transistor A unijunction transistor (UJT) is a three-lead electronic semiconductor device with only one junction that acts exclusively as an electrically controlled switch. The UJT is not used as a linear amplifier. It is used in free-running oscillators, sy ...
) connected in parallel to the capacitor. The capacitor is charged by the input source causing the voltage across the capacitor to rise. The threshold device does not conduct at all until the capacitor voltage reaches its threshold (trigger) voltage. It then increases heavily its conductance in an avalanche-like manner because of the inherent positive feedback, which quickly discharges the capacitor. When the voltage across the capacitor drops to some lower threshold voltage, the device stops conducting and the capacitor begins charging again, and the cycle repeats
ad infinitum ''Ad infinitum'' is a Latin phrase meaning "to infinity" or "forevermore". Description In context, it usually means "continue forever, without limit" and this can be used to describe a non-terminating process, a non-terminating ''repeating'' pr ...
. If the threshold element is a
neon lamp A neon lamp (also neon glow lamp) is a miniature gas discharge lamp. The lamp typically consists of a small glass capsule that contains a mixture of neon and Penning mixture, other gases at a low pressure and two electrodes (an anode and a cold ...
,When a (neon) cathode glow lamp or thyratron are used as the trigger devices a second resistor with a value of a few tens to hundreds ohms is often placed in series with the gas trigger device to limit the current from the discharging capacitor and prevent the electrodes of the lamp rapidly
sputter In physics, sputtering is a phenomenon in which microscopic particles of a solid material are ejected from its surface, after the material is itself bombarded by energetic particles of a plasma or gas. It occurs naturally in outer space, and ca ...
ing away or the cathode coating of the thyratron being damaged by the repeated pulses of heavy current.
Trigger devices with a third control connection, such as the thyratron or unijunction transistor allow the timing of the discharge of the capacitor to be synchronized with a control pulse. Thus the sawtooth output can be synchronized to signals produced by other circuit elements as it is often used as a scan waveform for a display, such as a
cathode ray tube A cathode-ray tube (CRT) is a vacuum tube containing one or more electron guns, which emit electron beams that are manipulated to display images on a phosphorescent screen. The images may represent electrical waveforms ( oscilloscope), pictu ...
.
the circuit also provides a flash of light with each discharge of the capacitor. This lamp example is depicted below in the typical circuit used to describe the Pearson–Anson effect. The discharging duration can be extended by connecting an additional resistor in series to the threshold element. The two resistors form a voltage divider; so, the additional resistor has to have low enough resistance to reach the low threshold.


Alternative implementation with 555 timer

A similar relaxation oscillator can be built with a 555 timer IC (acting in astable mode) that takes the place of the neon bulb above. That is, when a chosen capacitor is charged to a design value, (e.g., 2/3 of the power supply voltage)
comparator In electronics, a comparator is a device that compares two voltages or currents and outputs a digital signal indicating which is larger. It has two analog input terminals V_+ and V_- and one binary digital output V_\text. The output is ideally : ...
s within the 555 timer flip a transistor switch that gradually discharges that capacitor through a chosen resistor (RC Time Constant) to ground. At the instant the capacitor falls to a sufficiently low value (e.g., 1/3 of the power supply voltage), the switch flips to let the capacitor charge up again. The popular 555's comparator design permits accurate operation with any supply from 5 to 15 volts or even wider. Other, non-comparator oscillators may have unwanted timing changes if the supply voltage changes.


Inductive oscillator

A blocking oscillator using the inductive properties of a pulse
transformer A transformer is a passive component that transfers electrical energy from one electrical circuit to another circuit, or multiple circuits. A varying current in any coil of the transformer produces a varying magnetic flux in the transformer' ...
to generate square waves by driving the transformer into saturation, which then cuts the transformer supply current until the transformer unloads and desaturates, which then triggers another pulse of supply current, generally using a single transistor as the switching element.


Comparator–based relaxation oscillator

Alternatively, when the capacitor reaches each threshold, the charging source can be switched from the positive power supply to the negative power supply or vice versa. This case is shown in the
comparator In electronics, a comparator is a device that compares two voltages or currents and outputs a digital signal indicating which is larger. It has two analog input terminals V_+ and V_- and one binary digital output V_\text. The output is ideally : ...
-based implementation here. This relaxation oscillator is a hysteretic oscillator, named this way because of the
hysteresis Hysteresis is the dependence of the state of a system on its history. For example, a magnet may have more than one possible magnetic moment in a given magnetic field, depending on how the field changed in the past. Plots of a single component of ...
created by the
positive feedback Positive feedback (exacerbating feedback, self-reinforcing feedback) is a process that occurs in a feedback loop which exacerbates the effects of a small disturbance. That is, the effects of a perturbation on a system include an increase in the ...
loop implemented with the
comparator In electronics, a comparator is a device that compares two voltages or currents and outputs a digital signal indicating which is larger. It has two analog input terminals V_+ and V_- and one binary digital output V_\text. The output is ideally : ...
(similar to an
operational amplifier An operational amplifier (often op amp or opamp) is a DC-coupled high-gain electronic voltage amplifier with a differential input and, usually, a single-ended output. In this configuration, an op amp produces an output potential (relative to c ...
). A circuit that implements this form of hysteretic switching is known as a
Schmitt trigger In electronics, a Schmitt trigger is a comparator circuit with hysteresis implemented by applying positive feedback to the noninverting input of a comparator or differential amplifier. It is an active circuit which converts an analog input ...
. Alone, the trigger is a
bistable multivibrator A multivibrator is an electronic circuit used to implement a variety of simple two-state devices such as relaxation oscillators, timers, and flip-flop (electronics), flip-flops. The first multivibrator circuit, the astable multivibrator electronic ...
. However, the slow
negative feedback Negative feedback (or balancing feedback) occurs when some function (Mathematics), function of the output of a system, process, or mechanism is feedback, fed back in a manner that tends to reduce the fluctuations in the output, whether caused by ...
added to the trigger by the RC circuit causes the circuit to oscillate automatically. That is, the addition of the RC circuit turns the hysteretic bistable
multivibrator A multivibrator is an electronic circuit used to implement a variety of simple two-state devices such as relaxation oscillators, timers, and flip-flops. The first multivibrator circuit, the astable multivibrator oscillator, was invented by Henri ...
into an astable multivibrator.


General concept

The system is in unstable equilibrium if both the inputs and outputs of the comparator are at zero volts. The moment any sort of noise, be it thermal or
electromagnetic In physics, electromagnetism is an interaction that occurs between particles with electric charge. It is the second-strongest of the four fundamental interactions, after the strong force, and it is the dominant force in the interactions of a ...
noise Noise is unwanted sound considered unpleasant, loud or disruptive to hearing. From a physics standpoint, there is no distinction between noise and desired sound, as both are vibrations through a medium, such as air or water. The difference arise ...
brings the output of the comparator above zero (the case of the comparator output going below zero is also possible, and a similar argument to what follows applies), the positive feedback in the comparator results in the output of the comparator saturating at the positive rail. In other words, because the output of the comparator is now positive, the non-inverting input to the comparator is also positive, and continues to increase as the output increases, due to the
voltage divider In electronics, a voltage divider (also known as a potential divider) is a passive linear circuit that produces an output voltage (''V''out) that is a fraction of its input voltage (''V''in). Voltage division is the result of distributing the in ...
. After a short time, the output of the comparator is the positive voltage rail, V_. The inverting input and the output of the comparator are linked by a
series Series may refer to: People with the name * Caroline Series (born 1951), English mathematician, daughter of George Series * George Series (1920–1995), English physicist Arts, entertainment, and media Music * Series, the ordered sets used in ...
RC circuit A resistor–capacitor circuit (RC circuit), or RC filter or RC network, is an electric circuit composed of resistors and capacitors. It may be driven by a voltage or current source and these will produce different responses. A first order RC c ...
. Because of this, the inverting input of the comparator asymptotically approaches the comparator output voltage with a
time constant In physics and engineering, the time constant, usually denoted by the Greek letter (tau), is the parameter characterizing the response to a step input of a first-order, linear time-invariant (LTI) system.Concretely, a first-order LTI system is a sy ...
RC. At the point where voltage at the inverting input is greater than the non-inverting input, the output of the comparator falls quickly due to positive feedback. This is because the non-inverting input is less than the inverting input, and as the output continues to decrease, the difference between the inputs gets more and more negative. Again, the inverting input approaches the comparator's output voltage asymptotically, and the cycle repeats itself once the non-inverting input is greater than the inverting input, hence the system oscillates.


Example: Differential equation analysis of a comparator-based relaxation oscillator

\, \! V_+ is set by \, \! V_ across a resistive
voltage divider In electronics, a voltage divider (also known as a potential divider) is a passive linear circuit that produces an output voltage (''V''out) that is a fraction of its input voltage (''V''in). Voltage division is the result of distributing the in ...
: :V_+ = \frac \, \! V_- is obtained using
Ohm's law Ohm's law states that the current through a conductor between two points is directly proportional to the voltage across the two points. Introducing the constant of proportionality, the resistance, one arrives at the usual mathematical equat ...
and the
capacitor A capacitor is a device that stores electrical energy in an electric field by virtue of accumulating electric charges on two close surfaces insulated from each other. It is a passive electronic component with two terminals. The effect of ...
differential equation In mathematics, a differential equation is an equation that relates one or more unknown functions and their derivatives. In applications, the functions generally represent physical quantities, the derivatives represent their rates of change, an ...
: :\frac=C\frac Rearranging the \, \! V_- differential equation into standard form results in the following: :\frac+\frac=\frac Notice there are two solutions to the differential equation, the driven or particular solution and the homogeneous solution. Solving for the driven solution, observe that for this particular form, the solution is a constant. In other words, \, \! V_-=A where A is a constant and \frac=0. :\frac=\frac :\, \! A=V_ Using the
Laplace transform In mathematics, the Laplace transform, named after its discoverer Pierre-Simon Laplace (), is an integral transform In mathematics, an integral transform maps a function from its original function space into another function space via integra ...
to solve the
homogeneous equation In mathematics, a system of linear equations (or linear system) is a collection of one or more linear equations involving the same variable (math), variables. For example, :\begin 3x+2y-z=1\\ 2x-2y+4z=-2\\ -x+\fracy-z=0 \end is a system of three ...
\frac+\frac=0 results in :V_-=Be^ \, \! V_- is the sum of the particular and homogeneous solution. :V_-=A+Be^ :V_-=V_+Be^ Solving for B requires evaluation of the initial conditions. At time 0, V_=V_ and \, \! V_-=0. Substituting into our previous equation, :\, \! 0=V_+B :\, \! B=-V_


Frequency of oscillation

First let's assume that V_ = -V_ for ease of calculation. Ignoring the initial charge up of the capacitor, which is irrelevant for calculations of the frequency, note that charges and discharges oscillate between \frac and \frac. For the circuit above, Vss must be less than 0. Half of the period (T) is the same as time that V_ switches from Vdd. This occurs when V charges up from -\frac to \frac. :V_-=A+Be^ :\frac=V_\left(1-\frace^\right) :\frac=e^ :\ln\left(\frac\right)=\frac\frac :\, \! T=2\ln(3)RC :\, \! f=\frac When Vss is not the inverse of Vdd we need to worry about asymmetric charge up and discharge times. Taking this into account we end up with a formula of the form: :T = (RC) \left ln\left( \frac\right) + \ln\left( \frac \right) \right/math> Which reduces to the above result in the case that V_ = -V_.


See also

*
Multivibrator A multivibrator is an electronic circuit used to implement a variety of simple two-state devices such as relaxation oscillators, timers, and flip-flops. The first multivibrator circuit, the astable multivibrator oscillator, was invented by Henri ...
* FitzHugh–Nagumo model – A hysteretic model of, for example, a neuron. *
Schmitt trigger In electronics, a Schmitt trigger is a comparator circuit with hysteresis implemented by applying positive feedback to the noninverting input of a comparator or differential amplifier. It is an active circuit which converts an analog input ...
 – The circuit on which the comparator-based relaxation oscillator is based. *
Unijunction transistor A unijunction transistor (UJT) is a three-lead electronic semiconductor device with only one junction that acts exclusively as an electrically controlled switch. The UJT is not used as a linear amplifier. It is used in free-running oscillators, sy ...
 – A transistor capable of relaxation oscillations. *
Robert Kearns Robert William Kearns (March 10, 1927 – February 9, 2005) was an American engineer, educator and inventor who invented the most common intermittent windshield wiper systems used on most automobiles from 1969 to the present. His first pat ...
 – Used relaxation oscillator in intermittent wiper patent dispute. *
Limit cycle In mathematics, in the study of dynamical systems with two-dimensional phase space, a limit cycle is a closed trajectory in phase space having the property that at least one other trajectory spirals into it either as time approaches infinity ...
 – Mathematical model used to analyze relaxation oscillations


Notes


References

{{Electronic oscillators Electronic oscillators