For my BLDC controller, I'm using a sensorless BEMF method that samples the BEMF synchronously with the PWM and as a result my sampling/PWM frequency has to be at least 3x higher than the motor's commutation rate for smooth operation. THe problem is that this increases the switching losses too much.
I was thinking about varying the PWM frequency so that the MCU would adjust the PWM frequency according to the measured commutation frequency after each commutation. THe result would be that the current commutation period would be measured and the PWM frequency would be updated at the beginning of the next commutation so that the sampling/PWM frequency would be 5x faster than the commutation frequency...within limits of course. THe minimum frequency being 10kHz and the maximum being 40kHz.
The reasoning is that when a motor is spinning more slowly it is under higher load and drawing more current and since the commutation is also occuring more slowly, lowering the PWM frequency will reduce switching losses while not affecting smooth commutation. Conversely when spinning faster, higher sampling/PWM frequencies are required to ensure smooth commutation and the motor is also under less load and drawing less current, so increased switching losses can be tolerated.
But I think this might cause increased EMI since the PWM frequency is changing. I'm not entirely sure why it would cause an increased amount of noise relative to fixed frequency PWM method, although the frequency of the noise would be more unpredictable. Does anyone have any knowledge or opinions on this matter?
Audible noise is not an issue, as long as the motor is operating smoothly.
I was thinking about varying the PWM frequency so that the MCU would adjust the PWM frequency according to the measured commutation frequency after each commutation. THe result would be that the current commutation period would be measured and the PWM frequency would be updated at the beginning of the next commutation so that the sampling/PWM frequency would be 5x faster than the commutation frequency...within limits of course. THe minimum frequency being 10kHz and the maximum being 40kHz.
The reasoning is that when a motor is spinning more slowly it is under higher load and drawing more current and since the commutation is also occuring more slowly, lowering the PWM frequency will reduce switching losses while not affecting smooth commutation. Conversely when spinning faster, higher sampling/PWM frequencies are required to ensure smooth commutation and the motor is also under less load and drawing less current, so increased switching losses can be tolerated.
But I think this might cause increased EMI since the PWM frequency is changing. I'm not entirely sure why it would cause an increased amount of noise relative to fixed frequency PWM method, although the frequency of the noise would be more unpredictable. Does anyone have any knowledge or opinions on this matter?
Audible noise is not an issue, as long as the motor is operating smoothly.
Last edited: