1、(word完整版)Microchip dsPIC33FJ12MC202马达控制开发方案Microchip dsPIC33FJ12MC202马达控制开发方案Microchip 公司的dsPIC33FJ12MC201/202是高性能的16位数字信号控制器(DSC),包括有广泛的DSP功能和高性能的16位微控制器(MCU)架构.而dsPICDEM MCHV开发系统使用户能快速评估和开发采用dsPIC数字信号控制器(DSC)的各种马达应用,可以控制无刷直流(BLDC)马达,永磁同步马达(PMSM)和传感器或无传感器的AC感应马达(ACIM).本文介绍了dsPIC33FJ12MC201/202主要特性,
2、方框图以及dsPICDEM MCHV开发系统方框图,主要特性和dsPICDEM MCHV开发系统包括PFC级与功率模块级的电路图。The Microchip dsPICDEM MCHV Development System is intended to aid the user in the rapid evaluation and development of a wide variety of motor control applications using a dsPIC Digital Signal Controller (DSC). This development system i
3、s targeted to control Brushless DC (BLDC) motors, Permanent Magnet Synchronous Motors(PMSM), and AC Induction Motors (ACIM) in sensor or sensorless operation.dsPIC33FJ12MC201/202 : High-Performance, 16bit Digital Signal Controllers The dsPIC33F devices contain extensive Digital Signal Processor (DSP
4、) functionality with a highperformance, 16bit microcontroller (MCU) architecture.dsPIC33FJ12MC202主要特性:Operating Range: Up to 40 MIPS operation (at 3.0-3.6V):- Industrial temperature range (40 to +85)- Extended temperature range (40 to +125)HighPerformance DSC CPU: Modified Harvard architecture C com
5、piler optimized instruction set 16-bit-wide data path 24bit-wide instructions Linear program memory addressing up to 4M instruction words Linear data memory addressing up to 64 Kbytes 83 base instructions: mostly one word/one cycle Two 40bit accumulators with rounding and saturation options Flexible
6、 and powerful addressing modes:- Indirect- Modulo- Bit-Reversed Software stack 16 x 16 fractional/integer multiply operations 32/16 and 16/16 divide operations Single-cycle multiply and accumulate: Accumulator write back for DSP operations- Dual data fetch Up to 16-bit shifts for up to 40bit dataTim
7、ers/Capture/Compare/PWM: Timer/Counters, up to three 16bit timers- Can pair up to make one 32-bit timer- One timer runs as RealTime Clock with external 32.768 kHz oscillator Programmable prescaler Input Capture (up to four channels): Capture on up, down, or both edges 16bit capture input functions-
8、4-deep FIFO on each capture Output Compare (up to two channels): Single or Dual 16-bit Compare mode 16bit Glitchless PWM modeInterrupt Controller: 5-cycle latency Up to 26 available interrupt sources Up to three external interrupts Seven programmable priority levels Four processor exceptionsDigital
9、I/O: Peripheral pin Select functionality Up to 21 programmable digital I/O pins Wake-up/Interrupt-onChange for up to 21 pins Output pins can drive from 3.0V to 3.6V Up to 5V output with open drain configuration All digital input pins are 5V tolerant 4 mA sink on all I/O pinsOn-Chip Flash and SRAM: F
10、lash program memory (12 Kbytes) Data SRAM (1024 bytes) Boot and General Security for program FlashSystem Management: Flexible clock options:- External, crystal, resonator, internal RC- Fully integrated Phase-Locked Loop (PLL) Extremely low-jitter PLL Powerup Timer Oscillator Startup Timer/Stabilizer
11、 Watchdog Timer with its own RC oscillator Fail-Safe Clock Monitor Reset by multiple sourcesPower Management: On-chip 2。5V voltage regulator Switch between clock sources in real time Idle, Sleep, and Doze modes with fast wakeupMotor Control Peripherals: 6channel 16bit Motor Control PWM:- Three duty
12、cycle generators- Independent or Complementary mode Programmable dead time and output polarity- Edgealigned or centeraligned Manual output override control- One Fault input Trigger for ADC conversions PWM frequency for 16bit resolution ( 40 MIPS) = 1220 Hz for EdgeAligned mode, 610 Hz for Center-Ali
13、gned mode PWM frequency for 11-bit resolution ( 40 MIPS) = 39。1 kHz for EdgeAligned mode, 19。55 kHz for Center-Aligned mode 2-channel 16bit Motor Control PWM:- One duty cycle generator- Independent or Complementary mode Programmable dead time and output polarity Edge-aligned or center-aligned- Manua
14、l output override control One Fault input- Trigger for ADC conversions PWM frequency for 16bit resolution ( 40 MIPS) = 1220 Hz for Edge-Aligned mode, 610 Hz for CenterAligned mode- PWM frequency for 11bit resolution ( 40 MIPS) = 39.1 kHz for EdgeAligned mode, 19。55 kHz for CenterAligned mode Quadrat
15、ure Encoder Interface module:- Phase A, Phase B, and index pulse input- 16-bit up/down position counter Count direction status- Position Measurement (x2 and x4) mode- Programmable digital noise filters on inputs- Alternate 16-bit Timer/Counter mode- Interrupt on position counter rollover/underflowAn
16、alog-to-Digital Converters (ADCs): 10bit, 1。1 Msps or 12bit, 500 Ksps conversion:- Two and four simultaneous samples (10-bit ADC) Up to six input channels with autoscanning- Conversion start can be manual or synchronized with one of four trigger sources Conversion possible in Sleep mode- 2 LSb max i
17、ntegral nonlinearity- 1 LSb max differential nonlinearityCMOS Flash Technology: Low-power, highspeed Flash technology Fully static design 3。3V (10) operating voltage Industrial and Extended temperature Low power consumptionCommunication Modules: 4wire SPI: Framing supports I/O interface to simple co
18、decs- Supports 8-bit and 16bit data Supports all serial clock formats and sampling modes I2C:- Full Multi-Master Slave mode support- 7-bit and 10bit addressing- Bus collision detection and arbitration Integrated signal conditioning Slave address masking UART:- Interrupt on address bit detect Interru
19、pt on UART error Wakeup on Start bit from Sleep mode 4-character TX and RX FIFO buffers LIN bus support IrDA encoding and decoding in hardware HighSpeed Baud mode- Hardware Flow Control with CTS and RTSPackaging: 20pin SDIP/SOIC/SSOP 28-pin SDIP/SOIC/SSOP/QFN图1.dsPIC33FJ12MC201/202 方框图dsPICDEM MCHV开
20、发系统The Microchip dsPICDEM MCHV Development System is intended to aid the user in the rapid evaluation and development of a wide variety of motor control applications using a dsPIC Digital Signal Controller (DSC). This development system is targeted to control Brushless DC (BLDC) motors, Permanent Ma
21、gnet Synchronous Motors (PMSM), and AC Induction Motors (ACIM) in sensor or sensorless operation。 This flexible and cost-effective tool can be configured in different ways for use with Microchips specialized Motor Control DSCs。 The dsPICDEM MCHV Development System supports the dsPIC33F Motor Control
22、 device family, and offers a mounting option to connect either a 28pin SOIC device or a generic 100-pin Plug-In Module(PIM)。The system has a three-phase power module device that contains the motor inverter and the gate drivers circuitry。 The circuit drives a BLDC, PMSM, or ACIM motor using different
23、 control techniques without requiring any additional hardware。 It also has Power Factor Correction (PFC) circuitry in order to provide a full set of tools used in motor control applications.The rated continuous output current from the inverter is 6。5A (RMS)。 This allows up to approximately 2 kVA out
24、put when running from a 208V to 230V single-phase input voltage in a maximum 30C (85F) ambient temperature environment。 Therefore, the system is ideally suited for running a standard 3-Phase Induction Motor of up to 1.4 kW (1.8 HP) rating or a slightly higher rated industrial servomotor. The power m
25、odule is capable of driving other types of motors and electrical loads that do not exceed the maximum power limit and are predominantly inductive. Furthermore, singlephase loads can be driven using one or two of the inverter outputs.dsPICDEM MCHV开发系统主要特性:Supported Devices: 28-pin to 100-pin dsPIC33F
26、JXXXMC202 PIM (MA330014) with a dsPIC33F Motor Control device (U11) socket 44-pin to 100pin dsPIC33FJXXXMCX04 PIM (MA330017 and MA330018) with a dsPIC33F Motor Control device (U11) socket 100-pin to 100pin dsPIC33FJXXXMCX10 PIM (MA330013) with a dsPIC33F Motor Control device (U11) socket dsPIC33FJ12
27、MC202 Motor Control device in a SOIC package (U12) footprintMotor Control Interfaces: Three-phase inverter bridge with a power rating of 400V/6。5A (J17) Hall sensors/Quadrature Encoder Interface (QEI) for sensored motor control algorithms (J9) Phase voltage feedback for sensorless BLDC operation DC
28、bus current sense resistor for single shunt vector control Phase current sense resistor for dual shunt vector control Overcurrent protectionInput/Output Control Switches: One isolated push button (S1)- Isolated reset push button (RESET) potentiometer (POT1)W Isolated 10 k LED indicator for PWM outpu
29、tsIsolated Communication Ports:- UART communication via USB (J6) UART communication via RS232 (J8)Built-In Isolated Programmer/Debugger (J20):- Starter Kittype programmer/debugger (daughter card)Power Supply Connectors:- Power Tab Fast-On connectors (BP1 and BP2) for the power stage- Auxiliary 24V p
30、ower input connector (J15) for the dsPIC DSC device andlowpower circuitry (non-populated) Auxiliary 15V and 3.3V regulators for regulating auxiliary power supply(non-populated)Programming Connectors: ICSP connector for programming a dsPIC DSC device (J18), nonisolated ICSP connector for programming
31、the PIC18LF2450 USB module to the UARTBridge (J1), isolated ICSP connector for programming the Starter Kit Programmer/Debugger(SKDE), isolated PIC18F67J50 (J4)Power Factor Corrector: Maximum input voltage 90 VAC265 VAC Current Feedback circuitry- VAC input voltage sensing Zerocrossing detection DC b
32、us sensing- Overcurrent protection (The maximum power available is specified inSection 4。3 “Electrical Specifications”。)Built-In Power Supplies: 15V power supply, maximum power available 11W- 3。3V power supply, maximum power available 2WAdditional Protection Circuitry:- 250 VAC/15A fuse- Inrush curr
33、ent limiter EMI filter图2。dsPICDEM MCHV开发系统外形图图3.dsPICDEM MCHV开发系统方框图AOElectronics 傲壹电子 官网:www。aoelectronics。com 中文网:www.aoelectronics。cnALPS ADI IR JRC/NJR KEC OTAX Seoul Semiconductor TI Walsin Technology图4.dsPICDEM MCHV开发系统PFC级电路图(1)图5。dsPICDEM MCHV开发系统PFC级电路图(2)图6。dsPICDEM MCHV开发系统PFC级电路图(3)图7。dsPICDEM MCHV开发系统功率模块级电路图(1)图8。dsPICDEM MCHV开发系统功率模块级电路图(2)图9。dsPICDEM MCHV开发系统功率模块级电路图(3)图10.dsPICDEM MCHV开发系统功率模块级电路图(4)图11。dsPICDEM MCHV开发系统功率模块级电路图(5)图12。dsPICDEM MCHV开发系统功率模块级电路图(61)