I have a question regarding frequency and inductance. What is the relation between frequency of an applied voltage that is square wave, over an inductor, and the average current that would flow through it? Is there a way to calculate it using analitic equations? I am working on a motor application for university. I applied 5kHz pwm voltage over my motor windings and i couldnt stand the noise, because 5k is in the hearing range. So i applied higher frequency. I noticed that with higher frequency, the average current flowing through windings started to increase. I know we should not try to analyze impedance here as it is a square wave. Why does the current grow with increasing square wave frequency? I would apreciate all help.