This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

controlsui的PFC例程定义的各种电压什么意思


#define VIN_FULL_RANGE (409.8) //full range of ADC for Vin (each of line and neutral sense)
#define VBUS_FULL_RANGE  (519.0)//(522.5)//(503.0) //full range of ADC for VBUS
#define VBUS_RATED_VOLTS (400.0)//(395.0) //395.0V

#define VBUS_MIN ((int32)((100.0/VBUS_FULL_RANGE)*4096*4096)) //Min bus volt with AC in and PFC off
#define VBUS_DPWM_OFF_LEVEL ((int32)((425.0/VBUS_FULL_RANGE)*4096*4096)) //425V
#define VBUS_DPWM_ON_LEVEL  ((int32)((395.0/VBUS_FULL_RANGE)*4096*4096)) //395V
#define VBUS_TARGET   ((int32)((VBUS_RATED_VOLTS/VBUS_FULL_RANGE)*4096*4096)) //395V
#define VBUS_ERROR_NL_CNTRL_THRSHLD ((int32)((10.0/VBUS_FULL_RANGE)*4096*4096)) //Vbus error threshold to activate NL Vloop control
1,能说下这几个电压代表了什么?
2,为什么都要/VBUS_FULL_RANGE)*4096*4096?这样表达什么?后面的4096*4096是什么?