Other Parts Discussed in Thread: CONTROLSUITE
Hi team:
I have two questions about the document SPRABT3(Software Phase Locked Loop Design Using C2000™ Microcontrollers for Single Phase Grid Connected Inverter) and the spll_coeff_compute.xlsx(path: controlSUITE\libs\app_libs\solar).
1, In the spll_coeff_compute.xlsx and forum (https://e2e.ti.com/support/microcontrollers/c2000/f/171/p/600195/2207692?tisearch=e2e-sitesearch&keymatch=SPLL%20Kp%20Ki#2207692), Both of them said that the value of wn(the natural frequency ) should be 158.6859, but in SPRABT3, wn=119.014 (under formula 17 in SPRABT3). which one is correct?
2, I substituted the parameters (under formula 17 in SPRABT3) into spll_coeff_compute.xlsx. Which settling time as 30 ms, and the error band as 5% and damping ratio to be 0.7, the natural frequency is 119.014,
But I got the Kp = 166.6196, the Ki = 14164.33(By formule), Not Kp =166.6 and Ki = 27755.55(By document). Then which one should be the correct one? Or is there any other ways to calculate the value of Ki?
3, Upon the figure 3 in SPRABT3(Chapter 2.2), ζ2 and ζ1 is given as 0.00001 and 0.1, How can I affirm the value of ζ2 and ζ1?
4, SPLL_1ph_init(GRID_FREQ,_IQ21((float)(1.0/ISR_FREQUENCY)) &spll1);
Whether the formule should be 0.001/ISR_FREQUENCY or not? Should the unit of ISR_FREQUENCY be KHz?
Thanks & Regards,
KK