All posts by Simon

Equipment selection: reflection bridge

Attenuation is defined as insertion loss minus reflection loss.

The insertion loss measurements – that’s quite straightforward, with signal genarator and receiver. We will deal with the particulars later.

For the reflection loss, we still need another device, a directional device. Either a directional coupler, or a return loss bridge.

After careful review, I selected a Narda 5082 “Precision high directivity bridge”. Several reasons:

(1) It is a fairly robust device, and offers N and APC-7 connectors. Luckily, APC-7 adaptors were included. Also included was a combined short/open, APC-7 style. That’s really great.

(2) It is very broadband, 2-18 Ghz full range with one device. This eliminates connections – there are hardly and couplers available that offer 35+ dB directivity, over the full band.

(3) The bridge has a bit more insertion loss compared to a coupler/multi-coupler solution, about 6 dB, but the loss is well defined and flat, will be calibrated out.

(4) It was available, at a few cents for the list price in dollars, and in pristine condition.

20140825_130139a

Next step: need to connect the “reflected” port to a switch matrix, via an APC-7 to SMA adapter (which I don’t have in my collection).

Equipment selection: signal generator and receiver

We are talking 2-18 GHz here, and getting signals clean and strong, at such frequencies, can be quite expensive.
I didn’t want to go for any harmonically multiplied generator, but something straightforward, reliable, and easy to fix. Looking around, I have a Systron Donner 26.5 GHz synthesizer, model 1026, which is great, but I don’t want to add it to a fixed purpose rig. And it is somewhat tricky to control.

Another choice, a Gigatronics 1720, great device, but I don’t know how to remotely control this instrument (it has IEEE-488 bus, but is somehow non-reactive to it, and I don’t have a full manual that shows all the codes – if you have a 1720 manual, please let me know). Also, I need this gem for various test tasks that require one or more stable microwave sources.

Finally, I scored a Micro-Tel SG-811 on xbay, not quite cheap, but still a steal. It has all-discrete type construction, several YIG oscillators, a tracking YIG filter, and (limited, see later) remote control functionality. I also has a high-precision output attenuator, so setting any level from +10 dBm down to -120 dBm will be no issue, and allow measurement of even high-gain amplifiers, at any frequency. The unit needed some repair (nothing dramatic, fuse holder, and some minor items) and alignment – one rainy afternoon. With some effort, I managed to locate a paper manual for the SG-811 (from commercial vendor, about 100 EUR!, but worth it), which made the latter task much easier. It may be noteworthy that the unit is ex-MOD, shipped from the UK.

So, the source question has been resolved.

For the receiver: there aren’t too many high precision microwave receivers around, the Scientific Atlanta 1711 (which is just the receiver, no digital amplitude measurement chain), and the Micro-Tel 1295 being the viable alternatives. Fortunately, I found a Micro-Tel 1295.

The Micro-Tel 1295. It covers the full 0.01 to 40 GHz span; 0.01-18 Ghz with the main unit, and 18-26.5, 26.5-40 GHz with two harmonic mixers, that – big luck – came with the unit, and are fully functional!
I acquired this unit already several months ago, and fixing it was no easy task. The -15 V rail was dead, due to some over-aged tantalum caps (interestingly, in the frequency display!).
The -15 V rail also controls the power supply circuitry itself, and any mistake could ruin the receiver altogether. But never mind, there are full schematics available. The power supply is of switching mode type, all discrete electronics with NE555 timer, transformer, and optocoupler feedback.
My only advice: don’t fix it in a rush, but take it step by step. Should any of you come across a 1295 with defective power supply – shoot me a line.

Here, a quick glance at the two gems:

20140825_131511

What is an attenuator calibrator?

Q: What do you want to do? A: I would like to measure attenuation (insertion loss minus reflection loss) of various devices, in particular, programmable attenuators, over the 2 to 18 GHz range (for other ranges, I have other equipment). Measurement should be traceable, and as accurate and precise as technically possible, with some kind of reasonable effort (say, a 3 kUSD budget). Range should be 0-60 dB, usable 0-110 dB with reduced accuracy.

Q: Why don’t you use a VNA? other Q: A what?
A: A VNA (vector network analyzer) – an instrument used to characterize networks, of all kinds. It is very versatile, but has disadvantages:

(1) Extremely expensive, especially, for above 3 GHz. We need 18 GHz.

(2) Not so accurate for attenuation – sure, it is fairly accurate, but just not quite enough for calibration standard type work.

(3) Even more expensive, and if you get used equipment, it might work for some time, but due to the complex design, not easy to troubleshoot.

Various ways exist to measure attenuation. See Alan Coster’s review, of the IEE.

Well, for the “attenuator calibrator”, there are some main parts:

(1) A signal source, it needs to be of stable amplitude, in a useful range (a least 10 dBm), and 2-18 GHz range.

(2) A receiver – needs to highly linear, preferably fundamental-mixing, with a calibrated IF chain, preferably, at 30 MHz. 30 MHz is still the reference frequency for power meter calibration, and many traceable attenuators are available, for 30 MHz, and I have other equipment that allows very accuarate attenuation measurements at 30 MHz.

(3) A switch matrix, to allow “through” calibration without handling any connectors. At the levels we are talking about 0.01 dB, even slight movement of (precision microwave) cables can cause significant measurement errors. The switches can have some little losses, which don’t matter, but they need to be of very high repeatability.

(4) A high directivity bridge, preferably, 35 dB or better directivity. This will allow measurement of reflection loss. Attenuation will be calculated by measuring insertion loss and reflection loss. Attenuation is then calculated. All the measurements are taken relative to the “through” calibration signal.

(5) All the necessary interfaces and control circuits to handle signal source, received and switch matrix.

Sure enough, an attenuator calibrator can also measure gain of amplifiers, SWR of devices (antennas!), and many other useful things. It is more or less a high-precision scalar network analyzers.

Q: Why not use an “attenuator calibrator” all the time, rather than typical scalar network analyzers? A: The calibrator is slow, about 5-6 seconds minimum for each frequency. At each frequency, IF attanuation is selected, and the signal integrated, to get optimal S/N ratio, and to ensure high IF detector linearity.

Clear skies!

Look at that!

20140825_130913

Just received some imagery from NOAA-19. Not perfect, but good enough for now. Clear skies above (yellow cross, that’s where I am). Just looked out of the window, confirmed!

WXtoIMG – that’s the software that you might want to give a try, to convert the NOAA sounds into something more useful.
SDRSharp – set to W-FM, 40 kHz bandwidth.

It’s just amazing – earlier on, you would need to open up a receiver, do a little mod, etc., to change the bandwidth – unless you had dedicated equipment. Nowadays, just a software setting! Still, I am thinking about getting a good old analog pre-selector into the RF signal chain, prior to the magic USB stick.

The antenna, Quad-Helix

After successful first attempt with a piece of wire – how to improve reception from the NOAA satellites?
The APT images are sent down at about 137 MHz, with circular polarization. A little search of the web, and it’s pretty clear that there are multiple types of antennas that will work well. Of course, a fully azimuth-elevation controlled YAGI array would be best, but, no need to get too fancy.

There seem to be multiple, equally suitable approaches – I selected a quad-helix type design, because it’s something that I haven’t made before, at least not, for the 137 MHz band, and would present a little challenge in copper tube bending and soldering.

First attempt – well, it looks a bit out of shape, and it is. Still, not too bad, and relatively broadband.

20140825_130435

I thought, I could do better with a somewhat modified design, here we go:

20140825_130616

Construction hints:
(1) Use about 1/2″ (15 mm) outer diameter pipe. This is very strong, and can be used indoors and outdoors, will last a long time. Sure, you can also use 3/8″ or 10 mm, whatever is handy.

(2) For the straight pieces, best use hard copper pipe, this makes it easier to adjust the loops by some pulling and bending.

(3) Don’t worry about complicated baluns. A few turns (5-7) of RG58 coax is all that is needed, at least from my experience.

(4) No need to use any special cable, just plain RG58 will do. If you run long length, use a little pre-amplifer. Don’t set the gain too high – just about enough to compensate the cable losses.

(5) Soldering doesn’t need to be perfect, because this construction will not need to hold any water. It’s just an antenna.

NOAA basics – tracking satellites

Before we start, satellites are little devices that move through space attracted by gravity, in our case, gravity of planet earth. Some are stationary – they rotate along with the planet’s rotation. Others move in different ways. The NOAA satellites, are of the latter kind.

Therefore, first step, is to figure out where the NOAA satellites are, and when they are in sight – only then, we can expect a signal. Easy enough. Downloaded “Orbitron” software, which is really great, and updated the “TLE”s – the so-called two line elements that describe the movements of a satellite.
Make sure to set your location (and time) right. And get familiar with UTC time scale.

APT – this is just the codeword for the downlink protocol. It has been around for a long time, and its days are counted – new satellites use more powerful protocols, more bandwidth, to get high resolution picutures down. But I’m glad there are still a few up that transmit pretty nice pictures, in a not too complicated format.

Using SDRSharp and the little Chinese magic “DVB-T” stick, a piece of wire was all that was needed to get some first signal received. So, in fact, there are satellites above. Let’s get a bit closer!

Modern times: ADS-B via SDR R820T, RTL2832U

To cut a long story short – the SAT tuner receiver is working great, but here, close to EWR, JFK and LGA airports, there is just too much going on in the air for the ATMega8 to handle, via the serial link – quite a few frames are dopped during transmission. So, I could go into developing a decoder using a more capable processor, which should also improve frame integrity by faster sampling, and so on. I figured, this may take several months to get it started, and in the end, not much learning – others have done this before, and it really only about faster processing, than anything else, and buying a designated ADS-B receiver, well, that’s not much fun.

Well – why buy a designated receiver? Good friends told me, I should look into some Chinese magic gadgets, called DVB-T/DAB/FM USB on xbay, for about USD 10 delivered. These little devices really are nothing short of a miracle, containing a silicon tuner, in this case, a R820T (which is arguably the best type of SDR USB stick you can get for anything related to ADS-B), and a RTL2832 chip. The RTL2832 is more or less just a reasonably fast 8-bit ADC that can -as some really clever people have figured out before-feed the data streem directly to USB, and into a computer. The rest is history, em, software, therefore, the thing is called software defined radio, aka, SDR.

20140825_130821

Tutorial (you will find many more comprehensive around):

Step (1) – install the generic WinUSB driver (Zadig installer), don’t bother installing any of the software supplied by your prefered Chinese source of little gadgets.

Step (2) – install SDRSharp, this comes with ADSBSharp. ADSBSharp will feed all received frames to a designated network port

Step (3) – install ADSBScope, or any other ADS-B plotter you like that can serve as a client and listen to a given (local) network port

The old-fashioned approach: modified SAT tuner for ADS-B

Please check out the web, you will find numerous sites that will tell you how to turn a surplus SAT tuner into an ADS-B received. Don’t fiddle around with old analog stuff, get one that has a proper demodulator (preferably, TDA8012), and a build-in PLL. The PLL – it’s easy enough to find out the pins going to the SCK, Data In, Data Out lines – it should be a TSA5055 running off a 4 MHz Xtal reference.

Step (1) – get the PLL to work. Just have a look at the TSA5055 datasheet, and clock in some divider data that make sense, and check with a receiver, or spectrum analyzer, if the LO is giving some useful output. The TSA5055 has a fixed:512 reference divider, therefore, with a 4 MHz reference clock, the phase comparator is working at 7.8125 kHz. For ADS-B reception, the main divider is set at around 12666 divisions, plus the :16 build-in prescaler, equals 1583.25 MHz LO frequency. Keep in mind, the SAT Tuner IF chain has a 480 MHz SAW filter, with about 27 Mhz bandwidth – therefore, I suggest to tune the receiver a bit to the edge (like 1103.25 MHz in my case, for 1090 MHz reception) – this will improve the shape of the output signal.

Step (2) – disable the AGC circuit of the TDA8012 by lifting Pin 9 of this circuit off the board (use a SMD soldering iron, and good lighting!). I connected Pin 9 through (unused) Pin 2 of the tuner to the outside world (33 k to VCC).

Step (3) – Now, some soldering – you will need a low pass and comparator circuit to convert the video, Pin 6 of the TDA8012 to digital output. The low pass is a simple 1 k/82 p RC network, the comparator a MAX903 (which is fairly high speed can can handle the 1 µs pulses, with fast risetimes at the output). Note that the MAX903 is open-collector, so you will need a 10 k pull-up resistor at the output.
20140825_130754

20140825_130804

Step (4) – connect to antenna, check with a scope (best a digital storage scope, triggered by an ADS-B “frame start” pattern) for signal at pin 6, and tune the LC tank circuit of the TDA8012 a bit, until the signal is clear. Just a bit of bending of the coil with a non-metallic tool is all that is required, if any.
Reception quality can be optimized quite a bit by adjusting both the LO frequency (around 1580 MHz), and the TDA8012 LC tank oscillator.

Step (5) – add a bit of peripheral circuitry – a MAX232 for the serial interface.

Decoding is done with a bit of assembler and C code, using a ATMega8-16, run at 16 MHz. Frames are being checked real-time, and only the “good” ones forwarded the PC software, via a 19200bps (slow!) serial link.

Antenna!

You might ask, how to receive 1090 MHz? – fortunately, enough, not all that difficult. It’s old news: the best receiver is a good antenna. No need for anything fancy here, a bit of copper wire (silver plated, but any wire will do), and a piece of coax will do.
If you want to fabricate one for yourself – the coax needs to be connected about 10-12 mm, from the lower end of the loop. Short pole is 55 mm, long pole 205 mm, in my case – with the shield soldered to the short end (doesn’t really matter too much). The coax has a few turns, acting as a simple balun (you might want to put some heat shrink tubing over the semi-rigid coax, to prevent shorting of the loops).
20140825_130602

FYI, I found that it works well in the attic. So there is no need of weatherproofing, and the neighbors aren’t getting too curious because of numerous antennas sticking out of your home….. The roof isn’t all that strong, plywood and tar paper; both keep out the rain, but not the RF waves, fortunately enough…