S32K344 Variables turning into nan

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

S32K344 Variables turning into nan

154件の閲覧回数
REM
Contributor II

Hello,

I'm using the S32K344 Q172 EVB in an inverter application, in which it's hosting a custom FOC algorithm.
It is communicating via the CAN bus with a MicroAutobox II that is hosting a virtual model of an inverter and a PMSM.

The FOC algorithm was designed on Simulink using the S32K Model Based Designe toolbox v1.4 and simulink libraries and then it was tested with a virtual model of a PMSM and it's inverter.

After flashing the FOC algorithm onto the S32K344 Q172 and initiating communication with the MicroAutobox II I can follow the evolution of variables using freemaster.

Even though I used saturation blocks, I can see some variables that grow bigger and bigger until they become nan.

How can I fix this issue?

Thank you

タグ(1)
0 件の賞賛
返信
0 返答(返信)