|
PFC:800WPSUC7-4pin
|
#include <init_bckgnd_funct.h>
Data Fields | |
| int16_t | a [3] |
| int16_t | b [3] |
| uint8_t | qformat |
| uint8_t | shift_to_q15 |
| int16_t | error [3] |
| int32_t | state [3] |
| int32_t | output_int |
| int16_t * | output_int_limit |
| int16_t | soft_start |
| uint16_t | output |
| int16_t | output_max |
| uint16_t | int_ref |
| uint16_t | int_ref_steady |
| int32_t | interm_calc1 |
| int32_t | interm_calc2 |
| bool | first_iter |
Voltage controller with integral part
| int16_t controller_int::a[3] |
PI 'k', 'k-1' and 'k-2' error coefficient. Q(format).
| int16_t controller_int::b[3] |
PI 'k', 'k-1' and 'k-2' duty cycle coefficient. Q(format).
| int16_t controller_int::error[3] |
Voltage ('k'), ('k-1') and ('k-2') error. Q15.
| bool controller_int::first_iter |
First iteration of the voltage loop after not normal conditions
| uint16_t controller_int::int_ref |
Reference value
| uint16_t controller_int::int_ref_steady |
Steady-state Reference value
| int32_t controller_int::interm_calc1 |
Intermediate calculation for debugging
| int32_t controller_int::interm_calc2 |
Intermediate calculation for debugging
| uint16_t controller_int::output |
Output of the regulator
| int32_t controller_int::output_int |
Intermediate output of the regulator in steady state. Q(format+15).
| int16_t* controller_int::output_int_limit |
Limited intermediate output of the regulator in steady state. Q15.
| int16_t controller_int::output_max |
Maximum output to act as a loop saturation
| uint8_t controller_int::qformat |
Q(format) of the coefficients.
| uint8_t controller_int::shift_to_q15 |
Applicable shift to obtain Q15 output.
| int16_t controller_int::soft_start |
Intermediate output of the regulator during Soft-start
| int32_t controller_int::state[3] |
Current ('k'), ('k-1') and ('k-2') output calculated value. Q(format+15).