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.

[参考译文] TMS320F28377S:TMS320F28377S

Guru**** 2482105 points


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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/605401/tms320f28377s-tms320f28377s

器件型号:TMS320F28377S

大家好。 我有一个算法、在 Simulink 仿真中工作正常。 该算法由两个乘法器、一个积分、两个衍生器件和一个总和块组成。 该算法使用两个输入、其中一个是 离散时间 t 作为输入。 第二个是可测量的受控体输出。 在 Simulink 仿真中,解算器采样设置为1e-6。 我通过 Simulink 的 launchpad 成功部署了该模型。 代码部署的所有采样时间都相同。 唯一的区别是,对于代码部署,ADC 样本被转换 为信号,然后用作算法的输入。 另一个重要的问题是、算法会利用采样信号的第一个和第二个导数。 对于仿真案例、算法工作正常。 请帮助我在电路板上运行算法时、无法获得满意结果的可能原因是什么。

提前感谢