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.

CCS/TMS320F28035: single-phase SOGI PLL

Part Number: TMS320F28035


Tool/software: Code Composer Studio

Hi TI experts,

I have implemented the single-phase SOGI PLL provided by TI. It works well. But I do not know which parameter should I use from the following structure in SPLL_1ph_SOGI_IQ.h, if I want to know the rms amplitude of a single-phase AC? I need this in order to detect possible grid under-voltage.

typedef struct{
 int32 u[3];  // Ac Input
 int32   osg_u[3];
 int32   osg_qu[3];
 int32   u_Q[2];
 int32   u_D[2];
 int32   ylf[2];
 int32   fo; // output frequency of PLL
 int32   fn; //nominal frequency
 int32 theta[2];
 int32 cos;
 int32 sin;
 int32   delta_T;
 SPLL_1ph_SOGI_IQ_OSG_COEFF osg_coeff;
 SPLL_1ph_SOGI_IQ_LPF_COEFF lpf_coeff;
}SPLL_1ph_SOGI_IQ;

Thank you in advance for your help!