S32K344 Variables turning into nan

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

S32K344 Variables turning into nan

85 次查看
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 回复数