Disclosure of Invention
In order to solve the problems, the invention provides a wireless sensor network data collection system for building monitoring.
The purpose of the invention is realized by adopting the following technical scheme:
the wireless sensor network data collection system for building monitoring comprises an indoor environment monitoring module, a data aggregation module and a building monitoring center; the indoor environment monitoring module is used for acquiring indoor environment monitoring data, processing the indoor environment monitoring data and carrying out wireless communication with the data aggregation module in the network; the data aggregation module is used for receiving the indoor environment monitoring data from the indoor environment monitoring module and transmitting the indoor environment monitoring data to the building monitoring center; and the building monitoring center is used for receiving, storing and analyzing the indoor environment monitoring data.
Preferably, the building monitoring center comprises a communication unit, a data storage unit and a data analysis processing unit.
Preferably, the indoor environment monitoring data includes temperature, humidity and illuminance of a building room.
Preferably, the indoor environment monitoring module is a wireless sensor network and comprises building environment monitoring nodes and cluster head nodes; building environmental monitoring node be deployed in each room of building, the indoor environmental monitoring data that each building environmental monitoring node gathered in the cluster is collected to cluster head node to carry out unusual indoor environmental monitoring data to indoor environmental monitoring data and detect, reject unusual indoor environmental monitoring data after, fuse remaining indoor environmental monitoring data, every room has and only one cluster head node, building environmental monitoring node with cluster head node wireless communication, cluster head node is direct or with mode and data aggregation module wireless communication that jump more.
The invention has the beneficial effects that: the indoor environment monitoring data collection system has the advantages of low energy consumption, intelligent collection, good flexibility, higher extended function and good intelligent degree.
Detailed Description
The invention is further described in connection with the following examples.
Referring to fig. 1 and fig. 2, the wireless sensor network data collection system for building monitoring provided in this embodiment includes an indoor environment monitoring module 1, a data aggregation module 2, and a building monitoring center 3; the indoor environment monitoring module 1 is used for acquiring indoor environment monitoring data, processing the indoor environment monitoring data and carrying out wireless communication with the data aggregation module 2 in the network; the data aggregation module 2 is used for receiving the indoor environment monitoring data from the indoor environment monitoring module 1 and transmitting the indoor environment monitoring data to the building monitoring center 3; and the building monitoring center 3 is used for receiving, storing and analyzing the indoor environment monitoring data.
In one embodiment, the building monitoring center 3 comprises a communication unit 10, a data storage unit 20 and a data analysis processing unit 30.
In one embodiment, the indoor environment monitoring data includes temperature, humidity, and illuminance of a building room.
In one embodiment, the indoor environment monitoring module 1 comprises a building environment monitoring node and a cluster head node; building environmental monitoring node be deployed in each room of building, the indoor environmental monitoring data that each building environmental monitoring node gathered in the cluster is collected to cluster head node to carry out unusual indoor environmental monitoring data to indoor environmental monitoring data and detect, reject unusual indoor environmental monitoring data after, fuse remaining indoor environmental monitoring data, every room has and only one cluster head node, building environmental monitoring node with cluster head node wireless communication, cluster head node is direct or with mode and data aggregation module wireless communication that jump more.
The embodiment of the invention can acquire the indoor environment monitoring data in real time and analyze and process the indoor environment monitoring data, and has good flexibility, higher extended function and good intelligent degree.
In one embodiment, the cluster head node performs abnormal indoor environment monitoring data detection on the indoor environment monitoring data, and after the abnormal indoor environment monitoring data is eliminated, fuses the remaining indoor environment monitoring data, which specifically includes:
(1) The cluster head nodes collect indoor environment monitoring data from the building environment monitoring nodes in the cluster, the indoor environment monitoring data are sorted in an ascending order, and the sorted indoor environment monitoring data sequence is X = { X = 1 ,x 2 ,…,x n N is the number of the collected indoor environment monitoring data, the allowable difference threshold value of the two adjacent indoor environment monitoring data is calculated, and delta is set * Threshold value of allowable difference, delta, representing environmental monitoring data in two adjacent rooms * The calculation formula of (2) is as follows:
in the formula, x i Indicating the ith indoor environment monitoring data, x, in the indoor environment monitoring data sequence i+1 Representing the (i + 1) th indoor environment monitoring data in the indoor environment monitoring data sequence;
(2) If two adjacent indoor environment monitoring data x exist in the indoor environment monitoring data sequence j 、x j+1 Satisfy | x j+1 -x j |>Δ * Then the cluster head node sends the indoor environment monitoring data x j 、x j+1 Judging abnormal indoor environment monitoring data, and removing the abnormal indoor environment monitoring data;
(3) And the cluster head node performs fusion operation on the residual indoor environment monitoring data to obtain a fusion result.
According to the embodiment, the allowable difference threshold value of the two adjacent indoor environment monitoring data is calculated according to the collected indoor environment monitoring data, the difference value of the two adjacent indoor environment monitoring data is compared with the allowable difference threshold value, the corresponding indoor environment monitoring data with the difference value not meeting the condition is eliminated, the fusion operation is carried out on the remaining indoor environment monitoring data, the collection precision of the indoor environment monitoring data is improved, and the energy consumption of the cluster head node in the aspects of fusion processing and sending of the indoor environment monitoring data can be saved to a certain extent.
In one embodiment, the cluster head node carries out periodic detection on the building environment monitoring nodes in the cluster, calculates the abnormal degree of the building environment monitoring nodes in the current detection period, and sets S % (f) Representing the abnormal degree of the building environment monitoring node alpha in the current detection period f, S % (f) The calculation formula of (2) is as follows:
in the formula, S % (f-1) represents the abnormal degree of the building environment monitoring node alpha in the last detection period f-1, W is a set penalty factor, and the set value range of W is (1,e)],X % (h) Indoor environment monitoring data x representing h-th collection of building environment monitoring node alpha in current detection period θ (h) The result of fusion of the H-th collected indoor environment monitoring data of each building environment monitoring node by the cluster head node corresponding to the building environment monitoring node alpha is shown, H shows the number of times of collecting the indoor environment monitoring data by the building environment monitoring node in the current detection period, and delta * (h) Indicating permission obtained by calculating the indoor environment monitoring data acquired at the h-th time of each building environment monitoring node in the cluster by the cluster head node corresponding to the building environment monitoring node alphaDifference threshold, K % The number of indoor environment monitoring data acquired by the building environment monitoring node alpha in the current detection period is judged as abnormal indoor environment monitoring data;
if the times that the cluster head node detects that the abnormality degree of the building environment monitoring node is larger than the set abnormality degree threshold value are larger than three times, the cluster head node judges that the building environment monitoring node is an abnormal node and forces the abnormal node to enter the dormancy state.
In the embodiment, a building environment monitoring node anomaly detection mechanism is set, the cluster head node is used for recording the anomaly condition of indoor environment monitoring data acquired by the building environment monitoring node, and anomaly calculation is performed according to the recording result, so that the process is simple, the complexity is low, and the abnormal building environment monitoring node can be better identified; this embodiment makes unusual node get into dormancy, and the indoor environmental monitoring data that can avoid unusual node to gather on the one hand influences the precision that indoor environmental monitoring data was collected, and on the other hand can save the energy consumption that filters and fuse the processing to indoor environmental monitoring data.
In one embodiment, the building environment monitoring node periodically detects the fusion result of the cluster head node, if the fusion result meets the set abnormal detection condition, the fusion result is determined to be an abnormal fusion result, and if the abnormal fusion result exceeds the set abnormal detection condition, the fusion result is determined to be an abnormal fusion resultJudging that the fusion result of the cluster head nodes of the building environment monitoring nodes is an abnormal fusion result, and reselecting the cluster head nodes; the abnormality detection condition is set as:
in the formula, X β Represents indoor environment monitoring data collected by the building environment monitoring node beta,representing building environment monitoring node beta monitoringThe fusion result, Δ, sent to the cluster head node of the cluster in which it is located * ' represents an allowable difference threshold, N, of the environmental monitoring data in two adjacent rooms calculated by the cluster head node of the cluster where the building environmental monitoring node beta is located β The number of the building environment monitoring nodes which are not dormant and are contained in the cluster where the building environment monitoring node beta is located is shown.
This embodiment has further set up cluster head node anomaly detection mechanism, wherein, utilize the building environmental monitoring node in the cluster to carry out periodic anomaly detection to the result of fusing of cluster head node, when most building environmental monitoring nodes affirm this result of fusing to be unusual fusion result, elect cluster head node again, thereby the renewal when cluster head node is unusual has been realized, can defend effectively that cluster head node sends false indoor environment monitoring data to the basic station and fuse the result, be favorable to ensureing the reliability of indoor environment monitoring data, improve the monitoring precision towards building monitoring's wireless sensor network data collection system.
Finally, it should be noted that the above embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the protection scope of the present invention, although the present invention is described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that modifications or equivalent substitutions can be made on the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention.