(New page: Category:slecture Category:ECE438Fall2014Boutin Category:ECE Category:ECE438 Category:signal processing <center><font size= 4> Frequency domain view of the relation...)
 
 
(43 intermediate revisions by 2 users not shown)
Line 9: Line 9:
 
</font size>
 
</font size>
  
A [https://www.projectrhea.org/learning/slectures.php slecture] by [[ECE]] student Botao Chen
+
A [https://www.projectrhea.org/learning/slectures.php slecture] by [[ECE]] student Talha Takleh Omar Takleh
  
 
Partly based on the [[2014_Fall_ECE_438_Boutin|ECE438 Fall 2014 lecture]] material of [[user:mboutin|Prof. Mireille Boutin]].  
 
Partly based on the [[2014_Fall_ECE_438_Boutin|ECE438 Fall 2014 lecture]] material of [[user:mboutin|Prof. Mireille Boutin]].  
Line 18: Line 18:
 
==Outline==
 
==Outline==
 
#Introduction
 
#Introduction
#Derivation
+
#Main Points
#Example
+
 
#Conclusion
 
#Conclusion
 
 
----
 
----
  
 
==Introduction==
 
==Introduction==
  
In this slecture I will discuss about the relations between the original signal <math> X(f) </math> (the CTFT of <math> x(t) </math> ), sampling continuous time signal <math> X_s(f) </math> (the CTFT of <math> x_s(t) </math> ) and sampling discrete time signal <math> X_d(\omega) </math> (the DTFT of <math> x_d[n] </math> )  in frequency domain and give a specific example showing the relations.
+
This Slecture will look into the relationship between a signal and the sampling of that signal in the view of the frequency domain. The signal that will be sampled will be in the time domain <math> x(t) </math> and after it was Fourier transformed, the sampled signal <math> X(f) </math> will be in the frequency domain. Here, we will see the relationship between this two signals and what rules need to be obeyed in order to create a good sampling signal within the frequency domain.
 
----
 
----
  
==Derivation==
+
==Main Points==
  
The first thing which need to be clarified is that there two different types of sampling signal: <math> x_s(t) </math> and <math> x_d[n] </math>. <math> x_s(t) </math>  is created by multiplying a impulse train <math> P_T(t) </math> with the original signal <math> x(t) </math> and actually <math> x_s(t) </math> is  <math> comb_T(x(t)) </math> where T is the sampling period.
+
*The sampling of a signal in the time domain <math> x(t) </math> is basically the repetition of the sampled signal <math> x(t) </math> or the <math> rep </math> function in the frequency domain. The graphical interpretation for this relationship can be seen in the picture below 
However the <math> x_d[n] </math> is <math> x(nT) </math> where T is the sampling period.
+
  
Now we first concentrate on the relationship between <math> X(f) </math> and <math> X_s(f) </math>.
+
[[Image:Sl1.jpg|500px|relationship view for the sampling signal between time domain and frequency domain]]
  
We know that <math> x_s(t) = x(t) \times P_T(t) </math>, we can derive the relationship between <math> x_s(t) </math> and <math> x(t) </math> in the following way:
+
*From the picture above, I should point out that this relationship goes both ways, if we try to sample a signal from the frequency domain the sampled signal that will be produced in the time domain will also be in the form a of <math> rep </math> function.
 +
 
 +
*When we sampled a signal in the time domain, we usually sample a continuous time signal. However, we can't just sample the signal without discreeting the points within the continuous time signal. The reason for this is because, each discreet points within the continuous time signal will be the sampled points of the sampled signal in the frequency domain. The graphical interpretation for this relationship can be seen in the picture below
 +
 
 +
[[Image:Sl2.jpg|500px|relationship view for the sampling signal between time domain and frequency domain]]
 +
 
 +
*We should now look at some of the important facts of a sampled signal. One of the key factor in sampling a signal is to avoid the aliasing effect when sampling. Aliasing effect is when two sampled signals overlap (at least some part of it) with one another. This will produce distortions within a sampled signal. In order for us to avoid aliasing effect, we need to have a sampling frequency which is larger than two times the cut-offs frequencies. This is known as the Nyquist Theorem:  
  
 
<div style="margin-left: 3em;">
 
<div style="margin-left: 3em;">
 
<math>
 
<math>
 
\begin{align}
 
\begin{align}
F(comb_T(x(t)) &= F(x(t) \times P_T(t))\\
+
f_s > 2 \times f_c\\
&= X(f)*F(P_T(t))\\
+
&= X(f)*\frac{1}{T}\sum_{n = -\infty}^\infty \delta(f-\frac{n}{T})\\
+
&= \frac{1}{T}X(f)*P_\frac{1}{T}(f)\\
+
&= \frac{1}{T}rep_\frac{1}{T}X(f)\\
+
 
\end{align}
 
\end{align}
 
</math>
 
</math>
Line 51: Line 50:
 
<font size>
 
<font size>
  
Show this relationship in graph below:
+
*The Nyquist theorem can be depicted through the graphical interpretation which can be seen through the picture below
  
----
+
[[Image:Sl_3a.jpg|500px|Graphical interpretation of Nyquist theorem]]
 +
[[Image:Sl_3b.jpg|500px|Graphical interpretation of Nyquist theorem]]
  
==example==
+
*Now that we have looked at the graphical interpretation of sampling, we should next see the analytical expression of sampling in the view of the frequency domain. The Fourier transform of sampling is given by:
 
+
[[Image:Xfcbt.png]]
+
 
+
[[Image:xsfcbt.png]]
+
 
+
----
+
 
+
==Derivation==
+
 
+
Then we are going to find the relation between <math> X_s(f) </math> and <math> X_d(\omega) </math>
+
 
+
We know another way to express CTFT of <math> x_s(t) </math>:
+
  
 
<div style="margin-left: 3em;">
 
<div style="margin-left: 3em;">
 
<math>
 
<math>
 
\begin{align}
 
\begin{align}
X_s(f) &= F(\sum_{n = -\infty}^\infty x(nT)\delta(t-nT))\\
+
X_s(f) &= S_t(f) * X(f)\\
&= \sum_{n = -\infty}^\infty x(nT)F(\delta(t-nT))\\
+
&= \sum_{n = -\infty}^\infty x(nT)e^{-j2\pi fnT}\\
+
 
\end{align}
 
\end{align}
 
</math>
 
</math>
Line 80: Line 66:
 
<font size>
 
<font size>
  
compare it with DTFT of <math> x_d[n] </math>:
+
*Since:-
  
 
<div style="margin-left: 3em;">
 
<div style="margin-left: 3em;">
 
<math>
 
<math>
 
\begin{align}
 
\begin{align}
X_d(\omega) &= \sum_{n = -\infty}^\infty x_d[n]e^{-j\omega n}\\
+
s_t(f) &= rep_T(\frac{1}{tau}rect(\frac{t}{tau}))\\
&= \sum_{n = -\infty}^\infty x(nT)e^{-j\omega n}\\
+
 
\end{align}
 
\end{align}
 
</math>
 
</math>
Line 92: Line 77:
 
<font size>
 
<font size>
  
we can find that:
+
*Thus:
  
 
<div style="margin-left: 3em;">
 
<div style="margin-left: 3em;">
 
<math>
 
<math>
 
\begin{align}
 
\begin{align}
X_d(2\pi Tf) &= X_s(f)\\
+
S_t(f) &=\frac{1}{T}comb_\frac{1}{T}(sinc(tau + 1))\\
 +
&= \frac{1}{T}\sum_{k = -\infty}^\infty sinc(tauK/T) \delta(f-\frac{k}{T})\\
 
\end{align}
 
\end{align}
 
</math>
 
</math>
Line 103: Line 89:
 
<font size>
 
<font size>
  
if <math> f = \frac{1}{T} </math>
+
*Therefore:
 
+
we have that:
+
  
 
<div style="margin-left: 3em;">
 
<div style="margin-left: 3em;">
 
<math>
 
<math>
 
\begin{align}
 
\begin{align}
X_d(2\pi ) &= X_s(\frac{1}{T})\\
+
X_s(f) &= \frac{1}{T}\sum_{k = -\infty}^\infty sinc(tauK/T) \delta(f-\frac{k}{T}) * X(f)\\
 +
&= \frac{1}{T}\sum_{k = -\infty}^\infty sinc(tauK/T)X(f - \frac{k}{T})\\
 
\end{align}
 
\end{align}
 
</math>
 
</math>
Line 116: Line 101:
 
<font size>
 
<font size>
  
from this equation, we can know the relationship between <math> X_s(f) </math> and <math> X_d(\omega) </math> and the relationship is showed in graph as below:
+
*From the expression above we can see that the sampled signal is equal to the summation of the sinc function multiplied by the original signal which we wish to sampled and finally divided by the sampling period T.
 +
----
  
 +
==Conclusion==
 +
To conclude, in order to have a good sampling signal in the frequency domain, the sampling frequency must be at least twice the cut-off frequency. This theorem is known to be as the Nyquist theorem. If this theorem is obeyed, no aliasing would occur on the sampled signals and aliasing would occur if otherwise. Other than that, the sampling signal in the frequency domain is summation of the sinc function multiplied with the original signal which will later be divided by the sampling period T. 
 
----
 
----
  
==example==
+
==References==
 
+
[1].Mireille Boutin, "ECE438 Digital Signal Processing with Applications," Purdue University August 26,2009
[[Image:xsfcbt.png]]
+
 
+
[[Image:xdwcbt.png]]
+
 
+
 
----
 
----
  
==conclusion==
+
==Questions and comments==
  
So the relationship between <math> X(f) </math> and <math> X_s(f) </math> is that <math> X_s(f) </math> is a a rep of <math> X(f) </math> in frequency domain with period of <math> \frac{1}{T} </math> and magnitude scaled by <math> \frac{1}{T} </math>.
+
If you have any questions, comments, etc. please post them on [[Slecture_Topic7_Questions|this page]].
the relationship between <math> X(f) </math> and <math> X_d(\omega) </math> is that <math> X_d(\omega) </math> is also a a rep of <math> X(f) </math> in frequency domain with period <math> 2\pi </math> and magnitude is also scaled by <math> \frac{1}{T} </math>, but the frequency is scaled by <math> 2\pi T </math>
+
 
----
 
----
 +
[[2014_Fall_ECE_438_Boutin_digital_signal_processing_slectures|Back to ECE438 slectures, Fall 2014]]

Latest revision as of 08:58, 14 March 2015


Frequency domain view of the relationship between a signal and a sampling of that signal

A slecture by ECE student Talha Takleh Omar Takleh

Partly based on the ECE438 Fall 2014 lecture material of Prof. Mireille Boutin.


Outline

  1. Introduction
  2. Main Points
  3. Conclusion

Introduction

This Slecture will look into the relationship between a signal and the sampling of that signal in the view of the frequency domain. The signal that will be sampled will be in the time domain $ x(t) $ and after it was Fourier transformed, the sampled signal $ X(f) $ will be in the frequency domain. Here, we will see the relationship between this two signals and what rules need to be obeyed in order to create a good sampling signal within the frequency domain.


Main Points

  • The sampling of a signal in the time domain $ x(t) $ is basically the repetition of the sampled signal $ x(t) $ or the $ rep $ function in the frequency domain. The graphical interpretation for this relationship can be seen in the picture below

relationship view for the sampling signal between time domain and frequency domain

  • From the picture above, I should point out that this relationship goes both ways, if we try to sample a signal from the frequency domain the sampled signal that will be produced in the time domain will also be in the form a of $ rep $ function.
  • When we sampled a signal in the time domain, we usually sample a continuous time signal. However, we can't just sample the signal without discreeting the points within the continuous time signal. The reason for this is because, each discreet points within the continuous time signal will be the sampled points of the sampled signal in the frequency domain. The graphical interpretation for this relationship can be seen in the picture below

relationship view for the sampling signal between time domain and frequency domain

  • We should now look at some of the important facts of a sampled signal. One of the key factor in sampling a signal is to avoid the aliasing effect when sampling. Aliasing effect is when two sampled signals overlap (at least some part of it) with one another. This will produce distortions within a sampled signal. In order for us to avoid aliasing effect, we need to have a sampling frequency which is larger than two times the cut-offs frequencies. This is known as the Nyquist Theorem:

$ \begin{align} f_s > 2 \times f_c\\ \end{align} $

  • The Nyquist theorem can be depicted through the graphical interpretation which can be seen through the picture below

Graphical interpretation of Nyquist theorem Graphical interpretation of Nyquist theorem

  • Now that we have looked at the graphical interpretation of sampling, we should next see the analytical expression of sampling in the view of the frequency domain. The Fourier transform of sampling is given by:

$ \begin{align} X_s(f) &= S_t(f) * X(f)\\ \end{align} $

  • Since:-

$ \begin{align} s_t(f) &= rep_T(\frac{1}{tau}rect(\frac{t}{tau}))\\ \end{align} $

  • Thus:

$ \begin{align} S_t(f) &=\frac{1}{T}comb_\frac{1}{T}(sinc(tau + 1))\\ &= \frac{1}{T}\sum_{k = -\infty}^\infty sinc(tauK/T) \delta(f-\frac{k}{T})\\ \end{align} $

  • Therefore:

$ \begin{align} X_s(f) &= \frac{1}{T}\sum_{k = -\infty}^\infty sinc(tauK/T) \delta(f-\frac{k}{T}) * X(f)\\ &= \frac{1}{T}\sum_{k = -\infty}^\infty sinc(tauK/T)X(f - \frac{k}{T})\\ \end{align} $

  • From the expression above we can see that the sampled signal is equal to the summation of the sinc function multiplied by the original signal which we wish to sampled and finally divided by the sampling period T.

Conclusion

To conclude, in order to have a good sampling signal in the frequency domain, the sampling frequency must be at least twice the cut-off frequency. This theorem is known to be as the Nyquist theorem. If this theorem is obeyed, no aliasing would occur on the sampled signals and aliasing would occur if otherwise. Other than that, the sampling signal in the frequency domain is summation of the sinc function multiplied with the original signal which will later be divided by the sampling period T.


References

[1].Mireille Boutin, "ECE438 Digital Signal Processing with Applications," Purdue University August 26,2009


Questions and comments

If you have any questions, comments, etc. please post them on this page.


Back to ECE438 slectures, Fall 2014

Alumni Liaison

Basic linear algebra uncovers and clarifies very important geometry and algebra.

Dr. Paul Garrett