Author Topic: Infrared proximity sensor through glass  (Read 33166 times)

0 Members and 1 Guest are viewing this topic.

Offline SimonTopic starter

  • Global Moderator
  • *****
  • Posts: 18115
  • Country: gb
  • Did that just blow up? No? might work after all !!
    • Simon's Electronics
Infrared proximity sensor through glass
« on: June 28, 2013, 08:17:00 am »
We are trying to get an infrared proximity sensor to work through glass (boss wants it destruction proof) but it picks up the glass. So far an integrated transceiver with I2C bus etc has been used and it won't work through a double glazed window. Are we just trying the impossible or should infrared work through glass ?

We're looking at using descrete transimitter and receiver now, are we wasting our time ?
 

Offline SimonTopic starter

  • Global Moderator
  • *****
  • Posts: 18115
  • Country: gb
  • Did that just blow up? No? might work after all !!
    • Simon's Electronics
Re: Infrared proximity sensor through glass
« Reply #1 on: June 28, 2013, 08:30:36 am »
We are using a VCNL4000: http://pdf1.alldatasheet.com/datasheet-pdf/view/425012/VISHAY/VCNL4000.html supposed to be pretty good and is well used around.
 

Offline Marco

  • Super Contributor
  • ***
  • Posts: 7037
  • Country: nl
Re: Infrared proximity sensor through glass
« Reply #2 on: June 28, 2013, 08:38:29 am »
So the proximity value is just plain constant regardless of what you put in front of the glass?
 

Offline millerb

  • Regular Contributor
  • *
  • Posts: 71
  • Country: us
Re: Infrared proximity sensor through glass
« Reply #3 on: June 28, 2013, 08:39:19 am »
Any chance of being able to fill the space between the sensor and the window with some kind of transparent potting or perhaps some way to fit a light pipe from over the emitter to the window?
 

Offline SimonTopic starter

  • Global Moderator
  • *****
  • Posts: 18115
  • Country: gb
  • Did that just blow up? No? might work after all !!
    • Simon's Electronics
Re: Infrared proximity sensor through glass
« Reply #4 on: June 28, 2013, 08:40:57 am »
Any chance of being able to fill the space between the sensor and the window with some kind of transparent potting or perhaps some way to fit a light pipe from over the emitter to the window?

That is what I'm starting to wonder, if it can be clear potted and do away with the glass or have a glass window potted in but that is complicating matters a bit
 

Online mikeselectricstuff

  • Super Contributor
  • ***
  • Posts: 14116
  • Country: gb
    • Mike's Electric Stuff
Re: Infrared proximity sensor through glass
« Reply #5 on: June 28, 2013, 08:43:02 am »
The issue is reflection from either the front or back surface. You need to eliminate the air gap between the sensor and glass, e.g. with a clear soft silicone.
You may still get issues with reflection from the outer surface.

A way around this would be to use a sensor with source/emitter further apart, and put a wall between them
Youtube channel:Taking wierd stuff apart. Very apart.
Mike's Electric Stuff: High voltage, vintage electronics etc.
Day Job: Mostly LEDs
 

Offline SimonTopic starter

  • Global Moderator
  • *****
  • Posts: 18115
  • Country: gb
  • Did that just blow up? No? might work after all !!
    • Simon's Electronics
Re: Infrared proximity sensor through glass
« Reply #6 on: June 28, 2013, 10:06:54 pm »
won't stuff like silicone or resin for that matter change the emission and reception angles ?
 

Offline DavidDLC

  • Frequent Contributor
  • **
  • Posts: 755
  • Country: us
Re: Infrared proximity sensor through glass
« Reply #7 on: June 28, 2013, 10:27:37 pm »
The location of the sensor related to the glass is key, you need to know the angle of the transmision cone for the IR LED and the angle of the reception cone of the sensor, the refractive index of the glass has to be consider for the placement as well. You may want to ask for the integration guidelines to the vendor for the component you are using.

http://en.wikipedia.org/wiki/Refractive_index
 

Offline DavidDLC

  • Frequent Contributor
  • **
  • Posts: 755
  • Country: us
Re: Infrared proximity sensor through glass
« Reply #8 on: June 28, 2013, 10:31:56 pm »
You need to determine where the cones interfere and also need to be carefull with the crosstalking in order to avoid false detections.

This is a raw example of what you can do.
 

Offline DavidDLC

  • Frequent Contributor
  • **
  • Posts: 755
  • Country: us
Re: Infrared proximity sensor through glass
« Reply #9 on: June 28, 2013, 10:36:16 pm »
Another recommedation is to make it to work without the glass first, just to make sure that the hole system is working, after that you start doing the calculations for the placement.
 

Offline cthree

  • Frequent Contributor
  • **
  • Posts: 258
  • Country: ca
Re: Infrared proximity sensor through glass
« Reply #10 on: June 29, 2013, 01:26:02 am »
Because Science. Most glass is opaque to IR. It's designed this way on purpose, otherwise heat would go right through it and it would be impractical to use glass for windows.



You need special glass.

http://en.wikipedia.org/wiki/Transparent_ceramics

Some metals are IR transparent too, Germanium for example.
« Last Edit: June 29, 2013, 01:38:18 am by cthree »
 

duskglow

  • Guest
Re: Infrared proximity sensor through glass
« Reply #11 on: June 29, 2013, 02:55:04 am »
Mythbusters actually used glass in an attempt to foil an infrared motion sensor.  I don't remember if it worked, but it does block infrared, you could see it on the thermal camera.  AFAIK there's no way around it.
 

Offline Someone

  • Super Contributor
  • ***
  • Posts: 5148
  • Country: au
    • send complaints here
Re: Infrared proximity sensor through glass
« Reply #12 on: June 29, 2013, 03:04:01 am »
Because Science. Most glass is opaque to IR. It's designed this way on purpose, otherwise heat would go right through it and it would be impractical to use glass for windows.
Rubbish!

http://www.chem.agilent.com/Library/brochures/5991-2392EN.pdf
http://www.shimadzu.com/an/industry/ceramicsmetalsmining/chem0501005.htm

Two manufacturers of the equipment that measures this disagree with you.

We are trying to get an infrared proximity sensor to work through glass (boss wants it destruction proof) but it picks up the glass. So far an integrated transceiver with I2C bus etc has been used and it won't work through a double glazed window. Are we just trying the impossible or should infrared work through glass ?
Check your angles and polarisation for reflections off the window, its hard but not impossible to fix.
 

Offline Someone

  • Super Contributor
  • ***
  • Posts: 5148
  • Country: au
    • send complaints here
Re: Infrared proximity sensor through glass
« Reply #13 on: June 29, 2013, 03:08:06 am »
Mythbusters actually used glass in an attempt to foil an infrared motion sensor.  I don't remember if it worked, but it does block infrared, you could see it on the thermal camera.  AFAIK there's no way around it.
Out in the thermal IR range, which is not where the proximity and photogate sensors work.

 

Offline profmason

  • Contributor
  • Posts: 12
  • Country: us
Re: Infrared proximity sensor through glass
« Reply #14 on: June 29, 2013, 06:18:39 am »
I have had good luck using sharp gp2 series proximity sensors behind glass in museum display cases for triggering exhibits.  Typically incline them at greater then thirty degrees to the glass surface to avoid measuring the reflection.   Range from 30 cm in.

Cheers,
Mmason
 

Offline SimonTopic starter

  • Global Moderator
  • *****
  • Posts: 18115
  • Country: gb
  • Did that just blow up? No? might work after all !!
    • Simon's Electronics
Re: Infrared proximity sensor through glass
« Reply #15 on: June 29, 2013, 06:46:20 am »
Ah, our problem will be the space, the glass has to be part of the bottom of the box and a 30 degree angle may not get the sensor looking in the right place but it might work
 

Offline smashedProton

  • Frequent Contributor
  • **
  • Posts: 641
  • Country: us
Re: Infrared proximity sensor through glass
« Reply #16 on: June 29, 2013, 07:25:48 am »
Glass is usually ok for infared.  It attenuates uv a lot more, that is why feynman sat in a truck rather than wear welding goggles when there was an a bomb test.  You should be able to null out the time offset caused by the index of refraction of the glass
http://www.garrettbaldwin.com/

Invention, my dear friends, is 93% perspiration, 6% electricity, 4% evaporation, and 2% butterscotch ripple.
 

Offline smashedProton

  • Frequent Contributor
  • **
  • Posts: 641
  • Country: us
Re: Infrared proximity sensor through glass
« Reply #17 on: June 29, 2013, 07:28:52 am »
Why can't acrylic work?
http://www.garrettbaldwin.com/

Invention, my dear friends, is 93% perspiration, 6% electricity, 4% evaporation, and 2% butterscotch ripple.
 

Offline SeanB

  • Super Contributor
  • ***
  • Posts: 16385
  • Country: za
Re: Infrared proximity sensor through glass
« Reply #18 on: June 29, 2013, 08:00:43 am »
Look at Mike's thermal camera videos, where the acrylic is a pretty effective filter.
 

Offline SimonTopic starter

  • Global Moderator
  • *****
  • Posts: 18115
  • Country: gb
  • Did that just blow up? No? might work after all !!
    • Simon's Electronics
Re: Infrared proximity sensor through glass
« Reply #19 on: June 29, 2013, 08:06:24 am »
We can't use acrylic anyway because everything has to be flame retardant etc.

Is there a difference between infrared heat and light or is it the same thing that is talked about different depending on the circumstance ?
 

Online mikeselectricstuff

  • Super Contributor
  • ***
  • Posts: 14116
  • Country: gb
    • Mike's Electric Stuff
Re: Infrared proximity sensor through glass
« Reply #20 on: June 29, 2013, 09:04:23 am »
We can't use acrylic anyway because everything has to be flame retardant etc.

Is there a difference between infrared heat and light or is it the same thing that is talked about different depending on the circumstance ?
It's all about wavelength. Thermal imaging/temp sensing is in the 5-15uM range, IR LEDs are near-IR, typically just above visible red wavelengths - 780-980nm.
For all intents and purposes, IR sensors like this will behave just the same as visible red light, the exception being the purpose-made black (typically acrylic) IR filter materials which have a sharp cutoff between visible red and near-infrared.
Any normal material that passes red light will pass IR. May be some very minor differences in refraction, lens focal length etc but nothing you'll notice
Youtube channel:Taking wierd stuff apart. Very apart.
Mike's Electric Stuff: High voltage, vintage electronics etc.
Day Job: Mostly LEDs
 

Offline SimonTopic starter

  • Global Moderator
  • *****
  • Posts: 18115
  • Country: gb
  • Did that just blow up? No? might work after all !!
    • Simon's Electronics
Re: Infrared proximity sensor through glass
« Reply #21 on: June 29, 2013, 11:57:08 am »
so seems we have some confusion here between infrared light and infrared heat radiation and infrared light will act like visible light, right ?
 

Offline dfmischler

  • Frequent Contributor
  • **
  • Posts: 548
  • Country: us
Re: Infrared proximity sensor through glass
« Reply #22 on: June 29, 2013, 01:17:34 pm »
so seems we have some confusion here between infrared light and infrared heat radiation and infrared light will act like visible light, right ?

It is all infrared light.  But the different wavelengths represent different energy levels (aka temperatures) and the temperatures we are usually interested in for thermal imaging are much longer wavelengths (i.e. cooler).  Think about the brightness and color of light emitted by steel at high temperature and what that really means (e.g. bright cherry red steel is >800 degrees C).  The atoms are so excited that some of the electrons jumping back to their base levels are giving off photons that energetic (i.e. with wavelengths that short) as the metal cools by radiation.  Once it gets below some temperature (can't remember the threshold but certainly by the time you get below 400 degrees C) you can't see the emitted light anymore, but you can still feel the heat.  The wavelength of the emitted radiation gets longer as the metal cools.

Near-infrared light (that is, light of a wavelength almost short enough to be visible) will go through window glass pretty much the same as visible red light.  Infrared light emitted by objects near room temperature have a much longer wave length and some (most?) of those wavelengths will not go through the glass.
« Last Edit: June 29, 2013, 01:56:38 pm by dfmischler »
 

Offline SimonTopic starter

  • Global Moderator
  • *****
  • Posts: 18115
  • Country: gb
  • Did that just blow up? No? might work after all !!
    • Simon's Electronics
Re: Infrared proximity sensor through glass
« Reply #23 on: June 29, 2013, 07:02:20 pm »
Yea i see what you mean, I mean i know that at the end of the day it's the same type of energy but if the range is that large it will manifest differently. so light should not have a problem or rather the wavelength near visible light won't. Well bugger me why the sensors won't work. Has anyone got any experience with integrated proximity sensors versus using separate emitters and receivers ?
 

Offline ElectroIrradiator

  • Frequent Contributor
  • **
  • Posts: 614
  • Country: dk
  • More analog than digital.
Re: Infrared proximity sensor through glass
« Reply #24 on: June 29, 2013, 09:36:36 pm »
Sorry about barging in on a polite debate, but felt I had to raise my voice on this subject.

Simon,

Judging from the datasheet, then your idea is in trouble. The detector seems optimized to work in the range from 1 to 100 mm, with a difference in signal strength over this range of about three orders of magnitude. Refer to Figure 3 on page 3 of the datasheet.

Your problem is almost certainly that the detector sees the transmitter diode reflected in the *outside* air/glass surface. Each pane of glass obviously has two air/glass interfaces, and both will give reflections. Even using a transparent potting compound wouldn't do you any good, as there is no way to eliminate the outside air/glass interface. This problem is likely to get worse, if you are using thick, armored glass, as this would increase the distance between the chip and the reflecting surface.

From figure 3 it seems obvious that even a weak reflection from the glass surface a few mm away will completely overwhelm any signal from the 50-100 mm range.

Try holding the detector IC about 20mm from the glass surface, and see if it detects its presence. IE. do a detector test as shown in the test circuit, also on page 3.

You have two options, both of which has already been mentioned and ruled out(?):

1) Set transmitter and receiver at an angle to the glass surface. For a transparent solid there exist an optimal angle, the Brewster angle, where reflections in the surfaces are minimized or eliminated. This angle depends on the difference in dielectric constant between the involved substances. For air/glass this angle is about 42 degree, yet reflections are reduced in a broad range of angles about this value.

2) Separate the transmitter and receiver, so the RX cannot see the internal glass reflections from the TX.

Sorry about being the bringer of bad news... :-[
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf