matlab lltsa函数,Demodulate L-LTF waveform

wlanLLTFDemodulate

Demodulate L-LTF waveform

Description

y = wlanLLTFDemodulate(x,cbw) returns

the demodulated L-LTF[1]

waveform

given time-domain input signal x and channel

bandwidth cbw.

y = wlanLLTFDemodulate(x,cfg) returns

the demodulated L-LTF given the format configuration object, cfg.

y = wlanLLTFDemodulate(___,symOffset) specifies

the OFDM symbol offset, symOffset, using any

of the arguments from the previous syntaxes.

Examples

Demodulate L-LTF for Non-HT Format Transmission

Demodulate the L-LTF used in a non-HT OFDM transmission, after passing the L-LTF through an AWGN channel.

Create a non-HT configuration object and use it to generate an L-LTF signal.

cfg = wlanNonHTConfig;

txSig = wlanLLTF(cfg);

Pass the L-LTF signal through an AWGN channel. Demodulate the received signal.

rxSig = awgn(txSig,15,'measured');

y = wlanLLTFDemodulate(rxSig,'CBW20');

Demodulate L-LTF for VHT Format Transmission

Demodulate the L-LTF used in a VHT transmission, after passing the L-LTF through an AWGN channel.

Create a VHT configuration object and use it to generate an L-LTF signal.

cfg = wlanVHTConfig;

txSig = wlanLLTF(cfg);

Pass the L-LTF signal through an AWGN channel.

rxSig = awgn(txSig,5);

Demodulate the received L-LTF using the information from the wlanVHTConfig object.

y = wlanLLTFDemodulate(rxSig,cfg);

Demodulate L-LTF with OFDM Symbol Offset

Demodulate the L-LTF for the HT-mixed transmission format, given a custom OFDM symbol offset.

Set the channel bandwidth to 40 MHz and the OFDM symbol offset to 1. That way, the FFT takes place after the guard interval.

cbw = 'CBW40';

ofdmSymOffset = 1;

Create an HT configuration object and use it to generate an L-LTF signal.

cfg = wlanHTConfig('ChannelBandwidth',cbw);

txSig = wlanLLTF(cfg);

Pass the L-LTF signal through an AWGN channel.

rxSig = awgn(txSig,10);

Demodulate the received L-LTF using a custom OFDM symbol offset.

y = wlanLLTFDemodulate(rxSig,'CBW40',ofdmSymOffset);

Input Arguments

x — Time-domain input signal

vector | matrix

Time-domain input signal corresponding to the L-LTF of the PPDU, specified as an NS-by-NR vector

or matrix. NS is the number

of samples and NR is the

number of receive antennas.

NS is proportional

to the channel bandwidth. The time-domain waveform consists of two

symbols.

ChannelBandwidthNS'CBW5', 'CBW10', 'CBW20'160

'CBW40'320

'CBW80'640

'CBW160'1280

Data Types:double

Complex Number Support:Yes

cbw — Channel bandwidth

'CBW5' | 'CBW10' | 'CBW20' | 'CBW40' | 'CBW80' | 'CBW160'

Channel bandwidth in MHz, specified as 'CBW5', 'CBW10', 'CBW20', 'CBW40', 'CBW80',

or 'CBW160'.

Data Types:char | string

cfg — Format information

wlanNonHTConfig | wlanHTConfig | wlanVHTConfig

Format information, specified as a WLAN configuration object.

To create these objects, see wlanNonHTConfig, wlanHTConfig, or wlanVHTConfig.

symOffset — OFDM symbol sampling offset

0.75 (default) | scalar in the interval [0, 1]

OFDM symbol sampling offset, as a fraction of the cyclic prefix length, specified as a

scalar in the interval [0, 1].

The value that you specify indicates the start location for OFDM demodulation relative

to the beginning of the cyclic prefix.

3a3ecaab63c9f28891011c5d9e6c6507.png

Example:0.45

Data Types:double

Output Arguments

y — Demodulated L-LTF signal

3-D OFDM symbol array

Demodulated L-LTF signal, returned as an NST-by-NSYM-by-NR array. NST is

the number of occupied subcarriers, NSYM is

the number of OFDM symbols, and NR is

the number of receive antennas. For the L-LTF, NSYM is

always 2.

NST varies with channel

bandwidth.

ChannelBandwidthNumber of Occupied Subcarriers (NST)'CBW20', 'CBW10', 'CBW5'52

'CBW40'104

'CBW80'208

'CBW160'416

More About

L-LTF

The legacy long training field (L-LTF) is the

second field in the 802.11™ OFDM PLCP legacy preamble. The L-LTF

is a component of VHT, HT, and non-HT PPDUs.

bedd909f5f74ddf0e9f256ac2ec55966.png

Channel estimation, fine

frequency offset estimation, and fine symbol timing offset estimation

rely on the L-LTF.

The L-LTF is composed of a cyclic prefix (CP) followed by two

identical long training symbols (C1 and C2). The CP consists of the

second half of the long training symbol.

5b87276d80761017e528d17571b1db69.png

The L-LTF duration varies with channel bandwidth.

Channel Bandwidth (MHz)Subcarrier

Frequency Spacing, ΔF (kHz)Fast Fourier Transform (FFT) Period (TFFT = 1 / ΔF)Cyclic Prefix or Training Symbol Guard Interval

(GI2) Duration (TGI2 = TFFT / 2)L-LTF

Duration (TLONG = TGI2 + 2 × TFFT)20, 40, 80, and 160312.53.2 μs1.6 μs8 μs

10156.256.4 μs3.2 μs16 μs

578.12512.8 μs6.4 μs32 μs

PPDU

The PLCP protocol data unit (PPDU) is the complete PLCP frame, including PLCP headers, MAC

headers, the MAC data field, and the MAC and PLCP trailers [2].

PLCP

The physical layer convergence procedure (PLCP)

is the upper component of the physical layer in 802.11 networks. Each

physical layer has its own PLCP, which provides auxiliary framing

to the MAC [2].

References

[1] IEEE Std 802.11™-2016 (Revision of IEEE Std 802.11-2012).

“Part 11: Wireless LAN Medium Access

Control (MAC) and Physical Layer (PHY)

Specifications.” IEEE Standard for

Information technology — Telecommunications

and information exchange between systems —

Local and metropolitan area networks —

Specific requirements.

[2] Gast, Matthew S. 802.11n: A Survival

Guide. Sebastopol, CA: O’Reilly Media Inc., 2012,

p. 120.

Extended Capabilities

C/C++ Code Generation

Generate C and C++ code using MATLAB® Coder™.

Introduced in R2015b

[1] IEEE® Std 802.11-2012 Adapted and reprinted

with permission from IEEE. Copyright IEEE 2012. All rights

reserved.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值