Main Content

ltefrequencyOffset

Frequency offset estimation using cyclic prefix

描述

Foffset= ltefrequencyOffset(CFGDL,,,,波形estimates the average frequency offset,Foffset,时间域波形,波形,,,,by calculating correlation of the cyclic prefix. The parameters of波形are given in the downlink settings structure,CFGDLCFGDL必须包含字段ndlrb指定预期的下行链路信号波形

例子

Foffset= ltefrequencyOffset(cfgul,,,,波形estimates the average frequency offset,Foffset,时间域波形,波形,,,,by calculating correlation of the cyclic prefix. The parameters of波形在上行链路设置结构中给出cfgulcfgul必须包含字段nulrbto specify that an uplink signal is expected in波形

[[Foffset,,,,corr] = ltefrequencyOffset(___还返回一个复杂的矩阵,corr,跨越一个插槽并包含相同数量的天线或列波形corris the signal used to extract the timing of the correlation for the estimation of the frequency offset.

[[Foffset,,,,corr] = ltefrequencyOffset(___,,,,toffsetprovides control over the position in the correlator output used to estimate the frequency offset. When presenttoffset是从相关器输出开始到用于频率偏移估计的位置的样本中的定​​时偏移。此输入允许在持续时间更长的信号上外部计算时序偏移,而不是输入波形。这允许在保留长期定时估计的好处时获得短期频率偏移估计。

笔记

如果toffset不存在,内部定时估计的质量符合输入的长度和信号质量波形因此,这可能导致频率偏移测量不正确。

例子

全部收缩

在上行链路信号上执行频率偏移估计和校正,并应用了频率偏移。

生成上行链路RMC A3-2。

[txwaveform,rgrid,cfg] = ltermcultool('A3-2',[1; 0; 0; 1],,'fdd',2);

应用任意频率偏移为51.2 Hz。

t =(0:长度(txwaveform)-1)。'/cfg.samplingrate;txwaveform = txwaveform。*exp(1i*2*pi*51.2*t);

估计并显示频率偏移。

offset = ltefrequencyOffset(CFG,txwaveform);disp([[“频率偏移:”num2str(offset)' Hz'])
频率偏移:51.2 Hz

正确频率偏移。

rxwaveform = ltefrequencyCorrect(CFG,TXWAVEFORM,OFFSET);

执行SC-FDMA解调。

rxGrid = lteSCFDMADemodulate(cfg,rxWaveform);

输入参数

全部收缩

下行链路配置,指定为具有以下字段的结构。

参数字段 必需或可选 描述
ndlrb Required

标量整数从6到110

下行链路资源块的数量。(( n RB DL

循环序列 可选的

'普通的'(默认),'Extended'

循环前缀长度

双工模板 可选的

'fdd'(默认),'TDD'

双链模式,指定为:

  • 'fdd'用于频分式双工或

  • 'TDD'用于时间分段的双工

The following apply when双工模板is set to'TDD'

tddconfig 可选的

0,1(默认),2,3,4,5,6

Uplink–downlink configuration

SSC 可选的

0(默认),1、2、3、4、5、6、7、8、9

特殊副帧配置(SSC)

nsubframe 可选的

0 (default), nonnegative scalar integer

子帧号

数据类型:结构

Uplink configuration, specified as a structure having the following fields.

参数字段 必需或可选 描述
nulrb Required

标量整数从6到110

number of uplink resource blocks. ( n RB Ul

循环折叠 可选的

'普通的'(默认),'Extended'

循环前缀长度

双工模板 可选的

'fdd'(默认),'TDD'

双链模式,指定为:

  • 'fdd'用于频分式双工或

  • 'TDD'用于时间分段的双工

The following apply when双工模板is set to'TDD'

tddconfig 可选的

0,1(默认),2,3,4,5,6

Uplink–downlink configuration

SSC 可选的

0(默认),1、2、3、4、5、6、7、8、9

特殊副帧配置(SSC)

nsubframe 可选的

0 (default), nonnegative scalar integer

子帧号

数据类型:结构

Input time-domain waveform, specified as a numeric column vector.

数据类型:双倍的|单身的
复杂的数字支持:万博1manbetx是的

定时偏移,,,,specified as a scalar value expressed in samples. Usetoffset控制用于估计频率偏移的相关输出中的位置。如果toffsetis absent, or empty, the position of the peak magnitude of the correlator output is used.

数据类型:双倍的|单身的

输出参数

全部收缩

平均频率偏移估计值,作为标量值返回,在赫兹(Hertz)中表示。此函数只能准确估计频率偏移量高达±7.5 kHz(范围为15 kHz,子载波间距)。

数据类型:双倍的|单身的

Correlation timing signal, returned as a numeric matrix.corr是一个复杂的矩阵,它跨越一个插槽,并包含相同数量的天线或柱波形。它是用于提取频率偏移估计的相关时间的信号。

数据类型:双倍的|单身的
复杂的数字支持:万博1manbetx是的

版本历史记录

Introduced in R2014a