A method to solve abnormal triggering of distributed sensor nodes
By calculating the spatial correlation between sensors and establishing a mathematical model, false triggering and normal triggering are distinguished, the problem of false triggering and non-triggering in distributed wireless sensor networks is solved, and detection reliability and data accuracy are improved.
Patent Information
- Application Number
- CN201911171455.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-11-21
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2039-11-21
AI Technical Summary
Multi-sensor triggering in existing distributed wireless sensor networks is prone to false triggering and non-triggering problems, leading to false triggering of the system and affecting detection reliability.
By calculating spatial correlation between wireless sensor network nodes, a mathematical model is established to determine the triggering status of the sensor, distinguish false triggering from normal triggering, use preset values and minimum error thresholds to determine the scope of influence, and realize joint triggering and initialization of sensors. , to avoid false triggering and missed triggering.
It improves the detection reliability of the wireless sensor network, avoids false triggering and non-triggering, and ensures effective coverage and data accuracy of the entire test field.
Smart Images

Figure CN111031554B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of electrical signal processing, and in particular to a method for solving abnormal triggering of distributed sensor nodes. Background Art
[0002] In recent years, with the continuous progress of microelectronics technology, Internet of Things technology, sensor technology, wireless communication technology and battery technology, people have been able to mass-produce low-cost, low-power micro wireless sensor nodes, which have the functions of collecting data, wireless communication, storing small amounts of data and processing information. A wireless sensor network is a wireless network formed by arranging hundreds or thousands of sensor nodes with the above functions within a specific area. All nodes in a WSN self-organize stably, efficiently and correctly through a specific protocol, and cooperate with each other to complete a specific application task. By using WSN, people can monitor changes in the external environment in real time and realize automated, large-scale information collection tasks.
[0003] In the prior art, sensor triggers are mostly software triggers, hardware triggers, and channel triggers. Software triggers are trigger modes set by the host computer or the human-computer interaction system inside the hardware, and are mostly event trigger mechanisms on the interactive interface, such as touch triggers, click triggers, etc. Hardware triggers are mostly external signal triggers, and commonly used trigger signals such as TTL level triggers, where external input signals cause the hardware circuit to trigger external input events; channel triggers mostly refer to input triggers of external analog signals, where a threshold level is set and the input signal of the channel determines when to trigger, and are typically used for feature signal capture.
[0004] Existing technologies mostly use a single sensor to set an empirical value trigger condition based on experimental experience. Since the sensors are triggered in a certain order due to different spatial positions when performing distributed measurements in the test field. A single channel trigger cannot balance an effective threshold to cover the entire test field, which will cause sensors far from the source to fail to be triggered. A single hardware trigger leads out the trigger lines of all test nodes, manually triggers or connects all trigger lines to form a logic OR gate. At this time, after the front sensor is triggered, all sensors in the network are triggered and measured regardless of whether subsequent sensors are triggered. This method improves the trigger success rate, but is susceptible to false triggering. When a single fault occurs in all test nodes or a single sensor is falsely triggered due to the environment, it will cause false triggering of the entire system.
[0005] The present application provides a method for solving abnormal triggering of distributed sensor nodes, aiming at solving the problems of false triggering and non-triggering in multi-sensor triggering in existing distributed wireless sensor networks. Summary of the invention
[0006] The purpose of the present invention is to provide a method for solving abnormal triggering of distributed sensor nodes, aiming at solving the problems of false triggering and non-triggering in multi-sensor triggering in existing distributed wireless sensor networks.
[0007] The present invention provides a method for solving abnormal triggering of distributed sensor nodes, the method comprising:
[0008] Step 1: Initialize the sensor in each node of the wireless sensor network to a triggering state, and set a collection condition based on the empirical value;
[0009] Step 2: When an event or interference occurs, the affected sensor responds and enters the pre-trigger state, at which point it begins to communicate and exchange data with surrounding sensors from near to far.
[0010] Step 3: The central initiating node determines the spatial correlation between each node, selects several data collection cycles as pre-trigger judgment cycles according to the actual test signal, continuously indexes sensors farther away, and calculates the influence range EA that meets the minimum error threshold;
[0011] Step 4: Compare the final calculated EA with the range of preset values obtained by empirical value modeling. If it is less than the preset value, it is predicted as a false trigger, and the result is reported and recorded for further feature comparison to prevent missed triggers caused by special circumstances; if it is greater than the preset value, it is judged as a normal trigger;
[0012] Step 5: If the predicted false trigger is further compared and determined to be a false trigger, the sensor of the node is reinitialized, re-enters the waiting trigger state, and returns to step 2; if it is determined to be a normal trigger, a trigger instruction is sent to all sensors within the EA range to perform a joint trigger within the regional EA;
[0013] Step 6: This completes a trigger acquisition, stores or uploads data, and waits for the next instruction cycle.
[0014] Furthermore, the position of the central initiating node is defined as point O, and the coordinate position is (0, 0). The information data of the virtual node S (0, 0) can be calculated by using coordinate transformation and statistical characteristics. The data generated by the sensors distributed in the event area are defined as S1, S2, S3...Sn, and they are randomly paired in pairs to establish a mathematical model of spatial correlation.
[0015] Furthermore, the function formula of the mathematical model is:
[0016]
[0017] Wherein, S(x, y) represents the data information between nodes at different positions (x, y); is the impact range area; S(x t ,y t ) represents the data information of the sensor where the coordinates of the trigger source t are located at any point within the defined range; and E is the mathematical expectation of the information difference.
[0018] Furthermore, a trigger system for solving the abnormal triggering method of distributed sensor nodes is applied, the system includes: a plurality of sensors and a trigger control device, the plurality of sensors are connected to the sensor interface on the surface of the trigger control device through lines, the trigger control device is internally provided with a communication circuit, a control circuit, a controller, a memory and a power supply, the power supply is electrically connected to the controller, the power supply module supplies power to the trigger control device, the communication circuit is connected between the controller and the communication signal interface on the surface of the trigger control device, the communication signal interface is used to exchange information with an external device, the controller is connected to the sensor interface, the communication signal interface and the interface of the memory through the control circuit, and sends the signal detected by the sensor to the controller for processing, the communication signal interface is connected to the memory, and is used to export the data stored in the memory and the signal information transmitted by the sensor stored in the memory.
[0019] Compared with the prior art, the present invention has the following significant advantages:
[0020] (1) The present invention provides a method for solving the abnormal triggering of distributed sensor nodes, which integrates the external triggering method and the channel triggering method in the hardware triggering method, and on this basis adds a multi-node joint false triggering detection mechanism based on the spatial correlation between the nodes deployed in the wireless sensor network.
[0021] (2) The present invention provides a method for solving abnormal triggering of distributed sensor nodes, and introduces a false trigger detection mechanism based on the spatial correlation of the deployed nodes. It no longer uses the traditional triggering method of setting a threshold to first trigger a single sensor and then trigger the subsequent sensors simultaneously. The calculation of spatial correlation can effectively distinguish false triggers. When it is judged as not a false trigger based on the spatial correlation of the deployed nodes, other sensor nodes within the trigger range are combined to effectively avoid non-triggers. Therefore, compared with the existing technology, the detection reliability of the wireless sensor network can be greatly improved.
[0022] (3) The present invention provides a method for solving abnormal triggering of distributed sensor nodes, which can be used in all wireless sensor network test nodes with a small amount of data storage capacity, wireless transmission capacity, and certain data processing capacity. It adopts embedded development technology, can be embedded in the system to be developed, and can also be mounted in the existing sensor node after setting the communication protocol, and has a wide range of applications. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] Figure 1 A schematic diagram of the principle of a method for solving abnormal triggering of distributed sensor nodes provided by an embodiment of the present invention;
[0024] Figure 2 A node system device structure diagram of a method for solving abnormal triggering of distributed sensor nodes provided by an embodiment of the present invention;
[0025] Figure 3 A system flow chart of a method for solving abnormal triggering of distributed sensor nodes provided by an embodiment of the present invention;
[0026] Figure 4 A schematic diagram of a large-scale distributed deployment of a method for solving abnormal triggering of distributed sensor nodes provided by an embodiment of the present invention;
[0027] Figure 5 A schematic diagram of a small-scale centralized deployment of a method for solving abnormal triggering of distributed sensor nodes provided by an embodiment of the present invention;
[0028] Figure 6 An equivalent circuit diagram of a full-bridge sensor of a trigger system for solving abnormal triggering of distributed sensor nodes provided by an embodiment of the present invention;
[0029] Figure 7 A schematic diagram of a communication signal interface of a trigger system for solving abnormal triggering of distributed sensor nodes provided by an embodiment of the present invention;
[0030] Figure 8 The overall structural block diagram of the core control module of a trigger system for solving abnormal triggering of distributed sensor nodes provided by an embodiment of the present invention;
[0031] Fig. 9 A peripheral circuit diagram of an FPGA core controller of a trigger system for solving abnormal triggering of distributed sensor nodes provided by an embodiment of the present invention;
[0032] Fig.10 A wireless communication module peripheral circuit diagram of a trigger system for solving abnormal triggering of distributed sensor nodes provided by an embodiment of the present invention;
[0033] Fig.11 A schematic diagram of multi-node communication of a triggering system for solving abnormal triggering of distributed sensor nodes provided by an embodiment of the present invention;
[0034] Fig.12 A basic circuit diagram of a data storage module of a trigger system for solving abnormal triggering of distributed sensor nodes provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0035] The following is a clear and complete description of the technical solutions of the embodiments of the present invention in conjunction with the drawings in the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0036] For ease of understanding and explanation, in the prior art, the deployment of wireless sensor networks is mainly divided into the following two types:
[0037] 1. Large-scale distributed testing of unpredictable sources:
[0038] Reference Figure 4 Large-scale testing refers to measuring specific indicators in a large test scenario, such as forests, farmlands, etc. A typical example is the detection of forest fires. When a fire occurs within a certain range, the sensors responsible for monitoring the area are triggered, so that data is transmitted between sensors and the fire is transmitted to the central processor for timely response. The characteristics of this testing method are that the sensor spacing is relatively large and the testing range is wide. A single sensor has data collection, small amount of data storage and wireless transmission functions. The trigger sources in this testing scenario are mostly randomly generated. In this example, the location of the fire point is randomly generated. Therefore, the effective triggering of the sensor directly affects the speed at which the outside world obtains information. This speed often determines the loss of life and property safety of people. Its importance is self-evident.
[0039] 2. Centralized testing of small-scale predictable sources:
[0040] Reference Figure 5Centralized testing is generally used to measure indicators of specific targets, such as fixed-point blasting shock wave measurement, vibration measurement of various locations of metal parts, etc. The trigger source position of the sensor can be limited to a small range, and the target is densely tested to obtain the overall test situation. This type of testing method is mostly used in situations where the measurement indicators are more precise and strict. Multiple sensors perform their respective functions, but due to the complex test environment or the complex test source, it is easy to cause false triggering or non-triggering. Once this phenomenon occurs, the measurement data will be inaccurate. For some signals that are difficult to reproduce (such as blasting, artillery, etc.), precious detection opportunities and manpower and material resources are wasted.
[0041] How to effectively trigger multiple sensors in a wireless sensor network has become an important indicator for evaluating a wireless sensor network, and is also a guarantee for the promotion and implementation of wireless sensor networks in recent years.
[0042] Reference Figures 1 to 3 The present invention provides a method for solving abnormal triggering of distributed sensor nodes, the method comprising:
[0043] Step 1: Initialize the sensor in each node of the wireless sensor network to a triggering state, and set a collection condition based on the empirical value;
[0044] Step 2: When an event or interference occurs, the affected sensor responds and enters the pre-trigger state, at which point it begins to communicate and exchange data with surrounding sensors from near to far.
[0045] Step 3: The central initiating node determines the spatial correlation between each node, selects several data collection cycles as pre-trigger judgment cycles according to the actual test signal, continuously indexes sensors farther away, and calculates the influence range EA that meets the minimum error threshold;
[0046] Step 4: Compare the final calculated EA with the range of preset values obtained by empirical value modeling. If it is less than the preset value, it is predicted as a false trigger, and the result is reported and recorded for further feature comparison to prevent missed triggers caused by special circumstances; if it is greater than the preset value, it is judged as a normal trigger;
[0047] Step 5: If the predicted false trigger is further compared and determined to be a false trigger, the sensor of the node is reinitialized, re-enters the waiting trigger state, and returns to step 2; if it is determined to be a normal trigger, a trigger instruction is sent to all sensors within the EA range to perform a joint trigger within the regional EA;
[0048] Step 6: This completes a trigger acquisition, stores or uploads data, and waits for the next instruction cycle.
[0049] Among them, in the wireless sensor network, when a trigger event occurs in the monitoring area, the sensors within the range will be triggered. There are different degrees of spatial correlation between different sensors. This design is to use the spatial correlation to meet the allowable distortion. When a trigger event occurs, the sensors communicate with each other, and determine an event area range EA based on the communication results. The specific basis for determining the event range is as follows:
[0050] Define the location of the central initiating node as point O, with a coordinate position of (0, 0). Use coordinate transformation and statistical characteristics to calculate the information data of the virtual node S (0, 0). Define the data generated by the sensors distributed in the event area as S1, S2, S3...Sn, and pair them randomly to establish a mathematical model of spatial correlation. The function formula of the mathematical model is:
[0051]
[0052] Wherein, S(x, y) represents the data information between nodes at different positions (x, y); γ(r) is the impact range area; S(x t ,y t ) represents the data information of the sensor where the coordinates of the trigger source t are located at any point within the defined range; and E is the mathematical expectation of the information difference.
[0053] This reflects the data correlation. When the data correlation is stronger, the value of the variance function will be smaller. Finally, we can use this model to obtain the data correlation between each node relative to the virtual node of the event generation area, and get a function about the error threshold and statistical mean square error. This function reflects the relationship between each node and the event center virtual node. By limiting the allowable error threshold in this function, we can determine the position of the farthest sensor node, and use the position of this node as a reference for our estimated event impact range EA.
[0054] Finally, the affected area is determined to be γ(r). For γ(r), different spatial correlation estimation models can be selected according to the specific test environment, and the distribution of the time area EA under the error threshold can be calculated. According to the different selected models and the actual test environment, the final range can be of any shape, and the specific shape is determined by the farthest boundary sensor affected. The selection of the spatial model can be based on the specific implementation situation. Reference "A.JINDAL, K.PSOUNIS.Modeling Spatially Correlated Data in Sensor Networks[J].ACM Transon Sensor Networks, 2006, 2(4):466-499".
[0055] A trigger system for solving the abnormal triggering method of distributed sensor nodes is applied. The system includes: a plurality of sensors and a trigger control device. The plurality of sensors are connected to the sensor interface on the surface of the trigger control device through lines. The trigger control device is internally provided with a communication circuit, a control circuit, a controller, a memory and a power supply. The power supply is electrically connected to the controller. The power supply module supplies power to the trigger control device. The communication circuit is connected between the controller and the communication signal interface on the surface of the trigger control device. The communication signal interface is used for exchanging information with an external device. The controller is connected to the sensor interface, the communication signal interface and the interface of the memory through the control circuit, and sends the signal detected by the sensor to the controller for processing. The communication signal interface is connected to the memory and is used to export the data stored in the memory and the signal information transmitted by the sensor stored in the memory.
[0056] Reference Figure 6 The sensor interface is a direct connection interface for an external sensor, and the sensor interface uses a four-core cable to connect the sensor. The red, black, green, and white in the four-core cable represent positive excitation, negative excitation, positive signal, and negative signal, respectively, which can directly provide adjustable power excitation for the full-bridge sensor and perform relevant measurements on the feedback voltage value of the sensor.
[0057] Reference Figure 7 The original interface is an RS422 interface, the communication signal interface is externally connected to a converter to convert to a TTL / RS232 / RS485 interface protocol, and the interface part of the communication signal interface adopts a DB9 standard connector.
[0058] Reference Figure 8 and Fig. 9 The core control module adopts Xilinx's SP-6 series XC6LX9-144 FPGA. The main controller can reach a main frequency of more than 200M through a phase-locked loop, which fully meets the system requirements, and integrates an SDRAM controller and related peripheral interfaces. The wireless communication interface in this part is to connect the wireless communication module part, and its control instructions and data communication protocols are completed by the main controller. The data storage module interface is connected to the data storage module, and also sends control instructions and specifies related data formats for the data storage.
[0059] The core control module is provided with a data acquisition part for collecting data or voltage of the interface module, an FPGA core controller part for data processing and data output, an interface part for connecting the wireless communication module and an interface part for connecting the data storage module. The excitation power output in the core control module is generated by an adjustable linear voltage regulated power supply, and the FPGA main controller controls the precision digital potentiometer through a program to adjust the output voltage, and finally achieves matching the excitation voltage range of ±5 to ±12V of existing conventional sensors. The AD acquisition module is mainly composed of a high-speed AD chip AD9260, and its voltage acquisition and sampling frequency selection are controlled by the FPGA main controller.
[0060] Reference Fig.10 and Fig.11 The wireless communication module uses WIFI for LAN communication, and each node uses a fixed IP to facilitate addressing and data exchange between nodes. The wireless communication module is driven by the standard SDIO protocol, and its data reception and transmission are controlled by the FPGA main controller for communication between multiple nodes.
[0061] Reference Fig.12 The data storage module is an SD card, and the SDIO interface of the main controller provides instructions and specifies the data format. The data storage module is hot-swappable, which is convenient for expansion and replacement.
[0062] The present invention designs a method to solve the abnormal triggering of distributed sensor nodes. Relying on the system device, the spatial correlation between each node can be calculated in the wireless sensor network, and an event impact range is defined based on the spatial correlation, and the triggering control of the sensor is judged by the range. For different application backgrounds, we can evaluate the minimum impact range that an event source may cause, and use this range as the basis for judging whether the sensor is triggered normally. When the influence range obtained by calculation is smaller than the preset range, only a single sensor or only a few sensors in the entire network have responded beyond the empirical judgment. The situation can be reported and compared with the relevant actual situation. It is pre-evaluated as a false trigger, and the linkage trigger reaction between it and other sensors is cut off. The situation is analyzed independently. When it is determined to be a false trigger, the sensor is reinitialized and corrected to enter the triggering state, so as to effectively filter out the system false triggering caused by the false triggering of a single sensor in the entire system; when the influence range obtained by calculation is larger than the preset range, it is pre-evaluated as a normal trigger according to the actual situation. At this time, the spatial correlation is continued to be calculated to find the maximum range of influence. Regardless of whether other sensors in the range have met the triggering conditions, the action of all sensors in the combined triggering range is made according to factors such as the measurement background and the measurement terrain, so as to effectively cover the triggering range and capture the triggering event, so as to effectively eliminate the sensor non-triggering caused by individual factors and restore the real spatial situation of the entire test field to the greatest extent.
[0063] Working principle: As a collection node in the entire sensor network, this system is first in an untriggered state in the sensor network. At this time, the AD collection module collects external data, and the FPGA core controller judges and processes the current data. When a trigger source appears, the AD module captures the signal, the FPGA judges the current signal, enters the pre-trigger state, and the wireless communication module communicates with other nodes to determine the trigger state. If other nodes respond to the trigger state, the information is spread to the nodes farther away until the condition EA range within the preset range is reached. The FPGA controller determines it as a real trigger. At this time, the node that first determines that it is valid sends a trigger instruction through the wireless module, combines all sensors within the trigger range, completes a collection action, stores data in the data storage module, and then uploads the data to the data aggregation transfer node by the wireless module; if no trigger signal is found in other nodes in the pre-trigger state when communicating with other modules, and the EA value is determined to be less than the preset range when indexing to a certain range, it is determined to be a false trigger, reset the sensor and record the false trigger situation for subsequent maintenance.
[0064] Embodiment 1 of the present invention provides a method for solving abnormal triggering of distributed sensor nodes. During the measurement of gunpowder blasting shock waves, this situation belongs to the centralized test environment in the above background. Generally, the test environment is mostly a shooting range test field, and the environment is relatively harsh. Sensors are precision devices and are easily disturbed by the environment, resulting in false triggering. The false triggering of a single sensor will cause the false triggering of the entire test system, resulting in failure to collect target data. Such test personnel are far away from the test point and it is not easy for them to quickly discover and respond effectively. Even if they approach rashly, their lives will be in danger, which ultimately leads to a waste of measurement opportunities and manpower and material resources.
[0065] The above disclosures are only several specific embodiments of the present invention. However, the embodiments of the present invention are not limited thereto. Any changes that can be conceived by those skilled in the art should fall within the protection scope of the present invention.
Claims
1. A method for solving abnormal triggering of distributed sensor nodes, characterized in that: The method comprises: Step 1: Initialize the sensor in each node of the wireless sensor network to a trigger state and set a collection condition; Step 2: When an event or interference occurs, the affected sensor responds and enters the pre-trigger state, at which point it begins to communicate and exchange data with surrounding sensors from near to far. Step 3: The central initiating node determines the spatial correlation between each node, selects several data collection cycles as pre-trigger judgment cycles according to the actual test signal, continuously indexes sensors farther away, and calculates the influence range EA that meets the minimum error threshold; Step 4: Compare the final calculated EA with the preset value range. If it is less than the preset value, it is predicted as a false trigger. The result is reported and recorded for further feature comparison to prevent missed triggering caused by special circumstances. If it is greater than the preset value, it is judged as a normal trigger. Step 5: If the predicted false trigger is further compared and determined to be a false trigger, the sensor of the node is reinitialized, re-enters the waiting trigger state, and returns to step 2; if it is determined to be a normal trigger, a trigger instruction is sent to all sensors within the EA range to perform a joint trigger within the regional EA; Step 6: This completes a trigger acquisition, stores or uploads data, and waits for the next instruction cycle; Among them, the central initiating node determines the spatial correlation between each node, selects several data collection cycles as pre-trigger judgment cycles according to the actual test signal situation, continuously indexes farther sensors, and calculates the influence range EA that meets the minimum error threshold, including: The position of the central initiating node is defined as point O, and the coordinate position is (0, 0). The information data of the virtual node S (0, 0) can be calculated by using coordinate transformation and statistical characteristics. The data generated by the sensors distributed in the event area are defined as S1, S2, S3...Sn, and they are randomly paired in pairs to establish a mathematical model of spatial correlation. The function formula of the mathematical model is: Wherein, S(x, y) represents the data information between nodes at different positions (x, y); γ(r) is the impact range area; S(x t ,y t ) represents the data information of the sensor where the coordinates of the trigger source t are located at any point within the defined range; E is the mathematical expectation of the information difference; The data correlation between each node and the virtual node in the event generation area is obtained through a mathematical model, and a function about the error threshold and statistical mean square error is obtained. This function reflects the relationship between each node and the virtual node of the event center. By limiting the allowable error threshold in the function, the position of the farthest sensor node is determined, and the event impact range EA is estimated through the position of this node.
2. A triggering system for solving the abnormal triggering method of distributed sensor nodes according to claim 1, characterized in that: The system includes: a plurality of sensors and a trigger control device, wherein the plurality of sensors are connected to a sensor interface on the surface of the trigger control device through lines, the trigger control device is internally provided with a communication circuit, a control circuit, a controller, a memory and a power supply, the power supply is electrically connected to the controller, the power supply module supplies power to the trigger control device, the communication circuit is connected between the controller and a communication signal interface on the surface of the trigger control device, the communication signal interface is used for exchanging information with an external device, the controller is connected to the sensor interface, the communication signal interface and the interface of the memory through the control circuit, and sends the signal detected by the sensor to the controller for processing, the communication signal interface is connected to the memory, and is used for exporting the data stored in the memory and the signal information transmitted by the sensor stored in the memory.
