Il ruolo del Bluetooth RSSI nel posizionamento indoor


Tecnologie di posizionamento esterno come il GPS, Beidou, I GNSS sono di gran moda oggi e trovano ampia applicazione. L'importante integrazione può essere vista in app come Google Maps. ciò nonostante, we spend almost 90% of our time indoors, where those GPS signals don’t work well. This is why RSSI positioning is popular for indoor locations. For Bluetooth communication, RSSI values show the signal strength and connection quality. Qui, we’ll explain more about Bluetooth RSSI, including its normal range and impact on Bluetooth communication.

Understanding Bluetooth RSSI

RSSI, which is short for Received Signal Strength Indication, refers to the measurement of evaluating the signal strength received by a wireless device. In Bluetooth communication, it’s easy to understand the Bluetooth RSSI values, it represents the strength of the signal the Bluetooth device receives and affects the communication quality and distance directly. The Bluetooth RSSI values are typically shown as negative dBm values. Higher values (closer to 0) indicate better signal strength. Teoricamente, the RSSI range is from 0 to -100dBm.

The commonly used formula is

RSSI value = Received Signal PowerNoise Floor + Calibration Factor.

It’s impossible to overstate the benefits of Bluetooth RSSI, as we can see from its wide range of indoor applications. With more iterations of Bluetooth versions, especially with the development of Bluetooth low energy technology, Bluetooth RSSI positioning will become even more readily available.

Types of Bluetooth RSSI positioning methods

Bluetooth RSSI localization methods can be mainly categorized into network-side localization and terminal-side localization.

Network-side positioning

Network-side positioning mainly includes cell phones, Beacon Bluetooth, Gateway Bluetooth, and servers. We need to deploy Bluetooth beacons and gateways in the target area. When the terminal device enters the area, it will receive RSSI data from the beacon. Then the gateway will send the cpllected data to the cloud server, and then the server will use the positioning algorithm to calculate the location of the device. If the distance between the transmitter and receiver is closer, the signal strength will be better.

This method has the advantage that the cloud server centralizes the calculation, and the mobile device only needs to scan and report the data. che fa risparmiare energia, ovviamente, is that you need to pre-deploy the relevant infrastructure for positioning.

Terminal-Side Positioning

The architecture of terminal-side localization is much simpler and mainly involves the device itself and Bluetooth beacons in the target area. An end device such as a smartphone receives RSSI data from different beacons and then uses its built-in positioning algorithm to estimate its location.

Undoubtedly, both methods require us to deploy a certain number of Bluetooth beacons in the target area. In terms of application, network-side positioning is mainly used to track and locate the position of people and assets, while terminal-side positioning is more suitable for indoor navigation.

Bluetooth RSSI positioning algorithms

It goes without saying that the key to Bluetooth RSSI localization is how to accurately convert RSSI data into position coordinates. Qui, we classify Bluetooth RSSI positioning algorithms into two main categories based on distance measurement or not: algorithms that require distance measurement and algorithms that do not require distance measurement.

Distance Measurement Required

Let’s first look at localization algorithms that require distance measurements, this type of algorithm needs to first estimate the distance between the target device and a reference node (cioè, a beacon) using RSSI values. Poi, based on the distance information obtained, the final location coordinates of the target device are then computed.

(1) Trilateration

Trilateration is a relatively simple localization algorithm based on the geometric principles of triangles. Let’s assume that there are three non-collinear Bluetooth beacons AP1, AP2, AP3, and their distances to the target M point are d1, d2, d3, rispettivamente. we can draw three circles with the position of these three beacons as the center, and d1, d2, d3 as the radius, rispettivamente. The intersection point of these three circles is also the coordinates of the target M point.

(2) The Least Squares Method

In realtà, we usually deploy more than 3 Bluetooth beacons in the target area. A questo punto, we need to use the least squares method to estimate the location of the target node. Assuming that we measure the distance from each beacon to the target node M, we can obtain an equation based on each pair of known distance and beacon location. By combining all the equations, we can get a system of overdetermined equations. Finalmente, solving this system of equations using the least squares method gives us an estimate of the optimal location coordinates of the unknown node M.

Distance Measurement No Required

These algorithms directly utilize RSSI fingerprint data for localization. We don’t need to calculate the distance first, so we can effectively avoid the error of distance estimation.

(1) Centroid Determination

The center of mass is an imaginary point where the mass of a system is considered to be concentrated. The centroid positioning method estimates the location of the centroid of its geometric shape using the positions of the surrounding beacons it receives. The algorithm of this method is easy to understand, the computational effort is small, and positioning accuracy depends on the density of beacons deployed.

(2) RSSI Fingerprinting

RSSI fingerprinting is a nonparametric localization technique based on scene analysis. It locates by matching real-time signals against an RSSI fingerprint database. Fingerprint positioning consists of two stages: 1) An offline phase builds the fingerprint library from indoor RSSI data. 2) An online positioning phase finds the best fingerprint match to the received signal, using its location as the target’s position estimate. Its advantages are high accuracy with few reference points, but disadvantages include the arduous fingerprint database creation and difficulty adapting to environmental changes.

RSSI measurement and Bluetooth communication

Nella sezione precedente, we have discussed various methods and algorithms for measuring Bluetooth RSSI values. In practice, it’s difficult to shape the optimal environment, so the Bluetooth signal strength will decay as its communication distance increases. The RSSI signal ranges from 0 ~ 100, con 0 being the ideal case, which does not exist in practice. When the RSSI value is close to -50, the signal signals of Bluetooth connections are good.

Above -50dBm: Extremely strong signal for near-field communication

– -50dBm to -80dBm: Ideal signal strength for normal short-range use

Below -80dBm: Very weak signal with risk of packet loss and intermittent disconnects

Nel Bluetooth a bassa energia, RSSI is one of the parameters that must be reported. RSSI of periodic advertising channels is important for localization because mobile devices are scanning them without connection. For BLE devices, due to their lower power, their RSSI values will be lower than classic Bluetooth at the same distance. In order to achieve low power communication, the general value of BLE RSSI is maintained at -50 ~ -80dBm.

Come check Bluetooth RSSI on Smartphones

Due to the popularity of Bluetooth technology, we often use our smartphone Bluetooth for indoor navigation in our daily lives. Nowadays almost all smartphones provide the function to view the Bluetooth RSSI value of the connected device. Here we take the Android system as an example, the steps are as follows:

  1. Aprire “Impostazioni” and go toConnected Devices” o “Connection Preferences”.
  2. Enable Bluetooth.
  3. The phone will scan and display nearby connectable Bluetooth devices.
  4. In the device list, an RSSI value between -100 e 0 is shown for each device, representing the signal strength between the phone and that device.

If you want to check and monitor the comprehensive Bluetooth RSSI value records, we can use professional tools such as BLE Scanner and BLE Tool. By observing the RSSI value changes of the devices, we can have a very intuitive understanding of the approximate distance and signal strength between the phone and each device. If we move the phone, the RSSI value will also change. Interessante, RSSI readings may be different between devices at the same distance.

Applications of Bluetooth RSSI in Real-world Scenarios

Despite some challenges that need to be overcome, Bluetooth positioning technology based on RSSI still has a promising application. As is the case with any advancement it is rather promising to come across Bluetooth RSSI positioning in more areas. Attualmente, some typical application scenarios include but are not limited to:

Indoor Positioning Navigation

In large indoor venues such as shopping malls, exhibition halls, musei, eccetera., Bluetooth RSSI positioning can provide customers with navigation routes and location information services. Oltretutto, it can guide the order in which visitors tour in large exhibitions, avoiding crowding issues.

Asset and Personnel Management

In factories, parchi, e ospedali, we can install Bluetooth beacons and tags on important assets and personnel. Combined with the Bluetooth RSSI positioning system, we can achieve real-time monitoring and management.

Smart Retail and Business Analytics

Nella vendita al dettaglio, using Bluetooth RSSI positioning can open new opportunities to bring business value to retailers. Through tracking the trajectories of movement of the customers and their dwelling time, retailers can analyze customer shopping behaviors. conseguentemente, it is effective for merchants to identify popular products and high-traffic areas, and set up their promotional plan and arrange the placement of their employees.

Smart Home and Indoor Positioning

By deploying a small number of Bluetooth beacons in homes, homeowners can achieve indoor location tracking of personnel and pets, such as knowing the current location of the elderly or children to prevent them from having accidents. Inoltre, homeowners can automatically adjust home appliances such as lights, temperature controls, eccetera., according to the user’s location, achieving a truly smart home experience.

Comparison of Bluetooth RSSI and Bluetooth AoA

Apart from the RSSI-based positioning, there is another type of positioning technique that has recently emerged in Bluetooth positioning, known as BluetoothAoA. It determines the location of the mobile device by measuring the angle at which the radio signal arrives at antennae array with triangulation. The potential AoA positioning can achieve one meter or even higher in theory, which greatly surpasses the positioning accuracy of the traditional RSSI technology.

Perciò, the major benefit of the RSSI positioning is no complicated infrastructure as well as the rather low cost. però, I can note that, the primary disadvantage is the poor sensitivity to the conditions. Known for its high accuracy, AoA positioning is more accurate as compared to RSSI positioning. Ovviamente, it also has disadvantages such as high-cost infrastructure.

inoltre, we can apply both technologies together. Per esempio, after estimating the specific area where the target is located through RSSI, we can employ the AoA method for precise positioning inside a certain area. Presto, we are able to incorporate many discussed technologies like RSSI, AoA, eccetera., alongside other technologies such as UWB to utilize the best of each and develop a much more accurate and reliable positioning solution.

Future development of Bluetooth RSSI positioning

Il Bluetooth 5.2 versione, rilasciato dentro 2020, significantly enhanced its positioning capabilities, including support for AoA/AoD positioning and RSSI calibration. nel frattempo, these improvements will further enhance the accuracy and reliability of Bluetooth positioning. There’s no doubt that future versions of Bluetooth will continue to strengthen positioning capabilities.

Using a single wireless technology for positioning has its limitations. Perciò, integrating the advantages of multiple technologies is the future trend. Such as combining Bluetooth RSSI with WiFi fingerprinting positioning or using it in conjunction with more accurate technologies like UWB (Banda ultralarga).

If you are wondering about adopting any Bluetooth RSSI positioning solutions, just talk to our Bluetooth expert!

Scritto da --
Nick Lui
Nick Lui
Nick, un project manager esperto nel nostro R&Dipartimento D., porta una ricchezza di esperienza a MOKOSMART, avendo precedentemente lavorato come ingegnere di progetto presso BYD. La sua competenza in R&D apporta competenze a tutto tondo alla gestione dei suoi progetti IoT. Con uno sfondo solido che si estende 6 anni nella gestione di progetti e ottenere certificazioni come PMP e CSPM-2, Nick eccelle nel coordinare gli sforzi tra le vendite, ingegneria, test, e team di marketing. I progetti di dispositivi IoT a cui ha partecipato includono Beacons, Dispositivi LoRa, gateway, e prese intelligenti.
Nick Lui
Nick Lui
Nick, un project manager esperto nel nostro R&Dipartimento D., porta una ricchezza di esperienza a MOKOSMART, avendo precedentemente lavorato come ingegnere di progetto presso BYD. La sua competenza in R&D apporta competenze a tutto tondo alla gestione dei suoi progetti IoT. Con uno sfondo solido che si estende 6 anni nella gestione di progetti e ottenere certificazioni come PMP e CSPM-2, Nick eccelle nel coordinare gli sforzi tra le vendite, ingegneria, test, e team di marketing. I progetti di dispositivi IoT a cui ha partecipato includono Beacons, Dispositivi LoRa, gateway, e prese intelligenti.
Condividi questo post
Potenzia la tua connessione Necessario con MOKOSmart Soluzioni per dispositivi loT!