首页 维纳滤波器的设计

维纳滤波器的设计

举报
开通vip

维纳滤波器的设计维纳滤波器的设计 一、实验题目 维纳滤波器的设计 (结维纳霍夫方程,最小的均方误差) 维纳-霍夫方程矩阵形式 ,1 hRR, xxxd 已知期望信号与观测数据的互相关函数及观测数据的自相关函数 二、实验要求: 设计一维纳滤波器。 (1)产生三组观测数据,首先根据产生信号,将其加噪snasnwn()(1)(),,,sn() (信噪比分别为),得到观测数据。 20,10,6dBdBdBxnxnxn(),(),()123(2)估计,的模型参数。X(n)=w(n)+…+bw(n-q)假设信号长度i,1,2,3xn...

维纳滤波器的设计
维纳滤波器的设计 一、实验题目 维纳滤波器的设计 (结维纳霍夫方程,最小的均方误差) 维纳-霍夫方程矩阵形式 ,1 hRR, xxxd 已知期望信号与观测数据的互相关函数及观测数据的自相关函数 二、实验要求: 设计一维纳滤波器。 (1)产生三组观测数据,首先根据产生信号,将其加噪snasnwn()(1)(),,,sn() (信噪比分别为),得到观测数据。 20,10,6dBdBdBxnxnxn(),(),()123(2)估计,的模型参数。X(n)=w(n)+…+bw(n-q)假设信号长度i,1,2,3xn()ARi NN为,模型阶数为,分析实验结果,并讨论改变,对实验结果的LARL 影响。 三、实验原理: dnhnyn维纳滤波器设计的任务就是选择,使其输出信号与期望信号,,,,,,误差的均方值最小,实质是解维纳,霍夫方程。 hn假设滤波系统是一个线性时不变系统,它的和输入信号都是复函数, ,, hnanjbn,,设 n=0,1,… ,,,,,, 考虑系统的因果性,可得到滤波器的输出 ,,ynhnxnhmxnm,,,, n=0,1,… ,,,,,,,,,,, m,0 ,,2en设期望信号d(n),误差信号及其均方误差分别为Een,,,,,,,, endnynsnyn,,,, ,,,,,,,,,, ,,2,,,,2,,2,,EenEdnynEdnhmxnm,,,,, ,,,,,,,,,,,,,,,,,,,,,,,m,0,,,,,, 要使均方误差为最小,需满足: defense work, fully meet annual targets. Foreign Affairs strengthened immigration and passport, file management, the implementation of the Office system, promote standardization and institutionalization of the management of Foreign Affairs. Overseas Chinese, based on policy advocacy and for "overseas Chinese" servicesregistration system on duty, troubleshooting safety and maintain social stability. Comprehensive control of public security and was affirmed by the community. 4, further strengthening of foreign and overseas Chinese Affairs, local records ' compilation and civil air ,,2Een,,,,,,, ,0h,j 由上式可以推导得到 ,,, Exnjen,,0,,,,,,,, 上式说明,均方误差达到最小值的充要条件是误差信号与任一进入估计的输入信号正交,这就是正交性原理。 ,,,将展开,得 Exnjen,,0,,,,,,,, ,,, k=0,1,… rkhmrnm,,,,,,,,,,dxxxm0, ,对两边取共轭,并利用相关函数的性质,得 rkrk,,,,,,yxxy ,,rhrhkkmkmrk,,,, k=0,1,… ,,,,,,,,,,,xxxdxxm0, 此式称为维纳-霍夫(Wiener-Hopf)方程。解此方程可得到最优权系数hhh,,,…,此式是Wiener滤波器的一般方程,根据权系数是有限个还是无限个012 可以分别设计IIR型和FIR型Wiener滤波器,本实验中采用的是FIR滤波器。 hn是一个长度为M的因果序列(即是一个长度为M的FIR滤波器)时,维纳-,, 霍夫方程 关于同志近三年现实表现材料材料类招标技术评分表图表与交易pdf视力表打印pdf用图表说话 pdf 述为 M,1rhrhkkmkmrk,,,, k=0,1,…M-1 ,,,,,,,,,,,xxxdxxm,0 维纳-霍夫方程写成矩阵形式为 RRh, xdxx ,1hRR,即 xdxx 此式表明,已知期望信号与观测数据的互相关函数及观测数据的自相关函数时,可以通过矩阵求逆运算,得到维纳滤波器的最佳解。 四、实验结果与分析: (1)实验程序 clear; clc; defense work, fully meet annual targets. Foreign Affairs strengthened immigration and passport, file management, the implementation of the Office system, promote standardization and institutionalization of the management of Foreign Affairs. Overseas Chinese, based on policy advocacy and for "overseas Chinese" servicesregistration system on duty, troubleshooting safety and maintain social stability. Comprehensive control of public security and was affirmed by the community. 4, further strengthening of foreign and overseas Chinese Affairs, local records ' compilation and civil air %初始化 L=50; N=6; a=0.96; %噪声信号 wn=randn(L,1); %理想信号 m*n的零矩阵 sn=zeros(L,1); %单位脉冲响应 hn=zeros(N,1); %自相关 rxx=zeros(N,1); %互相关 rxd=zeros(N,1); %输出信号 yn=zeros(L,1); xt=zeros(L+N,1); %最小距离信号 gn=zeros(L,1); sn(1,1)=wn(1,1); for i=2:L sn(i,1)=a*sn(i-1,1)+wn(i,1); end %subplot(2,2,1); %figure; subplot(2,1,1); plot(sn,'r'),axis([0 50 -10 10]),xlabel('时间'),ylabel('幅度'),title(' 理想信号') %生成理想信号方差 cd=(var(wn))/(1-a^2); %加噪 x1=awgn(sn,20); x2=awgn(sn,10); x3=awgn(sn,6); %subplot(2,2,2) %figure; %plot(x3,'g'),axis([0 200 -10 10]),xlabel('时间'),ylabel('幅度'),title(' 观测信号'); for i=1:N, for m=i:1:L, rxd(i,1)=rxd(i,1)+x1(m,1)*sn(m-i+1,1); end end %生成输入信号的自相关函数 defense work, fully meet annual targets. Foreign Affairs strengthened immigration and passport, file management, the implementation of the Office system, promote standardization and institutionalization of the management of Foreign Affairs. Overseas Chinese, based on policy advocacy and for "overseas Chinese" servicesregistration system on duty, troubleshooting safety and maintain social stability. Comprehensive control of public security and was affirmed by the community. 4, further strengthening of foreign and overseas Chinese Affairs, local records ' compilation and civil air for i=1:N, for m=i:1:L, rxx(i,1)=rxx(i,1)+x1(m,1)*x1(m-i+1,1); end end %生成托普勒矩阵 rxx1=toeplitz(rxx); %生成逆矩阵 irxx=inv(rxx1); %生成滤波器系数 hn=irxx*rxd; for i=1:L xt(i+N,1)=x1(i,1); end %实现滤波 for i=1:L, for m=1:N, yn(i,1)=yn(i,1)+xt(i+N+1-m,1)*hn(m,1); end end %最小均方误差信号 en=0; en=cd-(rxd')*hn; %滤波后信号 gn=yn-sn; %subplot(2,2,3); %figure; subplot(2,1,2); plot(yn),axis([0 50 -10 10]),xlabel('时间'),ylabel('幅度'),title('输出信 号'); %理想信号与输出信号对比 %subplot(2,2,4); figure; plot(sn,'r'),axis([0 50 -10 10]),xlabel('时间'),ylabel('幅度'),title(' 理想信号与输出信号对比'); hold on; plot(yn,'b'),axis([0 50 -10 10]); hold off; % 最小距离误差信号 figure; plot(gn),axis([0 50 -2 2]),xlabel('时间'),ylabel('幅度'),title('最小距离 误差信号'); (2)实验结果 defense work, fully meet annual targets. Foreign Affairs strengthened immigration and passport, file management, the implementation of the Office system, promote standardization and institutionalization of the management of Foreign Affairs. Overseas Chinese, based on policy advocacy and for "overseas Chinese" servicesregistration system on duty, troubleshooting safety and maintain social stability. Comprehensive control of public security and was affirmed by the community. 4, further strengthening of foreign and overseas Chinese Affairs, local records ' compilation and civil air 一、 当L=200,N=6时,理想信号及观测信号如下: xnxnxn(),(),()123 defense work, fully meet annual targets. Foreign Affairs strengthened immigration and passport, file management, the implementation of the Office system, promote standardization and institutionalization of the management of Foreign Affairs. Overseas Chinese, based on policy advocacy and for "overseas Chinese" servicesregistration system on duty, troubleshooting safety and maintain social stability. Comprehensive control of public security and was affirmed by the community. 4, further strengthening of foreign and overseas Chinese Affairs, local records ' compilation and civil air defense work, fully meet annual targets. Foreign Affairs strengthened immigration and passport, file management, the implementation of the Office system, promote standardization and institutionalization of the management of Foreign Affairs. Overseas Chinese, based on policy advocacy and for "overseas Chinese" servicesregistration system on duty, troubleshooting safety and maintain social stability. Comprehensive control of public security and was affirmed by the community. 4, further strengthening of foreign and overseas Chinese Affairs, local records ' compilation and civil air 二、 1、 信噪比为20dB,L=200,N=6 defense work, fully meet annual targets. Foreign Affairs strengthened immigration and passport, file management, the implementation of the Office system, promote standardization and institutionalization of the management of Foreign Affairs. Overseas Chinese, based on policy advocacy and for "overseas Chinese" servicesregistration system on duty, troubleshooting safety and maintain social stability. Comprehensive control of public security and was affirmed by the community. 4, further strengthening of foreign and overseas Chinese Affairs, local records ' compilation and civil air 2、 信噪比为20dB,L=200,N=20 defense work, fully meet annual targets. Foreign Affairs strengthened immigration and passport, file management, the implementation of the Office system, promote standardization and institutionalization of the management of Foreign Affairs. Overseas Chinese, based on policy advocacy and for "overseas Chinese" servicesregistration system on duty, troubleshooting safety and maintain social stability. Comprehensive control of public security and was affirmed by the community. 4, further strengthening of foreign and overseas Chinese Affairs, local records ' compilation and civil air defense work, fully meet annual targets. Foreign Affairs strengthened immigration and passport, file management, the implementation of the Office system, promote standardization and institutionalization of the management of Foreign Affairs. Overseas Chinese, based on policy advocacy and for "overseas Chinese" servicesregistration system on duty, troubleshooting safety and maintain social stability. Comprehensive control of public security and was affirmed by the community. 4, further strengthening of foreign and overseas Chinese Affairs, local records ' compilation and civil air 3、 信噪比为20dB,L=200,N=40 defense work, fully meet annual targets. Foreign Affairs strengthened immigration and passport, file management, the implementation of the Office system, promote standardization and institutionalization of the management of Foreign Affairs. Overseas Chinese, based on policy advocacy and for "overseas Chinese" servicesregistration system on duty, troubleshooting safety and maintain social stability. Comprehensive control of public security and was affirmed by the community. 4, further strengthening of foreign and overseas Chinese Affairs, local records ' compilation and civil air 4、 信噪比为20dB,L=100,N=6 defense work, fully meet annual targets. Foreign Affairs strengthened immigration and passport, file management, the implementation of the Office system, promote standardization and institutionalization of the management of Foreign Affairs. Overseas Chinese, based on policy advocacy and for "overseas Chinese" servicesregistration system on duty, troubleshooting safety and maintain social stability. Comprehensive control of public security and was affirmed by the community. 4, further strengthening of foreign and overseas Chinese Affairs, local records ' compilation and civil air defense work, fully meet annual targets. Foreign Affairs strengthened immigration and passport, file management, the implementation of the Office system, promote standardization and institutionalization of the management of Foreign Affairs. Overseas Chinese, based on policy advocacy and for "overseas Chinese" servicesregistration system on duty, troubleshooting safety and maintain social stability. Comprehensive control of public security and was affirmed by the community. 4, further strengthening of foreign and overseas Chinese Affairs, local records ' compilation and civil air 5、 信噪比为20dB,L=50,N=6 defense work, fully meet annual targets. Foreign Affairs strengthened immigration and passport, file management, the implementation of the Office system, promote standardization and institutionalization of the management of Foreign Affairs. Overseas Chinese, based on policy advocacy and for "overseas Chinese" servicesregistration system on duty, troubleshooting safety and maintain social stability. Comprehensive control of public security and was affirmed by the community. 4, further strengthening of foreign and overseas Chinese Affairs, local records ' compilation and civil air (3)实验结果分析 在信噪比为20dB情况下,分别取信号长度为200、100、10,滤波器长度为6、20、40进行实验,参数情况如下表。观察试验中得到的信号图像,我们可以得出: 1.信号长度越长,最小均方误差(绝对值)越大,精度越差; 2.在信噪比较大(误差影响较小)的滤波过程中,滤波器长度越长,最小均方误差(绝对值)越小,精度越好 L=200 实验1 20dB N=6 L=200 实验2 20dB N=20 L=200 实验3 20dB N=40 L=100 实验4 20dB N=6 L=50 实验5 20dm N=6 defense work, fully meet annual targets. Foreign Affairs strengthened immigration and passport, file management, the implementation of the Office system, promote standardization and institutionalization of the management of Foreign Affairs. Overseas Chinese, based on policy advocacy and for "overseas Chinese" servicesregistration system on duty, troubleshooting safety and maintain social stability. Comprehensive control of public security and was affirmed by the community. 4, further strengthening of foreign and overseas Chinese Affairs, local records ' compilation and civil air 四、实验总结 本次试验采用在时域中求解设计维纳滤波器的方法。通过实验,学习了维纳滤波器的基本原理,和在时域中求解因果维纳滤波器的算法。在实验过程中,分别设计了不同信号长度、不同滤波器长度的实验,并分析对比了实验结果。 通过采用在时域中设计维纳滤波器的实验,可以看出,直接从时域求解因果的维纳滤波器,当信号长度L、滤波器长度N选值较大时,计算工作量较大,所占内存较大。由此,可以考虑在今后的设计中采用z域求解的方法,将会提高各项指标。 defense work, fully meet annual targets. Foreign Affairs strengthened immigration and passport, file management, the implementation of the Office system, promote standardization and institutionalization of the management of Foreign Affairs. Overseas Chinese, based on policy advocacy and for "overseas Chinese" servicesregistration system on duty, troubleshooting safety and maintain social stability. Comprehensive control of public security and was affirmed by the community. 4, further strengthening of foreign and overseas Chinese Affairs, local records ' compilation and civil air
本文档为【维纳滤波器的设计】,请使用软件OFFICE或WPS软件打开。作品中的文字与图均可以修改和编辑, 图片更改请在作品中右键图片并更换,文字修改请直接点击文字进行修改,也可以新增和删除文档中的内容。
该文档来自用户分享,如有侵权行为请发邮件ishare@vip.sina.com联系网站客服,我们会及时删除。
[版权声明] 本站所有资料为用户分享产生,若发现您的权利被侵害,请联系客服邮件isharekefu@iask.cn,我们尽快处理。
本作品所展示的图片、画像、字体、音乐的版权可能需版权方额外授权,请谨慎使用。
网站提供的党政主题相关内容(国旗、国徽、党徽..)目的在于配合国家政策宣传,仅限个人学习分享使用,禁止用于任何广告和商用目的。
下载需要: 免费 已有0 人下载
最新资料
资料动态
专题动态
is_079973
暂无简介~
格式:doc
大小:450KB
软件:Word
页数:0
分类:生活休闲
上传时间:2017-12-13
浏览量:33