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.

TMDXIDDK379D: PI value setting

Part Number: TMDXIDDK379D
Other Parts Discussed in Thread: CONTROLSUITE

Hi Team,

A customer does not have company email address and request us to post this inquiry in E2E forum.

Can I get your support base upon your rich experience and professional knowledge due to we do not have hardware to test and verify this issue?

Questions as below.

We are using TMDXIDDK379D and the FOC program from controlSUITE to control PMSM(R=4.7Ω,L=13.3mH),

and we want to change PI parameters.

Recently, I referred to an article named InstaSPIN-foc and trying to calculate,

the result seemed too large. We got Kp= 41.783180, Ki= 0.035338.

However, in the example program, the default setting is Kp= 1, Ki= T/0.04.

I'm curious whether the value we got is correct and how to get the default setting.

Thank you in advance.

Regards,

  • The example FOC project uses the PU format, so all of the control variable and parameters will be scaled to PU value. The InstaSPIN-FOC example labs in motor control SDK use the SI format, so the calculation gains value will be different between these two example project. Actually, the example FOC in controlSUITE doesn't implement any formula to calculate the gains of the PI controller according to the motor parameters as did in InstaSPIN-FOC example projects, the value is set to a default value according to the debugging result, but you can still refer to the formula in InstaSPIN user's guide to get these value and convert these values to PU format.

    More details about the PI controller can be found in some textbooks, the user may also refer to these textbooks to calculate these gains.