当前位置:网站首页>M BTS antenna design based on MATLAB, with GUI interface

M BTS antenna design based on MATLAB, with GUI interface

2022-07-19 07:07:00 I love c programming

Catalog

1. Algorithm description

2. Partial procedure

3. Preview of some simulation drawings

4. Source code acquisition method  


1. Algorithm description

Content : N Antennas are equally spaced in z On the shaft , The first N And the first N-1 The distance between the antennas is certain for d.

There is a red piece above , It's calculation Taylor Formula , One question is , Can I call directly pos Of function and phase weight Just multiply by one more w(i), I've always made mistakes in my experiments , Hope to help correct ;

Four ways :

superposition+sidelobedown ( Variable m Control the number null filling,amplitude)

taylor+superposition( imp: 1 It's on the left null -1 Or the one on the right null,sidelevel,null() Number one null filling, amplitude)

Chebwin+superposition(m: Number one null filling,flag:1 It's on the left null,-1 It's on the right null, sidelevel,amplitude)

Chebwin+Taylor (chebwin sideleve,Taylor sidelevel)

2. Partial procedure

function normalized_y = func_Chebwin_supersition_sub1(N,f,b_angle,pos,sidelevel);

Phaseweight  = zeros(1,180);
w            = chebwin(N,sidelevel);
for t=1:1:180
    temp       = zeros(1,N);  
    total_temp = zeros(1,N);
    for i=1:N
        belta         = calculate_weights(f,N,-1,b_angle,pos(i));
        weight        = calculate_weights(f,N, 1,t      ,pos(i)); 
        total_temp(i) = real(w(i)*(weight.*belta));
    end
    Phaseweight(t)=sum(total_temp);
end

y            = Phaseweight;
ymax         = max(abs(y/0.1));
normalized_y = abs(y)/ymax;
function normalized_y = func_supersition_sidelobedown_sub1(N,f,b_angle,pos);

Phaseweight  = zeros(1,180);
for t=1:1:180
    temp=zeros(1,N);    
    for i=1:N
        belta   = calculate_weights(f,N,-1,b_angle,pos(i));
        weight  = calculate_weights(f,N, 1,t      ,pos(i));
        temp(i) = real(weight.*belta);
    end
    Phaseweight(t)=sum(temp);
end
 
y              = Phaseweight;
ymax           = max(abs(y/(0.3)));
normalized_y   = abs(y)/ymax;
function normalised_normal_y = func_Taylor_chebwin_sub1(N,f,a,pos);

Phaseweight=zeros(1,180);
for t=1:1:180
    temp=zeros(1,N);
    for i=1:N
        belta   = calculate_weights(f,N,-1,a,pos(i));
        weight  = calculate_weights(f,N,1,t,pos(i));
        temp(i) = real(weight.*belta);
    end
    Phaseweight(t)=sum(temp);
end

normal_y            = Phaseweight;
normal_ymax         = max(abs(normal_y));
normalised_normal_y = abs(normal_y)/normal_ymax;
function normalized_y = func_Taylor_supersition_sub1(N,f,b_angle,pos,sidelevel,n,d);

Phaseweight  = zeros(1,180);
w            = Taylor(n,N,sidelevel,f,d);

for t=1:1:180
    total_temp = zeros(1,N);
    for i=1:N
        belta         = calculate_weights(f,N,-1,b_angle,pos(i));
        weight        = calculate_weights(f,N, 1,t      ,pos(i));
        total_temp(i) = real(w(i)*weight.*belta);
    end
    Phaseweight(t)=sum(total_temp);
end

y            = Phaseweight;
ymax         = max(abs(y/0.1));
normalized_y = abs(y)/ymax;

3. Preview of some simulation drawings

 

 

 

4. Source code acquisition method  

Get the way 1:

Click the download link :

m be based on matlab Of BTS Antenna design , belt GUI Interface + Program operation video

Access method 2:

Blog resource item , Search for resources with the same name as blog .

Access method 3:

If the download link fails , Blogger wechat contact .

01_052_m
 

原网站

版权声明
本文为[I love c programming]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/200/202207170520334173.html