IEEE TRANSACTIONS ON POWER ELECTRONICS, VOL. 29, NO. 3, MARCH 2014 1447 Toward the Design of Control Algorithms for a Photovoltaic Equalizer: Choosing the Optimal Switching…