How to change the frequency of pmf on S12ZVML

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

How to change the frequency of pmf on S12ZVML

1,055件の閲覧回数
xiaofangu
Contributor III

Hello,there,

   I test the demo code MTRCKTSPNZVM128->MC9S12ZVML128_PMSM_Sensorless which control algorithm is foc,and it works well.

   Now,I want to test the motor's performance on different frencenys of pmf.so I change the PMFMODA  from 2500(20KHz,the bus clock is 50M and the core clock is 100M) to 5000. The speed is not correct any more!

   So,is there anything else I need to pay attention to?

0 件の賞賛
返信
1 返信

934件の閲覧回数
pachamatej
NXP Employee
NXP Employee

Hello,

It should be easy, however, you have to change the sampling frequency in the FreeMASTER/MCAT Current contol and Speed control tabs to match the actual PMF reload frequency. Otherwise, the mismatch between this calculation and the actual timing causes the speed to be calculated differently. The behaviour of the PI controllers would be also different. See the MCAT documentation.

Best regards,

Matej

0 件の賞賛
返信