High-performance control for power conversion topologies in battery charging applications