|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools |
Rating:
|
Display Modes |
|
|
|
#1
|
||||||
|
||||||
|
Re: Battery powered raspberry pi
What power supply did you use last year?
|
|
#2
|
||||
|
||||
|
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. |
|
#3
|
||||
|
||||
|
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. |
|
#4
|
||||
|
||||
|
Re: Battery powered raspberry pi
Quote:
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. |
|
#5
|
||||
|
||||
|
Re: Battery powered raspberry pi
So I guess this is out of the question?
|
|
#6
|
||||
|
||||
|
Re: Battery powered raspberry pi
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. |
|
#7
|
||||
|
||||
|
Re: Battery powered raspberry pi
|
|
#8
|
|||
|
|||
|
Re: Battery powered raspberry pi
I suspect that tolerance is more closely related to ambient temperature than their manufacturing capabilities.
|
|
#9
|
||||
|
||||
|
Re: Battery powered raspberry pi
Quote:
BTW if you look through the high end capacitance in the Digikey component search it's pretty interesting. A few thousand Farad capacitor anyone? |
|
#10
|
||||
|
||||
|
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?
|
|
#11
|
||||
|
||||
|
Re: Battery powered raspberry pi
Quote:
Quote:
However the Raspberry Pi does not ship with a battery to power it. I've sent a question over to FIRST in private to see if they'll let a battery or large capacitor integral to an approved power conditioning device onto an official competition field. Of course getting approval is a process in itself. Fundamentally I think the answer to why integral batteries to COTS devices are allowed but not custom circuits has to do with the chance that someone builds something strange or unsafe that leaks power into unexpected places with the potential to cause movement when disabled or powered off. Also it goes back to the rules about devices that store energy of any type. Though I grant that custom circuits are not supposed to be connected to actuators of any sort so how exactly the power gets to movement must be left to the imagination (many laptops have fans that spin in them as well but again...they are within the laptop itself). Last edited by techhelpbb : 07-08-2013 at 17:31. |
|
#12
|
||||
|
||||
|
Re: Battery powered raspberry pi
So you build a small battery into a case that holds a raspberry. Make enough to sell to other teams that might want one. create a little LLC to make/sell it. Presto a cots device. Fits the letter & spirit of the rules.
I think the main reason for no batteries in custom circuits is there is just not enough time to adequately inspect them & it greatly simplify the rules in this area. |
|
#13
|
|||||
|
|||||
|
Re: Battery powered raspberry pi
There is, as far as I can tell, no reason you can't put some significant capacitance across the power input to the Pi, so long as the capacitors are charged by the robot battery. (Dropped to 5V, of course...) The rule doesn't say that you cannot store electrical energy, only that the electrical energy has to come from the battery.
The standard way to power a Pi from a 12V battery is to simply use a car "cigarette lighter" charger. Most of them should contain a 5V switching power supply capable of delivering at least one amp. I'd say, find an old car charger that you've got kicking around, hook it up to a variable power supply and your Pi, and slowly turn down the voltage on the power supply until the Pi stops. Jason P.S. My hope for the year 2040... "Mum, why did that old guy call the power port a cigarette lighter?" "Because people used to use that to light cigarettes, dear." "Yeah, but what's a cigarette?" Although more likely it will be... "Mum, did you really have to plug your chargers in to something and use wires?" or... "Mum, what is 'USB'?" |
|
#14
|
||||
|
||||
|
Re: Battery powered raspberry pi
Quote:
The question is what a 'laptop' consists of. Is a tablet a laptop? If it is there goes the mouse and keyboard. Does it really need a display? I know we removed the display and keyboard from our laptop and it passed inspection. However both the keyboard and display were present when we bought that netbook. Quote:
The current that a high value capacitor will draw when deeply discharged needs to be limited. If that current is drawn through a 7805 regulator as discussed earlier in the topic it could cause some damage unless there is at least a series resistance between it and the regulator output. If you simply use a resistor like that it will increase the amount of time it will take for the voltage on the capacitor to reach say 5V. If the capacitor is plugged directly into the input of the Raspberry Pi that will create a strange situation where you rely on the reset control circuitry to hold off the chip operation until the input power is at the proper voltage. That could cause some issues. On the other hand if the power supply from the battery to the capacitor is a switching power supply then you have the problem that happened other years (regarding the radio DC-DC converter) where there is a finite upper limit of capacitor you can place there before it dramatically alters the filter at the final stage of the switching regulator altering the quality of regulation. So there are a few reasons to properly size the capacitor or use especially high value capacitance in circuits that manage their behaviors. Not to say it can't be done if in fact no one says no to it. Last edited by techhelpbb : 07-08-2013 at 23:32. |
|
#15
|
|||||
|
|||||
|
Re: Battery powered raspberry pi
Quote:
I'd have the voltage regulator (either switched or linear) run off the 12V capacitor bank. The capacitor bank would often be drawn down below 12V, but every time you stopped the motors and the battery voltage went back up again it would recharge. So long as the caps stayed above about six volts, the Pi would be fine. I'd also put a capacitor across the 5V leads on the output of this circuit, of course, just to deal with any ripple from the regulator. The main reason I'd tend to not use the caps downstream of the regulator as my "backup supply" is that they would drop below 5V very rapidly as they would only be charged to 5V to begin with! The main point that I wanted to make, however, was that a capacitor bank would be legal, so long as it was charged by the robot battery. Jason |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|