Text this: Passivity-based control for battery charging/discharging applications by using a buck-boost DC-DC converter