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.

[参考译文] CCS/UCD3138:Q 格式

Guru**** 2584585 points


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

https://e2e.ti.com/support/power-management-group/power-management/f/power-management-forum/817480/ccs-ucd3138-q-format

器件型号:UCD3138

工具/软件:Code Composer Studio

Int32 KP;

iv.pix.p = iv.pies.kp * staled_state_error; //Q15*Q12

为什么在 PID?中 KP 默认为 Q15

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

    你好

    我认为它的 Q15具有足够的分辨率、但乘以 Q12时仍低于32位(误差来自12位 ADC、因此将始终为 Q12)。

    希望这对您有所帮助

    此致

    Cormac