The application pertains to wireless, or, mesh networks. More particularly, the application pertains to such networks which provide multiple links between a gateway and the various displaced nodes, or devices.
A wireless network is a system whose devices communicate each other through radio waves, without using cables. The network basic element is called node, and the root node is typically referred to as the gateway. This gateway is the main interface between the wireless network and an external system, which is typically an existing wired fire system handled by a panel.
The gateway is in charge to translate the messages traveling between wired (panel) and wireless (nodes) domains, in order to make the wireless nodes “attached” to it, visible to the panel as if they would be physically connected to the wired network. All wireless devices but the gateway are battery powered, therefore the current consumption will preferably be kept to the lowest possible level in order to maximize devices' lifetime.
A node typically consumes most of the power while communicating with other nodes; the most power saving configuration (topology) is the star as illustrated in
The star configuration can only be used if the communication link (both physical distance and obstacles) between nodes and the gateway is good enough to allow for a direct link between every single node and the gateway. Moreover, it's necessary that all nodes are able to establish a good-enough link with at least one other node, in order to guarantee that a secondary path is always available. In most cases not all nodes are able to communicate directly with the gateway, therefore they communicate with the node closest to them, which in turn will forward the received information.
While disclosed embodiments can take many different forms, specific embodiments hereof are shown in the drawings and will be described herein in detail with the understanding that the present disclosure is to be considered as an exemplification of the principles hereof, as well as the best mode of practicing same, and is not intended to limit the claims hereof to the specific embodiment illustrated.
In embodiments hereof, a wireless system functions reliably even if one of its nodes fails to transmit its information. As discussed below, such information, from an originating node, will have at least two paths, or links to reach a gateway.
In
For each node N, the node that precedes it in a primary path is called primary parent, and the one that follows is called primary child. The same concept applies to the secondary path. The primary path(s) always originates from the gateway W. Each node has typically a physical address, normally settable by a switch, and a network address, hereafter called a slot address, by which the node is recognized during the wireless communication process.
As explained below, the present process generates slots, or slot addresses, for nodes of a mesh wireless network that complies with the following constraints:
a) The gateway W is always allocated at the lowest slot (i.e. slot 0);
b) The slot of a node N must be greater than the slot of its primary and secondary parents;
c) The slot of a secondary parent of a node N must be greater than the slot of the primary parent;
d) All nodes must have both a primary and secondary parent, when not in contradiction with constraints b) and c);
e) The slot address of the nodes N must increase in response to moving away from the gateway W;
f) The gateway W is allowed to have all the network nodes N as its primary children;
g) Each node other than the gateway is allowed to have at most 2 primary children;
h) Each node other than the gateway is allowed to have at most 4 children (as the sum of primary and secondary);
i) The communication between two nodes can take place only at a distance less than a constant dMax, where dMax is a calculated value taking into account the physical distance between nodes and the radio attenuation factors (e.g. typical environmental noises, and/or obstacles) in other words dMax is adjusted in order to take into account other factors related to the installation environment, therefore becoming something like a “radio” distance;
j) All nodes that are within the dMax distance from the gateway, must have the gateway as primary parent.
This also implies that:
k) There is always be one node which cannot have the secondary parent, and:
l) If available, the node allocated at slot 2 have always the following parents:
As a prerequisite, each node must be within the distance of dMax from at least one other node. If the network doesn't comply with the prerequisite, it's mandatory to add one or more nodes in such positions as to meet constraints.
The process can be logically divided into three parts:
1. Primary path definition
2. Slot allocation
3. Secondary path creation
A more detailed description follows. Primary path definition connects all nodes to the gateway by establishing the primary path. In order to optimize power consumption, the gateway's children number is maximized. During this step all nodes are assigned a level, indicating the number of intermediate nodes between the examined one and the gateway W.
With respect to
For each node with level=1 (L1), search for the two closest unassigned nodes but always within the predetermined distance dMax and connect them to the node. Then assign those nodes a level of 2 (L2).
The above process is repeated for each level greater than 1. A primary path is then obtained, as illustrated in
Next, to carry out slot allocation, with respect to
Given node's levels and angles, slots are then assigned from 1 to n from the node at level 1 having the lowest angle to the node at last level having the highest angle. This way, slot 1 is allocated to the node at level 1 having the smallest angle, slot 2 to the node at level 1 having the second smallest angle and so on. When all nodes at level 1 are allocated, the same procedure is applied to the other levels until all nodes have been allocated.
The slot address 0 is assigned to the gateway W. Given allocation of the slot addresses, as in
With respect to
For some spatial arrangements of the nodes, as illustrated by network 80 in
In
This variant includes swapping the slots (in pairs) of the nodes of lower level than the level of the node that it was not possible to reach with the secondary path. Although this operation doesn't change the primary path, it allows building a complete secondary path. In the illustrated example of
Moreover, even if the variant is unable to create the secondary path, there is a final solution which allows to always creating both primary and secondary paths. Nevertheless, it's important to note that this solution is not optimal from the power consumption point of view, since it connects only two nodes to the gateway.
Starting from the gateway W, create two chains with the same number of nodes as primary path as in network 82 of
More generally, the process includes:
a. Creating the two chains with the same number of nodes, as primary path as in
b. Assigning the nodes of the first chain (C1) the even slots;
c. Assigning the nodes of the second chain (C2) the odd slots;
d. Creating secondary path.
Given S the slot number assigned to a node, L(x, y) the link between a node assigned at slot x (parent) and the one assigned at slot y (child), provides the basic constraints for nodes allocated at slots 1 and 2. This kind of network is generated by applying the following rules to each node of the network:
Primary Path use L (S, S+2) and Secondary Path use L (S, S+1)
From the foregoing, it will be observed that numerous variations and modifications may be effected without departing from the spirit and scope of the invention. It is to be understood that no limitation with respect to the specific apparatus illustrated herein is intended or should be inferred. It is, of course, intended to cover by the appended claims all such modifications as fall within the scope of the claims.
Further, logic flows depicted in the figures do not require the particular order shown, or sequential order, to achieve desirable results. Other steps may be provided, or steps may be eliminated, from the described flows, and other components may be add to, or removed from the described embodiments.