Design of a Bi-directional Flyback DC/DC converter