3

I'm working on a hobby project based on the ATmega32U4. I'd like to be able to power the device by USB or LiPo battery. I was looking at the schematic for the LilyPad ProtoSnap Plus and saw a diode that looks like it's intended to prevent the battery from powering the load during charging.

As I understand, charge managers without power-path support may never "finish charging" a battery if the load is high enough to draw power from the charge manager/battery. Some more expensive and more complicated ICs have this built in, but not the LilyPad.

Instead, they have a Schottky diode between the battery output and USB power. It seems like as long as the power consumed by the load is adequately supplied by the USB power rail the charge manager won't be tapped as a power source, but I don't really know that to be true.

TL/DR Is the Schottky diode (D1) enough to support a power-path that doesn't prevent the battery from being "fully charged" when the load is present during charging?

LilyPad Battery Charger and Regulator

D. Patrick
  • 606
  • 6
  • 17
  • 1
    TL/DR... Yes :) – Finbarr Jan 19 '22 at 17:31
  • @Finbarr woohoo!! Thanks! – D. Patrick Jan 19 '22 at 17:32
  • 2
    The voltage on the battery will always be less than the 5V on VCC_1 when the USB connector is active. D1 actually prevents charging of the battery directly from the 5V line and allows charging to be correctly controlled by the charger. – Finbarr Jan 19 '22 at 17:33
  • Does it also prevent V_BATT from discharging when VCC_1 is supplied? – D. Patrick Jan 19 '22 at 17:41
  • 2
    Yes, because VCC_1 will be at a higher voltage (5V) than the battery, so D1 will be reverse biased. It only conducts when the USB voltage goes away. However, the caveat here is that if the USB host is just powered off rather than unplugged, this circuit might end up trying to supply battery power to the host via Vbus. – Finbarr Jan 19 '22 at 18:03
  • Oh, that's interesting. Should I put a diode between VBUS and VCC_1? – D. Patrick Jan 19 '22 at 18:23
  • 2
    Worth considering, some USB host ports - on older PCs especially - just connect Vbus direct to the 5V rail. – Finbarr Jan 20 '22 at 10:34

0 Answers0