The second part of the cycle "Notes IoT provider." Start can be found here .
So, we decided to build a network.
In fact, everything was different. We had a task. More and more different companies turned to us about remote meter readings. In part, we solved this with a witkuha, but you don’t tighten it everywhere. And we were puzzled by the search for an alternative way.
They analyzed the market, decided that it was LoRa that best suits our task. Chose from several standards. But Strizh pushed aside proprietaryity, NBIoT demanded frequencies, and indeed, last year’s market was not pleased with the variety. The first base station LoRa was somehow bought (it was Kerlink).
Let's do some terminology. Base station, i.e. transceiver, in Laura is called the gateway. Honestly - this is the only word that we stubbornly did not stick. Therefore, I, with your permission, will continue to call the gateways base stations.
The BS communicates with the terminal device. He has many names - the end, the sensor, the sensor. We liked the radio module (RM).
The BS itself is a stupid piece of hardware that simply converts the radio part from LoRa to, say, Ethernet. Unlike LTE, it controls nothing and generally tries to think at a minimum. All the levers in the next link of the chain - a network server. It is the server that drives the network, it is he who listens to packets from the RM, it is he who decides which BS to answer. True, he does not interpret the readings themselves in batches in any way; the next link does this - the application server. We'll talk more about them, but for the time being we are sorting out the radio part.
Structure of the LoRaWAN network
It took three months for detailed testing of the technology. We tried various locations of base stations, various antennas, ran across some anomalies and looked for solutions.
The most difficult measurements were given. After each installation of the base station, you need to run around it with a meter for two or three days, poking at entrances and shops, asking colleagues and friends to let them into their apartments if they find themselves in the area of ​​operation.
But we managed to make a very clear picture of the radio coverage of the LoRa network and derive several practical tenets.
Results of preliminary measurements
The meaning of most of them is the same. On board are three chips, two SX1257 and one SX1301. They differ only in body, quality of execution and, of course, price.
Kerlink has a solid case. Comes with a small 6 dBi antenna. In fact, it is no different from competitors, except for the exorbitant price. One Curlink stands at about 4 Vegs. Because it was the first shallow for an unreasonable price tag.
For the sake of fairness, I note that there are interesting solutions in the Curling line, for example, a BS on 16 or 24 channels. However, for Russia it is redundant, we can only turn around on seven channels of one and a half megahertz of unlicensed spectrum.
Progtech is suspiciously similar to Kerlink case, although it is three times cheaper. Inside, everything is rather clumsy, assembled from separate nodes, boards in two rows. In general, there were no complaints about the work, but somehow it did not take root in our country.
Rising HF for the price of half the Curlin, but it has a solid metal case with radiators. Again, not much different from fellow in terms of the radio part. Will suit those who love iron execution and are afraid of plastic cases.
BS Rising HF
Cisco. That's about her radio part, I'm not sure a hundred percent.
The BS comes with two antennas, one can be transmitting, two are listening. Such Single-MIMO on the Internet of Things.
It was Cisco that showed the best results in terms of radio coverage. True, the declared value is two Curlins. And, after the test, she had to return. Cisco is very responsible for the certification of its BS, because in Russia they have not officially sold.
As a result, we stopped at the base stations of the Novosibirsk company Vega. These are base stations with a single-board version in an unassuming plastic case. This building is embarrassing for many, they think that on the street it will quickly fall apart or flow. But our network works on them and for almost a year none of them failed.
In the radio part of Vega, too, nothing special, but the price turned out below all competitors. In addition, Novosibirsk has a good support of specialists, even if there are bugs, they are very quickly closed. It is not surprising that they decided to build on Vega. Progtech and Rising HF also remained online as possible alternatives.
BS Vega, appearance and installation
The average radius of action of LoRa in the city is 1.5 - 2 km. This is real data. I emphasize that the terminal devices are not on the street, but where they will stand. In apartments, basements, boilers and shield. And this is all very conditional.
There are quite dark basements, where it begins to be taken only from 500 meters (specially the BS was moved to such a basement in order to understand when the connection will appear). Come across open spaces where it breaks through 4 kilometers. However, the average indicator, nevertheless 1,5-2, also make a start from it. Of course, the limit values ​​will only be at SF = 12. It is important to understand.
Here I will separately tell you about Laura’s aggressive marketing and an important thing that not everyone is aware of. When they say that the standard can penetrate "up to 10 km" and work at a speed of "up to 5.5 kbit / s" on a 125 kHz bandwidth - these are different "to"! 10 kilometers Laura will break only in the open field and then on SF = 12. Ie the speed will be 292 bps. To get SF = 7 you have to go much closer. But there it is, up to 5.5 kbps.
These advertising tricks are fraught with the fact that engineers begin tests in cities and do not see these “before”. Why, they often won't see a kilometer if they put a BS on the roof of a five-story building and use standard antennas! Hence the conclusion, they say, the technology is not working. Working You just need to separate the marketing husks from the real possibilities. 2 kilometers in the city is quite a result.
Another problem that is often misleading is the standard antennas. You know, it's like rubber from the factory on a new car. You can ride, but something worthwhile is unlikely to be put. We'll have to buy more. So here. Established antennas for 6 (or even 3) dBi throw out immediately. We use normal antennas. For example, the Russian Radial showed itself well. Its A868-10 gives out 10 dBi and the coverage map confirms this. Of course, the 2 kilometers I mentioned in the last paragraph are on Radial. Such a microwork.
When I talk about interference, I mean not sabotage, but everyday situations that can cause problems.
In fact, in the city we did not find sources of interference that would interfere with the operation of our network. Except one.
The only thing LoRa is afraid of is the proximity of GSM-900 cellular antennas. This is the real problem. Sotoviki cleanly put our BS, it works barely, the coverage spot drops to 300 meters. This is not happening everywhere, but only where there is a GSM-900. If we are standing next to the cell phones, but they use the ranges of 1800, 2100 or 2500, then we are fine.
In addition, this influence is palpable only near. Moving to the next roof removes all problems.
So, after three months, we were ready. We had a vendor, understanding how to do the coating and what to avoid. Now I needed a pilot to run in that knowledge. About him - in the next article. And there will be more about security, problems with RS-485, architecture, real conditions in housing and public utilities, battery life, proprietary technologies and other practical observations.
Source: https://habr.com/ru/post/359294/
All Articles