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.
Tool/software: Code Composer Studio
Hello,
I have control algorithm 2P2Z working and know how it can be mapped to PI control algorithm. However I want to increase the control update frequency by switching from 2P2Z to PI calculation to simplify computation. My question is where I can find equivalent PI code to replace 2P2Z code and its technical notes? My present 2P2Z source code is from csl_cntrl_Pub.h.
Thanks,
Yong
Hello Yong,
I'm not familiar with that file, but I recommend you take a look at the DCL library which is part of C2000Ware. The DCL is a central resource for controller code for C2000. If you install C2000Ware in the default location, the library will be at:
C:\ti\c2000\C2000Ware_2_00_00_03\libraries\control\DCL
There are several C and assembly coded PI controllers you can choose from. Hope this helps you.
Regards,
Richard