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.
Hi everyone,
I found the section 12.2 of spruhj1c.pdf explains how to calculate the value of Kp,Ki in a PI regulator, Ki = R/L, Kp=L*Bandwidth, equation 37 and 38 on page 305.
But what is the relation between the Ki,Kp and Sample Frequency?
Could you give me any hints? Thanks!
Eli
Hi,
perhaps this link will be useful http://e2e.ti.com/blogs_/b/motordrivecontrol/archive/2013/05/15/teaching-your-pi-controller-to-behave-part-x.aspx
Regards,
Igor
for the current controllers, the equations for how we calculate the default gains are
Kp: = [IQ_Current / IQ_Voltage] * Ls * Frequency * 0.25
[the 0.25 just reduces the gain from ideal stiffness to enable wider initial stability across more motors; for high performance you must increase this back to the full limit and we recommend doing step response testing to tune for your system[
Ki= Rs / Ls / Frequency
[during the motor ID process we use the initial RoverL high frequency estimation to set this value]
Hi ChrisClearman ,
Sorry! I have another question about this. If I want to change the PI structure to the incremental form, do the equations to calculate the Kp, Ki need to be modified? Thanks!
what do you mean the incremental form?
are you using a different PID controller than the one provided in MotorWare?
Hi,
The incremental form of PID means the output of the PID regulator is not the final output U(k), just the increment deta_U referes to the last time output U(k-1), so the U(k) = U(k-1)+deta_U.
If you don't mind, we can communicate with E-mail, then I can give you more detailed information.
Thanks!
Eli
I know it might be a stupid question, but what is IQ_current and IQ_voltage?
/Jens