Pages

Showing posts with label Automobile Engineering. Show all posts
Showing posts with label Automobile Engineering. Show all posts

Sunday, June 2, 2013

Wireless Application Protocol (WAP)

Abstract

The Wireless Application Protocol (WAP) is the world standard for presentation and delivery of wireless information and telephony services on mobile phones and other wireless terminals. Wireless devices represent the ultimate constrained computing device with limited CPU, memory, battery life and simple user interface. Wireless networks are constrained by low bandwidth, high latency, unpredictable availability and stability. However most important of all Wireless subscribers have a different set of essential desires and needs than desktop or even internet laptop users.
           
WAP enabled devices are companion products that will deliver timely information and accepts transactions and enquiries when the user is moving around. WAP services provide pin point information access and delivery when all the full screen environment is either not available or not necessary. The WAP specification addresses these issues by using the best of existing standards and developing new extensions where needed. It enables industry participants to develop solutions that are air interface independent, device independent, and fully interoperable. The WAP revolution leverages the tremendous investment in Web Servers, Web Development tools, Web Programmers and Web Applications while solving uique problems associated with the wireless domain. It enables developers to use existing tools to produce sophisticated applications that have an intuitive user interface.
 
1. Introduction


WAP bridges the gap between the mobile world and the Internet as well as corporate intranets and offers the ability to deliver an unlimited range of mobile value-added services to subscribers—independent of their network, bearer, and terminal. Mobile subscribers can access the same wealth of information from a pocket-sized device as they can from the desktop.

WAP is a global standard and is not controlled by any single company. Ericsson, Nokia, Motorola, and Unwired Planet founded the WAP Forum in the summer of 1997 with the initial purpose of defining an industry-wide specification for developing applications over wireless communications networks.. There are now over one hundred members representing terminal and infrastructure manufacturers, operators, carriers, service providers, software houses, content providers, and companies developing services and applications for mobile devices.

WAP also defines a wireless application environment (WAE) aimed at enabling operators, manufacturers, and content developers to develop advanced differentiating services and applications including a microbrowser, scripting facilities, e-mail, World Wide Web (WWW)–to-mobile-handset messaging, and mobile-to-telefax access.

The WAP specifications continue to be developed by contributing members, who, through interoperability testing, have brought WAP into the limelight of the mobile data marketplace with fully functional WAP–enabled devices (see Figure 1).


Figure 1. WAP–Enabled Devices

Based on the Internet model, the wireless device contains a microbrowser, while content and applications are hosted on Web servers.


2. Why WAP is necessary?

A.    Ease Of Use: -despite the fact that using a desktop computer has become progressively easier over the last five years, a wireless computing device must be dramatically easier to use than even simplest desktop computer

These devices are used by people who potentially have no desktop computing experience. Further more they will often be used in dynamic environment where user is engaged in multiple activities. Subscriber won’t be focused on their handset. The way they are when they are sitting in front of a desktop computer. Therefore the devices must be extremely simple and easy to use.
           
Application built for these devices must there fore present the best possible user interface. For quick and simple usage. There can be no installation script, complicated menu structure, application errors, general protection faults or complicated key sequences such as ‘Ctrl+Alt+Del’ or ‘Alt+Shift F5.’

B.     Market size: the growth and the size of the wireless subscriber, market has been phenomenal. According to global mobile magazines, there are more than 200 million wireless subscribers in the world today. According to NOKIA there will be more than 1 billion wireless subscribers by the year 2005. The wireless market is enormous; it can afford and will demand optimized solution.

C.     Usage patterns: - subscribers expect wireless data access to perform like the rest of their handset: the service should be instantly available, easy to use and designed to be used for a few minutes at a time. Hourglass icons telling subscribers to wait will not be acceptable.

D.    Essential Tasks: - they will have small, specific tasks that need to be accomplished quickly. Subscribers will want to scan email rather than read it all, or see just the top stock quotes of interest.


3. The network is different

            Wireless data network present a more constrained communication environment compared to wired network because of fundamental limitations of power, available spectrum and ability, wireless data network tend to have:
1)      Less Bandwidth
2)      More Latency
3)      Less Connection Stability
4)      Less Predictable Availability

Different similarly, mass market, handheld devices present a more constraint computing environment compared to desktop computer. Also because fundamental limitations of battery life and form factor, mass market handheld devices tend to have:
1)      Less Powerful CPUs
2)      Less Memory(ROM/RAM)
3)      Restricted Power Consumption
4)      Smaller Displays
5)      Different input devices (e.g. a phone keypad, voice input etc.)


4. The WAP Model

The WAP programming model (Figure 2) is similar to the WWW programming model. This provides several benefits to the application developer community, including a familiar programming model, a proven architecture, and the ability to leverage existing tools (e.g., Web servers, XML tools, etc.). Optimizations and extensions have been made in order to match the characteristics of the wireless environment. Wherever possible, existing standards have been adopted or have been used as the starting point for the WAP technology.



Figure 2. WAP Programming Model

WAP content and applications are specified in a set of well-known content formats based on the familiar WWW content formats. Content is transported using a set of standard communication protocols based on the WWW communication protocols. A micro browser in the wireless terminal co-ordinates the user interfaces and is analogous to a standard web browser. WAP defines a set of standard components that enable communication between mobile terminals and network servers, including:
Ø  Standard naming model – WWW-standard URLs are used to identify WAP content on origin servers. WWW-standard URIs are used to identify local resources in a device, e.g. call control functions.
Ø  Content typing – All WAP content is given a specific type consistent with WWW typing. This allows WAP user agents to correctly process the content based on its type.
Ø   Standard content formats – WAP content formats are based on WWW technology and include display markup, calendar information, electronic business card objects, images and scripting language.
Ø  Standard communication protocols – WAP communication protocols enable the communication of browser requests from the mobile terminal to the network web server.

The WAP content types and protocols have been optimized for mass market, hand-held wireless devices. WAP utilizes proxy technology to connect between the wireless domain and the WWW. The WAP proxy typically is comprised of the following functionality:
Ø  Protocol Gateway – The protocol gateway translates requests from the WAP protocol stack (WSP, WTP, WTLS, and WDP) to the WWW protocol stack (HTTP and TCP/IP).
Ø  Content Encoders and Decoders – The content encoders translate WAP content into compact encoded formats to reduce the size of data over the network.

This infrastructure ensures that mobile terminal users can browse a wide variety of WAP content and applications, and that the application author is able to build content services and applications that run on a large base of mobile terminals. The WAP proxy allows content and applications to be hosted on standard WWW servers and to be developed using proven WWW technologies such as CGI scripting.

While the nominal use of WAP will include a web server, WAP proxy and WAP client, the WAP architecture can quite easily support other configurations. It is possible to create an origin server that includes the WAP proxy functionality. Such a server might be used to facilitate end-to-end security solutions, or applications that require better access control or a guarantee of responsiveness, e. g, WTA.


5. Architecture of the WAP Gateway


Figure 3: Example WAP 1 Gateway

Wireless Datagram Protocol (WDP)

WDP is a general datagram service, offering a consistent service to the upper layer protocols and communicating transparently over one of the available underlying bearer services. This consistency is provided by a set of adaptations to specific features of these bearers. This thus provides a common interface to the upper layers that are then able to function independently of the services of the wireless network.

Wireless Transport Layer Security (WTLS)

The WTLS layer is designed to provide privacy, data integrity and authentication between two communicating applications. It provides the upper-level layer of WAP with a secure transport service interface that preserves the transport service interface below it. In addition, WTLS provides an interface for managing (e.g., creating and terminating) secure connections. It provides functionality similar to TLS 1.0 and incorporates additional features such as datagram support, optimized handshake and dynamic key refreshing.

Wireless Session Protocol (WSP)

WSP provides HTTP/1.1 functionality and incorporates new features, such as long-lived sessions and session suspend/resume. WSP provides the upper-level application layer of WAP with a consistent interface for two session services. The first is a connection-mode service that operates above the transaction layer protocol, and the second is a connectionless service that operates above a secure or non secure datagram transport service.

HTTP Interface

The HTTP interface serves to retrieve WAP content from the Internet requested by the mobile device. WAP content (WML and WMLScript) is converted into a compact binary form for transmission over the air (see Figure 4).

Figure 4. WAP Content in Compact Binary Form

The WAP microbrowser software within the mobile device interprets the byte code and displays the interactive WAP content (see Figure 5).


Figure 5. Mobile Device Display


6. Example WAP Network

The following is for illustrative purposes only. An example WAP network is shown in Figure 7.


Figure 7. Example WAP Network

In the example, the WAP client communicates with two servers in the wireless network. The WAP proxy translates WAP requests to WWW requests thereby allowing the WAP client to submit requests to the web server. The proxy also encodes the responses from the web server into the compact binary format understood by the client.

If the web server provides WAP content (e.g., WML), the WAP proxy retrieves it directly from the web server. However, if the web server provides WWW content (such as HTML), a filter is used to translate the WWW content into WAP content. For example, the HTML filter would translate HTML into WML.

The Wireless Telephony Application (WTA) server is an example origin or gateway server that responds to requests from the WAP client directly. The WTA server is used to provide WAP access to features of the wireless network provider’s telecommunications infrastructure.

6.1.  Mobile-Originated Example of WAP Architecture

WAP will provide multiple applications, for business and customer markets such as banking, corporate database access, and a messaging interface (see Figure 6).

          Figure 6. Messaging Interface

The request from the mobile device is sent as a URL through the operator's network to the WAP gateway, which is the interface between the operator's network and the Internet.
 7. The Future of WAP

The tremendous surge of interest and development in the area of wireless data in recent times has caused worldwide operators, infrastructure and terminal manufacturers, and content developers to collaborate on an unprecedented scale, in an area notorious for the diversity of standards and protocols. The collaborative efforts of the WAP Forum have devised and continue to develop a set of protocols that provide a common environment for the development of advanced telephony services and Internet access for the wireless market. If the WAP protocols were to be as successful as transmission control protocol- (TCP)/Internet protocol (IP), the boom in mobile communications would be phenomenal. Indeed, the WAP browser should do for mobile Internet what
Netscape did for the Internet.

As mentioned earlier, industry players from content developers to operators can explore the vast opportunity that WAP presents. As a fixed-line technology, the Internet has proved highly successful in reaching the homes of millions worldwide. However, mobile users until now have been forced to accept relatively basic levels of functionality, over and above voice communications and are beginning to demand the industry to move from a fixed to a mobile environment, carrying the functionality of a fixed environment with it. Initially, services are expected to run over the well-established SMS bearer, which will dictate the nature and speed of early applications. Indeed, GSM currently does not offer the data rates that would allow mobile multimedia and Web browsing. With the advent of GPRS, which aimed at increasing the data rate to 115 kbps, as well as other emerging high-bandwidth bearers, the reality of access speeds equivalent or higher to that of a fixed-line scenario become evermore believable?. GPRS is seen by many as the perfect partner for WAP, with its distinct time slots serving to manage data packets in a way that prevents users from being penalized for holding standard circuit-switched connections.


8. WAP in the Competitive Environment

Competition for WAP protocols could come from a number of sources:

Ø   Subscriber Identity Module (SIM) toolkit— The use of SIMs or smart cards in wireless devices is already widespread and used in some of the service sectors.

Ø  Windows CE—  This is a multitasking, multithreaded operating system from Microsoft designed for including or embedding mobile and other space-constrained devices.


Ø  Java Phone™—Sun Microsystems is developing PersonalJava™ and a Java Phone™ API, which is embedded in a Java™ virtual machine on the handset. NEPs will be able to build cellular phones that can download extra features and functions over the Internet; thus, customers will no longer be required to buy a new phone to take advantage of improved features.

The advantages that WAP can offer over these other methods are the following:
  •  open standard, vendor independent
  •  network-standard independent
  •  transport mechanism–optimized for wireless data bearers
  •  application downloaded from the server, enabling fast service creation  and introduction, as opposed to embedded software


9. Conclusion

WAP provides a markup language and a transport protocol that opens the possibilities of the wireless environment and give players from all levels of the industry the opportunity to access an untapped market that is still in its infancy.

The bearer-independent nature of WAP has proved to be a long-awaited breath of fresh air for an industry riddled with multiple proprietary standards that have suffocated the advent of a new wave of mobile-Internet communications. WAP is an enabling technology that, through gateway infrastructure deployed in mobile operator's network, will bridge the gap between the mobile world and the Internet, bringing sophisticated solutions to mobile users, independent of the bearer and network.

Backed by 75 percent of the companies behind the world's mobile telephone market and the huge development potential of WAP, the future for WAP looks bright.


References

1)      Computer Networks” by Andrew S. Tanenbaum,  Fourth edition



WIRELESS USB



ABSTRACT
            WUSB (Wireless Universal Serial Bus) is ideal for point-to-point connections from PC to PC, PC to a peripheral like printer or camera, and peripheral to peripheral, like a digital camera to printer. The overhead required for maintaining the hardwired networks cost of cabling, manpower and time is eliminated using wireless technology.  Wireless serial technology creates virtually endless new opportunities in the way companies conduct business. Wireless connectivity provides mobility that was previously unavailable without increase in the cost and inconvenience of installing new cabling.  The flexibility of wireless makes WUSB an ideal solution for many applications, including point-of-sale, industrial control and simplified LAN expansion. By using WUSB Connect the device like as printer external hard drive and digital Camera to your pc .Without a single wire and still get a speed and security of a wired connection. the WUSB chipset is highly compact and can be built in to the Product .the technology approaches to wireless USB dongles ,wireless internet connection Sharing through USB, wireless printers sharing through USB ,wireless digital camera.
This paper presents an overview of WUSB by explaining the operation, features and various applications the impact of WUSB on wireless technology. The paper also provides a future agenda in this area.

Introduction

            Today the wireless technology field is very fast growing area with the number of users and their demand for better re-sources and equipment increasing day by day. Wireless USB will build on the success of wired USB, bringing USB technology into the wireless future. Usage will be targeted at PCs and PC peripherals, consumer electronics and mobile devices. To maintain the same usage and architecture as wired USB, the Wireless USB specification is being defined as a high-speed host-to- device connection. This will enable an easy migration path for today’s wired USB solutions.
                The growing use of wireless technology in PC, CE, and mobile communications products, along with the convergence of product functionalities, calls for a common wireless interconnect standard. The standard needs to work well with products and usage models from all three industries. To better understand what’s driving the need for a common standard, we’ll examine how wireless USB products will soon be used in home and business environments. We’ll also consider the rise of “dual-role” devices that include both host and device capabilities. the Wireless USB is highly compact and can be build directly into product. Whether it is digital camera or USB printer, USB makes USB connectivity easier than ever before

 Architecture of wireless USB

The architecture of Wireless USB is a classic hub-and-spoke, where the host (the user’s PC) communicates directly with up to 127 USB devices .Communications with each device is scheduled to simplify the management of communications with multiple
devices. The physical layer (PHY)—the radio portion and its interfaces—is defined by the MB-OFDM specification. The PHY supports data rates of 53.3, 106.7 and 200 Mb/s (required) and 80, 160, 320, 400 and 480 Mb/s (optional). Wireless USB hosts must
support the same data rates for both transmit and receive. The PHY defines all hardware
interfaces, such as the types of connectors and pin function assignments, as well as the radio functions, including modulation type, frequencies of operation, power control, and other characteristics that must be part of the base band-TX-propagation- RX-base band chain. A typical OFDM transmit chain is shown in Figure 1. Note that, as a time-domain based transmission method, UWB uses inverse-FFT in the transmitter and FFT in the receiver. These processes have the additional benefit of easily handling narrowband interference—either received or transmitted. Using FFT techniques, a single-frequency can be eliminated (“notched”) with minimal effect on the transmission quality.



Figure 1 · A typical UWB MB-OFDM transmit chain for Wireless USB

Product being developed by companies

1.      Cypress Semiconductors
2.      Intel
3.      Topcom

The single chip CY694X comprises a 0.25 micron Bi CMOS radio frequency transreciver and 0.25 micron CMOS base band that does setup and break down of links, packet framing error checking, and any real time operation. The base band also includes an applications engine. They consume less than 10 microamperes in stand by mode. Its power amplifier output of 4 dBm translates to 0 dBm at the antenna like as Bluetooth.
Similar in many to Bluetooth, the CY694X uses a frequency-hopping spread sprectum scheme with 1600 hops/second over 79 channels in 1MHz band. But unlike Bluetooth, it uses 2FSK modulation and 10/15 Hamming-code forward error correction for max data rate of 217.6 Kbps over a range of 10 meters or more. The CY694X supports 7 nods per host and multiple separate links in the same space. Using frequency-hopping spread-spectrum technology, it allows use of multiple wireless USB devices in crowded offices and classroom without the fear of interference between devices. Advance power management enable batteries to last up to 6 months in typical keyboard applications. bidirectional communication makes it possible to encrypt the transmitted data, ensuring a high level of security .
                  Operating at 2.4GHz, the same frequency as used by Bluetooth and 802.11b wireless networks, the CY694X can connect as many as seven devices up to 10 meters apart, making wireless USB low cost wireless RF solution and possibly an alternative to Bluetooth.


What is frequency-hopping spread-spectrum
     
It is a form of wireless communication in which the frequency of the transmitted signal is deliberately varied. Frequency-hopping spread-spectrum (FHSS) utilizes conventional modulation techniques o0n the RF carrier, but the carrier is not fixed; instead it varies in frequency according to a pseudorandom coded sequence. Near-term distribution of hopes appears random, the long-term distribution appears evenly distributed over the hop set, and sequential hops vary randomly in both direction and magnitude of change.
Advantages of FHSS
1)      Better voice quality/data integrity.
2)      Less static noise.
3)      Lowered susceptibility to the multipath fading.
4)      Inherent security.


 Topology

The fundamental relationship in Wireless USB is the “hub- and-spoke” topology, as shown in Figure 2. The host initiates all the data traffic among the devices connected to it, allotting time slots and data bandwidth to each device connected. These relationships are referred to as clusters. The connections are point-to-point and directed between the Wireless USB host and Wireless USB device. The main difference here from wired USB case is that there are no hubs present in the connection topology. The Wireless USB host can logically connect to a maximum of 127 Wireless USB devices. Wireless USB clusters co-exist within an overlapping spatial environment with minimum interference, thus allowing for a number of other Wireless USB clusters to be present within the same radio cell. In addition to providing wireless connectivity, Wireless USB will be backward compatible with wired USB and provide bridging to wired USB devices and hosts. A method will be required to enable the exchange of data between clusters or devices not related to the same host. This method may be a second-level connection between two hosts (i.e., a network) or some method of transferring data between two clusters not managed by the same host.

  


Figure (2)


  
Application

Home applications

The trend towards smaller form factors, portability and mobility in consumer electronics devices has led to the emergence of new classes of products. These products have rich functionality, multimedia capabilities, and require connection to other AV devices for display, editing, listening, sharing, and downloading of content. Within the home, for instance, a family may have a digital video camcorder, digital still camera, portable MP3 player, PDA, tablet PC, wireless speakers, and personal video display device Each of these portable devices has a need to connect to other devices such as PCs or stationary consumer electronics products, such as stereos, HD TV s, video recorders, entertainment PCs, or the like. All these devices would benefit from the ability to connect without cables. Think, for instance, about the number of devices in your home and the tangle of wires between them. Wireless USB would eliminate these wires and enable devices to wirelessly connect to each other.





Figure 3. Home usage scenarios that could be “unwired” with Wireless USB.

  
Naturally, the CE environment will have high expectations for performance. Many consumer usage models will center on demanding streaming media distribution using compression algorithms. Typical video delivery with standard SDTV/DVD can consume between 3 to 7 Mbps, while HDTV can require between 19 to 24 Mbps. A point distribution technology like Wireless USB with its projected effective bandwidth of 480 Mbps, could manage multiple HDTV streams while still having the capacity to support other high-bandwidth data streams. Host buffering could enable a network backbone to effectively distribute content to all distribution hosts, enhancing the quality experience for all users. The Wireless USB specification will be an effective way to ensure that the delivered convenience and quality of service meets typical consumer entertainment expectation

 Office/Business application
             Connectivity issues and other inconveniences of wired connections can hurt productivity and slow the adoption of new devices within the work environment. Users of mobile computers and PDAs particularly face connection challenges as they move from place to place and want to use printers and other devices. Wireless USB could simplify their lives while providing a time-saving, high-speed connection that enhances productivity (see Figure 4). In this section, we give some typical scenarios of how Wireless USB could enhance connectivity in the office.



      Executives, managers and heavy users need faster, dedicated services in their office rather than those shared on the network. With Wireless USB, devices such as inkjet and laser printers, scanners, external storage devices, and PC cameras can quickly connect and exchange data at high speed. Top Wireless USB uses will probably include: simultaneous and frequent-use mass storage for data back- up, printer connectivity, scanner connectivity, and PDA or cell phone synchronization.







Printing to Enterprise Printer
       For office workers that are very mobile and frequent differ- ent areas of an enterprise, the option of easily printing from a mobile platform (notebook PC, PDA, cell phone, etc.) is very attractive. With Wireless USB, a worker could simply approach the nearest printer or multi-function device and print the needed documents. This would alleviate many of the inconveniences today in finding a printer on a network and connecting to it.

Sharing of Peripheral Devices
Wireless USB will enable colleagues to more easily share devices and use each other’s devices within an office environment. Easy sharing of scanners, printers, storage devices, and other possible peripherals would be possible. Exchanging large files off hard disk drives without sending them through e-mail or over the network would be possible.

Dual-role Devices
A new class of Wireless USB dual-role devices is projected to eliminate wires in many usage scenarios and enable new uses not previously possible. These devices will offer both limited host and device capabilities, similar to that experienced with USB On-The-Go. (USB OTG is the wired USB specification defining dual-role devices which can act as either hosts or peripherals, and can connect to PCs or other portable devices through the same connector.) Figure 5 shows some dual-role device usage scenarios. More detailed descriptions of various scenarios are also provided.



Figure(5)


Camera to Printer
Wireless USB could enable people to wirelessly download and print digital photos to a color printer. Imagine taking pictures at an amusement park and being able to share copies immediately by transmitting the pictures to a printer at a digital photo kiosk.

MP3 Player to Wireless Speakers
Many people already carry their music wherever they go. Imagine being able to connect to high quality surround sound speakers wherever you are. With Wireless USB, you could forget cables. Just hit play and listen.

Wireless USB vs. Bluetooth

Unlike similar wireless technology, such as Bluetooth or Wi-Fi, wireless USB is not 100percent networking solution. It works on simple point to point basis. This allows, for e.g., keyboard with PC, enabling fast, simple communication between PC and USB device. Bluetooth is short range cable replacement technology that was originally conceived by radio engineers as low cost, convenient and flexible communication technology that would enable any manner of electronics devices to communicate with one another using common protocol. It is regarded by most as truly all pervasive technology that will enable user to experience “out of box” communication with unknown, public or shared electronic devices. Bluetooth uses the unlicensed 2.4-2.483 GHz industrial, scientific and medical (ISM) band.
Unlike Bluetooth, wireless USB provides high level compatibility with existing USB HID software stacks, making it easier for peripheral and PC developers to roll out the technology. It is primarily targeting keyboard, mouse and game controller makers, but may extend to other roles, such as wireless printing, where Bluetooth has had relatively little success. However, wireless USB is not of much use for some of the other Bluetooth application, most notably digicam picture transfers and PDA syncronisation, largly because all these demand more bandwidth than wireless USB can supply. Synchronizing a PDA using Bluetooth is slower than using a USB cable but not enough to outweigh the benefit of eliminating cable.


Wireless USB technology will support the following features

·         Simple, low-cost implementation. The implementation will follow the wired USB connectivity models as closely as possible to reduce development time and to preserve the low-cost, ease-of-use model which has become pervasive in the PC industry.
·         A point-to-point connection topology supporting up to 127 devices that follows a similar host-to-device architecture as used for wired USB.
·         High spatial capacity in small areas to enable multiple devices access to high bandwidth concurrently. Multiple channel activities will be able to occur within a given area. The topology will also support multiple clusters in the same area. The number of clusters to be supported is yet to be determined
·         dual-role model where a device can also provide limited host capabilities. This model would allow mobile devices to access services with a central host supporting the services (i.e., printers and viewers). It would also allow devices to access data outside a cluster they are connected to by creating a second cluster as a limited host
·         Transparent wireless USB connection
·         Full speed USB 1.1 compliant
·         2.4GHz of RF band for the use in most regions of the world
·         Range up to the 300metres when outdoor and up to the 100 metres when indoor
      ·         3-15MBPS data rate
·         Direct sequence spread spectrum
·         Low power consumption
·         Complies with other 802.11b/g devices
·         Supports windows 98 SE /2000/ME/XP

Future

A completed Wireless USB specification is expected by year’s end. The first Wireless USB implementations will be in the form of discrete silicon that will be introduced in a number of form factors. These include add-in cards and dongles, along with embedded solutions to support the technology’s introduction and subsequent rapid ramp-up. The wireless future will truly arrive once Wireless USB, along with the Common Ultra-Wideband Platform, becomes a standard part of every processor and chipset, integrated in CMOS silicon. The goal is for Wireless USB to become the wire- less interconnect of choice for desktop and mobile PCs, handheld, mobile, and consumer electronic devices, allowing easy connection and data exchange at high speeds without wires.


Reference
1.      Universal Serial Bus – www.intel.com/technology/usb
2.      Electronics For You   Aug. 05

3.      September 2005 High Frequency Electronics -www.wimedia.org.

Sunday, May 26, 2013

BLUETOOTH A wireless system

ABSTRACT                                         
             
 The Bluetooth wireless technology was created to solve a simple problem: replace the cables used on mobile devices with radio frequency waves. The technology encompasses a simple low-cost, low-power, global radio system for integration into mobile devices. Such devices can form a quick ad-hoc secure "piconet" and communicate among the connected devices. This technology creates many useful mobile usage models because the connections can occur while mobile devices are being carried in pockets and briefcases                                            
         Bluetooth uses radio waves in 2.4GHz band. The main disadvantage of infrared communication i.e. requirement of ‘line of sight’, gets eliminated as radio waves are used for communication in Bluetooth. Bluetooth only operates at weak wattage levels. Bluetooth works in small confined area of 10 to 15 meters and it can also be increased upto 100 meters by increasing power. Bluetooth use a technology called spread spectrum frequency hopping. It gives security to the system in terms of interference problem. Bluetooth supports not only point-to-point connections but also multipoint connections. The multipoint connection of devices is called as piconet and network of many piconets form scatternet.  Piconet is also called as PAN i.e. ‘Personal Area Network’.In this paper ww will discuss brief about working                                                                        

         Chipsets are very small in size and further smaller chips are in development, hence now a days Bluetooth technology has moved fast in terms of adoptation. So the ‘Special Interest Group’ of Bluetooth (SIG) introduced by Ericsson in 1994, has now tripled in size and has over 2000 companies on board. 

v  HISTORY

The name Bluetooth refers to the Danish king Harald Blåtand (Bluetooth) who unified Denmark and Norway in the 10th Century.In the beginning of the Bluetooth wireless technology era, Bluetooth was aimed at unifying the telecom and computing industries.

                                                                 
The logo for Bluetooth is based on Runes surrounding the  legend of Harald Bluetooth Bluetooth the technology is based on communications central to man’s own personal space. Fundamentally Bluetooth operates within the Industrial, Scientific and Medical (ISM) band at 2.4 GHz. It
is a short-range wireless communication standard defined as cable replacement for a   Personal Area Network (PAN).


v  Introduction
ð  what is bluetooth?
                "Think of a connected world of electronic devices and appliances around you!  You click on an icon for a device and you are linked to it, automatically and transparently"  .

     A cable replacement standard has been defined because cables limit mobility of the consumer; they are cumbersome to carry around, are easily lost or broken. Often connectors are prone to difficult to diagnose failures; or are proprietary. To counteract these limitations Bluetooth is designed to be light and portable. It can be embedded to take the riggers of physical knocks and shocks. It includes standards and protocols to make it mobile, robust, reliable and not limited to one manufacturer.
                  The operating band also fits the goals of Bluetooth, imposing requirements as a cable replacement. The cost needs to be comparable with cable. Reductions can be achieved by operating in the licence free 2.4 GHz ISM band, keeping backward compatibility wherever possible lowers the cost of ownership by avoiding upgrades and having a relaxed radio specification enables single chip integrated circuit solutions. It also needs to be as reliable and resilient as cable and cope with errors and degradation caused by interference. For mobile devices it must be compact, lightweight, low power and easy to use.
Briefly, Bluetooth technology
Ø  Evolved from basic cellular digital radio designs implemented in mobile phones since the early 1980s.
ü  Based on 802.11 in ad-hoc mode
Ø  Short range (up to 10m) radio communications standard
Ø  Runs at 2.4 GHz, near microwave frequency                                                               Unlicensed part of spectrum
Ø  No line of sight is required
Ø  Performs fast frequency hopping (1600 hops/sec) between 79 points to avoid interference
Ø  Is full duplex
Ø  Low power, 30-100mA during sustained data transmissions
Ø  Devices automatically switch to power saving mode
Ø  Bandwidth is wide enough to carry voice & data
ü  an asynchronous data channel, or
ü  up to 3 simultaneous synchronous voice channels, or
ü  a channel which simultaneously supports asynchronous data and synchronous voice.
Ø  Transfers data at 721 Kbps
Ø  three to eight times the average speed of parallel and serial ports, respectively.
Ø  Up to 7 simultaneous connections can be established and maintained

v  Frequency Hopping technique
We have addressed the reasons for the Bluetooth without delving into the ‘nuts and bolts’ of the technology to discover how it operates. For the majority of countries the ISM band used by Bluetooth is available from 2.40-2.4835 GHz, although some countries impose restrictions. In this band Bluetooth uses Frequency Hopping Spread Spectrum (FHSS) techniques in order to improve its immunity from interference.
In unrestricted countries the radios hop in pseudo random sequences around all available channels, this equates to 79 RF channels with a channel spacing of 1 MHz. Starting at a base frequency of 2402 MHz then the frequency of the channels, f, can be expressed as:
f =2402 + n MHz

where, n, is the channel number with an integer value in the range of 0 to 78. In restricted countries a limited frequency hopping schemes with just 23 channels is used and is catered for in the Bluetooth specification. Both hopping schemes have a 1 MHz channel spacing making it possible to design a simple radio interface whereby the baseband only has to specify a channel number and the radio multiplies this up to the appropriate frequency offset.

In this FHSS scheme there are 1600 hops per second, which is a hop every 625 µs. Part of this hop timing is taken up by the guard time of 220 µs allowing the synthesizer time to settle. The frequency hopping implements time division multiplexing as shown in Figure 2. The basis of the scheme has the Master device transmitting in the first 625 us slot, k, and here the Slave receives. In the next slot k = 1 the Slave is permitted to transmit and the master listens.

Fig: Frequency hopping,master and  slave interact of corresponding slots

 


The radio must be able to retune and stabilise on a new frequency within tight time constraints. This is pushed further when establishing a connection; the hop rate can be shortened to every 312.5 us. As the radios are constantly hopping to different radio channels, this ensures that packets affected by interference on one channel can be retransmitted on a different frequency channel. To further enhance resilience both ARQ (Automatic Repeat reQuest) and FEC (Forward Error Correction) form part of the specification.
One drawback with the normal hop sequence is the time taken for production testing. Bluetooth ensures adequate frequency coverage with a test sequence allowing the radios to be tested at a faster rate

v  The Protocol Stack
The Bluetooth specifications define not only a radio system but cover the underlying structure. The Core Specification contains a software protocol stack similar to the more familiar Open Systems Interconnect (OSI) standard reference model for communication protocol stacks. It permits applications to discover devices, the services they offer and permission to use these services. The stack is a sequence of layers with features crossing single or multiple layered boundaries. Figure 4 outlines the stack with each block corresponding to a Core Specification chapter. Other remaining chapters relate to compliance requirements, test modes and test control interface.

                                    fig :  The Bluetooth protocol stack
If we ascend the stack, we first come across the fundamental component, the radio. The radio modulates and demodulates data for transmitting and receiving over the air. The operating band of the radio is divided into 1 MHz spaced channels with a chosen modulation scheme of Gaussian Frequency Shift Keying (GFSK). Each channel is specified to signal at 1mega symbols per second, equivalent to 1 Mb/s. Above the radio are the Baseband and Link Controller, they are responsible for controlling the physical links via the radio, assembling the packets and controlling the frequency hopping.
Progressing through the layers, the Link Manager (LM) controls and configures links to other devices. The Host Controller Interface (HCI) is above the             LM layer and is probably one of the most important layers to consider as a designer. It handles communication between host and the module. The standard defines the HCI command packets that the host uses to control the module, the event packets used by the host to inform lower protocol layers of changes, the data packets for voice and data traffic between host and module and the transport layer used by the HCI packets. The transport layer can be USB (H2), RS232 (H3), UART (4) or a robust proprietary standard such as BCSP (BlueCore Serial Protocol).
           
The Logical Link Control and Adaptation (L2CAP) is a multiplexor, adapting data from higher layers and converting between different packet sizes. The next 4 layers could be loosely grouped as communication interfaces. These are RFCOMM (Radio Frequency COMMunication port) which provides an RS232 like serial interface. Wireless Application Protocol (WAP) and OBject  EXchange (OBEX) are responsible for providing interfaces to other Communications Protocols. The final member of this rough grouping is the Telephony Control protocol Specification (TCS) providing telephony services. Service Discovery Protocol (SDP) lets devices discover the services available on another Bluetooth device.
            The application layer is probably obvious, but the standard provides Profiles laying out rules for how applications use the protocol stack, ensuring interoperability at application level.

v  The Profiles—A Hierarchy of Groups

The Bluetooth specification defines a wide range of profiles, describing many different types of tasks, some of which have not yet been implemented by any device or system.. For information on other profiles, including those still in development, see the Bluetooth specification.                                                                                               

At a minimum, each profile specification contains information on the following topics:                                                                                                                 Dependencies on other profiles. Every profile depends on the base profile, called the generic access profile, and some also depend on intermediate profiles.Suggested user interface formats. Each profile describes how a user should view the profile so that a consistent user experience is maintained.                                             Specific parts of the Bluetooth protocol stack used by the profile. To perform its task, each profile uses particular options and parameters at each layer of the stack. This may include an outline of the required service record, if appropriate

ð  The Base Profile

At the base of the profile hierarchy is the generic access profile (GAP), which defines a consistent means to establish a baseband link between Bluetooth devices. In addition to this, the GAP defines:

ü  Which features must be implemented in all Bluetooth devices
ü  Generic procedures for discovering and linking to devices
ü  Basic user-interface terminology
All other profiles are based on the GAP. This allows each profile to take advantage of the features the GAP provides and ensures a high degree of interoperability between applications and devices. It also makes it easier for developers to define new profiles by leveraging existing definitions

ð  Other Profiles

            The service discovery application profile describes how an application should use the SDP (described in “The Bluetooth Protocol Stack”) to discover services on a remote device. As required by the GAP, any Bluetooth device should be able to connect to any other Bluetooth device. Based on this, the service discovery application profile requires that any application be able to find out what services are available on any Bluetooth device it connects to.         
          The human interface device (HID) profile describes how to communicate with a HID class device using a Bluetooth link. It describes how to use the USB HID protocol to discover a HID class device’s feature set and how a Bluetooth device can support HID services using the L2CAP layer.                                                             

         


Figure 1-2  The Bluetooth profiles

As its name suggests, the serial port profile defines RS-232 serial-cable emulation for Bluetooth devices. As such, the profile allows legacy applications to use Bluetooth as if it were a serial-port link, without requiring any modification. The serial port profile uses the RFCOMM protocol to provide the serial-port emulation.                 
The dial-up networking (DUN) profile is built on the serial port profile and describes how a data-terminal device, such as a laptop computer, can use a gateway device, such as a mobile phone or a modem, to access a telephone-based network. Like other profiles built on top of the serial port profile, the virtual serial link created by the lower layers of the Bluetooth protocol stack is transparent to applications using the DUN profile. Thus, the modem driver on the data-terminal device is unaware that it is communicating over Bluetooth. The application on the data-terminal device is similarly unaware that it is not connected to the gateway device by a cable.            
 The headset profile describes how a Bluetooth-enabled headset should communicate with a computer or other Bluetooth device (such as a mobile phone). When connected and configured, the headset can act as the remote device’s audio input and output interface.
The hardcopy cable replacement profile describes how to send rendered data over a Bluetooth link to a device, such as a printer. Although other profiles can be used for printing, the HCRP is specially designed to support hardcopy applications.
The generic object exchange profile provides a generic blueprint for other profiles using the OBEX protocol and defines the client and server roles for devices. As with all OBEX transactions, the generic object exchange profile stipulates that the client initiate all transactions. The profile does not, however, describe how applications should define the objects to exchange or exactly how the applications should implement the exchange. These details are left to the profiles that depend on the generic object exchange profile, namely the object push, file transfer, and synchronization profiles.
The object push profile defines the roles of push server and push client. These roles are analogous to and must interoperate with the server and client device roles the generic object exchange profile defines. The object push profile focuses on a narrow range of object formats for maximum interoperability. The most common of the acceptable formats is the vCard format. If an application needs to exchange data in other formats, it should use another profile, such as the file transfer profile.
The file transfer profile is also dependent on the generic object exchange profile. It provides guidelines for applications that need to exchange objects such as files and folders, instead of the more limited objects supported by the object push profile. The file transfer profile also defines client and server device roles and describes the range of their responsibilities in various scenarios. For example, if a client wishes to browse the available objects on the server, it is required to support the ability to pull from the server a folder-listing object. Likewise, the server is required to respond to this request by providing the folder-listing object.
The synchronization profile is another dependent of the generic object exchange profile. It describes how applications can perform data synchronization, such as between a personal data assistant (PDA) and a computer. Not surprisingly, the synchronization profile, too, defines client and server device roles. The synchronization profile focuses on the exchange of personal information management (PIM) data, such as a to-do list, between Bluetooth-enabled devices. A typical usage of this profile would be an application that synchronizes your computer’s and your PDA’s versions of your PIM data. The profile also describes how an application can support the automatic synchronization of data—in other words, synchronization that occurs when devices discover each other, rather than at a user’s command.

v  Piconet,and Scatternet

ð  Master and Slave Operation.
Bluetooth devices exist in small ad-hoc network configuration with the ability to operate as either master or the slave; the specification also allows a mechanism for master and slave to switch their roles. The configurations can be single point, which is the simplest configuration with one master and one slave. Multipoint, called a Piconet, based on up to 7 slaves clustered around a single Master. And a third type called a Scatternet, this is a group of Piconets effectively hubbed via a single Bluetooth device acting as a master in one Piconet and a slave in the other Piconet. The Scatternet permits either larger coverage areas or number of devices than a single Piconet can offer. Figure 5 outlines the different master and slave topologies permitted for networks in the standard.


             fig : point to point ,piconet & scatternet

The role of the master is to control the available bandwidth between the slaves, it calculates and allocates how often to communicate with each slave and locks them into the appropriate frequency hopping sequence. The specification describes an algorithm that calculates the hop sequence, the seed being based on the master’s device address and clock. In addition to hop sequence control, the master is responsible for transmit control by dividing the network into a series of time slots amongst the net members, as part of a Time Division Multiplexing (TDM) scheme. These time slots can consist of data and potentially additional voice traffic i.e. you will always need a data channel before you can add a voice channel. The time slot is defined as 625 µs and all packet traffic is allocated 1, 3 or 5 slots, grouped together in transmit and receive pairs. Prior to connection some operations such as inquiry, paging and scanning operations may sometimes occur on half slots.

 v  bluetooth Security
Ø  Bluetooth guarantees security at the bit level. Authentication of any device is controlled by the user by using a 128 bit key. Radio signals can be coded with 8 bits or anything up to 128 bits.

Ø  Bluetooth protocol has these components:

ü  Random Number Generation

ü  Encryption (128-bit WEP)

ü  Encryption Key Management

ü  Authentication

Ø  Devices can be assigned a PIN which must be verified before others can access it

Ø  Devices have unique 48 bit Bluetooth address

Ø  Bluetooth uses Frequency Hopping Spread Spectrum (FHSS) techniques in order to improve its immunity from interference. .

Ø  Fast frequency hopping provides some security

ü  Only synchronised nodes can follow transmissions

Ø  Uses checksums & FEC (Forward Error Correction) to detect & fix corruption of data & limits the impact of random noise on long-distance links.

v  comparison with infrared and  802.11b
ð  Infrared vs. Bluetooth
Ø  The infrared beams have a major disadvantage because it is all done by line of sight. 
Ø  Line of sight is exactly how your eyes function; if you can not see an object you do not know it’s there.
Ø  The infrared transmitter must be in direct sight of the device. 
Ø  This means the user can not use the device in other rooms and it has a weaker signal since it always has to be in direct sight of the transmitter.
Ø   Since Bluetooth uses radio signals, the devices do not have to be in direct sight of the Bluetooth transmitter

ð  BLUETOOTH AND 802.B  
                                                                                                                                                                                                     
Bluetooth's biggest perception problem has nothing to do with Bluetooth itself. The meteoric rise in popularity of IEEE 802.11b (WiFi) wireless networking devices has left many users wondering if they need Bluetooth at all. IEEE 802.11b offers faster speeds and greater range than Bluetooth. To further confuse matters, the two systems share space in the unlicensed 2.4 GHz radio spectrum, and it is possible for Bluetooth and IEEE 802.11b systems to interfere with one another.

There's also a public perception that IEEE 802.11b and Bluetooth compete with one another. While both can be used to connect computers into an ad-hoc network, the two systems are really complementary technologies that meet very different needs. Refer to the table below for important fundamental differences between Bluetooth and IEEE 802.11b.
Contrasting Technologies
ArrowHere are important fundamental differences between Bluetooth and IEEE 802.11b

Bluetooth
IEEE 802.11b
Access
Doesn't typically have an access point--devices on a Bluetooth PAN communicate directly with one another.
IEEE 802.11b allows mobility over a very large area. When out of range of one IEEE 802.11b access point, another takes over.
Use of Radio Band/Spectrum
2.4 GHz radio band/Frequency Hopping Spread Spectrum (FHSS)
2.4 GHz radio band/Direct Sequence Spread Spectrum (DSS)
QOS Features
Yes
A proposed extension will add this feature, paving the way for wireless IP telephones
Radio Signal
Weaker signal provides for more conservative use of battery power (designed for PDAs, wearable headsets, cell phones)
Stronger signal provides more power but uses 10 to 100 more power than Bluetooth (designed for notebook computers, where the additional current drain is negligible

 

v  Advantages & Disadvantages

ü  Advantages


1.      It eliminates the need of cables or wires for connecting various devices.
2.      The capital cost is low .
3.      Chips are available in very small size having area 0.9 cm square, and much smaller chip versions are in development.
4.      Almost  any electronic device can be connected.
5.      Unlike infra-red, Bluetooth does not require line-of-sight positioning of connected devices.

ü  Disadvantages

1.      The maximum range for this technology is 10 meter, which limits the space of PAN and/or limits the connection accessibility needed by other electronic devices to perform an action.
2.      The maximum capacity of data transmission with this technology one mega bit per second, which makes the information exchange very slow when handling large size files or folders.


v  Applications
Automatic communication between various devices within a small area makes it possible to provide unique and innovative services to the professional  workers using portable devices. Bluetooth technology has this potential and is coming along fast and quick. It will replace clumsy wires, make information transfer automatic and introduce many new applications, as follows
1.      The Bluetooth technology connects all office peripherals wirelessly. We can connect  PC or notebook to printers, scanners and faxes without cable attachments. 
2.      If digital camera is  Bluetooth enabled, we can send  video images from any location to any location without the hassle of connecting the camera to the mobile phone on the wire line phone.
3.      Bluetooth allows us to have three way phones. At home, your phone functions as a portable phone (fixed line charge). When you're on the move, it functions as a mobile phone (cellular charge). And when your phone comes within range of another mobile phone with built-in Bluetooth wireless technology it functions as a walkie-talkie (no telephony charge).


4.       We can connect wireless headset to mobile phone, mobile computer or any  wired connection to keep our hands free for more important tasks when we're    at the office or in car.
5.      
Automatic Message Delivery : Compose e-mails on  portable PC while you're on an airplane. As soon as you've landed and switched on your mobile phone, all messages are immediately sent.

6.      Upon arriving at the home, the door automatically unlocks, the entry way lights come on, and the heat is adjusted to pre-set preferences.
7.      There are in automobile’s navigation system, when the driver opens the car door with his or her palm pilot, the palm and navigation system automatically communicate and transfer driving instructions. 

v  Conclusion

This was an overview of Bluetooth giving insight to the key features and potential challenges of the technology. The technology occupies the 2.4 GHz ISM band sharing the bandwidth with potential competing standards. It defines a Personal Area Network (PAN) whereas others advocate a Wide Area Network (WAN) approach. It is best positioned as a short-range wireless standard designed with the same cost goals and similar or greater reliability and performance as the cable it replaces. Based on a frequency agile FHSS scheme it leverages hopping to avoid interference and it was not intended as a replacement for wireless LAN in a WAN scenario, because as yet it does not fully specify a hand over mechanism.

The importance of the Bluetooth SIG and how its specifications aid development of applications was highlighted, especially through the profiles, and their interoperability is assured through the qualification process. A flavour of the applications was explored through the functionality and where particular attention must be paid to the protocol stack for system segmentation. But to thoroughly investigate Bluetooth a list of further reading and applicable websites is given in the reference section. The latest specifications including the profiles are available from the Bluetooth SIG website. Reading specifications can seem a little ‘one dimensional’ but read in conjunction with a good book, whilst using a development tool from one of the Bluetooth silicon vendors, then the jigsaw pieces to really start to fit.
Still, with its all advantages, the Bluetooth technology is in its primary stages. Hence, we hope that, through the impending development phases, it will have the potential to address most of its current shortcomings.

v  rererences
ð  J. Bray and C.F. Sturman, “Bluetooth: Connect Without Cables”, Prentice Hall.