
ADMC331
–15–
REV. B
Width of the PWMSYNC Pulse, PWMSYNCWT Register
The PWM controller of the ADMC331 produces an output
PWM synchronization pulse at a rate equal to the PWM switch-
ing frequency in single update mode and at twice the PWM
frequency in the double update mode. This pulse is available
for external use at the PWMSYNC pin. The width of this
PWMSYNC pulse is programmable by the 8-bit read/write
PWMSYNCWT register. The width of the PWMSYNC pulse,
T
PWMSYNC
, is given by:
T
PWMSYNC
=
t
CK
×
(
PWMSYNCWT
+ 1)
so that the width of the pulse is programmable from t
CK
to 256 t
CK
(corresponding to 38.5 ns to 9.84
μ
s for a CLKOUT rate of
26 MHz). Following a reset, the PWMSYNCWT register con-
tains 0x27 (= 39) so that the default PWMSYNC width is
1.54
μ
s, again for a 26 MHz CLKOUT.
PWM Duty Cycles, PWMCHA, PWMCHB, PWMCHC
Registers
The duty cycles of the six PWM output signals on pins AH to
CL are controlled by the three 16-bit read/write duty-cycle
registers, PWMCHA, PWMCHB, and PWMCHC. The integer
value in the register PWMCHA controls the duty cycle of the
signals on AH and AL, in PWMCHB, controls the duty cycle of
the signals on BH and BL and in PWMCHC, controls the duty
cycle of the signals on CH and CL. The duty-cycle registers are
programmed in integer counts of the fundamental time unit,
t
CK
, and define the desired on-time of the high side PWM signal
produced by the three-phase timing unit over half the PWM
period. The switching signals produced by the three-phase
timing unit are also adjusted to incorporate the programmed
dead time value in the PWMDT register. The three-phase
timing unit produces active LO signals so that a LO level corre-
sponds to a command to turn on the associated power device.
A typical pair of PWM outputs (in this case for AH and AL)
from the timing unit are shown in Figure 6 for operation in
single update mode. All illustrated time values indicate the
integer value in the associated register and can be converted to
time simply by multiplying by the fundamental time increment,
t
CK
. Firstly, it is noted that the switching patterns are perfectly
symmetrical about the midpoint of the switching period in
this single update mode since the same values of PWMCHA,
PWMTM and PWMDT are used to define the signals in both
half cycles of the period. It can be seen how the programmed
duty cycles are adjusted to incorporate the desired dead time
into the resultant pair of PWM signals. Clearly, the dead time is
incorporated by moving the switching instants of both PWM
signals (AH and AL) away from the instant set by the PWMCHA
register. Both switching edges are moved by an equal amount
(PWMDT
×
t
CK
) to preserve the symmetrical output patterns.
Also shown is the PWMSYNC pulse whose width is set by the
PWMSYNCWT register and Bit 3 of the SYSSTAT register,
which indicates whether operation is in the first or second half
cycle of the PWM period.
Obviously negative values of T
AH
and T
AL
are not permitted and
the minimum permissible value is zero, corresponding to a 0%
duty cycle. In a similar fashion, the maximum value is T
S
,
corresponding to a 100% duty cycle.
PWMCHA
2
PWMDT
PWMSYNCWT + 1
PWMCHA
PWMTM
PWMTM
AH
AL
PWMSYNC
SYSSTAT (3)
2
PWMDT
Figure 6. Typical PWM Outputs of Three-Phase Timing
Unit in Single Update Mode (Active LO Waveforms)
The resultant on-times of the PWM signals in Figure 6 may be
written as:
T
AH
= 2
×
(
PWMCHA
–
PWMDT
)
×
t
CK
T
AL
= 2
×
(PWMTM
–
PWMCHA
–
PWMDT)
×
t
CK
and the corresponding duty cycles are:
d
AH
=
T
AH
T
S
=
PWMCHA
–
PWMDT
PWMTM
d
AL
=
T
AL
T
S
=
PWMTM
–
PWMCHA
–
PWMDT
PWMTM
The output signals from the timing unit for operation in double
update mode are shown in Figure 7. This illustrates a com-
pletely general case where the switching frequency, dead time
and duty cycle are all changed in the second half of the PWM
period. Of course, the same value for any or all of these quanti-
ties could be used in both halves of the PWM cycle. However,
it can be seen that there is no guarantee that symmetrical PWM
signal will be produced by the timing unit in this double update
mode. Additionally, it is seen that the dead time is inserted into
the PWM signals in the same way as in the single update mode.
PWMCHA
2
PWMSYNCWT
2
+ 1
PWMCHA
1
PWMTM
1
PWMTM
2
PWMSYNCWT
1
+ 1
AH
AL
PWMSYNC
SYSSTAT (3)
2
PWMDT
1
2
PWMDT
2
Figure 7. Typical PWM Outputs of Three-Phase Timing
Unit in Double Update Mode (Active LO Waveforms)
In general, the on-times of the PWM signals in double update
mode can be defined as:
(
T
AH
=
PWMCHA
1
+
PWMCHA
2
PWMDT
1
PWMDT
2
)
×
t
CK
T
AL
=
(
PWMTM
1
+
PWMTM
2
–
PWMCHA
1
–
PWMCHA
2
–
PWMDT
1
–
PWMDT
2
)
×
t
CLK