求助:谁用过TMS320F280X DSP的HRPWM?

[复制链接]
 楼主| alex_china 发表于 2008-7-29 17:03 | 显示全部楼层 |阅读模式
我看数据手册上写的感觉既可以用SFO.lib也可以不用,MEP_SF的值似乎是动态变化的?有没有人用过给指点一下?
 楼主| alex_china 发表于 2008-7-31 14:38 | 显示全部楼层

自己顶一下

有没有做高频开关电源而且用过TI的HRPWM的朋友?
TI_CPIC 发表于 2008-8-4 13:58 | 显示全部楼层

RE


SFO.lib并不是可有可无的东西,他能够优化HRPWM,利用闲置资源,同步好各路资源的利用,有很多好处,或许在只用一二根HRPWM而且是在慢速时可以不使用它。具体在何时使用SFO.LIB请参考下面的介绍。 MEP_SF是动态变化,而且变化的很快,随系统的时钟和DSP执行环境变化,在100MHZ的时钟环境下变化速度是180ps.       

If one of the ePWM modules is not used in HRPWM mode, then it can be dedicated to run the SFO diagnostics for the modules that are running HRPWM mode. Here the single MEP_SF value obtained can be applied to other ePWM modules. This assumes that all HRPWM module’s MEP steps are similar but may not be identical. The ePWM module that is not active in HRPWM mode is still fully operational in conventional PWM mode and can be used to drive PWM pins. The SFO function only makes use of the MEP diagnostics logic. The other ePWM modules operating in HRPWM mode incur only a 3-cycle minimum duty limitation. If the application requires all ePWM modules to have HRPWM capability (i.e., MEP is operational), then the
SFO_MepEn(n) function should run for each of the active ePWM modules with HRPWM capability.
· In the above case, a 6-cycle MEP inactivity zone exists at the start of the PWM period. See Section 2.3.3
on duty cycle range limitation.
· If all ePWM modules are using the same TBCLK prescaler, then it is also possible to run the
SFO_MepEn(n) function for only one ePWM module and to use the SFO return value for the othermodules. In this case only one ePWM module incurs the 6-cycle limitation, and remaining modules incur only a 3-cycle minimum duty limitation. See “Duty cycle limitation” section. This assumes that all HRPWM module’s MEP steps are similar but may not be identical.
 
 http://focus.ti.com.cn/cn/lit/ug/spru924c/spru924c.pdf   第17~20页
tptzj 发表于 2008-8-5 15:03 | 显示全部楼层

HRPWM是新推出的吗?

2812好像没有这个HRPWM哦。又出新东西了~~
 楼主| alex_china 发表于 2008-8-7 13:13 | 显示全部楼层

多谢版主答复!

TI提供的HRPWM测试程序我打不开,现在自己写的涉及HRPWM的程序已经完成了。软件运行时发现占空比D发生极小变化时HRPWM部分确实输出了预期的数值。
在实时仿真测试中发现持续运行的程序中HRPWM的分辨率从没有变过(在每一次PWM中断周期都进行HRPWM分辨率测试),还挺稳定;同一个DSP断电后重启以及不同的DSP同时测量发现MEP_SF的值还是有差异的,稍微有变化,但是变化量很小。
 楼主| alex_china 发表于 2008-8-7 13:21 | 显示全部楼层

回应4楼:HRPWM是新推出的技术。

只在TI的280X,280XX,28X3X的DSP上有,281X上没有。
我认为这也是迄今为止唯一的高频/高精度数字电源的方案。
tptzj 发表于 2008-8-8 13:58 | 显示全部楼层

了解了~~原来是这样

dewlife 发表于 2009-9-25 11:08 | 显示全部楼层
2812好像没有这个HRPWM哦。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

8

主题

117

帖子

0

粉丝
快速回复 在线客服 返回列表 返回顶部