Microchip dsPIC33FJ16系列高性能低成本马达控制方案

发布时间:2011-6-29 15:35    发布者:Liming
关键词: dsPIC33FJ16 , Microchip , 马达控制
Microchip 公司的dsPIC33FJ16GP101/102和dsPIC33FJ16MC101/102 是高性能超低成本数字信号控制器(DSC),包含了DSP功能和高性能16位MCU架构,3.0V-3.6V的性能高达16MIPS,可扩展的工作温度-40℃到 +125℃,主要用在家用电器如洗衣机,医疗设备如输液泵,工业如AC马达等.本文介绍dsPIC33FJ16系列主要特性,方框图,CPU核方框图和应用电路以及马达控制板系统框图,电路图和材料清单(BOM)。

This document contains device specific information for the dsPIC33FJ16GP101/102 and
dsPIC33FJ16MC101/102 Digital Signal Controller(DSC) Devices. The dsPIC33F devices containextensive Digital Signal Processor (DSP) functionality with a high-performance, 16-bit microcontroller (MCU) architecture.

dsPIC33FJ16系列主要特性:

Operating Range:

• Up to 16 MIPS operation (3.0V-3.6V):

- Industrial temperature range (-40℃ to +85℃)

- Extended temperature range (-40℃ to +125℃)

On-Chip Flash and SRAM:

• Flash program memory (16 Kbytes)

• Data SRAM (1 Kbyte)

• Security for program Flash

System Management:

• Flexible clock options:

- External, crystal, resonator, internal FRC

- Phase-Locked Loop (PLL)

• High-accuracy internal FRC

- ±0.25% typical

• Power-on Reset (POR)

• Power-up Timer (PWRT)

• Oscillator Start-up Timer (OST)

• Brown-out Reset (BOR)

• Watchdog Timer with its own RC oscillator

• Fail-Safe Clock Monitor (FSCM)

Motor Control PWM:

• 6-channel 16-bit Motor Control PWM:

- Three duty cycle generators

- Independent or Complementary mode

- Programmable dead time and output polarity

- Edge-aligned or center-aligned

- Manual output override control

- Up to two Fault inputs

- Trigger for ADC conversions

- PWM frequency for 16-bit resolution (@ 16 MIPS) = 488 Hz for Edge-Aligned mode, 244 Hz for Center-Aligned mode

- PWM frequency for 11-bit resolution (@ 16 MIPS) = 15.63 kHz for Edge-Aligned mode, 7.81 kHz for Center-Aligned mode

Power Management:

• Single supply on-chip voltage regulator

• Switch between clock sources in real time

• Idle, Sleep, and Doze modes with fast wake-up

Analog Peripherals:

• 10-bit, 1.1 Msps Analog-to-Digital Converter (ADC):

- Two and four simultaneous samples

- Up to six input channels with auto-scanning

- Conversion start can be manual or synchronized with one of four trigger sources

- Sleep mode conversion for low-power applications

- ±2 LSb max integral nonlinearity

- ±1 LSb max differential nonlinearity

• Three Analog Comparators with programmable input/output configuration:

- Up to four inputs per Comparator

- Blanking function

- Output digital filter

• Charge Time Measurement Unit (CTMU):

- Supports capacitive touch sensing for touch screens and capacitive switches (mTouch™)

- Provides high-resolution time measurement for advanced sensor applications

- 200 ps resolution for time measurement and accurate temperature sensing

- On-chip high-resolution temperature measurement capability

Timers/Capture/Compare/PWM:

• Timer/Counters, up to three 16-bit timers:

- Can pair up to make one 32-bit timer

- One timer runs as Real-Time Clock with external 32.768 kHz oscillator

- Programmable prescaler

• Input Capture (up to three channels):

- Capture on up, down, or both edges

- 16-bit capture input functions

- 4-deep FIFO on each capture

• Output Compare (up to two channels):

- Single or Dual 16-bit Compare mode

- 16-bit Glitchless PWM mode

• Hardware Real-Time Clock and Calendar (RTCC):

- Provides clock, calendar and alarm function

Digital I/O:

• Peripheral Pin Select functionality

• Up to 21 programmable digital I/O pins

• Wake-up/Interrupt-on-Change for up to 21 pins

• Output pins can drive from 3.0V to 3.6V

• Up to 5.5V output with open drain configuration on 5V tolerant pins

• All digital input pins are 5V tolerant

• Up to 8 mA sink on designated pins

Communication Modules:

• 4-wire SPI:

- Framing supports I/O interface to simple codecs

- Supports 8-bit and 16-bit data

- Supports all serial clock formats and sampling modes

• I2C™:

- Full Multi-Master Slave mode support

- 7-bit and 10-bit addressing

- Bus collision detection and arbitration

- Integrated signal conditioning

- Slave address masking

• UART:

- Interrupt on address bit detect

- Interrupt on UART error

- Wake-up on Start bit from Sleep mode

- 4-character TX and RX FIFO buffers

- LIN 2.0 bus support

- IrDA® encoding and decoding in hardware

- High-Speed mode

- Hardware Flow Control with CTS and RTS

Interrupt Controller:

• 5-cycle latency

• Up to 23 available interrupt sources

• Up to three external interrupts

• Seven programmable priority levels

• Four processor exceptions

High-Performance MCU CPU Features:

• Modified Harvard architecture

• C compiler optimized instruction set

• 16-bit-wide data path

• 24-bit-wide instructions

• Linear program memory addressing up to 4M instruction words

• Linear data memory addressing up to 64 Kbytes

• 73 base instructions: mostly one word/one cycle

• Flexible and powerful indirect addressing mode

• Software stack

• 16 x 16 integer multiply operations

• 32/16 and 16/16 integer divide operations

• Up to ±16-bit shifts

Additional High-Performance DSC CPU Features:

• 11 additional instructions

• Two 40-bit accumulators with rounding and saturation options

• Additional flexible and powerful addressing modes:

- Modulo

- Bit-reversed

• Single-cycle multiply and accumulate:

- Accumulator write back for DSP operations

- Dual data fetch

• Shifts for up to 40-bit data

• 16 x 16 fractional multiply/divide operations

Packaging:

• 18-pin PDIP/SOIC

• 20-pin PDIP/SOIC/SSOP

• 28-pin SPDIP/SOIC/SSOP/QFN

• 28-pin QFN: 6x6 mm

• 36-pin TLA: 5x5 mm

20110629112854313.gif
图1。dsPIC33FJ16系列方框图
2011062911285552.gif
图2。dsPIC33FJ16系列CPU核方框图

20110629112855195.gif
图3。dsPIC33FJ16系列推荐最少元件连接图

马达控制入门套件

The board provided in the kit is intended to introduce and demonstrate the capabilities and
features of the low-cost 16-bit Motor Control and mTouch™ families of devices. In addition, the Motor Control Starter Kit includes an on-board programmer/debugger, which eliminates the need for an additional programmer or hardware interface.

The Motor Control Starter Kit contains the following:

• Motor Control Starter Kit Board

• BLDC motor

• 9V power supply

• USB cable
20110629112856756.jpg
图4。马达控制板外形图

20110629112858859.gif
图5。马达控制板系统框图
20110629112858950.gif
图6。马达控制板调试器硬件电路图
APPLICATION SCHEMATICS
20110629112859635.gif
图7。马达控制板目标电源电路图
20110629112858892.gif
图8。马达控制板马达插座电路图
20110629112859722.gif
图9。dsPIC33FJ16MC102 数字信号控制器
20110629112900652.gif
图10。马达控制逻辑电路图

20110629112859603.gif
图11。马达控制板电容触摸滑块电路图

20110629112859484.gif
图12。马达控制板按键电路图(1)

图12。马达控制板按键电路图(2)


图13。马达控制板 CSP目标图
20110629112900603.gif
图14。马达控制板用户可编程LED电路图
马达控制板材料清单(BOM):
20110629112901826.gif
20110629112901915.gif
详情请见:
http://ww1.microchip.com/downloads/en/DeviceDoc/70652C.pdf

http://ww1.microchip.com/downloads/en/DeviceDoc/MCSKUserGuide75015A.pdf
20110629112900307.gif
欢迎分享本文,转载请保留出处:http://www.eechina.com/thread-70120-1-1.html     【打印本页】
您需要登录后才可以发表评论 登录 | 立即注册

厂商推荐

相关视频

关于我们  -  服务条款  -  使用指南  -  站点地图  -  友情链接  -  联系我们
电子工程网 © 版权所有   京ICP备16069177号 | 京公网安备11010502021702
快速回复 返回顶部 返回列表