Category Archives: Various

Resistive Power Splitter: trying out a low-cost construction

For leveling of signals, or test that require two tracking channels, like tracking insertion loss measurements, a resistive two-element divider is very handy. These are broad-band, and rather robust devices.

One input, two resistors (50 Ohms each), in series with two outputs.

Such devices are available from various suppliers, and cost anywhere from 25 to 300 USD, depending on level of precision and frequency range.

Why not try to build one yourself, with some small 0603 resistors; I used China-made SMA connectors, and 4 pcs of 100 Ohm resistors.

splitter

How does it perform? Well, let’s connect to it a network analyzer and try:

splitter test

Port A through measurement (port B terminated):
thru port a

Port B through measurement (port A terminated):
thru port b

Tracking is pretty good, 0.05 dB @2 GHz, 0.15dB @2 GHz.

ret loss

swr

1.2 input SWR – well, pretty acceptable; might still be able to improve by adding some solder or by changing the length of the pin. Good enough.

Here, some specs of a HP resistive splitter:

hp11667a

Oscillator Driver/PLL: tuning fork oscillator

Recently, a “very special” circuit had to be designed – a driver for a mechanical oscillator. The objective – to find the natural frequency of such oscillators, to a very high degree of precision, and at very small amplitudes, in the µm range.
Measurement of the frequency is easily done by a frequency counter – what is needed is a circuit that keeps the oscillator going at a constant amplitude.

The oscillator (a mechanical tuning fork, metal tube) carries a small magnet that can be used, together with a stationary coil, to make is oscillate and sustain the oscillation.
The movement of the tuning fork is sensed by a light gate – an IR emitter diode, and a photodiode.

The oscillator is running at a few 100 Hz, in a very well thermostated environment.

First part, the photodiode amplifier, and signal conditioning circuits.
osc pickup and amp

The second part, the PLL (a classic 4046), and some auxiliary circuitry to provide monitor outputs.
osc pll-vco
For operation at other frequencies – adjust the VCO timing capacitor, or use an external VCO.

The coil driver – and monitor driver, this is a very low power systems, a few milliamps are plenty for the coil.
osc coil driver

Tesla/Voltcraft BK127C Power Supply: a trusty fellow

One of the first pieces of electronic equipment I have ever owned, maybe the very first, a 0-20 V power supply, 1 A max. current. Made for Voltcraft (brand of the “Conrad” electronic mail-order company, popular in Germany), by Tesla, “Czechoslovakia”.

In the mean time, I have 3 of these, and despite the “1 Amp” limit, these are very useful supplies, and there are hardly any circuits that need more than 1 Amp. The output is reasonably low-noise – very similar to other DC supplies or power packs.

bk127c

Build quality is very sturdy, folded steel – and a basic but very reliable circuit, designed around a uA723.

bk127c schematic

Years ago, I had one of the supplies fail on me, when powering a high voltage circuit – this caused the power transistor, a KD606, to fail. Replaced it with a BD317 – working perfectly fine.

The manual – sorry, in German only.
tesla bk127c pwr supply

Reference Signal Conditioning: 10 MHz amplifier/limiter, :2 divider, 5 MHz output

A common task for most projects involving a PLL or other RF circuitry requiring a reference frequency signal is the conditioning of the incoming reference. These reference signals are typically very accurate in frequency, but never very accurate in levels, nor at the levels constant (sometimes, multiple instruments are connected to a single 10 MHz source, an disconnected when the setup is re-configured etc.). Also, there is always a risk of incorrect connection, with all these BNC inputs.

Therefore, we have a few requirements:

(1) Input needs to be stable to a reasonable DC voltage, say, a few Volts.

(2) Input needs to widthstand at at least 20-25 dBm input, about 0.25 Watts.

(3) Input needs to widthstand ESD, or other transients, and provide reasonable termination to avoid reflection. In the given case, we want about 50 Ohm – some reference inputs have higher resistance.

(4) Circuit needs to work from about -10 dBm on, up to 10 or 20 dBm, with no significant change in jitter, etc., and provide a stable, constant level output, TTL levels, or whatever is required.

The current circuit, which is intended to be a reference signal conditioner for a Micro-Tel MSR-904A Microwave Receiver, also needs a 5 MHz output – the PLL will run off 10 MHz, but the MSR-904A still is ancient enough to require 5 MHz (5 MHz used to be the standard reference frequency from early times up until the end of the 70s – since then, 10 MHz is almost exclusively used, and sometimes, 100 MHz, for double-digit GHz circuits).
Such 5 MHz output is easily realized by a divider circuit, based on a 74F74.

Now, how do we achieve all this. Well, here is the schematic:
ref signal conditioner schematic

The essential part – a 74HCU04. This little circuit is extremely useful – get a handful of these, they are not just “inverters” but acutally work at frequencies from DC to many MHz, can source and sink at least 4 mA to 5 V. The 74HCU04 is more or less a set of 6 push-pull MOSFET pairs, in a handy package. These pairs can also be paralleled with no precautions to get more current, if needed.

The signal input is protected by a 56 Ohm termination (which can burn out if you feed excess DC or more than 0.25 W of RF – unlikely to happen). Then, there is a 47 n decoupling capacitor, a series resistor, and a clipping circuit – which will most likely never be activated.
The 22k resistor, along with the first inverter, and the 470 Ohm resistor form the first amplifier.

Signal A (see letter on schematic, input of first inverter):
ref signal circuit A
-scope is set to 1 V per div vertical, 50 ns per div horizontal.

Output B:
ref signal circuit B

Note that the first gate is self-biased, no need to adjust anything.

This is then squared-up by the limiting action of the following 2 inverters:
ref signal circuit C

ref signal circuit 10 mhz E 1 v-div 50 ns-div

Now, we have a clean 10 MHz square wave. This is fed to a 74F74 edge-triggered flip-flop. The 74F74 is pretty fast, it easily works up to 100 MHz and will provide fast-rising edges.
The flip-flop will also ensure pretty much exact 50% duty cycle of the 5 MHz output.

ref signal circuit 5 MHz F

The output is fed through a low pass, 51 Ohm – 470 p, about 6.6 MHz, because we want low jitter at the divider stage (fast rise time pulses feeding the flip-flop), but not too steep edges at the output:
ref signal circuit G

After amplification by another 74HCU04 inverter:
ref signal circuit 5 MHz H
– this signal is still referenced to ground, and after another resistor and capacitor, finally, an AC signal, that can be used for various purposes, including frequency locking a MSR-904A.
ref signal circuit 5 mhz output I

Note: when you measure in such circuits, always use a >10 Meg, 10:1 low capacitance probe. Otherwise, you will get results, but these won’t reflect reality.

A quick test with a 10 MHz test signal – the circuit works well from about -22 dBm to 20 dBm, no issues at all. For the specification, and to ensure that is is working even under awkward conditions, we might limit it to -10 dBm to +16 dBm.

The little thing in action:
ref signal circuit test setup

HP Fundamental/Harmonic Mixer 5086-7285 (22 GHz): digital bias control

In an effort to build a 2-18 GHz down converter, a HP mixer 5086-7285 needs to be controlled. This is one of a group of 22 GHz mixers, all used in earlier HP spectrum analyzers. These mixers are very linear, and useful both at fundamental and harmonic frequencies.

That’s the little magic thing, and the frequency list-harmonics:
5086-7285 mixer
5086-7285 mixer harmonics

All in all, at a first glance, pretty easy to use – it only needs +10 and -10 V power supply and bias for the diode.

Well, bias, after looking through the schematics, this is the assembly taking care of it: a board full of resistors and amplifiers, with no less than 22 (!) adjustment pots.
08565-60023 bias assembly

The interesting part are the bias drivers itself –
hp bias circuit for harmonic mixer
– the linearization, etc., this can all be done easily by using digital memory and a DAC nowadays, but the drivers, we still need them.

The bands B3 and B5, the even harmonics, the things are clear and as expected – a voltage source, and a resistor. Easy enough. But, what did HP do for the odd harmonics?? – the are a few extra resistors around the opamps, and these resistors make it a tricky thing. Too tricky to make it easy to understand. Some kind of negative resistance circuit/kind of a voltage to current converter, which depends a bit on the load resistance.

So, what do you do to understand such things better – build a little test circuit, here we go:
mixer bias test circuit
-it is essentially the same circuit, as for the B1/B4/B2 bands, U6B of the HP circuit- just left out the switching transistor.

It works pretty well, and as a U to I converter, see here:
bias driver test 200 mv-div ramp  1 mA-div current
– ramp voltage is the drive signal, 800 mV p-p, 200 mV per div (center line is zero). During the negative signal period, the output is active – current signal is 1 mA per div (center line is zero).

Having the basic functionality of the ciruit confirmed – some calculations with LTSpice, one of the best general purpose analog simulators around, Thank You, Linear Technology!

Here the files, in case you want to investigate it yourself:
hp mixer bias

This is a typical result, mixer bias current, vs. input voltage of the circuit, at resistance (of the mixer), of 950 (steepest)-1050-1150-1250 ohms.
r6-92 1-9 bias rscan vs Vi
So, this cirucit really is a U to I converter, with the slope depending on the load resistance.
Also note the model circuit of the mixer internal resistor and diodes. The two diodes and the 970 Ohm resistor are the result of bias current vs. bias voltage measurement. Bias voltage is in the range of -1 to -7 volts, about 0 to 8 mA.

With these findings, next step will be to build a driver circuit that can work fully digitally controlled, with no adjustment pot at all (series resistors will be manually selected).

YTO YTF Driver: 0..250 mA, 16 bits resolution

Quick update on the YTO/YTF driver board – with 16 bits of resolution. Assembly, is complete, and basic function has been checked – digital control test will follow tomorrow.
Current is settable from 0 to 250 mA, with 65535 counts of resolution – about 3.8 Microamps per LSB. All has been build to minimize noise, with heavy filtering on the supplies. The DAC is run from a dedicated 5 V supply, with a 2.5 V precision reference, 1 ppm/K, MAX6325ESA+.
The U to I converter is powered by 11.4 V – provided by a LM317 voltage regulator.
Switching element is an IRF730, operated as a series variable resistance in series with the coil.

YTO YTF driver 2x250 mA 16 bit

YTO YTF driver 2x250 mA 16 bit schematic

Looking at the BoM, the parts sum up to about USD 35 plus board, not bad – target is to stay below about $100 for the final assembled unit, which will be achievable, no issue. Main cost comes from the MAX reference, and the DACs (DAC8830), almost USD 22.

To come: bandwidth testing

YIG tuned oscillator (YTO) / YIG tuned filter (YTF) driver: digitally controlled current source

For a digitally controlled YIG oscillator and filter, a driver is needed that can convert serial data from a microcontroller to a well defined, stable, and low noise current.
Bandwidth of the circuit should be a few 100 Hz, and maximum current in the 300 mA range, so it needs to run of a reasonably high supply voltage, otherwise, the inductance of the coil will limit the slew rate. The YTO needs about 120 mA full scale, the YTF about 260 mA.

I might do some fine tuning on the DACs later or change the current sense resistors for a 2.5 V drop at close to max current, for best signal to noise ratio, but for the test circuit, 10 Ohm RH-25 resistors will be used. The current sense resistors are a very critical part – they need to be low drift, over time, and over temperature, regular resistors, with 100 ppm/K or more will only cause drifting frequencies, and trouble.

Here, the draft schematic, as-build:
YIG driver schematic dac control - u to i converter

That’s the test setup, with +20 V and -10 V power supply, for the YIG. In the final setup, there will be independent, filtered and regulated supplies for low phase noise.

YTO driver test setup

The circuit is driven by a HP 8904A signal generator, with independent adjustment of offset and voltage. Here, the output at 70 mA current, with a +-1 mA amplitude variation:

YTO output 70 mA +-1 mA
YTO is a HP 5086-7259, 2.0-4.5 GHz (nominal).

So, about +-40 MHz – close to expected +-35 MHz.

Bandwidth analysis will follow.

Here a quick calculation of the DAC resolution, 1 LSB will be about 0.13 MHz, more than sufficient for the DAC tune. The DAC used, a DAC8830ICD has typical +-0.5 LSB non-linearity, max +-1 LSB. Additional tuning will be easily accomplished by the FM coil, using a PLL.

yto ytf dac calculator

Avantek AFT-4231-10F 2-4 GHz Amplifier: some characterization and modeling

The task for today – characterization of a bunch of microwave amplifiers, Avantek/HP AFT-4231-10F. These are quite rugged and affordable components, widely available surplus, and hermetically sealed – will last forever, if things are not messed up completely.

aft-4231-10f under test

The specification however, it’s not quite clear, and no detailled information could be found on the web. That’s why I have been asked to come up with measurements and a calculation model that allows to estimate the gain (and the actual maximum output power, and the necessary input power, to reach close to maximum output), at any given frequency and input power. Also, it needs to be checked how far above 4 GHz this device still works.
Last item is to measure the supply voltage sensitivity of the gain, to get a feeling on the required stabilization, to avoid incidental AM on the signal.

The datasheet –
aft series amplifier

The only equipment at hand at my temporary workshop here, a microwave source, EIP 928, and an HP 8565A spectrum analyzer was used to measure the gain at various input levels. Accuracy of this setup is about 1 dB.

Some of the results (0 dBm input: blue diamonds; 10 dBm input: green triangles):
aft-4231-10f pout at 0dbm and 10 dbm pin vs frq

To get a proper continuous description, these data were fit to a non-linear function, fractional polynomial term (fits are done using Tablecurve 2D, an excellent program, highly recommended, but doesn’t come cheap):
gain fit
The gain fit (0 dB input) can also be used to describe the maximum power, with some scaling factors – this considerably reduces the number of parameters needed, and the calculation effort later, when implemented in a microcontroller. Black lines in above diagram show the fit results.

For the gain compression, a 2nd order polynomial is used, and scaled for the 10 dBm input gain.
aft-4231-10f gain compression vs pin at 3 GHz

Once this is all established, no big deal to see the full picture.

Gain, at various input power levels, Pin:
aft-4231-10f gain vs frq at various pin

Output power, Pout, at various input power levels, Pin:
aft-4231-10f pout vs frq at various pin

Accordingly, no problem to get 18 dBm+ in the 1.8 to 4.5 GHz range, perfect for the application requirement.

The final item – supply voltage impact on gain: tested at 3 GHz, 0 dBm input power.
Using a Micro-Tel 1295 test receiver, the reference level was set to 0 dB at 15 V supply voltage, which is the nominal voltage.
Down to 9.0 V, the AFT stays within an excellent 0.01 dB variation. Output power slightly increases (0.15-0.25 dB) down to 6 V. At about 5 V, amplification cuts out. So the AFT can work with any voltage from 10 to 15 V, at about 80 mA, and seems to have pretty good internal regulation.

amp avantek aft-4231-10f

A quick look at the HP 5086-7259 YIG Oscillator: 2.0-4.5 GHz, 15-18 dBm

For a project involving an harmonic mixer, a strong and quiet – low phase noise – local oscillator is required. Looking around, I found a 5086-7259 in one of my boxes, a popular part, used in some high-quality HP test equipment.
Unfortunately, no data around, and this might also be the reason why these often go for about 50 USD on xbay.

hp 5086-7259 YIG oscillator

After some study of the circuit, here a rough schematic. It is essentially a set of Zener diodes and filter caps, plus some high-quality resistors.
The thing needs a +20 Volt, and -10 Volt supply. Not a problem – typically, this would be provided by dedicated low noise regulators, from the 24/28 V and -15 V rails common in test equipment.

hp 5086-7259 schematic (5061-5426 board)

Some measurement of the tuning current – it needs about 42 mA at 1.8 GHz (seems to work below the specified 2 GHz), and about 110 mA at 4.6 GHz – therefore, sensitivity as about 43 MHz per 1 mA.

Doing a quick calculation – setting the frequency to 1 MHz will required a DAC of about 12.5 bits resolution. Using a 16 bit DAC for the coarse tune current will be perfect, about 70 kHz per LSB; with phase lock on the FM coil.

The output power is quite substantial, about 15-18 dBm. Here, operated at the low end of the range, about 16 dBm:

5086-7259 output

Figuring out the details of the Avantek S082-0959 YIG filter

For a small job, I need to design a digitally-controlled YIG preselector (a high-performance bandpass filter), for the 12.4 to 18 GHz range. The application is related to a test rig, and only 4 units are needed – at low cost, and controllable by USB. The control will be easy enough, just a programmable current source and some parameters, but first, finding a suitable YIG is quite a challenge – either only single pieces are available surplus, or they are new, and prohibitively expensive.

Remembering some earlier work, I had a look at the S082-0959 – these were made by Avantek, and are available, scavenged from old spectrum analyzers, for about 200-300 USD each, and still have one spare around here. The S082-0959 is also known as YF85-0107, or HP 0960-0473 (pinout may vary).

To get started, first the basics need to be figured out. Tuning sensitivity, bandwidth roll-off (need at least 12 dB/octave; and >50 dB spurious).
The thing has two pairs of connections: heater (2 wires) and coil (2 wires, this sets the magentic field – the tuning, via current – not voltage – control).

Looking at some spectrum analyzer schematics – the heater needs about 28 V. And, in fact, it works well and heats up quickly, drawing about 80 mA at 28 V, less with strong coil current applied (more during heating-up).

YIG filter Avantek S082-0959

The test setup – two power supplies, a counter EIP 545A, a microwave source EIP 928, and a microwave receiver Micro-Tel 1295. Signal level was 0 dBm.
The coil supply has a 4.7 Ohm current sense resistor, I’m measuring the voltage drop to calculate the current.

For 10 GHz, the tuning current was found to be about 132 mA, about 75.8 MHz/mA sensitivity.

Measurement result of insertion loss vs. frequency –
s082-0959 yig insertion loss vs frequency at 132 mA
– note that the passband is not well captured, but 3 dB bandwidth has been measured, by manual tuning, about 25-30 MHz. Recordering accurate values is a bit troublesome, would need to phase-lock the microwave source and receiver.
There is a spurious signal, about 350 MHz above the center frequency. This I will need to investigagte further. Note that the measuement points are not arbitrarily selected, but the YIG was actually tuned for the minimum loss, and the maximum response of the spurious.

Calculating the roll-off (25 MHz assumed 3 dB bandwidth):
s082-0959 yig roll-off at 10 ghz

As you can see, when doubling the bandwidth (e.g., from 2x to 4x – don’t look to close to the center frequency), the signal is about 20 dB down. That’s close to 18 dB per octave.
Without going into theory, which can be found elsewhere, a one-stage YIG filter will give (ideally) about 6 dB per octave. So the S082-0595 is most likely a 3 stage (3 sphere) filter. Well, limited accuaracy – the YIG will be fully characterized, once things are more advanced.