Datasheet

© 2007-2012 Microchip Technology Inc. DS70283K-page 159
dsPIC33FJ32MC202/204 and dsPIC33FJ16MC304
15.0 MOTOR CONTROL PWM
MODULE
The dsPIC33FJ32MC202/204 and dsPIC33FJ16MC304
device supports up to two dedicated Pulse-Width
Modulation (PWM) modules. The PWM1 module is a
6-channel PWM generator, and the PWM2 module is a
2-channel PWM generator.
The PWM module has the following features:
Up to 16-bit resolution.
On-the-fly PWM frequency changes.
Edge and Center-Aligned Output modes.
Single Pulse Generation mode.
Interrupt support for asymmetrical updates in
Center-Aligned mode.
Output override control for Electrically
Commutative Motor (ECM) operation or BLDC.
Special Event comparator for scheduling other
peripheral events.
Fault pins to optionally drive each of the PWM
output pins to a defined state.
Duty cycle updates configurable to be immediate or
synchronized to the PWM time base.
15.1 PWM1: 6-Channel PWM Module
This module simplifies the task of generating multiple
synchronized PWM outputs. The following power and
motion control applications are supported by the PWM
module:
3-Phase AC Induction Motor
Switched Reluctance (SR) Motor
Brushless DC (BLDC) Motor
Uninterruptible Power Supply (UPS)
This module contains three duty cycle generators,
numbered 1 through 3. The module has six PWM
output pins, numbered PWM1H1/PWM1L1 through
PWM1H3/PWM1L3. The six I/O pins are grouped into
high/low numbered pairs, denoted by the suffix H or L,
respectively. For complementary loads, the low PWM
pins are always the complement of the corresponding
high I/O pin.
15.2 PWM2: 2-Channel PWM Module
This module provides an additional pair of
complimentary PWM outputs that can be used for:
Independent PFC correction in a motor system
Induction cooking
This module contains a duty cycle generator that
provides two PWM outputs, numbered
PWM2H1/PWM2L1.
Note 1: This data sheet summarizes the features
of the dsPIC33FJ32MC202/204 and
dsPIC33FJ16MC304 family of devices. It
is not intended to be a comprehensive
reference source. To complement the
information in this data sheet, refer to
Section 14. “Motor Control PWM”
(DS70187) of the “dsPIC33F/PIC24H
Family Reference Manual”, which is
available from the Microchip web site
(www.microchip.com).
2: Some registers and associated bits
described in this section may not be
available on all devices. Refer to
Section 4.0 “Memory Organization” in
this data sheet for device-specific register
and bit information.