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.

TMS320F280049C: How to calculate the parameters of SPLL_1PH_SOGI_config()

Part Number: TMS320F280049C
Other Parts Discussed in Thread: C2000WARE

Hi Expert,

The solution of "gridConnectedInverterLCLFltr_nonpowerSUITE_F28004x" in the path(~\solutions\tidm_hv_1ph_dcac), I'm confused about the  SPLL_1PH_SOGI_config() parameters calculation.

As below, I don't know how to get the value of 166.9743385 & -166.2661165? Could you please give the derivation formulas/notes for customer to choose the right value in their application? Thanks!

SPLL_1PH_SOGI_config(&spll1,
AC_FREQ,
ISR_CONTROL_FREQUENCY,
(float32_t) 166.9743385,
(float32_t) -166.2661165);

Best Regards

Rayna