Nanometer Precision on a $50 Budget
By Nick Bild
Measuring the movement of a mechanical system with nanometer-level precision is generally not something that can be done on a shoestring budget. But with a bit of ingenuity and some inexpensive optoelectronic components, it turns out that it is possible to get some pretty impressive results without breaking the bank. YouTuber Breaking Taps recently demonstrated this by building a displacement encoder for around $50 that can track the movement of an object with an average error of just 129 nanometers. The device relies on a technique known as self-mixing interferometry. A traditional laser interferometer splits a beam of light into two paths, one of which serves as a reference. When the beams are recombined, the resulting interference pattern can be used to measure displacement. With a 650-nanometer red laser, for example, each successive fringe (alternating bright and dark bands in the pattern) corresponds to 325 nanometers of movement. Self-mixing interferometry does away with much of the optical hardware by using the laser diode's own internal cavity as a reference. Light that is reflected back into the cavity interferes with the light inside it, producing small fluctuations in the laser's output power that can be picked up by a photodiode. Under the right conditions, the resulting signal takes on a sawtooth shape that also reveals the direction of movement. Breaking Taps built an analog circuit on a copper-clad board to drive a laser diode at a constant current and amplify the tiny signals coming from a photodiode. An operational amplifier serves as the basis of a transimpedance amplifier, and a second stage further amplifies the signal and adjusts its DC offset. A Raspberry Pi Pico digitizes the signal and streams it to a computer over USB. A custom delta encoding scheme was implemented to keep up with the high data rate. To put the encoder to the test, Breaking Taps enlisted the help of a more expensive piece of equipment — a Zaber linear motor stage with an encoder resolution of five nanometers. This made it possible to compare the readings of the homemade encoder against a known reference while running through a variety of motion profiles. Extracting displacement measurements from the signals proved to be quite difficult, however. Initial attempts at signal processing produced large errors, in part because of a peculiar beating pattern that repeated every 1.46 millimeters. Machine learning and the addition of a second optical sensing channel brought the average error down to about 800 nanometers, but the system was sensitive to misalignment and introduced considerable latency. As it turned out, much of the trouble stemmed from the laser diode operating at multiple closely spaced wavelengths. Swapping it out for a single-longitudinal-mode diode and adding a neutral density filter cleaned up the signal enough that conventional digital signal processing techniques could get the job done. This brought the average error down to 129 nanometers, with a peak error of 291 nanometers. The encoder still has some limitations in terms of speed and latency, so it is not quite ready to give high-end commercial instruments a run for their money. Even so, being able to measure movements on the scale of a few hundred nanometers with $50 worth of hardware is incredibly impressive.A DIY displacement encoder with 129 nm resolution (📷: Breaking Taps) A look at the custom circuit (📷: Breaking Taps)
↑ Back to top
Originally published by
Hackster News ↗
· rebuilt here from its own full-text RSS feed · all rights
remain with the publisher, please read and support them there.