350 likes | 633 Views
CIRCULAR CONVOLUTION. LINEAR CONVOLUTION + ALIASING. Block Convolution: overlap-save method. Input Signal x [ n ] : arbitrary length Impulse response of the filter h [ n ] : lenght P Block Size: N we take N samples of x [ n ]
E N D
CIRCULAR CONVOLUTION LINEAR CONVOLUTION+ ALIASING Block Convolution: overlap-save method • Input Signal x[n]: arbitrary length • Impulse response of the filter h[n]: lenght P • Block Size: N we take N samples of x[n] • There’s ALIASING! right samples: L = N- (P - 1)
Signal x[n] The input signal x[n] is splitted into blocks of length = L...
P - 1 zero padding Lenght L Lenght FFT = N Signal x[n] The entry signal x[n] is splitted in blocks of lenght = N... The Impulse response lenght = P, so we aggregate P - 1 zeros to the signal beggining Then when we compute the circular convolution, only L = N - (P - 1) samples match the linear convolution.
Lenght FFT = N Lenght P N - P zero padding Signal x[n] Signal h[n] To complete the lenght of the NFFT, we aggregate N-P zeros to the impulse response h[n] (lenght P)...
Length FFT = N Signal x[n] Signal h[n] x1[n]*h[n] We compute the first segment of the output performing a circular convolution of x1[n] and h[n] It HAS “aliasing” of P- 1 samples Circular convolutionDOESN’T match the linear convolution we discard P - 1 samples
Lenght FFT = N Signal x[n] Signal h[n] x1[n]*h[n] We compute the first segment of the output performing a circular convolution of x1[n] and h[n] It HAS “aliasing” of P- 1 samples x1[n]*h[n] = IFFT{X1[k]xH[k]}
Sucesión x[n] Sucesión h[n] x1[n]*h[n] We “copy” the result of the circular convolution of x1[n] and h[n] To the system output, discarding the wrong samples
Signal x[n] Signal h[n] x1[n]*h[n] We “copy” the result of the circular convolution of x1[n] and h[n] to the system output, discarding the wrong samples
Signal x[n] Signal h[n] Signal x2[n] x1[n]*h[n] We process the second blockx2[n] of the input x[n]... (overlapping P - 1 samples with the previous block)
Signal x[n] Signal h[n] x1[n]*h[n] We process the second blockx2[n] of the input x[n]... (solapando P - 1 muestras con el bloque previo) with the impulse response h[n]
Signal x[n] Signal h[n] x1[n]*h[n] x2[n]*h[n] We process the second blockx2[n] of the input x[n]... (overlapping P - 1 samples with the previous block) with the impulse response h[n] and we obtain the second segmentx2[n]*h[n] Again, we have to discard P - 1 samples of the segment, that are wrong (due to aliasing)
Signal x[n] Signal h[n] x1[n]*h[n] x2[n]*h[n] We “copy” the result of the secondcircular convolution ofx1[n] and h[n] (discarding the wrong samples)
Signal x[n] Signal h[n] x1[n]*h[n] x2[n]*h[n] We “copy” the result of the secondcircular convolution ofx1[n] and h[n] (discarding the wrong samples)
Signal x[n] Signal h[n] x1[n]*h[n] x2[n]*h[n] we process the third block x2[n] of the input x[n]... (overlapping P - 1 samples with the previous block)
Signal x[n] Signal h[n] x1[n]*h[n] x2[n]*h[n] we process the third block x2[n] of the input x[n]... (overlapping P - 1 samples with the previous block) with the impulse response h[n]
Signal x[n] Signal h[n] x1[n]*h[n] x2[n]*h[n] x3[n]*h[n] we obtain the third segment of the output x3[n]*h[n] discarding the P - 1first samples
Signal x[n] Signal h[n] x1[n]*h[n] x2[n]*h[n] x3[n]*h[n] we copy it to the output...
Signal x[n] Signal h[n] x1[n]*h[n] x2[n]*h[n] x3[n]*h[n] we copy it to the output...
Signal x[n] Signal h[n] x1[n]*h[n] x2[n]*h[n] x3[n]*h[n] we process the fourth block of the input x[n]
Signal x[n] Signal h[n] x1[n]*h[n] x2[n]*h[n] x3[n]*h[n] we process the fourth block of the input x[n] with the impluse response h[n]
Signal x[n] Signal h[n] x1[n]*h[n] x2[n]*h[n] x3[n]*h[n] x4[n]*h[n] we obtain the fourth segment of the output x4[n]*h[n]
Signal x[n] Signal h[n] x1[n]*h[n] x2[n]*h[n] x3[n]*h[n] x4[n]*h[n] We discard the first P - 1samples...
Signal x[n] Signal h[n] x1[n]*h[n] x2[n]*h[n] x3[n]*h[n] x4[n]*h[n] …we copy it to the output
Signal x[n] Signal h[n] x1[n]*h[n] x2[n]*h[n] x3[n]*h[n] x4[n]*h[n] …we copy it to the output
Signal x[n] Signal h[n] x1[n]*h[n] x2[n]*h[n] x3[n]*h[n] x4[n]*h[n] BLOCK convolution
Signal x[n] Signal h[n] x1[n]*h[n] x2[n]*h[n] x3[n]*h[n] x4[n]*h[n] BLOCK convolution = LINEAR convolution