Fork me on GitHub

Project Notes

#418 Common Emitter Hartley Oscillator

Build and test a BJT common-emitter Hartley oscillator.

Build

Notes

The Hartley oscillator was invented in 1915 by American engineer Ralph Hartley. It is distinguished by a tapped inductor to provide feedback (the Colpitts oscillator uses capacitors).

There are many variations in design possible. In this case I’m using one of the most straight-forward designs based on a project described on http://www.learnabout-electronics.org.

Main benefits of a Hartley oscillator:

  • wide tuning range more easily realised than with Colpitts
  • generally good quality sine waves in the RF range (30kHz to 30MHz)

Main issues with Hartley oscillators:

  • at the higher limits of this range and above, The Colpitts oscillator is usually preferred

Theoretical Frequency

Given by:

f = 1/ 2π sqrt(LC)

Where L = L1 + L2. If significant mutual inductance is present (e.g. when inductors share a common core) this may need to be added for accuracy.

In the tests that follow, experimental results are quite wide of the mark (except around 1.4MHz). This may largely be due to component tolerances(?)

Schematic

The tank circuit comprises:

  • L1 = 2µH (actually I user 2 x 1µH in series)
  • L2 = 10µH
  • C1 = 1nF, but also tested with 100pF and 10nF alternatives

I used 1/4W RF chokes for the inductors and ceramic capacitors

Schematic

Breadboard Construction

First testing with a breadboard build..

Breadboard

Build

Various C1 values do oscillate, however peak-peak voltage is quite low in the breadboard build..

C1 Freq Vp-p Frequency (theoretical)
10nF 656kHz 0.8V 459kHz
1nF 1.45MHz 2.94V 1.45MHz
100pF 3.10MHz 4.6V 4.59MHz

Scope trace for C1=100pF:

scope_bb_100pF

FFT for C1=100pF. In all cases, significant harmonic content is apparent in the output:

scope_bb_100pF

Protoboard Construction

Now putting the circuit on a piece of protoboard, with C1 values selected with a jumper:

CommonEmitterHartley_pb_layout

CommonEmitterHartley_pb_build

CommonEmitterHartley_pb_build_rear

Very strong oscillation achieved, with significantly higher peak-peak voltage output than in the breadboard build, however this does cost more distortion in the signal (I suspect the transistor bias needs adjusting).

C1 Freq Vp-p Frequency (theoretical)
10nF 608kHz 12V 459kHz
1nF 1.42MHz 6.5V 1.45MHz
100pF 3.29MHz 22.5V 4.59MHz

Scope trace for C1=10nF:

scope_pb_10nF

Scope trace for C1=1nF:

scope_pb_1nF

Scope trace for C1=100pF:

scope_pb_100pF

Improving the Waveform

Reducing R3 to 17Ω (put putting a 68Ω resistor in parallel) eliminates the worst (clipping) distortion especially at higher frequencies. Some revised results with this configuration:

C1 Freq Vp-p Frequency (theoretical)
10nF 645kHz 16V 459kHz
1nF 1.42MHz 8V 1.45MHz
100pF 3.12MHz 12.5V 4.59MHz

Scope trace for C1=10nF, R3=17Ω:

scope_pb_v2_10nF

Scope trace for C1=1nF, R3=17Ω:

scope_pb_v2_1nF

Scope trace for C1=100pF, R3=17Ω:

scope_pb_v2_100pF

Credits and References

About LEAP#418 BJTOscillators

This page is a web-friendly rendering of my project notes shared in the LEAP GitHub repository.

Project Source on GitHub Return to the LEAP Catalog
About LEAP

LEAP is my personal collection of electronics projects - usually involving an Arduino or other microprocessor in one way or another. Some are full-blown projects, while many are trivial breadboard experiments, intended to learn and explore something interesting.

Projects are often inspired by things found wild on the net, or ideas from the many great electronics podcasts and YouTube channels. Feel free to borrow liberally, and if you spot any issues do let me know or send a pull-request.

NOTE: For a while I included various scale modelling projects here too, but I've now split them off into a new repository: check out LittleModelArt if you are looking for these projects.

Project Gallery view the projects as an image gallery Notebook reference materials and other notes Follow the Blog follow projects and notes as they are published in your favourite feed reader