TI中文支持网
TI专业的中文技术问题搜集分享网站

cmtn_trig 中的cmtndelayCounter 的大小有什么影响

/* Zero crossing to Commutation trigger delay*/ \
v.CmtnTrig = 0; /* Always clear flag on entry */ \
\
if (v.DelayTaskPointer > 0) /* v.DelayTaskPointer = 1 for #CHK_TRIGGER*/ \
{ \
if (v.ZcTrig != 0) \
{ \
/* Substract NoiseWindowMax to compensate the advanced zero-crossing validation point */\
v.CmtnDelayCounter = v.CmtnDelay – v.NoiseWindowMax; \
v.DelayTaskPointer = 0; /* v.DelayTaskPointer = 0 for #COUNT_DWN*/ \
} \
} \
else /* v.DelayTaskPointer = 0 for #COUNT_DWN */ \
{ \
v.CmtnDelayCounter -= 1; \
if (v.CmtnDelayCounter == 0) \
{ \
v.CmtnTrig = 0x00007FFF; /* Yes!- Set trigger. This is used */ \
/* as an input to "MOD6_CNTR" module that changes the commutation sequence.*/ \
\
v.DelayTaskPointer = 1; /* v.DelayTaskPointer = 1 for #CHK_TRIGGER*/ \
}

Seven Han:

你好,这里有一篇文献:

https://wenku.baidu.com/view/cc3a13dc852458fb760b5684.html

赞(0)
未经允许不得转载:TI中文支持网 » cmtn_trig 中的cmtndelayCounter 的大小有什么影响
分享到: 更多 (0)