Uploaded by Swaraj Tandel

Unit-1-Signals - Part 1

advertisement
Signal and Systems
B. TECH./MBA TECH. – EXTC/IT
Sem III
AY 2023-2024
Instructor: Dr. Prashant Kharote
SNS
What is a Signal?
• Conveys information
• Sound
• Image
• Video
• Biomedical data
• Music
• Speech
SNS
How does a Signal look ?
Communication
signal
Electrical
signal
Speech /
Audio
signal
Biomedical
signal
Images
SNS
Signal Representation
Signal is a function of an independent variable
SNS
Signal
Modify signal in time
domain
Analyze
Processing
Unit 3:
Fourier Series
Unit 1:
Elementary signals and
operations on signals
(frequency analysis of periodic CT signal)
Unit 4:
Fourier Transform
(frequency analysis Aperiodic CT signal)
Unit 5:
Laplace Transform
(analyze CT signal in complex domain, s)
Unit 6:
SNSZ Transform (Discrete signals)
Unit 2:
LTI Systems
What is a System :
• We need to process the signal for
• Analysis
• Interpretation
• Manipulation
• Control of signals such as Sound , Images, Video, Biomedical data, control signals,
telecommunication transmission signals, sensor data, time-varying
measurements, etc…
Processing of the signal helps to estimate the characteristic parameters of the signal and
also to transform the signal into desired form.
SNS
Scope of the subject
• To build up the concepts required to analyze and transform signals
• To build up the concepts required to analyze , model and design systems
System:
Filter, Amplifier, mixers ,
modulators
Antenna
Unit 1
SNS
Basic Classification of Signals
Continuous Time Signal
Discrete Time Signal
π‘₯(𝑑)
π‘₯[𝑛]
SNS
Continuous Time and Discrete Time signal
• Continuous Time (CT) signals are functions whose amplitude continuously varies with time,
• They are denoted as x(t)
SNS
Discrete Time (DT) Signals
• Discrete time signals are functions of values taken as discrete instant of time
• It is often derived from CT signals by sampling at uniform time (sampling period)
• DT signals are represented as x[n] where n denotes discrete time
• n = 0, ±1, ±2, ±3, ….. (note no fractional values)
π·π‘–π‘ π‘π‘Ÿπ‘’π‘‘π‘’ π‘‘π‘–π‘šπ‘’ π‘ π‘–π‘”π‘›π‘Žπ‘™π‘ 
π‘Žπ‘Ÿπ‘’ π‘Ÿπ‘’π‘π‘Ÿπ‘’π‘ π‘’π‘›π‘‘π‘’π‘‘ π‘Žπ‘ 
π‘₯ 𝑛 π‘€β„Žπ‘’π‘Ÿπ‘’, 𝑛 = 0, ±1, ±2, …
SNS
Example of CT and DT signal
π‘…π‘’π‘π‘Ÿπ‘’π‘ π‘’π‘›π‘‘π‘Žπ‘‘π‘–π‘œπ‘› 𝑖𝑛 𝐢𝑇 π‘‘π‘œπ‘šπ‘Žπ‘–π‘›
π‘…π‘’π‘π‘Ÿπ‘’π‘ π‘’π‘›π‘‘π‘Žπ‘‘π‘–π‘œπ‘› 𝑖𝑛 𝐷𝑇 π‘‘π‘œπ‘šπ‘Žπ‘–π‘›
SNS
Example of DT signal
SNS
Elementary Continuous Time (CT)
signals / functions
(i) Unit step signal, u(t)
(ii) Unit impulse signal, δ(t)
(iii) Ramp signal, r(t)
(iv) Signum function, Sgn(t)
(v) Exponential Signal, e-at
(vi) Rectangular Signal, rect(t)
(vii)Triangular Signal,
(viii)Sinusoidal Signal
(ix) Sinc Function
SNS
(i) Unit step function
• Unit step function is denoted by u(t). It is defined as
SNS
(ii) Unit impulse function
Unit Impulse function also known as Dirac or delta function
is denoted by δ(t). and it is defined as
Impulse signal exists only at t = 0
SNS
Significance of impulse function
❑To convert a continuous time signal to discrete time signal
❑ SAMPLING: to convert CT signal into DT signal
❑By multiplying CT signal by a unit impulse and its shifted versions
Any signal can be represented as a series of scaled time shifted impulses
SNS
(iii) Ramp signal
• Ramp signal is denoted by r(t), and it is defined as
Ramp signal can also be written as
• Unit ramp signal has a slope of 1
r (t) = t u(t)
SNS
(iv) Signum Function
• Signum function is denoted as sgn(t). It is defined as
SNS
(v) Exponential Signal
• Exponential signal is in the form of
SNS
SNS
(vi) Triangular signal / function
π‘₯ 𝑑 = 2 1 − |𝑑|
|𝑑|
π‘₯ 𝑑 =𝐴 1−
𝑇
SNS
|𝑑|
π‘₯ 𝑑 =9 1−
3
(vii) Rectangular signal
𝑑
π‘₯ 𝑑 = 𝐴 π‘Ÿπ‘’π‘π‘‘
𝑇
Example:
5
𝑑
π‘π‘™π‘œπ‘‘ ∢ π‘₯ 𝑑 = 5 π‘Ÿπ‘’π‘π‘‘
4
SNS
−4
2
4
2
−𝟐
𝟐
Example of rectangular signal
π‘π‘™π‘œπ‘‘ ∢ π‘₯ 𝑑 = 4 π‘Ÿπ‘’π‘π‘‘ 4𝑑
4
−1/4
2
−𝟏/πŸ–
SNS
1/4
2
1/πŸ–
Example of rectangular signal
2𝑑
π‘π‘™π‘œπ‘‘ ∢ π‘₯ 𝑑 = 3 π‘Ÿπ‘’π‘π‘‘
𝑇
3
SNS
−𝑇/2
2
𝑇/2
2
−𝑻/πŸ’
𝑻/πŸ’
Unit Rectangular Signal
1
π‘Ž
-
1
π‘Ž
+
1
π‘Ž
2
𝑇=
π‘Ž
1
π‘Žπ‘‘
π‘₯ 𝑑 = π‘Ÿπ‘’π‘π‘‘
π‘Ž
2
π΄π‘Ÿπ‘’π‘Ž π‘€π‘–π‘‘β„Ž 𝑖𝑛SNSπ‘‘β„Žπ‘’ 𝑝𝑒𝑙𝑠𝑒 = 1
1
π‘₯ 𝑑 = ,
π‘Ž
1
1
− <𝑇<
π‘Ž
π‘Ž
(viii) Sinusoidal Signal
Wo is fundamental frequency
Φ is the phase
To is the fundamental period
SNS
(ix) Sinc Function
• It is denoted as sinc(t) and it is defined as
Peak Value at origin = 1 and zero crossings at ± n
This is a normalized function.
SNS
(x) Sampling Function
• It is denoted as sa(t) and it is defined as
Peak value at origin = 1 and zero crossings at ± nπ
SNS
This is a unnormalized
function.
Elementary Discrete Time (DT)
signals / functions
(i) Unit step signal, u[n]
(ii) Unit impulse signal, δ[n]
(iii) Ramp signal, r[n]
(iv) Signum function, Sgn[n]
(v) Exponential Signal, ean
(vi) Rectangular Signal, rect[n]
(vii)Triangular Signal,
(viii)Sinusoidal Signal
(ix) Sinc Function
SNS
Discrete time signals
1. Discrete time unit step signal
SNS
Discrete time signals
2. Discrete time unit impulse signal
SNS
Relation between DT unit step and unit impulse signal
-
SNS
Discrete time signal
• Exponential signal
Where, C is the scaling factor
α is the shaping factor
For simplicity C = 1
SNS
(c) -1 < α < 0, Double sided Decaying exponent
(d) α < -1 Double sided growing exponent
SNS
Unit 1
❑ Signals
1.
2.
3.
4.
Signals
Elementary signals – analog and discrete signals
Basic operation on signals
Classification of Signals
SNS
Basic Operation on Signals
SNS
Basic Signal Operations
• There are two variable parameters in any signal:
I. Amplitude
II. Time
I.
The following operation can be performed with amplitude:
Amplitude Scaling: a.x(t)
Amplitude Reversal : - x(t)
Addition of signals: x1(t) + x2(t)
II. The following operations can be performed with time:
Subtraction of signals : x1(t) - x2(t)
Time Shifting:
x(t – to)
Multiplication of signals : x1(t) . x2(t)
Time Scaling:
x(at)
Convolution of signals : x1(t) * x2(t)
Time Reversal : x ( - t )
SNS
Amplitude Scaling
SNS
SNS
Addition of Signals
Subtraction of signals
Y 𝑑 = 𝑋1 𝑑 − 𝑋2 𝑑
SNS
Multiplication
of signals
Y 𝑑 = 𝑋1 𝑑 − 𝑋2 𝑑
SNS
Example 2:
Plot the signal
a. Y(t) = u(t) + 4 u(t)
a. Y(t) = u(t) + 4 u(t)
SNS
Amplitude Reversal
• Whenever the amplitude of a signal is multiplied by -1, then it is known as
amplitude reversal.
• In this case, the signal produces its mirror image about X-axis. Mathematically,
this can be written as:
𝑦 𝑑 = −π‘₯(𝑑)
SNS
• Example : plot
a. π‘₯ 𝑑 = −3 𝑒 𝑑
b. π‘₯ 𝑑 = 3 𝑒 − 𝑑
SNS
Time reversal of a signal
• If X(t) is the original signal
• Time reversal results in signal such that : Y(t) = X(- t)
π΄π‘šπ‘π‘™π‘–π‘‘π‘’π‘‘π‘’ π‘Ÿπ‘’π‘£π‘’π‘Ÿπ‘ π‘Žπ‘™ ∢ π‘‘π‘Žπ‘˜π‘’ π‘šπ‘–π‘Ÿπ‘Ÿπ‘œπ‘Ÿ
π‘–π‘šπ‘Žπ‘”π‘’ π‘Žπ‘π‘œπ‘’π‘‘ 𝑋 π‘Žπ‘₯𝑖𝑠
π‘‡π‘–π‘šπ‘’ π‘Ÿπ‘’π‘£π‘’π‘Ÿπ‘ π‘Žπ‘™ ∢ π‘‘π‘Žπ‘˜π‘’ π‘šπ‘–π‘Ÿπ‘Ÿπ‘œπ‘Ÿ π‘–π‘šπ‘Žπ‘”π‘’ π‘Žπ‘π‘œπ‘’π‘‘ π‘Œ π‘Žπ‘₯𝑖𝑠
SNS
Find x(-t) for each of the example:
Example 2
Example 3
Value on amplitude remains same.
Fold the signal along ySNSaxis
Example 4
Time Scaling of Signals
•
•
•
•
If x( t ) is a original signal.
Then y(t) = x(αt) is time scaled version of the signal x(t), there α is always positive.
If | α | > 1 ---- leads to compression of signal on time axis (speeds up the signal)
If | α | < 1 ----- leads to expansion of signal on time axis (slows down the signal)
π‘π‘œπ‘‘π‘’: π‘‡β„Žπ‘’ π‘Žπ‘šπ‘π‘™π‘–π‘‘π‘’π‘‘π‘’ π‘œπ‘“SNSπ‘‘β„Žπ‘’ π‘ π‘–π‘”π‘›π‘Žπ‘™ π‘Ÿπ‘’π‘šπ‘Žπ‘–π‘›π‘  π‘ π‘Žπ‘šπ‘’
Meaning of time scaling
Consider that signal x(t) represents a tape recording
X(2t) is same as record played at twice the speed (therefore will run faster in time
-hence compressed)
X(t/2) is same recording played at half the speed (therefore will run slower in time
-hence expanded)
SNS
Example 2 (Time Scaling of Signals)
Find x(2t)
Find x(t/2)
Expanded
Compressed
Note : that time is scaled amplitude remains same
SNS
Example 3
Find x(2t)
Find x(t/2)
SNS
Exercise: Time scaling application
• Go to any you tube video
• Go to settings
• Go to playback speed
• Adjust to 0.75 and check what happens
• Adjust to 1.25 and check what happens
α = 0.75, π‘π‘™π‘Žπ‘¦π‘’π‘‘ π‘ π‘™π‘œπ‘€ … π‘‘β„Žπ‘Žπ‘‘ 𝑖𝑠 π‘ π‘–π‘”π‘›π‘Žπ‘™ 𝑖𝑠 𝑒π‘₯π‘π‘Žπ‘›π‘‘π‘’π‘‘ π‘₯ α𝑑 π‘€β„Žπ‘’π‘Ÿπ‘’ α < 1
α = 1.25, π‘π‘™π‘Žπ‘¦π‘’π‘‘ π‘“π‘Žπ‘ π‘‘ … π‘‘β„Žπ‘Žπ‘‘ 𝑖𝑠 π‘ π‘–π‘”π‘›π‘Žπ‘™ 𝑖𝑠 π‘π‘œπ‘šπ‘π‘Ÿπ‘’π‘ π‘ π‘’π‘‘ π‘₯ α𝑑 π‘€β„Žπ‘’π‘Ÿπ‘’ α > 1
SNS
Time shifting of signals
• Time shifting is mathematically expressed as,
Where, X(t) is the original signal, and t0 represents the shift in time.
Note: If shift t0 > 0 (+ve)…………the signal is said to be right shifted (delayed) → x(t - t0)
If t0 < 0 (-ve) ………….implies the signal is left shifted (advanced) → x(t + t0)
Its generally used to fast-forward (jump in time)
or delay a signal (go back in time)
as is necessary in most practical circumstances.
SNS
Example
Note: If shift t0 > 0 (+ve) x(t- t0 ) → The signal is shifted to right by t0 (delayed)
→ move the origin of x(t) to to
Meaning → the signal is the signal x(t) that was t0 seconds ago
If t0 < 0 (-ve) ………….implies the signal is left shifted by t0 (advanced).
Find x(t+4)
Find x(t-3)
SNS
Why x(t - to) signal shift to right and
x(t + to) signal shift to left
Say a signal was launched at x(t)
x(t - to)
x ( t – (- to))
x ( t + to))
Signal is delayed by to
Signal is advanced
SNS
Basic Signal Operations
I.
The following operation can be performed with amplitude:
Amplitude Scaling: a.x(t)
Amplitude Reversal : - x(t)
Addition of signals: x1(t) + x2(t)
Subtraction of signals : x1(t) - x2(t)
Multiplication of signals : x1(t) . x2(t)
II. The following operations can be performed with time:
Convolution of signals : x1(t) * x2(t)
Time Shifting:
x(t – to)
Time Scaling:
x(at)
Time Reversal : x ( - t )
SNS
Examples :
SNS
Construction of different signals
• Using elementary signals we can construct different kinds of signal
• Elementary signals
(i)
Unit step signal, u(t)
(ii)
Unit impulse signal, δ(t)
(iii) Ramp signal, r(t)
SNS
y(t) = u (t) - u (t-2)
Sketch the signal y(t) = u (t) - u (t-2)
y(t) = u (t) - u (t-2)
y(t) = u (t) - u (t-2)
3. Plot -u (t-2)
1. Plot u (t)
y(t) = u (t) - u (t-2)
2. Plot u (t-2)
SNS
Sketch the signal y(t) = u (t) . u (t-2)
Multiply the two signals
1. Plot u (t)
2. Plot u (t-2)
SNS
Let is now see the summary of all operations
1. Plot x(t) = u (t) - u (t-2)
2. Plot y(t) = x (2t)
SNS
Sketch x(t) = u (t) - u (t-2) and plot y(t)=x(t/2)
1. Plot x(t) = u (t) - u (t-2)
2. Plot x(t/2)
i.e expand the time scale by 2
SNS
Plot y(t) = u (2t) - u (2t-2)
a. Do shifting first (not mandatory but easier step)
1. Plot u (2t))
b. Then do scaling
2. - u (2t-2)
c. Amplitude reversal
SNS
Sketch u (t/2) - u (t/2 - 2)
1. Plot u (t)
3. Plot - u (t/2 - 2)
a. Plot u (t )
c. Plot u (t/2 - 2 )
b. Plot u (t - 2 )
d. Plot - u (t/2 - 2 )
2. Plot u (t/2)
SNS
Plot the following for the given signal
Find x(t+2)
Find x(t-2)
Shift right by 2 units
SNS
Example
πΆπ‘œπ‘šπ‘π‘’π‘‘π‘’: π‘₯(2𝑑 + 3)
𝑆𝑑𝑒𝑝 2: π·π‘œ π‘‘π‘–π‘šπ‘’ π‘ π‘π‘Žπ‘™π‘–π‘›π‘”
π‘₯(2𝑑 + 3)
πΆπ‘œπ‘šπ‘π‘Ÿπ‘’π‘ π‘  π‘‘β„Žπ‘’ π‘ π‘–π‘”π‘›π‘Žπ‘™ π‘₯ 𝑑 + 3 𝑏𝑦 2 𝑒𝑛𝑖𝑑𝑠
𝑆𝑑𝑒𝑝 1 ∢ π·π‘œ π‘‘π‘–π‘šπ‘’π‘ β„Žπ‘–π‘“π‘–π‘‘π‘–π‘›π‘” ∢ π‘₯(𝑑 + 3)
π‘†β„Žπ‘–π‘“π‘‘ π‘ π‘–π‘”π‘›π‘Žπ‘™ π‘‘π‘œ 𝑙𝑒𝑓𝑑 𝑏𝑦 3 𝑒𝑛𝑖𝑑𝑠
SNS
Example
2. Compress by factor 2
πΆπ‘œπ‘šπ‘π‘’π‘‘π‘’: π‘₯(−2𝑑 + 3)
π‘₯(−2𝑑 + 3)
3. Time reversal
𝑆𝑑𝑒𝑝 1 ∢ π·π‘œ π‘‘π‘–π‘šπ‘’π‘ β„Žπ‘–π‘“π‘–π‘‘π‘–π‘›π‘” ∢ π‘₯(𝑑 + 3)
π‘†β„Žπ‘–π‘“π‘‘ π‘ π‘–π‘”π‘›π‘Žπ‘™ π‘‘π‘œ 𝑙𝑒𝑓𝑑 𝑏𝑦 3 𝑒𝑛𝑖𝑑𝑠
Order of compression/ expansion/Time reversal does not matter
Time shifting always has to be done first
SNS
Why do we do shift operation first?
u (2t-2)
1. If compression x(2t) or expansion x(t/2) is carries prior to the shift
operation, then shift also needs to be compressed / expanded by same
factor
Therefore, to avoid confusion while solving problems, students are advised to
carry the shift operation (if it exist) of x(t) first and then proceed with the
reversal/compression/expansion etc.
This practice will enable to solve questions easily
SNS
Download