SPRUIZ1B July 2023 – August 2024 TMS320F28P650DH , TMS320F28P650DK , TMS320F28P650SH , TMS320F28P650SK , TMS320F28P659DH-Q1 , TMS320F28P659DK-Q1 , TMS320F28P659SH-Q1
The purpose of the Diode Emulation logic is to provide hardware features and the necessary hooks into other IPs to implement robust diode mode sense and control in a noisy environment.
Diode Emulation features include:
Figure 22-52 illustrates the diode emulation submodule within the ePWM.
Figure 1-1 shows the interfaces to the DE block. As can be seen from the diagram, DE function is associated with an instance of ePWMx. The EPWMxA and EPWMxB signals from a given instance of ePWM module pass through the associated DE block and minimum dead band logic. In addition to EPWMxA and EPWMxB, two signals, EPWMxA_DB_NO_HR and EPWMxB_DB_NO_HR are tapped from the ePWM modules. These two signals are PWM signals that are tapped before the signals pass through the high-resolution delay lines and come from the dead-band submodule outputs. If high-resolution is not used, then EPWMxA_DB_NO_HR and EPWMxB_DB_NO_HR are just the outputs of the dead-band submodule.
The DE block can be configured to select one of the comparators or one of the outputs of the Input X-Bar or CLB Input X-Bar, as source of trip signals (TRIPH, TRIPL). The selected comparator is responsible for monitoring the current in the external power converter. Comparator thresholds (High and Low threshold) can be set such that, any breach of these thresholds indicates a need to switch to the DE mode.
DECOMPSEL.TRIPH | TRIPH Source Signal |
---|---|
0 | CMPSSTRIPH1 |
1 | CMPSSTRIPH2 |
2 | CMPSSTRIPH3 |
3 | CMPSSTRIPH4 |
4 | CMPSSTRIPH5 |
5 | CMPSSTRIPH6 |
6 | CMPSSTRIPH7 |
7 | CMPSSTRIPH8 |
8 | CMPSSTRIPH9 |
9 | CMPSSTRIPH10 |
10 | CMPSSTRIPH11 |
11:15 | Reserved |
16 | INPUTXBAR1 |
17 | INPUTXBAR2 |
18 | INPUTXBAR3 |
19 | INPUTXBAR4 |
20 | INPUTXBAR5 |
21 | INPUTXBAR6 |
22 | INPUTXBAR7 |
23 | INPUTXBAR8 |
24 | INPUTXBAR9 |
25 | INPUTXBAR10 |
26 | INPUTXBAR11 |
27 | INPUTXBAR12 |
28 | INPUTXBAR13 |
29 | INPUTXBAR14 |
30 | INPUTXBAR15 |
31 | INPUTXBAR16 |
32 | CLBINPUTXBAR1 |
33 | CLBINPUTXBAR2 |
34 | CLBINPUTXBAR3 |
35 | CLBINPUTXBAR4 |
36 | CLBINPUTXBAR5 |
37 | CLBINPUTXBAR6 |
38 | CLBINPUTXBAR7 |
39 | CLBINPUTXBAR8 |
40 | CLBINPUTXBAR9 |
41 | CLBINPUTXBAR10 |
42 | CLBINPUTXBAR11 |
43 | CLBINPUTXBAR12 |
44 | CLBINPUTXBAR13 |
45 | CLBINPUTXBAR14 |
46 | CLBINPUTXBAR15 |
47 | CLBINPUTXBAR16 |
48:63 | Reserved |
DECOMPSEL.TRIPL | TRIPL Source Signal |
---|---|
0 | CMPSSTRIPL1 |
1 | CMPSSTRIPL2 |
2 | CMPSSTRIPL3 |
3 | CMPSSTRIPL4 |
4 | CMPSSTRIPL5 |
5 | CMPSSTRIPL6 |
6 | CMPSSTRIPL7 |
7 | CMPSSTRIPL8 |
8 | CMPSSTRIPL9 |
9 | CMPSSTRIPL10 |
10 | CMPSSTRIPL11 |
11:15:00 | Reserved |
16 | INPUTXBAR1 |
17 | INPUTXBAR2 |
18 | INPUTXBAR3 |
19 | INPUTXBAR4 |
20 | INPUTXBAR5 |
21 | INPUTXBAR6 |
22 | INPUTXBAR7 |
23 | INPUTXBAR8 |
24 | INPUTXBAR9 |
25 | INPUTXBAR10 |
26 | INPUTXBAR11 |
27 | INPUTXBAR12 |
28 | INPUTXBAR13 |
29 | INPUTXBAR14 |
30 | INPUTXBAR15 |
31 | INPUTXBAR16 |
32 | CLBINPUTXBAR1 |
33 | CLBINPUTXBAR2 |
34 | CLBINPUTXBAR3 |
35 | CLBINPUTXBAR4 |
36 | CLBINPUTXBAR5 |
37 | CLBINPUTXBAR6 |
38 | CLBINPUTXBAR7 |
39 | CLBINPUTXBAR8 |
40 | CLBINPUTXBAR9 |
41 | CLBINPUTXBAR10 |
42 | CLBINPUTXBAR11 |
43 | CLBINPUTXBAR12 |
44 | CLBINPUTXBAR13 |
45 | CLBINPUTXBAR14 |
46 | CLBINPUTXBAR15 |
47 | CLBINPUTXBAR16 |
48:63 | Reserved |
Once DE mode is entered, indicated by setting of DEACTIVE flag, the ePWMs sent out of DE block are controlled by configuration registers in the DE block, and are not be the same as ePWMA/B from the associated ePWM instance. Once the DEACTIVE flag is set, the threshold settings of the selected CMPSS are switched to a new set of values (a narrower region). DEACTIVE flag from all of the ePWM instances are hooked up to all the comparator sub-systems (CMPSSy) to enable threshold value switch on DE mode entry. Refer to the CMPSS chapter for more details on how the new threshold values are set.