The present invention relates to the automatic assignment of nodes to their correct spatial positions and, particularly, to the automatic assignment of nodes to their correct spatial positions within a wirelessly controlled lighting array.
A typical wireless lighting array comprises a large number of electrically driven luminaires, which are typically arranged in a regular structure in order that they provide an even level of background light. The luminaires within the array are often laid to a grid or lattice arrangement such that there is uniform spacing between them. The grid or lattice arrangement may, for example, be dictated by the structure of a false ceiling.
Each of the individual luminaires in such a lighting array is adapted such that it is able to communicate with the other luminaires over a wireless communication network, which is formed by an array of associated communication nodes. Each of the communication nodes in the network is located at the position of its associated luminaire in the lighting array. Hence, the spatial structures of the lighting array and communication network are equivalent.
The communication network provides a means by which the lighting array can be auto-commissioned post-installation. However, the individual nodes in the network are unable to provide their own position information, therefore, it is unknown which luminaire each communication node is associated with. Before the array can be commissioned, the spatial position of each node in the communication network must be established so that each node can be assigned to the correct luminaire.
The positions of the communication nodes are found by a trilateration process, which is based upon range data provided by the wireless communication network. The range data is provided in the form of range measurements taken between pairs of communication nodes in the wireless network. The calculation of a range between two nodes is derived directly from these range measurements, which are made using techniques like Received Signal Strength Indication (RSSI) or Time-of-Flight.
In the case of RSSI, the received strength of a radio signal exchanged between a pair of communication nodes is used to calculate the range between them. The strength of the transmitted signal decreases at a rate inversely proportional to the distance traveled and proportional to the wavelength of the signal. Hence, taking the wavelength into account, the distance between the pair of nodes may be calculated from the transmitted signal's attenuation at the receiving node.
In the case of Time-of-Flight measurements, the range between a pair of communication nodes is calculated by measuring the time taken for a radio signal to travel between them. It is known that radio signals travel at the speed of light, hence, an accurate measure of the time-of-flight between the pair of nodes enables an accurate calculation of the distance between them.
However, these types of range measurement are subject to error and, hence, the derived positions of the communication nodes often do not match exactly to positions on the grid or lattice arrangement on which the luminaires are arranged. There is, therefore, still some uncertainty as to which luminaire each node is associated with.
In order for the wireless lighting array to be successfully commissioned, the communication nodes must be assigned to their correct grid or lattice position, and hence luminaire, in the lighting array. If the communication nodes are assigned to a lattice position which does not correspond to their actual lattice position, the derived spatial structure of the communication network will be incorrect and, consequently, the lighting array will not function correctly.
In order to resolve such uncertainties in the positions of the communication nodes, the positions derived by trilateration may be compared with a template which defines the lattice positions of the luminaires in the lighting array. By this method, a communication node can be “snapped” to the closest luminaire to its derived position. Its new position can then be used as a reference point in the trilateration of further communication nodes. In this way, errors in the positions derived by the trilateration process are not accumulated.
However, there is a risk, with the above method, that individual communication nodes will be snapped to the wrong position, i.e. a position which does not correspond to their actual position. In this case, the use of that position to establish the positions of further communication nodes results in the accumulation of large errors. Such errors may become sufficiently large that they prevent the overall topology of the lighting array from being established.
It is an object of the present invention to improve on known systems and methods.
According to a first aspect of the invention, there is provided a method of assigning wireless nodes in a derived spatial arrangement to positions in an array of known positions, comprising building a decision tree to represent a hypothesis for the assignment of the first of the nodes to a first of the positions, extending the decision tree to represent hypotheses for the assignment of each further node to a plurality of the positions, assigning a probability to each of the hypotheses, selecting one of the positions for each of the nodes based upon the probability of the hypotheses and assigning each of the nodes to its selected position.
According to a second aspect of the invention, there is also provided a method of assigning wireless nodes in a derived spatial arrangement to groups, comprising building a decision tree to represent a hypothesis for the assignment of a first of the nodes to a first of the groups, extending the decision tree to represent hypotheses for the assignment of each further node to a plurality of the groups, assigning a probability to each of the hypotheses, selecting one of the groups for each of the nodes based upon the probabilities of the hypotheses and assigning each of said nodes to its selected group.
The hypothesis for the assignment of the first node is carried by a root of the decision tree and the hypotheses for the assignment of each further node are carried by branches of the decision tree which stem from the root.
The hypothesis for the assignment of the first node acts as a parent to the hypotheses for the assignment of the second node such that the probability of each hypothesis for the assignment of the second node is calculated as the product of the probability of the hypothesis for the first node and the probability of the hypothesis for the second node against its sibling hypotheses representing the assignment of the second node to alternative positions.
The hypotheses for the assignment of the second node act as parents to the hypotheses for the assignment of the third node such that the probability of each hypothesis for the third node is calculated as the product of the probability of its parent hypothesis and the probability of the hypothesis against its sibling hypotheses representing the assignment of the third node to alternative positions.
Branches of the decision tree which carry hypotheses with a probability less than a defined threshold value, or which do not conform to defined assignment rules, are pruned out of the tree.
Embodiments of the present invention will now be described, by way of example, with reference to the accompanying drawings, in which:
Referring to
Referring to
The first stage in commissioning the lighting array 1 is to establish the communication network 11. This is achieved by a network discovery process, which is initiated by all communication nodes 12-19 upon power-up. Every communication node 12-19 in the network 11 tunes to a control channel and broadcasts an “advertise” message, which contains its node type and a request that all other nodes identify themselves. After a random time, each other node replies to the message with its identity and functionality. However, the nodes 12-19 are unable to supply their position information. At this stage, therefore, the spatial structure of the network 11 is unknown.
Referring to
The placement algorithm 21 is adapted such that it may be implemented, for example, by a laptop computer 22 or PDA which communicates with the wireless network 11 through a gateway interface 23.
The gateway interface 23 comprises a stand-alone program, running on the computer 22, which requests and collects data from the communication network 11 through a gateway provided by one of the communication nodes 12-19. The collected data includes the functionality of each node 12-19 and range measurements between each pair of nodes 12-19. The gateway interface 23 continuously monitors the network 11 and is configured to detect if new nodes are added to, or disappear from, the network 11.
Referring to
The computer 22 is adapted to communicate with the gateway via a serial or Ethernet cable. However, in another embodiment of the invention, the computer 22 may communicate with the gateway wirelessly.
In a further embodiment of the invention, the placement algorithm 21 is adapted such that it may be implemented by computer hardware which is integrated into the wireless communication network 11. Such hardware could be comprised, for example, as part of the communication nodes 12-19.
Again referring to
The placement algorithm 21 then constructs a circle 31 around the first node 12, the radius of which is defined by the range measurement between the first node 12 and the second node 13. The placement algorithm 21 may then use the circle 31 to assign the second node 13 to its closest luminaire 3 at coordinates (−2,0).
Referring to
The circles 31b,32 intersect at two points, providing two possible placement positions for the third node 14. The placement algorithm 21 assesses the likelihood of each position based upon its distance from the positions of surrounding luminaires. It is then able to select the best position for the third node 14, corresponding to the position shown in
The placement algorithm 21 may then use the derived position of the third node 14 to assign it to its closest luminaire 5 at coordinates (0,0).
Once a derivation of position for every node in the network has been completed, the resultant topology may be reflected or rotated in order to ascertain the correct orientation.
The placement algorithm 21 may then position the fourth node 15 by making three final range measurements. These are made between the first node 12 and fourth node 15; between the second node 13 and fourth node 15; and between the third node 14 and fourth node 15. Referring to
However, these types of range measurement, which are used in order to calculate the distances between nodes 12-19, can be affected by factors such as temperature and node battery level. In addition, there may be errors introduced due to component differences, variations in antenna performance and multipath effects. Such errors are propagated when calculating the ranges between pairs of communication nodes 12-19 and, hence, lead to a level of uncertainty in the derived node positions.
Referring to
However, the closest available luminaire 4 to the derived position of the fourth node 15 is located at coordinates (0,2). This makes the distance between the node 15 and the luminaire 4 very large and, therefore, despite the third node 14 being assigned to the luminaire 5 closest to its derived position, the probability of the overall assignment combination being correct is very low.
Alternatively, referring to
In accordance with the invention, an assignment algorithm 36 is provided, shown in
In order to simultaneously consider a plurality of assignments, the algorithm 36 represents the assignment of the nodes 12-19 in a decision tree. Each branch of the decision tree represents a hypothesis for the assignment of a particular node 12-19 to a particular luminaire 2-9, and each hypothesis is assigned a probability.
The decision tree begins with the construction of a root, which carries a hypothesis for the assignment of the first node 12 in the network 11. The decision tree then constructs branches to carry hypotheses for the assignment of the second node 13 in the network 11. These branches stem from the root and their hypotheses are represented as children of the hypothesis for the assignment of the first node 12, and as siblings of each other. The hypothesis for the assignment of the first node 12 may then be referred to as the parent of the hypotheses representing the assignment of the second node 13.
The probability of each child hypothesis incorporates the probability of its parent. Therefore, as an example, if a parent hypothesis has a probability of 0.6, and the likelihood of a child hypothesis against its siblings is 0.4, the child hypothesis has a probability of 0.6*0.4=0.24. An example of this is shown in
In order to prevent such decision trees from growing exponentially due to a combinatorial explosion of possible assignments, the assignment algorithm 36 regularly prunes out the branches carrying the least likely hypotheses. Additionally, certain combinations of assignment may be found to be mutually exclusive, in which case the algorithm 36 causes the relevant hypothesis or hypotheses to be blocked.
The pruning process results in a firm decision to assign the second node 13 to the second luminaire 3. By continuing to grow and prune the decision tree in this manner, the algorithm 36 is able to resolve the assignment decisions for all nodes 12-19 in the network 11.
Referring again to
The computer 22 communicates with the network 11 through the gateway interface by means as discussed previously. In an alternative embodiment of the invention, as with the placement algorithm 21, the algorithm 36 is adapted such that it may be implemented by computer hardware which is integrated into the wireless communication network 11.
The computer 22 uses the range data provided by the network 11 to implement the placement algorithm 21 and assignment algorithm 36 to assign the nodes 12-19 to the luminaires 2-9. The communication nodes 12-19 are provided with storage means such that they are able to store the assignment configuration. Hence, the nodes 12-19 are able to implement the stored configuration each time the lighting array 1 is switched on.
Referring to
Referring to
In this example, there are two assignment hypotheses, which correspond to the positions of luminaires 3,4. In the case of the second node 13, the probability assigned to each hypothesis by the algorithm 36 is directly proportional to the distance between the circumference of the circle 31 and the luminaire 3,4 which the hypothesis represents.
In the cases of further nodes, for which the placement algorithm 21 is able to return a more precise node position, as discussed in relation to
Where:
Alternatively, the probability assigned to each hypothesis may be calculated independently of the distances to the positions represented by sibling hypotheses. For example:
Where:
With this alternative approach, if Dn is very small (Dn<<1), Pr(Hn) may become very large and unfairly dominate the balance of probabilities. Therefore, it is necessary to eliminate small values of Dn before calculating Pr(Hn). Eliminating small values of Dn will also prevent a divide by zero exception. Once the probabilities for all hypotheses of a particular generation have been calculated, i.e. all siblings and cousins, their probabilities may be normalised. The probabilities may then multiplied by the probabilities of their parent hypotheses, as previously discussed.
The algorithm 36 may also take additional factors into consideration when considering the probabilities of hypotheses. Such factors may include, for example, quality indicators from the underlying range data.
Referring to
In a further embodiment of the invention, the threshold may be calculated as a percentage. For example, a hypothesis may be eliminated if its probability is less than 1% of the probability of its most likely sibling or cousin hypothesis.
Upon the elimination of all hypotheses having a probability less than 0.1, the assignment algorithm 36 progresses to S14.5. At this stage, the algorithm 36 prunes out branches carrying parent hypotheses who no longer have surviving children. The result of the pruning process for the first four nodes 12-15 is shown in
The algorithm 36 then checks the revised decision tree, in S14.6, to ascertain whether the above described pruning process has resulted in any firm node assignment decisions, as previously described in relation to
If the answer is no, the algorithm 36 moves to S14.7a and extends the decision tree. The algorithm 36 is configured to communicate the remaining possible assignment positions for the second node 13 back to the placement algorithm 21, such that the placement algorithm 21 may then derive positions for the third node 14.
Due to the derivation of a node's position being dependent on the assignment positions of previous nodes, the derived position of the third node 14 will be different for each branch of the tree, as illustrated by
Alternatively, if the answer is yes, the algorithm 36 moves to S14.7b and assigns the relevant node to the relevant luminaire. It then progresses to S14.8 and ascertains whether all of the communication nodes 12-19 in the network 11 have been assigned to luminaires 2-9 in the lighting array 1.
If nodes are yet to be assigned, the algorithm 36 moves to S14.7a and extends the decision tree as previously described. However, if all nodes are assigned, the algorithm 36 moves to S14.9 where the assignment of nodes 12-19 is finalised.
In this way, the algorithm 36 is able to establish the correct spatial structure of the network 11, leading to the successful auto-commissioning of the lighting array 1. It will be appreciated that, although the placement algorithm 21 has been illustrated and described as a separate computer program, in another embodiment of the invention the features of the placement algorithm 21 may be integrated as part of the assignment algorithm 36.
wireless nodes 38-43 which are arranged on a lattice 44. The intersections of the lattice 44 define an arbitrary x-y coordinate scale. However, in another embodiment of the invention, the wireless nodes 38-43 may be arranged in x-y-z space. The positions of the nodes 38-43 in the communication network 37 are already correctly ascertained, therefore, there is no uncertainty in the network structure. The correct positions of the nodes 38-43 may be provided by the previously described assignment process, or may be entered manually or by some other known method.
The network of nodes 38-43 are adapted such that each of them is able to communicate with a three-button switch 45, which comprises buttons 46-48. In this embodiment of the invention, communication between the switch 45 and the network 37 is via serial or Ethernet cable. However, in another embodiment of the invention, information is transferred wirelessly.
The wireless network 37 is configured to provide a means for communication between a set of luminaires in a lighting array. Each node is assigned to a particular luminaire and provides a means to control the luminaire's operation. Alternatively, in another embodiment, the network 37 may be configured to provide a means for communication in a different type of system.
In order to commission the node network 37, the nodes 38-43 are divided into three groups 49-51 such that each group 49-51 is controlled by a particular button 46-48 on the three-button switch 45. For the lighting system to work correctly, it is important that the nodes 38-43 are divided into sensible spatial groupings so that luminaires in a particular area of the lighting array are all controlled by the same switch or sensor and, hence, behave in a similar manner.
Referring to
The child hypotheses assign the second node 39 either to the first group 49, as shown in
In one embodiment of the invention, the algorithm 36 joins the nodes of each group together by drawing a line which connects them together. In this embodiment, the probability assigned to the hypothesis for each group is calculated according to the statistics of the group. These statistics may include, for example, the standard deviation or variance in the distance between member nodes, the length of the line and the number of member nodes.
In another embodiment of the invention, the assessment of merit is made according to the relative proximity of member nodes. As discussed with the first application of the algorithm 36, the probability of each child hypothesis additionally inherits the probability of its parent hypothesis.
The algorithm 36 then progresses to S14.4 in which branches of the decision tree are pruned out if their hypotheses have a probability below a defined threshold value. Similarly, referring to S14.5, the branches carrying parent hypotheses who have no surviving children are also pruned out of the tree.
The algorithm 36 then checks, in S14.6, as to whether the pruning process has resulted in any firm assignment decisions. If the answer is yes, the relevant node 38-43 is assigned to the relevant group 49-51 and the algorithm 36 proceeds to check whether all nodes have been assigned to groups. Alternatively, if there are no firm assignment decisions, the algorithm 36 extends the decision tree, in S14.7a, and returns to S14.3.
Referring back to
In this embodiment of the invention the rules of assignment dictate that, in order that the nodes 38-43 form sensible spatial groupings, nodes may only be assigned to adjacent groups. Therefore, if the second node 39 is assigned to the second group 50, the third node 40 may only join the second group 50 or the third group 51. It may not join the first group 49 because the second node 39 stands in its way. The branches carrying hypotheses which do not conform to this assignment rule are pruned out of the decision tree in the pruning process of S14.4 and S14.5.
The final three nodes 41-43 may be assigned by extending the decision tree of
In this way the algorithm 36 is able to assess the merits of all possible spatial groupings of nodes 38-43 before it divides the network 37 into groups 49-51. The algorithm 36 may be implemented as with the previously discussed application, however, because the structure of the network 37 is already established, the structure may be communicated to the algorithm 36 upon initialisation. Therefore, the algorithm 36 does not need to continuously correspond with a placement algorithm as with the previously described application.
It is clear that all the features described for the first embodiment could be adapted to this second embodiment.
Although claims have been formulated in this application to particular combinations of features, it should be understood that the scope of the disclosure of the present invention also includes any novel features or any novel combination of features disclosed herein either explicitly or implicitly or any generalisation thereof, whether or not it relates to the same invention as presently claimed in any claim and whether or not it mitigates any or all of the same technical problems as does the present invention. The applicants hereby give notice that new claims may be formulated to such features and/or combinations of such features during the prosecution of the present application or of any further application derived therefrom.
Number | Date | Country | Kind |
---|---|---|---|
06110706 | Mar 2006 | EP | regional |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/IB2007/050707 | 3/5/2007 | WO | 00 | 9/8/2008 |
Publishing Document | Publishing Date | Country | Kind |
---|---|---|---|
WO2007/102112 | 9/13/2007 | WO | A |
Number | Name | Date | Kind |
---|---|---|---|
6144838 | Sheehan | Nov 2000 | A |
6718315 | Meek et al. | Apr 2004 | B1 |
20020044533 | Bahl et al. | Apr 2002 | A1 |
20020046018 | Marcu et al. | Apr 2002 | A1 |
20020126020 | Wang et al. | Sep 2002 | A1 |
20030232598 | Aljadeff et al. | Dec 2003 | A1 |
20040160199 | Morgan et al. | Aug 2004 | A1 |
20050228613 | Fullerton et al. | Oct 2005 | A1 |
Number | Date | Country |
---|---|---|
1583401 | Oct 2005 | EP |
0197466 | Dec 2001 | WO |
Entry |
---|
Sun et al. “Signal Processing Techniques in Network-Aided Positioning”, Jul. 2005, IEEE Signal Processing Magazine. |
Hightower et al. “Location Systems for Ubiquitous Computing”, Aug. 2001, IEEE. |
Fox et al. “A Probabilistic Approach to Collaborative Multi-Robot Localization”, 2000, Kluwer Academic Publishers. |
Liu et al “Efficient Localized Localization Algorithm for Wireless Sensor Networks”, 2005, IEEE. |
Thrun et al. “Monte Carlo Hidden Markov Models: Learning Non-Parametric Models of Partially Observable Stochastic Processes”, 1999, In Proc. of the International Conference on Machine Learning (ICML). |
Chen “A Non-Line-of-Sight Error Mitigation Algorithm in Location Estimation”, 1999, IEEE. |
Reid, “An Algorithm for Tracking Mulltiple Targets.”, Dec. 6, 1979, IEEE Transactiosn on Automatic Control. |
Sayed et al. “Network-Based Wireless Location”, Jul. 2005, IEEE Signal Processing Magazine. |
Donald B, Reid: An Algorithm for Tracking Multiple Targets, IEEE Transactions on Automatic Control, vol. AC-24, No. 6, Dec. 1979, pp. 843-854. |
Number | Date | Country | |
---|---|---|---|
20090045971 A1 | Feb 2009 | US |