Opto-Electronics


Optical triangulation distance measurement using the OSM910 position sensing detector

9 October 2002 Opto-Electronics

Triangulation sensors provide distance or range information without contacting the target object. A sensing system operates by projecting a beam of light onto the target and detecting where the reflected light falls along the length of the sensing photodiode. As the position of the target object moves closer or further from the light source, the reflected light spot on the detector changes (see Figure 1).

Figure 1. A collimated beam is projected at the target object. A change in position of the target object produces a proportional change in spot position on the PSD
Figure 1. A collimated beam is projected at the target object. A change in position of the target object produces a proportional change in spot position on the PSD

In this example the detector used is Optek's OSM910 position sensing detector (PSD). The following discussion will focus on the operating principles of the PSD and the basic elements of a triangulation system.

The PSD is a silicon photodiode that has an anode contact at each end of its length and a high resistance between the contacts. When a spot of light falls on the detector's surface, the current from each anode is proportional to the relative position of the spot. If the spot is centred, the currents will be equal. As the spot moves, the output currents change, allowing the position to be calculated by the formula shown in Figure 2.

Figure 2. The PSD produces two currents which are proportionate to the relative position of the incident light spot. The spot position is calculated from the difference in magnitude of the elements
Figure 2. The PSD produces two currents which are proportionate to the relative position of the incident light spot. The spot position is calculated from the difference in magnitude of the elements

The PSD is capable of operation up to 200 kHz and system performance is usually limited only by the signal processing electronics. Because the output is based on the centroid of the light spot, the light does not have to be focused tightly to obtain a valid distance reading. The outputs are independent of the light level between dark current and saturation because they respond proportionately to the lightspot. The PSD requires no initial calibration and no adjustments are required if the reflectance of the target changes. These characteristics make the PSD an excellent choice for use in distance measurement systems.

The triangulation system

A triangulation system consists of three subsystems: the transmitter, receiver and signal processor. Figure 3 shows a system block diagram.

Figure 3. Block diagram of Optek's triangulation system based on the OSM910
Figure 3. Block diagram of Optek's triangulation system based on the OSM910

The transmitter

The light source chosen for Optek's triangulation example is aGaAIAs infrared LED, the Optek OP266W.

Figure 4. Output characteristics vs spot position on the PSD
Figure 4. Output characteristics vs spot position on the PSD

The package does not have a lens that allows the use of collimating optics to shape the beam. Other light sources suitable for the application include visible LEDs or laser diodes. In this case, the infrared LED was chosen because it is lower in cost than the laser diode and requires less drive current than a visible LED.

The drive circuitry for the transmitter includes a means for adjusting the drive current based on the output signals from the receiver. This is required to keep a consistent output level over the relatively wide distance range of 20cm to 100cm. In this application, two LED current levels are available: low and high. The LED drive is selected low if the PSD outputs are near saturation or selected high if the signal levels are near dark current. The LED drive circuit schematic is shown in Figure 5.

Figure 5. LED drive current is selected based on the current levels from the PSD
Figure 5. LED drive current is selected based on the current levels from the PSD

The receiver

The PSD outputs are fed into a buffer and amplification stage and then into separate analog-to-digital converters (see Figure 6). This method produces two digital signals that correspond to the magnitude of the currents produced by the PSD. The two analog signals could be combined before the digital conversion. It is left up to the designer to determine the best method for the application.

Figure 6. Receiver schematic
Figure 6. Receiver schematic

The signal processor

The processor for Optek's triangulation sensor is a one-time-programmable microcontroller with 2 Kbytes of internal ROM. When the processor receives the digital signals from the receiver, the data is analysed for signal strength and the LED drive is adjusted accordingly. The LED is then pulsed and readings are taken from the receiver. An average is obtained from 10 consecutive readings and the distance is calculated and displayed.

Conclusion

The optical triangulation sensor presented is capable of measuring the distance of a diffuse reflective object from 20 cm to 100 cm. By using the OSM910 PSD, system components and complexity are kept to a minimum without sacrificing accuracy or repeatability.



Credit(s)



Share this article:
Share via emailShare via LinkedInPrint this page

Further reading:

PhotoMOS relays
Future Electronics Opto-Electronics
The AQY221R2SX and AQY221R2S PhotoMOS from Panasonic Industry ensures excellent characteristics and high-speed switching performance.

Read more...
Mouser now shipping onsemi’s image sensors
TRX Electronics Opto-Electronics
The AR0145CS is a 1/4,3-inch CMOS digital image sensor with a 1280 (H) x 800 (V) active-pixel array that can capture both continuous video and single frames.

Read more...
Adaptive optics’ power solution
Altron Arrow Opto-Electronics
Vicor power-dense adaptive optical modules enable colossal telescopes to look into the past for deep space discoveries.

Read more...
Ultra-high speed photo detection
Opto-Electronics
TDK Corporation has announced a photo-spintronic conversion element combining optical, electronic, and magnetic elements that can respond at an ultra-high speed of 20 picoseconds.

Read more...
High-speed lasers
RFiber Solutions Opto-Electronics
Macom are a high-volume manufacturer of lasers, deploying more than 100 million devices with a reliability of less than 50 FIT and greater than 100 years of wear-out lifetime

Read more...
High-performance optical interconnect
Opto-Electronics
STMicroelectronics has unveiled its next generation of proprietary technologies for higher-performing optical interconnect in datacentres and AI clusters.

Read more...
Halo mid-board optical transceiver
Spectrum Concepts Opto-Electronics
The Samtec Halo mid-board transceiver has been designed for next-generation embedded applications that require 56 and 112 Gbps PAM4 performance in low profile and ruggedised form factors.

Read more...
New generation of Ethernet media converters
IOT Electronics Opto-Electronics
Phoenix Contact is introducing three new families of media converters to the market, each designed for specific industrial environments and challenges.

Read more...
PIN photodiode with integrated lens
RFiber Solutions Opto-Electronics
The MARP-BP112 from Macom is a backside-illuminated PIN photodiode, usable from 1200 nm to 1650 nm, that is optimised for use in 112 GBaud PAM4 applications.

Read more...
RGBIR sensor with I2C interface
Electrocomp Opto-Electronics
Available in a miniature opaque 2,67 x 2,45 mm package, Vishay’s VEML6046X00 includes high-sensitivity photodiodes, a low noise amplifier, and a 16-bit analogue to digital converter.

Read more...