Part Number: TMS320F28335
Other Parts Discussed in Thread: CONTROLSUITE, C2000WARE-DIGITALPOWER-SDK, TIDM-HV-1PH-DCAC, TIDM-1007, C2000WARE
Tool/software: Code Composer Studio
Hello,everyone!
Now,I have a problem about software Phase Locked Loop and need your help.
In my code, "SPLL_1ph_SOGI_F.c" is used to lock grid phase. This file implements a software phase lock loop based on orthogonal signal generation using second order generalized integrators.
And, "SPLL_1ph_SOGI_F.c" is located in "controlSUITE\libs\app_libs\solar\v1.2".
I have done everything according to "controlSUITE\libs\app_libs\solar\v1.2\SolarLib.pdf\page86".
However, it doesn't work and I can't get the grid phase. WHY?
Q1:
In "controlSUITE\libs\app_libs\solar\v1.2\SolarLib.pdf\page86",
Step 4 – Using the module
spll1.u[0]=(Float32)(GridMeas);
what's the value of GridMeas? 220VAC/50Hz voltage is used in my program.
Q2:
Do I need to adjust these parameters?
// loop filter coefficients for 20kHz
spll_obj->lpf_coeff.B0_lf=(float32)(166.9743);
spll_obj->lpf_coeff.B1_lf=(float32)(-166.266);
spll_obj->lpf_coeff.A1_lf=(float32)(-1.0);
Thamks. I am looking forward to your reply.