Datasheet
数据手册 > 微控制器,MCU,单片机 > Microchip > PIC18LF4431-I/ML 数据手册PDF > PIC18LF4431-I/ML 应用笔记 第 1/26 页
PIC18LF4431-I/ML
¥ 45.24
百芯的价格

PIC18LF4431-I/ML 应用笔记 - Microchip

  • 制造商:
    Microchip
  • 分类:
    微控制器,MCU,单片机
  • 封装
    QFN-44
  • 描述:
    MCU 8Bit PIC18 PIC RISC 16KB Flash 2.5V/3.3V/5V 44Pin QFN EP Tube
更新时间: 2025-04-28 21:24:46 (UTC+8)

PIC18LF4431-I/ML 应用笔记

页码:/26页
下载 PDF
重新加载
下载
2004 Microchip Technology Inc. DS00899A-page 1
AN899
INTRODUCTION
The PIC18F2331/2431/4331/4431 family of micro-
controllers 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 applica-
tion 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).
HARDWARE
A PICDEM™ MC demo board was used to develop,
test and debug the motor control code. The PICDEM
MC has a single-phase diode bridge rectifier, convert-
ing AC input to DC and a power capacitor bank that
keeps a stable DC bus. A 3-phase IGBT-based inverter
bridge is used to control the output voltage from the DC
bus. Figure 1 shows the overall block diagram of the
hardware.
The control circuit and power circuits are optically iso-
lated with respect to each other. An on-board fly-back
power supply generates +5VD, with respect to the
digital ground used for powering up the control circuit,
including the PICmicro
®
device. +5VA and +15VA are
generated with respect to the power ground (negative
of DC bus). The feedback interface circuit is powered
by +5VA, while +15VA supplies power to the IGBT
drivers located inside the Integrated Power Module
(IPM).
With the optical isolation between power and control
circuits, programming and debugging tools can be
plugged into the development board when main power
is connected to the board. The board communicates
with a host PC over a serial port configured with an on-
chip Enhanced USART. The on-board user interface
has two toggle switches, a potentiometer and four
LEDs for indication.
In this application note, the switch SW1 is used to
toggle between motor Run and Stop and SW2 is used
to toggle between the direction of motor rotation. Each
press of these buttons will change the state. A potenti-
ometer is used for setting the speed reference. The
LEDs are used for indication of different states of
control.
Reference copies of the PICDEM™ MC schematics can
be found in Appendix B: “Circuit Schematics”.
Author: Padmaraja Yedamale
Microchip Technology Inc.
Brushless DC Motor Control Using PIC18FXX31 MCUs

PIC18LF4431-I/ML 数据手册 PDF

PIC18LF4431-I/ML 数据手册
Microchip
16 页, 336 KB
PIC18LF4431-I/ML 用户编程手册
Microchip
40 页, 6928 KB
PIC18LF4431-I/ML 其它数据手册
Microchip
12 页, 8455 KB
PIC18LF4431-I/ML 应用笔记
Microchip
26 页, 608 KB
PIC18LF4431-I/ML 产品修订记录
Microchip
2 页, 111 KB
PIC18LF4431-I/ML 其他参考文件
Microchip
1 页, 144 KB

PIC18LF4431 数据手册 PDF

PIC18LF4431-I/PT
数据手册
Microchip
MCU 8Bit PIC RISC 16KB Flash 2.5V/3.3V/5V 44Pin TQFP Tray
PIC18LF4431-I/ML
数据手册
Microchip
MCU 8Bit PIC18 PIC RISC 16KB Flash 2.5V/3.3V/5V 44Pin QFN EP Tube
PIC18LF4431-I/P
数据手册
Microchip
MCU 8Bit PIC18 PIC RISC 16KB Flash 2.5V/3.3V/5V 40Pin PDIP Tube
PIC18LF4431T-I/ML
数据手册
Microchip
IC MCU 8Bit 16KB FLASH 44QFN
PIC18LF4431T-I/PT
数据手册
Microchip
IC MCU 8Bit 16KB FLASH 44TQFP
PIC18LF4431T-IPT
数据手册
Microchip
MCU 8Bit PIC18 PIC RISC 16KB Flash 2.5V/3.3V/5V 44Pin TQFP T/R
PIC18LF4431T-IML
数据手册
Microchip
MCU 8Bit PIC18 PIC RISC 16KB Flash 2.5V/3.3V/5V 44Pin QFN EP T/R
Datasheet 搜索
搜索
百芯智造数据库涵盖1亿多个数据手册,每天更新超过5,000个PDF文件。
在线联系我们
黄经理 - 百芯智造销售经理在线,5 分钟前
您的邮箱 *
消息 *
发送