2009 Iscastutorial
2009 Iscastutorial
Background on Hanspeter Schmid Dissertation on video-frequency integrated filters (ETH Zrich) Analog IC Designer at Bernafon / William Demant Holding:
Analog electronics: LNAs, amplifiers, regulators, filters, standard cells, circuits for wireless communication system. System design, analog signal processing and signal integrity. Communication facilitator between Danish and Swiss Teams.
IME: research projects (sensor systems, sigma-delta, etc.), consulting, teaching. ETH Zrich: teaching analog (integrated) signal processing IEEE CAS:
Chair Analog Signal Processing Tech. Comm. Associate Editor of TCAS-I
Tutorial Philosophy
ISCAS 2009
ISCAS 2009
Philosophy II: Be a child open for everything playful does not do what she should do a child has got time! Advice for scientists by Douglas Adams: See first, think later, then test. But always see first, or you will only see what you expect to see!
ISCAS 2009
Philosophy III: Be a climber works hard to achieve a goal is well trained normally gets to the intended goal Is the intention good? The direct path leads only to the goal! that heralds The most exciting phrase in science, the one (Andr Gide) new discoveries, is not Eureka! (I found it!), but Will That's funny ... the fool not fall down? (Isaac Asimov) if the fool also is a child. Not
ISCAS 2009
Tutorial Contents
Introduction: What is new? More metal layers Small lateral distances Thinner gates
more C less Vdd
Multi-metal cross section Example: 6 Metal layers. Lateral dimensions are smaller than vertical dimensions!
ISCAS 2009
Weak Inversion
ISCAS 2009
10
Maximum gain of single stage is reached in weak inversion For a given supply current: gain is proportional to supply voltage!
ISCAS 2009
11
Therefore: Differential pairs in weak inversion Therefore: Current mirrors in strong inversion
Hanspeter Schmid, Institute of Microelectronics, FHNW, Windisch, Switzerland
from [Kinget07]
ISCAS 2009 12
Summary Thinner gates (and higher gate tunnelling currents!) more gate (overlap, ...) capacitance per area No buried channels anymore pMOS is not better anymore in terms of flicker noise! Less supply voltage Less gain same white noise at same supply current; less flicker noise Sub-threshold leakage less signal
ISCAS 2009
13
ISCAS 2009
15
Signal Integrity Ground and Power Routing Star Connections Tapered Stars Signal Grounds and Refs Improving PSR (theory) Finger capacitors and MIM-capacitors Demodulation by nonlinearity Decoupling
ISCAS 2009
16
ISCAS 2009
17
ISCAS 2009
18
ISCAS 2009
19
ISCAS 2009
20
ISCAS 2009
21
ISCAS 2009
22
16 is not a lot!
ISCAS 2009
23
This means: we have full control of where the noise currents flow. But: more chip area or more supply / ground wire resistance! Paradox: most sensitive nodes are farthest away from pad.
Hanspeter Schmid, Institute of Microelectronics, FHNW, Windisch, Switzerland ISCAS 2009 24
Local decoupling is sometimes needed The question is: where shall the decoupling capacitor go?
Answer: to the reference of the signal! But this may not be so easy. Many "PSR problems" are really coupling problems or problems with dirty references
Hanspeter Schmid, Institute of Microelectronics, FHNW, Windisch, Switzerland ISCAS 2009 25
How to improve PSRR and CMRR in a system? CMRR and PSRR are connected! Proof: Gauge transformation
from [Sckinger91]
Hanspeter Schmid, Institute of Microelectronics, FHNW, Windisch, Switzerland ISCAS 2009 26
Solution: Additional input from quiet ground Now we have one more degree of freedom
ISCAS 2009
27
from [Loikkanen06]
Hanspeter Schmid, Institute of Microelectronics, FHNW, Windisch, Switzerland ISCAS 2009 28
ISCAS 2009
29
Recommendations for chip routing Use "tapered" star connections For every differential signal node, make sure that the signal is referred to a clean signal. Input reference Problem: the references can change within a single circuit
Output reference
Hanspeter Schmid, Institute of Microelectronics, FHNW, Windisch, Switzerland ISCAS 2009 30
ISCAS 2009
31
MIM capacitor (Metal 5 and Metal 6): Finger structure (Metal 1 Metal 4): MIM capacitor on top of Finger structure (all Metal): MOSFET gate capacitance (non-linear):
ISCAS 2009
32
Demodulation by a nonlinearity I: DC offset Normal Operation with HF-Signal on Pad (weak inversion)
Demodulation by a nonlinearity II: receiver Normal Operation with amplitude-modulated HF-Signal on Pad (weak inversion)
Realistic? Yes! In all digitally driven class-D (PWM) amplifiers, the signal is amplitude-modulated on the system clock frequency. The square of this signal appears in the supply current. If this strays back into a high-gain audio system: huge distortion or even instability! Solution: decouple all inputs ... to the respective reference of the signal ... as close to the pad as possible ... with as big a capacitor as possible
ISCAS 2009
35
Literature: Signal Integrity [Loikkanen06] Mikko Loikkanen et. al., "PSRR Improvement Technique for Amplifiers with Miller Capacitor," ISCAS 2006, Kos, Greece, pp. 13941397. [National05] National Semiconductor Analog University, Meeting Signal-Path Design Challenges, High-performance seminar series 2005, part no. 570012-001. (Can be ordered from National for free.) [Sckinger91] Eduard Sckinger et. al., "A General Relationship Between Amplifier Parameters, And Its Application to PSRR Improvement," IEEE Trans. Circuits and SystemsI, vol. 38, no. 10, pp. 11731181, Oct 1991
ISCAS 2009
36
ISCAS 2009
37
Matryoshka amplifiers
Regulated cascode OTAs Nested Miller amplifiers
from [Tsividis99]
Hanspeter Schmid, Institute of Microelectronics, FHNW, Windisch, Switzerland ISCAS 2009 39
ISCAS 2009
40
VGS
Maximum gain of single stage is reached in weak inversion For a given supply current: gain is proportional to supply voltage!
ISCAS 2009
43
Cascode current mirror Feedback loop: For a constant signal current, the transistor M4 tries to keep the drain voltage of M2 constant. The loop gain around M4 is
Careful design needed such that M3 and M1 are always saturated Bias voltage necessary
ISCAS 2009
45
But: for the same current, Vgs3 < Vgs1! M1, M2 in strong inversion M3, M4 in weak inversion (makes Aloop small and M3,M4 huge) M1, M2 normal-Vt transistors M3, M4 low-Vt transistors (requires low-Vt transistors, which most submicron processes have)
Hanspeter Schmid, Institute of Microelectronics, FHNW, Windisch, Switzerland ISCAS 2009 46
ISCAS 2009
48
The "original" by Sckinger simplest loop amplifier, but needs a lot of supply voltage
from [Sckinger90]
Hanspeter Schmid, Institute of Microelectronics, FHNW, Windisch, Switzerland ISCAS 2009 49
[Treichler06]
Hanspeter Schmid, Institute of Microelectronics, FHNW, Windisch, Switzerland ISCAS 2009 51
from [Huijsing01]
Hanspeter Schmid, Institute of Microelectronics, FHNW, Windisch, Switzerland ISCAS 2009 52
ISCAS 2009
53
ISCAS 2009
54
Conclusion On modern digital technologies, we lose supply voltage gain If we need gain: we need to combine more gain stages and, if possible, use weak inversion Intuitive way to think about it: An Amp within an Amp within an Amp
ISCAS 2009
55
ISCAS 2009
56
ISCAS 2009
57
Switched capacitors Speed limit of SC filters SC noise filtering Switches and T-gates Voltage doublers
for clock signals for OTA tails for control voltages
ISCAS 2009
58
Simple SC resistor
from [Gregorian86]
Hanspeter Schmid, Institute of Microelectronics, FHNW, Windisch, Switzerland ISCAS 2009 59
from [Johns97]
Hanspeter Schmid, Institute of Microelectronics, FHNW, Windisch, Switzerland ISCAS 2009 60
1 G
ISCAS 2009
61
Bad Layout: asymmetries of clock lines! This can give huge offset.
ISCAS 2009
62
ISCAS 2009
63
Types of switches
from [Johns97]
Hanspeter Schmid, Institute of Microelectronics, FHNW, Windisch, Switzerland ISCAS 2009 64
Voltage-level limitation
ISCAS 2009
65
from [Tsividis96]
Hanspeter Schmid, Institute of Microelectronics, FHNW, Windisch, Switzerland ISCAS 2009 66
VT=610mV
Clock voltage doubler "Doubling" pMOS gate voltages below VSS is also possible!
from [Basu99]
Hanspeter Schmid, Institute of Microelectronics, FHNW, Windisch, Switzerland ISCAS 2009 68
ISCAS 2009
69
from [Keshner82]
Hanspeter Schmid, Institute of Microelectronics, FHNW, Windisch, Switzerland ISCAS 2009 70
ISCAS 2009
71
ISCAS 2009
72
from [Schmid07]
Hanspeter Schmid, Institute of Microelectronics, FHNW, Windisch, Switzerland ISCAS 2009 73
Nature of Memory in MOSFETs Mainly interface traps at the channel-to-oxide and gate-to-oxide interfaces: Spectrum caused by a single trap with time constant :
Flicker noise slope is a physical property. Flicker noise magnitude is related to the absolute number of interface traps.
Hanspeter Schmid, Institute of Microelectronics, FHNW, Windisch, Switzerland ISCAS 2009 74
from [Schmid08]
Hanspeter Schmid, Institute of Microelectronics, FHNW, Windisch, Switzerland ISCAS 2009 75
ISCAS 2009
76
from [Klumperink00]
Hanspeter Schmid, Institute of Microelectronics, FHNW, Windisch, Switzerland ISCAS 2009 77
Sampling noise
from [Schmid08]
Hanspeter Schmid, Institute of Microelectronics, FHNW, Windisch, Switzerland ISCAS 2009 78
from [Enz96]
Hanspeter Schmid, Institute of Microelectronics, FHNW, Windisch, Switzerland ISCAS 2009 79
ISCAS 2009
80
from [Enz96]
Hanspeter Schmid, Institute of Microelectronics, FHNW, Windisch, Switzerland ISCAS 2009 81
ISCAS 2009
82
Chopper circuit
from [Schmid08]
Hanspeter Schmid, Institute of Microelectronics, FHNW, Windisch, Switzerland ISCAS 2009 83
Matryoshka Chopper
from [Schmid08]
Hanspeter Schmid, Institute of Microelectronics, FHNW, Windisch, Switzerland ISCAS 2009 84
Multipath Chopper
ISCAS 2009
85
Reducing offset and 1/f noise by correlated double sampling Auto-zeroing: sample offset in one phase; sample signal in other phase while compensating offset. Auto-zeroing works in sampled time. Chopping: modulate input signal to a higher frequency; modulate signal back after amplifier, and therefore modulate offset and 1/f noise to higher frequencies. Chopping works in continuous time! Correlated double sampling combines both: first sample signal, then sample inverse, then subtract. Correlated double sampling works in sampled time. CDS can be used most effectively in capacitive sensor systems where the sensor can be controlled to give normal or inverse output signals! Then sensor offset and 1/f noise is reduced too. In auto-zero and CDS, the transistor bias history must be the same for both samples!
Hanspeter Schmid, Institute of Microelectronics, FHNW, Windisch, Switzerland ISCAS 2009 86
ISCAS 2009
87
ISCAS 2009
88
Feedback or no feedback The benefit of feedback Current mode and voltage mode Example: Open-Loop SigmaDelta A/D converter Case study with CSEM Zrich: Low-feedback approach applied to buffer design
Feedback (in Black's words) Advantages: constancy of amplification freedom from nonlinearity reduced delay and delay distortion, reduced noise disturbance from the power supply circuits Disadvantages: [difficult] because of the [] special control required of phase shifts Unless these relations are maintained, singing will occur
ISCAS 2009
90
No free lunch! The famous no-free-lunch theorem states that even if we say, e.g., "A system with feedback gives us low distortion for free", it is not really for free, we just cannot possibly optimize power by trading in distortion or other parameters. A more scientific version of the no-free-lunch theorem states: A general-purpose optimization strategy is impossible, and the only way one strategy can outperform another is if it is specialized to the structure of the specific problem under consideration.
from [Ho01]
Hanspeter Schmid, Institute of Microelectronics, FHNW, Windisch, Switzerland ISCAS 2009 91
ISCAS 2009
92
ISCAS 2009
93
ISCAS 2009
94
from [Schmid00]
Hanspeter Schmid, Institute of Microelectronics, FHNW, Windisch, Switzerland ISCAS 2009 95
Real difference
from [Schmid03]
Hanspeter Schmid, Institute of Microelectronics, FHNW, Windisch, Switzerland ISCAS 2009 96
from [Nauta92]
Hanspeter Schmid, Institute of Microelectronics, FHNW, Windisch, Switzerland ISCAS 2009 97
Example
aggressive design time first time right
ISCAS 2009
98
ISCAS 2009
99
Case Study: Low-feedback approach applied to buffer design Hanspeter Schmid, IME/FHNW Simon Neukom and Yue-Li Schrag, CSEM Zrich
ISCAS 2009
100
Standard SC amplifier
Hanspeter Schmid, Institute of Microelectronics, FHNW, Windisch, Switzerland ISCAS 2009 101
Operation principle: (with matched resistors) Stage 1: single-ended voltage to differential current Stage 2: current to voltage
ISCAS 2009
103
ISCAS 2009
104
Offset compensation with current-output Track&Hold Offset is compensated in "Track" mode individually for each output path
ISCAS 2009
105
The remaining offset comes only from the T&H OTA! All other offsets, including random offsets in the gnd references, are cancelled.
ISCAS 2009
106
Input transconductor
ISCAS 2009
107
ISCAS 2009
108
Track&Hold amplifier
ISCAS 2009
109
Static offset: value settled at the end of calibration cycle Dynamic offset: mean value of full-scale settled values
Static Offset
Dynamic Offset
ISCAS 2009
110
Static and dynamic offset correlate very well digital correction possible!
ISCAS 2009
111
Supply current for full-scale steps The current peaks are much smaller than for SC amplifiers
ISCAS 2009
112
Monte-Carlo simulation of third-order (left) and second-order (right) harmonic distortion (full scale, full speed)
Efficient Simulation of Harmonic Distortion in Discrete-Time Circuits Wednesday May 27, 2009 from 15:30 - 17:00 in Room 101B.
Hanspeter Schmid, Institute of Microelectronics, FHNW, Windisch, Switzerland ISCAS 2009 113
odd-order distortion
even-order distortion
NOISE
Hanspeter Schmid, Institute of Microelectronics, FHNW, Windisch, Switzerland
ISCAS 2009
115
Design time! two weeks including all simulations and layout has been used on three chips first time right; meets specs
ISCAS 2009
116
ISCAS 2009
117
ISCAS 2009
118
ISCAS 2009
119
ISCAS 2009
120
Thank you for coming! Hanspeter Schmid Institute of Microelectronics Steinackerstrasse 1 5210 Windisch Switzerland Tel +41 56 462 46 25 Fax +41 56 462 46 15 [email protected] Lab: http://www.fhnw.ch/technik/ime/ Publications: http://www.schmid-werren.ch/hanspeter/
ISCAS 2009
121