by John Lauer
A two-channel optical displacement instrument with a current-controlled rear laser diode, two photodiode front ends, and a Raspberry Pi Pico digitizer.
707ea4a
Self-mixing interferometer front end
This board is for a reflective-displacement experiment with a rear-facing laser, its internal monitor photodiode, and an optional external photodiode. Two channels digitize the optical fringes with a socketed Raspberry Pi Pico. The SYNC input aligns samples to a motion-stage trigger.
Electrical characteristics
| Item | Design value |
|---|---|
| Input | 10.8–13.2 V DC, 12 V ±10%, with series reverse protection |
| Linear regulator inputs | The laser input uses four 6.8 Ω power resistors in series. The Pico input uses two 18 Ω resistors in series. Each regulator gets two local 10 µF capacitors. |
| Rail budgets | 5.3 V analog at 35 mA, 4.4 V laser at 160 mA, 5.0 V Pico supply at 100 mA. Pico VSYS is diode-ORed with USB. |
| Laser control | Kelvin-sensed 2 Ω shunt, approximately 2 mV/mA. Rated adjustment is 0–135 mA. The separate cutoff is nominally 144 mA with a 147.2 mA static worst-case upper bound under the stated assumptions. The absolute transient acceptance limit is 150 mA. |
| Monitor TIA | 1 kΩ or 4.7 kΩ transimpedance. Nominal model bandwidth is 4.32 MHz or 1.90 MHz in the isolated 60 pF load cases. |
| External TIA | 47 kΩ or 150 kΩ transimpedance. Nominal model bandwidth is 326 kHz or 142 kHz in the isolated 120 pF load cases. |
| Analog outputs | Offset trims center ADC0 and ADC1 near 1.65 V. Signal remains within the Pico's 0–3.3 V ADC input span. |
| Anti-aliasing | First pole 40.8 kHz and active second-order section 44.4 kHz, Q ≈ 0.98. Ideal attenuation is 0.83 dB at 30.77 kHz and 27.68 dB at 125 kHz. |
| Sampling | ADC0 receives the monitor channel and ADC1 the external channel. At 500 ksps total, interleaved two-channel acquisition gives 250 ksps per channel. |
| SYNC | 3.3 V or 5 V positive logic, common ground. Schmitt input to Pico GPIO15, physical pin 20. |
Bandwidth, loop margins and transient rates above are modeled estimates. The actual detector, its DC photocurrent, connector capacitance, probe loading and trim setting affect usable gain and noise.
Edge connections
| Reference | Signal | Function |
|---|---|---|
| MC1 | VIN | 10.8–13.2 V lab supply |
| MC2 | GND | VIN return and probe tether |
| MC3 | SYNC | Motion-stage logic timing input |
| MC4 | PD_EXT | External detector current input |
| MC5 | GND | External detector return and probe tether |
| MC6 | GND | Second probe return |
| J1.1 | PD_EXT | External photodiode input |
| J1.2 | GND | External photodiode return |
The corner machine pins connect to GND. ADC_VREF is available at TP7 for ripple measurement. The Pico's onboard ADC reference filter stays in circuit.
Probe pads
Probe the 0.5 mm exposed pads from the front of the board. Ground the probe at MC2, MC5 or MC6. Coordinates are the PCB editor's absolute millimetres, with Y increasing toward the bottom of the board view.
| Ref | Printed | Signal | KiCad X, Y (mm) |
|---|---|---|---|
| TP1 | VIN | Input before reverse protection | 83, 99.5 |
| TP2 | 12V | Protected input after reverse protection | 63.5, 78 |
| TP3 | 5V3 | Analog 5.3 V rail | 85, 99.5 |
| TP4 | 4V4 | Laser driver rail | 79, 99.5 |
| TP5 | 5V | Pico regulator output before OR diode | 87, 99.5 |
| TP6 | VSYS | Pico supply after OR diode | 77, 99.5 |
| TP7 | VREF | Pico ADC reference | 89, 99.5 |
| TP8 | SENSE | Laser shunt, approximately 2 mV/mA | 81.5, 55.5 |
| TP9 | MON | Monitor TIA output | 82.5, 68 |
| TP10 | EXT | External TIA output | 105.5, 70 |
| TP11 | ADC0 | Conditioned monitor signal | 99, 90 |
| TP12 | A1 | Conditioned external signal | 103.5, 96 |
| TP13 | SYNC | Protected SYNC at Pico GPIO15 | 75, 99.5 |
Laser jumper matrix
The metal case can be electrically live with either laser polarity. Use an electrically isolated collimator mount when the tube or fixture is grounded. Confirm the pin numbering from the diode manufacturer's bottom view and fit exactly one bridge per laser lead.
| Physical lead | LD anode supply | LD cathode sink | Photodiode sense |
|---|---|---|---|
| 1 | JP13 | JP14 | JP15 |
| 2 | JP16 | JP17 | JP18 |
| 3 | JP19 | JP20 | JP21 |
Select exactly one of JP30 (low reference), JP31 (middle), or JP32 (high). A shared laser anode and photodiode cathode requires a reference below the positive shared node. A shared laser cathode and photodiode anode requires a reference above the shared cathode at the operating current. Check reverse-bias polarity, transimpedance headroom and supply sequencing with the actual diode before qualifying either connection.
Select JP50 for 1 kΩ or JP51 for 4.7 kΩ on the monitor channel. Select JP60 for 47 kΩ or JP61 for 150 kΩ on the external channel. Close one bridge per channel.
Transimpedance simulation
| Channel and gain | Phase margin | Amplifier and feedback output noise, 10 Hz to 100 kHz |
|---|---|---|
| Monitor, 1 kΩ | 72.6° | 86.4 µV RMS |
| Monitor, 4.7 kΩ | 75.1° | 87.4 µV RMS |
| External, 47 kΩ | 81.2° | 222.5 µV RMS |
| External, 150 kΩ | 84.0° | 584.1 µV RMS |
These are isolated TIA simulations using the OPA320 manufacturer model. The values exclude detector shot noise and later ADC stages. The calculation file gives the shot-noise estimate at the design fringe frequency.
Thermal design
At the simultaneous rail-load envelopes for 13.2 V, the two-layer, 1 oz copper layout models 55.6 °C maximum rise in still air. At a 40 °C ambient, the hottest regulator, U2, is estimated at 96.9 °C junction against a 125 °C rating. These are modeled results for an open bench setup with both board faces exposed. Verify the temperatures and laser current on the first assembled unit.
Mechanical and fabrication
The outline is 92 × 84 mm with rounded corners, an 88 × 80 mm corner pin span, and a 1.6 mm, two-layer board. The 5.6 mm TO-56 body is intended to face away from the rear of the PCB. The two Ø2.2 mm collimator bracket holes are on 16 mm centers around the laser axis. Verify polarities, laser flange insulation and lens tube alignment on the actual mount.
Insert the Pico component side up with its USB connector at the socket's pin-1 and pin-40 end, toward the long upper edge in the front board view. The ADC rows and supply pins follow Raspberry Pi's Pico R3 pinout. Pico R3 pinout
Q1 is hand-fitted tab down with its metal flange seated on the plated LD_K drain land. Use an M3 fastener with a retaining washer and keep the tab and hardware isolated from the enclosure and optical mount. Seat the flange before soldering the formed leads. Leave both PCB faces exposed to room air.
The useful optical result depends on choosing a laser specified for single-longitudinal-mode operation. A single transverse mode describes the beam profile. Confirm the longitudinal mode separately with the supplier and set the current limit for that exact diode.
Inspired by Breaking Taps' self-mixing interferometer video. Breaking Taps
# Self-mixing interferometer front end
This board is for a reflective-displacement experiment with a rear-facing laser, its internal monitor photodiode, and an optional external photodiode. Two channels digitize the optical fringes with a socketed Raspberry Pi Pico. The SYNC input aligns samples to a motion-stage trigger.
## Electrical characteristics
| Item | Design value |
|---|---|
| Input | 10.8–13.2 V DC, 12 V ±10%, with series reverse protection |
| Linear regulator inputs | The laser input uses four 6.8 Ω power resistors in series. The Pico input uses two 18 Ω resistors in series. Each regulator gets two local 10 µF capacitors. |
| Rail budgets | 5.3 V analog at 35 mA, 4.4 V laser at 160 mA, 5.0 V Pico supply at 100 mA. Pico VSYS is diode-ORed with USB. |
| Laser control | Kelvin-sensed 2 Ω shunt, approximately 2 mV/mA. Rated adjustment is 0–135 mA. The separate cutoff is nominally 144 mA with a 147.2 mA static worst-case upper bound under the stated assumptions. The absolute transient acceptance limit is 150 mA. |
| Monitor TIA | 1 kΩ or 4.7 kΩ transimpedance. Nominal model bandwidth is 4.32 MHz or 1.90 MHz in the isolated 60 pF load cases. |
| External TIA | 47 kΩ or 150 kΩ transimpedance. Nominal model bandwidth is 326 kHz or 142 kHz in the isolated 120 pF load cases. |
| Analog outputs | Offset trims center ADC0 and ADC1 near 1.65 V. Signal remains within the Pico's 0–3.3 V ADC input span. |
| Anti-aliasing | First pole 40.8 kHz and active second-order section 44.4 kHz, Q ≈ 0.98. Ideal attenuation is 0.83 dB at 30.77 kHz and 27.68 dB at 125 kHz. |
| Sampling | ADC0 receives the monitor channel and ADC1 the external channel. At 500 ksps total, interleaved two-channel acquisition gives 250 ksps per channel. |
| SYNC | 3.3 V or 5 V positive logic, common ground. Schmitt input to Pico GPIO15, physical pin 20. |
Bandwidth, loop margins and transient rates above are modeled estimates. The actual detector, its DC photocurrent, connector capacitance, probe loading and trim setting affect usable gain and noise.
## Edge connections
| Reference | Signal | Function |
|---|---|---|
| MC1 | VIN | 10.8–13.2 V lab supply |
| MC2 | GND | VIN return and probe tether |
| MC3 | SYNC | Motion-stage logic timing input |
| MC4 | PD_EXT | External detector current input |
| MC5 | GND | External detector return and probe tether |
| MC6 | GND | Second probe return |
| J1.1 | PD_EXT | External photodiode input |
| J1.2 | GND | External photodiode return |
The corner machine pins connect to GND. ADC_VREF is available at TP7 for ripple measurement. The Pico's onboard ADC reference filter stays in circuit.
## Probe pads
Probe the 0.5 mm exposed pads from the front of the board. Ground the probe at MC2, MC5 or MC6. Coordinates are the PCB editor's absolute millimetres, with Y increasing toward the bottom of the board view.
| Ref | Printed | Signal | KiCad X, Y (mm) |
|---|---|---|---|
| TP1 | VIN | Input before reverse protection | 83, 99.5 |
| TP2 | 12V | Protected input after reverse protection | 63.5, 78 |
| TP3 | 5V3 | Analog 5.3 V rail | 85, 99.5 |
| TP4 | 4V4 | Laser driver rail | 79, 99.5 |
| TP5 | 5V | Pico regulator output before OR diode | 87, 99.5 |
| TP6 | VSYS | Pico supply after OR diode | 77, 99.5 |
| TP7 | VREF | Pico ADC reference | 89, 99.5 |
| TP8 | SENSE | Laser shunt, approximately 2 mV/mA | 81.5, 55.5 |
| TP9 | MON | Monitor TIA output | 82.5, 68 |
| TP10 | EXT | External TIA output | 105.5, 70 |
| TP11 | ADC0 | Conditioned monitor signal | 99, 90 |
| TP12 | A1 | Conditioned external signal | 103.5, 96 |
| TP13 | SYNC | Protected SYNC at Pico GPIO15 | 75, 99.5 |
## Laser jumper matrix
The metal case can be electrically live with either laser polarity. Use an electrically isolated collimator mount when the tube or fixture is grounded. Confirm the pin numbering from the diode manufacturer's bottom view and fit exactly one bridge per laser lead.
| Physical lead | LD anode supply | LD cathode sink | Photodiode sense |
|---|---|---|---|
| 1 | JP13 | JP14 | JP15 |
| 2 | JP16 | JP17 | JP18 |
| 3 | JP19 | JP20 | JP21 |
Select exactly one of JP30 (low reference), JP31 (middle), or JP32 (high). A shared laser anode and photodiode cathode requires a reference below the positive shared node. A shared laser cathode and photodiode anode requires a reference above the shared cathode at the operating current. Check reverse-bias polarity, transimpedance headroom and supply sequencing with the actual diode before qualifying either connection.
Select JP50 for 1 kΩ or JP51 for 4.7 kΩ on the monitor channel. Select JP60 for 47 kΩ or JP61 for 150 kΩ on the external channel. Close one bridge per channel.
## Transimpedance simulation
| Channel and gain | Phase margin | Amplifier and feedback output noise, 10 Hz to 100 kHz |
|---|---|---|
| Monitor, 1 kΩ | 72.6° | 86.4 µV RMS |
| Monitor, 4.7 kΩ | 75.1° | 87.4 µV RMS |
| External, 47 kΩ | 81.2° | 222.5 µV RMS |
| External, 150 kΩ | 84.0° | 584.1 µV RMS |
These are isolated TIA simulations using the OPA320 manufacturer model. The values exclude detector shot noise and later ADC stages. The calculation file gives the shot-noise estimate at the design fringe frequency.
## Thermal design
At the simultaneous rail-load envelopes for 13.2 V, the two-layer, 1 oz copper layout models **55.6 °C** maximum rise in still air. At a 40 °C ambient, the hottest regulator, U2, is estimated at 96.9 °C junction against a 125 °C rating. These are modeled results for an open bench setup with both board faces exposed. Verify the temperatures and laser current on the first assembled unit.
## Mechanical and fabrication
The outline is 92 × 84 mm with rounded corners, an 88 × 80 mm corner pin span, and a 1.6 mm, two-layer board. The 5.6 mm TO-56 body is intended to face away from the rear of the PCB. The two Ø2.2 mm collimator bracket holes are on 16 mm centers around the laser axis. Verify polarities, laser flange insulation and lens tube alignment on the actual mount.
Insert the Pico component side up with its USB connector at the socket's pin-1 and pin-40 end, toward the long upper edge in the front board view. The ADC rows and supply pins follow Raspberry Pi's Pico R3 pinout. [Pico R3 pinout](https://pip-assets.raspberrypi.com/categories/610-raspberry-pi-pico/documents/RP-008309-DS-1-Pico-R3-A4-Pinout.pdf)
Q1 is hand-fitted tab down with its metal flange seated on the plated LD_K drain land. Use an M3 fastener with a retaining washer and keep the tab and hardware isolated from the enclosure and optical mount. Seat the flange before soldering the formed leads. Leave both PCB faces exposed to room air.
The useful optical result depends on choosing a laser specified for single-longitudinal-mode operation. A single transverse mode describes the beam profile. Confirm the longitudinal mode separately with the supplier and set the current limit for that exact diode.
Inspired by Breaking Taps' self-mixing interferometer video. [Breaking Taps](https://www.youtube.com/watch?v=k4AEZ35VklM)