Loading AI tools
Type of electronic circuit From Wikipedia, the free encyclopedia
An electronic oscillator is an electronic circuit that produces a periodic, oscillating or alternating current (AC) signal, usually a sine wave, square wave or a triangle wave,[1][2][3] powered by a direct current (DC) source. Oscillators are found in many electronic devices, such as radio receivers, television sets, radio and television broadcast transmitters, computers, computer peripherals, cellphones, radar, and many other devices.[1]
Oscillators are often characterized by the frequency of their output signal:
There are two general types of electronic oscillators: the linear or harmonic oscillator, and the nonlinear or relaxation oscillator.[2][4] The two types are fundamentally different in how oscillation is produced, as well as in the characteristic type of output signal that is generated.
The most-common linear oscillator in use is the crystal oscillator, in which the output frequency is controlled by a piezo-electric resonator consisting of a vibrating quartz crystal. Crystal oscillators are ubiquitous in modern electronics, being the source for the clock signal in computers and digital watches, as well as a source for the signals generated in radio transmitters and receivers. As a crystal oscillator's “native” output waveform is sinusoidal, a signal-conditioning circuit may be used to convert the output to other waveform types, such as the square wave typically utilized in computer clock circuits.
Linear or harmonic oscillators generate a sinusoidal (or nearly-sinusoidal) signal. There are two types:
The most common form of linear oscillator is an electronic amplifier such as a transistor or operational amplifier connected in a feedback loop with its output fed back into its input through a frequency selective electronic filter to provide positive feedback. When the power supply to the amplifier is switched on initially, electronic noise in the circuit provides a non-zero signal to get oscillations started.[5] The noise travels around the loop and is amplified and filtered until very quickly it converges on a sine wave at a single frequency.
Feedback oscillator circuits can be classified according to the type of frequency selective filter they use in the feedback loop:[2][4]
In addition to the feedback oscillators described above, which use two-port amplifying active elements such as transistors and operational amplifiers, linear oscillators can also be built using one-port (two terminal) devices with negative resistance,[2][4] such as magnetron tubes, tunnel diodes, IMPATT diodes and Gunn diodes.[11][12]: p.197–198 [13] Negative-resistance oscillators are usually used at high frequencies in the microwave range and above, since at these frequencies feedback oscillators perform poorly due to excessive phase shift in the feedback path.
In negative-resistance oscillators, a resonant circuit, such as an LC circuit, crystal, or cavity resonator, is connected across a device with negative differential resistance, and a DC bias voltage is applied to supply energy. A resonant circuit by itself is "almost" an oscillator; it can store energy in the form of electronic oscillations if excited, but because it has electrical resistance and other losses the oscillations are damped and decay to zero.[14][12] The negative resistance of the active device cancels the (positive) internal loss resistance in the resonator, in effect creating a resonator circuit with no damping, which generates spontaneous continuous oscillations at its resonant frequency.
The negative-resistance oscillator model is not limited to one-port devices like diodes; feedback oscillator circuits with two-port amplifying devices such as transistors and tubes also have negative resistance.[15][16][11][17] At high frequencies, three terminal devices such as transistors and FETs are also used in negative resistance oscillators. At high frequencies these devices do not need a feedback loop, but with certain loads applied to one port can become unstable at the other port and show negative resistance due to internal feedback. The negative resistance port is connected to a tuned circuit or resonant cavity, causing them to oscillate.[16][11][18] High-frequency oscillators in general are designed using negative-resistance techniques.[16][11][17]
Some of the many harmonic oscillator circuits are listed below:
Amplifying device | Frequency |
---|---|
Triode vacuum tube | ~1 GHz |
Bipolar transistor (BJT) | ~20 GHz |
Heterojunction bipolar transistor (HBT) | ~50 GHz |
Metal–semiconductor field-effect transistor (MESFET) | ~100 GHz |
Gunn diode, fundamental mode | ~100 GHz |
Magnetron tube | ~100 GHz |
High electron mobility transistor (HEMT) | ~200 GHz |
Klystron tube | ~200 GHz |
Gunn diode, harmonic mode | ~200 GHz |
IMPATT diode | ~300 GHz |
Gyrotron tube | ~600 GHz |
A nonlinear or relaxation oscillator produces a non-sinusoidal output, such as a square, sawtooth or triangle wave.[4][19][20][21] It consists of an energy-storing element (a capacitor or, more rarely, an inductor) and a nonlinear switching device (a latch, Schmitt trigger, or negative resistance element) connected in a feedback loop.[22][23] The switching device periodically charges the storage element with energy and when its voltage or current reaches a threshold discharges it again, thus causing abrupt changes in the output waveform.[24]: p.20 Although in the past negative resistance devices like the unijunction transistor, thyratron tube or neon lamp were used,[22] today relaxation oscillators are mainly built with integrated circuits like the 555 timer IC.
Square-wave relaxation oscillators are used to provide the clock signal for sequential logic circuits such as timers and counters, although crystal oscillators are often preferred for their greater stability.[25]: p.20.1 Triangle-wave or sawtooth oscillators are used in the timebase circuits that generate the horizontal deflection signals for cathode-ray tubes in analogue oscilloscopes and television sets.[25]: p.20.1 They are also used in voltage-controlled oscillators (VCOs), inverters and switching power supplies, dual-slope analog to digital converters (ADCs), and in function generators to generate square and triangle waves for testing equipment. In general, relaxation oscillators are used at lower frequencies and have poorer frequency stability than linear oscillators.
Ring oscillators are built of a ring of active delay stages, such as inverters.[24]: p.20 Generally the ring has an odd number of inverting stages, so that there is no single stable state for the internal ring voltages. Instead, a single transition propagates endlessly around the ring.
Some of the more common relaxation oscillator circuits are listed below:
An oscillator can be designed so that the oscillation frequency can be varied over some range by an input voltage or current. These voltage controlled oscillators are widely used in phase-locked loops, in which the oscillator's frequency can be locked to the frequency of another oscillator. These are ubiquitous in modern communications circuits, used in filters, modulators, demodulators, and forming the basis of frequency synthesizer circuits which are used to tune radios and televisions.
Radio frequency VCOs are usually made by adding a varactor diode to the tuned circuit or resonator in an oscillator circuit. Changing the DC voltage across the varactor changes its capacitance, which changes the resonant frequency of the tuned circuit. Voltage controlled relaxation oscillators can be constructed by charging and discharging the energy storage capacitor with a voltage controlled current source. Increasing the input voltage increases the rate of charging the capacitor, decreasing the time between switching events.
A feedback oscillator circuit consists of two parts connected in a feedback loop; an amplifier and an electronic filter .[26]: p.1 The filter's purpose is to limit the frequencies that can pass through the loop so the circuit only oscillates at the desired frequency.[27] Since the filter and wires in the circuit have resistance they consume energy and the amplitude of the signal drops as it passes through the filter. The amplifier is needed to increase the amplitude of the signal to compensate for the energy lost in the other parts of the circuit, so the loop will oscillate, as well as supply energy to the load attached to the output.
To determine the frequency(s) at which a feedback oscillator circuit will oscillate, the feedback loop is thought of as broken at some point (see diagrams) to give an input and output port (for accuracy, the output port must be terminated with an impedance equal to the input port). A sine wave is applied to the input and the amplitude and phase of the sine wave after going through the loop is calculated[28][29]
Since in the complete circuit is connected to , for oscillations to exist
The ratio of output to input of the loop, , is called the loop gain. So the condition for oscillation is that the loop gain must be one[30]: p.3–5 [29][31][32]
Since is a complex number with two parts, a magnitude and an angle, the above equation actually consists of two conditions:[33][32][29]
Equations (1) and (2) are called the Barkhausen stability criterion.[32][30]: p.3–5 It is a necessary but not a sufficient criterion for oscillation, so there are some circuits which satisfy these equations that will not oscillate. An equivalent condition often used instead of the Barkhausen condition is that the circuit's closed loop transfer function (the circuit's complex impedance at its output) have a pair of poles on the imaginary axis.
In general, the phase shift of the feedback network increases with increasing frequency so there are only a few discrete frequencies (often only one) which satisfy the second equation.[32][27] If the amplifier gain is high enough that the loop gain is unity (or greater, see Startup section) at one of these frequencies, the circuit will oscillate at that frequency. Many amplifiers such as common-emitter transistor circuits are "inverting", meaning that their output voltage decreases when their input increases.[33][29] In these the amplifier provides 180° phase shift, so the circuit will oscillate at the frequency at which the feedback network provides the other 180° phase shift.[30]: p.3–5 [29]
At frequencies well below the poles of the amplifying device, the amplifier will act as a pure gain , but if the oscillation frequency is near the amplifier's cutoff frequency , within , the active device can no longer be considered a 'pure gain', and it will contribute some phase shift to the loop.[30]: p.3–5 [34]: p.345–347
An alternate mathematical stability test sometimes used instead of the Barkhausen criterion is the Nyquist stability criterion.[30]: p.6–7 This has a wider applicability than the Barkhausen, so it can identify some of the circuits which pass the Barkhausen criterion but do not oscillate.
Temperature changes, other environmental changes, aging, and manufacturing tolerances will cause component values to "drift" away from their designed values.[35][36] Changes in frequency determining components such as the tank circuit in LC oscillators will cause the oscillation frequency to change, so for a constant frequency these components must have stable values. How stable the oscillator's frequency is to other changes in the circuit, such as changes in values of other components, gain of the amplifier, the load impedance, or the supply voltage, is mainly dependent on the Q factor ("quality factor") of the feedback filter.[35] Since the amplitude of the output is constant due to the nonlinearity of the amplifier (see Startup section below), changes in component values cause changes in the phase shift of the feedback loop. Since oscillation can only occur at frequencies where the phase shift is a multiple of 360°, , shifts in component values cause the oscillation frequency to change to bring the loop phase back to 360n°. The amount of frequency change caused by a given phase change depends on the slope of the loop phase curve at , which is determined by the [35][36][37] [38]
RC oscillators have the equivalent of a very low , so the phase changes very slowly with frequency, therefore a given phase change will cause a large change in the frequency. In contrast, LC oscillators have tank circuits with high (~102). This means the phase shift of the feedback network increases rapidly with frequency near the resonant frequency of the tank circuit.[35] So a large change in phase causes only a small change in frequency. Therefore, the circuit's oscillation frequency is very close to the natural resonant frequency of the tuned circuit, and doesn't depend much on other components in the circuit. The quartz crystal resonators used in crystal oscillators have even higher (104 to 106)[38] and their frequency is very stable and independent of other circuit components.
The frequency of RC and LC oscillators can be tuned over a wide range by using variable components in the filter. A microwave cavity can be tuned mechanically by moving one of the walls. In contrast, a quartz crystal is a mechanical resonator whose resonant frequency is mainly determined by its dimensions, so a crystal oscillator's frequency is only adjustable over a very narrow range, a tiny fraction of one percent.[9][39][7][6][40] [8] [41] It's frequency can be changed slightly by using a trimmer capacitor in series or parallel with the crystal.[9]
The Barkhausen criterion above, eqs. (1) and (2), merely gives the frequencies at which steady-state oscillation is possible, but says nothing about the amplitude of the oscillation, whether the amplitude is stable, or whether the circuit will start oscillating when the power is turned on.[42][30]: p.5 [43] For a practical oscillator two additional requirements are necessary:
A typical rule of thumb is to make the small signal loop gain at the oscillation frequency 2 or 3.[26]: 11 [33] When the power is turned on, oscillation is started by the power turn-on transient or random electronic noise present in the circuit.[30]: p.5 [5] Noise guarantees that the circuit will not remain "balanced" precisely at its unstable DC equilibrium point (Q point) indefinitely. Due to the narrow passband of the filter, the response of the circuit to a noise pulse will be sinusoidal, it will excite a small sine wave of voltage in the loop. Since for small signals the loop gain is greater than one, the amplitude of the sine wave increases exponentially.[32][27]
During startup, while the amplitude of the oscillation is small, the circuit is approximately linear, so the analysis used in the Barkhausen criterion is applicable.[26]: 144,146 When the amplitude becomes large enough that the amplifier becomes nonlinear, generating harmonic distortion, technically the frequency domain analysis used in normal amplifier circuits is no longer applicable, so the "gain" of the circuit is undefined. However the filter attenuates the harmonic components produced by the nonlinearity of the amplifier, so the fundamental frequency component mainly determines the loop gain[44] (this is the "harmonic balance" analysis technique for nonlinear circuits).
The sine wave cannot grow indefinitely; in all real oscillators some nonlinear process in the circuit limits its amplitude,[32][45][46] reducing the gain as the amplitude increases, resulting in stable operation at some constant amplitude.[32] In most oscillators this nonlinearity is simply the saturation (limiting or clipping) of the amplifying device, the transistor, vacuum tube or op-amp.[47][48][30]: p.5 The maximum voltage swing of the amplifier's output is limited by the DC voltage provided by its power supply. Another possibility is that the output may be limited by the amplifier slew rate.
As the amplitude of the output nears the power supply voltage rails, the amplifier begins to saturate on the peaks (top and bottom) of the sine wave, flattening or "clipping" the peaks.[34] To achieve the maximum amplitude sine wave output from the circuit, the amplifier should be biased midway between its clipping levels. For example, an op amp should be biased midway between the two supply voltage rails. A common-emitter transistor amplifier's collector voltage should be biased midway between cutoff and saturation levels.
Since the output of the amplifier can no longer increase with increasing input, further increases in amplitude cause the equivalent gain of the amplifier and thus the loop gain to decrease.[43] The amplitude of the sine wave, and the resulting clipping, continues to grow until the loop gain is reduced to unity, , satisfying the Barkhausen criterion, at which point the amplitude levels off and steady state operation is achieved,[32] with the output a slightly distorted sine wave with peak amplitude determined by the supply voltage. This is a stable equilibrium; if the amplitude of the sine wave increases for some reason, increased clipping of the output causes the loop gain to drop below one temporarily, reducing the sine wave's amplitude back to its unity-gain value. Similarly if the amplitude of the wave decreases, the decreased clipping will cause the loop gain to increase above one, increasing the amplitude.
The amount of harmonic distortion in the output is dependent on how much excess loop gain the circuit has:[43][26]: 12 [34][27]
An exception to the above are high Q oscillator circuits such as crystal oscillators; the narrow bandwidth of the crystal removes the harmonics from the output, producing a 'pure' sinusoidal wave with almost no distortion even with large loop gains.
Since oscillators depend on nonlinearity for their operation, the usual linear frequency domain circuit analysis techniques used for amplifiers based on the Laplace transform, such as root locus and gain and phase plots (Bode plots), cannot capture their full behavior.[42] To determine startup and transient behavior and calculate the detailed shape of the output waveform, electronic circuit simulation computer programs like SPICE are used.[42] A typical design procedure for oscillator circuits is to use linear techniques such as the Barkhausen stability criterion or Nyquist stability criterion to design the circuit, use a rule of thumb to choose the loop gain, then simulate the circuit on computer to make sure it starts up reliably and to determine the nonlinear aspects of operation such as harmonic distortion.[27][42] Component values are tweaked until the simulation results are satisfactory. The distorted oscillations of real-world (nonlinear) oscillators are called limit cycles and are studied in nonlinear control theory.
In applications where a 'pure' very low distortion sine wave is needed, such as precision signal generators, a nonlinear component is often used in the feedback loop that provides a 'slow' gain reduction with amplitude. This stabilizes the loop gain at an amplitude below the saturation level of the amplifier, so it does not saturate and "clip" the sine wave. Resistor-diode networks and FETs are often used for the nonlinear element. An older design uses a thermistor or an ordinary incandescent light bulb; both provide a resistance that increases with temperature as the current through them increases.
As the amplitude of the signal current through them increases during oscillator startup, the increasing resistance of these devices reduces the loop gain. The essential characteristic of all these circuits is that the nonlinear gain-control circuit must have a long time constant, much longer than a single period of the oscillation. Therefore, over a single cycle they act as virtually linear elements, and so introduce very little distortion. The operation of these circuits is somewhat analogous to an automatic gain control (AGC) circuit in a radio receiver. The Wein bridge oscillator is a widely used circuit in which this type of gain stabilization is used.[49]
At high frequencies it becomes difficult to physically implement feedback oscillators because of shortcomings of the components. Since at high frequencies the tank circuit has very small capacitance and inductance, parasitic capacitance and parasitic inductance of component leads and PCB traces become significant. These may create unwanted feedback paths between the output and input of the active device, creating instability and oscillations at unwanted frequencies (parasitic oscillation). Parasitic feedback paths inside the active device itself, such as the interelectrode capacitance between output and input, make the device unstable. The input impedance of the active device falls with frequency, so it may load the feedback network. As a result, stable feedback oscillators are difficult to build for frequencies above 500 MHz, and negative resistance oscillators are usually used for frequencies above this.
The first practical oscillators were based on electric arcs, which were used for lighting in the 19th century. The current through an arc light is unstable due to its negative resistance, and often breaks into spontaneous oscillations, causing the arc to make hissing, humming or howling sounds[50] which had been noticed by Humphry Davy in 1821, Benjamin Silliman in 1822,[51] Auguste Arthur de la Rive in 1846,[52] and David Edward Hughes in 1878.[53] Ernst Lecher in 1888 showed that the current through an electric arc could be oscillatory.[54][55][56]
An oscillator was built by Elihu Thomson in 1892[57][58] by placing an LC tuned circuit in parallel with an electric arc and included a magnetic blowout. Independently, in the same year, George Francis FitzGerald realized that if the damping resistance in a resonant circuit could be made zero or negative, the circuit would produce oscillations, and, unsuccessfully, tried to build a negative resistance oscillator with a dynamo, what would now be called a parametric oscillator.[59][50] The arc oscillator was rediscovered and popularized by William Duddell in 1900.[60][61] Duddell, a student at London Technical College, was investigating the hissing arc effect. He attached an LC circuit (tuned circuit) to the electrodes of an arc lamp, and the negative resistance of the arc excited oscillation in the tuned circuit.[50] Some of the energy was radiated as sound waves by the arc, producing a musical tone. Duddell demonstrated his oscillator before the London Institute of Electrical Engineers by sequentially connecting different tuned circuits across the arc to play the national anthem "God Save the Queen".[50] Duddell's "singing arc" did not generate frequencies above the audio range. In 1902 Danish physicists Valdemar Poulsen and P. O. Pederson were able to increase the frequency produced into the radio range by operating the arc in a hydrogen atmosphere with a magnetic field, inventing the Poulsen arc radio transmitter, the first continuous wave radio transmitter, which was used through the 1920s.[62][63][64]
The vacuum-tube feedback oscillator was invented around 1912, when it was discovered that feedback ("regeneration") in the recently invented audion (triode) vacuum tube could produce oscillations. At least six researchers independently made this discovery, although not all of them can be said to have a role in the invention of the oscillator.[65][66] In the summer of 1912, Edwin Armstrong observed oscillations in audion radio receiver circuits[67] and went on to use positive feedback in his invention of the regenerative receiver.[68][69] Austrian Alexander Meissner independently discovered positive feedback and invented oscillators in March 1913.[67][70] Irving Langmuir at General Electric observed feedback in 1913.[70] Fritz Lowenstein may have preceded the others with a crude oscillator in late 1911.[71] In Britain, H. J. Round patented amplifying and oscillating circuits in 1913.[67] In August 1912, Lee De Forest, the inventor of the audion, had also observed oscillations in his amplifiers, but he didn't understand the significance and tried to eliminate it[72][73] until he read Armstrong's patents in 1914,[74] which he promptly challenged.[75] Armstrong and De Forest fought a protracted legal battle over the rights to the "regenerative" oscillator circuit[75][76] which has been called "the most complicated patent litigation in the history of radio".[77] De Forest ultimately won before the Supreme Court in 1934 on technical grounds, but most sources regard Armstrong's claim as the stronger one.[73][75]
The first and most widely used relaxation oscillator circuit, the astable multivibrator, was invented in 1917 by French engineers Henri Abraham and Eugene Bloch.[78][79][80] They called their cross-coupled, dual-vacuum-tube circuit a multivibrateur, because the square-wave signal it produced was rich in harmonics,[79][80] compared to the sinusoidal signal of other vacuum-tube oscillators.
Vacuum-tube feedback oscillators became the basis of radio transmission by 1920. However, the triode vacuum tube oscillator performed poorly above 300 MHz because of interelectrode capacitance.[81] To reach higher frequencies, new "transit time" (velocity modulation) vacuum tubes were developed, in which electrons traveled in "bunches" through the tube. The first of these was the Barkhausen–Kurz oscillator (1920), the first tube to produce power in the UHF range. The most important and widely used were the klystron (R. and S. Varian, 1937) and the cavity magnetron (J. Randall and H. Boot, 1940).
Mathematical conditions for feedback oscillations, now called the Barkhausen criterion, were derived by Heinrich Georg Barkhausen in 1921. He also showed that all linear oscillators must have negative resistance.[82] The first analysis of a nonlinear electronic oscillator model, the Van der Pol oscillator, was done by Balthasar van der Pol in 1927.[83] He originated the term "relaxation oscillation" and was first to distinguish between linear and relaxation oscillators. He showed that the stability of the oscillations (limit cycles) in actual oscillators was due to the nonlinearity of the amplifying device. Further advances in mathematical analysis of oscillation were made by Hendrik Wade Bode and Harry Nyquist[84] in the 1930s. In 1969 Kaneyuki Kurokawa derived necessary and sufficient conditions for oscillation in negative-resistance circuits,[85] which form the basis of modern microwave oscillator design.[18]
Seamless Wikipedia browsing. On steroids.
Every time you click a link to Wikipedia, Wiktionary or Wikiquote in your browser's search results, it will show the modern Wikiwand interface.
Wikiwand extension is a five stars, simple, with minimum permission required to keep your browsing private, safe and transparent.