K_Vbus=33215;//K_Vbus=(519/512)*32767 = 33215; Voltage will never gets to 512V. So this scaling is fine
//K_VrectAvg=24589; //K_VrectAvg=(384.22/2e9)*32767 = (384.22/512)*32767 = 24589
K_VrectAvg=26226; //K_VrectAvg=(409.8/512)*32767 = 26226
K_Vrms=26226; //K_Vrms=(409.8/512)*32767 = 26226
K_VL_fb=26226; // K_VN_fb=26226; //
Seven Han:
搜索整个project,找到所有用到512的地方,帮助分析。