Three-Port High Step-Up and High Step-Down DC-DC Converter With Zero Input Current Ripple