A method to eliminate current control thinning.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

A method to eliminate current control thinning.

Jump to solution
588 Views
Tomato1
Contributor III

I would like to ask for your guidance regarding the sensorless FOC of the S32K344 (see the sample code below).
C:\NXP\MC_DevKits\MCSPTE1AK344\sw\MCSPTE1AK344_PMSM_FOC_2Sh_ll

Despite the MOSFET switching frequency being 20 kHz, it seems that the current control is being executed at 10 kHz.

Referring to the source code, it appears that the function Bctu_FIFO1_WatermarkNotification() is executed at 10 kHz (observed PTC24 on an oscilloscope).

I would like to execute the current control at the same frequency as the switching frequency. How can I modify this?

Tags (1)
0 Kudos
Reply
1 Solution
563 Views
_Leo_
NXP TechSupport
NXP TechSupport

Hi,

Thank you so much for your interest in our products and for using our community.

You could refer to the MCTPTX1AK324, where the PWM frequency is 10KHz, and the FOC fast loop calculation frequency is 10KHz too. But now the execution frequency of function BCTU FIFO notification is 30KHz, due to there being three PMSM motors, that share the same interrupt routine (for more details, please refer to UG10052 and its SW example).

Hope it helps you.

Have a nice day!

View solution in original post

1 Reply
564 Views
_Leo_
NXP TechSupport
NXP TechSupport

Hi,

Thank you so much for your interest in our products and for using our community.

You could refer to the MCTPTX1AK324, where the PWM frequency is 10KHz, and the FOC fast loop calculation frequency is 10KHz too. But now the execution frequency of function BCTU FIFO notification is 30KHz, due to there being three PMSM motors, that share the same interrupt routine (for more details, please refer to UG10052 and its SW example).

Hope it helps you.

Have a nice day!