Lecture 7– Capacitors, RC Networks, Step Response · 1.Formulate differential equation: One node...

13
1 6.002 Spring 2020 Lecture 7 1 6.002 CIRCUITS AND ELECTRONICS Lecture 7 – Capacitors, RC Networks, Step Response February 27, 2020 Contents: 1. Capacitor: a quick review 2. Differentiator (from Tuesday) 3. Analysis of RC circuits Reading Assignment: Agarwal and Lang, Ch. 9 (§§9.1.1, 9.2.1, 9.3.1), 10 (§10.1) Handouts: Lecture 7 notes Quiz 1 on March 11 th . It covers everything until today (including psets!) Lecture 6 2 1. Capacitor: a quick review Ideal parallel-plate capacitor: Relationship between charge in plates and voltage across capacitor [from Gausslaw]: Units: In parallel plate capacitor: With: 6.002 Spring 2020

Transcript of Lecture 7– Capacitors, RC Networks, Step Response · 1.Formulate differential equation: One node...

Page 1: Lecture 7– Capacitors, RC Networks, Step Response · 1.Formulate differential equation: One node analysis. Node equation for v C(t): Rearrange: Solution of form: Homogeneous solution

1

6.002 Spring 2020 Lecture 7 1

6.002 CIRCUITS ANDELECTRONICS

Lecture 7 – Capacitors, RC Networks, Step Response

February 27, 2020

Contents:1. Capacitor: a quick review2. Differentiator (from Tuesday)3. Analysis of RC circuits

Reading Assignment:Agarwal and Lang, Ch. 9 (§§9.1.1, 9.2.1, 9.3.1), 10 (§10.1)

Handouts:Lecture 7 notesQuiz 1 on March 11th. It covers everything until today (including psets!)

Lecture 6 2

1. Capacitor: a quick review• Ideal parallel-plate capacitor:

• Relationship between charge in plates and voltage across capacitor [from Gauss’ law]:

Units:

In parallel plate capacitor:

With:

6.002 Spring 2020

Page 2: Lecture 7– Capacitors, RC Networks, Step Response · 1.Formulate differential equation: One node analysis. Node equation for v C(t): Rearrange: Solution of form: Homogeneous solution

2

Lecture 6 3

Current is rate of flow of charge:

Therefore, in a capacitor:

Device equation for capacitor

6.002 Spring 2020

6.002 Spring 2020 Lecture 6 4

2. Differentiator (from last lecture)This is what we want:

Could use a capacitor:

where:

– For differentiator, need to convert i into vO

Page 3: Lecture 7– Capacitors, RC Networks, Step Response · 1.Formulate differential equation: One node analysis. Node equation for v C(t): Rearrange: Solution of form: Homogeneous solution

3

6.002 Spring 2020 Lecture 6 5

• Differentiator: use small resistance to transform i into vO:

Want:

so that:

This requires:

Or:

Signal time derivative can’t be too high à upper limit to frequency content of signal

6.002 Spring 2020 Lecture 6 6

Op-amps to the rescue…ià v and và i transformation

Remember this configuration:

Voltage-to-current converter:

Current-to-voltage converter:

Page 4: Lecture 7– Capacitors, RC Networks, Step Response · 1.Formulate differential equation: One node analysis. Node equation for v C(t): Rearrange: Solution of form: Homogeneous solution

4

6.002 Spring 2020 Lecture 6 7

Op-amp differentiatorUse an op-amp i-v converter:

Inverting input is virtual ground:

Then

At output:

All together:

6.002 Spring 2020 Lecture 6 8

Differentiator is accurate if:

which requires:

v- is given by:

We need now:

Bandwidth of differentiator greatly improved!

Page 5: Lecture 7– Capacitors, RC Networks, Step Response · 1.Formulate differential equation: One node analysis. Node equation for v C(t): Rearrange: Solution of form: Homogeneous solution

5

Coming back to capacitors…

6.002 Spring 2020 Lecture 7 9

Lecture 7 10

• Another way to write capacitor equation:

• Relationship between current and voltage:

Voltage across capacitor depends on the entire past history of current flowing through it à memory!

6.002 Spring 2020

Abrupt change in voltage gives rise to infinite current!

à Not possible in real circuits!

We need initial conditions to fully define the state of

the capacitor

Page 6: Lecture 7– Capacitors, RC Networks, Step Response · 1.Formulate differential equation: One node analysis. Node equation for v C(t): Rearrange: Solution of form: Homogeneous solution

6

Lecture 7 11

Power and energy in a capacitor• Power is rate of flow of energy. For capacitor:

– If dv2/dt>0 à p>0: energy being dumped into C– If dv2/dt<0 à p<0: energy being removed from C

• Unlike resistor, capacitor stores energy (in electrostatic form). • Electrostatic energy stored in capacitor:

• Capacitors can store substantial amounts of energy!

Demo6.002 Spring 2020

Capacitors are everywhere…

6.002 Spring 2020 Lecture 7 12

Page 7: Lecture 7– Capacitors, RC Networks, Step Response · 1.Formulate differential equation: One node analysis. Node equation for v C(t): Rearrange: Solution of form: Homogeneous solution

7

6.002 Spring 2020 Lecture 5 13

Doppler Ultrasound System

Lecture 7 14

Capacitors are there, even when you don’t see them…

• Transistors (MOSFETs) really looks like:

• The Capacitance between the gate and the source is key to give the transistor its ability to control current flow (and its time response).

• All other devices have capacitance associated with them.

à Need to understand impact of capacitors on circuit operation

6.002 Spring 2020

Intel’s 32 nm MOSFET

Page 8: Lecture 7– Capacitors, RC Networks, Step Response · 1.Formulate differential equation: One node analysis. Node equation for v C(t): Rearrange: Solution of form: Homogeneous solution

8

6.002 Spring 2020 Lecture 7 17

3. Analysis of RC circuits• Consider the following circuit:

• Circuit behavior completely determined by:– Differential equation describing circuit– Input waveforms– Initial conditions

• Consider example with:– Input step function: vIN (t)=VIN uo(t)– Initial condition: vC (t=0-)=0

• How does vc(t) evolve in time?

6.002 Spring 2020 Lecture 7 18

• First, think physics!

• Situation at t=0-:

At t=0-:

Since KVL demands that:

Then:

Page 9: Lecture 7– Capacitors, RC Networks, Step Response · 1.Formulate differential equation: One node analysis. Node equation for v C(t): Rearrange: Solution of form: Homogeneous solution

9

6.002 Spring 2020 Lecture 7 19

• Situation at t=0+:

Capacitor can’t change voltage abruptly:

VIN appears across R:

Resistor current:

iR starts charging C:

6.002 Spring 2020 Lecture 7 20

• Situation at t=∞:

Capacitor will charge until it reaches the maximum voltage possible, VIN:

No voltage across R:

Resistor current is zero:

Nothing changes from here on: àsteady-state condition

Page 10: Lecture 7– Capacitors, RC Networks, Step Response · 1.Formulate differential equation: One node analysis. Node equation for v C(t): Rearrange: Solution of form: Homogeneous solution

10

6.002 Spring 2020 Lecture 7 21

• Solution roughly looks like:

• Features of solution:– Increase of vC(t) slows down with time– Given enough time, vC(t) saturates – iR(t) peaks at t=0+ and drops from there to eventually zero

• What is the detailed shape? How long does it take for steady-state to be achieved? à need to solve problem mathematically

6.002 Spring 2020 Lecture 7 22

Mathematical solution (18.03 to the rescue!)

• Given:

• Want vC(t)

• Steps:1. Formulate differential equation2. Find particular solution3. Find homogeneous solution4. Apply initial conditions

Page 11: Lecture 7– Capacitors, RC Networks, Step Response · 1.Formulate differential equation: One node analysis. Node equation for v C(t): Rearrange: Solution of form: Homogeneous solution

11

6.002 Spring 2020 Lecture 7 23

1. Formulate differential equation:

One node analysis.Node equation for vC(t):

Rearrange:

Solution of form:

Homogeneous solution(“natural response”)

Particular solution(“forced response”)

6.002 Spring 2020 Lecture 7 24

2. Find particular solution:

Interested in solution for t>0. In this range:

Differential equation becomes:

Particular solution satisfies differential equation:

Try solution of form:

Then:

Page 12: Lecture 7– Capacitors, RC Networks, Step Response · 1.Formulate differential equation: One node analysis. Node equation for v C(t): Rearrange: Solution of form: Homogeneous solution

12

6.002 Spring 2020 Lecture 7 25

3. Find homogeneous solution

Homogeneous differential equation:

Solution of the form:

Value of t that satisfies differential equation:

Then:

6.002 Spring 2020 Lecture 7 26

4. Apply initial conditions

Total solution so far:

Initial condition:

[voltage across capacitor can’t change abruptly]

Then:

Final solution:

Page 13: Lecture 7– Capacitors, RC Networks, Step Response · 1.Formulate differential equation: One node analysis. Node equation for v C(t): Rearrange: Solution of form: Homogeneous solution

13

6.002 Spring 2020 Lecture 7 27

• Can also compute current through R:

Demo

6.002 Spring 2020 Lecture 7 28

Summary

• Capacitors are everywhere… (even when you don’t see them)• Circuits with capacitors exhibit memory: voltage across capacitor depends

on the entire past history of current flowing through it.• A MOSFET has capacitance associated with its gate. • Device equation for capacitor:

• Capacitors can store energy.• RC circuits characterized by first-order linear differential equation. • Time constant of RC circuits: t =RC.