Overview (IEEE 802.15.4)
IEEE 802.15.1 is known as a Low Rate Wireless Personal Area Networks. The goal was to get a low data rate solution with multi-{month, year} battery life and very low complexity. Most applications are sensors, interactive toys, smart badges, remote controls, and home automation.
Physical Layer
Multiple layers are supported. This class will focus in 2.4 GHz.
- O-QPSK modulation, or Offset Quadrature Phase-Shift Keying
- We get twice the data rate of BPSK for the same Bit Error Rate (BER)
- Most complicated design (although it is still minimal)
- bits per symbol, so kbps kBaud
O-QPSK
The idea is that each combination of bits is given a unique but pseudo-node code.
| 4-Bit Symbol | 32-Bit PN-Code (Chip Sequence) |
|---|---|
0000 | 11011001110000110101001000101110 |
0001 | 11101101100111000011010100100010 |
| … | … |
1111 | 11001001011000000111011110111000 |
- A message to be sent is in some input bit stream.
- It is broken into 4 bit symbols
- Each symbol maps to a 32-bit PN-code as seen above.
- Each bit of the PN code is called a chip.
- Each chip encodes half a sine wave.
- These are sent to the and channels, or the in-phase and quadrature. These components are offset by .
- The combined signal is in 2 dimensions, which creates a constellation diagram. This is a map to determine what bits you sent.
The point of mapping symbols to chips is for
- better signal quality (robustness)
- interference tolerance
- better range
Direct Sequence Spread Spectrum (DSSS)
Instead of sending a single 0 or 1 directly, DSSS spreads that information into a much longer sequence. This is steps 2-4 in O-QPSK.
We get good interference avoidance
- received bits are correlated against codes to see which is most likely
- 802.15.4 tolerates 13-15 bit flips (almost half)
RF Channels
- 27 channels across three bands
- 5 MHz separation at 2.4 GHz (compare to BLE)