This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] TMS320F28379D:浮点电机控制问题下的 MATH_Blocks

Guru**** 2590240 points
Other Parts Discussed in Thread: CONTROLSUITE

请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/667529/tms320f28379d-math_blocks-under-motor_control-issue-with-floating-point

器件型号:TMS320F28379D
Thread 中讨论的其他器件:controlSUITE

svgen_mf.h 与浮点不兼容。

例如:

SVgen.TB =(_IQ (1.0)-SVgen.dX-SVgen.dy)>1; 

应除以2、但仅在积分类型中。

也是如此。 一般性问题、是否有针对诸如 SVPWM 之类的内容的更新函数? 在新库或另一个 H 文件中;版本4.3 (controlSUITE 中的最新版本)在2012年进行了更新。  还有几个类似的问题。

谢谢!

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    您好!

    这对于 svgen_mf.h 文件与 float 文件不兼容的情况并不是真正的问题。 编译器将通过任何类型的位操作(移位、对 ORing 等)为您提供该错误。 浮点型的运算。 如果您使用/2而不是>>>1,则会进行编译。

    惠特尼