Homebrew RF Test Equipment And Software


This section will list several projects which will allow you to build your own RF design test equipment.  Microwave construction techniques and basic electronic skills will be required on some projects, but the tools you can make will equal what the so-called "professionals" use.

Modified Wireless Tools

We modified the iwconfig command included with Jean Tourrilhes' Wireless Tools for Linux slightly to help with the wireless link setup and alignment.  Here is what the original output of the command iwconfig eth1 would look like:


eth1    RL2/Micro ISA  NWID:0  Channel:1
        Link quality:2/2  Signal level:80/255  Noise level:0/0
        Rx invalid nwid:0  invalid crypt:0  invalid misc:0

Here is a screen shot of the modified version.  It displays the same information, just with some lame ANSI colors and a bar graph for signal strength.  I'm not sure if it's entirely accurate, so use at your own risk.  You can pick this version up here.  There is also a version for the 915 MHz WaveLANs.

It also includes the perl script pinger.pl, (screen shot) you can use this as a signal meter to help align the antennas in your network.  It's just a wrapper around the ping command to display the millisecond output with an ANSI bar graph.  It also has an option for using the 'say' command from the rsynth package to speak the ping millisecond value to you.  That's useful for when you're hanging from a tower trying to align antennas.

RSSI Based Signal Meter

Another method of testing the received signal strength on a Symphony based wireless network is with a homebrew signal meter.  The National LMX2240 Intermediate Frequency Receiver has a certain pin called "RSSI Out".  RSSI stands for relative signal strength indicator and supplies a voltage output that is an indication of the received signal strength.  On a weakly received signal the voltage output of the RSSI is small and on a strong signal it's large.  Unfortunately, this output is only on during the receive portion and off during transmit.  This makes the RSSI output look like a series of spikes.  To average out these spikes you can use a very common piece of test equipment on any good technician's bench: a modulation meter.  What?  You say?  Modulation meters convert received audio signals into a DC voltage indication of modulation, if you input the RSSI spikes into the meter (and readjust its ballistics) you will get a poor man's signal meter.  The meter I use is based on the Mark Weiss modulation meter.

Simple Analog Field Strength Meter

This is a simple field strength meter that can be used to verify that you antenna is in fact radiating energy.  It's based on one from the ARRL UHF/Microwave Projects Manual, Volume 1 and can be used from 30 MHz to well over 2 GHz if properly constructed

Attenuator Pads

You can also make some attenuator pads to help simulate real life signal loss when testing your wireless network links.  If you wish, you can order commercial inline attenuators from Mini-Circuits that will handle 2 Watts of power, DC - 18 GHz, and have built in SMA connectors for around $37 a piece.  You may also combine attenuator pads to increase the overall attenuation.  It's also possible to use a long length of high-loss cable, such as RG-174, as an attenuator.

Higher wattage resistors will handle higher RF power, though the frequency response will suffer due to parasitic reactances.  Lower wattage resistors will handle higher power if applied in small durations (milliseconds), like which is commonly found in most wireless network applications.

Cable Reflection Tester

Here is a schematic for a homebrew cable reflection tester from the December 1996 issue of Electronics Now.  It's very useful for checking coax cable runs for shorts or even impedance mismatches.  It works by sending a pulse down the cable, then checking the return signal on an oscilloscope.  You can then determine the distance to a short or impedance mismatch using simple distance = time x speed equations.  Be sure to divide your time by 2, and take in account your cable's velocity factor.

Here is a schematic for a homebrew cable reflection tester from the December 1996 issue of Electronics Now.  It's very useful for checking coax cable runs for shorts or even impedance mismatches.  It works by sending a pulse down the cable, then checking the return signal on an oscilloscope.  You can then determine the distance to a short or impedance mismatch using simple distance = time x speed equations.  Be sure to divide your time by 2, and take in account your cable's velocity factor.

2.4 GHz Quarter-Wave Power Divider/Combiner

Here is a device called a 2.4 GHz quarter-wave power divider/combiner.  You can use this to phase two antennas together for increased gain or combine the input/outputs of amplifier for increased power.

It is possible to use old 800 MHz cellular phone power dividers/combiners at 2.4 GHz because of the 3rd harmonic relationship.

Audio/Video Transmitter Link Test

One of the coolest things to do is 2.4 GHz wireless link analysis using those $99 wireless audio/video transmitters from Radio Shack (part number 15-1971).  They transmit about 1 mW on the frequencies of 2.411, 2.434, 2.453, and 2.473 GHz.  They can even be modified for an external antenna output jack, just like the Symphony, and can also have their output RF power increased to around 60 mW.  Refer to this site for a how-to and schematic for that modification.

You can then use a portable CD player and portable audio amplifier/speaker to verify that a 2.4 GHz link is possible in the enviroment you're testing.  It's not an entirelly accurate analysis do to the narrow bandwidth of audio, but should still be useful.

Funky Fresh® LED RF Signal Meter

This is a high quality RF signal meter based around the Analog Devices AD8313 0.1 GHz - 2.5 GHz logarithmic detector IC.  It is capable of detecting signals as low as -80 dBm.  When combined with 2.4 GHz or 915 MHz bandpass filters, it makes a quick visual reference to the amount of noise in the ISM bands in that particular location.

It also makes a handy visual tool for verifying that your antenna is indeed radiating energy.

Spectrum Analyzer

Here is a homebrew spectrum analyzer you can build using an old VCR tuner module.  Frequency coverage will be from around 80 MHz to 920 MHz and varies slightly with tuner manufacturer.  It will also require an old oscilloscope that is capable of X/Y mode with DC input and a receiver which can tune around 47 MHz AM and can also be modified to tap its AM detector.

It's even possible to downconvert a 2.4 GHz signal down to VHF frequencies using a slightly modified MMDS downconvter.  This will allow you to view 2.4 GHz signals with this analyzer.

This particular project will be better documented in time ...

Quick notes: The display is not logarithmic, only about 10 MHz can be displayed at a time, the traces are big and fat because of no narrow-band filtering (crystal 45 MHz IF filters from cellular phones will fix this), VCR tuners have *alot* of internal noise (at least mine does), every VCR tuner I have messed with was different in some way.

2.4 GHz RF Power Meter / SWR Meter

It is possible to make high frequency RF power/SWR (standing wave ratio) meters using homebrew directional couplers and other easily available parts.  It is even possible to use the directional coupler and detector diodes from an old cellular phone.

Return Loss Bridge

Return loss (reflection coefficient) bridges are broadband RF comparators.  These devices develop a DC potential with respect to ground which is proportional to the degree of unbalance in the arms of the bridge circuit.  The bridges provide DC isolation to prevent undesired loading of the circuitry by associated test equipment.

Return loss can be measured by taking the DC OUT voltage with Z2 terminated, divided by the DC OUT voltage without any Z2 termination.  That value is then feed into the following formula: Return Loss (dB) = -20 * log10(p) where p is the value you determined from above measurement.

Note that Z1 is your reference termination and should be terminated with a non-inductive 50 Ohm load.

In Perl:


    $p = $DC_voltage_terminated / $DC_voltage_not_terminated);
    $rtrnloss_db = -20 * log10($p);
    $SWR = (1 + $p) / (1 - $p);

    Example: Unterminated voltage is 2.0 Volts
             Terminated voltage is 0.8 Volts
             Then the return loss is 7.96 dB or a SWR of 2.33

It is possible to use the return loss bridge to determine the insertion loss of coaxial cable systems.  In coaxial cables, the insertion loss is comprised of resistive losses (skin effect) and dielectric losses.  Each of these parameters increases with frequency.  The insertion loss of a cable system is determined by observing the reflections from an open (or shorted) output.

Cable Insertion Loss Measurement Example:

  1. Perform the initial return loss bridge calibration.  That is, measure the DC output voltage, at the operating frequency, of a unterminated bridge.
  2. Open (or short) one end of the the cable you wish to test.
  3. Connect the other end of the cable to the return loss bridge's Z2 port.
  4. Determine the SWR using the procedure above.
  5. Refer to this table to correlate SWR to insertion losses.

It is also possible to use the return loss bridge to determine the structural return loss of coaxial cable systems.  Structural return loss is basically a measure of the quality of a cable.  In coaxial cables, structural return loss is caused by any imperfections in the overall cable system.  Reflections will occur from variations in the cable's diameter, dielectric imperfections, sharp bends, center conductor misplacement, stupid people installing connectors, etc.  These reflections prevent a certain portion of the forward RF power from ever reaching the antenna system or load.

Cable Structural Return Loss Measurement Example:

  1. Perform the initial return loss bridge calibration.  That is, measure the DC output voltage, at the operating frequency, of a unterminated bridge.
  2. Terminate one end of the the cable you wish to test with a load matching the cable's characteristic impedance, 50-ohms usually.
  3. Connect the other end of the cable to the return loss bridge's Z2 port.
  4. Determine the SWR using the procedure above.
  5. Refer to this table to read structural return loss in terms of SWR.

Antenna Analyzer

This antenna analyzer is meant to rival the MFJ junk currently on the market.  It's still in the prototype stage, but you get the idea how it should work.  The oscillator is from an old VCR tuner module.  This then drives an amplifier which is connected to a homebrew return loss bridge.  When you connect your antenna up to the analyzer, a DC voltage is generated which corresponds to any impedance mismatch.  Refer to the return loss bridge section for more information on how return loss bridges work.

3.5 GHz Prescaler

This will take a 0.1 - 3.5 GHz signal and divide it by 1000 so you can measure frequencies outside the normal range of your frequency counter.  Example, a 2450 MHz signal will read 2.450 MHz on your counter.  This is from the July 20, 2000 issue of EDN magazine and I made a few modifications.

The NEC UPB1507GV prescaler IC is available from Mouser Electronics for $3.

Bias Tee

Bias tees allow you to insert DC voltages into your signal path (coax) without disrupting the existing signal in that path.

This version has an input/output impedance of 50 Ohms and should have a low insertion loss from 5 kHz to 3 GHz.  The maximum DC voltage and currents ratings will vary with components used (50 V / 500 mA typical).  Keep the RF input power under 2 Watts.

Cellular Phone Jammer

I hate cellular phone companies.

Under construction, scope the new document

PCS Jammer

Experimental, reference only.  Hasn't been built.

GPS Jammer

Yep.

Uses the tuner module from an old C-band satellite receiver.  Everything is readily available and fairly cheap, except for the higher power RF module, which is around $200 (SGS-Thomson STM1645-10, 10 Watts).  Make a bunch, float them in hot air balloons and protect yourself from unnecessary United States air raids.  1.2 GHz RF amplifier modules (Mitsubishi M57762, M67715) don't work at the 1.575 GHz GPS frequency.

A service of Green Bay Professional Packet Radio's Electronic Warfare Division

Simple VHF Power Amplifier Design

Build this simple 50 Watt VHF power amplifier using the power amplifier section of an old Motorola Mocom 70 VHF radio.  Adaption to other power amplifier sections should be trivial.

10.000 MHz Precision Frequency Standard

It is possible to build a highly accurate frequency standard using a common 10.000 MHz temperature compensated crystal oscillator (TCXO).  When zero-beated against the 10.000 MHz WWV time standard, you will have a reference that is accuate to within a few hertz.

2.4 GHz to 700 MHz Converter

It's theoretically possible to convert a 2.4 GHz wireless LAN signal to a much lower frequency to help overcome non line-of-sight issues.  Many UHF television frequencies in some areas are currenty unused.  Those would be great to hijack.  You could then use common directional UHF TV antennas for your links.  This current design is theory only.

It might even be possible to hack the local oscillator out of an old 2.5 GHz MMDS downconverter and use that to drive an external frequency converter.

2.45 GHz Bandpass Filter

Here is a simple 2.45 GHz bandpass filter you can build yourself for around $30.  The pass band is +/- 50 MHz and is centered at 2.45 GHz.  Insertion loss is 2.2 dB max.  The filter can be purchased from Digi-Key, part number TKS2618CT-ND.  The two DC blocking capacitors shown in the schematic are optional, but are needed if there will be DC on the line.

2.4 GHz Antenna/Feedline Analyzer

Here is a simple 2.4 GHz antenna/feedline analyzer you can easily build.  It's impossible verify that antennas/cables are opertating correctly by using a ohmmeter because they only check for DC continuity.  The correct way to verify antennas/cables is at their operating frequency (or close to it).  This device is just a return loss bridge and the local oscillator out of an old MMDS downconverter.  The downconverter will supply us with a nice, clean 2.278 GHz signal we can use to drive the return loss bridge.

20 dB / 150 Watt Attenuator

Here is a simple, easy and cheap way to make fairly high power RF attenuators.  These are useful for directly connecting the output of a high power RF amplifier into a spectrum analyzer, frequency counter or other piece of test equipment (additional attenuation maybe required!).  The circuit is based around a Bird Component Products attenuator chip, which are available from Radio Dan for $30 a piece.  When properly heatsinked, they will dissipate a continous 150 Watts of power.

RF Detector / RF Probe

Here is a simple RF probe you can make to measure small RF power levels up through the microwave frequency bands.  This version come from Libor Ulcak.

2.4 GHz Receive Converter

This allows you to quickly verify the integrity of the 2.4 GHz band by downconverting the 2.4 GHz signals to much lower frequencys, and then using a conventional communications receiver (scanner) to step through the new frequency range of 124 - 205 MHz.  The receive converter is based around a high-gain model MMDS downconverter with a few simple modifications.  This is a real useful piece of test equipment when tracking down narrowband interference in the 2.4 GHz band.

Miscellaneous Useful Circuits

Homebrew Test Equipment / RF Design Links

Return to the Low Cost Wireless Network How-To