Laser Distance Measurer: Difference between revisions

From PC5271 wiki
Jump to navigationJump to search
Jonathan (talk | contribs)
Jonathan (talk | contribs)
Line 33: Line 33:
The use of continuous-wave illumination allows the transmitter to run at low peak power, simplifying driver circuitry and easing eye-safety constraints, while the reliance on differential phase makes the measurement intrinsically insensitive to slow amplitude drifts, laser-power fluctuations or partial signal obscuration.   
The use of continuous-wave illumination allows the transmitter to run at low peak power, simplifying driver circuitry and easing eye-safety constraints, while the reliance on differential phase makes the measurement intrinsically insensitive to slow amplitude drifts, laser-power fluctuations or partial signal obscuration.   
These attributes enable lightweight, low-cost sensor heads that are well suited to embedded or mobile platforms, and they motivate a bottom-up investigation of how modulation linearity, detector bandwidth and amplifier noise ultimately set the achievable accuracy ceiling.
These attributes enable lightweight, low-cost sensor heads that are well suited to embedded or mobile platforms, and they motivate a bottom-up investigation of how modulation linearity, detector bandwidth and amplifier noise ultimately set the achievable accuracy ceiling.
These merits justify a bottom-up exploration that reveals how modulation linearity, detector bandwidth and amplifier noise ultimately limit accuracy.


====Methodological Outline====
====Methodological Outline====

Revision as of 21:07, 28 April 2025

Template:Short description

Group Members

Arya Chowdhury, Liu Sijin, Jonathan Wong

Background and Theory

Laser-based ranging is an indispensable branch of modern optical metrology, underpinning industrial inspection, robotic navigation, 3-D scene reconstruction, autonomous-vehicle perception and precision manufacturing. Three mainstream principles are generally distinguished: pulsed time-of-flight (ToF), optical triangulation and phase-shift continuous-wave (CW) ranging. The present work adopts the third approach. Although commercial phase-shift rangers exist, rebuilding the technique from first principles clarifies its physical foundations, intrinsic error sources and ultimate performance limits, thereby guiding application-specific optimisation.

Phase-Shift Ranging Theory

When a CW laser is intensity-modulated at frequency fm, round-trip propagation to a target introduces a phase delay

Δϕ=4πdλm,λm=cfm,

where d is the one-way distance and c is the speed of light. Solving for d gives

d=λmΔϕ4π=cΔϕ4πfm.

Because phase is measured modulo 2π, the maximum unambiguous range is

dmax=c2fm.

For fm=10MHz, dmax15m, adequate for laboratory-scale demonstrations.

Phase-delay measurement offers clear advantages for distance determination

Phase-shift ranging is preferred over pulsed ToF and optical triangulation whenever sub-millimetre accuracy, compact hardware and real-time operation are simultaneously required. Because the technique extracts distance from the phase of a continuous, MHz-rate modulation rather than from absolute travel time or geometric baselines, it can achieve high precision with modest electronic bandwidths and without bulky optical assemblies. The use of continuous-wave illumination allows the transmitter to run at low peak power, simplifying driver circuitry and easing eye-safety constraints, while the reliance on differential phase makes the measurement intrinsically insensitive to slow amplitude drifts, laser-power fluctuations or partial signal obscuration. These attributes enable lightweight, low-cost sensor heads that are well suited to embedded or mobile platforms, and they motivate a bottom-up investigation of how modulation linearity, detector bandwidth and amplifier noise ultimately set the achievable accuracy ceiling.

Methodological Outline

1.Modulation:Tektronix AFG1022 supplies a 10 MHz, 0–3.1 Vpp square wave to drive a 650 nm diode laser. 2.Beam delivery:The beam is collimated (f = 20 mm lens), reflected from a mirror on a precision translation stage, and returned through a 650 nm ± 5 nm band-pass filter. 3.Detection:A Hamamatsu S5971 photodiode converts the echo to an electrical signal; a >100 MHz, 40 dB pre-amplifier conditions the signal. 4.Synchronous sampling:Oscilloscope channel 2 (echo) is compared with channel 1 (reference) to obtain the temporal delay Δt; phase delay follows as Δϕ=2πfmΔt. 5.Calibration & scanning:Static points (0–80 cm, 10 cm steps) yield a delay-distance curve; continuous stage motion tests linearity and temporal resolution.

Equipment List

  1. Oscilloscope
  2. Function generator that can output square wave signal (model used: Tektronix AFG1022)
  3. DC power supply for photodetector (model used: Keithley 2231A-30-3)
  4. Hamamatsu S5971 silicon photodetector
  5. 650 nm (red) LED
  6. Collimating lens to mount on the LED
  7. Mirror
  8. Translation stage
  9. Optical breadboard, postholders and screws
  10. Ruler or measuring tape
  11. BNC cables

Experimental Work

Laser Modulation and System Initialisation

Configure the function generator to output a 10 MHz square wave with an amplitude of 0–3.1 V (High level: 3.1 V, Low level: 1.0 V, output impedance: 50 Ω) to modulate the laser diode. Use the DC power supply to provide 5.0 V to the laser driver circuit, with a current limit of 30 mA. Verify the laser beam stability to avoid multimode noise or thermal drift that could distort the modulation waveform.

Optical Alignment

Mount the 650 nm laser diode and use an aspheric lens to collimate and focus the beam onto the reflective target surface.

Laser with lens 1 Laser with lens 2
Figure 1. Front view of collimating lens for laser diode Figure 2. Side view of collimating lens for laser diode

Detection and Amplification Circuit Configuration

For the photodetector, use the Hamamatsu S5971 silicon photodiode to detect the reflected light signal. To amplify the signal linearly without saturation, connect the detector output to a matched high-speed preamplifier (bandwidth >100 MHz, gain ∼10³–10⁵). Connect the amplifier output to Channel 2 of a digital oscilloscope; connect the reference signal from the function generator to Channel 1 as the modulation phase reference.

Laser diode and detector
Figure 3. Hamamatsu S5971 silicon photodiode with amplifier

Time Delay vs. Distance Mapping

Fix the LED source and the photodetector on a linear translation stage, ensuring proper alignment for the beam return to the detector at all positions along the translation stage; the detector and the laser diode were mounted on a postholder so that the height of the detectors was adjustable. Turn on the LED and ensure that the beam is collimated by adjusting the distance of the lens to the LED. Incident the LED onto the photodetector and observe the function generated on the oscilloscope. Use the oscilloscope’s cursor measurement function to determine the relative time delay Δt between the modulation reference signal (Channel 1) and the return signal (Channel 2). Correlate the measured delay values with corresponding distances to establish the system’s delay–distance response curve. The following are the steps carried out to measure the time delay and the corresponding distance:

  1. Fix the LED source and the photodetector on a linear translation stage, ensuring proper alignment for the beam return to the detector at all positions along the translation stage; the detector and the laser diode were mounted on a postholder so that the height of the detectors was adjustable.
  2. Use a meter ruler to mark the distance along the translation stage.
  3. Move the LED source to the marked positions (e.g. 30 cm from detector) and adjust the beam until it is centralised on the photodetector.
  4. Measure the time delay on the oscilloscope. Record the minimum, maximum and mean time delay—take three readings per distance and average them.
  5. Repeat steps 1–4 for different distances on the translation stage.
  6. Insert a mirror in the setup to act as the “object we are trying to measure the distance of”, so that the beam path is reflected off the mirror to the photodetector.
  7. Measure the total path length manually and repeat steps 1–4 for each mirror position.


Schematic of experiment setup (without mirror). If the photodiode is in line with and can receive light from the LED, two waveforms (one from the source LED and one from the photodiode) will be shown on the oscilloscope.
Setup without mirror
Figure 4. Measurement experimental setup without mirror: LED and photodetector on translation stage.
Setup with mirror
Figure 5. Measurement experimental setup with mirror acting as the “object.”

Results

Figure 6. Delay between the function generator and the received signal by the photodetector on the oscilloscope. Green graph represents the function generated by the function generator and the yellow graph represents the function produced from received the laser beam by the detector.


Table 1. Measured delay time vs manually measured distance between LED and photodetector Table 2. Measured delay time vs manually measured distance with mirror acting as the “object.”

The measured delay time is in the order of 20-30 nanoseconds, which, when calculated, gives about 6-9m of distance. However, our incremental changes in the distance between the LED and the photodetector were in the order of 10-80cm. Hence, it was evident that this additional delay time was occurring due to all the cables attached to the oscilloscope and function generation and the distance between the laser and the detector. To account for this, we took the shortest distance as our "reference" distance. The difference between the successive measured distances and the shortest distance gives us the "absolute" distance. We can do this for the measured delay time as well. Take the delay time for the shortest manually measured distance and subtract it from the successive delay times to get an "absolute" delay time. Another method we thought of was simply plotting a linear plot of manually measured distance vs the delay time and obtaining the y-intercept, which would be the additional delay time due to the system and the cables. One could then subtract this additional delay time from the system from each measured delay time. However, when we measured the gradient of this linear plot on multiple days, the gradient was slightly different each time the measurements were carried out. Hence, we decided to adopt the former approach.

Table 3. Calculated Average distance from delay time vs Manually measured distance between LED and photodetector. Separation distance of 10cm was taken as the "reference" distance and the successive distances were subtracted from it to give "absolute" values. Table 4. Calculated Average distance from delay time vs Manually measured distance between LED and photodetector with the mirror acting as the "object". Separation distance of 46.5cm was taken as the "reference" distance and the successive distances were subtracted from it to give "absolute" values.
Figure 7. Graph of calculated distance difference from delay time vs manually measured distance difference between LED and photodetector without mirror. Figure 8. Graph of calculated distance difference from delay time vs manually measured distance difference between LED and photodetector with a mirror acting as the "object"

Challenges and Conclusion

  1. One of the challenges we faced was centring the beam onto the photodetector. Due to the lack of a focusing beam on the photodetector, the laser beam spot size was much larger than the surface area of the photodetector. What this led to was a constant fluctuation of the delay time on the oscilloscope as the brightest part of the beam was not always centred on the photodetector despite optimising stabilisation of the beam path.
  2. To have accurate distance measurements in the centimetre regime, the delay time we required was ~0.3ns for every 10cm. However, the fluctuation of the delay time on the oscilloscope was causing the 1st decimal place to fluctuate constantly.
Figure 9. Beam spot on photodetector

Though the concept of the project was fairly straightforward, the yielded results were not precise within the uncertainty. This points to experimental errors such as the lack of a focusing mirror which caused fluctuations in the delay.

Improvements and Future Work

  1. Install a focusing lens for the photodetector
  2. Use a bandpass filter at 650 nm laser to filter out other frequencies to get less fluctuations in the delay time reading on the oscilloscope.