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.
你可以连接到TI的网站http://www.ti.com.cn/lsds/ti_zh/microcontroller/32-bit_c2000/tools.page下载任何有关电机控制或数字电源的例程,或直接下载TI的controlSuite开发套件,其中的电机控制的lib中即有PI、PID的算法函数和源代码。