I continue the series of articles about the experience of IoT-provisioning based on the LoRa network. Start here and here .
So, the test network was launched, and we were preparing to start connecting pilot subscribers.
It turned out as always: they were afraid of one thing, they did not even think about something else. As a result, the first cost, and the second created a bunch of problems.
Most of all, we were afraid that in real conditions the network would start to work somehow differently than on tests. When the first subscriber showed us 40 basements, in which there were about 50 water meters, it became really exciting. Basements are the usual basements of 5- and 9-storey houses. With tiny barred windows, raw, with rats and cats.
However, after placing all the radio modules it turned out that they were afraid of nothing. The network worked without problems, we got a stable coverage within a radius of two kilometers from the base stations. Of course, something had to be optimized, but in small detail. It is with radio coverage that there were no problems.
But the counters themselves surprised us. In housing and communal services, we met a zoo, and inside the documentation - a mess.
I will make a small digression and explain what a pulse output counter is.
Pulse output is two wires (or a terminal block) that go out of the water, electric, heat or gas meter. If rough, then between these wires periodically short circuit occurs. That is, the relay closes or reed. In fact, there is not just a short circuit, just a drop in resistance, but in this case it does not matter.
Each such short circuit is an impulse. Those. the water meter spins, winds up the cubes of water and, in proportion to them, sends these same impulses to the line. Say, while the cube was winding, it gave 10 pulses. Considering these impulses, we understand how much resource has passed through one or another metering device. On board the radio module there is a pulse counter, so in fact we need to make two contacts there and correctly configure everything.
Radio module on the water meter
It is important to understand that the meter in no way tells us its final value. He will not be able to transmit through the pulse output the testimony that he has now on the scoreboard.
No, he shakes it in real time and we have to count in real time with him. And at the first connection of the radio module, it is also necessary to rewrite and enter the initial values ​​into the system, as can be seen on the scoreboard. Further we will add all indications to this value.
So, we began to connect the counters. And faced with the first difficulties. In this article I will deliberately omit the names of individual devices in order not to create anti-advertising. I hope this article will be read by at least one of the manufacturers and draw conclusions.
Some metering devices were great and clearly corresponded to the documentation. That is, if the price impulse is 100 per 1 cu. meter of water, then it is.
For some reason, some metering devices in the documentation were lying. Could be written - 10 pulses per cube. And in fact - 100. Moreover, the price of the impulse was sometimes knocked out right on the meter itself, on the body. And it was not true.
Then we were very surprised, how can an attorney’s metering device have such blunders? However, it did not cause serious difficulties. On problem meters, the impulse price was picked up by a spear method and they still became monitored.
Next, there was still a surprise waiting for us when electricity meters began to be connected. They do not have a relay there, but an open collector and the polarity of the connection is important. And again the documentation of part of the metering devices lied to us, confusing plus and minus. Again, out of the situation by brute force, the benefit is that there are only two options.
Apartment meters connected to the radio module. The photo does not show that the electron is still closed with iron doors.
The surprises did not stop. We were ordered to supply a dwelling house with individual heat meters for monitoring. The house was not in our city, but a hundred kilometers away and a survey was done by field engineers. Those. they took pictures of the metering devices themselves, passed their passports to us.
We began to rummage in the documentation. It turned out that these heat meters have several options for interface outputs: M-Bus, RS-485 or pulse. The documentation modestly stated "depends on the modification." And that's it! What modification, where to look, where is it located ???
Contact the factory. Then I had a dialogue like this:
- Good day. How to understand the type of interface output of your heat meter?
- The leftmost cable. What color transactions?
- White and brown.
- Yeah. This is either M-Bus or Pulse.
- And exactly how to find out?
- M-Bus, like, signed.
- Like? And by modification is it somehow possible to find out? Is she spelled somewhere? I can tell you the serial.
- Mmm ... on the box should be. On the counter itself, it seems, no. Serial does not help.
- And if the box was thrown away?
“Mmm ...”
As a result, the plant did not tell us anything intelligible. What to do is not clear - the meters for a hundred kilometers, the house has not yet been handed over, they are not included. If the testimony went, it would be possible for Tseshka to get up between the contacts. But we can not yet. We are already thinking of sending a test M-Bus module there. With us require KP with the exact name of the equipment. M-Bus is more expensive and I’m not mad about putting in the price.
Then we were rescued by the supplier. He managed to find invoices for shipment. And he (and not the factory!) Turned out to be an amazingly intelligent engineer who nevertheless helped identify this meter. It turned out that you need to look in the passport, there is a modification. And although the passport did not have its decryption, the supplier, fortunately, had it. Taxied out.
Pinout from the passport heat meter. We see that options 3 and 5 are visually the same. There is no decoding of counter modifications in the passport and it is problematic to distinguish the impulse from the M-Bus.
There are already quite a few such stories, and manufacturers continue to amaze. Now we already have a huge business card with the coordinates of managers or engineers of various factories with whom you can consult. And we do not miss the chance to build bridges with another manufacturer, so that later we could ask anyone. Conveniently. And sometimes the only option.
I must say that most of the factories are still pleased with adequate support and competent staff in the field. I can’t say anything bad about SPBZIP, Incotex, Energomeru, Lenelektro, EMIS. We even made friends with Ekaterinburg Carat, and they even tested their first heat meter with a LoRa module on our network.
However, some plants are NOT from the list above engineers would learn.
As experience and contacts appeared, it became a little easier to work. However, I still could not get used to that attorneys accounting devices generally allow this.
It turned out that we are still doing well. Kazakh colleagues told that telemetric output of meters is now mandatory in their state. And once it is mandatory, that is, say, apartment water meters, from which the wire sticks out. There is a telemetric output! The trouble is that the wire inside the meter is not connected anywhere, it just dangles in the air. That's right, to the usual water meter just screwed the wire.
So we were lucky, through the stump-deck, but our interfaces at least work.
In general, for the year I’m kind of used to somehow, that this is possible. But all was thinking - how? Why? A possible answer came up during our recent discussion of the problem in the LoRa community. Colleagues noticed that some counters of different plants are similar as twin brothers. Maybe someone someone thoughtlessly copied or is it generally Chinese nouneym. Weed through certification and sell. Without understanding the inner content.
I can't guarantee that this is true, but the version is sound.
Summarizing, I’ll say that if you go to do telemetry in the housing and utilities sector, the word “zoo” will flash more often in your vocabulary.
Separately, I want to say about the sealing. For some strange reason (maybe readers can tell why) resource managers love to seal everything they can. The photo below shows the Energomera electric meter. There are fillings on the top and bottom. From above there are only interface outputs, they are specifically brought there. There is also a seal. It turns out that if I installed the counter, and after some time I decided to tie monitoring to it, then I should call the engineer from the resources. Not too comfortable.
Energomera is sealed from below and above
And most importantly, all these difficulties overtook us only at the stage of pulse output. But it soon became clear that we would not go far on a single impulse. There were requests for monitoring of more complex devices, for example, three-phase electricity meters or house heat meters. These devices monitor several parameters simultaneously. And to issue them through a pulse output is simply unrealistic. And because it uses RS-485 and others like it.
So we had to learn how to work with this kind of interface. Moreover, being able to handle it, we could go not only to housing and utilities, but also to other, much more interesting spheres. And we started learning ...
UPD. It was rightly noted in the comments that my example with the sealed Energy meter is incorrect - there the lid is removed by unscrewing one non-sealed bolt. But this does not remove the problem, many of the counters have an interface output under the seal.
Source: https://habr.com/ru/post/359429/
All Articles