0% found this document useful (0 votes)
11 views

IT341 DSP Lec#3

The document discusses digital signal processing (DSP) and the process of converting analog signals to digital signals and vice versa. It explains that modern systems typically take a continuous-time analog signal from a sensor, process it either digitally or analog, and may reconstruct an analog output. The key benefits of DSP are digital data storage and transmission, flexibility to change processing functions, ability to implement complex algorithms, and accuracy. It then describes the three main steps of analog to digital conversion: sampling, quantization, and coding. It provides examples of different types of signals like unit impulse, unit step, rectangular, ramp, exponential, and sinusoidal signals that are used in digital signal representation and processing.

Uploaded by

Yousef Quried
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views

IT341 DSP Lec#3

The document discusses digital signal processing (DSP) and the process of converting analog signals to digital signals and vice versa. It explains that modern systems typically take a continuous-time analog signal from a sensor, process it either digitally or analog, and may reconstruct an analog output. The key benefits of DSP are digital data storage and transmission, flexibility to change processing functions, ability to implement complex algorithms, and accuracy. It then describes the three main steps of analog to digital conversion: sampling, quantization, and coding. It provides examples of different types of signals like unit impulse, unit step, rectangular, ramp, exponential, and sinusoidal signals that are used in digital signal representation and processing.

Uploaded by

Yousef Quried
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 45

Dr. Eman F.

Sawires
Assistant Professor, Department of Electronics and Communications
Engineering, Faculty of Engineering, Helwan University.
E. Sawires
2
DSP Scenario
➢ Modern systems generally…….
➢ get a continuous-time signal from a sensor
➢ a continuous-time system modifies the signal
➢ Represent signals by a sequence of numbers (Sampling or analog-to-digital conversions)
➢ Perform processing on these numbers with a digital processor (Digital signal processing)
➢ and then (if desired) reconstruct analog signal from processed numbers (digital-to-analog
conversion)

4
DSP Scenario
➢ Analog input – analog output ➢ Digital input – analog output
➢ Digital recording of music ➢ Text to speech
➢ Analog input – digital output ➢ Digital input – digital output
➢ Touch tone phone dialing ➢ Compression of a file on computer

5
Why DSP?
➢ Digital data storage and transmission is much more effective than in the analogue form
➢ Flexibility: processing functions can be altered or adjusted
➢ Possibility of implementing much more complicated processing functions than in
analogue devices
➢ Efficient implementation of fast algorithms and matrix-based processing
➢ Speed of digital operation tends to grow rapidly with the years of technical progress
➢ Avery high accuracy and reliability is possible to achieve
➢ Dynamic range can be increased
➢ Signal multiplexing: simultaneous(parallel)processing

6
Analog to Digital(A/D) Conversion
➢ Consists of 3 processes:
1. Sampling: Conversion from Continuous-Time, Continuous-Amplitude
signal to Discrete-Time, Continuous-Amplitude signal.
2. Quantizing: Conversion from Discrete-Time, Continuous-Amplitude
signal to Discrete-Time, Discrete-Amplitude signal.
3. Coding: Conversion from a Discrete-Time, Discrete-Amplitude signal
to an efficient Digital data format.

8
Analog to Digital(A/D) Conversion

Speech, Television

9
Analog to Digital(A/D) Conversion

10
Analog to Digital(A/D) Conversion
1. Sample and Hold :

11
Analog to Digital(A/D) Conversion
1. Sample and Hold :
➢The sampling of a continuous time signal 𝑋𝑎 (t) consists of keeping the
information of the signal 𝑋𝑎 (t) once every 𝑇𝑆 second (sampling period).

sampling period, 𝑻𝑺

12
The Sampling Theorem

13

13
The Sampling Theorem
➢It is possible to perfectly reconstruct a sampled signal from its samples if
the following condition is met:
➢ The sampling frequency 𝑭𝑺 is at least twice as large as the maximum
frequency 𝐹𝑀 of the signal.
➢ 𝑭𝑺 ≥2 𝑭𝑴 (Shannon, Nyquis, 1940)
➢𝑭𝑺 ≥2 𝑩, where B is the positive bandwidth of the signal.
➢e.g., Audio signal (to store in memory), 𝐹𝑀 = 3.5 KHz → 𝑭𝑺 =7KHz at
least. (𝑻𝑺 =142 µs), 𝑭𝑺 ≥ 7KHz
Fs = 1/Ts is the sampling rate given in samples per second

14
The Sampling Theorem and Aliasing

𝑭𝑺 =11𝑭𝑴 𝑭𝑺 =3.3𝑭𝑴

15
The Sampling Theorem and Aliasing
𝑭𝑺 =1.05𝑭𝑴

16
Analog to Digital (A/D) Conversion
Quantization & Coding :
➢ Analog to Digital Converter (e.g., Comparator
ADC)
2. Coding :
➢ We need to encode each sample value in order to
store it in b bits memory location.
➢ But as b is limited, we have to consider a finite
values of samples.
e.g., If b = 3, we can have 2b=8 different possible
sample values.

17
Analog to Digital (A/D) Conversion
Quantization & Coding :
inputs Outputs
𝐷6 𝐷5 𝐷4 𝐷3 𝐷2 𝐷1 𝐷0 𝑏2 𝑏1 𝑏0
0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 1 0 0 1
0 0 0 0 0 1 1 0 1 0
0 0 0 0 1 1 1 0 1 1
0 0 0 1 1 1 1 1 0 0
0 0 1 1 1 1 1 1 0 1
0 1 1 1 1 1 1 1 1 0
1 1 1 1 1 1 1 1 1 1

18
Representation of Discrete Time Signals

19

19
Representation of Discrete Time Signals

20

20
Important Discrete Time Signals
➢ The basic digital functions (signal or sequence) are
➢Unit Impulse
➢Unit Step
➢Rectangular Signal
➢Ramp Signal
➢Real value exponential
➢Sinusoidal Signal

21
1. Unit Impulse Function

• The unit impulse function δ[n] has an amplitude of zero at all samples except n
= 0, where it has the value 1.
• Every digital signal can be written as a sum of impulse functions, using the
amplitude at each sample.
22
Example: Determine the following:
a) δ[0]
b) δ[3]
c) δ[-2]
Answers

a) δ[0] = 1

b) δ[3] = 0

c) δ[-2] = 0

23
Scaled Unit Impulse Function
Example: Draw the following signal:

x[n] = 4δ[n]

24
Scaled Unit Impulse Function
Example: Draw the following signal:

x[n] = -2δ[n]

25
Shifted Unit Impulse Function
Example: Draw the following signals:

a) x[n] = δ[n-2]

b) x[n] = δ[n+2]

26
Shifted Unit Impulse Function
Example: Draw the following signals:

a) x[n] = δ[n-3]

27
Unit Impulse Function
➢ Hence, the unit impulse signal can be used as a basic building
block for the construction & representation of other signals.

e.g., x[n] = δ[n+1]+2δ[n]+0.5δ[n-1]+3δ[n-3]


𝑥[𝑛] = ෍ 𝑥 𝑘 𝛿[𝑛 − 𝑘]
𝑘=−∝

28
Unit Impulse Function
Example: Write a function to describe the signal in the following
figure.

x[n] = δ[n] + δ[n-1] + δ[n-2] + δ[n-3]

29
Unit Impulse Function
Example: Write a function to describe the signal in the following
figure.

x[n] = 4δ[n] - 2δ[n-1] + 3δ[n-2] - δ[n-3]


30
2. Unit Step Function

31
2. Unit Step Function
Example: Determine the values of the following
a) u[-1], b) u[0], c) u[1]

Answers

a) u[-1] = 0
b) u[0] = 1
c) u[1] = 1

32
2. Unit Step Function
Example: Draw the signal x[n] = 3u[n]

33
2. Shifted Step Function
Example: Draw the signal (a) x[n] = u[n - 2]
(b) x[n] = u[n + 2]

34
2. Unit Step Function
Example: Draw the signal x[n] = u[-n]

35
Unit Impulse & Unit Step Functions

36

36
2. Unit Step Function
Example: Draw the signal
x[n] = u[n] + 2u[n - 2]
2u[n - 2]

37

37
2. Unit Step Function
Example: Draw the signal
x[n] = u[n] - u[n - 3]

38

38
3. Rectangular Signal

39

39
4. Ramp Signal

r[n] = nu[n]

40

40
5. Real value exponential

41

41
6. Sinusoidal Signal

42

42
Example:
A discrete-time signal x[n] is defined as:

43

43
44
Thank You
???
Have a Wonderful Semester

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy