The operation of future microgrids will require the use of energy storage systems employing power electronics converters with advanced power management capacities. This paper presents the control scheme for a medium power lithium-ion battery bidirectional DC/AC power converter intended for microgrid applications. The switching devices of a bidirectional DC converter are commanded by a single sliding mode control law, dynamically shaped by a linear voltage regulator in accordance with the battery management system. The sliding mode controller facilitates the implementation and design of the control law and simplifies the stability analysis over the entire operating range. Control parameters of the linear regulator are designed to minimize the impact of commutation noise in the DC-link voltage regulation. The effectiveness of the proposed control strategy is illustrated by experimental results.