相控阵雷达的波位编排_第1页
相控阵雷达的波位编排_第2页
相控阵雷达的波位编排_第3页
相控阵雷达的波位编排_第4页
相控阵雷达的波位编排_第5页
已阅读5页,还剩2页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、%本程序用于雷达球坐标系到正弦空间坐标系的转换,以及相控阵雷达的波位编排。070129, by goodtony. %070228添加波位数据保存 clear all close all clc %波束宽度,单位:度 BeamWidth = 3.6; theta05 = round(sin(BeamWidth*pi/180)*1000)/1000; %雷达作用空域 AZ = -15 15; %方位角范围(雷达球坐标系),单位:度 EL = 0 30; %俯仰角范围(雷达球坐标系),单位:度 %阵面倾角,单位:度 thetaT = atan(-(cos(EL(1)*pi/180) - cos(E

2、L(2)*pi/180)/(sin(EL(1)*pi/180) - sin(EL(2)*pi/180)*cos(AZ(2)*pi/180)*180/pi; %左边界 az = AZ(1); el = EL(1):EL(2); alpha1 = cos(el*pi/180)*sin(az*pi/180); beta1 = sin(el*pi/180)*cos(thetaT*pi/180)-cos(el*pi/180)*cos(az*pi/180)*sin(thetaT*pi/180); %右边界 az = AZ(2); el = EL(1):EL(2); alpha2 = cos(el*pi/1

3、80)*sin(az*pi/180); beta2 = sin(el*pi/180)*cos(thetaT*pi/180)-cos(el*pi/180)*cos(az*pi/180)*sin(thetaT*pi/180); %下边界 az = AZ(1):AZ(2); el = EL(1); alpha3 = cos(el*pi/180)*sin(az*pi/180); beta3 = sin(el*pi/180)*cos(thetaT*pi/180)-cos(el*pi/180)*cos(az*pi/180)*sin(thetaT*pi/180); %上边界 az = AZ(1):AZ(2)

4、; el = EL(2); alpha4 = cos(el*pi/180)*sin(az*pi/180); beta4 = sin(el*pi/180)*cos(thetaT*pi/180)-cos(el*pi/180)*cos(az*pi/180)*sin(thetaT*pi/180); lowup = max(beta3); lowest = min(beta3); rightest = max(alpha3) + theta05/2; leftest = min(alpha3) - theta05/2; upest = max(beta4); uplow = min(beta4); fi

5、gure(1),plot(alpha1,beta1,'r');axis( leftest-0.1 rightest+0.05 lowest-0.05 upest+0.1);hold on;grid on; title('雷达波束在正弦空间的编排');xlabel('alpha(rad)');ylabel('beta(rad)'); plot(alpha2,beta2,'r'); plot(alpha3,beta3,'r'); plot(alpha4,beta4,'r'); % pau

6、se(0.1) %= BoweiNumber = 0; Mx = 2*round(rightest/theta05)-1; My = round(upest - lowest)/(0.866*theta05); arr_x0 = zeros(My,Mx); %波位坐标(方位角) arr_y0 = zeros(My,Mx); %波位坐标(俯仰角) arr_NboweiRow = zeros(My,1); %每一行的波位数目 %-奇数行- m = 0; for y0 = lowest+theta05/2: 2*0.866*theta05 : upest m = m + 1; n = 0; Nbow

7、eiRow = 0; for x0 = 0:theta05:rightest n = n + 1; x = (-theta05/2:0.001:theta05/2) + x0; y1 = sqrt(theta05/2)2 - (x - x0).2) + y0; y2 = -sqrt(theta05/2)2 - (x - x0).2) + y0; % alpha2,beta2:右边界 flag = 0; minValue minSite = min(abs(beta2 - y0); if alpha2(minSite) + theta05/2 >= x0 flag = 1; end if

8、y0 < lowup % alpha3,beta3:下边界 minValue minSite = min(abs(alpha3 - x0); if beta3(minSite) > y0 flag = 0; end end if y0 > uplow % alpha4,beta4:上边界 minValue minSite = min(abs(alpha4 - x0); if beta4(minSite) + theta05/2 <= y0 flag = 0; end end if flag = 1 NboweiRow = NboweiRow + 1; plot(x,re

9、al(y1); plot(x,real(y2); pause(0.01) BoweiNumber = BoweiNumber + 1; arr_x0(m-1)*2+1,round(Mx/2)+n) = x0; arr_y0(m-1)*2+1,round(Mx/2)+n) = y0; end end arr_NboweiRow( (m-1)*2 + 1 ) = NboweiRow; end m = 0; for y0 = lowest+theta05/2 : 2*0.866*theta05 : upest m = m + 1; n = 0; NboweiRow = 0; for x0 = -th

10、eta05:-theta05:leftest n = n + 1; x = (-theta05/2:0.001:theta05/2) + x0; y1 = sqrt(theta05/2)2 - (x - x0).2) + y0; y2 = -sqrt(theta05/2)2 - (x - x0).2) + y0; % alpha1,beta1:左边界 flag = 0; minValue minSite = min(abs(beta1 - y0); if alpha1(minSite) - theta05/2 <= x0 flag = 1; end if y0 < lowup %

11、alpha3,beta3:下边界 minValue minSite = min(abs(alpha3 - x0); if beta3(minSite) > y0 flag = 0; end end if y0 > uplow % alpha4,beta4:上边界 minValue minSite = min(abs(alpha4 - x0); if beta4(minSite) + theta05/2 <= y0 flag = 0; end end if flag = 1 NboweiRow = NboweiRow + 1; plot(x,real(y1); plot(x,r

12、eal(y2); pause(0.01) BoweiNumber = BoweiNumber + 1; arr_x0(m-1)*2+1,round(Mx/2)-n+1) = x0; arr_y0(m-1)*2+1,round(Mx/2)-n+1) = y0; end end arr_NboweiRow( (m-1)*2 + 1 ) = arr_NboweiRow( (m-1)*2 + 1 ) + NboweiRow; end %-偶数行- m = 0; for y0 = lowest+theta05/2+0.866*theta05 : 2*0.866*theta05 : upest m = m

13、 + 1; n = 0; NboweiRow = 0; for x0 = theta05/2:theta05:rightest n = n + 1; x = (-theta05/2:0.001:theta05/2) + x0; y1 = sqrt(theta05/2)2 - (x - x0).2) + y0; y2 = -sqrt(theta05/2)2 - (x - x0).2) + y0; % alpha2,beta2:右边界 flag = 0; minValue minSite = min(abs(beta2 - y0); if alpha2(minSite) + theta05/2 &

14、gt;= x0 flag = 1; end if y0 < lowup % alpha3,beta3:下边界 minValue minSite = min(abs(alpha3 - x0); if beta3(minSite) > y0 flag = 0; end end if y0 > uplow % alpha4,beta4:上边界 minValue minSite = min(abs(alpha4 - x0); if beta4(minSite) + theta05/2 <= y0 flag = 0; end end if flag = 1 NboweiRow =

15、 NboweiRow + 1; plot(x,real(y1); plot(x,real(y2); pause(0.01) BoweiNumber = BoweiNumber + 1; arr_x0(m*2,round(Mx/2)+n+1) = x0; arr_y0(m*2,round(Mx/2)+n+1) = y0; end end arr_NboweiRow( m*2 ) = NboweiRow; end m = 0; for y0 = lowest+theta05/2+0.866*theta05 : 2*0.866*theta05 : upest m = m + 1; n = 0; Nb

16、oweiRow = 0; for x0 = -theta05/2:-theta05:leftest n = n + 1; x = (-theta05/2:0.001:theta05/2) + x0; y1 = sqrt(theta05/2)2 - (x - x0).2) + y0; y2 = -sqrt(theta05/2)2 - (x - x0).2) + y0; % alpha1,beta1:左边界 flag = 0; minValue minSite = min(abs(beta1 - y0); if alpha1(minSite) - theta05/2 <= x0 flag =

17、 1; end if y0 < lowup % alpha3,beta3:下边界 minValue minSite = min(abs(alpha3 - x0); if beta3(minSite) > y0 flag = 0; end end if y0 > uplow % alpha4,beta4:上边界 minValue minSite = min(abs(alpha4 - x0); if beta4(minSite) + theta05/2 <= y0 flag = 0; end end if flag = 1 NboweiRow = NboweiRow + 1

18、; plot(x,real(y1); plot(x,real(y2); pause(0.01) BoweiNumber = BoweiNumber + 1; arr_x0(m*2,round(Mx/2)-n+1) = x0; arr_y0(m*2,round(Mx/2)-n+1) = y0; end end arr_NboweiRow( m*2 ) = arr_NboweiRow( m*2 ) + NboweiRow; end %- % figure(2), % b,a = size(arr_x0); % for mm = 1:b; % for nn = 1:a % plot(arr_x0(mm,nn),arr_y0(mm,nn),'o','LineWidth',2,. % 'MarkerEdgeColor','y',. % 'MarkerFaceCol

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论