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.

Questions about PI controllers

Other Parts Discussed in Thread: MOTORWARE, CONTROLSUITE, C2000WARE

Dear all,

:\ti\controlSUITE\libs\app_libs\motor_control\math_blocks

As shown above, there are many versions of TI's library

Question 1: What is the meaning of this version of fixed_v1.1?

Question 2: should  i use the latest version of v4.3?

Question 3: Theoretically, how should Kc be calculated?

Question 4 The PI example in the v4.3 repository is more robust than the pi_reg3 in fixed_v1.1? Is there any connection between TI's so many versions of PI controller library?
thank you !

  • Seven,

    If you are starting a motor control project you may be better off using a MotorWare approach. While they will deliver perfectly good performance, these macro libraries are getting old and we have improved a lot since they were first written.

    Question 1: What is the meaning of this version of fixed_v1.1?
    - This is the oldest version in controlSUITE, probably there to support some of the legacy motor solutions.

    Question 2: should i use the latest version of v4.3?
    - If you are going to use the macros, whether fixed or floating point, users should be on the latest v4.3.

    Question 3: Theoretically, how should Kc be calculated?
    - Mostly done by trial-and -error, but you should not use pi_reg3 (see below).

    Question 4 The PI example in the v4.3 repository is more robust than the pi_reg3 in fixed_v1.1? Is there any connection between TI's so many versions of PI controller library?
    - pi_reg3 is a very old design and the anti-windup is flawed. It is there only to support legacy solutions. Again, use the newer versions for new development, or see below.

    Historically, each application group in C2000 has tried its hand at PI controller design and we have a lot of different flavours. In general, they perform reasonably, but some have issues. Since mid-2015 there has been a unified controller library called DCL which all the application groups are now using. You can find this in controlSUITE, but the latest version is in C2000Ware, at...
    \ti\c2000\C2000Ware_1_00_04_00\libraries\control\DCL

    For any new C2000 development, the DCL is where you should go to select a controller.

    Regards,

    Richard