中国电子技术网

设为首页 网站地图 加入收藏

 

[原创] Microchip dsPIC33EPXXXGS70X/80X数字电源解决方案

关键词:电源管理 SMPS 数字电源 PFC UPS

时间:2017-03-10 16:28:17       作者:Microchip       来源:中电网

microchip公司的dsPIC33EPXXXGS70X/80X系列是开关电源和数字电源转换数字信号控制器,提供高分辨率脉宽调制器(PWM);器件包括5个单独12位ADC模块,每个的转换延迟300ns,多达22个输入通路;4个模拟比较器,每个有专用的12位DAC;两个可编增益放大器,以降低外接元件.主要用在PFC如交错模式PFC,无桥PFC和临界导通PFC,以及DC/DC转换器,DC/AC转换器.本文介绍了dsPIC33EPXXGS70X/80X系列主要特性,框图和CPU框图,几种应用电路,以及数字电源MPLAB入门板DM330017-2主要特性,框图,电路图,材料清单,PCB设计图和3D打印图.

dsPIC33EPXXGS70X/80X is a SMPS & Digital Power Conversion Digital Signal Controller. These devices offer features supporting common, multi-loop digital switch-mode power supplies (SMPS) and other digital power-conversion applications such as:
• AC to DC Converters
• DC to DC Converters
• Power Factor Correction (PFC)
• Uninterruptible power supply (UPS)
• Inverters
• Embedded Power-Supply Controllers
• Arc Fault Detection

These devices offer high-resolution pulse width modulators optimized for digital power applications. In addition, the devices include advanced analog features and peripherals. There are five separate high-speed 12-bit Analog-to-Digital Converter (ADC) modules each with 300 ns conversion latency. Up to 22 input channels are shared across these five ADC units. There are also four analog comparators, each with their own dedicated 12-bit reference Digital-to-Analog Converter (DAC); and two programmable gain amplifiers to reduce external component count.

New features include a peripheral trigger generator, which is a user-programmable state machine that can respond to events faster than a firmware-driven implementation while offloading the processor for other tasks. In addition, a four-channel Direct Memory Access (DMA) unit is included to further increase the controller’s overall system performance. These devices also have configurable logic cells that can be used to create combinatorial Pulse Width Modulation (PWM) signals for advanced applications or to minimize the need for external glue logic in the design. They also contain up to two CAN communication interfaces for automotive and industrial applications. Select new variants in the family of dsPIC digital signal controllers are offered in an 80-pin package giving designers increased memory and more interface pins to fulfill the requirements of more sophisticated designs.

The dsPIC33EPXXXGS70X/80X family CPU has a 16- bit (data) modified Harvard architecture with an enhanced instruction set, including significant support for Digital Signal Processing (DSP). The CPU has a 24-bit instruction word with a variable length opcode field. The Program Counter (PC) is 23 bits wide and addresses up to 4M x 24 bits of user program memory space.

An instruction prefetch mechanism helps maintain throughput and provides predictable execution. Most instructions execute in a single-cycle effective execution rate, with the exception of instructions that change the program flow, the double-word move (MOV.D)

instruction, PSV accesses and the table instructions.

Overhead-free program loop constructs are supported using the DO and REPEAT instructions, both of which are interruptible at any point.

dsPIC33EPXXGS70X/80X系列主要特性:

Operating Conditions

• 3.0V to 3.6V, -40°C to +85°C, DC to 70 MIPS

• 3.0V to 3.6V, -40°C to +125°C, DC to 60 MIPS

Flash Architecture

• Dual Partition Flash Program Memory with Live Update:

- Supports programming while operating

- Supports partition soft swap

Core: 16-Bit dsPIC33E CPU

• Code-Efficient (C and Assembly) Architecture

• Two 40-Bit Wide Accumulators

• Single-Cycle (MAC/MPY) with Dual Data Fetch

• Single-Cycle Mixed-Sign MUL plus Hardware Divide

• 32-Bit Multiply Support

• Four Additional Working Register Sets (reduces context switching)

Clock Management

• ±0.9% Internal Oscillator

• Programmable PLLs and Oscillator Clock Sources

• Fail-Safe Clock Monitor (FSCM)

• Independent Watchdog Timer (WDT)

• Fast Wake-up and Start-up

Power Management

• Low-Power Management modes (Sleep, Idle, Doze)

• Integrated Power-on Reset and Brown-out Reset

• 0.5 mA/MHz Dynamic Current (typical)

• 20 μA IPD Current (typical)

High-Speed PWM

• Eight PWM Generators (two outputs per generator)

• Individual Time Base and Duty Cycle for each PWM

• 1.04 ns PWM Resolution (frequency, duty cycle, dead time and phase)

• Supports Center-Aligned, Redundant, Complementary and True Independent Output modes

• Independent Fault and Current-Limit Inputs

• Output Override Control

• PWM Support for AC/DC, DC/DC, Inverters, PFC and Lighting

Advanced Analog Features

• High-Speed ADC module:

- 12-bit with 4 dedicated SAR ADC cores and one shared SAR ADC core

- Configurable resolution (up to 12-bit) for each ADC core

- Up to 3.25 Msps conversion rate per channel at 12-bit resolution

- 11 to 22 single-ended inputs

- Dedicated result buffer for each analog channel

- Flexible and independent ADC trigger sources

- Two digital comparators

- Two oversampling filters for increased resolution

• Four Rail-to-Rail Comparators with Hysteresis:

- Dedicated 12-bit Digital-to-Analog Converter (DAC) for each analog comparator

- Up to two DAC reference outputs

- Up to two external reference inputs

• Two Programmable Gain Amplifiers:

- Single-ended or independent ground reference

- Five selectable gains (4x, 8x, 16x, 32x and 64x)

- 40 MHz gain bandwidth

Interconnected SMPS Peripherals

• Reduces CPU Interaction to Improve Performance

• Flexible PWM Trigger Options for ADC Conversions

• High-Speed Comparator Truncates PWM (15 ns typical):

- Supports Cycle-by-Cycle Current mode control

- Current Reset mode (variable frequency)

Timers/Output Compare/Input Capture

• Five 16-Bit and up to Two 32-Bit Timers/Counters

• Four Output Compare (OC) modules, Configurable as Timers/Counters

• Four Input Capture (IC) modules

Communication Interfaces

• Two UART modules (15 Mbps):

- Supports LIN/J2602 protocols and IrDA®

• Three Variable Width SPI modules with Operating modes:

- 3-wire SPI

- 8x16 or 8x8 FIFO mode

- I2S mode

• Two I2C modules (up to 1 Mbaud) with SMBus Support

• Up to Two CAN modules

• Four-Channel DMA

Input/Output

• Constant-Current Source (10 μA nominal)

• Sink/Source up to 12 mA/15 mA, respectively; Pin-Specific for Standard VOH/VOL

• 5V Tolerant Pins

• Selectable, Open-Drain Pull-ups and Pull-Downs

• External Interrupts on all I/O Pins

• Peripheral Pin Select (PPS) to allow Function Remap with Six Virtual I/Os

Qualification and Class B Support

• AEC-Q100 REVG (Grade 1, -40°C to +125°C)

• Class B Safety Library, IEC 60730

• The 6x6x0.55 mm UQFN Package is Designed and Optimized to ease IPC9592B 2nd Level Temperature Cycle Qualification

Debugger Development Support

• In-Circuit and In-Application Programming

• Five Program and Three Complex Data Breakpoints

• IEEE 1149.2 Compatible (JTAG) Boundary Scan

• Trace and Run-Time Watch

Digital Peripherals

• Four Configurable Logic Cells

• Peripheral Trigger Generator

dsPIC33EPXXGS70X/80X目标应用:

• Power Factor Correction (PFC)

- Interleaved PFC

- Critical Conduction PFC

- Bridgeless PFC

• DC/DC Converters

- Buck, Boost, Forward, Flyback, Push-Pull

- Half/Full-Bridge

- Phase-Shift Full-Bridge

- Resonant Converters

• DC/AC

- Half/Full-Bridge Inverter

- Resonant Inverter

图1. dsPIC33EPXXGS70X/80X系列框图

图2. dsPIC33EPXXGS70X/80X系列CPU框图

图3. dsPIC33EPXXGS70X/80X系列应用:交错模式PFC

图4. dsPIC33EPXXGS70X/80X系列应用:相移全桥转换器

图5. dsPIC33EPXXGS70X/80X系列应用:离线UPS

数字电源MPLAB入门板DM330017-2

Modern power supplies are becoming smaller, more efficient, more flexible and less

expensive. These desirable enhancements have come about as Digital Signal Controllers (DSCs) are incorporated into Switch Mode Power Supply (SMPS) designs.

The board provided in the kit is intended to introduce and demonstrate the capabilities

and features of Microchip SMPS families of devices. The Digital Power Starter Kit

features an on-board programmer/debugger, which eliminates the need for any additional programmer or hardware interface.

The Digital Power Starter Kit is a Switch Mode Power Supply (SMPS) board that consists

of one independent DC/DC synchronous Buck converter and one independent DC/DC

Boost converter.

The Digital Power Starter Kit provides closed-loop Peak Current Mode control using a

2-Pole, 2-Zero (2P2Z) compensator implemented in software to maintain the desired

output voltage level of Peak Current Mode (PkCM) control. The dsPIC® DSC device

provides the necessary memory and peripherals for ADC conversion, PWM generation,

analog comparison and general purpose I/O, preventing the need to perform these

functions in external circuitry.

SMPS dsPIC DSC devices are specifically designed to provide low-cost and efficient

control for a wide range of power supply topologies. The specialized peripherals facilitate

closed-loop feedback control of Switch Mode Power Supplies, providing communication

for remote monitoring and supervisory control.

The MPLAB Starter Kit for Digital Power kit uses the dsPIC33EP64GS502 DSC to implement a buck converter and a boost converter. It is a digitally controlled power supply board that consists of one independent DC/DC synchronous Buck converter and one independent DC/DC Boost converter. Each converter can drive its on-board MOSFET controlled resistive load or an external load. The board has an LCD display for voltage, current, temperature and fault conditions, and an integrated programmer/debugger, all powered by the included 9 V power supply.

MPLAB入门板DM330017-2主要特性:

dsPIC33EP64GS502 – Low-cost 16-bit digital power conversion DSC

One independent DC/DC synchronous Buck converter 

One independent DC/DC Boost converter.

LCD display for voltage, current, temperature and fault conditions

On-board In-Circuit Debugger /Programmer via USB

On-board programmable resistive loads of up to 3W (0.5W, 1.25W, 1.25W)

Hardware slope compensation for peak current mode implementations

On-board temperature sensor

Compact Design – 4” x 2.5” board

Powered via 9V power supply (included)

数字电源MPLAB入门板DM330017-2包括:

• Digital Power Starter Kit Board

• 9V Power Supply

• USB Cable

图6. 数字电源MPLAB入门板DM330017-2外形图

图7. 数字电源MPLAB入门板DM330017-2外系统框图

图8. 数字电源MPLAB入门板DM330017-2电路图(1)

图9. 数字电源MPLAB入门板DM330017-2电路图(2):降压转换器

图10. 数字电源MPLAB入门板DM330017-2电路图(3):升压转换器

图11. 数字电源MPLAB入门板DM330017-2 PCB设计图(顶层)

图12. 数字电源MPLAB入门板DM330017-2 PCB设计图(底层)

图13. 数字电源MPLAB入门板DM330017-2 PCB设计图(顶层3D图)

图14. 数字电源MPLAB入门板DM330017-2 PCB设计图(底层3D图)

数字电源MPLAB入门板DM330017-2材料清单见:

详情请见:

http://ww1.microchip.com/downloads/en/DeviceDoc/70005258b.pdf

http://ww1.microchip.com/downloads/en/DeviceDoc/50002330b.pdf

50002330b.pdf

70005258b.pdf

MPLAB入门板DM330017-2材料清单.xls

 

 

猜你喜欢