Escolar Documentos
Profissional Documentos
Cultura Documentos
EE40 Fall Slide 1 Prof. Chang-Hasnain EE40 Fall Slide 2 Prof. Chang-Hasnain
2006 2006
EE40 Fall Slide 7 Prof. Chang-Hasnain EE40 Fall Slide 8 Prof. Chang-Hasnain
2006 2006
Classification of Materials
• Solids in which the outermost atomic electrons
are free to move around are metals.
– Metals typically have ~1 “free electron” per atom
– Examples:
• Solids in which all electrons are tightly bound to
atoms are insulators.
– Examples:
• Electrons in semiconductors are not tightly
bound and can be easily “promoted” to a free
state.
– Examples:
EE40 Fall Slide 9 Prof. Chang-Hasnain EE40 Fall Slide 10 Prof. Chang-Hasnain
2006 2006
1 cm
C2
C1
10 cm
X
− −
a With this circuit, you are b d
+ vbd −
measuring vab.
−1.401 The DVM indicates −1.401, so
DVM va is lower than vb by 1.401 V.
Note that we have used the “ground” symbol ( ) for the reference Note that the labeling convention has nothing to do with
node on the DVM. Often it is labeled “C” for “common.”
whether or not v is positive or negative.
EE40 Fall Slide 19 Prof. Chang-Hasnain EE40 Fall Slide 20 Prof. Chang-Hasnain
2006 2006
Sign Convention for Power Power
Passive sign convention If an element is absorbing power (i.e. if p > 0), positive
charge is flowing from higher potential to lower potential.
p = vi p = -vi
p = vi if the “passive sign convention” is used:
i i i i
i i
_ _ _
+ + +
v v v v v or v
_ + _ + _ +
• If p > 0, power is being delivered to the box. By converting electrical energy into heat (resistors in toasters),
light (light bulbs), or acoustic energy (speakers); by storing
• If p < 0, power is being extracted from the box. energy (charging a battery).
EE40 Fall Slide 21 Prof. Chang-Hasnain EE40 Fall Slide 22 Prof. Chang-Hasnain
2006 2006
vs +_ vs=µ vx +_ vs=ρ ix +_
EE40 Fall Slide 31 Prof. Chang-Hasnain EE40 Fall Slide 32 Prof. Chang-Hasnain
2006 2006
Summary Summary (cont’d)
• Current = rate of charge flow i = dq/dt • Passive sign convention
• Voltage = energy per unit charge created by – For a passive device, the reference direction
charge separation
for current through the element is in the
• Power = energy per unit time direction of the reference voltage drop across
• Ideal Basic Circuit Elements the element
– two-terminal component that cannot be sub-divided
– described mathematically in terms of its terminal
voltage and current
– An ideal voltage source maintains a prescribed voltage
regardless of the current in the device.
– An ideal current source maintains a prescribed current
regardless of the voltage across the device.
– A resistor constrains its voltage and current to be
proportional to each other: v = iR (Ohm’s law)
EE40 Fall Slide 33 Prof. Chang-Hasnain EE40 Fall Slide 34 Prof. Chang-Hasnain
2006 2006
Current vs. Voltage (I-V) Characteristic I-V Characteristic of Ideal Voltage Source
i
• Voltage sources, current sources, and a i
resistors can be described by plotting the +
current (i) as a function of the voltage (v) Vab _+ vs
_
i i=0
b v
+ Vs>0
v
_
1. Plot the I-V characteristic for vs > 0. For what
values of i does the source absorb power? For
what values of i does the source release power?
Passive? Active? 2. Repeat
Vs>0 (1)
i<0for vs < 0.power; i>0 absorb power
release
3. What is the I-V characteristic for an ideal wire?
EE40 Fall Slide 35 Prof. Chang-Hasnain EE40 Fall Slide 36 Prof. Chang-Hasnain
2006 2006
I-V Characteristic of Ideal Voltage Source I-V Characteristic of Ideal Voltage Source
i i
a i a i
+ +
Vab +_ vs Vab +_ vs
_ _
b v b v
Vs<0
2. Plot the I-V characteristic for vs < 0. For what 3. What is the I-V characteristic for an ideal wire?
values of i does the source absorb power? For
what values of i does the source release power?
Vs<0 i>0 release power; i<0 absorb power Do not forget Vab=-Vba
EE40 Fall Slide 37 Prof. Chang-Hasnain EE40 Fall Slide 38 Prof. Chang-Hasnain
2006 2006
I-V Characteristic of Ideal Current Source Short Circuit and Open Circuit
i i Wire (“short circuit”):
+ • R = 0 no voltage difference exists
v is (all points on the wire are at the same potential)
_ • Current can flow, as determined by the circuit
v
Air (“open circuit”):
• R = ∞ no current flows
• Voltage difference can exist,
1. Plot the I-V characteristic for is > 0. For what values as determined by the circuit
of v does the source absorb power? For what
values of v does the source release power?
EE40 Fall Slide 39 Prof. Chang-Hasnain EE40 Fall Slide 40 Prof. Chang-Hasnain
2006 2006
I-V Characteristic of Ideal Resistor More Examples: Correction from last Lec.
i i • Are these interconnections permissible?
a
This circuit connection is
+ permissible. This is because
v R the current sources can
_ sustain any voltage across;
Hence this is permissible.
b v
1. Plot the I-V characteristic for R = 1 kΩ
Ω. What is the
slope?
a a This circuit connection is
+ NOT permissible. It violates
Vab Vab the KCL.
R R
_
b b
EE40 Fall Slide 41 Prof. Chang-Hasnain EE40 Fall Slide 42 Prof. Chang-Hasnain
2006 2006
EE40 Fall Slide 43 Prof. Chang-Hasnain EE40 Fall Slide 44 Prof. Chang-Hasnain
2006 2006
Circuit Nodes and Loops Kirchhoff’s Laws
• A node is a point where two or more circuit • Kirchhoff’s Current Law (KCL):
elements are connected. – The algebraic sum of all the currents entering
• A loop is formed by tracing a closed path in a any node in a circuit equals zero.
circuit through selected basic circuit elements • Kirchhoff’s Voltage Law (KVL):
without passing through any intermediate node – The algebraic sum of all the voltages around
more than once any loop in a circuit equals zero.
Notation: Node and Branch Voltages Using Kirchhoff’s Current Law (KCL)
• Use one node as the reference (the “common” Consider a node connecting several branches:
or “ground” node) – label it with a symbol
• The voltage drop from node x to the reference
i2
node is called the node voltage vx.
i3
• The voltage across a circuit element is defined
i1
as the difference between the node voltages at
its terminals
– v1 + i4
Example: a R1 b
+ +
va _+ vs
• Use reference directions to determine whether
R2 vb
_ _ currents are “entering” or “leaving” the node –
c REFERENCE NODE with no concern about actual current directions
EE40 Fall Slide 47 Prof. Chang-Hasnain EE40 Fall Slide 48 Prof. Chang-Hasnain
2006 2006
Formulations of Kirchhoff’s Current Law A Major Implication of KCL
(Charge stored in node is zero.)
• KCL tells us that all of the elements in a single
Formulation 1: branch carry the same current.
Sum of currents entering node • We say these elements are connected in series.
= sum of currents leaving node
Formulation 2:
Algebraic sum of currents entering node = 0
• Currents leaving are included with a minus sign.
5µA + –
loop v1 loop v2
_
+
2µA i
Moving from + to - Moving from - to +
i
We add V1 We subtract V1
Formulation 2: + +
Algebraic sum of voltage drops around loop = 0 va vb
• Voltage rises are included with a minus sign. _ _
(Handy trick: Look at the first sign you encounter on each element when tracing the loop.)
EE40 Fall Slide 57 Prof. Chang-Hasnain EE40 Fall Slide 58 Prof. Chang-Hasnain
2006 2006
R4
R R
V = 2 ⋅V V ≠ 2 ⋅V
2 SS 2 SS
R +R +R +R R +R +R +R
1 2 3 4 1 2 3 4
Correct, if nothing else Why? What is V2?
is connected to nodes
EE40 Fall Slide 61 Prof. Chang-Hasnain EE40 Fall Slide 62 Prof. Chang-Hasnain
2006 2006
I1 I2 + I
I1 I2 I3 V V=
ISS R1 R2 Vx = I1 R1 = ISS Req I R1 R2 R3 1 1 1
+ +
− R1 R 2 R 3
V 1/R 3
I3 = = I
R3 1/R 1 + 1/R 2 + 1/R 3
EE40 Fall Slide 65 Prof. Chang-Hasnain EE40 Fall Slide 66 Prof. Chang-Hasnain
2006 2006
EE40 Fall Slide 67 Prof. Chang-Hasnain EE40 Fall Slide 68 Prof. Chang-Hasnain
2006 2006
Week 2 Measuring Voltage
• Outline To measure the voltage drop across an element in a
real circuit, insert a voltmeter (digital multimeter in
– Node-Voltage Analysis voltage mode) in parallel with the element.
– Mesh-Current Analysis Voltmeters are characterized by their “voltmeter input
– Superposition resistance” (Rin). Ideally, this should be very high
– Thévenin equivalent circuits (typical value 10 MΩ)
EE40 Fall Slide 69 Prof. Chang-Hasnain EE40 Fall Slide 70 Prof. Chang-Hasnain
2006 2006
Compare to R2 Ideal
Ammeter
R2 R 2 || Rin
V2 = VSS V2′ = VSS
R1 + R 2 R 2 || Rin + R1
Rin
Example: VSS = 10 V , R 2 = 100 K , R1 = 900 K ⇒ V2 = 1V
Rin = 10 M , V2′ = ?
EE40 Fall Slide 71 Prof. Chang-Hasnain EE40 Fall Slide 72 Prof. Chang-Hasnain
2006 2006
Effect of Ammeter Using Equivalent Resistances
Measurement error due to non-zero input resistance: Simplify a circuit before applying KCL and/or KVL:
undisturbed circuit circuit with ammeter inserted Example: Find I
I Imeas
ammeter I
R1 R1 R1 R1 = R2 = 3 kΩ
Rin R3 R3 = 6 kΩ
R2
V1 +
_ V1 +
_ +
R2 7V R4
−
R2 R4 = R5 = 5 kΩ
R6
R5 R6 = 10 kΩ
V1 V1
I= Imeas =
R1 + R 2 R1 + R 2 + Rin
Example: V1 = 1 V, R1= R2 = 500 Ω, Rin = 1Ω Compare to
1V R2 + R2
I= = 1mA, I meas = ?
500Ω + 500Ω
EE40 Fall Slide 73 Prof. Chang-Hasnain EE40 Fall Slide 74 Prof. Chang-Hasnain
2006 2006
I1 R2 R4 I2
Challenges:
Determine number of nodes needed Problem: We cannot write KCL at nodes a or b because
Deal with different types of sources there is no way to express the current through the voltage
source in terms of Va-Vb.
Solution: Define a “supernode” – that chunk of the circuit
containing nodes a and b. Express KCL for this supernode.
Incorporate voltage source constraint into KCL equation.
EE40 Fall Slide 77 Prof. Chang-Hasnain EE40 Fall Slide 78 Prof. Chang-Hasnain
2006 2006
ia ib
EE40 Fall Slide 83 Prof. Chang-Hasnain EE40 Fall Slide 84 Prof. Chang-Hasnain
2006 2006
Circuit w/ Dependent Source Example Superposition
Find i2, i1 and io A linear circuit is one constructed only of linear
elements (linear resistors, and linear capacitors and
inductors, linear dependent sources) and
independent sources. Linear
means I-V charcteristic of elements/sources are
straight lines when plotted
Principle of Superposition:
• In any linear circuit containing multiple
independent sources, the current or voltage at
any point in the network may be calculated as
the algebraic sum of the individual contributions
of each source acting alone.
EE40 Fall Slide 85 Prof. Chang-Hasnain EE40 Fall Slide 86 Prof. Chang-Hasnain
2006 2006
i1 i2 ≡ i1+i2
EE40 Fall Slide 87 Prof. Chang-Hasnain EE40 Fall Slide 88 Prof. Chang-Hasnain
2006 2006
Open Circuit and Short Circuit Superposition Example
• Open circuit i=0 ; Cut off the branch • Find Vo 2Ω 4V
• Short circuit v=0 ; replace the element by wire +–
+
+
• Turn off an independent voltage source means 24 V – 4A 4 Ω Vo
– V=0
–
– Replace by wire
– Short circuit
• Turn off an independent current source means
– i=0
– Cut off the branch
– open circuit
EE40 Fall Slide 89 Prof. Chang-Hasnain EE40 Fall Slide 90 Prof. Chang-Hasnain
2006 2006
EE40 Fall Slide 95 Prof. Chang-Hasnain EE40 Fall Slide 96 Prof. Chang-Hasnain
2006 2006
I-V Characteristic of Norton Equivalent Finding IN and RN = RTh
• The I-V characteristic for the parallel combination of
elements is obtained by adding their currents:
For a given voltage vab, the current i is Analogous to calculation of Thevenin Eq. Ckt:
equal to the sum of the currents in i I-V
each of the two branches: characteristic 1) Find o.c voltage and s.c. current
of current
source: i = -IN IN ≡ isc = VTh/RTh
a i
+ i = IN-Gv
v
iN RN vab
– I-V characteristic 2) Or, find s.c. current and Norton (Thev) resistance
of resistor: i=Gv
b
EE40 Fall Slide 97 Prof. Chang-Hasnain EE40 Fall Slide 98 Prof. Chang-Hasnain
2006 2006
EE40 Fall Slide 101 Prof. Chang-Hasnain EE40 Fall Slide 102 Prof. Chang-Hasnain
2006 2006
Special cases: Rb Ra R3
R3 = 0 OR R3 = ∞
R5
c c
EE40 Fall Slide 109 Prof. Chang-Hasnain EE40 Fall Slide 110 Prof. Chang-Hasnain
2006 2006
EE40 Fall Slide 113 Prof. Chang-Hasnain EE40 Fall Slide 114 Prof. Chang-Hasnain
2006 2006
Summary of Techniques for Circuit Analysis -1 Summary of Techniques for Circuit Analysis -2
(Chap 2) (Chap 2)
• Resistor network • Node Analysis
– Parallel resistors – Node voltage is the unknown
– Series resistors – Solve for KCL
– Y-delta conversion – Floating voltage source using super node
– “Add” current source and find voltage (or vice • Mesh Analysis
versa) – Loop current is the unknown
• Superposition – Solve for KVL
– Leave one independent source on at a time – Current source using super mesh
– Sum over all responses • Thevenin and Norton Equivalent Circuits
– Voltage off SC – Solve for OC voltage
– Current off OC – Solve for SC current
EE40 Fall Slide 115 Prof. Chang-Hasnain EE40 Fall Slide 116 Prof. Chang-Hasnain
2006 2006
Potential Plots for a Single Resistor and Two
Open Circuit and Short Circuit
Resistors in Series (Potential is Plotted Vertically)
• Open circuit i=0 ; Cut off the branch
• Short circuit v=0 ; replace the element by wire
• Turn off an independent voltage source means
– V=0
– Replace by wire
– Short circuit
• Turn off an independent current source means
– i=0
– Cut off the branch
– open circuit
Parallel-plate capacitor:
• area of the plates = A (m2)
• separation between plates = d (m)
• dielectric permittivity of insulator = ε
Arrows represent voltage drops (F/m)
Aε
C= F
(F)
=> capacitance d
EE40 Fall Slide 119 Prof. Chang-Hasnain EE40 Fall Slide 120 Prof. Chang-Hasnain
2006 2006
Capacitor Voltage in Terms of Current
+
Symbol: or C t
EE40 Fall Slide 121 Prof. Chang-Hasnain EE40 Fall Slide 122 Prof. Chang-Hasnain
2006 2006
Thus, energy is 1 QV = 1
CV 2 . t = t Final v = VFinal dQ v = VFinal
2 2
w= ∫ v c ⋅ i c dt = ∫ c
v dt = ∫ v c dQ
t = t Initial v = VInitial dt v = VInitial
Example: A 1 pF capacitance charged to 5 Volts
has ½(5V)2 (1pF) = 12.5 pJ v = VFinal 1
(A 5F supercapacitor charged to 5 2 1 2
volts stores 63 J; if it discharged at a
w= ∫ Cv c dv c = CVFinal − CVInitial
v = VInitial 2 2
constant rate in 1 ms energy is
discharged at a 63 kW rate!)
EE40 Fall Slide 123 Prof. Chang-Hasnain EE40 Fall Slide 124 Prof. Chang-Hasnain
2006 2006
Example: Current, Power & Energy for a Capacitor
t
1 i(t) p (W) i(t)
C ∫0
v(t ) = i (τ )dτ + v(0)
v (V) v(t)
+
v(t)
+
– 10 µF – 10 µF
1
0 t (µs)
1 2 3 4 5
t (µs)
0 1 2 3 4 5
i (µA) vc and q must be continuous
dv functions of time; however, p = vi
i =C ic can be discontinuous.
dt
w (J) t
t (µs) 1
w = ∫ pdτ = Cv 2
0 1 2 3 4 5
Note: In “steady state”
(dc operation), time 0
2
derivatives are zero t (µs)
0 1 2 3 4 5
C is an open circuit
EE40 Fall Slide 125 Prof. Chang-Hasnain EE40 Fall Slide 126 Prof. Chang-Hasnain
2006 2006
EE40 Fall Slide 135 Prof. Chang-Hasnain EE40 Fall Slide 136 Prof. Chang-Hasnain
2006 2006
First-Order Circuits Response of a Circuit
• A circuit that contains only sources, resistors • Transient response of an RL or RC circuit is
and an inductor is called an RL circuit. – Behavior when voltage or current source are suddenly
• A circuit that contains only sources, resistors applied to or removed from the circuit due to switching.
and a capacitor is called an RC circuit. – Temporary behavior
• RL and RC circuits are called first-order circuits • Steady-state response (aka. forced response)
because their voltages and currents are – Response that persists long after transient has decayed
described by first-order differential equations. • Natural response of an RL or RC circuit is
R R – Behavior (i.e., current and voltage) when stored energy
in the inductor or capacitor is released to the resistive
part of the network (containing no independent
i i
vs
+
vs
+ sources).
– L – C
EE40 Fall Slide 137 Prof. Chang-Hasnain EE40 Fall Slide 138 Prof. Chang-Hasnain
2006 2006
• Inductor current • Capacitor voltage KVL around the loop: KCL at the node:
cannot change cannot change t
vr(t) + vc(t) = vs(t) v(t ) 1
instantaneously instantaneously + ∫ v( x)dx = is (t )
• In steady state, an • In steady state, a R L −∞
dvc (t )
inductor behaves like capacitor behaves like RC + vc (t ) = vs (t ) L diL (t )
dt + iL (t ) = is (t )
a short circuit. an open circuit R dt
EE40 Fall Slide 139 Prof. Chang-Hasnain EE40 Fall Slide 140 Prof. Chang-Hasnain
2006 2006
Procedure for Finding Transient Response Procedure (cont’d)
1. Identify the variable of interest 3. Calculate the final value of the variable
• For RL circuits, it is usually the inductor current iL(t) (its value as t ∞)
• For RC circuits, it is usually the capacitor voltage vc(t) • Again, make use of the fact that an inductor
behaves like a short circuit in steady state (t ∞)
2. Determine the initial value (at t = t0- and t0+) of or that a capacitor behaves like an open circuit in
the variable steady state (t ∞)
• Recall that iL(t) and vc(t) are continuous variables:
4. Calculate the time constant for the circuit
iL(t0+) = iL(t0−) and vc(t0+) = vc(t0−)
τ = L/R for an RL circuit, where R is the Thévenin
• Assuming that the circuit reached steady state before equivalent resistance “seen” by the inductor
t0 , use the fact that an inductor behaves like a short τ = RC for an RC circuit where R is the Thévenin
circuit in steady state or that a capacitor behaves like equivalent resistance “seen” by the capacitor
an open circuit in steady state
EE40 Fall Slide 141 Prof. Chang-Hasnain EE40 Fall Slide 142 Prof. Chang-Hasnain
2006 2006
Ro +
t=0 Vo +
− C v R
Ro
+
Vo +
− R –
C v
– • Applying KCL to the RC circuit:
Notation:
0– is used to denote the time just prior to switching
0+ is used to denote the time immediately after switching
• The voltage on the capacitor at t = 0– is Vo
• Solution:
v(t ) = v(0)e−t / RC
EE40 Fall Slide 143 Prof. Chang-Hasnain EE40 Fall Slide 144 Prof. Chang-Hasnain
2006 2006
Solving for the Current (t > 0) Solving for Power and Energy Delivered (t > 0)
i i
Ro + Ro +
Vo +
− C v R v(t ) = Voe−t / RC Vo +
− C v R v(t ) = Vo e − t / RC
– –
v 2 Vo2 −2 t / RC
• Note that the current changes abruptly: p= = e
i (0− ) = 0 R R
t t
v Vo −t / RC Vo2 −2 x / RC
for t > 0, i (t ) = = e w = ∫ p( x )dx = ∫ e dx
R R 0 0
R
V 1
⇒ i (0+ ) = o = CVo2 (1 − e −2 t / RC )
R 2
EE40 Fall Slide 145 Prof. Chang-Hasnain EE40 Fall Slide 146 Prof. Chang-Hasnain
2006 2006
t=0 Io Ro L R v
i +
–
Io Ro L R v
– • Applying KVL to the LR circuit:
Notation: • v(t)=i(t)R
0– is used to denote the time just prior to switching • At t=0+, i=I0,
0+ is used to denote the time immediately after switching di (t )
• At arbitrary t>0, i=i(t) and v(t ) = -L
• t<0 the entire system is at steady-state; and the inductor dt
is like short circuit
• The current flowing in the inductor at t = 0– is Io and V
across is 0. • Solution: i (t ) = i (0)e − ( R / L ) t = I0e-(R/L)t
EE40 Fall Slide 147 Prof. Chang-Hasnain EE40 Fall Slide 148 Prof. Chang-Hasnain
2006 2006
Solving for the Voltage (t > 0) Solving for Power and Energy Delivered (t > 0)
−( R / L )t i (t ) = I o e − ( R / L )t
i(t ) = I oe
+
+
Io Ro L R v
Io Ro L R v
–
–
p = i 2 R = I o2 Re −2 ( R / L ) t
• Note that the voltage changes abruptly: t t
−
v (0 ) = 0 w = ∫ p ( x)dx = ∫ I o2 Re − 2 ( R / L ) x dx
−( R / L ) t 0 0
for t > 0, v(t ) = iR = I o Re
1 2
⇒ v(0 ) = I0R
+ =
2
(
LI o 1 − e − 2 ( R / L )t )
EE40 Fall Slide 149 Prof. Chang-Hasnain EE40 Fall Slide 150 Prof. Chang-Hasnain
2006 2006
voltage
i + We send beautiful pulses in:
L R C v R
time
–
But we receive lousy-looking
voltage
• Inductor current cannot • Capacitor voltage cannot pulses at the output:
change instantaneously change instantaneously
i ( 0 − ) = i (0 + ) v (0 − ) = v (0 + ) time
Vin(t) + C Vout
5 5 5
4
− 4 4
Vout
Vout
Vout
3 3 3
– 2 2 2
1 1 1
0 0 0
switches between “low” (logic 0) 0 1 2 3 4 5 0 1 2 3 4 5 0 5 10 15 20 25
and “high” (logic 1) voltage states Time Time Time
EE40 Fall Slide 153 Prof. Chang-Hasnain EE40 Fall Slide 154 Prof. Chang-Hasnain
2006 2006
EE40 Fall Slide 159 Prof. Chang-Hasnain EE40 Fall Slide 160 Prof. Chang-Hasnain
2006 2006
The Particular Solution: F(t) Constant The Particular Solution: F(t) Sinusoid
dxP (t ) dxP (t )
xP (t ) + τ =F xP (t ) + τ = FA sin( wt ) + FB cos( wt )
dt dt
Guess a solution Guess a solution
xP (t ) = A + Bt d ( A + Bt ) xP (t ) = A sin( wt ) + B cos( wt )
( A + Bt ) + τ =F
dt
Equation holds for all time d ( A sin( wt ) + B cos( wt ))
( A sin( wt ) + B cos( wt )) + τ = FA sin( wt ) + FB cos( wt )
( A + Bt ) + τB = F dt
and time variations are
independent and thus each
( A + τB − F ) + ( B )t = 0
( A − τB − FA ) sin( wt ) + ( B + τA − FB ) cos( wt ) = 0
time variation coefficient is
individually zero Equation holds for all time
and time variations are
( A − τB − FA ) = 0
independent and thus each ( B + τA − FB ) = 0
( B) = 0 ( A + τB − F ) = 0
time variation coefficient is
A= F FA + τFB τFA − FB
B=0 individually zero A= B=−
τ 2 +1 τ 2 +1
EE40 Fall Slide 161 Prof. Chang-Hasnain EE40 Fall Slide 162 Prof. Chang-Hasnain
2006 2006
The Particular Solution: F(t) Exp. The Total Solution: F(t) Sinusoid
dxP (t )
dxP (t ) xP (t ) + τ = FA sin( wt ) + FB cos( wt )
xP (t ) + τ = F1e −αt + F2 dt
dt
Guess a solution xP (t ) = A sin( wt ) + B cos( wt ) FA + τFB
B=−
τFA − FB
A=
xP (t ) = A + Be −αt
d ( A + Be −αt ) τ 2 +1 τ 2 +1
( A + Be −αt ) + τ = F1e −αt + F2 −t
τ
dt xC (t ) = Ke
Equation holds for all time
( A + Be −αt ) − ατBe −αt = F1e −αt + F2 xT (t ) = A sin( wt ) + B cos( wt ) + Ke
−t
τ
and time variations are
independent and thus each ( A − F2 ) + ( B − ατ − F1 )e −αt = 0 Only K is unknown and
time variation coefficient is
is determined by the
individually zero
initial condition at t =0 Example: xT(t=0) = VC(t=0)
( A − F2 ) = 0 −0
τ
( B − ατ − F1 ) = 0 xT (0) = A sin(0) + B cos(0) + Ke = VC (t = 0)
B = ατ + F1 A = F2
xT (0) = B + K = VC (t = 0) K = VC (t = 0) − B
EE40 Fall Slide 163 Prof. Chang-Hasnain EE40 Fall Slide 164 Prof. Chang-Hasnain
2006 2006
Example 2nd Order Circuits
• Any circuit with a single capacitor, a single
R t=0 inductor, an arbitrary number of sources,
+ +
Vs − C vc
and an arbitrary number of resistors is a
– circuit of order 2.
• Any voltage or current in such a circuit is
the solution to a 2nd order differential
• Given vc(0-)=1, Vs=2 cos(ωt), ω=200. equation.
• Find i(t), vc(t)=?
EE40 Fall Slide 165 Prof. Chang-Hasnain EE40 Fall Slide 166 Prof. Chang-Hasnain
2006 2006
EE40 Fall Slide 169 Prof. Chang-Hasnain EE40 Fall Slide 170 Prof. Chang-Hasnain
2006 2006
EE40 Fall Slide 171 Prof. Chang-Hasnain EE40 Fall Slide 172 Prof. Chang-Hasnain
2006 2006
Damping Ratio and Natural Frequency Overdamped : Real Unequal Roots
α s1 = −ζω0 + ω0 ζ 2 − 1 • If ζ > 1, s1 and s2 are real and not equal.
ζ =
ω0 −ςω +ω ς 2 −1 t
0 0
−ςω −ω ς 2 −1 t
0 0
damping ratio s2 = −ζω0 − ω0 ζ 2 − 1 ic (t ) = K 1e + K 2e
• The damping ratio determines what type of 1 0.8
0.8 0.6
solution we will get: 0.6
i(t)
0.4
i(t)
– Exponentially decreasing (ζ >1) 0.4
0.2
0.2
– Exponentially decreasing sinusoid (ζ < 1) 0
0
-1.00E-06
-1.00E-06 -0.2
EE40 Fall Slide 173 Prof. Chang-Hasnain EE40 Fall Slide 174 Prof. Chang-Hasnain
2006 2006
-1.00E-05
0
-0.2 1.00E-05 3.00E-05
extra factor of ‘t’
-0.4
-0.6
-0.8
-1
t
EE40 Fall Slide 175 Prof. Chang-Hasnain EE40 Fall Slide 176 Prof. Chang-Hasnain
2006 2006
Example Example
For the example, what are ζ and ω0? • ζ = 0.011
• ω0 = 2π455000
i (t) d 2i (t ) R di (t ) 1 1 dvs (t ) • Is this system over damped, under
+ + i (t ) =
dt 2
L dt LC L dt damped, or critically damped?
10Ω
+ • What will the current look like?
769pF d 2 xc (t ) dx (t )
- 2
+ 2ζω0 c + ω02 xc (t ) = 0 1
dt dt 0.8
159µH 0.6
0.4
1 R R C 0.2
i(t)
2
ω =
0 , 2ζω0 = , ζ = -1.00E-05
0
-0.2 1.00E-05 3.00E-05
LC L 2 L -0.4
-0.6
-0.8
-1
t
EE40 Fall Slide 177 Prof. Chang-Hasnain EE40 Fall Slide 178 Prof. Chang-Hasnain
2006 2006
+ 0.4
vs(t) 769pF 0.2
(DC Steady-State)
- 0 Digital Linear Time-
159µH -1.00E-06
Pulse
Linear Time- Invariant
t Source
Invariant Circuit
ζ = 2.2 Circuit
ω0 = 2π455000 Sinusoidal (Single- Transient Excitation
Frequency) Excitation
AC Steady-State
EE40 Fall Slide 179 Prof. Chang-Hasnain EE40 Fall Slide 180 Prof. Chang-Hasnain
2006 2006
Why is Single-Frequency Excitation Important? Representing a Square Wave as a Sum of Sinusoids
a b
• Some circuits are driven by a single-frequency
signal(V)
signal(V)
sinusoidal source.
Signal
Signal
• Some circuits are driven by sinusoidal sources
whose frequency changes slowly over time.
• You can express any periodic electrical signal as T i me (ms)
c d
a sum of single-frequency sinusoids – so you
Relative Amplitude
can analyze the response of the (linear, time-
Signal (V)
invariant) circuit to each individual frequency
component and then sum the responses to get
the total response. Frequency (Hz)
EE40 Fall Slide 183 Prof. Chang-Hasnain EE40 Fall Slide 184 Prof. Chang-Hasnain
2006 2006
Chapter 5 (Lec. 5.3-6.2) Example 1: 2nd Order RLC Circuit
• OUTLINE t=0
– Phasors as notation for Sinusoids
R
– Arithmetic with Complex Numbers +
Vs C L
– Complex impedances -
– Circuit analysis using complex impdenaces
– Dervative/Integration as multiplication/division
– Phasor Relationship for Circuit Elements
• Reading
– Chap 5
– Appendix A
EE40 Fall Slide 185 Prof. Chang-Hasnain EE40 Fall Slide 186 Prof. Chang-Hasnain
2006 2006
signal(V)
• Any steady state voltage or current in a linear circuit with
Signal
Signal
a sinusoidal source is a sinusoid.
– This is a consequence of the nature of particular solutions for
sinusoidal forcing functions.
T i me (ms)
• All AC steady state voltages and currents have the same
c d
frequency as the source.
Relative Amplitude
• In order to find a steady state voltage or current, all we
Signal (V)
(a)Square wave with 1-second period. (b) Fundamental component • Usually, an AC steady state voltage or current is given
(dotted) with 1-second period, third-harmonic (solid black) with1/3-second by the particular solution to a differential equation.
period, and their sum (blue). (c) Sum of first ten components. (d)
Spectrum with 20 terms.
EE40 Fall Slide 189 Prof. Chang-Hasnain EE40 Fall Slide 190 Prof. Chang-Hasnain
2006 2006
z
xP (t ) = A sin( wt ) + B cos( wt )
Addition θ • θ is the phase
d ( A sin( wt ) + B cos( wt )) real
( A sin( wt ) + B cos( wt )) + τ = FA sin( wt ) + FB cos( wt )
dt
axis x = z cos θ y = z sin θ
( A − τB − FA ) sin( wt ) + ( B + τA − FB ) cos( wt ) = 0 x
• Rectangular Coordinates y
Equation holds for all time ( A − τB − FA ) = 0 z = x2 + y2 θ = tan −1
Z = x + jy x
and time variations are ( B + τA − FB ) = 0
• Polar Coordinates: Z = z (cos θ + j sin θ )
independent and thus each F + τF
A = A2 B
τFA − FB
time variation coefficient is B=− Z=z∠θ
τ +1 τ 2 +1 1 = 1e j 0 = 1∠0°
individually zero • Exponential Form:
π
Phasors (vectors that rotate in the complex Z = Z e = zejθ jθ
j = 1e
j
2
= 1∠90°
plane) are a clever alternative.
EE40 Fall Slide 191 Prof. Chang-Hasnain EE40 Fall Slide 192 Prof. Chang-Hasnain
2006 2006
Complex Numbers (2) Arithmetic With Complex Numbers
• To compute phasor voltages and currents, we
e jθ + e − jθ need to be able to perform computation with
Euler’s Identities cos θ =
2 complex numbers.
e − e − jθ
jθ
– Addition
sin θ =
2j
– Subtraction
e jθ = cos θ + j sin θ – Multiplication
e jθ = cos 2 θ + sin 2 θ = 1 – Division
• (And later use multiplication by jω to replace
Exponential Form of a complex number – Diffrentiation
Z = Z e jθ = ze jθ = z∠θ – Integration
EE40 Fall Slide 193 Prof. Chang-Hasnain EE40 Fall Slide 194 Prof. Chang-Hasnain
2006 2006
Addition Addition
• Addition is most easily performed in
rectangular coordinates:
A = x + jy Imaginary
B = z + jw Axis
A+B
A + B = (x + z) + j(y + w)
B A
Real
Axis
EE40 Fall Slide 195 Prof. Chang-Hasnain EE40 Fall Slide 196 Prof. Chang-Hasnain
2006 2006
Subtraction Subtraction
• Subtraction is most easily performed in
rectangular coordinates:
A = x + jy Imaginary
Axis
B = z + jw
A - B = (x - z) + j(y - w) B A
Real
Axis
A-B
EE40 Fall Slide 197 Prof. Chang-Hasnain EE40 Fall Slide 198 Prof. Chang-Hasnain
2006 2006
Multiplication Multiplication
• Multiplication is most easily performed in
polar coordinates:
A = AM ∠ θ Imaginary
Axis
B = BM ∠ φ A×B
B
A × B = (AM × BM) ∠ (θ + φ) A
Real
Axis
EE40 Fall Slide 199 Prof. Chang-Hasnain EE40 Fall Slide 200 Prof. Chang-Hasnain
2006 2006
Division Division
• Division is most easily performed in polar
coordinates:
A = AM ∠ θ Imaginary
Axis
B = BM ∠ φ
B
A / B = (AM / BM) ∠ (θ − φ) A
Real
Axis
A/B
EE40 Fall Slide 201 Prof. Chang-Hasnain EE40 Fall Slide 202 Prof. Chang-Hasnain
2006 2006
2
Z1 / Z 2 = ( z1 / z2 )e j (θ1 −θ2 ) = ( z1 / z2 )∠(θ1 − θ 2 )
EE40 Fall Slide 203 Prof. Chang-Hasnain EE40 Fall Slide 204 Prof. Chang-Hasnain
2006 2006
Phasor: Rotating Complex Vector Complex Exponentials
• We represent a real-valued sinusoid as the real
{ } (
v(t ) = V cos(ωt + φ ) = Re Ve jφ e jwt = Re V e jωt ) part of a complex exponential after multiplying
by e jω.t
Imaginary • Complex exponentials
Axis Rotates at uniform – provide the link between time functions and phasors.
– Allow dervatives and integrals to be replaced by
angular velocity ωt multiplying or dividing by jω
– make solving for AC steady state simple algebra with
complex numbers.
V
Real • Phasors allow us to express current-voltage
ωt+φ
cos(ω φ)
Axis relationships for inductors and capacitors much
like we express the current-voltage relationship
The head start angle is φ. for a resistor.
EE40 Fall Slide 205 Prof. Chang-Hasnain EE40 Fall Slide 206 Prof. Chang-Hasnain
2006 2006
i(t) + dv(t )
i (t ) = C
C v(t dt
i(t) +
dv(t ) -)
C v(t) i (t ) = C
dt v(t ) = V cos(ωt + θ ) =
V j (ωt +θ ) − j (ωt +θ )
e +e
- 2
dv(t ) CV d j (ωt +θ ) − j (ωt +θ ) CV
i (t ) = C = e +e = jω e j (ωt +θ ) − e − j (ωt +θ )
dt 2 dt 2
−ωCV j (ωt +θ ) − j (ωt +θ ) π
Suppose that v(t) is a sinusoid: = e −e = −ωCV sin(ωt + θ ) = ωCV cos(ωt + θ + )
2j 2
v(t) = Re{VM ej(ωt+θ)} V
Zc = =
V ∠θ
=
V π
∠(θ − θ − ) =
1 π
∠(− ) = − j
1
=
1
I π ω CV 2 ω C 2 ω C j ω C
Find i(t). I ∠ θ +
2
EE40 Fall Slide 207 Prof. Chang-Hasnain EE40 Fall Slide 208 Prof. Chang-Hasnain
2006 2006
Capacitor Impedance (2) Example
v(t) = 120V cos(377t + 30°)
i(t) + dv(t )
i (t ) = C C = 2µF
C v(t dt
-)
Phasor definition
• What is V?
v(t ) = V cos(ωt + θ ) = Re Ve j (ωt +θ )
⇒ V = V ∠θ • What is I?
dv(t ) de j (ωt +θ ) • What is i(t)?
i (t ) = C = Re CV = Re jωCVe j (ωt +θ ) ⇒ I = I ∠θ
dt dt
V V ∠θ V 1
Zc = = = ∠(θ − θ ) =
I I ∠θ jωCV jωC
EE40 Fall Slide 209 Prof. Chang-Hasnain EE40 Fall Slide 210 Prof. Chang-Hasnain
2006 2006
i(t) +
di (t )
Note: The differentiation and integration L v(t) v(t ) = L
dt
operations become algebraic operations -
d 1
dt
⇒ jω ∫ dt ⇒
jω V = jωL I
EE40 Fall Slide 211 Prof. Chang-Hasnain EE40 Fall Slide 212 Prof. Chang-Hasnain
2006 2006
Example Phase
Voltage
i(t) = 1µA cos(2π 9.15 107t + 30°) 7 cos(ωt ) = 7∠0° inductor current
L = 1µH π π
7 sin(ωt ) = 7 cos(ωt − ) = 7∠ −
8 2 2
6
• What is I? 4
• What is V? 2
0
• What is v(t)?
-2 0 0.01 0.02 0.03 0.04 0.05
-4
-6
-8 capacitor current
π π
−7 sin(ωt ) = 7 cos(ωt + ) = 7∠ +
2 2
EE40 Fall Slide 213 Prof. Chang-Hasnain EE40 Fall Slide 214 Prof. Chang-Hasnain
2006 2006
EE40 Fall Slide 215 Prof. Chang-Hasnain EE40 Fall Slide 216 Prof. Chang-Hasnain
2006 2006
Some Thoughts on Impedance Example: Single Loop Circuit
• Impedance depends on the frequency ω.
20kΩ +
• Impedance is (often) a complex number. +
VC
10V ∠ 0° 1µF
• Impedance allows us to use the same - -
solution techniques for AC steady state as
we use for DC steady state. f=60 Hz, VC=?
How do we find VC?
First compute impedances for resistor and capacitor:
ZR = R= 20kΩ = 20kΩ ∠ 0°
ZC = 1/j (2πf x 1µF) = 2.65kΩ ∠ -90°
EE40 Fall Slide 217 Prof. Chang-Hasnain EE40 Fall Slide 218 Prof. Chang-Hasnain
2006 2006
+ 20kΩ +
+ +
10V ∠ 0° VC 2.65kΩ ∠ -90° 10V ∠ 0° 1µF VC
- - - -
EE40 Fall Slide 223 Prof. Chang-Hasnain EE40 Fall Slide 224 Prof. Chang-Hasnain
2006 2006
Find an Equivalent Impedance Series Impedance
+
Z1
5mA ∠ 0° Zeq V
Z2 Zeq
- Z3
1000(− j 3.5) 10 3 ∠0° × 3.5∠ − 90°
Z eq = =
1000 − j 3.5 1000∠ − 0.2° Zeq = Z1 + Z2 + Z3
Z eq = 3.5Ω∠ − 89.8° For example:
V = IZ eq = 5mA∠0° × 3.5Ω∠ − 89.8°
V = 17.5mV∠ − 89.8° C1 C2
L1 L2
v(t ) = 17.5mV cos(2π 455000t − 89.8°) 1 1
Zeq = jω(L1+L2) Z eq = +
jωC1 jωC2
EE40 Fall Slide 225 Prof. Chang-Hasnain EE40 Fall Slide 226 Prof. Chang-Hasnain
2006 2006
EE40 Fall Slide 227 Prof. Chang-Hasnain EE40 Fall Slide 228 Prof. Chang-Hasnain
2006 2006
Thevenin Equivalent
Resistor I-V relationship ZTH
vR = iRR ………….VR = IRR where R is the resistance in ohms, 10V ∠ 0° 20kΩ
VR = phasor voltage, IR = phasor current + + +
(boldface indicates complex quantity) 1µF VC VTH
Capacitor I-V relationship - - -
iC = CdvC/dt ...............Phasor current IC = phasor voltage VC / f=60 Hz
capacitive impedance ZC: IC = VC/ZC
where ZC = 1/jωC , j = (-1)1/2 and boldface ZR = R= 20kΩ = 20kΩ ∠ 0°
indicates complex quantity
ZC = 1/j (2πf x 1µF) = 2.65kΩ ∠ -90°
Inductor I-V relationship
vL = LdiL/dt ...............Phasor voltage VL = phasor current IL/ 2.65kΩ∠ - 90°
VTH = VOC = 10V ∠0° = 1.31∠ − 82.4
inductive impedance ZL VL = ILZL 2.65 kΩ ∠ - 90 ° + 20 k Ω∠0°
where ZL = jωL, j = (-1)1/2 and boldface
indicates complex quantity 20kΩ∠0° ⋅ 2.65kΩ∠ - 90°
ZTH = Z R || Z C = ° = 2.62∠ − 82.4
2.65kΩ∠ - 90° + 20kΩ∠0°
EE40 Fall Slide 229 Prof. Chang-Hasnain EE40 Fall Slide 230 Prof. Chang-Hasnain
2006 2006
EE40 Fall Slide 231 Prof. Chang-Hasnain EE40 Fall Slide 232 Prof. Chang-Hasnain
2006 2006
Maximum Average Power Transfer Chapter 6 (Lec. 6.3-8.2)
ZTH • OUTLINE
– Frequency Response for Characterization
+
VTH ZLOAD – Asymptotic Frequency Behavior
-
– Log magnitude vs log frequency plot
– Phase vs log frequency plot
• Maximum time average power occurs when
– dB scale
Z LOAD = Z*TH
– Transfer function example
• This presents a resistive impedance to the source
Z total = ZTH + Z*TH • Reading
• Power transferred is – Chap 6.1-6.4
* 2
PAVE = Re{VI*} = Re{V
V
} = 12
V rms – Reader Chapter
2R R
EE40 Fall Slide 233 Prof. Chang-Hasnain EE40 Fall Slide 234 Prof. Chang-Hasnain
2006 2006
Logarithmic Measures for Voltage or Current Logarithmic Measures for Voltage or Current
From the expression for power ratios in decibels, we can Note that the voltage and current expressions are just
readily derive the corresponding expressions for voltage like the power expression except that they have 20 as
or current ratios. the multiplier instead of 10 because power is
proportional to the square of the voltage or current.
Suppose that the voltage V (or current I) appears across
(or flows in) a resistor whose resistance is R. The
corresponding power dissipated, P, is V2/R (or I2R). We Exercise: How many decibels larger is the voltage of a
can similarly relate the reference voltage or current to the 9-volt transistor battery than that of a 1.5-volt AA
reference power, as battery? Let Vreference = 1.5. The ratio in decibels is
Hence,
Voltage, V in decibels = 20log10(V/Vreference)
Current, I, in decibels = 20log10(I/Ireference)
EE40 Fall Slide 239 Prof. Chang-Hasnain EE40 Fall Slide 240 Prof. Chang-Hasnain
2006 2006
Logarithmic Measures for Voltage or Current Bode Plot
+
+
ratio of phasors VOUT/VIN is a convenient means of +
C
VIN AVT
+
classifying a circuit behavior and identifying key R1 VT −
VOUT
parameters.
VOUT A = 100
Break point TransferFunction =
VOUT VOUT VIN
Break point R1 = 100,000 Ohms
VIN Gain VIN Gain
VOUT AZ c R2 = 1000 Ohms
=
Low Pass VIN Z R + Zc
High Pass C = 10 uF
Frequency VOUT A(1 / jwC ) A
Frequency = =
VIN R2 + 1 / jωC ) (1 + jωR2C )
EE40 Fall Slide 245 Prof. Chang-Hasnain EE40 Fall Slide 246 Prof. Chang-Hasnain
2006 2006
Break Points of Transfer Functions Log magnitude versus log frequency plot
Magnitude
VOUT A + jωB
=
VIN C + j ωD
Numerator Break Point (slope change upward) 1000
ω1
Occurs when A = |jωB| => ωz = A/B 100
100ω0
Denominator Break Point (slope change downward) 10 ω0
Occurs when C = |jωD| => ωp = C/D 1
1 10 100 1000 Radian
FYI: z is for zero of the numerator and p is for zero of the 0.1 Frequency
denominator giving one over zero or a pole. Filter design
consists of specifying frequency locations of zeros and poles. ω-1
EE40 Fall Slide 247 Prof. Chang-Hasnain EE40 Fall Slide 248 Prof. Chang-Hasnain
2006 2006
Phase versus log frequency Example: Circuit in Slide #3 Magnitude
Magnitude
Phase A = 100
180 R2 = 1000 Ohms
90 C = 10 uF
1000
A wp = 1/(R2C) = 100
0
100 1000 100 VV OUT
=
A
1 10 Radian IN (1 + jωR2C )
100 100
-90 Frequency Actual value = | 1 + j | =
10 2
-180
1
1 10 100 1000 Radian
0.1 Frequency
EE40 Fall Slide 249 Prof. Chang-Hasnain EE40 Fall Slide 250 Prof. Chang-Hasnain
2006 2006
VOUT A
Phase
VOUT A =
= VIN (1 + jωR2C )
Magnitude in dB
VIN (1 + jωR2C ) A = 100 A = 100
180 R2 = 1000 Ohms R2 = 1000 Ohms
90 C = 10 uF C = 100 uF
60
A wp = 1/(R2C) = 100
0
100 1000 40
1 10 Radian
-90 Frequency
20
-180 -45o
Actual value is 0
1 10 100 1000 Radian
100∠0 100∠0 -20 Frequency
Phase{ } = Phase{ } = 0 − 45 = −45
|1+ j | 2∠45
Note: Magnitude in dB = 20 log10(VOUT/VIN)
EE40 Fall Slide 251 Prof. Chang-Hasnain EE40 Fall Slide 252 Prof. Chang-Hasnain
2006 2006
Transfer Function Filters
EE40 Fall Slide 253 Prof. Chang-Hasnain EE40 Fall Slide 254 Prof. Chang-Hasnain
2006 2006
VC 1 ( jωC ) 1 1
H( f ) H( f ) H(f) = = = = ∠ − tan −1 (ω RC )
V 1 ( jωC ) + R 1 + jω RC 1 + (ω RC )
2
1 1
Let ωB = and f B =
Low Pass High Pass RC 2π RC
H(f) = H ( f )∠θ
Frequency Frequency
1 f
H( f ) = , θ = − tan −1
H( f ) H( f ) 2
fB
f
1+
fB R +
+
Band Pass Band Reject 1 V C VC
H ( fB ) = = 2−1/ 2 - -
2
Frequency Frequency H ( fB ) 1
20 log10 = 20(− ) log10 2 = −3 dB
H (0) 2
EE40 Fall Slide 255 Prof. Chang-Hasnain EE40 Fall Slide 256 Prof. Chang-Hasnain
2006 2006
First-Order Highpass Filter First-Order Lowpass Filter
(ω RC ) ∠ π − tan −1 ω RC VR 1 1 ωL
VR R jω RC H(f) = = = ∠ − tan −1
H(f) = = = = 2 ( ) V jω L
ωL
2
R
V 1 ( jωC ) + R 1 + jω RC 1 + (ω RC )
2
+1 1 +
R
R
f
R R
fB π f Let ωB = and f B =
H( f ) = ,θ = − tan −1 L 2π L
f
2 2 fB H(f) = H ( f )∠θ
1+
fB VR 1 f VR
H( f ) = , θ = − tan −1
fB
2
1 f
H ( fB ) = = 2−1/ 2 R 1+ R
2 + + fB + +
V C VC V L VL
H ( fB ) 1
20 log10 = 20(− ) log10 2 = −3 dB - - - -
H (0) 2
EE40 Fall Slide 257 Prof. Chang-Hasnain EE40 Fall Slide 258 Prof. Chang-Hasnain
2006 2006
EE40 Fall Slide 259 Prof. Chang-Hasnain EE40 Fall Slide 260 Prof. Chang-Hasnain
2006 2006
Change of Voltage or Current with
A Change of Frequency High-frequency asymptote of Lowpass filter
One may wish to specify the change of a quantity The high frequency asymptote of magnitude
such as the output voltage of a filter when the Bode plot assumes -20dB/decade slope
frequency changes by a factor of 2 (an octave) or 10
(a decade). As f → ∞
For example, a single-stage RC low-pass filter has at f
−1
EE40 Fall Slide 261 Prof. Chang-Hasnain EE40 Fall Slide 262 Prof. Chang-Hasnain
2006 2006
As f → 0
f
fB f Band Pass
H( f ) = → Z = R + 1/jωC + jωL
fB
2
f
1+ R HBP = R / Z
fB Low C
f →∞
VS + Pass Band HLP = (1/jωC) / Z
–
H ( fB ) Reject
20 log10 = 20dB High L HHP = jωL / Z
H (0.1 f B ) Pass
HBR = HLP + HHP
The low frequency asymptote of magnitude
Bode plot assumes 20dB/decade slope
EE40 Fall Slide 263 Prof. Chang-Hasnain EE40 Fall Slide 264 Prof. Chang-Hasnain
2006 2006
Series Resonance Parallel Resonance
+
IIN
+
+
VIN
VOUT
VOUT
−
EE40 Fall Slide 267 Prof. Chang-Hasnain EE40 Fall Slide 268 Prof. Chang-Hasnain
2006 2006
High Quality Dependent Source In an Amplifier Op Amp Terminals
• 3 signal terminals: 2 inputs and 1 output
• IC op amps have 2 additional terminals for DC
AMPLIFIER SYMBOL AMPLIFIER MODEL power supplies
Differential Amplifier V0 = A( V+ − V− ) Circuit Model in linear region • Common-mode signal= (v1+v2)/2
V+ + V0
A + + + • Differential signal = v1-v2
V− − Ri V1 AV1 V0
− −
− V+ positive power supply
EE40 Fall Slide 275 Prof. Chang-Hasnain EE40 Fall Slide 276 Prof. Chang-Hasnain
2006 2006
Ideal Op-Amp Analysis Technique Ideal Op-Analysis: Non-Inverting Amplifier
Applies only when Negative Feedback is present in circuit! Yes Negative Feedback is present in this circuit!
Assumption 1: The potential between the op-amp input terminals, v(+) –
Assumption 1: The potential between the op-amp input terminals, v(+) –
v(-), equals zero.
v(-), equals zero.
Assumption 2: The currents flowing into the op-amp’s two input
Assumption 2: The currents flowing into the op-amp’s two input terminals both equal zero.
terminals both equal zero. KCL with currents in only two branches
No Potential Difference R1 R2 v v −v
R1 in in out
No Currents R2 + =0
R1 R2
−
− V0 R + R2
V0 VIN + vout = 1 vin
VIN + R1
EXAMPLE
EXAMPLE
VIN appears here Non-inverting Amplifier
EE40 Fall Slide 277 Prof. Chang-Hasnain EE40 Fall Slide 278 Prof. Chang-Hasnain
2006 2006
EE40 Fall Slide 279 Prof. Chang-Hasnain EE40 Fall Slide 280 Prof. Chang-Hasnain
2006 2006
Inverting Amplifier Voltage Follower
vo
• Negative feedback Closed loop gain = Av =
vin + v0
checked
v1 = v2 = 0 , i1 = i2 = 0 v2
vin +
_
• Use summing-point Use KCL At Node 2. - RL
constraint (vin − v2 ) (vout − v2 )
R2 i= =
2 R1 R2
R2 vo R2 = 0
i R1 v vo = −
2 _ R1 R1 → ∞
v0
+ vin (v0 − v2 ) (v2 − 0)
vin +- v1 Input impedance = = R1 i= =
RL i R2 R1
vo ( R1 + R2 ) R
A= = = 1+ 2 = 1
Ideal voltage source – independent of load resistor vin R1 R1
EE40 Fall Slide 281 Prof. Chang-Hasnain EE40 Fall Slide 282 Prof. Chang-Hasnain
2006 2006
Example 1 Example 1
2 i5 R
• Switch is closed
i4
R v2 i 2 _
v0
2 i5 R v1 = v2 = 0 , i1 = 0 → i3 = 0
+
i3 v1 i 1
+
R RL • Switch is open i4
R v2 i 2 _ i4 =
(vin − v2 ) (v − v )
= i 5= − 0 2
vin - v0
R R
+
i3 v1 i 1 v0 = −vin
v1 = v2 , i1 = 0 → i3 = 0 R RL
vin +- vo
(v − v ) A= = −1 , Rin = R
i3 = in 1 → v1 = v2 = vin → i4 = 0 → i5 = 0 vin 2
R
(v − v )
i 5 = 0 2 → v0 = v2 = vin
R
vo
A= = 1 , Rin → ∞
vin
EE40 Fall Slide 283 Prof. Chang-Hasnain EE40 Fall Slide 284 Prof. Chang-Hasnain
2006 2006
Example 2 Example 2 (cont’d)
• Design an analog front end v1
+
circuit to an instrument system vin c v0 Rin = Ra + Rb + Rc = 1M Ω
_
– Requires to work with 3 full-scale of v2 R2
input signals (by manual switch): vb b RL Max Av = 10 = (1 + ) Switch at c
2 R1
0 ±1, 0 ±10, 0 ±100 V R2
va a Ra + Rb R Ra + Rb
– For each input range, the output R1 Av = 1 = (1 + 2 ) Switch at b ∴ = 0.1
needs to be 0 ±10 V Ra + Rb + Rc R1 Ra + Rb + Rc
– The input resistance is 1MΩ Ra R Ra
Av = 0.1 = (1 + 2 ) Switch at a ∴ = 0.01
Ra + Rb + Rc R1 Ra + Rb + Rc
R2
vo = (1 + )v1 ∴ Ra = 10k Ω, Rb = 90k Ω, Rc = 900k Ω
R1
v1 = vin Switch at c R2 = 9 R1
Ra + Rb
v1 = vin Switch at b
Ra + Rb + Rc
Ra
v1 = vin Switch at a
Ra + Rb + Rc
EE40 Fall Slide 285 Prof. Chang-Hasnain EE40 Fall Slide 286 Prof. Chang-Hasnain
2006 2006
v1 R1
+
-
R0 R2
+
-
v2 R2 v1 R1
_ v0 _ v0
+
+
-
-
v3 R3
+ +
+
-
v2 R3
R4
EE40 Fall Slide 287 Prof. Chang-Hasnain EE40 Fall Slide 288 Prof. Chang-Hasnain
2006 2006
Integrator Differentiator
• Want v = K v dt
o ∫ in • Want
C
R
+ + _ v0
vin C V0
+
- - vin +-
EE40 Fall Slide 289 Prof. Chang-Hasnain EE40 Fall Slide 290 Prof. Chang-Hasnain
2006 2006
• OUTLINE I
– Diode Current and Equation In forward bias (+ on p-side) we current increases
have almost unlimited flow rapidly with V
– Some Interesting Circuit Applications (very low resistance).
– Load Line Analysis Qualitatively, the I-V VF
EE40 Fall Slide 299 Prof. Chang-Hasnain EE40 Fall Slide 300 Prof. Chang-Hasnain
2006 2006
Diode Physical Behavior and Equation The pn Junction I vs. V Equation
Diode Ideal (Perfect Rectifier) Model Diode Large-Signal Model (0.7 V Drop)
The equation I = I 0 exp(qV kT − 1)
Simple “Perfect Rectifier” Model 400
- 0.7+ I
(microamp)
is graphed below for I 0 = 10 −15 A
Current
300
− V+
EE40 Fall Slide 303 Prof. Chang-Hasnain EE40 Fall Slide 304 Prof. Chang-Hasnain
2006 2006
Rectifier Circuit Peak Detector Circuit
Assume the ideal Assume the ideal (perfect rectifier) model.
(perfect rectifier) VS(t)
model. Vi(t)
+
+ + Vi
+ C
VS(t) +
− VR(t) Vi(t) − VC(t)
−
− t −
t
VR(t) VC(t) VC
Key Point:
The capacitor charges
due to one way current
“rectified” version of behavior of the diode.
input waveform
t
EE40 Fall Slide 305 Prof. Chang-Hasnain EE40 Fall Slide 306 Prof. Chang-Hasnain
2006 2006
+ +
integrated
vs(t) vo(t) circuit
– VBD = 15V –
EE40 Fall Slide 307 Prof. Chang-Hasnain EE40 Fall Slide 308 Prof. Chang-Hasnain
2006 2006
Load Line Analysis Method Solar cell: Example of simple PN junction
1. Graph the I-V relationships for the non-linear • What is a solar cell?
element and for the rest of the circuit – Device that converts
2. The operating point of the circuit is found from sunlight into electricity
the intersection of these two curves.
I
• How does it work?
– In simple configuration, it is a
RTh I diode made of PN junction
+ VTh/RTh operating point – Incident light is absorbed by
+
material
VTh − V – Creates electron-hole pairs that
– V transport through the material
VTh through
• Diffusion (concentration gradient)
The I-V characteristic of all of the circuit except • Drift (due to electric field)
the non-linear element is called the load line PN Junction Diode
EE40 Fall Slide 309 Prof. Chang-Hasnain EE40 Fall Slide 310 Prof. Chang-Hasnain
2006 2006
The load line a simple resistor. Imp , Vmp- Current and voltage
FF is the Fill Factor at maximum power
EE40 Fall Slide 311 Prof. Chang-Hasnain EE40 Fall Slide 312 Prof. Chang-Hasnain
2006 2006
Example 2: Photodiode Photodetector Circuit Using Load Line
• An intrinsic region is placed RTh I I
between the p-type and n-type + operating
− As light
regions VTh + points under intensity
V different light
Wj ≅ Wi-region, so that most of the increases.
conditions. Why?
electron-hole pairs are generated –
in the depletion region
As light shines on the photodiode, carriers V
faster response time are generated by absorption. These excess V
(~10 GHz operation) carriers are swept by the electric field at the
Th
• An ideal diode passes current only in one direction. For a Si pn diode, VDon ≅ 0.7 V
• An ideal diode has the following properties: RULE 1: When ID > 0, VD = VDon
Diode behaves like a voltage
• when ID > 0, VD = 0 RULE 2: When VD < VDon, ID = 0 source in series with a switch:
Diode behaves like a switch:
• when VD < 0, ID = 0 • closed in forward bias mode • closed in forward bias mode
• open in reverse bias mode • open in reverse bias mode
EE40 Fall Slide 315 Prof. Chang-Hasnain EE40 Fall Slide 316 Prof. Chang-Hasnain
2006 2006
Diode: Large Signal Model How to Analyze Circuits with Diodes
• Use piece-wise linear model A diode has only two states:
• forward biased: ID > 0, VD = 0 V (or 0.7 V)
• reverse biased: ID = 0, VD < 0 V (or 0.7 V)
Procedure:
1. Guess the state(s) of the diode(s)
2. Check to see if KCL and KVL are obeyed.
3. If KCL and KVL are not obeyed, refine your guess
4. Repeat steps 1-3 until KCL and KVL are obeyed.
Example: If vs(t) > 0 V, diode is forward biased
+ (else KVL is disobeyed – try it)
vs(t) + vR(t)
− If vs(t) < 0 V, diode is reverse biased
– (else KVL is disobeyed – try it)
EE40 Fall Slide 317 Prof. Chang-Hasnain EE40 Fall Slide 318 Prof. Chang-Hasnain
2006 2006
5 5 B C
A C EOC ROR
EOC
B Slope =1
Shift 0.7V Up
Slope =1
Shift 0.7V Down
0
0 5 VIN
0 0.7V
0 5 VIN
EE40 Fall Slide 319 Prof. Chang-Hasnain EE40 Fall Slide 320 Prof. Chang-Hasnain
2006 2006
Diode Logic: Incompatibility and Decay Digital Logic: Diodes with Dependent Sources
• Diode Only Gates are Basically Incompatible: • EE40 TTL (Transistor-Transistor Logic
AND gate OR gate
output voltage is high only if output voltage is high if
both A and B are high either (or both) A and B are high VOUT
5V
5
Vcc Shift 0.7V
Slope >1
R1 R2
EOC
A A
RAND B F
B COR In practice does
βi1
A CAND ROR VD_ON = 0.7 V
i1 not go below 0.2V
0
EOC 5 VIN
B 0
Device Isolation using pn Junctions Why are pn Junctions Important for ICs?
regions of n-type Si
• The basic building block in digital ICs is the
MOS transistor, whose structure contains
reverse-biased diodes.
n n n n n
– pn junctions are important for electrical isolation of
p-type Si transistors located next to each other at the
surface of a Si wafer.
No current flows if voltages are applied between n-type – The junction capacitance of these diodes can limit
regions, because two pn junctions are “back-to-back” the performance (operating speed) of digital
circuits
n-region n-region
p-region
=> n-type regions isolated in p-type substrate and vice versa
EE40 Fall Slide 323 Prof. Chang-Hasnain EE40 Fall Slide 324 Prof. Chang-Hasnain
2006 2006
Power Conversion Circuits Rectifier Equivalent circuit
• Converting AC to DC
• Potential applications: Charging a battery V>0.6V, diode = short circuit
Vo=VI-0.6
V<0.6V, diode = open circuit
Vo=0
VI=Vm sin (ωt) R Vo
EE40 Fall Slide 325 Prof. Chang-Hasnain EE40 Fall Slide 326 Prof. Chang-Hasnain
2006 2006
+
Vm sin (ωt)
C R V0
-
Current
charging
up
capacitor
EE40 Fall Slide 327 Prof. Chang-Hasnain EE40 Fall Slide 328 Prof. Chang-Hasnain
2006 2006
Level Shift Circuit Voltage Doubler Circuit
- VC1 + - VC1 +
VIN
+
+
+
+
C1 C1
+ VC21 -
VIN VOUT VIN VIN C2 VOUT
R1 R1 VOUT R2
- - -
- - -
t
VOUT
Level Shift Peak Detect
Si ion
(charge
+4 q)
We must either:
Donors donate mobile electrons (and thus “n-type” silicon)
1) Chemically modify the Si to produce free carriers (permanent) or Example: add arsenic (As) to the silicon crystal:
2) Electrically “induce” them by the field effect (switchable)
or
EE40 Fall Slide 335 Prof. Chang-Hasnain EE40 Fall Slide 336 Prof. Chang-Hasnain
2006 2006
Doping with Acceptors (p-type) Doping
Shockley’s Parking Garage Analogy for Conduction in Si Shockley’s Parking Garage Analogy for Conduction in Si
If the lower floor is full and top one is empty, no traffic is If one car is moved upstairs, it can move AND THE HOLE
possible. Analog of an insulator. All electrons are ON THE LOWER FLOOR CAN MOVE. Conduction is
locked up. possible. Analog to warmed-up semiconductor. Some
electrons get free (and leave “holes” behind).
EE40 Fall Slide 339 Prof. Chang-Hasnain EE40 Fall Slide 340 Prof. Chang-Hasnain
2006 2006
Shockley’s Parking Garage Analogy for Conduction in Si
Shockley’s Parking Garage Analogy for Conduction in Si
If an extra car is “donated” to the upper floor, it can move. If a car is removed from the lower floor, it leaves a HOLE
Conduction is possible. Analog to N-type semiconductor. which can move. Conduction is possible. Analog to P-type
(An electron donor is added to the crystal, creating free semiconductor. (Acceptors are added to the crystal,
electrons). “consuming” bonding electrons,creating free holes).
EE40 Fall Slide 341 Prof. Chang-Hasnain EE40 Fall Slide 342 Prof. Chang-Hasnain
2006 2006
If we add an impurity with a deficit of electrons (e.g. boron) then aluminum ? aluminum
bonding electrons are missing (holes), and the resulting holes
can move around … again a pretty good conductor (p-type wire
silicon) n p
EE40 Fall Slide 343 Prof. Chang-Hasnain EE40 Fall Slide 344 Prof. Chang-Hasnain
2006 2006
The pn Junction Diode Depletion Region
Schematic diagram Circuit symbol • When the junction is first formed, mobile carriers diffuse
across the junction (due to the concentration gradients)
ID
p-type n-type – Holes diffuse from the p side to the n side,
leaving behind negatively charged immobile acceptor
net acceptor net donor
+ VD – ions
concentration NA concentration ND
cross-sectional area AD
– Electrons diffuse from the n side to the p side,
leaving behind positively charged immobile donor ions
Physical structure: ID acceptor ions donor ions
(an example) + metal
– +
SiO2 SiO2 – +
p – + n
p-type Si – +
VD – +
For simplicity, assume that
n-type Si A region depleted of mobile carriers is formed at the junction.
the doping profile changes
abruptly at the junction. • The space charge due to immobile ions in the depletion region
– metal establishes an electric field that opposes carrier diffusion.
EE40 Fall Slide 345 Prof. Chang-Hasnain EE40 Fall Slide 346 Prof. Chang-Hasnain
2006 2006
VD (Volts) VD (Volts)
* Hence, the width of the depletion region decreases. * Hence, the width of the depletion region increases.
EE40 Fall Slide 351 Prof. Chang-Hasnain EE40 Fall Slide 352 Prof. Chang-Hasnain
2006 2006
Optoelectronic Diodes Example: Photodiode
• Light incident on a pn junction generates electron-hole pairs • An intrinsic region is placed
• Carriers are generated in the depletion region as well as n- between the p-type and n-type
doped and p-doped quasi-neutral regions. regions
• The carriers that are generated in the quasi-neutral regions Wj ≅ Wi-region, so that most of the
diffuse into the depletion region, together with the carriers electron-hole pairs are generated
generated in the depletion region, are swept across the in the depletion region
junction by the electric field
faster response time
(~10 GHz operation)
ID (A)
in the dark
• This results in an additional component of current flowing in
the diode: qVD kT VD (V)
I D = I S (e − 1) − I optical operating point
where Ioptical is proportional to the intensity of the light with incident light
EE40 Fall Slide 353 Prof. Chang-Hasnain EE40 Fall Slide 354 Prof. Chang-Hasnain
2006 2006
• Advantages !!
Spontaneous Emission Stimulated Emission
• Confines both the carriers
Laser the photons Refractive
Index profile
Engineering
5x 6nm QWs
(30 nm) Hence, the laser has a threshold !!
R2= 99.75%
EE40 Fall Slide 361 Prof. Chang-Hasnain EE40 Fall Slide 362 Prof. Chang-Hasnain
2006 2006
EE40 Fall Slide 363 Prof. Chang-Hasnain EE40 Fall Slide 364 Prof. Chang-Hasnain
2006 2006
MOSFET Terminals MOSFET Structure
• The voltage applied to the GATE terminal determines whether DEVICE IN CROSS-SECTION
current can flow between the SOURCE & DRAIN terminals. “Metal” “Semiconductor”
“Oxide”
– For an n-channel MOSFET, the SOURCE is biased at a lower G “Metal” gate (Al or Si)
potential (often 0 V) than the DRAIN D
(Electrons flow from SOURCE to DRAIN when VG > VT) S
gate
– For a p-channel MOSFET, the SOURCE is biased at a higher oxide insulator
potential (often the supply voltage VDD) than the DRAIN n n
(Holes flow from SOURCE to DRAIN when VG < VT ) P
• The BODY terminal is usually connected to a fixed potential. • In the absence of gate voltage, no current can flow between S and D.
– For an n-channel MOSFET, the BODY is connected to 0 V
• Above a certain gate to source voltage Vt (the “threshold”), electrons are
– For a p-channel MOSFET, the BODY is connected to VDD induced at the surface beneath the oxide. (Think of it as a capacitor.)
• These electrons can carry current between S and D if a voltage is applied.
EE40 Fall Slide 365 Prof. Chang-Hasnain EE40 Fall Slide 366 Prof. Chang-Hasnain
2006 2006
n+ n+
– Resistance RDS between SOURCE & DRAIN depends on VGS
S S
• RDS is lowered as VGS increases above VT oxide thickness ≡ tox
p-type Si
NMOSFET Example:
PMOS G G ID
p+ poly-Si VGS = 2 V
p+ p+ S S VGS = 1 V > VT
VDS
n-type Si
Inversion charge density Qi(x) = -Cox[VGS-VT-V(x)]
IDS = 0 if VGS < VT where Cox ≡ εox / tox
EE40 Fall Slide 367 Prof. Chang-Hasnain EE40 Fall Slide 368 Prof. Chang-Hasnain
2006 2006
Sheet Resistance Revisited MOSFET as a Controlled Resistor (cont’d)
Consider a sample of n-type semiconductor: V DS
V
ID =
I _ R DS
+ L /W L /W
R DS = R s ( L / W ) = =
W µ n Qi µ C (V − V − V DS )
t n ox GS T
homogeneously doped sample
2
average value
W V of V(x)
L I D = µnCox (VGS − VT − DS )VDS
L 2
ρ 1 1 1
Rs = = = =
t σt qµn nt µnQn We can make RDS low by
• applying a large “gate drive” (VGS − VT)
where Qn is the charge per unit area
• making W large and/or L small
EE40 Fall Slide 369 Prof. Chang-Hasnain EE40 Fall Slide 370 Prof. Chang-Hasnain
2006 2006
VGS > VT :
VDS > VGS–VT
VDS ≈ 0 I D = WQinv v
= WQ inv µ n E As VDS increases above VGS–VT ≡ VDSAT,
V the length of the “pinch-off” region ∆L increases:
VDS > 0 = WQ inv µ n DS • “extra” voltage (VDS – VDsat) is dropped across the distance ∆L
(small) L • the voltage dropped across the inversion-layer “resistor” remains VDsat
⇒ the drain current ID saturates
Average electron velocity v is proportional to lateral electric field E Note: Electrons are swept into the drain by the E-field when they enter the pinch-off region.
EE40 Fall Slide 371 Prof. Chang-Hasnain EE40 Fall Slide 372 Prof. Chang-Hasnain
2006 2006
Summary of ID vs. VDS N-MOS I-V Characteristics
• As VDS increases, the inversion-layer charge density at At low VDS we have:
the drain end of the channel is reduced; therefore, ID
ID vs VD at low VDS
does not increase linearly with VDS. W VDS W
ID = = µ n Cox (VGS − VT ) ⋅ VDS
iD(mA) L R L
• When VDS reaches VGS − VT, the channel is “pinched off” VGS = 2 .5V
at the drain end, and ID saturates (i.e. it does not [ Note that this also follows from our
VGS = 1.5V
4 previous analysis where we had :
increase with further increases in VDS). 3 VGS = 1 V
2 I = q W t µn n V/L = Qn µn W/L V
VGS 1 VGS < 0.5
+ VD
because Q= COX (VGS – VT) ]
0 0.5
VDS > VGS - VT
– G
W
D
I DSAT = µ nCox (VGS − VT )2
S 2L At high drain voltage the current stops rising (saturates) due to:
n+ -
VGS - VT
+
n+ • Voltage increase by VDS along channel reduces local excess
gate voltage even to zero (Pinch-Off).
• Electrons reach their velocity saturation limit
pinch-off region
EE40 Fall Slide 373 Prof. Chang-Hasnain EE40 Fall Slide 374 Prof. Chang-Hasnain
2006 2006
At low electric fields, the average speed of But at high electric fields, the average speed
carriers is proportional to the field with of carriers is NOT proportional to the field;
proportionality constant µ; In fact drift velocity = that is the mobility concept fails. In fact
µpE for holes = - µnE for electrons : velocity saturates at 107 cm/sec = 100 km/sec
for both electrons and holes:
Example: µn= 1000 cm2/v-sec, (or 10Km2/KV-sec)
µp= 500 cm2/v-sec This saturation is
observable directly in the
<v> (Km/s) “resistance” of a silicon
resistor at high fields
|<v>| (Km/s) 100 (10KV/cm = 1V/µm)
100 I
10 20 E (KV/cm)
V
10 20 E (KV/cm)
EE40 Fall Slide 375 Prof. Chang-Hasnain EE40 Fall Slide 376 Prof. Chang-Hasnain
2006 2006
ID vs. VDS Characteristics Channel-Length Modulation
The MOSFET ID-VDS curve consists of two regions: If L is small, the effect of ∆L to reduce the inversion-layer
“resistor” length is significant
1) Resistive or “Triode” Region: 0 < VDS < VGS − VT → ID increases noticeably with ∆L (i.e. with VDS)
W VDS ID
I D = kn′ V − V − VDS
L 2
GS T ID = ID′(1 + λVDS)
k n′ W
I DSAT = (VGS − VT )2 VDS
2 L
where k n′ = µ n C ox “CUTOFF” region: VG < VT
EE40 Fall Slide 377 Prof. Chang-Hasnain EE40 Fall Slide 378 Prof. Chang-Hasnain
2006 2006
• Boundary v − V = v W KP
GS t DS K=
L 2
EE40 Fall Slide 379 Prof. Chang-Hasnain EE40 Fall Slide 380 Prof. Chang-Hasnain
2006 2006
MOSFET Bias Circuits
• PMOS: Three regions of operation (interchange • Use load line to find Quiescent operating point.
> and < from NMOS) • Remember no current flow through the gate.
Fixed-plus Self-Bias CKT
– VDS and VGS Normally negative values VDD VDD
– VGS>Vt :cut off mode, IDS=0 for any VDS
– VGS<Vt :transistor is turned on
• VDS> VGS-Vt: Triode Region iD = K 2(vGS − Vt )vDS − vDS 2 RD RD
• VDS< VGS-Vt: Saturation Region iD = K 2(vGS − Vt ) 2 R1
• Boundary vGS − Vt = vDS W KP VG+vin
K=
L 2
R2
RS
EE40 Fall Slide 381 Prof. Chang-Hasnain EE40 Fall Slide 382 Prof. Chang-Hasnain
2006 2006
EE40 Fall Slide 383 Prof. Chang-Hasnain EE40 Fall Slide 384 Prof. Chang-Hasnain
2006 2006
Step 1: find Q point Load line
R2
VG = VDD VDD
R1 + R2
VGS = VG − I D RS
VDD = I D ( RD + RS ) + VDS RD C
R1
+
C VG RL vo
VDS -
+ +
v(t) vin R2
- RS C
-
EE40 Fall Slide 385 Prof. Chang-Hasnain EE40 Fall Slide 386 Prof. Chang-Hasnain
2006 2006
VDD
R2
VG = VDD VDD
R1 + R2
VGS = VG − I D RS
VDD = I D RS + VDS
R1
C
VG C
+ + +
v(t) vin R2
- RS RL vo
- -
EE40 Fall Slide 389 Prof. Chang-Hasnain EE40 Fall Slide 390 Prof. Chang-Hasnain
2006 2006
VDD
RD C
RL′ =
1 For output impedance Rout: +
rd −1 + RS −1 + RL −1 1. Turn off all independent RL vo
VG
vgs = vin − vo sources. -
vo = g m vgs RL′ 2. Take away RL
vin = vgs (1 + g m RL′ ) 3. Add Vx and find ix
vx = vs , vg = 0, vgs = −vx + + C
vo g m RL′ v(t) vin
Av = = rd Rs v - RS
vin 1 + g m RL′ Rs′ =
rd + Rs Rs′
(
, ix = x − g m (−vx ) = vx Rs′−1 + g m ) -
Rin =
vin RR
= 1 2 1 -VSS
Rout =
iin R1 + R2 g m + rd −1 + Rs −1
EE40 Fall Slide 391 Prof. Chang-Hasnain EE40 Fall Slide 392 Prof. Chang-Hasnain
2006 2006
Step 1: find Q point Load line
VDD
VGS = 0 − I D RS + VSS The only difference in all three circuits are
VDD + VSS = I D ( RD + RS ) + VDS the intercepts at the axes.
RD C Again from load lines, we get ID and
hence gm and rd
+
VG RL vo
-
+ + C
v(t) vin
- - RS
-VSS
EE40 Fall Slide 393 Prof. Chang-Hasnain EE40 Fall Slide 394 Prof. Chang-Hasnain
2006 2006
Rin =
vin
=
1
vgs = − g m vgs R′ , but g m R′ ≠ 1∴ vgs = 0 – Supplementary Notes Chapter 4
iin g m + Rs −1 Rout = RD
EE40 Fall Slide 395 Prof. Chang-Hasnain EE40 Fall Slide 396 Prof. Chang-Hasnain
2006 2006
Digital Circuits – Introduction Analog vs. Digital Signals
• Analog: signal amplitude is continuous with time.
• Digital: signal amplitude is represented by a restricted • Most (but not all) observables are analog
set of discrete numbers.
– Binary: only two values are allowed to represent the signal: High
think of analog vs. digital watches
or low (i.e. logic 1 or 0).
• Digital word: but the most convenient way to represent & transmit
– Each binary digit is called a bit information electronically is to use digital signals
– A series of bits form a word think of telephony
• Byte is a word consisting of 8-bits
• Advantages of digital signal
– Digital signal is more resilient to noise can more easily Analog-to-digital (A/D) & digital-to-analog (D/A)
differentiate high (1) and low (0) conversion is essential (and nothing new)
• Transmission think of a piano keyboard
– Parallel transmission over a bus containing n wires.
• Faster but short distance (internal to a computer or chip)
– Serial transmission (transmit bits sequentially)
• Longer distance
EE40 Fall Slide 397 Prof. Chang-Hasnain EE40 Fall Slide 398 Prof. Chang-Hasnain
2006 2006
V in microvolts
40 40
20 20
the dynamic range of the signal in order to know the form
0 0 and the number of binary digits (“bits”) required.
-20 0 1 2 3 4 5 6 7 8 9 10 11 12 -20 0 1 2 3 4 5 6 7 8 9 10 11 12
-40 -40
-60 -60 Example 1: Voltage signal with maximum value 2 Volts
t in milliseconds
t in milliseconds
• Binary two (10) could represent a 2 Volt signal.
50 microvolt 220 Hz signal
60
• To encode the signal to an accuracy of 1 part in 64
V in microvolts
EE40 Fall Slide 401 Prof. Chang-Hasnain EE40 Fall Slide 402 Prof. Chang-Hasnain
2006 2006
EE40 Fall Slide 405 Prof. Chang-Hasnain EE40 Fall Slide 406 Prof. Chang-Hasnain
2006 2006
EE40 Fall Slide 407 Prof. Chang-Hasnain EE40 Fall Slide 408 Prof. Chang-Hasnain
2006 2006
Boolean algebras
EE40 Fall Slide 409 Prof. Chang-Hasnain EE40 Fall Slide 410 Prof. Chang-Hasnain
2006 2006
A A=0 A+ B
A A+ A =1 A
A AB B
A ⊕ B = AB + AB = ( A + B ) ( A + B ) = A B + A + B
Full square = complete set =1 Exclusive OR=yellow and blue part –
Yellow part = NOT(A) =A intersection/overlap part
White circle = A =exactly when only one of the input is true
EE40 Fall Slide 413 Prof. Chang-Hasnain EE40 Fall Slide 414 Prof. Chang-Hasnain
2006 2006
A B F
A B F 0 0 1
0 0 0 A
A “NAND” F F = A•B 0 1 1
“OR” F F = A+B 0 1 1 B 1 0 1
B 1 0 1 1 1 0
1 1 1
A B F
A B F
A 0 0 0 “XOR” A F F=A+B
0 0 0
“AND” F F = A•B 0 1 0 (exclusive OR) B
0 1 1
1 0 1
B 1 0 0
1 1 0
1 1 1
EE40 Fall Slide 417 Prof. Chang-Hasnain EE40 Fall Slide 418 Prof. Chang-Hasnain
2006 2006
A B F
“AND” A F F = A•B
0 0 0
0 1 0
B 1 0 0
1 1 1
EE40 Fall Slide 419 Prof. Chang-Hasnain EE40 Fall Slide 420 Prof. Chang-Hasnain
2006 2006
Logic Functions, Symbols, & Notation 2 Fan in/Fan out
A B F • Complex digital operations are formed with a
A 0 0 1 variety of gates interconnected to yield the
“NOR” F F = A+B 0 1 0
desired logic function.
B 1 0 0
1 1 0 • Sometimes a number of inputs are connected to
one gate input and output of a gate may be
A B F connected to a number of gates.
0 0 1
A • Fan-in: the maximum number of logic gates that
“NAND” F F = A•B 0 1 1
B 1 0 1 can be connected at the input of a gate without
1 1 0
altering its performance.
A B F
• Fan-out: the maximum number of logic gates
A 0 0 0 that can be connected to the output of a gate
“XOR” F F=A+B 0 1 1 without altering its performance.
(exclusive OR) B 1 0 1
1 1 0 • Typical fan-in and fan-out numbers are 3.
EE40 Fall Slide 421 Prof. Chang-Hasnain EE40 Fall Slide 422 Prof. Chang-Hasnain
2006 2006
G S VIN VOUT
Rp N: sat D
P: lin
D G
S
VIN VOUT VOUT VOUT A B D E
D VOL = 0 V VOH = VDD
N: lin
G
Rn P: sat
S
N: lin
P: off
0 VIN
Low static power consumption, since
VIN = VDD VIN = 0 V 0 VDD
one MOSFET is always off in steady state
EE40 Fall Slide 429 Prof. Chang-Hasnain EE40 Fall Slide 430 Prof. Chang-Hasnain
2006 2006
increasing
VIN
0 VOUT=VDSn 0 VOUT=VDSn
0 VDD 0 VDD
VDSp = - VDD VDSp = 0
EE40 Fall Slide 431 Prof. Chang-Hasnain EE40 Fall Slide 432 Prof. Chang-Hasnain
2006 2006
CMOS Inverter Load-Line Analysis: Region B CMOS Inverter Load-Line Analysis: Region D
V VDD V VDD
VDD/2 > VIN > VTn GS
p =V – VDD – |VTp| > VIN > VDD/2 GS
p =V –
IN -V – IN -V –
DD DD
VDSp=VOUT-VDD VDSp=VOUT-VDD
IDn=-IDp + IDn=-IDp +
+ +
VIN VOUT VIN VOUT
IDn=-IDp IDn=-IDp
0 VOUT=VDSn 0 VOUT=VDSn
0 VDD 0 VDD
EE40 Fall Slide 433 Prof. Chang-Hasnain EE40 Fall Slide 434 Prof. Chang-Hasnain
2006 2006
0 VOUT=VDSn
0 VDD
EE40 Fall Slide 435 Prof. Chang-Hasnain EE40 Fall Slide 436 Prof. Chang-Hasnain
2006 2006
The CMOS Inverter: Current Flow during Switching Power Dissipation due to Direct-Path Current
N: sat
VDD VDD
VOUT P: sat i VDD-VT
N: off S
vIN:
G
VDD P: lin C
VDD D VT
vIN i vOUT
0
G S
N: sat
P: lin
D Ipeak
D
G
VIN i VOUT S
i:
D A B D E
G
S N: lin
0
P: sat tsc
time
N: lin
P: off
0 VIN
0 VDD Energy consumed per switching period: Edp = t scVDD I peak
EE40 Fall Slide 437 Prof. Chang-Hasnain EE40 Fall Slide 438 Prof. Chang-Hasnain
2006 2006
RD
RD
F
F
A
A B
Truth Table Truth Table
A B F A B F
B 0 0 1 0 0 1
0 1 1 0 1 0
1 0 1 1 0 0
1 1 0 1 1 0
EE40 Fall Slide 439 Prof. Chang-Hasnain EE40 Fall Slide 440 Prof. Chang-Hasnain
2006 2006
N-Channel MOSFET Operation P-Channel MOSFET Operation
An NMOSFET is a closed switch when the input is high A PMOSFET is a closed switch when the input is low
A A
A B A B
B B
X Y X Y X Y X Y
Y = X if A and B Y = X if A and B
Y = X if A or B = (A + B) Y = X if A or B
= (AB)
NMOSFETs pass a “strong” 0 but a “weak” 1
PMOSFETs pass a “strong” 1 but a “weak” 0
EE40 Fall Slide 441 Prof. Chang-Hasnain EE40 Fall Slide 442 Prof. Chang-Hasnain
2006 2006
AN network
F(A1, A2, …, AN)
A1 B
A2 Pull-down
NMOSFETs only
…
AN network
EE40 Fall Slide 443 Prof. Chang-Hasnain EE40 Fall Slide 444 Prof. Chang-Hasnain
2006 2006
CMOS NOR Gate CMOS Pass Gate
VDD
A B F
0 0 1
0 1 0
A
A 1 0 0
1 1 0
B X Y Y = X if A
F
B A
A
EE40 Fall Slide 445 Prof. Chang-Hasnain EE40 Fall Slide 446 Prof. Chang-Hasnain
2006 2006