ADUC7025BCPZ32-RL7 AD [Analog Devices], ADUC7025BCPZ32-RL7 Datasheet - Page 56

no-image

ADUC7025BCPZ32-RL7

Manufacturer Part Number
ADUC7025BCPZ32-RL7
Description
Precision Analog Microcontroller 12-bit Analog I/O, ARM7TDMI MCU
Manufacturer
AD [Analog Devices]
Datasheet
ADuC7019/20/21/22/24/25/26/27
The advantage of double update mode is that lower harmonic
voltages can be produced by the PWM process and faster
control bandwidths are possible. However, for a given PWM
switching frequency, the PWMSYNC pulses occur at twice the
rate in the double update mode. Because new duty cycle values
must be computed in each PWMSYNC interrupt service
routine, there is a larger computational burden on the ARM
core in double update mode.
PWM Duty Cycles (PWMCH0, PWMCH1,
PWMCH2 MMRs)
The duty cycles of the six PWM output signals on Pin PWM0
to Pin PWM2
duty cycle registers, PWMCH0, PWMCH1, and PWMCH2.
The duty cycle registers are programmed in integer counts of
the fundamental time unit, t
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
PWMDAT1 register. The three-phase timing unit produces
active low signals so that a low level corresponds to a command
to turn on the associated power device.
Figure 57 shows a typical pair of PWM outputs (in this case, 0H
and 0L) from the timing unit in single update mode. All
illustrated time values indicate the integer value in the
associated register and can be converted to time by simply
multiplying by the fundamental time increment, t
the switching patterns are perfectly symmetrical about the
midpoint of the switching period in this mode because the same
values of PWMCH0, PWMDAT0, and PWMDAT1 are used to
define the signals in both half cycles of the period.
Figure 57 also demonstrates how the programmed duty cycles
are adjusted to incorporate the desired dead time into the
resulting pair of PWM signals. Clearly, the dead time is incor-
porated by moving the switching instants of both PWM signals
(0H and 0L) away from the instant set by the PWMCH0 register.
PWMSTA (0)
PWMSYNC
Figure 57. Typical PWM Outputs of Three-Phase Timing Unit
–PWMDAT0/2
0H
0L
2 × PWMDAT1
PWMCH0
L
are controlled by the three, 16-bit read/write
PWMDAT0
in Single Update Mode
0
CORE
+PWMDAT0/2
. They define the desired on-
PWMDAT0
PWMDAT2+1
0
2 × PWMDAT1
PWMCH0
CORE
–PWMDAT0/2
. Note that
Rev. A | Page 56 of 92
H
Both switching edges are moved by an equal amount
(PWMDAT1 × t
patterns.
Also shown is the PWMSYNC pulse and Bit 0 of the PWMSTA
register, which indicates whether operation is in the first or
second half cycle of the PWM period.
The resulting on-times of the PWM signals over the full PWM
period (two half periods) produced by the timing unit can be
written as follows:
On the high side
and the corresponding duty cycles (d)
and on the low side
and the corresponding duty cycles (d)
The minimum permissible T
corresponding to a 0% duty cycle. In a similar fashion, the
maximum value is T
Figure 58 shows the output signals from the timing unit for
operation in double update mode. It illustrates a 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 quantities can be used in both
halves of the PWM cycle. However, there is no guarantee that
symmetrical PWM signals are produced by the timing unit in
double update mode. Figure 58 also shows that the dead time
inserted into the PWM signals are done so in the same way as
demonstrated in single update mode.
PWMSTA (0)
PWMSYNC
T
T
d
T
T
d
Figure 58. Typical PWM Outputs of the Three-Phase Timing Unit
0H
OL
0HH
0HL
0LH
0LL
–PWMDAT0
= T
= T
0H
0L
= PWMDAT0 + 2(PWMCH0 + PWMDAT1)
= PWMDAT0 − 2(PWMCH0 − PWMDAT1) × t
= PWMDAT0 − 2(PWMCH0 + PWMDAT1)
= PWMDAT0 + 2(PWMCH0 − PWMDAT1) × t
2 × PWMDAT1
0LH
0HH
PWMCH0
/T
/T
S
1
CORE
S
/2
= ½ − (PWMCH0 + PWMDAT1)/PWMDAT0
= ½ + (PWMCH0 − PWMDAT1)/PWMDAT0
PWMDAT0
S
) to preserve the symmetrical output
1
, corresponding to a 100% duty cycle.
1
in Double Update Mode
PWMDAT2
0
1
0H
1
and T
–PWMDAT0
+PWMDAT0
+1
0L
values are zero,
2
1
/2
/2
PWMDAT0
PWMDAT2
0
2 × PWMDAT1
PWMCH0
2
+PWMDAT0
2
+1
× t
× t
2
CORE
CORE
CORE
CORE
2
2
/2

Related parts for ADUC7025BCPZ32-RL7