# Vault 7: Projects

This publication series is about specific projects related to the Vault 7 main publication.

### Protego

# PIC24FJ32MC10X -- Motor Control PWM

- 1
- 2
- 3
- 4
…
- 49
- 50

PIC24F Family Reference Manual
DS39735A-page 47-2 Preliminary © 2010 Microchip Technology Inc.
47.1 INTRODUCTION
This section describes the Motor Control PWM (MCPWM) module in the PIC24F family of
devices.
47.1.1 Purpose of the MCPWM Module
The MCPWM module is used to generate a periodic pulse waveform, which is useful in motor
and power control applications. The MCPWM module acts as a timer to count up to a period
count value. The time period and the duty cycle of the pulses are both programmable.
47.2 FEATURES OF THE MCPWM MODULE
The MCPWM module is used to generate multiple synchronized pulse-width modulated outputs.
The following motor and power control applications are supported by the MCPWM module:
 Three-Phase AC Induction Motor (ACIM)
 Switched Reluctance Motor
 Brushless DC (BLDC) Motor
 Uninterruptible Power Supply (UPS)
 Independent Power Factor Correction (PFC) in a motor system
 Induction cooking systems
 DC motor control systems
 Single-phase inverter control
 Single-phase ACIM control
The distinctive features of the MCPWM module are summarized below:
 Up to six PWM outputs with four duty cycle generators
 Dedicated time base that supports T
CY/2 PWM edge resolution
 On-the-fly PWM frequency changes
 Hardware dead-time generators
 Output pin polarity programmed by device Configuration bits
 Multiple operating and output modes:
- Single Event mode
- Edge-Aligned mode
- Center-Aligned mode
- Center-Aligned mode with double updates
- Complementary Output mode
- Independent Output mode
 Manual override register for PWM output pins
 Duty cycle updates that can be configured to be immediate or synchronized to the PWM
 Up to two hardware Fault input pins with programmable function
 Special Event Trigger for synchronizing analog-to-digital conversions
 Output pins associated with the PWM can be individually enabled
Note: Depending on the PIC24F device variant, there are different versions of the
MCPWM module. Refer to the specific device data sheet for further details.

- 1
- 2
- 3
- 4
…
- 49
- 50