Next Article in Journal
Investigating the Impact of Washing Cycles on Silver-Plated Textile Electrodes: A Complete Study
Next Article in Special Issue
Wireless Systems and Networks in the IoT
Previous Article in Journal
Novel Method of Semantic Segmentation Applicable to Augmented Reality
Previous Article in Special Issue
Channel Prediction Based on BP Neural Network for Backscatter Communication Networks
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Compensation Method for Sensor Network Clock Error Based on Cyclic Symmetry Algorithm

1
School of Information and Communication Engineering, Communication University of China, Beijing 100024, China
2
Internet Technology Institute, Academy of Broadcasting Science, Beijing 100866, China
3
Institute of Research and Development, Duy Tan University, Da Nang 550000, Vietnam
*
Authors to whom correspondence should be addressed.
Sensors 2020, 20(6), 1738; https://doi.org/10.3390/s20061738
Submission received: 12 November 2019 / Revised: 12 January 2020 / Accepted: 26 January 2020 / Published: 20 March 2020
(This article belongs to the Special Issue Wireless Systems and Networks in the IoT)

Abstract

:
Since the existing methods cannot evaluate the time delay of different layers of sensor networks, there are some problems such as the low precision of clock error compensation, high time delay, and low efficiency of communication in sensor networks. To solve this problem, a method of clock error compensation in sensor networks based on a cyclic symmetry algorithm is proposed. Based on the basic theory of cyclic symmetry, the cyclic symmetry matrix of the sensor network is constructed; in the communication process, all nodes are extended to get the cumulative delay rate of the sensor network in the specified time domain. Using the cumulative delay rate of the cyclic network and the sensor network, the autoregressive integral sliding mode control model is established to compensate for the cumulative error of clock synchronization. The simulation results show that the compensation accuracy of this method is more than 98%, which can effectively reduce the delay of sensor network. It improves the communication efficiency of the sensor network, meets the communication requirements of the sensor network, and has a very broad application prospect.

1. Introduction

Due to the shrinking size of hardware devices and the rapid development of software computing speed, wireless sensor networks are put into use. Wireless sensor networks are powerful and versatile [1]. At present, wireless sensor network applications cover many fields such as public safety, security intensification, health monitoring, intelligent transportation, environmental monitoring, battlefield reconnaissance, target tracking, and emergency location and navigation of fire scenes [2].
Wireless sensor networks can implement functions such as area detection, information collection, distributed processing, information fusion, and data transmission, which can replace human beings in the face of dangerous environments or environmental monitoring that humans cannot reach [3]. In the military field, wireless sensor networks can be used to monitor conflict zones, reconnaissance local terrain and arming, and detect nuclear, biological, and chemical attacks or hazardous materials. It can also monitor enemy movements, monitor enemy forces and equipment, locate and track targets, and provide a basis for decision-making [4]. In the field of industrial control, wireless sensor networks can realize industrial control process monitoring, industrial waste gas monitoring, and promote the intelligent production equipment and flexible production methods [5]. In the agricultural field, wireless sensor networks collect and control environmental information, animal and plant information monitoring, agricultural irrigation automation control technology, grassland humidity, and animal feeding [6]. In the field of smart grids, wireless sensor networks store and correlate electricity information, provide power-saving feedback services, form an efficient and environmentally-friendly smart grid system, integrate power flow, information flow, and business flow, and improve grid operation capability. In the medical field, wireless sensor networks are used in drug management, surveillance monitoring, telemedicine, etc. [7]. The next step will be to integrate the medical system, achieve resource sharing, and ultimately establish a coordinated, collaborative medical system that provides personalized health services.
At present, wireless sensor networks have achieved fruitful results in basic theories and key technologies such as network protocols, wireless communications, data management, network security, and clock synchronization. However, wireless sensor networks still have shortcomings such as limited power, limited computing power, and limited storage capacity. The battery energy of the sensor node is limited. On the one hand, due to the complex environment of the node deployment area and the wide distribution area, many areas are even unreachable, so energy is difficult to supplement. On the other hand, due to the size and cost of the node, it is not possible to use a large-capacity battery or a solar battery. The limited energy of the module has seriously affected the widespread use of wireless sensor networks [8]. How to make the node consume the least amount of energy during use and maximize the service life of the network becomes the main problem for the development of wireless sensor networks. The cost of the sensing node is low, the volume is small, and the carrying capacity is small. These limitations inevitably result in a weak processor capability of the CPU and a small memory capacity. Sensor nodes cover a large area, and the communication range is severely limited by the application environment. The energy consumption of wireless communication increases exponentially with increasing communication distance [9]. However, the node’s wireless communication loan is limited—usually only a few hundred Kbps—so in order to avoid communication terminals, data transmission uses a multi-hop routing mechanism.
Nodes in wireless sensor networks are deployed over a large geographic area, and typically the environment is harsh, causing node failure. Alternatively, it is distributed in a small range with high density, large number, nodes reaching tens of thousands, and even adding new nodes to meet monitoring and other requirements [10]. Therefore, wireless sensor networks are required to be highly robust to meet application requirements. As can be seen from the above challenges, the energy consumption of nodes is the most important part of extending the life cycle of the network. The compensation of the sensor network clock error can effectively improve the life cycle of the wireless sensor network.
In order to improve the survivability of wireless sensor nodes, realize the high robustness of wireless sensor network, prolong the network life cycle, achieve high clock error compensation accuracy, low communication delay, high communication efficiency, and other goals, a clock error compensation method based on the cyclic symmetry algorithm is proposed. This method provides a new idea for the further development of sensor network-related technology, improves the clock error compensation precision and communication efficiency, and is a great progress of modern communication technology, so the research method has a very broad application prospect.

2. Materials and Methods

2.1. Basic Theory of Cyclic Symmetry

A symmetrical structure means that the geometry of a structure or physical model is regularly arranged by several identical areas. The dynamic properties of the entire structure can be achieved by analyzing a regional structure [11]. Common symmetry forms are axisymmetric, reflective, and cyclically symmetric. For a sensor network, if the structure is rotated at an angle around the axis and the structure (including the material constant) is exactly the same as before the rotation, this structure is called the cyclic symmetrical structure. The minimum angle of rotation that meets this condition is called the cycle period. N = 2 π / α is an integer called the cyclic symmetry order. The entire structure can be divided into N identical sectors around the axis, each sector differing by α angles. Depending on the cyclic symmetry, the equation of motion of the entire sensor system can be reduced to a basic intra-sector analysis [12]. The basic sector has a degree of freedom of n . The eigenvalue problem of the n N -order cyclic symmetry structure can be transformed into the eigenvalue problem of the order of 1 / N orders of the original N / 2 with n different pitches.
The theory of cyclic symmetry consists of an infinitely long chain of structures consisting of a series of equivalent substructures [13]. When the free wave propagates in it, the complex propagation constant μ can be used to describe the propagation behavior of the free wave in the structure. The fluctuation amplitude ratio of the adjacent substructure corresponds to e μ . If μ is a pure imaginary number, the corresponding vibration constraint can be obtained after the constraint is added, and the constraint becomes a complex constraint.
Assume that the d sector of an N -order cyclic symmetry has a cyclic symmetric interface of t k and t k with t k = t k + 1 . A local coordinate system is established for each sector of the cyclic symmetry structure, and the local coordinate system also has the characteristics of cyclic symmetry. The node displacement vector of sector S k in its local coordinate system is written as:
δ k = { δ k t δ k g } , ( k = 0 , 1 , 2 , , N 1 )
where δ k t denotes a node displacement vector on the cyclic symmetry interface t k , and δ k g denotes a node displacement vector inside the sector S k . The node displacement vector of the extended sector S k is δ k = { δ k t δ k g δ k t } , and δ k t represents the node displacement vector on the cyclic symmetric interface, which is obviously known as δ k t = δ ( k + 1 ) t .
The displacement vector of the overall structure of the sensor is recorded as:
δ = { δ 0 δ 1 δ N 1 } .
From the cyclic symmetry of the structure, the mass and stiffness matrix of the extended sector in its local coordinate system are as follows ( k = 1 , 2 , , N ) .
m 1 = m 2 = = m N = [ m t t m t g m t t m g t m g g m g t m t t m t g m t t ]
k 1 = k 2 = = k N = [ k t t k t g k t t k g t k g g k g t k t t k t g k t t ]
By assembling the mass stiffness matrix of each sector in the sensor [14], the mass matrix of the overall sensor structure can be obtained ( M and K ).
Set K 1 = [ k t t + k t t k t g k g k g g ] , K 2 = [ k t t 0 k g t 0 ] .
Then,
K = [ K 1 K 2 0 0 K 2 T K 2 T K 1 K 2 0 0 K 2 T 0 0 K 2 K 1 ] .
K is a real symmetric block cyclic matrix, and M has a similar form.
The dynamic equation for the overall sensor network without damping is:
M ˙ δ + K δ = 0
If ξ k = e i ( k 1 ) α ( i = 1 , k = 1 , 2 , , N ) , the sensor network cyclic symmetry matrix is as follows:
V = [ V 0 V 1 V N 1 ]
and
V j n × N , n = 1 N { I n ξ 1 I n ξ 2 I n ξ N }
where j = 0 , 1 , 2 , , N 1 , I n is a n -order unit matrix, which is transformed δ = V q , and the Formula (8) is multiplied by V H to obtain:
A ˙ q ˙ + B q = 0 .
A and B are block diagonal real symmetric matrices, A = d i a g ( α r ) , B = d i a g ( β r ) . Here, r = 0 , 1 , 2 , , N 1 . At this point, the dynamic equations of the cyclic symmetry structure are reduced to n N -order characteristic equations:
α r q ¨ r + β r q r = 0 , r = 0 , 1 , 2 , , N f .
The n N -order symmetric positive definite sparse matrix with a bandwidth of p is p n , and the calculation of cholesky decomposition is about O ( n N p 2 / 2 p 3 / 3 + 2 3 ( n N p p 2 ) ) . The calculation of the Cholesky decomposition of the n th order symmetric positive definite matrix is about O ( n 3 / 6 ) . The calculation of the n N -order matrix is much smaller than the calculation of an n N -order matrix. It can be seen that the cyclic symmetry algorithm can greatly reduce the computational complexity.
When N is even, N f = N / 2 ; when N is odd, N f = ( N 1 ) / 2 .
For each r ( r = 1 , 2 , , N f ) , the characteristic equation must have n double roots.
That is, the vibration mode of the sensor network has two orthogonal modes [15].

2.2. Compensation Method for Sensor Network Clock Error

Using traditional methods to compensate the clock error of the sensor network, it is difficult to quantify the delay time of different levels, the anti-delay effect is not ideal, and the communication efficiency of the sensor network is reduced [16]. Based on the above theory of cyclic symmetry, the compensation method for a sensor network clock error is studied.

2.2.1. Cumulative Delay Rate

In the process of sensor network clock synchronization cumulative error compensation, the time domain window needs to be divided into several subunits, and each subunit is called a time domain subwindow. In the specified time domain, the clock error approaches a stable value and can be approximated by the m -th derivative. The structure of the time domain is shown in Figure 1.
In the sensor network, the link is randomly selected, and the link is described by g . The time domain corresponding to this link is described by y [17], and the derivation function of the communication signal transmission probability in this window is described by χ g , y ( v ) . To make i g , y ( v ) = lg χ g , y ( v ) , you can use the following formula to expand the nodes in the time domain:
i g , y ( v ) = q ! i ( q ) g , y ( v p ) ( v v p ) q + Q [ ( v v p ) m ]
where i ( q ) g , y ( v p ) / q ! tends to be stable in the time domain subwindow. Assuming that the requirements of equation   c g , y , q = i g , y ( q ) ( v p ) / q ! are met, the following formula is obtained for the above formula transformation process:
lg χ g , y ( v ) = q = 1 m φ g , y , q ( v v p ) q .
The midpoint of the set time domain subwindow is described by v p , and the initial moment of the sensor communication signal transmission is described by v 0 . The delay rate of clock synchronization in the sensor network can be calculated using the following formula:
lg r k , t ( v 0 ) = q = 1 M lg χ q , y ( v 0 ) .
According to the method described above, the sensor network is divided into several subunits, and all nodes are expanded in a specified time domain window [18] to calculate the cumulative delay rate of the sensor network. Communication is the transmission of information. It refers to the transmission and exchange of information from one place to another. The purpose is to transmit messages. The compensation mechanism for clock error of the sensor network can be divided into length compensation and time compensation.

2.2.2. Implementation of Compensation

In order to reduce the delay in the sensor network, an autoregressive integral sliding control model needs to be established, which is described by the following formula:
B ( a 1 ) z ( l ) = C ( a 1 ) v ( l 1 ) + V ( a 1 ) ψ ( l ) / Δ
where B is the regression control function; C is the link transfer function in the sensor network; ψ is the compensation coefficient in the sensor network; V is the sensor network cyclic symmetry matrix.
In the process of sensor network clock synchronization cumulative error compensation, the objective function can be described by the following formula:
K = k = 1 p [ z ( l + k ) x ( l + k ) ] 2 + k = 1 n ν ( k ) [ Δ v ( l + k 1 ] 2 .
In the above formula, p is used to describe the number of links in the sensor network, n is used to describe the number of communication signals, v is used to describe the corresponding weight, and z ( l + k ) is used to describe the clock synchronization error of the k -th link at time l .
In the objective function, the purpose of the last item is to suppress noise interference during communication [19] and improve the accuracy of communication.
For the above objective function recursion [20], the control model that can get the minimum error is as follows:
Z = Z n + H Δ V
where,
Z = [ z * ( l + 1 | l ) , z * ( l + 2 | l ) , , z * ( l + p | l ) ] T
Z n = [ z n ( l + 1 ) , z n ( l + 2 ) , , z n ( l + p ) ] T
Δ V = [ Δ v ( l ) , Δ v ( l + 1 ) , , Δ v ( l + p + 1 ) ] T
Δ v ( l + j ) = v ( l + j ) v ( l + j 1 )
H = [ c 1 , 0 0 0 c 2 , 0 c 1 , 0 0 c p , 0 c p 1 , 0 c 1 , 0 ] .
The vector form of the objective function of the sensor network clock synchronization cumulative error compensation is described by the following formula:
K = ( Z X ) T ( Z X ) + v Δ V T Δ V .
The compensation of the clock synchronization cumulative error of the sensor network is realized according to the following formula:
v ( l ) = v ( l 1 ) + Δ v ( l ) = v ( l 1 ) + [ 1 , 0 , , 0 ] ( H T H + μ J ) 1 H T [ X Z n ] .
According to the above method, an autoregressive integral sliding control model is established, and the clock synchronization cumulative error compensation of the sensor network is realized.

3. Results

In order to verify the effectiveness of this method in compensating for the clock error of sensor networks, a simulation experiment is carried out. The overall experimental scheme is to set up the simulation experiment environment, the operating system is Windows 10, and the simulation software is Matlab 7.0. Experimental sample data of a large sensor network application provider in this city will take the part of the background data as the experimental sample data after negotiation. The CRLB method and clock synchronization accumulation method were selected as experimental comparison methods, and the communication delay rate, communication efficiency, information overhead, error detection accuracy, compensation accuracy, computational complexity, and clock drift of unknown nodes were selected as experimental comparison indexes. The influencing factors of clock error compensation in sensor networks are noise interference during information transmission and subjective factors in the process of experimental data acquisition. The experimental environment settings are shown in Table 1.
Set the number of sensing communication signals to 100, and the distribution of sensor network nodes is shown in Figure 2.
The physical map of the nodes in the sensor network is shown in Figure 3.
In order to effectively verify the effectiveness of the proposed method in compensating for the clock error of the sensing network, the method is compared with the clock synchronization accumulation method and the CRLB method. Three methods were used to sense communication, and the communication delays of the three methods were counted in 10 experiments. The comparison results are shown in Figure 4.
It can be seen from Figure 4 that in 100 experiments, the sensing communication delay rate is between 10% and 15% using the method of the present invention. The CRLB method is used to sense the communication delay rate up to 22%, and the clock synchronization accumulation method is used to sense the communication delay rate as high as 21%. The sensing communication delay rate using this method is significantly lower than the CRLB method and the clock synchronization accumulation method. This shows that using the method of this paper to compensate the compensation network clock error can ensure the communication quality of the sensor network.
Three methods are used to compensate the clock error of the sensor network, and the communication efficiency of the three methods in the 10 experiments is statistically analyzed. The comparison results are shown in Figure 5.
It can be seen from Figure 5 that the clock error communication efficiency of the sensor network is over 97% and the robustness is better. The CRLB method and the clock synchronization accumulation method compensate the clock error communication efficiency of the sensor network by making it less than 93%. The experimental results show that the proposed method compensates the clock error of the sensor network with extremely high communication efficiency.
According to the above experimental results, it can be known that this method is used to compensate the clock error of the sensor network, and the communication delay rate and communication efficiency are better than the CRLB method and the clock synchronization accumulation method. This fully demonstrates the superiority of the method in this paper.
Three methods are used to compensate the clock error of the sensor network, and the statistical simulation time is the information overhead of the three methods of sensing communication within 100 s. The comparison results are shown in Table 2.
It can be seen from the experimental results in Table 2 that the information overhead required to compensate the clock error of the sensor network by this method is significantly smaller than the CRLB method and the clock synchronization accumulation method. Using the method of this paper to compensate, the clock error of the sensor network is only 0.87 J in the experimental that ran for 100 s, and the CRLB method to compensate the clock error of the sensor network is as high as 1.72 J in the experiment that ran for 100 s.
On the basis of the above experiments, it is possible to verify the accuracy of error detection of different methods. The higher the error detection rate, the better the error supplement effect. The experimental results are shown in Figure 6.
Analysis of the experiment results shows that for the clock synchronization accumulation method, the error detection rate is between 63% and 72%, which is the lowest in the three methods. In contrast, for the CRLB method, the error detection rate is between 78% and 89%, and the method of error detection accuracy is over 97%, which was the highest of three methods for error detection precision. Thus, the CRLB method improves the precision of the sensor network error and has laid a solid foundation.
The experimental results again verify the superiority of using this algorithm to compensate the clock error of the sensor network.
Three methods are used to compensate the clock error of the sensor network, and the compensation accuracy of the three methods of sensor communication is counted in 100 experiments. The comparison results are shown in Figure 7.
It can be seen from the experimental results in Figure 7 that the compensation accuracy of the clock error of the sensor network using this method is above 98%. The compensation accuracy of the clock error of the sensor network using the CRLB method is only 97.7%, and the compensation accuracy of the clock error of the sensor network using the clock synchronization accumulation method is only 97.6%. Through the comparison of the compensation accuracy of the three methods, it can be seen that the compensation of the clock error of the sensor network is higher by using the algorithm, and the high precision can be maintained under different experimental times. This verifies the superiority of the clock error compensation of the proposed algorithm.
In order to verify the effectiveness of the proposed algorithm to compensate the sensor network clock error, the compensation performance of the proposed algorithm is evaluated by the computational complexity of the three methods. The comparison results are shown in Table 3.
It can be seen from Table 3 that when the algorithm is used to compensate the sensor network clock error and the number of nodes is 10, the CPU running time is only 0.17 s. The clock synchronization accumulation method is used to compensate the clock error of the sensor network. When the number of nodes is 10, the CPU running time is as high as 1.31 s. Then, the CRLB method is used to compensate the clock error of the sensor network. When the number of nodes is 10, the CPU running time is as high as 1.71 s. Thus, the CRLB method compensates the clock error of the sensor network. When the number of nodes is 10, the CPU running time is 100 times that of the method, and the algorithm complexity and the number of nodes increase linearly. The experimental results show that the proposed method has low computational complexity and can be applied to large-scale networks of sensor nodes with low cost and low computational energy.
In order to visually compare the clock skew and deviation, the clock error of the unknown node compensated by three different methods is compared with the timing of the whole network. The comparison results are shown in Figure 8.
As can be seen from the results of Figure 8, after the synchronization information is transmitted at time 0, the synchronization time exchange is not performed. The method in this paper can effectively suppress the clock drift caused by the increase of time and effectively control the increase of clock skew, effectively reducing the node synchronization frequency. It reduces energy consumption while ensuring compensation accuracy.

4. Discussion

The timing mechanism of the nodes in the sensor network consists of a crystal oscillator with a nominal frequency and a count register. Each time an oscillation pulse occurs, the value is incremented by one when counting the calculator. Read the value of the count register to get the current clock value. Ideally, the vibration pulse output of a crystal oscillator of a rated frequency is periodic, and the oscillation period cannot be changed. This oscillation output is called the local physical time. The value in the count register can be read and changed by the local software time. The main causes of inconsistency in the local time of the sensor nodes are:
1. Due to the low-cost characteristics of the node, a quartz crystal oscillator is generally used. The imperfection of the crystal quality results in a pulse frequency that is not absolutely consistent, which makes the node counter count frequency different. The time error caused by this problem is called clock skew, which is usually between 1 and 100 ppm.
2. The node opening time is inconsistent. Due to the hardware manufacturing of the nodes, the turn-on time clocks of the individual sensor nodes are not completely consistent. Especially in large-scale networks, deployed nodes are not all started at the same time. This directly leads to a difference between the initial phases of the nodes. Time inconsistencies due to this cause are often referred to as clock skew.
3. The crystal frequency of the node is greatly affected by the ambient temperature, light intensity, humidity, and electromagnetic interference. At the same time, the voltage and current fluctuations of the node’s own power supply module also have an effect on the frequency variation of the crystal oscillator. In addition, as the node uses time, the aging of the device and other issues will also affect the stability of the crystal oscillator pulse frequency. This cause causes the clock skew to change constantly—that is, the clock drifts.
The main problem to be solved by clock error compensation is to keep the node time consistent by changing the software time and minimize the time error caused by time offset and time drift.
Local clock synchronization issues and wireless link transmission are fundamental quality of service requirements for wireless networks. On the one hand, wireless transmission provides a platform and guarantee the synchronization of the local clock, and the synchronization of the local clock in turn can promote the application development of a series of signal processing and communication platforms.
The compensation of clock error is the main supporting technology of the upper layer coordination mechanism, which determines whether the data is valid in time-sensitive applications. In the time-related observation events, applications such as data fusion, event monitoring, TDOA positioning, and sensing time sequencing all have strict requirements for clock synchronization.
As a non-traditional complex mission-based network, real-time interaction and collaborative processing of information is one of the key QoS guarantees for wireless sensor networks. Due to the lack of resources in a single node, the three pieces of data perceived, processed, and transmitted by the wireless sensor network need to be completed through a specific coordination mechanism. High-precision clock synchronization ensures the most efficient coordination and efficient time-division multiplexing and media access for wireless channels. This improves wireless channel utilization and ensures overall network performance. The clock synchronization performance also determines whether the MAC protocol, dormancy scheduling, and time division multiplexing determine the effective utilization of many resources such as energy and broadband, which further determines the efficiency of energy supply of each node and the life cycle of the entire network.
In the mobile target tracking problem in the context of wireless sensor networks, the node detects the target. Then, the related physical information and the time label are merged into a data packet, and the neighbor nodes that monitor the target communicate with each other at a certain frequency. The purpose is to exchange data packets and obtain motion state information such as the position and speed of the target at a specific moment. This process continues to circulate, with the ultimate goal of obtaining the trajectory of the target within the detection area. Each point on the motion trajectory represents the motion state of the target at a certain moment, and the timing of the time determines the direction of the trajectory. Therefore, clock synchronization plays a key role at both the application and network layers. In the application layer, the purpose of clock synchronization between nodes is to provide accurate protection and processing of data, such as target location and event detection. At the network layer, clock synchronization provides the basis for real-time data transmission, such as node wake-up and packet scheduling. Therefore, the clock synchronization mechanism can penetrate every data-related mitigation, and its implementation directly determines the merits of the data-centric wireless sensor network system.
In order to solve the problem of clock error compensation in sensor networks, a clock error compensation method based on cyclic symmetry algorithm is proposed. The effectiveness of the proposed method is verified by simulation experiments. Simulation results show that the communication delay rate of the proposed method is between 10% and 15%, and the communication delay is low. The clock error communication efficiency is above 97% and the robustness is good. At 100 s, the experiment was only 0.87 J, with high efficiency. The accuracy of clock error detection in sensor networks is always above 97%. The compensation accuracy of clock error is above 98% and there is low computational complexity; thus, the proposed method can effectively suppress clock drift caused by time increase. On the whole, compared with the existing methods, this method has more obvious advantages. The reason why this method has the advantages above is that it constructs the cyclic symmetry matrix of the sensor network based on the basic theory of cyclic symmetry. In the communication process, all nodes are extended to obtain the accumulative delay rate of the sensor network in the specified time domain. By using the accumulated delay rate of the loop network and sensor network, an auto-regressive integral sliding mode control model is established to compensate the accumulated error of clock synchronization, so it has certain practical application value in practice.
At present, many results have been achieved for the time synchronization technology of wireless sensor networks, but there are still many specific problems to be further studied.
At present, the work mainly focuses on the synchronization accuracy with the node, and lacks thinking and research on the synchronization performance of the entire network, which leads to a very high resynchronization frequency and a large communication energy consumption. However, the theory has shown that most of the energy of the sensor node is consumed in the wireless communication module.
Existing synchronization algorithms mostly use maximum likelihood estimation to estimate clock skew and clock skew. This algorithm must use a search algorithm under the nonlinear clock model, which results in very high complexity, does not necessarily have a maximum value, and is not suitable for local calculation of sensor network nodes. This algorithm estimates the clock skew and clock skew of the node in the linear clock model only for short-term applications such as target location.
The synchronization protocol does not consider the relationship between environmental factors and hardware drift from the underlying physical level, especially in low-duty cycle networks. When the node is sleeping, it cannot communicate and transmit, which makes it impossible to synchronize time, and it is impossible to achieve “consistent collective recovery” after a long period of sleep.
In view of the problems in the research of sensor network time synchronization technology mentioned above, the main work of this paper is as follows: Using cyclic symmetry theory to provide an effective solution for the clock synchronization of wireless sensor networks, especially sleep sensor networks, so that node communication energy consumption is greatly reduced. The node can compensate the clock deviation in software mode in the sleep state, and the effectiveness of the algorithm is verified by experiments.
There are still a lot of questions about wireless sensor networks that deserve further study:
1. Delay distribution algorithm
At present, the distribution models of non-deterministic network delays commonly used include Gaussian, exponential, gamma, and Weibull models. However, in a particular wireless sensor network, it is difficult to assess which distribution model of the network’s delay matches the overlay function of those models. Since various factors can affect the distribution of network delays, simulations show that existing algorithms are usually valid for models with a specific delay profile.
2. Security issues with clock synchronization
The security issue of clock synchronization in wireless sensor networks is a relatively new area of research. Most of the existing literature focuses on a single attack mode. Assuming that the attack nodes are sparsely distributed in the network, consider the security issue of clock synchronization. There are still many problems worth considering for the clock synchronization security when considering different attack modes and scenarios in which the attack nodes are concentrated.
3. Large-scale network synchronization
At present, the optimal estimation method of the optimal clock for large-scale wireless sensor network synchronization is also a very important and challenging subject. In this respect, graph theory algorithms are combined with distributed or sequential Bayesian methods, MCMC techniques, and distributed nonlinear optimization techniques. Perhaps it can provide a solution for developing efficient synchronization algorithms in large-scale wireless sensor networks.
4. Joint estimation of synchronization and positioning
In practice, the location of the beacon node is usually given by GPS, and the clock skew and clock skew of the beacon node are also estimated during the sensor network synchronization process. Therefore, in the case of error in the beacon node information, optimizing the estimation problem of the unknown node is also a problem that needs to be solved at present.

5. Conclusions

The compensation of the clock error in the sensor network can provide a standard time for the wireless sensor network to refer to, which provides the basic premise for real-time interaction and the collaborative processing of sensor node information and the scheduling of network time. The compensation of clock error is one of the most basic and important problems in wireless sensor networks, and it has always been a hot issue in wireless sensor networks. In this paper, based on the theory of cyclic symmetry, an autoregressive integral sliding control model is established to compensate the cumulative error of clock synchronization in the sensor network. The experimental results show that using this method to compensate the clock error of the sensor network can greatly reduce the communication delay rate of the sensor network and improve its communication efficiency.

Author Contributions

Conceptualization, H.F. and Z.Y.; methodology, H.F. and Z.Y.; software, H.F. and Y.S.; validation, Y.S. and N.N.; formal analysis, Y.S. and N.N.; investigation, H.F. and Y.S.; resources, H.F. and Y.S.; data curation, H.F. and Y.S.; writing—original draft preparation, Y.S.; writing—review and editing, H.F.; visualization, N.N.; supervision, N.N.; project administration, N.N.; funding acquisition, N.N. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Zhang, Y.; Qin, Z.C.; Zhang, W.D. Asymmetric Interference Alignment for Device-to-Device Underlaying Cellular Networks. J. Chin. Acad. Electron. Inf. Technol. 2017, 12, 232–236. [Google Scholar]
  2. Chai, X.H.; Zhang, C.J.; Xiao, H.W. One Improved EMF Harmonic Adaptive Compensation for PMSG Sensorless Control Method. J. Power Supply 2017, 15, 55–61. [Google Scholar]
  3. Luo, T.; Chen, L.; Huang, Q. Compensation Control of Photovoltaic Power Prediction Deviation Based on Energy Storage System. Chin. J. Power Sources 2017, 41, 1433–1436. [Google Scholar]
  4. Qi, J.F.; Yang, G.R.; Luo, Z.Q. Error Analysis of Phase Difference Magnetic Modulation DC Leakage Current Sensor. Autom. Instrum. 2018, 9, 149–152. [Google Scholar]
  5. Tao, Z.Y. Data Compression Algorithm of Sensor Networks Based on Dynamic Adjustment of Threshold of Encoding Transmission. J. Jilin Univ. 2017, 55, 947–951. [Google Scholar]
  6. Wang, Y.G.; Wu, Y. Simulation of Attack Data Detection Method Based on Wireless Sensor Networks. Comput. Simul. 2018, 35, 329–332. [Google Scholar]
  7. Zhu, Z.; Sun, G.; Wu, B. A Temperature Compensation Method for Magneto-Elastic Tension Sensor in Rod-Like Structure Tension Measurement. IEEE Trans. Magn. 2018, 54, 1–16. [Google Scholar] [CrossRef]
  8. Rabelo, D.S.; Tsuruta, K.M.; Oliveira, D.D.D. Fault Detection of a Rotating Shaft by Using the Electromechanical Impedance Method and a Temperature Compensation Approach. J. Nondestr. Eval. 2017, 36, 25. [Google Scholar] [CrossRef]
  9. Tan, B.; Huang, M.; Zhu, Q. Decomposition and Correction Overlapping Peaks of LIBS Using an Error Compensation Method Combined with Curve Fitting. Appl. Opt. 2017, 56, 7116. [Google Scholar] [CrossRef]
  10. Lai, G.; Zhi, L.; Yun, Z. Fuzzy Adaptive Inverse Compensation Method to Tracking Control of Uncertain Nonlinear Systems with Generalized Actuator Dead Zone. IEEE Trans. Fuzzy Syst. 2017, 25, 191–204. [Google Scholar] [CrossRef]
  11. Dai, D.; Jiang, G.; Ma, L. Centroid Error Compensation Method for a Star Tracker under Complex Dynamic Conditions. Opt. Express 2017, 25, 33559. [Google Scholar]
  12. Zheng, M.; Chen, Y.; Liu, X. Two-dimensional Water Acoustic Waveguide Based on Pressure Compensation Method. Rev. Sci. Instrum. 2018, 89, 024902. [Google Scholar] [CrossRef]
  13. Liang, R.; Ji, X.; Bao, Y. Multichannel Loudness Compensation Method Based on Segmented Sound Pressure Level for Digital Hearing Aids. Mod. Phys. Lett. B 2017, 31, 1740059. [Google Scholar] [CrossRef]
  14. Zhang, Z.; Dan, Y.; Jiang, C. Innovative Calculation Method of Inductive Reactive Compensation Capacity Based on Optimum Injection Current. IET Gener. Transm. Distrib. 2017, 11, 3510–3515. [Google Scholar] [CrossRef]
  15. Hansen, L.L.; Van, H.D.B.; Van, G.O. Sumoylation Contributes to Timekeeping and Temperature Compensation of the Plant Circadian Clock. J. Biol. Rhythms 2017, 32, 560. [Google Scholar] [CrossRef] [Green Version]
  16. Wang, C.; Yan, W.; Zhou, J. Compensation Method for Distorted Planar Array Antennas Based on Structural–Electromagnetic Coupling and Fast Fourier Transform. IET Microwaves Antennas Propag. 2018, 12, 954–962. [Google Scholar] [CrossRef]
  17. Wan, C.; Pan, M.; Qi, Z. Improved Component Compensation for Geomagnetic Field Vector Measurement Using Lagrange Multiplier Method. IET Sci. Meas. Technol. 2017, 11, 1094–1098. [Google Scholar] [CrossRef]
  18. Xu, Q.; Bo, Y.; Chen, C. Distributed Load Shedding for Microgrid with Compensation Support via Wireless Network. IET Gener. Transm. Distrib. 2018, 12, 2006–2018. [Google Scholar] [CrossRef] [Green Version]
  19. Rasekh, N.; Mirsalim, M. Evaluation Study on an Integration Method for a DDQP Using LCC and Series Compensation Topologies for Inductive Power Transfer. IET Electr. Power Appl. 2018, 12, 1320–1327. [Google Scholar] [CrossRef]
  20. Azreg-Aïnou, M. Cyclic and Heteroclinic Flows Near General Static Spherically Symmetric Black Holes: Semi-Cyclic Flows—Addendum and Corrigendum. Eur. Phys. J. C 2017, 77, 36. [Google Scholar] [CrossRef] [Green Version]
Figure 1. Time domain window structure.
Figure 1. Time domain window structure.
Sensors 20 01738 g001
Figure 2. Sensor communication network node distribution map.
Figure 2. Sensor communication network node distribution map.
Sensors 20 01738 g002
Figure 3. Sensor network node physical map.
Figure 3. Sensor network node physical map.
Sensors 20 01738 g003
Figure 4. Different methods of sensing communication delay rate.
Figure 4. Different methods of sensing communication delay rate.
Sensors 20 01738 g004
Figure 5. Comparison of communication efficiency between different methods.
Figure 5. Comparison of communication efficiency between different methods.
Sensors 20 01738 g005
Figure 6. Comparison of error detection accuracy of three methods.
Figure 6. Comparison of error detection accuracy of three methods.
Sensors 20 01738 g006
Figure 7. Comparison of compensation accuracy of three methods.
Figure 7. Comparison of compensation accuracy of three methods.
Sensors 20 01738 g007
Figure 8. Clock drift diagram of unknown nodes.
Figure 8. Clock drift diagram of unknown nodes.
Sensors 20 01738 g008
Table 1. Experimental environment settings.
Table 1. Experimental environment settings.
ProjectParameter
CPUIntel Xeon
CPU hard disk capacity1.5 T
CPU frequency1.2 GHz
Random access memory128 GB
Operating systemWindows 10
Monitor resolution1280*1024
Interface typeUSB
Simulation softwareMatlab 7.0
Table 2. Comparison of information overhead of different methods.
Table 2. Comparison of information overhead of different methods.
Simulation Time/sCRLB Method/JClock Aynchronization Accumulation Method/JThe Method in This Paper/J
0222
101.991.981.97
201.971.921.89
301.951.881.81
401.921.831.73
501.891.721.61
601.851.631.52
701.811.581.41
801.781.521.32
901.751.411.21
1001.721.350.87
Table 3. CPU runtime comparison.
Table 3. CPU runtime comparison.
Number of Nodes/NThe Method in This Paper/sClock Synchronization Accumulation Method/sCRLB Method/s
10.030.780.67
20.060.790.85
30.070.821.05
40.080.891.15
50.090.911.27
60.110.951.37
70.120.971.41
80.131.151.57
90.151.131.63
100.171.311.71

Share and Cite

MDPI and ACS Style

Feng, H.; Yang, Z.; Shi, Y.; Nabipour, N. Compensation Method for Sensor Network Clock Error Based on Cyclic Symmetry Algorithm. Sensors 2020, 20, 1738. https://doi.org/10.3390/s20061738

AMA Style

Feng H, Yang Z, Shi Y, Nabipour N. Compensation Method for Sensor Network Clock Error Based on Cyclic Symmetry Algorithm. Sensors. 2020; 20(6):1738. https://doi.org/10.3390/s20061738

Chicago/Turabian Style

Feng, Hailiang, Zhanxin Yang, Yuhai Shi, and Narjes Nabipour. 2020. "Compensation Method for Sensor Network Clock Error Based on Cyclic Symmetry Algorithm" Sensors 20, no. 6: 1738. https://doi.org/10.3390/s20061738

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop