登 录
註 冊
论坛
微波仿真网
注册
登录论坛可查看更多信息
微波仿真论坛
>
天线交流版
>
泰勒离散线源综合-matlab实现
发帖
回复
1295
阅读
1
回复
[
原创
]
泰勒离散线源综合-matlab实现
离线
hiramlee
今天,你为梦想做了什么? Take your passion
UID :104247
注册:
2013-01-27
登录:
2018-05-22
发帖:
51
等级:
仿真一级
0楼
发表于: 2017-06-19 22:16:55
关键词:
天线
泰勒
综合
/&:9VMMj
function I = taylor_line(N, SLL)
!O6Is'%B
8VmN?"5v
M = 10000;
\,gZNe&Vv
d = 1/2;
"3|"rc&F#
L = (N)*d;% antenna length
('-}"3
theta = 0:pi/M:pi;%
%QgAilj,
% theta = linspace(-pi/2,pi/2,M+1)
U_;J.{n
x = L*cos(theta);
5{0>7c|.
f0 = 1e9;
<57l|}8
%lambda = 3e8/f0;
#ljg2:I+
%d = lambda/2;% elements spacing
Wky S Tc
k =2*pi;% wave constant
Qf>Pb$c$U
R = 20; % amplitude ration between mainbeam and sidelobe , dB
8ysK VF
A = acosh(10^(-SLL/20))/pi;
Q|KD/s??
% T = cos(pi*sqrt(x.^2-A^2));
K=?F3tX^
% af = 20*log10(abs(T)/max(T));
,M&0<k\
% error = 0.001;
W+ '}O<
% % af=U;
k3[h'.ps
% pos1_3dB = [];
zZc@;S#
% pos_max = find(max(af)==af);
i;zGw.;Q
% while(isempty(pos1_3dB))
r_,m\'~s!
% pos1_3dB = find(abs(((af(1:pos_max)-af(pos_max)))+3) < error);
(OcNC/9
% error = error + 0.001;
fsc~$^.~\
% end
Z_ gVYa
% error = 0.001;
K('lH-3wS
% pos2_3dB = [];
R(83E B~_
% while(isempty(pos2_3dB))
#Rx"L&3Ue
% pos2_3dB = find(abs(((af(pos_max:end)-af(pos_max)))+3) < error);
]MLLr'6?
% error = error + 0.001;
Pd "mb~
% end
K_|~3g
% BeamWidth= (theta(pos2_3dB(1)+pos_max)-theta(pos1_3dB(end)))/pi*180;
CPNN!%-
% figure;
0o$HC86w
% plot(theta,af);
m'(;uR`
% hold on;
s|j<b#<xQ
% str = strcat('L=', num2str(L),'\lambda, SLL = -',num2str(R) ,'dB ');
6q[!X0u
% bw = strcat('mainbeam beamwidth=',num2str(BeamWidth),'degree ');
KbdfSF$
% text(pi*2/3,-5,str,'fontsize',12);
Gi2ad+QH-
% text(pi*2/3,-8,bw,'fontsize',12);
*\:_o5o%[T
% title('Radiation Pattern of an Idealized Equvialent Sidelobe Array ');
eQVPxt2N
% xlabel('Phase');
pb6^sA%l
% ylabel('Amplitude');
`vxrC&,As
% ylim([-60 0]);
,e FQ}&^A
%%
P"uHtHK
% Taylor synthesis
XH:gQ 9FD
% theta = -pi/2:0.01:pi/2;%
Owpg]p yVD
% x = L*cos(theta);
)g:,_ 1s)|
XVDd1#h
n1 =ceil(A^2*2+0.5);% the first 3 sidelobes have almost same amplitude
MupW=3.38
% n1 =4;
1|WpKaMoq
%I=taylorwin(N,n1,SLL);
<S8W~wC
sigma = n1/sqrt(A^2+(n1-0.5)^2);
)cKtc
xn = zeros(1,n1-1);
VUC <0WV
for j = 1:1:n1-1
-Bo~"q
xn(j) = sigma*sqrt(A^2+(j-0.5)^2);
;#yu"6{
% xn(j) = j*sqrt(A^2+(j-0.5).^2)/sqrt(A^2+(n1-0.5).^2);
\*%i#]wO@
end
c`i=(D<
for i = 1:1:length(x)
+ lB+|yJ+
if x(i) ~= 0
@ZkAul0@
T(i) = sin(pi*x(i))/pi/x(i)*cosh(pi*A);
-V u/TT0
for j = 1:1:n1-1
*Iwk47J ;a
T(i) = T(i)*(1-(x(i)/xn(j))^2)/(1-(x(i)/j)^2);
nN`Z0?
end
T$^>Fiz{Se
else
EdAR<VfleA
T(i) = cosh(pi*A);
7vpN6YP
for j = 1:1:n1-1
}\ 939Y
T(i) = T(i)*(1-(x(i)/xn(j))^2)/(1-(x(i)/j)^2);
]6BmCh
end
q= yZx)
end
(OyY_`
end
y+";
T = T / max(T);
&[ u6oAR
.p(6' TYnI
I =ones(1,N);
a][pTC\ rb
% zn = zeros(1,N);
{eswe
for i = 1:1:N
Vo 6y8@\
if mod(N,2) == 1
,M@m4bx
zn = abs((i-(N+1)/2)*d*2/L);
|aS~"lImh
else
Z&]+A,
%#zn = (i-(N+1)/2)*d
{ 0%TMiVf
if i < (N+1)/2
v*H &