Design and Implementation of Low-Power Analog-to-Information Conversion for Environmental Information Perception

.


Introduction
Due to the rapid economic development of China, environmental pollution affected by transportation and industry is becoming one of the biggest problems in China's society today.With the help of those information and communication technologies (ICTs), how to monitor and control the environment pollution effectively has gained much attention from academia and industry, and is becoming a hot research issue.As one of such ICTs, wireless sensor networks (WSNs) [1] involves many procedures as data collection, information processing, network transmission and it is being widely used in almost every aspect of smart city such as environmental monitoring, smart homes, health monitoring, intelligent transportation and so on.However, there are still some bottlenecks about WSNs.When the scale of WSNs is keeping expanding, the costs of transmission and energy consumption increase significantly.In order to solve these problems, scholars are looking for ways, some of which are related with the theory of signal processing.
In the past several decades, Shannon sampling theorem is a core component of modern digital signal processing, having an important influence on both signal acquisition and processing.This theorem states that it is sufficient to sample the original signal at twice its bandwidth (known as the Nyquist rate) to ensure faithful recovery [2,3].As a new emerging theory, compressed sensing (CS) offers us a striking alternative to traditional Shannon sampling theorem [4][5][6][7].Various studies and applications on CS have been conducted in the research areas such as WSNs [8][9][10][11][12], image processing [13], radar [14], underwater communication [15], and health monitoring [16].However, most of these work are focused on CS theory.The problem of designing high-efficiency hardware with limited energy is becoming a bottleneck in practical applications.Some scholars have attempted to solve this problem.For example, an analog-to-information converter (AIC), which is a non-correlation measurement scheme for CS, has been proposed in [17][18][19][20][21][22].The details of these work will be discussed in Section 2.
In our previous work [23][24][25][26], we focused on software solution on network, which aims at designing suitable compressive algorithms or network models to solve the problem of data acquisition during transmission in large distributed WSNs.Another alternative way to decrease the energy consumption and transmission costs is designing low-power AIC device on separate end node for compressive signal acquisition by reducing the sampling rate of signal, which is our target in the work of this paper, and we name it hardware solution on end node.To the best of our knowledge, the present work introduces four main contributions.

1.
In view of the signal in real world, we design an AIC model and construct it in MATLAB/Simulink environment.

2.
Due to our main target applications are embedded systems based WSNs for environmental monitoring, we design and implement an improved digital AIC architecture on an embedded development platform according to the requirements of environmental monitoring application.

3.
Three different greedy algorithms are studied to optimize recovering the data collected by AIC and we make a comparison of the performance among them as well.

4.
We perform an exhaustive performance and power analysis between presented AIC architecture and traditional sampling method on the Nyquist rate in order to quantify the potential of applying CS in low-power sensing, compression and transmission.
The remainder of this paper is organized as follows.Some related work is introduced in Section 2. Section 3 introduces some background knowledge of CS, including CS model, architecture of AIC, and signal recovery method.Section 4 demonstrates a simulation model of AIC, which is built in MATLAB/Simulink environment.The hardware design of an improved digital AIC based on embedded system is described in Section 5. Section 6 presents three greedy algorithms in data recovery and makes a comparison of their performance.From the experiment result, we confirm the sparsity adaptive matching tracing pursuit (SAMP) is relatively optimal in our application.The power analysis is discussed in detail in Section 7 and the conclusions of the paper are presented in Section 8.

Related Work
Because various methods can be used to reduce power consumption on a WSN node, there are many studies on WSN power consumption and optimization for prolonging the lifetime of a network.For example, research on protocols to minimize energy consumption during network activities has gained increasing attention [27].These power management schemes often focus on the duty cycling, where certain segments are set to a sleep state during idle mode [28].Average power consumption is shown to be significantly reduced in [29] using an analytical criterion to optimize the synchronization duty.In [30], to determine the optimal conditions for transmitter power control, a comprehensive analysis on WSN modules is presented that considers power consumption, RF propagation measurement, and RSM analysis and optimization.A notable alternative approach to energy-saving in WSNs is based on the massive multiple-input multiple-output (MIMO) framework.
For example, reference [31] analyzed the energy reduction laws for channel-aware decision fusion and employed massive MIMO framework for decentralized detection.In addition, some sub-optimal fusion rules were studied for a virtual MIMO channel in [32], which seemed to be more suitable for practical implementation and WSN energy budget reduction.Considering the path loss and uncertainty caused by estimated channel-state information, and the large antenna-array at a decision fusion center, reference [33] proposed some low-complexity sub-optimal rules to alleviate the severe energy constraints imposed on sensor nodes.To optimize the estimation problem in decentralized multi-sensor system, reference [34] proposed an optimal power allocation to reduce the total power consumption, and [35,36] analyzed the energy detection test used for MIMO decision fusion.
In [4], Candes proposed CS theory for the first time.CS theory states that, if the original signal is sparse, it can be reconstructed accurately at sampling rates well below the Nyquist rate by solving an optimization problem.Donoho offered a mathematical solution to the problem [5], which established the foundation of CS theory.In the last decade, there have been many interesting studies on a broad range of CS applications.For example, reference [14] applied CS to a radar system to acquire and reconstruct the high-dimensional image data.Moreover, the study proposed a novel architecture for a CS radar detector system that enables radar to be controlled adaptively under unknown noise and clutter.In another example, the authors in [21] investigated the potential of the CS signal acquisition/compression paradigm for ECG compression.The applications of CS in WSNs has attracted much attention as well.For example, reference [8] suggested using CS to take advantage of the possible joint sparsity of multiple sensor signals.In [10], the adoption of CS was suggested to address the data gathering problem in WSNs by considering the routing and network topology.Both [11,12] utilize the LEACH algorithm in WSNs, reference [11] performed node clustering and data recovery using Bayesian CS, and [12] used CS to improve the process of random sampling.
The theory of distributed compressed sensing (DCS), which considers the potential correlation of measurements at different nodes to extend a WSNs' area, has drawn increasing research attention.The authors of [37] proposed a DCS theoretical framework that combines the theory of distributed source coding and CS to extend the use of CS in multi-signal distributed WSNs.In addition, the authors presented three joint sparsity models to characterize the fundamental performance limits of DCS recovery.Practical algorithms for the joint recovery of multiple signals in each proposed model were also given.Of these models, JSM-2 is studied widely in those applications in which multiple sensors obtain the same signal but with different phases and attenuation because of signal propagation, such as in MIMO communication and acoustic localization [38].Moreover, reference [39] presented a new distributed algorithm based on sparse random projections that dose not need global coordination.In addition, reference [40] presented a DCS and data-fusion based data aggregation model and algorithm to improve the sensing precision and reduce the number of transmissions.
Studies on this topic have also been performed by our group.In [23,24], water quality and air quality monitoring systems based on distributed WSNs were presented.These systems support the acquisition and online monitoring via a PC or smart phone of conventional water and air quality measures like temperature, humidity, PM2.5, pH value, depth, electrolyte levels, and turbidity.However, with limited power storage in an outdoor deployment, the lifecycle of the system is effectively determined by the battery energy consumption.Therefore, how to decrease the energy consumption to prolong the network lifetime is the focus of our work.In [25], we proposed a model for data acquisition by combining CS and hierarchical routing.Furthermore, a quantitative mathematical analysis of the proposed model and a corresponding framework were presented.The experimental results showed that our solution is effective in large distributed WSNs.In [26], we introduced a novel solution using CS and the online recovery of large data sets and presented a new framework called the data acquisition framework of compressive sampling and online recovery (DAF-CSOR).Moreover, we compared the performance of three different greedy algorithms within DAF-CSOR.
In summary, the related studies and work mentioned above mostly make progress in the utilization of CS in WSNs in the view of improving the network routings, models, and algorithms during data transmission.Hardware design and implementation of CS-based signal acquisition on separate end device is a striking alternative on the other hand.There are a number of interesting studies aimed at implementing the data acquisition systems at sub Nyquist rate, which is called analog-to-information converter (AIC for short in this paper) normally.The authors of [17][18][19][20] introduced a new scheme of AIC system, named random demodulator (RD), which was constructed by readily available and robust components.In [20], the authors offered a theoretical analysis in detail to support the empirical observations from the viewpoint of system preformance.Meanwhile, the authors in [17] presented a complete transistor-level realization for AIC based on RD.Moreover, references [18,19] proposed a RD-based AIC system which uses modulation, filtering, and sampling, which made it possible for hardware implementation.For the high frequency signal from applications such as ultra wide band (UWB), reference [22] proposed a novel AIC architecture, named random modulation pre-integrator (RMPI) with the state-of-the-art RD, while the experiments with a discussion of possible hardware implementation was presented too in that paper.Considering further reducing the complexity as well as power consumption of state-of-the-art AIC system, reference [21] presented a new scheme in the application of ECG compression, spread spectrum random modulator pre-integrator (SRMPI), which used spread spectrum prior to random modulation.Summarizing, the work in this paper is inspired thanks to the related studies about AIC.

CS Model
In CS theory, the original physical signal can be represented as a vector X = [x 1 , x 2 , . . ., x N ] T , where N is the vector length.Specifically, let X be expanded via a basis ψ i , such that where α ∈ R N and ψ i ∈ Ψ. Ψ is an invertible transformation matrix of size N × N. If α has K nonzero coefficients and K N, then X is said to be K-sparse and Ψ denotes a sparse dictionary.The output signal of compressive measurement can be rewritten as the product of a matrix and a vector through random sampling, that is where Y ∈ R M refers to linear observations obtained through random sampling and Φ ∈ R M×N is measurement matrix when M N. It is important to remark that the measurement matrix Φ does not rely on the signal itself.In other words, a simple linear sampling adaptive strategy is provided, which is only marginally off for the optimal but complex for the best.The procedure of CS sampling is shown in Figure 1.To ensure the smooth reconstruction of the original signals, two conditions must be satisfied [5,6].
Condition 1.The input signal must be expressed in a certain domain, following where µ(ϕ, ψ) is the coherence coefficient between the measurement matrix Φ and the sparse dictionary Ψ, which measures the maximum correlation between any two elements of the two matrices.To recover the signal accurately, experience suggests that at least four unrelated samples are needed for each nonzero term, so that M ≥ 4K.
In general, Bernoulli matrix, sub-Gaussian random measurement matrix, and Gaussian white noise matrix are the measurement matrices used most commonly, which have same characteristics that the matrix elements follow a certain distribution independently.A small number of observations is required during accurate reconstruction as a result of the fact that those measurement matrices are irrelevant to the most sparse signals.

AIC Architecture
With the rapid development of information science, traditional analog-to-digital converter (ADC) designed according to Shannon sampling theorem face severe challenges.First, some applications of radio frequency (RF) systems need to sample high-frequency signals, which requires the use of high speed ADC.This is difficult with the current ADC design technology.Second, even for low signal bandwidths, sampling at the Nyquist rate might collect large amounts of redundant information, resulting in a waste of the limited resources and power of the system.
As introduced before, the CS-based signal acquisition system at sub-Nyquist rate, which is called analog-to-information converter (AIC) is studied in many related work in order to solve above problems.The benefit of this method is that the analog signals are sampled directly using a wide band pseudo random modulator and a low-speed sampler without analog-to-digital conversion.By considering the compromise of every aspect in our application such as circuit complexity, cost, characteristics of the original signal, we choose RD-based AIC to study in this work.The basic RD architecture [17][18][19][20] of AIC is shown in Figure 2. The procedure can be divided into three steps including signal modulation, filtering, and sampling.Modulation This stage uses a modulator whose input signal x(t) is multiplied by a continuous time sequence of pseudo random numbers p c (t) to obtain an output signal z(t).
Filtering In this stage, a low-pass filter is used as a simple accumulator to sum the modulated signal z(t) over a period of 1/M seconds.According to Shannon sampling theorem, the ideal symbol conversion rate of p c (t) is greater than or equal to the Nyquist rate of the original input signal x(t).

Sampling
The final stage utilizes a standard ADC and a quantizer to sample the filter output signal y(t) every 1/M seconds to obtain the digital signal y(m).
It can be further simplified as

Signal Recovery
With the sampled vector Y by AIC and the measurement matrix Φ, it is possible to estimate the sparse coefficient α by solving a problem through a reconstruction algorithm which can be written as where Θ is the recovery matrix and written as In general, the l 0 minimization described in Equation ( 9) is an NP-hard issue that can not be effectively resolved.There are two types of reconstruction algorithms commonly used today: l 1 -based convex optimization algorithms and l 0 -based greedy algorithms.One typical example of a greedy algorithm is matching pursuit (MP) [41], while the main convex optimization algorithms are the base tracking algorithm and gradient projection reconstruction algorithm.Although a convex optimization algorithm provides a better reconstruction, it requires larger transmission consumption, higher algorithm complexity and lower reconstruction speed than greedy algorithm.Considering the characteristics of WSNs and the limited resources in our application, we prefer to use a l 0 -based greedy algorithm for data reconstruction.Researchers have made a lot of effort to optimize the performance of classic MP, resulting in many improved algorithms, such as orthogonal matching pursuit (OMP) [42], regularized orthogonal matching pursuit (ROMP) [43,44], sparsity adaptive matching tracing pursuit (SAMP) [45], and compression sampling matching pursuit (CoSaMP) [46].

System Modeling
The construction of an AIC simulation model based on RD architecture in Figure 2 in MATLAB/Simulink soft environment is described in this section.The AIC system model mainly consists of a signal source, noise source, pseudo random sequence generator, multiplier, low-pass filter, and ADC, as shown in Figure 3.The original signals, which are collected by sensors in the natural environment, are stored in a text file and read by the signal source.The noise includes two parts, one is from the signal source and another from the transmission channel.The noise is filtered out from the original signals in amplification, so that the additive noise of the source is band-limited white noise.

Simulation Analysis
In order to quantify the compression performance in the assessment of following simulation results, three commonly used performance parameters, the compression ratio (CR), the related recovery error (RRE), and signal-to-noise ratio (SNR) are introduced.CR is defined as where b O and b C are the required bits' number for the original and compressed signals.The RRE, and associated SNR, represent error between the original signal vector X and the recovered signal vector X', can be written as In our proposed system, the recovery algorithm is realized by programming.The main performance indexes of the model are obtained from a simulation test of the multi-group data.The AIC simulation process is illustrated in Figure 4. First, the original sparse signal of length N = 1000 is generated, as shown in Figure 4a.Assuming the input SNR is 18 dB, the sparsity K = 10 (i.e., the original signal contains 10 important signal components), and the maximum frequency is 500 Hz, the symbol conversion rate of the pseudo random sequence of {+1, −1} should be 1000 Hz at least, as shown in Figure 4b.In this simulation, we use the observation number M = 100, which means CR = 90%.The output signals are obtained after signal modulation, filtering, and sampling, which are illustrated in Figure 4c-e, respectively.Figure 4f shows the reconstructed signal x'(t), which is obtained using SAMP.The output SNR of the reconstructed signal x'(t) reached 17 dB.The results show that the proposed AIC model can successfully compress the sparse signal x(t) and recover the original signal well.This method supports the reliable signal construction when the input SNR is as low as 7 dB.
For further analysis, the system performance is tested under K = 4 and 8 with different observation numbers.The simulation and reconstruction results are presented in Table 1 and Figure 5, where M stands for the observation number.From the results above, it can be seen that when K = 8, the output SNR is less than 10 dB when M < 35 (i.e., CR is greater than 96.5%).However, when M < 25, the output SNR is less than zero, which means the original signal cannot be recovered precisely.When M ≥ 35 (i.e., CR is less than 96.5%), the output SNR is greater than 13.78 dB, and reaches a maximum of 20.74 dB.The system performance is tested in the same way when K = 4.When M < 20 (i.e., CR is greater than 98%), the output SNR is less than 1 dB, and the original signal fails to recover accurately.
By analyzing the simulation results, we have verified that, in practical applications, the relationship between M and K described in Equation ( 3) can be approximated as M ≥ 4K.When N = 1000, values of K = 4, 8, and 10 require M to be greater than 16, 32, and 40, respectively.Table 1 and Figure 5 show that when M ≥ 4K, sparse signals can be compressed and reconstructed.
In addition, when the sparsity is lower, CR is higher.To obtain a higher CR, the observation number M should be as small as possible.However, considering the accuracy of the reconstruction, the observation number M should be greater than 4K in practical situation.

Experiment Results
To evaluate the validity and reliability of the proposed AIC system, we have carried out some experiments to sample the water temperature data from a 5-day period as the original data.The average daily water temperature exhibits an upward trend with a certain cyclical component and the initial output signals of the temperature sensor range from 60 to 100 mV.Through three stages of amplification, the original signal x(n), the amplitude of which is 330-450 mV, is shown in Figure 6a.It is able to obtain its corresponding signal X(k) in frequency domain through Discrete-Time Fourier Transform (DFT), as shown in Figure 7, where Fs stands for sampling frequency.In practice, Fast Fourier Transform (FFT) is used in programming instead of DFT to reduce the complexity of algorithm.Seen from Figure 7, we could get that the sparsity K is 18 approximately by ignoring those signals in very small value.Since the fact that such important signal components within the domain of low frequency, sufficient information could be obtained because the symbol conversion rate of the pseudo random sequence is greater than the Nyquist sampling rate of the original signal.In this experiment, N = 500, and the observation number M = 50.Thus, CR is 90%. Figure 6b-f show the various stages of CS using AIC, including the pseudo random sequence signal, modulated output signal, filter output signal, sampled output signal, and reconstructed signal.The experimental result in Figure 6f shows that the reconstructed signal is able to recover the original signal accurately.The input SNR is 18 dB, and the output SNR is 16.91 dB.

Hardware Design of AIC System
Our proposed AIC system is designed to process environmental parameters such as temperature, humidity, and pH value signals, which have the characteristics of low frequency and high sparsity.In such practical applications, the AIC system will not put too much pressure on the ADC in terms of data sampling.However, with the emergence of an increasing number of digital sensors, it is more convenient to use discrete signals in signal processing.In view of this situation, the traditional RD-based AIC model in Figure 2 is modified and we propose an improved digital AIC system shown in Figure 8.In that improved digital AIC system, the original signal x(t) is amplified and preprocessed before modulation.The output signal of most environmental sensors is very weak, e.g., the E201-C pH sensor (INESA Scientific Instrument, Shanghai, China), which has a low-frequency output signal of just a few millivolts.It is impossible to collect such weak signals without amplifying, filtering, and other processing.Thus, an integrated operational CA3140 amplifier (Intersil, San Jose, CA, USA) is chosen to amplify the signal, and we use Arduino DUE development platform (Arduino, Turin, Italy) for preprocessing, which has a good balance between low power consumption and rich resources.The preprocessed signal is sampled by the internal low-rate 12-bit ADC of an on-board Cortex-M3 ARM processor (Atmel, San Jose, CA, USA).Then, the on-chip 12-bit DAC converts the processed data to the discrete original signal x(n).
The built-in Linear Feedback Shift Register (LFSR) of the ARM processor is used to generate a pseudo random sequence.In its code, the function randomSeed() is utilized to initialize the random number generator with a fairly random input, such as analogRead() on an unconnected analog pin.If analog input pin 0 is unconnected, random analog noise will cause the call to randomSeed() to generate different seed numbers each time.Every time a pseudo random number 0 or 1 is generated, a low or high voltage value, respectively, is written into the digital output port pin.The frequency of the pseudo random sequence is controlled by the delay time.A flow chart of the pseudo random sequence generation is illustrated in Figure 9.The digital output port of ARM processor can generate a sequence of random numbers of {0, 1}.In order to obtain a ±1 Bernoulli matrix, a subtraction circuit is designed using an operational amplifier to get the required {−1, +1} signal, which is shown in Figure 10.U OUT could be calculated according to In order to meet the requirement of impedance matching, appropriate resistances are selected in Figure 10 according to Equation (13). Figure 11 shows the signals measured by mixed domain oscilloscope MDO4034 (Tektronix, Johnston, SC, USA), in which Arduino generated original signal with blue color and the output pseudo random sequence from the conversion circuit with red color.An AD633 multiplier (Analog Devices, Norwood, MA, USA) is used to modulate the discrete input signal x(n) and pseudo random sequence p c (n), which spreads the spectrum of the original signal.The amplitude of the pseudo random sequence p c (n) is ±1 V with 1000 Hz symbol conversion rate, which can effectively sample sensor signal within 500 Hz.
Taking into account the actual situation, a low-pass filter replaces the integrator.A Chebyshev filter can effectively remove the high-frequency interference signal because its frequency response is better than that of other filters.A bipolar active filter is used to reduce the power consumption and loading effect of filtering.Because the signal decrease 10 times in the AD633 multiplier, the two-staged voltage-controlled low-pass filter is designed to overcome that attenuation, as shown in Figure 12.The transfer function for this filter is where constants B and C are normalized coefficients, g is the voltage gain and ω c is the cut-off frequency.
Finally, an ADC circuit is designed using the 12-bit serial AD converter chip AD7898 (Analog Devices, Norwood, MA, USA) to sample the output signal of the filter.The ARM microprocessor (Atmel, San Jose, CA, USA) then reads the output signal after sampling and quantization, and thus determines the actual observation.
The proposed improved digital AIC system does effectively reduce the output rate of system data.Furthermore, the structure of the existing data measurement scheme is relatively unchanged.In this design, we use the internal LFSR of the ARM microprocessor to generate the pseudo random sequence, rather than using the components to construct an LFSR [17] or using an FPGA, which further reduces the cost and complexity of the system.It should be noted that the sampling period of the ADC circuit must be precisely adjusted, otherwise the characteristics of the measurement matrix cannot be fully identified.This may result in the system not reconstructing the original signal accurately.Compared with the sampling period of the ADC, the time deviation of the system must be small enough to effectively reduce the time error so that the system performs better at low frequency.

Data Reconstruction
Data reconstruction plays a very important role in our project.In this section, we study three l 0 -based greedy algorithms, ROMP, SAMP, and CoSaMP.The reconstruction performance of these three algorithms is first compared in Figure 13.For this simulation, the original signal was collected in our designed monitoring WSN system [23,24].We then used the RD-based AIC system simulation model presented in Section 4 to obtain the sampled output signal as the input of reconstruction.The simulation soft environment was MATLAB 7.0.In Figure 13, the blue and red lines represent the original and recovered signals, respectively.Because of their different atomic selection strategies and iteration stop conditions, the performance of the three algorithms differs.The relative error and running time of the three algorithms are measured and compared in Figures 14 and 15, respectively.
The relative recovery error (REE) is calculated according to Equation (11). Figure 14 shows that the SAMP provides an obviously lower REE than the other two recovery algorithms thanks to its backtracking and improved atomic selection procedure.Thus, SAMP has the capability of sparsity-adaptive.
In Figure 15, the results show that ROMP has best running time performance and CoSaMP also performs well.The running time of SAMP is the worst because it is constrained by the step length.However, when the step length is modified so that its sparsity is close to that of the real data, the running time is improved significantly.In our application, because the data reconstruction work on the sink node without energy limit, there is no influence on the lifetime of the end node.In summary, to balance reconstruction accuracy with running time, we conclude that SAMP is the best choice mainly because of its sparsity-adaptive capability, which adapts the reconstruction to the signals with unknown sparsity that often occur in practice.

Power Analysis
In this section, several power consumption models for evaluating our system design are introduced.We compare and analyze the power consumption of the ADC and AIC during signal sampling and wireless transmission, respectively, as illustrated in Figure 16.

Power Analysis in Signal Sampling
During the stage of signal sampling (SS), the theoretic power models of ADC and AIC are denoted as P ADC−SS and P AIC−SS , and calculated as follows [47].
where BW f is the signal bandwidth, FOM is ADCs figure-of-merit, T 1 and T 2 are constants, and G A is the amplifier gain.In addition, N, M, ENOB, and G A are the tunable parameters for the AIC system, while only ENOB and G A can be tuned in the ADC.Note that G A should be set differently for the ADC and AIC systems.In the ADC system, the input signal is sampled directly by the ADC at the Nyquist sampling rate.On the other hand, it is an accumulated signal from the integrator that is sampled by the ADC device in the AIC system.Because the accumulated signal is larger than the original, the required G A could be significantly lower in the AIC system than in the ADC system.Another difference concerns parameter FOM, which is used to measure the power per sample per effective number of quantization steps.Because of the fact that the ADC in the AIC system normally works at a much lower frequency, it has a smaller FOM than the ADC system does [47].
For our application, because of the features of the original input signal such as low frequency, medium resolution, and small amplitude, we adopt the AIC system for the main purpose of data compression.Here our desirable target is for 10× compression.The main simulation parameters of the AIC system are shown in Table 2.  17 compares the power consumption of the ADC and AIC during signal sampling.The results show that although the power consumption of the mixers and integrator in the AIC is significant compared with the ADC, the AIC system is successfully able to reduce the overall sampling cost.The AIC system reduces the overall power consumption by 43.5% compared with a traditional ADC at the Nyquist sampling rate.

Power Analysis in Wireless Transmission
The wireless transmission (WT) model [48], which includes data transmission (TX) and data reception (RX) is shown in Figure 18.
In wireless communication, the power consumption depends on the communication distance and data bits, which are denoted as d and b.The TX energy consumption involves two parts, the energy cost of circuit E cir , and the cost of amplifier E amp .Only E cir is included in the RX energy consumption.
The XBee S2C produced by DIGI company was selected as the wireless communication module.It uses the ZigBee protocol.Some parameters from its datasheet are listed Table 3.Because of its strong signal compression ability, a node using the AIC system sends and receives much less data during TX and RX, resulting in significantly reduced energy-consumption.Assuming the data size is 1024 bits in transmission and the communication distance is 100 m, Figure 19 shows the energy consumption of the system using the AIC and ADC in the TX and RX stages.

Conclusions
This paper presented a CS-based signal acquisition system that solves the limited energy problem of sensor nodes in environmental monitoring WSNs.With state-of-the-art work related to CS and AIC, we constructed an RD-based AIC architecture and corresponding simulation model in the MATLAB/Simulink environment.In addition, the improved digital AIC system was designed and implemented using an embedded system for the first time.Three different recovery algorithms were also studied to evaluate the reconstruction of the signal from our proposed AIC system.Finally, power consumption of the AIC and traditional ADC during signal sampling and wireless transmission was compared.The experiment results show that our proposed AIC system overcomes the Nyquist limit and exhibits good recovery performance when using a low-complexity greedy algorithm, which is suitable for environmental monitoring WSNs.

Figure 1 .
Figure 1.The basic framework of CS sampling.

Figure 3 .
Figure 3.The RD-based AIC system model in MATLAB/Simulink.

Figure 9 .
Figure 9. Flow chart of pseudo random sequence's generation.

Figure 13 .
Figure 13.Reconstruction performance of three recovery algorithms.

Figure 14 .
Figure 14.Comparison of relative recovery error (REE) among three recovery algorithms.

Figure 15 .
Figure 15.Comparison of running time among three recovery algorithms.

Figure 16 .
Figure 16.Architecture of the system.

Figure 17 .
Figure 17.Comparison of power consumption between analog-to-digital converter (ADC) and AIC system in signal sampling.

Figure 19 .
Figure 19.Comparison of power consumption between ADC and AIC system in wireless transmission.

Table 1 .
Simulation results under different CR with K = 8 and K = 4.

Table 2 .
AIC system simulation parameters for power consumption in sampling.

Table 3 .
Energy consumption of XBee S2C per bit when d = 100 m.