I have put together a circuit with TPS2115A, it's feeding a camera from two 5V 20Ah (USB) power banks. The IC (TPS2115A) is used in automatic mode, i.e. whichever supply is higher is sourcing current, hysteresis is between 0.1-0.2V. I added two LEDs on the inputs so I would know if the batteries are alive but also to keep them alive, since I knew the power banks shut down after 30min if not used. Resistors used in series are 220Ohm and the current through each LED is about 13-14mA. I set everything up yesterday and today the camera was still on and both LEDs are on, indicating both power banks are still on. Was pleased to see it worked and I left everything on, letting the power banks drain themselves and see how it behaves.
Meanwhile I was thinking that maybe I could use larger resistors to the LEDs and minimize current consumption. I have a third power bank that is identical, so I started to experiment what current draw is needed to keep it alive. Started with 470Ohm and the current was appr. 7mA, after 30min. the power bank shut down. Ok, so I tried a 220Ohm which I was sure would keep it alive since it works in circuit feeding my camera, but no, to my surprise the power bank shut down after 30min. I have tried several times.
Since my camera setup with power banks is in a garage about 20min. drive from home, I currently do not have access to it, but I have started to try to figure out why the power banks are alive, or that in fact only one is alive and the LEDs are fooling me. I checked the LEDs and they are bidirectional, green when connected as normal and red when polarity is reversed, however, they are giving off green light, I'm wondering if putting these LEDs on the inputs can mess with ICs intended operation. What do you think, please look at the schematic below:
Edit: I tried to figure out what was going on yesterday. Turned out that the both power banks were feeding current to the camera. Total current appr. 400mA, one power bank sourced 330mA, and the other 70mA (LEDs were disconnected). It (the IC) used IN1 (input 1) when camera was off, but as soon the camera was switched on and thus a larger current needed, the IC switched to using IN2. I had a small LED connected to the STAT input to see which input was connected to the output.
There was some horrible ripple and noise on both input and output when both power banks where connected and OUT was connected to IN2, if I forced the IC to use IN1, through the logic inputs, the ripple disappeared. The same happened when using only one power bank, no ripple.
See pictures below. I tried every combination but I couldn't get it to function properly so I gave up on it. The IC is in a TSSOP-8 package which I hand-soldered to a DIP-adapter, it's possible it got damaged, although I'm careful. I'm now going to use an evaluation board of the LTC4370, which shares and balances the current/load between two sources, which conveniently also keeps the power banks alive. This one.
Oscilloscope inputs are AC coupled in pictures. The first one shows one input (yellow) and output (blue) when IN1 (forcing it through logic) connected to OUT or whenever only one power bank is connected, camera is on in both pictures. The other picture shows the default mode when IC is in automatic mode; it selects IN2 as soon the camera is turned on. Any idea what could cause these ripples? I used heavy filtering at the end of the evening.
I should add that a small current was being fed to a small peripheral device through a 1W DC/DC-converter, which was the primary suspect, it only draws about 30mA and uses an input LC-filter. Naturally, I had it disconnected in the beginning, but it made absolutely no difference.