Digital Power Conversion Using dspic DSCs: Power Factor Correction

Similar documents
AC/DC Power Supply Reference Design. Advanced SMPS Applications using the dspic DSC SMPS Family

Touch Through Metal. mtouch Metal Over Capacitive Technology Part 1

Recommended Usage of Microchip 23X256/23X640 SPI Serial SRAM Devices RECOMMENDED CONNECTIONS FOR 23X256,23X640 SERIES DEVICES VCC 23X256/ HOLD.

AND8147/D. An Innovative Approach to Achieving Single Stage PFC and Step-Down Conversion for Distributive Systems APPLICATION NOTE

7-41 POWER FACTOR CORRECTION

Single-Stage High Power Factor Flyback for LED Lighting

Switch Mode Power Supply Topologies

AN1278. Interleaved Power Factor Correction (IPFC) Using the dspic DSC INTRODUCTION SIGNIFICANCE OF POWER FACTOR EQUATION 1:

Application Guide. Power Factor Correction (PFC) Basics

UNDERSTANDING POWER FACTOR AND INPUT CURRENT HARMONICS IN SWITCHED MODE POWER SUPPLIES

Fundamentals of Power Electronics. Robert W. Erickson University of Colorado, Boulder

AN1470. Manchester Decoder Using the CLC and NCO ABSTRACT INTRODUCTION MANCHESTER ENCODED DATA (AS PER G.E. THOMAS)

Power supplies. EE328 Power Electronics Assoc. Prof. Dr. Mutlu BOZTEPE Ege University, Dept. of E&E

Introduction to SMPS Control Techniques

Single Phase Two-Channel Interleaved PFC Operating in CrM

TC1047/TC1047A. Precision Temperature-to-Voltage Converter. General Description. Applications. Block Diagram. Features.

Features, Value and Benefits of Digital Control for Power Supplies

AN1106. Power Factor Correction in Power Conversion Applications Using the dspic DSC INTRODUCTION

AN1353. Op Amp Rectifiers, Peak Detectors and Clamps INTRODUCTION BASIC RECTIFIERS. Choosing the Components. Positive Half-Wave Rectifier.

Transformerless UPS systems and the 9900 By: John Steele, EIT Engineering Manager

TOPOLOGIES FOR SWITCHED MODE POWER SUPPLIES

ULRASONIC GENERATOR POWER CIRCUITRY. Will it fit on PC board

When the Power Fails: Designing for a Smart Meter s Last Gasp

Advanced Power Supply Topics

SMPS AC/DC Reference Design User s Guide

Noise Free 90+ for LCD TV AC Adapter Desk Top. 96% x 96% = 92.16% Champion Microelectronic. 96+ Interleaved CRM PFC CM6565 PFC & PFC PWM PWM

Bridgeless PFC Implementation Using One Cycle Control Technique

AN1286. Water-Resistant Capacitive Sensing INTRODUCTION THEORY OF OPERATION. Sensing Steps. Sensing Steps Description DESIGN

Single Phase Two-Channel Interleaved PFC Operating in CrM Using the MC56F82xxx Family of Digital Signal Controllers

Simple PWM Boost Converter with I/O Disconnect Solves Malfunctions Caused when V OUT <V IN

AN1492. Microchip Capacitive Proximity Design Guide INTRODUCTION CAPACITIVE SENSING BASICS SENSING

Evaluating AC Current Sensor Options for Power Delivery Systems

Chapter 4: Power Factor Correction

TB3016. Using the PIC MCU CTMU for Temperature Measurement IMPLEMENTATION BASIC PRINCIPLE MEASUREMENT CIRCUIT

Welcome to this presentation on Switch Mode Drivers, part of OSRAM Opto Semiconductors LED Fundamentals series. In this presentation we will look at:

Diode Applications. As we have already seen the diode can act as a switch Forward biased or reverse biased - On or Off.

Topic 5. An Interleaved PFC Preregulator for High-Power Converters

AN1303. Software Real-Time Clock and Calendar Using PIC16F1827 DATA INTERFACE INTRODUCTION IMPLEMENTATION INTERNAL REGISTER MAP

POWER SYSTEM HARMONICS. A Reference Guide to Causes, Effects and Corrective Measures AN ALLEN-BRADLEY SERIES OF ISSUES AND ANSWERS

TCP/IP Networking: Web-Based Status Monitoring

Keywords: input noise, output noise, step down converters, buck converters, MAX1653EVKit

An Efficient AC/DC Converter with Power Factor Correction

Chapter 17 The Ideal Rectifier

Rectifier circuits & DC power supplies

98% Efficient Single-Stage AC/DC Converter Topologies

AN1767. Solutions for Radio Frequency Electromagnetic Interference in Amplifier Circuits WHAT IS ELECTROMAGNETIC INTERFERENCE (EMI)

TC7660. Charge Pump DC-to-DC Voltage Converter. Package Types. Features. General Description. Applications. Functional Block Diagram TC7660

Application Note AN-1073

AN687. Precision Temperature-Sensing With RTD Circuits RTD OVERVIEW INTRODUCTION EQUATION 1:

Application Note AN- 1095

Design Considerations for an LLC Resonant Converter

Introduction to Power Supplies

Universal Programming Module 2

18060 IVN Interfacing with Vehicle Networks: Best Practices

National Semiconductor Power Products - Seminar 3 (LED Lighting)

Lecture - 4 Diode Rectifier Circuits

Chapter 20 Quasi-Resonant Converters

AN1160. Sensorless BLDC Control with Back-EMF Filtering Using a Majority Function SENSORED CONTROL VERSUS SENSORLESS CONTROL INTRODUCTION

Solar Energy Conversion using MIAC. by Tharowat Mohamed Ali, May 2011

AN1325. mtouch Metal Over Cap Technology THEORY OF OPERATION INTRODUCTION CROSS SECTION OF METAL OVER CAPACITIVE (UNPRESSED)

Tamura Closed Loop Hall Effect Current Sensors

Design and Construction of Variable DC Source for Laboratory Using Solar Energy

AN1543. Using MRF24W with PIC32 Internal Program Flash Memory For EZ_CONFIG_STORE ALTERNATIVE LOW-COST SOLUTIONS OVERVIEW SCOPE

Design of an Auxiliary Power Distribution Network for an Electric Vehicle

Introduction to the dspic DSC SMPS (Part 1)

Power Electronic Circuits

Current Ripple Factor of a Buck Converter

Power Management & Supply. Design Note. Version 1.0, Nov DN-EVALMF2ICE2A CoolSET 35W DVD Power Supply with ICE2A265.

Installing and Licensing MPLAB XC C Compilers

DN05034/D. Enhanced PWM LED Dimming DESIGN NOTE

PIC18F26K20/46K20 Rev. B2/B3/B5/B6 Silicon Errata and Data Sheet Clarification

Modeling and Simulation of a Novel Switched Reluctance Motor Drive System with Power Factor Improvement

Harmonics and Noise in Photovoltaic (PV) Inverter and the Mitigation Strategies

MCP3021. Low Power 10-Bit A/D Converter With I 2 C Interface. Description. Features. Applications. Functional Block Diagram.

AN ULTRA-CHEAP GRID CONNECTED INVERTER FOR SMALL SCALE GRID CONNECTION

1ED Compact A new high performance, cost efficient, high voltage gate driver IC family

Considering the effects of UPS operation with leading power factor loads

Homework Assignment 03

Chapter 4 AC to AC Converters ( AC Controllers and Frequency Converters )

Analog-to-Digital Converters

Chapter 4. LLC Resonant Converter

AN1465. Digitally Addressable Lighting Interface (DALI) Communication TERMINOLOGY PHYSICAL LAYER DALI FREE-FORM LAYOUT. Topology FIGURE 1:

High Power Factor Boost Converter with Bridgeless Rectifier

AN1332. Current Sensing Circuit Concepts and Fundamentals CURRENT SENSING RESISTOR INTRODUCTION. Description. Microchip Technology Inc.

Grid-Connected Solar Microinverter Reference Design Using a dspic Digital Signal Controller. R s. R p

Create Colorful and Bright LED Light with an LED Matrix Dimmer

AN1307 FULL STEP MODE PHASE VOLTAGE AND PHASE CURRENT MICROSTEPPING WITH 1/4 STEP SIZE

Analysis of AC-DC Converter Based on Power Factor and THD

Power supply output voltages are dropping with each

Agenda. Introduction: NCP1631: a novel controller for interleaved PFC. Experimental results and performance. Conclusion

Welcome to this presentation on Driving LEDs AC-DC Power Supplies, part of OSRAM Opto Semiconductors LED Fundamentals series. In this presentation we

NCP1612. Enhanced, High-Efficiency Power Factor Controller

Which is the best PFC stage for a 1kW application?

Design a Phase Interleaving PFC Buck Boost Converter to Improve the Power Factor

Chapter 6: Converter circuits

Welcome to the combined product training module of Linear Technology and Wurth Electronics about their efficient design solution for DC/DC Flyback

The D.C Power Supply

Product Data Bulletin

Understanding Delta Conversion Online "Power Regulation" - Part 2

Power Quality Issues, Impacts, and Mitigation for Industrial Customers

Transcription:

17091 PS2 Digital Power Conversion Using dspic DSCs: Power Factor Correction 2013 Microchip Technology Incorporated. All Rights Reserved. 17091 PS2 Slide 1

Class Objectives When you finish this class you will: Understand what Power Factor Correction (PFC) is and its significance Be able to identify different PFC topologies and their design implementations Understand implementation of digital PFC Know how to improve PFC performance through advanced adaptive control techniques 2013 Microchip Technology Incorporated. All Rights Reserved. 17091 PS2 Slide 2

Agenda Power Factor and its Significance How to Achieve Power Factor Correction Overview of Different Boost Type PFC Designs Digital PFC Using the dspic DSC Advanced PFC Techniques Overview of 720W AC-DC Reference Design 2013 Microchip Technology Incorporated. All Rights Reserved. 17091 PS2 Slide 3

What is Power Factor? Power factor for an AC powered system is defined as the ratio of the real power flowing to the load, to the apparent power in the circuit. PF is a dimensionless number between 0 and 1. Power Factor is unity (1) when the voltage and current are in phase. For two systems with the same real power, the system with the lower PF will have higher circulating currents (higher apparent power) 2013 Microchip Technology Incorporated. All Rights Reserved. 17091 PS2 Slide 4

What is Power Factor? Reactive Po ower In nductive - Lagging Capacitive - Leading Applies for ideal sinusoidal waveforms for both voltage and current 2013 Microchip Technology Incorporated. All Rights Reserved. 17091 PS2 Slide 5

Examples of PF Degradation Applied Voltage Case 1 Sinusoidal Current with phase shift Resulting Current Applied Voltage Case 2 Semi-Sinusoidal Current with no phase shift Resulting Current Applied Voltage Case 3 Non-Sinusoidal Current with phase shift Resulting Current 2013 Microchip Technology Incorporated. All Rights Reserved. 17091 PS2 Slide 6

Measuring Power Factor Added Reactive Power due to distortion Not present when load is linear φ θ Reactive Power Real Power Displacement factor = Real Power / apparent power = cos φ Distortion Factor accounts for non-sinusoidal currents Power Factor = cos φ 1 cos φ = 1 + (I 2 / I 1 ) 2 + (I 3 / I 1 ) 2 +... 1 + THD 2 Displacement factor Distortion factor THD: Total Harmonic Distortion 2013 Microchip Technology Incorporated. All Rights Reserved. 17091 PS2 Slide 7

Why Implement PFC? Reduce Energy Loss Losses in active/passive elements Losses in transmission and distribution Reduce Cost Energy needed by reactive elements Power generation, transmission and distribution capacities need to be over-sized Power losses in the distribution system resulting in voltage sags, overheating and even premature failure of equipment Components with higher ratings needed for sustaining high harmonic peak currents Regulation Requirements (i.e. EN61000-3-2) Limits up to the 40 th Current harmonic are imposed Applies to equipment greater than 75W and less than 1000W Equipment with <= 16A per phase, 230V line voltage 2013 Microchip Technology Incorporated. All Rights Reserved. 17091 PS2 Slide 8

Agenda Power Factor and its Significance How to Achieve Power Factor Correction Overview of Different Boost Type PFC Designs Digital PFC Using the dspic DSC Advanced PFC Techniques Overview of 720W AC-DC Reference Design 2013 Microchip Technology Incorporated. All Rights Reserved. 17091 PS2 Slide 9

SMPS Without PFC Off-line switch-mode power supply C bulk must be large enough to reduce voltage ripple and meet specified holdup requirements Restoring capacitor current occurs near the peak of AC input (V ac > V out ), resulting in large current spikes 2013 Microchip Technology Incorporated. All Rights Reserved. 17091 PS2 Slide 10

Adding PFC Recap -> We want to shape the input current to follow the input voltage (resistive load) to maximize real power available Two methods available: Passive Power Factor Correction Active Power Factor Correction Low frequency High Frequency Main focus for this class Voltage Current Reactive Power Voltage Current φ Real Power 2013 Microchip Technology Incorporated. All Rights Reserved. 17091 PS2 Slide 11

Passive PFC Passive PFC circuits incorporate passive filter components (inductor and capacitors) to compensate for the inherent power factor of the circuit (load). Pro s of Passive PFC Common and simplest form of PFC Cost effective at lower power ranges Not a source of EMI Con s of Passive PFC Poor PF: 0.7-0.8 (for SMPS applications) Filter elements are large (AC line frequency) Output rail voltage not regulated High losses 2013 Microchip Technology Incorporated. All Rights Reserved. 17091 PS2 Slide 12

Passive PFC Example A 500W AC Induction motor connected to 208V 60Hz line voltage shows a PF of 0.65 (lagging). What capacitance is required to correct the phase shift and give unity PF? C =? 49.46 Reactive Power (Q) 584.6VAR Real Power (P) - 500W 2013 Microchip Technology Incorporated. All Rights Reserved. 17091 PS2 Slide 13

Active PFC An active power factor correction circuit uses feedback circuitry along with a switch mode converter (high switching frequency) to change the wave shape of the current drawn to improve the power factor. Implemented in most switch mode power supplies Con s of Active PFC Complexity More expensive but smaller form factor Pro s of Active PFC PF up to 0.998 Very low THD (corrects for distortion and displacement) Corrects for AC input voltage (universal mains) Regulated output voltage 2013 Microchip Technology Incorporated. All Rights Reserved. 17091 PS2 Slide 14

Active PFC Block Diagram Basic Block Diagram Decides the PFC strategy AC Supply EMI Filter + Rectifier PFC Converter Load Vac Iac Vdc PWM Controller Typical Active PFC Requirements: Feedback Voltage Input Voltage/Current Compensation network (controller) PWM 2013 Microchip Technology Incorporated. All Rights Reserved. 17091 PS2 Slide 15

+ i V 1 - + i Active PFC Solutions V 1 Buck Converter S L D C + - Boost Converter L V 1 S C + - V 2 - Buck-Boost Converter S D + V 1 i - L C + V 2 - D V 2 V 1 V 2 < V 1 ωt i ωt 0 - V 2 > V 1 ωt i ωt 0 V 2 > V 1 2013 Microchip Technology Incorporated. All Rights Reserved. 17091 PS2 Slide 16 V 1 V 2 < V 1 ωt i ωt 0

Boost Converter Operating Modes Discontinuous Conduction Mode Input Current Critical Conduction Mode Input Current Continuous Conduction Mode Input Current 2013 Microchip Technology Incorporated. All Rights Reserved. 17091 PS2 Slide 17

I L Active PFC Example PFC Inductor Boost Diode IL t ON I AC I D Average Current Mode Control The average current through the inductor is made to follow the input voltage profile to improve Power Factor and minimize current harmonics 2013 Microchip Technology Incorporated. All Rights Reserved. 17091 PS2 Slide 18

Agenda Power Factor and its Significance How to Achieve Power Factor Correction Overview of Different Boost Type PFC Designs Digital PFC Using the dspic DSC Advanced PFC Techniques Overview of 720W AC-DC Reference Design 2013 Microchip Technology Incorporated. All Rights Reserved. 17091 PS2 Slide 19

Interleaved PFC I L_PFC_B I D_PFC_B I L_PFC_A I D_PFC_A I PFC_SWB I C V bulk I PFC_SWA V IN 85 264V AC PWM PFC_B PWM PFC_A Two independent boost converters connected in parallel operating 180 out of phase Great for high power applications with size constraints 2013 Microchip Technology Incorporated. All Rights Reserved. 17091 PS2 Slide 20

Benefits of IPFC Inductor ripple currents are out of phase and tend to cancel each other out. Best current ripple cancellation occurs at 50% duty cycle. Inductors stored energy requirement is ½ that of single phase PFC (reduction in magnetic volume) Interleaving also reduces the output capacitor ripple current Higher efficiency 2013 Microchip Technology Incorporated. All Rights Reserved. 17091 PS2 Slide 21

IPFC Ripple Cancellation Maximum ripple current will occur at the peak of the minimum input voltage (85V ac ). Duty Cycle of ~70% yields an input current ripple that is ~60% of the inductor ripple current Duty Cycle 1 0.9 0.8 0.7 0.6 0.5 0.4 0.3 0.2 0.1 0 Duty Cycle vs. Phase Angle V ac = 85V V ac = 275V 0 10 20 30 40 50 60 70 80 90 100 110 120 130 140 150 160 170 180 Phase Angle Ripple Ratio 1.01 0.81 0.61 0.41 0.21 0.01 Ripple Current Reduction vs. Duty Cycle D 0.5 D > 0.5 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 Duty Cycle 2013 Microchip Technology Incorporated. All Rights Reserved. 17091 PS2 Slide 22

Semi-Bridgeless PFC In-Rush L Vac V Bulk N Also known as two/dual phase PFC AC input directly connected to Boost Inductors Two diodes in bridge rectifier used for In-Rush Current protection at Start-up. Other two diodes link PFC ground to input line Both phases can be driven simultaneously or in the case of digital control and to improve efficiency each phase is active when L/N is active 2013 Microchip Technology Incorporated. All Rights Reserved. 17091 PS2 Slide 23

Semi-Bridgeless PFC L 1 D 1 Case 1: Line Positive - MOSFET Q1 switches - Diode D3 Reversed Biased - Current returns through D4 and through body diode Q2 and L2 (introduces new MOSFET losses) + Vac L 2 D 2 Q 1 Q 2 C 1 D 3 D 4 Case 2: Neutral Positive - MOSFET Q2 switches - Diode D4 Reversed Biased - Current returns through D3 and through body diode Q1 and L1 + Vac L 1 D 1 L 2 D 2 Q 1 Q 2 C 1 D 3 D 4 2013 Microchip Technology Incorporated. All Rights Reserved. 17091 PS2 Slide 24

Semi-Bridgeless PFC Efficiency Improvements For universal input voltage range the peak current through the diode bridge occurs at 85V ac. The total bridge consumes ~2% of the input power at low line and about 1% at high line. If we eliminate one diode then we could gain ~1% efficiency at low line. 2013 Microchip Technology Incorporated. All Rights Reserved. 17091 PS2 Slide 25

Bridgeless PFC V bulk V IN 85 264V AC Efficiency is improved as the diode bridge is completely eliminated but MOSFET losses will increase Line is floating compared to PFC ground so simple circuitry (resistor divider network) to sense the input voltage can not be used. Instead an opto-coupler based circuit or low frequency transformer has to be used. EMI is difficult to reduce as more parasitic capacitance contribute to common mode noise. 2013 Microchip Technology Incorporated. All Rights Reserved. 17091 PS2 Slide 26

Bridgeless PFC L 1 D 1 Case 1: Line Positive - MOSFET Q1 switches - Current returns through Q2 + Vac D 2 Q 1 Q 2 C 1 L 1 D 1 Case 2: Neutral Positive - MOSFET Q2 switches - Current returns through Q1 + Vac D 2 Q 1 Q 2 C 1 2013 Microchip Technology Incorporated. All Rights Reserved. 17091 PS2 Slide 27

Agenda Power Factor and its Significance How to Achieve Power Factor Correction Overview of Different Boost Type PFC Designs Digital PFC Using the dspic DSC Advanced PFC Techniques Overview of 720W AC-DC Reference Design 2013 Microchip Technology Incorporated. All Rights Reserved. 17091 PS2 Slide 28

Digital Implementation - IPFC V ac L1 L2 D1 D2 DC Bus Voltage Q1 Q2 K 1 K 2 PWM1 PWM2 K 3 K 4 V AC IQ 1 IQ 2 V DC A to D Converter Digital Control System PWM Module Digital Signal Controller (dspic DSC) PWM1 PWM2 2013 Microchip Technology Incorporated. All Rights Reserved. 17091 PS2 Slide 29

IPFC Control Scheme I Q1 V AC V DC V DCref + - V ERR Voltage Error Comp V PI * * V AC Calc 1/V RMS 2 I ACref - + + - Current Error Comp I ERR I ERR Current Error Comp PWM PDC1 PDC2 Q1_DRV Q2_DRV V AC Calc V RMS I Q2 2013 Microchip Technology Incorporated. All Rights Reserved. 17091 PS2 Slide 30

Voltage Compensator PI Compensator V DCref = 805 + - V ERR x32 V ERR (Q15) + U(n) Clamp to 0 U(n) < 0 V PI V DC_sense (10-Bit) Kp and Ki are Q15 Find V DCref by determining the base voltage that gives 3.3V on the ADC pin 2013 Microchip Technology Incorporated. All Rights Reserved. 17091 PS2 Slide 31

Voltage Compensator Cont. typedef struct { int Ki; long sum; // integrator sum int Kp; int psc; // output postscaler int out; // unscaled output } tpi32; MAC = Multiply and accumulate Accumulator += (Q15 * Q15) Q15 * Q15 = 2.30 ACC 39 U 30 Decimal point H 15 L End value is rounded Accumulator high is most significant 0 _PI32: ; Input: ; w0 = address of tpi32 data structure ; w1 = reference value ; w2 = control input ; ; Return: ; w0 = control output ;save working registers push w8 push CORCON ;prepare CORCON for fractional computation fractsetup w8 sub.w w1, w2, w4 ;w4 = error sl w4, #5, w4 ;error *= 32 mov w0, w8 ;w8 = &PI disi #11 ;disable interrupts for next 11 cycles clr b, [w8]+=4, w5 ;w5 = Ki, w8 = &sum_hi lac [w8--], b ;b = sum_hi, w8 = &sum_lo mov [w8], w0 ;w0 = sum_lo mov w0, ACCBL ;accbl = w0 = sum_lo mac w4*w5, b ;b += Ki*error mov ACCBL, w0 ;w0 = accbl mov w0, [w8++] ;sum_lo = w0 = accbl, w8 = &sum_hi sac b, [w8++] ;sum_hi = b, w8=&kp clr a, [w8]+=2, w5 ;w5 = Kp, w8 = &psc mac w4*w5,b ;b += Kp*error sac.r b, w0 ;w0 = result btsc w0, #15 ;skip next instruction if w0>=0 mov #0, w0 ;clear result if negative pop CORCON ;restore CORCON. pop w8 ;restore working registers. return 2013 Microchip Technology Incorporated. All Rights Reserved. 17091 PS2 Slide 32

Input Voltage RMS Software finds maximum filtered V ac if((uin_filter_input > uin_filter_max) && (peakdetectflag == 1)) { uin_filter_max = uin_filter_input; } V PEAK if(uin_filter_input > uin_filter_input_last) { upcnt++; downcnt = 0; Look for peak Calc V RMS & reset Calc Filtered V ac t if((upcnt >= 5) && (peakdetectflag == 0)) { peakdetectflag = 1; } } else if(uin_filter_input < uin_filter_input_last) { upcnt = 0; downcnt++; RMS Voltage : V RMS = V pk * 0.707 Measure V ac : 19.2kHz Filtered V ac : 4.8kHz (~50 samples per half wave) if((downcnt >= 5) && (peakdetectflag == 1)) { peakdetectflag = 0; uin_filtered_peak = MUL16SX16FU(uin_filter_max, 46341u)>>2; uin_filter_max = 0; } } uin_filter_input_last = uin_filter_input; 2013 Microchip Technology Incorporated. All Rights Reserved. 17091 PS2 Slide 33

Determine Current Reference Current reference is calculated and scaled to a number between 0 and 1023 [10 bits] as current feedback is in this range. V rms2 = (uin_filtered_peak>>2) * (uin_filtered_peak>>2) = 8bits * 8bits = 16bits Multiply V AC * V PI = pfcinputvoltage * u_out = 10bits * 15bits = 25bits Divide (32/16), (V AC * V PI )/ V rms 2 = 25bits/16bits = 9Bits Shift left one bit (x2) for 10-bit scale V AC V PI * * I ACref Calc 1/V RMS 2 2013 Microchip Technology Incorporated. All Rights Reserved. 17091 PS2 Slide 34

Average Inductor Current Avg Current I pk I Q1 t on t off I Q2 PWM1 PWM triggers ADC to take sample (@ PDC1 >> 1) PDC1 PERIOD PWM triggers ADC to take sample (@ PDC2 >> 1) PWM2 PERIOD PDC2 Software updates duty cycle and trigger event every PWM cycle 2013 Microchip Technology Incorporated. All Rights Reserved. 17091 PS2 Slide 35

Current Sense It is important that the current feedback be on dedicated S&H circuits to measure the average current accurately PWM module triggers the ADC directly no software intervention ADC generates interrupt when conversion is complete. Current compensator called in ADC ISR. Current comp. called every PWM cycle so it is important to minimize # of instructions to reduce overall MIPS 2013 Microchip Technology Incorporated. All Rights Reserved. 17091 PS2 Slide 36

Current Compensator PI Compensator I ACref + I ERR - I ERR (Q15) x32 + U(n) Output Clamp x PERIOD Update PWM DC and trigger DCM Corr. Factor Kp and Ki are Q15 Variable based on load and EMI Jitter I sense (10-Bit) PI Output range (U(n)): -32768 to 32767 Output Clamp: 0 < U(n) < 30145 (92%) Total output = Output Clamp * PERIOD = 0 to 92% of PWM period 2013 Microchip Technology Incorporated. All Rights Reserved. 17091 PS2 Slide 37

Implementing Jitter Vary PWM switching frequency by +/- 10% PWM Period varies with load so algorithm needs to account for this 18021 +10% 16384-10% Period Step size of ~1.5% 14745 totalperiod = [(workingperiod * jitterfactor) << 1] = signed int * fract * 2 At any operating period the Jitter algorithm will add +/- 10% 2013 Microchip Technology Incorporated. All Rights Reserved. 17091 PS2 Slide 38

Interrupt based priority scheme: Software Overview High priority Critical Control algorithms Medium priority Advanced algorithms Low priority Communications Note: Timing diagrams are drawn showing relative trigger events. Block size does not represent actual algorithm duration. 2013 Microchip Technology Incorporated. All Rights Reserved. 17091 PS2 Slide 39

Software Structure 2013 Microchip Technology Incorporated. All Rights Reserved. 17091 PS2 Slide 40

Agenda Power Factor and its Significance How to Achieve Power Factor Correction Overview of Different Boost Type PFC Designs Digital PFC Using the dspic DSC Advanced PFC Techniques Overview of 720W AC-DC Reference Design 2013 Microchip Technology Incorporated. All Rights Reserved. 17091 PS2 Slide 41

Advanced PFC Techniques New Regulations require higher efficiency, higher Power Factor and lower THD Unavoidable factors limit performance of system at light loads EMI Filter Discontinuous Conduction mode Fixed minimum power losses limit maximum theoretical efficiency at light loads 2013 Microchip Technology Incorporated. All Rights Reserved. 17091 PS2 Slide 42

Problem: Discontinuous Conduction Mode (DCM) V AC i AC 0 Transition between CCM and DCM modes ωt ωt V AC varies from 0V to V AC(PK) on every sine wave cycle causing boost converter to operate in DCM (occurs near zero crossings and depends on load) The Boost Converter will operate in DCM when: i AC < ( V D T ) AC 2L S 2013 Microchip Technology Incorporated. All Rights Reserved. 17091 PS2 Slide 43

DCM Correction When inductor current becomes discontinuous the current sampling point (PDC/2) is no longer the average inductor current With the CT in series with boost MOSFET, we only see t on current. Additional circuitry is needed to see when inductor current reaches zero to determine t off. No longer the average Inductor current I Q t on t off DT 2013 Microchip Technology Incorporated. All Rights Reserved. 17091 PS2 Slide 44

DCM Correction Add a correction factor in the current control algorithm to account for the measured inductor current not being the average. Proposed solution is to modify the sense current (I sense ) with respect to the V ac, V out, and compensator output. I ACref + I sense_cor - I ERR I ERR (Q15) x32 to comp. SW Applies DCM Corr. Factor DCM Corr. Factor Correction ~25% I sense (10-Bit) ~9% 50% Duty Cycle 92% V AC i AC 0 ωt ωt 2013 Microchip Technology Incorporated. All Rights Reserved. 17091 PS2 Slide 45

Problem: How to Improve Efficiency @ light load Design system with lower switching frequency Results in larger component sizes May impact performance Utilize other control schemes like boundary conduction mode Higher peak currents may impact EMI Efficiency will be impacted at higher load currents Implement advanced software algorithms PFC Output Bulk voltage reduction Switching Frequency reduction Phase-shedding (interleaved PFC) 2013 Microchip Technology Incorporated. All Rights Reserved. 17091 PS2 Slide 46

How to Improve PF at Light Load? (230Vrms@50W) Input Voltage Input Current Inductor Current EMI Filter Current 2013 Microchip Technology Incorporated. All Rights Reserved. 17091 PS2 Slide 47

How to Improve PF at Light Load? (230Vrms@50W) 2013 Microchip Technology Incorporated. All Rights Reserved. 17091 PS2 Slide 48

Bulk Voltage Reduction At light loads the bulk voltage is reduced to improve efficiency by reducing the switching losses Output bulk voltage increases as soon as a load transient is detected to maintain good response For large load transients, bulk voltage boost is added to improve transient response control loop coefficients are modified Bulk Voltage 405 400 395 390 385 380 375 370 Bulk Voltage vs. Load 0 3 6 9 12 15 18 21 24 27 30 33 36 39 42 45 48 Load Profile (%) Software has 32 element lookup table and interpolates between two data points based on secondary load current 2013 Microchip Technology Incorporated. All Rights Reserved. 17091 PS2 Slide 49

Frequency Reduction At low load conditions, the frequency is reduced gradually in steps of 4ns until optimum frequency is reached When a load transient is detected, frequency is instantly increased to required frequency to maintain good response Control loop output scaling and coefficients are modified based on the calculated operating frequency Switching Freq vs. Load Switching Frequency 100000 90000 80000 70000 60000 50000 40000 30000 Software has 32 element lookup table and interpolates between two data points based on load Load Profile (%) 2013 Microchip Technology Incorporated. All Rights Reserved. 17091 PS2 Slide 50

Agenda Power Factor and its Significance How to Achieve Power Factor Correction Overview of Different Boost Type PFC Designs Digital PFC Using the dspic DSC Advanced PFC Techniques Overview of 720W AC-DC Reference Design 2013 Microchip Technology Incorporated. All Rights Reserved. 17091 PS2 Slide 51

Input / Output: Platinum-Rated AC/DC Reference Design 85~264 V AC 45-65 Hz Active PFC (PF up to 0.99) 12V DC / 60A (720W max) Load Regulation: ± 1.5% Efficiency: Up to 94.1% Meets ENERGY STAR CSCI Platinum Level Special Features: Full digital control Enhanced system monitoring & fault handling Load share bus for N+1 Redundancy Dynamic efficiency optimization Switching Frequency Adaption Dynamic Bulk Voltage Adjustment Enhanced Sync Rectifier Control 2013 Microchip Technology Incorporated. All Rights Reserved. 17091 PS2 Slide 52

High Level Block Diagram Temp Sensor Input Filter MCP 9700A Rectifier 2-Phase Interleaved PFC 2-Phase Interleaved Two-Switch Forward MCP 9700A MCP 9700A Synchronous Rectifier Oring Current Monitor Output Filter CTs GTs CTs Charge Pump Gate Driver MCP14E4 DC-Link MCP14E4 MCP14E4 MCP14E4 Primary dspic33fj16gs502 (28-SOIC) UART Secondary dspic33fj16gs504 (44-QFN) I²C I-Share Bus Fan Control +3.3V +3.3V +12V Auxiliary Power Supply +12V Isolation 2013 Microchip Technology Incorporated. All Rights Reserved. 17091 PS2 Slide 53

Power Factor Results 1.05 1 0.95 Power Factor vs. Load Red: CSCI Minimum Required Power Factor Power Factor 0.9 0.85 0.8 0.75 0.7 Blue: Measured Power Factor 230Vac 0.65 0.6 10 20 50 75 100 Load (%) Green: Measured Power Factor 120Vac Recent push for even better PF performance: - 0.85 at 5% load - 0.9 at 10% load - 0.95 at 20% load - 0.99 >50% load 2013 Microchip Technology Incorporated. All Rights Reserved. 17091 PS2 Slide 54

Efficiency Analysis 100% Efficiency Level Optimization Test Conditions: 230Vac / 50Hz Input Total Efficiency [%] 95% 90% 85% 80% 75% 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100% Load Condition [%] Platinum Efficiency Active Adaptive Control Red: CSCI Platinum Efficiency with given Reference Points Blue: Efficiency with no enhanced features enabled Green: Efficiency with enhanced features enabled 2013 Microchip Technology Incorporated. All Rights Reserved. 17091 PS2 Slide 55

Summary Power Factor Correction reduces energy losses and overall costs and is required on most switch mode power supplies Implementing active PFC especially digital PFC, is quite complex but can achieve high PF, low ithd, and work with universal mains. The dspic DSC enables advanced PFC techniques for improved system performance 2013 Microchip Technology Incorporated. All Rights Reserved. 17091 PS2 Slide 56

Four Digital Power Level Technical Functions Low-power standby Programmable soft start Power up sequencing Primary/secondary communication bridge 2013 Microchip Technology Incorporated. All Rights Reserved. 17091 PS2 Slide 57

Four Digital Power Level Level 1 2013 Microchip Technology Incorporated. All Rights Reserved. 17091 PS2 Slide 58

Four Digital Power Level Technical Functions Output voltage margining Load sharing and balancing History logging Primary/secondary communication bridge 2013 Microchip Technology Incorporated. All Rights Reserved. 17091 PS2 Slide 59

Four Digital Power Level Level 2 2013 Microchip Technology Incorporated. All Rights Reserved. 17091 PS2 Slide 60

Four Digital Power Level Technical Functions Optimize control loop for load changes Enable common platform for multiple applications Operational flexibility for different power levels 2013 Microchip Technology Incorporated. All Rights Reserved. 17091 PS2 Slide 61

Four Digital Power Level Level 3 Drive r Temp. Sensor 2013 Microchip Technology Incorporated. All Rights Reserved. 17091 PS2 Slide 62

Four Digital Power Level Technical Functions Dynamic control loop adjustment Predictive control loop algorithms Operational flexibility for different power levels 2013 Microchip Technology Incorporated. All Rights Reserved. 17091 PS2 Slide 63

Four Digital Power Level Level 4 Driver DSP 2013 Microchip Technology Incorporated. All Rights Reserved. 17091 PS2 Slide 64

Flyback Converter Basic Schematic 2013 Microchip Technology Incorporated. All Rights Reserved. 17091 PS2 Slide 65

PSMC GUI 2013 Microchip Technology Incorporated. All Rights Reserved. 17091 PS2 Slide 66

Flyback Converter Basic Operation Νο φιρµωαρε νεεδεδ φορ οπερατιον! 2013 Microchip Technology Incorporated. All Rights Reserved. 17091 PS2 Slide 67

Flyback Converter Power Factor Correction Ουτ οφ Πηασε Πλεντψ οφ Ηαρµονιχσ 2013 Microchip Technology Incorporated. All Rights Reserved. 17091 PS2 Slide 68

Flyback Converter Power Factor Correction Ινπυτ χυρρεντ µυστ φολλοω τηε ινπυτ ϖολταγε. 2013 Microchip Technology Incorporated. All Rights Reserved. 17091 PS2 Slide 69

Flyback Converter Implementing PFC 2013 Microchip Technology Incorporated. All Rights Reserved. 17091 PS2 Slide 70

Flyback Converter Dimming Control ΧΧΠ ισ υσεδ το χοντρολ ςρεφ ανδ τηε ουτπυτ ποωερ. 2013 Microchip Technology Incorporated. All Rights Reserved. 17091 PS2 Slide 71

Flyback Converter Combining PFC and Dimming 2013 Microchip Technology Incorporated. All Rights Reserved. 17091 PS2 Slide 72

One more..cip Module 2013 Microchip Technology Incorporated. All Rights Reserved. 17091 PS2 Slide 73

Thank You 2013 Microchip Technology Incorporated. All Rights Reserved. 17091 PS2 Slide 74

References www.microchip.com/smps Platinum-Rated AC/DC Reference Design Using the dspic DSC Application Note AN1421 Interleaved Power Factor Correction (IPFC) Using the dspic DSC Application Note AN1278 H.Z. Azazi, E.E. El-Kholy, S.A. Mahmoud and S.S. Shokralla, Review of Passive and Active Circuits for Power Factor Correction in Single Phase, Low Power AC-DC Converters MEPCON 10, Cairo Egypt, Paper ID 154. Michael O Loughlin, An Interleaving PFC Pre-Regulator for High Power Converters Texas Instruments, Topic 5. http://www.cps.fi/library/power_factor_c.pdf Joel Turchi, A High-Efficiency, 300W Bridgeless PFC Stage On Semiconductor, AND8481/D Joel Turchi, A 800W Bridgeless PFC Stage On Semiconductor, AND8392/D Laszlo Huber, Yungtaek Jang, and Milan M. Jovanovic, Performance Evaluation of Bridgeless PFC Boost Rectifiers, Delta Products Corporation 2013 Microchip Technology Incorporated. All Rights Reserved. 17091 PS2 Slide 75

Trademarks The Microchip name and logo, the Microchip logo, dspic, FlashFlex, KEELOQ, KEELOQ logo, MPLAB, PIC, PICmicro, PICSTART, PIC 32 logo, rfpic, SST, SST Logo, SuperFlash and UNI/O are registered trademarks of Microchip Technology Incorporated in the U.S.A. and other countries. FilterLab, Hampshire, HI-TECH C, Linear Active Thermistor, MTP, SEEVAL and The Embedded Control Solutions Company are registered trademarks of Microchip Technology Incorporated in the U.S.A. Silicon Storage Technology is a registered trademark of Microchip Technology Inc. in other countries. Analog-for-the-Digital Age, Application Maestro, BodyCom, chipkit, chipkit logo, CodeGuard, dspicdem, dspicdem.net, dspicworks, dsspeak, ECAN, ECONOMONITOR, FanSense, HI- TIDE, In-Circuit Serial Programming, ICSP, Mindi, MiWi, MPASM, MPF, MPLAB Certified logo, MPLIB, MPLINK, mtouch, Omniscient Code Generation, PICC, PICC-18, PICDEM, PICDEM.net, PICkit, PICtail, REAL ICE, rflab, Select Mode, SQI, Serial Quad I/O, Total Endurance, TSHARC, UniWinDriver, WiperLock, ZENA and Z-Scale are trademarks of Microchip Technology Incorporated in the U.S.A. and other countries. SQTP is a service mark of Microchip Technology Incorporated in the U.S.A. GestIC and ULPP are registered trademarks of Microchip Technology Germany II GmbH & Co. KG, a subsidiary of Microchip Technology Inc., in other countries. All other trademarks mentioned herein are property of their respective companies. 2013, Microchip Technology Incorporated, All Rights Reserved. 2013 Microchip Technology Incorporated. All Rights Reserved. 17091 PS2 Slide 76