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.

Proper PID values for FOC.



Manish,

I am still working on the Sensorless FOC project on the C28335 HVMC. kit.

Page 28 of the FOC document for build level 3 says, "Adjust its PID gains properly."

What is a proper PID gain adjustment?  I am looking for any starting point.

Will Friesen

 

  • Hello Will

    I am not sure there is any standard method to tune a PID loop in a motor drive application !! The whole implementation is sort of trial and error process. Adjustable speed drives being a nonlinear system there is no direct equation which will offer a quick convergence... here is what I usually follow ... in most if not all cases I try to keep KD zero ... this differential component was never kind to me :-) I start with KP and settle for a value which gives a little overshoot but not much (as you can tell, "not much" can hardly fit in an engineering discussion but unfortunately that is all can be said as this depends significantly on system configuration like motor size, load value etc.) . Next start with KI and try to minimize the error as much as possible. Once you have a set of KP & KI working with your system you can then try to add KD if you really want little extra response or can play with KP and KI combinations. I know I haven't answered your question but wanted to share my experience........ good luck.

  • Hi,

    my  PID controller tuning step(use mathworks simulink):

    1.       i use  ac6_example.mdl(PMSM) and ac7_example.mdl(BLDC)

    2.       ac7_example.mdl(BLDC) have PI gain calculator, I use calculator to get PID(gain value).

     

    Testing them in  simulink-simulation  is  working fine.

    So, I put the TI PID block in ac6_example.mdl(PMSM). Why the result cannot match? And I carefully calculate scaling factor, but the result cannot match.Should I believe which one is right?

    any idea to correct this difference?

    Do you have any mathworks simulink model to get PID(gain value)? 

    Best Regards

    John