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/TMS320F28379S: Digital Motor Control Software library

Part Number: TMS320F28379S
Other Parts Discussed in Thread: CONTROLSUITE, MOTORWARE

Tool/software: Code Composer Studio

Hi,

I am developing the brushed DC motor control application on F28379S using PID and H-Bridge.

But I am spending much time to find the proper position control parameters, Kp, Ki, and Kd of PID.

In some document, cascade PID is recommended, but I am not sure, it should be or not.

In TI site, there is digital motor control software library, but it is old.

Is there any newest digital motor control software library  released from TI ?

I am looking the sample code using DCL for motor control.

BR

Paul

 

  • The digital motor control library in both controlSUITE and motorWare focus on motor drive, include sensor or sensorless BDC, BLDC, ACIM or PMSM drive, all these reference designs are generic motor drive algorithm. You have to tune the regulator based on your system and motor parameters if you want to achieve better performance. You might have a look at section 11 of InstaSPIN User's guide as below link, which shows how to tune the Kp&Ki of speed/current regulator. Moreover, you could use DCL instead of the traditional PI/PID.

    www.ti.com/.../spruhj1g.pdf

  • Hi, Yanming Luo,

    Main reason I selected the F28379S is that F28379S has 3-EQEP. I have to control 3-motors.
    Can I port motorWare to F28379S to position control using EQEP for BDC?

    I use PID in DCL.

    BR
    Paul

  • Yes, you could use all open source modules in motorWare, but you can't call any modules in est.h that is only supported by these devices as below link.

    www.ti.com/.../products.html

    Just as a reference, you might port below project in controlSUITE to F28379S that should be more reasonable.
    \ti\controlSUITE\development_kits\DRV8412-C2-KIT_v131\2xDC_Motor