User:GabrielaV: Difference between revisions
(122 intermediate revisions by 46 users not shown) | |||
Line 1: | Line 1: | ||
== Welcome to Gabriela's Wiki page == |
== Welcome to Gabriela's Wiki page == |
||
Line 51: | Line 50: | ||
where |
where |
||
::<math>\bold \alpha_k={1/T}\int_{-{T\over 2}}^{{T\over 2}} x( |
::<math>\bold \alpha_k={1/T}\int_{-{T\over 2}}^{{T\over 2}} x(t) e^{-j2\pi kt\over T}dt</math> |
||
If we let |
If we let |
||
Line 86: | Line 85: | ||
We have <math> \sum_{k= -\infty}^ \infty \ x(nT) \delta (t-nT) </math> in the time domain and we convolve it with <math> \sum_{m= -M}^ M h(\frac {mT}{2}) \delta (t-\frac {mT}{2}) </math> |
We have <math> \sum_{k= -\infty}^ \infty \ x(nT) \delta (t-nT) </math> in the time domain and we convolve it with <math> \sum_{m= -M}^ M h(\frac {mT}{2}) \delta (t-\frac {mT}{2}) </math> |
||
[[Image:2x01.jpg|Illustration of 2x Oversampling pt.1]] which equals <math>\sum_{k= -\infty}^ \infty \ x(nT) h(\frac {mT}{2}) \delta (t-nT- \frac{mT}{2})</math> |
|||
[[Image:2x02.jpg|Illustration of 2x Oversampling pt.2]] |
|||
If we let <math> (\frac{l}{2}) = (n +(\frac{m}{2}))</math> therefore, <math> n = (\frac{l-m}{2}) </math> which makes <math> \hat y (t) = \sum_{l=-\infty}^\infty \left ( \sum_{m=-M}^M x \left (\frac{l-m}{2} T \right) h \left(\frac{mT}{2} \right) \right) \delta \left (t - \frac{lT}{2} \right)</math> |
|||
[[Image:sampling.jpg]] [[Image:sampling2.jpg]] |
|||
⚫ | |||
<math> \sum_{l=-\infty}^\infty (\sum_{m=-M}^M \ x (\frac {(l-m)T}{2}) h(\frac{mT}{2}))\delta(t-\frac{lT}{2})</math> with <math> p(2t) </math> to then get |
|||
<math> \sum_{l=-\infty}^{\infty} y(\frac{lT}{2})p(2(t-\frac{lT}{2}) </math> |
|||
⚫ | |||
[[http://www.wwc.edu/%7Efrohro/ClassNotes/ENGR455/2005/Keystone/thumb/80020051028KeyPA280111.jpg]] |
|||
Now you only have to pass it through a low pass filter and you will have the original signal. |
|||
h(\frac{mT}{2}))\delta(t-\frac{lT}{2})</math>[[http://www.wwc.edu/%7Efrohro/ClassNotes/ENGR455/2005/Keystone/thumb/80020051026KeyPA260095.jpg]] |
|||
⚫ | |||
FIR stands for finite impulse response and it is one of two digital signal filters used. |
FIR stands for finite impulse response and it is one of two digital signal filters used. |
||
The FIR has no feedback so eventually it will have new data and the old one will be thrown away. |
The FIR has no feedback so eventually it will have new data and the old one will be thrown away. |
||
<math>h(mT) = T \int_{-f}^f \hat H (f) e^{j 2 \pi f m t} df </math> |
|||
How the FIR works is that it convolves the data |
|||
is the coefficient that are sent out of the D/A converter. |
|||
<math>\sum_{n=-\infty}^\infty \ x(nt) \delta (t-nT)</math> |
|||
⚫ | |||
with |
|||
:<math> h(t)=\sum_{m=-M}^M h(mT/2) \delta(t-mT/2) </math> |
|||
:the result is |
|||
<math>\sum_{n=-\infty}^\infty {\left[ \sum_{m=-M}^M x(nT) h(mT/2)\right]}\delta(t-nT-mT/2)</math> |
|||
:and if we let l/2 = n + m/2 |
|||
the term in the brackets will be y(lT/2) |
|||
and the new result is |
|||
<math>\sum_{l=-\infty}^\infty y(lT/2)\delta(t-lT/2)</math> |
|||
===FIR Application=== |
|||
⚫ | |||
Design an FIR low pass filter to pass between <math> -\frac{1}{4T} < f < \frac{1}{4T} </math> and reject the rest. |
|||
⚫ | |||
<math> H_{hat} = 1 \begin{cases} 1, & |f| \le \frac{1}{4T} \\ 0, & else \end{cases} </math> |
|||
:<math> h(mT) = T \int_{\frac{-1}{4T}}^{\frac{1}{4T}} 1 e^{j 2 \pi f m t} df = T\frac{e^{j 2 \pi \frac{1}{4T} m T} - e^{j 2 \pi \frac{-1}{4T} m T}}{j 2 \pi m T}</math> |
|||
:<math> = \left ( \frac{1}{2} \right) \frac{sin \left ( \frac{\pi m}{2} \right)} {\left(\frac{\pi m}{2}\right)}</math> |
|||
The actual frequency response is |
|||
⚫ | |||
<math>\sum_{m=-M}^M h(mT) e^{- j 2 \pi f m T} = \sum_{m=-M}^M \frac{ sin \left ( \frac{\pi m}{2} \right) }{\pi m} e^{- j 2 \pi f m T} </math> |
|||
[https://fweb.wwc.edu/index.php/Image:Frequency_Response_Pict.png] shows the example in Matlab |
|||
⚫ | |||
⚫ | |||
⚫ | |||
===Adaptive Filter Application=== |
===Adaptive Filter Application=== |
||
A pilot and a co-pilot are trying to communicate, but there is a problem because |
A pilot and a co-pilot are trying to communicate, but there is a problem because |
||
the microphone picks up the engine noise. |
the microphone picks up the engine noise. |
||
What to do? Use an adaptive filter to eliminate the unwanted noise. |
What to do? Use an adaptive filter to eliminate the unwanted noise. |
||
We need two microphones. |
We need two microphones. |
||
* engine noise+voice ( unknown transfer function) |
* engine noise+voice ( unknown transfer function) |
||
* engine noise |
* engine noise ( microphone by the engine) |
||
both signals will pass through a low pass filter and then through a Analog to Digital |
both signals will pass through a low pass filter and then through a Analog to Digital |
||
converter. |
converter. |
Latest revision as of 13:49, 11 November 2007
Welcome to Gabriela's Wiki page
Introduction
Do you want to know how to contact me or find out some interesting things about me? [[1]]
Signals & Systems
Example
Find the first two orthonormal polynomials on the interval [-1,1]
1. What is orthonormal? [2]
2. What is orthogonal? [3]
3. What is a polynomial? [4]
4. Now we can find the values for the unknown variables.
5. Now that we know what the first two orthonormal polynomials!
Fourier Transform
As previously discussed, Fourier series is an expansion of a periodic function therefore we can not use it to transform a non-periodic funciton from time to the frequency domain. Fortunately the Fourier transform allows for the transformation to be done on a non-periodic function. The Fourier transform allows to change a function from the time domain to frequency domain or the inverse fourier transform from frequency domain to time domain.
In order to understand the relationship between a non-periodic function and it's counterpart we must go back to Fourier series. Remember the complex exponential signal?
[5]
where
If we let
The summation becomes integration, the harmoinic frequency becomes a continuous frequency, and the incremental spacing becomes a differential separation.
The result is
The term in the brackets is the Fourier transfrom of x(t)
Inverse Fourier transform
How a CD Player Works
The first step on how a CD player works is that it takes data from the cd that is mathmatically represented by The data then goes through the Digital to Analog Converter and it is convolved with ( See figure below)
File:BarnsaDA.jpgThe result is
As you can see in the Frequency domain the final result does not appear to look like the original signal. Therefore we pass through a low pass filter to knock out the high frequencies.
2x Oversampling(Interperolating FIR filter)
The benefit of using oversampling is that this allows for more samples to be taken.
We have in the time domain and we convolve it with File:2x01.jpg which equals File:2x02.jpg If we let therefore, which makes
FIR filter
FIR stands for finite impulse response and it is one of two digital signal filters used. The FIR has no feedback so eventually it will have new data and the old one will be thrown away. is the coefficient that are sent out of the D/A converter. H(f) is the frequency response which mathmatically is
FIR Application
Design an FIR low pass filter to pass between and reject the rest.
The actual frequency response is
[6] shows the example in Matlab
Adaptive Filter
An Adaptive Fitler is useful when filtering needs to be done and the transfer function of the noise signal is not known. The adaptive filter uses feedback to filter out the noise signal. The objective is to drive the error to zero. File:Afilter.jpg
Adaptive Filter Application
A pilot and a co-pilot are trying to communicate, but there is a problem because the microphone picks up the engine noise. What to do? Use an adaptive filter to eliminate the unwanted noise. We need two microphones.
- engine noise+voice ( unknown transfer function)
- engine noise ( microphone by the engine)
both signals will pass through a low pass filter and then through a Analog to Digital converter.
- r(n)=s(n)+ nf(n) engine noise+voice
- x(n) engine noise
Following the adaptive filter block diagram x(n) will go to FIR and the coefficient adjust.
- -r(n) and y(n) will both go to the summation.
e(n) will then go to the co-pilot's earphone and the coefficient adjust until e(n) is zero.