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.
工具/软件:Code Composer Studio
你(们)好
我正在使用 drv8301 TI 电机驱动器。 在工作表中、我的代码给出了以下结果
gmotorVars.VdcBus_kV= 0.002683 (Q 值(24))
VREF_kV= 0.0024 (Q 值(24))
我想计算上述两个值之间的误差。
定向误差= gmotorVars.VdcBus_kV- Vref_kV、
但我在工作表中得到的结果是118.1458。 它应该显示0.02 (Q 值(24))的原因可能是什么。
谢谢
Shree
您是否使用"_IQ"来定义所有变量、并通过将其数字格式更改为"Q-Value (24)"来监视"error"变量?
BTW、我很困惑您上面提到的变量的值。