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.

PFC_InvRmsSqr 中的 PFC_InvRmsSqr_VminOverVmax:n: 和 PFC_InvRmsSqr_Vmin:n: 是什么意思?



 根据 DPlib.pdf 的说明

This section explains how to use this module. The example assumes a PFC
Stage designed for 230VAC to 90VAC and the voltage feedback is designed
for peak 400V. Hence,
PFC_INVSQR_CLA_VminOverVmax:n: = (float)(90.0/230.0)= 0.3913
PFC_INVSQR_CLA_Vmin:n: =< (float)(90.0/400.0)= 0.225

#define PFC_InvRmsSqr_CLA_C(v)            \
 v.Out = (v.Vmin > v.In) ? v.Vmin : v.In;        \    (1)
 v.Out = __meinvf32(v.Out) * v.VminOverVmax;        \
 v.Out = v.Out * v.Out;             \
 v.Out = ((v.Out <  LIMIT_PFC_INVRMSSQR) ? v.Out : LIMIT_PFC_INVRMSSQR)

v.Vmin 是一个比值,V.in是个电压输入,

 v.Out = (v.Vmin > v.In) ? v.Vmin : v.In;        一个电压  跟 一个比值 做比较,是实现怎样功能?

能不能解释一下,谢谢

  • 这段说明应该把这部分功能讲的比较清楚。

    你的疑问可以这样理解,v.In虽然意义上是输入电压,但也是归一化之后的输入电压,实际上也是一个实际电压与Base电压的比值。关于这两个Base的关系,上述说明中有所提及。