The Special Fridges Behind The COVID-19 Vaccine, Why It’s Surprisingly Difficult To Be That Cool

One of the big stories last week was the announcement of results from clinical trials that suggest a new COVID-19 vaccine developed through the joint effort of the American and German companies Pfizer and BioNTech is strongly effective in providing immunity from the virus. In the midst of what is for many countries the second spike of the global pandemic this news has been received with elation as well as becoming the subject of much political manoeuvring.

While we currently have two vaccine candidates with very positive testing results, one of the most interesting things for us is the need to keep doses of the Pfizer/BioNTech vaccine extremely cold until they are administered. Let’s dig into details of the refrigeration problem at hand.

Continue reading “The Special Fridges Behind The COVID-19 Vaccine, Why It’s Surprisingly Difficult To Be That Cool”

DSP Spreadsheet: The Goertzel Algorithm Is Fourier’s Simpler Cousin

You probably have at least a nodding familiarity with the Fourier transform, a mathematical process for transforming a time-domain signal into a frequency domain signal. In particular, for computers, we don’t really have a nice equation so we use the discrete version of the transform which takes a series of measurements at regular intervals. If you need to understand the entire frequency spectrum of a signal or you want to filter portions of the signal, this is definitely the tool for the job. However, sometimes it is more than you need.

For example, consider tuning a guitar string. You only need to know if one frequency is present or if it isn’t. If you are decoding TouchTones, you only need to know if two of eight frequencies are present. You don’t care about anything else.

A Fourier transform can do either of those jobs. But if you go that route you are going to do a lot of math to compute things you don’t care about just so you can pick out the one or two pieces you do care about. That’s the idea behind the Goertzel. It is essentially a fast Fourier transform algorithm stripped down to compute just one frequency band of interest.  The math is much easier and you can usually implement it faster and smaller than a full transform, even on small CPUs.

Continue reading “DSP Spreadsheet: The Goertzel Algorithm Is Fourier’s Simpler Cousin”

Tech Hidden In Plain Sight: Gas Pumps

Ask someone who isn’t technically inclined how a TV signal works or how a cell phone works, or even how a two-way switch in a hall light works and you are likely to get either a blank stare or a wildly improbable explanation. But there are some things so commonplace that even the most tech-savvy of us don’t bother thinking about. One of these things is the lowly gas pump.

Gas pumps are everywhere and it’s a safe bet to assume everyone reading this has used one at some point, most of use on a regular basis. But what’s really going on there?

Most of it is pretty easy to figure out. As the name implies, there must be a pump. There’s some way to tell how much is pumping and how much it costs and, today, some way to take the payment. But what about the automatic shut off? It isn’t done with some fancy electronics, that mechanism dates back decades. Plus, we’re talking about highly combustible materials, there has to be more to it then just a big tank of gas and a pump. Safety is paramount and, experientially, we don’t hear about gas stations blowing up two or three times a day, so there must be some pretty stout safety features. Let’s pay homage to those silent safety features and explore the tricks of the gasoline trade.

Continue reading “Tech Hidden In Plain Sight: Gas Pumps”

Adventures In Overclocking: Which Raspberry Pi 4 Flavor Is Fastest?

There are three different versions of the Raspberry Pi 4 out on the market right now: the “normal” Pi 4 Model B, the Compute Module 4, and the just-released Raspberry Pi 400 computer-in-a-keyboard. They’re all riffing on the same tune, but there are enough differences among them that you might be richer for the choice.

The Pi 4B is easiest to integrate into projects, the CM4 is easiest to break out all the system’s features if you’re designing your own PCB, and the Pi 400 is seemingly aimed at the consumer market, but it has a dark secret: it’s an overclocking monster capable of running full-out at 2.15 GHz indefinitely in its stock configuration.

In retrospect, there were hints dropped everywhere. The system-on-a-chip that runs the show on the Model B is a Broadcom 2711ZPKFSB06B0T, while the SOC on the CM4 and Pi 400 is a 2711ZPKFSB06C0T. If you squint just right, you can make out the revision change from “B” to “C”. And in the CM4 datasheet, there’s a throwaway sentence about it running more efficiently than the Model B. And when I looked inside the Pi 400, there was this giant aluminum heat spreader attached to the SOC, presumably to keep it from overheating within the tight keyboard case. But there was one more clue: the Pi 400 comes clocked by default at 1.8 GHz, instead of 1.5 GHz for the other two, which are sold without a heat-sink.

Can the CM4 keep up with the Pi 400 with a little added aluminum? Will the newer siblings leave the Pi 4 Model B in the dust? Time to play a little overclocking!

Continue reading “Adventures In Overclocking: Which Raspberry Pi 4 Flavor Is Fastest?”

Sending 3D Printed Parts To Mars: A Look Inside JPL’s Additive Manufacturing Center

With the Mars 2020 mission now past the halfway point between Earth and its destination, NASA’s Jet Propulsion Lab recently released a couple of stories about the 3D-printed parts that made it aboard the Perseverance rover. Tucked into its aeroshell and ready for its high-stakes ride to the Martian surface, Perseverance sports eleven separate parts that we created with additive manufacturing. It’s not the first time a spacecraft has flown with parts made with additive manufacturing technique, but it is the first time JPL has created a vehicle with so many printed parts.

To take a closer look at what 3D-printing for spaceflight-qualified components looks like, and to probe a little into the rationale for additive versus traditional subtractive manufacturing techniques, I reached out to JPL and was put in touch with Andre Pate, Additive Manufacturing Group Lead, and Michael Schein, lead engineer on one of the mission’s main scientific instruments. They both graciously gave me time to ask questions and geek out on all the cool stuff going on at JPL in terms of additive manufacturing, and to find out what the future holds for 3D-printing and spaceflight.

Continue reading “Sending 3D Printed Parts To Mars: A Look Inside JPL’s Additive Manufacturing Center”

Prism Lighting – The Art Of Steering Daylight

The incandescent light bulb was one of the first early applications of electricity, and it’s hard to underestimate its importance. But before the electric light, people didn’t live in darkness — they thought of ways to redirect sunlight to brighten up interior spaces. This was made possible through the understanding of the basic principles of optics and the work of skilled glassmakers who constructed prism tiles, deck prisms, and vault lights. These century-old techniques are still being applied today for the diffusion of LEDs or for increasing the brightness of LCD displays.

Semantics First!

People in optics are a bit sloppy when it comes to the definition of a prism. While many of them are certainly not geometric prisms, Wikipedia defines it as a transparent optical element with flat, polished surfaces of which at least one is angled. As can be seen in the pictures below some of the prisms here do not even stick to this definition. Browsing the catalog of your favorite optics supplier you will find a large variety of prisms used to reflect, invert, rotate, disperse, steer, and collimate light. It is important to point out that we are not so much interested in dispersive prisms that split a beam of white light into its spectrum of colors, although they make great album covers. The important property of prisms in this article is their ability to redirect light through refraction and reflection.

A Safe Way to Bring Light Under Deck

A collection of deck lights used to direct sunlight below deck in ships. Credit: glassian.org

One of the most important uses of prism lighting was on board ships. Open flames could have disastrous consequences aboard a wooden ship, so deck prisms were installed as a means to direct sunlight into the areas below decks. One of the first patents for deck lights “THE GREAT AND DURABLE INCREASE OF LIGHT BY EXTRAORDINARY GLASSES AND LAMPS” was filed by Edward Wyndus as early as 1684. Deck prisms had typical sizes of 10 to 15 centimeters. The flat top was installed flush with the deck and the sunlight was refracted and directed downward from the prism point. Because of the reversibility of light paths (“If I can see you, you can see me”) deck prisms also helped to spot fires under deck. Continue reading “Prism Lighting – The Art Of Steering Daylight”

Local And Remote Debugging With GDB

As a debugger, GDB is a veritable Swiss Army knife. And just like exploring all of the non-obvious uses of a those knives, your initial response to the scope of GDB’s feature set is likely to be one of bewilderment, subsequent confusion, and occasional laughter. This is an understandable reaction in the case of the Swiss Army knife as one is unlikely to be in the midst of an army campaign or trapped in the wilderness. Similarly, it takes a tricky debugging session to really learn to appreciate GDB’s feature set.

If you have already used GDB to debug some code, it was likely wrapped in the comfort blanket of an IDE. This is of course one way to use GDB, but limits the available features to what the IDE exposes. Fortunately, the command line interface (CLI) of GDB has no such limitations. Learning the CLI GDB commands also has the advantage that one can perform that critical remote debug session even in the field via an SSH session over the 9600 baud satellite modem inside your Swiss Army knife, Cyber Edition.

Have I carried this analogy too far? Probably. But learning the full potential of GDB is well worth your time so today, let’s dive in to sharpen our digital toolsets.

Continue reading “Local And Remote Debugging With GDB”