Skip to content

Electronics · Ch 6 — Oscillators

Introduction

6.1

Introduction

An oscillator is an electronic circuit that converts DC energy into AC energy of a desired frequency. The AC sources it produces range from a few hertz to several gigahertz, which is why oscillators sit at the heart of radios, TV transmitters and receivers, radar sets, computers and many other electronic devices.

Classification of oscillators

Oscillators are grouped in two ways:

  • By the shape of the waveform they generate — (i) sinusoidal oscillators and (ii) non-sinusoidal oscillators.
  • By the components used in the feedback circuit — sinusoidal oscillators are further divided into (i) LC oscillators, (ii) RC oscillators and (iii) crystal oscillators.

Sinusoidal (harmonic) oscillator. When the output is a smooth sine wave of constant amplitude the circuit is a sinusoidal, or harmonic, oscillator (Figure 6.1.1).

Non-sinusoidal oscillator. When the output is some other repeating shape — square, rectangular, triangular or saw-tooth — the circuit is a non-sinusoidal oscillator (Figure 6.1.2).

Damped and un-damped oscillations

Damped oscillations are electrical oscillations whose amplitude keeps decreasing with time while the frequency stays the same (Figure 6.1.3). Un-damped (sustained) oscillations are oscillations whose amplitude stays constant with time — both amplitude and frequency remain unchanged (Figure 6.1.4). A useful oscillator must deliver sustained oscillations, so the whole design problem is to keep the amplitude from decaying.

Basic principle of an oscillator

An oscillator is an amplifier with positive feedback. Feedback is positive when the feedback voltage returned to the input is in phase with the input signal. Consider the amplifier-plus-feedback arrangement of Figure 6.1.5, where the loop is drawn with 0 degrees phase shift in both the forward and feedback paths.

The open-loop gain of the amplifier is A=VoViA = \dfrac{V_o}{V_i}. After positive feedback the overall gain is Af=VoVsA_f = \dfrac{V_o}{V_s}. Because the amplifier input is the sum of the source and feedback voltages, Vi=Vs+VfV_i = V_s + V_f, and the feedback voltage is Vf=βVoV_f = \beta V_o, we get Vs=Vi−βVoV_s = V_i - \beta V_o. Substituting and dividing numerator and denominator by ViV_i gives the closed-loop gain

Af=A1−AβA_f = \dfrac{A}{1 - A\beta}

Here AβA\beta is called the loop gain and β\beta is the feedback ratio.

Stabilization of oscillations

The expression Af=A1−AβA_f = \dfrac{A}{1 - A\beta} contains the necessary condition for sustained oscillations. If the loop gain reaches Aβ=1A\beta = 1, the denominator becomes zero and Af=∞A_f = \infty: the circuit produces an output with no input applied. In other words, the amplifier has become an oscillator.

Start-up oscillations and start-up conditions

Where does the very first signal come from if there is no input? The starting voltage is provided by noise — the random thermal movement of free electrons in the circuit resistors at room temperature. When power is switched on, this tiny noise voltage is amplified, drives the feedback network, and returns to the input. If the feedback network is designed so that the total loop phase shift is 0 degrees (equivalently 360 degrees), the signal reinforces itself at one frequency and grows into a steady oscillation.

In a typical transistor oscillator the inverting amplifier contributes 180 degrees and the feedback network contributes another 180 degrees, giving 360 degrees around the loop (Figure 6.1.6). At switch-on the loop gain AβA\beta is deliberately greater than 1, so the oscillations build up; as the amplitude rises the amplifier gain falls until AβA\beta settles at exactly 1, giving a constant-amplitude output.

Treating a fictitious input ViV_i applied to the amplifier: the output is Vo=AViV_o = A V_i and the feedback voltage Vf=βVo=AβViV_f = \beta V_o = A\beta V_i. For a true oscillator the external source is removed (Vs=0V_s = 0), so the feedback voltage alone sustains the input, Vf=ViV_f = V_i, which requires ∣Aβ∣=1|A\beta| = 1 with VfV_f in phase with ViV_i.

Barkhausen criterion

The two conditions above are summarised as the Barkhausen criterion for sustained oscillations:

  1. The total phase shift around the closed loop must be 0 degrees (or 360 degrees).
  2. The magnitude of the loop gain must be unity, ∣Aβ∣=1|A\beta| = 1.

The value of the loop gain decides the nature of the oscillations: …

Definition 1Oscillator

An oscillator is an electronic circuit that converts DC energy into AC energy of a desired frequency, producing an AC output (a few Hz up to several GHz) with no externally applied AC input. It is an amplifier with positive feedback that draws energy from a DC supply and delivers a continuous AC waveform, which is why oscillators …

Definition 2Sinusoidal (harmonic) oscillator

A sinusoidal or harmonic oscillator produces an output that is a continuous sine wave of constant amplitude and single frequency. Its waveform is a smooth, un-damped sine wave, and by the components used in the feedback network these harmonic oscillators are …

Figure 3Constant-amplitude sinusoidal waveform of an oscillator plotted as voltage V against time t
Fig. 3 — Constant-amplitude sinusoidal waveform of an oscillator plotted as voltage V against time t

Drawn by us to help you understand the concept clearly, and verified to make sure it's accurate. For exams, practice from your textbook's own diagram.

Figure 6.1.1 shows the output of a sinusoidal oscillator: a smooth sine wave of constant amplitude on V (vertical) versus t (horizontal) axes, with dashed horizontal envelope lines marking the equal positive and negative peaks. It illustrates what a h …

Definition 4Non-sinusoidal oscillator

A non-sinusoidal oscillator produces a repeating output of a shape other than a sine wave — for example square, rectangular, triangular or saw-tooth. Such repeating waveforms come from relaxation-type circuits rather than a tuned tank circuit; in this chapter the 555 timer is the standar …

Figure 5Four non-sinusoidal waveforms: square, rectangular, triangular and saw-tooth, each plotted as voltage against time
Fig. 5 — Four non-sinusoidal waveforms: square, rectangular, triangular and saw-tooth, each plotted as voltage against time

Drawn by us to help you understand the concept clearly, and verified to make sure it's accurate. For exams, practice from your textbook's own diagram.

Figure 6.1.2 shows the four non-sinusoidal output shapes side by side, each on its own v-vs-t axes: a square wave, a rectangular pulse train (unequal high/low times), a triangular wave and a saw-tooth wave. It contrasts the outputs of non-sinusoidal oscillat …

Definition 6Damped oscillations

Electrical oscillations whose amplitude keeps decreasing with time while the frequency of oscillation stays the same are called damped oscillations. They occur when the loop gain is below unity, Aβ<1A\beta < 1, or when resistive, radiation and dielectric losses drain energy each cycle, so a practical osci …

Figure 7Damped electrical oscillation whose sine-wave amplitude decays with time at constant frequency
Fig. 7 — Damped electrical oscillation whose sine-wave amplitude decays with time at constant frequency

Drawn by us to help you understand the concept clearly, and verified to make sure it's accurate. For exams, practice from your textbook's own diagram.

Figure 6.1.3 shows damped oscillations: a sine wave on V-vs-t axes whose amplitude falls progressively from left to right, with two dashed straight envelope lines converging toward the time axis (decaying amplitude, constant frequency). The same waveform is repeate …

Definition 8Un-damped (sustained) oscillations

Electrical oscillations whose amplitude remains constant with time are called un-damped or sustained oscillations; both the amplitude and the frequency stay constant. A practical oscillator mu …

Figure 9Un-damped sustained oscillation with constant sine-wave amplitude versus time
Fig. 9 — Un-damped sustained oscillation with constant sine-wave amplitude versus time

Drawn by us to help you understand the concept clearly, and verified to make sure it's accurate. For exams, practice from your textbook's own diagram.

Figure 6.1.4 shows un-damped (sustained) oscillations: a sine wave on V-vs-t axes of constant amplitude, with dashed horizontal envelope lines at fixed positive and negative peaks. The same waveform is repeated later …

Definition 10Positive feedback

Feedback is positive when the feedback voltage returned to the amplifier input is in phase with the input signal. Positive feedback is the essential condition that turns a …

Figure 11Block diagram of an amplifier with a positive-feedback network showing zero-degree phase shift around the loop
Fig. 11 — Block diagram of an amplifier with a positive-feedback network showing zero-degree phase shift around the loop

Drawn by us to help you understand the concept clearly, and verified to make sure it's accurate. For exams, practice from your textbook's own diagram.

Figure 6.1.5 is the block diagram used to derive the feedback gain: source voltage Vs enters a mixer, the mixer output Vi drives the basic amplifier to give Vo through a separator, and a feedback network of ratio beta returns Vf = beta*Vo to the mixer, with 0 degrees phase shift marked on both the forward and feedback …

Formula 12Voltage gain with positive feedback

Af=A1−AβA_f = \dfrac{A}{1 - A\beta}, where AA is the open-loop gain, β\beta the feedback ratio and AβA\beta the loop gain. When Aβ=1A\beta = 1 the gain Af→∞A_f \to \infty: the amplifier delivers an output wi …

Figure 13Block diagram of an oscillator showing the amplifier and feedback network each contributing 180 degrees for 360 degrees total
Fig. 13 — Block diagram of an oscillator showing the amplifier and feedback network each contributing 180 degrees for 360 degrees total

Drawn by us to help you understand the concept clearly, and verified to make sure it's accurate. For exams, practice from your textbook's own diagram.

Figure 6.1.6 shows the oscillator block diagram with the external source removed (Vs = 0): the basic amplifier contributes 180 degrees and the feedback network another 180 degrees, so the loop phase shift totals 360 degrees, and the feedback voltage Vf = beta*Vo alone sustains the inpu …

Formula 14Barkhausen criterion for sustained oscillations

For sustained oscillations: (1) the total phase shift around the closed loop is 0 degrees or 360 degrees, and (2) the magnitude of the loop gain is unity, ∣Aβ∣=1|A\beta| = 1. If Aβ<1A\beta < 1 the oscillations are damped, if Aβ>1A\beta > 1 they gro …

Figure 15Loop gain less than one giving damped oscillations with a decaying amplitude envelope
Fig. 15 — Loop gain less than one giving damped oscillations with a decaying amplitude envelope

Drawn by us to help you understand the concept clearly, and verified to make sure it's accurate. For exams, practice from your textbook's own diagram.

Figure 6.1.7 shows the case A*beta < 1: a sine wave whose amplitude decays with time (converging dashed envelope) inside a rectangular border. It is the same damped waveform as Figure 6.1.3, shown here to illustrate …

Figure 16Loop gain greater than one giving growing oscillations with an expanding amplitude envelope
Fig. 16 — Loop gain greater than one giving growing oscillations with an expanding amplitude envelope

Drawn by us to help you understand the concept clearly, and verified to make sure it's accurate. For exams, practice from your textbook's own diagram.

Figure 6.1.8 shows the case A*beta > 1: a sine wave whose amplitude increases progressively with time, with two dashed envelope lines diverging away from the time axis, inside a rectangular border. It correctly depicts growing (building-up) oscillations, despite the caption text …

Figure 17Loop gain equal to one giving sustained oscillations of constant amplitude
Fig. 17 — Loop gain equal to one giving sustained oscillations of constant amplitude

Drawn by us to help you understand the concept clearly, and verified to make sure it's accurate. For exams, practice from your textbook's own diagram.

Figure 6.1.9 shows the case A*beta = 1: a sine wave of constant amplitude (parallel dashed envelope lines) inside a rectangular border. It is the same sustained waveform as Figure 6.1.4, illustrating the loop-ga …