Analysis and implementation of a boost DC–DC converter with high voltage gain and continuous input current