Code covered by the BSD License  

Highlights from
802.11b PHY Simulink Model

4.3913

4.4 | 23 ratings Rate this file 94 Downloads (last 30 days) File Size: 76.6 KB File ID: #2262
image thumbnail

802.11b PHY Simulink Model

by

 

26 Aug 2002 (Updated )

Simulink® model of 802.11b baseband physical layer.

| Watch this File

File Information
Description

Simulink® model of 802.11b wireless LAN physical layer (baseband), supporting 1Mbps, 2Mbps, 5.5Mbps, and 11Mbps modes. Model includes framing, long and short preamble, DBPSK and DQPSK modulation, Barker code spreading, Complementary Code Keying (CCK), root raised-cosine pulse shaping, channel number selection (frequency shift) and an AWGN channel.

NOTE: A version of this model which works with the current release of MATLAB® and Simulink is shipped with the Communications Blockset™.

The model makes extensive use of configurable subsystems, swapping in and out required components for chosen parameters. Set system parameters by double-clicking the "System Parameters" block in the top left. Toggle instrumentation (eye-diagram, scatter plot and spectrum scope) by double-clicking the switch. The BER subsystem contains error meters. Instruments slow down the simulation considerably.

Instructions:
Unzip to a new folder, change the MATLAB current directory to this folder, then open the 'WiFi' mdl file.

Errata:
There is a mistake in the pulse shaping filter:
wlan80211b/Transmitter/Upsample and pulse shape/Pulse Shaping Filter

Go into the mask editor > Initialization of the pulse shaping block, change:
h=N*firrcos(numTaps,5e6,beta,88e6,'rolloff','sqrt',numTaps/2,kaiser(numTaps+1,1));

To:
h=N*firrcos(numTaps,11e6,beta,88e6,'rolloff','sqrt',numTaps/2,kaiser(numTaps+1,1));

Model Files:
WiFi.mdl - Model file
WiFi_lib.mdl - Library
WiFi_init.m - System initialization code. Configure subsystems and calculate delays. (Run by 'System parameters' mask)
cck_codes.mat - CCK codes data file

Test files (open wifi.mdl, turn off instrumentation and run these):
ber_test.m - Simulation and plot BER for each mode (2 minutes to run of 800MHz machine)
test_level_1.m - Simulate and check many parameter combinations to ensure 0 BER for no-noise case (3 mins on 800MHz machine)

Standard:
IEEE Std 802.11b-1999, available from: http://standards.ieee.org/reading/ieee/std/lanman/

Required Products Communications Blockset
Communications System Toolbox
DSP System Toolbox
Signal Processing Toolbox
MATLAB release MATLAB 7.0.1 (R14SP1)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (32)
19 Dec 2013 wuhan university  
09 Oct 2011 Mr Smart  
03 Nov 2010 student sundar  
02 Sep 2010 siddhu

hi this is excellent work... can u give me the exact detailed version of the work ...

21 May 2010 oybek chan

as him to use 802.11b PHY
1Mbps, 2Mbps, 5.5Mbps or 11Mbps

07 Feb 2010 Hailong

this is good, I need this

06 Jun 2008 hamzi chahro

i need a webinar about 802.11 b PHY at 5.5 Mbps model simulink.my adresse is: c.chahro@yahoo.fr

29 Apr 2008 S Woo

Hi all,

Could anyone point out to me that why was the simulation run on negative value of Es/No as default? I kinda thought of some purpose but I would like to see from other people's comment.

Meanwhile does anyone validate the model with spreading gain by adding it into the simulated result BER curve to correspond it to the theoretical DBPSK or DQBPSK curve?

Would be pretty appreciated if anyone can respond to the question.

(email: monkeyshing888@hotmail.com)

25 Feb 2008 drif aissa

i need a simulation block diagram for the WiFi transmetter or reciver please

15 Sep 2007 samuel ragheb abd el malek  
15 Sep 2007 samuel ragheb abd el malek  
02 Jul 2007 rawaa Al-Wani

Wwireless LAN simulation

09 Apr 2007 reza kayvan  
17 Dec 2006 huda hussein

needs matlab simulink

27 Oct 2006 Hakan TAHTALI

Thanks. Great job!
it is very usefull program to understand IEEE 802.11b.

30 Jul 2006 BANUMATHI annamalai sekar  
03 Aug 2005 SASI KUMAR

hello sir,

can please give me a rough idea to implement ieee802.16 for the past 2 months iam working to simulate the wimax system as per the draft released by ieee.

i got struck in FEC Encoder block .

i have matlab 6.1 version is it possible to simulate this system in 6.1 version or i have to go for R14

i am doing my Masters degree in communication at PSG Tech Coimbatore ,India .

21 Jul 2005 Ýlhan Basturk

Thanks great work.If you share us other wlan simulations wewill be happy.

04 Mar 2005 Yuan Zhang

Is there any one who can tell me, what kind of detection the BPSK modulation implements in the 802.11b, coherent or incoherent?

thx

27 Feb 2005 Ayman Alghamdi

Great work...
I was trying to find the effect of packet size on PSDU by making an .m file as the test file (ber_test.m), but error messages still there. If you can help me, please send me an email.
Thanks

04 Apr 2004 Keven Chang

Great Example. But why don't use Gaussian filter for Modulation filter.Isn't that the standard is use Gaussian filter for modulation filter ??
Waiting for new update. Thankx

22 Mar 2004 Bill Feild  
15 Mar 2004 ABDI MILOUD

yesssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss as youuuuuuuuuuu

16 Jul 2003 GU WEI  
08 Jun 2003 andrew calcagno

very goods

21 May 2003 Phil Guillemette

I'm new to simulink and 802.11b so this was a very useful model for me. I think that you did a great job on your subsystem swapping and a few other blocks.

I do have a concern though. When reading through the 802.11b standard, it wouls seem that phi1 is relative to phi1 of the preceding symbol. For the first PSDU symbol, this would be relative to the phi1 of the last symbol of the CRC-16. This aspect does not seem to be built into the model and I'm not sure how it would be while keeping the elegant structure that it currently has.

If I'm mistaken, please let me know.

14 Jan 2003 Al K  
05 Jan 2003 chaorong peng

i am using using Matlab version 6, IT is still not shown.

05 Jan 2003 chaorong peng

i use 802.11b , but the modeler is not shown. what is happy ?

20 Dec 2002 Teddy WONG

Unfortunately I couldn¡¦t run it on my computer, I think it is because I am using Matlab version 6, not version 5. i.e. I wonder, it is possible to do some modifications in order to suit for the version 6 Matlab.

03 Dec 2002 Shing Tenqchen  
04 Oct 2002 francisco rozas  
Updates
27 Aug 2002

Added keywords and release version

16 Apr 2003

Tx and Rx RRC filter roll-off factor change (from 0.7) to more typical 0.3. Fixed bug in mask that ignored roll-off factor parameter.

20 Dec 2004

Updated to R14. Still contains R13 version.

13 Mar 2006

Add information on how to correct mistake in filter.

20 Jul 2009

Added trademakrs.

29 Jul 2009

Remove title trademark.

30 Jul 2009

Trademark work.

04 Aug 2009

Copyright work.

04 Aug 2009

Contact us