The invention relates to a method of substituting and/or adding components in a wireless system for home automation, for example for sliding or swing gates, to which we will refer here as as an example, doors or garage doors, shutters, blinds, curtains or blinds in general.
The systems to automate the movement of a gate are usually composed primarily of at least one electric motor to move the gate, a central control unit, plus safety components such as photocells and pressure sensitive edges, alarms (buzzers or flashers) and command and management interfaces for the user, such as keypads and/or displays.
The cable connection between these components is very popular and used in most cases but quite expensive to install, due to the laying of pipes, channels for the wiring, masonry, small excavations and restoration works.
Therefore automation systems have developed with components that communicate in a totally wireless way, usually by radio.
The connected components form a wireless transmission and reception network.
A known problem is to initialize/configure a network of this type, especially during the installation phase in which each component must receive the data that identifies the network it belongs to and send its own to be accepted as a member of it.
One of the possible configurations of the network is the star structure, with a Master node that forms the star center. See
As can be seen a Master M1 communicates with the Slaves S1, S2, which can act as interfaces to sensors SN1, SN2, etc. or other devices DV1, DV2, etc. The Master M1 also communicates with a block application APPL. For reasons of compatibility with existing plants, the Master node M1 can be connected to a central unit through the bus line, acting as an interface and making the pre-existing central unit believe (the application APPL) that the components are installed devices by wire connected to the bus. This solution enables the creation of hybrid automation systems with wired and/or wireless devices. It will be possible, by inserting the interface Master M1 into the bus, to add wireless items to already existing wired automation devices.
Each Slave has no cable connection with the exterior world, and is equipped with a battery power supply, preferably self-rechargeable by a photovoltaic module.
Both the Master M1 and the Slave S1, S2, etc. are each equipped with a microcontroller and a radio transmitter, not shown. The aim is to enable the Master and Slave to send and receive to/from each other coded radio signals and control data, indicated symbolically by the bi-directional arrows in
It is normal during the life of the network NT1 that the need arises to add a Slave node, or replace a Slave or Master.
Then the problem arises to make the operation simple, fast and with minimum intervention by the user.
A very critical case occurs when the node is a failed Master, and must be replaced. Normally the user or installer must reset each Slave, for example with a button on board, but this would take a long time to disassembly the Slaves and reset them. In fact, the reset button should not be easily accessible, for obvious safety reasons.
One must take into account that the Slave nodes once connected to the network respond only to the Master identified by a code and by the address of the network NT1 exchanged during the joining phase. The invention advantageously envisages that the identification code of the Master M1 and the address of the network NT1 coincide. With the procedure of prior art one should remove all the Slaves, act on the dip switches or jumpers or buttons, and then reconfigure the entire network from scratch. A long and tedious process that takes time, and inevitably is subject to error.
The main object of the invention is to propose a method of substitution/addition of a node belonging to a wireless home automation network that is fast and easy for a user.
A further object is to propose a method that does not require particular action by a user, but is fully automatic.
A further object is to propose a node component that implements the method.
These objects are achieved by a method and a component according to the attached claims.
We describe now a procedure in accordance to the invention of a wireless automation network, along with the attached drawing in which:
The invention proposes the following procedure.
With a system already installed and working, one can add one or more Slave as follows:
At this point, the new device is installed and ready to work inside the network NT1. Repeating the procedure additional new Slaves can be installed at any time.
The invention also includes a procedure and means to cancel the connection of a Slave from a Master, therefore the expulsion of the Slave from the network NT1, so that it is possible to install it (reuse it) in a different network, new or existing (for example to replace a keyed selector with a numeric keypad). The procedure entails:
To start the abovementioned procedure one can envisage e.g. to press a button, a sequence of key presses or navigating a particular menu.
If the Master is to be replaced, the invention solves the problem as follows. See
With this code/address the new Master orders a reset of the network by sending a specific command to each Slave (block D), i.e. the internal memory of the Slave is cleared. The passage of code (address) into the new Master allows it to order to reset only to Slaves included in the network of the failed Master, and to become the successor Master for that very network through a new initialization/configuration. On the other hand, the Slaves acknowledged, before the failure, as their Master that which was sending the same code/address, and will do the same after the reconfiguration of the network, avoiding in the reset phase to execute commands from other Masters.
During the reset for substitution of Slave, the Master sends a reset signal until all the Slaves confirm the reset.
Note that the Master would not know how many Slaves are to be rejoined, and if a Slave would be missing in the reconfigured network the Master could not detect it. This problem is solved either by special signaling means which signal to the user the state installed or not of a Slave (light signals), or, as above, initializing the network from scratch, or by including in the data stored by each Slave also the number of Slaves belonging to the network and sending it to the Master together with the network address. This number is known by the Master and is transmitted to each Slave, which stores it.
After the reset of all the Slaves, the new Master must reconfigure/re-initialize a new network.
Note that in this type of applications one can not expect from an end user or the installer (generally electricians) self-possessed skills of radio technology, thus the realization of the network must take place easily and reliably, that is to say that the setup process should be invisible to the user and occur in a simple and automatic manner.
The process of (re)initialization/(re)configuration of the network according the invention, from block E on, is very simple, intuitive and requires no experience or special knowledge from the installer. Moreover, an inexperienced user is able to diagnose and fix any malfunction simply.
It is possible to activate and perform the initialization procedure after the mechanical fixing in situ of all components belonging to the network, but it is also possible to take the reverse path, i.e. to perform the setup procedure in a different place. For example, one can work at home or in factory to create the communication network, and then proceed only to the mechanical fastening of components in situ. The second procedure has the advantage of creating the network in place without obstacles and free from radio interference, a situation of greater convenience and protected from the weather conditions.
A preferred sequence of operations for the network configuration is as follows:
To avoid interference problems in case two Master of two neighboring networks generate the same address, so that a Slave receives messages from two different Masters, the invention provides that whenever the Master node generates an address, it tries to communicate with any adjacent Master using a particular message. The Master verifies with the adjacent ones that its newly generated address is unique, not equal to that of the adjacent Masters. Unless the Master receives an objection the address is stored, otherwise it generates a new one and repeats the verification process with the other Masters;
The nodes of the network exchange functional parameters (block L) e.g. the network address, the command to be executed, their own identification code, the code of the transmission channel, the code/data that describes the status of the Slave, and preferably go into low-power mode (block MC).
At this point the network is installed/configured and ready to work.
The Master-Slave topology of the network is an advantageous form because it simplifies control, but the invention also applies to a different network, e.g. a Token-ring topology.
Each component according to the invention can comprise a memory wherein the total number of network components is stored.
Number | Date | Country | Kind |
---|---|---|---|
VR2010A000162 | Aug 2010 | IT | national |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/IB2011/053448 | 8/3/2011 | WO | 00 | 2/4/2013 |