Title |
Title
Brushless DC Motor Control Using PIC18FXX31 MCUs
|
---|---|
Name |
Name
AN899
|
Date |
Date
06/24/2015
|
Application Categories |
Application Categories
Home Appliance /
Motor Control
Motor Control /
Brushless DC Motors
|
Product Categories |
Product Categories
8-bit MCU
|
Description |
Description
The PIC18F2331/2431/4331/4431 family of microcontrollers have peripherals that are suitable for motor control applications. These peripherals and some of their primary features are: • Power Control PWM (PCPWM) - Up to 8 output channels - Up to 14-bit PWM resolution - Center-aligned or edge-aligned operation - Hardware shutdown by Fault pins, etc. • Quadrature Encoder Interface (QEI) - QEA, QEB and Index interface - High and low resolution position measurement - Velocity Measurement mode using Timer5 - Interrupt on detection of direction change • Input Capture (IC) - Pulse width measurement - Different modes to capture timer on edge - Capture on every input pin edge - Interrupt on every capture event • High-Speed Analog-to-Digital Converter (ADC) - Two sample and hold circuits - Single/Multichannel selection - Simultaneous and Sequential Conversion mode - 4-word FIFO with flexible interrupts In this application note, we will see how to use these features to control a Brushless DC (BLDC) motor in open loop and in closed loop. Refer to the Microchip application note, “AN885, Brushless DC (BLDC) Motor Fundamentals” (DS00885), for working principles of Brushless DC motors and basics of control. Also, to obtain more information on motor control peripherals and their functions, refer to the PIC18F2331/2431/4331/4431 Data Sheet (DS39616).
|
Title | Title | Download | Date | Size |
---|---|---|---|---|
AN899 Source Code - Brushless DC Motor Control Using PIC18FXX31 MCUs 37.5 KB 06/24/2015 | AN899 Source Code - Brushless DC Motor Control Using PIC18FXX31 MCUs | Download | 06/24/2015 | 37.5 KB |
Title | Product | Title |
---|---|---|
PIC18F4431 | PIC18F4431 | |
PIC18F2331 | PIC18F2331 | |
PIC18F4331 | PIC18F4331 | |
PIC18F2431 | PIC18F2431 |