3.4. FIR AND IIR FILTERS
107 108
3. DISCRETE-TIME SYSTEMS
Example 3.4.4: Determine the I/O difference equation of an IIR filter whose impulse response
Solution: Arguing as in the previous example, we have
coefficients h(n) are coupled to each other by the difference equation:
h(0) = ah( 1)+δ(0)= a · 0 + 1 = 1 h(1) = ah(0)+δ(1)= a · 1 + 0 = a
h(2) = ah(1)+δ(2)= a · a + 0 = a2 h(3) = ah(2)+δ(3)= a · a2 + 0 = a3
h(n)= h(n 1)+δ(n)
and so on. Therefore, we find the solution
Solution: Setting n = 0, we have h(0)= h( 1)+δ(0)= h( 1)+1. Assuming causal initial conditions, h( 1)= 0, we find h(0)= 1. For n > 0, the delta function vanishes, δ(n)= 0, and therefore, the difference equation reads h(n)= h(n 1). In particular h(1)= h(0)= 1, h(2)= h(1)= 1, and so on. Thus, all of the samples h(n) are equal to each other. In
summary, we have the (causal) solution:
{
{
h(n)= u(n)=
1 if n ≥ 0 h(n)= anu(n)=
an , if n ≥ 0
if n ≤ 1
0,
if n ≤ 1
Inserting this solution into Eq. (3.4.3), we have
where u(n) is the discrete-time unit-step function. Now, putting this solution into the convolutional I/O equation (3.4.3), we have
y(n) = x(n)+ax(n 1)+a2 x(n 2)+a3 x(n 3)+ · · · ∑ y(n)=
∑ h(m)x(n m)=
= x(n)+a
[
m=0
x(n m) where we set h(m)= 1. Writing it x(n 1)+ax(n 2)+a2 x(n 3)+ · · · ] The sum in the brackets is recognized now as m=0
the previous output y(n 1). Therefore, we obtain the I/O difference equation:
explicitly we have
y(n)= ay(n 1)+x(n)
y(n)= x(n)+x(n 1)+x(n 2)+x(n 3)+ · · ·
Replacing n by n 1 gives the previous output
As expected, it is the same as the difference equation satisfied by h(n).
Determine the convolutional form and the (causal) impulse response of the IIR
y(n 1)= x(n 1)+x(n 2)+x(n 3)+ · · ·
Example 3.4.6: filter described by the following difference equation:
Subtracting it from y(n), we have
y(n)= 0.8y(n 1)+x(n)
y(n) y(n 1)= x(n)
Solution: This is the same example as above, with a = 0.8. Setting x(n)= δ(n) and y(n)=
Therefore, the I/O convolutional equation is equivalent to the recursive difference equation
h(n), we obtain the difference equation for h(n):
h(n)= 0.8h(n 1)+δ(n)
y(n)= y(n 1)+x(n)
Assuming causal initial conditions, h( 1)= 0, and iterating a few values of n as we did in It represents an accumulator, or discrete-time integrator. Note that this is the same difference equation as that of h(n), because by definition h(n) is the output when the input is an impulse; that is, y(n)= h(n)
if the previous example, we find the solution:
x(n)= δ(n). { ( 0.8)n , if n ≥
0, if n ≤ 1 Example 3.4.5: Suppose the filter coefficients h(n) satisfy the difference equation h(n)= ( 0.8)nu(n)=
Inserting the values for h(n) into the convolutional equation (3.4.3), we find h(n)= ah(n 1)+δ(n)
y(n)= x(n)+( 0.8)x(n 1)+( 0.8)2 x(n 2)+( 0.8)3 x(n 3)+ · · · where a is a constant. Determine the I/O difference equation relating a general input signal
x(n) to the corresponding output y(n).
which, in general, has an infinite number of terms.
在线互动式文档分享平台,在这里,您可以和千万网友分享自己手中的文档,全文阅读其他用户的文档,同时,也可以利用分享文档获取的积分下载文档
在线互动式文档分享平台,在这里,您可以和千万网友分享自己手中的文档,全文阅读其他用户的文档,同时,也可以利用分享文档获取的积分下载文档
基于matlab的FIR和IIR滤波器_电子/电路_工程科技_专业资料 暂无评价0人阅读0次下载举报文档 基于matlab的FIR和IIR滤波器_电子/电路_工程科技_专业资料。目 录...
在线互动式文档分享平台,在这里,您可以和千万网友分享自己手中的文档,全文阅读其他用户的文档,同时,也可以利用分享文档获取的积分下载文档
在线互动式文档分享平台,在这里,您可以和千万网友分享自己手中的文档,全文阅读其他用户的文档,同时,也可以利用分享文档获取的积分下载文档
(6) 比较加不同窗和阶数时fir滤波器的滤波效果; (7) 设计数字滤波算法,或调用DSPLIB中的滤波函数,实现对信号的iir 滤波。 (8) 比较fir数字滤波器与iir数字...
FIR和IIR滤波器设计_信息与通信_工程科技_专业资料。数字信号处理IIR和FIR滤波器设计专题研讨——第八组:彭然 09214040 海骁飞09214032 季凯09214035 刘炘09214036...
(二)设计 FIR 和 IIR 数字滤波器并滤波 基于 FIR(滤波器窗函数法,包括 Hamming 窗、Kaiser 窗)和 IIR(双线性变换法设计巴 特沃兹滤波器、切比雪夫滤波器 I ...
在线互动式文档分享平台,在这里,您可以和千万网友分享自己手中的文档,全文阅读其他用户的文档,同时,也可以利用分享文档获取的积分下载文档
在线互动式文档分享平台,在这里,您可以和千万网友分享自己手中的文档,全文阅读其他用户的文档,同时,也可以利用分享文档获取的积分下载文档
热门文档