Download as ppt, pdf, or txt
Download as ppt, pdf, or txt
You are on page 1of 88

Bluetooth Radio and Baseband

Kuei-Ann Wen
Kawen@cc.nctu.edu.tw

National Chiao Tung University

Institute of Electronics

03/06/16

Part A

RADIO SPECIFICATION

National Chiao Tung University

Page 2
Stella Kuei Ann Wen

03/06/16

CONTENTS
1 Scope
2 Frequency Bands and Channel Arran
3 Transmitter Characteristics
4 Receiver Characteristics
5 Appendix A
6 Appendix B

National Chiao Tung University

Page 3
Stella Kuei Ann Wen

03/06/16

2 FREQUENCY BANDS AND CHANNEL ARRANGEMENT

National Chiao Tung University

Page 4
Stella Kuei Ann Wen

03/06/16

National Chiao Tung University

Page 5
Stella Kuei Ann Wen

03/06/16

3 Transmitter Characteristics
3.1 Modulation Characteristics
3.2 Spurious Emissions
3.2.1 In-band Spurious Emission
3.2.2 Out-of-Band Spurious Emission
3.3 Radio Frequency Tolerance

National Chiao Tung University

Page 6
Stella Kuei Ann Wen

03/06/16

TRANSMITTER POWER CHARACTERISTICS

National Chiao Tung University

Page 7
Stella Kuei Ann Wen

03/06/16

3.1 MODULATION CHARACTERISTICS


GFSK (Gaussian Frequency Shift Keying) with a BT=0.5.
The Modulation index must be between 0.28 and 0.35.
A binary one is represented by a positive frequency deviation.
The symbol timing shall be better than +20 ppm.

National Chiao Tung University

Page 8
Stella Kuei Ann Wen

03/06/16

3.2.1 In-band Spurious


Emission

National Chiao Tung University

Page 9
Stella Kuei Ann Wen

03/06/16

3.2.2 Out-of-Band Spurious Emission

National Chiao Tung University

Page 10
Stella Kuei Ann Wen

03/06/16

4 Receiver Characteristics
4.1 Actual Sensitivity Level
4.2 Interference Performance
4.3 Out-of-band Blocking
4.4 Intermodulation Characteristics
4.5 Maximum Useable Level
4.6 Spurious Emissions
4.7 Receiver Signal Strength Indicator (optional)
4.8 Reference Interference-signal Definition

National Chiao Tung University

Page 11
Stella Kuei Ann Wen

03/06/16

4.1 ACTUAL SENSITIVITY LEVEL

The actual sensitivity level is defined as the input level


for which a raw bit error rate (BER) of 0.1% is met.
The requirement for a Bluetooth receiver is an actual
sensitivity level of -70 dBm or better.
In order to measure the bit error rate performance; the
equipment must have a loop back facility as specified in Test
Mode Specification.

National Chiao Tung University

Page 12
Stella Kuei Ann Wen

03/06/16

The signal to interference ratio shall be:

National Chiao Tung University

Page 13
Stella Kuei Ann Wen

03/06/16

In-band Interference
27dBm
30dBm

60dBm
71dBm

2500 MHz

f 0 3MHz
f 0 2 MHz
f 0 1MHz
f0

f 0 1MHz
f 0 2 MHz
f 0 3MHz

2400 MHz
National Chiao Tung University

Page 14
Stella Kuei Ann Wen

03/06/16

4.3 OUT-OF-BAND BLOCKING


The out of band blocking is measured with the wanted signal
3 dB
over the reference sensitivity level.
The interfering signal shall be a continuous wave signal.
The BER shall be 0.1 %.
The Out of band blocking requirements:

National Chiao Tung University

Page 15
Stella Kuei Ann Wen

03/06/16

Out-of-Band Interference
10dBm
27dBm

67dBm
12.75GHz

3001MHz

3000 MHz

2500 MHz

f0

2400 MHz

2000 MHz
1999 MHz

30 MHz
National Chiao Tung University

Page 16
Stella Kuei Ann Wen

03/06/16

4.4 INTERMODULATION CHARACTERISTICS


The reference sensitivity performance, BER = 0.1%, shall be
met under the following conditions:
1. The wanted signal at frequency f 0 with a power level 6 dB
over the reference sensitivity level.
2. A static sine wave signal at f 1 with a power level of -39 dBm.
3. A Bluetooth modulated signal at f 2 with a power level of
-39dBm. Such that f 0 =2f 1 -f 2 and f 2 -f 1 =n*1 MHz where n
can be 3, 4, or 5.
The system must fulfil one of the three alternatives.
National Chiao Tung University

Page 17
Stella Kuei Ann Wen

03/06/16

Intermodulation characteristic

39dBm

64dBm
n MHz

n MHz

n 3,4,5
National Chiao Tung University

Page 18
Stella Kuei Ann Wen

03/06/16

4.5 MAXIMUM USEABLE LEVEL


The maximum useable input level the receiver shall operate at
shall be better than -20 dBm. The BER shall be less or equal to
0,1% at -20 dBm input power.
4.6 SPURIOUS EMISSIONS
The spurious emission for a Bluetooth receiver shall not be
more than:

National Chiao Tung University

Page 19
Stella Kuei Ann Wen

03/06/16

4.8 REFERENCE INTERFERENCE-SIGNAL DEFINITION


A Bluetooth modulated interfering signal is defined as:
Modulation = GFSK
Modulation index = 0.32%
BT= 0.5+1%
Bit Rate = 1 Mbps +1 ppm
Modulating Data = PRBS9
Frequency accuracy better than +1 ppm.

National Chiao Tung University

Page 20
Stella Kuei Ann Wen

03/06/16

Bluetooth Baseband

National Chiao Tung University

Institute of Electronics

03/06/16

1. General Description
Baseband Packet
BT Link
Controller

2.4GHz
BT Radio

BT Link
Manager & I/O

Bluetooth Host

Bluetooth Host
Other Higher
Layer
Driver

Other Higher
Layer
Driver
HCI Driver

Bluetooth hardware

HCI

LM

Physical Bus(USB, PCCard)


Firmware

National Chiao Tung University

HCI Driver

Bluetooth hardware
Baseband

Baseband
Physical Bus
Driver
(USB, PCCard)

HOST

HCI

LM

Physical Bus(USB, PCCard)


Firmware

Physical Bus
Driver
(USB, PCCard)

Page 22
Stella Kuei Ann Wen

03/06/16

System Partition

DA

GFSK
fc=1M

Packet Composer
42

0~78

VCO

Demod

1M

FH Acq

X
2.4Ghz

2M~81M

National Chiao Tung University

Hop Net

AD

Code
r

Encry.

Packet Composer
CLK
13M

CLK
32k

SH Interface

2M~81M

Control Buffer 2871bx2

2.4Ghz

27

Page 23
Stella Kuei Ann Wen

03/06/16

Specification Overview : HCI Packet


Command Packet:
OpCode (2 bytes)

Parameter Length
(1 byte)

Parameters (the rest of the packet)

Event Packet:
Event Code
(1 byte)

Parameter Length
(1 byte)

Parameters

Parameters (the rest of the packet)

National Chiao Tung University

Page 24
Stella Kuei Ann Wen

03/06/16

Specification Overview
ACL Packet:

Flags
(4 bits)

Connection Handle (12 bits)


Length (2 bytes)
Data (the rest of the packet)

SCO Packet:

Reserved
(4 bits)

Connection Handle (12 bits) Length (1 byte)


Data (the rest of the packet)
National Chiao Tung University

Data

Page 25
Stella Kuei Ann Wen

03/06/16

Specification Overview
Command Groups(OGF)
Link Control
Link Policy
Host Controller & Baseband
Informational
Status
Testing

Examples
Create_Connection
Hold_Mode
Write_Page_Timeou
t
Read_BD_ADD

National Chiao Tung University

Read_RSSI
Stella Kuei Ann Wen

Page 26
03/06/16

545
National Chiao Tung University

Page 27
Stella Kuei Ann Wen

03/06/16

Propagation Scheme:

National Chiao Tung University

Page 28
Stella Kuei Ann Wen

03/06/16

2. PHYSICAL CHANNEL
Band Selection : 79MHz or 64MHz
Channel Selection : 1MHz
With digital synthesizer being controlled by LM/HCI signaling

National Chiao Tung University

Page 29
Stella Kuei Ann Wen

03/06/16

FH (1600 hops/s)/TDD Channel


Slot numbering range : 0 ~ 227-1
f(2k)

f(2k+1)

f(2k+2)

master
t

slave
t
625 s

National Chiao Tung University

Page 30
Stella Kuei Ann Wen

03/06/16

Frequency Hopping Spread Spectrum

f5
f4

AMPLITUDE

f3
f2
f1
1

10

11

FREQUENCY

12

TIME

FSK DATA MODULATION


PERIODIC CHANGES IN THE CARRIER FREQUENCY
SPREADS THE SIGNAL
CARRIER FREQUENCY CHANGES AT A SPECIFIED HOP
RATE
CARRIER FREQUENCY HOPS AFTER A PRESCRIBED
TIME
National Chiao Tung
University
TOTAL SYSTEM BANDWIDTH INCLUDES ALL
THE
Stella OF
Kuei Ann
Wen
CHANNEL FREQUENCIES USED IN HOPPING

Page 31

AP96358 2-13

03/06/16

Master Timing
f(2k)

f(2k+1)

TX

RX

f(2k+2)
TX

t
625 s
1250 s

National Chiao Tung University

Page 32
Stella Kuei Ann Wen

03/06/16

Slave Timing
f(2k)

f(2k+1)

RX

TX

f(2k+2)
RX

t
625 s
1250 s

National Chiao Tung University

Page 33
Stella Kuei Ann Wen

03/06/16

Multi-slot Packets
625 s
f(k)

f(k+1)

f(k+2)

f(k)

f(k)

National Chiao Tung University

f(k+3)

f(k+4)

f(k+5)

f(k+3)

f(k+4)

f(k+5)

f(k+5)

Page 34
Stella Kuei Ann Wen

03/06/16

3. PHYSICAL LINKS
Synchronous Connection-Oriented (SCO) Link

circuit switching
symmetric, synchronous services
slot reservation at fixed intervals
Asynchronous Connection-Less (ACL) Link

packet switching
(a)symmetric, asynchronous services
polling access scheme
SCO(Synchronous Connection-Oriented Link ) :
1. LM protocol sending SCO setup ( Tsco ( counted in slots), Dsco )
2. SCO send in Tsco
3. Clock wrap-around should be resolved with LMP setup message.
4. CLK(k+1)=CLK(k)+Tsco
National Chiao Tung University

Page 35
Stella Kuei Ann Wen

03/06/16

4. Packets

Packet Format
72

54

access code packet header

National Chiao Tung University

0-2745

payload

Page 36
Stella Kuei Ann Wen

03/06/16

PACKET COMPOSER
Access Code
Composer
Preamble+Sync.+(Tail)

HeaderComposer
AM_ADDR +TYPE
+FLOW+SEQN +ARQN
+HEC

Payload
Composer

Modem
7.Whitening
GFSK

11.Hopper

Coder
13.Sync. Code
Composer

5..ARQ
Handler

12.Voice
5.Coder
HEC - CRC- FEC Coding

Controler

6.Logical
Channel

8.9.TX/RX
Routine & Timing
Link Controller
Link Manager

National Chiao Tung University

10 Channel
Control

14.Security

13.BD_ADD, 10CLK...
Page 37
Stella Kuei Ann Wen

03/06/16

Access CodeBCH
34

24

LAP

BRKR
4

PREAMBLE
LSB

National Chiao Tung University

64

SYNC WORD

TRAILER
MSB

Page 38
Stella Kuei Ann Wen

03/06/16

SYNC WORD

145
1. Generate information sequence;
2. XOR this with the information covering part of the PN overlay sequence;
3. Generate the extended BCH codeword;
4. XOR the codeword with all 64 bits of the PN overlay sequence;
National Chiao Tung University

Page 39
Stella Kuei Ann Wen

03/06/16

Access Code Types


Device Access Code (DAC):
unit identifier
derived from unit LAP

Channel Access Code (CAC):


channel identifier
derived from master LAP

Inquiry Access Code (IAC):


reserved identifier
derived from reserved address
National Chiao Tung University

Page 40
Stella Kuei Ann Wen

03/06/16

Packet Header
3
AM_ADDR

National Chiao Tung University

4
TYPE

1
FLOW

1
ARQN

1
SEQN

parameter

information

AM_ADDR

slave active member address

TYPE

payload type

FLOW

LC flow control

ARQN

ACK/NAK

SEQN

retransmit ordering

HEC

header error check

8
HEC

Page 41
Stella Kuei Ann Wen

03/06/16

Packet Types
SEGMENT
1

National Chiao Tung University

TYPE
0000
0001
0010
0011
0100
0101
0110
0111
1000
1001
1010
1011
1100
1101
1110
1111

SCO link
NULL
POLL
FHS
DM1
HV1
HV2
HV3
DV

ACL link
NULL
POLL
FHS
DM1
DH1

AUX1
DM3
DH3

DM5
DH5
Page 42
Stella Kuei Ann Wen

03/06/16

Link Control Packets

ID packet
IQ packet
NULL packet
POLL packet
FHS packet

34

24

ID packet consists of DAC or IAC.


It has a fixed length of 68 bits.
It is a very robust packet
since the receiver uses a bit corrector to match the
received packet to the known bit sequence of the ID
packet.

16

24

26

Parity bits | Lap | NA| SR| SP| UAP |NAP | Class of | AM-ADDR | CLK27-2| Page Scan
device
Mode

National Chiao Tung University

Page 43
Stella Kuei Ann Wen

03/06/16

Data Rates (kb/s)

Maximum packet size: 28x8+16(crc)+72(access)+54(header)=366


National Chiao Tung University

Page 44
Stella Kuei Ann Wen

03/06/16

Payload Header
2

L_CH

L_CH

FLOW

LENGTH

channel

reserved

information

00

01

UA/UI

continuation of L2CAP message

10

UA/UI

start of L2CAP message

11

LM

National Chiao Tung University

reserved

LMP message

Page 45
Stella Kuei Ann Wen

03/06/16

5. Error Control Coding


Forward-Error Correction (FEC)
1/3 rate: bit-repeat code
2/3 rate: (15,10) shortened Hamming code

Automatic Retransmission Query (ARQ)


1-bit fast ACK/NAK
1-bit sequence number
header piggy-backing

National Chiao Tung University

Page 46
Stella Kuei Ann Wen

03/06/16

ARQ (I)
A

MASTER

SLAVE 1

SLAVE 2

NAK
National Chiao Tung University

ACK
Page 47
Stella Kuei Ann Wen

03/06/16

ARQ (II)
CRC check

RX

ACK/NAK

ACK/NAK
retransmission

TX
new

National Chiao Tung University

Page 48
Stella Kuei Ann Wen

03/06/16

ARQ Scheme

National Chiao Tung University

Page 49
Stella Kuei Ann Wen

03/06/16

Error Checking
HEC
CRC

National Chiao Tung University

Page 50
Stella Kuei Ann Wen

03/06/16

Error Checking
HEC
CRC

National Chiao Tung University

Page 51
Stella Kuei Ann Wen

03/06/16

6. Logical Channels

Logical Channels
Control Channels:
LC
LM

link control
link manager

Traffic Channels:
US
UA
UI

National Chiao Tung University

synchronous user data


asynchronous user data
isochronous user data

Page 52
Stella Kuei Ann Wen

03/06/16

7. Data Whitening
For Header and Payload

National Chiao Tung University

Page 53
Stella Kuei Ann Wen

03/06/16

8. TX/RX Routines

National Chiao Tung University

Page 54
Stella Kuei Ann Wen

03/06/16

BITSTREAM PROCESSES

National Chiao Tung University

Page 55
Stella Kuei Ann Wen

03/06/16

9. TX/RX Timing
RX/TX cycle of Bluetooth master transceiver in
normal mode for single-slot
packets.

National Chiao Tung University

Page 56
Stella Kuei Ann Wen

03/06/16

RX/TX cycle of Bluetooth transceiver in PAGE mode.

National Chiao Tung University

Page 57
Stella Kuei Ann Wen

03/06/16

SLAVE RESPONSE/MASTER RESPONSE

National Chiao Tung University

Page 58
Stella Kuei Ann Wen

03/06/16

Multi-slave transmission

National Chiao Tung University

Page 59
Stella Kuei Ann Wen

03/06/16

10. Channel Control


CLKN native clock
CLKE estimated clock
CLK master clock

National Chiao Tung University

Page 60
Stella Kuei Ann Wen

03/06/16

Clock Derivation

National Chiao Tung University

Page 61
Stella Kuei Ann Wen

03/06/16

State Transition

National Chiao Tung University

Page 62
Stella Kuei Ann Wen

03/06/16

Overall
standby
SLAVE
YES

NO

NO

waken by DAC?

initiating?

NO

NO

page scan

inquiry scan

Slave
response?

inquiry
response?

YES

MASTER

YES

sent out DAC?

YES

inquiry

page
Master
response?

NO

YES

NO

connection
National Chiao Tung University

Page 63
Stella Kuei Ann Wen

03/06/16

Page / Page Scan


master
standby
page
no

Master
response

page scan
window Tw

slave
DAC
(slave ID)

standby
page scan

Slave ID
FHS

Slave
response

no

Slave ID
yes

yes

connection

National Chiao Tung University

(data)

connection
(ack)

Page 64
Stella Kuei Ann Wen

03/06/16

Page Trains
A

f(k-8)

f(k-7)

f(k)

f(k+1)

f(k+7)

f(k-16)

f(k-15)

f(k-9)

f(k+8)

f(k+15)

National Chiao Tung University

Page 66
Stella Kuei Ann Wen

03/06/16

Connection Setup
1.25ms

FHS

MASTER
train

10 ms

SLAVE

CONNECTION
scan f(k)
B

f(k+1)
sleep

11.25 ms

National Chiao Tung University

Page 67
Stella Kuei Ann Wen

03/06/16

National Chiao Tung University

Page 68
Stella Kuei Ann Wen

03/06/16

Inquiry / Inquiry Scan


standby
Inquiry

master
inquiry scan
window Tw

slave
IAC
(slave ID)

standby

Inquiry scan

FHS

no

Inquired?
yes

(page...)

National Chiao Tung University

no

Inquiry
response
yes

(page...)

Page 69
Stella Kuei Ann Wen

03/06/16

Inquire
1.25ms

INQUIRER
train

10 ms

STANDBY

scan f(k)
A
11.25 ms

National Chiao Tung University

sleep RAND1

f(k)

f(k+1)

A
FHS

sleep RAND2

f(k+1)

f(k+2)

A
FHS
Page 70

Stella Kuei Ann Wen

03/06/16

Inquiry Response
f(k)

f(k+1)

IQ

f(k)

f(k+1)

f(k+4)

IQ

IQ

f(k+1)
FHS
625 s
National Chiao Tung University

Page 71
Stella Kuei Ann Wen

03/06/16

Sniff Example
MASTER

ACL

ACL

ACL

lost
SLAVE 1

SNIFF INTERVAL
SLAVE 2

National Chiao Tung University

Page 72
Stella Kuei Ann Wen

03/06/16

Park Mode
BEACON
PM_ADDR

active slave

master

parked slaves

National Chiao Tung University

Page 73
Stella Kuei Ann Wen

03/06/16

Park Example
PARK INTERVAL
BC

ACL

ACL

BC

MASTER

SLAVE X

SLAVE 2

SLAVE Y
National Chiao Tung University

Page 74
Stella Kuei Ann Wen

03/06/16

11. Hop Selection

0 2 4 6 8

626466

78 1 3

737577

segment 1
segment 2

segment 3
Segment
# of hops length

National Chiao Tung University

Europe/US

79

32

16

Japan/France/Spain

23

16

8
Page 75

Stella Kuei Ann Wen

03/06/16

Y1

XOR

ADD

X
O
R

PERM5

ADD

0
2
4

mod 79

78
1
3

Y2

77
Block diagram of the hop selection kernel for the 79-hop system
National Chiao Tung University

Page 76
Stella Kuei Ann Wen

03/06/16

National Chiao Tung University

Page 77
Stella Kuei Ann Wen

03/06/16

National Chiao Tung University

Page 78
Stella Kuei Ann Wen

03/06/16

National Chiao Tung University

Page 79
Stella Kuei Ann Wen

03/06/16

National Chiao Tung University

Page 80
Stella Kuei Ann Wen

03/06/16

12. Bluetooth Audio


Continous Variable Slope DeltaModulation (CVSD)

1 1 0 0 0 0 0 0 1 0 1 1 1 1 1 0 1 0 0 0 0 1 1 1 0 0 0 1 0 1 0 1 0 . . . . . . .

National Chiao Tung University

Page 81
Stella Kuei Ann Wen

03/06/16

13. Bluetooth Address

Bluetooth Device Address (BD_ADDR)


48-bit IEEE 802 address
24-bit lower address part (LAP)
8-bit upper address part (UAP)

Active Member Address (AM_ADDR)


3-bit active slave address
all-zero broadcast address

Parked Member Address (PM_ADDR)

8-bit parked slave address

National Chiao Tung University

Page 82
Stella Kuei Ann Wen

03/06/16

14. Bluetooth Security

In order to accommodate for different types of applications, four


types of link keys have been defined:
the combination key KAB

the unit key KA


the temporary key K master
the initialisation key K init
National Chiao Tung University

Page 83
Stella Kuei Ann Wen

03/06/16

REFERENCE DESIGNS

National Chiao Tung University

Page 84
Stella Kuei Ann Wen

03/06/16

HW Blocks
Bluetooth Module
RF ASIC
- Rx/Tx
- regulators
- clocking

3.0 .. 5.2 V

Control
4
2

Data
13MHz

Applic. IF

BB ASIC
- Rx/Tx Control
- ARM7TDI
- CVSD codec
- Applic. IF

1.8 V

Vappl
1.8V, 2.78
or 3.3V

Flash
13 MHz

National Chiao Tung University

32 kHz

Page 85
Stella Kuei Ann Wen

03/06/16

BB ASIC: Block Diagram


Buffer/MCU
RAM

HW Link
Controller

Receiver
Clock Truncs

ResetX
13 MHz

SysResetX

Clock,
Reset,
Watchdog

National Chiao Tung University

MCU
Subsystem

Data
IF
Unit

Power
Control
Unit

Page 86
Stella Kuei Ann Wen

03/06/16

VLSI Technologies

National Chiao Tung University

Page 87
Stella Kuei Ann Wen

03/06/16

HAVE A NICE LUNCH

National Chiao Tung University

Page 88
Stella Kuei Ann Wen

03/06/16

You might also like