Abstract

To reconstruct compressed sensing (CS) signal fast and accurately, this paper proposes an improved discrete differential evolution (IDDE) algorithm based on fuzzy clustering for CS reconstruction. Aiming to overcome the shortcomings of traditional CS reconstruction algorithm, such as heavy dependence on sparsity and low precision of reconstruction, a discrete differential evolution (DDE) algorithm based on improved kernel fuzzy clustering is designed. In this algorithm, fuzzy clustering algorithm is used to analyze the evolutionary population, which improves the pertinence and scientificity of population learning evolution while realizing effective clustering. The differential evolutionary particle coding method and evolutionary mechanism are redefined. And the improved fuzzy clustering discrete differential evolution algorithm is applied to CS reconstruction algorithm, in which signal with unknown sparsity is considered as particle coding. Then the wireless sensor networks (WSNs) sparse signal is accurately reconstructed through the iterative evolution of population. Finally, simulations are carried out in the WSNs data acquisition environment. Results show that compared with traditional reconstruction algorithms such as StOMP, the reconstruction accuracy of the algorithm proposed in this paper is improved by 36.4-51.9%, and the reconstruction time is reduced by 15.1-31.3%.

1. Introduction

The rapid development of wireless sensor networks (WSNs) has binging human society into the era of big data. However, huge amount of data collected from sensor network is also accompanied by the sharp increase of the signal bandwidth [1]. If we still adopt the traditional Nyquist sampling theorem for data acquisition in this case, it will bring unprecedented challenges to the hardware system [2]. The advent of compressive sensing (CS) [3] solved this problem and created a whole new approach for the signal information processing [4, 5]. Through a series of nonlinear optimization algorithm, CS is able to accurately reconstruct compressible signal from a small amount of data and greatly reduced the requirement for the sampling rate [6]. Thus, the theory of compressed sensing is gradually and widely applied to image processing, wireless sensor networks, radio communication, etc.

Sparse representation, observation matrix, and reconstruction algorithm are the core contents in compressed sensing, and the reconstruction algorithm is the most critical part [7]. It is commonly divided into three kinds: convex optimization algorithm, greedy algorithm, and their combination. The key problem in CS reconstruction is how to use a small amount of observed signal to reconstruct the original signal rapidly and accurately. Furthermore, several problems, such as high computational complexity, large amount of data, and preset sparsity, still need to be solved. Reference [7] proposed a SL0 reconstruction algorithm for compressive sensing based on BFGS quasi Newton method, which effectively improved the iterative efficiency of greedy matching pursuit algorithm by taking advantage of the rapid convergence of quasi Newton method. Wang et al. [2] introduced Dice coefficient matching metric into SWOMP reconstruction algorithm to overcome the inherent defect that the inner product matching criterion of SWOMP is sensitive to residual signals. Simulation results show that their algorithm has higher signal reconstruction success rate. In [8], researchers discussed the signal reconstruction algorithm for compressed sensing without prior information of signal sparsity. But the signal reconstruction accuracy of this algorithm needs to be improved.

Currently, most compressed sensing algorithms reconstruct the original signal by minimizing its or norm [9]. This is NP-hard problem. Therefore, we propose a WSNs compressed sensing signal reconstruction algorithm based on fuzzy clustering and discrete differential evolution. In this algorithm, we consider signal with unknown sparsity as differential evolution particle coding and reconstruct the signal through population iterative evolution. To improve the efficiency and accuracy of signal reconstruction, fuzzy clustering is utilized while the differential evolution mechanism is redefined. Finally, simulation experiments are carried out to verify its validity.

2. Differential Evolution Algorithm Based on Fuzzy Clustering

2.1. Differential Evolution

Differential evolution (DE) [10] is a kind of intelligent optimization algorithm with random search. It preserves the individuals with better fitness through mutation and competition to achieve the desired end. Due to its excellent global convergence and good robustness, fewer number of control parameters, and easy to be implemented, DE has been widely used in solving complex optimization problems [11].

An iteration of the classical DE algorithm mainly consists of three basic steps: mutation, crossover, and selection. For N-dimensional optimization, there exists a differential evolution population composed of particles () for the current generation . The process of performing mutation on can be expressed aswhere denotes the scalar number, denotes the mutant particle. The indices are mutually exclusive integers randomly chosen from the range , which are also different from . In essence, mutation randomly selects three different particles from the current population, multiplies the difference of any two of these three particles with the scalar number , and adds the scaled difference to the third one to obtain the mutant particle to fuse more individual information.

To enhance the potential diversity of the population, crossover operation is then performed. It is a process of selecting components from and according to certain probability to obtain the trial particle, described aswhere is called the crossover rate, is a random number lying between 0 and 1, and is an integer randomly selected from range , which ensures that gets at least one component from .

Then, the next generation particle is selected in the form of roulette to keep the population size constant over subsequent generations. Taking the minimum optimization as an example, the selection operation is described aswhere is the fitness value of particle .

We can see that, in each iteration, the population always keeps the better individual with higher fitness, so as to reach the global optimal solution.

2.2. Improved Kernel FCM

Fuzzy C-means clustering algorithm (FCM) is one of the most widely used clustering algorithms. It uses membership to describe the degree to which a data belongs to a certain subclass for data classification [12]. For a -dimension dataset , clustering is to divide samples , , into subclasses while making the value of the clustering objective function minimum; that is, where is the membership of sample to the th subclass, is the membership matrix, () is the set of clustering center, and is the fuzzy weighted index. Let ; we have

It can be seen that FCM is a kind of local search algorithm and is sensitive to initial values [13]. Since FCM uses Euclidean distance to evaluate the similarity, it is only suitable for processing data with appropriate compactness and good dispersion. Therefore, kernel fuzzy C-means clustering algorithm (KFCM) is used to replace the Euclidean distance with kernel-induced distance, expressed as in (6) can be further derived into the following form:where is the inner product of kernel function. In this paper, we select Gaussian function as , which means , , , and . Thus, the clustering objective function, membership , and clustering center can be calculated according to the following equations:

Although KFCM adopts kernel-induced distance to broaden its application range, it still has many problems waiting to be solved. Firstly, the clustering number C should be set in advance, but the preset value will affect the final clustering result directly. Secondly, KFCM usually generates the initial clustering center through random initialization, which reduces the clustering effectiveness. Finally, the value of fuzzy weighted index , to a great extent, affects the clustering result.

2.3. Implementation of Improved Kernel FCM

In this part, we introduce validity index based on compactness and dispersion to realize the automatic classification of clustering number and initialization of the cluster center with “maximum benefit” to increase the clustering performance.

Validity index an appropriate validity index will well reflect the clustering quality. The number of clusters that makes the validity index reaches the optimum is called the optimum number of clusters. Therefore, we use compactness and dispersion to define validity index aswhere and is the maximum number of clusters. The compactness and dispersion are computed in the following way:where is the sample number of the th subclass. From the calculation formulas above, it can be seen that a smaller means better homogeneity within a class, and a larger indicates greater separation between classes. In summary, the smaller the value of validity index is, the better the clustering quality.

Initialization of the cluster center with “maximum benefit” to reduce the influence of the random initialization cluster center has on the clustering results, the initialization of the cluster center with “maximum benefit” is designed. In sample set , randomly select one sample , , as the first classification clustering center, written as . Then, select another sample () with probability from the remaining samples as the second classification clustering center, expressed as . Here, the calculation formula for is The third classification clustering center, (), is selected from the remaining samples with the probability :and so on, until the C clustering centers are all selected. Such procedure ensures enough differences between classes and effectively reduces the probability of the algorithm falling into local optimal.

The improved kernel FCM (IKFCM) can realize the automatic classification of clustering number. Its pseudocode is shown in Pseudocode 1.

(1) Set the original number of clusters and
initialize parameters: maximum number of clusters
, fuzzy weighted index , maximum number of
iterations , and the stopping criterion .
(2) Initialize the clustering center according to the
“maximum benefit” clustering center initialization
method. Calculate the initial membership matrix
according to (9).
For
(3) While () do
(4) membership matrix and clustering
center according to (9).
(5) .
(6) Calculate validity index according to
(10)-(13).
End for
(7) Output results: the corresponding to the minimum
is the optimal number of clusters, and the
corresponding clustering center and membership is the
optimal and respectively.
2.4. Implementation of Differential Evolution Based on IKFCM

Like other intelligent optimization algorithms, the population diversity of DE decreases with the increase of iteration times, and the random selection of individuals for mutation may accelerate the population trapped in local optimal [14]. Thus, in order to further improve the global optimization ability and convergence accuracy of DE, we use fuzzy clustering to analyze the population, making it more scientific for selecting particles for mutation in each iteration.

As one of the most widely used clustering algorithms, FCM classifies data through analyzing how closely a data is relative to different classes, making data samples with more similarity be classified into the same class. In this paper, we utilize IKFCM for cluster analysis before DE, and its classification result is considered as the basis of selecting particles for mutation. After a certain number of iterations, the population is divided into C subclasses by IKFCM, and there are more similarities within classes and greater differences between classes. When it comes to mutation, particles , , and will be selected from different classes, thus effectively expanding the diversity of mutant particle and ensuring that particles with larger differences will be participated in the population’s evolution and eventually improves the convergence performance of DE. The specific process of the DE based on fuzzy clustering, named IDDE, is presented in Figure 1.

3. Compressed Sensing Signal Reconstruction Based on IDDE

3.1. Compressed Sensing Sparse Signal Reconstruction

In compressed sensing, is called sparse matrix if it can be used to linearly describe signal sparsely. We can express it aswhere denotes the linear description of under and its sparsity satisfies . There exists a measurement matrix that allows be described with a small amount of data aswhere is the measurement vector and satisfies . From (6) and (7), we haveOnce satisfies RIP condition [12], the original signal can be reconstructed by solving the norm; that is,

Since the process of solving (9) is a NP-hard, considering the signal with unknown sparsity as the differential evolution particle coding, we propose a compressive sensing signal reconstruction algorithm based on IDDE, which accurately reconstructed the unknown sparsity signal through population evolution.

3.2. Implementation of Compressed Sensing Signal Reconstruction Based on IDDE

DE is mainly used for continuous optimization, but for discrete optimization, it will generate large numbers of solutions that do not conform to the requirements, severely reducing its convergence efficiency. In this case, taking the CS reconstruction algorithm into account, the differential evolutionary particle coding method and evolutionary mechanism in IDDE are redefined.

Definition 1 (particle coding). In CS reconstruction algorithm optimization, define particle coding asIt is obvious that is correspondence with the nonzero elements in the sparse signal .

Definition 2. Randomly select () code bits in particle , and replace the corresponding code bits in particle () with it. The exchange process is denoted as :Then, the mutation step in IDDE can be refreshed aswhere , , and are three particles randomly selected from three different clusters, which are also different from the cluster that contain .
As can be seen from (22), by performing crossover on the three mutant particles, respectively, we will obtain three trial particles , , and . Then, a particle with better fitness will be selected between the three trial particles and as

Definition 3 (objective function). In CS reconstruction algorithm optimization, define the objective function asAs the objective function of CS reconstruction algorithm optimization is defined, IDDE would locate the nonzero elements of the sparse signal code after certain times of evolution and obtain the amplitude of the nonzero elements through least square method. Finally, the signal is precisely reconstructed. The performance of the CS reconstruction algorithm is superior due to its utilization of fuzzy clustering and improved discrete differential evolution algorithm. The pseudocode of the CS reconstruction algorithm based on IDDE is shown in Pseudocode 2.

(1) Initialize parameters: maximum number of iterations
, cluster number and the stopping criterion.
(2) Initialize the population of IDDE, and set .
(3) While (the requirement of IDDE is not satisfied) do
(4) While (the stopping criterion of IKFCM is not
satisfied) do cluster analysis the population
(5) Calculate and according to (3).
(6) For update the particle
(7) Randomly select 3 particles from different clusters
which do not contain . Perform mutation
according to (22) to obtain , and .
(8) Generate , and through crossover in the
following way:
(9) Evaluate the trial particle
If , then
Else
End if
(10) End for
(11)
(12) Output results.
3.3. Application of IDDE in WSNs

In this part, we study the sparse event detection [13] in the context of wireless sensor networks (WSNs). wireless sensor nodes are placed within the monitoring scope of WSNs to monitor event sources. network events randomly occurred from the event sources at some time. We use vector to denote the energy signal of the event sources ( means that the th event source did not happen any event). Obviously, if , is a sparse signal with sparsity of . Assuming , signals received by nodes can be written aswhere is the distance the signal transmitted, is the energy attenuation model. According to CS theory, sparse event can be detected by the data received by nodes.By (25) and (26), we have . It can be shown that when , can meet the requirement of RIP. But the CS reconstruction algorithm based on IDDE requires that an accurate measurement matrix should be guaranteed. Thus we transform matrix in the following way:where is semipositive definite diagonal matrix, , and is orthogonal matrix. Therefore, (27) can be rewritten asEquation (28) can be further transformed intoEquation (29) represents a new measurement system. As seen from the derivation process, the measurement matrix is row orthogonal matrix; thus RIP condition is satisfied.

In this case, sparse event detection in WSNs is transformed into the problem of using wireless sensor nodes to detect event sources. The detailed steps include training parameters with the experimental data in the deployment test stage of WSNs to obtain the optimal parameter configuration; processing received signal by the use of reconstruction algorithm based on IDDE to obtain the sparse signal vector in the detection stage to monitor sparse events effectively and timely.

4. Simulation

Simulations are performed in MATLAB to demonstrate the effectiveness of our algorithm. We deploy sensor nodes to monitor the temperature of places. The event source sequence corresponded to event energy signal . Reconstruction success rate , reconstruction time , and reconstruction relative error are selected to evaluate the reconstruction performance. The reconstruction relative error is calculated as follows:where denotes the original signal and stands for the reconstructed signal. The reconstruction success rate refers to the probability that is less than the threshold .

4.1. Reconstruction Performance

Selecting typical discrete signal as the original signal and the reconstruction performance of the reconstruction algorithm based on IDDE under the assumption that is unknown is analyzed. The performance of our algorithm is also compared to the blind sparsity reconstruction algorithm in [8], SWOMP in [2], and the classical StOMP. Run each algorithm independently for 50 times, calculate the average reconstruction success rate , the average reconstruction time , and the average reconstruction relative error for performance analysis, and set different for different signal. The reconstruction result of the CS reconstruction algorithm based on IDDE is shown in Figure 2. The evaluation index results of the 4 reconstruction algorithms are compared in Table 1.

It can be seen from Figure 2 that the CS reconstruction algorithm based on IDDE can obtain enough recovered data points from the compressed sensing data and reconstruct to the original signal, indicating that the algorithm we proposed in this paper is capable of reconstructing signal with unknown sparsity. In Table 1, the reconstruction success rates of the algorithm we propose reached 100% for different original signals, the algorithm in [8] reached above 97%, and the algorithm in [2] was only about 50% and StOMP could hardly reconstruct the original signal. In terms of reconstruction time, our algorithm is significantly faster than the other 3 algorithms, with reduced by 15.1-31.3%. As for reconstruction error, compared with the algorithm in [2], which has relatively better reconstruction success rate, the of our algorithm decreased by about 36.4-51.9%. In summary, compared with previous reconstruction algorithms such as StOMP, the CS reconstruction algorithm based on IDDE proposed in this paper performs better, much more suitable for reconstructing signal with unknown sparsity. All these advantages on one hand could be accredited to the utilization of IDDE. Through IDDE, the signal sparsity is transformed into particle coding, which makes the differential evolution algorithm be able to find the global optimum solution while obtaining the location of nonzero elements. On the other hand, fuzzy clustering is used to analyze the population, making the learning target of the population evolution more rational and scientific, which ultimately improves the reconstruction performance of our algorithm.

4.2. Effects of Parameters on the Reconstruction Algorithm Performance

Sparsity and observation time are critical to the reconstruction accuracy. Simulations were carried out to examine the reconstruction success rate of the CS reconstruction algorithm based on IDDE under different and , respectively, the blind sparsity reconstruction algorithm in [8], SWOMP in [2], and StOMP are also simulated as a comparison. Each algorithm runs 50 times. Comparison results are shown in Figures 3 and 4.

Figure 3 shows that, when the signal length and are fixed, all the four reconstruction success rate curves decrease with the increase of . Compared with the other 3 algorithms, our algorithm maintains a reconstruction success rate of over 94% when is within the range of (25, 35), while that of the other 3 algorithms decrease significantly.

As shown in Figure 4, when the signal length and are unchanged, all the 4 curves rise with the increase of , and the of the algorithm we proposed is much better than the other 3 algorithms with the same . Especially when , the of our algorithm can reach 100%.

However, large number of sensor nodes means large network energy consumption, which is unfavorable to prolong the survival time of WSNs. Thus, in the following part, we analyze the robustness and antinoise performance of our algorithm.

4.3. Antinoise Performance

Add white noise into the discrete signal to be detected and select the reconstruction algorithm in [8] and StOMP as a comparison. We investigate their antinoise performances under ranging from 20dB to 45dB.

From Figure 5, we can see that if the noise is not very serious, the reconstruction success rates of the three algorithms change a little as the noise level changes. When the noise is at a high level, the reconstruction success rates change significantly with the noise level. The of the algorithm we propose will still remain around 93% if the SNR decrease to 15dB while the other two algorithms decrease obviously, indicating that our algorithm is good at resisting noise.

5. Conclusions

In this paper, we propose a compressed sensing signal reconstruction algorithm based on IDDE. The algorithm employs intelligent optimization and fuzzy clustering together, transforming signal reconstruction into the global optimization of differential algorithm, to reconstruct signal with unknown sparsity through fuzzy cluster analysis, particle coding, and differential evolution. Its application in WSNs sparse event detection is also discussed. Simulation results testify that the algorithm we propose performs excellent in signal reconstruction and is robust to noise and interference.

Data Availability

The research data used to support the findings of this study were supplied by government agencies such as laboratories under license and so cannot be made freely available. Requests for access to these data should be made to Zhou-zhou Liu via [email protected].

Conflicts of Interest

The authors declared no potential conflicts of interest with respect to the research, authorship, and/or publication of this article

Acknowledgments

The authors disclosed receipt of the following financial support for the research, authorship, and/or publication of this article: This work was supported, in part, by the National Natural Science Foundation of China under Grant 61871313, China Postdoctoral Science Foundation funded project, China, under Grant 2018M633573, and Shaanxi Postdoctoral Science Foundation funded project, under Grant 2018BSHQYXMZZ11.