A method to eliminate current control thinning.

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

A method to eliminate current control thinning.

ソリューションへジャンプ
635件の閲覧回数
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?

タグ(1)
0 件の賞賛
返信
1 解決策
610件の閲覧回数
_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!

元の投稿で解決策を見る

1 返信
611件の閲覧回数
_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!

%3CLINGO-SUB%20id%3D%22lingo-sub-2017522%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E9%9B%BB%E6%B5%81%E5%88%B6%E5%BE%A1%E3%81%AE%E8%96%84%E5%9E%8B%E5%8C%96%E3%82%92%E8%A7%A3%E6%B6%88%E3%81%99%E3%82%8B%E6%96%B9%E6%B3%95%E3%80%82%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2017522%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3ES32K344%E3%81%AE%E3%82%BB%E3%83%B3%E3%82%B5%E3%83%AC%E3%82%B9FOC%E3%81%AB%E3%81%A4%E3%81%84%E3%81%A6%E3%81%94%E6%8C%87%E5%B0%8E%E3%82%92%E3%81%8A%E9%A1%98%E3%81%84%E3%81%84%E3%81%9F%E3%81%97%E3%81%BE%E3%81%99%EF%BC%88%E4%B8%8B%E8%A8%98%E3%82%B5%E3%83%B3%E3%83%97%E3%83%AB%E3%82%B3%E3%83%BC%E3%83%89%E3%82%92%E5%8F%82%E7%85%A7%E3%81%8F%E3%81%A0%E3%81%95%E3%81%84%E3%80%82%3CBR%20%2F%3EC%3A%5CNXP%5CMC_DevKits%5CMCSPTE1AK344%5Csw%5CMCSPTE1AK344_PMSM_FOC_2Sh_ll%3C%2FP%3E%3CP%3EMOSFET%E3%81%AE%E3%82%B9%E3%82%A4%E3%83%83%E3%83%81%E3%83%B3%E3%82%B0%E5%91%A8%E6%B3%A2%E6%95%B0%E3%81%8C20kHz%E3%81%A7%E3%81%82%E3%82%8B%E3%81%AB%E3%82%82%E3%81%8B%E3%81%8B%E3%82%8F%E3%82%89%E3%81%9A%E3%80%81%E9%9B%BB%E6%B5%81%E5%88%B6%E5%BE%A1%E3%81%AF10kHz%E3%81%A7%E8%A1%8C%E3%82%8F%E3%82%8C%E3%81%A6%E3%81%84%E3%82%8B%E3%82%88%E3%81%86%E3%81%AB%E8%A6%8B%E3%81%88%E3%81%BE%E3%81%99%E3%80%82%3C%2FP%3E%3CP%3E%E3%82%BD%E3%83%BC%E3%82%B9%E3%82%B3%E3%83%BC%E3%83%89%E3%82%92%E5%8F%82%E7%85%A7%E3%81%99%E3%82%8B%E3%81%A8%E3%80%81%E9%96%A2%E6%95%B0Bctu_FIFO1_WatermarkNotification()%E3%81%AF10kHz(%E3%82%AA%E3%82%B7%E3%83%AD%E3%82%B9%E3%82%B3%E3%83%BC%E3%83%97%E3%81%A7PTC24%E3%82%92%E8%A6%B3%E6%B8%AC)%E3%81%A7%E5%AE%9F%E8%A1%8C%E3%81%97%E3%81%A6%E3%81%84%E3%82%8B%E3%82%88%E3%81%86%E3%81%A7%E3%81%99%E3%80%82%3C%2FP%3E%3CP%3E%E3%82%B9%E3%82%A4%E3%83%83%E3%83%81%E3%83%B3%E3%82%B0%E5%91%A8%E6%B3%A2%E6%95%B0%E3%81%A8%E5%90%8C%E3%81%98%E5%91%A8%E6%B3%A2%E6%95%B0%E3%81%A7%E9%9B%BB%E6%B5%81%E5%88%B6%E5%BE%A1%E3%82%92%E5%AE%9F%E8%A1%8C%E3%81%97%E3%81%9F%E3%81%84%E3%81%AE%E3%81%A7%E3%81%99%E3%81%8C%E3%80%82%E3%81%93%E3%82%8C%E3%82%92%E5%A4%89%E6%9B%B4%E3%81%99%E3%82%8B%E3%81%AB%E3%81%AF%E3%81%A9%E3%81%86%E3%81%99%E3%82%8C%E3%81%B0%E3%82%88%E3%81%84%E3%81%A7%E3%81%99%E3%81%8B%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E