44  Attenuation & RSSI

Key Concepts
  • RF Attenuation: The reduction in signal power as a radio wave passes through a material, measured in dB
  • Dielectric Constant (εr): A material property determining how much it slows and bends radio waves; higher εr means more attenuation and reflection
  • Absorption Loss: Signal energy converted to heat as a radio wave passes through a material (e.g., water in concrete or wood absorbs 2.4 GHz energy)
  • Reflection: A radio wave bouncing off a surface (metal, concrete); can cause multipath interference or, in some cases, useful signal propagation
  • Penetration Loss: The total attenuation a signal suffers passing through a material; varies by material type, thickness, and frequency
  • Partition Loss Model: A path loss model that adds a fixed dB loss for each wall or floor of a specified material type the signal traverses
  • Frequency Effect on Material Attenuation: Higher frequencies (5 GHz) are attenuated more by most building materials than lower frequencies (900 MHz)

44.1 In 60 Seconds

Building materials attenuate wireless signals significantly: drywall costs 3-5 dB, concrete 10-15 dB, and metal 20-30 dB at 2.4 GHz. These losses compound through multiple obstacles, explaining why theoretical range rarely matches reality indoors. RSSI (Received Signal Strength Indicator) can estimate distance using the log-distance model, enabling indoor positioning via trilateration or fingerprinting, though accuracy is limited to 2-5 meters due to multipath effects.

44.2 Learning Objectives

By the end of this chapter, you will be able to:

  • Quantify signal attenuation through common building materials
  • Calculate cumulative path loss for multi-obstacle indoor paths
  • Compare frequency dependence of material penetration across IoT bands
  • Interpret RSSI values for signal quality assessment
  • Estimate distance from RSSI for BLE beacon and Wi-Fi localization
  • Apply trilateration and fingerprinting techniques for indoor positioning

When a wireless signal passes through walls, glass, or furniture, it loses strength – this is called attenuation. RSSI (Received Signal Strength Indicator) is a measurement of how strong the signal is when it arrives. Think of it like hearing someone talk through a closed door: you can still hear them, but it is quieter than face-to-face.

“I can barely hear the gateway!” cried Sammy the Sensor from the other side of a concrete wall. “My signal is so weak!” Max the Microcontroller checked the numbers. “That concrete wall just ate 15 dB of your signal, Sammy. That is like losing 97% of your power!”

“Different materials block different amounts,” Lila the LED explained. “A glass window only takes away 2-3 dB – barely noticeable. A wooden door costs 3-6 dB. But that concrete wall or a metal filing cabinet? Those are the real signal killers – 10 to 30 dB gone!”

“And here is the sneaky part,” added Max. “Each wall’s loss ADDS UP. Go through drywall, then a brick wall, then another drywall – that is 3 + 8 + 3 = 14 dB lost, not counting the distance in between. That is why a sensor that works perfectly in one room might fail when moved two rooms over.”

Bella the Battery smiled. “But we can use RSSI – the signal strength number – to our advantage! By measuring how strong the signal is from three different access points, you can actually figure out WHERE a device is inside a building. It is like echolocation for IoT devices!”

44.3 Introduction

Indoor IoT deployments face a persistent challenge: the gap between theoretical wireless range and actual performance. Building materials – walls, floors, ceilings, and furnishings – absorb and reflect wireless energy, reducing signal strength far below free-space predictions. This chapter quantifies those material losses and shows how RSSI (Received Signal Strength Indicator) measurements can be used for device localization despite these impairments.

Time: ~15 min | Difficulty: Intermediate | P07.C15.U05b

44.4 Signal Attenuation Through Materials

When a wireless signal encounters a wall or floor, some energy passes through, some is reflected, and some is absorbed. The net reduction in signal strength is called material attenuation, measured in decibels (dB).

Material Attenuation at 2.4 GHz (Wi-Fi, Bluetooth, Zigbee):

Material Attenuation (dB) Effect on Range
Air (free space) 0 dB Reference (no loss)
Window glass 2-3 dB Minimal impact
Interior drywall 3-5 dB ~30% range reduction
Wood door 3-6 dB ~40% range reduction
Brick wall (4”) 6-10 dB ~60% range reduction
Concrete wall (6”) 10-15 dB ~75% range reduction
Concrete floor 12-18 dB ~85% range reduction
Metal partition 20-30 dB ~95% range reduction
Elevator shaft 30-40 dB Complete blockage

Cumulative Attenuation Example:

Material losses are additive in decibels. For a signal traveling through multiple obstacles, sum each material’s attenuation:

Smart home Wi-Fi scenario:
- Router in living room (ground floor)
- Sensor in bedroom (second floor)

Path: Router -> Drywall (4 dB) -> Concrete floor (15 dB) -> Drywall (4 dB) -> Sensor
Total material attenuation: 4 + 15 + 4 = 23 dB

Free-space path loss at 10 m (indoor model): ~60 dB
Total path loss = 60 dB (FSPL) + 23 dB (materials) = 83 dB

With TX power 20 dBm:
RX power = 20 - 83 = -63 dBm (well above -90 dBm sensitivity)
Try It: Cumulative Material Attenuation Calculator
Worked Example: Wi-Fi Access Point Placement for a Warehouse

Scenario: A logistics company deploys 150 Wi-Fi asset-tracking tags (2.4 GHz, 10 dBm TX, -85 dBm sensitivity) across a 60 m x 40 m warehouse with steel racking and a mezzanine floor. How many access points are needed?

Step 1: Identify obstacles in typical signal paths

The warehouse has three distinct zones:

  • Open floor: Clear line-of-sight between racks (n = 2.2 path loss exponent)
  • Through racks: Steel shelving adds 12-18 dB per rack row
  • Mezzanine: Concrete deck adds 15 dB + distance

Step 2: Calculate maximum range through one rack row

Using the log-distance model with reference loss \(L_0\) = 40 dB at 1 m:

\[L(d) = 40 + 10(2.2)\log_{10}(d) + 15 \text{ (one steel rack)}\]

Maximum allowable loss = TX - sensitivity = 10 - (-85) = 95 dB

\[95 = 40 + 22\log_{10}(d) + 15\] \[22\log_{10}(d) = 40\] \[d = 10^{1.82} = 66 \text{ m}\]

With two rack rows in the path (typical worst case):

\[95 = 40 + 22\log_{10}(d) + 30\] \[22\log_{10}(d) = 25\] \[d = 10^{1.14} = 13.8 \text{ m}\]

Step 3: Design access point layout

  • Open areas: one AP covers ~60 m radius – one AP covers most of the open floor
  • Through racks: range drops to ~14 m – need APs every 25-30 m (overlapping coverage)
  • Mezzanine: needs its own AP (15 dB concrete floor loss)

Result: The warehouse needs 6 APs (4 for the main floor at rack level, 1 for the mezzanine, 1 for the loading dock area) – not the 2 APs that free-space calculations would suggest.

Cost comparison: 2 APs (naive plan) = $800 but 40% tag dropout. 6 APs (engineered plan) = $2,400 with 99%+ coverage. The $1,600 extra investment prevents $50,000+/year in lost asset visibility.

Material attenuation is additive in decibels but multiplicative in linear power. This distinction matters because small dB increments translate to dramatic power reductions.

Three obstacles at the midpoint of their ranges:

  • Drywall: 4 dB
  • Concrete floor: 15 dB
  • Drywall: 4 dB

\(\text{Total material loss} = 4 + 15 + 4 = 23\text{ dB}\)

Power remaining after 23 dB of material loss:

\(\text{Power ratio} = 10^{-23/10} = 10^{-2.3} = 0.005 = 0.5\%\)

Only 0.5% of the transmitted power passes through these three obstacles. The remaining 99.5% is absorbed or reflected.

Adding a metal shelf (+20 dB) to the path:

\(\text{Total material loss} = 23 + 20 = 43\text{ dB}\) \(\text{Power ratio} = 10^{-43/10} = 10^{-4.3} = 0.00005 = 0.005\%\)

Only 0.005% of power remains – a 100x further reduction from adding one metal obstacle.

Key insight: Three walls at 5 dB each do not reduce power by 3x – they reduce it by \(10^{15/10} = 10^{1.5} = 31.6\)x. This is why indoor wireless planning must account for every obstacle in the path, and why metal is such a severe problem for IoT deployments.

44.5 Frequency Dependence of Attenuation

Higher frequencies experience more attenuation through most building materials. This is because shorter wavelengths interact more with the internal structure of the material, scattering and absorbing more energy.

Material 900 MHz 2.4 GHz 5 GHz 60 GHz
Drywall 2 dB 3-5 dB 5-8 dB 8-12 dB
Concrete 6-8 dB 10-15 dB 15-25 dB 30-50 dB
Wood 2-4 dB 3-6 dB 5-10 dB 10-20 dB

Why LoRaWAN (915 MHz) Penetrates Buildings Better Than Wi-Fi (2.4 GHz):

  • Lower frequency results in less attenuation through walls
  • LoRa at 915 MHz experiences roughly 40% less material loss than Wi-Fi at 2.4 GHz
  • This advantage compounds through multiple obstacles: after two concrete walls, LoRa may lose ~16 dB while Wi-Fi loses ~28 dB

44.6 RSSI Interpretation for IoT Localization

RSSI (Received Signal Strength Indicator) measures received power in dBm. It is commonly used for distance estimation in BLE beacons, Wi-Fi positioning, and Zigbee networks.

RSSI Ranges and Interpretation:

RSSI (dBm) Signal Quality Typical Distance Use Case
-30 to -50 dBm Excellent 0-5 meters Close proximity detection (BLE beacons)
-50 to -70 dBm Good 5-20 meters Normal Wi-Fi operation
-70 to -80 dBm Fair 20-50 meters Acceptable for low-data IoT
-80 to -90 dBm Weak 50-100 meters Minimum usable (high error rate)
< -90 dBm Very Weak >100 meters Connection drops, unreliable

44.7 Distance Estimation from RSSI

Using the log-distance model, we can estimate distance from RSSI measurements:

\[\text{RSSI}(d) = \text{RSSI}_0 - 10n\log_{10}\left(\frac{d}{d_0}\right)\]

Solving for distance:

\[d = d_0 \times 10^{\frac{\text{RSSI}_0 - \text{RSSI}(d)}{10n}}\]

44.7.1 BLE Beacon Localization Example

Scenario: iBeacon advertising at 2.4 GHz. You measure RSSI = -65 dBm at unknown distance.

Given:

  • \(\text{RSSI}_0\) = -50 dBm (calibrated at \(d_0\) = 1 meter)
  • Path loss exponent: n = 2.5 (indoor office)
  • Measured RSSI = -65 dBm

Calculate distance:

\[d = 1 \times 10^{\frac{-50 - (-65)}{10 \times 2.5}}\] \[d = 10^{\frac{15}{25}}\] \[d = 10^{0.6}\] \[d = 3.98 \text{ meters}\]

Accuracy Limitations:

  • Plus or minus 2-5 meters typical error due to multipath, shadowing, and interference
  • Fluctuations of plus or minus 5-10 dBm in RSSI readings are common
  • NOT suitable for precise positioning (<1 m accuracy)
  • Good for room-level localization (e.g., “user is in kitchen, not bedroom”)
Try It: RSSI Distance Estimator

44.8 Improving RSSI-based Localization

44.8.1 1. Multiple Beacons (Trilateration)

By measuring RSSI from three or more beacons at known positions, the intersection of distance circles narrows the position estimate:

Beacon A: RSSI = -60 dBm -> d_A = 5.0 m
Beacon B: RSSI = -55 dBm -> d_B = 2.5 m
Beacon C: RSSI = -70 dBm -> d_C = 10.0 m

Intersection of three circles -> position estimate

44.8.2 2. Kalman Filtering

  • Smooth out RSSI fluctuations over time
  • Reduces noise from plus or minus 10 dBm to plus or minus 2-3 dBm
  • Requires continuous measurements at a fixed sampling rate

44.8.3 3. Fingerprinting

  • Pre-map RSSI values at known grid locations during a site survey
  • Match measured RSSI vector to database using nearest-neighbor or machine learning
  • More accurate than model-based distance calculation (1-3 m error)
  • Disadvantage: requires re-surveying if the environment changes (e.g., furniture moved)
Localization Accuracy Comparison
Method Accuracy Setup Effort Best For
Single beacon 3-10 m Low Proximity detection
Trilateration 2-5 m Medium Room-level tracking
Fingerprinting 1-3 m High Indoor navigation
UWB ranging 10-30 cm Medium Precision tracking

44.9 Matching and Sequencing Practice

Common Pitfalls

Published material attenuation values (e.g., “concrete wall = 10 dB”) are averages. Actual values vary by aggregate type, moisture content, and wall thickness. Fix: conduct a site survey to measure actual attenuation through each partition type in the specific building.

Metal walls, racks, and equipment do not simply attenuate radio signals — they reflect them, creating multipath interference. A signal bouncing off a metal shelf may arrive at the receiver with a different phase, causing destructive interference. Fix: use directional antennas or antenna diversity to mitigate metal-induced multipath.

Wet walls after rain attenuate 2.4 GHz signals significantly more than dry walls. A link that passes a link budget in summer may fail in winter when walls are saturated with moisture. Fix: build in at least 10 dB extra fade margin in environments prone to moisture.

44.10 Summary

  • Material attenuation is cumulative – each wall, floor, or obstacle adds 3-25 dB loss depending on the material
  • Higher frequencies experience more material loss – 5 GHz Wi-Fi penetrates worse than 2.4 GHz, which penetrates worse than 915 MHz LoRa
  • The dB-to-power relationship is exponential – 23 dB of material loss leaves only 0.5% of the original power
  • RSSI provides distance estimates but with 2-5 meter accuracy limitations due to multipath and shadowing
  • Trilateration with multiple beacons improves positioning accuracy beyond single-beacon estimates
  • Fingerprinting databases provide the best RSSI-based accuracy (1-3 m) but require site surveys
  • Room-level localization is practical with RSSI; precision tracking requires UWB or other technologies

44.11 Knowledge Check

44.12 What’s Next

Topic Chapter Description
Link Budget Planning Link Budget and Coverage Planning Design wireless links with margin calculations and compare protocol coverage across indoor and outdoor environments
Free-Space Path Loss Free-Space Path Loss Derive and apply the Friis transmission equation for distance-dependent signal loss in open-space propagation
Multipath and Fading Multipath Propagation and Fading Analyze how reflections, diffraction, and scattering combine to produce fast fading and shadowing in IoT deployments
Indoor Positioning Indoor Positioning Systems Compare Wi-Fi, BLE, UWB, and hybrid approaches for sub-meter to room-level indoor localization
LoRaWAN Range LoRaWAN Coverage and Range Calculate LoRa link budgets and predict coverage for LPWAN deployments in urban and rural environments
Antenna Selection Antenna Types and Gain Select and configure antennas to compensate for material attenuation and improve coverage in obstructed environments