Data Fields
SPLL_3PH_DDSRF Struct Reference

Defines the SPLL_3PH_DDSRF structure. More...

#include <spll_3ph_ddsrf.h>

Data Fields

float32_t d_p_decoupl
 Positive Rotating reference Frame D-axis value. More...
 
float32_t d_n_decoupl
 Negative Rotating reference Frame D-axis value. More...
 
float32_t q_p_decoupl
 Positive Rotating reference Frame Q-axis value. More...
 
float32_t q_n_decoupl
 Negative Rotating reference Frame Q-axis value. More...
 
float32_t cos_2theta
 Cos of twice the grid frequency angle. More...
 
float32_t sin_2theta
 Sin of twice the grid frequency angle. More...
 
float32_t y [2]
 Used to store history for filtering the decoupled D and Q axis components
More...
 
float32_t x [2]
 Used to store history for filtering the decoupled D and Q axis components. More...
 
float32_t w [2]
 Used to store history for filtering the decoupled D and Q axis components. More...
 
float32_t z [2]
 Used to store history for filtering the decoupled D and Q axis components. More...
 
float32_t k1
 Lpf coefficient. More...
 
float32_t k2
 Lpf coefficient
More...
 
float32_t d_p_decoupl_lpf
 Decoupled positive sequence D-axis component filtered. More...
 
float32_t d_n_decoupl_lpf
 Decoupled negative sequence D-axis component filtered. More...
 
float32_t q_p_decoupl_lpf
 Decoupled positive sequence Q-axis component filtered. More...
 
float32_t q_n_decoupl_lpf
 Decoupled negative sequence Q-axis component filtered. More...
 
float32_t v_q [2]
 
float32_t theta [2]
 Grid phase angle. More...
 
float32_t ylf [2]
 Internal Data Buffer for Loop Filter output. More...
 
float32_t fo
 Instantaneous Grid Frequency in Hz. More...
 
float32_t fn
 Nominal Grid Frequency in Hz. More...
 
float32_t delta_t
 1/Frequency of calling the PLL routine More...
 
SPLL_3PH_DDSRF_LPF_COEFF lpf_coeff
 

Detailed Description

Defines the SPLL_3PH_DDSRF structure.

This software module implements a software phase lock loop based on decoupled double synchronous reference frame for grid connection to three phase grid

Returns
None

Field Documentation

◆ d_p_decoupl

float32_t SPLL_3PH_DDSRF::d_p_decoupl

Positive Rotating reference Frame D-axis value.

Referenced by SPLL_3PH_DDSRF_init(), SPLL_3PH_DDSRF_reset(), and SPLL_3PH_DDSRF_run().

◆ d_n_decoupl

float32_t SPLL_3PH_DDSRF::d_n_decoupl

Negative Rotating reference Frame D-axis value.

Referenced by SPLL_3PH_DDSRF_init(), SPLL_3PH_DDSRF_reset(), and SPLL_3PH_DDSRF_run().

◆ q_p_decoupl

float32_t SPLL_3PH_DDSRF::q_p_decoupl

Positive Rotating reference Frame Q-axis value.

Referenced by SPLL_3PH_DDSRF_init(), SPLL_3PH_DDSRF_reset(), and SPLL_3PH_DDSRF_run().

◆ q_n_decoupl

float32_t SPLL_3PH_DDSRF::q_n_decoupl

Negative Rotating reference Frame Q-axis value.

Referenced by SPLL_3PH_DDSRF_init(), SPLL_3PH_DDSRF_reset(), and SPLL_3PH_DDSRF_run().

◆ cos_2theta

float32_t SPLL_3PH_DDSRF::cos_2theta

Cos of twice the grid frequency angle.

Referenced by SPLL_3PH_DDSRF_run().

◆ sin_2theta

float32_t SPLL_3PH_DDSRF::sin_2theta

Sin of twice the grid frequency angle.

Referenced by SPLL_3PH_DDSRF_run().

◆ y

float32_t SPLL_3PH_DDSRF::y[2]

Used to store history for filtering the decoupled D and Q axis components

Referenced by SPLL_3PH_DDSRF_init(), SPLL_3PH_DDSRF_reset(), and SPLL_3PH_DDSRF_run().

◆ x

float32_t SPLL_3PH_DDSRF::x[2]

Used to store history for filtering the decoupled D and Q axis components.

Referenced by SPLL_3PH_DDSRF_init(), SPLL_3PH_DDSRF_reset(), and SPLL_3PH_DDSRF_run().

◆ w

float32_t SPLL_3PH_DDSRF::w[2]

Used to store history for filtering the decoupled D and Q axis components.

Referenced by SPLL_3PH_DDSRF_init(), SPLL_3PH_DDSRF_reset(), and SPLL_3PH_DDSRF_run().

◆ z

float32_t SPLL_3PH_DDSRF::z[2]

Used to store history for filtering the decoupled D and Q axis components.

Referenced by SPLL_3PH_DDSRF_init(), SPLL_3PH_DDSRF_reset(), and SPLL_3PH_DDSRF_run().

◆ k1

float32_t SPLL_3PH_DDSRF::k1

Lpf coefficient.

Referenced by SPLL_3PH_DDSRF_init(), and SPLL_3PH_DDSRF_run().

◆ k2

float32_t SPLL_3PH_DDSRF::k2

Lpf coefficient

Referenced by SPLL_3PH_DDSRF_init(), and SPLL_3PH_DDSRF_run().

◆ d_p_decoupl_lpf

float32_t SPLL_3PH_DDSRF::d_p_decoupl_lpf

Decoupled positive sequence D-axis component filtered.

Referenced by SPLL_3PH_DDSRF_init(), SPLL_3PH_DDSRF_reset(), and SPLL_3PH_DDSRF_run().

◆ d_n_decoupl_lpf

float32_t SPLL_3PH_DDSRF::d_n_decoupl_lpf

Decoupled negative sequence D-axis component filtered.

Referenced by SPLL_3PH_DDSRF_init(), SPLL_3PH_DDSRF_reset(), and SPLL_3PH_DDSRF_run().

◆ q_p_decoupl_lpf

float32_t SPLL_3PH_DDSRF::q_p_decoupl_lpf

Decoupled positive sequence Q-axis component filtered.

Referenced by SPLL_3PH_DDSRF_init(), SPLL_3PH_DDSRF_reset(), and SPLL_3PH_DDSRF_run().

◆ q_n_decoupl_lpf

float32_t SPLL_3PH_DDSRF::q_n_decoupl_lpf

Decoupled negative sequence Q-axis component filtered.

Referenced by SPLL_3PH_DDSRF_init(), SPLL_3PH_DDSRF_reset(), and SPLL_3PH_DDSRF_run().

◆ v_q

float32_t SPLL_3PH_DDSRF::v_q[2]

◆ theta

float32_t SPLL_3PH_DDSRF::theta[2]

Grid phase angle.

Referenced by SPLL_3PH_DDSRF_init(), SPLL_3PH_DDSRF_reset(), and SPLL_3PH_DDSRF_run().

◆ ylf

float32_t SPLL_3PH_DDSRF::ylf[2]

Internal Data Buffer for Loop Filter output.

Referenced by SPLL_3PH_DDSRF_init(), SPLL_3PH_DDSRF_reset(), and SPLL_3PH_DDSRF_run().

◆ fo

float32_t SPLL_3PH_DDSRF::fo

Instantaneous Grid Frequency in Hz.

Referenced by SPLL_3PH_DDSRF_init(), SPLL_3PH_DDSRF_reset(), and SPLL_3PH_DDSRF_run().

◆ fn

float32_t SPLL_3PH_DDSRF::fn

Nominal Grid Frequency in Hz.

Referenced by SPLL_3PH_DDSRF_init(), and SPLL_3PH_DDSRF_run().

◆ delta_t

float32_t SPLL_3PH_DDSRF::delta_t

1/Frequency of calling the PLL routine

Referenced by SPLL_3PH_DDSRF_init(), and SPLL_3PH_DDSRF_run().

◆ lpf_coeff

SPLL_3PH_DDSRF_LPF_COEFF SPLL_3PH_DDSRF::lpf_coeff

Referenced by SPLL_3PH_DDSRF_run().


The documentation for this struct was generated from the following file:

Copyright 2023, Texas Instruments Incorporated