Escolar Documentos
Profissional Documentos
Cultura Documentos
IMPLEMENTATION OF A DIGITAL SIGNAL PROCESSING APPLICATION USING VARIABLE SAMPLING RATES THE TWO PRIMARY OPERATIONS IN MULTIRATE DIGITAL SIGNAL PROCESSING ARE: DECIMATION INTERPOLATION
DECIMATION (DOWN SAMPLING)- PROCESS OF DECREASING THE SAMPLING RATE INTERPOLATION(UPSAMPLING)-PROCESS OF INCREASING THE SAMPLING RATE
THE PROCESS OF INTERPOLATION AND DECIMATION ARE THE FUNDAMENTAL OPERATIONS IN MULTIRATE DIGITAL SIGNAL PROCESSING
4
IT IS THE BY WHICH HIGH-FREQUENCY INFORMATION IS ELIMINATED FROM A SIGNAL TO REDUCE THE SAMPLING FREQUENCY WITHOUT RESULTING IN ALIASING
24KHZ 8KHZ
=3
THE OUTPUT SIGNAL y(m) IS OBTAINED BY TAKING EVERY MTH SAMPLE OF THE INPUT SIGNAL
IF M=3 WE SHOULD JUST TAKE EVERY THIRD SAMPLE OF x(n) TO FORM THE DESIRED SIGNAL y(m)
5
IN ORDER TO REDUCE THE SAMPLING RATE THE INPUT SIGNAL SHOULD BE BANDLIMITED TO HALF THE DESIRED SAMPLING RATE. INPUT SIGNAL SAMPLING RATE=fs M=3 DESIRED SAMPLING RATE =fs/3 THEN THE SIGNAL SHOULD BE BANDLIMITED TO fs/6
Simply to reduce the sampling rate. But much more motivation for decimation is to reduce the cost of processing Iow sampling rate results in a cheaper implementation
CONSIST OF LOWPASS FILTER FOLLOWED BY DOWNSAMPLER LPF FOR AVOIDING ALIASING DOWNSAMPLER PICKS THE SAMPLES THAT ARE PASSED THROUGH THE LPF. THE LPF ATTENUATES THE BAND FROM fs/2M TO fs/2
8
FIR FILTERS are used as low pass filter because any output is a function only of the past inputs(there is no fedback) ( FIR FILTER) linear phase filters I/P O/P filter M
why dont use IIR filter all the samples have to be calculated since IIR filter is a recursive filter
10
PROCESS OF INSERTING ZERO VALUED SAMPLES BETWEEN ORIGINAL SAMPLES TO INCREASE THE SAMPLING RATE
11
INTERPOLATION CONSIST OF TWO PROCESSES INSERTING L-1 ZERO-VALUED SAMPLES BETWEEN EACH PAIR OF INPUT SAMPLES-ZERO STUFFING
12
13
INTERPOLATION OF X(n)={1,3,5,3,7}
14
In some applications,the need often arises to change the sampling rate by a non integer factor An example is in digital audio applications where it may be necessary to transfer from one storage system to another ,where both systems employ different rates
15
Interpolation process preceeds decimation ,otherwise the decimation process would remove some of the desired frequency components L/M=48/44.1=160/147 CD
DAT
44.1 KHZ
48 KHZ
16
Lfs L Lpf h1(n)
Lfs
Lpf h2(m)
LFS M
L Lfs/M
The two digital filters can be combined in to asingle filter If M>L Decimation IF L>M-Interpolation
17
Fir filter consist of multipliers,adders and delay elements. Cic filter uses only delay and add operations Cic filter is the cascade of simple integrators and comb filters
18
-1 z
input
+
output
19
-1
+ input output y(n)=x(n)-x(n-RM) R-rate change M-differential delay(1 or 2)
20
Only require add and delay operations. No multipliers are requried . No storage is required for filter coefficients. The structure of cic filter is very regular. Very little external or complicated control is needed.
21
The frequency response is fully determined by only three integer parameters M,N,and R resulting in a limited range of filter configuration
22
For FPGA design where multipliers are avoided Applications in which large rate change factors require large amount of coefficient storage Applications in which fast impulse response is unavailable Applications in which memory is unavailable or too slow to perform the desired application.
23
24
25