Laser diode self-mixing: Range-finding and sub-micron vibration measurement

Laser diode self-mixing: Range-finding and sub-micron vibration measurement — Applied Science

Applied Science

AI-assisted summary of Laser diode self-mixing: Range-finding and sub-micron vibration measurement — original source. Check the original for full context.

Source published:

Key ideas

  • Self-mixing interferometry enables a single laser diode with an internal monitor photodiode to measure sub-micron target vibrations without external optical beam splitters or sensors. (0:00)
  • Each full interference fringe cycle detected by the diode corresponds to approximately 325 nm of physical target displacement when operating with a standard 650 nm red laser. (9:24)
  • The setup functions as a Doppler tachometer when targeted tangentially at a rotating shaft, generating an optical frequency peak on an FFT that scales proportionally with rotational speed up to 100 kHz. (18:12)
  • Absolute range-finding on stationary targets is achievable by ramp-modulating the diode's injection current to induce an optical frequency chirp, creating interference beat fringes whose count correlates directly with target distance. (21:33)

Detailed notes

## Background This video was produced and published by Ben Krasnow on the YouTube channel Applied Science on December 10, 2018. According to the description, it demonstrates how a plain laser diode can easily measure sub-micron vibrations from centimeters away using self-mixing interferometry, as well as how the same optical feedback technique can be applied to absolute range-finding.

## TL;DR Ben Krasnow demonstrates self-mixing interferometry using a standard laser diode package containing an internal monitor photodiode, deconstructing various commercial diodes to explain their construction and optical feedback mechanisms. By coupling the photodiode output to a homebuilt battery-powered transimpedance amplifier and oscilloscope, he detects nanometer-scale vibrations on a miniature speaker cone, observing fringe counts and directional sawtooth waveforms. He then applies the setup as a laser Doppler tachometer to track the rotational speed of a spinning motor shaft using an FFT spectral display. Finally, Krasnow modulates the diode injection current with an AC ramp to sweep optical frequency over time, demonstrating stationary absolute range-finding through discrete interference beat fringes while examining practical noise and stability limitations.

## Atmosphere & style The presentation carries the calm, deliberate, and deeply curious ethos characteristic of benchtop experimental physics. Krasnow speaks in an approachable, matter-of-fact tone, breaking down intimidating electro-optical concepts with practical shop-floor demonstrations like de-capping diode cans on a lathe and wiring clean battery supplies. Watching the experiments feels intimate and methodical; the quiet hum of the lab is punctuated by oscilloscope traces jumping to life, revealing invisible acoustic ringing and sub-micron air currents that highlight the extreme sensitivity of the physical universe.

## Bulletin - [00:00](https://www.youtube.com/watch?v=MUdro-6u2Zg&t=0s) Self-mixing interferometry enables a single laser diode with an internal monitor photodiode to measure sub-micron target vibrations without external optical beam splitters or sensors. - [09:24](https://www.youtube.com/watch?v=MUdro-6u2Zg&t=564s) Each full interference fringe cycle detected by the diode corresponds to approximately 325 nm of physical target displacement when operating with a standard 650 nm red laser. - [18:12](https://www.youtube.com/watch?v=MUdro-6u2Zg&t=1092s) The setup functions as a Doppler tachometer when targeted tangentially at a rotating shaft, generating an optical frequency peak on an FFT that scales proportionally with rotational speed up to 100 kHz. - [21:33](https://www.youtube.com/watch?v=MUdro-6u2Zg&t=1293s) Absolute range-finding on stationary targets is achievable by ramp-modulating the diode's injection current to induce an optical frequency chirp, creating interference beat fringes whose count correlates directly with target distance.

## Key takeaways - [00:00](https://www.youtube.com/watch?v=MUdro-6u2Zg&t=0s) Laser diode self-mixing interferometry relies on coherent emitted light reflecting off a target back into the diode cavity, interfering directly with internal standing waves. - [01:24](https://www.youtube.com/watch?v=MUdro-6u2Zg&t=84s) Traditional three-lead laser diode cans house two distinct semiconductor dies: the forward/backward laser emitter junction and a rear-facing monitor photodiode originally intended for optical power regulation. - [01:24](https://www.youtube.com/watch?v=MUdro-6u2Zg&t=84s) Modern low-cost laser pointers often discard the internal photodiode to reduce costs, driving the diode via constant current and relying on mechanical shells that leave the third lead unbonded. - [03:58](https://www.youtube.com/watch?v=MUdro-6u2Zg&t=238s) Reverse-biasing the internal monitor photodiode generates a small reverse leakage current that changes proportionally to optical interference inside the laser cavity. - [05:46](https://www.youtube.com/watch?v=MUdro-6u2Zg&t=346s) A transimpedance amplifier converts microamp-level optical feedback current into a readable voltage signal, with AC coupling filtering out the static 50–60 µA DC emission background. - [09:24](https://www.youtube.com/watch?v=MUdro-6u2Zg&t=564s) Target displacement is quantified strictly by counting interference fringe cycles rather than measuring voltage amplitude, where one fringe represents a half-wavelength round-trip change (~325 nm). - [12:27](https://www.youtube.com/watch?v=MUdro-6u2Zg&t=747s) Driving a miniature speaker cone demonstrates sub-micron excursion tracking and directly visualizes inaudible mechanical ringing caused by asymmetric or square-wave drive signals. - [15:13](https://www.youtube.com/watch?v=MUdro-6u2Zg&t=913s) The interference fringes exhibit an asymmetric sawtooth-like waveform due to non-linear cavity dynamics, allowing unambiguous detection of whether the target is moving toward or away from the sensor. - [18:12](https://www.youtube.com/watch?v=MUdro-6u2Zg&t=1092s) Tangential alignment of the laser beam against a spinning motor shaft produces a continuous Doppler shift readable as a distinct spectral peak using an oscilloscope FFT. - [21:33](https://www.youtube.com/watch?v=MUdro-6u2Zg&t=1293s) Modulating the diode's injection current alters its emission frequency over time, enabling absolute distance measurement to a stationary target via photon round-trip time delays. - [24:26](https://www.youtube.com/watch?v=MUdro-6u2Zg&t=1466s) Current-ramped range-finding displays discrete stair-step interference fringes on the photodiode output, with the fringe count per cycle scaling directly with distance to the target. - [24:26](https://www.youtube.com/watch?v=MUdro-6u2Zg&t=1466s) While self-mixing enables vibration, velocity, and distance sensing from a single package, extreme sensitivity to ambient acoustic noise and mechanical bench vibration limits its practical industrial deployment.

## Detailed walkthrough ### [00:00](https://www.youtube.com/watch?v=MUdro-6u2Zg&t=0s) Introduction to Self-Mixing and the Nerd Thunder Collaboration

Ben Krasnow introduces the premise of the video: demonstrating how an ordinary laser diode can be used to make sub-micron vibration measurements from several centimeters away without requiring any other optical components. Before jumping into the bench demonstration, he mentions "Nerd Thunder," describing it as “a collection of youtubers that are doing a little cross promotion in December including Jeri Ellsworth who actually inspired me to start making youtube videos in 2011 so be sure and go check out those channels in the description.”

He begins with a simple bench setup featuring a raw laser diode emitting light without any external lens attached, producing a wide beam pattern. The diode draws close to 24 milliamps of current. A digital multimeter is hooked up to measure the current coming out of the diode’s internal monitor photodiode. When Krasnow passes a simple white card beneath the laser beam, the monitor current visibly changes on a live graph display. As Krasnow observes, “Did you expect that? That's actually kind of a surprise, right? I mean what's going on here? There's no sensor other than the laser diode itself.” When an external collimating or focusing lens is placed in front of the diode, the detection range increases because the lens collects and focuses more scattered light back into the diode package. When he replaces the plain white card with a card bearing a retro-reflector, the resulting signal becomes roughly ten times larger due to the retro-reflector returning a massive fraction of the emitted light directly along the beam axis.

[01:24](https://www.youtube.com/watch?v=MUdro-6u2Zg&t=84s) Deconstructing Laser Diode Packages

To explain how the diode detects returning light, Krasnow explains that traditional laser diodes contain a built-in monitor photodiode inside the can. Standard can packages usually feature three leads, signaling that there is more inside than just an emitting diode junction. To examine their internal architecture, Krasnow prepared several cross-sections: he mounted the metal cans in a lathe collet and carefully ground away the outer metal shells using a Dremel tool until the caps fell off.

Looking at the de-capped packages reveals two distinct dies inside classic designs: the laser diode junction itself and a monitor photodiode mounted directly behind it on the backstop. Because a laser diode junction emits light both forwards out of the package and backwards into the package cavity, the rear emission continuously strikes the monitor photodiode. The industrial purpose of this setup is closed-loop optical power control. As Krasnow explains, “The point of this is that if you want to really carefully control how much light is coming out of the laser junction due to things like manufacturing tolerances and temperature changes, you really want to know how much light it's emitting not just how much current it's consuming.”

However, modern low-cost laser diodes frequently omit the internal photodiode. In ubiquitous cheap red laser pens (which Krasnow notes can be purchased off eBay for about twelve dollars for a three-pack), opening the diode packages reveals that the photodiode die is entirely missing, even though the outer package retains three leads due to legacy manufacturing tooling. Manufacturers simply leave the third pin disconnected or bond it across another lead, driving the diode using a constant current source instead and tolerating optical output variations. In another dissected diode, Krasnow discovered a full integrated circuit die with a photodiode that handles autonomous regulation internally—a design unsuitable for external measurement experiments. In the extreme case of cheap mass production, the metal can is discarded completely, leaving a bare laser die mounted directly onto a scrap of PCB material.

```mermaid flowchart LR accTitle: Laser Diode Internal Power Monitoring accDescr: Diagram showing how a traditional laser diode uses forward and backward emission for optical power monitoring. subgraph Package["Laser Diode Package"] PD["Monitor Photodiode"] LD["Laser Diode Junction"] end Target["Target / Reflector"]

PD <-- "Backward emission" --> LD LD --> "Forward emission" --> Target Target -.-> "Reflected feedback".-> LD ```

- Dissected samples were machined in a lathe collet and ground open with a Dremel. - Classical three-lead cans include both a laser diode emitter and an internal monitor photodiode die. - Modern $12 three-pack laser pointers typically omit the monitor photodiode despite retaining three-pin packages. - Some specialized units integrate the regulation IC internally, while ultra-low-cost versions mount the bare die directly to PCB material.

[03:58](https://www.youtube.com/watch?v=MUdro-6u2Zg&t=238s) Basic Photodiode Wiring and Coherent Feedback

Older components with true monitor photodiodes have become difficult to source cheaply. Krasnow managed to acquire a closeout batch from Jameco, buying out the remainder of their stock. He explains the schematic configuration used in his first experiment: the laser emitter receives 24 mA of forward current, while the monitor photodiode is reverse-biased with roughly 2 volts applied across its cathode and anode pins. In this reverse-biased mode, the photodiode produces a reverse leakage current proportional to incident light, measuring roughly 50 to 60 microamps when the laser is operating steadily.

As the target card moves back and forth, the reflected light entering the package alters the photodiode reading, turning the assembly into an analog distance sensor. Krasnow points out that laser emission is coherent—meaning its waves share a uniform phase. Consequently, when reflected light re-enters the laser cavity, it interferes with the light being generated inside the diode itself: “What's cool here is that the laser diode light is coherent, meaning it's all in one phase, like one wave coming out of the package, so when we put a reflector down here, it's actually coherent light being reflected back into the package and we have the possibility of getting the light to interfere with itself.” This optical self-mixing phenomenon produces interference patterns that make sub-micron distance variations readable.

[05:46](https://www.youtube.com/watch?v=MUdro-6u2Zg&t=346s) The Transimpedance Amplifier Circuit

To measure dynamic interference fringes rather than just steady-state DC shifts, Krasnow replaces the slow digital multimeter with an oscilloscope and builds a transimpedance amplifier (TIA) circuit. The laser diode is driven with a steady 24 mA using a laboratory power supply running in constant voltage mode with a carefully preset current limit, chosen because the specific diode had been thoroughly pre-characterized.

```mermaid flowchart TD accTitle: Transimpedance Amplifier Schematic accDescr: Schematic showing the photodiode input feeding an op-amp transimpedance amplifier with dual 9V battery power. PD["Monitor Photodiode\n(Reverse-biased)"] -->|"Current signal (µA)"| InvIn["Op-Amp Inverting Input (-)"] GND["Ground"] --> NonInvIn["Op-Amp Non-inverting Input (+)"]

subgraph Feedback["Feedback Loop"] Rf["100 kΩ Resistor"] Cf["Small Capacitor\n(Bandwidth limiting)"] end

InvIn --- Feedback Feedback --- Vout["Voltage Output\n(100 mV / µA)"]

subgraph Power["Isolated Dual Supply"] B1["+9V Battery"] B2["-9V Battery"] end Power -.-> Vout ```

The transimpedance amplifier converts the tiny microamp current fluctuations into a workable voltage signal: - **Operational Principle**: With the non-inverting input grounded, the op-amp servos its output to drive current through the feedback network, holding the inverting node at a virtual ground (zero volts). - **Gain Setting**: A 100 kΩ feedback resistor yields a transfer ratio where 1 microamp of photodiode current produces 100 millivolts at the amplifier output. - **Filtering & Stability**: A small feedback capacitor is wired in parallel with the 100 kΩ resistor. While stray capacitance usually curtails amplifier bandwidth (which sits around a few hundred kilohertz to a couple megahertz), Krasnow intentionally includes a small capacitor here to suppress high-frequency noise and sharpen the oscilloscope waveform. - **Power Supply**: The op-amp is powered by two series 9V batteries wired back-to-back to establish clean, isolated +9V and -9V rails that float independently from mains ground, preventing ground loop interference and offering generous voltage headroom. - **Oscilloscope Coupling**: Although the amplifier itself is DC-coupled, Krasnow sets the oscilloscope channel to AC coupling. This rejects the large 50–60 µA DC background current caused by internal emission and displays only the microamp-level ripple current caused by optical feedback.

[08:11](https://www.youtube.com/watch?v=MUdro-6u2Zg&t=491s) Dynamic Vibration Testing with a Speaker

On the oscilloscope, a full-scale deflection of 200 mV corresponds to roughly ±1 microamp of current ripple around the stable 23.5 mA diode operating point. When a card bearing a retro-reflective sticker is moved or lightly tapped by hand, the signal responds vigorously, but manual movement introduces chaotic, irregular oscillations that are difficult to analyze systematically.

To generate a controlled, quantifiable vibration, Krasnow sets up an electromechanical test target: a miniature loudspeaker fitted with a small retro-reflective tag directly on its center cone. He drives the speaker using a function generator delivering a 60 Hz sine wave at 300 millivolts peak-to-peak. On the oscilloscope display, the yellow trace monitors the 60 Hz drive waveform fed to the speaker terminals, while the other trace visualizes the AC-coupled current signal streaming from the monitor photodiode transimpedance amplifier. Zooming into the photodiode trace reveals a distinct, highly repeatable waveform corresponding to the tiny physical excursion of the speaker cone.

[09:24](https://www.youtube.com/watch?v=MUdro-6u2Zg&t=564s) The Physics of Self-Mixing Interferometry

The demonstration begins with an oscilloscope displaying the signal from the monitor photodiode inside the laser diode package while aiming at a small speaker driven by a 60 Hz sine wave. When the speaker cone is in motion, the scope registers a high-speed alternating signal. Whenever the speaker reaches the apex or nadir of its travel and comes to a momentary stop to change direction, the output signal abruptly drops in speed and changes character before speeding back up during motion. Zooming in on the physical bench shows the laser diode aimed through a focusing lens beneath it, focusing a red spot directly onto a piece of retroreflective tape affixed to the speaker cone. At 60 Hz and driven by an amplitude of merely 300 mV peak-to-peak, the speaker is completely silent to human hearing due to poor low-frequency response, yet the laser picks up the movement clearly from centimeters away.

```mermaid flowchart LR accTitle: Self-mixing interferometry beam path accDescr: Optical path showing emission, reflection from a moving target, feedback into the laser cavity, and readout via the internal monitor photodiode. subgraph Diode["Laser Diode Package"] LD["Laser Diode Cavity"] PD["Monitor Photodiode"] end Lens["Focusing Lens"] Target["Target with Retroreflective Tape"]

LD -->|"Emitted coherent light"| Lens Lens --> Target Target -.->|"Reflected light (phase shifted)"| Lens Lens -.->|"Optical feedback"| LD LD -->|"Mixed optical power"| PD ```

The underlying mechanism relies on optical feedback. The diode emits coherent light that travels across the free-space gap, strikes the retroreflective target, and returns along the same path while preserving its phase coherence. If the reflected wave re-enters the laser diode in phase with the standing wave inside the cavity, constructive interference occurs, driving an increase in detected optical power at the integrated monitor photodiode behind the laser emitter. If the target position shifts by a half-wavelength ($\lambda/2$), the round-trip distance changes by a full wavelength, causing destructive interference and dropping the optical power on the photodiode. As Ben Krasnow explains, “This is basically an interferometer it's just built with no extra components basically the diode is doing the mixing for us which is why it's called a self mixing interferometer.”

- The red laser light has an approximate wavelength of $\lambda \approx 650\text{ nm}$. - Each constructive or destructive peak on the oscilloscope corresponds to the target traversing a distance of half a wavelength ($\approx 325\text{ nm}$ per half-cycle, or one full wave of displacement per fringe cycle). - Counting approximately 10 interference fringe peaks between turnaround points indicates a total mechanical excursion of about $10 \times 650\text{ nm} \approx 6.5\text{ }\mu\text{m}$.

---

[12:27](https://www.youtube.com/watch?v=MUdro-6u2Zg&t=747s) Speaker Excursion, Ringing, and Waveform Dynamics

To verify the relationship between physical displacement and optical fringe counts, the speaker's drive amplitude is adjusted while monitoring the yellow trace on the scope. Lowering the drive voltage reduces the fringe count to only four interference peaks between turnaround points. Cranking the drive amplitude up to 500 mV and then 800 mV peak-to-peak causes a massive burst of fringes to crowd between the endpoints, matching the expected increase in cone displacement. Next, switching the drive from a sine wave to an asymmetric ramp (sawtooth) waveform forces the speaker to move slowly in one direction and rapidly in the other; the photodiode signal shows fringes that are widely spaced during the slow ramp and tightly packed during the fast ramp.

When the ramp symmetry is driven to extreme asymmetry, the sudden edge delivers a mechanical impulse that rings the speaker cone like a bell. The resulting mechanical oscillation appears directly as secondary high-frequency ripples on the optical interference signal, visible even before any ringing manifests on the electrical drive monitor. Returning to a pure sine wave and adjusting only the drive frequency causes the interference peaks to compress or stretch along the horizontal time axis, but the absolute number of peaks between turnarounds remains constant because the travel distance has not changed. Krasnow notes, “So the amplitude of this signal actually doesn't tell us much of anything it's really the number of peaks and there's actually something else that's interesting here that we can check out.”

- The raw voltage amplitude of the photodiode waveform conveys little information; the metric of displacement is the cumulative count of interference peaks. - Changing the target motion velocity alters fringe frequency, whereas shifting amplitude directly scales the fringe count. - The optical readout functions as an ultra-sensitive vibrometer, revealing sub-micron structural ringing that is completely inaudible.

---

[15:13](https://www.youtube.com/watch?v=MUdro-6u2Zg&t=913s) Directionality, Cavity Feedback, and Audible Steps

Inspecting a paused trace of the fringe fringes reveals a distinctly asymmetric, sawtooth-like optical waveform rather than a pure sinusoid. The slope during target approach is noticeably different from the slope during target recession. This directional asymmetry is a hallmark of optical feedback interferometry: the non-linear interaction between the reflected optical phase and the diode cavity dynamics alters the laser's operating mode, making it possible to determine whether the target is moving toward or away from the sensor without quadrature detectors. Krasnow candidly admits regarding the literature, “I'll link to the paper that covers all this because the physics is slightly over my head.”

The physical setup is remarkably sensitive: ambient thermal drift, slight variations in diode drive current, and target retroreflection quality all affect performance. Krasnow touches on the stair-step appearance of the signal and points out that because the optical feedback alters the laser junction voltage and impedance, external monitor photodiodes are not strictly necessary. Monitoring the drive current or terminal voltage of the laser diode with a high-gain transimpedance amplifier can measure the interference fringes directly, though achieving this without a dedicated monitor photodiode proves difficult outside formal laboratory literature.

Switching the driver to a 60 Hz square wave produces a sharp snap that finally makes the speaker audible to the ear. Leaning in close, Krasnow demonstrates that the audible sound does not stem from the instantaneous edge itself, but rather from the severe mechanical oscillation ringing out across the cone membrane following the step impulse. This ringing decays gradually across the trace until the next edge arrives. Replacing the square wave with a gently sloped trapezoidal ramp silences the acoustic click by preventing cone resonance, bringing the motion trace almost flat. At this nanometer scale, Krasnow notes that a laser diode held only by an alligator clip on a workbench is likely moving by 650 nm simply from ambient room air currents.

---

[18:12](https://www.youtube.com/watch?v=MUdro-6u2Zg&t=1092s) Doppler Velocity Sensing of a Rotating Shaft

Moving beyond oscillating targets, the same self-mixing setup is repurposed to measure continuous constant velocity. The test object is a small DC motor whose cylindrical output shaft is wrapped in retroreflective tape. The laser is aligned to graze the outer radius of the spinning shaft tangentially, ensuring that the retroreflective surface travels at a continuous linear velocity directly toward or away from the beam path depending on the direction of rotation.

Powering the motor through a precision variable power supply allows smooth, fine adjustment of the rotational speed. Looking back at the oscilloscope, the photodiode output displays a continuous, densely packed waveform. Because the surface speed of the spinning shaft is orders of magnitude faster than a 60 Hz speaker cone moving across a few microns, the resulting optical fringe frequency is far higher. Krasnow observes that manually counting fringes individual wave by wave at these velocities is impractical, transitioning the scope over to a Fast Fourier Transform (FFT) mode to track the Doppler velocity peak in the frequency domain.

[19:19](https://www.youtube.com/watch?v=MUdro-6u2Zg&t=1159s) Motor Speed Measurement and Laser Tachometry

Ben Krasnow examines the Fast Fourier Transform (FFT) display on his oscilloscope to determine where the signal holds the most energy. Initially, the signal clips due to excessive amplitude, requiring him to turn the level down. He explains that the roll-off visible across the spectrum stems primarily from the amplifier circuit and general background noise rather than the optical signal itself. When he physically moves the motor out of the laser beam's optical path, the prominent spectral peak abruptly disappears, confirming that the minor surrounding noise spikes are not part of the physical phenomenon under test.

```mermaid flowchart LR accTitle: Laser Tachometry Signal Flow accDescr: Optical feedback from spinning motor shaft detected by photodiode and converted to frequency peak via FFT. subgraph Optics["Optical Domain"] LD["Laser Diode"] -->|"Emitted beam"| Shaft["Spinning Motor Shaft"] Shaft -->|"Reflected feedback"| LD end subgraph Electronics["Detection & Processing"] LD --> PD["Internal Monitor Photodiode"] PD --> AMP["Amplifier Circuit"] AMP --> Scope["Oscilloscope FFT Display"] end ```

Moving the motor back into the beam causes the peak to reappear at a frequency directly proportional to the rotational speed of the motor shaft. Ben demonstrates this relationship by adjusting the drive voltage supplied to the motor:

- Lowering the motor drive voltage causes the spectral peak to slide downward across the frequency spectrum. - At a lower voltage of 500 millivolts, the peak drops down to roughly 10 kHz, where individual raw signal waves become visible in the time-domain trace. - Increasing the motor voltage back up to 3.5 volts pushes the spectral peak all the way up to approximately 100 kHz. - Clearing the motor from the path extinguishes the peak, and reinserting it restores the spike immediately.

Ben highlights the versatility of this arrangement: “So it's actually a very effective tachometer: you can aim this at anything that's moving and not only determine its vibration to within 600 nanometer accuracy, you can also determine its speed very easily just by looking at the spectrum of a signal coming back there—pretty cool.”

[21:33](https://www.youtube.com/watch?v=MUdro-6u2Zg&t=1293s) Absolute Range-Finding via Current Ramp Modulation

Ben turns to absolute distance measurement, acknowledging the fundamental limitation of standard self-mixing interferometry: “Wouldn't it be nice if we could use this system to measure the distance from here to here? Seems almost impossible because this interferometry approach requires some sort of movement to actually get a signal, right? Like no matter where you are in the waveform, if this thing isn't moving, there's no signal we get, so there's no way you can measure an absolute distance with it.”

```mermaid flowchart TD accTitle: Ramped Frequency Modulation for Distance Sensing accDescr: Modulation of laser drive current shifts optical frequency over time to create interference with delayed reflections. CurrentRamp["Current Ramp Generator"] -->|"Modulates drive current"| DiodeFreq["Laser Diode Frequency Shift (Color)"] DiodeFreq -->|"Emits photon at t0"| Target["Stationary Target at Distance D"] Target -->|"Delayed return photon (t0 + dt)"| Mixing["Laser Cavity Self-Mixing"] DiodeFreq -->|"Operating at new frequency at (t0 + dt)"| Mixing Mixing -->|"Beat interference steps"| PD["Monitor Photodiode Readout"] ```

He overcomes this limitation by exploiting the optical property where altering the injection current into the laser diode slightly shifts its emission frequency (its color toward slightly red or slightly blue depending on whether current increases or decreases). By applying a ramped current waveform, the diode constantly shifts frequency over time:

1. The diode emits a photon at an initial frequency. 2. The photon travels to a stationary target, reflects, and returns to the diode cavity after a round-trip delay. 3. During that transit time, the current ramp has shifted the laser diode to a new instantaneous frequency. 4. The returning "old" photon interferes with the newly generated light inside the active cavity, yielding an interferometric beat signal. 5. Greater target distances increase photon round-trip time, creating a larger frequency differential and generating a higher number of interference cycles.

To implement this, Ben couples channel 2 of a function generator into the laser diode circuit using a capacitor. The primary DC operating current is supplied by a precision Source Measurement Unit (SMU) operating in constant voltage mode, while the function generator superimposes a 520 Hz, 30 mV AC ripple waveform on top of the DC bias. The physical target is a card backed with retroreflective tape mounted on the table, alongside a sliding block with retroreflective tape positioned approximately 2 cm closer to evaluate distance shifts.

[24:26](https://www.youtube.com/watch?v=MUdro-6u2Zg&t=1466s) Observing Stair-Step Interference and Practical Trade-offs

Ben inspects the oscilloscope traces to verify the operation of the modulated range-finding setup. The turquoise trace displays the AC injection from the signal generator (520 Hz, producing a ±5 mV swing at the laser diode), while the SMU registers a corresponding sinusoidal current fluctuation as it maintains constant voltage. The pink trace shows the monitor photodiode output, which exhibits a broad sinusoidal envelope caused by the laser cycling between brighter and dimmer states.

```mermaid flowchart LR accTitle: Step Count Comparison by Target Distance accDescr: Comparison of interference fringe count between far and close targets under current modulation. subgraph FarDistance["Far Target Position"] Ramp1["Modulation Slope"] --> StepsFar["~4 Stair-steps (Fringes) per Half-Cycle"] end subgraph NearDistance["Near Target Position (~Half Distance)"] Ramp2["Modulation Slope"] --> StepsNear["1 Stair-step (Fringe) per Half-Cycle"] end ```

Superimposed on top of the monitor photodiode's sinusoidal slope is a distinct, jagged "stair-steppy" modulation pattern representing the actual optical interference fringes:

- When current modulation is turned off, the regular stair-step pattern disappears, leaving only minor random fluctuations caused by ambient table vibrations. - Turning the 520 Hz modulation back on produces regular stair-steps across the rising and falling edges of the waveform. - With the retroreflective card at its far position, the waveform exhibits approximately four distinct stair-steps on each up-and-down slope of the wave. - Sliding the retroreflective block into the path to cut the target distance roughly in half reduces the count to just a single stair-step per slope, demonstrating that fringe count directly tracks target distance for a given slew rate and diode tuning coefficient.

Despite successfully proving the concept, Ben notes severe practical limitations. Simply tapping on the optical bench creates vibration artifacts that overpower the delicate single-fringe distance signal. He concludes: “The technique requires a fair bit of signal massaging and sort of compensation to be useful, which is why typically this is not used in fact in industry very much, but it is a pretty cool technique nonetheless, being able to extract, you know, submicron vibration information, distance information, and speed information all from one laser diode without really any external components—pretty cool.”

## Notable quotes > [01:24](https://www.youtube.com/watch?v=MUdro-6u2Zg&t=84s) if you want to really carefully control how much light is coming out of the laser junction due to things like manufacturing tolerances and temperature changes, you really want to know how much light it's emitting not just how much current it's consuming. — Ben Krasnow

## Mentioned Ben Krasnow, Applied Science, Jeri Ellsworth, Dean Segovis, Becky Stern, John Schuch, Darren Landrum, Joe Grand, Mark VandeWettering, Alan Wolke, Nerd Thunder, Jameco, Dremel, eBay, YouTube, Patreon

## Video description A plain laser diode can easily measure sub-micron vibrations from centimeters away by self-mixing interferometry! I also show how this technique can be used for range-finding.

http://sci-hub.tw/http://iopscience.iop.org/article/10.1088/1464-4258/4/6/371/pdf

https://www.jameco.com/Jameco/Products/ProdDS/2120428.pdf

https://www.spiedigitallibrary.org/journals/optical-engineering/volume-57/issue-05/051506/Overview-of-self-mixing-interferometer-applications-to-mechanical-engineering/10.1117/1.OE.57.5.051506.full?SSO=1

Nerd Thunder! Check them out! Dean Segovis: https://www.youtube.com/user/HackaweekTV Jeri Ellsworth: https://www.youtube.com/user/jeriellsworth Becky Stern: https://www.youtube.com/user/bekathwia Ben Krasnow: https://www.youtube.com/user/bkraz333 John Schuch: https://www.youtube.com/user/HackersBenchTV Darren Landrum: https://www.youtube.com/user/dmlandrum Joe Grand: https://www.youtube.com/user/kingpinempire Mark VandeWettering: https://www.youtube.com/user/brainwagon Alan Wolke: https://www.youtube.com/user/w2aew/

https://www.patreon.com/AppliedScience

[Source](https://www.youtube.com/watch?v=MUdro-6u2Zg)

中文简报

激光二极管自混合干涉:测距与亚微米级振动测量 Ben Krasnow演示了利用包含内置监测光电二极管的标准激光二极管封装实现自混合干涉测量,通过拆解多种商用二极管来解释其结构与光学反馈机制。他将光电二极管输出连接到自制的电池供电互阻抗放大器和示波器上,检测微型扬声器纸盆上的纳米级振动,并观察干涉条纹计数和具有方向性的锯齿形波形。随后,他将该装置用作激光多普勒转速计,借助FFT频谱显示跟踪旋转电机轴的转速。最后,Krasnow通过交流斜坡信号调制二极管的注入电流以随时间扫频光学频率,通过离散的干涉拍频条纹演示了静止目标的绝对测距,同时探讨了实际应用中的噪声与稳定性限制。 自混合干涉技术使带有内部监测光电二极管的单个激光二极管能够在无需外部光学分束器或传感器的情况下,测量目标的亚微米级振动。 (0:00) 在使用标准650纳米红光激光器时,二极管检测到的每个完整干涉条纹周期大约对应目标325纳米的物理位移。 (9:24) 当切向对准旋转轴时,该装置可用作多普勒转速计,在FFT上生成一个随转速成比例变化的光学频率峰值,最高可达100 kHz。 (18:12) 通过对二极管注入电流进行斜坡调制以引起光频啁啾,可实现对静止目标的绝对测距,由此产生的干涉拍频条纹数量与目标距离直接相关。 (21:33)

Reading summary

Ben Krasnow demonstrates that an ordinary laser diode can operate as an optical self-mixing interferometer, measuring sub-micron mechanical vibrations, rotational speed, and absolute distance without auxiliary optical sensors. Self-Mixing Cavity Physics and Diode Anatomy (1:24) Conventional laser diode packages incorporate both an emitting laser junction and a reverse-biased silicon monitor photodiode mounted directly behind it to regulate optical power output. Krasnow's cross-sectional teardowns using a lathe collet and Dremel tool demonstrate that traditional three-lead metal cans expose the photodiode to rear cavity emission, whereas modern low-cost laser pointers often discard the photodiode die entirely or integrate autonomous control ICs. When coherent 650 nm light emitted from the junction reflects off an external target and re-enters the active cavity, it superimposes onto the internal standing wave. Depending on the optical phase of the returning photons, this feedback produces constructive or destructive interference inside the diode cavity. These optical power shifts are recorded by the internal monitor photodiode as microamp-scale current variations, which Krasnow conditions using a dual-9V battery-powered transimpedance amplifier with a 100 kΩ feedback resistor, yielding a conversion ratio of 100 mV per microamp. Sub-Micron Vibrometry and Directional Waveform Dynamics (9:24) To evaluate dynamic displacement, Krasnow directs the beam toward a miniature loudspeaker driven by a 60 Hz sine wave at 300 mV peak-to-peak. Because round-trip transit distance shifts by a full optical wavelength for every half-wavelength (approximately 325 nm) of target travel, each full interference fringe represents approximately 650 nm of mechanical displacement. Counting ten interference fringes between directional turnaround points indicates an excursion of roughly 6.5 µm on an acoustic driver moving silently to human ears. The raw amplitude of the photodiode signal remains arbitrary, but the cumulative fringe count precisely tracks target displacement, while the temporal frequency of the fringes corresponds to target velocity. Furthermore, nonlinear feedback within the laser cavity distorts the fringe waveform into an asymmetric, sawtooth-like profile. Krasnow notes that this slope asymmetry indicates whether the target is advancing or receding without requiring external quadrature optics. Driving the speaker with asymmetric ramps and square waves reveals high-frequency mechanical impulse ringing and resonance across the cone that are entirely invisible on electrical drive traces. Doppler Laser Tachometry on Rotating Surfaces (18:12) Repurposing the optical setup for continuous velocity measurement, Krasnow aligns the laser beam tangentially against the outer radius of a DC motor shaft wrapped in retroreflective tape. The linear surface velocity of the spinning cylinder produces a continuous Doppler-shifted optical feedback signal at frequencies far exceeding manual cycle counting. By feeding the amplified photodiode signal into an oscilloscope Fast Fourier Transform (FFT), the rotational surface velocity appears as a prominent spectral energy peak. Adjusting the motor drive voltage from 500 mV to 3.5 V shifts this spectral peak from roughly 10 kHz to 100 kHz. Moving the motor out of the optical path extinguishes the peak, verifying that self-mixing serves as a non-contact tachometer capable of tracking speed without external timing discs or magnetic pickups. Absolute Ranging Through Optical Frequency Chirping (21:33) Standard self-mixing interferometry cannot measure stationary targets because static optical phase produces no alternating fringes. Krasnow circumvents this physical constraint by exploiting the laser diode's current-frequency tuning coefficient: superimposing a 520 Hz, 30 mV AC modulation ramp onto the DC injection current continuously sweeps the diode's optical output frequency. Because photons experience a finite round-trip time delay traveling to and from a stationary target, delayed returning light mixes with the newly shifted optical frequency inside the cavity. This generates a beat signal visible as a series of stair-step interference fringes riding atop the monitor photodiode's low-frequency AC modulation envelope. Placing a retroreflective target further away increases photon transit time, widening the frequency differential and generating approximately four stair-steps per half-cycle, while halving the distance reduces the count to a single fringe. While self-mixing interferometry provides a remarkably compact means of extracting vibration, speed, and distance data from a single diode package, Krasnow concludes that extreme sensitivity to ambient acoustic noise, mechanical bench vibrations, and thermal drift necessitates extensive signal compensation, largely limiting its industrial adoption relative to dedicated optical sensors.

精炼阅读摘要

Ben Krasnow 演示了普通半导体激光二极管如何利用“自混合干涉”(optical self-mixing interferometry)效应,在无需分束器或外部干涉仪元件的条件下,仅凭单只二极管与内部监测光电管实现亚微米级振动测量、多普勒测速以及绝对距离探测。 器件内部架构与自混合干涉物理机制 (1:24) 传统金属罐封装(CAN型)激光二极管通常具有三个引脚,内部包含向外及向内发射相干光的激光结,以及置于后方用于闭环光功率控制的监测光电二极管(PD)。Krasnow 通过车床夹头固定并用 Dremel 工具磨开外壳证实,现代廉价红光激光笔(如 eBay 上 12 美元 3 支的产品)为压缩成本大多已省略内部光电二极管,或采用内置调节 IC 乃至裸片直贴 PCB 的方案,因此需要选用保留独立监测光电二极管的老款器件。 在物理原理上,激光管发出的相干光(波长约为 650 nm)照射到反射目标后,部分光线沿原路反馈回二极管内腔。当返回的光与内腔驻波同相位时产生相长干涉,使监测光电管感应到的光功率上升;当目标位移半个波长(λ/2 ≈ 325 nm)时,往返光程改变一个整波长并发生相消干涉,输出功率下降。激光二极管自身充当了混频器,使内部光电流随目标微米级位移产生周期性干涉条纹。 微弱信号调理与纳米级动态振动解析 (5:46) 为捕捉微安级动态干涉纹波,Krasnow 构建了跨阻放大器(TIA)电路。激光二极管由稳压稳流源供给 24 mA 工作电流,内部监测光电二极管施加约 2 V 反向偏置,产生 50 至 60 µA 的静态背底漏电流。放大器采用双 9V 电池独立供电以消除市电接地回路噪波,通过 100 kΩ 反馈电阻实现 1 µA 电流对应 100 mV 输出电压的转换,并并联小电容抑制高频噪声。示波器通道置于交流耦合,过滤直流底流后,可观察到 ±1 µA 级别的干涉波动。 将激光聚焦于贴有微型反光贴纸的扬声器纸盆,以 60 Hz、300 mV 峰峰值正弦波驱动(人耳完全无法听见振动),示波器清晰捕获到随纸盆运动形成的干涉波形。单次转向周期内数出约 10 个干涉峰值,换算可知纸盆物理位移仅约 6.5 µm。波形分析表明,信号的电压幅度并不表征位移量,干涉峰的计数值才是位移的绝对标尺,而条纹疏密直接对应运动速度。此外,由于光学反馈与激光腔动态的非线性耦合,干涉条纹呈现不对称的锯齿形边缘,无需正交解调即可直接区分目标是靠近还是远离。 旋转轴切向散射与多普勒激光测速 (18:12) 将自混合光路指向表面贴有反光材料的直流电机旋转轴外缘,使其形成切向照射,反射光的多普勒频移可直接转化为高频干涉信号。由于旋转线速度远高于微米级低频振动,时域中的干涉波形密集重叠而难以通过人工计数进行解析。 Krasnow 将示波器切换至快速傅里叶变换(FFT)模式以观察频域特征。实验测得,在 500 mV 驱动电压下电机转速较低,FFT 频谱峰值位于 10 kHz 附近;当驱动电压升至 3.5 V 时,频谱主峰平滑右移至约 100 kHz。将电机移出光路时频峰立即消失,证实该系统能作为非接触式高精度转速计,直接通过频域主峰频率线性推算运动速度。 电流斜坡调制测距原理及其实践限制 (21:33) 针对静止目标无法产生多普勒或位移干涉信号的局限,Krasnow 引入了注入电流调制法实现调频连续波(FMCW)绝对测距。通过信号发生器在二极管静态偏置上叠加 520 Hz、30 mV 的交流纹波,二极管发射光的频率(颜色)随驱动电流动态偏移。光子飞向静止目标并反射返回激光腔时存在时间延迟,此时腔内激光已随电流变化滑动至新频率,新旧光子混频便会在光电管输出的充放电包络线上叠加阶梯状(stair-step)干涉阶跃。 实验中,目标处于较远位置时每个波形斜面出现约 4 个阶梯;将目标向前推移约 2 cm(接近减半距离)后,阶梯数减少至 1 个,证明阶跃数量与往返时间及物理间距严格正相关。然而 Krasnow 指出该技术实用限制极大:实验台轻微触碰或空气扰动带来的振动信号就会彻底掩盖微弱的测距阶梯,因此在工业现场必须配合复杂的噪声补偿算法才能实际应用。 Ben Krasnow 总结指出,自混合干涉技术展现了单只基础半导体激光管在无外部分束镜与复杂传感器的情况下,同时获取亚微米振动、线速度以及绝对间距的多功能潜力;但由于其极易受环境机械振动与热漂移干扰,且极度依赖复杂的后级信号处理,该方法在传统工业测量领域并未得到广泛普及。

Detailed notes — zh

## Background 该视频由知名创客兼硬核科学博主 Ben Krasnow(频道:Applied Science)于 2018 年 12 月 10 日发布在 YouTube 上。视频简介指出,本期节目演示了如何仅使用一颗普通的半导体激光二极管,通过“自混合干涉”(Self-mixing interferometry)技术,在几厘米外测量亚微米级的微小振动,并进一步展示了该原理在绝对测距(Range-finding)中的应用。 ## TL;DR Ben Krasnow 深入解构了带有内置监测光电二极管(Monitor Photodiode)的普通半导体激光管,揭示了反射光重新注入激光腔后产生的自混合干涉物理现象。通过搭建跨阻放大器(TIA),他先是以 650 nm 激光条纹精确计数并测量了扬声器膜片在人耳无法察觉状态下的微米级振幅,并展示了如何通过非对称波形判断运动方向与机械振铃。随后,他利用示波器快速傅里叶变换(FFT)实现了对旋转电机轴的多普勒测速。最后,Ben 巧妙利用注入电流调制带来的波长漂移特性,成功搭建了调频连续波(FMCW)绝对测距系统,通过拍频阶梯数量的变化直接反映物理距离,同时客观指出了该技术易受环境机械振动干扰的工程局限性。 ## Atmosphere & style 整部视频洋溢着 Applied Science 标志性的硬核极客风采与严谨求实的实验探索精神。没有花哨的剪辑特效,只有车床车削打磨元器件的实拍、工作台上密密麻麻的导线以及示波器屏幕上实时跳动的微观波形。Ben 的讲解语气沉着内敛、抽丝剥茧,当示波器上微弱的拍频阶梯与机械颤动被精准捕获时,观众能深刻体会到仅凭底层物理机制和廉价元件就实现尖端光学测量所带来的震撼与智力快感。 ## Bulletin - [00:00](https://www.youtube.com/watch?v=MUdro-6u2Zg&t=0s) 普通激光二极管可利用自带的背光监测光电二极管实现自混合干涉,在无额外光学元件的情况下直接实现亚微米级别的振动测量。 - [10:28](https://www.youtube.com/watch?v=MUdro-6u2Zg&t=628s) 通过跨阻放大器监测腔内光功率,目标每移动半个波长(红光下约 325 nm)即产生一个干涉峰值,且非对称锯齿波形可直接判断物体的运动方向。 - [19:19](https://www.youtube.com/watch?v=MUdro-6u2Zg&t=1159s) 结合快速傅里叶变换(FFT),自混合干涉仪能够基于多普勒效应精准提取电机的旋转线速度,频峰随供电电压在 500 mV 至 3.5 V 间平滑漂移。 - [21:33](https://www.youtube.com/watch?v=MUdro-6u2Zg&t=1293s) 通过对激光二极管施加微小交变调制电流以引入调频连续波(FMCW)效应,系统可凭拍频条纹数实现绝对测距,但极易受到环境机械微振动的干扰。 ## Key takeaways - [00:00](https://www.youtube.com/watch?v=MUdro-6u2Zg&t=0s) 标准三引脚激光二极管内部包含用于监测背光强度的监测光电二极管(Monitor Photodiode),设计初衷是消除温度漂移并实现自动功率控制(APC)。 - [02:30](https://www.youtube.com/watch?v=MUdro-6u2Zg&t=150s) 现代廉价激光笔与 COB 封装为压缩成本,通常省去了监测光电二极管,而自混合干涉实验必须依赖带有光电二极管的三引脚封装或极高增益的驱动监测电路。 - [04:20](https://www.youtube.com/watch?v=MUdro-6u2Zg&t=260s) 激光二极管出射的高相干性光束照射物体后反射回腔内,与内部光场叠加发生自混合干涉,直接调制封装内部的光功率。 - [05:46](https://www.youtube.com/watch?v=MUdro-6u2Zg&t=346s) 利用两节 9 V 碱性电池构成的浮空双电源与 100 kΩ 反馈电阻搭建跨阻放大器(TIA),将微安级的反向光电流纹波转换为示波器可观测的毫伏级电压信号。 - [10:28](https://www.youtube.com/watch?v=MUdro-6u2Zg&t=628s) 自混合干涉本质上是将激光二极管自身作为混频器,目标物体每位移半个波长(650 nm 激光下约为 325 nm),光电流便经历一个完整的干涉条纹周期。 - [12:00](https://www.youtube.com/watch?v=MUdro-6u2Zg&t=720s) 通过计算单向冲程内的干涉峰值数量,可精确测量人耳不可闻的微弱机械振动行程(例如数微米量级)。 - [13:13](https://www.youtube.com/watch?v=MUdro-6u2Zg&t=793s) 干涉信号呈现的非对称锯齿状形态源自激光腔内部复杂的非线性动力学,其倾斜方向能直接指示目标物体是在靠近还是远离激光器。 - [17:05](https://www.youtube.com/watch?v=MUdro-6u2Zg&t=1025s) 系统对微弱机械动态极度敏感,扬声器在陡峭方波冲击下产生的自由机械振铃和声学冲击会在干涉波形上被完整捕捉。 - [19:19](https://www.youtube.com/watch?v=MUdro-6u2Zg&t=1159s) 当激光束切向打在旋转电机轴上时,利用示波器的 FFT 频谱分析可直接提取多普勒频移,实现高精度的运动线速度测量。 - [21:33](https://www.youtube.com/watch?v=MUdro-6u2Zg&t=1293s) 向激光二极管注入交变斜坡电流会引起载流子浓度与折射率改变,从而产生波长红移或蓝移,使光波在发射与返回时产生频率差(FMCW 机制)。 - [23:25](https://www.youtube.com/watch?v=MUdro-6u2Zg&t=1405s) 延迟反射回腔的光子与腔内生成的新频率光子发生拍频干涉,在光敏二极管信号的斜坡上形成规则的阶梯状干涉条纹。 - [26:18](https://www.youtube.com/watch?v=MUdro-6u2Zg&t=1578s) 实测显示目标距离缩短一半时,半周期内的干涉台阶数按比例从 4 个骤降至 1 个,决定性验证了绝对测距的可行性。 - [26:45](https://www.youtube.com/watch?v=MUdro-6u2Zg&t=1605s) 自混合干涉测距在工程应用上面临巨大挑战,实验台面轻微的敲击与温漂引发的微米级位移即能彻底淹没微弱的测距拍频信号,工业化需要复杂的补偿算法。 ## Detailed walkthrough ### [00:00](https://www.youtube.com/watch?v=MUdro-6u2Zg&t=0s) 激光二极管的意外现象与内部结构解构 Ben Krasnow 在视频开头展示了一项惊人的实验:仅凭一颗普通的半导体激光二极管(Laser Diode),在完全不借助其他光学元件的情况下,就能在数厘米外测量亚微米级的微小振动。在切入正题前,他顺带提到了由 Jeri Ellsworth 等创客组成的“Nerd Thunder”年终联动活动,正是 Jeri 启发了他在 2011 年开启 YouTube 视频创作之路。随后他展示了基础测试平台:一颗激光二极管在未加装透镜的情况下出射椭圆光斑,工作电流接近 24 mA。该器件内部包含一个用于监测光功率的背光监测光电二极管(Monitor Photodiode)。当他随手拿出一张白卡纸在激光束下来回扫过时,监测光电二极管的电流历史曲线立刻出现了剧烈起伏。面对这看似不可思议的反应,Ben 评价道:“Did you expect that? That's actually kind of a surprise, right? I mean what's going on here? There's no sensor other than the laser diode itself.” 如果在光路中加入透镜,该现象在更远的探测距离下依然成立,因为透镜能够将更多反射光收集并聚焦回二极管;而一旦换用带有微棱镜反光贴纸(Retroreflector)的卡片,由于光线被高效率原路送回,测得的响应信号直接放大了约 10 倍。为了揭示背后的玄机,Ben 将激光二极管夹持在车床弹簧夹头(Collet)中,用 Dremel 旋转雕刻机小心翼翼地磨去金属外壳(CAN 封装),展示了多种不同来源二极管的内部切片结构。 ```mermaid flowchart LR accTitle: 激光二极管封装内部光路与结构 accDescr: 展示激光芯片向前后发光以及监测光电二极管接收后向光的结构图 subgraph DiodePackage["激光二极管金属封装 (CAN 封装)"] LD["激光二极管芯片 (Laser Die)"] PD["监测光电二极管 (Monitor Photodiode)"] LD -->|"前向出射激光"| Output["目标物 / 外部环境"] LD -->|"后向出射激光"| PD end Output -.->|"反射光经透镜返回"| LD ``` 在标准的典型激光二极管封装中,引出脚通常有 3 根。激光二极管芯片在受激发射时会同时向前和向后出射激光,向后发出的光束正好打在封装后基座上的监测光电二极管表面。制造商设计该光电二极管的初衷,是为了应对制造公差和温度漂移——激光器的发光效率对温升极度敏感,单纯控制输入工作电流无法精确控制实际发光功率,因此需要通过监测光电二极管构成闭环自动功率控制(APC)电路。 现代低成本激光器的演变趋势: - 廉价激光笔(例如 eBay 上 12 美元就能买到 3 支的笔):拆开后会发现内部虽然保留了三脚封装(沿用老旧冲压磨具),但底座上的光电二极管早已被省去,第三根引脚要么悬空,要么与外壳/其他引脚短接。这类二极管通常耐流余量较大,直接采用恒流源(Constant Current)驱动。 - 高集成度方案:部分二极管内部不仅有光敏元件,还直接集成了整块微型控制 IC,在封装内部全自动稳流,但这种芯片无法引出原始信号,无法用于本实验。 - 极度降低成本的 COB 封装:连金属壳都被彻底剥离,直接将裸露芯片打线贴在 PCB 板基材上。 - Ben 使用的二极管来自 Jameco 的清仓尾货,由于现代元件大多省去了背光二极管,这种复古的三引脚带光电二极管元件如今极难寻觅。 --- ### [04:20](https://www.youtube.com/watch?v=MUdro-6u2Zg&t=260s) 反向偏置监测与干涉设想 在最基础的静态测试接线中,驱动端接入约 24 mA 的电流点亮发射二极管,而内部的监测光电二极管则处于反向偏置(Reverse-biased)状态。其第三引脚维持在约 2 V 的电压,串联接入一块电流表以测量其反向漏电流。在正常出光时,该反向光电流大约在 50 到 60 µA 之间。此时不仅能检测卡纸的遮挡,如果缓慢平移卡纸,甚至能获得与距离相关的模拟量读数,这已经构成了一个简易的测距接近传感器。 这种光电效应的本质在于:激光二极管出射的光是高度相干光(Coherent Light),拥有单一确定的相位。当光线打在外部反射面上并沿原路返回、重新注入激光二极管腔体内部时,返回光将与腔内现存的光场发生自混合干涉(Self-mixing Interference)。Ben 明确指出,正是利用这种相干光的干涉条纹特性,我们才能借助光电二极管读取极其细微的外部位移:“What's cool here is that the laser diode light is coherent meaning it's all in one phase... so when we put a reflector down here it's actually coherent light being reflected back into the package and we have the possibility of getting the light to interfere with itself.” --- ### [05:46](https://www.youtube.com/watch?v=MUdro-6u2Zg&t=346s) 跨阻放大器电路设计与初探振动信号 为了在示波器上实时观察微安级别电流中叠加的细微干涉纹波,Ben 搭建了一台跨阻放大器(Transimpedance Amplifier, TIA)。此时激光二极管改由精心校准过的恒压源模式供电(限制最大电流并经过充分预热,使其工作在极稳定的 23.5 mA)。万用表被撤下,取而代之的是专用放大信号链路。 ```mermaid flowchart TD accTitle: 跨阻放大器 (TIA) 原理示意图 accDescr: 运算放大器配合负反馈电阻和补偿电容将微安级光电流转为毫伏级电压 PD_Current["光电二极管反向电流 (50-60 µA DC + AC 纹波)"] --> InvertingNode["运放反向输入端 (-)"] GND["接地 (0 V)"] --> NonInvertingNode["运放同相输入端 (+)"] subgraph TIA["跨阻放大器核心电路"] InvertingNode --- RF["反馈电阻 100 kΩ"] InvertingNode --- CF["反馈补偿滤波电容"] RF --- Vout["放大后电压输出 (Vout)"] CF --- Vout end Vout --> Scope["示波器 (AC 耦合模式)"] ``` 跨阻放大器的工作逻辑十分简洁:运放的同相输入端(+)接地保持在 0 V,根据虚短原理,运放通过输出端动态伺服调节,使得反向输入端(-)也维持在 0 V。若有电流流入或流出该节点,所有电流都将流经负反馈电阻。 - 反馈电阻阻值为 100 kΩ:根据欧姆定律,输入端每产生 1 µA 的电流变动,输出端就会产生 100 mV 的电压摆幅($1\,\mu\text{A} \times 100\,\text{k}\Omega = 100\,\text{mV}$)。 - 放大器带宽可达数百 kHz 乃至数 MHz,并在反馈端并联了一个微小的电容以滤除高频噪声、平滑信号波形。 - 供电系统采用两节 9 V 碱性电池背靠背串联组成正负双电源,提供极其纯净、低噪声且对地完全浮空的供电轨。 - 电路采用通用实验板搭建,电阻和电容均安装在紧凑插座上以便随时更换参数;整个直流偏置电流虽然导致约数十微安的静态底电流,但示波器设置为交流耦合(AC Coupling),彻底滤除稳定的直流成分,仅将有价值的微安级干涉交流纹波呈现在屏幕上。 在示波器屏幕上,满量程垂直范围约为 200 mV,对应光电流约 $\pm 1\,\mu\text{A}$ 的波动。当 Ben 将贴有微棱镜反光纸的卡片放入光路时,信号立刻剧烈跳动;即便手完全不碰卡片,仅仅是在桌面上轻敲一下,示波器便会激起密集的波形振荡。由于手动扰动过于杂乱,为了系统性解析该干涉信号的本质,Ben 引入了一个表面贴有微棱镜反光贴纸的小型扬声器,并使用函数发生器输出 60 Hz、300 mV 峰峰值的正弦波来精准驱动它。示波器黄色通道同步采集扬声器的驱动信号,上方通道则实时呈现激光二极管自混合干涉所产生的特征电信号。 ### [09:24](https://www.youtube.com/watch?v=MUdro-6u2Zg&t=564s) 自混合干涉现象与扬声器微振动测量 当扬声器在 60 Hz 的正弦波驱动下工作时,示波器上呈现出非常有趣的信号。驱动频率之所以选得很低(60 Hz),是因为这样可以放慢运动过程,方便观察细节。可以清楚看到:每当扬声器膜片处于运动状态时,封装内部的监测光电二极管(Monitor Photodiode)就会输出快速交变的干涉信号;而当扬声器运动到冲程的最顶端或最底端暂停转向时,信号便会骤然改变并放缓,一旦重新开始移动,信号又立刻恢复高频交变。 整个实验装置十分简洁:激光二极管下方放置聚焦透镜,透镜将光斑聚焦在扬声器中央的一小片微棱镜型微反射贴纸(Retro-reflective sticker)上。此时人耳完全听不到扬声器发出任何声音,原因有两个:一是该扬声器在 60 Hz 处的低频响应极差;二是驱动电压幅值极小,峰峰值仅有 300 mV。然而示波器上清晰波动的信号证明,哪怕相隔这样的距离、人耳毫无察觉,激光二极管依然能敏锐地捕捉到扬声器膜片的振动。 ```mermaid flowchart LR accTitle: 自混合干涉光路与反馈示意图 accDescr: 展示激光二极管发光打在扬声器反射贴纸上,光反射回激光腔发生干涉,并由监测光电二极管接收的过程。 subgraph LD_Module ["激光二极管封装内部"] LD["激光芯片 (Laser Diode)"] PD["监测光电二极管 (Monitor Photodiode)"] end Lens["聚焦透镜"] Target["扬声器目标 (覆逆反射贴纸)"] LD -->|"出射相干光"| Lens Lens --> Target Target -.->|"反射光回腔 (多普勒/相位调制)"| Lens Lens -.->|"自混合干涉反馈"| LD LD -->|"腔内光强波动"| PD ``` - **驱动参数**:60 Hz 正弦波,幅值仅 300 mV 峰峰值(Peak-to-Peak)。 - **光学布局**:激光二极管 + 准直/聚焦透镜 + 扬声器表面的逆反射贴纸。 - **系统灵敏度**:在人耳完全听不见任何声响的微弱驱动下,仍能清晰检出运动。 --- ### [10:28](https://www.youtube.com/watch?v=MUdro-6u2Zg&t=628s) 自混合干涉原理与亚微米位移计算 这种现象的物理机制在于光波的相干性与干涉。激光二极管发射出高相干性光束,照射到远端物体并反射回来,其中一部分反射光依然保持原有的相干性并重新注入激光腔内。此时,远端物体相对于发射光波波峰波谷的空间位置就变得极为关键:如果物体恰好位于波峰处,反射光回腔后与腔内光场发生建设性干涉(相长干涉),封装后部的监测光电二极管接收到的光信号增强;若物体向前或向后移动半个波长($\lambda/2$),反射光则在波谷处反相叠加,引发相消干涉(破坏性干涉),光敏二极管探测到的光功率便显著下降。 每当目标物体移动半个波长,监测光电二极管就会经历一次完整的明暗光强周期。Ben Krasnow 强调,这实质上就是一个不需要任何额外外置光学元件的干涉仪:“这基本上就是一个干涉仪,它完全没有额外的元件构建,基本上是二极管本身在为我们完成混频,这就是为什么它被称为自混合干涉仪(Self-mixing interferometer)。” 示波器上所见的每一个干涉峰值,都对应着目标移动了半个波长的位移量。已知该激光管发射的红光波长约为 650 nm,每产生一个完整的干涉条纹,即代表扬声器移动了大约半个波长(约 325 nm)。如果在一个单向冲程内数出约 10 个峰值,即可直接计算出扬声器在该驱动幅值下的机械位移行程为数微米量级(约 6.5 $\mu$m 左右)。为了验证这一论断,改变驱动幅值进行测试: - 将驱动电压下调,示波器上的黄色驱动波形变矮,转向点之间的干涉峰数量立刻减少至仅约 4 个; - 重新将驱动电压增加到 500 mV 峰峰值,随后一路增加到 800 mV 峰峰值,峰值瞬间变得极其密集,清晰印证了更大的驱动幅度对应更长的运动距离。 --- ### [13:13](https://www.youtube.com/watch?v=MUdro-6u2Zg&t=793s) 波形形态对机械振铃的揭示与运动方向判别 接下来改用非对称的斜坡波(Ramp / 三角波)进行驱动,揭示了扬声器的机械动态细节。当波形的对称度偏离 50% 时,扬声器在较陡的一侧必须以更快的速度运动以走完相同的距离,因此示波器上对应区域的干涉波形明显变得更为密集,而平缓侧的波形则更为稀疏。当把对称性调到极其陡峭时,系统发生了戏剧性的变化:由于电压跳变极快,扬声器本身就像被敲击的铃铛一样开始自激振铃(Ringing)。 这种剧烈的机械晃动直接在干涉图样上暴露无遗:即使在驱动电气信号尚未完全体现出振铃之前,自混合干涉仪就已经高灵敏度地捕捉到了膜片的微小颤动。当切换回规则的正弦波并改变频率时可以发现,只要驱动幅值不变,上下转向点之间包含的干涉峰绝对数量是恒定不变的,频率升高只会让干涉峰在时间轴上被挤压得更紧密,因此干涉信号本身的波形幅度并不能反映振幅大小,干涉峰的计数值才是衡量位移的核心。 示波器上还展现出另一个反常特征:干涉峰本身的几何形态并不是对称的正弦波,而是呈现某种锯齿状。当扬声器向着激光二极管运动与背离激光二极管运动时,干涉波形的斜率和朝向完全不同。Ben Krasnow 指出,这绝非偶发噪声或瑕疵,而是背后复杂的激光腔内非线性动力学所导致的物理现象,它让系统仅凭单路波形就能直接解调出物体的运动方向。关于深层物理机理解释,他提到文献中有详尽论述:“物理原理对我来说有点太深奥了,我会在简介里附上涵盖这一切的论文链接。” - **非对称锯齿波形**:通过干涉波形上升沿与下降沿的不对称倾斜方向,可直接判定物体是在靠近还是远离激光器。 - **环境与器件敏感度**:该系统极其灵敏,激光二极管的工作驱动电流、工作温度、被测振动频率范围均会显著影响信号质量。 - **免光电二极管方案的尝试**:部分学术文献指出,强反射光直接调制了激光二极管的阈值与腔内阻抗,理论上直接极精细地监测输入激光管的驱动电流变化就能省去光电管。Ben Krasnow 坦言自己亲自尝试过直接采激光管电流,但并未取得太好效果,在学术界这通常需要增益极高的专用跨阻放大器才能实现。 --- ### [17:05](https://www.youtube.com/watch?v=MUdro-6u2Zg&t=1025s) 方波激发的机械声学振铃与激光测速拓展 当改用陡峭的方波(Square wave)驱动扬声器时,原本安静的实验台终于传出了人耳可闻的“咔嗒”声。Ben Krasnow 俯身靠近扬声器以便麦克风收音,并解释道,人耳听到的其实并不是电信号跳变本身,而是边缘瞬间施加的高压阶跃猛烈冲击扬声器膜片所激发的机械自由振铃。示波器上的干涉信号清晰显示出膜片在受到方波跳变冲击后,持续剧烈衰减振荡了很长一段时间,直到振荡几乎快要平息时,下一个电压跳变沿又再次袭来。而一旦将波形切换为边沿平缓的信号,振铃完全消失,声音也随即隐没。 Ben Krasnow 提醒道,由于单个干涉峰仅代表 650 nm 级别的空间尺度,在当前这种用鳄鱼夹随意夹持激光二极管的简陋实验台上,实验室周围轻微的空气流动和温漂就足以导致系统产生 650 nm 的基线晃动。 最后,该系统不仅能测量扬声器这类往复微振动,还能用于恒定线速度的测量。在拓展装置中,一台直流电机的输出轴上缠绕了微棱镜型逆反射胶带,激光束以切线角度掠射在电机轴表面。随着电机旋转,反射贴纸以恒定线速度向着激光管靠近(或在反转时远离),从而产生恒定频率的自混合多普勒干涉信号。通过可调电源微调电机转速,示波器上的波形变得极其稠密而杂乱,因为轴边缘的高线速度产生的高频信号远超此前振动幅度仅 6 微米、频率 60 Hz 的扬声器。为了从这种高速杂乱信号中准确提取转速与线速度,后续将借助示波器的快速傅里叶变换(FFT)功能在频域展开分析。 ### [19:19](https://www.youtube.com/watch?v=MUdro-6u2Zg&t=1159s) 频域分析与激光多普勒测速原理 示波器切换到了快速傅里叶变换(FFT)频谱模式,用来观察自混合干涉信号中能量最集中的频率点。由于返回的光信号幅度极大,波形在最开始出现了明显的削顶失真(clipping),主讲人 Ben Krasnow 调低了信号增益,使频谱轮廓清晰显现。频谱图在高频段存在一定的滚降,这主要是由于所使用的放大器带宽限制以及背景噪声引起的,屏幕上零星的小噪声尖峰并非实验主体。当他将作为旋转反射体的小马达完全移出激光光束路径时,频谱上原本极其醒目的主能量峰瞬间消失得无影无踪,证明该尖峰直接来源于马达轴的运动。 重新将马达推入光路后,Ben 开始通过调节供电电压来改变马达转速,以此验证该频率峰与马达轴运动速率之间的直接对应关系。随着驱动电压从初始值慢慢下调,频谱上的峰值敏捷地向低频方向滑动;在降至约 10 kHz 处时,主波形在时域上也已经能够肉眼辨识出周期。当供电电压进一步压低至 500 mV 时,马达转速极低,但时域上依然能捕捉到底层原始正弦波形与微弱的低频峰。紧接着他反向调高电压,驱动电压拉升至 3.5 V 时,频谱尖峰一路飙升到 100 kHz 附近;即便信号幅度由于放大器滚降而有所下降,尖峰形态依然极其锐利。一旦将马达挪开,尖峰立即抹去,重新置入又瞬间重现。Ben Krasnow 对这套系统的多功能性给出了极高的评价,断言道:“you can aim this at anything that's moving and not only determine its vibration to within 600 nanometer accuracy you can also determine its speed very easily just by looking at the spectrum of a signal coming back there”。 - 供电电压从 3.5 V(对应约 100 kHz 频峰)连续下调至 500 mV,频峰平滑向低频端推移。 - 信号衰减滚降主要归咎于放大电路带宽限制与整体噪声,但不影响在频域中直接提取出转速多普勒频移。 --- ### [21:33](https://www.youtube.com/watch?v=MUdro-6u2Zg&t=1293s) 调频连续波(FMCW)测距物理原理 展示完测振与测速之后,Ben 提出了一个更具野心的问题:能否使用完全相同的自混合干涉系统来测量绝对距离?从表面上看,干涉测量依赖于光程相对变动所引发的相位交替,如果目标物体完全静止,探测器就无法获得任何周期性变化的电信号,似乎绝对无法完成静态测距。然而,半导体激光管具备一个鲜为人知的特性:注入电流的细微变动会直接牵引其内部谐振腔的折射率与载流子浓度,进而使出射光的波长(颜色)发生极轻微的红移或蓝移。 基于这一物理特性,可以通过注入斜坡电流(ramp current)对激光波长实施线性调制。假定激光器在某一时刻发射了一颗“红波长光子”,该光子在自由空间飞向远方目标并反射折返;当这颗光子经历往返飞行时间返回激光管腔内时,激光器当前的注入电流已经随着斜坡信号攀升到了新的台阶,此时管内受激辐射的频率已经发生了改变。由于两者的光学频率不再完全一致,返回的“旧频率光子”便会与腔内当前生成的“新频率光子”在内部发生拍频干涉。光子在外腔飞行的距离越远、耗时越长,返回时激光器当前频率相较于发射时的频率漂移(频移量)就越大,所诱发的干涉条纹数量也就越多。Ben 形象地解释道:“the longer it's spent outside the laser diode if our ramp keeps changing the color of the light varies slightly that means we'll have a bigger shift and so when all this shapes out if we give the laser diode a constant current ramp the further away objects are the more shifted they will be and we'll get more interferometric signal”。 ```mermaid flowchart LR accTitle: FMCW Self-Mixing Principle accDescr: Diagram showing current modulation producing frequency shifts that beat against delayed reflections for range measurement. subgraph TX["发射调制"] A["线性斜坡电流调制"] --> B["激光器出射波长发生动态漂移"] end subgraph Path["外部传输空间"] B -->|"外腔飞行延时 (时间取决于目标距离)"| C["静态反射目标"] C -->|"携带初始发射波长的反射光"| D["折返进入激光腔"] end subgraph Beat["激光腔内部"] D --> E["时变新光场与滞后旧光场"] E --> F["混频产生台阶状拍频干涉条纹"] end ``` --- ### [23:25](https://www.youtube.com/watch?v=MUdro-6u2Zg&t=1405s) 测距硬件搭建与阶梯状干涉波形实测 为了在工作台上实测这套调频测距方案,Ben 搭建了一个精密耦合的驱动系统。信号发生器的第 2 通道输出一个 520 Hz、幅度为 30 mV 的微小正弦波信号,通过一颗电容交流耦合(AC-coupling)注入到激光二极管回路中。直流偏置电流则依然由精密的源表(SMU, Source Measurement Unit)提供,源表在维持恒定输出时,由于外部叠加的交变调制,其电流读数呈现出同频正弦波动。在光路方面,Ben 在实验台上放置了一张带有微棱镜逆反射片(retro-reflective sticker)的卡片作为远端目标,并准备了一块同样贴有反射片的可滑动实心积木,通过将积木在光路中推入推出,实现约 2 厘米的静态目标距离切换。 示波器屏幕上呈现出两组关键信号: 1. 青色(turquoise)波形:代表信号发生器注入的 520 Hz 调制电流,光电管端感应到的波动约为 ±5 mV。 2. 粉色(pink)波形:来自激光管自带的背光监测光电二极管(monitor photodiode)。由于注入电流被正弦调制,激光器输出光功率本身会随之变亮和变暗,因此粉色波形整体也是一条 520 Hz 的大正弦曲线。 最关键的细节隐藏在粉色正弦曲线的上升与下降沿上——原本平滑的斜坡上叠加了一串非常规则的锯齿状“台阶”(stair-steps)。这些细小的台阶正是波长漂移与飞行延时引发的自混合拍频干涉条纹。一旦关闭信号发生器的调制输入,这些阶梯状纹路瞬间消失,只留下桌面微弱震颤带来的随机毛刺。重新开启调制后,在远端目标距离下,每个半周期的斜坡上清晰可见约 4 个完整的阶梯干涉波形。 --- ### [26:18](https://www.youtube.com/watch?v=MUdro-6u2Zg&t=1578s) 测距距离切换实验与工程局限性总结 为了直观证明干涉阶梯数与绝对距离的严格比例关系,Ben 将贴有反射贴纸的积木滑入光束路径中,使测量目标的物理距离缩短到了大约原来的一半。示波器波形随之发生了极其戏剧性的改变:在保持完全相同的调制压摆率(slew rate)与电流调制幅度下,原本每个斜坡上呈现出的 4 个阶梯干涉脉冲,立即减少到了仅仅 1 个阶梯。因为光程折返时间减半,光子返回腔体时激光器的瞬时频移量减半,诱发的拍频周期数也按比例相应骤降。这一对比决定性地证明了仅凭激光管本身的波长调制就能提取出空间绝对距离信息。 然而,Ben 随后演示了这套自混合干涉测距在工程落地中的巨大挑战。当系统处于工作状态时,他仅用手指在实验桌面上轻轻敲击,由敲击引发的微米级桌面机械振动在监测二极管上激发出暴烈大幅度的干涉波动,轻而易举地彻底淹没了敏感而微弱的单阶梯测距信号。Ben 直言不讳地指出:“the technique requires a fair bit of signal massaging and sort of compensation to be useful which is why typically this is not used in fact in industry very much”。尽管工程实现需要极其复杂的校准与补偿算法,这依然是一种叹为观止的底层物理技巧——无需任何昂贵复杂的外置分束镜、参考臂或外置探测透镜,仅仅凭借一颗市售的普通半导体激光管,就能同时完成亚微米级微振动监测、旋转/移动测速以及静态绝对测距。 - 目标距离减半时,半周期内的拍频条纹数从 4 个阶梯精准递减为 1 个阶梯。 - 测距算法对环境微振动极度敏感,桌面的轻微敲击声即可使弱小拍频信号过载失真,需要大量后期数字信号处理与补偿才能稳定使用。 ## Notable quotes > [10:28](https://www.youtube.com/watch?v=MUdro-6u2Zg&t=628s) 这基本上就是一个干涉仪,它完全没有额外的元件构建,基本上是二极管本身在为我们完成混频,这就是为什么它被称为自混合干涉仪(Self-mixing interferometer)。 — Ben Krasnow ## Mentioned Ben Krasnow, Applied Science, Jeri Ellsworth, Dean Segovis, Becky Stern, John Schuch, Darren Landrum, Joe Grand, Mark VandeWettering, Alan Wolke, Nerd Thunder, Jameco, Dremel ## Video description A plain laser diode can easily measure sub-micron vibrations from centimeters away by self-mixing interferometry! I also show how this technique can be used for range-finding. http://sci-hub.tw/http://iopscience.iop.org/article/10.1088/1464-4258/4/6/371/pdf https://www.jameco.com/Jameco/Products/ProdDS/2120428.pdf https://www.spiedigitallibrary.org/journals/optical-engineering/volume-57/issue-05/051506/Overview-of-self-mixing-interferometer-applications-to-mechanical-engineering/10.1117/1.OE.57.5.051506.full?SSO=1 Nerd Thunder! Check them out! Dean Segovis: https://www.youtube.com/user/HackaweekTV Jeri Ellsworth: https://www.youtube.com/user/jeriellsworth Becky Stern: https://www.youtube.com/user/bekathwia Ben Krasnow: https://www.youtube.com/user/bkraz333 John Schuch: https://www.youtube.com/user/HackersBenchTV Darren Landrum: https://www.youtube.com/user/dmlandrum Joe Grand: https://www.youtube.com/user/kingpinempire Mark VandeWettering: https://www.youtube.com/user/brainwagon Alan Wolke: https://www.youtube.com/user/w2aew/ https://www.patreon.com/AppliedScience [Source](https://www.youtube.com/watch?v=MUdro-6u2Zg)

Source quotes

[10:28] Ben Krasnow: 这基本上就是一个干涉仪,它完全没有额外的元件构建,基本上是二极管本身在为我们完成混频,这就是为什么它被称为自混合干涉仪(Self-mixing interferometer)。

Source quotes

[1:24] Ben Krasnow: if you want to really carefully control how much light is coming out of the laser junction due to things like manufacturing tolerances and temperature changes, you really want to know how much light it's emitting not just how much current it's consuming.

Original transcript

[0:00] today on Applied Science I'm going to [0:02] show you how to take a laser diode and [0:04] without any other op tool components [0:06] make submicron measurements from a few [0:08] centimeters away but first nerd thunder [0:17] is a collection of youtubers that are [0:19] doing a little cross promotion in [0:20] December including Jerry Ellsworth who [0:22] actually inspired me to start making [0:24] youtube videos in 2011 so be sure and go [0:27] check out those channels in the [0:28] description okay we're gonna start out [0:31] with a simple setup we've got a laser [0:33] diode here emitting light this is the [0:36] pattern here without a lens on it and [0:38] we're drawing about close to 24 [0:40] milliamps and I'm measuring the current [0:42] out of the monitor photo diode here [0:44] which we'll talk about a minute and so [0:46] if I just take a white card and pass it [0:49] under the laser beam check out the graph [0:51] here showing the current history over [0:53] time did you expect that that's actually [0:56] kind of a surprise right I mean what's [0:59] going on here there's no sensor other [1:00] than the laser diode itself and if we [1:03] add a lens here the effect works a [1:08] longer range even because the lens is [1:11] collecting more light coming back from [1:13] this spot and if I use a card with a [1:15] retro reflector on it now the signal is [1:17] pretty massive it's about 10x bigger [1:19] because the retroreflector is sending [1:21] all that light back in so what's going [1:24] on here I mentioned that the laser diode [1:26] has a monitor photo diode in it so let's [1:29] cut one of these laser diode packages [1:31] open and you can see what I'm talking [1:32] about these laser diode packages are [1:36] typically three lead devices and so if [1:38] you're thinking there's something more [1:40] going on than just a light emitter you'd [1:42] be right so I cut some of these open by [1:44] mounting them in a lathe in a collet and [1:46] then using a dremel to very carefully [1:48] grind away the outer shell until it fell [1:50] off and here you can see a whole bunch [1:52] of diodes that I've cut up from [1:54] different sources now you'll notice that [1:56] in some of these cases there's actually [1:59] two separate components within the [2:01] package there's actually the laser diode [2:02] itself and then there's also a monitor [2:05] photo diode sort of on the backs top of [2:08] the package and what happens here is [2:10] when the laser diode is on light is [2:12] emitted forwards and back [2:13] words from the laser diode junction and [2:15] the backwards emitted light hits this [2:17] monitor photo diode that's inside the [2:20] package and so the point of this is that [2:22] if you want to really carefully control [2:25] how much light is coming out of the [2:26] laser junction due to things like [2:28] manufacturing tolerances and temperature [2:30] changes you really want to know how much [2:32] light it's emitting not just how much [2:34] current it's consuming so the [2:36] manufacturers put these monitor photo [2:38] diodes in so that your circuit can [2:40] actually do closed loop control of how [2:41] much light is really coming out for a [2:46] better or worse modern photo diodes [2:47] typically don't have this monitor photo [2:49] diode in there any longer if you buy [2:51] like these cheap laser pointers off of [2:54] ebay which are actually a really great [2:55] deal for like 12 bucks you can get all [2:57] three of these if you cut open the laser [3:00] packages from inside these laser pens [3:02] typically the photodiode is not there [3:04] even though the packages still have [3:07] three leads probably because they're [3:08] using the old tooling it's just that [3:10] they they either ignore the third lead [3:12] or it's just connected together with the [3:14] other one in these cases the laser diode [3:18] can handle pretty high currents and so [3:20] as long as you drive it in a constant [3:21] current configuration and you aren't too [3:23] concerned with the exact amount of light [3:25] output you can ignore the manufacturing [3:27] tolerances and the temperature [3:28] variations in at least one case I also [3:32] found instead of a monitor photo diode [3:34] actually an entire integrated circuit [3:36] with photodiode in the back of the [3:39] package and so this one is actually [3:40] doing the light regulating inside the [3:42] package which is not going to work for [3:44] this experiment that I'm going to show [3:45] you today and here's a really grody one [3:48] this one is totally cost optimized [3:50] they've gotten rid of the metal package [3:52] altogether and just have the laser die [3:54] like right on a piece of PCB material so [3:58] in the old days like the 1990s when [4:00] these laser diodes were new it was [4:02] common to have a setup like this so this [4:04] is how the three leads are wired up and [4:06] in fact I found this batch of old laser [4:09] diodes at Jame Co that were on closeout [4:11] and actually bought the last of them [4:12] it's actually very difficult to find [4:14] laser diodes that have a monitor photo [4:17] diode and are cheap you know kind of [4:18] like they were in the old days like this [4:20] so anyway so in this first setup this is [4:22] how we have it configured so 24 million [4:24] amps coming in this is the emitter side [4:27] of it and this [4:27] the photodiodes side of it and the photo [4:29] diode is reverse-biased and so there's [4:31] about two volts at the at the third lead [4:35] of the package and then we're going to [4:37] put our current meter here so that the [4:39] reverse leakage current through this [4:41] photodiode is what we're measuring and [4:42] it's about 50 micro amps or 60 micro [4:45] amps when the thing is running so this [4:47] is already pretty neat I mean we've got [4:49] basically a on-off sensor but it also [4:52] functions as a distance sensor and so if [4:54] I slowly move the card in and out like [4:56] this we're actually getting an analog [4:58] interpretation of how far away the card [5:00] is and with a little bit of tweaking you [5:04] could actually make this into quite a [5:05] useable circuit so what's happening is [5:07] the light is coming out of the wood [5:09] laser diode reflecting off the card the [5:11] lens is focusing it back into the [5:13] package and we're picking up the signal [5:15] on this monitor photo diode now what's [5:18] cool here is that the laser diode light [5:21] is coherent meaning it's all in one [5:24] phase like one way of coming out of the [5:26] package so when we put a reflector down [5:28] here it's actually coherent light being [5:31] reflected back into the package and we [5:33] have the possibility of getting the [5:35] light to interfere with itself so in the [5:37] next setup I'm going to show you how to [5:39] measure this interference pattern which [5:41] will let us measure really small [5:43] movements far away from the laser diode [5:46] in this setup we're going to use the [5:49] oscilloscope to look at that micro amp [5:51] current signal coming from the monitor [5:53] photo diode so here you can see the [5:55] power supply that we're using for the [5:57] laser diode and this is about the 24 [5:59] milliamps going in I'm actually using [6:00] this in constant voltage mode because I [6:02] very carefully characterized this [6:04] specific diode and I have a current [6:06] limit that currently it is in current [6:08] for a constant voltage mode we're not [6:11] using the multimeter anymore I actually [6:13] have a circuit over there that's [6:14] converting that micro amp current signal [6:16] into a voltage which we're displaying on [6:18] the oscilloscope so let me show you what [6:20] that circuit is okay here's the circuit [6:24] pretty basic this is known as a trans [6:26] impedance amplifier because it's going [6:28] to convert the current signal from the [6:30] photodiode into a voltage signal that we [6:32] can look at on the oscilloscope and so [6:34] the way this works is if there's current [6:36] flowing in or out of the op-amp leg here [6:39] the op-amp will servo the output [6:41] to try to balance this out since we have [6:43] the positive or the non-inverting input [6:45] grounded so if there's current flowing [6:47] out then the op-amp will servo current [6:50] in to keep this node at the same zero [6:52] voltage right and the feedback resistor [6:54] is a hundred K so this means that if we [6:57] have one micro amp flowing in or out [6:59] here there should be a hundred [7:01] millivolts here going through this [7:02] resistor to compensate for that and the [7:05] bandwidth here is going to be a few [7:08] hundred K maybe even a couple of [7:09] megahertz but it's not super critical [7:12] and there's a little feedback [7:13] capacitance here to clean the signal up [7:15] ideally we want to reduce capacitance in [7:18] these cases because we want high [7:19] bandwidth but for what we're doing today [7:21] just to make it clearer to see on the [7:23] oscilloscope I threw in a little [7:24] capacitance there and when doing [7:28] circuits like this it's very convenient [7:29] to use two 9-volt batteries like this [7:31] back-to-back so that we get a very clean [7:34] voltage that's also floating relative to [7:36] everything else and I've built it up on [7:38] this board here with a couple of sockets [7:40] for the resistor and capacitor so that I [7:42] can quickly swap in and out values this [7:46] whole thing is DC coupled but then I [7:47] have the scope set to AC coupling so [7:50] that when we look at the signal we're [7:51] really looking at only the AC component [7:53] of current coming out of here and the [7:55] plus nine volts gives us a lot of [7:57] Headroom so that 50 or 60 micro amp of [7:59] DC that we don't really care about it's [8:01] going to be ignored and then if there's [8:03] a little bit of ripple current on here [8:05] which is the signal we're interested in [8:06] that will end up making its way all the [8:08] way through to the oscilloscope here's [8:11] the signal on the oscilloscope and the [8:13] full scale from top to bottom here is [8:15] about 200 millivolts so it's kind of [8:16] like plus/minus 1 micro amp of current [8:19] and the drive current for the laser [8:22] diode is holding steady at about 23 and [8:24] a half millions it's warmed up and [8:26] pretty stable and then here we've got [8:28] the card with the retroreflector tag on [8:30] it [8:30] and if I move this around a little bit [8:32] you can see the signal kind of goes nuts [8:34] and it's still moving when I'm not [8:36] touching the card however as you can [8:38] imagine this is pretty sensitive if I [8:40] basically just tap the card a little bit [8:42] we can see there's a ton of signal in [8:44] there but it's a little bit hard to pick [8:45] out exactly what's going on so to make [8:48] this easier to see what I'm going to do [8:50] is put a tiny little speaker into the [8:54] path and the speaker has a [8:57] retro-reflective sticker on it zoom in [8:59] so you can see this easier in a second [9:01] and then we're gonna drive the speaker [9:03] with this function generator here so [9:05] currently we've got 60 Hertz at 300 [9:07] millivolts peak peak so I'll turn the [9:09] speaker on and the yellow trace on the [9:12] oscilloscope is going to show us the [9:14] drive signal going into the speaker and [9:16] then the current signal from the monitor [9:18] photodiodes being displayed up here [9:20] let's zoom in on the signal a little bit [9:23] you can see there's something [9:24] interesting happening here if the [9:27] speaker is responding perfectly to the [9:29] sine wave which I think it is at 60 [9:31] Hertz this is why we're going very slow [9:33] you can see that when the speaker is in [9:35] motion we're getting a signal from the [9:38] monitor photo diode and then when the [9:40] speaker comes to a stop because it's [9:42] gotten all the way to the top or the [9:44] bottom the signal changes and then it's [9:47] back to high speed when it's moving [9:48] again so let's zoom in on the speaker so [9:51] you can see a closer look at it and try [9:52] to figure out what's going on here [9:54] here's the setup [9:55] and we've got the same laser diode with [9:57] the lens below it and the lens is [9:59] focusing the spot on to that retro [10:01] reflective sticker that's on the speaker [10:03] and this speaker you can't hear anything [10:05] because it's only 60 Hertz and the [10:07] frequency response of this speaker at 60 [10:09] Hertz is not very high and also it's [10:11] we're just driving it at very low [10:13] amplitude just 300 millivolts peak peak [10:15] and we saw that that interesting looking [10:17] signal on the oscilloscope indicates [10:19] that the diode is able to detect the [10:22] frequency of the speaker moving even [10:24] from this far away and we can't hear [10:25] anything so it's a very sensitive [10:27] detector so here's what's going on here [10:29] the laser is emitting coherent light [10:33] right and it comes out of the laser and [10:35] strikes something and comes back [10:37] maintaining some amount of that [10:39] coherence so that if we have a distant [10:43] object the exact position of that object [10:46] relative to the waves of light coming [10:48] out is important if it happens to be [10:50] that the object crosses the laser beam [10:53] at a high point in the waveform then the [10:56] wave comes back and has constructive [10:57] interference here and we end up with a [10:59] can extra light signal hitting that [11:01] monitor photo diode in the back of the [11:03] package but if we move the object [11:06] one-half wave one [11:08] toward or away from us now the thing is [11:10] impacting at a lower part of the wave [11:13] form and when it reflects back we get [11:15] destructive interference back here and [11:17] the light experienced by that monitor [11:20] photo diode will be less so that if we [11:23] have a thing moving back and forth here [11:25] it's constantly crossing the waves of [11:27] light and every time it moves a half [11:29] wavelength we get a half cycle of output [11:32] on that monitor photo diode this is [11:34] basically an interferometer it's just [11:36] built with no extra components basically [11:38] the diode is doing the mixing for us [11:41] which is why it's called a self mixing [11:42] interferometer so if we look at the [11:47] waveform on the oscilloscope we can [11:49] actually say quite a lot about what the [11:50] speaker is doing I'll stop this just so [11:52] we can get a close look at it as the [11:55] speaker moves up and down in this [11:56] sinusoidal fashion we can actually count [11:58] the number of waveforms the number of [12:01] constructive and destructive [12:02] interference events that that photodiode [12:04] is witnessing and since we know the [12:06] wavelength of the laser light is about [12:08] 650 nanometers every time we see one of [12:11] these Peaks that means another [12:12] wavelength has has gone by right so if [12:15] we count this up and let's just say it's [12:17] about 10 then we know that it's 10 times [12:19] 650 nanometers or about six and a half [12:22] microns of movement that the speaker is [12:24] undergoing at this Drive strength so to [12:27] test our assertion let's try changing [12:29] the amplitude of the speaker so I'm [12:32] going to change the amplitude here and [12:34] I'm gonna go down so you can see that [12:37] the yellow trace now has less amplitude [12:40] and sure enough now we're only getting [12:42] about four peaks of constructive and [12:45] destructive interference between these [12:46] spots where it turns around so now I'll [12:49] head back up in amplitude now we're at [12:52] 500 millivolts peak peak and I'll keep [12:54] going now we have a whole ton of them in [12:58] here and so if we stopped and actually [12:59] counted this carefully we could say at [13:01] this drive strength which is 800 [13:03] millivolts peak peak there's way more [13:06] Peaks to count and hence the speaker is [13:08] moving further and that makes sense [13:10] because we're driving it at a higher [13:11] strength let's try a few other things [13:14] I'll go back down in amplitude and now [13:16] I'm going to give it a ramp waveform [13:21] let's take a look at this ramp waveform [13:24] so I've got the symmetry not quite 50 [13:26] percent so it's kind of slower here and [13:28] then faster here so the speaker is gonna [13:30] have to move more quickly here to cover [13:32] that same amount of distance and you can [13:35] see if you squint at it yeah it looks [13:36] like there's sort of less waveform going [13:38] on here and a little bit of a denser [13:40] waveform here let me make the symmetry [13:43] even more lopsided so you can see now [13:47] definitely the wave Peaks are further [13:49] apart in here and they're closer [13:51] together in here but something [13:52] interesting happens if we keep going so [13:55] if I make this waveform really lopsided [13:57] it actually starts oscillating if the [14:00] speaker itself is now being rung like a [14:03] bell right so this this slope here is [14:05] sharp enough where it causes the speaker [14:07] to start wiggling on its own accord and [14:09] we're actually seeing that in the [14:12] interferogram here of whatever the [14:14] information from this interferometer we [14:16] can even see it in here too right [14:18] so as the thing is ringing we can [14:19] actually read that ringing signal with [14:22] this laser interferer interferometer if [14:26] I bring the signal back down closer to [14:28] symmetry we can see even before there's [14:30] ringing in the electrical signal we can [14:32] actually detect it with the [14:33] interferometer back to the sine wave [14:38] everything is nice and controlled and if [14:40] I change the frequency here the distance [14:44] that it covers so the number of Peaks [14:47] that we'll get is actually the same [14:48] because the amplitude is the same it's [14:50] just they get further apart right so the [14:52] actual number of interference peaks [14:55] between the top and bottom of the drive [14:57] signal should be the same they'll just [14:58] be spread out more in time so if we go [15:01] higher and higher it's still the same [15:02] Peaks now that they're getting [15:03] compressed together so the amplitude of [15:06] this signal actually doesn't tell us [15:08] much of anything it's really the number [15:11] of peaks and there's actually something [15:13] else that's interesting here that we can [15:15] check out if I change the speed back [15:17] down again and I'll stop the scope [15:21] notice that the peaks are actually not [15:24] symmetric so when the speaker is moving [15:27] toward the laser diode the shape of this [15:29] waveform is different than when it's [15:31] moving away from the laser diode this is [15:34] not an ax [15:34] and actually there's something very [15:36] interesting going on with the physics [15:37] here that allow us to infer the [15:39] directionality of the movement in [15:41] addition to the the movement itself [15:44] pretty cool I'll link to the paper that [15:46] covers all this because the physics is [15:47] slightly over my head I should point out [15:51] though that this is a very very [15:54] sensitive system so the exact drive [15:56] current going into the diode matters the [15:58] exact temperature matters the the type [16:02] of movements that it can measure are [16:03] also limit it has to be right in the [16:05] frequency band and we are using a [16:07] retroreflector to sort of increase the [16:08] amount of signal going back end [16:10] nonetheless there's quite a lot of cool [16:12] stuff going on also some of you might be [16:17] wondering why the pattern looks all [16:18] stair-steppy like this we'll talk about [16:21] that a little bit later at the end of [16:23] the video but partially it's because the [16:25] laser itself is responding to the [16:27] interferometer so instead of using a [16:30] monitor photo diode I've heard that it's [16:32] possible to actually use the laser diode [16:34] itself as the sensor so if you very very [16:38] carefully monitor the current going into [16:40] the laser diode and you're shooting [16:42] laser light back in there it will [16:44] actually affect the laser diode itself [16:46] so you in fact don't even necessarily [16:48] need the monitor photo diode you can [16:51] actually use the laser diode itself I've [16:53] tried this myself and didn't have a huge [16:55] amount of success with it but in the [16:58] academic literature apparently it is pop [17:00] possible if you have a high enough gain [17:02] amplifier let's look at a couple other [17:06] waveforms quickly with a square wave I [17:08] can actually hear the speaker now so up [17:10] until now all the waveforms that we've [17:12] been looking at to my ears have not been [17:13] audible and I'll lean in so you can [17:15] maybe hear this and the reason that we [17:18] can hear it is because the sharp [17:20] snapping voltage is actually oscillating [17:23] the speaker membrane itself and we can [17:25] actually see that with the trace just [17:27] like we did with the sawtooth waveform [17:29] the reason that it's audible is because [17:31] of this actually this response wiggle [17:33] it's not necessarily the snap itself and [17:35] we can see that it rings for a long time [17:37] and just about here it's finally almost [17:39] done ringing when it gets snapped again [17:42] so I can also switch to this kind of a [17:45] waveform that has a much [17:46] more gentle slope so I can't hear it [17:49] anymore because there's less ringing [17:50] going on and it's pretty much down to [17:53] almost no movement remember that one [17:57] interference peak is 650 nanometers so [18:00] the chance that this set up I've got [18:02] with the alligator clip holding a laser [18:04] diode and everything I it's reasonable [18:06] to assume that just air currents are [18:08] causing it to shift by 650 nano meter [18:12] this setup can also measure constant [18:15] velocity not just oscillating things [18:17] like speaker cones and so in this setup [18:19] I've got a motor here with the shaft [18:21] wrapped in retro reflective tape and [18:23] what I'm gonna do is use the laser beam [18:25] to just gray as the side of the motor [18:27] shaft so that as it's spinning that [18:29] piece of retro reflective tape will sort [18:31] of constantly be moving toward the laser [18:33] diode or away from it when we switch [18:35] directions and this should give us a [18:38] constant signal so let's check the [18:39] oscilloscope again and I'm going to use [18:42] a variable power supply so that I can [18:45] change the speed of the motor very [18:46] finely so let's check out the scope [18:48] again okay so now the signal looks [18:52] pretty hectic because the speed is [18:53] relatively high before we had that [18:56] speaker cone that was moving just you [18:58] know six microns in the span at sixty [19:01] Hertz or something which is a pretty low [19:03] linear velocity but now at the edge of [19:05] that motor shaft things are much faster [19:07] so the frequency that we would expect to [19:09] see here is much higher so we could zoom [19:11] in and look at this kind of wave by a [19:13] wave but there's an easier way to do it [19:15] we'll use an FFT on the scope to take a [19:19] look at where the where the most energy [19:21] is for this signal and it's clipping [19:24] here because we've got so much signal we [19:25] actually have to turn things down so I [19:27] will turn this down a little bit okay [19:31] a little bit more okay so now the FFT is [19:39] showing us where there's the most [19:40] frequency and don't worry about the [19:42] roll-off this is actually mostly due to [19:44] the amplifier that I'm using and just [19:46] noise in general so if I move this the [19:50] motor out of the path of the laser beam [19:53] we saw that peak just went away in here [19:55] and try to ignore all these little other [19:57] noise Peaks they aren't part of the [19:58] experiment [20:00] so if I put the motor back into place we [20:03] can see that this peak here corresponds [20:06] to the speed of the motor shaft and I'll [20:08] prove it to you by changing the speed of [20:09] the motor you can actually read off the [20:11] voltage here that we're feeding the [20:13] motor and so if I slowly turn this down [20:19] we can see that the peak here starts [20:21] sliding down the spectrum 10 kilohertz [20:24] now and we can almost actually see the [20:26] 10 kilohertz here let's see if I can go [20:28] any slower so we're down to 500 [20:32] millivolts at the motor and there is [20:33] kind of a peak here and you can actually [20:35] see the signal the raw signal waves here [20:38] let's speed up again you can see the [20:41] voltage is coming up the peak is here [20:44] I'm gonna keep going up in voltage three [20:48] and a half volts now the peak is up here [20:50] 100 kilohertz if we keep going you can [20:56] still see it even though we're falling [20:57] off into here you can see death [20:59] definitely still there so now I'm going [21:01] to move the motor out of the way and you [21:04] can see that the peak is gone and if we [21:06] put it back in here there it is again [21:09] so it's actually a very effective [21:12] tackler you can aim this at anything [21:14] that's moving and not only determine its [21:17] vibration to within 600 nanometer [21:20] accuracy you can also determine its [21:22] speed very easily just by looking at the [21:24] spectrum of a signal coming back there [21:28] pretty cool ok so I think this is pretty [21:33] cool but there's actually another trick [21:35] that we can play wouldn't it be nice if [21:37] we could use this system to measure the [21:39] distance from here to here seems almost [21:41] impossible because this interferometry [21:43] approach requires some sort of movement [21:45] to actually get a signal right like no [21:47] matter where you are in the waveform if [21:49] this thing isn't moving there's no [21:51] signal we get so there's no way you can [21:53] measure an absolute distance with it but [21:55] there is a way can you think of it what [21:58] if I told you that changing the current [22:00] into the photodiode actually shifts the [22:03] color of the light very slightly it's [22:05] true and if we modulate the current [22:08] going into the photodiode it will [22:10] actually produce light that is very [22:12] slightly red or very [22:13] lightly blue depending if we're [22:15] injecting more or less current so what [22:19] we can do is feed the laser diode a [22:21] ramped current waveform so we're [22:23] constantly increasing the current for a [22:25] period of time and then resetting and [22:27] changing the current again and what will [22:29] happen is if we emit let's say a red [22:32] photon and it comes out here and bounces [22:34] off the object by the time the photon is [22:37] reflected and comes back in we're now [22:39] feeding the laser diode a different [22:41] current and hence it's operating at a [22:42] different frequency so when the photon [22:46] of a different color comes in it will [22:48] interfere with the laser diode which is [22:50] now operating at a different frequency [22:51] and we'll get a signal out of that right [22:54] because the whole reason that this [22:55] interferometry works is because the [22:57] wavelengths aren't lined up so if the [22:59] photon is old basically it went out and [23:02] came back the longer it's spent outside [23:05] the laser diode if our ramp keeps [23:07] changing the color of the light varies [23:09] slightly that means we'll have a bigger [23:11] shift and so when all this shapes out if [23:14] we give the laser diode a constant [23:16] current ramp the further away objects [23:18] are the more shifted they will be and [23:20] we'll get more interferometric signal [23:22] pretty cool now this is not an easy [23:25] thing to get going so I'm going to set [23:26] up the test setup here we're gonna use [23:29] the we're gonna use channel 2 on the [23:31] function generator to send a 520 Hertz [23:34] sine wave into the photodiode and it's [23:37] going to be set up kind of like this so [23:40] we've got most of the current coming [23:43] from the source measurement unit into [23:45] the laser diode and then I've got a [23:47] capacitor here coupling in the function [23:51] generator and it's like a 500 Hertz [23:53] signal at 30 millivolts so this little [23:56] bit of current ripple will go in and [23:57] modulate the laser diode and then we'll [24:00] use the same setup to look at it on the [24:01] scope for the physical setup what I'll [24:05] do is put the card with the retro [24:07] reflector on the table here and we'll [24:09] look at it on the scope and see what [24:11] kind of signal it's producing and then [24:12] to shift into a closer object I'm going [24:15] to slide this block in that also has a [24:17] retro reflective sticker so we can kind [24:19] of slide this in and out to get a [24:21] distance of about you know 2 centimeter [24:23] distance change so we'll see what that [24:25] looks like [24:26] okay this setup is a little bit finicky [24:28] but I think it proves the point shows [24:30] that this is possible the turquoise [24:32] trace shows the current injection from [24:35] the signal and generator so we're [24:36] running at about five hundred and twenty [24:38] Hertz and at the photodiode we're [24:40] getting a plus minus five millivolt bust [24:43] here and since the main amount of power [24:46] is coming from the source measurement [24:48] unit and this is trying to supply a [24:50] constant voltage and this is [24:51] superimposed on top we can actually [24:53] check the the current coming out of the [24:57] measurement unit and see that that's [24:58] actually sinusoidal which makes sense [25:00] because we're altering it here and this [25:03] thing is just trying to supply a [25:05] constant voltage so it notices the [25:06] current keeps changing which is correct [25:08] and then the turk or the pink trace is [25:11] coming from the monitor photo diode and [25:13] it's not surprising that that also has a [25:16] sinusoidal shape right because we're [25:17] making the photodiode [25:18] or making a laser diode brighter and [25:20] dimmer at this rate so you know [25:23] necessarily we're gonna see that change [25:24] but there's actually another signal [25:26] superimposed on top here notice that the [25:29] waveform is nice and jagged like this [25:31] and it's true that the signal is [25:33] sometimes hard to catch it's a little [25:35] bit hard to pick out but you can see [25:37] that it looks stair-steppy so instead of [25:39] being nice and smooth it has this really [25:41] chunky pattern to it and those chunks [25:43] are actually the interference waves that [25:45] I was talking about that only occur on [25:47] the slope so if we turn off the current [25:50] modulation [25:51] although stair-step enus goes away [25:53] there's still a little bit going on here [25:55] from just vibrations in the table but [25:57] when we turn on this additional waveform [26:00] we see this very regular pattern of [26:02] stair-stepping and so what I'll do is [26:04] make a copy of it will count the [26:06] Stairsteps there's about four steps on [26:08] each one of these up-and-down parts of [26:11] the wave and this shows a little bit of [26:15] a cleaner waveform that I captured just [26:16] a minute ago but it's about four [26:18] Stairsteps so we'll get that running and [26:20] now I'm going to slide in a much closer [26:24] pattern so we moved up about half the [26:26] distance toward the photodiode and look [26:29] what happened now there's only one stair [26:31] step between here and here for this [26:34] given slew rate and the way that the [26:37] whole thing is set up and how much the [26:38] frequency changes which is [26:40] depending on current which is a [26:41] characteristic at the laser diode now [26:44] we're only getting one wave of [26:45] interference as opposed to four waves of [26:47] interference for this whole setup so the [26:50] the technique is sound it requires quite [26:53] a bit of calibration and setup to use it [26:55] and the other downside is that if this [26:57] thing is running and I tap on the table [26:59] the table noise I mean just just tapping [27:02] the table like this produces a whole lot [27:04] more signal than this very sensitive [27:06] single stair-step kind of a deal so the [27:10] technique requires a fair bit of signal [27:13] massaging and sort of compensation to be [27:16] useful which is why typically this is [27:17] not used in fact in industry very much [27:19] but it is a pretty cool technique [27:21] nonetheless being able to extract you [27:24] know submicron vibration information [27:26] distance information and speed [27:29] information [27:30] all from one laser diode without really [27:32] any external components pretty cool okay [27:36] well I hope you enjoyed that and I will [27:37] see you next time bye