PWM Converter Integrating Partial-Shading Compensator for Photovoltaic Panels and Voltage Equalizer for Energy Storage Cells