Thanks for the comments.
This is a learning project so it's going to be big, ugly and crude. I've moved things around a few times already on the board pictured, hence the ugliness.
For sure, if I needed to do this right the first time, and have some chance of success, I'd buy off-the-shelf blocks, like Mini-Circuits' VCOs, amps, mixers... Un/fortunately, this isn't one of those projects.
![Smiley :)](https://www.eevblog.com/forum/Smileys/default/xsmiley.gif.pagespeed.ic.R8GFI-pF6f.png)
My intention is to play with radio in the VHF-UHF range. I don't have any particular band in mind, hence the wide range. Maybe more of a spectrum analyzer thing, just put a log detector on the output. So this will be the LO, and 300-500MHz would cover a 0-200MHz band with a 300MHz IF. That's certainly enough to see, for example, the local FM radio stations -- like the guy in the video, the homebrew spec. Other ranges are possible of course. So I need enough output to drive a mixer (probably a DBM, with a DC coupled input port to go all the way down to 0MHz), and low enough phase noise to be useful (-95dB/10kHz means good nearby-channel rejection, probably as good or better than any crystal filter I can find?). As a mere proof of concept, things like microphonics and size aren't important (though I appreciate the mention, and come to think of it, those X7R bypass caps will pick up a bit... not the best thing to use around a varactor, say).
Things I don't know... (could fill a library?)
- Where do I find a linear simulator for this sort of thing?
I'd normally throw things into SPICE and have a go, but I already know that's ludicrous at best; even if I can find models for the transistors (I think I actually have models for 2N5179, BFT92, etc., at least), and do my best to express the circuit as an approximate mesh of parasitic components, that still doesn't account for the striking nonlinearities of a mere oscillator (like the hysteretic gain response of an oscillator that's going into blocking behavior). Only a transient simulation can produce those data, a timestep at a time; horribly inefficient. A linear simulation is enough to run the sums and say, "yep, looks like it'll oscillate, go get the soldering iron", but tells nothing about the nonlinearities of the thing (which ultimately are best tested empirically, I guess).
- I'm a little familiar with S parameters, but I haven't used them quantitatively. I think there are two main issues with using them: 1. they are ratiometric (you have to figure against system impedance and reflection coefficients and stuff to get ohms out), and 2. they only apply to the circuit specified in the datasheet/appnote (if specified at all), at the specified conditions. Not, like, intrinsic properties at the device pins (unless it is, and I've missed that?). Which would suggest a "correct" design process would require building the amplifier, then to make an oscillator for example, one would loop the input to the output and insert an absorptive (or diplexing) narrowband filter (or if there's enough s21, a lone resonator on the input might suffice). A normal (reflective) filter could be used by taking into account gain, reflectivity and cable length (one example being a simple 1/4 wave stub). But really, this doesn't sound anything like the design process of an oscillator, at least not by a sane engineer. So there must be another way.
- Circuits are still circuits, but I don't have much experience with lead inductance and junction capacitance (as AC steady state phase shift, rather than how it appears in a switching circuit, which I am good at). I've dabbled in HF tech before, but down there, a 2N3904 is still a 2N3904. All the usual amplifier circuits are easily realized: common emitter, common base, differential, cascode, etc. At worst, a resistor or ferrite bead might be used to clean up parasitic oscillations. Up here, a 2N3904 is a dull lump, and that's not a parasitic oscillation, that's the desired signal!
- Resonator impedance: sure, I can estimate the inductance of a loop of wire, but how physically relevant is it at this frequency? (Partial answer: a one inch loop should be a damned good inductor under, say, 1GHz or so. I should still be well within the 'lumped constant' regime here.)
- Tapping, coupling, matching: transformers aren't transformers up here. Or rather, they can't be made in whole numbers of turns, with asymptotically large inductances and near-unity coupling factors -- transformers as we like to think of them, not just mushy inductors sharing a few lines of flux.
This is one good reason I went for the secondary loop: it's adjustable, from about zero (pushed up against the divider wall) to, oh, maybe 30% equivalent (nearly touching the primary loop). I observe the AGC bias rises when the loop is near, since it's coupling more power out, which needs more gain to keep going. Makes sense. But how would I interpret its impedance? A shorted turn is surely not a resistive 50 ohm source. I would be inclined to call it a rather low impedance (I am taking a fairly low ratio, after all), but it's got considerable stray (self and leakage) inductances as well. Which could be matched, but that requires tuning, yadda yadda.
- I do have some mix #61 ferrite cores: dual aperture (hopefully should be good for mixer baluns, RFCs and the like?) and 0.38" toroids (same idea, or general purpose). I think these should still be okay in the 100s of MHz, achieving enough impedance/inductance on one or a few turns to do the job, while using as few turns as possible in total (parasitic capacitances should add up quickly, no?).
- Coils are coils, except when they are not. I can wind a nice little, oh, ten turn, 6 x 6 mm solenoid with a useful reactance in the band, but it will exhibit higher modes as well, which may affect harmonics and thus cause unexpected pulling or trapping or peaking or losses. I don't know how to model or estimate this.
- Wires are wires, except when they are not. Again, should be lumped constant regime, but even just that black wire leading over to the BNC connector I wonder about. (I took a series of data the other day with the output cable apparently un-terminated... no wonder the AGC was so spiky!)
Anyway, after more poking around, I've got it up to 357-516MHz (0.5-32V), with stable AGC over the range (no dips, just a gradual change in bias, well behaved). It seems changing the length did finally change the frequency, some. I have no idea what was going on before.
Changes:
- Tuning loop 17mm length
- Base coupling capacitor 10pF
- Removed emitter bypass cap
- Emitter tap moved to 4mm from base end
- 10dB pad added between pickup loop and BNC output
Reflections and mismatch in the output seemed to contribute to dips and bumps in the AGC response. Reducing loop gain (and the coupling cap value) seem to have alleviated most of the AGC hysteresis problems. Haven't got the AGC quite stable under step changes in tuning, but for the most part, it seems to settle in under 100us. But more things to optimize first!
Tim