Tool/software: Code Composer Studio
Dear Sir,
I want to generate orthogonal signals(alfa, beta, zero) from single-phase grid voltage. For this, I am using the SPLL library. In this library, I am unable to find which variables belong to alfa, beta, and zero components. I am using the attached structure, please help me in this regard.
typedef struct{ float32_t u[3]; //!< AC input data buffer float32_t osg_u[3]; //!< Orthogonal signal generator data buffer float32_t osg_qu[3]; //!< Orthogonal signal generator quadrature data buffer float32_t u_Q[2]; //!< Q-axis component float32_t u_D[2]; //!< D-axis component float32_t ylf[2]; //!< Loop filter data storage float32_t fo; //!< Output frequency of PLL(Hz) float32_t fn; //!< Nominal frequency (Hz) float32_t theta; //!< Angle output (0-2*pi) float32_t cosine; //!< Cosine value of the PLL angle float32_t sine; //!< Sine value of the PLL angle float32_t delta_t; //!< Inverse of the ISR rate at which module is called SPLL_1PH_SOGI_OSG_COEFF osg_coeff; //!< Orthogonal signal generator coefficient SPLL_1PH_SOGI_LPF_COEFF lpf_coeff; //!< Loop filter coeffcient structure } SPLL_1PH_SOGI;