Datasheet
dsPIC30F1010/202X
DS70178C-page 122 Preliminary © 2006 Microchip Technology Inc.
12.4.4 MULTI-PHASE PWM MODE
Multi-Phase PWM, as shown in Figure 12-6, uses
phase-shift values in the Phase registers to shift the
PWM outputs relative to the primary time base.
Because the phase-shift values are added to the pri-
mary time base, the phase-shifted outputs occur earlier
than a PWM channel that specifies zero phase shift. In
Multi-Phase mode, the specified phase shift is fixed by
the application’s design.
FIGURE 12-6: MULTI-PHASE PWM
12.4.5 VARIABLE PHASE PWM MODE
Figure 12-7 shows the waveforms for Variable Phase-
Shift PWM. Power-converter circuits constantly change
the phase shift among PWM channels as a means to
control the flow of power, in contrast to most PWM cir-
cuits that vary the duty cycle of PWM signals to control
power flow. Often, in variable phase applications, the
PWM duty cycle is maintained at 50%. The phase-shift
value should be updated when the PWM signal is not
asserted. Complementary outputs are available in Vari-
able Phase-Shift mode.
FIGURE 12-7: VARIABLE PHASE PWM
12.4.6 CURRENT-LIMIT PWM MODE
Figure 12-8 shows Cycle-by-Cycle Current-Limit
mode. This mode truncates the asserted PWM signal
when the selected external Fault signal is asserted.
The PWM output values are specified by the Fault
override bits (FLTDAT<1:0>) in the IOCONx register.
The override output remains in effect until the begin-
ning of the next PWM cycle. This mode is sometimes
used in Power Factor Correction (PFC) circuits where
the inductor current controls the PWM on time. This is
a constant frequency PWM mode.
FIGURE 12-8: CYCLE-BY-CYCLE
CURRENT-LIMIT PWM
MODE
Duty Cycle
PWM2H
Duty Cycle
PWM4H
Duty Cycle
PWM3H
Duty Cycle
PWM1H
Period
Phase4
Phase2
Phase3
PTMR=0
Duty CyclePWM1H
Period
Duty Cycle
Duty Cycle
Phase2 (old value)
Duty Cycle
PWM2H
Phase2 (new value)
Duty Cycle
0
Period
Timer
Value
PWMH
Value
FLTx
Negates PWM
Duty Cycle
Programmed
Duty
Cycle
Programmed
Duty Cycle
PWMH
Duty Cycle
Actual Actual
FLTx
Negates PWM