Engineering:Relaxation oscillator

From HandWiki
Short description: Oscillator that produces a nonsinusoidal repetitive waveform
Simple relaxation oscillator made by feeding back an inverting Schmitt trigger's output voltage through a RC network to its input.

In electronics a relaxation oscillator is a nonlinear electronic oscillator circuit that produces a nonsinusoidal repetitive output signal, such as a triangle wave or square wave.[1][2][3][4] The circuit consists of a feedback loop containing a switching device such as a transistor, comparator, relay,[5] op amp, or a negative resistance device like a tunnel diode, that repetitively charges a capacitor or inductor through a resistance until it reaches a threshold level, then discharges it again.[4][6] The period of the oscillator depends on the time constant of the capacitor or inductor circuit.[2] The active device switches abruptly between charging and discharging modes, and thus produces a discontinuously changing repetitive waveform.[2][4] This contrasts with the other type of electronic oscillator, the harmonic or linear oscillator, which uses an amplifier with feedback to excite resonant oscillations in a resonator, producing a sine wave.[7]

The blinking turn signal on some motor vehicles is generated by a simple relaxation oscillator powering a relay.

Relaxation oscillators are used to produce low[clarification needed] frequency signals for applications such as blinking lights (turn signals) and electronic beepers and in voltage controlled oscillators (VCOs), inverters and switching power supplies, dual-slope analog to digital converters, and function generators.

The term relaxation oscillator is also applied to dynamical systems in many diverse areas of science that produce nonlinear oscillations and can be analyzed using the same mathematical model as electronic relaxation oscillators.[8][9][10][11] For example, geothermal geysers,[12][13] networks of firing nerve cells,[11] thermostat controlled heating systems,[14] coupled chemical reactions,[9] the beating human heart,[11][14] earthquakes,[12] the squeaking of chalk on a blackboard,[14] the cyclic populations of predator and prey animals, and gene activation systems[9] 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, alternating with a short impulsive period in which the equilibrium point shifts.[11][12][13][15] The period of a relaxation oscillator is mainly determined by the relaxation time constant.[11] Relaxation oscillations are a type of limit cycle and are studied in nonlinear control theory.[16]

Electronic relaxation oscillators

A vacuum tube Abraham-Bloch multivibrator relaxation oscillator, France, 1920 (small box, left). Its harmonics are being used to calibrate a wavemeter (center).
Original vacuum tube Abraham-Bloch multivibrator oscillator, from their 1919 paper

The first relaxation oscillator circuit, the astable multivibrator, was invented by Henri Abraham and Eugene Bloch using vacuum tubes during World War I.[17][18] Balthasar van der Pol 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 model, in 1920.[18][19][20] Van der Pol borrowed the term relaxation from mechanics; the discharge of the capacitor is analogous to the process of stress relaxation, the gradual disappearance of deformation and return to equilibrium in an inelastic medium.[21] Relaxation oscillators can be divided into two classes[13]

  • 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, 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 waveform, while the current through the switching device approximates a square wave.

Before the advent of microelectronics, simple relaxation oscillators often used a negative resistance device with hysteresis such as a thyratron tube,[22] neon lamp,[22] or unijunction transistor, 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 signals for such applications as blinking lights, electronic beepers. During the vacuum tube era they were used as oscillators in electronic organs and horizontal deflection circuits and time bases for CRT oscilloscopes; 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.[22] They are also used in voltage controlled oscillators (VCOs),[23] inverters and switching power supplies, dual-slope analog to digital converters, and in function generators 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 chips because they do not require inductors like LC oscillators,[23][24] and can be tuned over a wide frequency range.[24] However they have more phase noise[23] and poorer frequency stability than linear oscillators.[2][23]

Pearson–Anson oscillator

Circuit diagram of a capacitive relaxation oscillator with a neon lamp threshold device
Main page: Engineering:Pearson–Anson effect

This example can be implemented with a capacitive or resistive-capacitive integrating circuit driven respectively by a constant current or voltage source, and a threshold device with hysteresis (neon lamp, thyratron, diac, reverse-biased bipolar transistor,[25] or unijunction transistor) 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.

If the threshold element is a neon lamp,[nb 1][nb 2] 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) comparators within the 555 timer flip a transistor switch that gradually discharges that capacitor through a chosen resistor (which determine the 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

Basis of solid-state Blocking oscillator

A blocking oscillator using the inductive properties of a pulse 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. The earlier inverting Schmitt trigger animated example operates on the same principle (since the Schmitt trigger internally performs comparison). This section will analyze a similar implementation using a comparator as a discrete component.

A comparator-based hysteretic oscillator.

This relaxation oscillator is a hysteretic oscillator, named this way because of the hysteresis created by the positive feedback loop implemented with the comparator (similar to an operational amplifier). A circuit that implements this form of hysteretic switching is known as a Schmitt trigger. Alone, the trigger is a bistable multivibrator. However, the slow negative feedback 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 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 noise 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. After a short time, the output of the comparator is the positive voltage rail, [math]\displaystyle{ V_{DD} }[/math].

Series RC Circuit

The inverting input and the output of the comparator are linked by a series RC circuit. Because of this, the inverting input of the comparator asymptotically approaches the comparator output voltage with a time constant 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

Transient analysis of a comparator-based relaxation oscillator.

[math]\displaystyle{ \, \! V_+ }[/math] is set by [math]\displaystyle{ \, \! V_{\rm out} }[/math] across a resistive voltage divider:

[math]\displaystyle{ V_+ = \frac{V_{\rm out}}{2} }[/math]

[math]\displaystyle{ \, \! V_- }[/math] is obtained using Ohm's law and the capacitor differential equation:

[math]\displaystyle{ \frac{V_{\rm out}-V_-}{R}=C\frac{dV_-}{dt} }[/math]

Rearranging the [math]\displaystyle{ \, \! V_- }[/math] differential equation into standard form results in the following:

[math]\displaystyle{ \frac{dV_-}{dt}+\frac{V_-}{RC}=\frac{V_{\rm out}}{RC} }[/math]

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, [math]\displaystyle{ \, \! V_-=A }[/math] where A is a constant and [math]\displaystyle{ \frac{dV_-}{dt}=0 }[/math].

[math]\displaystyle{ \frac{A}{RC}=\frac{V_{\rm out}}{RC} }[/math]
[math]\displaystyle{ \, \! A=V_{\rm out} }[/math]

Using the Laplace transform to solve the homogeneous equation [math]\displaystyle{ \frac{dV_-}{dt}+\frac{V_-}{RC}=0 }[/math] results in

[math]\displaystyle{ V_-=Be^{\frac{-1}{RC}t} }[/math]

[math]\displaystyle{ \, \! V_- }[/math] is the sum of the particular and homogeneous solution.

[math]\displaystyle{ V_-=A+Be^{\frac{-1}{RC}t} }[/math]
[math]\displaystyle{ V_-=V_{\rm out}+Be^{\frac{-1}{RC}t} }[/math]

Solving for B requires evaluation of the initial conditions. At time 0, [math]\displaystyle{ V_{\rm out}=V_{dd} }[/math] and [math]\displaystyle{ \, \! V_-=0 }[/math]. Substituting into our previous equation,

[math]\displaystyle{ \, \! 0=V_{dd}+B }[/math]
[math]\displaystyle{ \, \! B=-V_{dd} }[/math]

Frequency of oscillation

First let's assume that [math]\displaystyle{ V_{dd} = -V_{ss} }[/math] 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 [math]\displaystyle{ \frac{V_{dd}}{2} }[/math] and [math]\displaystyle{ \frac{V_{ss}}{2} }[/math]. For the circuit above, Vss must be less than 0. Half of the period (T) is the same as time that [math]\displaystyle{ V_{\rm out} }[/math] switches from Vdd. This occurs when V charges up from [math]\displaystyle{ -\frac{V_{dd}}{2} }[/math] to [math]\displaystyle{ \frac{V_{dd}}{2} }[/math].

[math]\displaystyle{ V_-=A+Be^{\frac{-1}{RC}t} }[/math]
[math]\displaystyle{ \frac{V_{dd}}{2}=V_{dd}\left(1-\frac{3}{2}e^{\frac{-1}{RC}\frac{T}{2}}\right) }[/math]
[math]\displaystyle{ \frac{1}{3}=e^{\frac{-1}{RC}\frac{T}{2}} }[/math]
[math]\displaystyle{ \ln\left(\frac{1}{3}\right)=\frac{-1}{RC}\frac{T}{2} }[/math]
[math]\displaystyle{ \, \! T=2\ln(3)RC }[/math]
[math]\displaystyle{ \, \! f=\frac{1}{2\ln(3)RC} }[/math]

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:

[math]\displaystyle{ T = (RC) \left[\ln\left( \frac{2V_{ss}-V_{dd}}{V_{ss}}\right) + \ln\left( \frac{2V_{dd}-V_{ss}}{V_{dd}} \right) \right] }[/math]

Which reduces to the above result in the case that [math]\displaystyle{ V_{dd} = -V_{ss} }[/math].

See also

  • Multivibrator
  • FitzHugh–Nagumo model – A hysteretic model of, for example, a neuron.
  • Schmitt trigger – The circuit on which the comparator-based relaxation oscillator is based.
  • Unijunction transistor – A transistor capable of relaxation oscillations.
  • Robert Kearns – Used relaxation oscillator in intermittent wiper patent dispute.
  • Limit cycle – Mathematical model used to analyze relaxation oscillations

Notes

  1. 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 sputtering away or the cathode coating of the thyratron being damaged by the repeated pulses of heavy current.
  2. 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.

References

  1. Graf, Rudolf F. (1999). Modern Dictionary of Electronics. Newnes. pp. 638. ISBN 0750698667. https://books.google.com/books?id=uah1PkxWeKYC&pg=PA638. 
  2. 2.0 2.1 2.2 2.3 Edson, William A. (1953). Vacuum Tube Oscillators. New York: John Wiley and Sons. pp. 3. http://www.tubebooks.org/Books/vto.pdf.  on Peter Millet's Tubebooks website
  3. Morris, Christopher G. Morris (1992). Academic Press Dictionary of Science and Technology. Gulf Professional Publishing. pp. 1829. ISBN 0122004000. https://books.google.com/books?id=nauWlPTBcjIC&pg=PA1829. 
  4. 4.0 4.1 4.2 Du, Ke-Lin; M. N. S. Swamy (2010). Wireless Communication Systems: From RF Subsystems to 4G Enabling Technologies. Cambridge Univ. Press. pp. 443. ISBN 978-1139485760. https://books.google.com/books?id=5dGjKLawsTkC&q=%22relaxation+oscillator&pg=PA443. 
  5. Varigonda, Subbarao; Tryphon T. Georgiou (January 2001). "Dynamics of Relay Relaxation Oscillators". IEEE Transactions on Automatic Control (Inst. of Electrical and Electronic Engineers) 46 (1): 65. doi:10.1109/9.898696. http://www.ece.umn.edu/~georgiou/papers/DynamicsOfRelay.pdf. Retrieved February 22, 2014. 
  6. Nave, Carl R. (2014). "Relaxation Oscillator Concept". HyperPhysics. Dept. of Physics and Astronomy, Georgia State Univ.. http://hyperphysics.phy-astr.gsu.edu/hbase/electronic/relaxo.html. Retrieved February 22, 2014. 
  7. Oliveira, Luis B. (2008). Analysis and Design of Quadrature Oscillators. Springer. pp. 24. ISBN 978-1402085161. https://books.google.com/books?id=e5Yck9AWiPkC&pg=PA24. 
  8. DeLiang, Wang (1999). "Relaxation oscillators and networks". Wiley & Sons. pp. 396–405. http://www.cse.ohio-state.edu/~dwang/papers/Wang99.pdf. Retrieved February 2, 2014. 
  9. 9.0 9.1 9.2 Sauro, Herbert M. (2009). "Oscillatory Circuits". Class notes on oscillators: Systems and Synthetic Biology. Sauro Lab, Center for Synthetic Biology, University of Washington. https://digital.lib.washington.edu/researchworks/bitstream/handle/1773/44940/OscillatoryCircuits_Sauro_2019.pdf?sequence=1&isAllowed=y. Retrieved November 12, 2019. ,
  10. Letellier, Christopher (2013). Chaos in Nature. World Scientific. pp. 132–133. ISBN 978-9814374422. https://books.google.com/books?id=Lpc0KhOaioIC&pg=PA132. 
  11. 11.0 11.1 11.2 11.3 11.4 Ginoux, Jean-Marc; Letellier, Christophe (June 2012). "Van der Pol and the history of relaxation oscillations: toward the emergence of a concept". Chaos 22 (2): 023120. doi:10.1063/1.3670008. PMID 22757527. Bibcode2012Chaos..22b3120G. https://hal.archives-ouvertes.fr/hal-01056923/document. Retrieved December 24, 2014. 
  12. 12.0 12.1 12.2 Enns, Richard H.; George C. McGuire (2001). Nonlinear Physics with Mathematica for Scientists and Engineers. Springer. pp. 277. ISBN 0817642234. https://books.google.com/books?id=TPyUQ1xnjBoC&q=%22relaxation+oscillator&pg=PA277. 
  13. 13.0 13.1 13.2 Pippard, A. B. (2007). The Physics of Vibration. Cambridge Univ. Press. pp. 359–361. ISBN 978-0521033336. https://books.google.com/books?id=F8-9UNvsCBoC&pg=PA360. 
  14. 14.0 14.1 14.2 Pippard, The Physics of Vibration, p. 41-42
  15. Kinoshita, Shuichi (2013). "Introduction to Nonequilibrium Phenomena". Newnes. pp. 17. ISBN 978-0123972996. https://books.google.com/books?id=geQWCKsFhcUC&pg=PA17. Retrieved February 24, 2014. 
  16. see Ch. 9, "Limit cycles and relaxation oscillations" in Leigh, James R. (1983). Essentials of Nonlinear Control Theory. Institute of Electrical Engineers. pp. 66–70. ISBN 0906048966. https://books.google.com/books?id=oejayuS7ZB8C&q=%22relaxation+oscillations&pg=PA70. 
  17. Abraham, H.; E. Bloch (1919). "Mesure en valeur absolue des périodes des oscillations électriques de haute fréquence (Measurement of the periods of high frequency electrical oscillations)". Annales de Physique (Paris: Société Française de Physique) 9 (1): 237–302. doi:10.1051/jphystap:019190090021100. http://hal.archives-ouvertes.fr/docs/00/24/20/12/PDF/ajp-jphystap_1919_9_211_0.pdf. 
  18. 18.0 18.1 Ginoux, Jean-Marc (2012). "Van der Pol and the history of relaxation oscillations: Toward the emergence of a concepts". Chaos: An Interdisciplinary Journal of Nonlinear Science (Chaos 22 (2012) 023120) 22 (2): 023120. doi:10.1063/1.3670008. PMID 22757527. Bibcode2012Chaos..22b3120G. 
  19. van der Pol, B. (1920). "A theory of the amplitude of free and forced triode vibrations". Radio Review 1: 701–710, 754–762. 
  20. van der Pol, Balthasar (1926). "On Relaxation-Oscillations". The London, Edinburgh, and Dublin Philosophical Magazine 2 2: 978–992. doi:10.1080/14786442608564127. 
  21. Shukla, Jai Karan N. (1965). Discontinuous Theory of Relaxation Oscillators. Master of Science thesis. Dept. of Electrical Engineering, Kansas State Univ.. https://archive.org/stream/discontinuousthe00shuk#page/n1/mode/2up. Retrieved February 23, 2014. 
  22. 22.0 22.1 22.2 Puckle, O. S. (1951). Time Bases (Scanning Generators), 2nd Ed.. London: Chapman and Hall, Ltd.. pp. 15–27. https://archive.org/details/TimeBasesTheirDesignDevelopment. 
  23. 23.0 23.1 23.2 23.3 Abidi, Assad A.; Robert J. Meyer (1996). "Noise in Relaxation Oscillators". John Wiley and Sons. pp. 182. ISBN 9780780311497. https://books.google.com/books?id=nyxGjjF-cHIC&pg=PA182. Retrieved 2015-09-22. 
  24. 24.0 24.1 van der Tang, J.; Kasperkovitz, Dieter; van Roermund, Arthur H.M. (2006). High-Frequency Oscillator Design for Integrated Transceivers. Springer. pp. 12. ISBN 0306487160. https://books.google.com/books?id=0rniokw7bLkC&pg=PT21. 
  25. "Shaw Communications". http://members.shaw.ca/roma/twenty-three.html.