The present invention relates generally to clock timing in telecom networks, and more particularly to differential timing in such networks.
Telecom networks are built to deliver data and clock (the latter referred to as ‘service clock’) from one end of the network to the other. Strict standards for the stability of the clock at the output of a telecom network are in place to guarantee the quality of the service delivered at the end points. A collection of methods called ‘differential timing’ can be used to deliver the service clock from one end of the network to the other, when both ends of the network have access to a stable clock traceable to the same source (referred to as a ‘common clock’).
An example for such a method involves delivery of a 1.544 Mbps DS1 circuit from one end of the telecom network to the other. DS1 is the lowest rate circuit within the Plesiochronous Digital Hierarchy (PDH). When Synchronous Digital Hierarchy (SDH) technology is used to deliver the DS1 from one location to the other, all the network devices transporting the DS1 are locked to the same clock (hence ‘synchronous’). Therefore, the difference between the DS1 clock and the common clock can be encoded within the bits of the SDH container carrying the DS1 bits across the SDH network, providing the telecom end point enough information to recover the original DS1 clock with adequate clock stability and performance.
When this DS1 (or any other time division multiplexed TDM signal) is transported over a network optimized for delivery of data, the DS1 bits can be encapsulated into packets and sent across the packet network to be reassembled and played out onto the outgoing DS1 interface. This technology is sometimes called ‘circuit emulation’, as the DS1 circuit is emulated over a packet network providing both ends of the network a DS1 interface as if it were carried over a ‘real’ SDH or PDH transport network.
The DS1 service clock needs to be recovered at the remote end of the packet network with adequate performance. When both ends of the packet network have access to a common clock, the well known method to deliver the difference in clock between the DS1 service clock and the common clock is to timestamp the packets carrying the DS1 bits with a timestamp derived from the common clock. The common method is to use a 32 bit timestamp in the Real-Time-Protocol (RTP) header for this purpose. The receiver matches the timestamp of the common clock in the incoming packets (referred to as “remote timestamp”) with its own timestamp generated by the common clock (referred as “local timestamp”) and uses a Phase-Locked Loop (PLL) to adapt the outgoing DS1 clock to maintain a constant difference between the local and remote timestamps.
DS1 (as well as other TDM signals) are bi-directional. When DS1 circuits are transported over the packet network, there are situations in which both ends of the network need to recover the clock from the remote end. When differential timing is used, the common practice is to use the same timestamp clock frequency to timestamp the outgoing packets. Hence, the current differential timing methods are symmetric.
As shown in
In use, the first subsystem sender (or simply “sender”) samples N cycles of an incoming service clock (e.g. DS1 1544 kHz) with a common reference clock with frequency F3 (e.g. 19.44 MHz) and generates sender timestamps to be carried across the network to the receiver. A “reference clock with frequency F” is sometimes referred to herein simply as “reference clock F”, 1/N divider 104 generates a sample clock pulse every N cycles of the incoming service clock. Counter 106 value-increments each cycle of reference clock F3 and, each sample clock, generates a sender timestamp which holds the counter value at that time. The sender timestamp is sent to the receiver. Sender frequency converter 118 is used to convert an input frequency F1 (19.44 MHz) to the common reference clock frequency F3 (also 19.44 MHz in this example).
The second subsystem receiver (or simply “receiver”) uses F-Gen 116 for generation of the service clock (1544 kHz). The frequency of the clock generated by F-Gen is controlled by the controller. Exemplarily, F-Gen may be a Voltage Controlled Oscillator (VCO), which is an oscillator with a voltage controlled input. Change of the voltage level on its input changes the output frequency of the oscillator. There are many other well known ways to implement F-Gen. The output of the F-Gen is sampled using a circuit identical with that in sender 102 by sampling N cycles of the generated service clock with the common reference clock F3 to generate receiver timestamps. That is, 1/N divider 114 generates a sample clock pulse every N cycles of the generated service clock. Counter 112 value-increments each cycle of the reference clock and, each sample clock generates a receiver timestamp that holds the counter value at that time. This receiver timestamp is used by the controller to match against the received sender timestamp. Since both receiver and sender have access to the same reference clock, the receiver and sender timestamps should have a constant offset between them at any given time. Controller 110 compares the received sender timestamps and the locally generated receiver timestamps and corrects the F-Gen 116 frequency in order to regenerate the sender's clock (e.g. using a PLL, method). Frequency converter 120 is used to convert an input reference frequency F2 (10.24 MHz) to a common clock with frequency F3 (19.44 MHz in this example).
As shown in
The main disadvantage of the current practice symmetric systems and methods is that such systems must use a frequency conversion device (e.g. a PLL) to convert between the possible common clock frequencies in order to support real life deployment scenarios. Frequency conversion between high frequency clocks while maintaining accuracy requires PLL devices, which increases the price and complexity of the system. On the other hand, if a current practice symmetric subsystem does not include such a PLL device, its applicability to various deployment scenarios will be limited compared with asymmetric differential subsystems or compared with symmetric differential subsystems that include PLL devices.
In view of the disadvantages of symmetric differential timing systems and methods described above, there is a need for and it would be advantageous to have differential timing systems and methods that do not require frequency conversion devices and do not limit the range of applications when such devices are not present
The present invention discloses an asymmetric differential timing system and method that are superior to any symmetric differential timing systems and methods. As use herein, in some embodiments, “asymmetric” refers to differential timing using two subsystems, one having a sender and the other having a receiver that generate respective timestamps, wherein the frequency of the sender timestamps are different from (not equal to) the frequency of the receiver timestamps. In other embodiments, “asymmetric” refers to differential timing using two subsystems, each having a sender that generates respective timestamps, wherein the frequency of the timestamps of one sender are different from those of the other sender. In yet other embodiments, “asymmetric” refers to differential timing using two subsystems, each having at least one sender and at least one receiver that generate respective timestamps, wherein the frequency of the timestamps of one sender is different from that of at least one other sender or at least one other receiver.
To remove all doubt, the present invention includes embodiments in which a subsystem may include any positive number of both senders and receivers, only one sender or only one receiver.
The differential timing solution provided herein relieves the need for a frequency conversion device such as a PLL by relaxing the requirement for symmetric operation. Instead of using a PLL device as in current practice, a controller included in each subsystem uses arithmetic operations to accommodate the asymmetry of the solution. Arithmetic operations require fewer resources from the system (e.g. can be done in software) and no accuracy is lost. Therefore the present invention simplifies the cost and complexity of systems using the differential timing method without limiting the applicability of the solution only to symmetric deployment scenarios.
According to the present invention there is provided a method for reconstructing a service clock between two subsystems including steps of providing a first subsystem including a first sender and a second subsystem including a second sender and, in each subsystem, generating timestamps based on sampling of the service clock by a common clock available at both subsystems, such that a first timestamp frequency generated by the first subsystem is different from a second timestamp frequency generated in the second subsystem, whereby the non-equal timestamp frequencies define an asymmetric differential timing solution from which the service clock can be reconstructed.
According to the present invention there is provided a method for reconstructing a service clock between two subsystems including steps of providing a first subsystem including a sender and a second subsystem including a receiver, wherein both subsystems have a common clock traceable to the same source; by the sender, based on sampling of the service clock by the common clock, generating sender timestamps at a sender timestamp frequency; and, by the receiver, based on sampling of a reconstructed service clock by the common clock available at the receiver, generating local timestamps at a receiver timestamp frequency, wherein the frequency of the local timestamps is different from the sender timestamp frequency, whereby the non-equal timestamp frequencies define an asymmetric differential timing solution from which the service clock can be reconstructed.
According to the present invention there is provided a system for reconstructing a service clock between two, first and second subsystems communicating therebetween, the system including a first subsystem with a first transmission function operative to generate first subsystem timestamps at a first frequency, a second subsystem with a second transmission function operative to generate second subsystem timestamps at a second frequency different from the first timestamps, wherein the generations of both first and second timestamps are based on sampling of the service clock by a common clock available at both subsystems and an aligner for arithmetically aligning the different first and second subsystem timestamps to reconstruct the service clock.
For a better understanding of the present invention and to show more clearly how it could be applied, reference will now be made, by way of example only, to the accompanying drawings in which:
The present invention discloses an asymmetric differential timing solution in which receiver and sender in each “subsystem” as defined above use the highest available clock frequency traceable to the same source for time-stamping and in which no PLL is required to convert between different frequencies.
In use, the first subsystem sender (or simply “sender”) 402 operates as before (i.e. similar to sender 102 of system 100). 1/N divider 404 generates a sample clock pulse every N cycles of the incoming service clock. Counter 406 value increments each cycle of the reference clock and, each sample clock, generates a sender timestamp which holds the counter value at that time. This sender timestamp is sent to receiver 108. However, in contrast with receiver 108, second subsystem receiver (or simply “receiver”) 408 has access to a common reference clock based on a different frequency (i.e. 10.24 MHz), Controller 410 and F-Gen 416 operate similarly to their counterparts in system 100. Counter 412 and 1/M divider 414 operate similar to counter 112 and 1/N divider 114 in system 100, except for the possibly different frequency divider (N compared with M). Aligner 418 aligns the incoming sender timestamps and the local receiver timestamps to a common time base. After the aligner performs this operation, as explained below, controller 410 can operate as in
The following example illustrates the operation of aligner 418 to align different timestamp and common clock frequencies. The ratio between the 19.44 MHz clock and the 10.24 MHz clock is 243/128. Therefore if one divides the incoming sender timestamps by 243, and divides the locally generated receiver timestamps by 128, one arrives at a common time-base for both timestamps. Since the aligner can be implemented in software, division can be implemented as an arithmetic operation and the variable storing the timestamps can be as accurate as desired. Therefore, no accuracy is lost, and no hardware frequency converter PLL needs to be used. In normal practice, all timestamp frequencies in telecom are multiples of 8 kHz (8000 cycles per second) signals. Therefore, it is always possible to align the timestamp frequencies to the 8 kHz time base. Alternatively, M and N values can be chosen such that the aligner does not need to perform any arithmetic operation at all. For example, if the ratio of N/M is equal to the ratio F1/F2, the timestamp time base will be aligned. In general, the aligner can align the time base for any combination of F1, F2, M and N in a set of simple arithmetic operations.
In summary, the present invention relieves the need for PLL devices used in current practice by relaxing the requirement for symmetric operations. Instead of using a PLL, device, a controller uses arithmetic operations to accommodate the asymmetry of the proposed differential timing solution. For the example given above, the arithmetic solution includes dividing the sender timestamps with frequency F1 and divider N by a number L1 and dividing the receiver timestamps with frequency F2 and divider M by a number L2 such that F1/(L1*N)=F2/(L2*M). Arithmetic operations require fewer resources from the system (e.g. can be done in software) and no accuracy is lost. Therefore the present invention simplifies the cost and complexity of systems using the differential timing method.
While the invention has been described with respect to a limited number of embodiments, it will be appreciated that many variations, modifications and other applications of the invention may be made. That is, while the invention has been described mostly as operating with two subsystems, the first a “sender” subsystem and the second a “receiver” subsystem, the invention is valid for many other variations involving senders and receivers. For example, the invention may work with subsystems that include either only one sender, only one receivers both sender and receiver or pluralities of senders and receivers in each subsystem. In particular, the invention covers the case in which each subsystem includes a sender, wherein the sender in one subsystem uses a different timestamp frequency to generate RTP timestamps from the sender in the other system. In the most general sense, the invention therefore covers any use of asymmetric differential timing, where the “asymmetric” aspect is defined as use of two or more subsystems, each having at least one sender, at least one receiver or both, wherein the frequency of the timestamps generated by a sender is not to the timestamp frequency generated by another sender or by another receiver.
The present invention claims priority from U.S. Provisional Patent Application No. 60/734,781 filed Nov. 9, 2005, the content of which is incorporated herein by reference.
Number | Date | Country | |
---|---|---|---|
60734781 | Nov 2005 | US |