Go to Post FIRST is not the end...it is the beginning - Greg Needel [more]
Home
Go Back   Chief Delphi > Technical > Electrical
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 16-03-2010, 14:05
MCahoon MCahoon is offline
Registered User
FRC #3826 (Sequim Robotics Federation)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2007
Location: Sequim, WA
Posts: 129
MCahoon has much to be proud ofMCahoon has much to be proud ofMCahoon has much to be proud ofMCahoon has much to be proud ofMCahoon has much to be proud ofMCahoon has much to be proud ofMCahoon has much to be proud ofMCahoon has much to be proud ofMCahoon has much to be proud of
Re: IR Beam Breaking Circuit

Apologies for not having a diagram at work, and having to go from memory.

We used an IR Emitter/Detector pair (Radio Shack p/n 276-142). This is powered using a 7805 voltage regulator, connected as a custom circuit to the Power Distribution Board. The Emitter is driven from 5 V, with a 51 ohm series resistor (gives about 90 mA drive, max current on the emitter is 150 mA as I recall), and the sense voltage of the detector photo-transistor is developed across a 10 K (as I recall, possibly 15K) resistor.

The emitter and detector were each mounted in a 1-inch oak block (one of our mentor is a wood-shop artiste), with a hole drilled through just the size of the emitter or detector body. The emitter and detector were each super-glued into one of the blocks. The blocks were mounted inside frame rails on each end of our ball control roller with the hole in the blocks aligned with holes CNC'd into the frame rails so they were closely aligned. The holes are located at the height of the center of the ball. The whole assembly is under the frame and bumpers, so is additionally shaded from ambient light.

The distance between the rails is about 19 inches. This emitter/detector pair work great at that distance. With no ball in the roller, approximately 4.1 V is read (on the Analog Breakout), and with a ball captured, approximately 10 mV. The difference in ball position between not being detected, and being detected is about 1/2 inch.

Actually works much better than I originally thought it would. I was afraid it would not be able to transmit across that distance, or that the detection cone would be so wide that it would be hard to distinguish when the ball was captured.
We used these at the Oregon regional, and once we got the alignment and the kicker power dialed in, we score 1 ball from the far zone about half the time, and clear either one or two of the other balls.

Last edited by MCahoon : 16-03-2010 at 14:08.
  #2   Spotlight this post!  
Unread 17-03-2010, 01:06
Danny Diaz's Avatar
Danny Diaz Danny Diaz is offline
Smooth Operator
AKA: FrankenMentor
None #0418
Team Role: Alumni
 
Join Date: Apr 2005
Rookie Year: 2003
Location: Manchester, NH
Posts: 545
Danny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond repute
Send a message via AIM to Danny Diaz
Re: IR Beam Breaking Circuit

Quote:
Originally Posted by MCahoon View Post
We used an IR Emitter/Detector pair (Radio Shack p/n 276-142). This is powered using a 7805 voltage regulator, connected as a custom circuit to the Power Distribution Board. The Emitter is driven from 5 V, with a 51 ohm series resistor (gives about 90 mA drive, max current on the emitter is 150 mA as I recall), and the sense voltage of the detector photo-transistor is developed across a 10 K (as I recall, possibly 15K) resistor.
I feel like crying for my mommy. This is almost exactly what I did, but I was not driving the emitter hard enough (270 Ohm versus 51 Ohm, difference is 18 mA vs 98 mA). Is there a reason why you powered your system through a 7805 versus the 5V power provided by the FRC Analog bumper? The Analog Bumper can provide 750mA of current with 5V, and it runs straight off the NI-9201 so there's going to be a constant supply. I guess if you wanted to go from bench-top testing straight to the robot your solution is probably the most convenient, but I was just wondering if there was a technical reason why you went with the 7805...

Thanks so much, you gave me the guts to try again...

-Danny
__________________
Danny Diaz
Former Lead Technical Mentor, FRC 418
  #3   Spotlight this post!  
Unread 17-03-2010, 01:20
dtengineering's Avatar
dtengineering dtengineering is offline
Teaching Teachers to Teach Tech
AKA: Jason Brett
no team (British Columbia FRC teams)
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2004
Location: Vancouver, BC
Posts: 1,827
dtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond repute
Re: IR Beam Breaking Circuit

We used three Sharp IR sensors (http://www.robotshop.ca/sharp-gp2y0a...sensor-1.html).

We desoldered the three JST input terminals and soldered a servo cable in their place. Then we plug each sensor directly in to an analog input port, and point the rangefinders forwards, looking out just beneath our "ball magnet" roller.

Now we not only know when there is a ball in our possession... we also know when we're getting close to a ball (or a wall... it ain't perfect) and can start up our ball magnet automatically. One less thing for the driver to do... or one less power drain as opposed to leaving it on all the time.

I guess we could even use it to check to see if two balls are in our ball magnet... although we haven't written that code yet.

Right now we're using our practice bot to try and see if we can come up with a dashboard display to help the driver find balls in the far end of the field, or use the rangefinders to help with auto mode.

Jason
  #4   Spotlight this post!  
Unread 24-03-2010, 13:05
Steve Warner Steve Warner is offline
Controls / Programming
FRC #0234 (Cyber Blue)
Team Role: Mentor
 
Join Date: Feb 2006
Rookie Year: 2006
Location: Indiana
Posts: 41
Steve Warner is an unknown quantity at this point
Re: IR Beam Breaking Circuit

We are using a Banner sensor on our robot this year and were asked by a KC inspector to add an inline fuse since the wire from the sensor was < #18 on a 20 amp breaker. The use of an inline fuse is probably the smart thing to do but is it required and, if not, is that what most of you are doing anyway?
  #5   Spotlight this post!  
Unread 24-03-2010, 14:02
MCahoon MCahoon is offline
Registered User
FRC #3826 (Sequim Robotics Federation)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2007
Location: Sequim, WA
Posts: 129
MCahoon has much to be proud ofMCahoon has much to be proud ofMCahoon has much to be proud ofMCahoon has much to be proud ofMCahoon has much to be proud ofMCahoon has much to be proud ofMCahoon has much to be proud ofMCahoon has much to be proud ofMCahoon has much to be proud of
Re: IR Beam Breaking Circuit

By R47, he could (should) have required you to replace the wire with a 18 AWG wire or larger. You did not specify the wire size you used, but it would be reasonable to use an in-line fuse if the value of the fuse was selected to be appropriate for the wire size, and was chosen to be a "fast blow" type fuse. Situation becomes ambiguous though, unless you can provide documentation about the device and it's load characteristics.
  #6   Spotlight this post!  
Unread 24-03-2010, 15:24
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: IR Beam Breaking Circuit

Quote:
Originally Posted by Steve Warner View Post
We are using a Banner sensor on our robot this year and were asked by a KC inspector to add an inline fuse since the wire from the sensor was < #18 on a 20 amp breaker.
Quote:
Originally Posted by MCahoon View Post
By R47, he could (should) have required you to replace the wire with a 18 AWG wire or larger.
When the wire is permanently attached to the sensor, it's not reasonable to require it to be changed.

Our 2009 robot design had a 5A fuse inline with the 12V power to the Banner sensor for exactly the reason the KC inspector gave. (There was a brief moment of contention when one of the inspectors at DC didn't think such fuses were legal, but he was of course unable to come up with any support for that opinion in either the manual or the inspectors' checklist.)
  #7   Spotlight this post!  
Unread 24-03-2010, 16:08
Unsung FIRST Hero
Al Skierkiewicz Al Skierkiewicz is offline
Broadcast Eng/Chief Robot Inspector
AKA: Big Al WFFA 2005
FRC #0111 (WildStang)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1996
Location: Wheeling, IL
Posts: 10,766
Al Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond repute
Re: IR Beam Breaking Circuit

Although I have tried to get the powers that be to accept the use of 5 amp breakers in the PD, the rules allow you to still use the wiring as attached to the pre-wired sensor. Please read the rules carefully next year in case I succeed.

R46
F. Custom circuits and sensors powered via the cRIO-FRC or the Digital Sidecar are protected by the breaker on the circuit(s) supplying those devices. Power feeds to all other custom circuits must be protected with a dedicated 20-amp circuit breaker on the Power Distribution Board.

As an alternative you could also wire the sensor to a enclosed perf board that contains a wired fuse and allows power wiring to continue to the PD via #18 wire.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
  #8   Spotlight this post!  
Unread 10-04-2010, 07:35
Steve Warner Steve Warner is offline
Controls / Programming
FRC #0234 (Cyber Blue)
Team Role: Mentor
 
Join Date: Feb 2006
Rookie Year: 2006
Location: Indiana
Posts: 41
Steve Warner is an unknown quantity at this point
Re: IR Beam Breaking Circuit

Another question here. Can more that one Banner photo sensor be protected by a single 20A fuse? A single #18 wire could be connected to the breaker and then to a smaller fuse. Can the load side of the smaller fuse then be connected to more than one sensor? I don't see where the rules address this unless it's R46 F or G if this would be considered a custom circuit.
  #9   Spotlight this post!  
Unread 10-04-2010, 08:06
Bongle's Avatar
Bongle Bongle is offline
Registered User
FRC #2702 (REBotics)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2002
Location: Waterloo
Posts: 1,069
Bongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond repute
Send a message via MSN to Bongle
Re: IR Beam Breaking Circuit

2702 had a moderately unique solution: rather than have the ball break a beam, we mounted both the emitter and sensor on the same chip, and stuck that inside our vacuum cup. When a ball was close, or when a ball was grabbed, it would reflect IR back to the sensor.

This meant we only needed one mounted place, and it meant that we weren't tricked by things like ramps, robots, or chains getting in the way (unless they fully blocked the vacuum cup).
  #10   Spotlight this post!  
Unread 10-04-2010, 09:17
Unsung FIRST Hero
Al Skierkiewicz Al Skierkiewicz is offline
Broadcast Eng/Chief Robot Inspector
AKA: Big Al WFFA 2005
FRC #0111 (WildStang)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1996
Location: Wheeling, IL
Posts: 10,766
Al Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond repute
Re: IR Beam Breaking Circuit

Quote:
Originally Posted by Steve Warner View Post
Another question here. Can more that one Banner photo sensor be protected by a single 20A fuse? A single #18 wire could be connected to the breaker and then to a smaller fuse. Can the load side of the smaller fuse then be connected to more than one sensor? I don't see where the rules address this unless it's R46 F or G if this would be considered a custom circuit.
Yes,
Multiple sensors can be powered from a single 20 amp breaker. All other electrical rules apply however, including only one wire per Wago terminal. You can bring the sensors to a common enclosed circuit board (preferred) or you can tie them to a barrier strip or terminal block as long as the connections are insulated. It can be considered a custom circuit and so the stated rules allow you to fuse the power line in the circuit per par G. If you use the circuit board method, a fuse on the board is a good idea. Then you can connect the sensors to the board and use your own connector to wire the outputs to your breakouts.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
  #11   Spotlight this post!  
Unread 10-04-2010, 17:25
Steve Warner Steve Warner is offline
Controls / Programming
FRC #0234 (Cyber Blue)
Team Role: Mentor
 
Join Date: Feb 2006
Rookie Year: 2006
Location: Indiana
Posts: 41
Steve Warner is an unknown quantity at this point
Re: IR Beam Breaking Circuit

Thanks Al, I thought that might be the case but I wasn't sure if this would be considered a custom circuit. Very good information.
  #12   Spotlight this post!  
Unread 10-04-2010, 20:23
Azores's Avatar
Azores Azores is offline
Registered User
AKA: Andrew
FRC #3161 (Tronic Titans)
Team Role: Mentor
 
Join Date: Mar 2010
Rookie Year: 2010
Location: Toronto, Ontario
Posts: 40
Azores has a spectacular aura aboutAzores has a spectacular aura aboutAzores has a spectacular aura about
Re: IR Beam Breaking Circuit

Rather than using a breakbeam sensor, we rigged up an IR rangefinder instead. The voltage it returns increases as an object moves closer to the rangefinder. So with it mounted in a fixed position in our frame, there's a baseline value that the voltage is steady at when there is no ball in position. When a ball enters the frame perimeter, the voltage spikes up (well alright, it increases by less than half a volt ). So the code just compares the reading every cycle to the reading taken upon initialization and when it increases enough, alerts the driver that a ball is in place through the dashboard (still getting this to work), or allows the bot to know when to kick in autonomous.
__________________
3161 Software Mentor + Photographer
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Broken Beam Sensor? lollypop2020 Electrical 12 27-02-2010 19:01
pic: Beam Bending Example kramarczyk Technical Discussion 22 19-05-2008 08:08
NEED: carbon fiber/kevlar/composite I-beam Gabe15 General Forum 2 10-01-2008 08:44
IR Beam Troubles Goldeye Programming 2 21-01-2006 17:15
Gearbox breaking? ReggieB Motors 10 23-02-2004 06:55


All times are GMT -5. The time now is 19:17.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi