Let's say you have an 8 pole BLDC motor with a maximum RPM of 5000. for 8 poles, that's 4 pole pairs, so it would take 4 electrical cycles to get 1 mechanical revolution. In order to spin this motor it 5000 RPM, it would take 20KHz of pure DC pulse, but since it need to be PWM, it should be at least 10X higher frequency than that*, so 200KHz is what PWM Frequency I need to use? That seems really high; Am I doing it right?
*Microchip AN885:
*Microchip AN885:
As a rule of thumb, the PWM frequency should
be at least 10 times that of the maximum frequency of
the motor.