Professional Documents
Culture Documents
Nagendra Krishnapura
Address: Dept. of Electrical Engg., IIT Madras, Chennai, 600036, India.
Phone/Fax: +91-44-2257-4444/+91-44-2257-4402
e-mail: nagendra@iitm.ac.in
Nagendra Krishnapura, Dept. of EE Analog Integrated Circuit Design A video course under the NPTEL
Indian Institute of Technology, Madras
Contents
3 Opamp circuits 7
6 Miscellaneous 15
8 Oscillators 19
9 Bandgap reference 20
11 Continuous-time filters 22
12 Switched-capacitor filters 24
13 Appreciating approximations 26
2
Nagendra Krishnapura, Dept. of EE Analog Integrated Circuit Design A video course under the NPTEL
Indian Institute of Technology, Madras
Topic 1
vi ωu vo Vi Ve f(Ve) Vo
+ Σ s + Σ f()
- -
e-sTd β
(a)
3
Nagendra Krishnapura, Dept. of EE Analog Integrated Circuit Design A video course under the NPTEL
Indian Institute of Technology, Madras
4 Nagendra Krishnapura (nagendra@iitm.ac.in)
Vi Ve Vo
ωu dt
+ Σ
- (k-1)R
Vf
(a)
Ve Vo
ωu dt
+ Σ
- (k-1)R
Vf
R
Vi
(b)
ωu,loop 1
L(s) = PN
s m=0 am s
m
Nagendra Krishnapura, Dept. of EE Analog Integrated Circuit Design A video course under the NPTEL
Indian Institute of Technology, Madras
Topic 2
Vi Gi voltage buffer
−
Vo Gm1vd Go1 Co1 Cc Gm2vo1 Go2
+ 1 out
+ +
vd vo1
GL CL
-
-
(a)
current controlled current source
ic
Ci1 Gm1 Go1 Co1 Cc Rc Gm2 Go2 ic
+ out
Gm1vd Go1 Co1 Cc Gm2vo1 Go2
+ out
+
vd vo1
- -
-
(b)
5
Nagendra Krishnapura, Dept. of EE Analog Integrated Circuit Design A video course under the NPTEL
Indian Institute of Technology, Madras
6 Nagendra Krishnapura (nagendra@iitm.ac.in)
Gm1 Ro1 C1 Gm2 Ro2 C2 Gm3 Ro3 C3 5. Calculate the poles and zeros for each case in the
Vi
+ + above problem. How do they compare to the approx-
Ve Vo
Vf - - imate expressions?
(a)
Cm1
Vi Gm1 Ro1 C1
− Vo
+ A(s)
Ve +
Vf -
(b)
Gs Cgs Cgd g g CL GL
m ds
+ +
Vs Vo
- -
Nagendra Krishnapura, Dept. of EE Analog Integrated Circuit Design A video course under the NPTEL
Indian Institute of Technology, Madras
Topic 3
Opamp circuits
(c) (d)
1. Fig. 3.1(a) and Fig. 3.1(b) shows amplifiers which
realize gains of k and −k respectively with ideal
opamps. Compare the following parameters of the Figure 3.2: Problem 2. (a) VCVS, (b) CCVS, (c) VCCS,
two circuits. Model the opamp as an integrator ωu /s. (d) CCCS
7
Nagendra Krishnapura, Dept. of EE Analog Integrated Circuit Design A video course under the NPTEL
Indian Institute of Technology, Madras
8 Nagendra Krishnapura (nagendra@iitm.ac.in)
Cf Llarge
Clarge
Rf − Vo(jω)
−
Vo1(jω)
Vi(jω) Vi(jω) +
+
−
Vo (a) (b)
3
+ Ao=10
fu=100MHz Figure 3.4: Problem 5: Measuring an opamp’s frequency
p2=400MHz
response
(Don’t include Cf for this part) What is the largest What are the dc gain, unity gain frequency, and
transimpedance Rf you can have without peaking in nondominant pole(s)? Estimate these from magni-
the frequency response Vo /Is ? Show the ac magni- tude/phase plots.
tude response and the transient response to a current
R2
step of 1/Rf Amperes with a 100 ps risetime?
Vi R1
Increase Rf by 20× and show the ac magnitude re- −
Vo
tor model for the opamp, and then adjust the values (c)
Nagendra Krishnapura, Dept. of EE Analog Integrated Circuit Design A video course under the NPTEL
Indian Institute of Technology, Madras
Analog Integrated Circuit Design; Assignment problem set 9
Nagendra Krishnapura, Dept. of EE Analog Integrated Circuit Design A video course under the NPTEL
Indian Institute of Technology, Madras
Topic 4
2. Design a 2 pF capacitor using A square nMOS de- 5. Plot (log-log) ID vs. VGS (18 mV to 1.8 V) for
vice (drain/source shorted). Plot its capacitance as VDS = 1 V and VBS = 0 V. Overlay the
a function of voltage (0 to 1.8 V). What is the usable plots for W/L = 3.6 µm/0.36 µm and W/L =
voltage range of this capacitor? (For this problem use 36 µm/3.6 µm and temperatures of {0, 27, 100}◦ C.
the process information given in the cadinfo page). Comment on the results. Calculate the subthreshold
slope η. The current in a MOS transistor in the sub-
Repeat the above for a square pMOS device.
threshold region is proportional to exp(VGS /ηVt )
A square Metal1-Metal2 structure. where Vt is the thermal voltage.
A square sandwiched structure with poly, M2, M4
6. Plot (log-log) ID vs. VBS (-1.5 V to -15 mV) for
tied together and M1, M3, M5 tied together.
VDS = 1 V and VGS = 1 V. Overlay the
For the last two structures, determine the bottom plots for W/L = 3.6 µm/0.36 µm and W/L =
10
Nagendra Krishnapura, Dept. of EE Analog Integrated Circuit Design A video course under the NPTEL
Indian Institute of Technology, Madras
Analog Integrated Circuit Design; Assignment problem set 11
Nagendra Krishnapura, Dept. of EE Analog Integrated Circuit Design A video course under the NPTEL
Indian Institute of Technology, Madras
Topic 5
12
Nagendra Krishnapura, Dept. of EE Analog Integrated Circuit Design A video course under the NPTEL
Indian Institute of Technology, Madras
Analog Integrated Circuit Design; Assignment problem set 13
C Vdd
+Vs/2 Iout
R/k +Vs/2 Ibias
− − iout
+ Vo
W/4n W
Vi=(Vpp/2k)cos(ωt) M M4 gm4, gds4
- + + L 2 L
-Vs/2 -Vs/2
W/n W
gm3, gds3
(a) (b) M1 M3
L L
+Vs/2 +Vs/2
− −
W/n W Vout
+ M3 M4
L L −
Vbiasp2
max. voltage=1.1V
Nagendra Krishnapura, Dept. of EE Analog Integrated Circuit Design A video course under the NPTEL
Indian Institute of Technology, Madras
14 Nagendra Krishnapura (nagendra@iitm.ac.in)
ID-∆ID/2 ID+∆ID/2
+ Vout + Vout
− −
+
VGS
-
Nagendra Krishnapura, Dept. of EE Analog Integrated Circuit Design A video course under the NPTEL
Indian Institute of Technology, Madras
Topic 6
Miscellaneous
Vdd
RL
Vdd Vdd Vo
Vi
RL I0
VG
Vo Vo Rs
Vi
Vi
I0 I0 I0
15
Nagendra Krishnapura, Dept. of EE Analog Integrated Circuit Design A video course under the NPTEL
Indian Institute of Technology, Madras
16 Nagendra Krishnapura (nagendra@iitm.ac.in)
Rs Rs C(1+A) C(1+1/A)
+ -A + + -A +
Vi Vo Vi Vo
- - - -
C Co
+ +
Rs CL Vo Rs Ci Vo
- -
+ +
Vi Cgs Vi
- -
gm, gds gm, gds
Nagendra Krishnapura, Dept. of EE Analog Integrated Circuit Design A video course under the NPTEL
Indian Institute of Technology, Madras
Topic 7
I0 I0/2 I0
gds0 gds0
(a) (b)
1. The common mode gain of a differential amplifier is 3. Calculate the small signal tail node voltage vx in
measured by applying a small signal common mode Fig. 7.3. vi is a small signal increment. The tran-
input vcm as shown in Fig. 7.1. Fig. 7.1(a) has a cur- sistors can be modeled using gm and gds .
rent mirror load and Fig. 7.1(b) has a current source
4.
load which is independently biased. What is the
common mode gain of these two configurations? Ex- φ2
φ2
Vcm+vi/2
- vo + Vcm-vi/2 Vcm+vi/2 Vcm-vi/2
+v
o
- vi = Vip cos(2πfin t)
I0 I0
φ1
φ2
(a) (b)
0 1/fs t
17
Nagendra Krishnapura, Dept. of EE Analog Integrated Circuit Design A video course under the NPTEL
Indian Institute of Technology, Madras
18 Nagendra Krishnapura (nagendra@iitm.ac.in)
10 kΩ
8 pF
10 kΩ
vip 10 kΩ
Vcm
vin 10 kΩ
10 kΩ
8 pF
Vcm = 0.9 V
10 kΩ
vip
Vcm Vcm
vin vip , vin
Nagendra Krishnapura, Dept. of EE Analog Integrated Circuit Design A video course under the NPTEL
Indian Institute of Technology, Madras
Topic 8
Oscillators
Vdd Vdd there anything special about it? Model the transistor
Rs Rs Rs Rs using only its gm .
L Rdiff L L ix L Vdd
C C
vx
vom vop
vom vop
L
ix C1
I0 Rs I0
I0 C2
(a)
(b)
Figure 8.3: Problem 3
Figure 8.1: Problem 1
3. Calculate the small signal impedance vx /ix . What is
1. Calculate the current flowing in each transistor in the condition for this to be infinity? What is the fre-
Fig. 8.1(a) in the quiescent condition. Calculate the quency at which this happens? Model the transistor
small signal differential resistance Rout looking into using only its gm .
the drains of the two transistors.
N inverters(N: odd)
In Fig. 8.1(b), calculate (vop − vom )/ix . What is
the condition for this to be infinity? What is the fre-
quency at which this happens?
Vdd
C1
Zin 4. In Fig. 8.4, assume that all nodes are at the self bias
I0 voltage of the inverter. Model the small signal gain
C2 of each inverter as A0 /(1 + s/p1 ) and calculate the
condition for instability (i.e. when the loop gain be-
comes −1). Hint: Among the roots of −1, pick the
Figure 8.2: Problem 2 one which satisfies the above for the lowest value of
A0 .
2. Calculate the input impedance Zin in Fig. 8.2. Is
19
Nagendra Krishnapura, Dept. of EE Analog Integrated Circuit Design A video course under the NPTEL
Indian Institute of Technology, Madras
Topic 9
Bandgap reference
of R3 ? Simulate the bandgap reference with the model model of the single stage opamp
adjust R1,C1,2 and gm1 to model the pole-zero doublet
of a single stage opamp assuming that the single stage (a) and the transconductance of the single stage opamp
opamp is made like the first stage of the previous prob- (b)
Vdd
lem. (Fig. 9.1(b)-model the gm, and the pole zero dou- W/L W/L
blet). Choose Cc for ringing ≤ 10%. Test the bandgap Vbg
Substitute the differential pair opamp designed in the pre- W/L W/L single stage opamp
R1
connect the opamp inputs to
Vx and Vy OR Vz and Vw depending on the
1x 8x
input common mode range
(d)
20
Nagendra Krishnapura, Dept. of EE Analog Integrated Circuit Design A video course under the NPTEL
Indian Institute of Technology, Madras
Topic 10
21
Nagendra Krishnapura, Dept. of EE Analog Integrated Circuit Design A video course under the NPTEL
Indian Institute of Technology, Madras
Topic 11
Continuous-time filters
1. (a) Compute the transfer functions Vo /Vi in terms (b) Using the parameterized subcircuits for the bi-
of the parameters (Q, ωp , b0 , b1 , b2 ) for the cir- linear and the biquadratic filters, simulate the
cuits in Fig. 11.1(a, b). four filters (using the cascade structure) in a cir-
(b) Turn these circuits into parameterized subcir- cuit simulator. Use the rules of cascading dis-
cuits “bilinear” and “biquad” in a circuit sim- cussed in the lectures. Clearly state the order of
ulator1 with the required parameters. You can cascade and the pole zero pairing.
then use these subcircuits to realize ideal cas- For the Bessel filter, simulate the frequency
cade realizations of any transfer function. response of the prototype (last column of Ta-
ble 11.1). If this filter were scaled such that it
had an attenuation As = 40 dB at 2 MHz (the
0dB 0dB
-1dB -1dB
stopband edge), what would be its attenuation
at the passband edge (1 MHz)?2 Does it meet
-40dB -40dB
the specs in Fig. 11.2(a)?
Now simulate the scaled Bessel filter.
2MHz
1MHz
2 rad/s
1 rad/s
tion of transmission zeros (if present) of the dif- to answer this by looking at the prototype response.
3 Plot the magnitude responses of the 5 filters in the same plot; same
ferent types of filters that satisfy the specs. in
for the phase response and the group delay. Plot the magnitude re-
Fig. 11.2(a). sponse (in dB) twice—once showing the whole picture and once zoomed
1 Incircuit simulators, to realize a current controlled voltage source, in on the passband. Use sensible scales so that the details of the response
you also usually need to have a 0 V voltage source through which the can be seen. e.g. with notches, the response goes down to −∞ dB and
desired current is flowing. the default scale may be totally unsuitable.
22
Nagendra Krishnapura, Dept. of EE Analog Integrated Circuit Design A video course under the NPTEL
Indian Institute of Technology, Madras
Analog Integrated Circuit Design; Assignment problem set 23
transconductance=1S
transconductance=1S
+
+ b2IC
-
+
+ b1IC + b1IR Vo
C=1/ωp R=1 - C=1/ωp R=Q L=1/ωp -
+ Vo +
Vi +
Vi +
Vi -
b0IR Vi -
b0IL
- - - -
IC IR IC IR IL
(a) (b)
"bilinear" "biquad"
Nagendra Krishnapura, Dept. of EE Analog Integrated Circuit Design A video course under the NPTEL
Indian Institute of Technology, Madras
Topic 12
Switched-capacitor filters
1. A continous time first order filter has a transfer func- 3. Simulate each of the filters designed in problem 3
tion in a circuit simulator. Plot the magnitude and phase
2 responses.
Hc (s) =
1 + s/ωp
4. A second order filter has a transfer function has the
ωp = 2π × 20 krad/s. Transform Hc (s) into discrete form
time transfer functions Hd (z) using bilinear transfor-
N (s)
mation. The sampling frequency fs = 1 MHz. H(s) =
1 + (s/Qp ωp ) + (s/ωp )2
Plot the magnitude and phase responses of Hc and
(a) What is N(s) for lowpass, bandpass, highpass,
Hd with the real frequency (Hz) from 0 to 1 MHz
and band stop filters? (In each case, assume that
along the x axis. Are the magnitude and phase re-
the gain in the center of the passband is unity)
sponses the same for all the cases? Comment on the
results. (b) Transform each of these into a discrete time fil-
Repeat for ωp = 2π × 200 krad/s. ter using bilinear transformation. Assume that
Qp = 4 and ωp = fs /10, where fs is the sam-
2. Design the above filter (Hc (s) or Hd (z)) as pling frequency.
(a) a continuous time opamp-RC filter (c) Sketch the pole zero plots of the continumous
(b) bilinear transformed switched capacitor fil- time filters and their discrete time counterparts.
ter (for this, assume that both the input Vi and
5. Compute the transfer function V1 /Vi in the Fleischer
its inverted form −Vi are available)
Laker biquad. Fig. 12.1. The output is defined at the
(c) switched capacitor version of a) with the resis-
end of φ1 and the input Vi changes on the rising edge
tor replaced by a switched capacitor
of φ2 .
(d) Noninverting delayed switched capacitor inte-
grator whose magnitude response is equal to 6. Transform a second order CT (continuous time)
that of the bilinear transformed filter at dc and bandpass filter into a DT(discrete time) bandpass fil-
the 3 dB frequency (i.e., the pole of the SC in- ter using bilinear transformation. The gain at center
tegrator should be adjusted such that its -3dB frequency and the quality factor of the CT prototype
frequency is the same as that of the LDI trans- are both 10. The resonant frequency fp (in Hz) is
formed filter). 20% of the sampling frequency fs (in Hz).
24
Nagendra Krishnapura, Dept. of EE Analog Integrated Circuit Design A video course under the NPTEL
Indian Institute of Technology, Madras
Analog Integrated Circuit Design; Assignment problem set 25
φ2 C φ2
φ1 φ1
D φ2 φ2
F
φ1 φ2
Vi G − φ1 φ2
A φ1 φ1
V1 φ2 φ1 φ2 φ1 φ2 φ1 φ2
+
φ2 φ1
n+1
n+2
n-1
n
φ2 φ1 B
φ2 φ2
H
φ1 φ2 (input)
I − Vi[n-1] Vi[n] Vi[n+1] Vi[n+2]
V2
φ1 φ1
+ V1[n-1] V1[n] V1[n+1] V1[n+2]
φ2 φ1
φ1 φ1
Nagendra Krishnapura, Dept. of EE Analog Integrated Circuit Design A video course under the NPTEL
Indian Institute of Technology, Madras
Topic 13
Appreciating approximations
26
Nagendra Krishnapura, Dept. of EE Analog Integrated Circuit Design A video course under the NPTEL
Indian Institute of Technology, Madras