One-Bit Delta Sigma D/A Conversion Part I: Theory2 Delta Sigma Conversion Revealed † A delta sigma...
Transcript of One-Bit Delta Sigma D/A Conversion Part I: Theory2 Delta Sigma Conversion Revealed † A delta sigma...
![Page 1: One-Bit Delta Sigma D/A Conversion Part I: Theory2 Delta Sigma Conversion Revealed † A delta sigma D/A converter \transforms" (i.e. requantizes) an N-bit PCM signal into a 1-bit](https://reader033.fdocuments.us/reader033/viewer/2022052815/60a2d524e84fd35c3b21066b/html5/thumbnails/1.jpg)
One-Bit Delta Sigma D/A Conversion
Part I: Theory
Randy Yates
mailto:[email protected]
July 28, 2004
1
![Page 2: One-Bit Delta Sigma D/A Conversion Part I: Theory2 Delta Sigma Conversion Revealed † A delta sigma D/A converter \transforms" (i.e. requantizes) an N-bit PCM signal into a 1-bit](https://reader033.fdocuments.us/reader033/viewer/2022052815/60a2d524e84fd35c3b21066b/html5/thumbnails/2.jpg)
Contents
1 What Is A D/A Converter? 3
2 Delta Sigma Conversion Revealed 5
3 Oversampling 6
4 Noise-Shaping 12
5 Alternate Modulator Architecture 19
6 Psychoacoustic Noise-Shaping 22
7 The Complete Modulator 25
8 References 26
2
![Page 3: One-Bit Delta Sigma D/A Conversion Part I: Theory2 Delta Sigma Conversion Revealed † A delta sigma D/A converter \transforms" (i.e. requantizes) an N-bit PCM signal into a 1-bit](https://reader033.fdocuments.us/reader033/viewer/2022052815/60a2d524e84fd35c3b21066b/html5/thumbnails/3.jpg)
1 What Is A D/A Converter?
• Rick Lyons [1] derives A/D SNR as a function of word lengthN and loading factor LF :
SNR = 6.02N + 4.77 + 20 log10(LF ),
• LF is the “loading factor,” a value representing the normalizedRMS value of the input signal. For a sine wave, LF = 0.707.Here we ignore the constant factor of 1.77 dB and we round theN coefficient to 6 to simplify.
• This can be generalized to express the SNR of any N-bitamplitude-quantized transfer function and thus applies to D/Aconversion as well.
3
![Page 4: One-Bit Delta Sigma D/A Conversion Part I: Theory2 Delta Sigma Conversion Revealed † A delta sigma D/A converter \transforms" (i.e. requantizes) an N-bit PCM signal into a 1-bit](https://reader033.fdocuments.us/reader033/viewer/2022052815/60a2d524e84fd35c3b21066b/html5/thumbnails/4.jpg)
For a generic D/A converter in which bandwidth, output bit-width,and other parameters may not be clearly defined, this motivatesthe following
Definition 1 An N-bit D/A converter converts a stream ofdiscrete-time, linear, PCM samples of N bits at sample rate Fs to acontinuous-time analog voltage with a signal-to-quantization-noisepower ratio of 6N dB in a bandwidth of Fs/2 Hz.
This gives a basis by which we may evaluate the number of bits ofany converter architecture (resistor-ladder, delta-sigma, etc.).
4
![Page 5: One-Bit Delta Sigma D/A Conversion Part I: Theory2 Delta Sigma Conversion Revealed † A delta sigma D/A converter \transforms" (i.e. requantizes) an N-bit PCM signal into a 1-bit](https://reader033.fdocuments.us/reader033/viewer/2022052815/60a2d524e84fd35c3b21066b/html5/thumbnails/5.jpg)
2 Delta Sigma Conversion Revealed
• A delta sigma D/A converter “transforms” (i.e. requantizes)an N -bit PCM signal into a 1-bit signal.
• Why requantize to a lower resolution? Because a 1-bit output isextremely easy to implement in hardware and there are ways tomake that one-bit output have the SNR of an N -bit converter.
• How do you get an N -bit-to-1-bit quantizer, which wouldnormally only produce a 6 · 1 = 6 dB SNR, to produce therequired 6N dB SNR? By using oversampling andnoise-shaping to modify the 1-bit output.
5
![Page 6: One-Bit Delta Sigma D/A Conversion Part I: Theory2 Delta Sigma Conversion Revealed † A delta sigma D/A converter \transforms" (i.e. requantizes) an N-bit PCM signal into a 1-bit](https://reader033.fdocuments.us/reader033/viewer/2022052815/60a2d524e84fd35c3b21066b/html5/thumbnails/6.jpg)
3 Oversampling
• Quantization noise is assumed white and uniformly-distributedwith a total power of q2/12, where q is the quantizationstep-size.
• NOTE: The total quantization noise power does NOTdepend on the sample rate!!!
• Quantization noise modeled as a noise source added to thesignal:
���
����
���� ���
Figure 1: Quantizer Model
6
![Page 7: One-Bit Delta Sigma D/A Conversion Part I: Theory2 Delta Sigma Conversion Revealed † A delta sigma D/A converter \transforms" (i.e. requantizes) an N-bit PCM signal into a 1-bit](https://reader033.fdocuments.us/reader033/viewer/2022052815/60a2d524e84fd35c3b21066b/html5/thumbnails/7.jpg)
����
�
�
��
��
Figure 2: Quantizer Transfer Function
7
![Page 8: One-Bit Delta Sigma D/A Conversion Part I: Theory2 Delta Sigma Conversion Revealed † A delta sigma D/A converter \transforms" (i.e. requantizes) an N-bit PCM signal into a 1-bit](https://reader033.fdocuments.us/reader033/viewer/2022052815/60a2d524e84fd35c3b21066b/html5/thumbnails/8.jpg)
The “in-band” quantization noise power can be reduced bysampling at a rate higher than Nyquist.
�
���� ��
����
�����������
�������
Figure 3: 2× Oversampled Quantization Noise Spectrum
8
![Page 9: One-Bit Delta Sigma D/A Conversion Part I: Theory2 Delta Sigma Conversion Revealed † A delta sigma D/A converter \transforms" (i.e. requantizes) an N-bit PCM signal into a 1-bit](https://reader033.fdocuments.us/reader033/viewer/2022052815/60a2d524e84fd35c3b21066b/html5/thumbnails/9.jpg)
Since the total in-band noise power is reduced, the number of“effective” bits is increased from the actual bits according to therelationship
M = 4K ,
where M is the oversampling factor and K is the number of extrabits.
9
![Page 10: One-Bit Delta Sigma D/A Conversion Part I: Theory2 Delta Sigma Conversion Revealed † A delta sigma D/A converter \transforms" (i.e. requantizes) an N-bit PCM signal into a 1-bit](https://reader033.fdocuments.us/reader033/viewer/2022052815/60a2d524e84fd35c3b21066b/html5/thumbnails/10.jpg)
Integer oversampling ratios are performed by using an interpolator:
�����������
�����
� ��
���� ����������
�������
Figure 4: Interpolator Block Diagram
10
![Page 11: One-Bit Delta Sigma D/A Conversion Part I: Theory2 Delta Sigma Conversion Revealed † A delta sigma D/A converter \transforms" (i.e. requantizes) an N-bit PCM signal into a 1-bit](https://reader033.fdocuments.us/reader033/viewer/2022052815/60a2d524e84fd35c3b21066b/html5/thumbnails/11.jpg)
Oversampling alone is an inefficient way to obtain extrabits of resolution. A gain of even a few bits would requireastronomical oversampling ratios! We must use the additionaltechnique of noise-shaping to make a 1-bit converter feasible.
11
![Page 12: One-Bit Delta Sigma D/A Conversion Part I: Theory2 Delta Sigma Conversion Revealed † A delta sigma D/A converter \transforms" (i.e. requantizes) an N-bit PCM signal into a 1-bit](https://reader033.fdocuments.us/reader033/viewer/2022052815/60a2d524e84fd35c3b21066b/html5/thumbnails/12.jpg)
4 Noise-Shaping
Shapes the oversampled quantization noise spectrum so that lessnoise is in-band:
����������� �
��������� ����������
��������� �
������� ����������
��������� �
�������������
����
������ �
������
� ����
Figure 5: Typical Noise-Shaped Spectrum
12
![Page 13: One-Bit Delta Sigma D/A Conversion Part I: Theory2 Delta Sigma Conversion Revealed † A delta sigma D/A converter \transforms" (i.e. requantizes) an N-bit PCM signal into a 1-bit](https://reader033.fdocuments.us/reader033/viewer/2022052815/60a2d524e84fd35c3b21066b/html5/thumbnails/13.jpg)
Noise-shaping is accomplished by placing feedback around thequantizer:
�������
���� ���
��
���������
Figure 6: Classic First-Order Noise-Shaper
13
![Page 14: One-Bit Delta Sigma D/A Conversion Part I: Theory2 Delta Sigma Conversion Revealed † A delta sigma D/A converter \transforms" (i.e. requantizes) an N-bit PCM signal into a 1-bit](https://reader033.fdocuments.us/reader033/viewer/2022052815/60a2d524e84fd35c3b21066b/html5/thumbnails/14.jpg)
The transfer function of figure 6 is derived as follows:
W (z) = X(z)− z−1Y (z)
Σ(z) = W (z) + z−1Σ(z) =⇒ Σ(z) =W (z)
1− z−1
Y (z) = Σ(z) + Q(z) =W (z)
1− z−1+ Q(z)
(1− z−1)Y (z) = W (z) + (1− z−1)Q(z)
= X(z)− z−1Y (z) + (1− z−1)Q(z)
Y (z) = X(z) + (1− z−1)Q(z) (1)
It is clear from equation 1 that the signal X(z) passes throughunmodified while the quantization noise Q(z) is modified by theterm 1− z−1. In delta-sigma modulator terminology thisquantization noise coefficient is referred to as the noise transferfunction [2], or NTF, denoted N(z). Thus N(z) = 1− z−1.
14
![Page 15: One-Bit Delta Sigma D/A Conversion Part I: Theory2 Delta Sigma Conversion Revealed † A delta sigma D/A converter \transforms" (i.e. requantizes) an N-bit PCM signal into a 1-bit](https://reader033.fdocuments.us/reader033/viewer/2022052815/60a2d524e84fd35c3b21066b/html5/thumbnails/15.jpg)
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 10
0.5
1
1.5
2
2.5
3
3.5
4
Normalized Frequency, 1 = M*Fs/2
Pow
er R
espo
nse,
|N(z
)|2
Figure 7: Noise Transfer Function Power Response of a First-OrderModulator
15
![Page 16: One-Bit Delta Sigma D/A Conversion Part I: Theory2 Delta Sigma Conversion Revealed † A delta sigma D/A converter \transforms" (i.e. requantizes) an N-bit PCM signal into a 1-bit](https://reader033.fdocuments.us/reader033/viewer/2022052815/60a2d524e84fd35c3b21066b/html5/thumbnails/16.jpg)
The noise-shaping can be made stronger by embedding integratorloops:
����
�������
���
��
���������
����
��
���������
����
������������������������
Figure 8: Second-Order Delta-Sigma Modulator
16
![Page 17: One-Bit Delta Sigma D/A Conversion Part I: Theory2 Delta Sigma Conversion Revealed † A delta sigma D/A converter \transforms" (i.e. requantizes) an N-bit PCM signal into a 1-bit](https://reader033.fdocuments.us/reader033/viewer/2022052815/60a2d524e84fd35c3b21066b/html5/thumbnails/17.jpg)
• The number of embeddings is termed the order of themodulator. An Lth-order modulator has NTF
N(z) = (1− z−1)L.
• It can be shown [3] that the in-band quantization noise powerrelative to the maximum signal power as a function ofoversampling ratio M and modulator order L is
6L + 32π2L
M2L+1.
17
![Page 18: One-Bit Delta Sigma D/A Conversion Part I: Theory2 Delta Sigma Conversion Revealed † A delta sigma D/A converter \transforms" (i.e. requantizes) an N-bit PCM signal into a 1-bit](https://reader033.fdocuments.us/reader033/viewer/2022052815/60a2d524e84fd35c3b21066b/html5/thumbnails/18.jpg)
1 2 4 8 16 32 64 128 256 512−100
−90
−80
−70
−60
−50
−40
−30
−20
−10
0
10
20
Noi
se−
to−
Sig
nal R
atio
(dB
)
Oversampling Ratio
L = 0L = 1L = 2L = 3
Figure 9: Ratio of In-Band Quantization Noise Power To SignalPower versus Oversampling Ratio and Modulator Order L
18
![Page 19: One-Bit Delta Sigma D/A Conversion Part I: Theory2 Delta Sigma Conversion Revealed † A delta sigma D/A converter \transforms" (i.e. requantizes) an N-bit PCM signal into a 1-bit](https://reader033.fdocuments.us/reader033/viewer/2022052815/60a2d524e84fd35c3b21066b/html5/thumbnails/19.jpg)
5 Alternate Modulator Architecture
Y (z) = X(z) + (1− z−1H(z))Q(z). (2)
To be equivalent with the classic architecture, H(z) = z − zG(z). IsH(z) realizable???
���
����
���
�������
����
Figure 10: Alternate Delta-Sigma Modulator Architecture
19
![Page 20: One-Bit Delta Sigma D/A Conversion Part I: Theory2 Delta Sigma Conversion Revealed † A delta sigma D/A converter \transforms" (i.e. requantizes) an N-bit PCM signal into a 1-bit](https://reader033.fdocuments.us/reader033/viewer/2022052815/60a2d524e84fd35c3b21066b/html5/thumbnails/20.jpg)
Add dither to get rid of “birdies:”
����
����
������
����
���
���
Figure 11: Delta Sigma Modulator with Dither
20
![Page 21: One-Bit Delta Sigma D/A Conversion Part I: Theory2 Delta Sigma Conversion Revealed † A delta sigma D/A converter \transforms" (i.e. requantizes) an N-bit PCM signal into a 1-bit](https://reader033.fdocuments.us/reader033/viewer/2022052815/60a2d524e84fd35c3b21066b/html5/thumbnails/21.jpg)
����
����
������
����
����
�����������
Figure 12: Equivalent Dithered Modulator
21
![Page 22: One-Bit Delta Sigma D/A Conversion Part I: Theory2 Delta Sigma Conversion Revealed † A delta sigma D/A converter \transforms" (i.e. requantizes) an N-bit PCM signal into a 1-bit](https://reader033.fdocuments.us/reader033/viewer/2022052815/60a2d524e84fd35c3b21066b/html5/thumbnails/22.jpg)
6 Psychoacoustic Noise-Shaping
• The alternate architecture admits any NTF of the form
N(z) = 1− z−1H(z).
• The classic Lth-order modulator NTF contains L zeros atz = 1 (DC),
N(z) =(z − 1)L
zL.
• When L is even we can use conjugate pairs to place the zerosat any L/2 frequencies on the unit circle.
22
![Page 23: One-Bit Delta Sigma D/A Conversion Part I: Theory2 Delta Sigma Conversion Revealed † A delta sigma D/A converter \transforms" (i.e. requantizes) an N-bit PCM signal into a 1-bit](https://reader033.fdocuments.us/reader033/viewer/2022052815/60a2d524e84fd35c3b21066b/html5/thumbnails/23.jpg)
Example: For L = 2, we can place the zero at any frequency f ,0 ≤ f ≤ MFs/2:
N(z) =z2 − 2 cos(π f
MFs) + 1
z2.
�
��
��
���
�
θ�θ�
Figure 13: Zeros for Psychoacoustic Noise-Shaping, θ = π fMFs
.
23
![Page 24: One-Bit Delta Sigma D/A Conversion Part I: Theory2 Delta Sigma Conversion Revealed † A delta sigma D/A converter \transforms" (i.e. requantizes) an N-bit PCM signal into a 1-bit](https://reader033.fdocuments.us/reader033/viewer/2022052815/60a2d524e84fd35c3b21066b/html5/thumbnails/24.jpg)
101
102
103
104
105
106
−120
−100
−80
−60
−40
−20
0
20
Frequency, Hz
Pow
er R
espo
nse,
10l
og(|
N(f
)|2 )
Figure 14: NTF Power Response |N(f)|2 of PsychoacousticallyNoise-Shaped Modulator with f = 4 kHz
24
![Page 25: One-Bit Delta Sigma D/A Conversion Part I: Theory2 Delta Sigma Conversion Revealed † A delta sigma D/A converter \transforms" (i.e. requantizes) an N-bit PCM signal into a 1-bit](https://reader033.fdocuments.us/reader033/viewer/2022052815/60a2d524e84fd35c3b21066b/html5/thumbnails/25.jpg)
7 The Complete Modulator
���������
�� ���������� ����
�����
���������������������
�������������
���������
���������������
��������
���������������
Figure 15: Delta Sigma D/A Converter Block Diagram
25
![Page 26: One-Bit Delta Sigma D/A Conversion Part I: Theory2 Delta Sigma Conversion Revealed † A delta sigma D/A converter \transforms" (i.e. requantizes) an N-bit PCM signal into a 1-bit](https://reader033.fdocuments.us/reader033/viewer/2022052815/60a2d524e84fd35c3b21066b/html5/thumbnails/26.jpg)
8 References
References
[1] Richard G. Lyons. Understanding Digital Signal Processing.Prentice Hall, second edition, 2004.
[2] Steven R. Norsworthy, Richard Schreier, and Gabor C. Temes.Delta-Sigma Data Converters: Theory, Design, and Simulation.IEEE Press, 1997.
[3] David Johns and Ken Martin. Analog Integrated Circuit Design.Wiley Publishers, 1997.
26