Ok folks, been pondering this for a bit....
So I have boxes that are say 20m apart. Connected with cat5 cable, data(RS485), ground and "power" which leads to this...
each box has 3 18650s in series to give 11v1 nominal. Drain will be fairly light at no more than about 100mA per box when active.
There is a master box, a slave, and some supplimentry boxes that do other functions.
Everything to be controlled by master box... And I want all batteries in the boxes to "normalise" or balance to the same charge ultimately. Every so often I will bring a car battery with a Li-ion charging cirtuit to trickle charge things over a period of a week.
So, here is my circuit. each unit controlled by a PIC, 1829 or similar with power from a small MP2338 switcher, nice and efficient...
There is an issue I have tried to overcome with the "ideal diodes", that being that you cannot exceed Vs of the multiplexer switches, so the voltage from the highest module is used as Vs.
PIC samples voltage from it's own battery and that of the remote's battery to determine if firstly the voltage difference is reasonable, and secondly, if normallising falls within reasonable limits, whether a current limit resistor should be switched or if the supplies can be directly connected. Bear in mind, the current can flow either way...
So, program aside, are there any serious issues with my idea? I am still concerned about the multiplexer, of course even an "ideal diode" will exibit a voltage drop, and the data sheet does suggest max switchable voltage is Vdd.. I just cannot find another solution that can allow me to get round this and remain compact/simple/low overheads (quiescent current etc..)
Not too worried about the connection of the batteries directly... As long as I am careful and don't allow too much current, hence the low fuse connecting being the link between both sets of batteries, lower than the maximum rating of the multiplex.. One thing is for sure, they won't be overcharged amongst themselves!
Thoughts appreciated!
**Ignore the divider values, not decided if PIC will run from 3v3 or 5v yet!