EE152 Green Electronics Power Factor and Inverters 10/28/14 Prof. William Dally Computer Systems Laboratory Stanford University
Lab 5 PV lab this week Course Logistics Solar day is on Thursday 10/30/14 Make sure you are ready to go Wednesday night. If weather is good, meet on Packard patio on Thursday at 4:15 be ready to go. Project Proposal Assignment out Today Please come to office hours or make an appointment if you want to talk about the project Please discuss ideas before submitting your proposal Homework 5 due today Homework 6 out today Lab 6 out today
Summary of Soft Switching Switch FETs (or IGBTs) only with zero voltage, zero currrent, or both Full-bridge Start each transition by turning opposing switch off Use current in leakage inductance to drive voltage transitions before turn-on Add capacitance to slow transitions during turn-off Phase shift between bridge drives is control input QSW Add a capacitor to conventional buck Current in inductor forced to reverse V Three of four switching events driven by voltage or current S High-side turn-off is only free event Variable frequency Quasi-Resonant ZCS Cell with LC tank replaces switch Fixed pulse each time switch is turned on Off-time is free variable Active clamp V S + - D 2 - + M 1 H H L L r i r M 1 M 2 D 1 D 2 UL C X LL C r D 1 L i L L i L C C UR LR + v C - Load + v C - i Load Load i Load
Dealing with the AC Line 60Hz AC is just slowly moving DC Drawing power from AC line need to make current proportional to voltage Driving the AC line need to make current proportional to voltage Synthesizing AC make voltage follow 60Hz sine wave
Power factor corrector AC input, DC output Three Cases Make AC current proportional to voltage (unity power factor) Need to store energy Grid tied inverter DC input, AC output Grid defines voltage Drive current to be proportional to voltage (unity power factor) Need to store energy Free-standing inverter Synthesize 60Hz sine wave
Example: Stanford Littlebox 450VDC Buck 240V 120Hz rectified sine Unfold 240V AC 60Hz Boost 450-900V 120Hz Bidir Buck
Example: Stanford Littlebox 450VDC Buck 240V 120Hz rectified sine Unfold 240V AC 60Hz Boost 450-900V 120Hz Bidir Buck
Some Details VP M1 L1 Input bypass network D1 30uH 12A RS 400-450V DC SC Storage capacitor 60x 2.2uF 450V X7T M6 M8 OA VN Inrush Prot L2 100uH 7A D2 M2 C1 M3 M4 L3 100uH 7A C2 0.47uF 600V M5 M7 0.47uF 600V C3 240V AC OB
Power Factor
Energy Star Regulations 3) Energy Efficiency and Power Management Criteria: Computers must meet the requirements below to qualify as ENERGY STAR. The Version 5.0 effective date is covered in Section 5 of this specification. (A) Power Supply Efficiency Requirements - Requirements are applicable to all product categories covered by the ENERGY STAR Computer Specification: Computers Using an Internal Power Supply: 85% minimum efficiency at 50% of rated output and 82% minimum efficiency at 20% and 100% of rated output, with Power Factor > 0.9 at 100% of rated output. Power Factor >= 0.9 at 100% rated output
IEC/EN61000-3-2
Definition PF = Real P ower Apparent P ower Apparent Power = V rms x I rms PF = P p P 2 + Q 2 PF = 1 p 1+THD 2 = I 1,rms I rms
Power Factor in Littlebox Must drive load with PF between 0.7 and 1 Current waveform may lead or lag voltage by 45 degrees.
PF = 0.707 1 0.8 0.6 0.4 Voltage Current 0.2 0-0.2-0.4-0.6-0.8-1 0 1.570796 3.141592 4.712388
PF = 0.707 1 0.8 0.6 0.4 Voltage Current 0.2 0-0.2-0.4-0.6-0.8-1 0 1.570796 3.141592 4.712388
PFC
Power Factor Correction Correct power factor by regulating input current To be instantaneously proportional to input voltage I = kv Makes circuit look like a resistor May change the constant k over time Often done in a separate input stage Trivially achieved with DCM boost input stage Can be accomplished with CCM boost input stage and current-mode control
AC current in DC current out
PFC Input Stage PFC Boost Forward Output Stage
DCM of Flyback 1kHz Input Frequency Constant Pulse Width
Two Other Strategies
LT1248 TYPICAL APPLICATI O U 300W, 382V Preregulator 90V TO 270V T 6A EMI FILTER + 750µH* IRF840 MURH860 1M 1% + V OUT 180µF 0.047µF R S 0.2Ω 20k 1% 20k 0.47µF 330k R REF 4k 0.1µF 4k 1nF 100pF 20k V CC = 18V** + 56µF 35V VA OUT V REF M OUT I SENSE PK LIM GND 7 9 5 4 3 2 1 15 CA OUT V CC V CC 16V TO 10V + 7.5V V REF RUN + 10 2.6V/2.2V + EN/SYNC 2.2V + M1 7µA 1M 4.7nF 50k 11 V SENSE 6 I AC 7.5V 7.9V 8 OVP 12µA 5V SS 13 EA + + + 32k I A I B ONE SHOT 200ns I M = I A 2 I B 200µA 2 I M CA + + 0.7V + RUN OSC SYNC R R S Q 16V GTDR 16 10Ω 1N5819 0.01µF C SET 14 R SET 12 * ** 1. COILTRONICS CTX02-12236-1 (TYPE 52 CORE) AIR MOVEMENT NEEDED AT POWER LEVEL GREATER THAN 250W. 2. COILTRONICS CTX02-12295 (MAGNETICS Kool Mµ 77930 CORE) SEE START-UP AND SUPPLY VOLTAGE SECTION FOR V CC GENERATOR. THIS SCHOTTKY DIODE IS TO CLAMP GTDR WHEN MOS SWITCH TURNS OFF. PARASITIC INDUCTANCE AND GATE CAPACITANCE MAY TURN ON CHIP SUBSTRATE DIODE AND CAUSE ERRATIC OPERATIONS IF GTDR IS NOT CLAMPED. 1000pF 15k 1248 TA01
Summary of PFC Input current must be proportional to input voltage Harmonics limited by regulation PFC input stage regulates input current DCM constant pulse width CCM multiply input voltage by voltage error signal and regulate current to this value CrCM Constant on-time variable frequency Feedback tracks Input current to make it proportional to input voltage Output voltage sets constant of proportionality
Inverters
Inverter PFC regulates an AC input current Converts AC power to DC power Inverter regulates an AC output voltage Converts DC power to AC power Particularly useful for motor drives
Basic Inverter Make a Square Wave and Filter
Basic Inverter Make a Square Wave and Filter
But Filtering a 60Hz Square Wave is Hard
Spectrum of a 60Hz Square Wave 1400 1200 1000 800 Mag 600 400 200 0 0 100 200 300 400 500 600 700 800 900 1000 f (Hz)
Make a PWM Sine Wave and Filter
PWM Waveform 1 0.8 0.6 0.4 0.2 V PWM (V) 0 0.2 0.4 0.6 0.8 1 0 2 4 6 8 10 12 14 16 t (ms)
PWM Synthesis V AC, V Saw (V) V PWM (V) 1.5 1 0.5 0 0.5 1 0 2 4 6 8 10 12 14 16 1 0.5 0 0.5 x = sine > saw y = -sine > saw Digitally generate sine with quarterwave table 1 0 2 4 6 8 10 12 14 16 V Out (V) 1.5 1 0.5 0 0.5 1 1.5 0 2 4 6 8 10 12 14 16 1 0.5 I L (A) 0 0.5 1 0 2 4 6 8 10 12 14 16 t (ms)
100kHz PWM, 60Hz Sine (1667:1) 1.5 V AC, V Saw (V) 1 0.5 0 2 2.02 2.04 2.06 2.08 2.1 2.12 2.14 2.16 1 V PWM (V) 0.5 0 0.5 1 2 2.02 2.04 2.06 2.08 2.1 2.12 2.14 2.16 0.76 0.74 V Out (V) 0.72 0.7 0.68 2 2.02 2.04 2.06 2.08 2.1 2.12 2.14 2.16 0.9 0.8 I L (A) 0.7 0.6 0.5 2 2.02 2.04 2.06 2.08 2.1 2.12 2.14 2.16 t (ms)
Spectrum of 100kHz PWM Signal 9 x 105 8 7 6 5 Mag 4 3 2 1 0 10 1 10 2 10 3 10 4 10 5 10 6 f (Hz)
Circuit Simulation
SPICE Waveforms
Close Up of 2 PWM Cycles
Inverter Details Can operate independently or drive the grid. Grid connected inverters use the AC line as a sine-wave reference. This gives the proper phase It also compensates for distortion of the sine wave Current-mode control often used To give close to unity power factor into AC line This is the same as a PFC circuit but the current is flowing the other way
Anti-Islanding Grid-connected inverters need to turn off when the grid goes down. Safety issue for firemen, linemen, etc How do you detect when the grid goes down?
Anti-Islanding Line monitoring Voltage limits, frequency limits. Rate of change of frequency Rapid phase shift Active detection Impedance measurement Forced phase shift/frequency shift
Littlebox Inverter VP M1 L1 Input bypass network D1 30uH 12A RS 400-450V DC SC Storage capacitor 60x 2.2uF 450V X7T M6 M8 OA VN Inrush Prot L2 100uH 7A D2 M2 C1 M3 M4 L3 100uH 7A C2 0.47uF 600V M5 M7 0.47uF 600V C3 240V AC OB Generates rectified sinewave (RS) then unfolds it with a FET bridge why?
Inverters Summary Convert a DC Voltage to an AC Voltage AC is just slowly changing DC Use a full-bridge to generate a PWM Sine Wave Pulse width proportional to sin(x) LC Filter to reject high frequencies
Questions?
Upcoming Lectures HW Lab Lecture Date Topic out in out in Lab Descrip3on Homework Descrip3on 1 23- Sep Introduc3on to Green Electronics, Boost, 1 1 Introduc3on to AVR Microcontroller Periodic Steady State Buck, and periodic steady state analysis 2 25- Sep Real- 3me embedded sojware 3 30- Sep Motors and Modeling 2 1 2 1 AC energy meter Motor Calcula3ons 4 2- Oct Power MOSFETs, SPICE simula3on 5 7- Oct Power circuits 3 2 3 2 Motor control - Matlab Power devices 6 9- Oct Feedback Control 7 14- Oct PV Cells, Op3miza3on, Finding Peak Power 3 4 3 Motor control - Lab Feedback 8 16- Oct Transformers and bridge converters 9 21- Oct Magne3cs 4 5 4 PV power- point tracker PV 10 23- Oct SoJ switching 11 28- Oct Inverters 5 4 6 5 Power supply part 1/Project Magne3cs design Proposal 12 30- Oct Solar Day l 13 4- Nov Ba\eries 6 5 7 6 Power supply part 2 Bridge converter 14 6- Nov Grounding and debugging 15 11- Nov Review for Midterm 6 P 7 Project 16 13- Nov Mar3n Fornage (Enphase) MT 13- Nov Midterm 17 18- Nov Colin Campbell (Tesla) C1 18 20- Nov Andrew Ponec (SunPower/Dragonfly) 19 2- Dec Wrapup Lecture C2 20 4- Dec Project Presenta3ons P Project Report Due - Website