This invention relates generally to the field of network communications, and more particularly to clock synchronization for Circuit Emulation Service.
Circuit Emulation Service (“CES”) allows time division multiplexing (“TDM”) services such as DS-n and E-n circuits to be transparently extended across a packet network. With circuit emulation over IP, for example, TDM data received from an external device at the edge of an Internet Protocol (“IP”) network is converted to IP packets, sent through the IP network, passed out of the IP network to its destination, and reassembled into a TDM bit stream. One application of CES is the interconnection of enterprise private telephone networks at different sites. For example, CES over a packet network can be used to connect two private branch exchanges (“PBXs”) on two different campuses without having packet transport capabilities on the PBXs themselves. This inter-working allows voice traffic between the two campuses to use a packet network backbone instead of leased TDM lines, and also allows voice and data traffic to use the same packet network.
In order for CES to function properly it is desirable to achieve the same clock in both the transmitting and receiving ends of a TDM circuit from end-to-end such that, for example, the T1 stream of a downstream PBX transmits with the clocking characteristics as the T1 stream of the upstream PBX. Known clocking techniques include both synchronous and asynchronous clocking modes, of which the asynchronous clocking modes include Differential Clock Recovery, Independent Clocking, Clock Recovery using Simple Timestamps, Adaptive Buffer-Fill-based Clock Recovery, and Adaptive Packet Inter-arrival Time Averaging-based Clock Recovery.
In the timestamp-based technique for clock synchronization, a master periodically sends explicit time indications or timestamps to a slave to enable the slave to synchronize its local clock to the transmitter's clock. A high-level view of a clock synchronization scheme based on timestamps is shown in
A phase lock loop (“PLL”) at the slave uses the timestamps, which constitute the PLL reference signal, to lock onto the master clock. The PLL has four main components: a phase detector, a loop filter, an analog or digitally controlled oscillator, and a timestamp counter. The phase detector computes the error signal as the difference between the reference signal and the output signal of the PLL. The error signal is passed on to the loop filter which is responsible for eliminating possible jitter and noise in the input signal. The controlled oscillator, which typically has a center frequency, oscillates at a frequency which is determined by the output signal of the loop filter. However, it would be desirable to reduce PLL input error.
In accordance with the invention,
One advantage of the three-way technique is that it generates lower PLL input errors as compared to the one-way technique. This advantage is in-part a result of employing reverse packet delay variation (“PDV”) to mitigate the effects of the forward PDV on the PLL input error.
Referring to
Referring to
The three-way message exchange technique has three phases. In Phase 1, samples of master clock signals are communicated to the slave as timestamps, Tg(n), n=1, 2, 3, K. The slave extracts the timestamp generation intervals from the timestamps received from the master, and also measures timestamp inter-arrival intervals, ΔRm(n)=Rm(n)−Rm(n−1), from the arriving timestamps using its local counter. In Phase 2, samples of slave clock signals are also communicated to the master as timestamps Rg(n), n=1, 2, 3, K. The master measures timestamp inter-arrival intervals, ΔTm(n)=Tm(n)−Tm(n−1), from the arriving timestamps sent from the slave using its local counter. In Phase 3, the timestamp inter-arrival interval measurements, ΔTm(n), n=1, 2, 3, K, taken by the master are then communicated to the slave.
At each timestamp arrival at the slave, the slave generates a PLL reference X(n) as the sum of the master's timestamp generation interval and the master's measurement of the timestamp inter-arrival intervals from the slave, i.e., X(n)=ΔTg(n)+ΔTm(n). The slave also generates a PLL output signal Y(n) as the sum of the slave's timestamp generation interval and the slave's measurement of the timestamp inter-arrival intervals from the master, i.e., Y(n)=ΔRg(n)+ΔRm(n). The phase detector computes the error signal, e(n), as the difference between the PLL reference signal and the PLL output signal divide by 2, i.e., e(n)=[X(n)−Y(n)]/2. The error signal is passed on to the loop filter which is responsible for eliminating possible jitter and noise in the input signal. The controlled oscillator which typically has a center frequency, oscillates at a frequency which is determined by the output signal of the loop filter.
The following simple example illustrates advantages of the three-way technique over the one-way technique. For this example the following clock and system variables and terms are defined as:
Master clock frequency (in MHz): ƒma=1.544
Slave clock frequency (in MHz): ƒsl=1.542
Timestamp experiences packet delay variation from Master to Slave (in ms): jms
Timestamp experiences packet delay variation from Slave to Master (in ms): jms
Master to Slave packet delay variation at ƒsl MHZ (in clock ticks): Pms=ƒsl·jms
Slave to Master packet delay variation at ƒma MHZ (in clock ticks): Psm=ƒma·jsm
Master timestamp generation interval (in clock ticks): ΔTg=1000
Slave timestamp generation interval (in clock ticks): ΔRg=1000
Master timestamp inter-arrival interval (in clock ticks):
Slave timestamp inter-arrival interval (in clock ticks):
Phase detector error in one-way scheme (in clock ticks): e1=ΔTg−ΔRm
Phase detector error in three-way scheme (in clock ticks):
One-way to three-way error ratio:
These definitions yield the results shown in Table 1. It can be observed from these results that the three-way technique generates much lower PLL input errors as compared to the one-way technique. Under packet delay variation (“PDV”) conditions in both directions in a network, the three-way technique is able to use the reverse PDV to mitigate the effects of the forward PDV on the PLL input error.
While the invention is described through the above exemplary embodiments, it will be understood by those of ordinary skill in the art that modification to and variation of the illustrated embodiments may be made without departing from the inventive concepts herein disclosed. Moreover, while the preferred embodiments are described in connection with various illustrative structures, one skilled in the art will recognize that the system may be embodied using a variety of specific structures. Accordingly, the invention should not be viewed as limited except by the scope and spirit of the appended claims.
A claim of priority is made to U.S. provisional patent application Ser. No. 60/732,276, entitled TECHNIQUE FOR DIFFERENTIAL CLOCK RECOVERY IN PACKET NETWORKS, filed Nov. 1, 2005, which is incorporated by reference.
Number | Name | Date | Kind |
---|---|---|---|
5815689 | Shaw et al. | Sep 1998 | A |
5970107 | Bleiweiss et al. | Oct 1999 | A |
6199169 | Voth | Mar 2001 | B1 |
6449291 | Burns et al. | Sep 2002 | B1 |
6496553 | Rokugo | Dec 2002 | B1 |
6898213 | Shimelmitz et al. | May 2005 | B1 |
6980586 | Ballinger | Dec 2005 | B1 |
7010074 | Nakamura | Mar 2006 | B2 |
7114091 | Vrancic | Sep 2006 | B2 |
7203240 | Kim et al. | Apr 2007 | B2 |
7372875 | Hadzic et al. | May 2008 | B2 |
7379480 | Balasubramanian et al. | May 2008 | B2 |
20020027886 | Fischer et al. | Mar 2002 | A1 |
20030056136 | Aweya et al. | Mar 2003 | A1 |
20040062278 | Hadzic et al. | Apr 2004 | A1 |
20040114632 | Yuuki et al. | Jun 2004 | A1 |
20050100054 | Scott et al. | May 2005 | A1 |
20050207387 | Middleton et al. | Sep 2005 | A1 |
20060245453 | Bedrosian | Nov 2006 | A1 |
Number | Date | Country |
---|---|---|
1 294 116 | Mar 2003 | EP |
Number | Date | Country | |
---|---|---|---|
20070097947 A1 | May 2007 | US |
Number | Date | Country | |
---|---|---|---|
60732276 | Nov 2005 | US |