4

I made a Colpitts oscillator that worked well first time. Frequency about 82 MHz.

photo of 82 MHz Colpitts oscillator feeding JFET buffer Colpitts diagram corrected again (nb. corrected diagram adding ground between series 68 pFcaps and corrected Vout)

I wanted to add a buffer and chose to use a JFET 2N3819 from the circuit described in the excellent book by Martin Hartley Jones A Practical Introduction to Electronic Circuits (page 22).

JFET buffer circuit diagram

The buffer worked fine on a 1 MHz signal with high input impedance, low output impedance and a gain of about 7, which suited me fine.

However, at the frequency of my Colpitts oscillator it performed poorly (see scope which has the same scale for the input in blue as the output in yellow) The gain is much less than unity.

Scope showing input to buffer blue and output from buffer yellow on same scale

The datasheet for the 2N3819 says "This device is designed for RF amplifier and mixer applications operating up to 450MHz" so I'm not sure what I am doing wrong.

Edited: further information added by OP:

After reviewing the helpful comments (and correcting the Colpitts circuit diagram) I positioned a TinySA spectrum analyser and measured qualitatively the difference in measured outputs between the scope loaded, and not loaded on the frequency and amplitude with the following results: Loaded with scope Not loaded with scope As expected, there was a noticable small increase in frequency and amplitude when the scope probe was removed, but not by as much as I feared. Then I looked at the harmonics up to 350 MHz. The photo speaks for itself Colpitts harmonics

Dabbo
  • 579
  • 1
  • 3
  • 10
  • 4
    Output should be taken from the 3904 collector, and the series 68pFs should be grounded, no? (I'm assuming these are just typos on the diagram; it doesn't look to be connected that way.) – Tim Williams Jun 02 '22 at 12:23
  • 1
    It's a typo. There is indeed a ground connection between the series 68 pFs. Thanks for spotting. My bad, as young folk say – Dabbo Jun 03 '22 at 09:42
  • 1
    ...also, as you say, there was an error on Vout, now corrected – Dabbo Jun 03 '22 at 10:48

3 Answers3

6

Expanding on Andy's answer: note that analysis of this circuit, in general is kind of dubious. Let me explain in what sense I mean that:

Consider the inductance between most any two points in the circuit. The veroboard layout and THT components give paths of several cm in length. The inductance of free space is \$\mu_0 \approx 1.257 \mu \textrm{H/m}\$. So these lengths correspond to some 10s of nH, give or take a geometric factor due to their cross section and relative placement (i.e.: wide loops of thin conductors, have higher inductance than thin loops of wide conductors). Corresponding to some 5's of ohms at 82MHz. Maybe not a lot versus the ~kohm circuit impedances, but keep in mind these inductances are coupled as well, so where some 10s of mV drop across one, a few mV also appear along neighboring traces. There is no concept of ground in such a circuit, not as we would like to consider it -- everything is floating somewhat relative to everything else, a little bit squishy rather than the hard and solid connections we would like to think we have.

Likewise, your scope probes have considerable effect on the circuit. A typical 10x probe is on the order of (10pF + 500R) || 10M. That is, at DC it looks like 10M, but at very high frequency it's closer to 500 ohms (or maybe low kohms, depends), and inbetween, the equivalent capacitance and resistance is also somewhere inbetween.

So it all looks rather messy. We could run a simulation of the schematic as given, but we're almost certain to get significant differences in waveforms (amplitude, frequency) -- even if accounting for probe impedances. It's not exactly that such a circuit is hopeless -- but it's a lot harder to work with, than it might look at first.

So the first challenge is just seeing how the system (when built this way) is more complicated than the schematic suggests. The second is finding ways around that.

What should we do to solve this?

Use RF design techniques.

First, build everything on ground plane.

You can get veroboard or pad-per-hole or whatever perf you like, with plane (mesh really, since, it's perforated with holes, but it's still better than nothing), and that helps a lot. The wide area conductor forces currents to flow on one side, near the conductors routed over it -- reducing stray inductance, and greatly reducing coupling between traces. This is the first critical step to being able to easily analyze circuits: we can again mostly ignore the coupling between traces.

With a ground plane, we can measure a voltage difference at a point (with respect to a point on that ground plane -- notice we need to maintain good shielding when we make such a measurement -- say by soldering a coax shield directly to the plane), and be reasonably confident that what we measure is what's really going on in circuit, and not an artifact of strays or probing technique.

Second, use lower impedances.

More generally: appreciate that impedances are lower by necessity, and work with that.

In fact, impedances ultimately are proportional to the impedance of free space, Zo ~ 377 ohms. Transmission lines are typically lower than this (again, due to geometry factors -- hence coax being 50/75 ohms, twisted pair 50-150, twin lead 200-600, etc.) There is no such thing as 10kohm transmission line, so we can leave such impedances aside, at least for signal purposes! Now, we can have circuit impedances significantly different from these, either when the transmission line is very short (~cm is still quite short relative to the ~3m wavelength of this frequency, or even the wavelength of most harmonics thereof), or when it's resonating (basically, reflections pile up N times, giving something on the order of Zo*N or Zo/N).

Mind, we don't need to consider transmission lines in a compact circuit like this, we can use their equivalent inductance and capacitance (low frequency / fractional wave approximation) -- but we still must use them if we connect to anything at some distance, i.e. by cable, probe, antenna, etc. (Indeed, the probe loss can be seen as the fact that power flow is required to sense the signal; it can be made arbitrarily small with clever probe design (especially active types), but cannot be made zero.) And since reflections would be a problem, we prefer to use terminated transmission lines, even if we don't need the available signal power, or the low impedance, at the far end (say, where it's going into an oscilloscope's input buffer circuit).

So, for the oscillator itself, I mean, it's running, clearly it's not having too bad of a time. The signal at its collector is probably much less than it could be, with the 1.8k supplying it, but that's not even a big deal, since your JFET will have voltage gain, and a lowish input voltage is probably a good thing overall. (The other way to get a low voltage, of course, would be making the resistance very low, maybe 100 ohms or less. Which might be an excellent idea for coupling directly to a coax cable, for example -- say if the buffer had to be at some distance, for some reason.)

As for the buffer, we have several things to consider:

  • Input capacitance: what effect does this have on the oscillator (loading)?
  • Output power (or voltage, or gain): is biasing adequate (smaller drain resistor, or change to an inductor)? Is it well matched to the load? What is the load? (Again, a scope probe is quite a strong load compared to the schematic as shown!)
  • Feedback: a common-source amplifier exhibits Miller effect, i.e. Cdg is multiplied by voltage gain, which means effectively the input capacitance depends on voltage gain. And output voltage depends on load, so by chain, there will be some sensitivity of the oscillator on the buffer load. Which means it's not really a great "buffer", is it? Now, 2N3819 is a pretty small JFET (low capacitances, modest Rds(on)), so this might not be much effect, but then again if you're looking for a quite stable frequency, maybe this bears more consideration.

The usual way to avoid the last one, is a common-gate or cascode circuit (the latter of course incorporates the former). The source input side has a fairly low impedance (~1/gm), which is a good match to transmission lines (hence a common input circuit for radios) but might not be so desirable here; the drain output is well isolated (Cds is small) so it serves well as a buffer. Noninverting diff pair is also a good candidate: the input side looks like a source follower, thus having mostly Cgd (with no Miller effect), causing little load on the signal source; the output has current and voltage gain.

To say nothing of matching, of course; it could be that you can increase your output power by using a capacitor divider from the oscillator to the JFET, for example, or some manner of LC network; or a matching network or transformer at the output (so the impedance seen by the drain can be fairly high, getting a reasonable voltage swing thus using most of the power available from the transistor), to match to a low impedance load (preferably using coax straight into the scope at this point -- probes aren't great at this frequency), but that's a much more complex (ha) topic to cover in another answer...

Finally, the scope -- the DS1054Z is only 100MHz or so; you're lucky to see any bounce/flattening of that waveform at all! Likely, the real waveform is crunchier than you can see here, but you can only guess at what that might look like. (On the upside: 2N3904 doesn't really go fast enough to do anything crazy, and probably it's some flattening due to saturation, and a bit of ringing due to slamming into saturation every cycle. 2N3819 can oscillate at a bit higher frequencies (>400MHz), but you'd have to be pretty unlucky with layout I think to excite that.)

If you can get a one of those cheap handheld spectrum analyzers, you can get a better idea what's going on with the waveform, by looking at the higher harmonics.

Tim Williams
  • 22,874
  • 1
  • 20
  • 71
4

The drain resistor is certainly far too high in value. With only 1 pF of spurious capacitance at the drain node to ground, the 3 dB point of 22 kΩ and 1 pF is 7.23 MHz. Hence, the drain resistor needs to be far, far lower in value.

Then, consider what capacitance your o-scope probe might introduce to the drain node. It might easily be several pF to a dozen pF.

Conclusion - reduce the 22 kΩ drain resistor to around 1 kΩ and redo the source bias resistor calculation.

The above problem sticks out quite clearly but, I'm not ruling out other problems associated with the veroboard layout and possibly a bad choice of filter and coupling capacitors i.e. ones that are self-resonant below 100 MHz.

Andy aka
  • 434,556
  • 28
  • 351
  • 777
  • 2
    Not only that but at the low current the biasing gives the gm and thus gain will be very low - the gm increases with drain current for a JFET. – Kevin White Jun 02 '22 at 14:24
3

I'm answering my own question, having solved the problem of the poor buffer. The revised source follower buffer circuit is very simple but works unbelievable well and has a low output impedance. Placing a 33 Ohm resistor on the output has a minimal effect on the output voltage (which is in the range of 3 to 4 volts peak-to-peak). I don't want to be too specific about measuring the output impedance because at these frequencies the reactance of the leads and probes are very significant.

The observant reader will see that the oscillator is of a different type and is at 54 MHz (plus strong harmonics)

54 MHz osc & buffer circuit diagram 54 MHz oscillator with JFET buffer

Taking advice from Andy & Tim, I made my first attempt at the ground plane technique. As I don't own a pillar drill, I made islands by first making a light tap with a centre punch and then using a spot weld cutter in a hand drill. Not pretty, but it did the job.

54 MHz on TinySA

Note: During the course of construction I first made and tested the oscillator. But after adding the buffer the circuit stopped oscillating, even when disconnected from the gate of the JFET. After puzzling why this could be, I added a second large capacitor (390 uF came to hand) to the power supply near the buffer, and that solved the problem.

Dabbo
  • 579
  • 1
  • 3
  • 10
  • 3
    Nicely done! Yeah, all the harmonics indicate a fairly "crunchy" waveform, meaning it has plenty of excess gain; something you'd need, well -- you can see exactly what scope bandwidth you'd need to resolve that. :) Proto tip: besides cutting circles out of the surface, you can also solder pieces on top. I find that easier, myself, and copper clad is easily cut into bits with metal shears or what have you. Does need a good enough soldering iron to solder the bits down (though they can be glued as well). – Tim Williams Jun 06 '22 at 15:21