Poe UPS Pi

A super-cap based Power-over-Etherent Uninterruptable Power Supply for a Raspberry Pi 3B+ and a hungry HAT too.
A Class-3 PoE PD front-end takes PoE power from an RPi 3B+ 4-pin header, a commercial Cosel DC-DC converter isolates and converts from 48V to 5V at 2A, a charger circuit keeps two series 25F super-caps topped up, a balancer circuit makes sure the super-caps stay in their voltage range, a boost converter circuit supplys the RPi with 4.9V, a microcontroller supervises operations and also provides a watch-dog function. All on a HAT sized RPi PCB, there's even room for a 20mm fan, super-capacitors are off-board but there's a full 40pin through-header to accept another HAT on top (eg a RAK2249 lora concentrator & GPS board).
The supercaps provide about 30s of backup time at 800mA load, that is enough to cover 10 seconds of power outage plus another 15 seconds during which the Pi is cleanly shut down (with the help of a service script) if necessary prior to power removal.
The impetus for this project was the construction of a LoRa gateway that must be highly reliable - trusted not to trash it's SD card and can be remotely located and managed.
I currently have a prototype up and running but have several bug fixes to implement on a revision-B PCB and am still working on the firmware for the microcontroller. Watch this space and let me know if you're interested.
The supercaps provide about 30s of backup time at 800mA load, that is enough to cover 10 seconds of power outage plus another 15 seconds during which the Pi is cleanly shut down (with the help of a service script) if necessary prior to power removal.
The impetus for this project was the construction of a LoRa gateway that must be highly reliable - trusted not to trash it's SD card and can be remotely located and managed.
I currently have a prototype up and running but have several bug fixes to implement on a revision-B PCB and am still working on the firmware for the microcontroller. Watch this space and let me know if you're interested.
Updates from the author
fishbeetle 5 years ago
fishbeetle 5 years ago
The new code also includes an improved algorithm for predicting reminaing hold-up time in the event of power loss.
fishbeetle 5 years ago
http://www.marvellconsultants.com/LoRa
fishbeetle 5 years ago
I can highly recommend JLCPCB.com for supplying the PCBs they're unbelivably cheap and if you spend what you save on delivery the board will arrive surprisingly quickly from HK. If you want to operate it without PoE you'll need to somehow provide a PGOOD signal to the PIC & balancer circuit to ensure proper operation. Be carefull not to short the output voltage, when I did that U7 blew up - but I did manage to successfully swap it out. Good luck.
Joshua 5 years ago
Can it be used as simple UPS if PoE is not used?
How are the signals managed by the Raspberry Pi?
fishbeetle 5 years ago
Patt1607 4 years ago
Is it possible to geht a füll shematic with all parts?
I want to make my own Board for rpi4
Rgds
fishbeetle 4 years ago
fishbeetle 5 years ago
fishbeetle 5 years ago
Sir Cer 5 years ago
Nice project.
Are the project files available?
It should be very useful to unpopulate the PoE part, and use it only as managed UPS for mains failures.
Jesus.
fishbeetle 5 years ago
fishbeetle 5 years ago
fishbeetle 5 years ago
fishbeetle 5 years ago
Revision A prototype under test (532kb)