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.
工具/软件:Code Composer Studio
我不理解控制套件示例中 SVPWM 算法的含义。 有人可以给我一些指导吗?
#define SVGENDQ_MACRO (v)\
V.tmp1= v.Ubeta;\
V.tmp2=_IQdiv2 (v.Ubeta)+(_IQmpy (_IQ (0.866)、v.Ualpha));\
V.tmp3= v.tmp2 - v.tmp1;\
\
V.VecSector = 3;\
V.VecSector=(v.tmp2>0)?(v.VecSector-1):v.VecSector;\
V.VecSector=(v.tmp3>0)?(v.VecSector-1):v.VecSector;\
V.VecSector=(v.tmp1<0)?(7-v.VecSector ):v.VecSector;\
\
if (v.VecSector = 1 || v.VecSector = 4)\
{v.Ta= v.tmp2;\
V.TB= v.tmp1-v.tmp3;\
V.tc=-v.tmp2;\
}\
\
否则、如果(v.VecSector = 2 || v.VecSector = 5)\
{v.Ta= v.tmp3+v.tmp2;\
V.TB= v.tmp1;\
V.tc=-v.tmp1;\
}\
\
否则\
{v.Ta= v.tmp3;\
V.TB=-v.tmp3;\
V.tc=-(v.tmp1+v.tmp2);\
}\
我想知道,上的传统 svpwm 和 svpwm 之间的区别,您能告诉我?