主题中讨论的其他器件: C2000WARE
您好!
我研究了 PMP23126软件代码。
在 PSFB_HAL_setupBoardProtection 函数中、我没有看到 BASE2跳匣区域配置。
// What do we want the OST/CBC events to do?
// TZA events can force EPWMxA
// TZB events can force EPWMxB
//
EPWM_setTripZoneAction(base1, EPWM_TZ_ACTION_EVENT_TZA, EPWM_TZ_ACTION_LOW);
EPWM_setTripZoneAction(base1, EPWM_TZ_ACTION_EVENT_TZB, EPWM_TZ_ACTION_LOW);
EPWM_setTripZoneAction(base3, EPWM_TZ_ACTION_EVENT_TZA, EPWM_TZ_ACTION_LOW);
EPWM_setTripZoneAction(base3, EPWM_TZ_ACTION_EVENT_TZB, EPWM_TZ_ACTION_LOW);
当我检查 PCMC=1情况、对于 ePWM base 2、我看到以下行。
//
// Trip-zone event actions
// What do we want the CBC events to do?
// TZAx events can force EPWMxA
// TZBx events can force EPWMxB
//
EPWM_setTripZoneAdvAction(base2, EPWM_TZ_ADV_ACTION_EVENT_TZA_D,
EPWM_TZ_ADV_ACTION_LOW);
EPWM_setTripZoneAdvAction(base2, EPWM_TZ_ADV_ACTION_EVENT_TZA_U,
EPWM_TZ_ADV_ACTION_DISABLE);
EPWM_setTripZoneAdvAction(base2, EPWM_TZ_ADV_ACTION_EVENT_TZB_U,
EPWM_TZ_ADV_ACTION_LOW);
EPWM_setTripZoneAdvAction(base2, EPWM_TZ_ADV_ACTION_EVENT_TZB_D,
EPWM_TZ_ADV_ACTION_DISABLE);
EPWM_setTripZoneAction(base2, EPWM_TZ_ACTION_EVENT_TZA,
EPWM_TZ_ACTION_DISABLE);
EPWM_setTripZoneAction(base2, EPWM_TZ_ACTION_EVENT_TZB,
EPWM_TZ_ACTION_DISABLE);
1) 1)为何 TI 不使用 以下命令行提供保护? 请详细说明。
EPWM_setTripZoneAction(base2, EPWM_TZ_ACTION_EVENT_TZA, EPWM_TZ_ACTION_LOW);
EPWM_setTripZoneAction(base2, EPWM_TZ_ACTION_EVENT_TZB, EPWM_TZ_ACTION_LOW);
2) 2)当我设置我 自己的 软件和自己的电路板来测试保护功能时、我观察到其中一个 ePWM2 (输出 A 或 B)不能具有单触发跳闸功能、并会继续在其输出端生成 PWM 信号。
3) 3)我不认为我理解了图18-42跳闸区域子模块模式控制逻辑。 我无法将 driverlib 函数和图表相互匹配。 你有什么建议吗?
此致。












