Ultra-wideband (UWB)

Ultra-wideband (UWB) is a short-range radio technology that transmits over a very wide frequency spectrum (more than 500 MHz of bandwidth) using very short pulses at low energy levels. These short pulses let a receiver measure the time of flight of a signal with high precision, which makes UWB well suited for accurate and secure distance measurement (ranging) between two devices.

In access control applications, UWB enables a hands-free, proximity-based unlock: the Reader measures how far away the smartphone is and opens the lock automatically as the user approaches, then relocks when they move away. In the Aliro protocol defined by the Connectivity Standards Alliance (CSA), UWB is an optional extension to the Bluetooth® LE transport that provides the secure ranging used to make these distance-based access decisions.

For a general introduction to Aliro and how UWB fits alongside other transports, see Aliro and the Aliro Technology page.

Note

This reference does not support the Aliro Bluetooth LE-only transport variant. Aliro over Bluetooth LE with UWB is supported on the nRF5340 DK and nRF54LM20 DK with an external UWB module.

Overview

In the nRF Door Lock and Access Control Add-on, UWB is never used on its own. Bluetooth LE carries the Aliro Access Protocol and the UWB ranging session setup; see Bluetooth LE transport for the Bluetooth LE side of that transport. UWB performs the secure ranging that measures distance between the User Device and the Reader, and the Aliro Access Manager uses the continuous distance reports to drive the lock.

UWB is well suited for hands-free, proximity-based access for the following reasons:

  • Walk-up-and-unlock experience without the user having to tap the device against the Reader.

  • Secure distance measurement that is resistant to relay attacks.

  • Configurable unlock and relock distances for stable hands-free behavior.

  • Stack and driver support for multiple UWB sessions. See Known issues and limitations for current Access Manager session limits.

Role in the add-on

UWB is not implemented on the nRF SoC itself. The nRF Door Lock and Access Control Add-on drives an external UWB module connected over SPI and provides the application integration layer and Aliro stack interfaces to interact with it.

The core repository provides the generic UWB abstraction (the UltraWideBand facade) and an in-tree stub implementation. The concrete radio driver is supplied by a UWB implementation selected at build time: the in-tree stub or an external UWB provider module. See UWB integration in the reference applications for architecture and build options, and Integrating a third-party UWB chip for the integration guide.

For architecture, layering, and hardware, see UWB integration in the reference applications, Aliro application interactions, and Ultra-wideband (UWB) module.

Access policy

The Aliro Access Manager translates UWB distance measurements into lock actions:

  • Unlock — When the measured distance is at or below the configured maximum allowed distance.

  • Lock — When the measured distance exceeds the allowed distance plus a configurable exit margin.

  • Suspend ranging — Optionally, when the lock enters the Unsecured state, the application requests suspension of all active UWB ranging sessions.

The exit margin prevents rapid lock and unlock toggling when the measured distance fluctuates around the threshold. See Aliro Access Manager for Kconfig options.

The following pages cover UWB integration in more detail: