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.

关于control suite 中,例程HVPSFB-main.c 中语句的表述

volatile long Vfb_slew_temp = 0; // Temp variable: used only if implementing
// slew rate control in the slower state machine
volatile long VfbSetSlewed = 2093568; // Slewed set point for the FB voltage loop - start from 4V
volatile long VfbSlewRate = 25600; // FB Slew rate adjustment

用的芯片是28035.例程HVPSFB-main.c 中,VfbSetSlewed是电压给定参考值,其中VfbSetSlewed = 2093568中的数值是怎么换算的 ,作为初学者  谢谢哈

  • 一个是和Q值有关,还和外部采样分压电阻有关

  • 谢谢 比如我的电压采样 采用的是LV25-p传感器,原副边电流比为10:25  我原边采样最大电压240V  经电阻24k ,原边输入电流最大为10mA,副边接电阻480Ω,电压为12V,由于DSP输入电压不超过3.3V,所以ad采样输入电压最大为3.2V,那么  请问我的给定电压参考值应该怎么计算  (按照那个例程),谢谢哈

  • 输入到DSP的AD端口电压要经过硬件调理到0到3V之间才可输入给AD端口,电压参考值要算上这个比例系数。

  • 嗯哈  谢谢哈  那比如需要的输出电压是200V,我按照最大采样电压240V进行计算,经霍尔传感器和电阻480Ω获得12V的电压  经换算系数0.254转换为3V输入到AD端口,那么我的参考电压200V就需要通过霍尔传感器和换算系数0.254进行计算,我算出的参考电压值是2.54V,不好意思,初学者