Declaration of macros calculating additional parameters for Adaptive Gain Modulation. More...
#define | BUCK_VL_MINIMUM (float)(BUCK_VIN_UNDER_VOLTAGE - BUCK_VOUT_RANGE_MAX) |
Declaration of additional hardware-specific defines required for adaptive gain control. More... | |
#define | BUCK_VL_NOMINAL (float)(BUCK_VIN_NOMINAL - BUCK_VOUT_NOMINAL) |
Nominal input voltage - nominal output voltate. More... | |
#define | BUCK_VL_MAXIMUM (float)(BUCK_VIN_RANGE_MAX - 0) |
Maximum input voltage - 0. More... | |
#define | BUCK_AGC_FACTOR_MAX (float)(BUCK_VL_NOMINAL / BUCK_VL_MINIMUM) |
Floating point number of the maximumm limit of the adaptive gain modulation factor (float) More... | |
#define | BUCK_VIN_NORM_FCT (float)(BUCK_VOUT_FEEDBACK_GAIN / BUCK_VIN_FEEDBACK_GAIN) |
VIN-2-VOUT Normalization Factor. More... | |
#define | BUCK_AGC_IO_NORM_SCALER (int16_t)(ceil(log(BUCK_VIN_NORM_FCT)) + 1) |
Nominal VL Q15 scaler More... | |
#define | BUCK_AGC_IO_NORM_FACTOR (int16_t)((BUCK_VIN_NORM_FCT / pow(2.0, BUCK_AGC_IO_NORM_SCALER)) * (pow(2.0, 15)-1)) |
Nominal VL Q15 factor. More... | |
#define | BUCK_AGC_MEDIAN (int16_t)(((float)BUCK_VIN_NOM * BUCK_VIN_NORM_FCT) - BUCK_VOUT_NOM) |
Adaptive gain modulation factor at nominal operating point. More... | |
#define | BUCK_AGC_NOM_SCALER (uint16_t)(ceil(log(BUCK_AGC_FACTOR_MAX)) + 1) |
Bit-shift scaler of the floating point number of the maimum limit of the adaptive gain modulation factor. More... | |
#define | BUCK_AGC_NOM_FACTOR (uint16_t)(0x7FFF >> BUCK_AGC_NOM_SCALER) |
Fractional of the floating point number of the maimum limit of the adaptive gain modulation factor. More... | |
Declaration of macros calculating additional parameters for Adaptive Gain Modulation.
#define BUCK_AGC_FACTOR_MAX (float)(BUCK_VL_NOMINAL / BUCK_VL_MINIMUM) |
Floating point number of the maximumm limit of the adaptive gain modulation factor (float)
Definition at line 662 of file epc9143_r40_hwdescr.h.
#define BUCK_AGC_IO_NORM_FACTOR (int16_t)((BUCK_VIN_NORM_FCT / pow(2.0, BUCK_AGC_IO_NORM_SCALER)) * (pow(2.0, 15)-1)) |
Nominal VL Q15 factor.
Definition at line 668 of file epc9143_r40_hwdescr.h.
#define BUCK_AGC_IO_NORM_SCALER (int16_t)(ceil(log(BUCK_VIN_NORM_FCT)) + 1) |
Nominal VL Q15 scaler
Definition at line 667 of file epc9143_r40_hwdescr.h.
#define BUCK_AGC_MEDIAN (int16_t)(((float)BUCK_VIN_NOM * BUCK_VIN_NORM_FCT) - BUCK_VOUT_NOM) |
Adaptive gain modulation factor at nominal operating point.
Definition at line 671 of file epc9143_r40_hwdescr.h.
#define BUCK_AGC_NOM_FACTOR (uint16_t)(0x7FFF >> BUCK_AGC_NOM_SCALER) |
Fractional of the floating point number of the maimum limit of the adaptive gain modulation factor.
Definition at line 673 of file epc9143_r40_hwdescr.h.
#define BUCK_AGC_NOM_SCALER (uint16_t)(ceil(log(BUCK_AGC_FACTOR_MAX)) + 1) |
Bit-shift scaler of the floating point number of the maimum limit of the adaptive gain modulation factor.
Definition at line 672 of file epc9143_r40_hwdescr.h.
#define BUCK_VIN_NORM_FCT (float)(BUCK_VOUT_FEEDBACK_GAIN / BUCK_VIN_FEEDBACK_GAIN) |
VIN-2-VOUT Normalization Factor.
Definition at line 666 of file epc9143_r40_hwdescr.h.
#define BUCK_VL_MAXIMUM (float)(BUCK_VIN_RANGE_MAX - 0) |
Maximum input voltage - 0.
Definition at line 660 of file epc9143_r40_hwdescr.h.
#define BUCK_VL_MINIMUM (float)(BUCK_VIN_UNDER_VOLTAGE - BUCK_VOUT_RANGE_MAX) |
Declaration of additional hardware-specific defines required for adaptive gain control.
Description: In this section additional macros are defined to calculate constant parameters for the adaptive gain modulation algorithm using user defined settings declared in their respective sections. Any change of these parameters will also result in a change of the values of the gain modulation parameters of this section. Minimum input voltage - maximum output voltate
Definition at line 658 of file epc9143_r40_hwdescr.h.
#define BUCK_VL_NOMINAL (float)(BUCK_VIN_NOMINAL - BUCK_VOUT_NOMINAL) |
Nominal input voltage - nominal output voltate.
Definition at line 659 of file epc9143_r40_hwdescr.h.