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.

TI最新的svgen.h库问题



在v4.2的数学库里svgen.h对作用时间的计算有如下语句

if (v.VecSector==1 || v.VecSector==4) 
{ v.Ta= v.tmp2; 
v.Tb= v.tmp1-v.tmp3; 
v.Tc=-v.tmp2; 


else if(v.VecSector==2 || v.VecSector==5) 
{ v.Ta= v.tmp3+v.tmp2; 
v.Tb= v.tmp1; 
v.Tc=-v.tmp1; 


else 
{ v.Ta= v.tmp3; 
v.Tb=-v.tmp3; 
v.Tc=-(v.tmp1+v.tmp2); 

现在有点看不太懂,和以前的比起来不太一样,能否解释一下,为什么1,4 扇区 2,5 扇区 3,6扇区分别对应的Ta,Tc,Tb一样呢