lteFadingChannel
Multipath fading MIMO channel propagation conditions
描述
例子
通过褪色通道传输多个子帧
Define the channel configuration structure.
model = struct(DelayProfile="EPA",NRxAnts=1,。。。DopplerFreq = 5,MIMOCorrelation="Low",。。。Seed=1,InitPhase="Random",ModelType=“ gmeds”,。。。NTerms=16,NormalizeTxAnts="On",。。。NormalizePathGains="On");
Define the transmission waveform configuration structure, initialized to reference measurement channel (RMC) R.10 and one subframe.
rmc = lteRMCDL("R.10");rmc.totsubframes = 1;
Generate ten subframes, one subframe at a time, by following these steps.
Define
delay
, which accounts for a combination of implementation delay and channel delay spread.Set the subframe number and initialize the subframe start time, allocating 1 ms per subframe.
Generate a transmit waveform.
初始化发射天线的数量和波形采样速率。
Send the waveform through the channel. Append
delay
0之前生成的波形通道filtering.
delay = 25;forsubframeNumber = 0:9 rmc.NSubframe = mod(subframeNumber,10); model.InitTime = subframeNumber/1000; [waveform,txGrid,info] = lteRMCDLTool(rmc,[1; 0; 1; 1]); numTxAnt = size(waveform,2); model.SamplingRate = info.SamplingRate; tx = [waveform; zeros(delay,numTxAnt)]; [rx,info] = lteFadingChannel(model,tx);end
Transmit Two Consecutive Frames over Fading Channel
Transmit two consecutive frames over a fading channel while maintaining continuity in the fading process between the end of the first frame and the beginning of the second frame.
Initialize a resource grid to RMC R.10 and generate a transmit waveform for the first frame.
rmc = lteRMCDL("R.10");[waveform,~,info] = lteRMCDLTool(rmc,[1; 0; 1]);
Initialize a propagation channel configuration structure and set the start time for the first frame.
model = struct(DelayProfile="EPA",NRxAnts=1,。。。DopplerFreq=5,MIMOCorrelation="Low",。。。SamplingRate=info.SamplingRate,Seed=1,。。。InitPhase="Random",ModelType=“ gmeds”,。。。NTerms=16,NormalizeTxAnts="On",。。。NormalizePathGains="On",InitTime=0); nTxAnts = size(waveform,2);
Definedelay
and append zeros to the generated waveform prior to channel filtering.
delay = 25; tx = [waveform; zeros(delay,nTxAnts)];
Filter the first frame through the channel.
[rx1,info1] = lteFadingChannel(model,tx);
Update the frame number, and then generate a transmit waveform for the second frame with the start time set to 10 ms.
model.NFrame = 1; [waveform,txGrid] = lteRMCDLTool(rmc,[1; 0; 1]); tx = [waveform; zeros(delay,nTxAnts)]; model.InitTime = 10e-3;
通过第二帧穿过通道。
[rx2,info2] = lteFadingChannel(model,tx);
Input Arguments
model
—Multipath fading channel model
structure
多路径褪色通道模型,指定为包含这些字段的结构。
Field | 必需的or Optional | Values | 描述 | Dependencies |
---|---|---|---|---|
NRxAnts |
必需的 | Positive integer |
Number of receive antennas | Not applicable |
微相关 |
必需的 |
|
Correlation between UE and eNodeB antennas.
Note Because the |
|
NormalizeTxAnts |
Optional |
|
Transmit antenna number normalization. To normalize the output waveform by1/√P, wherePis the number of transmit antennas, set this field to |
|
DelayProfile |
必需的 |
|
延迟配置文件模型。有关更多信息,请参阅Propagation Channel Models。 To completely switch off fading and implement a MIMO channel model that is constant in time and frequency, set this field to |
|
DopplerFreq |
必需的 | 非负标量 | Maximum Doppler frequency in Hz | 要启用这些字段,请设置DelayProfile 字段到a value other than"Off" 。 |
SamplingRate |
必需的 | 正标量 | Input waveform sampling rate | |
停赛时间 |
必需的 | 非负标量 | Fading process time offset in seconds |
|
NTerms |
Optional |
功率2 |
用于褪色路径建模的振荡器数量 |
|
ModelType |
Optional |
|
Rayleigh fading model type. Note Setting this field to |
|
NormalizePathGains |
Optional |
|
Model output normalization.
|
|
InitPhase |
Optional |
标量 4-D阵列 |
Phase initialization for the sinusoidal components of the model.
Note
|
|
Seed |
必需的 | 标量 | 随机数发生器种子。要使用随机种子,请将此字段设置为 Note
|
要启用此字段,请设置DelayProfile 字段到a value other than"Off" and theInitPhase 字段到"Random" 。 |
AveragePathGaindB |
必需的 | Vector | Average gains of the discrete paths in dB |
要启用这些字段,请设置DelayProfile 字段到"Custom" 。 |
PathDelays |
必需的 | Vector | Delays of the discrete paths in seconds. This vector must be the same size as |
|
TxCorrelationMatrix |
必需的 | Complex-valued matrix | Correlation between each of the transmit antennas, specified as a complex-valued matrix of sizeP-经过-P。 |
要启用这些字段,请设置微相关 字段到"Custom" 。 |
RxCorrelationMatrix |
必需的 | Complex-valued matrix | Correlation between each of the receive antennas, specified as a complex-valued matrix of size |
Data Types:struct
tx
—Input samples
complex-valued matrix
Input samples, specified as a complex-valued matrix of sizeT-经过-P, whereTis the number of time-domain samples, andPis the number of transmit antennas. Each column of this input corresponds to the waveform at one transmit antenna.
Data Types:双倍的
|single
Complex Number Support:Yes
Output Arguments
rx
— Channel output waveform
complex-valued matrix
Channel output waveform, returned as a complex-valued matrix. Each column ofrx
corresponds to the waveform at a receive antenna. This output has the same number of rows as thetx
input.
Data Types:双倍的
|single
Complex Number Support:Yes
info
— Channel modeling information
structure
信道建模的信息,作为struct返回ure containing these fields.
Parameter Field | Values | 描述 |
---|---|---|
ChannelFilterDelay |
标量值 |
Implementation delay of the internal channel filtering, in samples |
PathGains |
Numeric array |
Complex gain of the discrete channel paths, returned as a numeric array of sizeT-经过-L-经过-P-经过-
|
路径采样 |
Row vector |
Delays of the discrete channel paths, in samples, returned at the sampling rate specified in the |
AveragePathGaindB |
Row vector | Average gains of the discrete paths in dB |
Data Types:struct
Algorithms
Fading Channel Model Delay
This function implements the MIMO multipath fading channel model specified in[1]and[2]。传输波形通过输入结构指定的多路径雷利褪色通道模型model
。The function resamples the delay profile of themodel
输入以匹配输入波形采样率。当路径延迟不是采样率的倍数时,该函数使用分数延迟过滤器来实现它们。这些过滤器引入了实施延迟info
。
ChannelFilterDelay
samples. The waveform passing through the channel passes through these filters and incurs this channel filter delay regardless of the value of the path delays.
参考
[1]3GPP TS 36.101. “Evolved Universal Terrestrial Radio Access (E-UTRA); User Equipment (UE) radio transmission and reception.”3rd Generation Partnership Project; Technical Specification Group Radio Access Network。https://www.3gpp.org。
[2] 3GPP TS 36.104. “Evolved Universal Terrestrial Radio Access (E-UTRA); Base Station (BS) radio transmission and reception.”3rd Generation Partnership Project; Technical Specification Group Radio Access Network。https://www.3gpp.org。
[3] Dent, P., G. E. Bottomley, and T. Croft. “Jakes Fading Model Revisited.”电子信。29, no. 13 (1993): 1162–1163.
[4]Pätzold,Matthias,Cheng-Xiang Wang和BjørnOlav Hogstad。“两种新的基于Sinusoids的方法,用于有效地生成多个不相关的雷利褪色波形。”IEEE Transactions on Wireless Communications。8,不。6(2009):3122–3131。
Version History
开放示例
You have a modified version of this example. Do you want to open this example with your edits?
matlab命令
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select:。
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- AméricaLatina(Español)
- Canada(英语)
- United States(英语)
Europe
- 比利时(英语)
- 丹麦(英语)
- Deutschland(Deutsch)
- España(Español)
- Finland(英语)
- France(Français)
- Ireland(英语)
- Italia(Italiano)
- Luxembourg(英语)
- Netherlands(英语)
- Norway(英语)
- Österreich(Deutsch)
- Portugal(英语)
- Sweden(英语)
- Switzerland
- 英国(英语)