Bluetooth is an open global specification for wireless data and voice communication. It establishes a special connection for a fixed and mobile device communication environment based on low-cost, short-range wireless connections. The program is written in a 9x9mm microchip.
For example, if bluetooth technology is introduced into mobile phones and laptops, you can remove the annoying connection cable between mobile phones and laptops and enable them to communicate over wireless. Printers, PDAs, desktop computers, fax machines, keyboards, game joystick, and all other digital devices can be part of a Bluetooth system. In addition, Bluetooth wireless technology also provides common interfaces for existing digital networks and peripherals to form a group of personal special connected devices away from the fixed network.
Bluetooth works in the 2.4 GHz ISM (industrial, scientific, and medical) band that is universal worldwide. The data rate of Bluetooth is 1 Mb/s. The Time Division Duplex Transmission scheme is used for full duplex transmission.
The ISM frequency band is an open frequency band for all radio systems. Therefore, an unpredictable interference source may occur when a frequency band is used. For example, some household appliances, cordless phones, car room door opener, microwave ovens, etc., may be interference. To this end, Bluetooth has specially designed fast validation and frequency hopping solutions to ensure link stability. The frequency hopping technique divides the frequency band into several hop channels. In a single connection, the radio transceiver follows a certain code sequence (that is, a certain rule, technically, it is called "pseudo-random code", that is, "fake" Random Code) constantly jump from one channel to another. Only the receiving and receiving sides communicate according to this rule, however, other interference may not be able to interfere according to the same rule. The instantaneous bandwidth of the frequency hopping is very narrow, but the narrow band width is expanded to a wide band by hundreds of times through the spectrum extension technology, this reduces the potential impact of interference.
Compared with other systems that work in the same frequency band, Bluetooth provides faster frequency hopping and shorter data packets, making Bluetooth more stable than other systems. The use of FEC (forward error correction, forward correction) suppresses random noise on long-distance links. The frequency-hopping transceiver using the binary frequency modulation (FM) technology is used to suppress interference and prevent fading.
The Bluetooth baseband protocol is a combination of circuit switching and group switching. Synchronous data packets can be transmitted in the reserved time slot, and each data packet is sent at different frequencies. A data packet occupies one time slot in name, but can be extended to five time slots. Bluetooth supports asynchronous data channels and up to three synchronous voice channels at the same time. It also supports simultaneous transmission of asynchronous data and synchronous voice over one channel. Each voice channel supports 64 KB/s synchronous voice link. An asynchronous channel can support asymmetric connections with a maximum rate of 721kb/s at one end and a rate of 57.6kb/s at the other end, or symmetric connections of 43.2kb/s.
The Bluetooth system consists of the following functional units:
· Wireless Unit
· Link Control Unit
· Link Management
· Software function definitions
Glossary:
· Piconet: All devices connected by Bluetooth are considered to be a piconet. A piconet can only be two connected devices, such as a laptop and a mobile phone, it can also be eight connected devices. In a piconet, all devices have the same level of units and have the same permissions. However, when the piconet network was first created, one unit was defined as the master and other units were defined as the slave.
· Scatternet: several independent and non-synchronous piconet components form a scatternet.
· Master Unit: the main unit, that is, in a piconet, the device in which the clock and frequency hopping sequence are used to synchronize other units.
· Slave units: slave unit, that is, not all the master devices in piconet.
· MAC address: used to distinguish the length of each unit in piconet from three-bit addresses.
· Parked units: the unit that is paused, that is, the device that maintains synchronization with the network but does not have a MAC address in piconet.
· Sniff and hold mode: A working mode that synchronizes with the network but goes to sleep to save energy.
Network Technology
Bluetooth supports point-to-point and point-to-point connections. Several piconet can be connected together, and each piconet can be identified by frequency hopping sequence. All users of the same piconet are synchronized with the frequency hopping sequence. The topology can be described as "multiple piconet.
In a "Multi-piconet" structure, the full-duplex data rate exceeds 6 Mb/s in case of an independent piconet with 10 full loads.
Voice
The voice channel uses a Continuous Variable Slope incremental modulation (CVSD) voice encoding scheme, and never resends voice packets. CVSD encoding is good at processing lost and corrupted voice samples. Even if the bit error rate reaches 4%, the CVSD encoding speech is still audible.
Wireless
The Bluetooth air interface is based on the antenna level of 0 dBm. The air interface complies with the FCC (Federal Communications Commission) Standard for the ISM band with a level of 0 dBm. If the global level exceeds mW, you can use the extended spectrum function to add additional services. The spectrum Expansion function is implemented through 79 Hop Frequency Points with a starting frequency of 2.402, an ending frequency of 2.480, and an interval of 1 MHz. Due to some local requirements, Japan, France, and Spain have all reduced their bandwidth. The maximum frequency hopping rate is 1660 hops/second. The ideal connection range is 10 cm-10 meters, but the distance can be extended to 100 meters by increasing the sending level.
Baseband
The baseband section describes the digital signal processing specifications of the hardware-baseband link controller. The baseband link Controller is responsible for processing the baseband protocol and some other low-layer general protocols.
Establish a network connection
Before a connection in piconet is established, all devices are in the standby status. In this mode, unconnected units periodically "listen" information every 1.28 seconds. Every time a device is activated, it listens to the 32 hops planned for the unit. The number of frequent hops varies by geographical region. The 32 value is only applicable to most countries except Japan, France, and Spain. The device that acts as the master initializes the Connection Program first. If the address is known, the connection is established through the page message. If the address is unknown, the inquiry (query) of the page message is used) message to establish a connection. In the initial paging status, the Master Unit will send a string of 16 identical page messages at 16 Hop Frequency Points allocated to the paging unit. If no response is received, the master continues paging on the remaining 16 frequency points in the active order. The maximum latency for slave to receive messages from the master is twice the activation cycle (2.56 seconds), and the average latency is half of the activation cycle (0.6 seconds ). Inquiry messages are mainly used to find Bluetooth devices, such as shared printers, fax machines, and other similar devices with unknown addresses. The inquiry message is similar to the page message, but the inquiry message requires an additional data string cycle to collect all the responses.
If the connected device in piconet does not transmit data for a long period of time, Bluetooth also supports energy-saving working mode. The master can set the slave to the hold mode. In this mode, only one internal counter is working. Slave can also be set to the hold mode. Once a unit in hold mode is activated, data transmission starts again immediately. The hold mode is generally used to connect several piconet devices or devices with low energy consumption, such as temperature sensors. In addition to the hold mode, Bluetooth also supports two other energy-saving modes: sniff (BREATHING) mode and Park (pause) mode. In sniff mode, slave reduces the rate of listening to messages from piconet, and the interval of breathing can be adjusted according to application requirements. In Park mode, the device is still synchronized with piconet, but there is no data transfer. The device working in park mode abandons the MAC address, occasionally listens to the master message, resumes synchronization, and checks broadcast messages. If we sort these working modes in ascending order according to the energy efficiency, the order will be the breathing, holding, and pausing modes.
Connection type and data packet type connection type defines which type of data packets can be used in special connections. The Bluetooth baseband technology supports two connection types:
· Synchronous and targeted connection (SCO) type (mainly used for voice transmission)
· Asynchronous connectionless (ACL) type (mainly used to transmit data packets)
Different master-slave pairs in the same piconet can use different connection types, and the connection types can be changed at any time. Each connection type can support up to 16 different types of data packets, including four control groups, which are the same for SCO and ACL. Both connection types Use TDD (Time Division Duplex Transmission solution) for full duplex transmission.
The SCO connection is a symmetric connection that uses the reserved time slot to transmit data packets. After the connection is established, the master and slave can send SCO packets without being selected. SCO data packets can send both voice and data, but are only used to resend the damaged part of the data during data transmission.
An ACL link is used to send data packets in a targeted manner. It supports both symmetric and asymmetric connections. The master is responsible for controlling the link bandwidth and deciding how much bandwidth each slave in piconet can occupy and the symmetry of the connection. Slave can transmit data only when it is selected. The ACL link also supports receiving broadcast messages sent from the master to all slave instances in piconet.
Error Correction
The baseband controller has three error correction schemes:
· 1/3 ratio forward correction (FEC) Code
· Forward Correction Code with a ratio of 2/3
· Automatic Data Request resend Solution
The purpose of the FEC (Forward correction) solution is to reduce the number of data resends and reduce the data transmission load. However, to achieve data error-free transmission, FEC must generate unnecessary overhead bits to reduce data transmission efficiency. This is because data packets are elastically defined for the use of FEC. The header always has a 1/3 percentage of FEC code to protect, which contains useful link information.
In the unnumbered ARQ scheme, the data transmitted in one time slot must be confirmed by the next time slot. An error message is returned to the sender only after the data has passed the header error detection and Cyclic Redundancy detection and is considered as error-free. Otherwise, an error message is returned.
Authentication and confidentiality
The Bluetooth Baseband module provides protection and information confidentiality mechanisms at the physical layer.
Authentication is based on the "request-response" algorithm. Authentication is a key part of the Bluetooth system. It allows users to Establish a trust domain for their personal Bluetooth devices. For example, users can only allow their own laptops to communicate with their mobile phones.
Encryption is used to protect the personal information in the connection. Keys are managed by the program's senior management. Network transfer protocols and applications can provide users with a strong security mechanism.
Link Management
The software module of The Link Management (LM) carries the data settings, authentication, hardware configuration, and other protocols of the link. Lm can discover other remote LM and communicate with it through LMP. The LM module provides the following services:
· Send and receive data
· Request Name. Lm can effectively query and report names or device IDs up to 16 characters in length.
· Link address query
· Establish a connection
· Authentication
· Link mode negotiation and establishment, such as data mode or Voice/Data mode. The mode can be changed during connection establishment.
· Determines the frame type.
· Set the device to sniff mode. A device in sniffe mode only receives data in M time slots. The m time slot is determined by LM negotiation. The master can only regularly send data at specific time slots.
· Set the device to the hold mode. Devices that work in the hold mode stop receiving data for a long period of time and activate the link every 4 seconds on average. This is defined by LM for specific LC (link Controller) operations.
· Set the device to the paused mode when the device does not need to transmit or receive data but still needs to be synchronized. Devices in paused mode are periodically activated and synchronized, and page messages are checked.
Software Structure
Bluetooth devices must support some basic interoperability requirements. For some devices, this requirement involves wireless modules, air protocols, application layer protocols, and object exchange formats. However, the requirement for other devices, such as headphones, is much simpler. Bluetooth devices must be able to identify each other and load the corresponding software to support higher performance of the device.
Bluetooth has different requirements for devices of different levels (such as PCs, hosts, mobile phones, and headphones). For example, you cannot expect a Bluetooth headset to provide an address book. However, mobile phones, hosts, and laptops require more features.
The software structure must have the following functions:
· Setup and fault diagnosis tools
· Automatic Identification of other devices
· Replacing cable connections
· Communication with peripherals
· Audio communication and Call Control
· Commercial card transactions and Inventory Network Protocols
PC
The bluetooth standard interface can be directly integrated into a laptop or connected through a PC Card or USB interface.
The usage models of laptops include:
· Connect to the remote network through a Bluetooth cell phone
· Speaker using Bluetooth cell phone
· Commercial card transactions between bluetooth laptops, hosts and mobile phones
· Time synchronization between bluetooth laptops, hosts, and mobile phones
Bluetooth is an independent operating system and is not bundled with any operating system. The Bluetooth specifications for several different commercial operating systems are being improved.
Phone number
The bluetooth standard interface can be directly integrated into a cell phone or connected through an additional device. Telephone usage models include (optional ):
· Hands-free telephone functions using Bluetooth wireless headsets
· No cable connection with laptops and hosts
· Commercial card transactions with other Bluetooth phones, laptops, and hosts
· Automatically synchronize the address book with trusted Bluetooth laptops or hosts
Others
Use Models of other Bluetooth devices include:
· Headphones
· Host and other portable devices
· Human-Machine Interface Device
· Data and voice access points
Note:
CVSD: Continuous Variable Slope Delta modulation, Continuous Variable Slope incremental modulation. An adaptive incremental modulation technique that can obtain high-quality audio encoding for transmission.
FCC: Federal Communications Comission, US Federal Communications Commission
SCO: synchronous connection oriented, synchronous targeted connection
ACL: asynchronous connectionless, asynchronous, connectionless
TDD: Time Division Duplex, Time Division Duplex Transmission
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service