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).
 
Hey guys. I have a question related to electricity and alternating current. Say an alien fictional society developed electricity, and settled on a standard like 73V AC current at 46 Hz. How would appliances be designed, and what impact would the lower frequency and voltage have on transformers, wiring, TVs, computers, LEDs, motors, and heating, assuming the laws of physics and technology are the same as on Earth?
While I was rolling out a shielded cable, a though came to my mind - what happens to the current flow in the cable if there came a short between the wire and the shield in both ends of the cable? For simplicity, lets assume a 1-wire copper wire wrapped in an aluminum shield. The wire and the shield has the same cross section area. There are insulating material between them, and in both ends there is a short between them. My first thought, the total resistance of the cable would be reduced...
I used to be an HVAC technician. One time I had a service call in which there was no power to the thermostat. The thermostat did not have power because the fuse in the air handler was blown. The fuse in the air handler was blown because there was a low voltage short. The rubber coating on one of the thermostat wires was chewed off by a rodent. The exposed metal in the thermostat wire was touching the metal cabinet of the air handler. This was a low voltage short. This low voltage...
Back
Top