Академический Документы
Профессиональный Документы
Культура Документы
D. Strle
E-mail: drago.strle@fe.uni-lj.si
1
Over sampled converters
2 fb Vref2 1
R fs 2 fB ; Vn2,B
12 f s 2 12 2 OSR
2N
2
Noise shaping
Linear model:
3
Theoretical background-2
Assuming that the two inputs of the linear model are independent (which is an approximation), we can
write the following transfer functions ( using superposition theorem) :
E ( z ) 0 D( z ) U ( z) Y ( z); X ( z) D( z) H ( z); X ( z ) Y ( z)
Y ( z) U ( z) Y ( z) H ( z) U ( z) H ( z) Y ( z) H ( z)
Y z H z
STF
U z 1 H z
U ( z) 0; Y ( z) X ( z) E ( z); D( z) Y ( z); X ( z) H ( z) D( z)
Y z 1
NTF z
E z 1 H ( z)
Y z STF ( z )U ( z ) NTF z E z
Since a pole in H(z) becomes a zero in NTF(z), the quantization noise will be
high-pass filtered.
4
First order noise shaped LP modulator -2:
Using the discrete-time integrator as our H(z), we can write the following
transfer functions:
Y z 1 z 1
STF z z 1 Delay
U z 1 1 z 1
Y z 1
NTF z 1 z 1 HP trans. func.
E z 1 1 z 1
S e2 f NTF f df
2
Pe f 12 f s 2sin f s df
f0 0
f f f
NTF f 2sin for f o f s ; sin
fs fs fs
f 2 3 2 3
q2 1 0 f q 2 1 8 f 0 q 2 2 2 f 0
Pe 2 df
12 f s f0 f s 12 f s f s 3 12 3 f s
5
1st order noise shaped LP modulator - 4:
Block diagram
S-C implementation
6
1st order noise shaped LP modulator - 5:
7
2nd order noise shaped LP modulator - 2 :
• Discrete time integrator:
X 1 z U1 z X 1 z z 1
1
X 1 z U1 z
1 z 1
X z 1
H int z 1
U1 z 1 z 1
• S/N calculation:
STF ( z ) 1
NTF ( z ) 1 z 1
2
4
2 f
j
j
2
NTF (e ) 1 e f s
4 4
f f
2sin 16 ;
fs fs
for f o fs ;
f0 4 5 5
q 2 16 2 f q 2 4 1
f S e f NTF f df 12 f s f s f s 12 OVS
2
Pe 2
S
6.02* N 1.76 50 log10 OSR
N max
8
Nth order noise shaped N bit LP modulator :
Error in the
picture?
9
STF and NTF of a 2nd order modulator:
10
Input voltage and a bit-stream:
11
Multi stage, cascaded LP Σ-Δ modulator:
• Basic concept:
V1 z STF 1 z U z NTF 1 z E1 z
V2 z STF 2 z E1 z NTF 2 z E2 z
Y z V1 z H1 z V2 z H 2 z
• H1 and H2 are designed such that E1 does not appear to the output Y(z)
This could be achieved by:
H1 z NTF1 z H 2 z STF 2 z
V z z 2U z 2 1 z
1 4
E2 z
• Under ideal conditions this shows 4th order behavior but have stability
behavior of 2nd order modulator
• In reality Ntf1 and Ntf2 are not realized ideally due to imperfections :
12
A/D and D/A converters inside the modulator:
S 3 2L 1 2 L 1
2L
N *6.02 10*log10 OVS
N max 2
13
Multi bit A/D and D/A:
w n F v n
Any nonlinearity of a DAC is directly seen at the output v(n) without any attenuation.
The linearity of a ADC is not so important because nonlinearity is in the signal band
Attenuated by NTF.
14
Dual quantization:
Dual quantization:
V ( z ) z 1U z 2 1 z 1 E2 z 2 z 1 1 z 1 ED z
3 2
Homework - project:
1. Verify the formula above
2. What is the effect of 3 bit quantizer to the linearity of the quantizer
3. What must be the transfer function of the noise cancellation block
15
Dual quantization: Solution of homework:
• Dual quantization:
– Verify the formula above:
– What is the effect of 3 bit quantizer to the linearity of the modulator?
• The linearity of the modulator is improved because:
– Quantization noise of the first quantizer is ideally cancelled
– Quantization noise of 3 bit quantizer E2 is shaped
– Nonlinearity product of Ed are shaped
– What must be the transfer function of the noise cancellation block
• They are defined on the previous page. They are selected in such a way that:
– E1 is ideally cancelled and replaced by shaped E2, which is smaller because of multi bit used
– Nonlinear distortion products generated 3 bit D/A are shaped by the product of the first 2 integrators and
are thus reduced or negligible at high OSR
– The loop stability is improved because multi bit quantizer reduces inputs signals of both quantizers
16
Dynamic element randomization:
Element randomization:
17
Tones mod1 - 1:
• The DC value of u and v (average values) could be obtained at z=1 if e(n) is finite:
V e j0 U e j0
2018/2019 Microelectronic Systems
Tones mod1 - 2:
• For dc input u and y(0)=0 and v(0)=0: n y(n) v1(n) y(n) v2(n)
y n y n 1 u v n 1 0 1/2 0 0 1
v n sgn y n 1 0 1 -1/2 -1
y n y n 1 u sgn y n 1 2 -1/2 -1 1 1
3 1 1 1/2 1
1
assume u
2 4 1/2 1 0 1
1 y 0 5 0 1 -1/2 -1
sgn y n
1 y0 6 -1/2 -1 1 1
v1 n
1 1 1 1 1 ; v2 n
1 1 1 1 1 ; fp
fs
4 2 4 2 4
The output is in fact a periodic function with period of fs/4
• Homework: try the sequence with other |y(0)|<2
18
Tones mod1 - 6:
• Increasing u:
– moves the biggest tone out of
band of interest
– Unfortunately the tones close to
fs/2 have large energy and high
frequency and are very
dangerous because of cross-
talk;
– they can be aliased back to the
base band through common
substrate
• Decreasing u:
– Moves the tone to lower
frequencies but attenuation
would increase
• Simulation of a first order
modulator:
– Higher OSR improves the
average noise floor
Source [1]:
– Tones remain almost the same
2018/2019 Microelectronic Systems
Stability mod1 - 1:
• Linear analysis is good approx. to get the first insight into the behavior:
• General characteristics of a first order modulator:
– Unconditional stability:
• Loop gain decrease -6db/octave
• Loop phase is -90deg.
– Unfortunately the real signal processing function of the quantizer is not included in this linear
model:
• Time-domain considerations is needed
• Nonlinearity of the quantizer must be included
– Example:
• For u=1.3 the sequence of y becomes:
y n y n 1 u n sgn y n 1
y 0 0; u 1.3
y n [0, 0.6, 0.9,1.2, ]
19
Tones mod2 - 1:
• Spectrum of mod2:
– Higher harmonics,
• which can be only explained by
nonlinearity of the quantizer
– Tones
• Presence of tones at high
frequencies
• Detailed simulations show tones
even in band but with low
amplitudes ( see picture on next
slide )
Tones mod2 - 2:
20
Tones
Stability of mod2:
5 u
2
x2
8 1 u
21
High order modulator stability:
For k=1:
Y z L0 z U z L1 z V z
V z Y z E z
L0 z 1
V z U z E z
1 L1 z 1 L1 z
V z STF z U z NTF z E z
L0 z 1
STF z NTF z
1 L1 z 1 L1 z
STF z 1
Selection of NTF: L0 z ; L1 z 1
NTF z NTF z
L1 must delay the propagation of input signal
For k≠1:
v by at least one clock period to be physically
1 NTF z
realizable: NTFk z
1 kL1 z k 1 k NTF z
1
L1 0 NTF 1
1 L1 For stability, poles of NTFk must be inside unit
circle z=1 for every k.
Rule of thumb for stability of single loop In reality extensive simulations are needed to
modulator: max
NTF e j NTF e j
1.4 predict stability
ΣΔ D/A converters:
22
Tools for ΣΔ modulator design
Delta-Sigma-toolbox:
• Author: Prof. R. Schreier
• http://www.mathworks.com/matlabcentral/fileexchange
• Search for delsig, download and save
• Assuming that matlab is running and that the following toolboxes are available:
– Signal Processing Toolbox
– Control System Toolbox
– Optimization Toolbox
• To improve simulation speed compile the following functions by typing in matlab:
– mex simulateDSM.c
– mex simulateESL.c
– mex ai2mif.c
23
Some intuitive remarks:
24
Decimation
N 1
1
Ysin c n
N
X n i
i 0
1 N 1
1 1 zN
H sin c z
N
z
i 0
i
N 1 z 1
L
1 1 zN
H sin c , L z 1
N 1 z
Decimation
25
Interpolation
26
One bit, first order modulator
Offset
27
Finite opamp gain
1 1 V nT
C2Vout nT T 1 C2Vout nT 1 C1 V1 nT V2 nT T out
A0 A0 A0
1 C V
Vout z 1 1 1 V1 zV2 z out
A0 C 2 A0
Vout z C1 A0 z 1
V1 z 1V2 C2 A0 1 C1 C2
1
1 A0 C2 z 1
C1 C2 A0C2
1. STF is only slightly affected
2. NTF is changed: NTF 1 z p1 z 1 1 z p 2 z 1
• At DC it is not 0 but …
2018/2019 Microelectronic Systems
fs
fc
2 A0 2
For fB>>fc; the finite gain
does not effect the SnR
A0 2 OSR
28
Finite opamp gain
• Dominant pole of the opamp produce roll-off 20dB/dec from pole frequency on until
the gain is lower than 0dB.
• Nondominant poles must occur after 0dB crossing
• For negligible effect of non-dominant poles and large A0 the step response is Vout
and results in gain error equivalent to time-constant error
• A settling error around 0.1% is acceptable
t
Vout t nT Vout nT VstepU nT 1 e d
C2
for S-C integrator
C1 C2
Ts
Integration phase lasts
2
b Vstep eT /2
s d
29
Finite opamp bandwidth
The gain error due to passive elements and GBW slightly affects modulator response.
Using integrators with gains (1-εb,i) leeds to :
Vout z
1 z 1 b,1 2 b,2 b,1 b,2 z 2 b,2
GBW effects:
1. Parasitic poles for STF and NTF are at HF so they do not alter the operation in
signal band
2. gain error in the STF
The whole response to a unit step function is composed of slewing and settling period.
The situation is the same for any S-C integrator.
For input step Vin the ideal output voltage would be:Vout ,id Vin C1 C2
Vout
Real opamp has slewing time:tslew ; V SR ;
SR
difference to the final voltage from tslew on is: SR V e s
T 2 tslew
30
Non ideal ADC operation
• The signal at the output is digital presentation of input plus quantization noise and
ADC error
ADCout Vin , ADC Q ADC
Q ADC are shaped with NTF
ADC with few bits is simple
• DAC errors are not shaped by NTF; they are added to the input and transfered to
the output via STF
• Stringent linearity requirements force the use of 1 bit DAC which is inherently
linear
• Multi bit DAC require special dynamic element matching algorithm to spread or
shape the matching errors.
31
Integrator dynamic range
Y Xz 1 s ,1 z 1 s ,2 1 z 1 Q s ,Q 1 z 1
2
32
Integrator scalling
Integrator scalling
33
Feedforward architecture
• Feed-forward architecture is an
effective way for reducing opamp
dynamic range of multi bit
architecture
Noise analysis
4kT
, A1 A1
2
vnd ;
g m, A1
4kT
, A 1 A1
2
vnd ;
g m, A1
34
Noise analysis
35