Bài giảng Xử lý tín hiệu số: Chapter 6 - Hà Hoàng Kha

18 60 0
Bài giảng Xử lý tín hiệu số: Chapter 6 - Hà Hoàng Kha

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

Bài giảng Xử lý tín hiệu số - Chapter 6: Transfer functions and di gital filter realization has contents: Impulse response, difference equation, impulse response, block diagram of realization, digital filter realization.

Chapter p Transfer functions g Filter Realization and Digital Ha Hoang Kha, Ph.D.Click to edit Master subtitle style Ho Chi Minh City University of Technology @ Email: hhkha@hcmut.edu.vn CuuDuongThanCong.com https://fb.com/tailieudientucntt ™ With the aid of z-transforms, we can describe the FIR and IIR filters in se several eral mathematically mathematicall equivalent eq i alent way a Ha H Kha CuuDuongThanCong.com Transfer functions and Digital Filter Realizations https://fb.com/tailieudientucntt Content Transfer T f functions f ti ‰ Impulse response ‰ Difference equation ‰ Impulse response ‰ Frequency q y response p ‰ Block diagram of realization Digital filter realization ‰ Direct form ‰ Canonical form ‰ Cascade form Ha H Kha CuuDuongThanCong.com Transfer functions and Digital Filter Realizations https://fb.com/tailieudientucntt Transfer functions ™ Given a transfer functions H(z) one can obtain: ((a)) the th impulse i l response h(n) h( ) (b) the difference equation satisfied the impulse response ( ) the (c) h I/O / difference diff equation i relating l i the h output y(n) ( ) to the h input i x(n) (d) the block diagram realization of the filter ( ) the sample-by-sample (e) p y p p processingg algorithm g (f) the pole/zero pattern (g) the frequency q y response p H(w) ( ) Ha H Kha CuuDuongThanCong.com Transfer functions and Digital Filter Realizations https://fb.com/tailieudientucntt Impulse response ™ Taking the inverse z-transform of H(z) yields the impulse response h(n) Example: p consider the transfer function To obtain the impulse response, we use partial fraction expansion to write Assuming the filter is causal, we find Ha H Kha CuuDuongThanCong.com Transfer functions and Digital Filter Realizations https://fb.com/tailieudientucntt Difference equation for impulse response ™ The standard approach is to eliminate the denominator polynomial of H(z) ( ) and then transfer back to the time domain Example: p consider the transfer function Multiplying both sides by denominator, we find Taking inverse z-transform z transform of both sides and using the linearity and delay properties, we obtain the difference equation for h(n): Ha H Kha CuuDuongThanCong.com Transfer functions and Digital Filter Realizations https://fb.com/tailieudientucntt I/O difference equation ™ Write then eliminate the denominators and go back to the time domain Example: consider the transfer function We have which can write Taking the inverse z-transforms of both sides, we have Thus, the I/O difference equation is Ha H Kha CuuDuongThanCong.com Transfer functions and Digital Filter Realizations https://fb.com/tailieudientucntt Block diagram ™ One the I/O difference equation is determined, one can mechanize it byy block diagram g Example: consider the transfer function We have the I/O difference equation The direct form realization is given by Ha H Kha CuuDuongThanCong.com Transfer functions and Digital Filter Realizations https://fb.com/tailieudientucntt Sample processing algorithm ™ From the block diagram, we assign internal state variables to all the delays: We define v1((n)) to be the content of the x-delayy at time n: Similarly, y w1((n)) is the content of the y-delay y y at time n: Ha H Kha CuuDuongThanCong.com Transfer functions and Digital Filter Realizations https://fb.com/tailieudientucntt Frequency response and pole/zero pattern ™ Given H(z) whose ROC contains unit circle, the frequency response H(w) can be obtained by replacing z=ejw Example: Using the identity we obtain b i an expression i ffor the h magnitude i d response ‰ Drawing peaks when passing near poles ‰ Drawing dips when passingg near zeros p Ha H Kha 10 CuuDuongThanCong.com Transfer functions and Digital Filter Realizations https://fb.com/tailieudientucntt Example ™ Consider the system which has the I/O equation: a) Determine the transfer function b) Determine the casual impulse response c)) Determine the frequency q y response p and plot p the magnitude g response p of the filter d)) Plot the block diagram g of the system y and write the sample p processing algorithm Ha H Kha 11 CuuDuongThanCong.com Transfer functions and Digital Filter Realizations https://fb.com/tailieudientucntt Digital filter realizations ™ Construction of block diagram of the filter is called a realization of the filter filter ™ Realization of a filter at a block diagram level is essentially a flow graph of the signals in the filter ™ It includes operations: delays, additions and multiplications of signals by a constant coefficients ™ The block diagram realization of a transfer function is not unique ™ Note that for implementation of filter we must concerns the accuracy of signal g values, accuracy of coefficients and accuracy of arithmetic operations We must analyze the effect of such imperfections on the performance of the filter Ha H Kha 12 CuuDuongThanCong.com Transfer functions and Digital Filter Realizations https://fb.com/tailieudientucntt Direct form realization ™ Use the I/O difference equation ‰ The b-multipliers are feeding forward ‰ The a-multipliers are feeding backward Ha H Kha 13 CuuDuongThanCong.com Transfer functions and Digital Filter Realizations https://fb.com/tailieudientucntt Example ™ Consider IIR filter with h(n)=0.5nu(n) a)) Draw D the th direct di t form f realization li ti off this thi digital di it l filter filt ? b) Given x=[2, 8, 4], find the first samples of the output by using the sample processing algorithm ? Ha H Kha 14 CuuDuongThanCong.com Transfer functions and Digital Filter Realizations https://fb.com/tailieudientucntt Canonical form realization ™ Note that Y ( z) = H ( z) X ( z) = N ( z) X ( z) D( z ) ‰ The maximum number of common delays: K=max(L,M) Ha H Kha 15 CuuDuongThanCong.com Transfer functions and Digital Filter Realizations https://fb.com/tailieudientucntt Cascade form ™ The cascade realization form of a general functions assumes that the transfer functions is the product of such second second-order order sections (SOS): ™ Each of SOS mayy be realized in direct or canonical form Ha H Kha 16 CuuDuongThanCong.com Transfer functions and Digital Filter Realizations https://fb.com/tailieudientucntt Cascade form Ha H Kha 17 CuuDuongThanCong.com Transfer functions and Digital Filter Realizations https://fb.com/tailieudientucntt Homework ™ Problems: 6.1, 6.2, 6.5, 6.16, 6.18, 6.19 ™ Problems: 7.1, 7.3, 7.5, 7.10 Ha H Kha 18 CuuDuongThanCong.com Transfer functions and Digital Filter Realizations https://fb.com/tailieudientucntt ... Cascade form Ha H Kha 17 CuuDuongThanCong.com Transfer functions and Digital Filter Realizations https://fb.com/tailieudientucntt Homework ™ Problems: 6. 1, 6. 2, 6. 5, 6. 16, 6. 18, 6. 19 ™ Problems:... delays: We define v1((n)) to be the content of the x-delayy at time n: Similarly, y w1((n)) is the content of the y-delay y y at time n: Ha H Kha CuuDuongThanCong.com Transfer functions and Digital... functions is the product of such second second-order order sections (SOS): ™ Each of SOS mayy be realized in direct or canonical form Ha H Kha 16 CuuDuongThanCong.com Transfer functions and Digital

Ngày đăng: 13/01/2020, 03:29

Tài liệu cùng người dùng

Tài liệu liên quan