![Logo](ti_logo.svg) |
AM263x Digital Power SDK
09.01.00
|
|
Go to the documentation of this file.
40 #ifndef SPLL_3PH_DDSRF_H
41 #define SPLL_3PH_DDSRF_H
74 #endif // IEEE754_TYPES
259 - (spll_obj->
y[0] * spll_obj->
k2);
261 spll_obj->
y[0] = spll_obj->
y[1];
264 - (spll_obj->
x[0] * spll_obj->
k2);
266 spll_obj->
x[0] = spll_obj->
x[1];
269 - (spll_obj->
w[0] * spll_obj->
k2);
271 spll_obj->
w[0] = spll_obj->
w[1];
274 - (spll_obj->
z[0] * spll_obj->
k2);
276 spll_obj->
z[0] = spll_obj->
z[1];
283 spll_obj->
ylf[0] = spll_obj->
ylf[1]
286 spll_obj->
ylf[1] = spll_obj->
ylf[0];
287 spll_obj->
v_q[1] = spll_obj->
v_q[0];
292 spll_obj->
fo = spll_obj->
fn + spll_obj->
ylf[0];
318 #endif // end of _SPLL_3PH_DDSRF_H_ definition
float32_t q_n_decoupl_lpf
Decoupled negative sequence Q-axis component filtered.
Definition: spll_3ph_ddsrf.h:113
float32_t fo
Instantaneous Grid Frequency in Hz.
Definition: spll_3ph_ddsrf.h:118
float32_t fn
Nominal Grid Frequency in Hz.
Definition: spll_3ph_ddsrf.h:119
float float32_t
Definition: spll_3ph_ddsrf.h:72
static void SPLL_3PH_DDSRF_run(SPLL_3PH_DDSRF *spll_obj, float32_t d_p, float32_t d_n, float32_t q_p, float32_t q_n)
Run spll_3PH_srf module.
Definition: spll_3ph_ddsrf.h:227
float32_t b1
Definition: spll_3ph_ddsrf.h:85
float32_t delta_t
1/Frequency of calling the PLL routine
Definition: spll_3ph_ddsrf.h:120
float32_t sin_2theta
Sin of twice the grid frequency angle.
Definition: spll_3ph_ddsrf.h:102
float32_t z[2]
Used to store history for filtering the decoupled D and Q axis components.
Definition: spll_3ph_ddsrf.h:107
float32_t d_p_decoupl
Positive Rotating reference Frame D-axis value.
Definition: spll_3ph_ddsrf.h:96
float32_t v_q[2]
Definition: spll_3ph_ddsrf.h:115
float32_t k2
Lpf coefficient
Definition: spll_3ph_ddsrf.h:109
float32_t k1
Lpf coefficient.
Definition: spll_3ph_ddsrf.h:108
float32_t w[2]
Used to store history for filtering the decoupled D and Q axis components.
Definition: spll_3ph_ddsrf.h:106
float32_t y[2]
Used to store history for filtering the decoupled D and Q axis components
Definition: spll_3ph_ddsrf.h:104
float32_t q_p_decoupl_lpf
Decoupled positive sequence Q-axis component filtered.
Definition: spll_3ph_ddsrf.h:112
float32_t d_p_decoupl_lpf
Decoupled positive sequence D-axis component filtered.
Definition: spll_3ph_ddsrf.h:110
float32_t ylf[2]
Internal Data Buffer for Loop Filter output.
Definition: spll_3ph_ddsrf.h:117
float32_t cos_2theta
Cos of twice the grid frequency angle.
Definition: spll_3ph_ddsrf.h:101
SPLL_3PH_DDSRF_LPF_COEFF lpf_coeff
Definition: spll_3ph_ddsrf.h:121
static void SPLL_3PH_DDSRF_reset(SPLL_3PH_DDSRF *spll_obj)
Reset SPLL_3PH_DDSRF module.
Definition: spll_3ph_ddsrf.h:181
Defines the SPLL_3PH_DDSRF structure.
Definition: spll_3ph_ddsrf.h:95
float32_t theta[2]
Grid phase angle.
Definition: spll_3ph_ddsrf.h:116
float32_t b0
Definition: spll_3ph_ddsrf.h:86
Defines the coefficients for a loop filter.
Definition: spll_3ph_ddsrf.h:84
float32_t q_n_decoupl
Negative Rotating reference Frame Q-axis value.
Definition: spll_3ph_ddsrf.h:99
float32_t q_p_decoupl
Positive Rotating reference Frame Q-axis value.
Definition: spll_3ph_ddsrf.h:98
float32_t d_n_decoupl
Negative Rotating reference Frame D-axis value.
Definition: spll_3ph_ddsrf.h:97
double float64_t
Definition: spll_3ph_ddsrf.h:73
float32_t d_n_decoupl_lpf
Decoupled negative sequence D-axis component filtered.
Definition: spll_3ph_ddsrf.h:111
static void SPLL_3PH_DDSRF_init(float32_t grid_freq, float32_t delta_t, float32_t k1, float32_t k2, SPLL_3PH_DDSRF *spll_obj)
Initialize SPLL_3PH_DDSRF module.
Definition: spll_3ph_ddsrf.h:131
float float32_t
Defines single,double precision data type. Note: Assumes ABI to be TI_EABI, does not support legacy T...
Definition: dcl_common.h:54
float32_t x[2]
Used to store history for filtering the decoupled D and Q axis components.
Definition: spll_3ph_ddsrf.h:105