rooted wrote: ↑Wed Mar 15, 2023 2:34 am
I like the daughterboard idea since this increases flexibility greatly, but wouldn't that add substantial (relative) cost?
Naaah...

Nothing compared to the components on them.
And now please allow me to drop a rubber duck post, let's see if everything is in check.
So we have 12-24V output. This is because everyone has 12V supply, and I have 24V PSU.

In fact, it may even work with 5V input too, but what.. who.. why..
The fortunate fact about 6 cell stack is that 4V float voltage per cell should be OK - that means the battery charging circuit will be reduced to a boost converter (TBD).
However, there must be some sort of overvoltage protection - probably a PFET switch, the same as with undervoltage protection of the battery itself.
3V is a typical voltage of a depleted cell - that adds up to 18V. This renders the 5V and 12V outputs business easy - Buck converter for each of them.
5V converter should probably be 4A to support Odroid XU4 - a 5A-capable AP64501?
12V converter, I say 3A, so N2+ / N2L will work well and should spin up that SATA drive as well. I have no first hand data on HDD spin-up and the Internets are again not conclusive. AP63300 that is. Or the 5A options listed above, doubling the price.
And then, the "configurable" output. The idea is to have one output that nominally should be sourced straight from the input. If input fails, should be backed up by the battery. The challenges are:
- How to determine the nominal output voltage (pot? switches? "intelligent" auto-discovery?)
- ORing without ridiculous diode losses (PFET contraption, dedicated ORing driver <- expensive, or maybe just.. diodes? )
- Is 18V max (actually 17ish V) good enough? This will only happen when the battery is near depletion though. Most of the time 19V should be present.
This output should be 3A max. Yeah I guess H3+ could use more current than that, but the cells won't like such rate of depletion (2A would be more dignified TBH)
Fans, I don't know.. Another converter for each doesn't make sense (passives will be more expensive than the controllers). Either a 34063 hack, or 555 driven PWM contraption, or a linear regulator with a single transistor.. Depends whether the target current is 100mA or 1A.
Battery UVLO: a PFET driven by a comparator. There's no immediate danger if it engages a few hundred milliseconds too early or too late.
Input protection: Protection against overvoltage (very bad), but also reverse current if the external PSU doesn't like being supplied when it's off (Smart Power 3

). And also, reverse input polarity.
A diode would be nice, but can we afford a 0.3V drop? I guess we can, that's a 2.5% loss at 12V input after all, and even less with higher input voltage.
The overvoltage protection might work just like the battery UVLO, except it should impose a little delay. This way it will not turn on when the input voltage rises slowly and above the allowed input voltage level.
After the input Boost converter is selected, this might serve as a protective measure to some extent.
Diode: SBRT10U50SP5