📜 ⬆️ ⬇️

CSS (ISO 24730-5) Measurement of distances without tape measure and wires

In one of the previous topics, I talked about the first Russian positioning system in real time. This topic is for those who are interested, "how it works." I’ll start by measuring the distance using the radio frequency method.
To determine the location of tags on the plan, RTLS Ltd uses the method of calculating the location of each tag, based on the distances measured by the mark (M) to three or more anchors (A) having a known position in space, as in the figure.



Two technologies are used to measure distances, namely:
CSS (Chirp Spread Spectrum) - use short chirp pulses and
SDS-TWR (Symmetrical Double-Sided Two Way Ranging) is a symmetrical two-way bidirectional distance measurement.
The technologies are based on measuring the propagation time of a radio signal from the transmitter to the receiver (time of flight) and comply with the international standards ISO 24730-5 and IEEE 802.15.4-2011, respectively.
This topic is devoted to technology CSS.

CSS technology as applied by RTLS LLC is different:
1) optimum measurement accuracy for most industrial applications (one meter error at a distance of up to 30 meters with 90% confidence) indoors;
2) high noise immunity;
3) multi-path attenuation resistance;
4) minimum label power consumption (to increase the battery life without recharging);
5) the minimum cost.

The structure of the positioning system RTLS


The structural diagram is shown in the figure.
')



Measurement of distances in the system is carried out by tags that exchange packets with infrastructure elements via a bi-directional radio interface conforming to ISO 24730-5. The infrastructure is connected via a software application interface (RTLS application API) to the server for managing the infrastructure, tags and the measurement process, as well as for obtaining measurement results and information about the status of tags. The infrastructure in the RTLS system is composed of ZigBee wireless mesh network (IEEE 802.15.4) zones associated with an IP channel server. Each ZigBee network base station has an additional radio interface for communicating with tags. (One of the following topics will be devoted to the RTLS infrastructure).
The server, in turn, has an external standard API that allows you to transfer the data received by the system to other automated systems.

In the RTLS system, tags are not included in the network, they do not participate in data routing and translation, that is, they are exempt from everything except distance measurement and transmission of measurement results through the transport network to the server. This allowed us to simplify the labels and reduce their energy consumption and price.

Tags interact with the infrastructure through a bidirectional radio interface shown in the figure.



The frequency range, radio waveform, modulation, coding, packet formats, commands and other parameters are defined for this interface by the ISO 24730-5 standard. Interface protocol stack includes:
PHY - the physical layer, which determines the parameters of the transmission medium (working frequency, channel width, etc.);
MAC is the medium access level that defines the encoding parameters, the packet format, and the like;
API - an application level that defines label states and the order of their change, a list of commands and their parameters, packet exchange protocols with infrastructure elements, and so on.

System operation


At the moment of activation, the state of the label is initial, the “default profile” is used. The label periodically sends short broadcast packets - blinky. Each blink contains the physical address of the tag, its state and information about the time when the tag will be ready to accept commands from the infrastructure.
The infrastructure of the relevant teams indicates the label with which anchors and with what frequency to measure the distance, the number of measurement sessions and the address for transmitting the results. The behavior of tags is changed by transmitting the corresponding commands by changing the state of the tags and setting the modes and parameters of measurements.
If the tag does not receive the next command at a certain time, it returns to the initial state (to use the “default profile”) and periodically sends blinks to restore the connection. For more information about the states of the label, management commands and can be found in the annex to the article on the website RTLS www.rtlsnet.ru/technology/view/2 .

Distance Measurement Technology: Chirp Spread Spectrum (CSS)


The CSS technology uses “chirp” pulses (literally, chirp means chirp, and in Russian, CSS means linear-frequency modulation - chirp). Chirp impulses - impulses of monotonously increasing or decreasing frequency. The lower and upper chirp frequency of the pulse correspond to the limits of the frequency range defined by the standard.
In nature, dolphins and bats for millions of years measure distances using Chirp impulses. In the chirp radar, pulses were first used and patented by Professor Guttman in 1940. Canon in the mid-1990s patented the use of chirp pulses in fiber-optic systems. And in 1996, Nanotron Technologies began research and subsequently patented CSS for wireless data transmission.
CSS is a radio frequency technology, best suited for situations where communication reliability and low power consumption are particularly important for battery-powered devices (battery-powered). The speed of data transmission using CSS technology is average (up to 2 Mb / s).

How it works


Any CSS packet is transmitted by Chirp pulses of two types: with increasing (Upchirp) or with decreasing (Downchirp) frequency, as shown in the figures.






The ISO 24730-5 standard sets the CSS with a center frequency of 2.45 GHz, a bandwidth of 80 MHz, and a fixed pulse width of 1 ÎĽs.
In CSS technology, information is transmitted by a coded sequence of chirp pulses. The symbol “1” corresponds to the Upchirp impulse, to the symbol “0” - the Downchirp impulse. Decoding of the sequence is carried out by two complementary (complementary) dispersion delay lines (DLZ). The coded sequence is fed to the inputs of both lines, but the DLZ parameters are selected so that the signals of different frequencies pass through the DLZ at different speeds. In one LLL (in the picture - Up), high frequencies propagate through the delay line faster, in the second they resemble low frequencies. As a result, the Upchirp impulse, which begins at low frequencies and ends at high frequencies, passes through DLZ Up and “shrinks” in time. The high-frequency end “overtakes” the low-frequency onset and the initially uniformly distributed in time pulse energy at the output manifests itself in a short pulse, the amplitude of which turns out to be many times larger than the amplitude of the input signal. On the contrary, Downchirp impulse, passing through DLZ Up, "eroded" in time and its amplitude decreases. Thus, at the output of DLZ Up, pulses appear that correspond to the symbol "1". In the second LLL (in the Down picture), low frequencies propagate faster, due to which Downchirp “compresses” the pulses, and at the LLL output, pulses appear that correspond to the “0” symbol.




In addition to decoding DLZ increase resistance to interference, as well as to broadband noise. The bottom line is that the noise (noise), in contrast to the chirp pulses, have a constant frequency spectrum and pass through the SLP without changes. The “compressed” chirp pulses in DLZ have a large amplitude compared to the initial amplitude, and are easily distinguished from the background of noise and interference.
Another advantage of CSS is its resistance to multipath attenuation. The transmitter signal in the 2.4 GHz band usually reaches the receiver in the "accompanying" several echo signals - reflections from obstacles, or even only in the form of echo signals in the absence of direct visibility. The propagation paths of signals have different lengths, so the reflections are shifted in phase relative to the main signal. In narrowband systems, this leads to communication failure. CSS is different in that distorted and phase-shifted signals as a whole retain the frequency spectrum, which makes it possible to collect almost all of the energy distributed in the 80 MHz band of the original signal on the DLZ.

Source: https://habr.com/ru/post/153237/


All Articles