Go to Post My only question is, Can your robot place tetras and deliver Krispy Kremes to team mentors in autonomous mode? - Rich Kressly [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,621
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,567
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,621
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,621
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,923
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,621
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 06-08-2013, 17:57
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,621
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
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]
If you want ARM:
I have never dealt with them but there are netbooks like this (runs Windows CE you *might* be able to put Linux on it you'd have to try):

http://www.saferwholesale.com/catego...FUei4AodaWoA2g

http://www.saferwholesale.com/300MHZ...0mini%20lp.htm

If you want something with more performance:
Search some place like Amazon or Walmart minding the $400 limit.
You should stay away from the refurbished or open box sales because they are not available consistently to everyone.
That might put you in violation of an FRC rule as well.

For example:
http://www.walmart.com/ip/Acer-Black...Specifications

I advise you to use flash storage and not a mechanical hard drive.
It's not just lighter it will not get trashed when you smash into things.

I can tell you from experience that if you remove the display and keyboard (which you do not need if your portable computer has a display output connector...the little ARM netbooks I linked earler do not) you can get a larger netbook down around 3lbs.

Last edited by techhelpbb : 06-08-2013 at 18:01.
  #14   Spotlight this post!  
Unread 07-08-2013, 13:47
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,567
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
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.
The specs for the power converter says it only operates down to 10v. I think almost any robot will draw the battery down below 10v at some point. The 7805 circuit that was posted will work down to a little more then 7 volts, which may be good enough. You can also use a low dropout linear regulator with the same footprint as the 7805 which will lower the required input voltage a little more. Both of these have the heat caveat that Brian mentioned. The 5v supply on the PDB will operate down to 5.5v and supply 3amps. This is probably the easiest, if you aren't already using it.

The gold standard is the boosting type of converters that Brian recommended, however they are probably unnecessary.

You can use the Driver Station Log Viewer to see what the battery drops to, which will help determine the required minimum voltage.

The current logic power converter works for the radio because the 12v power supply on the PDB for the radio is a boosted power supply, and will stay at 12v until the battery dips below 4.5v. The power converter probably isn't a great solution for other devices on the robot, however.
  #15   Spotlight this post!  
Unread 07-08-2013, 16:05
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

I think you're probably right. We also were using somewhat older batteries, which would contribute to the lack of voltage. I will try to keep the 5v supply on the PDB open for the Raspberry Pi, if not I'm sure the 7805 or a switching regulator will work.

Thanks everyone!
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 03:09.

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