Title: EECS 150 - Components and Design Techniques for Digital Systems Lec 24
1EECS 150 - Components and Design Techniques for
Digital Systems Lec 24 Power, Power,
Power11/27/2007
- David Culler
- Electrical Engineering and Computer Sciences
- University of California, Berkeley
- http//www.eecs.berkeley.edu/culler
- http//inst.eecs.berkeley.edu/cs150
2Broad Technology Trends
Moores Law transistors on cost-effective chip
doubles every 18 months
Bells Law a new computer class emerges every 10
years
- Today 1 million transistors per
Same fabrication technology provides CMOS radios
for communication and micro-sensors
3Sustaining Moores Law
If unchecked, the increasing power requirements
of computer chips could boost heat generation to
absurdly high levels, said Patrick Gelsinger,
Intels CTO is reported to have said. By
mid-decade, that Pentium PC may need the power of
a nuclear reactor. By the end of the decade, you
might as well be feeling a rocket nozzle than
touching a chip. And soon after 2010, PC chips
could feel like the bubbly hot surface of the sun
itself,
4Power, Power, Power
- IT devices represent 2 of global CO2 emissions
worldwide
5What is EECS150 about?
Power!
6Data Centers
Client
- 1.5 of total US energy consumption in 2006
- 60 Billion kWh
- Doubled in past 5 years and expected to double in
next 5 to 100 Billion kWh - 7.4 B annually
EPA report aug 4 2007 delivered to congress in
response to public law 109-431
48 of IT budget spent on energy 50 of data
center power goes into cooling 1 MW DC gt 177 M
kwH 60 M gals water 145 K lbs copper 21 k
lbs lead
7Servers Total Cost of Ownership (TCO)
Machine rooms are expensive removing heat
dictates how many servers can fit
Electric bill adds up! Powering the servers
powering the air conditioners is a big part of TCO
Reliability running computers hot makes them
fail more often
8M. K. Patterson, A. Pratt, P. Kumar, From UPS
to Silicon an end-to-end evaluation of
datacenter efficiency, Intel Corporation
9P watts I amps V volts
This is how electric tea pots work ...
Heats 1 gram of water 0.24 degree C
0.24 Calories per Second
1V
-
1 Ohm Resistor
10Basics
- Warning! In everyday language, the term power
is used incorrectly in place of energy - Power is not energy
- E P T
- Power is not something you can run out of
- Power can not be lost or used up
- It is not a thing, it is merely a rate
- It can not be put into a battery any more than
velocity can be put in the gas tank of a car
11Data Center Power Usage Today
12PC
Client
- HPxw4200
- 180 w active with two LCDs
- 130 w w/o monitor, 110 w idle,
- 6 w suspend
- 60 are left on around the clock
- 15 of all office power
- US
- 1.72 B 15 M tons CO2 annually
- Mid size company
- 165 K 1400 tons of CO2
- Existing power mgmt (hibernation) can reduce by
80 - gt Do nothing well
J2EE SOAP
Enterprise Server
PC Energy Report 2007, 1E
13Do Nothing Well
14Notebooks ... now most of the PC market
Apple MacBook -- Weighs 5.2 lbs
8.9 in
1 in
12.8 in
Performance Must be close enough to desktop
performance ... many people no longer own a
desktop
Size and Weight Ideal paper notebook
Heat No longer laptops -- top may get warm,
bottom hot. Quiet fans OK
15Battery Set by size and weight limits ...
Battery rating 55 W-hour
At 2.3 GHz, Intel Core Duo CPU consumes 31 W
running a heavy load - under 2 hours battery
life! And, just for CPU!
46x energy than iPod nano. iPod lets you listen
to music for 14 hours!
At 1 GHz, CPU consumes 13 Watts. Energy saver
option uses this mode ...
16Battery Technology
- Battery technology has developed slowly
- Li-Ion and NiMh still the dominate technologies
- Batteries still contribute significantly to the
weight of mobile devices
1755 W-hour battery stores the energy of 1/2 a
stick of dynamite.
If battery short-circuits, catastrophe is
possible ...
18CPU Only Part of Power Budget
2004-era notebook running a full workload.
If our CPU took no power at all to run, that
would only double battery life!
19X-Internet Beyond the PC
Forrester Research, May 2001 Revised 2007
20X-Internet Beyond the PC
Forrester Research, May 2001
21Cooling an iPod nano ...
Like a resistor, iPod relies on passive transfer
of heat from case to the air
Why? Users dont want fans in their pocket ...
To stay cool to the touch via passive cooling,
power budget of 5 W
If iPod nano used 5W all the time, its battery
would last 15 minutes ...
22Powering an iPod nano (2005 edition)
1.2 W / 5 W 15 minutes
More W-hours require bigger battery and thus
bigger form factor -- it wouldnt be nano
anymore!
230.55 ounces
12 hour battery life
79.00
1 GB
2420 hour battery life for audio, 6.5 hours for
movies (80GB version)
24 hour battery life for audio 5 hour battery
life for photos
Thinner than 2005 iPod nano
12 hour battery life
25Whats in the iPhone?
Motherboard USB GSM
http//www.anandtech.com/printarticle.aspx?i3026
26Whats in your iPhone?
Main Processor ARM1176 1GB mem
LCD i/f
WiFi Most of Cell Phone
4 GB NAND Flash
27iPhone Parts (?)
- Baseband processor Infineon S-Gold3/ARM926?
- Applications/video processor Samsung/ARM10 or 11
- 802.11 chip Marvell/ARM9?
- Touchscreen controller Broadcom
- Touchscreen Balda/TPK
- Bluetooth CSR
- USB IC Alcor, Phison
- Audio Wolfson
- Memory module A-Data, Transcend
- Flash memory Samsung, Toshiba, Hynix
- Position sensor (MEMS?) STMicroelectronics,
Analog devices? - Light sensor ???
- Proximity sensor ???
- Camera sensor Micron?
- Camera module Altus or Lite-On Technology,
Primax Electronics - Camera lens Largan Precision
- Microphone ???
- Power management NXP?
- Passives Cyntec
- Quartz TXC
- Assembly Foxconn, FIH
- Casing mechanical parts Foxconn Catcher
- Push button Sunrex
- Connectors cable Entery, Cheng Uei, Foxlink,
Advanced Connectek - PCB Unimicron Tripod
28UCB Mote Platforms
Crossbow variation
29Key Design Elements
Flash Storage
timers
proc
data logs
Wireless Net Interface
antenna
RF transceiver
pgm images
WD
Wired Net Interface
serial link USB,EN,
Low-power Standby Wakeup
- Efficient wireless protocol primitives
- Flexible sensor interface
- Ultra-low power standby
- Very Fast wakeup
- Watchdog and Monitoring
- Data SRAM is critical limiting resource
30TinyOS-driven architecture
- 3K RAM 1.5 mm2
- CPU Core 1mm2
- multithreaded
- RF COMM stack .5mm2
- HW assists for SW stack
- Page mapping
- SmartDust RADIO .25 mm2
- SmartDust ADC 1/64 mm2
- I/O PADS
- Expected sleep 1 uW
- 400 years on AA
- 150 uW per MHz
- Radio
- .5mm2, -90dBm receive sensitivity
- 1 mW power at 100Kbps
- ADC
- 20 pJ/sample
- 10 Ksamps/second .2 uW.
jhill mar 6, 2003
31Microcontrollers
- Memory starved
- Far from Amdahl-Case 3M rule
- Fairly uniform active inst per nJ
- Faster MCUs generally a bit better
- Improving with feature size
- Min operating voltage
- 1.8 volts gt most of battery energy
- 2.7 volts gt lose half of battery energy
- Standby power
- substantial improvement in 2003
- Probably due to design focus
- Fundamentally SRAM leakage
- Wake-up time is key
- Trade sleep power for wake-up time
- Memory restore
DMA Support permits ADC sampling while processor
is sleeping
32What we mean by Low Power
- 2 AA gt 1.5 amp hours (4 watt hours)
- Cell gt 1 amp hour (3.5 watt hours)
- Cell 500 -1000 mW gt few hours active
- WiFi 300 - 500 mW gt several hours
- GPS 50 100 mW gt couple days
- WSN 50 mW active, 20 uW passive
- 450 uW gt one year
- 45 uW gt 10 years
- Ave Power fact Pact fsleep Psleep
fwaking Pwaking
33Mote Power States at Node Level
Active
Active
Telos Enabling Ultra-Low Power Wireless
Research, Polastre, Szewczyk, Culler, IPSN/SPOTS
2005
34Radios
- Trade-offs
- resilience / performance gt slow wake up
- Wakeup vs interface level
- Ability to optimize vs dedicated support
35Power to Communicate
36Multihop Routing
- Upon each transmission, one of the recipients
retransmits - determined by source, by receiver, by
- on the edge of the cell
37Energy Profile of a Transmission
- Power up oscillator radio (CC2420)
- Configure radio
- Clear Channel Assessment, Encrypt and Load TX
buffer - Transmit packet
- Switch to rcv mode, listen, receive ACK
38Example TX maximum packet
39The Idle Listening Problem
- The power consumption of short range (i.e.,
low-power) wireless communications devices is
roughly the same whether the radio is
transmitting, receiving, or simply ON,
listening for potential reception - includes IEEE 802.15.4, Zwave, Bluetooth, and the
many variants - WiFi too!
- Circuit power dominated by core, rather than
large amplifiers - Radio must be ON (listening) in order receive
anything. - Transmission is infrequent. Reception a Transmit
x Density - Listening (potentially) happens all the time
- Total energy consumption dominated by idle
listening
40Communication Power Consumption
Sleep 10 uA
Transmit 20 mA x 1-5 ms 20 - 100 uAs
I
Time
I
Time
Listen 20 mA
Receive 20 mA x 2-6 ms
41Announcements
- Project Check-offs this week
- TAs posting extra office hours for use of slip
days - Dr. Robert Iannucci, Nokia on Thurs
- Bring questions, show off projects
- Short HW 10 out tonight
- Due next wed.
- Wrap-up and Course Survey 12/4
- Project Demos Friday 12/7
- Signup sheet is posted
- 5 min demo 5 min QA
- Set up 20 mins in advance
- Final Exam Group 15 TUESDAY, DECEMBER 18,
2007 5-8P
42Basics Power and Digital Design
- Power supply provides energy for charging and
discharging wires and transistor gates. The
energy supplied is stored then dissipated as
heat. - If a differential amount of charge dq is given a
differential increase in energy dw, the potential
of the charge is increased by - By definition of current
Power Rate of work being done wrt time Rate of
energy being used
Units
Watts Joules/seconds
A very practical formulation!
If we would like to know total energy
43Recall Transistor-level Logic Circuits
Vdd
Gnd
what is the relationship between in and out?
Vdd
in
out
0 volts
Gnd
3 volts
44Older Logic Families have Pullup R
nMOS Inverter
R
45Power in CMOS
Switching Energy energy used to switch a
node
Calculate energy dissipated in pullup
Energy supplied
Energy dissipated
Energy stored
An equal amount of energy is dissipated on
pulldown
46Switching Power
- Gate power consumption
- Assume a gate output is switching its output at a
rate of
(probability of switching on any particular
clock period)
Therefore
- Chip/circuit power consumption
47Other Sources of Energy Consumption
Transistor drain regions leak charge to
substrate.
10-20 of total chip power
1nWatt/gate few mWatts/chip
48Other Sources of Energy Consumption
- Consumption caused by DC leakage current (Ids
leakage) - This source of power consumption is becoming
increasing significant as process technology
scales down - For 90nm chips around 10-20 of total power
consumption Estimates put it at up to 50 for
65nm
Transistor s/d conductance never turns off all
the way Low voltage processes much worse
49Controlling Energy Consumption What Control Do
You Have as a Designer?
- Largest contributing component to CMOS power
consumption is switching power
- Factors influencing power consumption
- n total number of nodes in circuit
- ? activity factor (probability of each node
switching) - f clock frequency (does this effect energy
consumption?) - Vdd power supply voltage
- What control do you have over each factor?
- How does each effect the total Energy?
50Example
Operand Registers
A
B
add/sub
and/or
cmp
MUX
R
Result Register
- What is the cost of optimistic compute and
select? - How might we reduce it?
51Discussion Digital Design and Power
- Think about
- n
- a
- f
- c
- Vdd
- In
- Function units
- Registers, FSMs, Counters
- Busses
- Clock distribution
52Technology Scaling and Design Learning
53Scaling Switching Energy per Gate
Moores Lawat work
From Facing the Hot Chips Challenge Again,
Bill Holt, Intel, presented at Hot Chips 17, 2005.
54Device Engineers Trade Speed and Power
From Silicon Device Scaling to the Sub-10-nm
Regime Meikei Ieong,1 Bruce Doris,2 Jakub
Kedzierski,1 Ken Rim,1 Min Yang1
55Customize processes for product types ...
From Facing the Hot Chips Challenge Again,
Bill Holt, Intel, presented at Hot Chips 17, 2005.
56Intel Comparing 2 CPU Generations ...
57 Switching Energy Fundamental Physics
Every logic transition dissipates energy
(1) Slow down clock (fewer transitions). But we
like speed ...
(2) Reduce Vdd. But lowering Vdd lowers the
clock speed ...
(3) Fewer circuits. But more transistors can do
more work.
(4) Reduce C per node. One reason why we scale
processes.
58Second Factor Leakage Currents
Even when a logic gate isnt switching, it burns
power
59Engineering On Current at 25 nm ...
We can increase Ion by raising Vdd and/or
lowering Vt.
Vd
I ds
V g
I ds
Vs
0.7 Vdd
60Plot on a Log Scale to See Off Current
We can decrease Ioff by raising Vt - but that
lowers Ion
Vd
Ids
Vg
I ds
Vs
0.7 Vdd