ADAPTIVE PACKET SELECTION ALGORITHM FOR BLUETOOTH DATA PACKETS

Similar documents
Performance Evaluation of Bluetooth Links in the Presence of Specific Types of Interference

CROSS-LAYER APPROACHES TO WIRELESS COMMUNICATIONS AND NETWORKING

Improving Bluetooth EDR Data Throughput Using FEC and Interleaving

Correct Bluetooth EDR FEC Performance with SEC-DAEC Decoding

A Dynamic Interference-Avoidance Algorithm for Frequency Hopping Systems

IEEE P Working Group for Wireless Personal Area Networks TM

UNIT 5 P.M.Arun Kumar, Assistant Professor, Department of IT, Sri Krishna College of Engineering and Technology, Coimbatore.

Local Area Networks NETW 901

An Efficient Tool for the Evaluation of the Impact of WiFi Interference on Bluetooth Performance

Inside Bluetooth. Host. Bluetooth. Module. Application RFCOMM SDP. Transport Interface. Transport Bus. Host Controller Interface

CS263: Wireless Communications and Sensor Networks

CS4/MSc Computer Networking. Lecture 13: Personal Area Networks Bluetooth

Bluetooth: Short-range Wireless Communication

Enhancing Bluetooth TCP Throughput via Link Layer Packet Adaptation

Guide to Wireless Communications, 3 rd Edition. Objectives

System Level Analysis of the Bluetooth standard

Simulation of Bluetooth Network

Influence of the Interfernce Due to Co-Existence of Bluetooth and Wi-Fi Transmissions

Improving Simultaneous Voice and Data Performance in Bluetooth Systems

Efficient Multicast Schemes for Mobile Multiparty Gaming Applications

Optimizing Packet Size via Maximizing Throughput Efficiency of ARQ on Bluetooth ACL Data Communication Link

By N.Golmie Presented by: Sushanth Divvela

e-pg Pathshala Quadrant 1 e-text

CHAPTER 12 BLUETOOTH AND IEEE

Interference Mitigation Technique for Performance Enhancement in Coexisting Bluetooth and WLAN

Wireless Sensor Networks

By FaaDoOEngineers.com

Amarjeet Singh. February 7, 2012

A Guide. Wireless Network Library Bluetooth

SIMULATION BASED ANALYSIS OF BLUETOOTH NETWORKS. M. Subramani and M. Ilyas

Energy Evaluation for Bluetooth Link Layer Packet Selection Scheme

Bluetooth. Renato Lo Cigno

MOBILE COMPUTING. Bluetooth 9/20/15. CSE 40814/60814 Fall Basic idea

Introduction to Bluetooth Wireless Technology

Performance Analysis of b Networks in the Presence of Interference-Aware Bluetooth Devices

Solving the Interference Problem due to Wireless LAN for Bluetooth Transmission Using a Non- Collaborative Mechanism. Yun-Ming, Chiu 2005/6/09

Improving Wireless Link Throughput via Interleaved FEC

original standard a transmission at 5 GHz bit rate 54 Mbit/s b support for 5.5 and 11 Mbit/s e QoS

WIRELESS TECHNOLOGIES

Sensor Application for Museum Guidance

Wireless multipoint communication for optical sensors in the industrial environment using the new Bluetooth standard

ALL SAINTS COLLEGE OF TECHNOLOGY, BHOPAL

Bluetooth ACL Packet Selection Via Maximizing the Expected Throughput Efficiency of ARQ Protocol

Bluetooth. Basic idea

Lecture Objectives. Lecture and Bluetooth technology. Agenda. IEEE b. Characteristics. Center Frequencies

Communication Systems. WPAN: Bluetooth. Page 1

Introduction to Bluetooth

Performance of UMTS Radio Link Control

Wireless Local Area Network. Internet Protocol Suite

Bluetooth Demystified

Extending or Interconnecting LANS. Physical LAN segment. Virtual LAN. Forwarding Algorithm 11/9/15. segments. VLAN2, Port3. VLAN1, Port1.

Ad Hoc Nets - MAC layer. Part II TDMA and Polling

PCs Closed! Cell Phones Off! Marketing Assistant Manager - Magic Lin

Master. Slave. Master. Slaves. TCP/IP Traffic with Efficient Bluetooth Technology. Shafqat Hameed 1, Umar F.Khan 2, *Muhammad Saleem 3

CB-OBS4XX OPTIMIZATION GUIDE

2 Related Work. 1 Introduction. 3 Background

Wireless Networks. CSE 3461: Introduction to Computer Networking Reading: , Kurose and Ross

Redes Inalámbricas Tema 2.B Wireless PANs: Bluetooth

Co-Channel Interference in Bluetooth Piconets

Bluetooth Dynamic Scheduling and Interference Mitigation

Payload Length and Rate Adaptation for Throughput Optimization in Wireless LANs

Bluetooth Serial Port Adapter Optimization

Comparing Bluetooth HDP and SPP for Mobile Health Devices

Bluetooth. Bluetooth Radio

Analysis of UDP Performance over Bluetooth

A cluster based interference mitigation scheme for performance enhancement in IEEE

Experimental Assessment of Media Synchronization Quality in IEEE b under Bluetooth Interference

[Chaudhari*, 4.(7): July, 2015] ISSN: (I2OR), Publication Impact Factor: 3.785

Data Link Control Protocols

Comparative Analysis of ZigBee, WLAN and Bluetooth System and its Throughput Enhancement

Performance Simulation of TCP/IP over a Bluetooth Ad-hoc Network

Interference of Bluetooth and IEEE : Simulation Modeling and Performance Evaluation

Objectives of the Bluetooth Technology

Computer Networks II Advanced Features (T )

CSC 4900 Computer Networks: Wireless Networks

A Routing Protocol and Energy Efficient Techniques in Bluetooth Scatternets

PROPOSAL OF MULTI-HOP WIRELESS LAN SYSTEM FOR QOS GUARANTEED TRANSMISSION

Bluetooth Wireless Technology meets CAN

A Study of Wireless Compressed Digitalaudio

Wireless LANs/data networks

Analyzation of Automatic Repeat Request (ARQ) Protocols

Computer Networks. Wireless LANs

Considering Spurious Timeout in Proxy for Improving TCP Performance in Wireless Networks

BASEBAND SPECIFICATION

November 1998 doc.: IEEE /378 IEEE P Wireless LANs Extension of Bluetooth and Direct Sequence Interference Model.

Wireless Communications

TSG-RAN Working Group 2 (Radio layer 2 and Radio layer 3) TSGR2#2(99)085 Stockholm 8th to 11th March 1999

Impact of transmission errors on TCP performance. Outline. Random Errors

On the Optimizing of LTE System Performance for SISO and MIMO Modes

A Modified Medium Access Control Algorithm for Systems with Iterative Decoding

A Transparent ARQ Scheme for Broadband Wireless Access

Error Control in Wireless Sensor Networks: A Cross Layer Analysis

Lecture 6. Reminder: Homework 2, Programming Project 2 due on Thursday. Questions? Tuesday, September 13 CS 475 Networks - Lecture 6 1

Feasibility of a Bluetooth Based Structural Health Monitoring Telemetry System

AC : A STUDY ON THE PERFORMANCE OF BLUETOOTH AND IEEE B COEXISTENCE

Class-based Packet Scheduling Policies for Bluetooth

Ethernet. Lecture 6. Outline. Ethernet - Physical Properties. Ethernet - Physical Properties. Ethernet

Department of Computer and IT Engineering University of Kurdistan. Data Communication Netwotks (Graduate level) Data Link Layer

An Efficient ARQ Mechanism i Multi-hop Relay Systems based on IEEE OFDMA

Time-synchronised multi-piconet Bluetooth environments

Transcription:

Proceedings of the 6th WSEAS International Conference on Applied Computer Science, Hangzhou, China, April 15-17, 2007 160 ADAPTIVE PACKET SELECTION ALGORITHM FOR BLUETOOTH DATA PACKETS RADOSVETA SOKULLU AND ENGIN KARATEPE Department of Electrical and Electronics Engineering Ege University 35100 Bornova, Izmir, Turkey radosveta.sokullu@ege.edu.tr engin.karatepe@ege.edu.tr Abstract - In this paper we present a Matlab-Simulink model for performance evaluation of Bluetooth DHx data packets. The simulation model developed takes into account channel quality, distance and interference in the Bluetooth frequency band. We propose a new adaptive algorithm for packet selection based on the number of retransmissions until successful packet reception under current environment conditions. The results obtained using the simulation model have proved the increase in performance provided by this algorithm. Key words: - Modeling Bluetooth ACL packets, adaptive packet selection, Matlab-Simulink. 1. Introduction Even though Bluetooth is already a well established short range wireless technology due to its very low price, easy implementation, versatility and great user convenience it provides, increasing its throughput and performance is still an open research issue. Simulation models play a great role in this process because they allow multifaceted parameter and performance evaluation, testing and optimization because they allow for reducing the price and risks of hardware implementation. Research groups have dealt with simulating voice packets, investigating performance under different channel conditions and suggested algorithms for choosing best performing packet types. In [Dogan K. et al. 2004] the authors have tested Bluetooth performance for different BER and according to the results provided estimation for most suitable packet type selection in a certain BER range. In [Valenti 2002] the authors suggest a dynamic selection scheme based on measurements for SNR. In [Golmie 2003] a detailed OPNET Bluetooth model is developed and the mutual interference of Bluetooth and 802.11b system is evaluated. In [Ju M-C 2002] behavior of different packets is examined a link management scheme is suggested based on a set of rules analytically derived from channel quality measurements. In another article [Floren 2004] the authors give an analytical expression for the throughput as a function of the number of frequency channels used for frequency hopping and the duration of the packet types. [Golmie 2003] suggests two schemes for dynamic transmission scheduling based on classifying the frequencies as good or bad depending on the registered packet loss, called BIAS (Bluetooth Interference Aware Scheduling) and AFH (Adaptive Frequency Hopping). Even though they give quite good results they are quite complex to realize. Another drawback of most models is the fact they concentrate either on the physical or link layer only. Matlab-Simulink is an integrated simulating environment which allows both very precise physical layer description as well as system level description. This is also supported by the fact that the new version of Matlab 7.0 has included and example of simulating Bluetooth SCL packets. In a previous work [Sokullu 2005] we have developed and tested simulation models for the DMx packets. In this work we provide models for the DHx packets and incorporate all data packet types in a Matlab-Simulink model.further on we simulate the performance of a new, simple to implement adaptive packet selection algorithm based on counting the number of retransmissions required until a packet is received successfully under different environment conditions including both interference and variable distance between the devices. From here on the paper is organized as follows. In the next part we present a brief review of Bluetooth and the structure of different packet types. In part 3 we discuss our simulation model and in part 4 the suggested adaptive packet selection algorithm. Following that we present simulation results and conclude the paper. 2. Bluetooth ACL Packets Structure Bluetooth is a short distance (10 to 100 m) wireless technology in the ISM (2.40-248 GHz) band based on FHSS. Communication is carried out according to a master slave model. A master and max of 7 active slaves form a piconet using TDD and transmission is divided into time slots of 625 µs duration. Information, both voice and data is carried in packets. The Bluetooth

Proceedings of the 6th WSEAS International Conference on Applied Computer Science, Hangzhou, China, April 15-17, 2007 161 standard specifies different structure for voice, data, and control packets. Data packets are divided into DMx and DHx types. The DM packets carry control and data information protected by FEC and were envisaged for noisy channels, while the DHx type packets carry more data without FEC. All packets are divided into tree subtypes DM1/DH1, DM3/DH3 and DM5/DH5 depending on the number of time slots they occupy. After the master addresses a slave in one slot the active slave has to respond in the next slot with either a 1-slot (DM1/DH1), 3-slot (DM3/DH3) or 5-slot (DM5/DH5). The selection of the suitable packet to be used is very important and highly depends on the channel and interference at a certain moment in time. DM1 carry least information but are suitable for worst conditions, while DH5 packets carry most information which is least protected against errors. Selecting the most suitable packet type is a major factor in ensuring highest throughput under specific channel conditions. As in general the practically achievable data rates are quite low (despite the theoretical 1 Mbps a practical max is about 700 kbps) implementing a suitable packet type selection algorithm is of utmost importance. Such an algorithm has to be easy to implement and simple to operate in order to meet the performance requirements. The decision of our simulating tools, models and environment has been governed by the need to precisely reflect the specifics of both physical and data link layer functions. In all previous work known to us either one or other aspect has been favored depending on the specifics of the simulation tool used. 2.1 Structure of the ACL packet types The Asynchronous Connectionless Link (ACL) is a point-to-point connection between a master and active slaves in the piconet. An automatic Repeat Request (ARQ) is applied to ACL packets and they are repeated until a positive ACK is received. The positive ACK is piggy-backed in the header if the returned packet. The ARQN is set to 1 or 0 depending on whether or not the previous packet was successfully received. Packets consist of three major parts: a 72-bit Access Code, a 54- bit Header and a variable length Payload, which has is own header data part and CRC. The first bit from the packet that is transmitted is the LSB. In our simulation this is represented by the first bit of the Access code. The payload field varies depending on the packet type from 0 to a max of 2745 bits. The difference between the user information carrying possibilities are clearly seen if we compare the payload fields: for DM1 the data payload is max 17 bytes, compared to DH1 27 bytes; for DM3, which occupies 3 slots, it has a value 121 bytes compared to 183 for DH3; and for DM5 224 versus 339 for the DH3 packet type. Achievable throughput in kbps for different packet types are given in TABLE 1 and an example of the DH5 packet structure and comparison with the DM5 packet type is given in Figure.1 TABLE 1 ACL PACKET TYPES USING ARQ Packe Duration Payload Hamming Peak t Type (slots) data length (Bytes) FEC code? throughput DM1 1 17 Yes 108.8 kbps DH1 1 27 No 172.8 kbps DM3 3 121 Yes 387.2 kbps DH3 3 183 No 585.6 kbps DM5 5 224 Yes 477.9 kbps DH5 5 339 No 723.2 kbps 72 54 bits bits Access Code Header DM5 DH5 DM5 and DH5 3125 µs 2744 bits 343 bytes Payload 2 224 2 2/3 FEC 2 339 2 3125 µs 625 µs 1 2 3 4 5 6 = 2870 bits Dir Size 224 17 339 27 Freq 1600/6 Rate 477.8 36.3 723.2 57.6 Figures 1: Structure and comparison of the DM5 and DH5 packet types As defined in the Bluetooth standard, [ ], the DH1 payload itself consists of 1 byte header, 27 bytes data and 2 bytes CRC. Accordingly the DH3 and DH5 payloads carry 183 and 339 bytes data, accompanied by a 2 byte header and 2 byte CRC. 2.2 Simulation model description We have based our simulation model on the IEEE 802.15.1 and the Bluetooth standard ver.1.2 and realized it using Matlab ver.7.0. The model consists of 4 major building blocks: master, slave, channel and interference. Figure 2 gives the main, top level window of the simulation program. Figures 2: Main program window

Proceedings of the 6th WSEAS International Conference on Applied Computer Science, Hangzhou, China, April 15-17, 2007 162 In general each Bluetooth device can function either as a master or a slave depending on the creation of the piconet. The detailed functional structure of our master/slave simulation model is presented in Figure 3. The Bluetooth hopping pattern is implemented using a pseudo-random generator. errors in the CRC. If the output is a Frame_OK the rest of the packet parts are checked and finally the packet is accepted. In the opposite case the packet is discarded and the ARQN is set to 0. A more detailed receiver side control flowchart is represented in Figure 5. It should be noted that there are differences in the master and slave decision mechanism which for simplicity are not included here. Figures 3: Structure of the simulation model of the master/slave The transmitter block shown in Figure 3 realizes the functions of formatting the data payload, including its header and CRC and incorporating it with the required Access Code and Packet Header. Another major function incorporated here is the selection of a suitable packet type. The decision mechanism has to be embedded in the transmitter part. We assume asymmetric transmission. Besides this the transmitter has an encoder part, while the receiver has a filter part responsible for decoding the incoming data based on the understanding of the packet type. The receiver part contains also the performance metrics evaluation block. Referring to the OSI Data Link Layer model the functions of data error and flow control are realized using Simulink. An example of the realized data flow model and error correction mechanism is given in Figure 4. Figures 5: Details of ACL packets data flow control As far as the channel and interference block is concerned we have considered an AWGn channel and 802.11b interference as well as the effect of distance between the master slave pair and interference sources. 2.3 Simulation results In Figure 6 we present results for the throughput as a function of EsNo achieved with different DH1, DH3 and DH5 packet types for a noiseless channel using model presented in detail in the previous subsection. It has been verified against the analytical model from [VAlenti 2002.] given for reference in Figure 7. Figures 4: ACL packets data flow control diagram As seen in Figure 4. This is an asynchronous type transmission and an ARQN=1 requests a new packet to be transmitted while in the opposite case the packet has to be retransmitted. In more detail, at the receiver side the first operation is checking the received packet for Figures 6: Throughput against Es/No for DH1, DH3 and DH5 packet types

Proceedings of the 6th WSEAS International Conference on Applied Computer Science, Hangzhou, China, April 15-17, 2007 163 Figures 7: Analytical model from [Valenti 2002] 3. Adaptive Packet Selection Algorithm Main objective of the ACL packets in the Bluetooth technology is carrying asynchronous data with min error and max throughput independent of the environment with a limited predetermined power levels. Frequency hopping allows for continuous change of the transmission frequency which leads to reducing effects of interference in certain bands. In some work elaborate frequency selection schemes have been proposed to increase mitigate the interference. [4,6]. The disadvantage of these schemes is their complexity in realization and the fact that they require major changes in the radio layer which is undesired by chip producers. Including FEC is an additional measure for ensuring min error rate. But it has also the disadvantage of reducing the user data rate. As a measure, specific to Bluetooth different packet types have defined with the aim to select the most suitable one for the given transmission conditions. The standard has left open the details of how these packets will be selected. Most of the suggested schemes are based on measurements and calculations using the LQI which means that they still require changes in the lower layer of the stack. Another group of studies are based on calculating the bit error rate and changing the packet type accordingly. Researchers have provided heuristic algorithms for specific data rate/esno combinations [..] Based on the simulation model we have developed we have investigated the relation between the number of retransmission required until the successful reception of a packet in different noise conditions. The results are given in Figure 8. Figures 8: Required number of retransmissions for different DH packet types. As it can be seen there are distinctive thresholds for different packets and different EsNo. Based on this we have simulated an algorithm for adaptively changing the packet type when a threshold is reached. The decision mechanism is incorporated in the sender side. The state diagram is presented in Figure 9. Figures 9: State diagram of the suggested algorithm The decision mechanism is based on two parameters X1 and X2 which reflect the number of retransmissions recorded by the sender. Results (Figure 10) show gradual reduction of the average throughput with worsening channel conditions and easy adaptability to changes independent of the factors causing them. In another [Sokullu 2006] work we have implemented this algorithm using only changes in the software stack and preliminary results have supported the simulation results presented above. In our experimental setup we have also observed that allowing fragmentation and encapsulation of large used frames using simultaneously two packet types, for example DH3 and DH5 increases the throughput with some10% more.

Proceedings of the 6th WSEAS International Conference on Applied Computer Science, Hangzhou, China, April 15-17, 2007 164 Figures 10: Results of throughput changes as a function of Es/No using adaptive packet selection. 4. Conclusion In this paper we describe the model developed for simulating Bluetooth ACL data packets and link management functions using Matlab. We discuss its details and advantages compared to other existing simulation models. Further on we describe and show simulation results for an adaptive selection algorithm for ACL packets. It is fast and simple to realize in software without requiring major changes in the Bluetooth radio. We believe that our work is a contribution to the efforts of the research community to increase with min possible changes in the hardware and firmware of Bluetooth chips the data throughput under changing environmental conditions. Acknowledgements The authors want to express their thanks to all the members of the EgeBlue research group at the Dept. of EEE for their valuable support and contributions. References [1] Bluetooth SIG, Bluetooth Specification ver.1.0 p. Core and ver 1.2 p.profiles, Dec. 1999. [2] Dogan K., Gurel G., Kamci A.K. and Korpeoglu I. 2004, TUBITAK research projects EEEAG-101E025, EEAG- 101E048, and EEAG-103E014, Bilkent University, Dept. of EEE [3] Valenti MC, Robert M., Custom Coding, Adaptive Rate Control and Distributed Detection for Bluetooth, 2002, In VTC Proceedings, 918-922 [4] Golmie N., Van Dyke R.E.,Tonnerre A. and Rebala O., Interference Evaluation of Bluetooth and IEEE 802.11b Systems, 2003, Wireless Networks, 201-21 [5] Valenti M., Robert M., Reed J., On the Throughput of Bluetooth Data Transmissions, 2002, In the Proceedings of the Wireless Communications and Networking Conference, 119-123 [6] Ju M-C., Park C-H., Hong D-K., Youn K-J., Cho J.W., 2002 Link Management Scheme of Bluetooth Based on Channel Quality Estimation, Electronics Letters, Vol 38, No, 15, 789-790 [7] Golmie N., Rebala O., Bluetooth Adaptive Techniques to Mitigate Interference, 2003, In the Proceedings of GLOBECOM 03, Vol.1, pp.405-409 [8] Sokullu R, Özdemir Ö, Küçük T, Karatepe E, Simulating DM1, DM3 ve DM5 Bluetooth Packet Types in Matlab, 2005, In the Proceedings of the ITUSEM Symposium, pp 109-114, 17-19 Nov. 2005 [9] Floren F., Stranne A., Etfors O., and Molin B- A., Throughput of Strongly Interferening Slow Frequency Hopping Networks, 2004, IEEE Transactions on Communications, July Vol.52, No.7, pp. 1152-1159 [10] Sokullu. R., Poyraz U., CQDDR Based Bluetooth Throughput Improvement, 2006, In the Proceedings of ELECO 2006, pp. 116-121,