Defines the SPLL_1PH_NOTCH structure.
The SPLL_1PH_NOTCH can be used to extract the phase of the ac grid from the sensed single phase grid voltage
Data Fields | |
float32_t | upd [3] |
Phase detect buffer. More... | |
float32_t | y_notch1 [3] |
Notch filter1 data storage. More... | |
float32_t | y_notch2 [3] |
Notch filter2 data storage. More... | |
float32_t | ylf [2] |
Loop filter data storage. More... | |
float32_t | fo |
Output frequency of PLL(Hz) More... | |
float32_t | fn |
Nominal frequency (Hz) More... | |
float32_t | theta |
Angle output (0-2*pi) More... | |
float32_t | cosine |
Cosine value of the PLL angle. More... | |
float32_t | sine |
Sine value of the PLL angle. More... | |
float32_t | delta_t |
Inverse of the ISR rate at which module is called. More... | |
SPLL_1PH_NOTCH_COEFF | notch_coeff |
Notch filter coeffcient structure. More... | |
SPLL_1PH_NOTCH_LPF_COEFF | lpf_coeff |
Loop filter coeffcient structure. More... | |
float32_t SPLL_1PH_NOTCH::upd[3] |
Phase detect buffer.
float32_t SPLL_1PH_NOTCH::y_notch1[3] |
Notch filter1 data storage.
float32_t SPLL_1PH_NOTCH::y_notch2[3] |
Notch filter2 data storage.
float32_t SPLL_1PH_NOTCH::ylf[2] |
Loop filter data storage.
float32_t SPLL_1PH_NOTCH::fo |
Output frequency of PLL(Hz)
float32_t SPLL_1PH_NOTCH::fn |
Nominal frequency (Hz)
float32_t SPLL_1PH_NOTCH::theta |
Angle output (0-2*pi)
float32_t SPLL_1PH_NOTCH::cosine |
Cosine value of the PLL angle.
float32_t SPLL_1PH_NOTCH::sine |
Sine value of the PLL angle.
float32_t SPLL_1PH_NOTCH::delta_t |
Inverse of the ISR rate at which module is called.
SPLL_1PH_NOTCH_COEFF SPLL_1PH_NOTCH::notch_coeff |
Notch filter coeffcient structure.
SPLL_1PH_NOTCH_LPF_COEFF SPLL_1PH_NOTCH::lpf_coeff |
Loop filter coeffcient structure.