C649 of 57
0 XP
  1. Hook
  2. Play
  3. Predict
  4. Name it
  5. Check
  6. Explain

C6 · Lesson 49 · Sinusoidal oscillators

Feedback that's positive at exactly one frequency

Lesson 48's relaxation oscillators make square and triangle waves by snapping between two states. A sine wave needs a gentler approach: a frequency-selective network in a feedback loop arranged so that at exactly one frequency the signal comes back around the loop in phase and at the same size. Then the loop sustains that one sine, whatever started it. The trick is getting the loop gain to be exactly one: a bit less and the oscillation dies, a bit more and it grows until something clips. Real oscillators start with a little extra gain and let a gentle nonlinearity trim it.

  • A Wien-bridge oscillator: an op amp with gain 1+RF/RG and an RC network (10 kΩ, 15.9 nF) feeding back to its non-inverting input. A 10 mV step at the start gives it a kick.
  • With RF = 23 kΩ the gain is 3.3, a little more than the 3 the network needs, so the sine at 1 kHz grows until the op amp's output limits.
  • Lower RF below 20 kΩ: the loop gain drops below one and the oscillation dies away. Raise it far above: it clips into a square-ish wave.

Predict

A Wien network of 10 kΩ and 15.9 nF feeds back to a non-inverting amplifier. At what frequency does it oscillate, and what gain does the amplifier need?

Name it

The Barkhausen condition

An amplifier A with a frequency-selective feedback network β sustains a sine at the frequency where

Aβ=1(magnitude 1, phase 0° or 360°)

With |Aβ| slightly above 1 the oscillation grows; below 1 it decays. A practical oscillator starts with a little too much gain, and some nonlinearity (the op amp's output limits, diodes across RF, a lamp or a thermistor whose resistance rises with amplitude) reduces it to exactly 1 at a steady amplitude. The gentler the limiting, the purer the sine.

RC oscillators

Wien bridge: a series RC and a parallel RC as a divider:

f0=12πRCβ(f0)=13A=1+RFRG=3

Phase shift: three RC sections around an inverting amplifier; each contributes 60° at

f0=12π6RC

where the network attenuates by 29, so the amplifier needs a gain of −29.

LC and crystal oscillators

Above a few hundred kilohertz, LC tanks take over. A Colpitts oscillator uses a capacitive divider (C1, C2) across an inductor:

f0=12πLCsCs=C1C2C1+C2

and the transistor needs a gain of at least C2/C1 to make up the divider's loss. A Hartley taps the inductor instead: f0=12π(L1+L2)C. A crystal replaces the tank with a quartz resonator whose Q of 10⁴ to 10⁶ pins the frequency to parts per million.

Worked example

Design a Wien-bridge oscillator for 1 kHz with 10 kΩ resistors, and choose its gain resistors.

Show the solution
  1. Capacitors. C=12π×10k×1kHz=15.9nF
  2. Gain resistors. The amplifier needs exactly 3, so RF=2RG: 20 kΩ with 10 kΩ.
  3. Starting and settling. Nudge RF up a little (as in the sim, 23 kΩ) so it starts reliably, with diodes or a lamp to settle the amplitude.

Answer C = 15.9 nF, with RF = 20 kΩ (nudged up to about 23 kΩ) and RG = 10 kΩ.

Worked example

A Colpitts oscillator has L = 10 µH and C1=C2 = 1 nF. What is its frequency and the gain it needs?

Show the solution
  1. Series capacitance. C1 and C2 in series give Cs = 0.5 nF.
  2. Frequency. f0=12π10μH×0.5nF=2.25MHz
  3. Gain. It needs a gain of at least C2/C1=1 from the transistor.

Answer it oscillates at 2.25 MHz and needs a gain of at least 1.

Worked example

Design an RC phase-shift oscillator for 1 kHz with three 10 kΩ, C sections. What capacitors, and what gain does the amplifier need?

Show the solution
  1. Capacitors. f0=12π6RC, so C=12π6×10kΩ×1kHz=6.50nF
  2. Gain. At that frequency the three sections shift the phase 180° and attenuate by 29, so the inverting amplifier must have a gain of at least 29.
  3. Compare the Wien bridge. It needs only 3; the phase-shift oscillator's high gain makes its amplitude harder to control.

Answer 6.50 nF capacitors, and an inverting gain of at least 29.

Check

A Wien-bridge oscillator uses R = 10 kΩ and C = 1 nF. At what frequency does it oscillate?

Write units the way you normally would: 1.5 Hz, 1500 mHz and 0.0015 kHz are the same answer.

Check

A Wien-bridge oscillator's gain resistor RG is 4.7 kΩ. What RF gives exactly the gain it needs?

Write units the way you normally would: 1.5 kΩ, 1500 Ω and 0.0015 MΩ are the same answer.

Check

A three-section RC phase-shift oscillator uses R = 4.7 kΩ and C = 10 nF. At what frequency does it oscillate?

Write units the way you normally would: 1.5 Hz, 1500 mHz and 0.0015 kHz are the same answer.

Check

A Colpitts oscillator has L = 10 µH, C1 = 0.1 nF and C2 = 2.2 nF. What is its frequency?

Write units the way you normally would: 1.5 MHz, 1500 kHz and 0.0015 GHz are the same answer.

Check

What minimum transistor gain does a Colpitts oscillator with C1 = 0.1 nF and C2 = 0.47 nF need?

Check

A Hartley oscillator has L1 = 1 µH and L2 = 2 µH tapped across a 1 nF capacitor. What is its frequency?

Write units the way you normally would: 1.5 MHz, 1500 kHz and 0.0015 GHz are the same answer.

Check

An RC phase-shift oscillator uses three 4.7 kΩ, C sections for 1 kHz.

(a)

What capacitance?

Write units the way you normally would: 1.5 nF, 1500 pF and 0.0015 µF are the same answer.

(b)

What gain must the amplifier at least have?

Check

A Wien bridge uses R and C; a Colpitts uses L with capacitors a and b.

Step 1

What's the Wien bridge's frequency?

Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.

Explain why

Why does a practical oscillator need slightly more than the minimum loop gain, and something nonlinear?

Practice

Keep practicing

10 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.