还是不行。
开环,没有加交流电压反馈。
unsigned int v[200]=
{1,4,7,10,13,16,19,22,25,28,31,34,37,39,42,45,48,51,54,57,
60,62,65,68,71,74,76,79,82,84,87,90,92,95,97,100,103,105,108,110,
112,115,117,119,122,124,126,128,131,133,135,137,139,141,143,145,147,149,151,152,
154,156,157,159,161,162,164,165,167,168,169,171,172,173,174,176,177,178,179,180,
181,182,182,183,184,185,185,186,186,187,187,188,188,189,189,189,189,189,189,189,
189,189,189,189,189,189,189,188,188,187,187,186,186,185,185,184,183,182,182,181,
180,179,178,177,176,174,173,172,171,169,168,167,165,164,162,161,159,157,156,154,
152,151,149,147,145,143,141,139,137,135,133,131,128,126,124,122,119,117,115,112,
110,108,105,103,100,97,95,92,90,87,84,82,79,76,74,71,68,65,62,60,
57,54,51,48,45,42,39,37,34,31,28,25,22,19,16,13,10,7,4,1};
以上是SPWM表。20K时每个脉冲50US,每个脉冲可以分为500份,即0.1us*500=50US.
是不是我的表里数据不对,有高手指教一下!