Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Functional battery power system #17

Closed
ivogeorg opened this issue Oct 26, 2021 · 13 comments
Closed

Functional battery power system #17

ivogeorg opened this issue Oct 26, 2021 · 13 comments
Assignees
Labels
critical path A principal piece of the system
Milestone

Comments

@ivogeorg
Copy link
Contributor

ivogeorg commented Oct 26, 2021

Description

Power a RPI 4 with the EP-0136 UPS PLUS. Load the processor with continuous video capture and storage to SD card. Time the discharge.

Open questions

  1. How can the RPi gracefully power itself down upon UPS low-battery condition?
  2. Can the UPS communicate with the RPi?

Knowledge

  1. EP-0136 on the 52pi wiki.
  2. UPS Plus repo on Github.
@ivogeorg
Copy link
Contributor Author

@ivogeorg
Copy link
Contributor Author

ivogeorg commented Oct 27, 2021

This is weird: the gold pins on the left have to "plug in" to the header bottoms on the right...

UPS RPi

The RPi and UPS communicate over I2C. Two of those pins are SCL and SDA.

They don't fit well and don't make a good enough connection to rely on during a turbulent flight. If we don't rely on them, we need to come up with a connector to them, but I haven't seen female pins that would fit these. Any ideas?

@ivogeorg
Copy link
Contributor Author

We may be able to live with it:
image

@dperry29
Copy link
Contributor

i feel like with the jackpost screws it is probably ok... but we can do a small spot solder if we want

@ivogeorg ivogeorg changed the title Test the discharge of the EP-0136 with a highly loaded processor Come up with a reliable battery power solution for the RPi Nov 4, 2021
@ivogeorg ivogeorg changed the title Come up with a reliable battery power solution for the RPi Reliable battery power solution for the RPi Nov 4, 2021
@dperry29
Copy link
Contributor

dperry29 commented Nov 4, 2021

11/4/2021 Update

Battery Type:
-Need to decide what battery type we will actually fly
-Will run room temp battery discharge comparison bench tests 11/5/21

Power delivery system:
-Raspberry Pi UPS, X728 V2.1 to be ordered and (if comes in) tested next week
-Will do full evaluation tomorrow on powerboost 1000c (still think we can use this if we setup it up correctly)
-possibly continue to troubleshoot EP-0316

@ivogeorg ivogeorg assigned sschis and dtucker18 and unassigned ivogeorg Nov 4, 2021
@dperry29 dperry29 changed the title Reliable battery power solution for the RPi Functional battery power system Nov 5, 2021
@NotfatPrince NotfatPrince added the critical path A principal piece of the system label Nov 5, 2021
@dperry29
Copy link
Contributor

Sounds like @sschis (seth) got the new battery board running a pi with no crashes. Nice work!

@ivogeorg
Copy link
Contributor Author

ivogeorg commented Nov 12, 2021

@sschis @dtucker18

Yesterday you guys said the new power pack HAT doesn't measure and report the current like the EP-0136. Couldn't we use the ZIO voltage and current sensor we bought for that? Max current rating is 3.2 A and nominal RPi 4 max current is 3 A. There seems to even be an RPi library for it.

@dperry29
Copy link
Contributor

dperry29 commented Nov 12, 2021 via email

@ivogeorg
Copy link
Contributor Author

Update

We are no longer using the 52pi UPS Plus EP-0136. We are using the Geekworm X728.

@sschis
Copy link

sschis commented Nov 12, 2021

I suppose we can use it to test the current draw on the bench test and use that as rough assumptions for flight use, but not sure how it would fit into the stack long-term.

@dperry29
Copy link
Contributor

Update 11/12/2021

INA-219 operational and giving sensor data
X728 Powering Rpi 3 via cabling (not in stack)

Next Steps:
Physical integration.
-Which pins are used/unused on X728 and INA-219
-How will the pins be connected to the flight Rpi
-Building custom cable setup
*All of this is currently functional but we need to make physically compatible with the rest of the stack setup and "flight-worthy"

@sschis
Copy link

sschis commented Nov 18, 2021

option 1:
separated stack
ribbon cable(female plug) from power board
splice out the two 5V pins into current sensor (V+)
splice two 5V pins (V-) from current sensor back into ribbon cable
ribbon cable into TOP HAT (need a new hat..old one not working? Qwiic PiHat v10)
^^need a 40pin female to long male extender so the ribbon cable can plug into top of stack
(regular existing male pins too short to connect hat AND ribbon cable female plug)

parts needed:
40pin ribbon cable: shorturl.at/xFJR7
new PiHat Qwiic v10: https://www.sparkfun.com/products/14459

@ivogeorg
Copy link
Contributor Author

PSU works fine with 2 batteries for about 1.5 hours at 75% load (stress test) and over 2.5 hours with normal load (~10%). This was tested at lawn demo and will be sufficient for EOSS-319 in Jan 2022.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
critical path A principal piece of the system
Projects
No open projects
Status: Done
Development

No branches or pull requests

5 participants