Micro Electronic Notes
Micro Electronic Notes
Lecture Notes
EECS 40
Introduction to Microelectronic Circuits
Prof. C. Chang-Hasnain
Spring 2007
EE40 Fall Slide 5 Prof. Chang-Hasnain EE40 Fall Slide 6 Prof. Chang-Hasnain
2006 2006
EE40 Fall Slide 7 Prof. Chang-Hasnain EE40 Fall Slide 8 Prof. Chang-Hasnain
2006 2006
Downloaded by Mowlid The harmonious ([email protected])
lOMoARcPSD|49320417
Electric Current
Definition: rate of positive charge flow
Symbol: i
Units: Coulombs per second Amperes (A)
Note: Current has polarity.
i = dq/dt where
q = charge (Coulombs)
t = time (in seconds)
André-Marie Ampère's
1775-1836
EE40 Fall Slide 9 Prof. Chang-Hasnain EE40 Fall Slide 10 Prof. Chang-Hasnain
2006 2006
2 cm
1 cm
C2
2. 105 electrons flow to the right (+x direction) every C1
10 cm
microsecond X
• Concept: Attributes:
As a positive charge q moves through a James Watt • Two terminals (points of connection)
1736 - 1819
drop in voltage v, it loses energy
• Mathematically described in terms of current
energy change = qv and/or voltage
rate is proportional to # charges/sec
• Cannot be subdivided into other elements
EE40 Fall Slide 15 Prof. Chang-Hasnain EE40 Fall Slide 16 Prof. Chang-Hasnain
2006 2006
Downloaded by Mowlid The harmonious ([email protected])
lOMoARcPSD|49320417
EE40 Fall Slide 17 Prof. Chang-Hasnain EE40 Fall Slide 18 Prof. Chang-Hasnain
2006 2006
−1 V vcd p = vi p = -vi
− − i i i i
b d
+ vbd − _ _
+ +
v v v v
_ + _ +
where v = voltage (V), i = current (A), and R = resistance (Ω) Werner von Siemens
1816-1892
EE40 Fall Slide 27 Prof. Chang-Hasnain EE40 Fall Slide 28 Prof. Chang-Hasnain
2006 2006
Downloaded by Mowlid The harmonious ([email protected])
lOMoARcPSD|49320417
EE40 Fall Slide 29 Prof. Chang-Hasnain EE40 Fall Slide 30 Prof. Chang-Hasnain
2006 2006
Passive? Active?
EE40 Fall Slide 33 Prof. Chang-Hasnain EE40 Fall Slide 34 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
_ _
i=0
b v b v
Vs>0 Vs<0
1. Plot the I-V characteristic for vs > 0. For what 2. Plot the I-V characteristic for vs < 0. For what
values of i does the source absorb power? For values of i does the source absorb power? For
what values of i does the source release power? what values of i does the source release power?
2. Repeat
Vs>0 (1)i<0for vs < 0.power; i>0 absorb power
release Vs<0 i>0 release power; i<0 absorb power
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
Downloaded by Mowlid The harmonious ([email protected])
lOMoARcPSD|49320417
I-V Characteristic of Ideal Voltage Source I-V Characteristic of Ideal Current Source
i i
a i i
+ +
Vab +_ vs v is
_ _
b v v
3. What is the I-V characteristic for an ideal wire? 1. Plot the I-V characteristic for is > 0. For what values
of v does the source absorb power? For what
values of v does the source release power?
Do not forget Vab=-Vba V>0 absorb power; V<0 release power
EE40 Fall Slide 37 Prof. Chang-Hasnain EE40 Fall Slide 38 Prof. Chang-Hasnain
2006 2006
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
Downloaded by Mowlid The harmonious ([email protected])
lOMoARcPSD|49320417
15 mA
3 formulations of KCL:
Current entering node = Current leaving node
1.
i1 = i2 2.
3.
EE40 Fall Slide 49 Prof. Chang-Hasnain EE40 Fall Slide 50 Prof. Chang-Hasnain
2006 2006
EE40 Fall Slide 51 Prof. Chang-Hasnain EE40 Fall Slide 52 Prof. Chang-Hasnain
2006 2006
Downloaded by Mowlid The harmonious ([email protected])
lOMoARcPSD|49320417
EE40 Fall Slide 57 Prof. Chang-Hasnain EE40 Fall Slide 58 Prof. Chang-Hasnain
2006 2006
Summary Chapter 2
• An electrical system can be modeled by an electric circuit • Outline
(combination of paths, each containing 1 or more circuit
elements) – Resistors in Series – Voltage Divider
– Lumped model
• The Current versus voltage characteristics (I-V plot) is – Conductances in Parallel – Current Divider
a universal means of describing a circuit element.
– Node-Voltage Analysis
• Kirchhoff’s current law (KCL) states that the algebraic
sum of all currents at any node in a circuit equals zero. – Mesh-Current Analysis
– Comes from conservation of charge – Superposition
• Kirchhoff’s voltage law (KVL) states that the algebraic – Thévenin equivalent circuits
sum of all voltages around any closed path in a circuit
equals zero. – Norton equivalent circuits
– Comes from conservation of potential energy – Maximum Power Transfer
EE40 Fall Slide 59 Prof. Chang-Hasnain EE40 Fall Slide 60 Prof. Chang-Hasnain
2006 2006
Downloaded by Mowlid The harmonious ([email protected])
lOMoARcPSD|49320417
R4
Rin
EE40 Fall Slide 67 Prof. Chang-Hasnain EE40 Fall Slide 68 Prof. Chang-Hasnain
2006 2006
Downloaded by Mowlid The harmonious ([email protected])
lOMoARcPSD|49320417
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 69 Prof. Chang-Hasnain EE40 Fall Slide 70 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 75 Prof. Chang-Hasnain EE40 Fall Slide 76 Prof. Chang-Hasnain
2006 2006
Downloaded by Mowlid The harmonious ([email protected])
lOMoARcPSD|49320417
ia ib
EE40 Fall Slide 81 Prof. Chang-Hasnain EE40 Fall Slide 82 Prof. Chang-Hasnain
2006 2006
i1 i2 i1+i2
EE40 Fall Slide 85 Prof. Chang-Hasnain EE40 Fall Slide 86 Prof. Chang-Hasnain
2006 2006
EE40 Fall Slide 87 Prof. Chang-Hasnain EE40 Fall Slide 88 Prof. Chang-Hasnain
2006 2006
Downloaded by Mowlid The harmonious ([email protected])
lOMoARcPSD|49320417
( ' &
a a
Set all independent sources to 0: network + iL + iL
of
sources vL RL iN RN vL RL
and
– –
resistors
b b
EE40 Fall Slide 93 Prof. Chang-Hasnain EE40 Fall Slide 94 Prof. Chang-Hasnain
2006 2006
EE40 Fall Slide 95 Prof. Chang-Hasnain EE40 Fall Slide 96 Prof. Chang-Hasnain
2006 2006
Downloaded by Mowlid The harmonious ([email protected])
lOMoARcPSD|49320417
dRL (RTh + RL )4
voc v
RN = RTh = ; iN = Th = isc
isc RTh (RTh + RL )2 − RL × 2(RTh + RL ) = 0
) & & *
RTh = RL
' $ %& "
EE40 Fall Slide 97 Prof. Chang-Hasnain EE40 Fall Slide 98 Prof. Chang-Hasnain
2006 2006
R1 R2
battery R1 R2 i1 i2
+
+ V i3 ix
V –
current detector R3 Rx
–
R3 Rx
variable resistor
Typically, R2 / R1 can be varied
from 0.001 to 1000 in decimal steps
EE40 Fall Slide 99 Prof. Chang-Hasnain EE40 Fall Slide 100 Prof. Chang-Hasnain
2006 2006
Downloaded by Mowlid The harmonious ([email protected])
lOMoARcPSD|49320417
Rb Ra a c Ra (Rb + Rc)
R3 b Rbc = = R2 + R3
Ra + Rb + Rc
c c R1 R2
RbRc RaRc RaRb Rb (Ra + Rc)
R1 = R2 = R3 = Rca = = R1 + R3
Ra + Rb + Rc Ra + Rb + Rc Ra + Rb + Rc R3
Ra + Rb + Rc
Brain Teaser Category: Important for motors and electrical utilities. c
EE40 Fall Slide 103 Prof. Chang-Hasnain EE40 Fall Slide 104 Prof. Chang-Hasnain
2006 2006
Downloaded by Mowlid The harmonious ([email protected])
lOMoARcPSD|49320417
EE40 Fall Slide 105 Prof. Chang-Hasnain EE40 Fall Slide 106 Prof. Chang-Hasnain
2006 2006
Example: Ix
i∆
20 Ω +
10 Ω Vx
20 Ω
+ -
2.4 A – 80 V
–
+ 5i∆
Since there is no independent source and we cannot
arbitrarily turn off the dependence source, we can add a
voltage source Vx across terminals a-b and measure the
current through this terminal Ix . Rth= Vx/ Ix
EE40 Fall Slide 109 Prof. Chang-Hasnain EE40 Fall Slide 110 Prof. Chang-Hasnain
2006 2006
EE40 Fall Slide 111 Prof. Chang-Hasnain EE40 Fall Slide 112 Prof. Chang-Hasnain
2006 2006
Downloaded by Mowlid The harmonious ([email protected])
lOMoARcPSD|49320417
A more rigorous derivation Example: Current, Power & Energy for a Capacitor
t
ic 1 i(t)
v(t ) = i (τ )dτ + v(0)
This derivation holds + v (V) C0 v(t)
+
– 10 µF
vc 1
independent of the circuit! –
t (µs)
0 1 2 3 4 5
t = t Final v = VFinal dQ v = VFinal i (µA) vc and q must be continuous
w= v c ⋅ ic dt = vc dt = v c dQ dv functions of time; however,
dt i =C ic can be discontinuous.
t = t Initial v = VInitial v = VInitial dt
0 t (µs)
v = VFinal 1 2 3 4 5
1 1
w= Cv c dv c = CVFinal2 − CVInitial2 Note: In “steady state”
(dc operation), time
v = VInitial 2 2
derivatives are zero
C is an open circuit
EE40 Fall Slide 119 Prof. Chang-Hasnain EE40 Fall Slide 120 Prof. Chang-Hasnain
2006 2006
Downloaded by Mowlid The harmonious ([email protected])
lOMoARcPSD|49320417
Capacitors in Series
p (W) i(t) + v1(t) – + v2(t) –
+
v(t) – 10 µF +
C1 C2
t (µs) i(t) i(t) v(t)=v1(t)+v2(t)
0 1 2 3 4 5 Ceq
–
p = vi
w (J) t
1
w = pdτ = Cv 2
2
0 1 1 1
0 1 2 3 4 5
t (µs) = +
Ceq C1 C2
EE40 Fall Slide 121 Prof. Chang-Hasnain EE40 Fall Slide 122 Prof. Chang-Hasnain
2006 2006
Summary Chapter 4
Capacitor Inductor • OUTLINE
dv 1 di 1
i = C ; w = Cv 2 v = L ; w = Li 2 – First Order Circuits
dt 2 dt 2
• RC and RL Examples
v cannot change instantaneously i cannot change instantaneously • General Procedure
i can change instantaneously v can change instantaneously – RC and RL Circuits with General Sources
Do not short-circuit a charged Do not open-circuit an inductor with • Particular and complementary solutions
capacitor (-> infinite current!) current (-> infinite voltage!) • Time constant
n
1 n
1 n ind.’s in series: Leq = Li – Second Order Circuits
n cap.’s in series: =
Ceq i =1 Ci i =1 • The differential equation
n
n 1 1 • Particular and complementary solutions
=
n cap.’s in parallel: Ceq = Ci n ind.’s in parallel: L i =1 Li • The natural frequency and the damping ratio
eq
i =1
• 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 129 Prof. Chang-Hasnain EE40 Fall Slide 130 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 131 Prof. Chang-Hasnain EE40 Fall Slide 132 Prof. Chang-Hasnain
2006 2006
Downloaded by Mowlid The harmonious ([email protected])
lOMoARcPSD|49320417
EE40 Fall Slide 133 Prof. Chang-Hasnain EE40 Fall Slide 134 Prof. Chang-Hasnain
2006 2006
Ro +
Ro t=0 Vo +
− C v R
+
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 135 Prof. Chang-Hasnain EE40 Fall Slide 136 Prof. Chang-Hasnain
2006 2006
Downloaded by Mowlid The harmonious ([email protected])
lOMoARcPSD|49320417
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 137 Prof. Chang-Hasnain EE40 Fall Slide 138 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 139 Prof. Chang-Hasnain EE40 Fall Slide 140 Prof. Chang-Hasnain
2006 2006
Downloaded by Mowlid The harmonious ([email protected])
lOMoARcPSD|49320417
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 141 Prof. Chang-Hasnain EE40 Fall Slide 142 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 145 Prof. Chang-Hasnain EE40 Fall Slide 146 Prof. Chang-Hasnain
2006 2006
EE40 Fall Slide 151 Prof. Chang-Hasnain EE40 Fall Slide 152 Prof. Chang-Hasnain
2006 2006
Downloaded by Mowlid The harmonious ([email protected])
lOMoARcPSD|49320417
The Particular Solution: F(t) Constant The Particular Solution: F(t) Sinusoid
dxP (t )
dx (t ) xP (t ) + τ = FA sin( wt ) + FB cos( wt )
xP (t ) + τ P = F dt
dt
Guess a solution Guess a solution xP (t ) = A sin( wt ) + B cos( wt )
xP (t ) = A + Bt d ( A sin( wt ) + B cos( wt ))
( A + Bt ) + τ
d ( A + Bt )
=F
( A sin( wt ) + B cos( wt )) + τ = FA sin( wt ) + FB cos( wt )
dt dt
Equation holds for all time ( A − τω B − FA ) sin(ωt ) + ( B + τω A − FB ) cos(ωt ) = 0
( A + Bt ) + τB = F
and time variations are ( A − τω B − FA ) = 0 ( B + τω A − FB ) = 0 Equation holds for all time and
independent and thus each time variations are independent
( A + τB − F ) + ( B )t = 0 F + τω F
B=−
τω FA − FB and thus each time variation
time variation coefficient is A= A 2 B
(τω ) + 1 (τω ) 2 + 1 coefficient is individually zero
individually zero
1 τω 1
xP (t ) = sin(ωt ) + cos(ωt )
2 2
( B) = 0 ( A + τB − F ) = 0 (τω ) + 1 (τω ) + 1 (τω ) 2 + 1
B=0 A= F 1
= cos(ωt − θ ); where θ = tan −1 (τω )
2
(τω ) + 1
EE40 Fall Slide 153 Prof. Chang-Hasnain EE40 Fall Slide 154 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 F + τω F τω FA − FB
Guess a solution xP (t ) = A sin( wt ) + B cos( wt ) A= A 2 B B=−
(τω ) + 1 (τω ) 2 + 1
xP (t ) = A + Be −αt
d ( A + Be −αt )
( 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 155 Prof. Chang-Hasnain EE40 Fall Slide 156 Prof. Chang-Hasnain
2006 2006
Downloaded by Mowlid The harmonious ([email protected])
lOMoARcPSD|49320417
EE40 Fall Slide 157 Prof. Chang-Hasnain EE40 Fall Slide 158 Prof. Chang-Hasnain
2006 2006
EE40 Fall Slide 161 Prof. Chang-Hasnain EE40 Fall Slide 162 Prof. Chang-Hasnain
2006 2006
EE40 Fall Slide 163 Prof. Chang-Hasnain EE40 Fall Slide 164 Prof. Chang-Hasnain
2006 2006
Downloaded by Mowlid The harmonious ([email protected])
lOMoARcPSD|49320417
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 165 Prof. Chang-Hasnain EE40 Fall Slide 166 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 167 Prof. Chang-Hasnain EE40 Fall Slide 168 Prof. Chang-Hasnain
2006 2006
Downloaded by Mowlid The harmonious ([email protected])
lOMoARcPSD|49320417
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 169 Prof. Chang-Hasnain EE40 Fall Slide 170 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 171 Prof. Chang-Hasnain EE40 Fall Slide 172 Prof. Chang-Hasnain
2006 2006
Downloaded by Mowlid The harmonious ([email protected])
lOMoARcPSD|49320417
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 175 Prof. Chang-Hasnain EE40 Fall Slide 176 Prof. Chang-Hasnain
2006 2006
Downloaded by Mowlid The harmonious ([email protected])
lOMoARcPSD|49320417
Example 1: 2nd Order RLC Circuit Example 2: 2nd Order RLC Circuit
t=0 t=0
R R
+ +
Vs C L Vs C L
- -
EE40 Fall Slide 177 Prof. Chang-Hasnain EE40 Fall Slide 178 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
τF − F
time variation coefficient is B = − A2 B Z=z∠θ
τ +1 τ +1 1 = 1e j 0 = 1∠0°
individually zero • Exponential Form:
π
Phasors (vectors that rotate in the complex Z = Z e = ze jθ jθ
j = 1e
j
2
= 1∠90°
plane) are a clever alternative.
EE40 Fall Slide 179 Prof. Chang-Hasnain EE40 Fall Slide 180 Prof. Chang-Hasnain
2006 2006
Downloaded by Mowlid The harmonious ([email protected])
lOMoARcPSD|49320417
EE40 Fall Slide 181 Prof. Chang-Hasnain EE40 Fall Slide 182 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 183 Prof. Chang-Hasnain EE40 Fall Slide 184 Prof. Chang-Hasnain
2006 2006
Downloaded by Mowlid The harmonious ([email protected])
lOMoARcPSD|49320417
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 185 Prof. Chang-Hasnain EE40 Fall Slide 186 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 187 Prof. Chang-Hasnain EE40 Fall Slide 188 Prof. Chang-Hasnain
2006 2006
Downloaded by Mowlid The harmonious ([email protected])
lOMoARcPSD|49320417
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 189 Prof. Chang-Hasnain EE40 Fall Slide 190 Prof. Chang-Hasnain
2006 2006
2
Z1 / Z 2 = ( z1 / z2 )e j (θ1 −θ2 ) = ( z1 / z2 )∠(θ1 − θ 2 )
EE40 Fall Slide 191 Prof. Chang-Hasnain EE40 Fall Slide 192 Prof. Chang-Hasnain
2006 2006
Downloaded by Mowlid The harmonious ([email protected])
lOMoARcPSD|49320417
EE40 Fall Slide 193 Prof. Chang-Hasnain EE40 Fall Slide 194 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 195 Prof. Chang-Hasnain EE40 Fall Slide 196 Prof. Chang-Hasnain
2006 2006
Downloaded by Mowlid The harmonious ([email protected])
lOMoARcPSD|49320417
EE40 Fall Slide 197 Prof. Chang-Hasnain EE40 Fall Slide 198 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
jω dt
dt jω V = jωL I
EE40 Fall Slide 199 Prof. Chang-Hasnain EE40 Fall Slide 200 Prof. Chang-Hasnain
2006 2006
Downloaded by Mowlid The harmonious ([email protected])
lOMoARcPSD|49320417
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
lead Behind
• What is I? 4
• What is V? 2
0 t
• 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 201 Prof. Chang-Hasnain EE40 Fall Slide 202 Prof. Chang-Hasnain
2006 2006
EE40 Fall Slide 203 Prof. Chang-Hasnain EE40 Fall Slide 204 Prof. Chang-Hasnain
2006 2006
Downloaded by Mowlid The harmonious ([email protected])
lOMoARcPSD|49320417
EE40 Fall Slide 205 Prof. Chang-Hasnain EE40 Fall Slide 206 Prof. Chang-Hasnain
2006 2006
+ 20kΩ +
+ +
10V ∠ 0° VC 2.65kΩ ∠ -90° 10V ∠ 0° 1µF VC
- - - -
EE40 Fall Slide 211 Prof. Chang-Hasnain EE40 Fall Slide 212 Prof. Chang-Hasnain
2006 2006
Downloaded by Mowlid The harmonious ([email protected])
lOMoARcPSD|49320417
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
Downloaded by Mowlid The harmonious ([email protected])
lOMoARcPSD|49320417
EE40 Fall Slide 217 Prof. Chang-Hasnain EE40 Fall Slide 218 Prof. Chang-Hasnain
2006 2006
EE40 Fall Slide 223 Prof. Chang-Hasnain EE40 Fall Slide 224 Prof. Chang-Hasnain
2006 2006
Downloaded by Mowlid The harmonious ([email protected])
lOMoARcPSD|49320417
Logarithmic Measures for Voltage or Current Logarithmic Measures for Voltage or Current
Note that the voltage and current expressions are just
like the power expression except that they have 20 as The gain produced by an amplifier or the loss of a filter
the multiplier instead of 10 because power is is often specified in decibels.
proportional to the square of the voltage or current.
The input voltage (current, or power) is taken as the
reference value of voltage (current, or power) in the
Exercise: How many decibels larger is the voltage of a decibel defining expression:
9-volt transistor battery than that of a 1.5-volt AA
battery? Let Vreference = 1.5. The ratio in decibels is Voltage gain in dB = 20 log10(Voutput/Vinput)
Current gain in dB = 20log10(Ioutput/Iinput
20 log10(9/1.5) = 20 log10(6) = 16 dB. Power gain in dB = 10log10(Poutput/Pinput)
VIN
+
AVT C which the power from the circuit is half that at the
+
VOUT
R1 VT −
peak of resonance.
• Such frequencies are known as “half-power
frequencies”, and the power output there referred to
VOUT A = 100 the peak power (at the resonant frequency) is
TransferFunction =
VIN • 10log10(Phalf-power/Presonance) = 10log10(1/2) = -3 dB.
R1 = 100,000 Ohms
VOUT AZ c R2 = 1000 Ohms
=
VIN Z R + Zc
C = 10 uF
VOUT A(1 / jwC ) A
= =
VIN R2 + 1 / jωC ) (1 + jωR2C )
EE40 Fall Slide 231 Prof. Chang-Hasnain EE40 Fall Slide 232 Prof. Chang-Hasnain
2006 2006
Downloaded by Mowlid The harmonious ([email protected])
lOMoARcPSD|49320417
Magnitude
Phase
VOUT A
=
A = 100 VIN (1 + jωR2C ) A = 100
R2 = 1000 Ohms 180 R2 = 1000 Ohms
C = 10 uF 90 C = 10 uF
1000
A wp = 1/(R2C) = 100 0
100 VV OUT
=
A
100 1000
IN (1 + jωR2C )
100 100 1 10 Radian
Actual value = | 1 + j | = -90 Frequency
10 2
-180 -45o
1 Actual value is
1 10 100 1000 Radian
0.1 Frequency 100∠0 100∠0
Phase{ } = Phase{ } = 0 − 45 = −45
|1+ j | 2∠45
EE40 Fall Slide 233 Prof. Chang-Hasnain EE40 Fall Slide 234 Prof. Chang-Hasnain
2006 2006
VOUT
=
A • Transfer function is a function of frequency
VIN (1 + jωR2C )
Magnitude in dB
20
0 Vout Vout
1 10 100 1000 Radian
H( f ) = = ∠ (θ out − θin )
-20
Vin Vin
Frequency
H(f) = H ( f )∠θ
Note: Magnitude in dB = 20 log10(VOUT/VIN)
EE40 Fall Slide 235 Prof. Chang-Hasnain EE40 Fall Slide 236 Prof. Chang-Hasnain
2006 2006
Downloaded by Mowlid The harmonious ([email protected])
lOMoARcPSD|49320417
EE40 Fall Slide 237 Prof. Chang-Hasnain EE40 Fall Slide 238 Prof. Chang-Hasnain
2006 2006
VC 1 ( jωC ) 1 1
∠ − tan −1 (ω RC )
VR R jω RC (ω RC ) ∠ π − tan −1 ω RC
H(f) = = = = H(f) = = = = ( )
V 1 ( jωC ) + R 1 + jω RC 1 + (ω RC )
2 V 1 ( jωC ) + R 1 + jω RC 1 + (ω RC )
2 2
1 1 f
Let ωB = and f B =
RC 2π RC fB π f
H( f ) = ,θ = − tan −1
H(f) = H ( f )∠θ f
2 2 fB
1+
1 −1 f fB VR
H( f ) = , θ = − tan
f
2 fB
1+ 1
fB R H ( fB ) = = 2−1/ 2 R
+ + 2 + +
1 V C VC V C VC
H ( fB ) = = 2−1/ 2 H ( fB ) 1
2 - - 20 log10 = 20(− ) log10 2 = −3 dB - -
H (0) 2
H ( fB ) 1
20 log10 = 20(− ) log10 2 = −3 dB
H (0) 2
EE40 Fall Slide 239 Prof. Chang-Hasnain EE40 Fall Slide 240 Prof. Chang-Hasnain
2006 2006
Downloaded by Mowlid The harmonious ([email protected])
lOMoARcPSD|49320417
EE40 Fall Slide 241 Prof. Chang-Hasnain EE40 Fall Slide 242 Prof. Chang-Hasnain
2006 2006
HR = R / (R + 1/jωC) HR = R / (R + jωL)
HC = (1/jωC) / (R + 1/jωC) HL = jωL / (R + jωL)
EE40 Fall Slide 243 Prof. Chang-Hasnain EE40 Fall Slide 244 Prof. Chang-Hasnain
2006 2006
Downloaded by Mowlid The harmonious ([email protected])
lOMoARcPSD|49320417
+
VIN
VOUT
−
Voltage divider
Band Pass
Z = R + 1/jωC + jωL VOUT
=
ZR Resonance quality factor
VIN Z L + Z R + ZC
ωL
R HBP = R / Z Substitute branch elements Q=
Low C R
VOUT R
=
VS + Pass Band HLP = (1/jωC) / Z VIN jω L + R + 1 / jω C
Ratio of reactance to resistance
–
Reject
High L HHP = jωL / Z Arrange in resonance form Closely related to number
Pass VOUT R of round trip cycles before
HBR = HLP + HHP VIN
=
R + j (ωL − 1 / ωC )
1/e decay.
Bandwidth is f0/Q
Maximum when w2 = 1/(LC)
EE40 Fall Slide 247 Prof. Chang-Hasnain EE40 Fall Slide 248 Prof. Chang-Hasnain
2006 2006
Downloaded by Mowlid The harmonious ([email protected])
lOMoARcPSD|49320417
+
IIN
VOUT
EE40 Fall Slide 253 Prof. Chang-Hasnain EE40 Fall Slide 254 Prof. Chang-Hasnain
2006 2006
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
Downloaded by Mowlid The harmonious ([email protected])
lOMoARcPSD|49320417
R2 = 0
v1 = v2 , i1 = 0 → i3 = 0
R1 → ∞
(vin − v1 )
(v − v ) (v − 0) i3 = → v1 = v2 = vin → i4 = 0 → i5 = 0
i= 0 2 = 2 R
R2 R1 (v − v )
i 5 = 0 2 → v0 = v2 = vin
vo ( R1 + R2 ) R R
A= = = 1+ 2 = 1 vo
vin R1 R1 A= = 1 , Rin → ∞
vin
EE40 Fall Slide 263 Prof. Chang-Hasnain EE40 Fall Slide 264 Prof. Chang-Hasnain
2006 2006
Downloaded by Mowlid The harmonious ([email protected])
lOMoARcPSD|49320417
Example 1 Example 2
• Switch is closed • Design an analog front end v1
+
circuit to an instrument system vin c v0
_
– Requires to work with 3 full-scale of v2
2 i5 R v1 = v2 = 0 , i1 = 0 → i3 = 0 input signals (by manual switch): vb b RL
2
0 ±1, 0 ±10, 0 ±100 V R2
i4
R v2 i 2 _ (v − v ) (v − v ) va a
v0 i4 = in 2 = i 5 = − 0 2 – For each input range, the output R1
R R needs to be 0 ±10 V
+
i3 v1 i 1 v0 = −vin – The input resistance is 1MΩ
R RL
vin +- vo R2
A= = −1 , Rin = R vo = (1 + )v1
vin 2 R1
v1 = vin Switch at c
Ra + Rb
v1 = vin Switch at b
Ra + Rb + Rc
Ra
v1 = vin Switch at a
Ra + Rb + Rc
EE40 Fall Slide 265 Prof. Chang-Hasnain EE40 Fall Slide 266 Prof. Chang-Hasnain
2006 2006
Rin = Ra + Rb + Rc = 1M Ω v1 R1
+
-
R2
Max Av = 10 = (1 + ) Switch at c R0
R1
+
-
Ra + Rb R Ra + Rb v2 R2
Av = 1 = (1 + 2 ) Switch at b ∴ = 0.1
Ra + Rb + Rc R1 Ra + Rb + Rc _ v0
+
-
Ra R Ra v3 R3
Av = 0.1 = (1 + 2 ) Switch at a ∴ = 0.01 +
Ra + Rb + Rc R1 Ra + Rb + Rc
∴ Ra = 10k Ω, Rb = 90k Ω, Rc = 900k Ω
R2 = 9 R1
EE40 Fall Slide 267 Prof. Chang-Hasnain EE40 Fall Slide 268 Prof. Chang-Hasnain
2006 2006
Downloaded by Mowlid The harmonious ([email protected])
lOMoARcPSD|49320417
+ R
+
-
R3 + +
v2 vin C V0
R4
- -
EE40 Fall Slide 269 Prof. Chang-Hasnain EE40 Fall Slide 270 Prof. Chang-Hasnain
2006 2006
• Want
vx
R0(1+ε)
R0
_ v0
+
R +
vin -
Ra
C Ra
vx
_ v0
+
vin +-
EE40 Fall Slide 271 Prof. Chang-Hasnain EE40 Fall Slide 272 Prof. Chang-Hasnain
2006 2006
Downloaded by Mowlid The harmonious ([email protected])
lOMoARcPSD|49320417
functions
EE40 Fall Slide 275 Prof. Chang-Hasnain EE40 Fall Slide 276 Prof. Chang-Hasnain
2006 2006
Downloaded by Mowlid The harmonious ([email protected])
lOMoARcPSD|49320417
− V+
EE40 Fall Slide 283 Prof. Chang-Hasnain EE40 Fall Slide 284 Prof. Chang-Hasnain
2006 2006
Downloaded by Mowlid The harmonious ([email protected])
lOMoARcPSD|49320417
300
model.
200
100 The Large-Signal
0 − V+ Diode Model +
-5 -3 -1 1 VS(t) +
− VR(t)
forward bias (V)
− t
Improved “Large-Signal Diode” Model: I
If we choose not to ignore the small
Reverse bias Forward bias
forward-bias voltage drop of a I ≅ 0, any V < 0 V ≅ 0.7, any I > 0 VR(t)
diode, it is a very good
approximation to regard the voltage V
drop in forward bias as a constant, 0.7
about 0.7V. the “Large signal “rectified” version of
model” results. input waveform
t
EE40 Fall Slide 285 Prof. Chang-Hasnain EE40 Fall Slide 286 Prof. Chang-Hasnain
2006 2006
EE40 Fall Slide 287 Prof. Chang-Hasnain EE40 Fall Slide 288 Prof. Chang-Hasnain
2006 2006
Downloaded by Mowlid The harmonious ([email protected])
lOMoARcPSD|49320417
– In simple configuration, it is a
diode made of PN junction in the dark
– Incident light is absorbed by
VD (V)
material
– Creates electron-hole pairs that
transport through the material with incident light
through Operating point
• Diffusion (concentration gradient) The load line a simple resistor.
• Drift (due to electric field)
PN Junction Diode
EE40 Fall Slide 291 Prof. Chang-Hasnain EE40 Fall Slide 292 Prof. Chang-Hasnain
2006 2006
Downloaded by Mowlid The harmonious ([email protected])
lOMoARcPSD|49320417
• Efficiency is defined as
/ 0 VDon ≅ "1 2
EE40 Fall Slide 297 Prof. Chang-Hasnain EE40 Fall Slide 298 Prof. Chang-Hasnain
2006 2006
EE40 Fall Slide 301 Prof. Chang-Hasnain EE40 Fall Slide 302 Prof. Chang-Hasnain
2006 2006
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 303 Prof. Chang-Hasnain EE40 Fall Slide 304 Prof. Chang-Hasnain
2006 2006
Downloaded by Mowlid The harmonious ([email protected])
lOMoARcPSD|49320417
EE40 Fall Slide 305 Prof. Chang-Hasnain EE40 Fall Slide 306 Prof. Chang-Hasnain
2006 2006
+
Vm sin (ωt)
C R V0
-
Current
charging
up
capacitor
EE40 Fall Slide 307 Prof. Chang-Hasnain EE40 Fall Slide 308 Prof. Chang-Hasnain
2006 2006
Downloaded by Mowlid The harmonious ([email protected])
lOMoARcPSD|49320417
- 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 315 Prof. Chang-Hasnain EE40 Fall Slide 316 Prof. Chang-Hasnain
2006 2006
Downloaded by Mowlid The harmonious ([email protected])
lOMoARcPSD|49320417
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 319 Prof. Chang-Hasnain EE40 Fall Slide 320 Prof. Chang-Hasnain
2006 2006
Downloaded by Mowlid The harmonious ([email protected])
lOMoARcPSD|49320417
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 321 Prof. Chang-Hasnain EE40 Fall Slide 322 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 323 Prof. Chang-Hasnain EE40 Fall Slide 324 Prof. Chang-Hasnain
2006 2006
Downloaded by Mowlid The harmonious ([email protected])
lOMoARcPSD|49320417
EE40 Fall Slide 325 Prof. Chang-Hasnain EE40 Fall Slide 326 Prof. Chang-Hasnain
2006 2006
VD (V)
EE40 Fall Slide 327 Prof. Chang-Hasnain EE40 Fall Slide 328 Prof. Chang-Hasnain
2006 2006
Downloaded by Mowlid The harmonious ([email protected])
lOMoARcPSD|49320417
EE40 Fall Slide 335 Prof. Chang-Hasnain EE40 Fall Slide 336 Prof. Chang-Hasnain
2006 2006
Downloaded by Mowlid The harmonious ([email protected])
lOMoARcPSD|49320417
• 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 337 Prof. Chang-Hasnain EE40 Fall Slide 338 Prof. Chang-Hasnain
2006 2006
MOSFET MOSFET
• Symbol and subscript convention • PMOS: Three regions of operation (interchange
– Upper case for both (e.g. VD) = DC signal (often as bias) > and < from NMOS)
– Lower case for both (e.g. vd) = AC signal (often small signal)
– Lower symbol and upper sub (e.g. vD ) = total signal = VD+vd – VDS and VGS Normally negative values
• NMOS: Three regions of operation – VGS>Vt :cut off mode, IDS=0 for any VDS
– VDS and VGS normally positive valus – VGS<Vt :transistor is turned on
• VDS> VGS-Vt: Triode Region iD = K 2(vGS − Vt )vDS − vDS 2
– VGS<Vt :cut off mode, IDS=0 for any VDS
– VGS>Vt :transistor is turned on • VDS< VGS-Vt: Saturation Region iD = K 2(vGS − Vt ) 2
• VDS< VGS-Vt: Triode Region iD = K 2(vGS − Vt )vDS − vDS 2 • Boundary vGS − Vt = vDS W KP
K=
2 L 2
• VDS> VGS-Vt: Saturation Region iD = K 2(vGS − Vt )
• Boundary v − V = v W KP
GS t DS K=
L 2
EE40 Fall Slide 339 Prof. Chang-Hasnain EE40 Fall Slide 340 Prof. Chang-Hasnain
2006 2006
Downloaded by Mowlid The harmonious ([email protected])
lOMoARcPSD|49320417
EE40 Fall Slide 341 Prof. Chang-Hasnain EE40 Fall Slide 342 Prof. Chang-Hasnain
2006 2006
EE40 Fall Slide 343 Prof. Chang-Hasnain EE40 Fall Slide 344 Prof. Chang-Hasnain
2006 2006
Downloaded by Mowlid The harmonious ([email protected])
lOMoARcPSD|49320417
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 345 Prof. Chang-Hasnain EE40 Fall Slide 346 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 349 Prof. Chang-Hasnain EE40 Fall Slide 350 Prof. Chang-Hasnain
2006 2006
VDD
RD C
1
RL′ =
rd −1 + RS −1 + RL −1 For output impedance Rout: +
vgs = vin − vo 1. Turn off all independent sources. vo
2. Take away RL VG RL
-
vo = g m vgs RL′ 3. Add Vx and find ix
vin = vgs (1 + g m RL′ ) vx = vs , vg = 0, vgs = −vx
+ + C
g m RL′ rR v
v
Av = o =
vin 1 + g m RL′ rd + Rs Rs′
(
Rs′ = d s , ix = x − g m (−vx ) = vx Rs′−1 + g m ) v(t)
-
vin
- RS
vin RR 1 -VSS
Rin = = 1 2 Rout =
iin R1 + R2 g m + rd −1 + Rs −1
EE40 Fall Slide 351 Prof. Chang-Hasnain EE40 Fall Slide 352 Prof. Chang-Hasnain
2006 2006
Downloaded by Mowlid The harmonious ([email protected])
lOMoARcPSD|49320417
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 353 Prof. Chang-Hasnain EE40 Fall Slide 354 Prof. Chang-Hasnain
2006 2006
EE40 Fall Slide 357 Prof. Chang-Hasnain EE40 Fall Slide 358 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 361 Prof. Chang-Hasnain EE40 Fall Slide 362 Prof. Chang-Hasnain
2006 2006
EE40 Fall Slide 365 Prof. Chang-Hasnain EE40 Fall Slide 366 Prof. Chang-Hasnain
2006 2006
EE40 Fall Slide 367 Prof. Chang-Hasnain EE40 Fall Slide 368 Prof. Chang-Hasnain
2006 2006
Downloaded by Mowlid The harmonious ([email protected])
lOMoARcPSD|49320417
Boolean algebras
EE40 Fall Slide 369 Prof. Chang-Hasnain EE40 Fall Slide 370 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 373 Prof. Chang-Hasnain EE40 Fall Slide 374 Prof. Chang-Hasnain
2006 2006
Logic Functions, Symbols, & Notation Logic Functions, Symbols, & Notation 2
TRUTH A B F
NAME SYMBOL NOTATION TABLE A 0 0 1
“NOR” F F = A+B 0 1 0
A F B 1 0 0
0 1 1 1 0
“NOT” A F F=A 1 0
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 377 Prof. Chang-Hasnain EE40 Fall Slide 378 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 379 Prof. Chang-Hasnain EE40 Fall Slide 380 Prof. Chang-Hasnain
2006 2006
Downloaded by Mowlid The harmonious ([email protected])
lOMoARcPSD|49320417
Thevenin Model For Pull-Up Device Load Line For Pull-Up Device
The CMOS Inverter: Intuitive Perspective CMOS Inverter Voltage Transfer Characteristic
(
CIRCUIT SWITCH MODELS <
VDD
VOUT
VDD VDD VDD ( G S
< C
VDD D
G S VIN VOUT
Rp ( D
<
D G
S
VIN VOUT VOUT VOUT A B D E
D VOL = 0 V VOH = VDD
(
G
Rn <
S
(
<
0 VIN
0
VIN = VDD VIN = 0 V 0 VDD
9: /;$
EE40 Fall Slide 389 Prof. Chang-Hasnain EE40 Fall Slide 390 Prof. Chang-Hasnain
2006 2006
0 VOUT=VDSn 0 VOUT=VDSn
0 VDD 0 VDD
7, 7
EE40 Fall Slide 391 Prof. Chang-Hasnain EE40 Fall Slide 392 Prof. Chang-Hasnain
2006 2006
Downloaded by Mowlid The harmonious ([email protected])
lOMoARcPSD|49320417
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 393 Prof. Chang-Hasnain EE40 Fall Slide 394 Prof. Chang-Hasnain
2006 2006
0 VOUT=VDSn
0 VDD
EE40 Fall Slide 395 Prof. Chang-Hasnain EE40 Fall Slide 396 Prof. Chang-Hasnain
2006 2006
Downloaded by Mowlid The harmonious ([email protected])
lOMoARcPSD|49320417
The CMOS Inverter: Current Flow during Switching Power Dissipation due to Direct-Path Current
(
VDD VDD
VOUT < i VDD-VT
( S
vIN:
G
VDD < C
VDD D VT
vIN i vOUT
0
G S
(
<
D Ipeak
D
G
VIN i VOUT S
i:
D A B D E
G
S (
0
< tsc
time
(
<
0 VIN
0 VDD Energy consumed per switching period: Edp = t scVDD I peak
EE40 Fall Slide 397 Prof. Chang-Hasnain EE40 Fall Slide 398 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 399 Prof. Chang-Hasnain EE40 Fall Slide 400 Prof. Chang-Hasnain
2006 2006
Downloaded by Mowlid The harmonious ([email protected])
lOMoARcPSD|49320417
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 401 Prof. Chang-Hasnain EE40 Fall Slide 402 Prof. Chang-Hasnain
2006 2006
EE40 Fall Slide 403 Prof. Chang-Hasnain EE40 Fall Slide 404 Prof. Chang-Hasnain
2006 2006
Downloaded by Mowlid The harmonious ([email protected])
lOMoARcPSD|49320417
B X Y Y = X if A
F
B A
A
EE40 Fall Slide 405 Prof. Chang-Hasnain EE40 Fall Slide 406 Prof. Chang-Hasnain
2006 2006