PIR sensor protective lense
Brianse
Posts: 3
I'm working with a PIR sensor (555-28027) to sense sweet corn ears on a conveyor. It's inside a PVC pipe to limit what it sees but I need something to close the end of the pipe that the sensor can "see" through. The lense needs to be washdown proof (able to be sprayed with high pressure water),
I glued a piece of plexiglass on the pipe and it protected the sensor fine, but it couldn't "see" though it. I also tried Lexan (polycarbonate), and anything else I could find lying around the shop. The only thing I've found that the PIR can see through is a 4 mil sheet of polyethylene. I don't think the poyethylene is sturdy enough to take a direct spray at washdown and I haven't found a glue that would stick to it either.
Does anybody know what frequency IR the sensor uses? I don't see it on the datasheet.
Any suggestions of another material to try??
Does anybody know what the white plastic shield on the sensor itself is made of??.
Except for this problem, the sensor is perfect for what I need it to do.
Thanks. Brianse
I glued a piece of plexiglass on the pipe and it protected the sensor fine, but it couldn't "see" though it. I also tried Lexan (polycarbonate), and anything else I could find lying around the shop. The only thing I've found that the PIR can see through is a 4 mil sheet of polyethylene. I don't think the poyethylene is sturdy enough to take a direct spray at washdown and I haven't found a glue that would stick to it either.
Does anybody know what frequency IR the sensor uses? I don't see it on the datasheet.
Any suggestions of another material to try??
Does anybody know what the white plastic shield on the sensor itself is made of??.
Except for this problem, the sensor is perfect for what I need it to do.
Thanks. Brianse
Comments
Welcome to the forums.
I'm intrigued that you would use a PIR to detect ears of corn. Usually, PIRs are used to detect the motion of warm bodies, such as people or animals, in a case in which the warm bodies are detected moving across a background that is not warm. The PIRs use the movement of the difference in body thermal radiation to determine motion. So if the ears of corn are not warm, or if the ears of corn are warm and the conveyor is also warm, your system might not "see" anything at all. Have you tested your system with actual corn under the conditions at which it will be operating? If the corn is warm, will the conveyor belt start to warm up over time?
I think most PIRs operate at a wavelength around 5 to 14 microns.
Are you sure you don't want to use some regular IR beam-breaking type of counter?
What are your washdown conditions? Hot water and bleach? I'm not sure polyethylene (PE) is rated for bleach. I know polypropylene is good at higher temps and I think it can handle bleach, and I'm not sure the PIRs can see through it. And you will probably need to find a mechanical way to affix polypropylene to the PVC pipe since I'm not sure I would trust most adhesives. Probably anything you use will have to be FDA approved so you don't splash some toxic adhesive onto the corn.
I'm fairly sure that near IR, as used with IR LEDs like those used in beam-breaking applications, can shine through polypropylene.
Have you tried a thicker sheet of polyethylene? Maybe from an old milk jug?
If the sensor can see through a sheet thick enough to protect it, you could use Gorilla Tape to hold it in place. You might need to replace the tape once in a while, but that stuff is surprisingly strong.
I don't know to which wavelenths the PIR is sensitive, but I found this on Wikipedia:
Edit: I hadn't seen ElectricAye's post.
Based on that, I'm having second thoughts about polypropylene being compatible with chlorine.
Why's that? Bleach isn't chlorine. It's Sodium Hypochlorite. PP is rated excellent at < 20% concentrations and good at 100%.
Edit: I think PE would also be fine for modest concentrations of bleach.
I'm glad you saw that. I had thought PP was great with bleach, but what confused me was the compatibility of PP with "chlorine water" when I looked it up. So I guess Chlorox bleach would work fine with PP.
I also see on Mcmaster that there are PE sheets that are rated for washdown applications, so maybe PE is the way to go after all. http://www.mcmaster.com/ Now if we could only solve the adhesive problem....
I'd try a simpler light sensitive sensor that can tell the difference between light reflecting off the conveyor and the corn. You can then fine-tune how much of a change between the conveyor "background" and the corn "foreground" you want simply by adjusting the value of a couple of resistors, and an analog threshold. Obviously this works best if the conveyor is dark, because the corn will be relatively light in color.
These kind of light sensors typically work in the near IR region of 800 to 1000 nm, and most any protective covering will work, even glass (only a specialized glass will work with the longer IR that a PIR is sensitive to). You want a pretty strong IR light source, so look for an "ultra bright" IR LED. You can combine LEDs to make it even brigher. Use the camera on your cell phone to visualize the relative brightness and coverage of the LED(s).
You wouldn't even need a protective covering over these. Just pot around the emitter and detector (silicone caulk maybe). That'll make it waterproof. Then put a baffle around this gloop to reduce the field of vision.
Anyway I think it's worth a try.
-- Gordon
Thanks for all the comments.
Concerning the use of IR verses color or beam breaking:
I'm working with corn that's been cooled, so there is a temperature differential again a "warm" background.
It's in a husker, so it's a "dirty" enviroment and the lense will get covered with green husks/ yellow silks. The colors I'm trying to sense. The PIR is nice because it's always compensating for changing background, so as the lense gets dirty it still works (up until it gets really thick). I've already tried it with the 4 mil polyethylene.
The PIR is also nice because I can look down from the top with only one sensor (as opposed to needing two sensors across from each other).
The PIR also can drive a long wire, though a couple of disconnects, so I can get the rest of the electronics away from washdown.
Concerning chemistry, it's an organic system so bleach is taboo (at least at concentrations that are effective). I'm using peracetic acid.
A milk jug isn't something I've tryed yet, thanks Duane.
That chemical compatability app is something I didnt' know about, thanks ElectricAye. Though peracetic acid isn't on it, PE does seem compatible with hydrogen peroxide and acetic acid.
Brian
Consider using a basic PIR element behind a fresnel lens acting as a cover, perhaps with the smooth side out toward the work area. Eclectic E6000 adhesive (Goop) sticks to it passingly well, especially if the bond surface is roughed up a little and well cleaned. Or the lens could be clamped with a gasket.
I'm a little confused about what you mean by colors here. But, heck, if the system works even as temperatures fluctuate, then go for it.
Brian,
it appears that peracetic acid is often shipped in PE containers, so I'm guessing it's compatible:
http://peracetic-acid.evonik.com/product/peracetic-acid/en/about/purchasing-logistics/pages/default.aspx
Common salt is also a possible choice if there's no moisture at all! IR spectrometers often have polished NaCl cell windows because it doesn't absorb the organic solvents used in analysis.
the question is: what type of material do i need to build my protective case in so that my PIR sensor will continue to trigger with the same sensitivity?
I found Brianse's post interesting but was wondering if anyone else or if Brianse had succesfully arrived at the correct solution. Unfortunately the companies which build the cameratraps are not interested in solving the problem so I need to find a fix-it solution on my own.
any suggestions?
thanks
Giulia
Welcome to the forums. I'm curious what it is that you will detect in the sea caves? "Release the Kraken!"
The marine environment is hostile to electronics. (You know that already!). The protective case has to be good, but do you think the window or lens will be the biggest issue?
http://www.parallax.com/product/28033
I do not know! Ever since we spend an evening running around a Beverly's Craft Store with two SumoBot robots testing the IR absorption/albedo of different black fabrics, papers, and so forth, and sniffing for IR interference from the store's light fixtures, while the clerks watched us with deep consternation, I no longer make guesses about what physics is going to do with light and materials interactions! I'd be inclined to simply experiment with the lacquer you have in mind and test it, since I imagine that differences in brands and number and layer thickness might all make a difference.
The milk jug actually ended up working the best. I remember glue was a problem holding it on though. I think a hot glue gun might have been what worked best, but it's been awhile since I did it.
The polyethylene film worked fine too, if that's durable enough for your application you could just put it inside a bag made out of it.
That new sensor I saw on the thread looks like it has some advantages, for me at least. Thanks parallax.
Good luck with your application Giulia.