Next Article in Journal
Experimental Investigation on Interfacial Defect Criticality of FRP-Confined Concrete Columns
Next Article in Special Issue
Constrained Unscented Particle Filter for SINS/GNSS/ADS Integrated Airship Navigation in the Presence of Wind Field Disturbance
Previous Article in Journal
Traffic Class Prioritization-Based Slotted-CSMA/CA for IEEE 802.15.4 MAC in Intra-WBANs
Previous Article in Special Issue
Indoor Positioning System Based on Chest-Mounted IMU
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

UWB Localization with Battery-Powered Wireless Backbone for Drone-Based Inventory Management

IMEC, IDLab, Department of Information Technology, Ghent University, 9000 Ghent, Belgium
*
Authors to whom correspondence should be addressed.
Sensors 2019, 19(3), 467; https://doi.org/10.3390/s19030467
Submission received: 29 December 2018 / Revised: 18 January 2019 / Accepted: 21 January 2019 / Published: 23 January 2019
(This article belongs to the Special Issue Sensor Fusion and Novel Technologies in Positioning and Navigation)

Abstract

:
Current inventory-taking methods (counting stocks and checking correct placements) in large vertical warehouses are mostly manual, resulting in (i) large personnel costs, (ii) human errors and (iii) incidents due to working at large heights. To remedy this, the use of autonomous indoor drones has been proposed. However, these drones require accurate localization solutions that are easy to (temporarily) install at low costs in large warehouses. To this end, we designed a Ultra-Wideband (UWB) solution that uses infrastructure anchor nodes that do not require any wired backbone and can be battery powered. The resulting system has a theoretical update rate of up to 2892 Hz (assuming no hardware dependent delays). Moreover, the anchor nodes have an average current consumption of only 27 mA (compared to 130 mA of traditional UWB infrastructure nodes). Finally, the system has been experimentally validated and is available as open-source software.

1. Introduction

The constantly increasing success of e-commerce requires new supply chain solutions at every stage of operations, including (continuous) inventory management [1]. Industry 4.0 digitization (Also known as the next industrial (or data) revolution: using smart technologies in industry to collect data ) with goods being produced more flexibly, impacts inventory management. Also for rental companies, the trend towards “X-as-a-service” (XaaS) (XaaS refers to the growing diversity of services available over the Internet via cloud computing as opposed to being provided locally, or on premises.) requires a continuous stock management. To realize this flexibility, powerful warehouse management software [2] has been introduced. On the warehouse floor, we have RFID or barcode based solutions and even robots with RFID readers. However, although these warehouse management systems provide some automation, most traditional inventory checking approaches remain very labor-intensive and time-consuming in vertical warehouses, involving reach trucks, forklifts, man-cages or scissor-lifts and taking up hundreds of man-hours every counting cycle. In addition, human errors occur frequently, thereby impacting the quality of the data and resulting in additional lost man-hours. Finally, as the racks can be stacked quite high (up to 16 m), manual inventory tracking can result in serious accidents.
To overcome these limitations, automated inventory management solutions are needed, especially in larger-sized warehouses with high racks. For this purpose, recent years have witnessed the surge of research interest on micro unmanned aerial vehicles (UAVs) for stock counting and localization [3,4,5]. As the logical heir of ground based mobile robots, UAVs have the aerial manoeuvring ability to easily avoid obstacles and provide an excellent bird’s-eye view, which is beneficial for mapping and monitoring tasks.
In an outdoor environment, space-based satellite navigation systems such as Global Positioning System (GPS) are able to provide an absolute position for the UAV with an approximate error of 2–5 m in civilian applications, allowing automated outdoor missions. Since GPS units are unable to work reliable in an indoor environment, this approach is not feasible indoors. Moreover, a more precise positioning accuracy is required to fly between narrow racks, thereby achieving autonomous navigation of micro UAVs. Instead, such systems can replace the GPS by anchor-based localization systems. Typically, anchors are placed at points with known coordinates, and the distance from an anchor to the moving UAV can be estimated from RF signals for the localization purpose. Different kinds of ranging techniques have been proposed for the distance estimation: Time of Flight (ToF), Time of Arrival (ToA) and Received Signal Strength Indication (RSSI).
One emerging RF technology for accurate localization is Ultra-Wideband (UWB) [6] ranging technology, which is robust to multipath and non-line-of-sight (NLOS) effects [7], and can achieve a cm-level ranging error [8]. The UWB radio modules can estimate inter-module distance by measuring the transmission and reception time of UWB pulses. In contrast with other RF systems, UWB pulses can be transmitted between 3 GHz and 5 GHz and have an RF bandwidth of 500 MHz or 1.4 GHz. The increased bandwidth not only avoids the interference with other types of RF signals, e.g., remote control and WiFi signals. Moreover, the ultra-short duration pulses permit an easy filtering method to deal with the multipath effect, and provide an accurate timestamp allowing determination of ToF.
In large warehouses of multiple square kilometers, such cabling and power infrastructure costs are prohibitive, limiting the adoption of large-scale UWB systems. Most UWB solutions from scientific literature are not well-suited due to one or more of the following reasons.
  • A large number of scientific papers focus on improving accuracies and assume small scale set-ups that do not scale cost-efficiently towards large warehouses [9,10,11].
  • Many proposed UWB localization solutions require Ethernet or pre-existing WiFi access points to provide connectivity between anchor nodes [12,13].
  • Always-on UWB radios consume significantly more energy than traditional radios, thereby limiting the possibility of battery or energy-harvesting-powered anchor nodes.
To remedy this, we propose a MAC protocol for an UWB localization system using battery-powered anchors with a long battery lifetime and which can be easy installed (e.g., plug and play) without requiring wired communication infrastructure.
The main contributions of this paper are the following.
  • Design of a scalable localization system that requires minimal pre-existing infrastructure by combining two wireless technologies: sub-GHz for IoT-standardized long-range wireless communication backbone and UWB for localization.
  • Optimization of the energy consumption of the UWB radio by designing a multi-technology, duty cycling time-slotted UWB MAC protocol.
  • Theoretical evaluation of the design choices on overall system performance in terms of update rate, energy consumption, range and scalability
  • Experimental validation of the system for two real-life scenarios: autonomous drone navigation and tracking of runners in sport halls.
  • Providing the source-code of the UWB hardware and MAC protocol software as open-source contributions [14].
The remainder of this paper is organized as follows. First, Section 2 describes related work regarding drone based inventory-taking and infrastructure-light, easy-installable UWB solutions. Section 3 describes the design of our UWB localization system. Next, Section 4 describes the implementation of the system. Section 5 theoretically and experimentally evaluates the overall performance. Finally, Section 6 mentions future work and Section 7 concludes the paper.

2. Related Work

2.1. Drone-Based Inventory Taking

Although the use of drones for inventory taking in warehouses has been hailed as a major commercial breakthrough, existing commercial and academic solutions are still in their infancy. Commercial solutions such as DroneScan [15] rely on human drone operators, thereby still requiring expensive manual interventions. In contrast, fully autonomous solutions such as introduced in [3,4,5] use UWB for autonomous drone navigation, but have been demonstrated only in small areas with cabled infrastructure. Finally, drone based inventory-taking solutions such as proposed in [16] use highly accurate but also very expensive motion capturing cameras to localize the drone. As such, to a large extent, the vision of autonomous drone inventory taking is hindered due to the lack of affordable, scalable and easy to install localization solutions that can be installed in large warehouses without requiring significant infrastructure investments such as new cabling.

2.2. Infrastructure-Light UWB Solutions

This lack of easily installable UWB infrastructure is confirmed when looking at commercial and academic localization solutions. Although most academic research papers focus on small-scale localization setups, a small set of academic and commercial solutions exist that work at larger scale. Table 1 gives an overview of several of these solutions that provide coverage over large areas. Based on this Table, it is clear that most available solutions require either an Ethernet or WiFi infrastructure which covers the complete area and DC power or PoE (Power over Ethernet).

3. UWB Localization System Design

3.1. High Level Design

Our solution aims to minimize two shortcoming in currently available UWB solutions, namely, (i) the need for a wired backbone and (ii) the large energy consumption of the anchor nodes.
  • To remedy the need for wired access points, some UWB solutions [12] have proposed the use of WiFi based multi-hop mesh networks. However, a multi-hop wireless networking approach has several disadvantages. (i) Multi-hop networking protocols are scalable towards only a limited number of hops and are thus not suitable for very large warehouse environments, (ii) data transmissions required multiple hops thereby reducing the available throughput and impacting reliability and (iii) WiFi cards typically have high energy consumption, thus limiting their suitability for battery powered anchor nodes. Instead, our solution connects UWB anchor nodes using a backbone of low-power sub-GHz communications which have a much larger range, of up to several kms [21]. In addition, these long ranges can even be extended using RPL (IPv6 Routing Protocol for Low-Power and Lossy Networks) [22], which has been shown to be more scalable than WiFi ad-hoc routing protocols, with network scaling up to hundred of devices [23,24].
  • To reduce the anchor node energy consumption, we observe that most UWB positioning systems use always-on UWB radios, which are highly energy consuming. Since drones will not be present continuously at each location, we propose to turn off the UWB radio when no drones are nearby. Instead, UWB anchor nodes continuously listen using their low power sub-GHz radio. The drone will activate anchor nodes using an low-energy sub-GHz activation beacon when he is nearby, but only (i) when he actually wants to range with the anchor node and (ii) during a small TDMA based time slot. As such, anchor nodes remain in a low-power mode most of the time, and only activate the UWB radio during short timeslots when drones are nearby.
In Figure 1, our proposed solution is summarized using a high-level system diagram.

3.2. MAC Design

The MAC protocol uses a TDMA channel access method, which partitions time in repeating superframes. A superframe is a sequence of slots, where each slot corresponds to a specific action to take (e.g., receiving or transmitting a UWB message). This requires all participating devices to be synchronized. Since UWB radios are more energy-hungry than common narrowband IoT transceivers, a separate transceiver is used for all communication that is not related to ranging such as synchronization and reporting.
(i) Synchronization is initiated by the drone during the first slot of the superframe where the mobile tag transmits a sub-GHz beacon message which is received by all nearby anchor nodes (’Beacon’ slot in Figure 2). The main advantage of choosing the tag as beacon transmitter is that no multi-hop synchronization is required, because only the in-range anchors of the mobile tag need to be synchronized. Furthermore, the beacon contains a list of anchors with which the mobile tag wants to range, as well as their assigned ranging TDMA slot. All anchor nodes receiving the beacon know if and when they have to activate their UWB radio. In case the anchor node address is not included in the list, the anchor node can go to sleep mode until the next superframe.
(ii) Next, a single UWB polling message is first broadcasted (’Poll’ slot in Figure 2) to all nearby anchor nodes that turned on their UWB radio (The ranging scheme is discussed in Section 3.2.1.)
(iii) Afterwards, UWB slots are provided for sequentially calculating the distance to all selected anchor nodes (’Ranging slot’ in Figure 2).
(iv) After each ranging slot, a reporting slot is provided to send the calculated distance to the drone and/or a back-end system. Border routers are continuously listening for reporting messages and forward them to a RTLS (Real-time Localization system) to calculate the current position. In contrast to beacon messages, which are used for local anchor node selection and TDMA synchronization, reporting messages should be transmitted over a long distance. As such, the sub-GHz radio is configured for long range communications (For example, the IEEE 802.15.4 CC1200 868 MHz receiver can transmit over a large distance (varying from 292 m to 1902 m depending on the bitrate)).
The complete structure of the superframe and an overview of the transmitted messages are illustrated in Figure 2.

3.2.1. Ranging Scheme

To calculate the range (distance) to each anchor node, a two-way message exchange approach is used (The two-way-ranging approach avoids the need of ns-level synchronization between the anchor nodes, which is difficult to obtain in large warehouses with no GPS reception and no pre-existing synchronization infrastructure.) In Equation (1) the propagation time is calculated by subtracting the reply time from the total round-trip time (RTT) and dividing by two.
τ p r o p = 1 2 ( τ r o u n d τ r e p l y )
However, cm-level accurate positioning requires sub-nanosecond time of arrival errors [25]. The TWR (two-way-ranging) approach comes with number of sources of error due to clock drift and frequency drift. The clock drift between two ranging devices can be expressed as the difference of the fixed frequency error ϵ A , ϵ B with respect to the nominal oscillator frequency. The dominant error in the ranging accuracy of this scheme is strong dependent on τ r e p l y and is given in Equation (2). Assuming a reply time τ r e p l y of 1 ms, we end up with an error of up to 4 ns, which corresponds with a ranging error of 1.2 m. In Figure 3a, a plot of the ranging error in function of the frequency error is shown.
τ e r r o r = 1 2 τ r e p l y ( ϵ A ϵ B )
To remedy this, the symmetric double-sided two-way-ranging (SDS-TWR) [26] scheme uses a three-way message exchanges as shown in Figure 4. Because an extra message is sent, two round-trips are performed. And because two reply times are being used in the calculation, the local clock drift errors ϵ A and ϵ B are now eliminated. The error in the ranging accuracy is now dependent upon on the difference between the two reply times. As a result, the error in the ranging accuracy is much smaller as plotted in Figure 3b. Therefore, we restrain τ r e p l y 1 and τ r e p l y 2 to be equal (or as close to equal as possible). In Equation (3) the propagation time is calculated and in Equation (4) the error is calculated.
τ p r o p = 1 4 ( τ r o u n d 1 τ r e p l y 1 + τ r o u n d 2 τ r e p l y 2 )
τ e r r o r = 1 4 Δ r e p l y ( ϵ A ϵ B )
To allow flexible ranging schemes where achieving equal reply times can be challenging, it is recommended to use asymmetric double-sided TWR [25]. In this scheme the constraint of both reply times to be equal is released. The propagation time is calculated by using Equation (5).
τ p r o p = τ r o u n d 1 τ r o u n d 2 τ r e p l y 1 τ r e p l y 2 τ r o u n d 1 + τ r o u n d 2 + τ r e p l y 1 + τ r e p l y 2
The typical clock induced error is in the low picosecond range even with 20 ppm crystals. At these error levels the precision of determining the arrival time of the messages at each of the receivers is a more significant contributor to overall propagation time error than the clock-induced error. Where the clock in device A runs at k a times the desired frequency and the clock in the device B runs at k b times the desired frequency and both k a and k b are close to 1. Even with a relatively large UWB operating range of say 100 m, which corresponds to a propagation time of 333 ns, the error is 6.7 picoseconds which is approximately 2.2 mm.
τ e r r o r = τ p r o p ( 1 k a + k b 2 )
When ranging with multiple anchors, a standard approach is to do a three way message exchange to each anchor. For n anchors, this results in 3 n messages. This number of exchanged messages can be decreases when customized schemes are used. For instance, the first message transmitted (poll-message) can be sent only once to all the anchors, after which each anchor responds sequentially. This increases the ranging update frequency and decreases the number of messages exchanged to 1 + 2 n without any loss in accuracy because of the asynchronous double sided TWR formula is used. This is the approach taken in our solution, and is the reason why a single UWB poll message is transmitted to all anchor nodes, followed by two UWB messages per anchor node (’Response’ and ’Final’ messages), see Figure 2.

3.3. Collision Avoidance and Multiple Mobile Tags

One of the major drawbacks to the use of UWB radios is their limited capability to detect the presence of other UWB transmissions. This lack of carrier sensing results in increased collisions and high packet loss when multiple mobile tags need to be localized [27]. However, our approach uses a sub-GHz beacon to synchronize the nearby anchor nodes to the mobile tag TDMA scheme prior to any UWB transmissions. As such, this sub-GHz beacon can be used as ’virtual’ carrier sense by other mobile tags. Mobile tags overhear the synchronization beacon from other nodes, and hence know to defer the start of their own superframe until after the other superframe is finished, thereby avoiding UWB packet collisions. As such, superframes from multiple mobile drones will not overlap.

3.4. Anchor Node Selection

At the start of each superframe, the tag selects a set of anchors which are woken up to range with. This process consists of two phases: (i) bootstrapping and (ii) anchor node selection during operation lifetime.
  • During bootstrapping, the UAV has no prior information regarding its position. As such, during initialization, the set of neighbors is populated with random anchor node IDs, selecting anchor nodes at random until the UAV receives at least one ranging message.
  • During the operational lifetime, the set is continuously updated to use the anchor nodes that are nearest. To this end, at the end of each superframe, the UAV selects the most nearby anchor that the tag is currently ranging with. For subsequent superframes, the UAV each time selects the set of anchor nodes that are closest to the nearest anchor node (prior to deployment, the drone is provided either with all anchor node locations, or with a dictionary where for each anchor node, the most nearby anchor nodes are provided.)

3.5. Position Calculation

The most likely spatial position of the mobile tag is calculated by combining multiple distance estimations. Ranging messages are received both by the mobile tag, as well as on a back-end server. As such, the position can be calculated centralized (e.g., on a remote server) or locally on the tag using a localization algorithm (e.g., particle filter [28] or Kalman filter [29]).
For the position calculation, we implemented a particle filter which is described in Section 4 of [30]. The particle filter uses a set of N particles that represents different possible states. The states of each particle are updated with each incoming range, resulting in a position update for every reporting message. The particle server requires incoming ranges from at least three different anchors for a good 2D position estimate, and at least four different anchors on different heights for a 3D estimate.

3.6. Further Optimizations

Finally, multiple optimizations are possible to further decrease the number of packets and hence increase the update frequency of the system.

3.6.1. Optimization I: Single Final UWB Message

The first optimization reduces the number of messages transmitted by using only one single ranging-final message (Figure 5a). This reduces the number of slots from 2 + 3 n to 3 + 2 n . Because the range is calculated on all anchors at the same time, the reporting is done at the end of the superframe.

3.6.2. Optimization II: Multiple Ranging Sequences

The second optimization reduces the amount of sub-GHz synchronization beacons by introducing multiple ranging sequences with the same anchor nodes within a superframe. All slots of the superframe—except the sync slot—is repeated several times (Figure 5b). This is only possible if the selected set of anchors does not change during the superframe duration. Similarly, the long-range sub-GHz reporting messages can also be combined, reducing the number of report slots, but resulting in longer duration between range reports. The number of slots is reduced from k ( 3 + 2 n ) to 1 + n + k ( 2 + n ) , where k is the number of sequences.

3.6.3. Optimization III: Concurrent Radios

Since the system relies on two separate radio chips, it is possible to further reduce the superframe duration (and hence increase the update frequency) by assuming that the sub-GHz radio can transmit the range reports in parallel with the UWB transmissions using a CSMA/CDMA protocol (Figure 5c). Therefore, the superframe no longer requires dedicated reporting slots. This optimization reduces the number of required localization slots to 1 + k ( 2 + n ) .

4. Implementation and Evaluation Setup

The localization system was implemented using a custom designed hardware board and a Contiki based software implementation. In Table 2 a full description of the hardware and software can be found. Both the hardware and software design are available open source [14].

4.1. Hardware Board

Since no current UWB hardware boards support sub-GHZ technologies, an existing sub-GHz IoT platform was used: the Zolertia Re-Mote [31]. The Zolertia Re-Mote supports two low-power IoT radios (CC1200 and CC2538), but only the CC1200 sub-GHz radio was used in this paper. For this IoT platform, a custom UWB add-on board using the Decawave DW1000 [32] UWB Transceiver was designed. To improve the performance, the UWB hardware board supports an SMA connector, allowing to utilize external antennas instead of chip antennas.

4.2. Software Implementation

The Zolertia Re-Mote supports the Contiki OS which includes a full IoT protocol stack for wireless mesh backbones using open IPv6 supported standards such as RPL and 6lowpan. To implement the MAC layer, a custom implementation was required. To this end, the multi-technology MAC protocol was implemented using the Time Annotated Instruction Set Computer (TAISC) framework [33], which supports the design of TDMA MAC protocols that use multiple radios.
Since easy installation is one of the main design goals, we also support easy configuration of the system. High level settings of the MAC protocol (e.g., ranging scheme configuration, slot size) and the anchor selection (e.g., number of anchors to range with, anchor selection approach) and low-level settings on the PHY (e.g., bitrate, preamble bits) are run-time (re)configurable from a central server using the Constrained Open Application Protocol (CoAP) [34] open standards for resource reconfigurations. To report the ranging results to the Localization Engine (LE), the MQTT protocol is used.

4.3. Radio Settings

Both the sub-GHz radio (CC1200) and the UWB radio (DW1000) support multiple modulation types, which influence several properties of the communication performance such as packet duration, range, scalability, reliability and energy consumption. To implement the MAC protocol, multiple radio settings were evaluated as shown in Table 3.
  • For the UWB radio, two configuration options will be evaluated in the following section. The first setting UWB s l o w corresponds to the slowest bitrate and largest preamble. This settings has the highest accuracy ranging, but negatively impacts the update rate due to the longer packet durations. In contrast, the UWB f a s t settings result in lowest energy consumption and larger update rates, but result in reduced ranging accuracy. The impact of these settings will be evaluated in the next section.
  • For the sub-GHz radio, two different configurations are used during each MAC superframe. (i) The sub-GHz s l o w is used by the anchor nodes to report the ranging results to a remote server. This setting uses a low datarate and large preamble settings to maximize the range. (ii) In contrast, the sub-GHz f a s t setting uses a higher bitrate and lower preamble to maximize the datarate. This last setting is used by the mobile tag to wake up and synchronize nearby anchor nodes. In this case, high datarates are preferable since the higher datarate reduces the length of the beacon slot of the TDMA, and the reduced range has no impact since the tag only needs to wake up anchor nodes which are nearby.

4.4. Proof-of-Concept Deployments

Finally, the designed UWB system has been experimentally validated using two proof-of-concept implementations.
  • A small-scale set-up of the localization system has been used for autonomous drone navigation for inventory-taking (Figure 6a). The drone is localized using battery-powered anchor nodes and autonomously traverses a path next to warehouse racks. All assets are equipped with QR codes, which are scanned with a drone-mounted camera. A video of the demo can be found on https://youtu.be/NyL4-R8QEH8.
  • A large-scale installation of the system has been installed for tracking runners during their training in the sporting hall in Ghent (Figure 6b). The indoor training track is located beneath the main tribune, and as such is shielded from the outside by metal and reinforced concrete. No existing infrastructure (Wi-Fi, DC power, Ethernet or 4 G) is available. The designed infrastructure-light UWB localization solution was hence a good candidate to provide training insights based on location tracking. The whole 400 m circular track was covered using 20 anchor nodes, all of which could communicate with a single gateway with Ethernet uplink due to the use of long-range sub-GHz communication.

5. System Performance Evaluation

Finally, the performance of the MAC design is evaluated both theoretically and experimentally. The system is analyzed in terms of update frequency, current consumption, accuracy and infrastructure requirements (communication range).

5.1. Update Frequency

Most localization approaches (Kalman filter, particle filters) can provide a new position update every time a ranging message is received. As such, the update frequency is defined as the average number of ranging messages that are received over time. To calculate the ranging updates per time unit, the packet durations should be known.
The transmission time of a UWB packet depends on the payload size and the selected physical settings. The frame starts with b p r e bits in the preamble, following by the SFD (Start of Frame Delimiter) bits which indicates the start of the frame. The number of SFD bits b S F D is 8 when the bitrate is set to 110 kbps and 64 in the other cases. The frame consist of the physical header with b h e a d e r = 21 bits, the payload with b p a y l o a d bits and several bits for Reed Solomon error correction.
The duration for each transmitted symbol is different in the preamble, the header and the actual payload. It depends on the chosen PRF for the preamble symbol and the bitrate for the header and payload symbols. The exact symbol timings can be found in the DW1000 datasheet [32] and are denoted as τ S H R , τ P H R and τ D A T A . Note that all variables required for calculation are defined in Table 4.
To calculate the packet duration for the UWB messages, the following formulas are used:
T s y n c = ( b p r e + b S F D ) × τ S H R
T h e a d e r = b h e a d e r × τ P H R
T d a t a = ( b p a y l o a d + b r s ) × τ D A T A
T t x = T s y n c + T h e a d e r + T d a t a
The transmission time of sub-GHz packets depends on the modulation type (2-GFSK or 4-GFSK) and the bitrate (1.2 kbps to 500 kbps). The preamble and synchronization bits are transmitted using 2-GFSK while the remainder of the packet can be sent using 2-GFSK or 4-GFSK. In Table 5, the packet durations are shown for the slowest and fastest configuration for each UWB and sub-GHz. The packet duration for the synchronization message is calculated assuming a payload of 60 Bytes, which makes it possible to schedule up to 20 anchors in one superframe.
Using these different transmission durations, we can define the lengths of the different slots using Equation (11). The slot length is the sum of the packet transmission duration, slot margins and time for hardware dependent properties such as radio turnover time and micro-controller instruction delay. To calculate the ranging update frequency f u p d a t e , we first need to determine the superframe duration, which is simply the sum of the duration all slots in the superframe (Equation (12)). The update frequency is now found by calculating the number of superframes that fit in one second, multiplied with the number of anchors n inside one superframe (Equation (13)).
T s l o t = T t x + t r a d i o + t i n s t r u c t i o n s + t m a r g i n
T s u p e r f r a m e = s S T s l o t ( s )
f u p d a t e = n T s u p e r f r a m e 1
where S is the collection of all slots in the superframe and n is the number of selected anchors in the superframe.

5.1.1. Theoretical Calculation

The theoretical update frequency is calculated ignoring any delays caused by SPI bus, instruction delay and radio transition times ( t r a d i o = t i n s t r u c t i o n s = t m a r g i n = 0 ) . The corresponding update frequencies are shown in Table 6. For the basic protocol, the update rate varies between 125 and 790 Hz depending on the PHY settings. After applying the discussed optimizations from Section 3, the update rate varies between 343 and 2892 Hz depending on the PHY settings.

5.1.2. Experimental Validation

For the validation of the proposed system, three different slot sizes are used (see Table 7). (i) The UWB slot is used for all UWB communication and includes the time of the transmission of a ranging-final message together with all device specific delays for instruction, SPI-communication and radio turnover times. (ii) A second slot is used for the synchronization, and contains a payload of 60 bytes, which includes a header of 12 Bytes, 8 Bytes for synchronization and room for ranging with 20 anchors in one superframe. (iii) The final slot is used for reporting and requires only 22 Bytes. The instruction delays are hardware dependent and are measured using a logic analyzer. The experimental measured update frequency for the different MAC implementations are shown in Table 6. These results are hardware dependent and can be further improved, e.g., by using DMA (Direct Memory Access) to further optimize instruction timings.

5.2. Current Consumption

Because UWB is known to be very energy consuming, it is advantageously to disable the UWB radio as much as possible, instead relying on the sub-GHz radio to wake the anchor nodes when needed.
  • The current consumption for transmission and reception on the UWB radio are depending on several PHY settings. Higher frequency channels consume more power than lower frequency channels. Long preamble, payload length and high datarate results in longer packet duration and thus more current demand. The exact current consumption in TX and RX can be found in the Decawave DW1000 user manual [32], and varies between 48 and 117 mA. In contrast, the UWB radio-chip consumes only 1 μ A in SLEEP-mode and only 100 nA in DEEPSLEEP (the chip can be woken up by setting a programmed sleep count or by using an external pin. This requires only the low power oscillator and the internal sleep counter to be active. To enable external micro-controller access, the lowest power state is the INIT-state, which consumes 4 mA. For full speed SPI access and internal clock, the IDLE-mode consumes 12 mA.)
  • Also the current consumption of the CC1200 depends on the chosen output power (up to 16 dB) and the PHY settings of the radio. The consumption for the chip for reception varies from 17 to 23 mA and for transmission from 34 to 45 mA [35]. In SLEEP mode, it only consumes 0.5 μ A.
The anchors can set their UWB radio in SLEEP-mode while they are not selected by the tag. Therefore, they only listen on the beginning of the superframe for the synchronization message using the sub-GHz radio. If we compare this to most UWB solutions, this is a significant reduction in current consumption, since these are constantly listening for preambles (which is the most energy consuming operation of UWB) of possible UWB-messages. The same is true for anchors which are selected to range with. These will only power on the UWB radio on the slots they are supposed to range on. The current consumption on the tag is much higher, since the tag is constantly transmitting or receiving to range with the anchors.
The resulting current consumption (when more interested in the required power, the given current can be multiplied with the required voltage, which is 3.3 V) of the UWB radio and sub-GHz for the most energy consuming configuration (e.g., slowest setting) is shown in Table 8. Most commercial and academic anchor nodes continuously consume on average about 130 mA. In contrast, our anchor nodes consume only 3.4 mA when they are stand-by, and 26.6 mA when they are selected for ranging.

5.3. Localization Accuracy

The accuracy of the proposed system is tested in lab environment for small distances (between 1 and 5 m) where the ground-truth is determined with a mm-accuracy laser meter. For longer distances (between 50 and 75 m), the accuracy was tested on a empty parking lot where a roll-meter and reference lines on the ground were used for determining the ground truth. The distribution of these samples is given in Figure 7, together with a cumulative distribution function of the error of the measurements. The mean reported distances are 49.99 and 74.95 m, deviating only 1 and 5 cm from the real distance.

5.4. Maximum Communication Range

The maximum communication range determines how many anchor nodes should be installed, which is crucial for cost-efficient deployments in large warehouses. The maximum communication and maximum interference range is defined by the threshold value for distance or sensitivity power level after which the packet cannot be decoded or detected anymore. The sensitivity level can vary when the modulation setting is changed [32], and the distance threshold can increase when increasing tx transmission power level. The signal power that arrives at the receiver has suffered from path loss can be expressed Friis’ path loss formula:
P r [ d B m ] = P t [ d B m ] + G [ d B ] L [ d B ] 20 log 10 ( 4 π f c d c )
where P r and P T are the received and the transmitted power, G includes the antenna gains, L includes any PCB losses in the system, f c is the center frequency of the channel and d is the distance in meters between the transmitter and the receiver.
Because typical radio waves are reflected and obstructed by all objects illuminated by the transmitter antenna, the signal is also exposed to the two ray ground model. The total received energy can be modeled as the vector sum of the direct transmitted wave and one ground reflected wave. The two waves are added constructively or destructively depending on their phase difference at the receiver. The magnitude and phase of the direct transmitted wave varies with distance traveled. The magnitude of the reflected wave depends on total traveled distance and the reflection coefficient.
Figure 8a shows the path loss for the UWB radio calculated both theoretically (green line) and validated experimentally (red dots). Our current UWB board with omni-directional antenna allows reliable ranging up to 80 m, and occasionally (disregarding the Fresnel zone) up to 220 m. Figure 8b shows that the theoretical range of the sub-GHz radio goes up to several kilometers. As such, it is possible to install large warehouses without requiring excessive number of anchor nodes or cabling.

6. Future Work

Currently, the set of anchor nodes is selected statically based on the current drone position, whereby each time the nearest anchor nodes are selected. In environments with many obstacles, the nearest anchor nodes are not always the most reliable due to fading, reflections, absorption, etc. In complex environments, the mobile tag can take into account the quality of the information obtained from anchor nodes. For example, the Channel impulse response (CIR) could be used by a machine learning algorithm to obtain error estimates and to detect line-of-sight information, allowing to dynamically update the set of selected anchors nodes for the next superframe.
The correct placement and calibration of the anchors is a crucial step in the installation process to get accurate results. One can manually place each anchor and measure the difference to a reference point with a laser meter, or using reference points on the building-scheme to measure distance. However, this can be a lot of work which is not guaranteed to be error-free. Therefore, auto calibration of the anchors can determine their relative position without any installation process. In fact, anchor calibration is an interesting research track which requires a paper on its own to discuss the topic. Many approaches are already documented in literature, e.g., using multilateration, Linear Programming (LP) or Semidefinite programming (SDP).

7. Conclusions

The high accuracy and low cost of UWB radios for indoor positioning makes it the perfect technology for tracking drones in warehouses for autonomous inventory-taking. However, most UWB solutions require communication infrastructure and are energy consuming, thereby limiting placement options and increasing deployment costs. To remedy this, we designed a multi-technology UWB MAC protocol for localization that allows battery- or energy harvesting operated anchor nodes and does not require existing infrastructure such as Wi-Fi or Ethernet. To wake-up anchor nodes, the tag uses low-power sub-GHz messages to activate a list of anchors. Anchor nodes consumes less energy since they only have to listen to synchronization messages, and use TDMA to activate their UWB radio during the specified slot. The overall system potentially has a high update rate, theoretically up to 2892 Hz (without considering hardware dependent properties) and a localization accuracy of 5 cm. Anchor nodes consume only 3.4 mA in stand-by mode. The overall system has been validated using two large-scale set-ups: one for drone tracking in a warehouse mock-up, and one for localizing runners in a challenging infrastructure-less indoor running track.

Author Contributions

Conceptualization, N.M., J.R., B.V.H. and E.D.P.; software, N.M., J.B. and B.J.; validation, N.M. and B.V.H.; formal analysis, N.M. and B.V.H.; writing—original draft preparation, N.M.; writing—review and editing, N.M., E.D.P.; supervision, E.D.P., J.H.; project administration, E.D.P., J.H.; funding acquisition, E.D.P., J.H.

Funding

This work has partially been funded by the following projects: H2020 interreg Nano4Sport and the VLAIO proeftuinproject SmartConnectivity.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Ellis, S.; Knickle, L.V.; Brown, V. White Paper: Digital Transformation Drives Supply Chain Restructuring Imperative. Available online: https://www.opentext.com/file_source/OpenText/en_US/PDF/opentext-idc-digital-transformation-supply-chain.pdf (accessed on 23 September 2018).
  2. Atieh, A.M.; Kaylani, H.; Al-abdallat, Y.; Qaderi, A.; Ghoul, L.; Jaradat, L.; Hdairis, I. Performance Improvement of Inventory Management System Processes by an Automated Warehouse Management System. Procedia CIRP 2016, 41, 568–572. [Google Scholar] [CrossRef] [Green Version]
  3. Tiemann, J.; Wietfeld, C. Scalable and precise multi-UAV indoor navigation using TDOA-based UWB localization. In Proceedings of the International Conference on Indoor Positioning and Indoor Navigation (IPIN), Sapporo, Japan, 18–21 September 2017; pp. 1–7. [Google Scholar]
  4. Warehouse Drone Inventory Management. Available online: https://www.pinc.com/ (accessed on 10 September 2018).
  5. Eyesee Drone Solutions. Available online: https://eyesee-drone.com/ (accessed on 10 September 2018).
  6. Karapistoli, E.; Pavlidou, F.; Gragopoulos, I.; Tsetsinas, I. An overview of the IEEE 802.15.4a Standard. IEEE Commun. Mag. 2010, 48, 47–53. [Google Scholar] [CrossRef]
  7. Geng, S.; Ranvier, S.; Zhao, X.; Kivinen, J.; Vainikainen, P. Multipath propagation characterization of ultra-wide band indoor radio channels. In Proceedings of the IEEE International Conference on Ultra-Wideband, Zurich, Switzerland, 5–8 September 2005. [Google Scholar]
  8. Tinqting, Z.; Qinyu, Z.; Naiionq, Z.; Hongguang, X. Performance analysis of an indoor UWB ranging system. J. Syst. Eng. Electron. 2009, 20, 450–456. [Google Scholar]
  9. Zhang, C.; Kuhn, M.J.; Merkl, B.C.; Fathy, A.E.; Mahfouz, M.R. Real-Time Noncoherent UWB Positioning Radar With Millimeter Range Accuracy: Theory and Experiment. IEEE Trans. Microw. Theory Tech. 2010, 58, 9–20. [Google Scholar] [CrossRef]
  10. Jourdan, D.B.; Dardari, D.; Win, M.Z. Position Error Bound for UWB Localization in Dense Cluttered Environments. In Proceedings of the IEEE International Conference on Communications, Istanbul, Turkey, 11–15 June 2006. [Google Scholar]
  11. Maalek, R.; Sadeghpour, F. Accuracy assessment of Ultra-Wide Band technology in tracking static resources in indoor construction scenarios. Autom. Construct. 2013, 30, 170–183. [Google Scholar] [CrossRef]
  12. Ridolfi, M.; de Velde, S.V.; Steendam, H.; De Poorter, E. WiFi ad-hoc mesh network and MAC protocol solution for UWB indoor localization systems. In Proceedings of the Symposium on Communications and Vehicular Technologies, Mons, Belgium, 22 November 2016. [Google Scholar]
  13. Macoir, N.; Ridolfi, M.; Rossey, J.; Moerman, I.; De Poorter, E. MAC Protocol for Supporting Multiple Roaming Users in Mult-Cell UWB Localization Networks. In Proceedings of the IEEE 19th International Symposium on “A World of Wireless, Mobile and Multimedia Networks“, Chania, Greece, 12–15 June 2018. [Google Scholar]
  14. Our Solution on GitLab. Available online: https://gitlab.ilabt.imec.be/openuwb (accessed on 10 December 2018).
  15. Dronescan. Available online: http://www.dronescan.co (accessed on 10 September 2018).
  16. Mashood, A.; Dirir, A.; Hussein, M.; Noura, H.; Awwad, F. Quadrotor object tracking using real-time motion sensing. In Proceedings of the 5th International Conference on Electronic Devices, Systems and Applications (ICEDSA), Ras Al Khaimah, United Arab, 6–8 December 2016. [Google Scholar]
  17. Sewio. Available online: https://www.sewio.net/ (accessed on 8 October 2018).
  18. Eliko. Available online: https://www.eliko.ee/ (accessed on 8 October 2018).
  19. Tracking and IOT Solutions. Available online: http://www.tracktio.com (accessed on 8 October 2018).
  20. OpenRTLS. Available online: https://openrtls.com/ (accessed on 21 October 2018).
  21. Texas Instruments. Application Note: Achieving Optimum Radio Range (Rev. A). Available online: http://www.ti.com/lit/an/swra479a/swra479a.pdf (accessed on 3 December 2018).
  22. Winter, E.A. RPL: IPv6 Routing Protocol for Low-Power and Lossy Networks. Available online: https://tools.ietf.org/html/rfc6550 (accessed on 22 November 2018).
  23. Iova, O.; Picco, P.; Istomin, T.; Kiraly, C. RPL: The Routing Standard for the Internet of Things... Or Is It? IEEE Commun. Mag. 2016, 54, 16–22. [Google Scholar] [CrossRef] [Green Version]
  24. Kharrufa, H.; Al-Kashoash, H.; Al-Nidawi, Y.; Mosquera, M.Q.; Kemp, A.H. Dynamic RPL for multi-hop routing in IoT applications. In Proceedings of the 13th Annual Conference on Wireless On-demand Network Systems and Services (WONS), Jackson, WY, USA, 21–24 February 2017. [Google Scholar]
  25. Decawave. APPLICATION NOTE: Sources of Error in DW1000 Based TWR Schemes. Available online: https://www.decawave.com/wp-content/uploads/2018/08/aps011_sources_of_error_in_twr.pdf (accessed on 3 November 2018).
  26. Low-Rate Wireless Personal Area Networks (LR-WPANs). Available online: https://ieeexplore.ieee.org/document/6012487 (accessed on 20 October 2018).
  27. Ridolfi, M.; Van de Velde, S.; Steendam, H.; De Poorter, E. Analysis of the Scalability of UWB Indoor Localization Solutions for High User Densities. Sensors 2018, 18, 1875. [Google Scholar] [CrossRef] [PubMed]
  28. Jung, J.; Myung, H. Indoor localization using particle filter and map-based NLOS ranging model. In Proceedings of the IEEE International Conference on Robotics and Automation, Shanghai, China, 9–13 May 2011. [Google Scholar]
  29. Zhang, C.; Bao, X.; Wei, Q.; Ma, Q.; Yang, Y.; Wang, Q. A Kalman filter for UWB positioning in LOS/NLOS scenarios. In Proceedings of the Fourth International Conference on Ubiquitous Positioning, Indoor Navigation and Location Based Services (UPINLBS), Shanghai, China, 2–4 November 2016. [Google Scholar]
  30. Ridolfi, M.; Vandermeeren, S.; Defraye, J.; Steendam, H.; Gerlo, J.; De Clercq, D.; Hoebeke, J.; De Poorter, E. Experimental Evaluation of UWB Indoor Positioning for Sport Postures. Sensors 2018, 18, 168. [Google Scholar] [CrossRef] [PubMed]
  31. Zolertia Re-Mote. Available online: http://zolertia.io/product/hardware/re-mote (accessed on 4 September 2018).
  32. Decawave DW1000 Datasheet. Available online: https://www.decawave.com/products/dw1000 (accessed on 1 September 2018).
  33. Jooris, B.; Bauwens, J.; Ruckebusch, P.; De Valck, P.; Van Praet, C.; Moerman, I.; De Poorter, E. TAISC: A Cross-Platform MAC Protocol Compiler and Execution Engine. Comput. Netw. 2016, 107, 315–326. [Google Scholar] [CrossRef]
  34. The Constrained Application Protocol (CoAP). Available online: https://tools.ietf.org/html/rfc7252 (accessed on 23 November 2018.).
  35. Texas Instruments. CC1200 Low Power, High Performance RF Transceiver Data Sheet Datasheet (Rev. D). Available online: http://www.ti.com/lit/ds/symlink/cc1200.pdf (accessed on 4 December 2018.).
Figure 1. High-level system diagram of the UWB localisation system with battery powered anchor nodes.
Figure 1. High-level system diagram of the UWB localisation system with battery powered anchor nodes.
Sensors 19 00467 g001
Figure 2. (Top): MAC superframe structure with different slots and messages for synchronization, ranging and reporting. Sub-GHz messages are indicated using dotted lines, UWB messages using full lines. (Bottom): frame formats. The range message contains two fields for timestamps. The first one is used only in the ranging poll and final message. The second one is only used in the final message.
Figure 2. (Top): MAC superframe structure with different slots and messages for synchronization, ranging and reporting. Sub-GHz messages are indicated using dotted lines, UWB messages using full lines. (Bottom): frame formats. The range message contains two fields for timestamps. The first one is used only in the ranging poll and final message. The second one is only used in the final message.
Sensors 19 00467 g002
Figure 3. The ranging error due to clock drift in TWR scheme (a) is increasing faster than when using SDS-TWR scheme (b) [25].
Figure 3. The ranging error due to clock drift in TWR scheme (a) is increasing faster than when using SDS-TWR scheme (b) [25].
Sensors 19 00467 g003
Figure 4. Three-way message exchange using SDS-TWR ranging scheme
Figure 4. Three-way message exchange using SDS-TWR ranging scheme
Sensors 19 00467 g004
Figure 5. MAC protocol optimizations. (a) Optimization 1: Using only a single final UWB message. (b) Optimization 2: using multiple ranging sequences within a superframe. (c) Optimization 3: using the sub-GHz and UWB radio in parallel.
Figure 5. MAC protocol optimizations. (a) Optimization 1: Using only a single final UWB message. (b) Optimization 2: using multiple ranging sequences within a superframe. (c) Optimization 3: using the sub-GHz and UWB radio in parallel.
Sensors 19 00467 g005
Figure 6. Validation of system. On the left image the drone is using the UWB system to perform an autonomous flight for inventory-taking. In the right image the UWB system is used for tracking a runner on a running track.
Figure 6. Validation of system. On the left image the drone is using the UWB system to perform an autonomous flight for inventory-taking. In the right image the UWB system is used for tracking a runner on a running track.
Sensors 19 00467 g006
Figure 7. Cumulative distribution function of the ranging errors for different ranging distances.
Figure 7. Cumulative distribution function of the ranging errors for different ranging distances.
Sensors 19 00467 g007
Figure 8. Path loss model for both radio technologies. (a) Experimental and simulation-based path loss model for our UWB board. (b) Simulated path loss model for the sub-GHz radio [21].
Figure 8. Path loss model for both radio technologies. (a) Experimental and simulation-based path loss model for our UWB board. (b) Simulated path loss model for the sub-GHz radio [21].
Sensors 19 00467 g008
Table 1. Overview of infrastructure requirements of existing UWB indoor Positioning solutions.
Table 1. Overview of infrastructure requirements of existing UWB indoor Positioning solutions.
InfrastructureAnchor PoweringRelease
[17] SewioWi-Fi/EthernetPoEcommercial
 [18] elikoWi-Fi/EthernetPoEcommercial
[19] TracktioEthernetDC Powercommercial
 [20] openRTLSZigbee/EthernetPoE/DC Powercommercial
[12]Wi-FiDC Poweracademic
 [13]EthernetDC Poweracademic
Our workNoneBattery / energy harvesteracademic
Table 2. UWB localization system specifications.
Table 2. UWB localization system specifications.
System on ChipARM Cortex-M3
Clock speed32 MHz
Memory32 KB RAM
512 KB FLASH
RadiosCC2538: IEEE 802.15.4 (2.4 GHz)
CC1200: sub-GHz IEEE 802.15.4 g (868 MHz)
DW1000: UWB IEEE 802.15.4a (3.5–6 GHz)
AntennaOn-board (CC1200 and CC3538)
SMA Connector (DW1000)
Protocol stackContiki OS
MAC Design FrameworkTime Annotated Instruction
Set Computer (TAISC) [33]
Table 3. Modulation coding schemes for UWB and sub-GHz.
Table 3. Modulation coding schemes for UWB and sub-GHz.
ChannelDataratePreamblePRF
U W B s l o w Ch1110 kbps204816 MHz
U W B f a s t Ch56.81 Mbps25664 MHz
ModulationDataratePreambleSync
sub- G H z s l o w 2-GFSK50 kbps4 Bytes2 Bytes
sub- G H z f a s t 4-GFSK1 Mbps24 Bytes2 Bytes
Table 4. Variable definition.
Table 4. Variable definition.
nnumber of anchors scheduled in superframe
b p r e number of Preamble bits
b S F D number of Start Of Frame bits
b r s number of Reed Solomon bits
b p a y l o a d number of Payload bits
τ S H R synchronization symbol duration
τ P H R header symbol duration
τ D A T A data symbol duration
t i n s t r u c t i o n instruction delay
t r a d i o radiochip delay
t m a r g i n timeslot margin
Table 5. Packet duration for different MCS and message types.
Table 5. Packet duration for different MCS and message types.
T poll (UWB) T reply (UWB) T final (UWB) T sync (sub-GHz) T report (sub-GHz)
Slowest setting2930 μ s2560 μ s3310 μ s3840 μ s1180 μ s
Fastest setting310 μ s300 μ s320 μ s900 μ s600 μ s
Table 6. Localization update frequency for the UWB localization system, both theoretically (ignoring hardware dependent delays) and experimentally.
Table 6. Localization update frequency for the UWB localization system, both theoretically (ignoring hardware dependent delays) and experimentally.
Theoretic Update Frequency (Hz)Experimental Update Frequency (Hz)
Min.Max.Min.Max.
Basic12579065127
Optimization I206103598178
Optimization II2841841136276
Optimization III3432892166372
Table 7. Slot sizes for experimental update frequency.
Table 7. Slot sizes for experimental update frequency.
slot uwb slot sync slot report
Slowest setting5400 μ s6800 μ s4000 μ s
Fastest setting2400 μ s3800 μ s2800 μ s
Table 8. Current consumption of the anchor nodes in different power states with different MAC implementations. The last line shows the total current consumption for the complete superframe.
Table 8. Current consumption of the anchor nodes in different power states with different MAC implementations. The last line shows the total current consumption for the complete superframe.
Power State I avg [mA]Stand-by Anchor
(No Slot)
Active Anchor
(One Slot)
Always-RX Anchor
(Traditional Approach)
%mA%mA%mA
UWB RX133--10.313.69989.1118.51
UWB TX102--55.110.911.12
UWB SLEEP0.0011000.00184.70.001--
SubGHz RX2314.83.40414.93.427--
SubGHz TX45--9.84.41--
SubGHz SLEEP0.00585.20.00475.30.004--
Superframe 1003.40910026.641100129.63

Share and Cite

MDPI and ACS Style

Macoir, N.; Bauwens, J.; Jooris, B.; Van Herbruggen, B.; Rossey, J.; Hoebeke, J.; De Poorter, E. UWB Localization with Battery-Powered Wireless Backbone for Drone-Based Inventory Management. Sensors 2019, 19, 467. https://doi.org/10.3390/s19030467

AMA Style

Macoir N, Bauwens J, Jooris B, Van Herbruggen B, Rossey J, Hoebeke J, De Poorter E. UWB Localization with Battery-Powered Wireless Backbone for Drone-Based Inventory Management. Sensors. 2019; 19(3):467. https://doi.org/10.3390/s19030467

Chicago/Turabian Style

Macoir, Nicola, Jan Bauwens, Bart Jooris, Ben Van Herbruggen, Jen Rossey, Jeroen Hoebeke, and Eli De Poorter. 2019. "UWB Localization with Battery-Powered Wireless Backbone for Drone-Based Inventory Management" Sensors 19, no. 3: 467. https://doi.org/10.3390/s19030467

APA Style

Macoir, N., Bauwens, J., Jooris, B., Van Herbruggen, B., Rossey, J., Hoebeke, J., & De Poorter, E. (2019). UWB Localization with Battery-Powered Wireless Backbone for Drone-Based Inventory Management. Sensors, 19(3), 467. https://doi.org/10.3390/s19030467

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop