SPWM

所属分类:DSP编程
开发工具:Visual C++
文件大小:213KB
下载次数:17
上传日期:2016-12-01 08:59:54
上 传 者拉格朗日的番茄酱
说明:  为了验证仿真的情况,需要把仿真部分转换为代码。 对于逆变,产生相应的控制占空比一般有2种方式: 1.通过计算sin公式,实时计算出输出值,送入epwm发生器中。 其中分2种,一种是直接计算,这种方式在简单的境况下可以使用,但是考虑到计算量对DSP比较大,一般不采用。另外一种是使用TI公司提供的IQmaths函数库里的函数,可以极大减少运算时间。 2.离线读表法。 通过实验发现,如果调用IQMATH直接计算,需要60us。由于开关频率为10K,整个控制的时间限定在100us以内。直接读表,则时间在10us内。 若是要加上闭环控制获得比较好的效果,必然得采用离线读表方式。
(In order to verify the simulation situation, it is necessary to convert part of the simulation code. For the inverter to yield the corresponding duty cycle is controlled generally in two ways: 1. By calculating formula sin, real-time calculation of the output value, into epwm generator. Which divided into two kinds, one is directly calculated in this way in a simple situation can be used, but considering the amount of computation of DSP is relatively large, generally not used. Another is to use IQmaths function library functions provided by TI, can greatly reduce the computation time. 2. Offline reading table method. Experiments found that, if the call IQMATH direct calculation requires 60us. Since the switching frequency is 10K, the entire time-controlled limited to less than 100us. Direct meter reading, the time within 10us. If you want to add closed-loop control to get better results, must give way to off-line reading table.)

文件列表:
SPWM\cc_build_Debug.log (1744, 2009-08-12)
SPWM\Debug\DSP28_DefaultIsr.obj (48920, 2009-08-12)
SPWM\Debug\DSP28_Ev.obj (8563, 2009-08-12)
SPWM\Debug\DSP28_GlobalVariableDefs.obj (111382, 2009-08-12)
SPWM\Debug\DSP28_Gpio.obj (10318, 2009-08-12)
SPWM\Debug\DSP28_PieCtrl.obj (4943, 2009-08-12)
SPWM\Debug\DSP28_PieVect.obj (16446, 2009-08-12)
SPWM\Debug\DSP28_SysCtrl.obj (5492, 2009-08-12)
SPWM\Debug\SPM.obj (12588, 2009-08-12)
SPWM\Debug\SPM.out (137450, 2009-08-12)
SPWM\Debug\SPWM.map (15445, 2009-08-12)
SPWM\Debug.lkf (827, 2009-08-12)
SPWM\DSP28_Adc.h (5962, 2009-06-17)
SPWM\DSP28_CpuTimers.h (3978, 2009-06-17)
SPWM\DSP28_DefaultIsr.c (21975, 2009-08-12)
SPWM\DSP28_DefaultIsr.h (4054, 2009-06-17)
SPWM\DSP28_DevEmu.h (1686, 2009-06-17)
SPWM\DSP28_Device.h (3164, 2009-06-23)
SPWM\DSP28_ECan.h (42076, 2009-06-17)
SPWM\DSP28_Ev.c (2081, 2009-08-12)
SPWM\DSP28_Ev.h (20354, 2009-06-17)
SPWM\DSP28_GlobalPrototypes.h (1040, 2009-06-17)
SPWM\DSP28_Globalvariable.h (630, 2009-08-12)
SPWM\DSP28_GlobalVariableDefs.c (2660, 2009-06-18)
SPWM\DSP28_Gpio.c (1340, 2009-08-12)
SPWM\DSP28_Gpio.h (22627, 2009-06-17)
SPWM\DSP28_Mcbsp.h (32233, 2009-06-17)
SPWM\DSP28_PieCtrl.c (1626, 2009-06-14)
SPWM\DSP28_PieCtrl.h (4949, 2009-06-17)
SPWM\DSP28_PieVect.c (5562, 2009-06-14)
SPWM\DSP28_PieVect.h (5436, 2009-06-18)
SPWM\DSP28_Sci.h (6447, 2009-06-17)
SPWM\DSP28_Spi.h (4721, 2009-06-17)
SPWM\DSP28_SysCtrl.c (2371, 2009-08-08)
SPWM\DSP28_SysCtrl.h (7652, 2009-06-17)
SPWM\DSP28_Xintf.h (2915, 2009-06-17)
SPWM\DSP28_XIntrupt.h (1509, 2009-06-17)
SPWM\EvPwm02.paf2 (6563, 2009-08-10)
SPWM\EvPwm02.sbl (4386, 2009-08-10)
SPWM\SPM.c (2351, 2009-08-12)
... ...

近期下载者

相关文件


收藏者