Category Archives: Various

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.

PLL frequency response measurement: a ‘not so fancy’ approach, for every lab

Measuring gain and phase shift of some decice doesn’t seem like a big deal, but still, how is it acutally done? Do you need fancy equipment? Or is it something of value for all designers of PLLs that don’t just want to rely on trial and error?

The answer – it’s actually fairly easy, and can be done in any workshop that has these items around:

(1) A simple function generator (sine), that can deliver frequencies around the band width of the PLL you are working with. Output level should be adjustable, coarse adjustment (pot) is enough. You will need about 1 Vpp max for most practical cases.

(2) A resistor, should be a considerably lower value than input impedance of the VCO. Typical VCOs might have several 10s of kOhm input impedance. Otherwise, put a unity gain opamp (e.g., OPA184) in between the resistor and the VCO tune input.

(3) A resistor, and some capacitors (depends a bit on the bandwidth), for general purposes 10-100 kHz, a parallel configuration of a 100n and 2.2 µF cap is just fine. In series with a resistor, a few kOhms. This network is used to feed a little bit of disturbance to the VCO, to see how the loop reacts to it… the whole purpose of this exercise.

(4) Make sure that the loop filter has low output impedance (opamp output). If your circuit uses a passive network as a loop filter, put in an opamp (unity gain) to provide a low output impedance.

(5) A scope, any type will do, best take one with a X-Y input.

Quick scheme:
pll gain phase measurement diagram

To perform the acutal measurements, the setup is powered up, and phase lock established by adequately setting the dividers, as commonly done.
The signals (X: drive=input to the VCO, Y: response=output of the loop filter) are connected to the scope. Set the scope to XY mode, AC coupled input, and SAME scale (V/div) on X and Y.

Next, set the signal gen to a frequency around the range of the expected 0 dB bandwidth (unity-gain bandwidth), and adjust the amplitude to a reasonable value (making sure that the PLL stays perfectly locked!). Amplitude should be several times larger than the background, this will make the measurements easier, and more accurate. If you have a spectrum analyzer, you can check for FM modulation. On the Micro-Tel 1295, which has a small ‘spectrum scan’ scope display, it looks like this:
1295 fm modulated signal during gain-phase test

On the X-Y scope display, depending on where you are with the frequency, it should show the shape of an ellipse, somewhat tilted – examples of the pattern (“Lissajous pattern”) below.

Frequency lower than 0 dB bandwidth – in other words, the loop has positive gain, therefore, Y amplitude (output) will be larger than X (input)
pll gain phase measurement - positive gain (frequency below BW)

Frequency higher than 0 dB bandwidth – in other words, the loop has negative gain, therefore, Y amplitude (output) will be smaller than X (input)
pll gain phase measurement - negative gain (frequency above BW)

And finally, same signal amplitude in X and Y direction.
pll gain phase measurement - 0 dB condition

Sure enough, you don’t need to use the X-Y mode, and circular patterns – any two channel representation of the signals will do, as long as their amplitude is measured, and the frequency identified, at which X and Y have equal amplitude (on the X-Y screen, also check the graticule, because the 45 degrees angle is not so easy to judge accurately). That’s the unity gain (0 dB bandwidth) frequency we are looking for. With little effort, the frequency can be measured to about 10 Hz.
The X-Y method has the big advantage that it relies on the full signal, not just certain points, and triggering a PLL signal with a lot of noise can be an issue.

Try to keep the amplitude stable over the range of frequencies measured – by adjusting the signal gen.

Ideally, the 0 dB bandwidth is measure at various frequencies over the full band of your VCO, because the bandwidth can change with tuning sensitivity, etc., of the VCO.

The 0 dB bandwidth is not the only information that can be extracted – also the phase shift is easily accessible. Just measure, at the unity gain frequency, or any other frequency of interest for you, the length of the black and red lines:
pll gain phase measurement - 0 dB condition - phase determination

The phase angle is then calculated by: divide length of red line, by length of black line, in this case, 4.6/6.9 units. Then apply the inverse sin function, to get the phase angle, sin^-1(4.6/6.9)=41.8 degrees. The 0 dB frequency, in this case, was 330 Hz.

A quick comparison with the data acquired using a more sophisticated methods, a HPAK 3562A Dynamic Signal Analyzer.

Gain: 0 dB at 329 Hz – that’s close!
pll test result - gain

Phase: 38.7 degrees – fair enough.
pll test result - phase

A proper PLL setup should provide at least 20 degrees of phase shift (note that this is not the so-called phase margin, which is a property of an open loop). Closer to 0 degrees, and the loop will remain stable, but a lot of noise (phase noise) and osciallation, finally, occasional loss of lock will be the result.

It’s also a good idea to check that the gain function drops off nicely – there are certain cases, where mulitiple 0 dB points exist – you need to look for the 0 dB point at the highest frequency.

Any questions, or if you need something measured, let me know.

Terminations: 50 Ohm, +-1%

Proper termination of all high frequency transmissions lines is critical; unless you want to get some signals reflected, which is not the topic of this little post. For most of the items we deal with, systems are operated at 50 Ohm characteristic impedance, at least when it comes to instrument-to-instrument and sub-system/module connnections, and GHz frequencies.

There are many types of terminations around, from all reputable corporation manufacturing RF parts. Here, we want to look at 5 devices:

(1) Huber+Suhner, Switzerland, N-type termination, rated to 6 GHz – specified maximum SWR: 1.05@1 GHz, 1.1@4 GHz, 1.2@6 GHz

(2) Midwest Microwave, USA, N-type termination Model 2070, rated to 18 GHz – specified maximum SWR: 1.25 up to 18 GHz

(3) Aeroflex, USA, N-type 6 dB attenuator AH-06N, rated to 18 GHz – SWR 1.35 to 12.4 GHz, SWR 1.5 to 18 GHz

(4) and (5) No-name BNC 50 Ohm termination, labeled “+-1%”, connected to the test system with a reasonable quality N to BNC adapter, the two terminations are of the same kind, just two samples to check part-to-part variability

The warriors: Left to right-items 1 to 5
20140827_210752

The test setup: Micro-Tel SG-811 Signal Source, Micro-Tel 1295 Precision Attenuation Measurement Receiver, Narda Precision High Directivity Bridge Model 5082, Narda APC-7 to N adapters.
20140827_211140

The test procedure: At each frequency, full reflection (open) is used to set the “0 dB” level. Return loss can then be measured directly as attenuation of the reflected signal, when the termination is attached to the test port. To determine the error limits of the SWR measurement, the directivity is known, the insertion loss of the bridge has been measured, and the attenuation measurement error itself (by the Micro-Tel 1295) is negligible.

Results
140827 swr of various terminations d0
140827 terminations data

SWR vs. frequency, all terminations
140827 terminations1

There are clearly two groups, the terminations made for GHz service, and the others – BNC, items (4) and (5), that were not. Interestingly enough, at 6 GHz, these terminations are more or less ideal, with SWR close to 1. So you can use these at exactly 6 GHz, and integer-multiples of 6 GHz, but still, I would suggest not to. They are also working great at DC, because of their “+-1%” accuracy which is mentioned on the label.

SWR vs. frequency, only the items (1) through (3)
140827 terminations2

A closer look at the real performers – the Huber+Suhner, although only specified to 6 GHz is working well within its SWR max. 1.2@6 GHz specification, even considering the error limits of this measurement, and can be used up to 12 GHz, no problem.
The Midwest Microwave 2070 – I like this model very much, because of the rugged stainless steel construction (nothing gold-plated and fancy; you can get these for a few dollars, from surplus). It is way better than specified (SWR max. 1.25, measured: 1.12) – and, at 18 GHz, within the limits of the HPAK 909F Precision Coaxial Termination, intended as calibration standard, and listed for close to 1 k$.

A little hint – how to distinguish really high frequency N-type parts (18 GHz), from regular, say, several GHz (below 12 GHz) parts: the shield of the “precision” N-type connector is a non-slotted (see picture-right termination), where as the regular N connectors have a slotted shield, typically, 4 slots (see picture-left termination):
20140827_210812