8 - 1x oversampling

From Class Wiki
Revision as of 21:29, 8 November 2009 by Kevin.Starkey (talk | contribs)
Jump to navigation Jump to search

Write a section on the Wiki about how a CD player works with no oversampling, but digital filtering (1x oversampling)

First we sample the data at fs=1T to get the data in digital form and when you use the impulse function in time the frequency repeats forever as shown


                                 Sample fs=1T


Where the impulse function with respect to time = n=x(nt)δ(tnT)
and 1Tn=X(fnT) in the frequency domain.

Now that we have the data in the computer we want to convolve it with another impulse function m=MMh(mTn)δ(tmTn) in the time domain. This is where more that 1x oversampling would occur replace n for nx oversampling, but in our case we use n = 1. Doing this convolution we can also shape our frequency when you convolve in time it multiplies in frequency. So we pick a frequency function m=MMh(mTn)ej2πfmTn to multiply by so our frequency won't overlap later and help compensate for losses in high frequencies from the D/A converter and low-pass filter. Example the frequency function is.

m=MMh(mTn)ej2πfmTn

Now doing the convolution/multiplication yields.
The time domain stays the same with

But frequency

Error creating thumbnail: File missing

x

Error creating thumbnail: File missing

=

Error creating thumbnail: File missing




Now it is time to convolve our time function with a pulse function p(t) and thereby multiply our frequency by its pulse equivalent P(f) = Tsin(fT) giving us
*=
And in frequency

Error creating thumbnail: File missing

x

Error creating thumbnail: File missing

=

Error creating thumbnail: File missing


Notice that by pre-emphasizing the high frequencies we get close to what the original function was in the frequency domain. Now the last step before sending the data out to speakers we convolve the time domain function with a simple low-pass filter to smooth the edges of the function and bring the frequency function even closer to its original state giving us a final beautiful sound through our speakers.

example time domain low-pass filter


example frequency domain low-pass filter