This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMDSCNCD280049C: InstaSpin FOC maximum switching frequency and current sensor bandwidth

Part Number: TMDSCNCD280049C


I am designing a motor controller for a 26pole, 10,000rpm motor which gives me a fundamental frequency of ~2.2kHz.

I intend to operate the powerstage at 80kHz switching frequency and want to use the scaler to achieve this by using the recommendations on this and this post to achieve this. Would a control loop frequency of 26kHz with a 3x scaler be possible on the microcontroller in question? If not, will a 20kHz control frequency with a 4x scaler work? How would this second option behave at high speed given that it is less than 10x of the motor's fundamental frequency? Will it have an effect on stability, efficiency, or just not work at all?

Furthermore, I plan to use hall sensors to measure all 3 phase currents. What sensing bandwidth do I need in my sensors? Do I actually need a sensor with -3dB bandwidth of >2x80k = 160kHz? Since it is just measuring average phase current, would a 20-30kHz bandwidth sensor be sufficient?

Regards

Chai

  • You can use the 80kHz switching frequency, but the control frequency (control ISR) must be less than 30kHz limit to CPU bandwidth and FOC execution time.

    The sensing bandwidth is at least double control bandwidth, more than 4 times is recommended.

  • Thank you for the rapid response!

    Just to confirm, if I were to do this -  

    #define USER_NUM_PWM_TICKS_PER_ISR_TICK (3)

    #define USER_PWM_FREQ_kHz (75.0)

    I will have a PWM frequency of 75kHz with a control frequency of 25kHz which the TMS320F230049C can handle. I will also need a current sensor of at least 50kHz bandwidth, but preferably >100kHz. 

    Do I have that right?

    Chai