Let's say I have a battery pack made from 3 lithium-ion cells connected in a series (making a battery with around 12 volts).
That battery pack has a PCB with balancing function and also protects the battery from over charging, over discharging and short circuit by interrupting the input/output to/from the battery when needed.
If I hook up to the battery a 12 volt rated solar panel (which usually has a very variable voltage, as all solar panels) that doesn't exceed the recommended charging rate of the battery, in my opinion, it should charge just fine because when the battery gets full the PCB interrupts the charging because of the overcharging protection, but i'm no expert so the question is: in theory does this work as fine as I think it does?
If not, would putting some kind of converter to turn the variable output from the solar panels into a proper constant voltage to supply to the batteries, charge them properly (considering the overchargin protection that would be in place)?