Ed Nisley's Blog: Shop notes, electronics, firmware, machinery, 3D printing, laser cuttery, and curiosities. Contents: 100% human thinking, 0% AI slop.
The path from KE4ZNU-9 (on my bike in Pleasant Valley) to KB2KUU-13 near Lafayette, NJ, spans a bit over 90 km / 55 miles, which isn’t bad for a 5 W (that’s optimistic) hand-held radio through a dual-band mobile antenna bolted to the seat frame with my head much too close to the base. The topography lay in my favor, though: Pleasant Valley sits near the top of the Wappingers Creek watershed (admittedly, barely 200 feet above sea level) and the valleys run southwest-to-northeast all along this part of the East Coast. The KB2KUU-13 antenna may be only 20 feet above average terrain, but that puts it 600 feet above sea level with a commanding view to the northeast.
Another packet sent a few minutes later took a much longer path to an APRS iGate:
KE4ZNU-9 APRS to WA2GUG-15 – Long Island – 2012-02-01
The first hop covered about 80 km / 50 miles to W2VER-15. That antenna is 320 feet above average terrain, but that’s with a 1400 foot base: a ridge near Hamburg Mountain. The next hop is about 20 miles to WB2FTZ-15, then 60 km / 40 miles across the plains and out to WA2GUG-15 near Hempstead on Long Island.
Normally, of course, a closer digipeater snags packets from my bike; most go through WA2YSM-15 or KC2DAA-2 to K2MHV-6 and probably don’t clog up the entire eastern seaboard. It’s hard to tell, though, because the APRS database records only the first successful capture of a given packet.
The whole bike ride looked like this:
KE4ZNU-9 trip – 2012-02-01
The APRS spots missed the sprint along West Road into Pleasant Valley, but you get the general idea: 22 miles, 15 mph average speed, temperature around 58 °F, a fine day for a ride!
I’d wondered whether suppressing RFI by picking capacitors by their self-resonant frequency, so that each cap would suppress a known input signal. Turns out that’s entirely possible, even for the amateur VHF and UHF bands:
Wouxun PCB – 100 nF 680 80 pF AVX – PTT
The three caps producing that trace look like this on the brassboard PCB for the Wouxun GPS+voice interface, with spectrum analyzer input & output through RG-174 coax with 22 Ω and 470 Ω SMD resistors tombstoned on the pads at the end of the string:
GPS voice PCB – SMD caps on PTT input
The scattered solder blobs cover Z-wires connecting the top ground plane to the continuous ground pour on the bottom surface. The solder strip along the edge joins the copper tape bonding the surfaces together around the perimeter. Basically, this is as well-controlled a layout as one can rationally get, without full RF matched-impedance zaniness.
However, the whack-a-mole RFI suppression concept makes absolutely no sense whatsoever for anything other than a mass-production board with rigidly controlled component parameters, which isn’t what you see here. Basically, ceramic caps have poor tolerances, bad thermal stability, and standard values too far apart to make fine tuning practical: lining up the self-resonance with a desired frequency requires trial-and-error selection for every capacitor.
Those peaks between the self-resonances can be much higher than you’d expect, too, because they represent parallel resonances where the total impedance can approach an open circuit. Remember that caps above resonance look like inductors and caps below resonance look like caps, so two parallel caps form a nice RL tank circuit for signals between their self-resonant frequencies. The caps have very low ESR, making the Q unreasonably high.
If you were hoping for / requiring broad-spectrum RFI suppression, paralleling caps will definitely make things worse, which is probably not what you expected, either.
The whole scheme also suffers from measurement error due to parasitic inductance from the position of the SA and TG “probes”. Compare this trace:
Wouxun PCB – 330 pF – HTPTT near
Made with the SA and TG connected to the same pad:
SA and TG – same pad
With this trace:
Wouxun PCB – 330 pF – HTPTT far
Which involves moving the SA input to a pad on the other end of the trace, the better part of 8 mm away:
SA and TG – different pads
Yes, those layouts are identical when you’re talking about signals near DC.
The pigtail leads certainly contribute some inductance, as does the the PCB trace itself. I suspect you could model that effect, but I’m not sure you could generate a predictive model without a 3D field solver and a whole bunch of calibration measurements. If you really care about the location of that self-resonant peak, I’m not sure which trace / layout you’d trust.
Of course, if you use a cap with a very broad self-resonant peak, then it’s all good. Except, equally of course, that I have no idea how you’d specify one of these to your purchasing agent:
Wouxun PCB – 992 pF – HTMIC
That’s a 1 nF cap from the same assortment (made by AVX, a nominally reputable manufacturer, if the eBay vendor is to be believed) that produced the other peaks. Obviously there’s something different about those caps (and the 1.5 nF caps in the next compartment of the assortment, too): it’s not a measurement error! Notice that it has the expected high impedance at low frequencies, so you’d probably want a larger cap in parallel, which would give you at least a moderate parallel-resonant peak in between.
So if there’s a single frequency that needs squelching you can probably find a suitable cap by rummaging around in your assortment. More than that, though, just isn’t practical.
Just about the only other discussion I’ve seen about this comes from the folks at Ultracad Designs, who have run the numbers much further than may seem be reasonable, even by my standards.
While fiddling around with those SMD capacitors, it occurred to me that I really needed some SMD tweezers: small forceps with isolated jaws, connected to the capacitance meter’s terminals. In the nature of a proof-of-concept, I sacrificed a (surplus) Tektronix banana plug cable and an old plain-steel tweezer (stamped Made in Japan back in the day when that had the same quality connotations as does Made in Pakistan right about now) and lashed them together:
SMD tweezers – overview
I chopped off the tweezer joint with a bolt cutter, scuffed up the steel with a file, soldered the cable wires, cut a small wood block to fit, and epoxied the whole mess together:
SMD tweezers – epoxy joint
When the epoxy cured, a generous wrap of silicone tape hid most of the hackage. Two lengths of clear heatstink tubing insulate the handles from my sweaty fingers:
SMD tweezers – joint detail
Part of the reason for picking this victim was its cheap-and-bendy steel: more easily soldered than stainless, no regrets about filing the jaws to suit. They’re flattened on the bottom and filed to grip SMD chips along their length:
SMD tweezers – tip shape
That’s on the top panel of my indispensable AADE LC meter. The stray capacitance of that cable is around 50 pF, but the meter can null it to a fraction of a pF. At least as long as I don’t change my grip, that is, which isn’t too severe a restriction. [Update: got the link right this time.]
That gorgeous Tek cable turned out to be entirely too stiff and the natural curve doesn’t lie in the correct direction. The next version will probably use a length of RG-174 mini coax and a dual banana plug. I think I’d like angled jaws, too, so as to attack the chips from the top down.
But even this version works wonderfully well, as I sorted out a few hundred random SMD caps in two half-hour sessions that I’d been putting off for far too long. This is the last batch; I’ve learned the hard way that it pays to transfer batches of chips to their storage bins long before I think I should:
Sorting SMD caps
Yeah, it’s false economy, but it keeps me off the streets at night. OK?
In that version of the GPS+voice interface, I sprinkled 100 nF and 100 pF SMD caps across the input lines in the hope that they’d reduce EMI on the audio board. The board worked fine for years, but now that it’s time to build another board & box, I figured it’d be good to know a bit more about their actual response.
So I cobbled up a test fixture with a 3 dB pad from the tracking generator output and a 20 dB pad to the spectrum analyzer input (both of those are bogus, because the cap impedance varies wildly, but work with me on this):
Ceramic 100 nF cap on copper
Pulled an assortment of 100 nF ceramic caps from the stockpile:
Their self-resonant frequencies are much lower than I expected:
Cap Comparison
The attenuators produce about 17 dB of loss with no cap in the circuit, so the disk caps are pretty much asleep at the switch from VHF on up. The small bypass cap in the top photo is OK and the SMD cap is pretty good, but they’re all well past their self-resonant frequency and acting like inductors.
The relevant equations:
FR = 1/(2π √(LC))
XC = 1/(2π f C)
Q = FR / BW
ESR = XC / Q
The drill goes a little something like this:
Find resonant frequency FR and 3 db bandwidth BW
Knowing FR and C, find parasitic L
Knowing FR and BW, find Q
Knowing XC and Q, find ESR
In round numbers, the 100 nF SMD cap has L=2 nH and ESR=60 mΩ.
Now, it turns out a 100 pF SMD cap resonates up at 300 MHz, between the VHF and UHF amateur bands:
SMD – 100 pF Bandwidth
So I think the way to do this is to pick the capacitance to put the self-resonant frequency in the VHF band, parallel another cap to put a second dip in the UHF band, and run with it. A back of the envelope calculation suggests 470 pF and 47 pF, but that obviously depends on a bunch of other imponderables and I’ll just interrogate the heap until the right ones step forward.
Just to show the test fixture isn’t a complete piece of crap, here’s a 12 pF cap resonating up around 850 MHz:
SMD – 12 pF Bandwidth
For the combination of components, sweep speeds, bandwidths, and suchlike in effect, the spectrum analyzer’s noise floor is down around -75 dBm. I think the 12 pF cap is actually better than it looks, but I didn’t fiddle around with a narrower resolution bandwidth.
I cable-tied the mic/earphone cable on Mary’s bike helmet to a rib on the fancy air vents near the back end, hoping that would reduce the inevitable flexing. Alas, it didn’t work out that way and the cable lasted only two seasons. This cut-away view shows the pulverized shield braid inside the jacket:
Fatigue-failed helmet cable
The symptoms were totally baffling: the mic worked perfectly, but the earphones cut out for at most a few syllables. Of course, I can’t wear her helmet and it only failed occasionally while riding. I barked up several wrong trees, until it got so bad that I could make it fail in the garage while listening to the local NWS weather radio station.
I spliced in a new USB male-A connector and (re-)discovered that the braid seems to be aluminum, rather than tinned copper. In any event, the wire is completely unsolderable; I crimped the braid from the new connector to a clean section of the old braid. The braid serves only as an electrostatic shield, as it’s not connected to anything on the helmet end. That should suffice until I rebuild the headsets this winter.
Unlike my old ICOM IC-Z1A, the Wouxun KG-UV3D radio has mic and speaker jacks recessed into the case, so that a custom plug plate can absorb all the stress from forces applied to the cables without wiggling the plugs. Even better, there’s a removable cover with a mounting screw that can hold the new plate in place!
Wouxun plug mounting plate – overview
The first pass at the mount required a bit of filing, as the deepest part of the recess turns out to be not exactly rectangular. That’s (probably) fixed in the source code:
Wouxun plug plate – detail
The solid model looks about like you’d expect, with terribly thin side walls between the plugs and the not-quite-rectangular section. The whole affair is asymmetrical around the long axis; the not-quite-rectangular block and hole really are offset:
Plug Mount Plate – Solid Model
When printed, the thin sections come out one 0.66 mm plastic thread wide:
Wouxun plug mounting plate – build
I spent quite some time iterating through OpenSCAD, RepG, and SkeinLayer to make sure that came out right. This is from a later version with larger recesses around the plugs:
Plug Mount Plate – skeinlayer
Some epoxy eased down along the plugs will lock them into the plastic, with an epoxy putty turd over the top to stabilize the cables and terminal connections. That’s a T6 Torx bit to mate with the 2 mm screw (with a captive washer!) pulled from the Small Drawer o’ Salvaged Metric Screws:
Wouxun plug plate – trial fit
The OpenSCAD source code is part of the huge block of code at the bottom of that post, but here’s the relevant section:
The first pass at the box that will eventually hold the GPS+voice interface for the KG-UV3D radio looks like this, from the end that engages the alignment tabs on the bottom of the radio:
Case Solid Model – Tab End View – Fit
The other end has the opening for the TT3’s serial connector to the GPS receiver, a probably too-small hole for the external battery pack cable / helmet cable / PTT cable, and a hole on the side for the radio mic/speaker cables.
Case Solid Model – Connector End View – Fit
The serial connector opening has a built-in support plate that’s the shape shrunken by 5% so it’s easy to punch out. That worked surprisingly well; the line just above the right edge isn’t a break, it’s a stack of Reversal Zits. This version is rectangular; the solid model shows the proper D shape.
KG-UV3D box – connector hole support removal
The bottom has battery contact recesses and counterbores (if that’s the right term for a molded feature) for the PCB mounting screws. In retrospect, those holes should be tapping diameter and the screws inserted from the top, through the PCB.
Case Solid Model – Battery Contact View – Fit
The colors mark individual pieces that get glued together. I can probably reduce the wall thickness on the top & bottom by three threads, which is in the nature of fine tuning. The latch mechanism that holds this affair to the radio is conspicuous by its absence…