Is it ok to take the output of a solar panel (no MPPT, but de-rated) and pipe it into a switching regulator at say, 3.45v? The output of the regulator would go into my micro, an STM32F103 and a LiFePo4 in parallel.

I'm hoping that when there is sun, it will float charge the battery and power the micro and when there is no sun, the battery will power the micro.

I will have a diode on the panel.


What you propose is OK as long as the battery is not charged beyond its maximum voltage rating. For really critical applications, that maximum voltage rating must be adjusted as a function of temperature. Otherwise, use the lowest allowed voltage over the temperature range the battery will encounter.

The charge current must also be limited, especially when the battery is low. However, for a solar panel, that can be achieved by sizing the panel so that it can't over-current the battery with maximum sunlight.

Also be careful about the charger drawing down the battery when there is no power from the solar panel. Even something like a voltage divider to feed a fraction of the battery voltage into a comparator or A/D can drain the battery over time. A diode in series is one way to deal with this, but then you have to be careful about the maximum voltage setting. A Schottky diode may drop a few 400 mV at full charging current, but may drop almost nothing at low currents when the battery is nearly full.

| improve this answer | |
  • \$\begingroup\$ If I regulate the voltage out of the panel somewhere below the max voltage of the battery, the battery can never go higher than that, right? As far as current limiting, the battery will stop drawing current as it approaches the same voltage as the regulator, so you just mean don't charge it at 2C if it is rated for 1C? \$\endgroup\$ – Matt Williamson Apr 23 '17 at 3:15
  • 1
    \$\begingroup\$ @Matt: Yes, regulating the voltage used to charge the battery will work. Current limiting is usually necessary for very low batteries, not nearly charged. \$\endgroup\$ – Olin Lathrop Apr 23 '17 at 11:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.