Wideband Woes and the Junkbox Miata

As ever, I am fighting a marginally winning battle against my 1991 Mazda MX-5, and this is the story of how I came to install a wideband oxygen sensor in my Japanese thoroughbred. It came about as part of my ongoing project to build myself a viable racecar, and to figure out why my 1990s Japanese economy car engine runs more like a late 1970s Malaise-era boat anchor.

I’ve always considered myself unlucky. My taste for early 90s metal has meant I’ve never known the loving embrace of OBD-2 diagnostics, and I’ve had to make to do with whatever hokey system was implemented by manufacturers who were just starting to produce reliable fuel injection systems.

Narrowband oxygen sensor voltage output. The output is heavily dependent on sensor temperature and highly non-linear, making these sensors unsuitable for delivering a true AFR reading.

This generally involves putting in a wire jumper somewhere, attaching an LED, and watching it flash out the trouble codes. My Mazda was no exception, and after putting up with a car that was running rich enough to leave soot all over the rear bumper, I had to run the diagnostic.

It turned up three codes – one for the cam angle sensor, and two for the oxygen sensor. Now, a cam angle sensor (CAS) fault will normally prevent the car running at all, so it’s safe to assume that was an intermittent fault to keep an eye on.

The oxygen sensor, however, was clearly in need of attention. Its job is to allow the engine control unit (ECU) to monitor the fuel mixture in the exhaust, and make sure it’s not too rich or too lean. As my car was very obviously running too rich, and the diagnostic codes indicated an oxygen sensor failure, a repair was in order.

I priced up replacement sensors, and a new oxygen sensor could be had for under $100. However, it wasn’t exactly what I wanted, as not all oxygen sensors are created equal. Cars in the 80s and 90s typically shipped from the OEM fitted with what’s called a narrowband oxygen sensor. These almost always consist of a zirconia dioxide cell that outputs a voltage depending on the difference in oxygen concentration between the exhaust gas and the free air. These sensors generally sit at 0.45 V when the fuel mixture is stoichiometric, but rapidly change to 0.1 V in a lean condition and 0.9 V in a rich condition. The response is highly non-linear, and changes greatly with respect to temperature, and thus is only good for telling the ECU if it’s rich or lean, but not by how much. ECUs with narrowband sensors tend to hunt a lot when running in closed loop O2 control – you’ll see an engine at idle hunt either side of the magical 14.7 stoichiometric air fuel ratio, never able to quite dial in on the correct number.

As I intend to switch to an aftermarket ECU in the future, I’ll need to tune the car. This involves making sure the air/fuel ratios (AFRs) are correct, and for that I need to be able to properly measure them. Just knowing whether you’re rich or lean isn’t enough, as often it’s desirable to run the engine intentionally rich or lean at certain engine loads. To get a true AFR reading requires fitting a wideband oxygen sensor. These are a little more complicated.

Continue reading “Wideband Woes and the Junkbox Miata”

DIY Ultra Wideband Impulse Synthetic Aperture Radar And A MakerBot


What could possibly be better than printing out a few low-resolution voxels on a MakerBot? A whole lot of things, but how about getting those voxels with your own synthetic aperture radar? That’s what [Gregory Charvat] has been up to, and he’s documented the entire process for us.

The build began with an ultra wideband impulse radar we saw a while ago. The radar is built from scraps [Greg] picked up on eBay, and is able to image a scene in the time domain, creating nice linear sweeps on a MATLAB plot when [Greg] runs in front of the horns.

With an impulse radar under his belt, [Greg] moved up the technological ladder to something that can produce vaguely intelligible images with his setup. The synthetic aperture radar made from putting his radar horns on the carriage of a garage door opener. The horns slowly scan back and forth along the linear rail, taking single impulse readings and adding them together in an image. In the video below, [Greg] is able to image a few pieces of copper pipe only a few inches in diameter. The necessary equipment for this build only cost [Greg] a few hundred bucks at the Dayton Hamvention, and a similar setup could be put together for even less.

If building an X band impulse synthetic aperture radar isn’t impressive enough. [Greg] also 3D printed one of his radar images on a MakerBot. That’s just applying stlwrite to the 2D radar image and feeding it into MakerWare. Gotta have that blog cred, doe. It also makes for the best headline I’ve ever written.

Continue reading “DIY Ultra Wideband Impulse Synthetic Aperture Radar And A MakerBot”