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

CO2035 - Lecture 1 - Introduction of Signal and System

This document introduces key concepts in signals and systems. It defines a signal as any quantity that varies over time, space or other variables. A system performs operations on signals like transformation or extraction. Signals can be continuous or discrete in both time and amplitude. Analog signals are continuous in both domains while digital signals are discrete. Analog systems have analog inputs and outputs while digital systems are fully digital. Multichannel signals have multiple sources and multidimensional signals depend on multiple variables. Deterministic signals have explicit definitions while random signals are unpredictable. Pure frequency signals are sinusoids. Analog-to-digital conversion involves sampling, quantization and coding of signals, while digital-to-analog conversion reconstructs the analog signal.

Uploaded by

Văn Lợi
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
65 views

CO2035 - Lecture 1 - Introduction of Signal and System

This document introduces key concepts in signals and systems. It defines a signal as any quantity that varies over time, space or other variables. A system performs operations on signals like transformation or extraction. Signals can be continuous or discrete in both time and amplitude. Analog signals are continuous in both domains while digital signals are discrete. Analog systems have analog inputs and outputs while digital systems are fully digital. Multichannel signals have multiple sources and multidimensional signals depend on multiple variables. Deterministic signals have explicit definitions while random signals are unpredictable. Pure frequency signals are sinusoids. Analog-to-digital conversion involves sampling, quantization and coding of signals, while digital-to-analog conversion reconstructs the analog signal.

Uploaded by

Văn Lợi
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 41

CO2035

1. Introduction of Signals and


Systems
CO2035 – Introduction of Signal and System 2

What is a Signal?
§ Any physical quantity that varies with time, space, or any other independent
variable or variables.
§ Examples: pressure as a function of altitude, sound as a
function of time, color as a function of space, etc.
§ Representation
▫ x(t)=cos(2πt), x(t)=4pt+t3, x(m;n)=(m+n)3
CO2035 – Introduction of Signal and System 3

What is a System?
§ A physical device or program that performs an operation on a signal such as
information transform and extraction.
▫ Performing an operation on a signal is called signal processing

§ Examples
▫ Analog amplifier
▫ Noise canceller
▫ Communication Channel
▫ etc.

§ Representation
CO2035 – Introduction of Signal and System 4

Continuous-Time vs. Discrete-Time Signals


§ Continuous-Time Signals: signal is defined for every value of time in a given
interval (a, b) where a ³ -¥ and b £ -¥

§ Examples
▫ Voltages as a function of time
▫ Height as a function of pressure
▫ Number of positron emissions as a function of time
CO2035 – Introduction of Signal and System 5

Continuous-Time vs. Discrete-Time Signals


§ Discrete-Time Signals: signal is defined only for certain specific values of time;
typically taken to be equally spaced points in an interval.

§ Examples
▫ Number of stocks traded per day
▫ Average income per province
CO2035 – Introduction of Signal and System 6

Continuous-Amplitude vs. Discrete-Amplitude Signals


§ Continuous-Amplitude Signals: signal amplitude takes on a spectrum of values
within one or more intervals.

§ Examples
▫ Color
▫ Temperature
▫ Pain-level
CO2035 – Introduction of Signal and System 7

Continuous-Amplitude vs. Discrete-Amplitude Signals


§ Discrete-Amplitude Signals: signal amplitude takes on values from a finite set.

§ Examples
▫ Digital image
▫ Population of a country
CO2035 – Introduction of Signal and System 8

Analog and Digital Signals


§ Analog Signal = Continuous-Time + Continuous-Amplitude
§ Digital Signal = Discrete-Time + Discrete-Amplitude
CO2035 – Introduction of Signal and System 9

Analog and Digital Signals


§ Analog signals are fundamentally significant because we must interface with
the real world which is analog by nature.

§ Digital signals are important because they facilitate the use of digital signal
processing (DSP) systems, which have practical and performance advantages
for several applications.
CO2035 – Introduction of Signal and System 10

Analog and Digital Systems


§ Analog system =
analog signal input + analog signal output
▫ Advantages: easy to interface to real world, do not need A/D or D/A converters,
speed not dependent on clock rate.

§ Digital system =
digital signal input + digital signal output
▫ Advantages: re-configurability using software, greater control over
accuracy/resolution, predictable and reproducible behavior.
CO2035 – Introduction of Signal and System 11

Analog and Digital Systems


CO2035 – Introduction of Signal and System 12

Multichannel and Multidimensional Signals


§ Multichannel Signals
▫ Signal is generated by multiple sources and usually represented in vector form.
▫ Example
– ECG – ElectroCardioGram
– EEG – ElectroEncephaloGram
– Color Image - RGB

§ Multidimensional Signal
▫ Signal is a function of M independent variables (M > 1).
▫ Example
– Image: ~ (x, y)
– Black/White TV Image: ~ (x, y, t)

§ Signal is multichannel and multidimensional


▫ Color TV Image
CO2035 – Introduction of Signal and System 13

Deterministic vs. Random Signals


§ Deterministic signal
▫ Any signal that can be uniquely described by an explicit mathematical expression, a
table of data, or a well-defined rule.
▫ past, present and future values of the signal are known precisely without any
uncertainty.

§ Random signal
▫ Any signal that lacks a unique and explicit mathematical expression and thus
evolves in time in an unpredictable manner.
▫ It may not be possible to accurately describe the signal.
▫ The deterministic model of the signal may be too complicated to be of use.
CO2035 – Introduction of Signal and System 14

What is a “pure frequency” signal?


CO2035 – Introduction of Signal and System 15

Continuous-time Sinusoids
CO2035 – Introduction of Signal and System 16

Continuous-time Sinusoids: Frequency


§ Smaller F, larger T

§ Larger F, smaller T
CO2035 – Introduction of Signal and System 17

Discrete-time Sinusoids

§ x(n) is periodic only if its frequency f is a rational number.

§ Radian frequencies separated by an integer multiple of 2π are identical.


§ Lowest rate of oscillation is achieved for w=2kπ and highest rate of oscillation is
achieved for w=(2k + 1)π, for k Î Z.
CO2035 – Introduction of Signal and System 18
CO2035 – Introduction of Signal and System 19

Complex Exponentials

§ Continuous-time

§ Discrete-time:
CO2035 – Introduction of Signal and System 20

Periodicity: Continuous-time
CO2035 – Introduction of Signal and System 21

Periodicity: Discrete-time
CO2035 – Introduction of Signal and System 22

Example 1

§ The fundamental period is 12 which corresponds to k = 1 envelope cycles.


CO2035 – Introduction of Signal and System 23

Example 2

§ The fundamental period is 31 which corresponds to k = 4 envelope cycles.


CO2035 – Introduction of Signal and System 24

Example 3
CO2035 – Introduction of Signal and System 25

Uniqueness: Continuous-time
CO2035 – Introduction of Signal and System 26
CO2035 – Introduction of Signal and System 27
CO2035 – Introduction of Signal and System 28

Analog-to-Digital Conversion

§ Sampler
▫ Sampling
§ Quantizer
▫ Quantization
§ Coder
▫ Coding
CO2035 – Introduction of Signal and System 29

Analog-to-Digital Conversion: Sampling

§ Sampling
▫ Conversion from continuous-time to discrete-time by taking “samples” at discrete
time instants.
▫ E.g., uniform sampling: x(n)=xa(nT) where T is the sampling period and n € Z.
CO2035 – Introduction of Signal and System 30

Sampling Theorem
CO2035 – Introduction of Signal and System 31

Example
§ Do sampling x1(t) and x2(t) with sampling frequency Fs=100Hz
▫ x1(t) = 3cos(20πt)
▫ x2(t) = 3cos(220πt)

x1(t) x2(t)

Sampling

x1(n) = 3cos([20/100]πn) x2(n) = 3cos([220/100]πn)


= 3cos(πn/5) = 3cos([11/5]πn)
= 3cos([(10+1)/5]πn)

x1(n) =3cos(πn/5)
CO2035 – Introduction of Signal and System 32

Aliasing
§ What is aliasing?
x0(t) = ACos(2πF0t + θ)
xk(t) = ACos(2πFkt + θ) where Fk = F0 + kFs (k € Z)

If xk(t) is sampled by Fs, the sampling result will be same as x0(t)


CO2035 – Introduction of Signal and System 33

Analog-to-Digital Conversion: Quantization

§ Quantization
▫ Conversion from discrete-time continuous-amplitude signal to a discrete-time
discrete-amplitude signal.
▫ Quantization error: eq(n) = xq(n) − x(n) for all n € Z.
CO2035 – Introduction of Signal and System 34

Analog-to-Digital Conversion: Quantization


§ Quantization
▫ Conversion from discrete-time continuous-amplitude signal to a discrete-time
discrete-amplitude signal.
▫ Methods: rounding or truncated.
▫ Notes:
– L the number of quantization levels
– Ymax, Ymin: the max and min value of the signal
– ∆: quantization step

∆ = (Ymax - Ymin)/(L–1)
Quantization error:
– Rounding: | eq(n) | <= ∆/2
– Truncated: | eq(n) | < ∆
CO2035 – Introduction of Signal and System 35

Analog-to-Digital Conversion: Coding

§ Coding
▫ Representation of each discrete-amplitude xq(n) by a b-bit binary sequence.
– 2b ³ L Þ b ³ ceil(log2L)
▫ E.g., if for any n, xq(n) € {0; 1;…; 6; 7}, then the coder may use the following
mapping to code the quantized amplitude.
CO2035 – Introduction of Signal and System 36

Analog-to-Digital Conversion: Coding


CO2035 – Introduction of Signal and System 37

Digital-to-Analog Conversion
§ To convert digital signal to analog signal.

§ Common interpolation approaches


▫ Bandlimited interpolation
▫ Zero-order hold
▫ Linear interpolation
▫ Higher-order interpolation techniques
CO2035 – Introduction of Signal and System 38
CO2035 – Introduction of Signal and System 39

Exercise
1§ A given signal 𝑥 𝑡 = cos !"⁄ − s𝑖𝑛 !"⁄ + 3cos !" + ! , determine
# $ % &
a. Sampling frequency Fs that satisfies the sampling theorem.
b. x(n) using Fs determined in (a)
c. The number of quantization levels L of x(n) with D=0.1
d. The binary sequence corresponding to each quantized value of x(n). (Using truncated method for
quantization)

---------------------------------------
2
§ A given signal 𝑥 𝑡 = 3cos 600𝜋𝑡 + 2 s𝑖𝑛 1800𝜋𝑡 , determine
a. Sampling frequency Fs that satisfies the sampling theorem.
b. x(n) using Fs determined in (a)
c. Quantization error if using 1024 quantization levels
d. The binary sequence corresponding to each quantized value of x(n). (Using rounding method for
quantization)
CO2035 – Introduction of Signal and System 40

Exercise
3§ Determine which of the following sinusoids are periodic and compute their
fundamental period.
!"# &'#
▫ cos 0.01πn cos π cos 3πn sin 3n sin(π )
$"% $"

4§ Consider the following analog signal


x) (t) = 3sin(100πt)

▫ The signal 𝑥( (t) is sampled with a sampling rate Fs = 300 samples/s. Determine the
discrete signal x(n) and determine the periodic property of x(n). If x(n) is periodic
signal, determine the frequency and period of x(n). Then, compute the sample
values in one period of x(n).
CO2035 – Introduction of Signal and System 41

References
§ Chapter 1 - Textbook

§ Lecture Notes – Digital Signal Processing


▫ Professor Deepa Kundur (University of Toronto)
▫ http://www.comm.utoronto.ca/~dkundur/course/ece-455-digital-signal-
processing/#lectures

You might also like