Microchip PIC32MK0128MCA032 Bedienungsanleitung

Microchip Nicht kategorisiert PIC32MK0128MCA032

Lesen Sie kostenlos die 📖 deutsche Bedienungsanleitung für Microchip PIC32MK0128MCA032 (134 Seiten) in der Kategorie Nicht kategorisiert. Dieser Bedienungsanleitung war für 3 Personen hilfreich und wurde von 2 Benutzern mit durchschnittlich 4.5 Sternen bewertet

Seite 1/134
© 2017-2018 Microchip Technology Inc. DS60001393B-page 44-1
Section 44. Motor Control PWM (MCPWM)
This section of the manual contains the following major topics:
44.1 Introduction .................................................................................................................. 44-2
44.2 Features....................................................................................................................... 44-2
44.3 Control Registers ......................................................................................................... 44-3
44.4 Architecture Overview................................................................................................ 44-37
44.5 Module Description .................................................................................................... 44-39
44.6 PWM Output State Control ........................................................................................ 44-43
44.7 PWM Operating Modes.............................................................................................. 44-46
44.8 PWM Generation ....................................................................................................... 44-61
44.9 Write Protection ......................................................................................................... 44-79
44.10 PWM Output Modes................................................................................................... 44-80
44.11 PWM Generator Triggers ........................................................................................... 44-84
44.12 PWM Interrupts .......................................................................................................... 44-90
44.13 PWM Faults ............................................................................................................... 44-91
44.14 PWM Current-Limit .................................................................................................... 44-96
44.15 Simultaneous PWM Faults and Current-Limits ........................................................ 44-100
44.16 PWM Fault and Current-Limit Trigger Outputs to ADC ............................................ 44-100
44.17 Special Features ...................................................................................................... 44-102
44.18 Power-Saving Modes............................................................................................... 44-117
44.19 External Control of Individual Time Base(s)............................................................. 44-118
44.20 Application Information ............................................................................................ 44-118
44.21 Related Application Notes........................................................................................44-130
44.22 Revision History .......................................................................................................44-131
PIC32 Family Reference Manual
DS60001393B-page 44-2 © 2017-2018 Microchip Technology Inc.
44.1 INTRODUCTION
This section describes the Motor Control Pulse-Width Modulator (MCPWM) module and its
associated operational modes. The MCPWM module in the PIC32 device family supports a
wide variety of PWM modes, and is ideal for power conversion/motor control applications.
Some of the common applications include:
SMPS Applications:
- AC-to-DC converters
- DC-to-DC converters
AC and DC motors (i.e., BDC, BLDC, PMSM, ACIM, SRM)
• Inverters
Battery chargers
Digital lighting
Uninterrupted Power Supply (UPS)
Power Factor Correction (PFC)
44.2 FEATURES
The MCPWM module consists of the following major features:
Two master time bases
Up to 12 PWM generators, each with an individual time base:
- Eight PWM generators with complimentary outputs
- Four additional PWM generators with single-ended outputs
Individual period, duty cycle, and phase shift registers with on-the-fly updates for each
generator
Duty cycle, dead time, phase shift and frequency resolution generated from the System
Clock (SYSCLK)
Independent fault and current-limit inputs for all 12 PWM generators
Redundant Output mode
Secondary Duty Cycle register supports Asymmetric PWM mode
Push-Pull Output mode
Complementary Output mode
Center-Aligned PWM mode
Output override control
Special Event Trigger for synchronizing analog-to-digital conversions
PWM capture feature
Prescaler for input clock
Analog-to-Digital Converter (ADC) triggering with PWM
Leading-edge Blanking (LEB) functionality
Dead time compensation
Output clock chopping
Output pins associated with the PWM module can be individually enabled
Manual override SFR bits for PWM output pins
Note: This family reference manual section is meant to serve as a complement to device
data sheets. Depending on the device variant, this manual section may not apply to
all PIC32 devices.
Please consult the note at the beginning of the “Motor Control PWM (MCPWM)”
chapter in the current device data sheet to check whether this document supports
the device you are using.
Device data sheets and family reference manual sections are available for
download from the Microchip Worldwide Web site at: http://www.microchip.com
© 2017-2018 Microchip Technology Inc. DS60001393B-page 44-3
Section 44. Motor Control PWM (MCPWM)
44.3 CONTROL REGISTERS
The following registers control the operation of the MCPWM module.
44.3.1 Master Time Base Control Registers
PTCON: PWM Primary Time Base Control Register
This register controls the operation of the primary time base, including enabling or disabling
the MCPWM module, providing module status, setting the special event trigger, trigger
postscaler, and interrupts. In addition, this register can be used to control the PWM output
override logic level and prescale the primary PWM input clock.
PTPER: Primary Master Time Base Period Register
This register stores the synchronization period for the generators that derive their clock
source from the primary master time base.
SEVTCMP: PWM Primary Special Event Compare Register
This register stores the compare value that is used to trigger the ADC module based on the
primary master time base.
PMTMR: Primary Master Time Base Timer Register
This register provides the reload synchronization to the generator timers that derive their
clock from the primary master time base.
STCON Secondary Master Time Base Control Register
This register prescales the secondary PWM input clock, selects the synchronization source
for the secondary master time base, and specifies the synchronization setting for secondary
master time base control.
STPER: Secondary Master Time Base Period Register
This register stores the synchronization period for the generators that derive their clock
source from the secondary master time base.
SSEVTCMP: PWM Secondary Special Event Compare Register
This register provides the compare value that is used to trigger the ADC module based on
the secondary master time base.
SMTMR: Secondary Master Time Base Timer Register
This register provides the reload synchronization to the generator timers that derive their
clock from the secondary master time base.
CHOP: PWM Chop Clock Generator Register
This register enables/disabled the chop clock generator and provides the chop clock
frequency.
PWMKEY: PWM Unlock Register
This register accepts the unlock sequence to allow writes to the IOCONx register.
Note: Not all registers are available on all devices. Refer to the “Motor Control PWM
(MCPWM)” chapter in the specific device data sheet for availability.


Produktspezifikationen

Marke: Microchip
Kategorie: Nicht kategorisiert
Modell: PIC32MK0128MCA032

Brauchst du Hilfe?

Wenn Sie Hilfe mit Microchip PIC32MK0128MCA032 benötigen, stellen Sie unten eine Frage und andere Benutzer werden Ihnen antworten




Bedienungsanleitung Nicht kategorisiert Microchip

Bedienungsanleitung Nicht kategorisiert

Neueste Bedienungsanleitung für -Kategorien-