In an rts generator used in an atm network where a network reference clock is continuously counted to produce the lower four bits of a counted number, which are, in turn, latched in response to a latching pulse signal produced by frequency dividing a CBR clock by N=3008, the latched number providing the rts, the lower four bits are formed on the base of the gray code so as to avoid latching of abnormal number even in racing condition between the change of the counted number and a rising of the latching pulse.
|
15. A method for generating an rts (Residual Time Stamp) signal for use in an atm (Asynchronous Transfer Mode) which comprises the steps of:
dividing a network clock signal to form a network reference clock signal; counting said network reference clock signal to produce a counted number based on the gray code; dividing a user clock signal to produce a latching pulse signal; and latching said counted gray code number based on said latching pulse signal to produce a latched grey code number.
8. An rts (Residual Time Stamp) generating circuit for use in an atm (Asynchronous Transfer Mode) network for producing an rts signal, said rts generating circuit comprising:
a first divider responsive to a network clock signal, wherein said first divider divides said frequency of said network clock signal by a first constant to produce a network reference clock signal; a gray code counter, wherein said gray code counter continuously receives said network reference clock signal and produces a gray code number based thereon; a second divider, wherein said second divider frequency-divides a user signal by a second constant and produces a latching pulse signal at an output therefrom; and a latching circuit having first and second input terminals, wherein said gray code counter and said second divider are respectively coupled to said first and second input terminals, wherein said latching circuit latches said gray code number to produce a latched number of the gray code.
1. An rts (Residual Time Stamp) generating circuit for use in an atm (Asynchronous Transfer Mode) network to transfer to a user's signal using a network clock signal of a network clock frequency, the network clock signal being frequency-divided by a predetermined dividing value to form a network reference clock signal of a divided frequency as a network reference frequency, said user's signal having a user's clock signal having a user's clock frequency, which comprises:
counter means for counting said network reference clock signal to produce a counted number on the base of the gray code; dividing means responsive to said user's clock signal for frequency-dividing said user's clock frequency to produce a divided signal of a divided frequency as a latching pulse signal; and latching means coupled to said counter means and said dividing means and responsive to said latching signal for latching said counted number to produce a latched number of the gray code, said latched number providing the rts signal, wherein a racing condition is substantially prevented by said rts generating circuit.
2. An rts generating circuit as claimed in
3. An rts generating circuit as claimed in
4. An rts generating circuit as claimed in
5. An rts generating circuit as claimed in
6. An rts generating circuit as claimed in
7. An rts generating circuit as claimed in
9. An rts generating circuit as claimed in
10. An rts generating circuit as claimed in
11. An rts generating circuit as claimed in
12. An rts generating circuit as claimed in
13. An rts generating circuit as claimed in
14. An rts generating circuit as claimed in
16. An rts signal generating method as claimed in
converting said latched gray code number into a binary number; and providing said binary number as said rts signal.
17. An rts signal generating method as claimed in
18. An rts signal generating method as claimed in
counting said network reference clock signal to produce a binary counter output; and, converting said binary counter output to produce said counted number based on the gray code.
19. An rts signal generating method as claimed in
latching said counted number of the gray code; and, delivering said latched number of the gray code to be latched again, based on said latching pulse signal.
20. An rts signal generating method as claimed in
providing said latched grey code number as said rts signal.
|
The present invention relates to timing recovery for an ATM (Asynchronous Transfer Mode) network transporting a CBR (Constant Bit Rate) signal therethrough and, in particular, to a circuit for generating an RTS (Residual Time Stamp) signal used in an SRTS (Synchronous Residual Time Stamp) technique performing for the timing recovery.
The ATM network is a B-ISDN (Broadband-Integrated Service Digital Network) using the ATM which is known to be a packet oriented technology. The ATM network requires a CLAD (Cell Assembly and Disassembly) which comprises a CLA (Cell Assembly) section for forming cells from an information source signal or a data source signal to be transmitted and a CLD (Cell Disassembly) for reproducing the cells into the original information signal or the data signal.
In various CBR signals, as the information source signals, there is one which has a clock signal thereof which is independent from the network clock. In such a case, it is necessary to transmit information of the clock frequency of the CBR signal through the ATM network together with the cells for the timing recovery. In order to meet the requirement, ITU-T Recommendation I.363 adapted the SRTS (Synchronous Residual Time Stamp) as a standard for timing recovery for the AAL (ATM Adaptation Layer) type 1. The CLAD using the SRTS standard has the RTS generating circuit in the CLA section.
In transmission of the information of the CBR clock frequency, the CBR signal is separated into blocks each having N (integer) bits. A time instant when the CLA section receives a leading head of the separated blocks is measured by a scale of the network reference clock frequency fnx. The measured instant is determined as a TS (time stamp). In this connection, the CBR clock frequency fs is generally small in its frequency deviation, the digits of the TS higher than 2p+1 are substantially maintained constant for a certain number. Accordingly, the digits higher than 2p+1 do not need to be transmitted. Therefore, it will be understood that the bits or the digits equal to or lower than 2p are all to be transmitted for the timing recovery. Those digits equal to or lower than 2p are referred to as the RTS.
The CLA section produces 8 cells which include N-bit of the information with the RTS and sends out the cell through the ATM network.
When the time of the N bits of the CBR signal with the CBR clock frequency fs is represented by T (=N/fs), the time T is determined to be a time period for sending out the RTS. Therefore, the difference M between an adjacent set of two RTSs sequentially sent out is given by fnx T. In practice, RTS is represented by an integer and, therefore, an integer Md, which is adjacent M, is used for M.
The CLD section derives RTS signals from the cells received, and obtains Md which is a difference of the subsequent two RTSs. Then, T (=Md/fx) is reproduced from Md and fnx and the CBR clock frequency fs is reproduced by multiplication of N and 1/T.
In the cell format according to the AAL type 1, CSI (Convergence Sublayer Indication) bit in odd number SC (Sequence Count field) is used for RTS transportation. Therefore, RTS comprises four bits which are transferred through eight cells. This means p=4.
A known RTS generator used in the CLA section comprises a four-bit counter for continuously counting the network reference clock fnx to produce a counted number which is a four-bit binary number. On the other hand, the CBR clock signal fs is frequency divided by N to produce a latching pulse signal. The four-bit binary number is latched at a latching circuit in response to the latching pulse signal. The latched four-bit binary number provides the RTS.
In the known RTS generating circuit, the RTS is given an abnormal number when the output of the four-bit binary counter and the latching pulse signal are put in a so called racing condition, as will later be described in detail. This disables the CLD section in the reception side from reproducing the CBR clock from the RTS.
Therefore, it is an object of this invention to provide an RTS generating circuit which enables producing not an abnormal RTS, but a correct RTS, even when the counter output and the latching pulse are put in the racing condition.
This invention is applicable to an RTS (Residual Time Stamp) generating circuit for use in an ATM (Asynchronous Transfer Mode) network to transfer a user's signal using a network clock signal of a network clock frequency, the network clock signal being frequency-divided by a predetermined dividing value to form a network reference clock signal of a divided frequency as a network reference frequency, and the user's signal having a user's clock signal having a user's clock frequency.
According to this invention, the RTS generating circuit comprises: counter means for counting the network reference clock signal to produce a counted number on the base of the Gray code; dividing means responsive to the user's clock signal for frequency-dividing the user's clock frequency to produce a divided signal of a divided frequency as a latching pulse signal; and latching means coupled to the counter means and the dividing means and responsive to the latching signal for latching the counted number to produce a latched number of the Gray code, the latched number providing the RTS signal.
The RTS generating circuit may further comprise frequency dividing means for dividing the network clock signal to produce the network reference clock signal.
The RTS generating circuit may further comprise converter means for converting the latched number of the Gray code into a number of the conventional binary code, as the RTS signal.
In the RTS generating circuit, the counter means is a four-bit counter for delivering the lower four bits of the counted number of the Gray code.
The terms "binary code" means a code in which each allowable position has one of two possible states, commonly 0 and 1. The typical one is the binary number system. Therefore, the terms "binary code" is usually and conventionally used for the binary number system.
Throughout the present description, the terms of mere "binary code" or the other terms of "conventional binary code" are used to mean the binary number system.
In the art, the terms "Gray code" are known as a modified binary code in which sequential numbers are represented by expressions that differ only in one bit, to minimize errors. The Gray code is also referred to as "reflective code". In the present invention, the Gray code is used for producing the RTS.
FIG. 1 is a block diagram view illustrating a known RTS generating circuit;
FIG. 2 is a view illustrating the racing condition in the known circuit of FIG. 1;
FIG. 3 is a block diagram view illustrating an RTS generating circuit according to one embodiment of the present invention;
FIG. 4 is a view illustrating the racing condition in the circuit of FIG. 3;
FIG. 5 is a block diagram view of a modified RTS generating circuit according to another embodiment; and
FIG. 6 is a block diagram view of an RTS generating circuit according to still another embodiment.
Prior to description of preferred embodiments of this invention, description will be made with regard to a known RTS generating circuit with reference to FIGS. 1 and 2, so as to help promote more understanding of this invention.
Referring to FIG. 1, the known RTS generating circuit comprises a first divider 11 responsive to a network clock signal of a network clock frequency fn (for example, 155.52 MHz) for dividing the network clock frequency fn by x, x being a predetermined dividing numeral (for example, x=2), to produce a network reference clock signal of a reference frequency fnx, a four-bit (4-bit) counter 12 responsive to the network reference clock signal of the frequency fnx to continuously count (that is, the four-bit counter 12 is in a free-run condition) the network reference clock signal to produce a counted number on the base of the binary code. Four-bit signals representative of the lower four digits of the counted number are delivered, as a four-bit counter output, to its output of four digit output terminals. Also, a CBR clock signal of a CBR clock frequency fs (for example 44.736 MHz) of a CBR signal, or a user's signal, to be transmitted is divided by a second divider 13 by N which is a bit length of one block of the CBR signal to produce a divided CBR clock signal of a frequency fsN as a latching pulse signal. ITU-T Recommendation I.363 recommends that fs <fn <2fs and N=3008. The four-bit counter output from the four-bit counter 11 is applied to a latch circuit 14 and is latched as a latched signal thereat by the latching pulse signal from the second divider 13. The latched signal is delivered from the latch circuit 14 as the RTS signal.
The latch circuit 14 comprises four D-flipflop circuits 141-144 which have D-input terminals connected to the four digit output terminals of the four-bit counter 12, respectively, T-input terminals connected to an output of the second divider 13 to latch the four-bit signal as a latched signal by the latching pulse signal from the second divider 13. The latched signal provides the RTS signal.
In the known RTS signal generating circuit, it is possible that the latched signal is abnormal, which occurs, for example when a change of the four-bit counter output and a rising of the latching pulse signal occur coincidentally with each other, that is, are put in the so called racing condition.
Referring to FIG. 2, if the latching pulse signal rises at the same time instant t1 when the four-bit counter output changes from "1111" to "0000", it is not determined which is latched at each of D-flipflops 141-144, "1" or "0". Accordingly, it is not known which one of 16 binary numbers of "0000" through "1111" is in the latch circuit 14, although "1111" would be latched when the latching pulse signal rises at a time instant (t1 -Δ), slightly before the time instant t1, or "0000" would be latched when the latching pulse signal rises at another time instant (t1 +Δ), slightly after the time instant t1.
Referring to FIG. 3, the RTS generating circuit according to an embodiment of this invention is similar to the known circuit of FIG. 1 except a Gray code four-bit counter 15 is used in place of the four-bit counter 12, and a Gray code/binary code converter is used. The similar parts are shown by the same reference numerals as in FIG. 1 and are not described again for the purpose of simplifying the description.
The Gray code four bit counter 15 counts the network reference clock signal of the reference frequency fnx from the first divider (11 in FIG. 1) and produces a counted number on the base of the Gray code. The four-bit signal representative of the lower four digits of the counted number is delivered on the four digit output terminals as a four-bit counter output.
Four-bit numbers based on the binary code and the Gray code are shown in the following Table together with the corresponding decimal numbers.
TABLE |
______________________________________ |
Decimal Code Binary Code |
Gray Code |
______________________________________ |
0 0000 0000 |
1 0001 0001 |
2 0010 0011 |
3 0011 0010 |
4 0100 0110 |
5 0101 0111 |
6 0110 0101 |
7 0111 0100 |
8 1000 1100 |
9 1001 1101 |
10 1010 1111 |
11 1011 1110 |
12 1100 1010 |
13 1101 1011 |
14 1110 1001 |
15 1111 1000 |
______________________________________ |
The four-bit counter output from the Gray code four-bit counter 15 is also latched by the latching pulse signal from the second divider 13.
As will be understood from the Table, sequential sets of four-bit numbers of the Gray code are represented by expressions that differ only in one bit. Therefore, even if the change of the four-bit counter output and the rising of the latching pulse signal are put in the racing condition, the latched number will be either one number before the change of the four-bit counter output or another number after the change. Therefore, the latched number will not be abnormal.
Referring to FIG. 4, if the latching pulse signal rises at the same time instant t1, when the four-bit counter output changes from "1111" to "1110", it is not determined only in 0-th bit which is latched, "1" or "0", while "1" is maintained in the first to third bits. Accordingly, "1111" or "1110" is latched in the latch circuit 14. The former "1111" would be the one latched when the latching pulse signal rises at a time instant (t1 -Δ), slightly before the time instant t1 and the latter "1110" would be one latched when the latching pulse signal rises at another time instant (t1 +Δ), slightly after the time instant t1.
The latched signal is then applied to the Gray code/binary code converter 16 and is converted into a binary number which is delivered as the RTS signal from the RTS generating circuit.
If the RTS signal is permitted to be represented by the Gray code in the network, it is of course possible to omit the Gray code/binary code converter 16.
Referring to FIG. 5, a modification of the RTS generating circuit is shown, wherein the binary code four-bit counter 12 and a binary code/Gray code converter 17 are used in place of the Gray code four-bit counter 15 in FIG. 3. In the modified circuit, the network reference clock signal is continuously counted by the binary code four-bit counter 12 to produce the four-bit counter output of the binary code in a similar manner as in FIG. 1. The four bit counter output of the binary code is converted or translated into the four-bit counter output of the Gray code, which is applied to the latch circuit 14. Therefore, it will be understood that the modified RTS generating circuit operates in the similar manner as that in FIG. 3.
Referring to FIG. 6, another modification is shown, wherein a first latch circuit 18 is additionally provided on the output of the binary code/Gray code converter 17 in FIG. 5. A second latching circuit 14 is connected to the output of the first latch circuit 18. The second latch circuit 14 corresponds to the latching circuit 14 in FIGS. 3 and 5.
The first latch circuit 18 can be arranged as four D-flipflops similar to the latch circuit 14 shown in FIG. 1. However, the first latch circuit 18 latches the four-bit counter output of the Gray code in response to the network reference clock signal fnx to thereby remove the glitch which may accompany the four-bit counter output of the Gray code due to the binary code/Gray code conversion.
Therefore, the RTS generating circuit of FIG. 6 is more reliable in comparison with the circuit of FIG. 5.
In the embodiments described above, although the latch circuit has been described to comprise D-flipflops, it is possible to use various other latch circuits which are known in the art. Further, the Gray code counter, the Gray code/binary code converter, and the binary code/Gray code converter are per se known in the art. Therefore, they could be selected from those known in the art.
Patent | Priority | Assignee | Title |
7343510, | Dec 22 2003 | MONTEREY RESEARCH, LLC | Method and device for selecting one of multiple clock signals based on frequency differences of such clock signals |
8473797, | Aug 12 2011 | Texas Instruments Incorporated | Circuits and methods for clock malfunction detection |
Patent | Priority | Assignee | Title |
5084841, | Aug 14 1989 | Texas Instruments Incorporated | Programmable status flag generator FIFO using gray code |
5260978, | Oct 30 1992 | Telcordia Technologies, Inc | Synchronous residual time stamp for timing recovery in a broadband network |
5448606, | Jun 30 1993 | NAVY, DEPARTMENT OF, UNITED STATES OF AMERICA, THE | Gray code counter |
5506835, | Dec 22 1993 | Roke Manor Research Limited | Timing recovery apparatus |
5608731, | Mar 31 1995 | TranSwitch Corporation | Closed loop clock recovery for synchronous residual time stamp |
5654962, | Oct 20 1993 | LSI Logic Corporation | Error detection and correction method for an asynchronous transfer mode (ATM) network device |
Executed on | Assignor | Assignee | Conveyance | Frame | Reel | Doc |
May 30 1996 | MURAKAMI, KURENAI | NEC Corporation | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 008023 | /0319 | |
May 31 1996 | NEC Corporation | (assignment on the face of the patent) | / |
Date | Maintenance Fee Events |
May 23 2002 | M183: Payment of Maintenance Fee, 4th Year, Large Entity. |
May 19 2006 | M1552: Payment of Maintenance Fee, 8th Year, Large Entity. |
May 19 2010 | M1553: Payment of Maintenance Fee, 12th Year, Large Entity. |
Date | Maintenance Schedule |
Dec 15 2001 | 4 years fee payment window open |
Jun 15 2002 | 6 months grace period start (w surcharge) |
Dec 15 2002 | patent expiry (for year 4) |
Dec 15 2004 | 2 years to revive unintentionally abandoned end. (for year 4) |
Dec 15 2005 | 8 years fee payment window open |
Jun 15 2006 | 6 months grace period start (w surcharge) |
Dec 15 2006 | patent expiry (for year 8) |
Dec 15 2008 | 2 years to revive unintentionally abandoned end. (for year 8) |
Dec 15 2009 | 12 years fee payment window open |
Jun 15 2010 | 6 months grace period start (w surcharge) |
Dec 15 2010 | patent expiry (for year 12) |
Dec 15 2012 | 2 years to revive unintentionally abandoned end. (for year 12) |