Implementation of Bluetooth Data Exchange System onto ARM for Intra Underwater Vehicle (UV) Communication

Similar documents
INTERNATIONAL JOURNAL OF PURE AND APPLIED RESEARCH IN ENGINEERING AND TECHNOLOGY

Bluetooth Tutorial. Bluetooth Introduction. Bluetooth Technology

ENRNG3076 : Oral presentation BEng Computer and Communications Engineering

By FaaDoOEngineers.com

Providing Mobile LAN Access Capability for Bluetooth Devices

Bluetooth: Short-range Wireless Communication

System Level Analysis of the Bluetooth standard

Local Area Networks NETW 901

SE 4C03 Winter 2005 Bluetooth Wireless Network Technology

ALL SAINTS COLLEGE OF TECHNOLOGY, BHOPAL

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

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

Guide to Wireless Communications, 3 rd Edition. Objectives

Amarjeet Singh. February 7, 2012

Introduction to Wireless Networking ECE 401WN Spring 2009

[A SHORT REPORT ON BLUETOOTH TECHNOLOGY]

12/2/09. Mobile and Ubiquitous Computing. Bluetooth Networking" George Roussos! Bluetooth Overview"

Introducing Bluetooth

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

CS263: Wireless Communications and Sensor Networks

Embedded Systems. 8. Communication

Wireless Personal Area Networks & Wide Area Networks

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

Computer Networks II Advanced Features (T )

Bluetooth. Quote of the Day. "I don't have to be careful, I've got a gun. -Homer Simpson. Stephen Carter March 19, 2002

Bluetooth. Bluetooth Radio

101seminartopics.com. Bluetooth Based Smart Sensor Networks

Bluetooth technology, developed by Ericsson Mobile Communications, a. worldwide telecommunications company based in Sweden, is fast becoming the

e-pg Pathshala Quadrant 1 e-text

Wireless Sensor Networks

MI-BPS (Wireless Networks) FIT - CTU

Implementing A Bluetooth Stack on UEFI

Research on Modern Bluetooth Technology

Introduction to Bluetooth Wireless Technology

Wireless Networked Systems

Image acquisition and Communication

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

Wireless LANs. The Protocol Stack The Physical Layer The MAC Sublayer Protocol The Frame Structure Services 802.

Bluetooth Demystified

Bluetooth. The Bluetooth Vision. Universal Wireless Connectivity. Universal Wireless Connectivity

Wireless# Guide to Wireless Communications. Objectives

Securing A Bluetooth Device

Wireless Communication of Construction Machinery Signal Based on the Bluetooth Technique

Bluetooth Wireless Technology meets CAN

Dominique Chomienne & Michel Eftimakis NewLogic

AT THE END OF THIS SECTION, YOU SHOULD HAVE AN UNDERSTANDING OF THE

Modulation. Propagation. Typical frequency bands

Feasibility of a Bluetooth Based Structural Health Monitoring Telemetry System

Design and Implementation of Embedded Bluetooth Multicast System

A smart Home Security system based on ARM9

MOBILE COMPUTING. Jan-May,2012. ALAK ROY. Assistant Professor Dept. of CSE NIT Agartala.

Bluetooth hotspots: Extending the reach of Bluetooth by seamlessly transporting Bluetooth communications over IP Networks

Bhopal, , India 3 M.Tech Scholor,Department Of Computer Science, BIST Bhopal. Bhopal, , India

Efficient Multicast Schemes for Mobile Multiparty Gaming Applications

Wireless Sensor Networks BLUETOOTH LOW ENERGY. Flavia Martelli

WIRELESS SENSOR NETWORK

Overview of Bluetooth

CROSS-LAYER APPROACHES TO WIRELESS COMMUNICATIONS AND NETWORKING

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

Essential Bluetooth It s everywhere you want to be

Bikash Sadhukhan. M.Tech(CSE) Lecturer. Dept of CSE/IT Techno India College of Technology

Product Specification

Inside Bluetooth Low Energy

Communication Systems. WPAN: Bluetooth. Page 1

Rab Nawaz Jadoon (Assistant Professor) Department of Computer Science COMSATS University, Abbottabad, Pakistan

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

Bluetooth. Basic idea

A COLLOCATED APPROACH FOR COEXISTENCE RESOLUTION IN WIRELESS HOME NETWORKING

Wireless LAN. Access Point. Provides network connectivity over wireless media

Bluetooth. Bluetooth Basics Bluetooth and Linux Bluetooth at AG Tech. Dr.-Ing. H. Ritter, 7.1

WIRELESS-NETWORK TECHNOLOGIES/PROTOCOLS

Bluetooth Communications App Using App Inventor

MavBlue: A Bluetooth Development Kit for Undergraduate and Graduate Research and Education

Electromagnetic Spectrum (3kHz 300GHz)

Bluetooth Serial Bridge

Introduction to Bluetooth

Communication Systems for the Mobile Information Society

Development of Coalmine Safety System Using Wireless Sensor Network

Advanced Mobile Computing and Networking - CS 560. Wireless Technologies. Bluetooth. Bluetooth. Bluetooth. Bluetooth 7/3/2014.

Bluetooth. Renato Lo Cigno

Development of a Service Discovery Architecture for. Christian Schwingenschlögl, Anton Heigl

Sensor Application for Museum Guidance

IrDA INTEROPERABILITY

CEN 538 Wireless LAN & MAN Networks

Case study of Wireless Technologies in Industrial Applications

Implementation of Broadcasting System Using Bluetooth

A Routing Protocol and Energy Efficient Techniques in Bluetooth Scatternets

Wireless LANs/data networks

Bluetooth PCI Adapter

Technical Introduction

By N.Golmie Presented by: Sushanth Divvela

A Guide. Wireless Network Library Bluetooth

Health monitoring of an power amplifier using an ethernet controller

Bluetooth. March 28, 2005 Patrick Lui

Wireless Local Area Network. Internet Protocol Suite

ISSN: (Online) Volume 2, Issue 4, April 2014 International Journal of Advance Research in Computer Science and Management Studies

Lecture Computer Networks

Structure of the Lecture

BT-22 Product Specification

Learning Objectives. Introduction. Advantages of WLAN. Information Technology. Mobile Computing. Module: Wireless Local Area Network: IEEE 802.

Transcription:

Implementation of Bluetooth Data Exchange System onto ARM for Intra Underwater Vehicle (UV) Communication 1 C. R. S. Murthy, 2 A.SivaKumar, 3 B.Ch. Mouli, 4 G. Srilatha 1,4 Dept. of E.C.E, Sir C.R.R. College of Engineering, Eluru, India 2 Dept. of E.C.E, Andhra University college of Engineering, Visakhapatnam, India 3 Dept. of E.C.E, S.R.K.R. College of Engineering, Bhimavaram, India Abstract The Bluetooth is an open wireless technology which revolutionized the connectivity by providing freedom from wired connections. It is a cable replacement technology that has changed the face of connectivity between the communicating systems. The usage of cables in the industrial field especially in the application of autonomous systems becomes more cumbersome and any fault in the connections may lead to a total system failure. This paper presents an abstract model of Embedded Bluetooth Data Exchange system which was designed using the ARM processor (S3C2440) as an embedded target and Bluetooth device which is connected to the ARM processor through a RS- 232 serial port. In our implementation the ARM processor acts as the Controlling System that controls the Bluetooth device connected to it and acquires/transmits the data to/from the different subsystems of an Underwater Vehicle (UV). Keywords Bluetooth protocol, wireless personal area networks, Real time application of embedded systems. I. Introduction Bluetooth technology is a short-range wireless communications technology. It has developed rapidly in recent years. Modern industrial controlling and information exchange system has stepped into embedded system module from traditional circuit and microcomputer module. Embedded systems play an irreplaceable role in industrial control and data transmission system. In response to the complexity of the cable, the occurrence of accidents and completing the task without cables in industrial field, an Embedded Bluetooth Data Exchange System based on S3C2440 and Bluetooth chip called BlueLINK was constructed to reduce cable connection. It has some advantages, such as portability, reliability, function and application, and so on. II. Data Exchange System A. The Functionality of the Data Exchange System The total functionality of the data exchange system is such that it has to transmit/collect the control and data information to/ from the different subsystems of the Underwater Vehicle for processing and storage. This functionality is achieved by using the Bluetooth modules one at each of the subsystem. The subsystem which requires data from a particular subsystem connects to that particular subsystem and receives the information Likewise if a particular subsystem wants to send the data to another subsystem or a group of subsystems in particular, it performs the task by connecting with them for the data transmission time required and later it releases the connection with the subsystems. This exchange of information between the subsystems is then reported by conventional mechanisms to the Remote Monitoring Station (RMS) which 38 International Journal of Electronics & Communication Technology monitors the entire functionality and performance of the Underwater Vehicle. The Remote Monitoring system will display and dispose the data for storage and later statistical analysis on the performance of the Underwater Vehicle. The Bluetooth module is the most important part of this data exchange system. An Embedded system using the ARM processor S3C2440 [2] is programmed to control the Bluetooth module. The total module can be powered up by a simple battery setup and it can also be programmed to automatically accomplish the data/control information exchange. The ARM processor module sends the commands to the Bluetooth chip connected to it which in turn transmits/collects the data to/from the respective subsystems and transfers to the ARM processor module. This data is then transferred by other means to the RMS where it is displayed and stored for further processing. The following fig. shows an overview of the project. Fig. 1: Overview of the project B. Bluetooth Overview Bluetooth is a low-power, low-cost and short-range wireless communication technology in the 2.4 GHz ISM (Industrial, Scientific and Medical) RF band. Bluetooth uses FHSS (Frequency Hopping Spread Spectrum) scheme with hoping rate of 1,600 hops per second to minimize the effects of signal interference. The transmission range is 10 meters and can be extended up to 100 meters by providing a power amplifier [1]. Bluetooth can offer a speed up to I Mbps. To identify the identity of a Bluetooth device, each Bluetooth device has a 48-bit BD (Bluetooth Device) address [6], which has the same length as the MAC (Media Access Control) address of IEEE 802.x family [1]. Communication between Bluetooth devices follows a strict master-slave scheme. Each master device can have up to 7 active slaves and forms a so-called piconet. Between each master-slave pair, two different links can be provided [8]. One is the SCO (Synchronous Connection Oriented) and the other is the ACL (Asynchronous Connectionless Link) link. The SCO link is typically used for voice communication [7] and ACL link is used for data communication. For ACL links, a slave can transmit

packets only after the master sends a packet addressed to it. Note that, slaves cannot transmit packets directly, i.e., the communication between slaves must go through the master Bluetooth device indirectly. 1. Bluetooth Specification IJECT Vo l. 2, Is s u e 4, Oc t. - De c. 2011 (vi). Host Controller Interface (HCI) It is the boundary between lower and upper layers of the BTH stack. HCI supports the BTH systems that are implemented across two separate processors. Ex. BTH on a computer uses two processors. Blue tooth module implements lower layer. Blue tooth host implants upper layers Some BTH devices contain both upper and lower layers on a single processor, which do not require HCI. Fig. 2: Bluetooth Protocol Stack The above figure shows the Bluetooth protocol stack. The RF (Radio Frequency) defines the physical characteristics of the RF link, e.g., channel arrangement, permissible transmit power levels, and receiver sensitivity level. The base band specification defines the device discovery, link formation, and synchronous and synchronous communication with peer host. To provide a reliable wireless link, fast ARQ (Automatic Repeat Request), CRC (Cyclic Redundancy Check) and FEC (Forward Error Correction) are combined with the frequency-hopping scheme [9] in Base band to detect and resolve packet errors or lose during transmission. (i). Radio Layer It is present at the base of the stack. It specifies the physical characteristics of the transmitter and the receiver. Radio module is responsible for the modulation and demodulation. (ii). Base Band Layer It synchronizes the links between BTH devices. It properly formats the data to and from the radio layer. (iii). Link Control Layer It is responsible for the establishing and configuring links between the BTH devices. It also carries the link manager commands (iv). Bluetooth Supports Two Kinds of Links Asynchronous Connectionless (ACL) links for data transmission Synchronous Connection oriented (SCO) links for audio/voice transmission. (v). Link Manager The link manager protocol is responsible for the link set up between BTH devices. It translates the host controller interface commands that it receives into base band level operations. It also responsible for security functions like and authentication and encryption by generating, exchanging and checking of link and encryption keys. It controls the power modes and duty cycles of the Bluetooth devices. (vii). Logical Link And Adaptation Protocol Layer (L2CAP) It is responsible for establishing connection across existing ACL links or request an ACL link if one does not already exist. It plays a central role in communication between the upper and lower layers. It provides connection oriented and connectionless data services to the upper layer protocols by its multiplexing capability, segmentation and reassemble operation, and group abstractions. A single ACL link is enough for communication because of its multiplexing capability. It supports only ACL link, it is not defined for SCO links. (viii). Service Discovery Protocol Layer (SDP) Discovery services are crucial part of the Bluetooth framework. It defines actions for both servers and clients. A single BTH device can acts as both server and client. A SDP client communicates with SDP server using a reserved channel on a L2CAP link. When client finds desired service it requests a separate connection to use the service and a dedicated channel is used for communication. (ix). RFCOMM It is a serial line emulation protocol and is based on ETSI07.10 (European telecommunication standardization institute) specification. It emulates RS-232 control and data signals over Bluetooth base band, providing both transport capabilities for upper layers services (ex. OBEX) that use serial line as transport mechanism. (x). OBEX Protocol It is a session protocol developed by infrared data association (IrDA) to exchange objects in a simple and spontaneous manner. Along with the grammar for the OBEX devices to communicate it also provides a model to represent objects and operations. In addition it also defines a folder-listing object, which is used to browse the contents of a folder on remote devices. (xi). The Application Oriented Protocols Cable replacement protocol: RF COMM. Telephony control protocol 1: TCS binary, AT- commands. Adopted protocol: PPP, UDP/TCP/IP, OBEX, WAP, vcard, vcal, WAE. The communication between the subsystems is achieved through the SCO links the Bluetooth specification supports. As per the protocol, an SCO link provides a symmetric link between the master and the slave with a reserved channel bandwidth and regular periodic exchange of data in the form of reserved slots. A master can support upto 3 SCO links to the same or different slaves. This particular concept of the Bluetooth specification is availed in this project which enables a device which wants to transmit/receive the information to/from other subsystems. When a subsystem wants to connect to any other subsystem, it first detects whether the subsystem is in connection with any other subsystem or not. If the subsystem is In t e r n a t i o n a l Jo u r n a l o f El e c t r o n i c s & Co m m u n i c a t i o n Te c h n o l o g y 39

found to be in connection already, the subsystem which wants to connect waits for a particular period of time and then tries again for connection establishment. C. Design and Implementation This part of the project consists of two phases of which the first phase consists of designing the program or the code which controls the embedded system i.e. the ARM processor and also allows the ARM processor to control the Bluetooth device connected to it. The second phase consists of deploying the so developed program into the embedded system and running it. Here the Mini 2440 which is complete developed solution using S3C2440 from Samsung is used as the embedded kit. The S3C2440 contains the ARM 9 processor [2] in it. This module runs on Windows CE operating system. For designing the program for the embedded system, here Visual Basic.Net is used as the programming language. The program for controlling the Bluetooth device using the ARM processor is developed in the Visual Studio Environment which incorporates the visual basic compiler [5]. This code so developed is deployed into the embedded system using the Active sync through the USB cable. Here the Active sync is special software which converts the code into the ARM processor understandable format. This can be shown in the following fig. Fig. 3: Development and Deployment of the Program to the ARM processor Board 1. Implementation Once the code has been deployed into the ARM processor board, it runs automatically on the board. So before the deployment, the Bluetooth device must be connected to the ARM processor board through the serial port. The deployed code runs on the ARM processor [3] board and the code will enable two timers on the ARM processor Board one for 100ms (Timer 2) and the other for 10ms (Timer 1) such that the two timers start concurrently and timer 1 repeats itself for every 10ms and the timer 2 runs for 100ms. The SCO links of the Bluetooth devices are used for establishing the data exchange system. a specific Bluetooth device address. These set of Bluetooth device addresses are preloaded into the application used by the subsystems. This set of addresses are used by a particular subsystem to connect and communicate with any another subsystem. The application developed in this project is generic to all the subsystems because this application can be installed on to any of the subsystems running with different processors. Here for the explanation we are considering only one subsystem based on ARM 9 processor as a subsystem which connects to another subsystem and transfers data periodically to it and then disconnects. As the implementation proceeds, the subsystem (using ARM processor) which wants to communicate with the other subsystem first selects the Bluetooth address of the device connected to the subsystem to which it wants to communicate. Then the Bluetooth device connected to the ARM processor makes itself as the master of the piconet and the other Bluetooth device to which it wants to get connected with becomes the slave. The communication between the master and the slave is only through SCO links [4] where the slave is allowed to transmit/receive to/from the master. The subsystems are numbered as 1 to 7 and are placed at a distance which is a multiple of a parameter β (0.5m) from the main subsystem (One using the ARM9 processor) as shown in the above figure. Here the master first connects to a particular slave device and then instructs the slave for reception from the master. Then, the master starts two timers one for 10ms (Timer 1) and the other for 100ms (Timer 2). Now the master sends a particular amount of data for every 10ms to the slave and continues to do so for 100ms i.e. Timer 1 repeats itself fort every 10ms and does so till the Timer 2 runs out. Once the Timer 2 runs out, the master disconnects itself with the slave turning both the subsystems into idle and available for connection with any other subsystem which wants to communicate. This repeats with every subsystem which has some data to transfer or needs to receive a certain amount of data. III. Evaluation of the system The embedded Bluetooth data exchange system is evaluated based on the simulation parameters which are stated below. The simulation environment consists of a total of 8 Bluetooth devices which might become slave or master depending on the requirement of data transfer i.e. the maximum number of slaves a Bluetooth device of version 2.1 can accommodate in a piconet. The slaves are scattered around the main subsystem (One with ARM9 processor) at random distances each separated by some β where β is the multiplication factor of the distance of the subsystems from the main subsystem. In this way all the subsystems are separated from the main subsystem at a maximum distance of 3 meters. Fig. 4: Implementation of Bluetooth Data Exchange system As shown in the fig. 4, the underwater vehicle consists of many subsystems which are developed using the high end processors and controlling systems. The above figure represents three of the many subsystems present inside the underwater vehicle. Here each subsystem is enabled with a Bluetooth device and 40 International Journal of Electronics & Communication Technology

The observed parameters and the simulation parameters are listed below: Table 1: Parameter Number of subsystem devices used Distance factor β Maximum distance at which devices are placed from Main subsystem Data rate attained Data rate attained in previous model Min data rate required Value 8, each one controlled with a different processor 0.5meters 3 meters 2.0 Mbps 1.1 Mbps 1.2 Mbps As seen from the above results, the minimum required amount of data rate for the efficient functionality of the underwater vehicle is 1.2Mbps. The previous model could provide a data rate nearly enough for the vehicle communications, but at the cost of complexity. The proposed model is highly secure compared to the previous model and provides much better data rates than required and also simplifies the role of data exchange system. IV. Results and Conclusion A wide application and potential development of embedded system has become hotspots in the 21st century. The development of embedded system has injected new life into traditional measurement and control system. The system has achieved the design of Bluetooth data exchange successfully by debugging of the hardware and software. This method of designing and implementing the Data Exchange System using the Bluetooth medium achieves a maximum of 1.9Mbps of data rate against required 1.2Mbps. The data sent by the ARM processor for the data exchange cannot be shown exactly as it will be received by different subsystems but for convenience of understanding the data is represented by considering a standalone PC to be the subsystem to which the main subsystem connects and the data is received in the HyperTerminal through the Bluetooth devices. Fig. 5: This is a new method of implementation of the Bluetooth as a medium for data exchange system and this can be extended by using newer versions of Bluetooth for other under water vessels. IJECT Vo l. 2, Is s u e 4, Oc t. - De c. 2011 References [1] Marc Borremans, Paul Goetschalckx, "Low Power Bluetooth Single-Chip Design [M]",Springer Netherlands, 2006. [2] Shan Qingchen, Ling Zemin, "Establishing and application of the collecting and analysis of arc welding electric parameters based on ARM microprocessor [J]", Electric Welding Machine, 2008. [3] Qu Zhiqian, Lv Yang, "Image acquisition and bluetooth transmission based on ARM & Linux Microcontrollers & Embedded Systems", 2007. [4] Peng Xuange, Xia Jiewu, Liao Jinming, "An Embedded Internet interface system", Control & Automation, Vo21, No 10, 2005. [5] ZhuBing, PengXuanGe, ZhouXuYan, "Realization and Researchof the portable mul-parameters monitoring instruments voice function of the colliery[j]", The machinery of the colliery, 2006, (8), pp. 46-48. [6] Chatschik Bisdikian, An Overview of the Bluetooth Wireless Technology, IEEE Communications Magazine, 2001. [7] Bluetooth SIG, "Specification of the Bluetooth System - Profiles", 2001. [8] J. Hartsen et al., Bluetooth: Visions, Goals, and Architecture, ACM Computer Communications Review, Vol. 4, No. 2,1998, pp. 38-45. [9] Ryan W. Woodings, Derek D. Joos, Trevor Clifton, Charles D. Knutson, Rapid Heterogeneous Ad Hoc Connection Establishment: Accelerating Bluetooth Inquiry Using IrDA. [10] Chomienne, M. Eftimakis, "Bluetooth Tutorial", 2001, [Online] Available: http://www.newlogic.com/products/ Blu etooth-tutorial-2001.pdf [11] K.Anitha, M. Srinivasa Rao, C.R.S.Murthy, Embedded Bluetooth Data Acquisition System based on ARM for Unmanned Under Water Vehicle, IJCSNS, Vol. 11 No. 7, 2011. C.R.S.Murthy was born in Andhra Pradesh, India, in 1987. In 2008 he received his Bachelor of Engineering Degree (B. E.) in Electronics and Communications Discipline. He received his Master s Degree in Communication systems in 2011. His areas of interests include Embedded Systems Design and Encryption. Siva Kumar received his B.E degree in Electronics and Communication from Andhra University College of engineering Visakhapatnam, India, in 2008, the M.Tech. Degree in Radar and Microwave Engineering from Andhra University College of engineering, Visakhapatnam, India, in 2011. His research interests include Radar, Microwave and Image processing. At present, he is an assistant professor, in Department of Electronics and communication, Anil Neerukonda Institute of Technology and Science. In t e r n a t i o n a l Jo u r n a l o f El e c t r o n i c s & Co m m u n i c a t i o n Te c h n o l o g y 41

B. Chandra Mouli received his B.E. degree in Electronics and communication from Sanketika Vidya Parishad Engineering College, Visakhapatnam, India, in 2008, the M.Tech. Degree in Communication Systems from SRKR Engineering college, Bhimavaram, India, in 2011. His research interests include digital signal processing, electromagnetic field theory. He has presented a paper on Estimation of Threat range of underwater Extremely Low Frequency Electric Field (ELFE) in Naval Warfare. He has pursued a project with NSTL. At present, he is an assistant professor, in Department of Electronics and communication, Anil Neerukonda Institute of Technology and Science. G.Srilatha was born in Andhra Pradesh, India, in 1988. In 2009 she received her Bachelor of Engineering Degree (B. E.) in Electronics and Communications Discipline. She is presently pursuing her Master s Degree in Communication systems. Her areas of interests include Embedded Systems Design and Encryption. 42 International Journal of Electronics & Communication Technology