Abstract

Wireless sensor network (WSN) technology has increasingly assumed an active role in detection, identification, location, and tracking applications after more than ten years of development. However, its application still suffers from technology bottlenecks, which must be solved and perfected to eliminate the key problems of the technology. This article investigates WSN acquisition nodes and analyzes the relationship between the frequency and actual pressure values of sensor nodes. The sensitive mechanism of the surface acoustic wave (SAW) based on a micro force sensor is researched, and the principle of least squares method is used to establish a transformation model of frequency and pressure for the SAW sensor. According to the model, polyfit function and matrix calculation are selected to solve and calculate the estimate of the polynomial coefficients, which simulate the data acquisition of WSN nodes and draw a polynomial curve fitting. The actual SAW sensor is tested to demonstrate the reasonableness of the device stability in WSNs.

1. Introduction

Wireless sensor network (WSN) technology has various applications in many disciplines and fields, such as communication, embedded computing, data processing, torrent analysis, and sensor technology. A set of integrated sensing, information processing, and communication units of wireless sensor nodes constitute WSNs without infrastructure [1]. Wireless sensor nodes in WSNs monitor and collect data in their coverage areas; they then collaborate with nodes and send the collected data to the coordinator nodes by multihop wireless through transmission channels [2]. The coordinator nodes then use the Internet or other channels to interact with users. WSNs have significant advantages in replacing traditional wired network transmission modes [3]. The important scientific and practical values of WSNs have gained much attention from many researchers and have been recognized as an emerging research field since the 2000s [4]. WSNs mix the logical information and real physical worlds together and transform the interaction between humans and nature [5, 6].

The monitoring environment is currently becoming increasingly complex. Simple data acquired by traditional sensor networks cannot meet the full requirements of environmental monitoring. Achieving fine-grained and accurate monitoring information is urgently needed. Actual application demands indicate that WSNs are usually composed of hundreds of sensor nodes, which are specifically or randomly deployed based on the interest within a particular geographical or physical area. These nodes sense factors in the external world, such as temperature, humidity, pressure, vibration, magnetic field, and light intensity; they also complete observations in target detection, identification, location, and tracking [710]. Surface acoustic wave (SAW) is an interdisciplinary subject that includes acoustics, electronics, piezoelectric materials, and semiconductor technology applied in the rapid development of large-scale integrated circuits of microelectronics, computer, silicon micromechanical processing, semiconductor planar process, and laser technologies. SAW sensors have excellent properties, such as passivity, small size, low cost, excellent temperature stability, high reliability, and high reproducibility, which overcome the complicated algorithms and high power of VLSI [11, 12] and the large size and low reproducibility of optical devices [13]. The development of SAW based on a micro force sensor has been oriented toward intelligent wireless networks [14, 15]. Frequency and pressure conversion in the network optimization problem of SAW pressure sensors has become an urgent research topic. The method of implementing wavelet transform using SAW devices was first proposed by Zhu and Lu. Nowadays, micromanipulation has performed to design the precise pressure device in WSNs [16]. In order to design precise pressure devices in WSNs, micromanipulation is currently performed.

Different devices for intelligent and wireless networks have been developed and integrated. Lü established the force model whose device stability and precision of elastic modulus analysis should be improved [17]. Jungwirth described a micromechanical precision pressure sensor in delay lines [18]. Muntwyler designed a three-axis micro force sensor, which suffers from the problem of measurement uncertainty [19]. The present study constructs a SAW sensor based on a micro force sensor device on two sides and force-measuring elements that use a cantilever beam. The device is also equipped with single channel inductive components, and its electromagnetic field interference is more sensitive than that of others. Two inductors are placed at 90° to decrease the interference between them. A mathematical model is also established to analyze the frequency of the varied pressure. The SAW based on a micro force sensor has good linearity, consistency, and repeatability in performance within the scope of the effective measurement. It also uses the piezoelectric properties and temperature stability of crystals, which enhances the signal processing of this device in terms of its digital features and stable WSN performance.

The velocity and phase of the SAW based on a micro force sensor are changed after sensing the change in the quantity, which is generated by the interdigital transducer (IDT) of the SAW device. The output signal is directly measured by the network analyzer. The rest of this paper is organized as follows: Section 1 presents the background research on WSNs. Section 2 discusses the pressure-sensitive mechanism of a SAW based on a micro force sensor. Section 3 develops a simulation model using the principle of the least squares method. Sections 14 shift the focus of the study to the relationship between frequency and pressure, which in turn obtains the relationship between the output signal and sensing volume. Section 5 presents the testing and analysis of the SAW based on a micro force sensor used under different pressure levels. Section 6 analyzes temperature compensation of SAW based on a micro force sensor.

2. WSNs

2.1. Concept of WSNs

WSNs are a multihop self-organizing network system by wireless communication, which is composed of a large number of sensor nodes in monitoring areas [20]. Its purpose is to perceive, collect, and process the information of objects in the network and send it to observers.

The structure of WSNs is shown in Figure 1. Sensor network system usually consists of sensor nodes, sink nodes, and management nodes.

In wireless sensor networks, sensor nodes are deployed in monitoring areas for automatic detection. Each sensor node sends out wireless signals and then constructs a network that supports dynamic topology in a self-organizing manner. In this network, the node has some association with cluster. In the cluster, usually according to certain rules, a sink node (such as nodes A, B, C, D, and E in Figure 1) is to be elected. The data is processed via the Internet or satellite system.

2.2. Wireless Sensor Network Node

Sensor node is the basic unit of wireless sensor network, which is composed of processor module, wireless communication module, sensor module, and power management module as shown in Figure 2. Sensor module is mainly composed of various types of sensors, AD/DC conversion module structure. Due to different physical signals, different types of sensors are used for data acquisition, and then data are transmitted to the processor module for processing. And the processor module is computing core of wireless sensor network node whose design requires miniaturization, low cost, stability, and security. Data communication protocols of sensor network in wireless communication module include physical layer, link layer, network layer, and application layer. The power management module not only provides the necessary energy for operation of sensor nodes, but also provides necessary power management to prolong the lifetime of wireless sensor networks.

WSNs have a very close correlation, and different applications require different network models, hardware platforms, and system software. In the design of sensor nodes, the following aspects should be considered.

(1) Miniaturization. Wireless sensor network node requirements are as small as possible on the volume, without affecting the performance of the system.

(2) Low Cost. Low cost is the basic requirement of WSN node.

(3) Stability and Security. Under conditions of given temperature, humidity, and pressure, each module of sensor node can work normally.

SAW sensors have excellent properties, such as passivity, small size, low cost, excellent temperature stability, high reliability, and high reproducibility, whose development based on a micro force sensor has been oriented toward intelligent wireless networks. Therefore, it is highly possible to use SAW pressure sensors in wireless sensor networks.

3. SAW Based on a Micro Force Sensor

A SAW sensor is a new type of sensor that combines SAW, thin film, and electronic technology. This sensor translates different physical, chemical, and biomass information around SAW devices into changes in the SAW oscillator frequency by detecting the parameter variation in the frequency to monitor acceleration, temperature, humidity, pressure, shear, and bend. This device also uses the piezoelectric properties and temperature stability of crystals and the frequency signal instead of the conventional pressure sensor with a voltage signal. This approach enhances the signal processing of the device in terms of its digital feature and stable performance. SAW sensor technology is relatively mature at present; researchers have successfully developed pressure, temperature, mass, humidity, and gas sensors.

3.1. Principle of SAW Device

The basic structure of a SAW device is shown in Figure 3. This device manufactures two acoustic electric transducers on the piezoelectric characteristic substrate material-polishing surface, which is defined as the transmitting and receiving IDT (i.e., input and output IDT, resp.). An electrical signal applied on the input IDT generates an opposite polarity potential in two busbars such that an adjacent electric field is generated between two finger pair types. The piezoelectric material surface experiences strain in the electric field, when it affects the substrate with inverse piezoelectric. If the applied electrical signal is alternating, the deformation of the piezoelectric material surface propagates through the piezoelectric material surface; this process is called the SAW excitation process. It can produce an electric charge in certain directions of the piezoelectric materials through the output IDT excitation, which the SAW sensor propagates. Given the presence of the interdigital electrode, the charge accumulates on the electrode such that the output IDT busbars can check the corresponding electrical signal [21].

3.2. Basic Structure and Principle of a SAW Based on a Micro Force Sensor
3.2.1. Basic Structure of a SAW Based on a Micro Force Sensor

The output frequency of the SAW based on a micro force sensor is conducted using the network analyzer equipment E5061A. Force-measuring elements employ a cantilever beam loaded with a pressure of 0 kPa to 20 kPa as shown in Figure 4.

The piezoelectric substrate adopts a cantilever structure where two ends are fixed and the middle is loaded with micro-pressure. The cantilever experiences deformation when micro-pressure is loaded at the middle of the cantilever. The SAW propagation path is consequently changed. Otherwise, the output frequency is also changed and can detect the micro-pressure loaded on the cantilever.

3.2.2. Principle of Operation

The center frequency of the SAW device is ; the equation is as follows:where is the propagation velocity of the SAW on the surface of the piezoelectric substrate material and is the SAW length. Thuswhere is the elastic modulus of the piezoelectric substrate material and is the density of the piezoelectric substrate material.

Equation (3) can be derived from (1) and (2) as follows:

Given that the distribution of the IDT fingers is homogeneous, the relationship between the wavelength and distance of the IDT fingers is as follows:

is the propagation velocity of the SAW that does not load the micro-pressure. , thus, is the SAW center frequency which is written as follows:

The piezoelectric substrate of the cantilever structure experiences deformation when the micro-pressure is loaded on two ends of the cantilever. The formula can be written as follows:

The relationship between the distance of the IDT fingers of the SAW device and the piezoelectric substrate deformation is as follows:

The following can be obtained from (4) and (7):

Equation (8) shows that when the micro-pressure is loaded at the middle of the cantilever, the SAW length that propagates along the piezoelectric substrate increases.

Equation (1) shows that the micro-pressure loaded on the cantilever changes the material density and velocity of the SAW pressure sensor. The relationship between and can be expressed as follows:where is a constant of the piezoelectric substrate material.

The function relationship between the output frequency of the SAW based on a micro force sensor and the piezoelectric substrate deformation can be obtained by substituting (8) and (9) in (5):

The output frequency is then equal to the following equation:

Given that the cantilever experiences deformation at the micro-pressure , (10) is rewritten as

The following equation is then obtained:

Equation (13) shows that the sensor output frequency changes the variety of cantilever deformation when the substrate material constant is determined. In other words, using the SAW drift output frequency can measure the micro-pressure weight loaded on the sensor cantilever.

4. Creating and Solving the Linear Regression Model of a SAW Based on a Micro Force Sensor

4.1. Establishing the Model

According to the SAW based on a micro force sensor, input variable (micro-pressure) and output variable (frequency) can be recorded. The difference between the input and output variables is the linear function relationship established in what follows. From (13), the function relationship between the micro-pressure loaded on the sensor () and the difference frequency () of the output frequency can be written as follows:

The least squares method can be used to solve (14) [22].

Given the experimental data sample () and setting , (14) is equal towhere the regression coefficients , and can be estimated using the least squares.

4.2. Least Squares

A series of data pairs, such as (), can generally be obtained using the principle of the least squares method and by researching the relationship of the two variables . If these points are nearly a straight line, we can set the line equation that describes the data in the - Cartesian coordinate system as follows:where and are arbitrary real numbers.

Establishing a linear equation to determine and is necessary to obtain the sum of squares of the deviations of the measured value and the calculated value from (16) as follows:

According to the least squares method, is the sum of variance between the predicted dependent variable and its actual value.

The following equation is obtained by substituting (16) in (17):

The partial derivatives of and can be calculated using the function , when is at its minimum. The two partial derivatives are set to equal zero:Thus,

The two equations of the unknown and can be calculated and (16) solved [23].

4.3. Analysis of Solving the Model

According to the least squares method in (16) to (20), the sum of the variances between the predicted value and the actual value in (15) is given aswhere is the sampling point of the independent variables. The least squares estimation therefore calculates the minimum value of , which implies that , and must be suitable for the following equation:where , and are the least squares estimations of , and , respectively.

Setting the equations we can obtain the following:

Further simplifying the said equations we obtain the following:

The following equations are set:

Equation (25) can be written as follows:

Solving (27) yields the estimated value of the parameters of the regression analysis model shown in (15). The input and output variable regression of the SAW based on a micro force sensor can be calculated by solving (15).

4.4. Model Solution
4.4.1. Experimental Setup

On the basis of previous study, different size sensors were fabricated. Then, the network analyzer E5061A is used for testing (Figure 6).

Force-measuring elements employ a cantilever beam loaded with a pressure of 0 kPa to 20 kPa; a pressure of 1 kPa is added to the beam each time. Because of the fluctuation of the frequency in the measurement, it is necessary to read the data after a period of time, and the more the data is, the more accurate the frequency conversion formula will be.

Environment of equipment is not complicated; the test can be operated on the experimental platform. And there is no special requirement for operators; they need to operate carefully.

4.4.2. Experimental Data

The experimental data were measured in the laboratory as shown in Table 1 [24]. (kPa) is the acting force on the piezoelectric substrate, is the minimum and maximum frequencies tested by the network analyzer, and is the difference between the maximum and minimum frequencies.

4.4.3. Selecting the Degree of Polynomial Fitting

This study uses six-degree polynomial fitting, which can be proven directly by the polynomial fitting procedure three to seven times. The main program is as follows: = 81, 88, 90, 93, 94, 103, 105, 107, 109, 113, 116, 117, 121, 122, 124, 128, 132, 135, 139, 143, 147]; = 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20]; = zeros(5, 7); % Define the matrix sizefor = 2 : 6; % 3 to 7 times fitting[] = polyfit(); % Polynomial fitting; % Assign to matrix = polyval(); % Calculate the fitting values of ; % Calculate the standard deviation between the fitting value and original dataend

Results are as follows:Columns 1 to 50.5761653034854160.4052167106738340.3936762189114610.3641523737893250.347679434090903.

The variance decreases rapidly when the polynomial number is more than 5. The increase in the number also quickly decreases the errors. Thus, a six-degree polynomial fits the laboratory data.

4.4.4. Solving the Polyfit Function

This study constructs an analytic function based on the principle of curve fitting, which is the polynomial . This function ensures that the original discrete points on the data set are as close as possible to the given value. After solving the function, the following fitted values are obtained:% in the form of diminishing a dimension provides the fitting polynomial coefficients.

4.4.5. Matrix Calculation

Solving (16) requires the calculation of an approach to a computed matrix in MATLAB. The obtained results are given polynomial coefficients in the form of an increasing dimension number.

The value of is as follows:

The results of that retain 18 significant figures are as follows:

5. Fitting Results and Curve

The following arithmetic formula is obtained using the matrix method to solve the final frequency pressure polynomial:

The polyfit function method can be used to solve the same equation:

The polyfit function is a curve fitting function that uses the least square parameter in MATLAB. Its principle is to construct an analytic function or polynomial through the discrete points on the data set and ensure that the original discrete points approach the infinity of the given value. The matrix function uses the matrix arithmetic method to solve a data set, which belongs to the method of linear algebra. Using two methods to calculate the frequency and pressure conversion algorithm results in a generally consistent trend in this study with a certain range of error.

In the picture, the data are as follows:(1)(0, 81)(2)(1, 88)(3)(2, 90)(4)(3, 93)(5)(4, 94)(6)(5, 103)(7)(6, 105)(8)(7, 107)(9)(8, 109)(10)(9, 113)(11)(10, 116)(12)(11, 117)(13)(12, 121)(14)(13, 122)(15)(14, 124)(16)(15, 128)(17)(16, 132)(18)(17, 135)(19)(18, 139)(20)(19, 143)(21)(20, 147).

Figure 7 shows the polynomial simulating curve. The small red circle shows the relationship between the experimental values of the frequency difference and the experimental values of the pressure. The black line shows the relationship between the experimental values of the frequency difference and the pressure fitting values. The polyfit function also exhibits better polynomial fitting performance than the matrix calculation when the experiment data are significantly large. Unlike other published approaches, the small circle distribution is successfully simulated through the polynomial curve fitting. The normal interfacial stress sensor cannot measure a stress range less than 11 kPa. We designed the SAW based on a micro force sensor, which is based on the polyfit function and matrix calculation to overcome precisely this shortcoming. The sensor has better anti-interference and higher accuracy than others, can measure a range of 0 kPa to 20 kPa of microstress, and has good linearity (Figure 5).

6. Temperature Compensation

In this paper, a new type of SAW sensors is based on LiNbO3. In order to ensure accuracy of data in the measurement, it is necessary to analyze the temperature compensation. The same reference device and the original measuring device are arranged in parallel. The output difference frequency method is adopted to eliminate the interference of temperature, humidity, and noise, as shown in Figure 8.

The output frequency of a SAW sensor is is the initial temperature, is the ambient temperature, is the difference temperature between the initial temperature and ambient temperature, and is the temperature coefficient of a SAW sensor. is the difference output frequency between one sensor and the reference sensor; then (33) is given aswhere is the initial frequency of the output of the sensing device without loading micro-pressure in temperature . The output frequency of the reference SAW sensor is ; the formula can be written as follows:where is the initial frequency of the output of the reference device without loading micro-pressure in temperature and the temperature coefficient of a reference SAW sensor.

The difference frequency () between and can be calculated:

When and are equal, the difference of the output frequency of sensors is only related to the difference of temperature between the initial temperature and ambient temperature ; then the reference device can completely compensate the influence of temperature on the sensing device.

Due to the difference of SAW devices, temperature coefficients cannot be equal. However, the sensor and the reference sensor have the same material, design, and fabrication; a certain amount of error will not affect the system so that the temperature compensation of SAW sensors can be fully realized.

7. Conclusion

WSNs have an active role in the detection of seismic and electromagnetic parameters, temperature, humidity, noise, light intensity, pressure, soil composition, size of a moving object, and speed and direction of the surrounding environment. As a new sensor type, the SAW based on a micro force sensor has high precision, small size, and high reliability characteristics in line with the high demand for sensors in the rapid development of WSNs.

This paper presents two different methods of analyzing the frequency and pressure conversion optimization algorithm of a SAW based on a micro force sensor. The polyfit function and matrix calculation, which are based on WSNs, SAW detection, and least squares method, have practical applications in the data acquisition of the proposed sensor in WSN nodes.

The study also proposes the pressure difference and frequency conversion method based on the relationship between the frequency and actual pressure data. The difference in the frequency data for different pressure values can also be established through the least squares model. The best estimate for the value of the polynomial coefficients and optimized model can be obtained after determining the minimum sum of the squares of the difference between the predicted and actual values. This approach decreases the measurement error and improves the advantages and competitiveness of the SAW-based micro force sensor in WSNs. SAW sensors in different WSN nodes use the piezoelectric properties and temperature stability of the crystal and the frequency signal instead of the conventional pressure sensor with a voltage signal. This approach enhances the signal processing of the device in terms of its digital feature and stable performance. Nevertheless, several fundamental problems still need to be solved, such as using more than one polynomial function in the fitting curve, expanding the scope of the pressure, and increasing the sampling data. Further studies on these issues should be undertaken in the future.

Conflicts of Interest

The authors declare that they have no conflicts of interest.

Acknowledgments

Authors’ deepest gratitude goes first and foremost to Professor Chuangchun Zhu, and the authors acknowledge the National Natural Science Foundation of China (no. 61274078), National Basic Research Program of China Textile Industry (no. J201608), and Research and Innovation Project of Graduate Students of Shanghai University of Engineering Science (E3-0903-16-01182) for the financial support and technical assistance.