Time-averaging equivalent circuit analysis of a resonant switching converter