How can infrared LEDs be used as a distance sensor for different materials?

  • Thread starter Thread starter ramonegumpert
  • Start date Start date
  • Tags Tags
    Infrared Sensor
AI Thread Summary
Infrared LEDs can be used as distance sensors, but their effectiveness varies with different materials due to inconsistent reflection intensities. Accurate distance measurement typically relies on time-of-flight principles rather than intensity, which may not be achievable with basic infrared LED setups. For improved functionality, modulating the infrared signal can help differentiate between background noise and actual reflections. The Sharp GP2D120 sensor, which employs triangulation, can provide more accurate distance readings by analyzing the angle of reflected signals. Overall, while basic infrared LEDs can detect proximity, they may not reliably measure distance across various materials.
ramonegumpert
Messages
187
Reaction score
0
Dear Experts,

I bought a pair of infrared LEDs (transmitter + receiver).

I read that infrared can be used as distance sensor.

I have seen projects using it (eg. Sharp GP2D120 sensor) for robotics and toy cars. Just to clarify, I am not using the Sharp sensor but a normal infrared LED pair bought from an electronics parts store.

I tested it and measured with volt meter and it seems that different materials or objects reflect different intensity of infrared to the receiver.

I am wondering how can this be used as Distance sensor when there is no consistent voltage when sensing different materials.

Are there Infrared sensors that can measure distance accurately for different materials like wood, metal, plastic, concrete surfaces or materials?

Has anyone tried the Sharp sensor before? There are a few models of it.

At the moment, based on my testing , it fail to see how infrared led can measure distance accurately.

So, could you please help clarify my doubts.

Thank you very much.

Best regards
Ramone
 
Engineering news on Phys.org
I think you've missunderstood how these things work. Sensors like these generally operate by modulating the light (or sound, the principle is the same for acoustic sensors) using an on-board oscillator and then down-mixing the reflected signal; i.e the measurement is based on time, not intensity.

You should be able to find a datasheet if you google a bit.
 
If you mount the IR LED and IR Receiver on the front of your toy car, so that they can't see each other, (put a barrier between them), then when there is something to reflect off, the receiver will get some IR signal.

To avoid just any IR signal giving a false reading, you could modulate the transmitting IR LED with a 1000 Hz square wave to turn it on and off rapidly.
You then detect this on the receive end with a NE567 tone decoder or similar device.

Just the presence of this signal would tell your car that it is close to something and it is time to put the brakes on or turn away.

I doubt if you could really measure distance with such a device because the time interval would be so short. Infra Red light travels at the speed of light, of course. I make it about 30cm per nanosecond.
 
I had a quick look at this particular sensor, and I am pretty sure it does NOT use time as I suggested above; I think it just uses triangulation (back to basics). I.e. it has a reciever with a number of "pixels" in it distributed over some distance from the transmitted. This also explains the short range (it is limited by the width of the sensor).
By sensing the posisiton of the maxium you the angles and then the distance.
If you look in the datasheet is seems to be quite accurate, and there is not much difference between grey and reflective surfaces.

(It does use a modulated signal, but that is probably just part of a PLL to get a better S/N ratio).
 
Thread 'Weird near-field phenomenon I get in my EM simulation'
I recently made a basic simulation of wire antennas and I am not sure if the near field in my simulation is modeled correctly. One of the things that worry me is the fact that sometimes I see in my simulation "movements" in the near field that seems to be faster than the speed of wave propagation I defined (the speed of light in the simulation). Specifically I see "nodes" of low amplitude in the E field that are quickly "emitted" from the antenna and then slow down as they approach the far...
Hello dear reader, a brief introduction: Some 4 years ago someone started developing health related issues, apparently due to exposure to RF & ELF related frequencies and/or fields (Magnetic). This is currently becoming known as EHS. (Electromagnetic hypersensitivity is a claimed sensitivity to electromagnetic fields, to which adverse symptoms are attributed.) She experiences a deep burning sensation throughout her entire body, leaving her in pain and exhausted after a pulse has occurred...
Back
Top