Download presentation
Presentation is loading. Please wait.
1
Signals and Systems Revision Lecture 2
DR TANIA STATHAKI READER (ASSOCIATE PROFFESOR) IN SIGNAL PROCESSING IMPERIAL COLLEGE LONDON
2
Sampling In this revision lecture we will focus on: Sampling.
The ๐งโ transform.
3
Sampling The sampling process converts continuous signals ๐ฅ(๐ก) into numbers ๐ฅ[๐]. A sample is kept every ๐ ๐ units of time. This process is called uniform sampling and ๐ฅ ๐ =๐ฅ(๐ ๐ ๐ ). ๐ฅ(๐ก) ๐ ๐ =1/ ๐ ๐ ๐ฅ[๐]
4
Sampling theorem Sampling theorem is the bridge between continuous-time and discrete-time signals. It states how often we must sample in order not to loose any information. ๐ฅ(๐ก) ๐ ๐ =1/ ๐ ๐ ๐ฅ[๐] Sampling theorem A continuous-time lowpass signal ๐ฅ(๐ก) with frequencies no higher than ๐ ๐๐๐ฅ ๐ป๐ง can be perfectly reconstructed from samples taken every ๐ ๐ units of time, ๐ฅ ๐ =๐ฅ(๐ ๐ ๐ ), if the samples are taken at a rate ๐ ๐ =1/ ๐ ๐ that is greater than 2๐ ๐๐๐ฅ .
5
Recall: spectrum of sampled signal
Consider a signal, bandlimited to ๐ต๐ป๐ง, with Fourier transform ๐(๐) (depicted real for convenience). The sampled signal has the following spectrum.
6
Reconstruction of the original signal
The gap between two adjacent spectral repetitions is (๐ ๐ โ2๐ต)๐ป๐ง. In theory, in order to reconstruct the original signal ๐ฅ(๐ก), we can use an ideal lowpass filter on the sampled spectrum which has a bandwidth of any value between ๐ต and ( ๐ ๐ โ๐ต๐ป๐ง). Reconstruction process is possible only if the shaded parts do not overlap. This means that ๐ ๐ must be greater that twice ๐ต. We can also visually verify the sampling theorem in the above figure.
7
Reconstruction generic example
Frequency domain The signal ๐ฅ ๐ ๐ ๐ =<๐ฅ ๐ก ,๐ฟ(๐กโ๐ ๐ ๐ )> has a spectrum ๐ ๐ (๐) which is multiplied with a rectangular pulse in frequency domain.
8
Reconstruction generic example cont.
Time domain The signal ๐ฅ ๐ ๐ ๐ =<๐ฅ ๐ก ,๐ฟ(๐กโ๐ ๐ ๐ )> is convolved with a sinc function, which is the time domain version of a rectangular pulse in frequency domain centred at the origin. <๐ฅ ๐ก ,๐ฟ(๐กโ๐ ๐ ๐ )>โ sinc ๐๐ก = ๐ ๐ฅ[๐] sinc[๐(๐กโ๐ ๐ ๐ )] [Recall that convolution with a shifted Delta function, shifts the original function at the location of the Delta function].
9
Recall Nyquist sampling: Just about the correct sampling rate
In that case we use the Nyquist sampling rate of 10๐ป๐ง=2๐ต๐ป๐ง. The spectrum ๐ ๐ consists of back-to-back, non-overlapping repetitions of 1 ๐ ๐ ๐ ๐ repeating every 10๐ป๐ง. In order to recover ๐(๐) from ๐ ๐ we must use an ideal lowpass filter of bandwidth 5๐ป๐ง. This is shown in the right figure below with the dotted line.
10
Recall oversampling: What happens if we sample too quickly?
Sampling at higher than the Nyquist rate (in this case 20๐ป๐ง) makes reconstruction easier. The spectrum ๐ ๐ consists of non-overlapping repetitions of 1 ๐ ๐ ๐ ๐ , repeating every 20๐ป๐ง with empty bands between successive cycles. In order to recover ๐(๐) from ๐ ๐ we can use a practical lowpass filter and not necessarily an ideal one. This is shown in the right figure below with the dotted line. The filter we use for reconstruction must have gain ๐ ๐ and bandwidth of any value between ๐ต and ( ๐ ๐ โ๐ต)๐ป๐ง.
11
Recall undersampling: What happens if we sample too slowly?
Sampling at lower than the Nyquist rate (in this case 5๐ป๐ง) makes reconstruction impossible. The spectrum ๐ ๐ consists of overlapping repetitions of 1 ๐ ๐ ๐ ๐ repeating every 5๐ป๐ง. ๐(๐) is not recoverable from ๐ ๐ . Sampling below the Nyquist rate corrupts the signal. This type of distortion is called aliasing.
12
Problem: Reconstruction of the continuous time using the sample and hold operation
As already mentioned, in order to reconstruct the original signal ๐ฅ(๐ก) in theory, we can use an ideal lowpass filter on the sampled spectrum. In practice, there are various circuits/devices which facilitate reconstruction of the original signal from its sampled version. Consider a continuous-time, band-limited signal ๐ฅ ๐ก , limited to bandwidth ๐ โค2๐ร๐ต rad/sec. We sample ๐ฅ ๐ก uniformly with sampling frequency ๐ ๐ to obtain the discrete-time signal ๐ฅ[๐]. A possible technique to reconstruct the continuous-time signal from its samples is the so called sample and hold circuit. This is an analogue device which samples the value of a continuously varying analogue signal and outputs the following signal ๐ฅ ๐ท๐ด ๐ก . ๐ฅ ๐ท๐ด ๐ก = ๐ฅ[๐] ๐ ๐ ๐ โ ๐ ๐ 2 <๐ก< ๐ ๐ ๐ + ๐ ๐ 2 ๐ฅ ๐ /2 ๐ก= ๐ ๐ ๐ ยฑ ๐ ๐ otherwise = ๐ฅ[๐] ๐ ๐ ๐ โ ๐ ๐ 2 <๐ก<๐ ๐ ๐ + ๐ ๐ 2 ๐ฅ ๐ /2 ๐ก=๐ ๐ ๐ ยฑ ๐ ๐ otherwise
13
Reconstruction of the continuous time using the sample and hold operation cont.
The figure below facilitates the understanding of sample and hold operation. The grey continuous curve depicts the continuous signal ๐ฅ ๐ก . The red arrows depict the locations of the discrete (sampled) signal ๐ฅ ๐ . The green continuous curve depicts the signal ๐ฅ ๐ท๐ด ๐ก .
14
Problem: Reconstruction of the continuous time using the sample and hold operation cont.
In the sample and hold operation the signal is written as: ๐ฅ ๐ท๐ด ๐ก = ๐=โโ โ ๐ฅ(๐ ๐ ๐ )ฮ ๐กโ ๐ ๐ ๐ ๐ ๐ with ฮ ๐ก the very well known unit gate or rectangle function: ฮ ๐ก =rect ๐ก = 1 ๐ก < ๐ก =0.5 0 otherwise Note that the values at ๐ก=ยฑ0.5 do not have any impact in the Fourier Transform of ฮ ๐ก and alternative definitions of ฮ ๐ก have rect ยฑ0.5 to be 0, 1 or undefined.
15
๐ฅ ๐ท๐ด ๐ก = ๐=โโ โ ๐ฅ(๐ ๐ ๐ ) ๐ฟ(๐กโ๐ ๐ ๐ )โฮ ๐ก ๐ ๐
Problem: Reconstruction of the continuous time using the sample and hold operation cont. Taking into consideration that: ๐ฅ ๐ท๐ด ๐ก = ๐=โโ โ ๐ฅ(๐ ๐ ๐ )ฮ ๐กโ ๐ ๐ ๐ ๐ ๐ it is straightforward to show that: ๐ฅ ๐ท๐ด ๐ก = ๐=โโ โ ๐ฅ(๐ ๐ ๐ ) ๐ฟ(๐กโ๐ ๐ ๐ )โฮ ๐ก ๐ ๐ ๐ฅ ๐ท๐ด ๐ก =( ๐=โโ โ ๐ฅ(๐ ๐ ๐ )๐ฟ(๐กโ๐ ๐ ๐ ) )โฮ ๐ก ๐ ๐
16
๐ฅ ๐ท๐ด ๐ก = ๐=โโ โ ๐ฅ(๐ ๐ ๐ )๐ฟ(๐กโ๐ ๐ ๐ ) โฮ ๐ก ๐ ๐
Problem: Reconstruction of the continuous time using the sample and hold operation cont. ๐ฅ ๐ท๐ด ๐ก = ๐=โโ โ ๐ฅ(๐ ๐ ๐ )๐ฟ(๐กโ๐ ๐ ๐ ) โฮ ๐ก ๐ ๐ The Fourier transform of the function ๐=โโ โ ๐ฅ(๐ ๐ ๐ )๐ฟ(๐กโ๐ ๐ ๐ ) is 1 ๐ ๐ ๐=โโ โ ๐(๐+๐ 2๐ ๐ ๐ ) . The Fourier transform of the function ฮ ๐ก ๐ ๐ can be easily found using the definition of the Fourier transform. The Fourier transform of ๐ฅ ๐ท๐ด ๐ก is the product of the two Fourier transforms described above (remember that convolution in time becomes multiplication in frequency).
17
๐ฅ ๐ท๐ด ๐ก = ๐=โโ โ ๐ฅ(๐ ๐ ๐ )๐ฟ(๐กโ๐ ๐ ๐ ) โฮ ๐ก ๐ ๐
Problem: Reconstruction of the continuous time using the sample and hold operation cont. ๐ฅ ๐ท๐ด ๐ก = ๐=โโ โ ๐ฅ(๐ ๐ ๐ )๐ฟ(๐กโ๐ ๐ ๐ ) โฮ ๐ก ๐ ๐ We can show that ๐ ๐ท๐ด ๐ = 1 ๐ ๐ ๐=โโ โ ๐(๐+๐ 2๐ ๐ ๐ ) โ ๐ ๐ sinc ๐ ๐ ๐ 2 = ๐=โโ โ ๐(๐+๐ 2๐ ๐ ๐ ) โ sinc ๐ ๐ ๐ 2 In order to recover the original spectrum ๐(๐) we can remove the replications ๐(๐+๐ 2๐ ๐ ๐ ) by passing ๐ ๐ท๐ด ๐ through a lowpass filter. Note that the term sinc ๐ ๐ ๐ 2 must be removed from ๐ ๐ท๐ด ๐ .
18
Example Consider a LTI system with input ๐ฅ[๐] and output ๐ฆ[๐] related with the difference equation: ๐ฆ ๐โ2 โ 5 2 ๐ฆ ๐โ1 +๐ฆ ๐ =๐ฅ[๐] Determine the impulse response and its ๐งโtransform in the following three cases: The system is causal. The system is stable. The system is neither stable nor causal.
19
Recall: Find the ๐โtransform of ๐ ๐ =๐ธ ๐ ๐[๐]
Find the ๐งโtransform of the causal signal ๐พ ๐ ๐ข[๐], where ๐พ is a constant. By definition: ๐[๐ง]= ๐=โโ โ ๐พ ๐ ๐ข ๐ ๐ง โ๐ = ๐=0 โ ๐พ ๐ ๐ง โ๐ = ๐=0 โ ๐พ ๐ง ๐ =1+ ๐พ ๐ง + ๐พ ๐ง ๐พ ๐ง 3 +โฆ We apply the geometric progression formula: 1+๐ฅ+ ๐ฅ 2 + ๐ฅ 3 +โฆ= 1 1โ๐ฅ , ๐ฅ <1 Therefore, ๐[๐ง]= 1 1โ ๐พ ๐ง , ๐พ ๐ง <1 = ๐ง ๐งโ๐พ , ๐ง > ๐พ We notice that the ๐งโtransform exists for certain values of ๐ง. These values form the so called Region-Of-Convergence (ROC) of the transform.
20
Recall: Find the ๐โtransform of ๐ ๐ =โ๐ธ ๐ ๐[โ๐โ๐]
Find the ๐งโtransform of the anticausal signal โ ๐พ ๐ ๐ข[โ๐โ1], where ๐พ is a constant. By definition: ๐[๐ง]= ๐=โโ โ โ ๐พ ๐ ๐ข โ๐โ1 ๐ง โ๐ = ๐=โโ โ1 โ ๐พ ๐ ๐ง โ๐ =โ ๐=1 โ ๐พ โ๐ ๐ง ๐ =โ ๐=1 โ ๐ง ๐พ ๐ =โ ๐ง ๐พ ๐=0 โ ๐ง ๐พ ๐ =โ ๐ง ๐พ ๐ง ๐พ + ๐ง ๐พ ๐ง ๐พ 3 +โฆ Therefore, ๐[๐ง]=โ ๐ง ๐พ 1 1โ ๐ง ๐พ , ๐ง ๐พ <1 = ๐ง ๐งโ๐พ , ๐ง < ๐พ We notice that the ๐งโtransform exists for certain values of ๐ง, which consist the complement of the ROC of the function ๐พ ๐ ๐ข[๐] with respect to the ๐งโplane.
21
Example cont. Consider a LTI system with input ๐ฅ[๐] and output ๐ฆ[๐] related with the difference equation: ๐ฆ ๐โ2 โ 5 2 ๐ฆ ๐โ1 +๐ฆ ๐ =๐ฅ[๐] By taking the ๐งโtransform in both sides of the above equation, we obtain: ๐ง โ2 โ 5 2 ๐ง โ1 +1 ๐ ๐ง =๐ ๐ง โ ๐(๐ง) ๐(๐ง) = 1 ๐ง โ2 โ 5 2 ๐ง โ1 +1 = 1 ( ๐ง โ1 โ2)( ๐ง โ1 โ 1 2 ) = ( ๐ง โ1 โ2) โ ( ๐ง โ1 โ 1 2 )
22
Example cont. The impulse response that corresponds to the term ( ๐ง โ1 โ2) =(โ 1 3 ) ๐ง ๐งโ can be: โ 1 ๐ = โ ๐ ๐ข ๐ or โ 2 ๐ = ๐ ๐ข โ๐โ1 The impulse response that corresponds to the term โ 2 3 ( ๐ง โ1 โ 1 2 ) = 4 3 ๐ง ๐งโ2 can be: โ 3 ๐ = ๐ ๐ข ๐ or โ 4 ๐ = (โ 4 3 ) 2 ๐ ๐ข โ๐โ1
23
Example cont. In order for the system to be stable:
โ ๐ = โ ๐ ๐ข ๐ โ ๐ ๐ข โ๐โ1 In order for the system to be causal: โ ๐ = โ ๐ ๐ข ๐ ๐ ๐ข ๐ In order for the system to be neither stable nor causal the remaining two combinations should be considered.
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.