2

I'm working on a project with several sensors needing various 3.3v and 5v power. I'd like to have my sensors running for at least 24 hours before needing to recharge everything. I did the calculations:

6 Volts 12 Amps discharge current

enter image description here

To get over 24 hours I would need at least a 400Ah battery. Perhaps there is a better way to power this? What is typically done for large robots with a lot of sensors?

12
  • 2
    Does this include powering a raspberry pi device of some description? how did you calculate you need at least 400Ah? Doesn't look right Feb 5 at 23:35
  • @JaromandaX I added a screenshot of the calculations from the calculator. I looked up that a single D battery is about 10Ah so I'm also using that. No this is just powering the sensors at the moment. The way I got the discharge current was I looked up for an MQ-2 Gas sensor is about 800mW and I'm using 9 of those plus other sensors.
    – Katianie
    Feb 6 at 0:00
  • OK, so your calculation shows 33hrs, that's over 24 :p I just thought it didn't make sense :p Feb 6 at 1:22
  • @Milliways It involves many sensors that are connected to a Pi. Perhaps not directly related but still related.
    – Katianie
    Feb 6 at 2:13
  • 1
    @Criggie It has to be wireless. It can plug into a wall for charging but I want it to run for at least 24 hours not physically plugged in.
    – Katianie
    Feb 6 at 18:35

6 Answers 6

1

Your approach is generally sound in that you are undertaking a power budget early in your design. Wrt your question ("What is typically done ...?"), I think the answer is that one typically evaluates different approaches, and different technologies to determine the tradeoffs between the candidate designs. Tradeoffs might include cost, weight, performance, etc. There are typically requirements to be considered as well; e.g. The sensor system must operate for X hours without re-charging the batteries.

One thing I noted when reading your comment was your statement, "... a single D battery is about 10Ah ...". If you're talking about a D-cell battery, you should know that the internal resistance of most batteries will increase when they discharge more current. This has the effect of reducing the actual amount of energy you can draw from the battery (Energy being equal to power over time).

I won't go into details here, but you can ask other detailed questions if you like. My point is only that you cannot correctly assume that a battery under discharge will maintain its rated voltage over the entire period of discharge. The website "Battery University" is usually a good resource for understanding the behavior of various battery chemistries.

Hope that helps.

4
  • Thanks for the info. I guess that's were voltage regulators come into play to keep a consistent voltage but that's another question entirely. If you were making a device like mine, would you use a big 400Ah battery? Like you said, its all based on the requirements and in my case I'm looking to keep things running for atleast 24 hours without needing to recharge.
    – Katianie
    Feb 6 at 1:04
  • 1
    @Katianie: You're correct - that's where voltage regulators come into play :) Based on the info you've provided I would be leaning toward a big battery, but I'd think seriously about a higher voltage battery. I-squared R losses due to the higher currents in the batteries themselves and the wiring are lower when the voltage is higher... this is where the tradeoff study is useful. Another consideration is avoiding deep discharge whenever possible - deep discharges reduce the lifetime of your batteries.
    – Seamus
    Feb 6 at 1:12
  • 1
    "The way I got the discharge current was I looked up for an MQ-2 Gas sensor is about 800mW and I'm using 9 of those plus other sensors". OK, at 5V, 800 mW is 160 mA. Nine of these is 1.44A, not 7.2A, Are you confusing watts and amps?
    – John Doty
    Feb 6 at 22:26
  • @JohnDoty: Are you sure this is where your comment belongs??
    – Seamus
    Feb 7 at 3:10
3

Please re-evaluate your power budget. Perhaps measure the actual typical current.

You mentioned 9 MQ-2 sensors, 0.8W each. This makes 7.2W considering the "maximum" values from the datasheet. The actual average consumption will likely be lower - the heating element will draw the most power during initial heat-up. You may also consider if you need to run the sensors continuously - although for the gas sensors the heat-up time will be a limiting factor.

Even considering the Pi (let's assume 5V*2A = 10W, although it most certainly won't draw 2A average), I'm not sure how you arrived at the 12A current - for a 6V battery, 12A discharge current produces 72W (the actual useful power will be a bit less considering the efficiency of a step-down converter).

A 2.4kWh battery is somewhere between an e-bike and electric motorcycle battery. This is where I would look if I really needed this kind of capacity.

2
  • Thanks for the details, 12A is an over estimate if I need to attach other things in the future but at the moment I'm looking at about 7.4Amps. I looked at some e-bike batteries like you suggested but I only see around 20Ah batteries. I'm leaning toward something like this, what are your thoughts? amazon.com/dp/B09J3JCC4N
    – Katianie
    Feb 6 at 16:54
  • @Katianie, I think that if the numbers you've put on other comments are correct, that'll power your setup for weeks, if not months.
    – Mark
    Feb 7 at 4:08
3

I haven't run the numbers, but in my case for example I have a system (Pi 4 + 7" HDMI screen) which will consume 7W (@ 5V) continuously. It will run for 7 hours on 6S li-po (3 in series and 2 in parallel each).

Even in the worst case (when a circuit associated to it consumes 72W for 5 seconds every 2 minutes) the batteries will last 3 hours.

400Ah seems to me an overly large battery for your case. Will you really need all those 12A continuously? If so, can't you by chance switch them on an off as you use them?

1
  • In reality its probably more like 7.4Amps instead of 12 but I'm over-calculating in case I need to attach additional things. But yea for the gas sensors they need to be on as long as possible, the longer they can run and heat up the more accurate they are (for the most part). I tried as a test to run 4 D batteries in series to power the 9 gas sensors and the batteries died in less than 24 hours so that's part of why I think I might need a big battery.
    – Katianie
    Feb 6 at 17:00
1

Just quick, this is a time to add power efficiency to your design process. It's a whole different mindset from functionality.

Can you get more efficient heaters, better insulation? Does everything need to run all the time?
Maybe this is a time for external I/O hardware to offload the power requirement The Pi is wonderful, but it's not a low power device. Is there a lower power device? (zeroW is marginally better but needs some work to get GPIO, iirc)

0

Do you need the gas sensors to be running all the time? Implement a relay that turns on the sensor, waits for them to heat up, take a reading, and shut them down for another ~60 seconds.

Even having to warm the heater, should use less power overall than leaving the heaters hot.

You need to decide how often the gas sensors need to be polled. There's no point polling every second or faster, but do you need 10 seconds, 1 minute, 2 mins, etc.

0

Another option is to use a dedicated PSU that can take 12V and supply the 5V and 3.3V needed. Something like a Pico PSU should be able to take voltage from your 12V battery and supply the load.

If finances and the physical environment permit, you could extend the runtime of your 12V battery source using a solar setup. A small 12V "trickle charger" may give a small time extension, or a large-enough panel could run the project indefinitely.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.