Mootaz ALLAM
PhD Student Pierre & Marie Curie University
LIP6 Laboratory
UPMC-LIP6/SoC/CIAN --
27 janvier 2009 STMicroelectronics, Grenoble, NANO2012, 1
CAN AA
Mootaz ALLAM, LIP6 Laboratory, University Pierre & Marie Curie
x
Unkown difference
ref
Reference signal of known period
3
Mootaz ALLAM, LIP6 Laboratory, University Pierre & Marie Curie
Concept of TDC
Quantizing the difference between x and y
The count of cycles of the reference signal
x
represents the quantized value of Tin
y
5
Mootaz ALLAM, LIP6 Laboratory, University Pierre & Marie Curie
Concept of TDC
Quantizing the difference between x and y
x Tq Tq Tq
y
fs Counter
Digital
Definitions:
TDC resolution : Tq (reference signal period) ----- Limited by Technology Min gate delay
7
Mootaz ALLAM, LIP6 Laboratory, University Pierre & Marie Curie
Output is thermometer
8
Mootaz ALLAM, LIP6 Laboratory, University Pierre & Marie Curie
Output is thermometer
12
Mootaz ALLAM, LIP6 Laboratory, University Pierre & Marie Curie
Theoretical approach !!
Not easy to implement
Vdd
Gnd
14
Mootaz ALLAM, LIP6 Laboratory, University Pierre & Marie Curie
Frequency
Detection
How ?
digital
Differences with gated ring oscillator
- The enable signal replaced by analog continuous voltage to be converted
- The oscillator is always running since the input is continuously varying
15
Mootaz ALLAM, LIP6 Laboratory, University Pierre & Marie Curie
Frequency
Detection VCOout (t ) A sin(2 ( K v vtune(t ) f fr )dt )
(t ) 2 ( K v vtune(t ))dt
(t ) d
fVCO (2 ( K v vtune(t ))dt )
t dt
(t ) 2 * n
Quantization step (LSB) = 2 (t ) (t )
fVCO (t ) f S
t TS
Quantized fVCO 2 * f S * n
17
Mootaz ALLAM, LIP6 Laboratory, University Pierre & Marie Curie
n : quantizer resolution
18
Mootaz ALLAM, LIP6 Laboratory, University Pierre & Marie Curie
N
fVCO K 2 * n K 2 (2 / m) * f S
m m m
20
Mootaz ALLAM, LIP6 Laboratory, University Pierre & Marie Curie
Drawbacks 30 60 24 42
1) Reset pulse can coincide with Ring Clock Pulse(Asynchronous with
Reset) , Noise shaping will vanish
2) Complex implementation for higher OSR and more quantization
levels (counters)
21
Mootaz ALLAM, LIP6 Laboratory, University Pierre & Marie Curie
Frequency Detection
Number of inverters switching
state between two sampling
instances is a count of the zero
crossings during this time
Example
101010010
XOR
011010101
(t ) d
fVCO (t )
t dt 110000111
5 transitions detected by XOR
22
Mootaz ALLAM, LIP6 Laboratory, University Pierre & Marie Curie
3 2
2 1
1
toggling
O/P voltage (Volt)
1 0
t
Y TD
1 0 Two sampling instances by period for Ts=Tvco/2
Z Ts
0 1
t
24
Conversion with zero quantization error
Mootaz ALLAM, LIP6 Laboratory, University Pierre & Marie Curie
1 0 1 1 1 0 1
t
Z Ts thermometer code
Max fvco gives max output
0 1 1 0 1 1 1
It’s Equal to the Count of zero crossing
t
25
Conversion with zero quantization error
Mootaz ALLAM, LIP6 Laboratory, University Pierre & Marie Curie
1 0 1 0
t
Y TD
1 0 1 0
Z Ts
0 1 0 1
t
26
Conversion with zero quantization error
Mootaz ALLAM, LIP6 Laboratory, University Pierre & Marie Curie
Y
1 0 1 1 1 0 1
0 1 1 0 1 1 1
t
27
Conversion with zero quantization error
Mootaz ALLAM, LIP6 Laboratory, University Pierre & Marie Curie
1 1 1
t
Y
1 1 1
Z thermometer code
1 1 1
t
28
Conversion with zero quantization error
Mootaz ALLAM, LIP6 Laboratory, University Pierre & Marie Curie
1 1 0 1
t
Y
1 TD 0 1 1
Z
Ts
0 1 1 0
t
29
Conversion with zero quantization error
Mootaz ALLAM, LIP6 Laboratory, University Pierre & Marie Curie
Y
1 0 1 1 1 1 0
0 1 1 1 0 0 1
t
30
Conversion with zero quantization error
Mootaz ALLAM, LIP6 Laboratory, University Pierre & Marie Curie
0 1 1
t
Y
1 1 0
Z
thermometer code
With inherent DWA
1 0 1
t
31
Conversion with zero quantization error
Mootaz ALLAM, LIP6 Laboratory, University Pierre & Marie Curie
1 1 0 0 1
t
Y
1 0 0 1 1
TD
t
Z
Ts
0 0 1 1 0
t
32
Conversion with noise shaping for quantization error
Mootaz ALLAM, LIP6 Laboratory, University Pierre & Marie Curie
1 1 0 0 1 0 0 1 1
t
Y
1 0 1 0 0 1 1 1 0
0 0 0 1 1 1 0 0 1
t
33
Conversion with noise shaping for quantization error
Mootaz ALLAM, LIP6 Laboratory, University Pierre & Marie Curie
0 1 0 1
t
Y
1 0 1 0
Z
Sum =1 Sum =2 Sum =1 Sum =2
0 1 0 1
t
34
Conversion with noise shaping for quantization error
Mootaz ALLAM, LIP6 Laboratory, University Pierre & Marie Curie
(t ) 2 ( K v vtune(t ))dt
(t ) d
fVCO (2 ( K v vtune(t ))dt )
t dt
35
Mootaz ALLAM, LIP6 Laboratory, University Pierre & Marie Curie
1 z 1 1 e sTS
(sTS )1 (sTS ) 2 (sTS )3
1 (1 ........)
1! 2! 3!
sTS
36
36
Mootaz ALLAM, LIP6 Laboratory, University Pierre & Marie Curie
Time(sec) Freq(Hz)
37
37
Mootaz ALLAM, LIP6 Laboratory, University Pierre & Marie Curie
CL
Input voltage(V)
I D K (Vgs Vt CL
2
)
VswingCL 1
td 2
ID VGS 1
f osc
2 Nt d
Non linear Relation and can be assumed linear on a small range
38
38
Mootaz ALLAM, LIP6 Laboratory, University Pierre & Marie Curie
Circuit Circuit
ideal ideal
O/P Spectrum (dB)
SNDR (dB)
fs
1 Sigma Delta ADC Review
T Q
X (s) X (z ) Y (z )
H d (z)
Single bit Q
H DAC (z )
H DAC ( z ) 1
H d ( z) 1
Y ( z) X ( z) Q( z )
1 Hd ( z) 1 H d ( z)
Noise Shaping
Higher orders
40
Mootaz ALLAM, LIP6 Laboratory, University Pierre & Marie Curie
Multibit quantization
Higher SNR at lower OSR values
3 2n 1 M 2 n 1
Estimated SNR ( 2 n )(2 1) OSR
2
2
Order Over Sampling ratio
Quantizer resolution
Mootaz ALLAM, LIP6 Laboratory, University Pierre & Marie Curie
High Resolution
Multi-bit Non-linearity?
Low Power
42
Mootaz ALLAM, LIP6 Laboratory, University Pierre & Marie Curie
43
Mootaz ALLAM, LIP6 Laboratory, University Pierre & Marie Curie
fs
X (s)
1
T
X (z)
Design
Q
Challenge: Multibit
Y (z)
DAC
H d (z)
7x
44
DWA*: Data weighted averaging
Mootaz ALLAM, LIP6 Laboratory, University Pierre & Marie Curie
f s E (z)
X (s) 1 2 K V CO 1 Y (z )
1
Ts 1- z 2 K V COT
Ts
a1 a2
H DAC (s )
45
Mootaz ALLAM, LIP6 Laboratory, University Pierre & Marie Curie
46
46
Mootaz ALLAM, LIP6 Laboratory, University Pierre & Marie Curie
Volt.
Freq.
47
47
Mootaz ALLAM, LIP6 Laboratory, University Pierre & Marie Curie
48
48
Mootaz ALLAM, LIP6 Laboratory, University Pierre & Marie Curie
Y ( z) 1 z 1 1
NTFVCO ( z )
EV ( z ) 1 Gc ( z ) 1 Gc' ( z )
z 1
G ( z)
'
1
Z H DAC ( s) H C ( s)
1 z
c
a2 a1 1 e Ts a2 a
Z H DAC ( s)( 2 2 ) Z ( )( 21 2 )
Ts T s s Ts T s
49
49
Mootaz ALLAM, LIP6 Laboratory, University Pierre & Marie Curie
a2 a1 1 e Ts a2 a
Z H DAC ( s)( 2 2 ) Z ( )( 21 2 )
Ts T s s Ts T s
a a
(1 z 1 ) * Z ( 22 21 3 )
Ts T s
z a1 z ( z 1)
(1 z 1 ) * (a2 )
( z 1) 2
2 ( z 1) 3
1 a1 ( z 1)
( z 1) * (a2 )
( z 1) 2
2 ( z 1) 3
1 a ( z 1)
( a2 1 )
( z 1) 2 ( z 1) 2
(a2 a1 / 2 1) z (a2 a1 / 2 1)
( z 1) 2 50
50
Mootaz ALLAM, LIP6 Laboratory, University Pierre & Marie Curie
Y ( z) 1 z 1 1 NTFD ( z )
Y ( z)
1
NTFVCO ( z )
EV ( z ) 1 Gc ( z ) 1 Gc' ( z ) E ( z ) 1 Gd ( z )
a1
b2 a0 1
2
a
b2 b1 a2 1 1
2
b1 a1
b1
b2 1 a2
2 51
51
Mootaz ALLAM, LIP6 Laboratory, University Pierre & Marie Curie
Circuit
Improvement ideal
f (Hz)
VCO spectrum in SD loop 52
52
Mootaz ALLAM, LIP6 Laboratory, University Pierre & Marie Curie
Circuit Circuit
ideal ideal
Improvement
SNDR
SNDR
53
Ain (dB) Ain (dB)
VCO quantizer(SNDR) VCO in SD loop (SNDR)
53
53
Linearization through feedback
Using Negative feedback
This will make the VCO always
running very close to its free running
frequency
54
Summary & Conclusion
• TDC are potential candidates for modern wide band ADC
• They achieve good resolution and BW efficiently (low power)
• They are compatible with technology scaling thus allowing
further efficency in terms of power and area