Analog Ic Design
Analog Ic Design
م
3 August 2022 1444 محرم5
َ ُْ ََ
Analog IC Design
Lecture 01
Introduction
01: Introduction 3
Transistor Evolution
≈ 11mm
01: Introduction 5
Sensing Microsystems
3mm 4mm
ADXL350
Analog Devices, 2012
Complete system on a tiny chip
• 3-axis MEMS* accelerometer
• Interface electronics
• Analog-to-digital conversion
• Memory
First accelerometer • Control logic
B&K, 1940s • Power management
• Digital interface
Simple bulky transducer
Acceleration → Voltage *MEMS = Micro-Electro-Mechanical
01: Introduction Systems 6
Moore’s Law
❑ Moore’s law [1965]: Transistor count doubles every year
01: Introduction 7
Moore’s Law
❑ Moore’s law [1965]: Transistor count doubles every year
❑ Practically: It doubled every 2-3 years since the 4004 [1970s]
❑ At the end of the day: It is exponential!
01: Introduction 11
Technology Node
❑ Historically, the process node name referred to the
transistor gate length (same as M1 half-pitch).
❑ Most recently, due to various marketing and discrepancies
among foundries, the number itself has lost its exact
meaning.
❑ Gate length has not scaled proportionately with device pitch
(0.7x per generation) in recent generations.
❑ Recent technology nodes (22 nm and below) does not
correspond to any gate length or half pitch!
▪ Just 70% of whatever the name of the node of the
previous generation was!
[https://en.wikichip.org/wiki/technology_node]
01: Introduction [IRDS ES, 2020] 12
IBM 2nm Technology
❑ IBM announcement of 2nm technologies does not correspond to 2nm feature size!
▪ The individual nanosheets are 5nm in height, separated from each other by 5 nm.
01: Introduction 15
Or The Next Step?
01: Introduction 16
Still Too Many Steps! – IRDS 2021
01: Introduction 20
Course Objective
❑ To teach the basic knowledge required for
▪ Analog IC analysis and design using CMOS technology
▪ Moving from specifications (specs) to block design
▪ Simulating analog ICs using professional CAD tools
Specifications
Product System
01: Introduction 23
References
❑ Textbook
▪ B. Razavi, “Design of analog CMOS integrated circuits,” 2nd ed., McGraw-Hill Ed., 2017.
01: Introduction 24
References
❑ References for professionals
▪ T. C. Carusone, D. Johns, and K. W. Martin, “Analog integrated circuit design,” 2nd ed.,
Wiley, 2012.
▪ P. Gray, P. Hurst, S. Lewis, and R. Meyer, “Analysis and design of analog integrated
circuits,” 5th ed., Wiley, 2009.
▪ P. Jespers and B. Murmann, “Systematic design of analog CMOS circuits using pre-
computed lookup tables,” Cambridge University Press, 2017.
▪ R. J. Baker, “CMOS circuit design,” 3rd ed., Wiley, 2010.
▪ W. Sansen, “Analog design essentials,” Springer, 2006.
01: Introduction 25
Canvas
❑ Canvas is a learning management system (LMS) used in many universities in the US and
around the world
❑ We will use Canvas for
▪ Posting lectures, notes, etc.
▪ Questions and answers
▪ Announcements and discussions
▪ Quizzes
▪ Submitting and grading assignments, reports, etc.
▪ And more!
❑ Every student must register at Canvas today!
❑ Contact me through Canvas, only in emergency contact me by email:
Hesham.Omran@eng.asu.edu.eg
01: Introduction 26
Feedback
❑ Don’t hesitate to send me feedback to improve the course quality.
❑ Avoid two common misconceptions
1. Feedback should NOT wait to the end of the course!
• It will be too late to improve anything!
• But anyway, you may still help next generations ☺
2. Feedback should NOT be always negative!
• Too much negative feedback leads to zero output!
• Too much positive feedback causes oscillation!
• Be balanced!
01: Introduction 28
What is an Integrated Circuit (IC)?
❑ Various circuit elements: transistors, capacitors, resistors, and even small inductances can
be integrated on one chip
01: Introduction 29
Discrete vs. Integrated Electronics
Circuits using discrete
components Integrated circuit
01: Introduction 30
Integrated Circuit Components
❑ Transistors:
▪ Billions of tiny transistors can be integrated on the same chip
▪ Very Large Scale Integration (VLSI): > 10,000 transistors
❑ Capacitors:
▪ Capacitors as large as 100s of pF can be integrated on-chip
▪ But they consume a lot of chip area → Use sparingly
❑ Resistors:
▪ Resistors as large as few MOhms can be integrated on-chip
▪ But they consume a lot of chip area → Use sparingly
❑ Inductors:
▪ Small inductors (few nH) can be integrated on-chip
▪ But they consume a lot of area with relatively poor performance → Use only in high
frequency circuits (e.g., RFICs, serial links, etc.)
01: Introduction 31
Analog vs Digital Signals
❑ Analog: continuous in time and amplitude
01: Introduction 33
Why Analog?
❑ All the physical signals in the world around us are analog
▪ Voice, light, temperature, pressure, etc.
❑ We (will) always need an “analog” interface circuit to connect between our physical world
and our digital electronics
❑ There will always be jobs for analog/mixed-signal/RF designers ☺
Digital
Amplifier A/D processing
and storage
01: Introduction 34
Why Analog?
❑ High speed digital design is actually analog design!
❑ At low speeds, we may directly digitize the signal and perform the signal processing in the
digital domain.
❑ At high speeds, signal processing in the analog domain is much more energy efficient.
❑ The boundary between high and low speed has risen over time.
Amp A/D
Physical
world
Digital
(sound,
Power Management processing
temperature,
and storage
pressure,
light, etc.)
Amp D/A
01: Introduction 36
Example: Mixed-Signal Hearing Aid
❑ There will always be jobs for analog/mixed-signal/RF designers ☺
ΣΔ ΣΔ H-Bridge
DSP
A/D D/A Driver
AGC Decimation
Filter
-50
[dB]
-100
-150
0.001 0.01 0.1 0.5
Normalized frequency
Rx Amp A/D
EM Waves
Digital
Power Management processing
and storage
Tx Amp D/A
01: Introduction 38
Why CMOS?
❑ Early integrated circuits primarily used bipolar transistors (BJTs)
❑ CMOS technologies dominated the digital market since the 1980s
→ CMOS = Complementary MOS = NMOS + PMOS
1. Consumed negligible static power
• Was indeed negligible in the past
• But not negligible any more…
2. Required very few devices per gate
3. Can be scaled down more easily
4. Lower fabrication cost
❑ For analog design, BJTs used to be much better than MOSFETs
▪ Faster, less noisy, less variations, more energy efficient, higher gain
❑ Then why analog CMOS?
01: Introduction 39
Why Analog CMOS?
❑ ICs market is driven primarily by memories and microprocessors
▪ The analog designer needs to survive in a digital driven market
❑ We want to integrate analog and digital on the same chip
▪ Mixed-signal design and system-on-a-chip
❑ BJTs used to be faster, but with continuous scaling, MOSFET speed exceeded BJT
❑ MOSFET can operate with lower supply voltage
01: Introduction 40
Analog Amplifier
𝑣𝑜𝑢𝑡
❑ The amplifier has finite gain (𝐴𝑣 = ) and finite bandwidth (speed)
𝑣𝑖𝑛
01: Introduction 42
Analog IC Design Challenges
❑ In digital we have PPA
❑ In analog, we need to worry about many more things
▪ Analog design automation is a difficult task
Simulation and
Testing
Design Adjustment
Yes
Specs
No met? Yes Product
01: Introduction 47
Packaging and Testing
❑ Wafer diced into dies
❑ Gold bond wires from die I/O pads to package
❑ Packaging is now much more advanced than the
simple DIP (dual inline package)
01: Introduction 49
References
❑ A. Sedra and K. Smith, “Microelectronic Circuits,” Oxford University Press, 7th ed., 2015.
❑ B. Razavi, “Fundamentals of Microelectronics,” Wiley, 2nd ed., 2014.
❑ B. Razavi, “Design of Analog CMOS Integrated Circuits,” McGraw-Hill, 2nd ed., 2017.
❑ N. Weste and D. Harris, “CMOS VLSI Design,” Pearson, 4th ed., 2010.
01: Introduction 50
Modern “Moore” Concepts
❑ More Moore
▪ Further miniaturization of transistor as per Moore’s law
▪ New materials for performance enhancement (HK, SOI, III-V)
▪ We are approaching the “physical limits” of the transistor
❑ More than Moore
▪ Adding functionalities not associated with transistor scaling to increase device value
(sensors, MEMS, bio, passives, etc.)
▪ 3D integrated circuits
❑ Beyond Moore (Beyond CMOS)
▪ Exploring new device architectures
▪ Gate-all-around transistors, nanowires (NW-FET), nanotubes (CNT), memristors, spin
electronics, graphene, etc.
01: Introduction 53
IC Technology Generations (Cont’d)
❑ 1980s: The VLSI era
▪ Power consumption became a major issue
▪ CMOS processes were widely adopted and replaced NMOS and bipolar processes for
nearly all digital logic applications
→ CMOS = Complementary MOS = NMOS + PMOS
▪ A key advantage for “digital” CMOS is that it has negligible idle (static) power
consumption
❑ Nowadays:
▪ With aggressive scaling and billions of transistors, CMOS idle leakage current is not
negligible any more
▪ But no better technology is available yet…
01: Introduction 54
How to Design a Billion Transistor Chip?
1. Abstraction
▪ Hiding details until they become necessary
2. Structured design
▪ Hierarchy: Block, sub-blocks, … → Tree structure (from root to leaf cells)
▪ Regularity: Min no. of different blocks → Block reuse (e.g., standard cells)
▪ Modularity: Blocks are black boxes that have well-defined interfaces → Combine to
build larger system without surprises!
3. CAD Tools
▪ Automation, automation, automation!
▪ Analog automation is way behind digital automation
01: Introduction 55
CAD/EDA
❑ Analog design
▪ Design entry (schematic), simulation, layout
▪ Verification (LVS: layout vs schematic, DRC: layout design rule check, parasitic
extraction, post-layout simulation)
❑ Digital design
▪ Design entry (e.g., HDL) and simulation
▪ Automated synthesis (from HDL to gates)
▪ Automated place and route (from gates to transistor layout)
▪ Verification
❑ System design
▪ Behavioral modeling and high level simulation/verification
❑ EM simulation, process simulation, device simulation, etc.
01: Introduction 56
9 August 2020
ن ا ْلعِْل ِم إِاَّل قَلِ ًيل ِ وما أُوتِيتُم
م
1441 ذو الحجة19
َ ْ ََ
Analog IC Design
Lecture 02
Review on Circuits and Systems Basics
+ V –
V
I R I R
𝑉 = 𝐼𝑅
𝑉
𝐼=
𝑅
𝑉
𝑅=
𝐼
02: Circuits and Systems Basics 3
Kirchhoff’s Current Law (KCL)
❑ The sum of all currents flowing into a node is zero.
Σ𝐼 = 0
𝐼1 + 𝐼2 + 𝐼3 − 𝐼4 = 0
I2
I1 I3
I4
RS RS
R1 R2 R3
𝑅𝑒𝑞 = 𝑅1 + 𝑅2 + 𝑅3
R1 R2 R3
1 1 1 1
= + +
𝑅𝑒𝑞 𝑅1 𝑅2 𝑅3
02: Circuits and Systems Basics 6
Voltage and Current Dividers
❑ Voltage divider → the largest resistor takes most of the voltage
❑ Current divider → the smallest resistor (largest conductance) takes most of the current
▪ Remember that current flows in the least resistance path
𝑅3 𝐺3
𝑉𝑜𝑢𝑡 = 𝑉𝐷𝐷 ⋅ 𝐼𝑜𝑢𝑡 = 𝐼𝑖𝑛 ⋅
𝑅1 + 𝑅2 + 𝑅3 𝐺1 + 𝐺2 + 𝐺3
VDD
Iout
R1
Iin R1 R2 R3
R2
Vout
R3
Any circuit
Any circuit VTH=Vo.c. Deactivate
ind. sources ZTH=Zeq
ZTH
VTH
Any circuit
Any circuit IN=Is.c. Deactivate
ind. sources ZN=Zeq
IN ZN
DC + AC = DC + AC
VDD VDD
RD RD RD
vout vout vout
𝑑𝑄 𝑑𝑉
𝑖= =𝐶
𝑑𝑡 𝑑𝑡
𝑉 = 𝑉𝑜 cos 𝜔𝑡 = 𝑉𝑜 ⋅ 𝑅𝑒 𝑒 𝑗𝜔𝑡 ⇒ 𝑉𝑜 𝑒 𝑗𝜔𝑡
𝑑𝑉
𝑖=𝐶 = 𝑗𝜔𝐶 𝑉𝑜 𝑒 𝑗𝜔𝑡 = 𝑗𝜔𝐶 ⋅ 𝑉
𝑑𝑡
𝑉 1 1 1
𝑍𝐶 = = = ⇒ 𝑋𝐶 =
𝑖 𝑗𝜔𝐶 𝑠𝐶 𝜔𝐶
𝜔 ↑↑ ⇒ 𝑋𝐶 → 0 ⇒ 𝑠. 𝑐.
𝜔 ↓↓ ⇒ 𝑋𝐶 → ∞ ⇒ 𝑜. 𝑐.
02: Circuits and Systems Basics 12
Capacitance Combinations
❑ Capacitors in series: Smallest capacitor dominates
C1 C2 C3
1 1 1 1
= + +
𝐶𝑒𝑞 𝐶1 𝐶2 𝐶3
C1 C2 C3
𝐶𝑒𝑞 = 𝐶1 + 𝐶2 + 𝐶3
02: Circuits and Systems Basics 13
Laplace Transform (LT)
02: Circuits and Systems Basics [D. Rowell, MIT 2.004, 2008] 14
Laplace Transform (LT)
Time domain Laplace domain
1
𝑒 𝑎𝑡
𝑠−𝑎
𝑡
1
න 𝑓 𝑡 𝑑𝑡 𝐹 𝑠
𝑠
0
𝑑𝑓 𝑡
𝑠𝐹 𝑠
𝑑𝑡
𝛿 𝑡 1
1
𝑢 𝑡
𝑠
02: Circuits and Systems Basics [D. Rowell, MIT 2.004, 2008] 17
Real and Complex Poles
02: Circuits and Systems Basics [D. Rowell, MIT 2.004, 2008] 18
LHP and RHP Poles
❑ Poles in LHP: Decaying exponential ➔ Stable system
▪ BIBO: Bounded input bounded output
❑ Poles in RHP: Growing exponential ➔ Unstable system
02: Circuits and Systems Basics [D. Rowell, MIT 2.004, 2008] 19
Frequency Response
❑ Transfer function
𝑁 𝑠
𝐻 𝑠 =
𝐷 𝑠
❑ Fourier Transform is a special case of Laplace Transform: 𝑠 ⇒ 𝑗𝜔
▪ 𝜎 = 0 ➔ Steady state response for sinusoidal input
❑ Transfer function ➔ Frequency response: 𝑠 ⇒ 𝑗𝜔
𝑉𝑜𝑢𝑡 𝑗𝜔
𝐻 𝑗𝜔 = = 𝐻 𝑗𝜔 𝑒 𝑗𝜙
𝑉𝑖𝑛 𝑗𝜔
❑ 𝑎 + 𝑗𝑏 = 𝑟𝑒 𝑗𝜃 Im
❑ 𝑟 = Magnitude 𝑎 + 𝑗𝑏 = 𝑎2 + 𝑏 2
−1 𝑏 r
❑ 𝜃 = Phase 𝑎 + 𝑗𝑏 = tan 𝑎 b
θ Re
a
02: Circuits and Systems Basics 20
Frequency Response
❑ Y-axis: magnitude of frequency response, x-axis: frequency
𝑪 ⇒ 𝒐. 𝒄. 𝑪⇒✓
𝑃 𝐻 𝑗𝜔
R
Vin Vout
C
Vout
Iin R C
𝑪⇒✓ 𝑪 ⇒ 𝒔. 𝒄.
𝑃 𝐻 𝑗𝜔
1 𝜔𝑜 𝐿 1 1
𝜔𝑜2 = 𝑎𝑛𝑑 𝑄 = = =
𝐿𝐶 𝑅 𝜔𝑜 𝑅𝐶 2𝜁
R L
Vin Vout
C
02: Circuits and Systems Basics 29
Second-Order Passive LC LPF
1 𝜔𝑜2
𝐻 𝑠 = 2 = 𝜔𝑜
𝑠 𝑠 𝑠 2 + 𝑠 + 𝜔 2
𝜔𝑜 + 𝜔𝑜 𝑄 + 1 𝑄 𝑜
𝜔𝑜
❑ The poles occur at 𝑠 2 + 𝑠 + 𝜔𝑜2 = 0
𝑄
−𝑏 ± 𝑏 2 − 4𝑎𝑐 𝜔𝑜 𝜔𝑜 1
𝑠𝑝1,2 = =− ± 2
−4
2𝑎 2𝑄 2 𝑄
R L
Vin Vout
C
02: Circuits and Systems Basics 30
Second-Order System Poles
1 1
𝐻 𝑠 = 2 = 2
𝑠 𝑠 𝑠 𝑠
+𝜔 𝑄+1 + +1
𝜔𝑜 𝑜 𝜔𝑜 𝜔𝑜 /2𝜁
𝜔𝑜 𝜔𝑜 1
𝑠𝑝1,2 =− ± 2
−4
2𝑄 2 𝑄
❑ If 𝑄 < 0.5 (𝜁 > 1): overdamped system, roots are real,
negative, and distinct, like two first-order RC filters in
cascade
❑ If 𝑄 = 0.5 (𝜁 = 1): critical damped system, roots are R L
Vin Vout
real, negative, and equal C
❑ If 𝑄 > 0.5 (𝜁 < 1): underdamped system, roots are
complex conjugate
02: Circuits and Systems Basics [Sedra/Smith, 2015] & [Johns and Martin, 2012] 31
Ringing and Peaking
❑ 𝑄 > 0.5 (𝜁 < 1): Underdamped system (complex conjugate poles)
▪ Ringing (overshoot) in step response (time domain)
−𝜋
% overshoot= 100 𝑒 4𝑄2 −1
1
❑ 𝑄> 2
= 0.707 (𝜁 < 0.707): Peaking in frequency response
02: Circuits and Systems Basics [Sedra/Smith, 2015] & [Johns and Martin, 2012] 32
Thank you!
َ ُْ ََ
Analog IC Design
Lecture 03
Review on Semiconductors Basics
Metal
contact
Anode P-type N-type Cathode
Anode Cathode
ID ID
IS IS
E E
++holes++ -electrons- ++holes++ -electrons-
A +++++++ ----------- K A +++++++ ----------- K
+++++++ ----------- +++++++ -----------
+++++++ ----------- +++++++ -----------
+++++++ ----------- +++++++ -----------
03: Semiconductors Basics 15
PN Junction in Forward (Fwd) Bias
❑ The applied forward voltage decreases diffusion barrier
▪ Dramatically increases diffusion current
𝑉𝐹
❑ Net current is very high = 𝐼𝐷 − 𝐼𝑆 ≈ 𝐼𝐷 = 𝐼𝑆 𝑒 𝑉𝑇
VF
ID ID
IS IS
E E
++holes++ -electrons- ++holes++ -electrons-
A +++++++ ----------- K A +++++++ ----------- K
+++++++ ----------- +++++++ -----------
+++++++ ----------- +++++++ -----------
+++++++ ----------- +++++++ -----------
03: Semiconductors Basics 16
PN Junction IV Characteristics
𝑉 V
❑ 𝐼 = 𝐼𝑆 (𝑒 − 1) 𝑉𝑇
Anode Cathode
❑ Forward: High diffusion current
exponentially dependent on 𝑉 = 𝑉𝐹 I
❑ Reverse: Very small drift current almost
independent of 𝑉 = −𝑉𝑅
❑ Breakdown: Very high reverse current at
LARGE reverse bias voltage