姓名:邓某某学号:你猜杭州电子科技大学实验一Okumura-Hata方法计算机仿真【实验目的】加深对奥村模型的理解;能够使用Matlab利用Okumura-Hata方法计算基本传输损耗;比较奥村模型和Okumura-Hata方法获得的基本传输损耗的差异,分析Okumura-Hata方法的误差。【实验内容】使用Matlab利用Okumura-Hata方法计算基本传输损耗;分析Okumura-Hata方法的误差;【实验设备】一台PC机【实验步骤】1.采用Okumura-Hata方法分别计算大城市市区地区准平滑地形、郊区和开阔区,基站天线高度是200米,手机天线高度是3米情况下,不同传播距离和不同载波频率条件下的传播损耗中值。画出相应的曲线。2.将计算结果和通过奥村模型实测测得的结果进行比较,验证计算结果的正确性。3.分析Okumura-Hata方法在何距离以及何频率范围内存在较大的误差。【实验内容】1.大城市clear;hb=200;hm=3;ford=[125103060100]f1=150:0.1:300;Lb11=69.55+26.16*log10(f1)-13.82*log10(hb)-(8.29*log10(1.54*hm).^2-1.1)+(44.9-6.55*log10(hb))*log10(d);f2=300:0.1:1920;Lb12=69.55+26.16*log10(f2)-13.82*log10(hb)-(3.2*(log10(11.75*hm)).^2-4.97)+(44.9-6.55*log10(hb))*log10(d);f=[f1f2];Lb1=[Lb11Lb12];figure(1);holdon;plot(f,Lb1,'r');endgrid;title('大城市');xlabel('频率/MHz');ylabel('损耗中值/dB');020040060080010001200140016001800200090100110120130140150160170180190大城市频率/MHz损耗中值/dB2.郊区clear;hb=200;hm=3;ford=[125103060100]f1=150:0.1:300;Lb11=69.55+26.16*log10(f1)-13.82*log10(hb)-(8.29*log10(1.54*hm).^2-1.1)+(44.9-6.55*log10(hb))*log10(d);Lb21=Lb11-2*(log10(f1/28)).^2-5.4;f2=300:0.1:1920;Lb12=69.55+26.16*log10(f2)-13.82*log10(hb)-(3.2*(log10(11.75*hm)).^2-4.97)+(44.9-6.55*log10(hb))*log10(d);Lb22=Lb12-2*(log10(f2/28)).^2-5.4;f=[f1f2];Lb2=[Lb21Lb22];figure(1);holdon;plot(f,Lb2,'b');endgrid;title('郊区');xlabel('频率/MHz');ylabel('损耗中值/dB');02004006008001000120014001600180020008090100110120130140150160170郊区频率/MHz损耗中值/dB3.开阔区clear;hb=200;hm=3;ford=[125103060100]f1=150:0.1:300;Lb11=69.55+26.16*log10(f1)-13.82*log10(hb)-(8.29*log10(1.54*hm).^2-1.1)+(44.9-6.55*log10(hb))*log10(d);Lb21=Lb11-2*(log10(f1/28)).^2-5.4;Lb31=Lb11-4.78*(log10(f1)).^2+18.33*log10(f1)-40.98;f2=300:0.1:1920;Lb12=69.55+26.16*log10(f2)-13.82*log10(hb)-(3.2*(log10(11.75*hm)).^2-4.97)+(44.9-6.55*log10(hb))*log10(d);Lb22=Lb12-2*(log10(f2/28)).^2-5.4;Lb32=Lb12-4.78*(log10(f2)).^2+18.33*log10(f2)-40.98;f=[f1f2];Lb3=[Lb31Lb32];figure(3);holdon;plot(f,Lb3,'g');endgrid;title('开阔区');xlabel('频率/MHz');ylabel('损耗中值/dB');020040060080010001200140016001800200060708090100110120130140150开阔区频率/MHz损耗中值/dB4.clear;hb=200;hm=3;ford=[125103060100]f1=150:0.1:300;Lb11=69.55+26.16*log10(f1)-13.82*log10(hb)-(8.29*log10(1.54*hm).^2-1.1)+(44.9-6.55*log10(hb))*log10(d);Lb21=Lb11-2*(log10(f1/28)).^2-5.4;Lb31=Lb11-4.78*(log10(f1)).^2+18.33*log10(f1)-40.98;f2=300:0.1:1920;Lb12=69.55+26.16*log10(f2)-13.82*log10(hb)-(3.2*(log10(11.75*hm)).^2-4.97)+(44.9-6.55*log10(hb))*log10(d);Lb22=Lb12-2*(log10(f2/28)).^2-5.4;Lb32=Lb12-4.78*(log10(f2)).^2+18.33*log10(f2)-40.98;f=[f1f2];Lb1=[Lb11Lb12];Lb2=[Lb21Lb22];Lb3=[Lb31Lb32];figure(1);holdon;plot(f,Lb1,'r');plot(f,Lb2,'b');plot(f,Lb3,'g');endgrid;title('大城市—红,郊区—蓝,开阔区—绿');xlabel('频率/MHz');ylabel('损耗中值/dB');02004006008001000120014001600180020006080100120140160180200大城市—红,郊区—蓝,开阔区—绿频率/MHz损耗中值/dB【结果分析】1.频率和距离对大城市和郊区及开阔区的影响基本趋势都是一致的:当距离d取值一定时,随着工作频率的增大,损耗中值随之增大,并且随着频率的不断增大,损耗中值增大的幅度逐渐减缓。2.同等情况下,大城市的损耗中值比中小城市略大,根据现实情况这点不难理解。3.从实验结果图可知道:同等情况下,大城市,郊区,开阔区三者的损耗中值由小到大依次为:开阔区、郊区、大城市。