Two-stage fast charging method using dual-switch flyback converter