CN110312225A - A wireless sensor hardware device - Google Patents
A wireless sensor hardware device Download PDFInfo
- Publication number
- CN110312225A CN110312225A CN201910697306.XA CN201910697306A CN110312225A CN 110312225 A CN110312225 A CN 110312225A CN 201910697306 A CN201910697306 A CN 201910697306A CN 110312225 A CN110312225 A CN 110312225A
- Authority
- CN
- China
- Prior art keywords
- data
- wireless sensor
- hardware device
- sensor hardware
- collected
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 230000005540 biological transmission Effects 0.000 claims abstract description 36
- 238000004891 communication Methods 0.000 claims description 22
- 230000003321 amplification Effects 0.000 claims description 5
- 238000013480 data collection Methods 0.000 claims description 5
- 238000003199 nucleic acid amplification method Methods 0.000 claims description 5
- 238000000034 method Methods 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 238000005286 illumination Methods 0.000 description 4
- 230000009286 beneficial effect Effects 0.000 description 3
- CURLTUGMZLYLDI-UHFFFAOYSA-N Carbon dioxide Chemical compound O=C=O CURLTUGMZLYLDI-UHFFFAOYSA-N 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 2
- 230000007613 environmental effect Effects 0.000 description 2
- 240000007594 Oryza sativa Species 0.000 description 1
- 235000007164 Oryza sativa Nutrition 0.000 description 1
- 229910002092 carbon dioxide Inorganic materials 0.000 description 1
- 239000001569 carbon dioxide Substances 0.000 description 1
- 238000004146 energy storage Methods 0.000 description 1
- 239000012535 impurity Substances 0.000 description 1
- 239000011159 matrix material Substances 0.000 description 1
- 235000009566 rice Nutrition 0.000 description 1
- 239000002689 soil Substances 0.000 description 1
- 238000004148 unit process Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01D—MEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
- G01D21/00—Measuring or testing not otherwise provided for
- G01D21/02—Measuring two or more variables by means not covered by a single other subclass
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/30—Services specially adapted for particular environments, situations or purposes
- H04W4/38—Services specially adapted for particular environments, situations or purposes for collecting sensor information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W84/00—Network topologies
- H04W84/18—Self-organising networks, e.g. ad-hoc networks or sensor networks
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Arrangements For Transmission Of Measured Signals (AREA)
Abstract
本发明公开了一种无线传感器硬件装置,通过数据传输单元接收相邻节点的无线传感器硬件装置所采集的数据,并根据各个相邻节点的无线传感器硬件装置的位置将各个相邻节点的无线传感器硬件装置所采集到的数据进行排列,得到当前节点的无线传感器硬件装置采集的数据的数据范围,并与当前节点的无线传感器硬件装置采集的数据做对比,若当前节点的无线传感器硬件装置采集的数据没有在该数据范围中,则取该数据范围的中间值作为当前节点的无线传感器硬件装置采集的数据,并通过数据传输单元将该数据传输到上位机。本发明通过与相邻节点的数据进行交互,并对该节点的数据进行分析,使得准确的判断该数据节点所采集数据的准确性,同时对数据进行矫正。
The invention discloses a wireless sensor hardware device, which receives data collected by wireless sensor hardware devices of adjacent nodes through a data transmission unit, and transfers the wireless sensor hardware devices of each adjacent node to Arrange the data collected by the hardware device to obtain the data range of the data collected by the wireless sensor hardware device of the current node, and compare it with the data collected by the wireless sensor hardware device of the current node. If the data collected by the wireless sensor hardware device of the current node If the data is not in the data range, take the middle value of the data range as the data collected by the wireless sensor hardware device of the current node, and transmit the data to the host computer through the data transmission unit. The present invention interacts with the data of adjacent nodes and analyzes the data of the node, so as to accurately judge the accuracy of the data collected by the data node and correct the data at the same time.
Description
技术领域technical field
本发明涉及传感器技术领域,特别涉及一种无线传感器硬件装置。The invention relates to the technical field of sensors, in particular to a wireless sensor hardware device.
背景技术Background technique
在数据采集的领域中,通常都会用到数据采集的节点,将各个范围内的数据进行采集,再将采集到的数据传输到上位机进行汇总,最终得到整个范围内的数据信息。但是在节点进行数据采集的过程中,难免会有一些数据在采集的时候与真实的数据差距较大,从而造成数据采集的不准确。In the field of data acquisition, data acquisition nodes are usually used to collect data in various ranges, and then transmit the collected data to the host computer for summary, and finally obtain data information in the entire range. However, in the process of data collection by nodes, it is inevitable that there will be a large gap between some data and the real data during collection, resulting in inaccurate data collection.
发明内容Contents of the invention
本发明的目的是克服上述现有技术中存在的问题,提供一种无线传感器硬件装置,通过与相邻节点的数据进行交互,并对该节点的数据进行分析,使得准确的判断该数据节点所采集数据的准确性,同时对数据进行矫正。The purpose of the present invention is to overcome the problems existing in the above-mentioned prior art, and provide a wireless sensor hardware device, which interacts with the data of adjacent nodes and analyzes the data of the node, so as to accurately judge the data of the data node. The accuracy of the collected data, while correcting the data.
为此,本发明提供一种无线传感器硬件装置,包括用于采集数据的数据采集单元、用于对数据进行处理的数据处理单元、用于传输数据的数据传输单元以及用于给数据采集单元、数据处理单元以及数据传输单元供电的电源装置。To this end, the present invention provides a wireless sensor hardware device, including a data acquisition unit for collecting data, a data processing unit for processing data, a data transmission unit for transmitting data, and a data acquisition unit, The data processing unit and the power supply device for powering the data transmission unit.
所述数据处理单元通过数据传输单元接收相邻节点的无线传感器硬件装置所采集的数据,并根据各个相邻节点的无线传感器硬件装置的位置将各个相邻节点的无线传感器硬件装置所采集到的数据进行排列,得到当前节点的无线传感器硬件装置采集的数据的数据范围,并与当前节点的无线传感器硬件装置采集的数据做对比,若当前节点的无线传感器硬件装置采集的数据在该数据范围中,则所述数据传输单元将采集到的数据传输到上位机各个相邻节点的无线传感器硬件装置,若当前节点的无线传感器硬件装置采集的数据没有在该数据范围中,则取该数据范围的中间值作为当前节点的无线传感器硬件装置采集的数据,并通过数据传输单元将该数据传输到上位机。The data processing unit receives the data collected by the wireless sensor hardware devices of adjacent nodes through the data transmission unit, and sends the data collected by the wireless sensor hardware devices of each adjacent node according to the positions of the wireless sensor hardware devices of each adjacent node Arrange the data to obtain the data range of the data collected by the wireless sensor hardware device of the current node, and compare it with the data collected by the wireless sensor hardware device of the current node. If the data collected by the wireless sensor hardware device of the current node is in the data range , then the data transmission unit transmits the collected data to the wireless sensor hardware device of each adjacent node of the upper computer, if the data collected by the wireless sensor hardware device of the current node is not in the data range, then take the data range The intermediate value is used as the data collected by the wireless sensor hardware device of the current node, and the data is transmitted to the host computer through the data transmission unit.
进一步,相邻节点的无线传感器硬件装置通过九宫格的形式分布在当前节点的无线传感器硬件装置的周围,当前节点的无线传感器硬件装置位于九宫格的中间格。Further, the wireless sensor hardware devices of adjacent nodes are distributed around the wireless sensor hardware device of the current node in the form of a nine-square grid, and the wireless sensor hardware device of the current node is located in the middle grid of the nine-square grid.
更进一步,以当前节点的无线传感器硬件装置中心对称的两个相邻节点的无线传感器硬件装置的数采集的数据构成一个数据范围,则九宫格的各个相邻节点的无线传感器硬件装置的数采集的数据构成四个数据范围,所述当前节点的无线传感器硬件装置采集的数据的数据范围为上述四个数据范围的交集。Furthermore, the data collected by the number of wireless sensor hardware devices of two adjacent nodes symmetrical to the center of the wireless sensor hardware device of the current node constitutes a data range, then the data collected by the number of wireless sensor hardware devices of each adjacent node in Jiugongge The data constitutes four data ranges, and the data range of the data collected by the wireless sensor hardware device of the current node is the intersection of the above four data ranges.
进一步,所述数据采集单元包括数据采集传感器、信号放大器、信号过滤器以及数模转换器,所述数据采集传感器包括风速传感器和光照传感器,数据采集传感器将采集的数据发送到信号放大器进行放大,再将放大的数据通过信号过滤器进行去噪处理,再将去噪处理后的数据通过数模转换器进行数模转换,最后将数模转换后的数据发送到数据处理单元。Further, the data acquisition unit includes a data acquisition sensor, a signal amplifier, a signal filter, and a digital-to-analog converter, the data acquisition sensor includes a wind speed sensor and an illumination sensor, and the data acquisition sensor sends the collected data to the signal amplifier for amplification, Then, the amplified data is denoised by a signal filter, and then the denoised data is converted by a digital-to-analog converter, and finally the data after the digital-to-analog conversion is sent to the data processing unit.
进一步,所述数据传输单元包括无线通信接收器和无线通信发射器,所述无线通信接收器用于接收相邻节点的无线传感器硬件装置所采集的数据并将相邻节点的无线传感器硬件装置所采集的数据发送到所述数据处理单元,所述无线通信发射器用于将数据采集单元发送的数据发送到相邻节点的无线传感器硬件装置,所述无线通信发射器还用于向上位机发送数据。Further, the data transmission unit includes a wireless communication receiver and a wireless communication transmitter, the wireless communication receiver is used to receive the data collected by the wireless sensor hardware device of the adjacent node and collect the data collected by the wireless sensor hardware device of the adjacent node The data is sent to the data processing unit, the wireless communication transmitter is used to send the data sent by the data acquisition unit to the wireless sensor hardware device of the adjacent node, and the wireless communication transmitter is also used to send data to the upper computer.
进一步,所述数据处理单元包括数据处理器。Further, the data processing unit includes a data processor.
进一步,所述电源装置采用UPS电源。Further, the power supply device adopts UPS power supply.
本发明提供的一种无线传感器硬件装置,具有如下有益效果:A wireless sensor hardware device provided by the present invention has the following beneficial effects:
1、通过与相邻节点的数据进行交互,并对该节点的数据进行分析,使得准确的判断该数据节点所采集数据的准确性,同时对数据进行矫正。1. By interacting with the data of adjacent nodes and analyzing the data of the node, the accuracy of the data collected by the data node can be accurately judged, and the data can be corrected at the same time.
附图说明Description of drawings
图1为本发明提供的一种无线传感器硬件装置的整体结构示意图;FIG. 1 is a schematic diagram of the overall structure of a wireless sensor hardware device provided by the present invention;
图2为本发明提供的一种无线传感器硬件装置的所在节点与相邻节点的连接示意图;Fig. 2 is a schematic diagram of connection between a node where a wireless sensor hardware device is located and an adjacent node provided by the present invention;
图3为本发明提供的一种无线传感器硬件装置的所在节点与相邻节点的风速值的模型示意图;Fig. 3 is a schematic diagram of a model of the wind speed value of a node where a wireless sensor hardware device is located and an adjacent node provided by the present invention;
图4为本发明提供的一种无线传感器硬件装置的所在节点与相邻节点的光照值的模型示意图。FIG. 4 is a schematic diagram of a model of illumination values of a node where a wireless sensor hardware device is located and adjacent nodes provided by the present invention.
具体实施方式Detailed ways
下面结合附图,对本发明的多个具体实施方式进行详细描述,但应当理解本发明的保护范围并不受具体实施方式的限制。A number of specific embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings, but it should be understood that the protection scope of the present invention is not limited by the specific embodiments.
在本申请文件中,未经明确的部件型号以及结构,均为本领域技术人员所公知的现有技术,本领域技术人员均可根据实际情况的需要进行设定,在本申请文件的实施例中不做具体的限定。In this application document, unspecified component models and structures are all prior art known to those skilled in the art, and those skilled in the art can set them according to the needs of the actual situation. In the embodiments of this application document No specific restrictions are made.
实施例1Example 1
本实施例提供了一种无线传感器硬件装置,通过基本的必要技术特征实现本发明的发明目的。This embodiment provides a wireless sensor hardware device, and achieves the object of the invention through the basic necessary technical features.
具体的,如图1所示,本发明实施例提供了一种无线传感器硬件装置,包括用于采集数据的数据采集单元、用于对数据进行处理的数据处理单元、用于传输数据的数据传输单元以及用于给数据采集单元、数据处理单元以及数据传输单元供电的电源装置。Specifically, as shown in Figure 1, an embodiment of the present invention provides a wireless sensor hardware device, including a data acquisition unit for collecting data, a data processing unit for processing data, and a data transmission unit for transmitting data unit and a power supply device for powering the data acquisition unit, data processing unit and data transmission unit.
在本实施例中,数据采集单元是用来采集环境中的数据的,具体的实现是通过各种类型的传感器,例如,空气温湿度传感器,土壤温湿度传感器,二氧化碳浓度传感器等多个用于采集环境参数的传感器。数据处理单元对数据采集单元所采集的数据进行处理,由于数据采集单元所采集的数据均为模拟信号,在后续的传输及判断中不能被机器所识别,因此,使用数据处理单元为数据采集单元的数据进行处理,得到环境中的参数的还原,对于数据处理单元,具体的实现是通过处理器进行实现。数据传输单元是用于进行数据的传输的模块,即通信单元,具体的实现通过无线通信的器件进行通信,对于数据传输单元的传输对象,可以是相邻的无线传感器硬件装置,也可以是无线传感器硬件装置的上位机。In this embodiment, the data acquisition unit is used to collect data in the environment, and the specific implementation is through various types of sensors, for example, air temperature and humidity sensors, soil temperature and humidity sensors, carbon dioxide concentration sensors, etc. Sensors that collect environmental parameters. The data processing unit processes the data collected by the data acquisition unit. Since the data collected by the data acquisition unit are all analog signals, they cannot be recognized by the machine in the subsequent transmission and judgment. Therefore, the data processing unit is used as the data acquisition unit The data is processed, and the parameters in the environment are restored. For the data processing unit, the specific implementation is realized by the processor. The data transmission unit is a module for data transmission, that is, the communication unit, which specifically implements communication through wireless communication devices. The transmission object of the data transmission unit can be an adjacent wireless sensor hardware device or a wireless sensor device. The upper computer of the sensor hardware device.
对上述的无线传感器硬件装置的工作原理做进一步的描述,所述数据处理单元通过数据传输单元接收相邻节点的无线传感器硬件装置所采集的数据,并根据各个相邻节点的无线传感器硬件装置的位置将各个相邻节点的无线传感器硬件装置所采集到的数据进行排列,如图2所示,得到当前节点的无线传感器硬件装置采集的数据的数据范围,并与当前节点的无线传感器硬件装置采集的数据做对比,若当前节点的无线传感器硬件装置采集的数据在该数据范围中,则所述数据传输单元将采集到的数据传输到上位机各个相邻节点的无线传感器硬件装置,若当前节点的无线传感器硬件装置采集的数据没有在该数据范围中,则取该数据范围的中间值作为当前节点的无线传感器硬件装置采集的数据,并通过数据传输单元将该数据传输到上位机。The working principle of the above wireless sensor hardware device is further described, the data processing unit receives the data collected by the wireless sensor hardware device of the adjacent node through the data transmission unit, and according to the wireless sensor hardware device of each adjacent node Arrange the data collected by the wireless sensor hardware devices of each adjacent node, as shown in Figure 2, to obtain the data range of the data collected by the wireless sensor hardware device of the current node, and compare it with the data collected by the wireless sensor hardware device of the current node If the data collected by the wireless sensor hardware device of the current node is in the data range, the data transmission unit will transmit the collected data to the wireless sensor hardware devices of each adjacent node of the upper computer, if the current node If the data collected by the wireless sensor hardware device of the current node is not in the data range, the intermediate value of the data range is taken as the data collected by the wireless sensor hardware device of the current node, and the data is transmitted to the host computer through the data transmission unit.
本实施例中,数据处理单元通过数据传输单元接收相邻节点的无线传感器硬件装置所采集的数据,如图2所示,相邻接点意为以当前节点为圆心,周围没有遮挡的节点,一般的,均匀的分布在当前节点的周围。在接收到数据都,以各个节点之间的位置关系,对各节点的数据进行排列,得到数据的排列,由于当前的节点是位于各个相邻节点之间,因此,相邻的节点的无线传感器硬件装置采集的数据应当位于各个相邻节点的无线传感器硬件装置采集的数据的中间值,这样得到当前节点的无线传感器硬件装置采集的数据,以图2所示的节点位置为例,与当前节点处于同一直线的相邻节点的无线传感器硬件装置采集的数据构成一个范围区间,当前节点的无线传感器硬件装置采集的数据应该是米字型的四个范围区间的交集形成的范围区间,该范围区间作为当前节点的无线传感器硬件装置采集的数据的数据范围。最后将当前节点的无线传感器硬件装置采集的数据与该数据范围进行比对,若当前节点的无线传感器硬件装置采集的数据在该数据范围中,则所述数据传输单元将采集到的数据传输到上位机各个相邻节点的无线传感器硬件装置,若当前节点的无线传感器硬件装置采集的数据没有在该数据范围中,则取该数据范围的中间值作为当前节点的无线传感器硬件装置采集的数据,并通过数据传输单元将该数据传输到上位机。In this embodiment, the data processing unit receives the data collected by the wireless sensor hardware device of the adjacent node through the data transmission unit. As shown in FIG. , evenly distributed around the current node. After receiving the data, the data of each node is arranged according to the positional relationship between each node, and the data arrangement is obtained. Since the current node is located between each adjacent node, the wireless sensor of the adjacent node The data collected by the hardware device should be located in the middle value of the data collected by the wireless sensor hardware device of each adjacent node, so that the data collected by the wireless sensor hardware device of the current node is obtained. Taking the node position shown in Figure 2 as an example, it is different from the current node The data collected by the wireless sensor hardware devices of adjacent nodes on the same straight line constitutes a range interval. The data collected by the wireless sensor hardware device of the current node should be the range interval formed by the intersection of four range intervals in the shape of a rice. The range interval The data range of the data collected by the wireless sensor hardware device of the current node. Finally, the data collected by the wireless sensor hardware device of the current node is compared with the data range, and if the data collected by the wireless sensor hardware device of the current node is in the data range, the data transmission unit transmits the collected data to For the wireless sensor hardware devices of each adjacent node of the upper computer, if the data collected by the wireless sensor hardware device of the current node is not in the data range, then take the intermediate value of the data range as the data collected by the wireless sensor hardware device of the current node, And transmit the data to the host computer through the data transmission unit.
这样所产生的有益效果是,可以对采集的数据进行判断,当采集到的数据准确的时候,直接传输该数据,当采集到的数据不准确的时候,则现将数据进行矫正,在传输该数据。从而保证上位机收到的数据的准确性高。The beneficial effect produced in this way is that the collected data can be judged. When the collected data is accurate, the data is directly transmitted. When the collected data is inaccurate, the data is now corrected. data. Thereby ensuring high accuracy of the data received by the host computer.
实施例2Example 2
本实施例是基于实施例1并对实施例1中的实施方案进行优化,使得本实施例在运行的过程中更加的稳定,性能更加的良好,但是并不仅限于本实施例所描述的一种实施方式。This example is based on Example 1 and optimizes the implementation in Example 1, so that this example is more stable and has better performance during operation, but it is not limited to the one described in this example implementation.
具体的,相邻节点的无线传感器硬件装置通过九宫格的形式分布在当前节点的无线传感器硬件装置的周围,当前节点的无线传感器硬件装置位于九宫格的中间格。Specifically, the wireless sensor hardware devices of adjacent nodes are distributed around the wireless sensor hardware device of the current node in the form of a nine-square grid, and the wireless sensor hardware device of the current node is located in the middle grid of the nine-square grid.
使用九宫格的方式对数据的采集清楚有效的进行,同时九宫格需要本领域技术人员在搭建的时候需要将各个节点的无线传感器硬件装置以矩阵的方式进行排列和分布的安装。这样每一个节点的无线传感器硬件装置收集一个区域的环境数据,九宫格也对区域的划分更加的明显。The method of Jiugongge is used to collect data clearly and effectively. At the same time, Jiugongge requires those skilled in the art to arrange and distribute the wireless sensor hardware devices of each node in a matrix. In this way, the wireless sensor hardware device of each node collects the environmental data of an area, and Jiugongge also divides the area more clearly.
同时,在上述的数据范围的确定中,与当前节点处于同一直线的相邻节点的无线传感器硬件装置采集在九宫格中非常的明显,这样在范围的确定中,只需要将位置成中心对称相对的两个无线传感器硬件装置所采集的数据构成一个区间范围即可。对本领域技术人员减少了算法上的难度。At the same time, in the determination of the above-mentioned data range, the collection of the wireless sensor hardware device of the adjacent node in the same straight line as the current node is very obvious in the nine-square grid, so in the determination of the range, only the position needs to be symmetrically relative to the center The data collected by the two wireless sensor hardware devices may form an interval range. Algorithmic difficulty is reduced for those skilled in the art.
更具体的,以当前节点的无线传感器硬件装置中心对称的两个相邻节点的无线传感器硬件装置的数采集的数据构成一个数据范围,则九宫格的各个相邻节点的无线传感器硬件装置的数采集的数据构成四个数据范围,所述当前节点的无线传感器硬件装置采集的数据的数据范围为上述四个数据范围的交集。More specifically, the data collected by the number of wireless sensor hardware devices of two adjacent nodes symmetrical to the center of the wireless sensor hardware device of the current node constitutes a data range, then the data collected by the number of wireless sensor hardware devices of each adjacent node in Jiugongge The data constitutes four data ranges, and the data range of the data collected by the wireless sensor hardware device of the current node is the intersection of the above four data ranges.
本实施例中,如图2所示为各个节点位置分部,在具体的工作中,与当前节点处于同一直线的相邻节点的无线传感器硬件装置采集的数据构成一个范围区间,当前节点的无线传感器硬件装置采集的数据应该是米字型的四个范围区间的交集形成的范围区间,该范围区间作为当前节点的无线传感器硬件装置采集的数据的数据范围。最后将当前节点的无线传感器硬件装置采集的数据与该数据范围进行比对,若当前节点的无线传感器硬件装置采集的数据在该数据范围中,则所述数据传输单元将采集到的数据传输到上位机各个相邻节点的无线传感器硬件装置,若当前节点的无线传感器硬件装置采集的数据没有在该数据范围中,则取该数据范围的中间值作为当前节点的无线传感器硬件装置采集的数据,并通过数据传输单元将该数据传输到上位机。In this embodiment, as shown in Fig. 2, each node location division is shown. In specific work, the data collected by the wireless sensor hardware device of the adjacent node on the same line as the current node constitutes a range interval, and the wireless sensor hardware device of the current node The data collected by the sensor hardware device should be a range interval formed by the intersection of the four range intervals in the shape of a meter, and this range interval is used as the data range of the data collected by the wireless sensor hardware device of the current node. Finally, the data collected by the wireless sensor hardware device of the current node is compared with the data range, and if the data collected by the wireless sensor hardware device of the current node is in the data range, the data transmission unit transmits the collected data to For the wireless sensor hardware devices of each adjacent node of the upper computer, if the data collected by the wireless sensor hardware device of the current node is not in the data range, then take the intermediate value of the data range as the data collected by the wireless sensor hardware device of the current node, And transmit the data to the host computer through the data transmission unit.
实施例3Example 3
本实施例是基于实施例1并对实施例1中的实施方案进行优化,使得本实施例在运行的过程中更加的稳定,性能更加的良好,但是并不仅限于本实施例所描述的一种实施方式。This example is based on Example 1 and optimizes the implementation in Example 1, so that this example is more stable and has better performance during operation, but it is not limited to the one described in this example implementation.
具体的,所述数据采集单元包括数据采集传感器、信号放大器、信号过滤器以及数模转换器,所述数据采集传感器包括风速传感器和光照传感器,数据采集传感器将采集的数据发送到信号放大器进行放大,再将放大的数据通过信号过滤器进行去噪处理,再将去噪处理后的数据通过数模转换器进行数模转换,最后将数模转换后的数据发送到数据处理单元。Specifically, the data acquisition unit includes a data acquisition sensor, a signal amplifier, a signal filter, and a digital-to-analog converter. The data acquisition sensor includes a wind speed sensor and an illumination sensor, and the data acquisition sensor sends the collected data to the signal amplifier for amplification. , and then denoise the amplified data through a signal filter, then perform digital-to-analog conversion on the denoised data through a digital-to-analog converter, and finally send the digital-to-analog converted data to the data processing unit.
在本实施例中,将传感器所采集的数据进行处理和过滤,将一些数据信号中的杂质处理掉,同时进行信号的放大,使得信号更加的稳定。在本实施例中,数据采集传感器为各个传感器的总称,可以包括多个传感器,包括但不限于本申请文件中所说明的各个传感器。数据采集传感器是用于环境中各个数据的采集,数据采集传感器将采集的数据发送到信号放大器进行放大,在放大之后,本来较小的信号噪声会适应性增大,可能会影响接收的结果,因此,使用过滤器将放大的数据通过信号进行去噪处理,将信号变得更加的圆润,最后在使用数模转化器将采集的模拟信号转换为数据处理单元可以接收的数字信号在发送到数据处理单元。In this embodiment, the data collected by the sensor is processed and filtered to remove impurities in some data signals, and at the same time, the signals are amplified to make the signals more stable. In this embodiment, the data acquisition sensor is a general term for various sensors, and may include multiple sensors, including but not limited to the various sensors described in this application document. The data acquisition sensor is used to collect various data in the environment. The data acquisition sensor sends the collected data to the signal amplifier for amplification. After the amplification, the originally small signal noise will increase in adaptability, which may affect the receiving result. Therefore, use a filter to denoise the amplified data through the signal to make the signal more rounded, and finally use a digital-to-analog converter to convert the collected analog signal into a digital signal that can be received by the data processing unit before sending it to the data processing unit.
本实施例中,以风速传感器和光照传感器为例,使用九宫格的方法确定当前节点的无线传感器硬件装置的数据采集单元所采集的数据是否正确。In this embodiment, taking the wind speed sensor and the illumination sensor as examples, the Jiugongge method is used to determine whether the data collected by the data collection unit of the wireless sensor hardware device of the current node is correct.
风速传感器,如图3所示,当前的节点位于九宫格的中央,由于风速传感器包括风向,因此,要将风向的因素考虑在其中,在图3中,风速的方向是朝向又下方的,因此,对于左下角的节点和右上角的节点所形成的风速值的区间范围不计数为当前节点做交集的区间范围。根据图3中的各个节点所得到的风速的数据,得到的三个区间范围依次是,左上角和右下角的区间范围为(10,3),正左侧和正右侧的区间范围为(9,7),正上侧和正下侧的区间范围为(7,4),此时,得到的交集为(7,7),因此,当前节点的数据范围应当为(7,7),但是实测的数据为8,虽然不属于数据范围(7,7)之内,但是在实际中会允许误差的存在,即认定,实测的数据8是准确的数据。The wind speed sensor, as shown in Figure 3, the current node is located in the center of the Jiugong grid. Since the wind speed sensor includes the wind direction, the factor of the wind direction should be taken into account. In Figure 3, the direction of the wind speed is towards and downwards. Therefore, The interval range of the wind speed value formed by the node in the lower left corner and the node in the upper right corner is not counted as the interval range of the intersection of the current node. According to the wind speed data obtained by each node in Fig. 3, the obtained three interval ranges are in turn, the interval range of the upper left corner and the lower right corner is (10, 3), and the interval range of the left and right sides is (9 , 7), the range of the upper side and the lower side is (7, 4), at this time, the obtained intersection is (7, 7), therefore, the data range of the current node should be (7, 7), but the measured The data of is 8. Although it does not belong to the data range (7,7), errors are allowed in practice, that is, it is determined that the measured data 8 is accurate data.
光照传感器,如图4所示,当前的节点位于九宫格的中央,方法同上,此时我们得到米字型个定点的节点实测数据的区间范围,即右上角和左下角的区间范围为(6,7),左上角和右下角的区间范围为(6,4),正左侧和正右侧的区间范围为(6,6),正上侧和正下侧的区间范围为(7,6),此时,得到的交集为(6,6),因此,当前节点的数据范围应当为(6,6),同时实测的数据为6,则说明,实测的数据6是准确的数据。The light sensor, as shown in Figure 4, the current node is located in the center of the Jiugongge, the method is the same as above, at this time we get the interval range of the measured data of the node at the fixed point in the shape of a meter, that is, the interval range of the upper right corner and the lower left corner is (6, 7), the interval range of the upper left corner and the lower right corner is (6, 4), the interval range of the right side and the right side is (6, 6), and the interval range of the upper side and the lower side is (7, 6), At this time, the obtained intersection is (6,6), therefore, the data range of the current node should be (6,6), and the measured data is 6, which means that the measured data 6 is accurate data.
具体的,所述数据传输单元包括无线通信接收器和无线通信发射器,所述无线通信接收器用于接收相邻节点的无线传感器硬件装置所采集的数据并将相邻节点的无线传感器硬件装置所采集的数据发送到所述数据处理单元,所述无线通信发射器用于将数据采集单元发送的数据发送到相邻节点的无线传感器硬件装置,所述无线通信发射器还用于向上位机发送数据。Specifically, the data transmission unit includes a wireless communication receiver and a wireless communication transmitter, and the wireless communication receiver is used to receive the data collected by the wireless sensor hardware device of the adjacent node and transmit the data collected by the wireless sensor hardware device of the adjacent node. The collected data is sent to the data processing unit, the wireless communication transmitter is used to send the data sent by the data collection unit to the wireless sensor hardware device of the adjacent node, and the wireless communication transmitter is also used to send data to the upper computer .
在本实施例中,通过设置无线通信接收器和无线通信发射器分别完成数据的接收和发送,这样产生的有益效果是,无线通信接收器或者无线通信发射器一个发生故障的时候,不影响另一个的正常工作。In this embodiment, by setting the wireless communication receiver and the wireless communication transmitter to complete the receiving and sending of data respectively, the beneficial effect produced in this way is that when one of the wireless communication receiver or the wireless communication transmitter fails, it will not affect the other. One works fine.
具体的,所述数据处理单元包括数据处理器。数据处理器使用的是微处理器,本领域技术人员在进行实施的时候,可以参考型号STM32F107VCT6的微处理器。Specifically, the data processing unit includes a data processor. The data processor uses a microprocessor, and those skilled in the art may refer to the microprocessor of the model STM32F107VCT6 when performing implementation.
具体的,所述电源装置采用UPS电源。UPS电源,即不间断电源,是一种含有储能装置,以逆变器为主要组成部分的恒压恒频的不间断电源。主要用于给单台计算机、计算机网络系统或其它电力电子设备提供不间断的电力供应。在本实施例中,使用UPS电源可以使得在断电的时候,节点的无线传感器硬件装置进行正常的工作。Specifically, the power supply device adopts UPS power supply. UPS power supply, that is, uninterruptible power supply, is a constant voltage and constant frequency uninterruptible power supply containing an energy storage device and an inverter as the main component. It is mainly used to provide uninterrupted power supply to a single computer, computer network system or other power electronic equipment. In this embodiment, using the UPS power supply can make the wireless sensor hardware device of the node work normally when the power is cut off.
综上所述,本发明公开了一种无线传感器硬件装置,包括用于采集数据的数据采集单元、用于对数据进行处理的数据处理单元、用于传输数据的数据传输单元以及用于给数据采集单元、数据处理单元以及数据传输单元供电的电源装置;所述数据处理单元通过数据传输单元接收相邻节点的无线传感器硬件装置所采集的数据,并根据各个相邻节点的无线传感器硬件装置的位置将各个相邻节点的无线传感器硬件装置所采集到的数据进行排列,得到当前节点的无线传感器硬件装置采集的数据的数据范围,并与当前节点的无线传感器硬件装置采集的数据做对比,若当前节点的无线传感器硬件装置采集的数据在该数据范围中,则所述数据传输单元将采集到的数据传输到上位机各个相邻节点的无线传感器硬件装置,若当前节点的无线传感器硬件装置采集的数据没有在该数据范围中,则取该数据范围的中间值作为当前节点的无线传感器硬件装置采集的数据,并通过数据传输单元将该数据传输到上位机。本发明通过与相邻节点的数据进行交互,并对该节点的数据进行分析,使得准确的判断该数据节点所采集数据的准确性,同时对数据进行矫正。In summary, the present invention discloses a wireless sensor hardware device, including a data acquisition unit for collecting data, a data processing unit for processing data, a data transmission unit for transmitting data, and a data transmission unit for sending data A power supply device powered by the acquisition unit, the data processing unit, and the data transmission unit; the data processing unit receives the data collected by the wireless sensor hardware device of the adjacent node through the data transmission unit, and according to the wireless sensor hardware device of each adjacent node Arrange the data collected by the wireless sensor hardware devices of each adjacent node to obtain the data range of the data collected by the wireless sensor hardware device of the current node, and compare it with the data collected by the wireless sensor hardware device of the current node. The data collected by the wireless sensor hardware device of the current node is in the data range, then the data transmission unit transmits the collected data to the wireless sensor hardware devices of each adjacent node of the upper computer, if the wireless sensor hardware device of the current node collects If the data is not in the data range, take the middle value of the data range as the data collected by the wireless sensor hardware device of the current node, and transmit the data to the host computer through the data transmission unit. The present invention interacts with the data of adjacent nodes and analyzes the data of the node, so as to accurately judge the accuracy of the data collected by the data node and correct the data at the same time.
以上公开的仅为本发明的几个具体实施例,但是,本发明实施例并非局限于此,任何本领域的技术人员能思之的变化都应落入本发明的保护范围。The above disclosures are only a few specific embodiments of the present invention, however, the embodiments of the present invention are not limited thereto, and any changes conceivable by those skilled in the art shall fall within the protection scope of the present invention.
Claims (5)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910697306.XA CN110312225B (en) | 2019-07-30 | 2019-07-30 | Wireless sensor hardware device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910697306.XA CN110312225B (en) | 2019-07-30 | 2019-07-30 | Wireless sensor hardware device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110312225A true CN110312225A (en) | 2019-10-08 |
CN110312225B CN110312225B (en) | 2022-06-03 |
Family
ID=68082664
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910697306.XA Active CN110312225B (en) | 2019-07-30 | 2019-07-30 | Wireless sensor hardware device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110312225B (en) |
Citations (19)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100063636A1 (en) * | 2008-09-10 | 2010-03-11 | Mitsubishi Electric Corporation | Air conditioner |
US20120036198A1 (en) * | 2010-08-06 | 2012-02-09 | Marzencki Marcin | System and method for self-calibrating, self-organizing and localizing sensors in wireless sensor networks |
CN202634704U (en) * | 2012-06-01 | 2012-12-26 | 河南天擎机电技术有限公司 | Sensor in-situ on-line calibration system based on wireless network quantity transmission |
CN102945320A (en) * | 2012-10-29 | 2013-02-27 | 河海大学 | Time series data abnormity detection method and device |
EP2602752A1 (en) * | 2011-12-09 | 2013-06-12 | ATS Group (IP Holdings) Limited | Method and system for sensor calibration support |
CN103561419A (en) * | 2013-11-07 | 2014-02-05 | 东南大学 | Distributed event detection method based on correlation |
CN103619062A (en) * | 2013-11-29 | 2014-03-05 | 清华大学 | Method for positioning unknown nodes in field environment wireless sensor network |
CN103916860A (en) * | 2014-04-16 | 2014-07-09 | 东南大学 | Outlier data detection method based on space-time correlation in wireless sensor cluster network |
CN105528130A (en) * | 2014-10-24 | 2016-04-27 | 联想(北京)有限公司 | A control method and device and an electronic apparatus |
CN105554837A (en) * | 2016-01-08 | 2016-05-04 | 中国矿业大学 | Intelligent sensing node and sending method for underground working face wireless sensor network |
CN106840247A (en) * | 2017-04-13 | 2017-06-13 | 深圳怡化电脑股份有限公司 | A kind of linear sensor bearing calibration and device |
CN106878375A (en) * | 2016-12-22 | 2017-06-20 | 中国民航大学 | A Cockpit Pollutant Monitoring Method Based on Distributed Combined Sensor Network |
CN107621279A (en) * | 2017-09-12 | 2018-01-23 | 歌尔股份有限公司 | Data processing method, sensing data calibration method and device |
US20180136180A1 (en) * | 2016-11-16 | 2018-05-17 | TricornTech Taiwan | Smart sensing network |
CN208077390U (en) * | 2018-04-20 | 2018-11-09 | 湖北理工学院 | A kind of wireless sensor hardware system |
CN108828150A (en) * | 2018-06-20 | 2018-11-16 | 深圳市环思科技有限公司 | Sensing data on-line calibration method and device based on time-domain filtering |
CN109540300A (en) * | 2018-12-21 | 2019-03-29 | 青岛汇安谷科技发展有限公司 | The online Subarea calibration method and device of DTS based on wireless temperature acquisition unit |
CN109976535A (en) * | 2019-05-05 | 2019-07-05 | 北京七鑫易维信息技术有限公司 | A kind of calibration method, device, equipment and storage medium |
CN109993088A (en) * | 2019-03-22 | 2019-07-09 | 江南大学 | A Blind Calibration Method for Data Drift in Wireless Sensor Networks |
-
2019
- 2019-07-30 CN CN201910697306.XA patent/CN110312225B/en active Active
Patent Citations (19)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100063636A1 (en) * | 2008-09-10 | 2010-03-11 | Mitsubishi Electric Corporation | Air conditioner |
US20120036198A1 (en) * | 2010-08-06 | 2012-02-09 | Marzencki Marcin | System and method for self-calibrating, self-organizing and localizing sensors in wireless sensor networks |
EP2602752A1 (en) * | 2011-12-09 | 2013-06-12 | ATS Group (IP Holdings) Limited | Method and system for sensor calibration support |
CN202634704U (en) * | 2012-06-01 | 2012-12-26 | 河南天擎机电技术有限公司 | Sensor in-situ on-line calibration system based on wireless network quantity transmission |
CN102945320A (en) * | 2012-10-29 | 2013-02-27 | 河海大学 | Time series data abnormity detection method and device |
CN103561419A (en) * | 2013-11-07 | 2014-02-05 | 东南大学 | Distributed event detection method based on correlation |
CN103619062A (en) * | 2013-11-29 | 2014-03-05 | 清华大学 | Method for positioning unknown nodes in field environment wireless sensor network |
CN103916860A (en) * | 2014-04-16 | 2014-07-09 | 东南大学 | Outlier data detection method based on space-time correlation in wireless sensor cluster network |
CN105528130A (en) * | 2014-10-24 | 2016-04-27 | 联想(北京)有限公司 | A control method and device and an electronic apparatus |
CN105554837A (en) * | 2016-01-08 | 2016-05-04 | 中国矿业大学 | Intelligent sensing node and sending method for underground working face wireless sensor network |
US20180136180A1 (en) * | 2016-11-16 | 2018-05-17 | TricornTech Taiwan | Smart sensing network |
CN106878375A (en) * | 2016-12-22 | 2017-06-20 | 中国民航大学 | A Cockpit Pollutant Monitoring Method Based on Distributed Combined Sensor Network |
CN106840247A (en) * | 2017-04-13 | 2017-06-13 | 深圳怡化电脑股份有限公司 | A kind of linear sensor bearing calibration and device |
CN107621279A (en) * | 2017-09-12 | 2018-01-23 | 歌尔股份有限公司 | Data processing method, sensing data calibration method and device |
CN208077390U (en) * | 2018-04-20 | 2018-11-09 | 湖北理工学院 | A kind of wireless sensor hardware system |
CN108828150A (en) * | 2018-06-20 | 2018-11-16 | 深圳市环思科技有限公司 | Sensing data on-line calibration method and device based on time-domain filtering |
CN109540300A (en) * | 2018-12-21 | 2019-03-29 | 青岛汇安谷科技发展有限公司 | The online Subarea calibration method and device of DTS based on wireless temperature acquisition unit |
CN109993088A (en) * | 2019-03-22 | 2019-07-09 | 江南大学 | A Blind Calibration Method for Data Drift in Wireless Sensor Networks |
CN109976535A (en) * | 2019-05-05 | 2019-07-05 | 北京七鑫易维信息技术有限公司 | A kind of calibration method, device, equipment and storage medium |
Non-Patent Citations (10)
Title |
---|
ALFONSO FARRUGGIA: "A Novel Approach for Faulty Sensor Detection and Data Correction in Wireless Sensor Network", 《IEEE》 * |
ALFONSO FARRUGGIA: "A Novel Approach for Faulty Sensor Detection and Data Correction in Wireless Sensor Network", 《IEEE》, 30 October 2013 (2013-10-30) * |
TENG XU: "Detection of Water Leakage in Underground Tunnels Using Corrected Intensity Data and 3D Point Cloud of Terrestrial Laser Scanning", 《IEEE》 * |
TENG XU: "Detection of Water Leakage in Underground Tunnels Using Corrected Intensity Data and 3D Point Cloud of Terrestrial Laser Scanning", 《IEEE》, 1 June 2018 (2018-06-01) * |
吴贤权等: "多目视觉定向天线位姿测量", 《自动化与仪器仪表》 * |
吴贤权等: "多目视觉定向天线位姿测量", 《自动化与仪器仪表》, no. 05, 25 May 2019 (2019-05-25) * |
盛林: "无线传感网络的室内定位系统设计", 《中国硕士论文全文数据库》 * |
盛林: "无线传感网络的室内定位系统设计", 《中国硕士论文全文数据库》, 15 February 2018 (2018-02-15) * |
赵换丽: "光纤传感信号的增益均衡处理", 《激光杂志》 * |
赵换丽: "光纤传感信号的增益均衡处理", 《激光杂志》, 25 June 2017 (2017-06-25) * |
Also Published As
Publication number | Publication date |
---|---|
CN110312225B (en) | 2022-06-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN212115678U (en) | Microphone test board and microphone test system | |
CN207833292U (en) | A kind of wisdom cattle-breeding system based on LORA | |
CN110285853A (en) | A LoRaWAN-based transmission line monitoring device and system | |
CN103513095B (en) | A kind of distribution line failure pointer detection data collector | |
CN104597352A (en) | Power quality monitoring system | |
CN201429484Y (en) | A wireless measuring device for cable force of a cable-stayed bridge | |
CN204314436U (en) | A kind of wireless type multi-section series lithium ionic battery tension real-time detecting system | |
CN202793626U (en) | Wireless temperature and humidity measuring system | |
CN101799464B (en) | Device and method for detecting air density | |
CN201765687U (en) | ZigBee Farmland Wireless Sensor Node System | |
CN204155435U (en) | A kind of wireless temperature acquisition system | |
CN104267634A (en) | Wireless synchronous collecting system | |
CN114856938A (en) | A fan movement detection system and method based on RTK-Beidou/GPS positioning | |
CN110312225A (en) | A wireless sensor hardware device | |
CN106643871B (en) | A trap leak detection module | |
CN206281899U (en) | A kind of generating data acquisition Internet of Things uploads circuit and system | |
CN205769332U (en) | A kind of axle temp of passenger train detection device | |
CN103759807A (en) | Airport aircraft noise monitoring device based on Internet-of-Things framework | |
CN203951437U (en) | Photovoltaic plant wind resistance checkout gear | |
CN103235203B (en) | Acquisition method of multi-channel analog signal acquisition system with automatic compensation function | |
CN205426948U (en) | Ultrasonic wave wind meter based on zigbee wireless network | |
CN107085934B (en) | Performance detection method and system for electricity consumption information acquisition equipment | |
CN115865174A (en) | A method, device and equipment for Beidou short message communication to transmit weather station data | |
CN202003497U (en) | Production risk factor data acquisition equipment for agricultural products | |
CN205192524U (en) | Rail temperature monitoring devices |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |