Abstract
In order to overcome the problems existing in traditional methods such as large mean error and long time of network data fusion, a data fusion of power wireless sensor networks based on Kalman filter is proposed. Firstly, the composition of power wireless sensor is analyzed, and the data of power wireless sensor network is preprocessed. Then, the data fusion process of Kalman filter is designed, and the schematic diagram of the data fusion process is given. Finally, l-M method is used to modify the network data fusion prediction covariance matrix to realize the power wireless sensor network data fusion. Experimental results show that when the amount of data is 600 GB, the data fusion time of the proposed method is 1.89 s. When the number of Kalman recursion is 120, the mean square error of data fusion of the proposed method is 0.04, and the practical application effect is good.
Introduction
With the complexity of network environment, wireless sensor network data fusion has been widely used in various fields. Wireless sensor network is a typical representative of monitoring. A large number of sensor nodes are deployed in the area to be monitored. After the nodes complete data acquisition, the data information is transmitted to the task management node through wireless link for data fusion processing, and the analysis results are given to provide a reliable basis for management decision-making (Natsume et al. [8]; Jornet-Monteverde and Galiana-Merino [3]). However, the imprecision of data fusion results affects the accuracy and comprehensiveness of power network information transmission. Based on this, data fusion in wireless sensor networks is very necessary. Data fusion in power wireless sensor networks refers to a method of processing power information using many sensors. Information fusion uses the power network data obtained by wireless sensors to process the network redundant data through computer intelligence technology, and improves the information processing performance of power network through multi-source data fusion (Xiao et al. [12]; Suresh [10]). Many mature fusion algorithms have been proposed, which have been studied by relevant scholars and made some progress.
Wang [11] introduced the homomorphic encryption method into the power wireless sensor network security data fusion method, obtained the power wireless sensor network data coding by obtaining the attribute characteristics of the power wireless sensor network transmission data, adopted the multi function piecewise fitting method, conducted intrusion attack defense on the network transmission data of the mapping stage, and obtained the data weight according to the coding rules. This method can improve the effect of network data fusion, but the fusion efficiency is poor. Zou et al. [14] proposed a data fusion algorithm for power sensor networks based on task type perception, calculated the data transmission energy of power sensor networks, obtained the transmission level of sensor network data cluster head nodes according to the approximate greedy algorithm, and obtained the data fusion attributes between clusters according to the sparse representation. This method can significantly improve the effect of data fusion, but it takes a long time for data fusion. Zou et al. [15] applied lidar technology to power wireless sensor network data fusion, used cluster analysis method to obtain the depth information of power wireless sensor network communication data, and realized network data fusion according to neural network. The data fusion effect of this method can be significantly improved, but the data fusion efficiency is low.
Aiming at the problems of the above methods, this paper proposes a data fusion method for power wireless sensor networks based on Kalman filter. The specific research ideas of this paper are as follows:
Firstly, according to the composition diagram of power sensors, the multi-source data acquisition function of power grid is designed to obtain the power wireless sensor network data, and the collected data are preprocessed to obtain the non redundant network data.
Then, multiple sensors are used to process the data collected by each node, and the Kalman filter is used to realize the data filtering, so as to realize the preliminary fusion processing of the power wireless sensor network. The L-M method is used to modify the network data fusion prediction covariance matrix to complete the power wireless sensor network data fusion.
Finally, the effectiveness of this method is evaluated by using network data fusion time and network data fusion mean square error, and an effective conclusion is drawn.
Design of data fusion method for power wireless sensor networks
Composition of power wireless sensor
At present, in order to achieve the purpose of prediction and prevention, monitoring has been everywhere and has been widely used in many industries and fields. The positioning of wireless sensor networks in the monitoring field is unshakable, so this monitoring method collects more complete information and faster efficiency. However, this method also has a big disadvantage, that is, the node location needs to be determined through a large number of calculations, which is the biggest problem in wireless sensor network monitoring. Wireless sensor network, as its name implies, is a network system composed of several sensors, as shown in Fig. 1 (Seneviratne et al. [9]).

Schematic diagram of wireless sensor network.
There are three types of nodes in the composition of wireless sensor networks, and each type of node plays a different role (Liu et al. [6]). The details are as follows:
Sensor node. The sensor node is the largest node and the core part in the whole network. Its composition structure is shown in Fig. 2 below.
These large number of sensor nodes are randomly placed in the area to be monitored, and then self-organized into a large and complete network system. These nodes can monitor and perceive information within their own radiation range, complete information collection, and forward information in the form of multi hop (Xi et al. [13]).
Composition diagram of power sensor.
Sink node. Sink nodes are special nodes in wireless sensor networks. The function of these nodes is to collect information collected from a large number of sensor nodes. So far, the sensing area has completed all information sensing work (Wang et al. [11]).
Management node. The difference between the management node and the above two nodes is that it is not located at the sensing site, but in the remote management center. The management center is the terminal node of the network, which plays the role of monitoring data processing and analysis, and then generates various operation instructions on this basis.
According to the composition diagram of power sensors, the multi-source data acquisition function of power grid is designed to obtain the data of power wireless sensor network, and the collected data are normalized to ensure the consistency of data length. On this basis, the data of power wireless sensor network is preprocessed, which lays a solid foundation for the subsequent data fusion of power wireless sensor network. The data acquisition mean square error equation and feature extraction equation of the power system are respectively:
In formula (1),
Assuming that the power wireless sensor network data estimation noise and network load satisfy formula (1), at this time, the Kalman filter algorithm can be used to calculate the mean square error of power wireless sensor network data acquisition. The specific process of Kalman filter algorithm is as follows:
The acquisition error of power wireless sensor network is transformed into the estimated value of data acquisition mean square error
In the above formula,
Calculate Kalman gain matrix (Anees et al. [1])
In the above formula, R represents the state transition matrix
Update estimate:
In the above formula,
Calculate the updated estimated covariance matrix:
Recursive loop calculation:
The above formula is the solution process of Kalman filter algorithm. Under the given step coefficient
When the step coefficient is certain, the initial parameters of the filter are not affected by noise interference, so the selection of the initial value of the filter has a direct impact on the filtering result.
It can be seen from formula (7) of the positioning equations that the TDOA and position acquisition equations are independent of the target speed and will not introduce errors due to the communication target position. Therefore, when studying the communication target of power wireless sensor network, it is necessary to fuse DOA positioning information to obtain the initial filtering value (Li and Liu [5]; Markiewicz et al. [7]).
The calculation of the initial filtering value needs to be carried out in the power wireless sensor communication coordinate system. Firstly, it is assumed that the initial position of the radiation source of the power communication target is
In the communication range, the data transmission location estimation equation of power wireless sensor network is:
Where,
In the above formula, c represents the error probability.
The second equation and formula (10) of simultaneous positioning formula (11) can be obtained
Where,
Replace the power data acquisition error function formula (14) and the second equation of data transmission function formula (11) into formula (10), and simplify the formula (15):
The two roots of
Where,
The state of power communication data is unknown at this time, so set the initial data transmission amount to 0, and the initial filter value is (
Where,
Data fusion of power wireless sensor networks based on Kalman filter
Kalman filter is an optimal linear state estimation method, which is equivalent to the optimal linear filter under the minimum mean square error criterion. The so-called state estimation is to find the state vector that best fits the observed data through mathematical methods. It only needs the current measured value and the estimated value of the previous sampling period to estimate the state, does not need a large amount of storage space, has a small amount of calculation at each step, has clear calculation steps, and is very suitable for computer processing. Therefore, this paper applies it to the design of data fusion method for power wireless sensor networks, so that this method has the characteristics of low data fusion error and time-consuming, Ensure the data fusion effect of power wireless sensor network.
On the basis of Section 2, the processed power wireless sensor network data is introduced into the Kalman filter model for variable multi cluster data processing. The specific power network data fusion process is shown in Fig. 3.

Data fusion algorithm of power sensor network based on Kalman filter.
According to Fig. 3, relevant data are collected in the power wireless sensor network, and then multiple sensors are used to process the data collected by each node, and the data filtering is realized through the Kalman filter. Through multiple iterations, the interference of dirty data in the power network can be effectively reduced, the data to be fused is cleaner, and the effect of data fusion is improved. In the figure above,
Figure 4 shows the data fusion process of power wireless sensor network based on Kalman filter.

Data fusion flow of power wireless sensor network based on Kalman filter.
In the process of data fusion, Kalman filter algorithm can effectively avoid the truncation error generated in the process of multiple iterations, and effectively avoid the problem that the traditional methods may lead to large filtering result error (Cheng et al. [2]). Therefore, this paper will use the filtering results for data fusion and define the data fusion cost function:
In the above formula,
In this paper, the prediction covariance matrix is adjusted by L-M method to ensure the global convergence of the algorithm. The core of the algorithm is to modify the covariance prediction matrix by using the damping factor in each iteration, and update the observation iteratively with the modified covariance matrix
Target state prediction:
In the above formula,
Prediction covariance matrix:
At the beginning of iteration, L-M method modifies the covariance matrix:
Kalman gain matrix calculation:
Update target status:
Update covariance matrix:
At the end of the iteration, let
If
When the contemporary valence function is less than a certain limit with the increase of the number of iterations, it is considered that the convergence has reached near the extreme point, and the iteration termination condition can be written as
Where,

Data fusion result correction flow chart of L-M method.
Experimental scheme
For the design method in this paper, in order to analyze its practical application performance, it is necessary to carry out application test on the system. The overall experimental scheme is as follows:
Experimental environment
As most of the application environments of the methods in this paper are applied to Windows system, and most of them are C/S architecture, the relevant environment parameters required by the test are shown in Table 1.
Experimental data: The power wireless sensor network parameters and test data are taken as experimental sample data, and the collected data are integrated and de-noised, and the processing results are taken as experimental sample data. The experimental sample data is divided into two parts on average, one part for software testing and the other part for experimental testing. The test data is input into the simulation software, and the optimal operating parameters of the software are obtained after several tests. The parameter is taken as the initial parameter to ensure the authenticity and reliability of the simulation results. Experimental methods and evaluation indicators
The data fusion time and mean square error of power wireless sensor network data fusion of Wang [11], Zou et al. [14] and this method are compared. The shorter the data fusion time, the higher the overall fusion efficiency; The smaller the mean square error of sensor network data fusion, the higher the fusion accuracy, the better the practical application effect.
Experimental parameter setting
Experimental parameter setting
Data fusion time of power wireless sensor network
In order to verify the power wireless sensor network data fusion effect of this method, the methods in Wang ([11]), Zou et al. ([14,15]) and this method are used to detect the time of power wireless sensor network data fusion. The experimental results are shown in Table 2.
Power wireless sensor network data fusion time
Power wireless sensor network data fusion time
According to the analysis of Table 2, the data fusion time of power wireless sensor network is different under different methods. When the data volume is 200 GB, the power wireless sensor network data fusion time of Wang [11] is 22.65 s, the power wireless sensor network data fusion time of Zou et al. [14] is 17.75 s, and the power wireless sensor network data fusion time of the method in this paper is 0.53 s. When the data volume is 500 GB, the power wireless sensor network data fusion time of Wang [11] is 38.54 s, the power wireless sensor network data fusion time of Zou et al. [14] is 32.71 s, and the power wireless sensor network data fusion time of the method in this paper is 1.56 s. When the data volume is 600 GB, the power wireless sensor network data fusion time of Wang [11] is 42.56 s, the power wireless sensor network data fusion time of Zou et al. [14] is 37.75 s, and the power wireless sensor network data fusion time of the method in this paper is 1.89 s. The power wireless sensor network data fusion time of this method is significantly lower than other traditional methods, which shows that the power wireless sensor network data fusion efficiency of this method is higher.
In order to verify the effectiveness of this method, Wang [11], Zou et al. [14] and this method are used to verify the mean square error of power wireless sensor network data fusion. The results are shown in Fig. 6.

Mean square error of sensor network data fusion under different methods.
By analyzing Fig. 6, it can be seen that there are differences in the mean square error of sensor network data fusion by different methods. When the Kalman recursion times are 60 times, the mean square error of sensor network data fusion of Wang [11] is 0.78, the mean square error of sensor network data fusion of Zou et al. [14] is 0.66, and the mean square error of sensor network data fusion of this method is 0.10; When the Kalman recursion times are 90 times, the mean square error of sensor network data fusion of Wang [11] is 0.72, the mean square error of sensor network data fusion of Zou et al. [14] is 0.79, and the mean square error of sensor network data fusion of this method is 0.07; When the Kalman recursion times are 120 times, the mean square error of sensor network data fusion of Wang [11] is 0.75, the mean square error of sensor network data fusion of Zou et al. [14] is 0.73, and the mean square error of sensor network data fusion of this method is 0.04. The mean square error of sensor network data fusion of this method is significantly lower than that of other methods, which shows that the effect of sensor network data fusion of this method is obviously better.
This paper introduces Kalman filter technology to improve the data fusion method, preprocesses the data of power wireless sensor network, and gives the schematic diagram of data fusion process; The L-M method is used to modify the network data fusion prediction covariance matrix to realize the data fusion of power wireless sensor networks. The following conclusions are drawn through experiments:
When the data volume is 600 GB, the data fusion time of power wireless sensor network is 1.89 s. This shows that the data fusion efficiency of power wireless sensor networks based on this method is high.
When the number of Kalman recursion is 120, the mean square error of sensor network data fusion of this method is 0.04, which shows that the effect of sensor network data fusion of this method is obviously better.
