Go to Post Gotta love it... FIRST's GDC...providing entertainment to loads of bored Bostonian FIRST'ers on a friday night. - Andy Grady [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rating: Thread Rating: 27 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 25-07-2013, 19:22
ohrly?'s Avatar
ohrly? ohrly? is offline
Griffin Alum
AKA: Colin Poler
FRC #1884 (The Griffins)
Team Role: Alumni
 
Join Date: Jan 2013
Rookie Year: 2011
Location: London
Posts: 58
ohrly? is an unknown quantity at this point
Battery powered raspberry pi

This year, we had problems with the unstable power supply for our onboard raspberry pi. I'm a little stuck as to how to solve that:

Option a) get a battery for the raspberry pi -> illegal under R34 because it is not an integral battery. Can I get around this rule, assuming it doesn't change?

Option b) use a laptop -> laptops are usually comparatively heavy and big. Does anyone know a lightweight, cheap laptop with at least 2 USB ports and Ethernet? [a 3rd USB port for an Ethernet dongle is fine]

Option c) somehow guarantee the availability of 1 amp for the raspberry pi?

Option d) can anyone else think of another option?

Thanks so much for any help you can give me!
  #2   Spotlight this post!  
Unread 25-07-2013, 19:26
nathan_hui nathan_hui is offline
Registered User
AKA: Nathan Hui
FRC #2473 (CHS Robotics)
Team Role: Alumni
 
Join Date: Feb 2012
Rookie Year: 2009
Location: Cupertino, CA
Posts: 228
nathan_hui will become famous soon enoughnathan_hui will become famous soon enough
Send a message via AIM to nathan_hui
Re: Battery powered raspberry pi

What did you have as a power supply for the pi?

For option b, look at SBCs (atom computers on a single board with, well, everything). Suggestion: http://www.geeky-gadgets.com/wp-cont...abyte-Brix.jpg
__________________
Nathan Hui
B.S. Electrical Engineering, UCSD '16
FRC 2473 (CHS Robotics), Team Captain '12
FTC 4950, 6038
  #3   Spotlight this post!  
Unread 25-07-2013, 20:58
ericsims ericsims is offline
Registered User
FRC #0178
 
Join Date: Jul 2013
Location: Farmington, CT
Posts: 1
ericsims is an unknown quantity at this point
Re: Battery powered raspberry pi

I would try and use a circuit similar to this:
http://schematiccircuit.files.wordpr...ing-lm7805.jpg

That is what out team did to make our onboard PI work. Have you tried anything similar to that yet?
  #4   Spotlight this post!  
Unread 26-07-2013, 21:48
techhelpbb's Avatar
techhelpbb techhelpbb is offline
Registered User
FRC #0011 (MORT - Team 11)
Team Role: Mentor
 
Join Date: Nov 2010
Rookie Year: 1997
Location: New Jersey
Posts: 1,620
techhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond repute
Re: Battery powered raspberry pi

My advice is a step-up switching regulator like in the FIRST PDB.
Going into a step-down switching regulator sort of like inside the cRIO.

National Semiconductor makes parts that will switch battery voltage up to roughly 20V.
Obviously because look at the cRIO input voltage.

National Semiconductor also makes parts that will switch roughly 20V down to 5V.

Each stage of regulation is both a noise filter and complements the other.

If you switch up to 20V and the battery caves to 8V the 20V suffers.
However the next stage just needs to get 5V so that 20V quality issue is damped.

Each stage will be probably about 87% to 95% efficient with switching regulation.

On the other hand a 7805 as pictured will remove the excess energy as heat.
If the battery is 14.3V depending on the current enough heat for a heatsink.
Sure you can get a TO3 metal can version of the 7805 or make an external pass transistor but it still just burns energy off as heat.
If you do build that 7805 circuit you should install blocking and bypass silicon diodes.

Last edited by techhelpbb : 26-07-2013 at 21:51.
  #5   Spotlight this post!  
Unread 29-07-2013, 13:11
Kyle R Kyle R is offline
Registered User
FRC #4246 (Resurrected Robotics)
Team Role: Programmer
 
Join Date: Aug 2011
Rookie Year: 2012
Location: Illinois
Posts: 6
Kyle R is an unknown quantity at this point
Re: Battery powered raspberry pi

We have had pretty good luck with using one of these (http://www.andymark.com/product-p/am-0899.htm) to power an onboard RPi. It is the switching power supply that comes in the KOP for the wireless bridge but it works great for powering the RPi. Another bonus is you probable have one left over from a previous year.
  #6   Spotlight this post!  
Unread 29-07-2013, 13:21
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,562
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Battery powered raspberry pi

Quote:
Originally Posted by ohrly? View Post
This year, we had problems with the unstable power supply for our onboard raspberry pi. I'm a little stuck as to how to solve that:
What power supply did you use last year?
  #7   Spotlight this post!  
Unread 06-08-2013, 11:56
techhelpbb's Avatar
techhelpbb techhelpbb is offline
Registered User
FRC #0011 (MORT - Team 11)
Team Role: Mentor
 
Join Date: Nov 2010
Rookie Year: 1997
Location: New Jersey
Posts: 1,620
techhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond repute
Re: Battery powered raspberry pi

Has anyone considered using one of these for your power needs from the robot battery?

http://www.dfrobot.com/index.php?rou...product_id=752
(That is the source in China)
http://www.robotshop.com/productinfo...222&lang=en-US
(They carry their products here in the U.S. and Canada)

I have several Chinese manufactured PCB with National Semiconductor regulators and when I have some time (probably in the next week or so) I will power them up and test them at 1A from 7VDC to 15VDC.

I stumbled across that because I bought one of their Relay Shield V1.2 to update my ever growing pile of Arduino swag.

Last edited by techhelpbb : 06-08-2013 at 12:14.
  #8   Spotlight this post!  
Unread 06-08-2013, 14:17
ohrly?'s Avatar
ohrly? ohrly? is offline
Griffin Alum
AKA: Colin Poler
FRC #1884 (The Griffins)
Team Role: Alumni
 
Join Date: Jan 2013
Rookie Year: 2011
Location: London
Posts: 58
ohrly? is an unknown quantity at this point
Re: Battery powered raspberry pi

We used a second 12v-5v power converter (http://www.andymark.com/product-p/am-0899.htm). It was a problematic because if the compressor and shooter motors were both running at the same time, there wouldn't be enough power left for anything else.

I realize now that was because we chose our gear ratios terribly and the shooter motors were running very inefficiently, but all the same I wanted to try to isolate the RPi's power from the rest of the robot so it wouldn't cut out.
  #9   Spotlight this post!  
Unread 06-08-2013, 14:35
techhelpbb's Avatar
techhelpbb techhelpbb is offline
Registered User
FRC #0011 (MORT - Team 11)
Team Role: Mentor
 
Join Date: Nov 2010
Rookie Year: 1997
Location: New Jersey
Posts: 1,620
techhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond repute
Re: Battery powered raspberry pi

Quote:
Originally Posted by ohrly? View Post
I realize now that was because we chose our gear ratios terribly and the shooter motors were running very inefficiently, but all the same I wanted to try to isolate the RPi's power from the rest of the robot so it wouldn't cut out.
The problem ultimately will be that you can't really store energy for a protracted period with the FRC rule limitations on custom circuits.

The allowance of a laptop and it's battery I think were more intended to allow teams to not have to make more electronic modifications to the laptops which usually come neatly packaged.

I suspect if you put any largish capacitor or battery on the robot within a custom circuit specifically to provide 0.X seconds of storage you'll start to have issues getting through inspection.

I would be interested to know if anyone has managed to pull off a storage capacitor or battery in a custom circuit and made it through an actual FRC inspection. You can get high Farad value capacitors at 5V that would easily provide a robust filter against short drops in the battery. However those capacitors do not generally discharge themselves and for a relatively short period of time after a power off power will remain. It is possible to make a discharge circuit for a capacitor after power off but I'm not even sure the capacitors or auxillary battery would be allowed.

Last edited by techhelpbb : 06-08-2013 at 14:37.
  #10   Spotlight this post!  
Unread 06-08-2013, 16:02
FrankJ's Avatar
FrankJ FrankJ is offline
Robot Mentor
FRC #2974 (WALT)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2009
Location: Marietta GA
Posts: 1,906
FrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond repute
Re: Battery powered raspberry pi

So I guess this is out of the question?
Attached Thumbnails
Click image for larger version

Name:	capacitor.jpg
Views:	306
Size:	390.1 KB
ID:	15129  
  #11   Spotlight this post!  
Unread 06-08-2013, 16:13
techhelpbb's Avatar
techhelpbb techhelpbb is offline
Registered User
FRC #0011 (MORT - Team 11)
Team Role: Mentor
 
Join Date: Nov 2010
Rookie Year: 1997
Location: New Jersey
Posts: 1,620
techhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond repute
Re: Battery powered raspberry pi

Quote:
Originally Posted by FrankJ View Post
So I guess this is out of the question?
LOL I actually have a 3.5F capacitor for automotive electronics on my test robot frame at home. It basically comes with it's own welder.

I was thinking something more like this:
http://www.karlssonrobotics.com/cart...Fcef4Aodwy0AYQ

I love that datasheet.
For tolerance it lists: -20%〜+80%
So I guess it's perfectly okay to send out a 15F capacitor instead of a 10F capacitor?
Might make the RC time constants *just a bit* longer.

BTW: With a capacitance this large one really needs to consider the currents that will flow if that capacitance is entirely discharged and someone connects a power source to it. Luckily with control system boot and robot setup times of at least 1 minute there's time to charge it slowly. Though I still doubt it is legal in FRC.

Last edited by techhelpbb : 06-08-2013 at 17:13.
  #12   Spotlight this post!  
Unread 06-08-2013, 17:04
Brian Selle's Avatar
Brian Selle Brian Selle is offline
Mentor
FRC #3310 (Black Hawk Robotics)
Team Role: Engineer
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Texas
Posts: 162
Brian Selle has a spectacular aura aboutBrian Selle has a spectacular aura aboutBrian Selle has a spectacular aura about
Re: Battery powered raspberry pi

How about a BEC used for RC cars and planes?

http://www.graysonhobby.com/catalog/3ampbec-p-786.html
__________________
2015 Newton Semi-Finalist (3130, 2468, 3310, 537)
2015 Lubbock Regional Winner (2468, 3310, 4799)
2014 Galileo Quarter-Finalist (2052, 70, 3310, 3360)
2014 Colorado Regional Winner (1138, 3310, 2543)
2013 Texas Robot Roundup Winner (3310, 624, 2848)
2013 Archimedes Semi-Finalist (126, 3310, 1756)
2013 Dallas Regional Winner (148, 3310, 4610)
2012 Dallas West Regional Winner (935, 3310, 4206)
  #13   Spotlight this post!  
Unread 07-08-2013, 16:18
efoote868 efoote868 is offline
foote stepped in
AKA: E. Foote
FRC #0868
Team Role: Mentor
 
Join Date: Mar 2006
Rookie Year: 2005
Location: Noblesville, IN
Posts: 1,387
efoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond repute
Re: Battery powered raspberry pi

Quote:
Originally Posted by techhelpbb View Post
I love that datasheet.
For tolerance it lists: -20%〜+80%
So I guess it's perfectly okay to send out a 15F capacitor instead of a 10F capacitor?
Might make the RC time constants *just a bit* longer.
I suspect that tolerance is more closely related to ambient temperature than their manufacturing capabilities.
__________________
Be Healthy. Never Stop Learning. Say It Like It Is. Own It.

Like our values? Flexware Innovation is looking for Automation Engineers. Check us out!
  #14   Spotlight this post!  
Unread 07-08-2013, 16:30
techhelpbb's Avatar
techhelpbb techhelpbb is offline
Registered User
FRC #0011 (MORT - Team 11)
Team Role: Mentor
 
Join Date: Nov 2010
Rookie Year: 1997
Location: New Jersey
Posts: 1,620
techhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond repute
Re: Battery powered raspberry pi

Quote:
Originally Posted by efoote868 View Post
I suspect that tolerance is more closely related to ambient temperature than their manufacturing capabilities.
Well Digikey sells the Nichicon super capacitors and they list +/-20% as does Murata.
BTW if you look through the high end capacitance in the Digikey component search it's pretty interesting.

A few thousand Farad capacitor anyone?
  #15   Spotlight this post!  
Unread 07-08-2013, 17:08
wilsonmw04's Avatar
wilsonmw04 wilsonmw04 is offline
Coach
FRC #1086 (Blue Cheese)
Team Role: Teacher
 
Join Date: Dec 2006
Rookie Year: 2007
Location: Midlothian, VA
Posts: 1,877
wilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond repute
Re: Battery powered raspberry pi

maybe I read the rules incorrectly, but wasn't there an exemption on battery power when in came to on board computing? Laptops can use a battery. what's the significant difference in that RPI and a laptop?
__________________
Currently: Coach FRC 1086/FTC 93
2006-2011 Coach FRC 2106/FTC 35
If you come to a FRC event to see a robot competition, you are missing the point.
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


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

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