CN101174912A - Self-adapting clock method based on time stamp facing Ethernet circuit simulation service - Google Patents

Self-adapting clock method based on time stamp facing Ethernet circuit simulation service Download PDF

Info

Publication number
CN101174912A
CN101174912A CNA2007101952365A CN200710195236A CN101174912A CN 101174912 A CN101174912 A CN 101174912A CN A2007101952365 A CNA2007101952365 A CN A2007101952365A CN 200710195236 A CN200710195236 A CN 200710195236A CN 101174912 A CN101174912 A CN 101174912A
Authority
CN
China
Prior art keywords
time stamp
drx
clock
ethernet
network
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
Application number
CNA2007101952365A
Other languages
Chinese (zh)
Other versions
CN101174912B (en
Inventor
戴锦友
余少华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fiberhome Telecommunication Technologies Co Ltd
Original Assignee
Wuhan FiberHome Networks Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Wuhan FiberHome Networks Co Ltd filed Critical Wuhan FiberHome Networks Co Ltd
Priority to CN 200710195236 priority Critical patent/CN101174912B/en
Publication of CN101174912A publication Critical patent/CN101174912A/en
Application granted granted Critical
Publication of CN101174912B publication Critical patent/CN101174912B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

The present invention relates to a clock synchronization method in the Ethernet circuit simulation business, in specific to an adaptive clock method based on the time stamp which faces to the Ethernet simulation operation. The method utilizes the local operation clock and counter to obtain the time stamp information (local time stamp) which represents the remote terminal and proximate operation clocks; the time stamp information is converted into random sequence which meets the kalman process and a measurement equation and the kalman filtering algorithm is used to filter noise from the sequence to obtain the real time stamp; the obtained real time stamp is used for regulating a voltage control oscillator to make local operation clock to track the remote terminal operation clock. The method adopts the kalman algorithm which makes the loop filtration can choose hardware to or software to realize; the application is more flexible; the frequency difference is monotonically decreasing basically without vibration and the lock anchor can be reached fast. Compared with the ordinary buffer zone method and time stamp method, the comprehensive function of the present invention is stronger.

Description

A kind of towards the self-adapted clock method of ethernet circuit artificial service based on time stamp
Technical field
The present invention relates to the clock synchronizing method in a kind of ethernet circuit artificial service, be specifically related to a kind of towards the self-adapted clock method of ethernet circuit artificial service based on time stamp.
Background technology
Consistently in the industry think that next generation network is based on the network of high-speed packet technology, and possess multiple services abilities such as voice-bearer, video and data simultaneously.Largest Packet Based Network Internet will be the main body of next generation network, and main flow group technologys such as IP and Ethernet are to realize the key technology of computer internet, traditional electrical phone network and the cable television network integration of three networks.
With regard to ethernet technology, present this technology is occupied application share more than 90% in the access aspect, and all advantages of showing in local area network (LAN) of ethernet technology, makes it become bearer network in metropolitan area network even the wide area network gradually.Most widely used procotol IP is also many simultaneously carries on Ethernet.The generation of carrier class Ethernet promotes Ethernet especially and develops to darker wider aspect.Ethernet technology will be one of mainstream technology of Packet Based Network of future generation.
On the other hand, developing into next generation network from existing network, is the process of an evolution, rather than the revolution negating fully to existing network and technology.SDH technology such as (Synchronous Digital Hierarchy) based on TDM (TimeDivision Multiplexing) has had extensive application on existing network.
Therefore, be the TDM network of representative and be that the packet network of representative is with long-term co-existence with IP and Ethernet etc. with SDH etc. in the next generation network evolution process.SDH and Ethernet also will merge mutually.On SDH, transmit the existing extensive application of Ethernet at present, but when Packet Based Network is in leading position, with the TDM business such as Packet Based Network transmission SDH such as Ethernet also is necessary, and the seamless link that how to realize Ethernet and existing TDM network is the important problem in network research field.
Transmit the existing relevant criterion of technology of TDM about Packet Based Network [1]-[5]Having done to describe in detail and regulation, is pith wherein synchronously.Transmit synchronous TDM business based on the asynchronous Ethernet of statistics and certainly exist bi-directional conversion between synchronous TDM code stream and the asynchronous Ethernet point data bag, TDM two ends clock be the major issue that at first will solve synchronously.From relevant criterion [6] [7] [8]As can be known, TDM is to there being high requirement synchronously.
The two ends clock synchronization mainly contains three class methods such as network clocking method, difference method and adaptive clock recovery method [5] [6]Preceding two class methods all require to provide same external reference clock at the TDM two ends, and this is the implacable requirement of Ethernet of current widespread usage.The adaptive clock recovery method is then recovered business clock according to the transmission situation that Ethernet data wraps on the network.So be suitable for existing Ethernet.
The adaptive clock recovery method as shown in Figure 1, substantially be similar to the functional structure of PLL (Phase-LockLoop), obtain error signal according to packet from the arrival situation that far-end is sent to near-end, control VCO (Voltage-Controlled Oscillator) or DCO (Digital-Controlled Oscillator) eliminates two ends PE (Provide Edge) or CE (Customer Edge) with error signal [3]-[5]The business clock frequency difference.Can be divided into based on reception buffering area filling level (hereinafter to be referred as buffer zone method) with based on time stamp (hereinafter to be referred as the time stamp method) two class methods according to the information of using.In Fig. 1, if input phase demodulation logic is the time stamp difference at two ends, then be the time stamp method, if input phase demodulation logic is the buffer state data, then be buffer zone method.The square that has letter " R " among the figure is represented clock recovery module, and its function is to make fs2 final sum fs1 frequency identical.
Buffer zone method is the difference that obtains the two ends business clock according to the operating position that receives buffering area (jitter-removing buffer), utilizes this difference to regulate the local service clock simultaneously and makes that two ends business clock trend is consistent [9] [10] [11]Be characterized in stable, realize simple relatively, but the locking (the two ends clock frequency the is equal substantially) time longer.
The time stamp method then is: when the Ethernet data bag of TDM information is carried in transmission, obtain the transmission time stamp of this packet, and this time stab information is encapsulated into packet.When receiving packet, generate and receive time stamp.And utilize the difference adjusting local service clock that receives time stamp and send time stamp to make the two ends business clock reach unanimity [12]Be characterized in that locking is very fast, require two ends can both generate time stamp, need take certain network bandwidth and transmit time stamp, and be subjected to the delay variation of network to influence bigger.
Summary of the invention
The objective of the invention is at present development of internet technology situation, a kind of adaptive clock recovery method based on time stamp of novelty is provided.This method need be in packet with respect to common time stamp method explicit transmission time stab information, and more stable; With respect to ordinary buffer district method, the locking time of this method is shorter, uses more flexible.
Technical scheme of the present invention is as follows: a kind of towards the self-adapted clock method of ethernet circuit artificial service based on time stamp, comprise the steps:
(1) when the Ethernet side is received packet, the counter that a high frequency clock drives is sampled and conduct reception time stamp RX mDeposit the time stamp buffering area in; When the TDM side begins to send a TDM unit, equally this counter is sampled, and with sampled value TX mDeposit in the time stamp buffering area as sending time stamp;
(2) when the two ends business clock is unequal, adjacent two receive time stamp RX mDifference DELTA RX mWith adjacent two transmission time stamp TX mDifference DELTA TX mBetween difference be dRX m, use kalman filter method and from one group of distortion time stamp that causes because of network delay, extract real dRX m
(3) with real dRX mControl error signal controlling VCO, thus the business clock frequency difference that sends PE and receive PE eliminated.
In general, necessarily there is a controllable part VCO inside, supposes that this controllable part is a VVC voltage variable capacitance, with dRX mAfter amplifying, amplifier is input to D/A converting circuit, from the voltage control variable capacitance of D/A converting circuit output, thus the output of control VCO.
Aforesaid towards the self-adapted clock method of ethernet circuit artificial service based on time stamp, wherein, employed process of kalman filter method and measurement equation are in the step (2):
G k=P k-1/(P k-1+R)
DRX k=DRX k-1+G k(M k-DRX k-1)
P k=(1-G k)P k-1
Order
M k = Σ m = kn ( k + 1 ) n Z m - nμ
DRX k = Σ m = kn ( k + 1 ) n dRx m
Wherein, Z mBe dRX mMeasured value,
Obtain P according to the information in the time stamp buffering area 0And R, utilize iterative algorithm to obtain DRX k, further obtain dRX m, P 0Be the posteriority estimate variance of initial condition, R is the mean square deviation that is the measurement noise that just too distributes.
The present invention utilizes local service clock sum counter to obtain representing the time stab information (local time stamp) of far-end and near-end business clock, time stab information is transformed into the random sequence that satisfies Kalman's process and measure equation by statistical calculation, and utilize Kalman filtering algorithm filtered noise from this random sequence, obtain true time stamp, make local service clock tracing far-end business clock thereby utilize the time stab information that obtains to regulate voltage controlled oscillator.This method adopts Kalman filtering algorithm to make loop filtering can select to realize or realize by means of software with hardware, should use more flexible, the frequency difference monotone decreasing, basic non-jitter takes place, and comparatively fast reaches keyed end.It is long and need deficiency such as additional networks bandwidth that the present invention can overcome locking time, has good performance, and with respect to ordinary buffer district method and common time stamp method, combination property of the present invention is stronger.
Description of drawings
Fig. 1 is the illustrative view of functional configuration of adaptive clock recovery method.
Fig. 2 is the illustrative view of functional configuration of KBLTS method of the present invention.
Fig. 3 is for using the hardware structure diagram of emulator of the present invention.
Fig. 4 is the emulation testing topological diagram of emulator.
Fig. 5 is the frequency difference of the present invention schematic diagram of situation of change in time.
Embodiment
Below in conjunction with drawings and Examples the present invention is described in detail.
A kind of towards the ethernet circuit artificial service as shown in Figure 2 based on the functional structure of the self-adapted clock method (KBLTS) of time stamp.
Receiving PE (for explaining conveniently, the PE that the present invention will implement the self-adaptive recovery clock is called reception PE, the PE that communicates with it is called transmission PE, in fact all PE send PE, also can be to receive PE), receive buffering area and be used for TDM information that packet that buffer memory arrives from the Ethernet side carries to absorb the delay variation that network causes.The Ethernet side periodically writes data to jitter-removing buffer, and the TDM side constantly from the jitter-removing buffer reading of data to recover the TDM code stream.When the business clock at two ends there are differences, cause the speed of the read-write operation of jitter-removing buffer there are differences, this species diversity accumulation will cause two kinds of possible results: buffering area completely causes loss of data, and buffer empty causes the space occurring between the TDM code stream, finally all shows as error code.The final function of adaptive clock recovery is exactly to make the business clock frequency at two ends identical, thereby avoids above-mentioned risk and other possible mistake.
Receive the VCO output high frequency clock (more than the 50MHz) of PE, it is as the input of counter, simultaneously behind the frequency division as the business clock f2 of TDM.Here the TDM load that an Ethernet data bag is carried is called TDM unit (can be one or more TDM time slots).When the Ethernet side is received packet, counter is sampled and conduct reception time stamp RX m(m=1,2... descend together) deposit the time stamp buffering area in.On the other hand, when the TDM side begins to send a TDM unit, equally counter is sampled, and with sampled value TX mDeposit in the time stamp buffering area as sending time stamp.
Output at VCO is under the situation of stable state, and one group sends time stamp and constitutes an arithmetic progression.That is to say Δ TX m=TX m-TX M-1It is constant (TX represents with Δ).
Consider ideal situation earlier, in the ideal case, network delay is 0, and f2 and f1 can be regarded as constant.
A group of received time stamp constitutes an arithmetic progression equally so.Difference then is that transmitting terminal sends the result of the cycle of two adjacent data bags with the output tolerance of receiving terminal VCO.In other words, Δ RX m=RX m-RX M-1Also be that a constant (RX represents with Δ) it and transmitting terminal business clock frequency f 1 are proportional.
When the two ends business clock is unequal, there are differences between two differences, that is to say dRX m=Δ RX m-Δ TX m≠ 0, but can regard it as constant (representing) with dRX.With dRX mControl VCO then can make f2=f1.In other words, ideally, receive two packets, the deviation of utilizing the time stamp of these two packets promptly can correct the two ends business clock.
Situation for real network is discussed again, and by document [13] [14] as can be known, the long-term frequency departure of clock is minimum, and therefore in a relatively short time, f2 and f1 still can be regarded as constant.But network delay then can not be ignored, and has randomness based on the network delay of the asynchronous Ethernet of statistic multiplexing, and therefore the reception time stamp that obtains at receiving terminal is distortion.The business clock information that can not directly reflect transmitting terminal.With Δ R ' X mExpression Δ RX in this case m, then can obtain:
AR′X m=ΔRX m+d m (1)
(1) d in the formula mThe expression network delay is to Δ RX mInfluence.
With d ' RX mExpression dRX in this case m, then
d’RX m=dRX m+d m (2)
Therefore real time stab information need be recovered from the time stab information of a series of distortions, just according to d ' RX mObtain dRX m, the Kalman filter among Fig. 2 is just for realizing that this function designs.Substantially equate with dRX from the signal of Kalman (Kalman) filter output, then can reach the target of f2=f1 with this signal controlling VCO.
● being described below of Kalman Filtering for Discrete model:
The subject matter that Kalman filter solves is: attempt to estimate the quantity of state x in the discrete time control procedure.
This discrete time control procedure can be described with following difference equation.
y k=Ay k-1+Bu k+w k-1 (3)
The observed quantity z of this discrete time control procedure can be represented by the formula.
z k=Hy k+v k (4)
(3)-(4) in the formula, y kBe the n n dimensional vector n, z kIt is the m n dimensional vector n.A is n * n matrix.Optional controlled quentity controlled variable u kIt is the l dimensional vector.B is n * l matrix.H is m * n matrix.
Stochastic variable w k(n n dimensional vector n), v k(m n dimensional vector n) is respectively process and measures noise.They obey the normal distribution that (5) formula and (6) formula are represented respectively.
p(w)~N(0,Q) (5)
p(v)~N(0,R) (6)
The time renewal equation that obtains Kalman Filtering for Discrete based on (3)-(4) formula is shown in (7) formula and (8) formula.
y ′ k - = A y ′ k - 1 + Bu k - - - ( 7 )
P k - = AP k - 1 A T + Q - - - ( 8 )
(7)-(8) in the formula
Figure S2007101952365D00073
With
Figure S2007101952365D00074
Be respectively the priori estimates and the posterior estimate in k-1 step in k step.P k -And P K-1, be respectively the prior estimate variance and the k-1 step posteriority estimate variance in k step.
Obtain the measurement renewal equation of Kalman Filtering for Discrete shown in the formula of (9)-(11) based on (3)-(4) formula equally.
g k = P k ′ H T ( HP k ′ H T + R ) - 1 - - - ( 9 )
Figure S2007101952365D00076
P k = ( 1 - g k H ) P k - - - - ( 11 )
(9)-(11) n n dimensional vector n g in the formula kBe kalman gain, it can make the variance minimum of posterior estimate as regulatory factor.Based on time renewal equation and measurement renewal equation, use iterative algorithm can make posterior estimate
Figure S2007101952365D00078
Progressively approach its actual value.Document [15] is described in detail and analyzes Kalman filter.
● the method for application card Kalman Filtering is as follows in the KBLTS method:
By the discussion of front as can be known, the key of KBLTS method is to extract real dRX from the time stamp of one group of distortion m(12)-(13) two formulas can be described the character that receives time stamp:
dRX m=dRX m-1 (12)
Z m=d′RX m=dRX m+d m (13)
Z in the formula mThe dRX that can regard as mMeasured value.
By the discussion of front as can be known, (12) formula can be regarded A=1 as, B=0, Kalman's process equation of Q=0.Measurement equation when (13) formula is also with H=1 is very similar.But stochastic variable d m(0, R) distributional assumption is then not necessarily set up to defer to N.
By central-limit theorem as can be known: if stochastic variable X 1, X 2... X nSeparate, obey same distribution, and the mathematic expectaion of each stochastic variable and variance are respectively μ and σ 2, so:
Yn = lim n → ∞ ( Σ m = 0 n X m - nμ n σ ) ~ N ( 0,1 ) - - - ( 14 )
Set up, that is to say, when n->∞, Y nObey (0,1) normal distribution.
Since stochastic variable d1, d2...d mBe the propagation delay time in the same time period on consolidated network, can regard independent identically distributed stochastic variable as.According to law of great number, when n was big, its mathematic expectaion and variance can be by the following formula approximate representations:
μ ≈ ( Σ m = 0 n d m ) / n - - - ( 15 )
σ 2 ≈ ( Σ m = 0 n ( d m - μ ) 2 ) / n - - - ( 16 )
By (14)-(16) Shi Kede, when n was enough big, following formula is approximate to be set up:
j k = Σ m = kn ( k + 1 ) n dm - nμ ~ N ( 0 , R ) - - - ( 17 )
Order
M k = Σ m = kn ( k + 1 ) n Z m - nμ - - - ( 18 )
DRX k = Σ m = kn ( k + 1 ) n dRx m - - - ( 19 )
Obtain on this basis:
DRX k=DRX k-1 (20)
M k=DRX k+j k (21)
(20) formula meets the condition of Kalman's process equation, and (21) formula also can be regarded H=1, j as k(0, Kalman R) measures equation to ~ N.Therefore can use Kalman filtering algorithm.
So it is as follows to obtain the time renewal equation of Kalman filtering of KBLTS method:
DRX′ k=DRX k-1 (22)
P′ k=P k-1 (23)
The measurement renewal equation of Kalman filtering that obtains the KBLTS method is as follows:
G k=P′ k/(P′ k+R) (24)
DRX k=DRX′ k+G k(M k-DRX′ k)?(25)
P k=(1-G k)P′ k (26)
Obtain by the simplification of (22)-(26) formula:
G k=P k-1/(P k-1+R) (27)
DRX k=DRX k-1+G k(M k-DRX k-1)?(28)
P k=(1-G k)P k-1 (29)
Obtain P according to the information in the time stamp buffering area 0And R, then utilize iterative algorithm can obtain DRX k, further can obtain dRX m, then be exactly the information that we need obtain.
In the present invention, definition P kBe respectively k step posteriority estimate variance, P so 0Be the posteriority estimate variance of initial condition, R is the mean square deviation that is the measurement noise that just too distributes.P 0Can not directly obtain with R, need obtain by statistical computation based on the measured value in early stage.Such as, can make algorithm begin to carry out from obtaining n sample, the individual sample of 0--(n-1) can be as calculating P so 0Value with R.
● the realization of KBLTS method and testing evaluation method are as follows:
Being without loss of generality, is representative design and simulation testing equipment to transmit E1 on the 100 m ethernet network here, and the main hardware structure of emulator as shown in Figure 3.In emulator, E1 line interface unit (LIU, Line Interface Unit) be connected with FPGA (Field-programmable gate array), FPGA is connected to Ethernet switching chip by 100,000,000 PHY, is connected to CPU by pci bus simultaneously.Ethernet switching chip also is connected with CPU by pci bus, is connected with optical module by 100,000,000 PHY simultaneously.
FPGA realizes two-way mapping function, communication function, time stamp systematic function and the clock complex functionality etc. of pci interface function, TDM and Ethernet data bag.
FPGA receives TDM information and is mapped to the Ethernet data bag from LIU, and by Ethernet switching chip packet is sent on the ethernet network.Simultaneously, FPGA receives the Ethernet data bag from ethernet network, extracts tdm data and deposit jitter-removing buffer in, the recorder time stab information from the Ethernet data bag.Fetch data from jitter-removing buffer simultaneously, utilize the local service clock to send to LIU, the corresponding time stamp that sends of record.Send time stamp and receive time stamp and obtain by the local VCO actuation counter of 100M.
CPU then constantly reads from FPGA and receives time stamp and send time stab information, utilizes software to extract real dRX based on kalman filter method, and CPU writes dRX in the current time stamp difference register of FPGA then, and kind is used when regulating for FPGA.
The dRX that FPGA writes back according to CPU is in conjunction with digital-to-analogue conversion and gain logic, control VCO output local service clock.
For the self-adapted clock method with other compares, realized a kind of common buffer zone method and a kind of common time stamp method simultaneously, these two kinds of methods all adopt hardware low pass filter to come filtered noise.
The used network topology of emulation testing as shown in Figure 4.
Emulator among Fig. 4 has functional structure shown in Figure 3.Import the time delay distribution of background traffic to obtain being similar at random with Smartbits during test with real network.Two E1 interfaces of test instrumentation ANT-20E are connected respectively to the E1 interface of two ends emulator.
When ANT-20E sends data, observe and write down measurement and the record of ANT-20E to receive clock.Successively emulator is arranged to ordinary buffer district method, common time stamp method and KBLTS method and logging test results, can be obtained Fig. 5 according to test result.
Transverse axis express time (second) among Fig. 5, the longitudinal axis is represented time dependent two ends frequency difference.As can be seen from Figure 5, for the KBLTS method, during near 35ppm, after about 10 seconds, the two ends clock frequency is basic identical in two ends clock original frequency difference.And ordinary buffer district method is more much longer than KBLTS method locking time, and common time stamp method time of locking is basic suitable with the KBLTS method, but it is stable to be not so good as the KBLTS method.
KBLTS adopts local high frequency clock sampling is obtained receiving and sending time stamp respectively, thereby making to not be used in transmits time stab information and saved use to the network bandwidth on the network.Adopt Kalman filtering algorithm to make loop filtering can select to realize or realize, should use more flexible by means of software with hardware.As can be seen from Figure 5, adopt the KBLTS method, the frequency difference monotone decreasing, basic non-jitter takes place, and comparatively fast reaches keyed end.Obviously, it is long and need deficiency such as additional networks bandwidth that the KBLTS method can overcome locking time, has good performance.With respect to ordinary buffer district method and common time stamp method, the combination property of KBLTS method is better.
List of references
[1]Metro?Ethernet?Forum,MEF?3,Circuit?Emulation?Service?Definitions,Framework?andRequirements?in?Metro?Ethernet?Networks,2004.
[2]Metro?Ethernet?Forum,MEF?8,Implementation?Agreement?for?the?Emulation?of?PDH?Circuitsover?Metro?Ethernet?Networks,2004
[3]X.Xiao,D.McPherson,P.Pate,IETF?Rfc?3916,Requirements?for?Pseudo-Wire?EmulationEdge-to-Edge(PWE3),2004
[4]S.Bryant,P.Pate,IETF?Rfc?3985,Pseudo?Wire?Emulation?Edge-to-Edge(PWE3)Architecture,2005
[5]M.Riegel,IETF?Rfc?4197,Requirements?for?Edge-to-Edge?Emulation?of?Time?DivisionMultiplexed(TDM)Circuits?over?Packet?Switching?Networks,2005
[6]INTERNATIONAL?TELECOMMUNICATION?UNION,ITU-T?G826.1/Y.136l,Ethernetover?Transport?aspects-Quality?and?availability?targets:Timing?and?synchronization?aspects?inPacket?Networks,2006
[7]INTERNATIONAL?TELECOMMUNICATION?UNION,ITU-TG.823,The?control?ofjitter?and?wander?within?digital?networks?which?are?based?on?the?2048kbit/s?hierarchy,2000
[8]INTERNATIONAL?TELECOMMUNICATION?UNION,ITU-T?G.824,The?control?ofjitter?and?wander?within?digital?networks?which?are?based?on?the?1544?kbit/s?hierarchy,2000
[9]Luis?Castel-Branco,Mario?Serafim?Nunes.Clock?recovery?for?circuit?emulation?servicesover?ATM?Broadband?Communications,1996.Global?Infrastructure?for?the?Information?Age.Proceedings?of?the?International?IFIP-IEEE?Conference?on?23-25?April?1996?Page(s):617-625
[10]Fukada,Y.,Yasuda,T.,Komatsu,S.et?al.Adaptive?Clock?Recovery?Method?UtilizingProportional-Integral-Derivative(PID)Control?for?Circuit?Emulation,Communications,2005Asia-Pacific?Conference?on?03-05?Oct.2005?Page(s):19-23
[11]Fujikawa,F.,Serizawa,Y.Experimental?considerations?on?adaptive?clock?method?fortransmitting?microprocessor-based?current?differential?teleprotection?signals?in?ATM?networksPower?Engineering?Society?1999?Winter?Meeting,IEEE?Volume?1,31?Jan.-4?Feb.1999Page(s):229-234?vol.1?Digital?Object?Identifier?10.1109/PESW.1999.747459
[12]James?Aweya,Delfin?Y.Montuno,Michel?Ouellette,et?al.Clock?synchronization?forpacket?networks?using?a?weighted?least-squares?error?filtering?technique?and?enabling?circuitemulation?service,International?Journal?of?Communication?Systems?Early?View
[13]INTERNATIONAL?TELECOMMUNICATION?UNION,ITU-T?G.811,Timingcharacteristics?of?primary?reference?clocks,1997
[14]INTERNATIONAL TELECOMMUNICATION?UNION,ITU-T?G.812,Timingrequirements?of?slave?clocks?suitable?for?use?as?node?clocks?in?synchronization?networks,1998
[15]J.Huston McCulloch,The?Kalman?Foundations?of?Adaptive?Least?Squares,http://econ.ohio-state.edu/jhm/papers/KalmanAL.pdf

Claims (2)

1. one kind towards the self-adapted clock method of ethernet circuit artificial service based on time stamp, comprises the steps:
(1) when the Ethernet side is received packet, the counter that a high frequency clock drives is sampled and conduct reception time stamp RX mDeposit the time stamp buffering area in; When the TDM side begins to send a TDM unit, equally this counter is sampled, and with sampled value TX mDeposit in the time stamp buffering area as sending time stamp;
(2) when the two ends business clock is unequal, adjacent two receive time stamp RX mDifference DELTA RX mWith adjacent two transmission time stamp TX mDifference DELTA TX mBetween difference be dRX m, use kalman filter method and from one group of distortion time stamp that causes because of network delay, extract real dRX m
(3) with real control error signal dRX mControl VCO, thus the business clock frequency difference that sends PE and receive PE eliminated.
2. as claimed in claim 1 towards the self-adapted clock method of ethernet circuit artificial service based on time stamp, it is characterized in that: the employed measurement equation of kalman filter method is in the step (2):
G k=P k-1/(P k-1+R)
DRX k=DRX k-1+G k(M k-DRX k-1)
P k=(1-G k)P k-1
Order
M k = Σ m = kn ( k + 1 ) n Z m - nμ
DRX k = Σ m = kn ( k + 1 ) n dRx m
Wherein, Z mBe dRX mMeasured value,
Obtain P according to the information in the time stamp buffering area 0And R, utilize iterative algorithm to obtain DRX k, further obtain dRX m, P 0Be the posteriority estimate variance of initial condition, R is the mean square deviation that is the measurement noise that just too distributes.
CN 200710195236 2007-12-05 2007-12-05 Self-adapting clock method based on time stamp facing Ethernet circuit simulation service Active CN101174912B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200710195236 CN101174912B (en) 2007-12-05 2007-12-05 Self-adapting clock method based on time stamp facing Ethernet circuit simulation service

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200710195236 CN101174912B (en) 2007-12-05 2007-12-05 Self-adapting clock method based on time stamp facing Ethernet circuit simulation service

Publications (2)

Publication Number Publication Date
CN101174912A true CN101174912A (en) 2008-05-07
CN101174912B CN101174912B (en) 2012-07-25

Family

ID=39423199

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200710195236 Active CN101174912B (en) 2007-12-05 2007-12-05 Self-adapting clock method based on time stamp facing Ethernet circuit simulation service

Country Status (1)

Country Link
CN (1) CN101174912B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102237997A (en) * 2011-07-08 2011-11-09 山东大学 Method for real-time synchronization and dynamic compensation between chain Ethernet nodes
CN101330342B (en) * 2008-07-30 2011-11-30 中兴通讯股份有限公司 Method for implementing time synchronization protocol using port mirror and apparatus thereof
CN102404066A (en) * 2011-11-21 2012-04-04 杭州晨晓科技有限公司 Self-adaptive clock recovery method
CN104660361A (en) * 2015-02-11 2015-05-27 杨德朝 Filtering method for time synchronization of distributed network
WO2016074152A1 (en) * 2014-11-11 2016-05-19 华为技术有限公司 Method and apparatus for processing differential clock recovery
CN110336635A (en) * 2019-06-11 2019-10-15 深圳市英特瑞半导体科技有限公司 A kind of temporal noise transmission method, device and network node
CN110493658A (en) * 2019-08-20 2019-11-22 武汉兴图新科电子股份有限公司 A kind of network bandwidth method for detecting, equipment and storage equipment

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2392588A (en) * 2002-08-24 2004-03-03 Zarlink Semiconductor Ltd Adaptive TDM clock recovery using timestamps
CN1607787B9 (en) * 2003-07-28 2018-12-14 上海宣普实业有限公司 The automatic frequency correcting method of time-diviional radiocommunication system
CN1262092C (en) * 2003-09-16 2006-06-28 深圳市格林耐特通信技术有限责任公司 Method and system for synchronizing clock resuming in packet network

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101330342B (en) * 2008-07-30 2011-11-30 中兴通讯股份有限公司 Method for implementing time synchronization protocol using port mirror and apparatus thereof
CN102237997A (en) * 2011-07-08 2011-11-09 山东大学 Method for real-time synchronization and dynamic compensation between chain Ethernet nodes
CN102237997B (en) * 2011-07-08 2014-05-28 山东大学 Method for real-time synchronization and dynamic compensation between chain Ethernet nodes
CN102404066A (en) * 2011-11-21 2012-04-04 杭州晨晓科技有限公司 Self-adaptive clock recovery method
WO2016074152A1 (en) * 2014-11-11 2016-05-19 华为技术有限公司 Method and apparatus for processing differential clock recovery
CN106664233A (en) * 2014-11-11 2017-05-10 华为技术有限公司 Method and apparatus for processing differential clock recovery
CN104660361A (en) * 2015-02-11 2015-05-27 杨德朝 Filtering method for time synchronization of distributed network
CN110336635A (en) * 2019-06-11 2019-10-15 深圳市英特瑞半导体科技有限公司 A kind of temporal noise transmission method, device and network node
CN110336635B (en) * 2019-06-11 2021-03-02 深圳市英特瑞半导体科技有限公司 Time noise transmission method, device and network node
CN110493658A (en) * 2019-08-20 2019-11-22 武汉兴图新科电子股份有限公司 A kind of network bandwidth method for detecting, equipment and storage equipment

Also Published As

Publication number Publication date
CN101174912B (en) 2012-07-25

Similar Documents

Publication Publication Date Title
CN101174912B (en) Self-adapting clock method based on time stamp facing Ethernet circuit simulation service
CN100550720C (en) Clock synchronization on Packet Based Network
CN1866803B (en) Method for solving clock synchronization in total Ethernet
EP1912361B1 (en) Method, system and device for clock transmission between sender and receiver
US6072810A (en) Method to transparently transport an incoming clock signal over a network segment, and related transmitter and receiver unit
US9231754B2 (en) Method for accurate distribution of time to a receiver node in an access network
US5241543A (en) Independent clocking local area network and nodes used for the same
CN102577193B (en) Network timing distribution and synchronization using virtual network delays
CN102215103B (en) System and method for converting upstream impulse mode data to continuous mode data
US20130121347A1 (en) Communication apparatus
CN101222315B (en) Integrated phase lock loop and network PHY or switch
CN101133621A (en) A small form-factor device implementing protocol conversion
JP4215355B2 (en) Communications system
CN1893387B (en) Encapsulation of e1-type frames under ethernet
Vallat et al. Clock synchronization in telecommunications via PTP (IEEE 1588)
JP2013526196A (en) Data transmission including multiplexing and demultiplexing of embedded clock signals
CN1190744C (en) Method and apparatus for reducing jitter or wander on internet working between ATM network and PDH network
CN1647424B (en) Synchronization in a communication system
US8817826B2 (en) Aggregating lower bandwidth asynchronously clocked communication links into a higher bandwidth link
CN102340365B (en) Timestamp-based clock recovery method and device
CN100358323C (en) Gateway apparatus for transmitting telecommunication TDM service in passive optical Ethernetwork
Serizawa et al. SDH-based time synchronous system for power system communications
CN102647313B (en) A kind of network test system
WO2009121421A1 (en) Method and apparatus for transferring timing information between clock domains
US8665912B2 (en) Method and system for transmitting a clock rate on an Ethernet network link and applications thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20170329

Address after: 430074 East Lake high tech Development Zone, Hubei Province, No. 6, No., high and new technology development zone, No. four

Patentee after: Fenghuo Communication Science &. Technology Co., Ltd.

Address before: 430000 Wuhan District, Hubei City, Hongshan District Road No. 88

Patentee before: Wuhan Fenghuo Network Co., Ltd.