Transistor Oscillator

A transistor oscillator generates a continuous AC signal from a DC power supply by using positive feedback to sustain self-reinforcing oscillation — the foundation of radio transmitters, clock generators, and signal sources.

Why This Matters

Every radio transmitter needs an oscillator to generate the carrier frequency. Every digital clock needs an oscillator to produce the timing pulses that drive sequential logic. Every superheterodyne radio receiver uses local oscillators to shift signals to an intermediate frequency for processing. Without oscillators, there is no radio communication, no synchronized computing, no frequency synthesis.

The transistor oscillator replaced the vacuum tube oscillator in the same role but with far less power consumption, no warm-up time, and no filament to burn out. A simple transistor oscillator for the AM broadcast band can be built from half a dozen components. A crystal-controlled oscillator achieves frequency stability better than 0.01% — good enough for voice communication channels. These circuits are among the first things worth building when establishing communications infrastructure from scratch.

Oscillator Fundamentals

An amplifier oscillates when two conditions are simultaneously met — the Barkhausen criteria:

  1. Loop gain ≥ 1: The amplifier must compensate for losses in the feedback network. If the signal loses half its amplitude going through the feedback path, the amplifier must provide at least a factor of 2 gain to sustain oscillation.

  2. Loop phase shift = 360°: The signal must arrive back at the amplifier input exactly in phase with the original signal (positive feedback). If it arrives out of phase, the signal cancels itself rather than reinforcing.

The frequency at which these two conditions are simultaneously met is the oscillation frequency. Different oscillator topologies achieve the 360° phase shift through different mechanisms — LC tanks, RC phase shift networks, or crystal resonators.

LC Oscillators

LC (inductor-capacitor) oscillators use a resonant tank circuit to set frequency. The tank oscillates naturally at its resonant frequency; the transistor provides gain to sustain the oscillation against losses.

Resonant frequency: f = 1 / (2π × √(L × C))

Colpitts Oscillator

The Colpitts oscillator is the most common RF oscillator topology for its simplicity and stability:

Circuit topology:

  • NPN transistor in common-emitter configuration
  • Collector connected to one end of inductor L
  • The other end of L connects to a voltage divider made of two capacitors C1 and C2
  • Junction between C1 and C2 connects to emitter (or ground through bypass)
  • Base DC-biased through resistors R1, R2

How it oscillates:

  1. At startup, noise in the circuit excites the LC tank
  2. The tank produces a sinusoidal voltage at its resonant frequency
  3. The transistor amplifies this signal
  4. Part of the amplified output is fed back to the base through the capacitor divider
  5. The phase shift through the transistor (180°) plus the phase shift through the tank (180°) totals 360°
  6. Gain exceeds losses: oscillation builds until transistor nonlinearity limits amplitude

Practical component values for a 1 MHz oscillator:

  • L: 25 µH (ferrite-core wound coil)
  • C1: 1 nF
  • C2: 100 pF
  • R1: 47 kΩ, R2: 10 kΩ (bias divider)
  • R_E: 1 kΩ (emitter resistor for stability)
  • Supply: 9–12 V

Frequency calculation: f = 1 / (2π × √(25×10⁻⁶ × 91×10⁻¹²)) ≈ 1.06 MHz

Hartley Oscillator

Similar to Colpitts but uses a tapped inductor instead of two capacitors for feedback:

  • Inductor is center-tapped; one half provides the tank, the other provides feedback
  • Simpler to tune with a variable capacitor across the inductor
  • Common in older radio receivers for the local oscillator stage
  • Frequency range easily shifted by changing C

RC Phase Shift Oscillator

For audio frequencies where large inductors would be impractical, RC networks provide the phase shift:

Circuit: A single-stage common-emitter amplifier with three RC sections in the feedback path, each contributing 60° of phase shift for a total of 180° (plus the transistor’s 180° = 360° total).

Oscillation frequency: f = 1 / (2π × RC × √6)

For 1 kHz audio oscillator:

  • R = 10 kΩ, C = 6.5 nF → f ≈ 1 kHz
  • Use three identical RC sections

Practical values:

  • All three R: 10 kΩ
  • All three C: 6.8 nF
  • Transistor gain must be at least 29 to overcome RC network losses
  • Use transistor with β > 100 and adjust R_C (collector resistor) for gain ≈ 40–50

RC oscillators are simple but frequency stability is only moderate (~1%) — sufficient for audio test signals but not radio channels.

Crystal Oscillator

A quartz crystal is a mechanical resonator that vibrates at a precise frequency determined by its dimensions. The crystal’s electrical equivalent is a very high-Q LC circuit with stability 100–10,000× better than a discrete LC tank.

Why crystals are stable:

  • Q factor (quality factor): 10,000–100,000 for crystals vs. 50–200 for LC circuits
  • Temperature coefficient: about −0.003% per °C for AT-cut crystals vs. −0.01% to −0.1% for LC circuits

Basic crystal oscillator circuit:

  1. Replace the LC tank in a Colpitts oscillator with a crystal
  2. Crystal resonates at its marked frequency
  3. Add small trimmer capacitor (5–50 pF) in series or parallel for fine adjustment

Practical frequencies available from salvaged crystals:

  • AM radio: 455 kHz IF crystals
  • CB radio: 27 MHz
  • Old computers: 1.8 MHz, 4 MHz, 8 MHz, 16 MHz
  • Color TV: 3.58 MHz (NTSC), 4.43 MHz (PAL)

These salvaged crystals are usable in oscillator circuits even if not at exactly the needed frequency, by using the crystal as a frequency reference and multiplying with phase-locked loops.

Building and Testing an Oscillator

Construction Steps for a Colpitts AM Oscillator

  1. Breadboard or dead-bug construct the circuit
  2. Use a general-purpose NPN transistor (2N2222, BC547, or equivalent)
  3. Wind inductor: 50 turns of thin magnet wire on a ferrite rod, spread over 2 cm
  4. Measure inductance with LC meter or estimate from winding formula
  5. Calculate C1, C2 from desired frequency and L value
  6. Power with 9V battery through a 1 kΩ series resistor
  7. Measure collector voltage with oscilloscope — should show sinusoidal waveform
  8. Frequency check: bring the oscillator near an AM radio tuned to an empty frequency; tune the radio until you hear a carrier (dead carrier = CW, modulated = AM signal)

Troubleshooting

SymptomLikely CauseFix
No oscillation, DC output onlyInsufficient gain, wrong biasCheck V_BE (~0.6V), increase R_C
Oscillates at wrong frequencyWrong L or C valuesRecalculate, adjust C1/C2 ratio
Frequency drifts with temperaturePoor thermal stabilityAdd emitter bypass, use better components
Clipping/distortionToo much loop gainReduce feedback or add AGC

Summary

Transistor Oscillator — At a Glance

  • Oscillation requires loop gain ≥ 1 and 360° total phase shift (Barkhausen criteria)
  • Colpitts oscillator: LC tank with capacitor divider for feedback — most common RF topology
  • Hartley oscillator: tapped inductor for feedback — easy to tune with variable capacitor
  • RC phase shift oscillator: three RC sections for audio frequencies, no inductor needed
  • Crystal oscillator: replaces LC tank with quartz crystal for 100–10,000× better frequency stability
  • Colpitts 1 MHz oscillator: 25 µH + 100 pF + 1 nF + NPN transistor + bias resistors
  • Test by observing oscilloscope waveform or detecting carrier on an AM radio