Video: Putting High Speed PCB Design To The Test

Designing circuit boards for high speed applications requires special considerations. This you already know, but what exactly do you need to do differently from common board layout? Building on where I left off discussing impedance in 2 layer Printed Circuit Board (PCB) designs, I wanted to start talking about high speed design techniques as they relate to PCBs.  This is the world of multi-layer PCBs and where the impedance of both the Power Delivery Network (PDN) and the integrity of the signals themselves (Signal Integrity or SI) become very important factors.

I put together a few board designs to test out different situations that affect high speed signals. You’ve likely heard of vias and traces laid out at right angles having an impact. But have you considered how the glass fabric weave in the board itself impacts a design? In this video I grabbed some of my fanciest test equipment and put these design assumptions to the test. Have a look and then join me after the break for more details on what went into this!

Continue reading “Video: Putting High Speed PCB Design To The Test”

The BNC Connector And How It Got That Way

When I started working in a video production house in the early 1980s, it quickly became apparent that there was a lot of snobbery in terms of equipment. These were the days when the home video market was taking off; the Format War had been fought and won by VHS, and consumer-grade VCRs were flying off the shelves and into living rooms. Most of that gear was cheap stuff, built to a price point and destined to fail sooner rather than later, like most consumer gear. In our shop, surrounded by our Ikegami cameras and Sony 3/4″ tape decks, we derided this equipment as “ReggieVision” gear. We were young.

For me, one thing that set pro gear apart from the consumer stuff was the type of connectors it had on the back panel. If a VCR had only the bog-standard F-connectors like those found on cable TV boxes along with RCA jacks for video in and out, I knew it was junk. To impress me, it had to have BNC connectors; that was the hallmark of pro-grade gear.

I may have been snooty, but I wasn’t really wrong. A look at coaxial connectors in general and the design decisions that went into the now-familiar BNC connector offers some insight into why my snobbery was at least partially justified.

Continue reading “The BNC Connector And How It Got That Way”

Putting A Poor Man’s Vector Analyzer Through Its Paces

If anything about electronics approaches the level of black magic, it’s antenna theory. Entire books dedicated to the subject often merely scratch the surface, and unless you’re a pro with all the expensive test gear needed to visualize what’s happening, the chances are pretty good that your antenna game is more practical than theoretical. Not that there’s anything wrong with that — hams and other RF enthusiasts have been getting by with antennas that work without really understanding why for generations.

But we’re living in the future, and the tools to properly analyze antenna designs are actually now within the means of almost everyone. [Andreas Spiess] recently reviewed one such instrument, the N1201SA vector impedance analyzer, available from the usual overseas sources for less than $150. [Andreas]’s review does not seem to be sponsored, so it seems like we’re getting his unvarnished opinion; spoiler alert, he loves it. And with good reason; while not a full vector network analyzer (VNA) that will blow a multi-thousand dollar hole in your wallet, this instrument looks like an incredible addition to your test suite. The tested unit works from 137 MHz to 2.4 GHz, so it covers the VHF and UHF ham bands as well as LoRa, WiFi, cell, ISM, and more. But of course, [Andreas] doesn’t just review the unit, he also gives us a healthy dose of theory in his approachable style.

[The guy with the Swiss accent] has been doing a lot of great work these days, covering everything from how not to forget your chores to reverse engineering an IoT Geiger counter. Check out his channel — almost everything he does is worth a watch.

Continue reading “Putting A Poor Man’s Vector Analyzer Through Its Paces”

Imaginary AC Circuits Aren’t Really Complex

If you have ever read advanced textbooks or papers about electronics, you may have been surprised to see the use of complex numbers used in the analysis of AC circuits. A complex number has two parts: a real part and an imaginary part. I’ve often thought that a lot of books and classes just kind of gloss over what this really means. What part of electricity is imaginary? Why do we do this?

The short answer is phase angle: the time delay between a voltage and a current in a circuit. How can an angle be a time? That’s part of what I’ll need to explain.

First, consider a resistor. If you apply a voltage to it, a certain current will flow that you can determine by Ohm’s law. If you know the instantaneous voltage across the resistor, you can derive the current and you can find the power–how much work that electricity will do. That’s fine for DC current through resistors. But components like capacitors and inductors with an AC current don’t obey Ohm’s law. Take a capacitor. Current only flows when  the capacitor is charging or discharging, so the current through it relates to the rate of change of the voltage, not the instantaneous voltage level.

That means that if you plot the sine wave voltage against the current, the peak of the voltage will be where the current is minimal, and the peak current will be where the voltage is at zero. You can see that in this image, where the yellow wave is voltage (V) and the green wave is current (I). See how the green peak is where the yellow curve crosses zero? And the yellow peak is where the green curve crosses zero?

These linked sine and cosine waves might remind you of something — the X and Y coordinates of a point being swept around a circle at a constant rate, and that’s our connection to complex numbers. By the end of the post, you’ll see it isn’t all that complicated and the “imaginary” quantity isn’t imaginary at all.

Continue reading “Imaginary AC Circuits Aren’t Really Complex”

Pi Network Attenuators: Impedance Matching For The Strong Of Signal

If you catch a grizzled old radio amateur propping up the bar in the small hours, you will probably receive the gravelly-voiced Wisdom of the Ancients on impedance matching, antenna tuners, and LC networks. Impedance at RF, you will learn, is a Dark Art, for which you need a lifetime of experience to master. And presumably a taste for bourbon and branch water, to preserve the noir aesthetic.

It’s not strictly true, of course, but it is the case that impedance matching at RF with an LC network can be something of a pain. You will calculate and simulate, but you will always find a host of other environmental factors getting in the way when it comes down to achieving a match. Much tweaking of values ensues, and probably a bit of estimating just how bad a particular voltage standing wave ratio (VSWR) can be for your circuit.

Continue reading “Pi Network Attenuators: Impedance Matching For The Strong Of Signal”

Characterizing A Cheap 500MHz Counter Module

An exciting development over the last few years has been the arrival of extremely cheap instrumentation modules easily bought online and usually shipped from China. Some of them have extremely impressive paper specifications for their price, and it was one of these that caught the eye of [Carol Milazzo, KP4MD]. A frequency counter for under $14 on your favourite online retailer, and with a claimed range of 500 MHz. That could be a useful instrument in its own right, and with a range that significantly exceeds the capabilities of much more expensive bench test equipment from not so long ago.

Just how good is it though, does it live up to the promise? [Carol] presents the measurements she took from the device, so you can see for yourselves. She took look at sensitivity, VSWR, and input impedance over a wide range, after first checking its calibration against a GPS-disciplined standard and making a fine adjustment with its on-board trimmer.

In sensitivity terms it’s a bit deaf, requiring 0.11 Vrms for a lock at 10 MHz. Meanwhile its input impedance decreases from 600 ohms at the bottom of its range to 80 ohms at 200 MHz, with a corresponding shift in VSWR. So it’s never going to match a high-end bench instrument from which you’d expect much more sensitivity and a more stable impedance, but for the price we’re sure that’s something you can all work around. Meanwhile it’s worth noting from the pictures she’s posted that the board has unpopulated space for an SPI interface header, which leaves the potential for it to be used as a logging instrument.

We think it’s worth having as much information as possible about components like this one, both in terms of knowing about new entrants to the market and in knowing their true performance. So if you were curious about those cheap frequency counter modules, now thanks to [Carol] you have some idea of what they can do.

While it’s convenient to buy a counter module like this one, of course there is nothing to stop you building your own. We’ve featured many over the years, this 100MHz one using a 74-series prescaler or this ATtiny offering for example, or how about this very accomplished one with an Android UI?

What’s Special About Fifty Ohms?

If you’ve worked with radios or other high-frequency circuits, you’ve probably noticed the prevalence of 50 ohm coax. Sure, you sometimes see 75 ohm coax, but overwhelmingly, RF circuits work at 50 ohms.

[Microwaves 101] has an interesting article about how this became the ubiquitous match. Apparently in the 1930s, radio transmitters were pushing towards higher power levels. You generally think that thicker wires have less loss. For coax cable carrying RF though, it’s a bit more complicated.

First, RF signals exhibit the skin effect–they don’t travel in the center of the conductor. Second, the dielectric material (that is, the insulator between the inner and outer conductors) plays a role. The impedance is also a function of the dielectric material and the diameter of the center conductor.

Continue reading “What’s Special About Fifty Ohms?”