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 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 = 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 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?
1 kHz, gain 3. At = 1.0 kHz the Wien network's phase shift is zero and it passes exactly one third of the signal, so the amplifier must make up a factor of 3: .
Name it
The Barkhausen condition
An amplifier A with a frequency-selective feedback network β sustains a sine at the frequency where
With 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 , 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:
Phase shift: three RC sections around an inverting amplifier; each contributes 60° at
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 (, ) across an inductor:
and the transistor needs a gain of at least to make up the divider's loss. A Hartley taps the inductor instead: . 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
- Capacitors.
- Gain resistors. The amplifier needs exactly 3, so : 20 kΩ with 10 kΩ.
- Starting and settling. Nudge 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 = 20 kΩ (nudged up to about 23 kΩ) and = 10 kΩ.
Worked example
A Colpitts oscillator has L = 10 µH and = 1 nF. What is its frequency and the gain it needs?
Show the solution
- Series capacitance. and in series give = 0.5 nF.
- Frequency.
- Gain. It needs a gain of at least 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
- Capacitors. , so
- 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.
- 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 is 4.7 kΩ. What 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, = 0.1 nF and = 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 = 0.1 nF and = 0.47 nF need?
Check
A Hartley oscillator has = 1 µH and = 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°.
Step 2
What's the Colpitts' frequency?
Step 3
What gain does the Colpitts need, with = a and = b?
Explain why
Why does a practical oscillator need slightly more than the minimum loop gain, and something nonlinear?
With a loop gain of exactly one, a sine neither grows nor decays, but no real component holds its value exactly, and the oscillation must start from nothing, from noise or a supply switching on. So the designer gives the loop a little more gain than needed, making any small disturbance at the right frequency grow. Left alone it would grow until the amplifier clips, distorting the sine. A gentle nonlinearity, such as diodes that lower the gain at large amplitudes or a lamp whose resistance rises as it warms, brings the effective loop gain down to exactly one at a chosen amplitude, where the sine settles.
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.