Skip to main content

Transistor Oscillator - Generating Periodic Signals


💡 What is an Oscillator?​

An oscillator is a circuit that generates a periodic, repetitive signal without any external input! It converts DC power into AC waveforms.


🔧 Common Transistor Oscillator Circuits​

1. Hartley Oscillator​

The Hartley oscillator uses two inductors (or a tapped inductor) and a capacitor in its feedback network.

How it works:

  • The LC tank circuit (L1 + L2 + C2) determines the oscillation frequency
  • The tapped inductor provides feedback to the base
  • Good for radio frequency (RF) applications

Frequency Formula:

f = 1 / [2π√(L_total × C2)]
where L_total = L1 + L2 + 2M (mutual inductance)

2. Colpitts Oscillator​

The Colpitts oscillator uses two capacitors and an inductor in its feedback network - a complement to the Hartley oscillator!

How it works:

  • Two capacitors form a voltage divider for feedback
  • Generally better stability and easier to design than Hartley
  • Also common in RF applications

Frequency Formula:

f = 1 / [2π√(L1 × C_eq)]
where C_eq = (C1 × C2) / (C1 + C2)

3. Astable Multivibrator (Flasher!)​

The astable multivibrator is a relaxation oscillator that alternates between two states - perfect for LED flashers!

How it works:

  • Two transistors cross-coupled with capacitors
  • No stable state - continuously flips back and forth!
  • Great for making LEDs blink at a set rate

Frequency Formula:

f = 1 / [T1 + T2]
where:
T1 = 0.69 × R1 × C2
T2 = 0.69 × R2 × C1
For symmetric, set R1 = R2 = R and C1 = C2 = C
Then f = 1 / (1.38 × R × C)

📊 How Oscillators Work - Barkhausen Criteria​

For an oscillator to maintain oscillation, it must satisfy the Barkhausen criteria:

  1. Gain ≥ 1 - The loop gain must be at least unity
  2. Phase = 0° or 360° - Total phase shift around the loop must be zero

🎓 Classroom Example​

Build a Simple LED Flasher:

  1. Build an astable multivibrator with two NPN transistors (2N2222 or BC547 work well)
  2. Use R1 = R2 = 10kΩ, C1 = C2 = 100μF - this gives about 0.7s per cycle
  3. Connect LEDs (with 220Ω current-limiting resistors!) to each collector
  4. Power with 5-9V and watch the LEDs blink back and forth!

Try changing the capacitors - larger values = slower blinking!


💡 Summary​

  • Oscillators convert DC to periodic AC signals
  • Hartley & Colpitts use LC tanks for RF frequencies
  • Astable Multivibrator uses RC timing, great for LED flashers
  • Barkhausen Criteria: gain ≥ 1 and 0° phase shift
  • Practical and fun - easy to experiment with on a breadboard!