L6 FreqResponse
L6 FreqResponse
Frequency Response
2
One More Non-Idealities
AVo
A function of frequency
Bandwidth!
3
What Does Bandwidth Mean?
Example 1: Unit input step
If A(f)=A0
A(f)
If A(f) is a low pass filter
A |A|
f f
Vo=? Vo=?
Vin Vin
4
Solutions
Convolution!
Frequency Domain, and then back to time domain
5
Laplace Transform Pairs
1
(t )
1
u (t ) s
1
e at u (t ) sa
n 1 1
t
u (t ) ( s a)n
(n 1)!
s
[cos 0 t ]u (t ) s 2 02
0
[sin 0 t ]u (t ) s 2 02
6
Revisit: Capacitances in MOSFET
Why it matters?
Time, Speed
Bandwidth
7
Capacitance in MOSFET
Cov=WLovCox , where Lov is the overlap length between the source and
drain and Cd is the depletion region capacitance
8
Circuit Elements and Frequency Properties
+ +
Vi(t) Vo(t)
- -
9
Example of Frequency Response
Transfer Function
1
Vo (s) 1 1 1
sC
+ + Vi (s) 1 1 sRC 1 jRC j
R 1
sC 1
Vi(t) Vo(t) RC
- - 1
p
RC
1 1
log
2 RC
1
1 2
( )
RC
10
Example of Frequency Response (2)
Input unit step function u(t),
u(t)
L 1 1
u(t )
s t
1
H ( s)
1 sRC
1 1 1 1 y(t)
Y ( s) H ( s)
s s(1 sRC ) s 1
s
RC 1
t
y (t ) u(t ) e RC
u(t ) t
11
Cascading
• Second order
system
• Difficult to find
out poles
• In IC design,
circuit is (or
preferred to be) 1
more like
isolated stages
12
Bode Plot of H(s)
• When all the poles and zeros are far (4x) away from each other, it is easy to get
the Bode Plot
• For magnitude
• A LHP real pole contributes -20dB/Dec
• A LHP real zero contributes 20dB/Dec
• For phase
• A LHP real pole contributes -90 ºC
• A LHP real zero contributes +90 ºC
• A RHP real zero contributes -90 ºC
• Usually a bad thing!
• Of course, at the frequency of the zeros/poles are special,
• 3dB and 45ºC
• What does this mean for IC design?
• A useful tool for analyze and design circuits, stability, bandwidth
13
Bode Plot:Example 1
1
H (s)
s
1
2 10
14
Bode Plot:Example 1 – Log Domain
1
H (s)
s
1
2 10
15
Bode Plot:Example 2
100
H ( s)
s s
1 1 4
2 10 2 10
16
100
H (s)
s s
1 1 4
2 10 2 10
17
Bode Plot:Example 3 (Effect of Zero)
s
1001 3
H (s) 2 10
s s
1 1 6
2 1 2 10
18
Transfer Function and Circuits Frequency Response
Use a plot to intuitively help understand characteristics of a
system (transfer function)
Implied assumption
Linear Time-Invariant system only
If x y, we know a*x a*y
What if not a linear system?
We linearize (with approximation) it
.AC in HSPICE
Check back using full system behavior
.tran in HSPICE
Common Source (and other) Amplifiers a linear system?
We linearize it at the operation point, find out the small signal gain
(which was considered at zero frequency only in previous lectures)
but actually a function of frequency
Equation approach to get some intuitive understanding
For analog circuits, we need to be able to ‘guess’ where is the
pole/zero, and know how to ‘tune’ them
19
Miller Effect
One commonly used
technique to reduce the
circuit complexity for
the purpose of analysis
The goal is to remove
the link between the
input and output so the
circuits look ‘clean’.
20
Analysis of CS Amplifier Freq. Resp.
21
And the result is …
Vo/Vin =
-(gmRL)[1-s(C/gm)]
---------------------------------------------------------------------------
1+s{[CG+C(1+gmRL)]Rin+(CL+C)RL}+s2[(CL+C)Cgs+CLC]RinRL
Looks difficult …
And technologies are driven by lazy people …
We want to get a first sense about the circuit by just looking at it
(without deriving difficult equations)
22
Insights
DC gain, gmRL
There is a zero, and z=+gm/C
Zero moves the phase and magnitude of the frequency response,
we can choose C, gm for frequency response we want
And this ‘two signal paths’ intuition is an important technique for
analog circuits
If C is just Cgd
It is usually very small (order of 10~100fF), zero is big (order of
10GHz~100GHz for mS of gm, far away!)
If C is on the order of pF, the zero might come into play!
There are two poles
Now what?
23
Insights (cont’d)
-(gmRL)[1-s(C/gm)]
---------------------------------------------------------------------------
1+s{[CG+C(1+gmRL)]Rin+(CL+C)RL}+s2[(CL+C)Cgs+CLC]RinRL
One technique
There are two poles, D(s) = (1+s/p1) (1+s/p2)
D(s) = 1+s(1/p1+1/p2)+s2/(p1p2)
D(s) ~= 1+s(1/p1)+s2/(p1p2) (if p1<<p2)
p1 is called dominant pole
So p1 is approximately
1/{[CG+C(1+gmRL)]Rin+(CL+C)RL}
24
Insights (cont’d) – Rin
So p1 is approximately
p1 ~= 1/{[CG+C(1+gmRL)]Rin+(CL+C)RL}
25
Pole Splitting
1
p1 ~= -------------------------------------------------------
[CG+C(1+gmRL)]Rin+(CL+C)RL
[CG+C(1+gmRL)]Rin+(CL+C)RL
p2 ~= -------------------------------------------------------------
[(CL+C)CG+CLCG]RLRin
If C increases
p1 becomes smaller and p2 becomes larger, called pole splitting …
On bode plot …
26
Pole Splitting
A bit of intuitive understanding
p1 decreases due to miller effect
p2 increases due to output resistance becomes smaller
27
Gain-Bandwidth Product
GBW
A very important gauge for amplifiers
H(s)=A0/(1+s/p1)
GBW = A0p1
Usually a constant thus gain can/need to be traded off for
bandwidth
Power has to be increased to increase GBW
28
Summary of CS
H(s) =
A0(1-s/z)
---------------------------
(1+s/p1)(1+s/p2)
29
Source Follower
Good for buffering and impedance transformation
Level Shifter—the output DC is one VGS lower than the input DC
30
Source Follower— At Low Frequency
31
SF Freq Model
Again, poles and
zeros?
32
Design of Analog Integrated Circuits
Spring 2011, Dr. Guoxing Wang 33
Design of Analog Integrated Circuits
Spring 2011, Dr. Guoxing Wang 34
Input node dominant
Merits:
• High Gain
• Non-Inverting
• Low input resistance when the output is
terminated with reasonable impedance
(<<ro)
• High output resistance
36
Zeros, poles?
38
Design of Analog Integrated Circuits
Spring 2011, Dr. Guoxing Wang 39
Design of Analog Integrated Circuits
Spring 2011, Dr. Guoxing Wang 40
Design of Analog Integrated Circuits
Spring 2011, Dr. Guoxing Wang 41
Summary of Frequency Response
Another non-ideality we need to consider
Affect the speed of the circuits
Use poles and zeros to analyze
Exact equations are usually tedious and insights are needed by looking at
circuits
Always try to simplify into single nodes
Knowing which nodes are nodes with large capacitance and large resistance
CS
Miller effect
Has two poles and one zero
Pole splitting
SF
Two poles and one zero
Can be used to drive large capacitance
CG
No zero (because no capactive signal path)
Can be thought of as an isolator
Keep in mind: the transfer function is just a simplification of the real circuits,
i.e. a linearized approximation
42