具有 1 个射频链的 OFDM-MIMO 系统的波束训练(Matlab代码实现)
👨🎓个人主页:研学社的博客
💥💥💞💞欢迎来到本博客❤️❤️💥💥
🏆博主优势:🌞🌞🌞博客内容尽量做到思维缜密,逻辑清晰,为了方便读者。
⛳️座右铭:行百里者,半于九十。
📋📋📋本文目录如下:🎁🎁🎁
目录
💥1 概述
本文包括波束训练、MIMO 信道生成、DFT 码本构建。DFT码本是为平面天线阵列构建的。
📚2 运行结果
🌈3 Matlab代码实现
部分代码:
%% Clear workspace
clear;
close all;
rng(0);
%% System parameters
fc = 30e9; % carrier frequency
N = 64; % number of subcarriers
L = 20; % number of clusters
M = 20; % number of non-resolvable paths per cluster
numRF = 1; % 1 data stream
% Antenna arrays - use isotropic antenna elements
% Transmitter
Ntv = 8;
Nth = 8;
Nt = Ntv*Nth;
% Define tapers to reduce sidelobes
dBdown = 30; % dB
taperz = chebwin(Ntv,dBdown);
tapery = chebwin(Nth,dBdown);
tap = taperz*tapery.'; % Multiply vector tapers to get 8-by-8 taper values
arrayTx = phased.URA('Size',[Ntv Nth],'ElementSpacing',[0.5*physconst('LightSpeed')/fc 0.5*physconst('LightSpeed')/fc],'Taper',tap);
posTx = getElementPosition(arrayTx);
% Receiver
Nrv = 4;
Nrh = 4;
Nr = Nrv*Nrh;
% Define tapers to reduce sidelobes
dBdown = 30; % dB
taperz = chebwin(Nrv,dBdown);
tapery = chebwin(Nrh,dBdown);
tap = taperz*tapery.'; % Multiply vector tapers to get 8-by-8 taper values
arrayRx = phased.URA('Size',[Nrv Nrh],'ElementSpacing',[0.5*physconst('LightSpeed')/fc 0.5*physconst('LightSpeed')/fc],'Taper',tap);
posRx = getElementPosition(arrayRx);
%% DFT codebook
eleSpacing = 0.5; % element spacing, normalized by wavelength
[beamTx,beamAngleTx,beamAngleElTx,beamAngleAzTx,beamElTx,beamAzTx] = getDFTCodebook(Ntv,Nth,eleSpacing,eleSpacing);
[beamRx,beamAngleRx,beamAngleElRx,beamAngleAzRx,beamElRx,beamAzRx] = getDFTCodebook(Nrv,Nrh,eleSpacing,eleSpacing);
% % Check a certain beam (index:18) at transmitter
% figure();pattern(arrayTx,fc,[-180:180],[-89:90],'PropagationSpeed',physconst('LightSpeed'),'CoordinateSystem','polar','Type','powerdb','Weights',beamTx(:,18));
%
% % Check beam patterns in azimuth using linear array (transmitter)
% array = phased.ULA('NumElements',Nth,'ElementSpacing',0.5*physconst('LightSpeed')/fc);
% figure();
% for n = 1:Nth
% pattern(array,fc,[-180:180],0,'PropagationSpeed',physconst('LightSpeed'),'CoordinateSystem','polar','Type','powerdb','Weights',beamAzTx(:,n));hold on;
% end
%% Perform beam training
% Generate MIMO channels
[h,arrayResponseTx,arrayResponseRx,pathGain] = MIMOChan(Nt,Nr,L,M,posTx,posRx);
H = 1/sqrt(N)*fft(h,N,3); % frequency-domain channel
% Beam sweeping
rPower = zeros(Nt,Nr,N);
🎉4 参考文献
部分理论来源于网络,如有侵权请联系删除。
[1]Narengerile (2022). Beam training for OFDM-MIMO system with 1 RF chain
相关文章
- matlab 点云可视化(2)——pcshowpair()可视化两点云之间的差异
- 基于双层优化的微电网系统规划设计方法(Matlab代码实现)
- 【非侵入式负载监测】低采样率电动汽车充电的无训练非侵入式负载监测(Matlab代码实现)
- 基于蒙特卡洛的电动车有序充放电(Matlab代码实现)
- 基于改进蛙跳优化算法( SFLA) 训练神经网络研究(Matlab代码实现)
- 基于PSO训练常规自动编码器(Matlab代码实现)
- 时间序列预测--基于CNN的股价预测(Matlab代码实现)
- 无人机路径规划(Matlab代码实现)
- m基于LS+变步长LMS的Volterra级数数字预失真DPD系统matlab仿真
- m基于GA遗传优化算法的水库调度优化matlab仿真
- m基于PCA-SA低纬紧致姿态空间学习算法的单目视频人体姿态提取matlab仿真
- 基于KDtree的电路故障检测算法的MATLAB仿真
- 基于LSTM-RNN的深度学习网络的训练对比matlab仿真
- m基于GRNN广义回归神经网络的飞机发动机剩余寿命预测matlab仿真,训练集采用C-MAPSS数据集
- MATLAB APP 设计实践(一)UART通信(上篇)