Using PIT Interrupt to run FOC Algorithm

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

Using PIT Interrupt to run FOC Algorithm

378件の閲覧回数
CZuercher_Ilm
Contributor I

I'm trying to use the MPC5744P & MOTORGD Devkits to develop some motor controller algorithms.

In addition to the FOC, I also have quite a lot of stuff I'd like to be able to run at 1msec.

Is it an acceptable solution to have my Simulink model set up to run at 1msec and my FOC algorithm running inside the PIT Interrupt subsystem (at, say, 20 usec or so)? I'd like to carry out all my FOC-Specific channel sampling and output handling inside this Interrupt. 

 

Is this acceptable, as the supplied examples seem to be running at an "Auto" base rate?

0 件の賞賛
返信
0 返答(返信)