Presentation is loading. Please wait.

Presentation is loading. Please wait.

Copyright Agrawal, 2011ELEC5270/6270 Spr 15, Lecture 71 ELEC 5270/6270 Spring 2015 Low-Power Design of Electronic Circuits Energy Source Design Vishwani.

Similar presentations


Presentation on theme: "Copyright Agrawal, 2011ELEC5270/6270 Spr 15, Lecture 71 ELEC 5270/6270 Spring 2015 Low-Power Design of Electronic Circuits Energy Source Design Vishwani."— Presentation transcript:

1 Copyright Agrawal, 2011ELEC5270/6270 Spr 15, Lecture 71 ELEC 5270/6270 Spring 2015 Low-Power Design of Electronic Circuits Energy Source Design Vishwani D. Agrawal James J. Danaher Professor Dept. of Electrical and Computer Engineering Auburn University, Auburn, AL 36849 vagrawal@eng.auburn.edu http://www.eng.auburn.edu/~vagrawal/COURSE/E6270_Spr15/course.html

2 Outline Energy source optimization methods Energy source optimization methods Voltage and Clock Management Voltage and Clock Management Functional Management Functional Management Voltage and Clock Management (DVFS) Voltage and Clock Management (DVFS) Background Background A typical system powered with battery A typical system powered with battery Battery Simulation Model Battery Simulation Model DC to DC converter DC to DC converter Problem statement Problem statement Case I : System is Performance bound Case I : System is Performance bound Case II : A higher battery lifetime is required Case II : A higher battery lifetime is required Case III : Battery weight or size is constrained Case III : Battery weight or size is constrained Copyright Agrawal, 20112ELEC5270/6270 Spr 15, Lecture 7

3 Copyright Agrawal, 20113 Timing Management Functional Management Voltage Management Energy Source Optimization Methods Dynamic Voltage Management Multi-Voltage design Dynamic Frequency Management Retiming Fetch Throttling Dynamic Task Scheduling Instruction Slowdown Low Power solutions to common operations e.g. Low Power FSMs, Bus Encoding etc Dynamic Voltage and Frequency Scaling (DVFS) ELEC5270/6270 Spr 15, Lecture 7

4 Copyright Agrawal, 20114 Timing Management Functional Management Voltage Management Energy Source Optimization Methods Dynamic Voltage and Frequency Scaling (DVFS) Instruction Slowdown Method in Processors Parallel Architectures ELEC5270/6270 Spr 15, Lecture 7

5 Powering a System Copyright Agrawal, 20115 VBVB +_+_ RBRB VLVL RLRL ILIL AHr (capacity) ELEC5270/6270 Spr 15, Lecture 7

6 Current and Load Power Copyright Agrawal, 2011ELEC5270/6270 Spr 15, Lecture 76 Current: I L = V B / (R B + R L ) Power supplied to load: P L = I L 2 R L = V B 2 R L / (R B + R L ) 2 P Lmax = V B 2 / (4R B ), maximum power when R L = R B

7 Battery Lifetime, Power, Efficiency Copyright Agrawal, 2011ELEC5270/6270 Spr 15, Lecture 77 Power supplied from battery: P B = I L 2 (R B + R L ) = V B 2 / (R B + R L ) Battery Efficiency = P L /P B = R L / (R B + R L ) Ideal lifetime of battery = Ahr / I L = Ahr. (R B + R L ) / V B Where AHr is battery capacity in ampere-hours

8 Lifetime, Power and Efficiency Copyright Agrawal, 20118 1.0 0.8 0.6 0.4 0.2 0.0 Efficiency or Power 0 1 2 3 4 5 6 7 8 R L /R B Lifetime (x AHr.R B / V B ) 10 8 6 4 2 0 Lifetime Efficiency P L = V B 2 /(4R B ) ELEC5270/6270 Spr 15, Lecture 7 (Maximum power transfer theorem)

9 Copyright Agrawal, 20119 Power Subsystem of an Electronic System DC – DC Voltage Converter Electronic System 4.2 V to 3.5 V Lithium- ion Battery Decoupling Capacitor VDD GND ELEC5270/6270 Spr 15, Lecture 7 See Lecture 12 on Power and Ground from ELEC 7770: http://www.eng.auburn.edu/~vagrawal/COURSE/E7770_Spr14/course.html

10 Some Characteristics Lithium-ion battery Open circuit voltage: 4.2V, unit cell 400mAHr, for efficiency ≥ 85%, current ≤ 1.2A Discharged battery voltage ≤ 3.0V DC-to-DC converter Supplies VDD to circuit, VDD ≤ 1V for nanometer technologies. VDD control for energy management. Decoupling capacitor(s) provide smoothing of time varying current of the circuit. Copyright Agrawal, 201110ELEC5270/6270 Spr 15, Lecture 7

11 Copyright Agrawal, 201111 Battery Simulation Model Lithium-ion battery, unit cell capacity: N = 1 (400mAHr) Battery sizes, N = 2 (800mAHr), N = 3 (1.2AHr), etc. Ref: M. Chen and G. A. Rincón-Mora, “Accurate Electrical Battery Model Capable of Predicting Runtime and I-V Performance,” IEEE Transactions on Energy Conversion, vol. 21, no. 2, pp. 504–511, June 2006. ELEC5270/6270 Spr 15, Lecture 7

12 Model: Battery Lifetime Part SOC: State of charge = V SOC SOC: State of charge = V SOC V SOC = 1 volt, for fully charged battery. V SOC = 1 volt, for fully charged battery. C Capacity = 3600 ✕ AHr-rating ✕ f(Cycles) ✕ f(Temp) C Capacity = 3600 ✕ AHr-rating ✕ f(Cycles) ✕ f(Temp) f(Cycles), f(Temp): effects of dropping capacity with number of recharges and temperature. Both are close to 1. f(Cycles), f(Temp): effects of dropping capacity with number of recharges and temperature. Both are close to 1. R self-Dscharge : A large leakage resistance. R self-Dscharge : A large leakage resistance. Copyright Agrawal, 2011ELEC5270/6270 Spr 15, Lecture 712

13 Voltage-Current Characteristic Determined from experimental data. Determined from experimental data. Open circuit voltage: Open circuit voltage: V = −1.031e −35×SOC + 3.685 + 0.2156 × SOC −0.1178 × SOC 2 + 0.3201 × SOC 3 R Series = 0.07446 + 0.1562 e – 24.37×SOC R Series = 0.07446 + 0.1562 e – 24.37×SOC Other resistance and capacitance are also non-linear functions of SOC and represent short-term (S) and long-term (L) transient effects. Other resistance and capacitance are also non-linear functions of SOC and represent short-term (S) and long-term (L) transient effects. Copyright Agrawal, 2011ELEC5270/6270 Spr 15, Lecture 713

14 Copyright Agrawal, 201114 Lifetime from Battery Simulation 1008 sec ELEC5270/6270 Spr 15, Lecture 7

15 Battery Efficiency Consider: 1.2AHr battery I Batt = 3.6A Ideal Lifetime = 1.2AHr/3.6A = 1/3 hour (1200s) Actual lifetime from simulation = 1008s Efficiency= (Actual lifetime)/(Ideal lifetime) =1008/1200 =0.84 or 84% Copyright Agrawal, 201115ELEC5270/6270 Spr 15, Lecture 7

16 DC-to-DC Buck (Step-Down) Converter Components: Switch (FETs, VDMOS), diode, inductor, capacitor. Switch control: pulse width modulated (PWM) signal. V s = D · V g, D is duty cycle of PWM control signal. Copyright Agrawal, 201116 Source: R. W. Erickson, “DC to DC Power Converters, “ Wiley Encyclopedia of Electrical and Electronics Engineering s ELEC5270/6270 Spr 15, Lecture 7

17 Asynchronous DC-to-DC Buck Converter Copyright Agrawal, 2011ELEC5270/6270 Spr 15, Lecture 717 V ref + – L CLoad VgVg V

18 An Electronic System Example A 32-bit Ripple Carry Adder (RCA) 352 NAND gates (2 or 3 inputs) 1,472 transistors In order to realize a practical circuit and to generate sufficient current for the battery model, 200,000 copies of RCA were used. That makes it 352 x 200,000 ≈ 70 million gate circuit. Critical path: 32bit ripple-carry adder. Simulation model: 45nm bulk CMOS, predictive technology model (PTM), http://ptm.asu.edu/http://ptm.asu.edu/ Copyright Agrawal, 201118ELEC5270/6270 Spr 15, Lecture 7

19 32-bit Ripple Carry Adder Copyright Agrawal, 2011ELEC5270/6270 Spr 15, Lecture 719 A0 B0 C0=0 C1 S0 A1 B1 C2 S1 A31 B31 C32 S31

20 Critical Path Vectors Copyright Agrawal, 2011ELEC5270/6270 Spr 15, Lecture 720 Vector 1 C = 00000000000000000000000000000000 A = 11111111111111111111111111111111 B = 00000000000000000000000000000000 S = 11111111111111111111111111111111 Vector 2 C = 11111111111111111111111111111110 A = 11111111111111111111111111111111 B = 00000000000000000000000000000001 S = 00000000000000000000000000000000 32 bits

21 HSPICE Simulation of 32-Bit RCA, VDD = 0.9V Copyright Agrawal, 201121 Average total current, I circuit = 74.32μA, Leakage current = 1.108μA 100 random vectors including critical path vectors ELEC5270/6270 Spr 15, Lecture 7 Critical path vectors 2ns

22 HSPICE Simulation of 32-Bit RCA, VDD = 0.3V Copyright Agrawal, 201122 Average total current, I circuit = 0.2563μA, Leakage current = 0.092μA 100 random vectors including critical path vectors ELEC5270/6270 Spr 15, Lecture 7 Critical path vectors 200ns

23 Finding Battery Current, I Batt Assume 32-bit ripple carry adder (RCA) with about 350 gates represents circuit activity for the entire system. Total current for 70 million gate circuit, I circuit = (average current for RCA) x 200,000 DC-to-DC converter translates VDD to 4.2V battery voltage; assuming 100% conversion efficiency, I Batt = I circuit x VDD/4.2 Example: HSPICE simulation of RCA: 100 random vectors VDD = 0.9V, vector period = 2ns, Average current for RCA = 74.32μA, I Batt = 3.18A Copyright Agrawal, 201123ELEC5270/6270 Spr 15, Lecture 7

24 Case I: Performance Battery should be capable of supplying power (current) for required system performance. Battery should meet the lifetime (time between replacement or recharge) requirement. Power management to extend the lifetime of selected battery. Copyright Agrawal, 201124 System is Performance Bound ELEC5270/6270 Spr 15, Lecture 7

25 Copyright Agrawal, 201125 Step 1: Determine the lower bound on the operating voltage based on required performance. Step 2: Determine minimum battery size for efficiency ≥ 85% Step 3: Increase battery size over the minimum size to meet lifetime requirement. Step 4: Determine a lower performance mode with maximum lifetime for a given battery. Four Step Design ELEC5270/6270 Spr 15, Lecture 7

26 Step 1: Find Operating Voltage Consider a performance requirement of 200MHz clock, critical path delay ≤ 5ns. Circuit simulation gives, VDD = 0.6V and I Batt = 477mA. Copyright Agrawal, 201126ELEC5270/6270 Spr 15, Lecture 7

27 Copyright Agrawal, 201127 Circuit Simulation: Determine Operating Voltage and Current for System Performance 200 MHz 477 mA ELEC5270/6270 Spr 15, Lecture 7

28 Copyright Agrawal, 201128 Step 2: Determine Minimum Battery Size For required current 477 mA Battery Efficiency ≥ 85 % Select 400 mAHr Battery ELEC5270/6270 Spr 15, Lecture 7

29 Simulate Selected Battery A meaningful measure of the work done by the battery is its lifetime in terms of clock cycles. For each VDD in the range of valid operation, i.e., VDD = 0.1V to 1.0V, calculate lifetime using circuit delay and battery efficiency obtained from HSPICE simulation. Minimum energy operation maximizes the lifetime in clock cycles. Copyright Agrawal, 201129ELEC5270/6270 Spr 15, Lecture 7

30 Copyright Agrawal, 201130 Higher Circuit Speed, Lower Battery Efficiency Higher Battery Lifetime, Lower Circuit Speed DVFS range Simulation of 400mAHr Battery Over entire operating voltage range of 0.1 V to 1 V For both Ideal and Simulated battery 0.098 0.560 3.860 23.00 88.00 199.0 325.0 446.0 557.0 657.0 (MHz) ELEC5270/6270 Spr 15, Lecture 7

31 Step 3: Battery Lifetime Requirement Suppose battery lifetime for the system is to be at least 3 hours. For smallest battery, size N = 1 (400mAHr) I Batt = 477mA, Efficiency ≈ 98%, Lifetime = 0.98 x 0.4/0.477 = 0.82 hour For 3 hours lifetime, battery size N = 3/0.82 = 3.65 ≈ 4. We should use a 4 cell (1600mAHr) battery. Copyright Agrawal, 201131 System needs higher battery lifetime ELEC5270/6270 Spr 15, Lecture 7

32 Copyright Agrawal, 201132 619 x10 9 clock cycles, 50 minutes 2540x10 9 clock cycles 205 min ( > 3 Hrs) Meeting Lifetime Requirement 0.098 0.560 3.860 23.00 88.00 199.0 325.0 446.0 557.0 657.0 (MHz) ELEC5270/6270 Spr 15, Lecture 7

33 Step 4: Minimum Energy Operation Copyright Agrawal, 201133 1660x10 9 clock cycles 6630x10 9 clock cycles 0.098 0.560 3.860 23.00 88.00 199.0 325.0 446.0 557.0 657.0 (MHz) ELEC5270/6270 Spr 15, Lecture 7

34 Summarizing Power Management Battery size VDD = 0.6V, 200MHzVDD = 0.3V, 3.86MHz Effici. % Lifetime Effici. % Lifetime NmAHr x10 3 seconds X10 9 cycles x10 3 seconds X10 9 cycles 1400983619100+414.51660 41600100+12.32540100+13646630 Copyright Agrawal, 201134 > two-times 1.Battery size should match the current need and satisfy the lifetime requirement of the system: (a) Undersize battery has poor efficiency. (b) Oversize battery is bulky and expensive. 2Minimum energy mode can significantly increase battery lifetime. ELEC5270/6270 Spr 15, Lecture 7

35 Copyright Agrawal, 201135 Battery Size or Weight is Constrained 1.Some real life applications call for a fixed size (or weight) of a battery, e.g., bio-implantable devices, hearing aid. 2Performance requirements are secondary and the primary goal is to maximize the lifetime (or number of cycles before next recharge). 3Example: A CR2032(CR) Lithium-ion battery Nominal Voltage: 3V Capacity: 225mAHr Nominal Current: 0.3 mA Maximum Current: 3 mA ELEC5270/6270 Spr 15, Lecture 7

36 Copyright Agrawal, 201136 540x10 9 clock cycles 0.098 0.560 3.860 23.00 88.00 199.0 325.0 446.0 557.0 657.0 (MHz) ELEC5270/6270 Spr 15, Lecture 7

37 References 1. 1.M. Pedram and Q. Wu, “Design Considerations for Battery-Powered Electronics,” Proc. 36th Design Automation Conference, June 1999, pp. 861– 866. 2. 2.L. Benini, G. Castelli, A. Macii, E. Macii, M. Poncino, and R. Scarsi, “A Discrete-Time Battery Model for High-Level Power Estimation,” Proc. Conference on Design, Automation and Test in Europe, Mar. 2000, pp. 35 – 41. 3. 3.M. Chen and G. A. Rincón-Mora, “Accurate Electrical Battery Model Capable of Predicting Runtime and I-V Performance,” IEEE Transactions on Energy Conversion, vol. 21, no. 2, pp. 504 – 511, June 2006. 4. 4. Simulation model: 45nm bulk CMOS, predictive technology model (PTM), http://ptm.asu.edu/http://ptm.asu.edu/ 5. 5. Simulator: Synopsys HSPICE, www.synopsys.com/Tools/Verification/AMSVerification/CircuitSimulation /HSPICE/Documents/hspice ds.pdf www.synopsys.com/Tools/Verification/AMSVerification/CircuitSimulation /HSPICE/Documents/hspice ds.pdf Copyright Agrawal, 201137ELEC5270/6270 Spr 15, Lecture 7

38 6. 6.M. Kulkarni and V. D. Agrawal, “Matching Power Source to Electronic System: A Tutorial on Battery Simulation”, Proc. VLSI Design and Test Symposium, July 2010. 7.Energy Source Lifetime Optimization for a Digital System through Power Management,” Proc. Proc. IEEE International Conf. Industrial Technology and 43rd IEEE Southeastern Symp. System Theory, March 2011. 7.M. Kulkarni and V. D. Agrawal, “Energy Source Lifetime Optimization for a Digital System through Power Management,” Proc. Proc. IEEE International Conf. Industrial Technology and 43rd IEEE Southeastern Symp. System Theory, March 2011. 8.Architectural Power Management for High Leakage Technologies,” Proc. Proc. IEEE International Conf. Industrial Technology and 43rd IEEE Southeastern Symp. System Theory, March 2011. 8.M. Kulkarni, S. Sheth and V. D. Agrawal, “Architectural Power Management for High Leakage Technologies,” Proc. Proc. IEEE International Conf. Industrial Technology and 43rd IEEE Southeastern Symp. System Theory, March 2011. 9.Energy Source Lifetime Optimization for a Digital System through Power Management,” Master’s Thesis, ECE Dept., Auburn University, December 2010. 9.M. Kulkarni, “Energy Source Lifetime Optimization for a Digital System through Power Management,” Master’s Thesis, ECE Dept., Auburn University, December 2010. 10.K. Sheth, “A Hardware-Software Processor Architecture using Pipeline Stalls for Leakage Power Management,” Master’s Thesis, ECE Dept., Auburn University, December 2008. Copyright Agrawal, 201138 References (Cont.) ELEC5270/6270 Spr 15, Lecture 7


Download ppt "Copyright Agrawal, 2011ELEC5270/6270 Spr 15, Lecture 71 ELEC 5270/6270 Spring 2015 Low-Power Design of Electronic Circuits Energy Source Design Vishwani."

Similar presentations


Ads by Google