23
INF4420 Spring 2013 Noise and distortion Jørgen Andreas Michaelsen ([email protected]) INF4420 Noise and Distortion Jørgen Andreas Michaelsen Spring 2013 1 / 45 Spring 2013 Noise and distortion 2 Outline Noise basics Component and system noise • Distortion 2 / 45

Noise and distortionINF4420 Spring 2013 Noise and distortion Jørgen Andreas Michaelsen ([email protected]) Introduction We have already considered one type of noise in the layout

  • Upload
    others

  • View
    5

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Noise and distortionINF4420 Spring 2013 Noise and distortion Jørgen Andreas Michaelsen (jorgenam@ifi.uio.no) Introduction We have already considered one type of noise in the layout

INF4420 Spring 2013 Noise and distortion Jørgen Andreas Michaelsen ([email protected])

INF4420

Noise and Distortion

Jørgen Andreas Michaelsen

Spring 2013

1 / 45

Spring 2013 Noise and distortion 2

Outline

• Noise basics

• Component and system noise

• Distortion

2 / 45

Page 2: Noise and distortionINF4420 Spring 2013 Noise and distortion Jørgen Andreas Michaelsen (jorgenam@ifi.uio.no) Introduction We have already considered one type of noise in the layout

INF4420 Spring 2013 Noise and distortion Jørgen Andreas Michaelsen ([email protected])

Introduction

We have already considered one type of noise in the layout lecture: Interference—Other circuits or other parts of the circuit interfering with the signal. E.g. digital switching coupling through to an analog signal through the substrate or capacitive coupling between metal lines. We mitigate this interference with layout techniques.

True noise is random and zero mean!

Spring 2013 Noise and distortion 3

3 / 45

Introduction

Spring 2013 Noise and distortion 4

TV Static Stock Video by REC Room

4 / 45

Page 3: Noise and distortionINF4420 Spring 2013 Noise and distortion Jørgen Andreas Michaelsen (jorgenam@ifi.uio.no) Introduction We have already considered one type of noise in the layout

INF4420 Spring 2013 Noise and distortion Jørgen Andreas Michaelsen ([email protected])

Introduction

We do not know the absolute value, but …

• We know the average value

• We know the statistical and spectral properties of the noise

Spring 2013 Noise and distortion 5

5 / 45

Introduction

• Noise (power) is always compared to signal (power)

• How clearly can we distinguish the signal from the noise (SNR)

Spring 2013 Noise and distortion 6

6 / 45

Page 4: Noise and distortionINF4420 Spring 2013 Noise and distortion Jørgen Andreas Michaelsen (jorgenam@ifi.uio.no) Introduction We have already considered one type of noise in the layout

INF4420 Spring 2013 Noise and distortion Jørgen Andreas Michaelsen ([email protected])

Introduction

• Why is noise important?

• Signal headroom is reduced when the supply voltage is reduced.

• Supply voltage is reduced because of scaling (beneficial for digital, less power consumption)

• Noise is constant.

• Noise limits performance of our circuits (along with mismatch, etc.)

Spring 2013 Noise and distortion 7

7 / 45

Signal power

Spring 2013 Noise and distortion 8

Mean square

value, RMS is 𝑉𝐴

2

• Sine wave driving a resistor dissipates power

• The average voltage of the sine wave is zero

• The average power dissipated is not zero

𝑃 =1

2𝜋 𝑉𝐴2 sin2 𝑥

𝑅 𝑑𝑥

2𝜋

0

𝑣2 =1

2𝜋 𝑉𝐴

2 sin2 𝑥 𝑑𝑥 =𝑉𝐴2

2

2𝜋

0

8 / 45

Page 5: Noise and distortionINF4420 Spring 2013 Noise and distortion Jørgen Andreas Michaelsen (jorgenam@ifi.uio.no) Introduction We have already considered one type of noise in the layout

INF4420 Spring 2013 Noise and distortion Jørgen Andreas Michaelsen ([email protected])

White noise

White refers to the spectrum, constant PSD

𝑉𝑛 𝑓 = constant

Resistors exhibit white noise only (ideally). Random thermal motion of electrons (thermal noise)

𝑉𝑅2 𝑓 = 4𝑘𝑇𝑅 ⇔ 𝐼𝑅

2 =4𝑘𝑇

𝑅

1 kΩ resistor ≈ 4nV

Hz @ RT (useful to remember)

Spring 2013 Noise and distortion 9

9 / 45

Filtering noise

• In most circuits we have capacitors (noise free)

• There is always some parasitic capacitance present.

• White noise is filtered: the constant PSD is shaped.

Spring 2013 Noise and distortion 10

10 / 45

Page 6: Noise and distortionINF4420 Spring 2013 Noise and distortion Jørgen Andreas Michaelsen (jorgenam@ifi.uio.no) Introduction We have already considered one type of noise in the layout

INF4420 Spring 2013 Noise and distortion Jørgen Andreas Michaelsen ([email protected])

Filtering noise

Spring 2013 Noise and distortion 11

11 / 45

Total noise

We find the total noise by integrating from 0 to ∞. This is a finite value because of the filtering.

1

1 + 𝑗2𝜋𝑓𝑅𝐶

2

4𝑘𝑇𝑅 𝑑𝑓 =𝑘𝑇

𝐶

0

Spring 2013 Noise and distortion 12

1st order lowpass filter magnitude

response

Resistor noise

Important!

Total noise is independent of R and defined by C!

12 / 45

Page 7: Noise and distortionINF4420 Spring 2013 Noise and distortion Jørgen Andreas Michaelsen (jorgenam@ifi.uio.no) Introduction We have already considered one type of noise in the layout

INF4420 Spring 2013 Noise and distortion Jørgen Andreas Michaelsen ([email protected])

Noise bandwidth

Find a frequency, such that when we integrate the ideal constant PSD up to this frequency, the total noise is identical. This is the equivalent noise BW.

For 1st order filtered noise: 𝜋

2𝑓𝑐 =

𝜋

2

1

2𝜋𝑅𝐶=

1

4𝑅𝐶

Spring 2013 Noise and distortion 13

13 / 45

Adding noise sources

Spring 2013 Noise and distortion 14

If the noise sources are uncorrelated (common assumption):

𝑉𝑛𝑜2 = 𝑉𝑛1

2 + 𝑉𝑛22

Generally:

𝑉𝑛𝑜2 = 𝑉𝑛1

2 + 𝑉𝑛22 + 2𝐶𝑉𝑛1𝑉𝑛2

𝐶 is the correlation coefficient.

14 / 45

Page 8: Noise and distortionINF4420 Spring 2013 Noise and distortion Jørgen Andreas Michaelsen (jorgenam@ifi.uio.no) Introduction We have already considered one type of noise in the layout

INF4420 Spring 2013 Noise and distortion Jørgen Andreas Michaelsen ([email protected])

Signal to noise ratio

SNR ≡ 10 log10signal power

noise power dB

Example:

Best case signal swing, 𝑉𝐴 =𝑉𝐷𝐷

2, noise is

𝑘𝑇

𝐶.

SNR =𝐶𝑉𝐷𝐷2

8𝑘𝑇

If 𝑉𝐷𝐷 is reduced, 𝐶 must increase: More power (-) Spring 2013 Noise and distortion 15

15 / 45

Sampled noise

When sampling signals, the sampled spectrum only represents frequencies up to the Nyquist frequency (half the sampling frequency). Frequencies beyond are aliased down to this range. (More on this in a later lecture).

Spring 2013 Noise and distortion 16

The total noise is

still the same, 𝑘𝑇

𝐶.

16 / 45

Page 9: Noise and distortionINF4420 Spring 2013 Noise and distortion Jørgen Andreas Michaelsen (jorgenam@ifi.uio.no) Introduction We have already considered one type of noise in the layout

INF4420 Spring 2013 Noise and distortion Jørgen Andreas Michaelsen ([email protected])

1/f noise

So far, we have considered white noise (with filtering).

Transistors exhibit significant flicker (1/f) noise. The PSD is proportional to the inverse of the frequency.

𝑉𝑛2 𝑓 =

constant

𝑓

Spring 2013 Noise and distortion 17

17 / 45

Components

Spring 2013 Noise and distortion 18

• Resistors exhibit white noise where voltage noise is proportional to resistance.

• Diodes exhibit white noise (shot noise) where noise current is proportional to diode current.

18 / 45

Page 10: Noise and distortionINF4420 Spring 2013 Noise and distortion Jørgen Andreas Michaelsen (jorgenam@ifi.uio.no) Introduction We have already considered one type of noise in the layout

INF4420 Spring 2013 Noise and distortion Jørgen Andreas Michaelsen ([email protected])

MOSFET noise

Spring 2013 Noise and distortion 19

White noise (channel resistance)

Triode: 𝐼𝑑2 𝑓 =

4𝑘𝑇

𝑟𝑑𝑠

Active: 𝐼𝑑2 𝑓 = 4𝑘𝑇𝛾𝑔𝑚 or 𝑉𝑔

2 𝑓 =4𝑘𝑇𝛾

𝑔𝑚

Flicker noise (different models are used, we use the one from the textbook)

𝑉𝑔2 𝑓 =

𝐾

𝑊𝐿𝐶𝑜𝑥 𝑓

K is process dependent

γ is process dependent, 2/3 for long-channel

19 / 45

MOSFET noise

• Total MOSFET noise is white noise + flicker noise

• Higher 𝑔𝑚 attenuates the white noise contribution

• Larger devices (gate area) reduces the flicker noise

• We can reduce flicker noise using circuit techniques. E.g. in sampled analog systems we can sample the noise and subtract (correlated double sampling).

Spring 2013 Noise and distortion 20

20 / 45

Page 11: Noise and distortionINF4420 Spring 2013 Noise and distortion Jørgen Andreas Michaelsen (jorgenam@ifi.uio.no) Introduction We have already considered one type of noise in the layout

INF4420 Spring 2013 Noise and distortion Jørgen Andreas Michaelsen ([email protected])

Input referred noise

Amplifier not only amplifies the signal, but adds noise. Even though the amplifier noise is not physically present at the input, we can calculate an equivalent input noise, 𝑣𝑖𝑛.

Spring 2013 Noise and distortion 21

× 4

𝑣𝑖 𝑡 = sin𝜔0𝑡

𝑣𝑜 𝑡 = 4 × 𝑣𝑖 𝑡 + 𝑣𝑜𝑛 𝑡

Amplifier noise

𝑣𝑖𝑛 =𝑣𝑜𝑛𝐴0, 𝐴0 = 4

21 / 45

Input referred noise

Spring 2013 Noise and distortion 22

22 / 45

Page 12: Noise and distortionINF4420 Spring 2013 Noise and distortion Jørgen Andreas Michaelsen (jorgenam@ifi.uio.no) Introduction We have already considered one type of noise in the layout

INF4420 Spring 2013 Noise and distortion Jørgen Andreas Michaelsen ([email protected])

Noise figure (NF)

A “figure of merit” for how much noise the amplifier adds, compared to the source.

NF 𝑓 = 10 log104𝑘𝑇𝑅𝑠 + 𝑣𝑎𝑖

2 𝑓

4𝑘𝑇𝑅𝑠

Spring 2013 Noise and distortion 23

Input referred amplifier noise

Source noise

23 / 45

Input referred noise

The amplifier may be a cascade of gain stages. High gain at the input stage attenuates noise contributed by later stages (important).

Spring 2013 Noise and distortion 24

24 / 45

Page 13: Noise and distortionINF4420 Spring 2013 Noise and distortion Jørgen Andreas Michaelsen (jorgenam@ifi.uio.no) Introduction We have already considered one type of noise in the layout

INF4420 Spring 2013 Noise and distortion Jørgen Andreas Michaelsen ([email protected])

Amplifier system example

Resistive feedback and noiseless opamp

𝑉𝑜𝑉𝑖= −𝑅2𝑅1, 𝑉𝑛𝑖

2 = 𝑉𝑛12 +

𝑅1𝑅2

2

𝑉𝑛22

Spring 2013 Noise and distortion 25

𝑅2

𝑅1 𝑉𝑖

𝑉𝑜

Noiseless

25 / 45

Amplifier system example

𝑉𝑛𝑜12 𝑓 = 𝐼𝑛1

2 𝑓 + 𝐼𝑛𝑓2 𝑓 + 𝐼𝑛−

2 𝑓𝑅𝑓

1 + 𝑗2𝜋𝑓𝑅𝑓𝐶𝑓

2

𝑉𝑛𝑜22 𝑓 = 𝐼𝑛+

2 𝑓 𝑅22 + 𝑉𝑛2

2 𝑓 + 𝑉𝑛2 𝑓 1 +

𝑅𝑓𝑅1−1

1 + 𝑗2𝜋𝑓𝑅𝑓𝐶𝑓

2

Spring 2013 Noise and distortion 26

𝑉𝑛𝑜2 𝑓 = 𝑉𝑛𝑜1

2 𝑓+ 𝑉𝑛𝑜2

2 (𝑓)

26 / 45

Page 14: Noise and distortionINF4420 Spring 2013 Noise and distortion Jørgen Andreas Michaelsen (jorgenam@ifi.uio.no) Introduction We have already considered one type of noise in the layout

INF4420 Spring 2013 Noise and distortion Jørgen Andreas Michaelsen ([email protected])

Differential pair example

Input stage → most significant noise

Spring 2013 Noise and distortion 27

Several noise sources, we want

the total input referred noise,

𝑉𝑛𝑖2 𝑓 , assuming

device symmetry.

27 / 45

Differential pair example

• Ignore 𝑉𝑛5, just modulates the bias current

• 𝑉𝑛1 and 𝑉𝑛2 are already at the input

• Find how 𝑉𝑛3 and 𝑉𝑛4 influence the output

(𝑔𝑚3𝑅𝑜) and input refer, 𝑔𝑚3

𝑔𝑚1

2

𝑉𝑛𝑖2 𝑓 = 2𝑉𝑛1

2 𝑓 + 2𝑉𝑛32 𝑓 ×

𝑔𝑚3𝑔𝑚1

2

= 2𝑉𝑛12 𝑓 + 2𝑉𝑛3

2 𝑓 ×𝛽3𝛽1

Spring 2013 Noise and distortion 28

𝑔𝑚 = 2𝛽𝐼𝐷 →

28 / 45

Page 15: Noise and distortionINF4420 Spring 2013 Noise and distortion Jørgen Andreas Michaelsen (jorgenam@ifi.uio.no) Introduction We have already considered one type of noise in the layout

INF4420 Spring 2013 Noise and distortion Jørgen Andreas Michaelsen ([email protected])

Differential pair example

Contribution from white noise, 4𝑘𝑇𝛾

𝑔𝑚

8𝑘𝑇𝛾1

𝑔𝑚1+ 8𝑘𝑇𝛾

𝑔𝑚3

𝑔𝑚12

Contribution from flicker noise, 𝐾

𝑊𝐿𝐶𝑜𝑥𝑓

2

𝐶𝑜𝑥𝑓

𝐾1𝑊1𝐿1

+𝜇𝑛𝜇𝑝

𝐾3𝐿1

𝑊1𝐿32

Spring 2013 Noise and distortion 29

• Maximize 𝑔𝑚1 (small overdrive) • Minimize 𝑔𝑚3 (large overdrive)

• Big devices helps • Especially increased 𝑊1 and 𝐿3

29 / 45

Distortion

• So far we have discussed noise, which is an important performance constraint

• The degree of non-linearity is another important performance limitation

• SNR improves with “stronger” input signals (because the noise remains constant)

• However, larger input amplitude adds more non-linearity.

• The sum of noise and distortion is important (SNDR). Increasing the amplitude improves SNDR up to some point where the non-linearity becomes significant. Beyond this point the SNDR deteriorates.

Spring 2013 Noise and distortion 30

30 / 45

Page 16: Noise and distortionINF4420 Spring 2013 Noise and distortion Jørgen Andreas Michaelsen (jorgenam@ifi.uio.no) Introduction We have already considered one type of noise in the layout

INF4420 Spring 2013 Noise and distortion Jørgen Andreas Michaelsen ([email protected])

Distortion

Amplification and non-linearity depends on the biasing point.

• Soft non-linearity (compression and expansion)

• Hard non-linearity (clipping)

Spring 2013 Noise and distortion 31

31 / 45

Common source amplifier example

Spring 2013 Noise and distortion 32

32 / 45

Page 17: Noise and distortionINF4420 Spring 2013 Noise and distortion Jørgen Andreas Michaelsen (jorgenam@ifi.uio.no) Introduction We have already considered one type of noise in the layout

INF4420 Spring 2013 Noise and distortion Jørgen Andreas Michaelsen ([email protected])

Harmonic distortion

Using Taylor series allows us to study distortion independent of the specific shape of the non-linearity (e.g. common source).

Generic expression for total harmonic distortion (THD). The non-linearity adds harmonics in the frequency domain.

Spring 2013 Noise and distortion 33

33 / 45

Harmonic distortion

Spring 2013 Noise and distortion 34

34 / 45

Page 18: Noise and distortionINF4420 Spring 2013 Noise and distortion Jørgen Andreas Michaelsen (jorgenam@ifi.uio.no) Introduction We have already considered one type of noise in the layout

INF4420 Spring 2013 Noise and distortion Jørgen Andreas Michaelsen ([email protected])

Harmonic distortion

Using Taylor expansion we write the output of the amplifier as:

𝑣𝑜 𝑡 = 𝑎0 + 𝛼1𝑣𝑖 𝑡 + 𝛼2𝑣𝑖2 𝑡 + 𝛼3𝑣𝑖

3 𝑡 + ⋯

In fully differential circuits, the even order terms, 𝛼2, 𝛼4, …, cancels out.

Spring 2013 Noise and distortion 35

Output DC level

(Not important)

Ideal gain (This is the signal we

want)

Distortion (harmonics)

35 / 45

Harmonic distortion

The first terms are the most significant

𝑣𝑜 𝑡 ≈ 𝛼1𝑣𝑖 𝑡 + 𝛼2𝑣𝑖2 𝑡 + 𝛼3𝑣𝑖

3(𝑡)

In fully differential circuits we approximate the output as

𝑣𝑜 𝑡 ≈ 𝛼1𝑣𝑖 𝑡 + 𝛼3𝑣𝑖3(𝑡)

To analyze the linearity we assume a single tone input: 𝑣𝑖 𝑡 = 𝐴 cos𝜔𝑡

Spring 2013 Noise and distortion 36

36 / 45

Page 19: Noise and distortionINF4420 Spring 2013 Noise and distortion Jørgen Andreas Michaelsen (jorgenam@ifi.uio.no) Introduction We have already considered one type of noise in the layout

INF4420 Spring 2013 Noise and distortion Jørgen Andreas Michaelsen ([email protected])

Harmonic distortion

From before, 𝑣𝑖 𝑡 = 𝐴 cos𝜔𝑡

𝑣𝑜 𝑡 ≈ 𝛼1𝑣𝑖 𝑡 + 𝛼2𝑣𝑖2 𝑡 + 𝛼3𝑣𝑖

3 𝑡

cos2 𝜃 =1 + cos 2𝜃

2, cos3 𝜃 =

3 cos 𝜃 + cos 3𝜃

4

𝑣𝑜 𝑡 ≈ 𝛼1𝐴 cos𝜔𝑡 +𝛼2𝐴

2

21 + cos 2𝜔𝑡

+𝛼3𝐴

3

43 cos𝜔𝑡 + cos 3𝜔𝑡

Spring 2013 Noise and distortion 37

37 / 45

Harmonic distortion

𝑣𝑜 𝑡 ≡ 𝐻𝐷1 cos𝜔𝑡 + 𝐻𝐷2 cos 2𝜔𝑡 + 𝐻𝐷3 cos 3𝜔𝑡

𝐻𝐷1 = 𝛼1𝐴 +3

4𝛼3𝐴

3 ≈ 𝛼1𝐴

𝐻𝐷2 =𝛼22𝐴2

𝐻𝐷3 =𝛼34𝐴3

Spring 2013 Noise and distortion 38

38 / 45

Page 20: Noise and distortionINF4420 Spring 2013 Noise and distortion Jørgen Andreas Michaelsen (jorgenam@ifi.uio.no) Introduction We have already considered one type of noise in the layout

INF4420 Spring 2013 Noise and distortion Jørgen Andreas Michaelsen ([email protected])

Harmonic distortion

Spring 2013 Noise and distortion 39

39 / 45

Total harmonic distortion

As with noise, the ratio between the distortion and the signal is what we are interested in.

Total harmonic distortion (sum of all harmonics relative to the fundamental tone):

THD = 10 log10𝐻𝐷22 + 𝐻𝐷3

2 + 𝐻𝐷42

𝐻𝐷12

Spring 2013 Noise and distortion 40

40 / 45

Page 21: Noise and distortionINF4420 Spring 2013 Noise and distortion Jørgen Andreas Michaelsen (jorgenam@ifi.uio.no) Introduction We have already considered one type of noise in the layout

INF4420 Spring 2013 Noise and distortion Jørgen Andreas Michaelsen ([email protected])

Signal to noise and distortion (SNDR)

Spring 2013 Noise and distortion 41

41 / 45

Signal to noise and distortion (SNDR)

Spring 2013 Noise and distortion 42

42 / 45

Page 22: Noise and distortionINF4420 Spring 2013 Noise and distortion Jørgen Andreas Michaelsen (jorgenam@ifi.uio.no) Introduction We have already considered one type of noise in the layout

INF4420 Spring 2013 Noise and distortion Jørgen Andreas Michaelsen ([email protected])

Third-order intercept point (IP3)

Using two input tones rather than one (same amplitude different frequencies)

𝑣𝑖𝑛 𝑡 = 𝐴 cos𝜔1𝑡 + 𝐴 cos𝜔2𝑡

Gives rise to two new distortion components close to the input frequencies 𝜔1 − Δ𝜔 and 𝜔2 + Δ𝜔 where Δ𝜔 ≡ 𝜔2 − 𝜔1

This distortion increases as 𝐴3. We use this to find the intercept point, and infer the third order distortion component.

Spring 2013 Noise and distortion 43

43 / 45

Third-order intercept point (IP3)

Spring 2013 Noise and distortion 44

44 / 45

Page 23: Noise and distortionINF4420 Spring 2013 Noise and distortion Jørgen Andreas Michaelsen (jorgenam@ifi.uio.no) Introduction We have already considered one type of noise in the layout

INF4420 Spring 2013 Noise and distortion Jørgen Andreas Michaelsen ([email protected])

Spurious free dynamic range (SFDR)

Ratio between the input signal power and any “spurs” in the spectrum. Could be from harmonics, or feed through from clocks, etc.

Spring 2013 Noise and distortion 45

45 / 45