RF Workbench Page 2
Welcome to part 2 of a web series exploring basic RF measurement and bench practices. This installment builds on the information from the RF Workbench Page 1
I share introductory and practical content on attenuation, the return loss bridge, insertion loss or gain and spectrum analyzers. Consult EMRFD and use your favorite web search engine for more information.
The Attenuator Network
Like onions in your kitchen, the importance of attenuators can't be overstated. On the bench, attenuator pads go in nearly every test circuit to deliver correct power and/or help match port impedances.
Think of attenuators as passive networks that intentionally insert power loss between 2 components independent of frequency. For example: you might follow a 50 Ω signal source with an attenuator to decrease its power, increase its return loss, and/or buffer it from downstream impedance changes.
- Most attenuator networks have fixed input and output impedances.
- The input and output impedances may be the same, or different.
- Attenuation may be fixed or variable. Most often, we use simple, fixed resistive pads that function as voltage dividers.
- Express attenuation in dB.
- Attenuators increase return loss and reduce VSWR.
- Attenuators may function as buffers to isolate stages.
- All attenuators on this web site feature 50 Ω input and output ports.
The desired response of an attenuator network. Practically speaking, device construction techniques including shielding will limit how high in frequency your attenuator will properly operate.
A pair of commercial 50 Ω input/output impedance step attenuators from the past. Occasionally, you'll find them for sale at Ham festivals or estate sales. Most work well for HF and perhaps even VHF work depending on their design and condition. Visually examine and test the attenuator before use.
How to Design and Build Attenuator Networks
To design attenuators with a 50 Ω input and output impedance, I recommend viewing a table. Click for a table.
After choosing the degree of precision; solder up 2 or 3 resistors and you're done. Nearest value 5% tolerance resistors offer reasonable precision for our popcorn circuits, but combining 1% and 5% tolerance resistors works too.
Choose low inductance resistor such as carbon film types and strive for short lead lengths. Well consider resistor power dissipation — for example, an 8 dB attenuator pad will dissipate 84% of the RF passed through it. I have seen attenuator pads that were exposed to high power and some or all of the resistors were burnt and turned to charcoal. Clearly the operator did not regard the power rating of the attenuator resistors. Refer to EMRFD Section 7.4 for practical information concerning attenuator design and power dissipation.
Three of the attenuator pads from my bench attenuator drawer. When using Ugly Construction or its variants, you can solder in, change, or remove attenuator pads at a whim. A small stock of these pads speeds up your work flow.
A 10 dB attenuator pad from my collection. This box uses two 100 Ω (5%) resistors and a 68 ohm (1%) resistor for the 96.2 and 71.2 ohm resistances called for. I used the 1% tolerance part because all my 68 Ω resistors are metal film 1% tolerance 1/4 watt types. Perhaps, I'll pursue a closer match to the calculated resistor values 1 day, but this module works okay. You may also stick 2 seperate attenuators in the little Hammond box shown.
Two commercial BNC feed-through (in-line) attenuators. I use these every day and prefer them over homebrew R networks since they don't require a coaxial cable. I own many: two 6 dB, two 10 dB, one 3 dB and a 20 dB: all were purchased on eBay.
Two commercial SMA in-line attenuators for my VHF and UHF experiments: 6 and 15 dB. Click for a marker table with 4 data points derived from sweeping these 2 filters.
A step attenuator belongs on every serious RF workbench. They allow in-situ attenuation adjustment with a degree of precision as low as 1 dB. Step attenuators are nothing more than switched calibrated resistances and the switches can be SPDT, relays, rotary or digitally-controlled types. The quality and price of commercial attenuators varies widely. Experimenter concerns include the minimum attenuator insertion loss, power rating, return loss, noise from switch contacts and noise from the resistors themselves.
A homebrew step attenuator makes a great weekend project and almost every radio handbook contains 1. Web linked projects plus commercial kits may be found online — use your favorite search engine to find them.
Some homebuilders prefer 1% metal film resistors to keep resistor noise down. Stick your step attenuators in a metal, RF-proof box and insert quality interfaces such as BNC, N or SMA connectors. Your needs, budget and parts collection determine the outcome when you home build one.
Serebriakova Attenuator - Серебрякова аттенюатор (50 Ом)
The Serebriakova; a simple, variable attenuator well suited for QRP homebuilding. Filled with gratitude to its Russian designer's family, I share this contribution with my readers. This attenuator network makes signals smaller or larger in a 50 ohm environment via a potentiometer. My analysis indicates acceptable performance considering its simplicity. The input match is close to 50 Ω across the range of the potentiometer. The output match across the potentiometer range is mediocre. Click here for a DC match analysis from Wes, W7ZOI. As shown, you wouldn't place this device on your main bench signal generator output as the output impedance diverges widely during amplitude adjustment.
Add fixed attenuator pads on the input and/or output to improve matching into 50 ohms. This circuit could serve in multiple applications including an RF gain control on a receiver front end, for bench measurement (when adapted) and for a low-level transmitter gain control. The Serebriakova attenuator may function up to 500 MHz in a carefully constructed, shielded box. The input and output capacitors may be omitted below 30 MHz. The attenuation varies a minimum of 20 dB when turning the potentiometer from CCW to CW. Click for a build by he yl.
A variant of the Serebriakova attenuator is shown above. Input and output matching are enhanced by fixed attenuator pads. The input match into 50 ohms is fine. After testing, I learned that the fixed 4 dB output attenuator pad is likely too low to ensure a wide range output match into 50 ohms. A 6 or 10 dB output pad is preferable, however, if this is your only variable attenuator, the device would then only be usable for very low-level work. You can decide what value of input or output pads to use.
A new, clean and small size 500 ohm pot works best. Store your potentiometer collection in sealed plastic bags to keep out workshop and house dust.
Shown above are return loss (RL) and VSWR measurements performed on the adapted Serebriakova attenuator shown above. Clearly the input match is better than the output match. The output match did not significantly change when the attenuation switch was moved from 4 to 10 dB attenuation or back.
Based upon these values, it might be a better compromise to put a 3 to 4 dB pad on the input and a 10 dB attenuator pad on the output to ensure an output RL of at least 20 dB. Some might argue that the output RL should be higher. Perhaps, but the match is pretty good for such a simple circuit. Let's put it in perspective; a commercial signal generator that sells on the Internet for $450.00 U.S dollars was measured by a builder I know in the UK and he found a best case RL of 10 dB ! Jim later sold it and built a homebrew signal generator with a 35 dB return loss at all frequencies.
Fixed attenuator pads provide a good remedy for mismatched ports and I discuss why and how in the next section.
The shielded, adapted, Serebriakova attenuator. When home building your personal version, strive to make the AC connections as short as possible. The above device has nearly 23 dB of variable attenuation at 14 MHz. If you can't build, find, nor afford a precision step attenuator for your QRP workbench, this device may work okay for you.
Impedance Matching, Return Loss and VSWR
We radio folks build, buy and apply lots of gear with a stated nominal 50 Ω input or output impedance. In truth, a pure 50 Ω impedance occurs rarely and components in an RF system are frequently mismatched. Almost every Ham radio operator matches their antenna impedance to their feed line + radio to maximize transmitter output power — but radio and antenna system matching is often the only case where these Hams match their gear.
In contrast, we experimenters, tirelessly match our 50 ohm RF system components — this work flow avails our modus operandi on the bench. And so, we builders match the input and/or output ports of all our RF stages: signal generators, filters, splitters, antennas and so on. You can easily measure the impedance match of your RF components with a basic device based upon a Wheatstone bridge; the return loss bridge. First, let's discuss matching a little more:
On the RF Workbench, we talk about return loss, reflection coefficient and VSWR to quantify impedance matching. I only consider return loss and VSWR on this web site.
When 2 system components are impedance matched, maximal power transfers from 1 device to the other. If the impedances are different, RF power is reflected back to the signal source. This reduces the amount of power delivered to the load. Transmitted and reflected waves moving along a transmission line superimpose and cause standing or stationary waves. The greater the impedance mismatch between the 2 components, the larger the amplitude of the standing waves. Mathematical formulas compute how much power is lost due to mismatch. Consider reading a great tutorial on SWR, Return Loss, and Reflection Coefficient linked here by Wenzel Associates.
Return Loss = the difference between the outgoing incident power and the
reflected power as a result of the mismatch between the the signal source and
its load. Return loss is expressed in dB as a positive number on this web page. The higher the
loss, the better the impedance match. An ideal prefect match would have a RL of
infinity; that is, no power is reflected back to the signal source and all of
the incident power is delivered to the load. If a circuit has no load (open
circuit), the RL is 0 dB — all of
the power is reflected back to the signal source.
Other terms quantifying return loss are S11 and S22, however S11/S22 are the negative of return loss: RL = 20 dB or S11/S22 = -20 dB. We say S11 as S — one — one and S22 as S — two — two. I discuss these S-numbers, or Scattering Parameters elsewhere.
Voltage standing wave ratio is another measure of how well the components in an RF network are impedance matched. Increasing the return loss lowers the VSWR and vice-versa. Most amateur radio enthusiasts are familiar with VSWR and often refer to it as "match" or "SWR". RL and VSWR can be derived mathematically from one other. VSWR = [10^(RL/20) + 1] / [10^(RL/20) - 1]. Note X ^ Y means X raised to the power of Y therefore 2^3 = 2x2X2 = 8.
Thus a RL of 10 dB = 1: 1.92 VSWR and 20 dB = 1:1.2 VSWR and 30 dB = 1:1.07 VSWR
In EMRFD, Wes presents a return loss bridge as Figure 7.41. This circuit, shown below is easy to build and use.
The 50 Ω impedance detector may include a spectrum analyzer, power meter, receiver with an attenuator, or a 50 Ω terminated oscilloscope. On my bench, a 50 ohm terminated scope is favored.
Let's measure the return loss of a 27 Ω resistor to learn how. The procedure with a 50 Ω terminated 'scope follows:
- Connect a 50 Ω output impedance signal generator to the bridge RF input port with 50 ohm coax;
- Connect a 50 ohm terminated oscilloscope to the detector port via 50 ohm coaxial cable;
- Record the peak-to-peak (open circuit) voltage with no load on the end of a short coax cable connected to the unknown Impedance port;
- Record the peak-to-peak voltage with "unknown" coaxial cable terminated with the 27 Ω resistor
- Calculate the power difference in dBm between these 2 peak-to-peak voltages.
Before measuring the unknown RL of a circuit, we usually connect a 50 Ω terminator to the unknown impedance port and calculate the best possible return loss: we refer to this value as bridge directivity — the best possible match for that return loss bridge at that test frequency. I keep a permanent 50 Ω terminator + a barrel connector on my bench for this purpose.
Click for a photo of the gear I use for all RL measurement. Best viewed at full resolution
Lets run through the procedure to measure the return loss of a 27 Ω resistor again, but with added photographs and 'scope captures. I tested at 14.070 MHz.
Above — We'll measure the return loss of this device; a 27 Ω resistor soldered on a BNC connector. We call this a resistive terminator and I keep a small collection of 27 - 100 Ω terminators on-hand for calibration purposes.
Shown above — The peak-peak voltage with a 14.07 MHz oscillator connected to the RF port; a 50 Ω terminated scope connected to the detector port; and a 20 cm — unterminated — 50 Ω cable connected to the unknown impedance port. The open circuit measurement.
Above — Next, I connected the 27 Ω terminator to the unknown impedance coaxial cable with a through-connector interface.
Shown above — The peak-peak voltage with a 14.07 MHz oscillator connected to the RF port; a 50 Ω terminated scope connected to the detector port; and a 27 Ω resistive terminator across the end of the unknown impedance cable. The reflected signal from a 27 Ω resistor.
Use the return loss measurement procedure depicted above to measure the return loss of any device you choose. If your D.U.T. has 2 ports, terminate the unmeasured port in 50 Ω. I show further RL measurment examples on RF Workbench 3.
I measured the return loss of some commercial gear in my shack and yard and will share 2 examples: 1) An expensive commercial transceiver I borrowed had an input port return loss of 15 dB (a 1.4:1 VSWR) The return loss of 15 dB indicates that the reflected wave power is 15 dB lower in power than the incident wave. 2) With a borrowed commercial bridge, my tuner-matched antenna revealed a return loss of ~60 dB.
A RL bridge from my bench built with 51 Ω 5% tolerance resistors. I show a better RL bridge and some other experiments on RF Workbench 3.
Return Loss and the Attenuator Network (How Do Attenuator Pads Improve Component Matching?)
We routinely employ attenuator pads to increase return loss in a 50 Ω RF environment. For example, let's say you're testing a signal generator and measure a return loss of 6 dB. If you place a 10 dB attenuator pad after the signal generator, the return loss increases to 26 dB. If we used a 6 dB pad instead, the return loss would now = 18 dB. In both cases the return loss is increased by 2x the attenuator pad value. The doubling of return loss occurs because both the incident wave and reflected signals pass through the attenuator pad — that's how attenuator pads improve matching.
Attenuator pads reduce power, but that is why somebody invented the RF amplifier.
What is the minimally acceptable return loss for a device such as a signal generator? No single answer exists. The minimum return loss depends on the context: are you making precision circuits or just tuning an antenna?
For amateur experimenter bench circuits, aim for a return loss of at least 20 dB. This often means adding an attenuator pad to the ports of your signal generator, amplifier, or other device to get a minimum 20 dB return loss. For an electronic engineer, the minimal return loss is probably higher; maybe 30 dB or so. I have read conflicting opinions about this and for some people — me included — design overkill is normal.
When tuning an antenna for full transmitter output power, the minimal return loss is around 14 dB (a VSWR of 1:1.5). If you measure an antenna system return loss of 14 dB or better, the match is fine. Many Hams will protest a 1:1.5 VSWR and ardently chase a 1:1 VSWR on every frequency with their antenna tuner.
A Method to Measure Insertion Loss or Gain
Often, we want to measure the gain of an amplifier, or the insertion loss of a filter, or attenuator pad. I show how to do this with a 50 Ω terminated scope:
The circuit starts with a signal generator set to the frequency of interest. I show an attenuator pad in this diagram to stress that the signal generator output port must have a return loss >= 20 dB.
- Connect the input of the 50 Ω Device Under Test to the generator output via 50 Ω coax
- Connect the 50 Ω output of the D.U.T. to your 50 Ω terminated oscilloscope
- Turn on the signal generator and if needed, peak the signal; In the case of a low-pass filter, the signal generator frequency control is tweaked to give a maximum pk-pk voltage in your 'scope. When evaluating a band-pass filter, tweak the filter trimmer capacitors for the maximum signal at the desired center frequency. Signal peaking ensures that losses caused by the filters are not caused by the filter mistuning, or in the case of the low-pass filter, to allow for cutoff frequency deviation caused by component value variations. It may be necessary to increase the signal generator amplitude to view a good quality signal in your 'scope.
- Record the peak-to-peak voltage.
- Remove the DUT and replace it with a BNC through-connector and record this peak-to-peak voltage.
This awesome measurement technique controls the input and output impedance and uses the same coaxial cables with and without the D.U.T. for accuracy. Some builders might choose to terminate the D.U.T. with a 50 Ω resistor and measure with a 10X scope. The capacitance of the probe may alter measurement in some cases. As always, choose your measurement technique based upon whatever gear you own and how exacting your standards are.
Spectrum Analyzers - Comments from the Workbench
Electronics professionals ruminate that spectrum analyzers are uncommon because experimenters perceive them as esoteric and difficult. My own opinion differs. Spectrum analyzers are relatively uncommon because of one reason - cost. I have watched prices on sites like eBay with amazement. The ads go something like this: 1.5 GHz spectrum analyzer for sale. Built in 1982. Ships in 2 pieces weighing over 22 kilograms. Minimum bid $1850.00. And...sorry, I live in Florida, U.S.A. and in all likelihood, shipping these 2 heavy pieces is going to cost you a fortune. In the attached ad photos you can see lots of wear and tear, plus some screen burn-in on the display.... Guaranteed to turn on however!
Perhaps I exaggerate or even lampoon the perceived value of old boat anchor spectrum analyzers, but I have bought and sold cars for less money. Be prepared - spectrum analyzers are not cheap. They are however, very cool and open the door into a truly fascinating world. Frequency domain circuit measurement (spectrum analysis) addicts and intrigues. Homebuilding a spectrum analyzer is a serious option, but requires advanced building skills. Click and click for the W7ZOI/K7TAU project.
In recent times, the Rigol DSA-815 spectrum analyzer with tracking generator proved a game-changer to the bloated price of heavy, old and tired gear. Click for a Rigol datasheet. Signalhound also sells spectrum analyzers and tracking generators . A tracking generators plus spectrum analyzer allows you to sweep your device under test over a range of frequencies.
Prior to using a spectrum analyzer, I casually considered shielding stages or placing critical pieces in RF-proof boxes. Quickly I learned that RF in our home and community can and does get into your projects. p>
The center frequency of the display = ~150 MHz. The signal spikes appeared and disappeared after 4-9 seconds or so — after a little detective work with my scanner, I learned they were local police and ambulance FM radio conversations. I noticed this interference when I took the lid off a RF-tight band-pass filter — these signals arose in a 28 MHz superhet receiver !! While low in amplitude, experiences like this inform us to watch for lurking RFI.
I found numerous sources of RF in our home with a spectrum analyzer — the clothes washing machine during its spin cycle proved to be the worse RFI generator. RF-tight shielding with SMA, or BNC connectors and DC feed-through capacitors and aggressively decoupling and bypassing DC lines eliminated many of RFI problems during my experiments. I now better appreciate these anti-RFI techniques.
Spectrum Analyzer Calibrator
A harmonic rich, spectrum analyzer calibrator designed by Wes, W7ZOI and displayed with his permission. Adjust the 10K potentiometer to provide the output power needed to calibrate your spectrum analyzer. I set mine to -27 dBm. Be careful when connecting signal generators to your spectrum analyzer, since a higher than rated input power may destroy the mixer/front-end of your spectrum analyzer and cost you dearly.
Spectrum analysis of the 5 MHz spectrum analyzer calibrator.
Breadboard of the 5 MHz spectrum analyzer calibrator.
Don't use a "50 ohm" termination when measuring with a 50 Ω impedance spectrum analyzer.
No resistor is required, as the the input impedance of the SA is 50 Ω.
Miscellaneous Photos and Notes
Some of the 50 Ω modules built during the RF Workbench page 1 and 2 experiments