PIC18F2331 MICROCHIP [Microchip Technology], PIC18F2331 Datasheet - Page 201

no-image

PIC18F2331

Manufacturer Part Number
PIC18F2331
Description
28/40/44-Pin Enhanced Flash Microcontrollers with nanoWatt Technology, High Performance PWM and A/D
Manufacturer
MICROCHIP [Microchip Technology]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18F2331-I/SO
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC18F2331-I/SP
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
17.7
In power inverter applications where the PWMs are
used in Complementary mode to control the upper and
lower switches of a half-bridge, a dead time insertion is
highly recommended. The dead time insertion keeps
both outputs in inactive state for a brief time. This
avoids any overlap in the switching during the state
change of the power devices due to T
characteristics.
Because the power output devices cannot switch
instantaneously, some amount of time must be pro-
vided between the turn-off event of one PWM output in
a complementary pair and the turn-on event of the
other transistor. The PWM module allows dead time to
be programmed. Following sections explain the dead
time block in detail.
FIGURE 17-17:
FIGURE 17-18:
 2003 Microchip Technology Inc.
Compare Input
Duty Cycle
Dead Time Generators
Dead Time
Dead Time
Select Bits
Prescale
F
OSC
DEAD TIME CONTROL UNIT BLOCK DIAGRAM FOR ONE PWM OUTPUT PAIR
DEAD TIME INSERTION FOR COMPLEMENTARY PWM
Clock Control
and Prescaler
compare
output
PWM1
PWM0
PDC1
ON
Dead Time Register
and T
PIC18F2331/2431/4331/4431
6-Bit Down Counter
Zero Compare
OFF
Preliminary
t d
17.7.1
Each complementary output pair for the PWM module
has a 6-bit down counter used to produce the dead
time insertion. As shown in Figure 17-17, each dead
time unit has a rising and falling edge detector con-
nected to the duty cycle comparison output. The dead
time is loaded into the timer on the detected PWM edge
event. Depending on whether the edge is rising or fall-
ing, one of the transitions on the complementary out-
puts is delayed until the timer counts down to zero. A
timing diagram indicating the dead time insertion for
one pair of PWM outputs is shown in Figure 17-18.
t d
DEAD TIME INSERTION
Odd PWM Signal To
Output Control Block
Even PWM Signal To
Output Control Block
DS39616B-page 199

Related parts for PIC18F2331