User:GabrielaV: Difference between revisions

From Class Wiki
Jump to navigation Jump to search
Line 73: Line 73:
==How a CD Player Works==
==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 first step on how a CD player works is that it takes data from the cd that is mathmatically represented by
<math>\sum_{n=-\infty}^\infty \ x(nt) \delta (t-nT)</math>
<math>\sum_{n=-\infty}^\infty \ x(nt) \delta (t-nT)</math>
The data then goes through the Digital to Analog Converter and it is convolved with
The data then goes through the Digital to Analog Converter and it is convolved with
<math>\ p(t) </math>.
<math>\ p(t) </math> ( See figure below)


[[Image:barnsaDA.jpg|Digital to analog conversion]]
[[Image:barnsaDA.jpg|Digital to analog conversion]]



The result is <math>\sum_{n=-\infty}^\infty \ x(nt) \ p(t-nT) </math>
The result is <math>\sum_{n=-\infty}^\infty \ x(nt) \ p(t-nT) </math>

[[http://www.wwc.edu/~frohro/ClassNotes/ENGR455/2005/Keystone/20051021KeyPA210081.jpg]]


As you can see in the Frequency domain the final result does not appear to look like the original signal. Therefore we pass <math> P(f)\cdot \frac{1} {T}\sum_{m=-\infty}^\infty X(f-\frac{m} {T}) </math> through a low pass filter to knock out the high frequencies and then it will be outputted through the speaker.
As you can see in the Frequency domain the final result does not appear to look like the original signal. Therefore we pass <math> P(f)\cdot \frac{1} {T}\sum_{m=-\infty}^\infty X(f-\frac{m} {T}) </math> through a low pass filter to knock out the high frequencies and then it will be outputted through the speaker.

Revision as of 23:41, 12 December 2005

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.jpg

The 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 and then it will be outputted through the speaker.

2x Oversampling

The benefit of using oversampling is that this allows for more samples to be taken so you have an accurate digital signal which means better sound.

We have [[6]]

but we want [[7]]

In order to get that we need to convolve it with

now we convolve with to then get and in the frequency domain it is [[8]] Now you only have to pass it through a low pass filter and you will have the original signal.


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. How the FIR works is that it convolves the data with

the result is

and if we let l/2 = n + m/2

the term in the brackets will be y(lT/2) and the new result is

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:Adaptive.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

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.

[9]