© Roland Küng, 20111 · 2018-02-13 · 12 Bit ADC aperture uncertainty time < 2 ns Gilt für •...

30
1 Where Analog Meets Digital © Roland Küng, 2011

Transcript of © Roland Küng, 20111 · 2018-02-13 · 12 Bit ADC aperture uncertainty time < 2 ns Gilt für •...

Page 1: © Roland Küng, 20111 · 2018-02-13 · 12 Bit ADC aperture uncertainty time < 2 ns Gilt für • Wandler ohne S&H ... Oversampling Gewinn 6 dB pro Verdoppelung der Abtastrate Sigma-Delta

1

Where Analog Meets Digital

© Roland Küng, 2011

Page 2: © Roland Küng, 20111 · 2018-02-13 · 12 Bit ADC aperture uncertainty time < 2 ns Gilt für • Wandler ohne S&H ... Oversampling Gewinn 6 dB pro Verdoppelung der Abtastrate Sigma-Delta

2

ApplikationsbeispielNo Limits ?

Page 3: © Roland Küng, 20111 · 2018-02-13 · 12 Bit ADC aperture uncertainty time < 2 ns Gilt für • Wandler ohne S&H ... Oversampling Gewinn 6 dB pro Verdoppelung der Abtastrate Sigma-Delta

3

Page 4: © Roland Küng, 20111 · 2018-02-13 · 12 Bit ADC aperture uncertainty time < 2 ns Gilt für • Wandler ohne S&H ... Oversampling Gewinn 6 dB pro Verdoppelung der Abtastrate Sigma-Delta

4

Wandler und ihre linearen FehlerBisherige Charakterisierung

Page 5: © Roland Küng, 20111 · 2018-02-13 · 12 Bit ADC aperture uncertainty time < 2 ns Gilt für • Wandler ohne S&H ... Oversampling Gewinn 6 dB pro Verdoppelung der Abtastrate Sigma-Delta

5

Nichtlineare Wandlerfehler

ideal

real

Offset + Gain corrected

Best fit

INL

Min/Max Fit oder Best Fit

Offset & Gain abgleichen:

Bisherige Charakterisierung

Page 6: © Roland Küng, 20111 · 2018-02-13 · 12 Bit ADC aperture uncertainty time < 2 ns Gilt für • Wandler ohne S&H ... Oversampling Gewinn 6 dB pro Verdoppelung der Abtastrate Sigma-Delta

6

Signal Qualität: Neue Parameter

THD: Total Harmonic Distortion: Verhältnis Effektivwertsumme aller Harmonischen zum RMS- Wert des Nutzsignals

SNR: Signal to Noise Ratio: Verhältnis RMS-Wert des Nutzsignals zur Effektivwertsumme aller übrigen spektralen Anteile im Frequenzbereich bis fs/2 ohne die Harmonischen.

SINAD: Signal to Noise and Distortion Ratio: Verhältnis RMS-Wert des Nutzsignals zur Effektivwertsumme aller übrigen spektralen Anteile im Frequenzbereich bis fs/2 incl. Harm..ENOB: Effective Number of Bits: Berechnete Grösse mit Formel: (SINAD - 1.76 dB) / 6.02

SFDR: Spurious Free Dynamic Range: Verhältnis des RMS-Wert des Nutzsignals zum Spitzenwert der Nebenwellen, inklusive Harm. (Spurious) in einer definierten Bandbreite (falls ohne Angabe: DC bis fs/2). Angabe in dBc oder dBFS (dB Fullscale).

Quantization Noise: RMS-Wert des Rauschens infolge Quantisierung nach Formel: 6.02·N +1.76 dB unter dB Fullscale.

FFT Noise Floor: Rausch-Level in der M-Punkt FFT, liegt 10·log[M/2] dB unter dem RMS-Quantisierungsrauschen, bzw. bei DAC: 10·log[Resolution Bandwidth]

Page 7: © Roland Küng, 20111 · 2018-02-13 · 12 Bit ADC aperture uncertainty time < 2 ns Gilt für • Wandler ohne S&H ... Oversampling Gewinn 6 dB pro Verdoppelung der Abtastrate Sigma-Delta

7

Moderne Charakterisierung:Noise Floor

ADC DAC

Noise Density [dBc/Hz]:

� Messwert - 10 log (BW)

Noise für SNR:

���� Noise Density + 10 log(fs/2)

SNR

Noise Density [dBc/Hz]: FFT Floor – 10 log (fs/M)

Page 8: © Roland Küng, 20111 · 2018-02-13 · 12 Bit ADC aperture uncertainty time < 2 ns Gilt für • Wandler ohne S&H ... Oversampling Gewinn 6 dB pro Verdoppelung der Abtastrate Sigma-Delta

8

Moderne Charakterisierung:Spurious

ADC

DAC

Measure with Narrow Resolution Bandwidth

SFDR

Page 9: © Roland Küng, 20111 · 2018-02-13 · 12 Bit ADC aperture uncertainty time < 2 ns Gilt für • Wandler ohne S&H ... Oversampling Gewinn 6 dB pro Verdoppelung der Abtastrate Sigma-Delta

9

Digital-Analog Wandler DAC

Prinzip Op-Amp Summierer- grosse Spreizung 2N bei R’s- flexible Wandlungskurve

Prinzip R-2R Ladder

)S1+S2+S4+S(816RR=IR=v 0123

FoutputFOUT ⋅

Engste Toleranz:

Ladder halbiert Spannungen

%2

100N

Page 10: © Roland Küng, 20111 · 2018-02-13 · 12 Bit ADC aperture uncertainty time < 2 ns Gilt für • Wandler ohne S&H ... Oversampling Gewinn 6 dB pro Verdoppelung der Abtastrate Sigma-Delta

10

Digital-Analog Wandler DACSchnelle DAC haben Stromausgänge!

DAC 12 Bit, 125 MSps, SFDR 70 dB

Max. Iout = 20 mAVout Range: -1 V…1 V

Page 11: © Roland Küng, 20111 · 2018-02-13 · 12 Bit ADC aperture uncertainty time < 2 ns Gilt für • Wandler ohne S&H ... Oversampling Gewinn 6 dB pro Verdoppelung der Abtastrate Sigma-Delta

11

Ausgangsspektrum DAC

- Filterung empfehlenswert- Möglichkeit Images herauszufiltern (unter SNR Verlust)

Page 12: © Roland Küng, 20111 · 2018-02-13 · 12 Bit ADC aperture uncertainty time < 2 ns Gilt für • Wandler ohne S&H ... Oversampling Gewinn 6 dB pro Verdoppelung der Abtastrate Sigma-Delta

12

Rekonstruktionsfilter (AIF)

Filter Spezifikation

Für schnelle DAC: Nur LC-Filtertechnologie tauglich

Page 13: © Roland Küng, 20111 · 2018-02-13 · 12 Bit ADC aperture uncertainty time < 2 ns Gilt für • Wandler ohne S&H ... Oversampling Gewinn 6 dB pro Verdoppelung der Abtastrate Sigma-Delta

13

Analog-Digital Wandler ADC

Page 14: © Roland Küng, 20111 · 2018-02-13 · 12 Bit ADC aperture uncertainty time < 2 ns Gilt für • Wandler ohne S&H ... Oversampling Gewinn 6 dB pro Verdoppelung der Abtastrate Sigma-Delta

14

A/D-WandlerWechselsignale

π⋅

V21

tV

=fpeak

max

21

2

V=LSB21

=VN

peak⋅∆

Bei max. Fehlerspannung ∆V…

… ist max. erlaubte Frequenz

∆t

∆V

Page 15: © Roland Küng, 20111 · 2018-02-13 · 12 Bit ADC aperture uncertainty time < 2 ns Gilt für • Wandler ohne S&H ... Oversampling Gewinn 6 dB pro Verdoppelung der Abtastrate Sigma-Delta

15

Aperture Time, Sample & Hold (SH)

Einzig kritisch: Aperture Uncertainty Time, d.h.Unsicherheit im S&H Schaltvorgang

Aperture Time + Aperture Time Uncertainty: Zeit von Hold Signal bis Wert fixiert ist

Sample & Hold Schaltung vor dem ADC

Je nach Wandlertypbeide Zeiten kritisch

Page 16: © Roland Küng, 20111 · 2018-02-13 · 12 Bit ADC aperture uncertainty time < 2 ns Gilt für • Wandler ohne S&H ... Oversampling Gewinn 6 dB pro Verdoppelung der Abtastrate Sigma-Delta

16

Aperture Uncertainty

Bsp: 10 kHz sinus12 Bit ADC

� aperture uncertainty time < 2 ns

Gilt für• Wandler ohne S&H• S&H Aperture Uncertainty Time

Hohe Auflösung erfordert präzisen Taktoszillator !

Max. Fehler ½ LSB

Nj 2f41

t⋅⋅π⋅

Page 17: © Roland Küng, 20111 · 2018-02-13 · 12 Bit ADC aperture uncertainty time < 2 ns Gilt für • Wandler ohne S&H ... Oversampling Gewinn 6 dB pro Verdoppelung der Abtastrate Sigma-Delta

17

Flash Wandler

Schnellstes Design ! 3.2 GSps / 12 Bit (TI’s ADC12D1600)

n bit Flash

n bit Flash

Gain 2n

n bit DAC

2n bit ADC 400 MSps 14 Bit (TI ADS5474)

1 Comparator pro Codewort !

Full Flash: extrem schnell

Half Flash: sehr schnell

4 W920 $

2.5 W160 $

Page 18: © Roland Küng, 20111 · 2018-02-13 · 12 Bit ADC aperture uncertainty time < 2 ns Gilt für • Wandler ohne S&H ... Oversampling Gewinn 6 dB pro Verdoppelung der Abtastrate Sigma-Delta

18

d.h. restlicher Bereich halbieren und testen

MSB = 0 MSB = 1

Successive Approximation Register (SAR)

Vorteile: genau, einfach, Strom sparend, schnell

10 MSps 16 Bit (ADI AD7626) 13 mW 2.30 $

Page 19: © Roland Küng, 20111 · 2018-02-13 · 12 Bit ADC aperture uncertainty time < 2 ns Gilt für • Wandler ohne S&H ... Oversampling Gewinn 6 dB pro Verdoppelung der Abtastrate Sigma-Delta

19

Oversampling

Gewinn 6 dB pro Verdoppelung der Abtastrate

Sigma-Delta Verfahren bringen noch mehr durch Noise shaping

Page 20: © Roland Küng, 20111 · 2018-02-13 · 12 Bit ADC aperture uncertainty time < 2 ns Gilt für • Wandler ohne S&H ... Oversampling Gewinn 6 dB pro Verdoppelung der Abtastrate Sigma-Delta

20

Sigma-Delta Wandler

12Kff2

const=N23

s

o π⋅

Oversampling K

d.h. theor. 9 dB SNR Gewinnpro Verdoppelung von K

4 MSps, 24 Bit, Specs: ENOB 19 Bit !

sigma-delta oder delta-sigma ?(vgl. root mean square Reihenfolge)

Single Bit Type

Fastest: TI ADS1675

Eigenschaften: • einfache Benutzung, • extrem genau, • mittel schnell• komplexe Mathematik• v.a für Audio Codec

AvDigital PWM

Page 21: © Roland Küng, 20111 · 2018-02-13 · 12 Bit ADC aperture uncertainty time < 2 ns Gilt für • Wandler ohne S&H ... Oversampling Gewinn 6 dB pro Verdoppelung der Abtastrate Sigma-Delta

21

Audio Codec Performance

Multi Bit Sigma Delta mitOversampling Faktor für 192 kHz: K = 128

SNR ist < 6.02*24 +1.76 !

Mensch: Gehördynamik 120 dB

Best Audio: Cirrus Logic CS5381

ADAU1361

ENOB = 19.2 Bit

Multi Bit Sigma Delta mitOversampling Faktor K = 128

Page 22: © Roland Küng, 20111 · 2018-02-13 · 12 Bit ADC aperture uncertainty time < 2 ns Gilt für • Wandler ohne S&H ... Oversampling Gewinn 6 dB pro Verdoppelung der Abtastrate Sigma-Delta

22

ADC Anti Alias Filter (AAF)

K = Oversampling Faktor

Page 23: © Roland Küng, 20111 · 2018-02-13 · 12 Bit ADC aperture uncertainty time < 2 ns Gilt für • Wandler ohne S&H ... Oversampling Gewinn 6 dB pro Verdoppelung der Abtastrate Sigma-Delta

23

Differentielle Eingänge

Transformator bei AC-Signalen Aktive Lösung Diff. Amp.

Takteingang Jitter

single-ended

differential

Lesen sie die Packungsbeilage oder fragen sie den Appl. Engr.

Page 24: © Roland Küng, 20111 · 2018-02-13 · 12 Bit ADC aperture uncertainty time < 2 ns Gilt für • Wandler ohne S&H ... Oversampling Gewinn 6 dB pro Verdoppelung der Abtastrate Sigma-Delta

24

Ursache des Oszillator Jitter

Phasenbedingung (Barkhausen) des Oszillator durch Rauschen gestört � Jitter

Cf2)t(

)t(j⋅π

ϕ=

Bsp: Phase Jitter 0.10 , 100 MHz

ps8.2f3600

1)t(j1.0

3602

)t(c

=⋅

=⇒π⋅

Time Jitter

Page 25: © Roland Küng, 20111 · 2018-02-13 · 12 Bit ADC aperture uncertainty time < 2 ns Gilt für • Wandler ohne S&H ... Oversampling Gewinn 6 dB pro Verdoppelung der Abtastrate Sigma-Delta

25

Oszillator Jitter

� Jitter im Abtasttakt � Noise in Amplitude des abgetasteten Signals

� Fehlerspannung ∆v ist proportional Slew Rate Signal * Jitter

jrms tf2v ⋅⋅π⋅=∆

Signal

rms Jitter tj

Für Sinussignal gilt:

Page 26: © Roland Küng, 20111 · 2018-02-13 · 12 Bit ADC aperture uncertainty time < 2 ns Gilt für • Wandler ohne S&H ... Oversampling Gewinn 6 dB pro Verdoppelung der Abtastrate Sigma-Delta

26

Clock Jitter Abtasttakt

o

10A

j f2102

t⋅π

⋅=

B = Bandbreite des Phasenrauschens (max. 2fo)

f0 = Sampling Oszillator Frequenz

ENOB = Effektive Number of Bits

Wirkung ähnlich wie Aperture Jitter

rms Time Jitter

]Hz[)Blog(10]Hz/dBc[DensityPhaseNoiseA +=

Page 27: © Roland Küng, 20111 · 2018-02-13 · 12 Bit ADC aperture uncertainty time < 2 ns Gilt für • Wandler ohne S&H ... Oversampling Gewinn 6 dB pro Verdoppelung der Abtastrate Sigma-Delta

27

Berechnung Clock Jitter

Beispiel:PLL-Oszillator2.25 GHz ClockFür Glasfaser DÜ

Berechnung:

+++⋅= 10

A10

A

10A

10A 4321

10101010log10A

Page 28: © Roland Küng, 20111 · 2018-02-13 · 12 Bit ADC aperture uncertainty time < 2 ns Gilt für • Wandler ohne S&H ... Oversampling Gewinn 6 dB pro Verdoppelung der Abtastrate Sigma-Delta

28

Berechnung Clock Jitter

Bsp. Quarz-Oszillator 100 MHz

ps18.0MHz1002

102 10

)MHz200log(10165

=⋅π

⋅+−

Quarzoszillatoren: Meist ist Breitbandteil dominant

Page 29: © Roland Küng, 20111 · 2018-02-13 · 12 Bit ADC aperture uncertainty time < 2 ns Gilt für • Wandler ohne S&H ... Oversampling Gewinn 6 dB pro Verdoppelung der Abtastrate Sigma-Delta

29

Ultra Low Jitter Clock

Page 30: © Roland Küng, 20111 · 2018-02-13 · 12 Bit ADC aperture uncertainty time < 2 ns Gilt für • Wandler ohne S&H ... Oversampling Gewinn 6 dB pro Verdoppelung der Abtastrate Sigma-Delta

30

Noise Floor – kein einfaches Thema!

Dithering:hilft nur gegen Spurious

SNR: