I'm trying to learn about solar, and have made some progress, but have come up against something I don't understand, and could use some help.
A while back Andreas Spiess posted a Youtube video (#383) proposing that we power the popular and cheap TP4056 lithium charger module with a solar panel for outside projects. He added the usual load sharing parts (aka "power path") so the solar panel could power the load directly when it's in sun.
But then at about 5:40 into the video, he starts talking about MPP, and ends up saying that we need to replace the default charge current setting resistor - 1.2K for 1 Amp - with a pot so if the panel is too small to deliver 1A, we can adjust the charging current close to the MPP and maximize power. He says, "Now we can adjust the charging current to maximum current when the panel is in full sun." I think this implies that there is a pot setting that gives maximum current, with lower current being produced on either side of that setting. This makes absolutely no sense to me.
The TP4056 is a linear charger. It requires a minimum of 4V to operate at all, and the input voltage must also be 30mV above the battery voltage for any charging to take place. Based on my very limited experience with solar panels, and assuming the charge current setting is left at 1A, I believe a small panel will produce the maximum current it can at the lowest voltage that still produces charging, and setting the charge current to any smaller value will do exactly that - it will just reduce charging current and extend charging time. It will also increase voltage which will only result in increased dissipation in the charger. So what's important in a linear charger input is maximizing current, not maximizing power.
If that's correct, there will not be a "maximum current" pot setting. Adjusting the charge current setting down from 1A will have no effect until it gets to whatever the panel is currently producing, and any reductions from that level will simply reduce the charging current and extend charging time. I can see it would be different if the charger were switch-mode because then maximizing power in would permit maximizing power out. But I don't see MPP being relevant for a linear charger like the TP4056.
So as I see it, the charge current setting should be whatever is right for the battery, not the panel. And if the panel can't provide that much, don't worry about it - it will provide what it can at the lowest voltage that still works, and you can't do better than that - maximum charge current with the least dissipation. No pot is needed unless the *battery* needs a lower charging current.
However, I know that when a hobbyist like me disagrees with an EE, I'm usually the one that's wrong. So if I'm wrong about this, I hope someone can explain what I've missed.
By the way, in case anyone is interested, Andreas' circuit doesn't work so well under partial illumination (battery current flows through the p-fet body diode), but I worked out a more complicated version using an opamp that works fine. The output voltage is never less than battery voltage. See below.