Ancient Cable Modem Reveals Its RF Secrets

Most reverse engineering projects we see around here have some sort of practical endpoint in mind. Usually, but not always. Reverse-engineering a 40-year-old cable modem probably serves no practical end, except for the simple pleasure of understanding how 1980s tech worked.

You’ll be forgiven if the NABU Network, the source of the modem [Jared Boone] tears into, sounds unfamiliar; it only existed from 1982 to 1985 and primarily operated in Ottawa, Canada. It’s pretty interesting though, especially the Z80-based computer that was part of the package. The modem itself is a boxy affair bearing all the hallmarks of 1980s tech. [Jared]’s inspection revealed a power supply with a big transformer, a main logic board, and a mysterious shielded section with all the RF circuits, which is the focus of the video below.

Using a signal generator, a spectrum analyzer, and an oscilloscope, not to mention the PCB silkscreen and component markings, [Jared] built a block diagram of the circuit and determined the important frequencies for things like the local oscillator. He worked through the RF section, discovering what each compartment does, with the most interesting one probably being the quadrature demodulator. But things took a decidedly digital twist in the last compartment, where the modulated RF is turned into digital data with a couple of 7400-series chips, some comparators, and a crystal oscillator.

This tour of 80s tech and the methods [Jared] used to figure out what’s going on in this box were pretty impressive. There’s more to come on this project, including recreating the original signal with SDRs. In the mean time, if this put you in the mood for other videotext systems of the 80s, you might enjoy this Minitel terminal teardown.

Continue reading “Ancient Cable Modem Reveals Its RF Secrets”

How Much Bandwidth Does CW Really Occupy?

Amateur radio license exams typically have a question about the bandwidths taken up by various modulation types. The concept behind the question is pretty obvious — as guardians of the spectrum, operators really should know how much space each emission type occupies. As a result, the budding ham is left knowing that continuous wave (CW) signals take up a mere 150 Hertz of precious bandwidth.

But is that really the case? And what does the bandwidth of a CW signal even mean, anyway? To understand that, we turn to [Alan (W2AEW)] and his in-depth look at CW bandwidth. But first, one needs to see that CW signals are a bit special. To send Morse code, the transmitter is not generating a tone for the dits and dahs and modulating a carrier wave, rather, the “naked” carrier is just being turned on and off by the operator using the transmitter’s keyer. The audio tone you hear results from mixing the carrier wave with the output of a separate oscillator in the receiver to create a beat frequency in the audio range.

That seems to suggest that CW signals occupy zero bandwidth since no information is modulated onto the carrier. But as [Alan] explains, the action of keying the transmitter imposes a low-frequency square wave on the carrier, so the occupied bandwidth of the signal depends on how fast the operator is sending, as well as the RF rise and fall time. His demonstration starts with a signal generator modulating a 14 MHz RF signal with a simple square wave at a 50% duty cycle. By controlling the keying frequency, he mimics different code speeds from 15 to 40 words per minute, and his fancy scope measures the occupied bandwidth at each speed. He’s also able to change the rise and fall time of the square wave, which turns out to have a huge effect on bandwidth; the faster the rise-fall, the larger the bandwidth.

It’s a surprising result given the stock “150 Hertz” answer on the license exam; in fact, none of the scenarios [Allen] tested came close to that canonical figure. It’s another great example of the subtle but important details of radio that [Alan] specializes in explaining.

Continue reading “How Much Bandwidth Does CW Really Occupy?”

Proper Routing Makes For Many Happy Return Paths

Here’s a question for you: when your PCB has a ground plane layer, where do return signals flow? It seems like a trick question, but as [Kristof Mulier] explains, there’s more to return path routing (alternate link in case you run into a paywall) than just doing a copper pour and calling it a day.

Like so many other things in life, the answer to the above question is “it depends,” and as [Kristof] ably demonstrates in this concise article, the return path for a signal largely depends on its frequency. He begins by explaining current loop areas and how they factor into the tendency for a circuit to both emit and be susceptible to electromagnetic noise. The bigger the loop area, the worse things can get from a noise perspective. At low frequencies, return signals will tend to take the shortest possible path, which can result in large current loop areas if you’re not careful. At higher frequencies, though, signals will tend to follow the path of minimal energy instead, which generally ends up being similar to the signal trace, even if it has a huge ground plane to flow through.

Since high-frequency signals naturally follow a path through the ground plane that minimizes the current loop, that means the problem takes care of itself, right? It would, except that we have a habit of putting all kinds of gaps in the way, from ground plane vias to isolation slots. [Kristof] argues that this can result in return paths that wiggle around these features, increasing the current loop area to the point where problems creep in. His solution? Route all your signal return paths. Even if you know that the return traces are going to get incorporated into a pour, the act of intentionally routing them will help minimize the current loop area. It’s brilliantly counterintuitive.

This is the first time we’ve seen the topic of high-frequency return paths tackled. This succinct demonstration shows exactly how return path obstructions can cause unexpected results.

Thanks to [Marius Heier] for the tip.

The Perils Of Return Path Gaps

The radio frequency world is full of mysteries, some of which seem to take a lifetime to master. And even then, it seems like there’s always something more to learn, and some new subtlety that can turn a good design on paper into a nightmare of unwanted interference and unexpected consequences in the real world.

As [Ken Wyatt] aptly demonstrates in the video below, where you put gaps in return paths on a PCB is one way to really screw things up. His demo system is simple: a pair of insulated wires running from the center pins on BNC jacks and running along the surface of a piece of copper-clad board to simulate a PCB trace. The end of each wire is connected to the board’s ground plane through a 50 ohm resistor, with one wire running over a narrow slot cut into the board. A harmonics-rich signal is fed into each trace while an H-field EMC probe connected to a spectrum analyzer is run along the length of the trace.

With the trace running over the solid ground plane, the harmonics are plentiful, as expected, but they fall off very quickly away from the trace. But over on the trace with the gapped return trace it’s a far different story. The harmonics are still there, but they’re about 5 dBmV higher in the vicinity of the gap. [Ken] also uses the probe to show just how far from the signal trace the return path extends to get around the gap. And even worse, the gap makes it so that harmonics are detectable on the unpowered trace. He also uses a current probe to show how common-mode current will radiate from a long conductor attached to the backplane, and that it’s about 20 dB higher with the gapped trace.

Hats off to [Ken] for this simple explanation and vivid reminder to watch return paths on clock traces and other high-frequency signals. Need an EMC probe to check your work? A bit of rigid coax and an SDR are all you needContinue reading “The Perils Of Return Path Gaps”

A Look Inside A 70-GHz Electromechanical Attenuator

It might not count as “DC to daylight,” but an electromechanical attenuator that covers up to 70 GHz is pretty close, and getting a guided tour of its insides is quite a treat.

Perhaps unsurprisingly, this one comes to us from [Shahriar] at “The Signal Path,” where high-end gear most of us never get a chance to work with goes for one last hurrah after it releases the magic smoke. And indeed, that appears to be exactly what happened to the Rohde & Schwarz 75 dB step attenuator, a part that may have lived in the front end of one of their spectrum analyzers. As one would expect from such an expensive component, the insides have some pretty special engineering. The signal is carried through the five attenuation stages on a narrow strip of copper. Each stage uses a solenoid to move the strip between either a plain conductor or a small Pi pad with a specified attenuation. The attention to detail inside the cavity is amazing, with great care taken to maintain the physical orientation of the stripline to prevent impedance mismatches and unwanted reflections.

The Pi pads themselves are fascinating, too, especially under [Shahriar]’s super-duper microscope. All of them were destructively removed from the cavity before getting to him, but it’s still pretty clear what’s going on. That’s especially true with the 5-dB pad, which bears clear signs of the overload that brought on the demise of the whole attenuator. We suppose a repair would have been feasible if it had been just the one pad that needed replacement, but with all of them broken, it’s off to the scrap bin. Or to the recycler — there appears to be plenty of gold in there.

We thought this was a fantastic look under the covers of an exquisitely engineered part. Too bad it didn’t rate the [Shahriar] X-ray treatment, as this multimeter repair or this 60-GHz phased array did. Oh, well — maybe next time.

Continue reading “A Look Inside A 70-GHz Electromechanical Attenuator”

SMA Connector Footprint Design For Open Source RF Projects

When you first start out in the PCB layout game and know just enough to be dangerous, you simply plop down a connector, run a trace or two, and call it a hack. As you learn more about the finer points of inconveniencing electrons, dipping toes into the waters of higher performance, little details like via size, count, ground plane cutouts, and all that jazz start to matter, and it’s very easy to get yourself in quite a pickle trying to decide what is needed to just exceed the specifications (or worse, how to make it ‘the best.’) Connector terminations are one of those things that get overlooked until the MHz become GHz. Luckily for us, [Rob Ruark] is on hand to give us a leg-up on how to get decent performance from edge-launch SMA connections for RF applications. These principles should also hold up for high-speed digital connections, so it’s not just an analog game.

Continue reading “SMA Connector Footprint Design For Open Source RF Projects”

Don’t Let The Baluns Float Over Your Head

Most ham radio operators will build an antenna of some sort when they first start listening or transmitting, whether it’s a simple dipole, a beam antenna like a Yagi, or even just a random wire vertical antenna. All of these will need to be connected feedline of some sort, and in the likely event you reach for some 50-ohm coax cable you’ll also need a balun to reduce noise or unwanted radiation. Don’t be afraid of extra expenses when getting into this hobby, though, as [W6NBC] demonstrates how to construct an “ugly balun” out of the coax wire itself (PDF).

The main purpose of a balun, a contraction of “balanced-unbalanced” is to convert an unbalanced transmission line to a balanced one. However, as [W6NBC] explains, this explanation obscures much of what baluns are actually doing. In reality, they take a three-wire system (the coax) and convert it to a two-wire system (the antenna), which keeps all of the electrical noise and current on the shield wire of the coax from interfering with the desirable RF on the interior of the coax.

This might seem somewhat confusing on the surface, as coax wires only have a center conductor and a shield wire, but thanks to the skin effect which drives currents to the outside of the conductor, the shield wire effectively becomes two conductors when taking into account its inner and outer surfaces. At these high frequencies the balun is acting as a choke which keeps these two high-frequency conductors separate from one another, and keeps all the noise on the outside of the shield wire and out of the transmitter or receiver.

Granted, the world of high-frequency radio circuits can get quite complex and counter-intuitive and, as we’ve shown before, can behave quite unexpectedly when compared to DC or even mains-frequency AC. But a proper understanding of baluns and other types of transformers and the ways they interact with RF can be a powerful tool to have. We’eve even seen other hams use specialty transformers like these to make antennas out of random lengths and shapes of wire.

Continue reading “Don’t Let The Baluns Float Over Your Head”