Automatic EMI Filter Design Through Particle Swarm Optimization