CN112165368A - Time-synchronized real-time adaptive convergence estimation system - Google Patents
Time-synchronized real-time adaptive convergence estimation system Download PDFInfo
- Publication number
- CN112165368A CN112165368A CN202010877365.8A CN202010877365A CN112165368A CN 112165368 A CN112165368 A CN 112165368A CN 202010877365 A CN202010877365 A CN 202010877365A CN 112165368 A CN112165368 A CN 112165368A
- Authority
- CN
- China
- Prior art keywords
- convergence
- time
- error
- estimation
- probability
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04J—MULTIPLEX COMMUNICATION
- H04J3/00—Time-division multiplex systems
- H04J3/02—Details
- H04J3/06—Synchronising arrangements
- H04J3/0635—Clock or time synchronisation in a network
- H04J3/0638—Clock or time synchronisation among nodes; Internode synchronisation
- H04J3/0658—Clock or time synchronisation among packet nodes
- H04J3/0661—Clock or time synchronisation among packet nodes using timestamps
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Synchronisation In Digital Transmission Systems (AREA)
Abstract
The invention discloses a time-synchronized real-time adaptive convergence estimation system which comprises a synchronization error estimation unit, a synchronization error characteristic estimation model and a real-time convergence detection model. The method can be used in a distributed system or a wireless network with time synchronization requirements, is integrated into a time synchronization algorithm adopted by an application object, and further calculates the synchronization error convergence probability by using the time offset estimation obtained by the time synchronization algorithm. The synchronization error convergence probability obtained by the invention can be used as the basis for judging the system time synchronization precision and convergence state by other applications or time synchronization algorithms.
Description
Technical Field
The invention relates to the technical field of time synchronization, in particular to a real-time self-adaptive convergence estimation system for time synchronization.
Background
According to the internal and external published papers, the related patent information, and the related protocols or standards such as NTP (network Time protocol), IEEE standard 1588v2, WIA-PA, ISA100.11a and WirelessHART, the prior art for large-scale wireless network Time synchronization mainly focuses on the aspects of Time information exchange, parameter estimation, implementation scheme and the like of a Time synchronization algorithm. However, no specific research is available for online estimation of the network time synchronization convergence state.
Disclosure of Invention
Aiming at the defects in the prior art, the time synchronization real-time self-adaptive convergence estimation system provided by the invention solves the problem that the prior art does not estimate the network time synchronization convergence state on line.
In order to achieve the purpose of the invention, the invention adopts the technical scheme that: a time synchronized real-time adaptive convergence estimation system, comprising:
a synchronization error estimation unit for obtaining a synchronization error estimation value;
the synchronous error characteristic estimation model is used for estimating the convergence probability, buffering the estimated value of the convergence probability and calculating the estimation of the current time synchronous error convergence probability according to the buffered estimated value of the convergence probability;
and the real-time convergence detection model is used for screening out the synchronous error estimated value meeting the convergence condition, buffering the synchronous error estimated value meeting the convergence condition, and calculating the synchronous error characteristic according to the buffered synchronous error estimated value meeting the convergence condition.
Further: the calculation formula of the synchronization error estimation value is as follows:
El[k]=Li[k]-Lj[k]
in the above formula, El[k]For synchronization error estimation, Li[k]Is a node viTime stamp of Lj[k]Is a node vjTime stamp of, node viAnd node vjAre neighboring nodes.
Further: the real-time convergence detection model comprises a convergence probability estimator, a first buffer and a convergence probability calculation unit.
Further: the calculation formula of the convergence probability estimator is as follows:
in the above formula, out [ k ]]To estimate the convergence probability, El[k]For synchronization error estimation, EmaxUpper limit of synchronization error, Emax=a2μ+b2σ,a1、a2、b1And b2Both are coefficients, μ and σ are the mean and standard deviation of the synchronization error estimates, and ξ is the fraction of ∈ (0, 1).
Further: the first buffer has a length of LpThe memory cell of (1).
Further: the convergence probability calculating unit is a weighted average filter, and the number of weighting coefficients of the weighted average filter is Lp。
Further: the synchronous error characteristic estimation model comprises a convergence decision logic unit, a second buffer and an error characteristic calculation unit.
Further: the convergence judgment logic unit comprises a convergence judgment subunit, a logic subunit and an enabling subunit;
the convergence judgment subunit is configured to judge whether the convergence judgment is true, specifically, when the convergence probability is greater than a preset convergence threshold, output the convergence judgment as true, otherwise, output the convergence judgment as false;
the logic subunit is used for screening out the synchronization error estimated value E meeting the convergence conditionl[k]。
Further: the second buffer has a length of LEThe memory cell of (1).
Further: the error characteristic calculating unit uses the buffered synchronous error estimated value El[k]A synchronization error signature is calculated, the error signature comprising a mean μ and a standard deviation σ of the error.
The invention has the beneficial effects that: the method can be used in a distributed system or a wireless network with time synchronization requirements, is integrated into a time synchronization algorithm adopted by an application object, and further calculates the synchronization error convergence probability by using the time offset estimation obtained by the time synchronization algorithm. The synchronization error convergence probability obtained by the invention can be used as a basis for judging the time synchronization precision and the convergence state of the system by other applications.
Drawings
FIG. 1 is a block diagram of the present invention.
Detailed Description
The following description of the embodiments of the present invention is provided to facilitate the understanding of the present invention by those skilled in the art, but it should be understood that the present invention is not limited to the scope of the embodiments, and it will be apparent to those skilled in the art that various changes may be made without departing from the spirit and scope of the invention as defined and defined in the appended claims, and all matters produced by the invention using the inventive concept are protected.
As shown in fig. 1, a time-synchronized real-time adaptive convergence estimation system includes:
a synchronization error estimation unit for obtaining a synchronization error estimation value;
in the invention, the instantaneous clock offset between nodes is used as a synchronization error estimated value El[k]The specific implementation depends on the time synchronization algorithm and the clock offset estimation method thereof adopted in practical application. The clock offset estimation is an indispensable part of all relevant protocols or standards of the time synchronization algorithm, and the invention can directly utilize the clock offset estimation value in the time synchronization algorithm as the synchronization error estimation value El[k]. Therefore, the invention does not need additional communication overhead to obtain the time stamp of the node and does not need to separately calculate El[k]Meanwhile, the adopted time synchronization algorithm cannot be interfered and influenced. These advantages enable the present invention to be very easily embedded in a time synchronization algorithm for practical use, with extremely excellent extensibility.
The calculation formula of the synchronization error estimation value is as follows:
El[k]=Li[k]-Lj[k]
in the above formula, El[k]For synchronization error estimation, Li[k]Is a node viTime stamp of Lj[k]Is a node vjTime stamp of (1)Point viAnd node vjAre neighboring nodes.
And the real-time convergence detection model is used for screening out the synchronous error estimated value meeting the convergence condition, buffering the synchronous error estimated value meeting the convergence condition, and calculating the synchronous error characteristic according to the buffered synchronous error estimated value meeting the convergence condition.
The real-time convergence detection model comprises a convergence probability estimator, a first buffer and a convergence probability calculation unit.
The calculation formula of the convergence probability estimator is as follows:
in the above formula, out [ k ]]To estimate the convergence probability, El[k]For synchronization error estimation, EmaxUpper limit of synchronization error, Emax=a2μ+b2σ,a1、a2、b1And b2Both are coefficients, μ and σ are the mean and standard deviation of the synchronization error estimates, and ξ is the fraction of ∈ (0, 1).
Mu and sigma can be initialized to sufficiently large values depending on factors such as synchronization error of the time synchronization algorithm, performance of a hardware clock, and network environment. During the algorithm run, μ and σ are updated by the synchronization error feature estimation model.
The time synchronization algorithm can be initialized to a sufficiently large value, namely E, according to factors such as synchronization error of the time synchronization algorithm, performance of a hardware clock, network environment and the likemaxShould be significantly larger than the synchronization error after algorithm convergence; can also be selected from Emax=a2μ+b2And sigma initializing. During the operation of the algorithm, EmaxAutomatically updated by mu and sigma, e.g. Emax=a2μ+b2σ。
a1、a2、b1And b2Are all integers greater than 1, and a2>>a1,b2>>b1。
The convergence probability estimator completes each new El[k]And (4) estimating the convergence probability, wherein the output estimated value out enters a buffer cache. The out sample set in the buffer is used to calculate the current time synchronization error convergence probability estimate, i.e., the output of the real-time adaptive convergence estimation model.
The first buffer has a length of LpThe memory cell of (1). The buffer length setting has two effects on the whole model, LpThe relative delay affecting convergence estimation and actual convergence, i.e. LpThe larger the convergence estimate, the more delayed and actually converged; on the other hand LpAffecting the reliability and interference-looking capability of the convergence estimate, i.e. LpThe larger the output, the smoother the output and less susceptible to interference from a single synchronization error estimate disturbance. Therefore, L is set according to the requirements of smoothness and sensitivityp。
The convergence probability calculating unit is a weighted average filter, and the number of weighting coefficients of the weighted average filter is Lp. The invention proposes to set weighting coefficients for requirements of smoothness and sensitivity in application, wherein if sensitivity is set to be small first and then large first when priority is given to sensitivity, and the average value is set to be 1/L when smoothness is given priorityp。
The synchronous error characteristic estimation model is used for estimating the convergence probability, buffering the estimated value of the convergence probability and calculating the estimation of the current time synchronous error convergence probability according to the buffered estimated value of the convergence probability;
the convergence judgment logic unit comprises a convergence judgment subunit, a logic subunit and an enabling subunit;
the convergence judgment subunit is configured to judge whether the convergence judgment is true, specifically, when the convergence probability is greater than a preset convergence threshold, output the convergence judgment as true, otherwise, output the convergence judgment as false; the output of the convergence decision subunit reflects the convergence probability of the time synchronization error in a certain time range, the output out of the convergence probability estimator reflects the convergence probability of the current time synchronization error, and the two jointly enable the screening El[k]And (4) sampling.
The logic subunit is used for screening out the synchronization error estimated value E meeting the convergence conditionl[k]。
The second buffer has a length of LEThe memory cell of (1). Buffer length LEThe larger the error feature estimation sample, the richer the result is closer to the real situation.
The error characteristic calculating unit uses the buffered synchronous error estimated value El[k]A synchronization error signature is calculated, the error signature comprising a mean μ and a standard deviation σ of the error.
Claims (10)
1. A time synchronized real-time adaptive convergence estimation system, comprising:
a synchronization error estimation unit for obtaining a synchronization error estimation value;
the synchronous error characteristic estimation model is used for estimating the convergence probability, buffering the estimated value of the convergence probability and calculating the estimation of the current time synchronous error convergence probability according to the buffered estimated value of the convergence probability;
and the real-time convergence detection model is used for screening out the synchronous error estimated value meeting the convergence condition, buffering the synchronous error estimated value meeting the convergence condition, and calculating the synchronous error characteristic according to the buffered synchronous error estimated value meeting the convergence condition.
2. The time-synchronized real-time adaptive convergence estimation system of claim 1, wherein the synchronization error estimation value is calculated by the following formula:
El[k]=Li[k]-Lj[k]
in the above formula, El[k]For synchronization error estimation, Li[k]Is a node viTime stamp of Lj[k]Is a node vjTime stamp of, node viAnd node vjAre neighboring nodes.
3. The time-synchronized real-time adaptive convergence estimation system of claim 1, wherein the real-time convergence detection model comprises a convergence probability estimator, a first buffer, and a convergence probability calculation unit.
4. The time-synchronized real-time adaptive convergence estimation system of claim 3, wherein the convergence probability estimator is calculated by the formula:
in the above formula, out [ k ]]To estimate the convergence probability, El[k]For synchronization error estimation, EmaxUpper limit of synchronization error, Emax=a2μ+b2σ,a1、a2、b1And b2Both are coefficients, μ and σ are the mean and standard deviation of the synchronization error estimates, and ξ is the fraction of ∈ (0, 1).
5. The time-synchronized real-time adaptive convergence estimation system of claim 3, wherein the first buffer is of length LpThe memory cell of (1).
6. The time-synchronized real-time adaptive convergence estimation system of claim 3, wherein the convergence probability calculation unit is a weighted average filter having a number of weighting coefficients Lp。
7. The time-synchronized real-time adaptive convergence estimation system of claim 1, wherein the synchronization error characterization estimation model comprises a convergence decision logic unit, a second buffer, and an error characterization calculation unit.
8. The time-synchronized real-time adaptive convergence estimation system of claim 7, wherein the convergence decision logic unit comprises a convergence decision subunit, a logic subunit, and an enable subunit;
the convergence judgment subunit is configured to judge whether the convergence judgment is true, specifically, when the convergence probability is greater than a preset convergence threshold, output the convergence judgment as true, otherwise, output the convergence judgment as false;
the logic subunit is used for screening out the synchronization error estimated value E meeting the convergence conditionl[k]。
9. The time-synchronized real-time adaptive convergence estimation system of claim 7, wherein the second buffer is of length LEThe memory cell of (1).
10. The time-synchronized real-time adaptive convergence estimation system of claim 7, wherein the error characterization calculation unit utilizes the buffered synchronization error estimate El[k]A synchronization error signature is calculated, the error signature comprising a mean μ and a standard deviation σ of the error.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010877365.8A CN112165368B (en) | 2020-08-27 | 2020-08-27 | Time-synchronized real-time adaptive convergence estimation system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010877365.8A CN112165368B (en) | 2020-08-27 | 2020-08-27 | Time-synchronized real-time adaptive convergence estimation system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112165368A true CN112165368A (en) | 2021-01-01 |
CN112165368B CN112165368B (en) | 2021-12-21 |
Family
ID=73859788
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010877365.8A Active CN112165368B (en) | 2020-08-27 | 2020-08-27 | Time-synchronized real-time adaptive convergence estimation system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112165368B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114071695A (en) * | 2021-12-13 | 2022-02-18 | 西南科技大学 | Time synchronization hop convergence method and system |
CN114301562A (en) * | 2021-12-13 | 2022-04-08 | 西南科技大学 | Wireless network time synchronization period self-adaptive method and system |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120099608A1 (en) * | 2009-05-26 | 2012-04-26 | Zte Corporation | Synchronization Method and Device |
CN103777178A (en) * | 2014-01-03 | 2014-05-07 | 中国科学院电子学研究所 | Synchronization error compensation method, device and system |
CN105631063A (en) * | 2014-10-30 | 2016-06-01 | 北京航天长征飞行器研究所 | Intersection moment prediction method based on object features |
CN106788459A (en) * | 2016-12-12 | 2017-05-31 | 天津大学 | A kind of method of the estimation LDPC code error probability of Fast Convergent |
CN109787653A (en) * | 2019-01-17 | 2019-05-21 | 上海华测导航技术股份有限公司 | A kind of simple adaptive control improved method of timing error discriminator |
CN110058520A (en) * | 2019-04-02 | 2019-07-26 | 清华大学 | A kind of set time convergence output feedback model refers to control method |
US20190260477A1 (en) * | 2016-10-24 | 2019-08-22 | Inphi Corporation | Reduced complexity constrained frequency-domain block lms adaptive equalization for coherent optical receivers |
-
2020
- 2020-08-27 CN CN202010877365.8A patent/CN112165368B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120099608A1 (en) * | 2009-05-26 | 2012-04-26 | Zte Corporation | Synchronization Method and Device |
CN103777178A (en) * | 2014-01-03 | 2014-05-07 | 中国科学院电子学研究所 | Synchronization error compensation method, device and system |
CN105631063A (en) * | 2014-10-30 | 2016-06-01 | 北京航天长征飞行器研究所 | Intersection moment prediction method based on object features |
US20190260477A1 (en) * | 2016-10-24 | 2019-08-22 | Inphi Corporation | Reduced complexity constrained frequency-domain block lms adaptive equalization for coherent optical receivers |
CN106788459A (en) * | 2016-12-12 | 2017-05-31 | 天津大学 | A kind of method of the estimation LDPC code error probability of Fast Convergent |
CN109787653A (en) * | 2019-01-17 | 2019-05-21 | 上海华测导航技术股份有限公司 | A kind of simple adaptive control improved method of timing error discriminator |
CN110058520A (en) * | 2019-04-02 | 2019-07-26 | 清华大学 | A kind of set time convergence output feedback model refers to control method |
Non-Patent Citations (1)
Title |
---|
王頲: "不可靠WSN时钟同步网络化输出反馈MPC量化分析", 《仪器仪表学报》 * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114071695A (en) * | 2021-12-13 | 2022-02-18 | 西南科技大学 | Time synchronization hop convergence method and system |
CN114301562A (en) * | 2021-12-13 | 2022-04-08 | 西南科技大学 | Wireless network time synchronization period self-adaptive method and system |
CN114071695B (en) * | 2021-12-13 | 2023-04-28 | 西南科技大学 | Time synchronization hop count convergence method and system |
CN114301562B (en) * | 2021-12-13 | 2023-05-26 | 西南科技大学 | Period self-adaptive method and system for wireless network time synchronization |
Also Published As
Publication number | Publication date |
---|---|
CN112165368B (en) | 2021-12-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112165368B (en) | Time-synchronized real-time adaptive convergence estimation system | |
WO2016173358A1 (en) | Clock synchronization frequency offset estimation method applicable to wia-pa network | |
US7865760B2 (en) | Use of T4 timestamps to calculate clock offset and skew | |
Cena et al. | Implementation and evaluation of the reference broadcast infrastructure synchronization protocol | |
US9054973B2 (en) | Method and system for Ethernet congestion management | |
EP2025104A2 (en) | Network time protocol precision timestamping service | |
WO2021056761A1 (en) | Frequency offset estimation method for average consistency clock synchronization | |
CA2522892A1 (en) | System for identifying and locating network problems | |
CN108923877B (en) | PCMA (Primary packet Access) timing acquisition and tracking method | |
CN106604387B (en) | Wireless sensor time synchronization method based on game theory | |
CN102412954A (en) | Clock frequency synchronization method in packet based network | |
CN112751641A (en) | TSN network time synchronization method, equipment and storage medium | |
Satzger et al. | A lazy monitoring approach for heartbeat-style failure detectors | |
CN103338472A (en) | Wireless network link quality estimation method | |
CN110505037B (en) | Network interface communication rate matching method, device, equipment and storage medium | |
Gomez et al. | Multimodal retransmission timer for lpwan | |
CN114710828B (en) | Wireless sensor network time synchronization method based on partial time stamp information | |
Puhm et al. | Synchronizing an ieee 1588 slave clock over both paths of a redundant ethernet system | |
CN107426748B (en) | Method for estimating performance of multiple sensors in wireless network control system | |
CN114205309A (en) | Frame sending time accurate calculation method facing TSN output interface | |
CN103746762A (en) | Wireless sensor network time synchronization method layered as required | |
CN109120637B (en) | Network security supervision platform and method | |
CN114301562B (en) | Period self-adaptive method and system for wireless network time synchronization | |
CN109150354B (en) | Method for calculating compression correction value in time-triggered Ethernet | |
CN101257415B (en) | Network flow real time self-adapting measuring method based on fixed storage space |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |