Part Number: DRV8312-C2-KIT
Tool/software: Code Composer Studio
I have some confusions about the coefficients of PID controller in the BLDC_Sensorless code.
pid1_idc.param.Kp = _IQ(3.176*BASE_CURRENT/BASE_VOLTAGE);
pid1_idc.param.Ki = _IQ(T/0.0005);
pid1_spd.param.Kp = _IQ(0.75);
pid1_spd.param.Ki = _IQ(T/0.3);
Could you tell why there is a coefficient of 3.176 in Kp, and why Ki is set as T/0.0005? Do you have some derivations about these?
Thanks
Chen Li