6.4.1 · HinglishPower, Thermal & Reliability

Dynamic vs static power consumption

3,192 words15 min readRead in English

6.4.1 · Hardware › Power, Thermal & Reliability

Power Consumption Kya Hai?

Digital circuits mein Power consumption woh rate hai jis par electrical energy heat mein convert hoti hai. CMOS (Complementary Metal-Oxide-Semiconductor) circuits ke liye—jo modern CPUs, GPUs, aur SoCs ka foundation hai—power do categories mein banti hai:

  1. Dynamic Power: Switching activity ke dauran consume hoti energy (transistors ka state 0→1 ya 1→0 mein badalna)
  2. Static Power: Jab circuit idle ho tab consume hoti energy (leakage currents)

Kyun zaroori hai: Power directly heat mein translate hoti hai. Zyada heat hogi toh performance degrade hogi (thermal throttling), chip ki lifespan kam hogi, aur batteries drain hongi. Is split ko samajhna engineers ko performance vs battery life vs cooling ke liye optimize karne mein help karta hai.


Dynamic Power: Switching Ki Cost

First Principles Se Derivation (Switching Component)

Step 1: Capacitor Ko Charge Karne Ki Energy

Ek CMOS gate ko ek capacitor ke roop mein model kiya jaata hai jo ek transistor ke through voltage source se connected hota hai. Jab output 0 se par switch karta hai, capacitor charge hota hai.

Power supply se capacitor ko 0 se tak charge karne mein li gayi energy:

Kyun? Supply voltage constant hai. Capacitor par charge push karne ke liye, supply work karta hai .

Step 2: Capacitor Mein Store Hoti Energy

Capacitor mein voltage par stored energy:

Kyun? Capacitor charge hote waqt voltage linearly 0 se tak badhta hai. Average voltage hota hai, isliye .

Step 3: Heat Ke Roop Mein Dissipate Hoti Energy

Charging ke dauran dissipated energy (transistor resistance mein heat ke roop mein lost):

Jab transistor discharge karta hai (1→0), stored energy ground mein dissipate hoti hai.

Ek switching cycle mein total energy (0→1→0):

Factor of 2 kyun? Aadha charging ke dauran lost hota hai (pull-up transistor mein), aadha discharging ke dauran (pull-down transistor mein).

Step 4: Power = Energy × Frequency

Agar gate frequency par switch karta hai (Hz mein measure hota hai, cycles per second), aur iska activity factor hai (fraction of clock cycles jisme switching hoti hai):

Physical meaning:

  • : Quadratic voltage dependence—voltage aadha karne par switching power 4× kam hoti hai
  • : Linear frequency dependence—clock speed double karne par power double hoti hai
  • : Har gate har cycle switch nahi karta; typical CPUs mein low activity factors hote hain

Doosra Component: Short-Circuit Power

Standard formula yeh kyun miss karta hai: derivation sirf load capacitor ko deliver hone wale charge ko account karti hai. Short-circuit current kabhi capacitor tak nahi pahunchta—yeh input transition ke dauran directly supply→ground flow karta hai, isliye yeh ek alag term hai.

Figure — Dynamic vs static power consumption

Static Power: Leakage Tax

Leakage Ke Sources

  1. Subthreshold leakage: Drain se source mein current flow hoti hai jab bhi ho (gate voltage threshold se neeche). Threshold voltage par exponentially dependent.
  2. Gate oxide tunneling: Electrons thin gate oxide ke through tunnel karte hain (quantum effect). ~2 nm se neeche oxide thickness shrink hone par aur bura hota hai.
  3. Junction leakage: p-n junctions (drain/source se substrate tak) mein reverse-bias current.

Formula

Aur detail mein (subthreshold dominant):

Jahan:

  • = threshold voltage
  • mV room temperature par (thermal voltage)
  • = subthreshold slope factor (~1.3–1.5)

Exponential kyun? Subthreshold conduction semiconductors mein diffusion current ki physics follow karta hai, jo voltage par exponentially dependent hai.

Temperature dependence: Leakage current temperature mein har 10°C badhne par roughly double ho jaata hai. High temperatures static power ke liye catastrophic hain.


Total Power Consumption

Design tradeoffs:

  • Low power (mobile): kam karo (switching quadratically help karta hai, short-circuit cubically, static linearly), kam karo, high- transistors use karo (kam leakage lekin slow), unused blocks power-gate karo
  • High performance (datacenter): High power accept karo, cooling maximize karo, low- transistors use karo (fast lekin leaky)

Dynamic vs Static: Historical Shift

Era Process Node Dominant Power Kyun
1990s–2000s >130 nm Dynamic Thick oxides → low leakage, high voltages → high switching energy
2000s–2010s 90–45 nm Transition Gate oxide thinning → tunneling badhta hai
2010s–ab <22 nm Dono comparable FinFETs leakage kam karte hain lekin billions transistors matlab static bhi add up hoti hai

FinFET improvement: 3D gate structure electrostatic control improve karta hai → same performance ke liye kam leakage. Lekin jaise hum aur transistors pack karte hain, total static power phir bhi badhti rehti hai.



Recall Feynman Explanation (Ek 12-Saal Ke Bacche Ko Explain Karo)

Socho tumhare paas ek dabba light switches ka hai. Har baar jab tum switch on ya off karte ho, use push karna padta hai—usme muscle energy lagti hai. Jitna tezi se switches flip karte ho, utna thak jaate ho. Yeh hai switching power: cheezein change karne ki energy.

Ek chhupi hui extra cost bhi hai: jab tum switch flip karte ho, ek chhote se instant ke liye woh na fully on hota hai na fully off—beech mein hota hai. Uss instant mein, electricity battery se directly ground tak shortcut le leti hai aur heat ke roop mein waste ho jaati hai. Yeh hai short-circuit power—ek chhota sa leak jo flip ke dauran hota hai.

Aur ek aur baat: jab switch "off" hota hai, tab bhi woh perfectly off nahi hota. Yeh uss door ki tarah hai jo theek se band nahi hoti—light crack se leak hoti hai. Tumhare saare switches idle hone par bhi thoda sa leak karte hain. Yeh hai static power.

Purane switches mein (bade chunky wale), leaks itni chhoti thi ki ignore kar sakte the. Lekin modern computer switches super tiny hote hain—ek germ se bhi chhote. Uss size par, electricity itni "slippery" hoti hai ki switch band hone par bhi leak ho jaati hai. Power save karne ke liye: switches slow flip karo, kam voltage use karo, unhe crispy flip karo (kam shortcut waste), aur jo switches use nahi ho rahe unhe unplug karo. Isliye phones din bhar chalte hain aur servers ko giant fans chahiye hote hain.


Connections

  • CMOS Inverter Design: Dynamic power derivation ka foundation aur jahan short-circuit current arise hoti hai
  • Capacitance in VLSI: kahan se aata hai (gate, wire, load)
  • Thermal Design Power (TDP): kaise cooling requirements set karta hai
  • Dynamic Voltage Frequency Scaling (DVFS): Power optimize karne ke liye voltage/frequency knobs use karna
  • Power Gating Techniques: Idle blocks mein static power cut karna
  • FinFET Transistors: 3D gates leakage kaise kam karte hain
  • Subthreshold Slope: Physics jo batati hai ki leakage exponential kyun hai
  • Signal Transition Time: Sharp edges short-circuit power minimize karti hain
  • Amdahl's Law: Kyun sab kuch off nahi kar sakte (parallelism vs power)

#flashcards/hardware

CMOS circuits mein power consumption ki do categories kya hain? :: Dynamic power (switching + short-circuit) aur static power (leakage).

Dynamic power ke do components kya hain?
(1) Load capacitance charge/discharge karne se switching power (), aur (2) transition ke dauran dono transistors brief time ke liye conduct karne se short-circuit (shoot-through) power.

Switching power formula aur har term ka matlab :: , jahan activity factor hai, capacitance hai, supply voltage hai, frequency hai.

formula saari dynamic power kyun capture nahi karta?
Yeh sirf load capacitor ko deliver hone wale charge ko account karta hai. Yeh short-circuit current miss karta hai jo transition ke dauran PMOS aur NMOS dono conduct karne par directly se ground tak flow karta hai.
Short-circuit (shoot-through) power kya cause karta hai?
Finite-time input transition ke dauran, pull-up (PMOS) aur pull-down (NMOS) dono transistors momentarily ON hote hain, se ground tak ek direct conducting path create karte hain.
Short-circuit power kaise minimize karo?
Sharp input edges use karo (chhota transition time ), rise/fall times balance karo, aur jahan ho wahan operate karo (short-circuit vanish ho jaata hai kyunki dono transistors ek saath threshold exceed nahi kar sakte).
Switching power ki jagah ke saath kyun scale hoti hai?
Capacitor charge karne ki energy hai (ek factor charge se, ek voltage se). Aadha charge ke dauran lost hota hai, aadha discharge ke dauran, isliye per cycle hota hai. Power = energy × frequency.
Activity factor kya hai aur typical values kya hain?
Fra

Concept Map

splits into

splits into

from

includes

includes

charges/discharges

caused by

caused by

occurs when

energy per cycle

derived from

converts to

causes

Power Consumption

Dynamic Power

Static Power

Switching Activity

Switching Power

Short-Circuit Power

Capacitive Loads

Pull-up and Pull-down Conduct

Leakage Currents

Circuit Idle

half C Vdd squared

Charging Capacitor

Heat

Thermal Throttling