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:

Advanced HMI delivers enhanced durability
Fox Controls Rand Opto-Electronics
This compact touchscreen HMI from IDEC provides essential visualisation and high-performance multitouch control, even in the most space-limited applications.

Read more...
Powerful UVC disinfection
Opto-Electronics
The S3535-H emitter generates an output power of more than 150 mW per chip at 265 nm, providing the strongest germicidal effect currently available on the market.

Read more...
Front panels for electronics
Seven Labs Technology Opto-Electronics
In the world of electronics, the significance of a well-designed front panel cannot be overstated as it serves not only as the first point of interaction between users and devices, but also plays a crucial role in the functionality and aesthetics of electronic products.

Read more...
Cree: Illuminating the future of LED technology
Altron Arrow Editor's Choice Opto-Electronics
As a pioneer in this field, Cree LED has been instrumental in shaping the LED landscape, driving innovation and performance in this sector.

Read more...
New optical sensors for object detection
Opto-Electronics
A special feature of the Würth Elektronik sensors is that they filter out visible light up to 800 nm, rather than just up to 700 nm, like many other sensors of this type.

Read more...
HTML5 WebPanel with Linux, Android, or AutomationBrowser
Vepac Electronics Opto-Electronics
Having a front protection rating of IP65, and additional features such as Wi-Fi, Bluetooth, USB, RS232 integrated, these panels are an excellent solution for most industrial applications.

Read more...
Laser control for smart glasses
Opto-Electronics
TDK has developed the world’s first full-colour laser control device for 4K smart glasses using lithium niobate thin film.

Read more...
PVision introduces interactive PoS to South Africa
Opto-Electronics
Recently, PVision partnered with Nexmosphere, a company that transforms any digital display into an engaging experience using sensors and controls, to bring the next level of point-of-sale digital displays to consumers.

Read more...
InGaAs and SWIR surveillance
Opto-Electronics
Sensing in the SWIR range (wavelengths from 0,9 to 1,7 microns) has only recently been made practical by the development of Indium Gallium Arsenide (InGaAs) sensors.

Read more...
Touchscreen interfaces for industrial applications
Rugged Interconnect Technologies Opto-Electronics
Being protected from water and dust ingress, scratches, abrasions, and metallic dust makes them suitable for installation into harsh environments.

Read more...