Modeling and Analysis of Bidirectional DC-DC Converter Control