Notes of the IoT provider: let there be light, or the history of the first state order for LoRa

    Make a project for a commercial organization easier than for the state. Over the past year and a half, we have implemented more than twenty LoRa tasks, but we will remember this for a long time. Because I had to work with the conservative system here.

    In the article I will tell you how we have simplified the management of urban lighting and made it more accurate in relation to the light day. I praise us and scold domestic identity. I will also share why we refused to wire in favor of the radio network and how another unemployed engineer appeared in the world.



    First tell you what we did. Then - how we did it and what difficulties we overcame.

    We have created a smart urban lighting control system in a regional city. She works through LoRaWAN. Commands to turn the light on and off are sent to the radio module. We used class C devices because the system has constant power.

    Just in case, let me remind you that the class C radio module is permanently on the air, awaiting the command of the server.

    We have a schedule for sending commands and an error reporting mechanism. And then there is a test of the radio module itself.

    That's all. There may be questions: what is so revolutionary you did? The city lanterns worked even without you: in the evening they lit up and in the morning they went out. What is the value of the project?

    The counter question: did you notice that city lighting is not always on time? Outside it can be quite dark, and the lights do not burn. This is especially noticeable in transition periods when daylight hours are actively decreasing or arriving. In the Ural region, this is noticeable in October-November.

    So we smoothly proceed to the difficulties and features of the project.

    Our experience, or how to improve the management of urban lighting

    Customer - government organization.

    The lighting control system works on a chaining basis. This is when there are pillars-lights with a common power. Such columns in one chain can be from several pieces to several tens. It depends on the scale of the plot.

    Each circuit has its own control cabinet, it has an electric meter and an on / off relay with main power supply. I cannot attach a photo of the cabinet, because the customer has forbidden it to be shown. Honestly, he looks so-so.

    In the daytime there is no power on the pillars. Therefore, it is impossible to install a light sensor or a personal relay on each lamp.

    Total : we have an outdated system of incorporating urban lighting with a chain that needs to be improved and modernized.

    Here are the obvious disadvantages of such a system:

    1) A timer is used to regulate the on-off time of the lamps.

    But the device does not have time for daylight. The engineer brings it by hand. He does this not daily, but at a specified frequency. Accordingly, there is always an error.

    2) In such a system there is no warning of breakdowns. Something went wrong, and the customer did not receive a prompt message. And this is very critical. Because for such violations you can get a significant penalty and punishment. Still a matter of urban scale.

    3) There is no automatic correction of energy consumption in relation to the light day. Hence the situation when it is already dark outside and the lights are off.

    4) There is no information about abnormal energy consumption with indication of the site.

    Someone connected to the lamp, stealing energy, and the customer does not see it. By the way, such precedents often occur in regional cities with private buildings.

    It’s difficult to talk to a government customer. Because he has already become accustomed to a system that seems to be working, but I would like better. At the same time, it is necessary to make it easy to manage and local craftsmen would cope with it. Not to invite experts from the regional center every time.

    And yet - it should be cheap and for a long time.

    What we did:

    1) Instead of wires, we used a radio network. This allowed us to meet the budget and make the system universal.

    The control cabinet can be located in the center of the industrial zone or at the entrance to the city - to pull the wire to it is expensive and difficult, and not always possible. The radio network does an excellent job with the tasks, it works stably and for the customer it is cheaper.

    2) To control the system, we used the SI-12 radio modules from Vega. They have control contacts, on which we put the power supply relay.



    3) Screwed the survey on the electric meter in the box. There is a consumption - the lights are on, there is no consumption - they are turned off.

    The survey provides information on the proper handling of the power relay. If it gets stuck, we'll see it.

    4) Calculate the average consumption - the median consumption. For this we had technical parameters and the number of users.

    So we were able to get information about anomalies. If the flow is below average, then part of the lights burned out. If it is above average, then someone has connected to the network and steals electricity.

    5) Made an interface for lighting control. While it is “raw”, we are testing it and most likely will finalize it.



    In the interface you can:

    1. Add equipment of the type “control cabinet” with a specific address

    2. See the status of the cabinet (on - off)

    3. Assign a schedule for it

    4. Link an electric meter to the cabinet

    5. Manually turn on - turn off the lighting system.



    It is necessary when repairing. Engineers work during the day, and the lights on schedule at this time off. But the dispatcher will be able to turn them on from the console. In this case, it is not necessary to break the switching and climb into the cabinet.

    6. See the logs of a particular cabinet. They contain data on switching on and off, type (by schedule or manually), the status of operations.

    Now the customer does not need to send an engineer for manual eyeliner timer. We have improved the management of the system, made it easier, more stable and more understandable. What the engineer will do now - honestly, we don’t know. But we hope that he will find more serious tasks.

    Currently, the system is in test. Therefore, I would appreciate practical advice and questions.


    We will continue to work on the project. There are thoughts to put full-fledged controllers in the cabinets. The schedule will be flooded with them in memory, so they can control the lighting without radio communication.

    We will also configure the smooth switching of the lights. This is when at dusk urban lighting works at 30 percent. The darker it gets on the street, the brighter the lights are.

    There are already ready-made systems for this. They are based on DALI lighting control protocols or 0-10. Each lamp can be assigned an address and managed separately. But the infrastructure of many Russian cities is not ready for this. Upgrading the street lighting system is expensive, and no one is in a hurry to do it.
    We are developing our own system that will work in a similar way. About this - in the following articles.

    Archive of previous articles:

    # 1. Introduction# 2. Coverage# 3. Zoo of metering devices# 4. Propriety# 5. Activation and security in LoraWAN# 6. LoRaWAN and RS-485# 7. Devices and outbidings#eight. A little about the frequency# 9. Case: we are making a LoRa network for TRK in Chelyabinsk# 10. How to create a LoRa network in a city without a network in one day?

    Also popular now: