An interferometer can measure movement in steps smaller than the wavelength of light, but it usually needs a stabilised laser, precision optics and patient alignment. Zachary Tong of Breaking Taps tried the cheapest route there is: a self-mixing interferometer built from a single red laser diode, a mirror and some careful analogue electronics, for roughly 50 dollars. The goal was a nanometre-class linear encoder. What he got instead is one of the most honest engineering videos of the month.
One laser, no reference arm
In a normal interferometer, a reference beam interferes with a measurement beam. Self-mixing skips the reference arm. Light bounces off the target and goes back into the laser's own cavity, where it disturbs the lasing. With the drive current held constant, that shows up as tiny changes in output power, read by a photodiode. With a 650 nm laser, each fringe means 325 nm of travel, and the sawtooth shape of the fringes even tells you the direction of motion. Alignment is almost free: you only have to get the beam back into the laser.
The second prototype is built Manhattan and dead-bug style on copper clad: 12 V in, linear regulators for 5 V and about 9 V rails, a constant current laser driver, a transimpedance photodiode amplifier and a second MCP602 op-amp gain stage. A glass plate picks off a few percent of the beam to the photodiode. An early real-time attempt used a Raspberry Pi Pico's 12-bit ADC, and for ground truth he mounted the mirror on a Zaber linear-motor stage with an encoder of about 5 nm resolution.
Where it fell apart
The fringes grew and shrank in a pattern that repeated every 1.46 mm of travel. Old papers explained it: cheap laser diodes run on more than one longitudinal mode, and here the modes were about 0.145 nm apart, which points to a cavity roughly 365 microns long. A wavelet-based decoder then averaged 320 microns of error. Only a mix of classic DSP and a trained neural model brought the average error down to around 0.8 to 1 micron, with peaks of about 1.5 microns, and it needs 1 to 1.5 seconds of look-ahead, so it cannot run in real time. Bumping the photodiode meant retraining.
Our take: self-mixing trades alignment for chaos, because you cannot stabilise the laser without killing the effect. That is why it lives mostly in vibrometers, where travel is tiny. For a maker who wants position feedback, a magnetic or optical quadrature encoder is far easier; the real lesson here is the low-noise photodiode front end. If you want to drive a laser diode safely first, start with our laser diode driver circuit.
Image credit: Breaking Taps, YouTube, cropped and resized.
About the author: Aswinth Raj is an electronics engineer and the editor of CircuitDigest, where he has published more than 150 hands-on projects and tutorials across Arduino, PIC, ESP32, Raspberry Pi and EV battery systems. He selects the stories on this page for what engineers and makers can actually learn or build from. Connect on LinkedIn
Add a comment
No account needed. Your comment appears once a moderator has reviewed it.