SlideShare a Scribd company logo
1 of 26
Download to read offline
1
M. Horowitz, J. Plummer, R. Howe
E40M
Capacitors
2
M. Horowitz, J. Plummer, R. Howe
Reading
• Reader:
– Chapter 6 – Capacitance
• A & L:
– 9.1.1, 9.2.1
3
M. Horowitz, J. Plummer, R. Howe
Why Are Capacitors Useful/Important?
How do we design circuits that
respond to certain frequencies?
What determines how fast CMOS
circuits can work?
Why did you put a 200µF
capacitor between Vdd and Gnd
on your Arduino?
4
M. Horowitz, J. Plummer, R. Howe
CAPACITORS
5
M. Horowitz, J. Plummer, R. Howe
Capacitors
• What is a capacitor?
– It is a new type of two terminal device
– It is linear
• Double V, you will double I
– We will see it doesn’t dissipate energy
• Stores energy
• Rather than relating i and V
– Relates Q, the charge stored on each plate, to Voltage
– Q = CV
– Q in Coulombs, V in Volts, and C in Farads
• Like all devices, it is always charge neutral
– Stores +Q on one lead, -Q on the other lead
6
M. Horowitz, J. Plummer, R. Howe
iV for a Capacitor
• We generally don’t work in Q, we like i and V
– But current is charge flow, or dQ/dt
• So if Q = CV, and i=dQ/dt
– i= C dV/dt
• This is a linear equation but between I and dV/dt. If you double i
for all time, dV/dt will also double and hence V will double.
C =
εA
d
where ε is the dielectric constant
7
M. Horowitz, J. Plummer, R. Howe
• Capacitors relate I to dV/dt
• This means if the circuit “settles down” and isn’t changing with
time, a capacitor has no effect (looks like an open circuit).
Capacitors Only Affect Time Response not Final Values
@t = ∞
@t = 0
8
M. Horowitz, J. Plummer, R. Howe
So What Do Capacitors Do?
• It affects how fast a voltage can change
– Current sets dV/dt, and not V
– Fast changes require lots of current
• For very small Δt capacitors look like voltage sources
– They can supply very large currents
– And not change their voltage
• But for large Δt
– Capacitors look like open circuits (they don’t do anything)
9
M. Horowitz, J. Plummer, R. Howe
• The Power that flows into a charging capacitor is
• And the energy stored in the capacitor is
P= iV = C
dV
dt
⎛
⎝
⎜
⎞
⎠
⎟V
E= Pdt
∫
∴E= Pdt
∫ = CV
0
V
∫ dV =
1
2
CV2
• This energy is stored and can be released at a later time. No energy
is lost.
Capacitor Energy
10
M. Horowitz, J. Plummer, R. Howe
REAL CAPACITORS
11
M. Horowitz, J. Plummer, R. Howe
Capacitor Types
• There are many different types of capacitors
– Electrolytic, tantalum, ceramic, mica, . . .
• They come in different sizes
– Larger capacitance
• Generally larger size
– Higher voltage compliance
• Larger size
• Electrolytic have largest cap/volume
– But they have limited voltage
– They are polarized
• One terminal must be + vs. other
http://en.wikipedia.org/wiki/Types_of_capacitor
12
M. Horowitz, J. Plummer, R. Howe
Gate of MOS Transistor
• Is a capacitor between Gate and
Source
• To change the gate voltage
– You need a current pulse (to cause
dV/dt)
• If the current is zero (floating)
– dV/dt = 0, and the voltage remains
what it was!
13
M. Horowitz, J. Plummer, R. Howe
All Real Wires Have Capacitance
• It will take some charge to change the
voltage of a wire
– Think back to our definition of voltage
• Potential energy for charge
– To make a wire higher potential energy
• Some charge has to flow into the wire, to
make the energy higher for the next
charge that flows into it
• This capacitance is what sets the speed of
your computer
– And determines how much power it
takes!
›!›››!›››!›››!›››!›››!›››!›››!›››!›››!›››!›››!›››!›››!!!!!!!!!›››!›››!›››!›››!›››!›››!›››!›››!!!!!!!!!!!!!!!!!›››!›››!›››!›››!›››!›››!›››!›››!›››!›››!›››!›››!›››!›››!›››!›››!›››!›››!›››!!!!!!!!!›››!›››!!!!!!!!!›››!›››!›››
H
L
W
LS
CS
R
CI
Si
SiO2
xox
14
M. Horowitz, J. Plummer, R. Howe
Capacitor Info, If You Know Physics E&M…
• Models the fact that energy is stored in electric fields
– Between any two wires that are close to each other
• A capacitor is formed by two terminals that are not connected
– But are close to each other
– The closer they are, the larger the capacitor
• To create a voltage between the terminals
– Plus charge is collected on the positive terminal
– Negative charge is collected on the negative terminal
• This creates an electric field (Gauss’s law)
– Which is what creates the voltage across the terminals
– There is energy stored in this electric field
15
M. Horowitz, J. Plummer, R. Howe
Capacitors in Parallel and Series
C1 C2 C3
iT i1
i2 i3 iT = i1 +i2 +i3 = C1
dV
dt
+ C2
dV
dt
+ C3
dV
dt
= C1 + C2 + C3
( )dV
dt
∴Ceqv = C1 + C2 + C3
C1
C2 C3
iT
VT = V1 + V2 + V3 =
Q
C1
+
Q
C2
+
Q
C3
=
Q
Ceqv
∴
1
Ceqv
=
1
C1
+
1
C2
+
1
C3
16
M. Horowitz, J. Plummer, R. Howe
CAPACITOR RESISTOR
CIRCUITS
17
M. Horowitz, J. Plummer, R. Howe
Capacitors and Logic Gate Speeds
• When the input changes from low to high
– The pMOS turns off, and the nMOS turns on
– The output goes from high to low
• But in this model
– The output changes as soon as the input changes
18
M. Horowitz, J. Plummer, R. Howe
Gates Are NOT Zero Delay
• It would be great if logic gates had zero delay
– But they don’t
• Fortunately, it is easy to figure out the delay of a gate
– It is just caused by the transistor resistance
• Which we know about already
– And the transistor and wire capacitance
19
M. Horowitz, J. Plummer, R. Howe
Improved Model
• Just add a capacitor to the output node
– Its value is equal to the capacitance of the gates driven
– Plus the capacitance of the wire itself
20
M. Horowitz, J. Plummer, R. Howe
RC Circuit Equation
dVout
dt
= −
Vout
R2C
Vout
• When the input to the inverter is low, the output will be at Vdd
– Right after the input rises, here is the circuit
• Want to find the capacitor voltage verses time
• Just write the nodal equations:
– We just have one node voltage, Vout
– iRES = Vout/R2
– iCAP = CdVout/dt
• From KCL, the sum of the currents must be zero, so
5V
21
M. Horowitz, J. Plummer, R. Howe
• Solving,
• This is an exponential decay
– The x axis is in time constants
– The y axis has been normalized to 1
– Slope always intersects 0 one tau later (τ = RC)
RC Circuit Equations
dVout
Vout
5
V
∫ = −
dt
R2C
0
t
∫ so that ln Vout
( )−ln 5V
( )= −
t
R2C
∴Vout = 5V e
−t/R2
C
( )
0
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1
0 0.5 1 1.5 2 2.5 3 3.5
22
M. Horowitz, J. Plummer, R. Howe
What Happens When Input Falls?
• Now the voltage across the capacitor starts at 0V
– i = (Vdd – Vout)/R1
– dVout/dt = i/C
• Not quite the right form
– Need to fix it by changing variables
– Define Vnew = Vdd – Vout
– dVout/dt = = - dVnew/dt, since Vdd is fixed
Vout
dVout
dt
=
Vdd − Vout
( )
R1C
5V
∴Vout = 5V 1− e
−t/R1
C
( )
dVnew
Vnew
5
V
∫ = −
dt
R1C
0
t
∫ so that ln Vnew
( )−ln 5
( )= −
t
R1C
23
M. Horowitz, J. Plummer, R. Howe
RC Circuits in the Time Domain
In capacitor circuits, voltages change “slowly”, while currents can be
instantaneous.
Vout = 5V e
−t/R2
C
( )
Vout = 5V 1− e
−t/R1
C
( )
5V
24
M. Horowitz, J. Plummer, R. Howe
Simple RC Circuit Demo
EveryCircuit Demo – CMOS Inverter
25
M. Horowitz, J. Plummer, R. Howe
Interesting Aside
• Exponentials “never” reach their final value
• So if this logic gate is driving another gate, when
does the next gate think its input is 0 or 1?
• This is one of the reasons why logic levels are
defined as a range of values.
X
0
1
Gnd
Vdd
26
M. Horowitz, J. Plummer, R. Howe
Learning Objectives
• Understand what a capacitor is
– i=C dV/dt
– It is a device that tries to keep voltage constant
• Will supply current (in either direction) to resist voltage changes
• Understand how voltages and current change in R C circuits
– Voltage waveforms are continuous
• Takes time for their value to change
• Exponentially decay to final value (the DC value of circuit)
– Currents can charge abruptly

More Related Content

Similar to Capacitors.pdf

hardware.ppt
hardware.ppthardware.ppt
hardware.ppt
Sandeep754657
 
OPEN CIRCUIT AND SHORT CIRCUIT TEST OF SINGLE PHASE TRANSFORMER|DAY7| BASIC E...
OPEN CIRCUIT AND SHORT CIRCUIT TEST OF SINGLE PHASE TRANSFORMER|DAY7| BASIC E...OPEN CIRCUIT AND SHORT CIRCUIT TEST OF SINGLE PHASE TRANSFORMER|DAY7| BASIC E...
OPEN CIRCUIT AND SHORT CIRCUIT TEST OF SINGLE PHASE TRANSFORMER|DAY7| BASIC E...
Prasant Kumar
 
Robotics workshop PPT
Robotics  workshop PPTRobotics  workshop PPT
Robotics workshop PPT
avikdhupar
 
Pccoe basic mobile_robot
Pccoe basic mobile_robotPccoe basic mobile_robot
Pccoe basic mobile_robot
Ajendra Joshi
 

Similar to Capacitors.pdf (20)

DOC-20240116-jaajjajajshshshshhshsWA0003.pptx
DOC-20240116-jaajjajajshshshshhshsWA0003.pptxDOC-20240116-jaajjajajshshshshhshsWA0003.pptx
DOC-20240116-jaajjajajshshshshhshsWA0003.pptx
 
Project Report on BASIC RBOTICS
Project Report on BASIC RBOTICSProject Report on BASIC RBOTICS
Project Report on BASIC RBOTICS
 
Unit no. 5 cmos logic design
Unit no. 5 cmos logic designUnit no. 5 cmos logic design
Unit no. 5 cmos logic design
 
10 lm 555 timer
10 lm 555 timer10 lm 555 timer
10 lm 555 timer
 
hardware.ppt
hardware.ppthardware.ppt
hardware.ppt
 
Introduction to Electrickery
Introduction to ElectrickeryIntroduction to Electrickery
Introduction to Electrickery
 
Circuit theory
Circuit theoryCircuit theory
Circuit theory
 
OPEN CIRCUIT AND SHORT CIRCUIT TEST OF SINGLE PHASE TRANSFORMER|DAY7| BASIC E...
OPEN CIRCUIT AND SHORT CIRCUIT TEST OF SINGLE PHASE TRANSFORMER|DAY7| BASIC E...OPEN CIRCUIT AND SHORT CIRCUIT TEST OF SINGLE PHASE TRANSFORMER|DAY7| BASIC E...
OPEN CIRCUIT AND SHORT CIRCUIT TEST OF SINGLE PHASE TRANSFORMER|DAY7| BASIC E...
 
Robotics workshop PPT
Robotics  workshop PPTRobotics  workshop PPT
Robotics workshop PPT
 
08_electronics.ppt
08_electronics.ppt08_electronics.ppt
08_electronics.ppt
 
Electronics 1 : Chapter # 04 : Diode Applications and Types
Electronics 1 : Chapter # 04 : Diode Applications and TypesElectronics 1 : Chapter # 04 : Diode Applications and Types
Electronics 1 : Chapter # 04 : Diode Applications and Types
 
08_electronics.ppt
08_electronics.ppt08_electronics.ppt
08_electronics.ppt
 
08_electronics.ppt
08_electronics.ppt08_electronics.ppt
08_electronics.ppt
 
08_ digital electronics for engineers electronics.ppt
08_ digital electronics  for engineers electronics.ppt08_ digital electronics  for engineers electronics.ppt
08_ digital electronics for engineers electronics.ppt
 
08_electronics.ppt
08_electronics.ppt08_electronics.ppt
08_electronics.ppt
 
Pccoe basic mobile_robot
Pccoe basic mobile_robotPccoe basic mobile_robot
Pccoe basic mobile_robot
 
UNIT - 6.pdf
UNIT - 6.pdfUNIT - 6.pdf
UNIT - 6.pdf
 
AC in RC Circuits
AC in RC CircuitsAC in RC Circuits
AC in RC Circuits
 
Transistors - JFET, MOSFET, UJT & 555 Timer
Transistors - JFET, MOSFET, UJT & 555 TimerTransistors - JFET, MOSFET, UJT & 555 Timer
Transistors - JFET, MOSFET, UJT & 555 Timer
 
Lecture25 ac circuits
Lecture25 ac circuitsLecture25 ac circuits
Lecture25 ac circuits
 

More from HAriesOa1

MatEngg_Crystal Structure.ppt
MatEngg_Crystal Structure.pptMatEngg_Crystal Structure.ppt
MatEngg_Crystal Structure.ppt
HAriesOa1
 
02. Materials Engg_Atomic Bonding Questions2.pdf
02. Materials Engg_Atomic Bonding Questions2.pdf02. Materials Engg_Atomic Bonding Questions2.pdf
02. Materials Engg_Atomic Bonding Questions2.pdf
HAriesOa1
 
I. Introduction to Microprocessor System.ppt
I. Introduction to Microprocessor System.pptI. Introduction to Microprocessor System.ppt
I. Introduction to Microprocessor System.ppt
HAriesOa1
 

More from HAriesOa1 (6)

Introduction to imaginary numbers.ppt
Introduction to imaginary numbers.pptIntroduction to imaginary numbers.ppt
Introduction to imaginary numbers.ppt
 
MatEngg_Crystal Structure.ppt
MatEngg_Crystal Structure.pptMatEngg_Crystal Structure.ppt
MatEngg_Crystal Structure.ppt
 
Polymer_Processing.ppt
Polymer_Processing.pptPolymer_Processing.ppt
Polymer_Processing.ppt
 
02. Materials Engg_Atomic Bonding Questions2.pdf
02. Materials Engg_Atomic Bonding Questions2.pdf02. Materials Engg_Atomic Bonding Questions2.pdf
02. Materials Engg_Atomic Bonding Questions2.pdf
 
Introduction to Capacitors.ppt
Introduction to Capacitors.pptIntroduction to Capacitors.ppt
Introduction to Capacitors.ppt
 
I. Introduction to Microprocessor System.ppt
I. Introduction to Microprocessor System.pptI. Introduction to Microprocessor System.ppt
I. Introduction to Microprocessor System.ppt
 

Recently uploaded

Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
amitlee9823
 
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
dharasingh5698
 
notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.ppt
MsecMca
 

Recently uploaded (20)

Unit 2- Effective stress & Permeability.pdf
Unit 2- Effective stress & Permeability.pdfUnit 2- Effective stress & Permeability.pdf
Unit 2- Effective stress & Permeability.pdf
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
 
chapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineeringchapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineering
 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdf
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
 
Unit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfUnit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdf
 
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
 
NFPA 5000 2024 standard .
NFPA 5000 2024 standard                                  .NFPA 5000 2024 standard                                  .
NFPA 5000 2024 standard .
 
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced LoadsFEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.ppt
 
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
 
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
 
Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
 
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
 
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
 
Block diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptBlock diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.ppt
 
notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.ppt
 

Capacitors.pdf

  • 1. 1 M. Horowitz, J. Plummer, R. Howe E40M Capacitors
  • 2. 2 M. Horowitz, J. Plummer, R. Howe Reading • Reader: – Chapter 6 – Capacitance • A & L: – 9.1.1, 9.2.1
  • 3. 3 M. Horowitz, J. Plummer, R. Howe Why Are Capacitors Useful/Important? How do we design circuits that respond to certain frequencies? What determines how fast CMOS circuits can work? Why did you put a 200µF capacitor between Vdd and Gnd on your Arduino?
  • 4. 4 M. Horowitz, J. Plummer, R. Howe CAPACITORS
  • 5. 5 M. Horowitz, J. Plummer, R. Howe Capacitors • What is a capacitor? – It is a new type of two terminal device – It is linear • Double V, you will double I – We will see it doesn’t dissipate energy • Stores energy • Rather than relating i and V – Relates Q, the charge stored on each plate, to Voltage – Q = CV – Q in Coulombs, V in Volts, and C in Farads • Like all devices, it is always charge neutral – Stores +Q on one lead, -Q on the other lead
  • 6. 6 M. Horowitz, J. Plummer, R. Howe iV for a Capacitor • We generally don’t work in Q, we like i and V – But current is charge flow, or dQ/dt • So if Q = CV, and i=dQ/dt – i= C dV/dt • This is a linear equation but between I and dV/dt. If you double i for all time, dV/dt will also double and hence V will double. C = εA d where ε is the dielectric constant
  • 7. 7 M. Horowitz, J. Plummer, R. Howe • Capacitors relate I to dV/dt • This means if the circuit “settles down” and isn’t changing with time, a capacitor has no effect (looks like an open circuit). Capacitors Only Affect Time Response not Final Values @t = ∞ @t = 0
  • 8. 8 M. Horowitz, J. Plummer, R. Howe So What Do Capacitors Do? • It affects how fast a voltage can change – Current sets dV/dt, and not V – Fast changes require lots of current • For very small Δt capacitors look like voltage sources – They can supply very large currents – And not change their voltage • But for large Δt – Capacitors look like open circuits (they don’t do anything)
  • 9. 9 M. Horowitz, J. Plummer, R. Howe • The Power that flows into a charging capacitor is • And the energy stored in the capacitor is P= iV = C dV dt ⎛ ⎝ ⎜ ⎞ ⎠ ⎟V E= Pdt ∫ ∴E= Pdt ∫ = CV 0 V ∫ dV = 1 2 CV2 • This energy is stored and can be released at a later time. No energy is lost. Capacitor Energy
  • 10. 10 M. Horowitz, J. Plummer, R. Howe REAL CAPACITORS
  • 11. 11 M. Horowitz, J. Plummer, R. Howe Capacitor Types • There are many different types of capacitors – Electrolytic, tantalum, ceramic, mica, . . . • They come in different sizes – Larger capacitance • Generally larger size – Higher voltage compliance • Larger size • Electrolytic have largest cap/volume – But they have limited voltage – They are polarized • One terminal must be + vs. other http://en.wikipedia.org/wiki/Types_of_capacitor
  • 12. 12 M. Horowitz, J. Plummer, R. Howe Gate of MOS Transistor • Is a capacitor between Gate and Source • To change the gate voltage – You need a current pulse (to cause dV/dt) • If the current is zero (floating) – dV/dt = 0, and the voltage remains what it was!
  • 13. 13 M. Horowitz, J. Plummer, R. Howe All Real Wires Have Capacitance • It will take some charge to change the voltage of a wire – Think back to our definition of voltage • Potential energy for charge – To make a wire higher potential energy • Some charge has to flow into the wire, to make the energy higher for the next charge that flows into it • This capacitance is what sets the speed of your computer – And determines how much power it takes! ›!›››!›››!›››!›››!›››!›››!›››!›››!›››!›››!›››!›››!›››!!!!!!!!!›››!›››!›››!›››!›››!›››!›››!›››!!!!!!!!!!!!!!!!!›››!›››!›››!›››!›››!›››!›››!›››!›››!›››!›››!›››!›››!›››!›››!›››!›››!›››!›››!!!!!!!!!›››!›››!!!!!!!!!›››!›››!››› H L W LS CS R CI Si SiO2 xox
  • 14. 14 M. Horowitz, J. Plummer, R. Howe Capacitor Info, If You Know Physics E&M… • Models the fact that energy is stored in electric fields – Between any two wires that are close to each other • A capacitor is formed by two terminals that are not connected – But are close to each other – The closer they are, the larger the capacitor • To create a voltage between the terminals – Plus charge is collected on the positive terminal – Negative charge is collected on the negative terminal • This creates an electric field (Gauss’s law) – Which is what creates the voltage across the terminals – There is energy stored in this electric field
  • 15. 15 M. Horowitz, J. Plummer, R. Howe Capacitors in Parallel and Series C1 C2 C3 iT i1 i2 i3 iT = i1 +i2 +i3 = C1 dV dt + C2 dV dt + C3 dV dt = C1 + C2 + C3 ( )dV dt ∴Ceqv = C1 + C2 + C3 C1 C2 C3 iT VT = V1 + V2 + V3 = Q C1 + Q C2 + Q C3 = Q Ceqv ∴ 1 Ceqv = 1 C1 + 1 C2 + 1 C3
  • 16. 16 M. Horowitz, J. Plummer, R. Howe CAPACITOR RESISTOR CIRCUITS
  • 17. 17 M. Horowitz, J. Plummer, R. Howe Capacitors and Logic Gate Speeds • When the input changes from low to high – The pMOS turns off, and the nMOS turns on – The output goes from high to low • But in this model – The output changes as soon as the input changes
  • 18. 18 M. Horowitz, J. Plummer, R. Howe Gates Are NOT Zero Delay • It would be great if logic gates had zero delay – But they don’t • Fortunately, it is easy to figure out the delay of a gate – It is just caused by the transistor resistance • Which we know about already – And the transistor and wire capacitance
  • 19. 19 M. Horowitz, J. Plummer, R. Howe Improved Model • Just add a capacitor to the output node – Its value is equal to the capacitance of the gates driven – Plus the capacitance of the wire itself
  • 20. 20 M. Horowitz, J. Plummer, R. Howe RC Circuit Equation dVout dt = − Vout R2C Vout • When the input to the inverter is low, the output will be at Vdd – Right after the input rises, here is the circuit • Want to find the capacitor voltage verses time • Just write the nodal equations: – We just have one node voltage, Vout – iRES = Vout/R2 – iCAP = CdVout/dt • From KCL, the sum of the currents must be zero, so 5V
  • 21. 21 M. Horowitz, J. Plummer, R. Howe • Solving, • This is an exponential decay – The x axis is in time constants – The y axis has been normalized to 1 – Slope always intersects 0 one tau later (τ = RC) RC Circuit Equations dVout Vout 5 V ∫ = − dt R2C 0 t ∫ so that ln Vout ( )−ln 5V ( )= − t R2C ∴Vout = 5V e −t/R2 C ( ) 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 0 0.5 1 1.5 2 2.5 3 3.5
  • 22. 22 M. Horowitz, J. Plummer, R. Howe What Happens When Input Falls? • Now the voltage across the capacitor starts at 0V – i = (Vdd – Vout)/R1 – dVout/dt = i/C • Not quite the right form – Need to fix it by changing variables – Define Vnew = Vdd – Vout – dVout/dt = = - dVnew/dt, since Vdd is fixed Vout dVout dt = Vdd − Vout ( ) R1C 5V ∴Vout = 5V 1− e −t/R1 C ( ) dVnew Vnew 5 V ∫ = − dt R1C 0 t ∫ so that ln Vnew ( )−ln 5 ( )= − t R1C
  • 23. 23 M. Horowitz, J. Plummer, R. Howe RC Circuits in the Time Domain In capacitor circuits, voltages change “slowly”, while currents can be instantaneous. Vout = 5V e −t/R2 C ( ) Vout = 5V 1− e −t/R1 C ( ) 5V
  • 24. 24 M. Horowitz, J. Plummer, R. Howe Simple RC Circuit Demo EveryCircuit Demo – CMOS Inverter
  • 25. 25 M. Horowitz, J. Plummer, R. Howe Interesting Aside • Exponentials “never” reach their final value • So if this logic gate is driving another gate, when does the next gate think its input is 0 or 1? • This is one of the reasons why logic levels are defined as a range of values. X 0 1 Gnd Vdd
  • 26. 26 M. Horowitz, J. Plummer, R. Howe Learning Objectives • Understand what a capacitor is – i=C dV/dt – It is a device that tries to keep voltage constant • Will supply current (in either direction) to resist voltage changes • Understand how voltages and current change in R C circuits – Voltage waveforms are continuous • Takes time for their value to change • Exponentially decay to final value (the DC value of circuit) – Currents can charge abruptly