• Tidak ada hasil yang ditemukan

Lec. 2: Sampling

N/A
N/A
Protected

Academic year: 2024

Membagikan "Lec. 2: Sampling"

Copied!
16
0
0

Teks penuh

(1)

Lec. 2:

Sampling

Lecturer: Hooman Farkhani

Department of Electrical Engineering Islamic Azad University of Najafabad Feb. 2016.

Email: [email protected]

In The Name of Almighty

(2)

2

A/D and D/A Conversion

S/H

Analog out Digital

in

D/A DSP

Smoothing filter

A/D Conversion

D/A Conversion

Reconstruction

(3)

3

Sampling

Sampling is a common technical process.

- E.g.: A movie consists out of a sequences of photographs (the samples).

The sampling process determines the value of a signal on a predetermined frame of time moments.

Sampling Frequency: fs

Sampling circuit

Sampled version of input signal Analog input signal

Sampling pulses

(4)

4

Sampling in Time:

Uniform Sampling with period T:

Sampling a signal is equivalent to the mixing of the signal with a train of deltas.

Note that the multiplication is a non-linear operation : (inherent non-linearity of Sampling Operation)

(5)

5

Sampling in Frequency Domain:

Laplace transform of an infinite sequence of deltas is given by:

Hence we have:

The equation shows that the spectrum of x∗(nT) is the superposition of infinite replicas of the input spectrum. These replicas are centered at multiples of the sampling frequency being shifted along the f axis by:

(6)

6

Sampling in Frequency Domain:

(a) Bilateral spectrum of a continuous-time signal. (b) Sampled spectrum by using fs/2 > fB

(7)

7

Aliasing Band

(a) Bilateral spectrum of a continuous-time signal. (c) Sampled spectrum by using fs/2 < fB

Aliasing

(8)

8

Another example for Aliasing:

Reference: Pelgrom Book

(9)

9 Aliasing: Three analog signals: 1 MHz, 19 MHz and 39 MHz sine waves result after

sampling with 20 Ms/s in the same sampled data sequence (dots)

(10)

10

Sampling Theorem (Nyquist Criterion)

The sampling theorem states:

If the signal is sampled less than this, the recovery process will pr oduce frequencies that are entirely different than in the original sig nal. These “masquerading” signals are called aliases.

In order to recover a signal, the sampling rate must be greater than twice the highest frequency in the signal.

Stated as an equation, fsample > 2fa(max) where fsample = sampling frequency

fa(max) = highest harmonic in the analog signal

(11)

11

Anti-Aliasing Filter:

The anti-aliasing filter is a low-pass filter that limits high frequencies in the input signal to only those that meet the requirements of the sa mpling theorem.

fc Filtered analog freq uency spectrum

f fsample

Sampling frequency spectrum

The filter’s cutoff frequency, fc, should be less than ½ fsample.

(12)

12

Anti-Aliasing Filter:

The anti-aliasing filter protects the information content of the signal.

Use an antialiasing filter in front of every quantizer to reject unw anted interferences outside of the band of the interest (either

low pass or band-pass)!

Exercise: Do researches on these topics:

1. Undersampling the signals

2. Oversampling the signals

3. Non-uniform Sampling and its applications

(13)

13

Classes of sampling

Nyquist-rate sampling (fs > 2. fsig.max)

- Nyquist data converters

- In practice always slightly oversampled.

Oversampling ((fs >> 2. fsig.max)

- Oversampled data converters

- Anti-alias filtering is often trivial

- Oversampling also helps reduce “quantization noise” (<ore lat er)

Undersampling, subsampling (fs < 2. fsig.max)

- Exploit aliasing to mix RF/IF signals down to baseband - see e.g. Pekau & Haslett, JSSC 11/2005.

(14)

14

From Analog Toward Digital

After Limiting the bandwidth (BW) of the input signal (using a nti-aliasing filter), the first step in converting a signal to digital form is to use a sample-and-hold circuit.

This circuit samples the input signal at a rate determined by a clock signal and holds the level on a capacitor until the next clock pulse.

A positive half-wave from 0-10 V is shown in blue.

The sample-and-hold circuit produces the staircase representati on shown in red.

After Sampling A/D converts the data (see next lactures)

0 V 10 V

(15)

15

Summary

Must obey sampling theorem fs > 2·fsig,max, – Usually dictates anti-aliasing filter

If sampling theorem is met, continuous time signal can be

recovered from discrete time sequence without loss of information .

Sample and Hold circuits can be implemented separately or jus t implemented as a part of the ADC. (This will be discussed lat er)

(16)

16

References

Chapter 3 of Pelgrom’s book.

Chapter 1 (1.2) of Maloberti’s book

Referensi

Dokumen terkait