1 / 17

DCSP-17

DCSP-17. Jianfeng Feng Department of Computer Science Warwick Univ., UK Jianfeng.feng@warwick.ac.uk http://www.dcs.warwick.ac.uk/~feng/dsp.html. Frequency Response of an MA filter. We can formally represent the frequency response of the filter by substituting

lilika
Download Presentation

DCSP-17

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. DCSP-17 Jianfeng Feng Department of Computer Science Warwick Univ., UK Jianfeng.feng@warwick.ac.uk http://www.dcs.warwick.ac.uk/~feng/dsp.html

  2. Frequency Response of an MA filter We can formally represent the frequency response of the filter by substituting z = exp( j w) and obtain zN H( w)=A( w ) =K[(exp (j w) – a1)…(exp (j w) – aN)] Consider an example

  3. Assume that H( w)= K[(exp (-j w) – a1)(exp (-j w) – a2)] with a1 = exp (-j p / 4), we then have Y(w)= H( w) X( w) and Y(w)=0 whenever w = p / 4. Therefore, any signal with a frequency of p / 4 will be stopped

  4. h=0.01; for i=1:314 x(i)=i*h; f(i)=(exp(-j*x(i))-exp(-j*pi/4))*(exp(-j*x(i))-exp(j*pi/4)); end plot(x,abs(f))

  5. Movinga1 along the circle, we are able to stop a signal with a given frequency The original difference expression can be recovered by H( z ) = k [(z-1 – a1)(z-1 – a2)] = k [z-2 – (a1+ a2 ) z-1 + (a1a2 )] y(n) = k [x(n-2) – (a1+ a2 ) x(n-1)+ (a1a2 )x(n)] = Matlab/work/simple_filger_design_ma.m

  6. Recursive Filters Of the many filter transfer function which are not FIR, the most commonly use in DSP are the recursive filters, so called because their current output depends not only on the last N inputs but also on the last N outputs. y(n) = a(0)x(n)+ a(1)x(n-1) +…+ a(N)x(n-N) + b(1)y(n-1) +…+ b(N)y(n-N)

  7. Transfer function

  8. X(n) a(N) y(n) + + D + D D + a(0) a(1) a(N-1) b(N) b(N-1) b(1) Block diagram

  9. Poles and zeros We know that the roots an are the zeros of the transfer function. The roots of the equation B(z)=0 are called the poles of the transfer function. They have greater significance for the behaviour of H(z): it is singular at the points z=bn. Poles are drawn on the z-plane as crosses, as shown in the next Fig.

  10. ON this figure, the unit circle has been shown on the z-plane. In order for a recursive filter to be bounded input bounded output stable, all of the poles of its transfer function must lie inside the unit circle. A filter is BIBO stable if any bounded input sequence gives rise to a bounded output sequence. Now if the pole of the transfer lie insider the unit circle, then they represent geometric series with a coefficient whose magnitude |bm|<1, i.e. a sequence {1, bm, (bm)2, … } which is convergent.

  11. Consequently, the filter output, which is a sum of such sequences weighted by the appropriate input terms, is bounded if the input is. If, on the other hand, |bm |>1, the geometric series diverges and the filter output will grow without bound as n is large enough. If |bm |=1, the filter is said to be conditionally stable: some input sequence will lead to bounded output sequence and some will not. Since FR filters have no poles, they are always BIBO stable: zeros have no effect on stability.

  12. Poles, Zeros and Frequency Response Now suppose we have the ZT transfer function of a filter We can formally represent the frequency response of the filter by substituting z = exp( j w) and obtain H( w)= A( w ) / B( w )

  13. Poles, Zeros and Frequency Response Obviously, H( w) depends on the locations of the poles and zeros of the transfer function, a fact which ca n be made more explicit by factoring the numerator and denominator polynomials to write

  14. Each factor in the numerator or denominator is a complex function of frequency, which has a graphical interpretation in the rms of the location of the corresponding root in relation to the unit circle Thus we can make a reasonable guess about the filter frequency response imply by looking at the pole-zero diagram.

  15. Filter Types There are four main classes of filter in widespread use: • lowpass, • highpass, • bandpass • bandstop filters. The name are self-explanatory, but he extent to which the ideal frequency responses can be achieved in practice is limited. This four types are shown in the next figure

More Related