InnerWeb
Skip to main content

BLE readings: how to remove a frozen signal

A BLE scanner in a phone can repeat frozen readings: the same transmitter returns with the same signal strength even though the person has already moved. An integrator who calculates a position from them gets a result from the past. We describe how to recognise such a reading, how to clean it and how to check that the position is correct again.

What is a frozen reading and where does it come from?

A frozen reading is a result repeated by the scanning system that does not reflect the current radio situation. The BLE scanner in a phone may return the last known value from its cache instead of a new measurement, especially when the system is saving energy.

The effect is visible in the position: a person walks through the hall, and the point on the map stands still or moves back. Without knowing the mechanism, the integrator looks for the cause in the transmitter network, even though the network works correctly.

How does the phone measure position?

The phone receives the signals of several transmitters at once, together with the strength of each one, and sends them through the mobile or Wi-Fi network every few seconds. The position results from the signals of many transmitters averaged on the map, not from the strongest of them.

With this approach a single frozen reading spoils the average, because it brings an outdated value into it with the same weight as fresh ones. The fewer transmitters the phone hears, the stronger this effect becomes.

Sample series of 6 readings from one transmitter

Sample series of 6 readings from one transmitterBefore and after chart: 6 readings without cleaning, 4 readings after rejecting 2 frozen ones0246number of readings used for positionWithout cleaning: Readings used for position: 6 number of readings used for position6Without cleaningAfter cleaning: Readings used for position: 4 number of readings used for position4After cleaning
Source: Example calculation: a series of 6 samples in which 2 have an unchanged signal strength

How do you recognise a frozen reading?

There is one characteristic sign: the signal strength has not changed. A real signal wavers slightly even when the person is standing still, so an identical value repeated in consecutive samples is suspicious.

The cleaning rule is simple: a reading whose signal strength has not changed is rejected. Only fresh readings are used to calculate the position, meaning those in which the value has changed compared with the previous sample from the same transmitter.

  • Compare consecutive samples from the same transmitter.
  • Reject a sample whose signal strength is identical to the previous one.
  • Calculate the position from the remaining readings of many transmitters.
  • Record the number of rejected samples as a quality indicator.

How do you implement cleaning on the integrator side?

The filter is placed before the position calculation, in the layer that receives raw samples. For each transmitter the last signal strength value and its time are stored, and a new sample passes on only if the value is different.

The application accepts only transmitters with the manufacturer's identifier, and a foreign transmitter is rejected. Cleaning is therefore a second, independent filter: the first concerns the signal source, the second the freshness of the measurement.

How do you check that the cleaning works?

The test is carried out by walking a previously marked route. Before the filter is switched on, you record the course of the position, and after switching it on you repeat the same walk and compare: the position should follow the person, without stalling or jumping back.

Additionally, count what share of samples the filter rejected. If almost all of them are rejected, the problem is the power supply of the scanner in the phone, not the transmitter network.

The share of rejected samples is a measurement result for your facility, not a product parameter.

What other phenomena can be mistaken for a frozen reading?

Two physical transmitters with the same identifier, several hundred metres apart, produce one position in the system. Uniqueness of identifiers is checked during installation, so before looking for a fault in the scanner, make sure the identifiers are unique.

Transmitters located on a road but assigned in the data to a warehouse draw a jump on the route. A wrong position in the data is corrected once for all future routes, not by filtering readings.

Video

Frequently asked questions

Does a frozen reading mean that a transmitter has failed?

Usually not. It is a phenomenon on the scanner side in the phone. The transmitter may be transmitting correctly while the scanner returns an old value.

Is it enough to increase the frequency of sending samples?

No. Sending more often repeats the same frozen values. Rejecting readings with an unchanged signal strength is what works.

How do you tell a frozen reading from a real, stable signal?

A real signal wavers slightly, even when the person is standing still. An identical value in consecutive samples is suspicious and is subject to rejection.

Does cleaning reduce accuracy?

It improves it, as long as the phone hears several transmitters at once. Where very few transmitters are heard, points need to be added to the network.

Let us talk about a transmitter network for your hall

We will go through the plant layout, the working environment and the Ex zone requirements together. Book a short call with the InnerWeb team.

Let's talk