Abstract
Wireless sensor networks for environment monitoring are usually deployed in the fields where electric or manual intervention cannot be accessed easily. Therefore, we hope to minimize the times of sampling to reduce energy consuming. Energy-efficient sampling scheduling can be realized using compressive sensing theory on the basis of temporal correlation of the physical process. However, the degree of correlation of neighboring data varies over time, which may lead to different reconstructive quality for different parts of data if constant duty cycle is used. We proposed SDDC, a segmental dynamic duty cycle control method, for sampling scheduling in wireless sensor networks based on compressive sensing. Using a priori knowledge obtained by means of analysis on earlier sensing data, dynamic duty cycle is determined according to the linear degree of data in each segment. The experimental results using data from soil respiration monitoring sensor networks show that the proposed SDDC method can lead to better reconstructive quality compared to constant duty cycle of the same average sampling rate. That is to say, the SDDC method needs smaller sampling rate if the reconstructive error threshold is given and consequently saves more energy.
1. Introduction
Wireless sensor networks for environment monitoring are usually deployed in the fields where electric or manual intervention cannot be accessed directly. Therefore, the entire system must be energy efficient, so that the sensor networks could run unattended as long time as possible. Processing, sensing, and radio are main operations that consume energy in wireless sensor networks [1]. In this paper, we focus on the second operation: sensing. To collect detailed information of physical process which changes with time, the ideal sampling scheduling strategy is sampling at a very high frequency. However, some measurement operations are time, and energy-exhaustive processes, such as soil respiration speed measurement operation in the soil respiration monitoring sensor networks. Therefore, the main objective of this paper is to design appropriate sampling scheduling policy for the environment monitoring sensor network nodes with energy exhaustive measurement process, so as to reduce the duty cycle of sensor nodes and save energy.
To achieve required reconstructive quality of soil respiration process using as less duty cycle as possible, we can usually use methods like interpolation or fitting. In this paper, we achieve sparse sampling using compressive sensing theory: real values to the physical world can be sparsified on the basis of temporal correlation of soil respiration carbon flux, and soil respiration carbon flux of time series data can be reconstructed using sparse sample data with accuracy requirement.
When compressive sensing theory is used for sparse sampling and data reconstruction, it is needed to determine two matrices: the representation basis matrix Ψ, used to the sparse of true value of soil respiration, and the measurement matrix ϕ, used to indicate the sampling scheduling policy, which is usually a random or uniform sampling with certain duty cycle.
Duty cycle in the measurement matrix determines the number of measurement on soil respiration for the nodes, namely, determines the energy-saving effect compared with dense measurement, and also affects the accuracy of the data reconstruction. Intuitively, the lower the sampling rate is, the better energy-saving effect of the sampling scheduling policy will be, but this may lead to larger reconstructive error. So there is a contradiction between sampling rate and the accuracy of reconstructed data. In designing of sampling scheduling policy, we should find the balance which is based on the demanded accuracy of data reconstruction. On the other hand, the degree of correlation of neighbouring data varies over time, which may lead to different reconstructive quality for different parts of data if constant duty cycle is used.
In this paper, we proposed SDDC, a segmental dynamic duty cycle control method based on compressive sensing. According to SDDC, dynamic sampling rates are adopted when constructing measurement matrix on the basis of data changes over time: higher sampling rates for drastically changing physical stages but lower sampling rates for slightly changing stages. This method can lead to a dynamic trade-off between energy-saving effect and accuracy of data reconstruction. Because we cannot know the true data in advance, the earlier measurement data are analyzed to find a priori knowledge, according to which segmental dynamic sampling rates are obtained. And we analyzed SDDC method with real data from wireless sensor networks for soil respiration monitoring.
The remaining contents of this paper are arranged as following. The temporal sampling scheduling problem is analyzed and modeled based on compressive sensing in Section 2. Section 3 presents the SDDC sampling scheduling method we proposed. Section 4 introduces the experimental data and the design of experimental process, evaluates the SDDC method using measured data from soil respiration monitoring sensor networks, and analyzes the measurement performance of SDDC through the comparison of experimental results. The last section is a summary of this paper and also analyzes future directions so that we may continue our study.
2. Sampling Scheduling Based on Compressive Sensing
2.1. Compressive Sensing
We can obtain a large amount of data through dense, periodic sampling strategy. However, is this the best way to recognize the real physical process? The increase in data volumes does not really mean the increase of the amount of information. On the contrary, too much redundant noisy data may cover up the valid data which contains main structure (the principal components), and at the meantime it increases the difficulty of sampling and sample price.
Compressive sensing mainly relies on data sparseness characteristic and low rank characteristic of original data. Under the condition of less than the Nyquist sampling rate, we get a small amount of discrete samples and then reconstruct the signal and algorithm through nonlinear method [2, 3]. This theory has been applied to data compression [4], channel coding [5], analog signal perception [6], routing [7], data collection [8], and other aspects.
For the discrete signal which is represented by a vector x (
So the question is: how many times of measurement are needed at least to reconstruct the signal x? According to linear algebra, to have existent and unique solutions of (1),
In practice, x may not be sparse, while it is likely to have sparse expression in another domain. Specifically, using a matrix Ψ with the size of
Here, s is a
Consequently, there are three main problems in the research and application of compressive sensing: (1) before sampling, designing a representation basis matrix Ψ which is required for the sparsification of x according to the characteristics of x. (2) When sampling, design a measurement matrix Φ in the size of
For the first problem, the most important thing is to choose the representation basis matrix Ψ which would transform x into a sparse matrix. Usually using the wavelet as basis matrix can achieve approximate sparse for the smooth data, most absolute value of expansion coefficients is small.
For the second problem, the measurement matrix Φ is used in the third task, so it should be chosen seriously, and it is necessary to meet the restricted isometry principle (RIP) [5]. Currently, the measurement matrix usually adopts Gaussian random measurement matrix or Fourier matrix, such as Bernoulli matrix.
For the third problem, (3) is a nondetermined linear system because
If M meets the following equation:
2.2. Modeling the Sampling Scheduling Problem in Time-Domain
In the real physical world, carbon flux of soil respiration in the sample point is continuous in the time. It can be treated as discrete while the time unit is small enough compared with the time scale of the changes in soil respiration. In reality, no matter how high sampling frequency is, the operations of the measuring equipment are discrete, and the carbon flux data on soil respiration is obviously discrete.
We use the discrete time model in modeling the sampling schedule of soil respiration monitoring sensor network [14].
Time-series data of soil respiration carbon flux over a period of time in the sampling location can be expressed as The sampling scheduling policy π is expressed as Assuming that there is no measurement error and noise, after several times of measurement which relies on the sampling scheduling policy π, we will get the sample data sequence In order to understand the real process of soil respiration, it is necessary to measure several times according to the sampling scheduling policy π and then reconstruct the time-series data of whole process of soil respiration carbon flux with the sampling data. That is to say, generate estimation of the original sequence Basing on the above description, the goal of sampling scheduling policy is to select the best sampling strategy π and estimate function λ, so as to minimize the evaluated error between the reconstructed soil respiration data sequence
2.3. Model of Sampling Scheduling Based on Compressive Sensing
In the application of sensor network for soil respiration monitoring, we design the sampling scheduling policy using the compressive sensing theory, namely, to design according to the original data sequence X, the sampling scheduling policy π, sampling data
We model sampling scheduling based on compressive sensing as follows.
The raw data sequence X: we express it with a vector The sampling scheduling policy π: we express the sampling scheduling policy measurement matrix Sample data sequence Reconstructed data sequence Reconstructed error metrics
3. The Segmental Dynamic Duty Cycle Control Method
To estimate one soil respiration carbon flux data, it is necessary to measure the soil temperature, humidity, air pressure in the closed chamber, and CO2 concentration using the soil respiration measurement instrument. The measurement of temperature, humidity, and air pressure is of low energy consumption, while the measurement of changes in CO2 concentration is a complicated and energy-consuming process.
A soil respiration carbon flux value measuring cycle is three minutes, and in this period it measures the CO2 concentration every three seconds and the chamber keeps closed. Then the chamber opens automatically for ventilation with the outside world for one minute. This procedure ensures the following measurement to reflect the real process of soil respiration. In the measurement period, there are 60 CO2 concentration data. Firstly, use the linear fitting method on these data and then calculate the slope, and thus get the change rate of CO2 concentration during the measurement period. Then combining with parameters such as soil temperature, humidity, air pressure in the closed chamber, soil respiration flux data are obtained through carbon flux calculation formula. Soil respiration measurement is large in energy consumption; reducing the sampling frequency through compression perception theory can effectively extend the life span of the equipments.
Using compressive sensing theory to carry on the sampling schedule of the sensor network for soil respiration monitoring, we should confront several problems of the compressive sensing research and application which are described in Section 2.1. We focus on the second one, namely, the design of the measurement matrix.
As described in Section 2.3, the rows count M in the measurement matrix
This paper mainly focuses on the former one in the design of measurement matrix, which is the determination of sampling times M. According to the original data sequence X in real physical world, determining the number of samples equals determining the sampling rate
Although X does not change linearly, it is possible to get approximate linear change in some parts of the X through a further decomposition of X. In the whole measuring process, if we use the fixed sampling rate to design the measurement matrix, we may get better reconstruction results in the approximate linear change part, but in the nonlinear change part it is bad. If we increase the sampling rate in order to improve the reconstruction results in nonlinear part, there will be a certain redundancy in a linear change part of the sampled data. This paper studied SDDC, a segmental dynamic sampling scheduling policy, in which dynamic sampling rate is used to construct the measurement matrix in different time interval according to the trends of X. Under the condition of meeting the required accuracy, we lower the sampling rate of the linear change part, and increase the sampling rate of the nonlinear change part so that we can reduce the sampling rate as far as possible. Soil respiration measurement is an energy-consuming and time-consuming process, and the reduction of sampling rate can reduce the energy consumption of the whole monitoring system and thus extend the field working time of the system.
Studies show that soil respiration relates to the change of time. Soil respires slowly in the day but respires relatively quickly in the night. This is because one of the causes for soil respiration is the respiring effect of plant root system. Therefore, the changes of soil respiration are influenced by plant physiological processes [15]. Plant conducts photosynthesis to sequestrate carbon in the noon when it is the best time. Carbon is transported to the root several hours later and is released through root respiration in the night [15, 16]. And root respiration lags behind photosynthesis for 7–12 hours [17]. In addition, temperature is higher than that of soil at noon and the gas pressure is also stronger, which restrains the spread and release of soil CO2, so value of soil respiration is relatively low in this period [18]. The intensity for the respiring effect of plant root system relates to the location and season. During the summer when plant grows vigorously, rate of soil respiration attains peak value at night when rate of soil respiration is higher than that in the day. But during the winter when plant grows slowly, rate of soil respiration at night is a little higher than that in the day without apparent peaks and valleys [19].
There is regularity and similarity in the soil respiration, changes over time by day cycle. And there is little difference among neighboring days on the temperature in a day which caused by the sun as well as the difference of plant growth caused by the season. The trend on the change of soil respiration can be estimated by the soil respiration data which is measured a few days before. So we proposed a SDDC method based on a priori knowledge. Everyday sampling time is divided according to the observation and analyses of the experimental data or the reconstructed data. Then sampling rate of each segment is differed according to the historical data curve. In the time period of which the data sequence is highly nonlinear, the sampling rate is increased; on the contrary, the sampling rate is reduced.
In order to get the sampling time fragmented, piecewise function can be fitted and subdivided completely according to the changing trend of historical data. It is aimed for the nonlinear degree of data in each piecewise function so as to reduce the sampling rate at the extreme in the context of reconstructing quality. However, considering the situation of soil respiration monitoring sensor network, except for measurement, each sensor node can communicate. And this requires that each sensor node should coordinate mutually when communicating with other nodes. It will result in the difference of different fragmented length in a node if fragmented by data changing trend. Moreover, due to the spatial heterogeneity of soil, the temporal segmental results by sensor nodes at different sampling locations are likely to be different, which makes it difficult for the cooperation between measurement and communication of sensor nodes.
This paper will employ the fixed segmentation method which segments the sampling time evenly. On the one hand, with the same segmentation, the original physical world data sequence X can be divided into the subsequence
On the basis of fixed segmentation, this paper presents a segmental dynamic duty cycle method based on a priori knowledge, as shown in Algorithm 1. When we get the segmental dynamic measurement matrix
(1) everyday data consists of (2) X = the mean data sequence calculated according to the corresponding time for (3) (4) (5) (6) (7) (8) while the determination coefficient of the linear fitting equals to (9) (10) (11) for the present segment (12) (13)
In Algorithm 1, we choose
The β in line 10 is incremental adjustment factor, the higher it is, the larger the difference of sample rate between different segments with different nonlinear degree will be. According to the expression in line 10, the larger in
Algorithm 1 uses the data derived from the soil respiration data sequence
4. Simulation Experiment
As is mentioned in Section 2.1, the reconstruction quality of compressive sensing is influenced by three factors, measurement matrix Φ, basis matrix Ψ, and the reconstructive algorithm A. The following paper, respectively, introduced the design and choice on these three factors in the experiment, as well as the experimental data and solution.
4.1. Experimental Data
We have made dense measurement outside for 10 days with the self-designed soil respiration measurement instrument and got the original data sequence in the real physical world.
As mentioned above, there is one soil respiration carbon flux data every 4 minutes. So there are 3600 data in the dataset which we used in this experiment. The dataset is divided into several subsequences evenly, and then we sample and reconstruct on each sequence which is treated as an experimental data.
Evenly segment the sampling time as is mentioned in Section 3, then the data sequence X is divided into several subsequence, and sample and reconstruct on each subsequence. According to the model in Section 2.3, the element number in each sequence is N, so the number of subsequence is
4.2. The Construction of Measurement Matrix
As is described in Section 3, the design of measurement matrix includes aspects: the determination of the row number of M and the column numbers of n where the value is nonzero. Section 3 put forward SDDC method which solves the first problem completely. The policy determines the sampling frequency
For the second aspect, determine the column number N of non-zero element in all rows, namely, sampling time of concrete measure of M times; this problem does not belong to this research. In the experiment, two simple but RIP constraint solution schemes are chosen: the periodic sampling (PS) and pseudorandom sampling (RS). Periodic sampling means that the nodes are measured M times according to the cycle of
4.3. The Selection of Basis Matrix Ψ and the Reconstructive Algorithm A
The change of soil respiration in the physical world is smooth, so the raw data sequence
(1) The difference matrix
Algorithm SL0 and BP (the LP) mentioned in Section 2.1 are used as the reconstructive algorithm. Based on the study of Wu and Liu [14], in this paper, when the basis matrix is
4.4. Experimental Scheme
Based on the measurement matrix Φ (
(1) (2) (3) (4) (5) (6) divide dataset X into subsequence (7) ψ = the (8) (9) (10) ϕ = the to method (11) (12) (13) (14) (15) (16) (17) (18) (19) (20)
As mentioned above, the equipment can collect 15 data per hour. The value range is 30, 60, 90, 120, 180, and 360, which is the length of the subsequence N; they correspond to the segmental cycle of time as 2, 4, 6, 8, 12, and 24 hours, respectively. We adopted the average error to evaluate the reconstructed results. Its calculation method is shown in Algorithm 2, line 16. Where R is the times of random experiment, it is set as 20. There is scheduling mechanism for the random factors in the experiment.
4.5. Experimental Results and Analysis
Firstly, we analyzed the dynamic sampling rate calculated by the dynamic sampling strategy. In SDDC method, use experimental data of the first five days and get its mean value according to the corresponding relation with time, using Algorithm 1; the results are shown in Figure 1. Secondly, segmental linear fitting on these data, get the determination coefficient

Soil respiration carbon flux data of five days.


Segmental dynamic sampling rate.
Observing the fitting coefficient
Figure 4 has shown the average error for the whole reconstruction between SDDC method (SDDC) and constant duty cycle (CDC) with a nonsegmental and fixed sampling rate. We selected 10% (10CDC, 10SDDC in figure), 20% (20CDC, 20SDDC in figure) and 30% (30CDC, 30SDDC in figure), as the fixed sampling of the constant sampling strategy and the referencing sampling rate of dynamic sampling scheduling policy. According to the expression of

Reconstructive performance comparison between SDDC and CDC.
According to Figure 4, when measurement matrix Φ and Ψ choose different construction methods, there will be smaller reconstruction error from the SDDC method than from the constant sampling strategy under the same mean sampling rate. Furthermore, as can be seen from the figure, no matter which method (
Figure 4 also showed the difference on global reconstruction effect between dynamic sampling schedule and the constant sampling schedule. In Figure 4(a), under condition that the size of segmental subsequence is 30 (namely, 2 hours) and the constant sampling rate and the referencing sampling rate are 10%, the mean reconstruction errors of these two methods are about 0.182 and 0.101, respectively.
In order to analyze the reason that causes the difference, we calculated the mean reconstruction error of the subsequence of each segment; the results are shown in Figure 5. As is seen from Figure 3, when segment with the

Segmental reconstruction performance comparison between SDDC and CDC.
According to the segmented error which corresponds to the two kinds of sampling rate, the difference on the reconstruction error, which is calculated by the constant sampling strategy, is relatively large. As the linear degree of each time segment is different, there is bigger difference in the reconstruction results when calculated with the indiscriminate method. The reconstruction errors calculated by dynamic sampling and scheduling policy in all segments were similar. This is because we use different sampling rate in different segments, so that we can balance the difference in reconstruction accuracy which is carried by the change of linear degree.
5. Conclusion
On the energy-saving sampling issues of soil respiration monitoring, we proposed a segmental dynamic sampling scheduling policy based on compressive sensing (SDDC). We found that SDDC method can adapt tothe dynamic changing of monitoring objects better so as to reduce the sampling rate and save energy and achieve the effect of relatively uniform segmental sampling error and better overall reconstructive quality. Though SDDC needs the soil respiration instrument to carry out extra sampling rate updating algorithm and produce same energy, the energy saving of reducing sampling times can far outnumber the energy consuming of updating the sampling rate because the measurement of soil respiration is a relatively energy-consuming and time-consuming process. Although the SDDC sampling scheduling method in this paper is proposed based on sensor networks for soil respiration monitoring and the related performance analysis is carried out using these measured data, SDDC can be used commonly, and it is widely applicable for other sparse sampling application scene with a priori regular pattern.
Soil respiration includes the root respiration, soil microbial respiration, and heterotrophic respiration of soil animal. These respirations are affected by soil temperature and humidity. Main environmental factors which affect soil respiration rate are soil moisture and temperature, in both spatial gradient and time level [22]. Soil respiration measurement requires a dynamic-open box method and other methods, including some time-consuming and energy-consuming process like movement of box, measurement after the pumping of air. It is relatively easy on the measurement of soil temperature and humidity. We plan to find the relevance among temperature and humidity and these sensing data of soil respiration, so as to optimize and adjust the dynamic sampling policy for soil carbon flux, and to further reduce the energy consumption.
Footnotes
Acknowledgments
This study is supported by the NSF China under Grant no. 61190114 and 61303236, Zhejiang Provincial Natural Science Foundation of China under Grant no. LY12F02016, and Zhejiang Provincial Science Technology Plan Projects Key Science Technology Specific Project under Grant no. 2012C13011-1.
