CA1296394C - Synchronization of asynchronous data signals - Google Patents
Synchronization of asynchronous data signalsInfo
- Publication number
- CA1296394C CA1296394C CA000600837A CA600837A CA1296394C CA 1296394 C CA1296394 C CA 1296394C CA 000600837 A CA000600837 A CA 000600837A CA 600837 A CA600837 A CA 600837A CA 1296394 C CA1296394 C CA 1296394C
- Authority
- CA
- Canada
- Prior art keywords
- signal
- synchronized
- read
- store
- synchronism
- 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.)
- Expired - Lifetime
Links
Landscapes
- Time-Division Multiplex Systems (AREA)
- Synchronisation In Digital Transmission Systems (AREA)
Abstract
SYNCHRONIZATION OF ASYNCHRONOUS DATA SIGNALS A method of and apparatus for synchronizing an asynchronous DS1 signal to produce a synchronized signal in the SONET format is described. The asynchronoussignal is stuffed in dependence upon a stuff request signal which is produced from a comparison with a threshold level of a phase difference between read and write phases with which the synchronized and asynchronous signals are respectively read from and written into an elastic store. The phase detection and threshold comparison are effectedsynchronously with the respective signals. To this end, the read address for the store is latched in synchronism with the synchronized frames, and its difference from the write address and the resulting threshold level comparison is effected in synchronism with the write clock for the store and hence with the asynchronous signal. The synchronizer provides a reduced waiting time jitter in the synchronized signal.
Description
SYNCHRONIZATION OF ASYNCHRONOUS DATA SI(~NALS
This invention relates to the synchron~zation of asynchronous data signals, and is particularly concerned with the production of stuff requests for such synchronization.
Background of the Invention It has long been known to use stuffing techniques in order to produce a data signal, which is synchronized to a local clock frequency, from an incoming data signal which is asynchronous to the local clock frequency. The synchronized data signal can thenconveniently be switched or multiplexed and transmitted with other, similarly synchronized, data signals. For example, an asynchronous DS1 data signal, having a 1 0 nominal frequency of 1.544Mb/s, may be converted by positive stuffing into a synchronized data signal with a higher frequency than this.
In order to determine when stuffing of data bits is to be effected, it is well known to write the incoming asynchronous data into a cyclic buffer or elastic store, to read the data from the buffer at a slightly later time, and to compare the phase difference betwe~n the 1 5 read and write positions with a threshold level, producing a stuff request signal when the threshold level is exceeded. Data is then stu~fed at the next stuffing opportunity, whereby the phase difference no longer exceeds the threshold level. The phase differencedetermination and threshold level comparison are typically achieved in a very simple manner, for example using only a single flip-flop or a simple logic circuit.
This invention relates to the synchron~zation of asynchronous data signals, and is particularly concerned with the production of stuff requests for such synchronization.
Background of the Invention It has long been known to use stuffing techniques in order to produce a data signal, which is synchronized to a local clock frequency, from an incoming data signal which is asynchronous to the local clock frequency. The synchronized data signal can thenconveniently be switched or multiplexed and transmitted with other, similarly synchronized, data signals. For example, an asynchronous DS1 data signal, having a 1 0 nominal frequency of 1.544Mb/s, may be converted by positive stuffing into a synchronized data signal with a higher frequency than this.
In order to determine when stuffing of data bits is to be effected, it is well known to write the incoming asynchronous data into a cyclic buffer or elastic store, to read the data from the buffer at a slightly later time, and to compare the phase difference betwe~n the 1 5 read and write positions with a threshold level, producing a stuff request signal when the threshold level is exceeded. Data is then stu~fed at the next stuffing opportunity, whereby the phase difference no longer exceeds the threshold level. The phase differencedetermination and threshold level comparison are typically achieved in a very simple manner, for example using only a single flip-flop or a simple logic circuit.
2 0 Synchronous communications networks, using the so-called SONET format, are becoming of increasing importance for the communication of data signals. In the SONET
format a so called STS- 1 signal having a bit rate of 51. 84Mb/s can accommodate 28 DS I
data signals, which are multiplexed together with overhead inforrnation in a byte-interleaved manner. Where the DS I signals are asynchronous, they must be synchronized beforebeingmultiplexed.
In this situation, however, a problem arises in the synchronization process due to the relatively large amount of overhead infonnation in the SONET frame, and the concentration of this overhead information due to byte interleaving, in that thesynchronized DS I signals, produced using known forrns of synchronizer as described
format a so called STS- 1 signal having a bit rate of 51. 84Mb/s can accommodate 28 DS I
data signals, which are multiplexed together with overhead inforrnation in a byte-interleaved manner. Where the DS I signals are asynchronous, they must be synchronized beforebeingmultiplexed.
In this situation, however, a problem arises in the synchronization process due to the relatively large amount of overhead infonnation in the SONET frame, and the concentration of this overhead information due to byte interleaving, in that thesynchronized DS I signals, produced using known forrns of synchronizer as described
3 0 above, contain unacceptably large amounts of so-called waiting time jiffer. This problem hæ not been recognized hitherto, because in conventional communications networks (e.g.
in which DS 1 signals are multiplexed to produce DS2 and DS3 signals) there is relatively little overhead information and it is well distributed, so that the waiting time jitter which does occur is well within allowed limits.
InMcEachern etal. United StatesPatentsNo. 4,791,652 issuedDecember 13, 1988 and No. 4,811,340 issued March 7, 1989, both entitled "Synchronization of Asynchronous Data Signals", there are described methods and apparatus for synchronizing asynchronous data signals for transmission via a SONET communications network. Even using these techniques, however, the waiting time jitter of synchronized OSl signals can exceed limits which are imposed by existing communications equipment, with which the SONET communications network must interface.
An object of this invention, therefore, is to provide an improved synchronizing method and apparatus in which this problem is reduced or substantially avoided.
Summar~of the Invention According to this invention there is provided a method of synchronizing an asynchronous signal to produce a synchronized signal by stufflng the asynchronous signal in dependence upon a stuff reques~ signal produced from a comparison with a threshold 1 0 level of a phase difference between read and write phases with which the synchronized and asynchronous signals are respectively read from and written into a store, wherein the read phase is determined in synchronism with a time division multiplex frarne of the synchronized signal, and the phase difference is determined in synchronism with a write clock for the store.
1 5 Preferably the read phase is determined by latching a read address for the store in synchronism with a read clock for the store at a predetermined time during the frame of the synchronized signal, and the phase difference is subsequently determined from a difference between a write address for the store and the latched read address. The stuf~request signal is preferably produced in synchronism with the frame of the synchronized signal.2 0 The method of the invention thereby performs a phase detection and threshold level comparison which is at all times maintained in synchronism with the respective signals, even though these are asynchronous with respect to one another, whereby the waiting time jitter discussed above is reduced to a low level.
The invention also provides synchronizing apparatus comprising: a store; means 2 5 for writing data of an asynchronous signal into the store at a write address and means for reading data from the store at a read address to produce a synchronized data signal; means for latching the read address in synchronism with a time division multiplex frame of the synchronized signal; means responsive to a difference between the write address and the latched read address for producing a stuff request signal; and means responsive to the stuff 3 0 request signal for providing stuffed information in the svnchronized signal.
~onveniently the means responsive to the difference between the write address and the latched read address comprises subtracting means for producing a binary signal dependent upon the difference between the write and read addresses relative to a threshold level, means for latching the binary signal in synchronism with the writing of data in the 3 5 store, and means for latching the latched binary signal in synchronism with the frame of the synchronized signal to produce the stuff request signal. Each means for latching the binary signal preferably cornprises an edge-triggered flip-f lop.
Brief Descri~tion of the Drawin~s The invention will be further understood from the following description with reference to the accompanying drawings, in which similar references are used in different figures to denote similar components and in which:
~ig. 1 is a block diagram illustrating a known form of synchronizer;
Fig. 2 is a block diagram illustrating a synchronizer in accordance with an embodiment ofthis invention; and Fig. 3 illustrates a phase detector which is used in the synchronizer of Fig. 2.Description of the Prior Art 1 0 Refernng to Fig. 1, a known form of synchronizer comprises a clt>ck recovery circuit 10, a cyclic buffer or elastic store 12, a write address generator 14, a read address generator 16, a phase detector and threshold level comparator constituted by a D-type flip-flop 18, a timing and control circuit 20, and a multiplexer 22. The synchronizer serves to convert an asynchronous DS 1 data signal incoming on a line 24 into a synchronized data l 5 signal on a line 26, multiplexed with other DSI signals (not shown) which are each synchronized in the same manner. The multiplexer 22 effects positive stuff1ng under the control of stuff control signals supplied thereto by the timing and control circuit 20, and also multiplexes overhead information into the data signal on the line 26. The circuit 20 produces on a line 28 a gapped read clock which is synchronously related to the timing of a SONET network via which the synchronized and multiplexed data is to be transmitted, and produces the stuff control signals for the mu1tiplexer 22 in response to stuff requests supplied thereto from the flip-flop 18 via a line 30.
The asynchronous data is written into the store 12 at addresses supplied by the write address generator 14, which is supplied with a recovered clock signal produced by 2 5 the clock recovery circuit 10 from the asynchronous data bit stream on the line 24, and is read from the store 12 to the multiplexer 22 under the control of the read address generator 16 supplied with the read clocX signal from the circuit 20. For example, the elastic store 12 may have a storage capacity of 32 bits, and the address generators 14 and 16 may comprise modulo-32 counters having 5-bit outputs which are used for addressing the store 12. In 3 0 order to determine when a stuff is necessary, the ~lip-flop 18 has the most significant bit (MSB) of the read address supplied to its data input D, and is clocked via its clock input C
by an output from the write address generator 14 when this reaches its mid-count (i.e. 16).
The -Q output of the flip flop 18 then constitutes the stuff request signal on the line 30.
Because of the asynchronous timing of the incoming DS I data signal on the line 3 5 24, phase comparisons which are effectively made by the flip-flop 1~ do not occur at precisely the same instants in each synchronized frame. The only phase detection and threshold level comparison which is of significance for the stuff1ng process is that which occurs last before the first 'C' bit, or stuff indication bit, in the respective frame. The : ' :
, asynchronous clocking of the flip-flop 18 means that this comparison can occur at any instant within a time interval or window of the synchronized signal frarne. The size of this window is a function of the size of the elastic store 12 and the amount of overhead information in the synchronized data on the line 26. For practical synchronization of a l~S 1 signal into the SONET format the window is suff~ciently large that the consecluent waiting time jitter is beyond acceptable limits.
Description of the Preferred Embodiment Fig. 2 illustrates a synchronizer in accordance with an embodiment of this invention in which this disadvantage is substantially eliminated. In the following description, only l 0 the di fferences between the synchronizer of Fig. 2 from that of Fig. I are described.
In the synchronizer of Fig. 2, ~he nip-flop 18 of Fig. I is replaced by a synchronous phase detector 32, a preferred form of which is illustrated in Fig. 3. The synchronous phase detector 32 is supplied with the full write address from the write address generator 14 via lines 34, the full read address from the read address generator 16 l 5 via lines 36, the recovered write clock from the clock recovery circuit 10 via a line 38, the read clock from the line 28, a sample time control signal from the circuit 20 via a line 40, and a sarmple phase control signal from the circuit 20 via a line 42. The phase detector supplies the stuff request signal to the circuit 20 via the line 30, as in the synchronizer of Fig. 1.
2 0 Referring to Fig. 3, the synchronous phase detector 32 comprises a read address latch 44, a binary subtracter 46, two edge-triggered D-type tlip-~lops 48 and S0, and a delay circuit 52. The latch 44 has a clock input C to which the read clock from the line 28 is supplied, a latch enable input E to ~vhich the sample time control signal on the line 40 is supplied, and data inputs to which the read address is supplied from the lines 36. The binary subtracter 46 is supplied with the output of the latch 44, the write address frorn the lines 34, and an offset which is discussed below. The offset may be provided as a signal to the subtracter 46, or it may be provided by the physical configuration of the subtracter.
The subtracter provides a one-bit output which is supplied to the data input D of the flip-flop 48, to the clock input C of which the write clock on the line 38 is supplied. The Q
output of the flip-flop 48 is supplied to the data input D of the flip-flop 50, the Q output of which constitutes the stuff request signal on the line 30. The flip-flop 50 is clocked at its clock input C by the output of the delay ciscuit 52, which is supplied with the read clock from the line 28 and the sarnple phase control signal on the line 42.
By way of example, in the synchronizer of Figs. 2 and 3 the store 12 may have a storage capacity of 40 bits, the generators 14 and 16 being modulo-40 counters with 6-bit outputs, and the binary subtracter 46 may correspondingly be a modulo-40 subtracter having 6-bit inputs. The timing and control circuit 20 may supply the sample time control signal at a predeterrnined instant in each synchronized data frame, for example at a given ~ 2~3~
number of bit periods following the so-called l-bit of the synchronized data signal in the SONET format. This I-bit is described for example in United States Patent No. 4,791,652 already referred to. This given number of bit periods, or unit interva]s, is sf~lected to be in advance of a desired synchronous phase compaAson time (in the synchronized data frame, 5 before the first 'C' or stuff indication bit in the frame) by an offset amount of, for example,
in which DS 1 signals are multiplexed to produce DS2 and DS3 signals) there is relatively little overhead information and it is well distributed, so that the waiting time jitter which does occur is well within allowed limits.
InMcEachern etal. United StatesPatentsNo. 4,791,652 issuedDecember 13, 1988 and No. 4,811,340 issued March 7, 1989, both entitled "Synchronization of Asynchronous Data Signals", there are described methods and apparatus for synchronizing asynchronous data signals for transmission via a SONET communications network. Even using these techniques, however, the waiting time jitter of synchronized OSl signals can exceed limits which are imposed by existing communications equipment, with which the SONET communications network must interface.
An object of this invention, therefore, is to provide an improved synchronizing method and apparatus in which this problem is reduced or substantially avoided.
Summar~of the Invention According to this invention there is provided a method of synchronizing an asynchronous signal to produce a synchronized signal by stufflng the asynchronous signal in dependence upon a stuff reques~ signal produced from a comparison with a threshold 1 0 level of a phase difference between read and write phases with which the synchronized and asynchronous signals are respectively read from and written into a store, wherein the read phase is determined in synchronism with a time division multiplex frarne of the synchronized signal, and the phase difference is determined in synchronism with a write clock for the store.
1 5 Preferably the read phase is determined by latching a read address for the store in synchronism with a read clock for the store at a predetermined time during the frame of the synchronized signal, and the phase difference is subsequently determined from a difference between a write address for the store and the latched read address. The stuf~request signal is preferably produced in synchronism with the frame of the synchronized signal.2 0 The method of the invention thereby performs a phase detection and threshold level comparison which is at all times maintained in synchronism with the respective signals, even though these are asynchronous with respect to one another, whereby the waiting time jitter discussed above is reduced to a low level.
The invention also provides synchronizing apparatus comprising: a store; means 2 5 for writing data of an asynchronous signal into the store at a write address and means for reading data from the store at a read address to produce a synchronized data signal; means for latching the read address in synchronism with a time division multiplex frame of the synchronized signal; means responsive to a difference between the write address and the latched read address for producing a stuff request signal; and means responsive to the stuff 3 0 request signal for providing stuffed information in the svnchronized signal.
~onveniently the means responsive to the difference between the write address and the latched read address comprises subtracting means for producing a binary signal dependent upon the difference between the write and read addresses relative to a threshold level, means for latching the binary signal in synchronism with the writing of data in the 3 5 store, and means for latching the latched binary signal in synchronism with the frame of the synchronized signal to produce the stuff request signal. Each means for latching the binary signal preferably cornprises an edge-triggered flip-f lop.
Brief Descri~tion of the Drawin~s The invention will be further understood from the following description with reference to the accompanying drawings, in which similar references are used in different figures to denote similar components and in which:
~ig. 1 is a block diagram illustrating a known form of synchronizer;
Fig. 2 is a block diagram illustrating a synchronizer in accordance with an embodiment ofthis invention; and Fig. 3 illustrates a phase detector which is used in the synchronizer of Fig. 2.Description of the Prior Art 1 0 Refernng to Fig. 1, a known form of synchronizer comprises a clt>ck recovery circuit 10, a cyclic buffer or elastic store 12, a write address generator 14, a read address generator 16, a phase detector and threshold level comparator constituted by a D-type flip-flop 18, a timing and control circuit 20, and a multiplexer 22. The synchronizer serves to convert an asynchronous DS 1 data signal incoming on a line 24 into a synchronized data l 5 signal on a line 26, multiplexed with other DSI signals (not shown) which are each synchronized in the same manner. The multiplexer 22 effects positive stuff1ng under the control of stuff control signals supplied thereto by the timing and control circuit 20, and also multiplexes overhead information into the data signal on the line 26. The circuit 20 produces on a line 28 a gapped read clock which is synchronously related to the timing of a SONET network via which the synchronized and multiplexed data is to be transmitted, and produces the stuff control signals for the mu1tiplexer 22 in response to stuff requests supplied thereto from the flip-flop 18 via a line 30.
The asynchronous data is written into the store 12 at addresses supplied by the write address generator 14, which is supplied with a recovered clock signal produced by 2 5 the clock recovery circuit 10 from the asynchronous data bit stream on the line 24, and is read from the store 12 to the multiplexer 22 under the control of the read address generator 16 supplied with the read clocX signal from the circuit 20. For example, the elastic store 12 may have a storage capacity of 32 bits, and the address generators 14 and 16 may comprise modulo-32 counters having 5-bit outputs which are used for addressing the store 12. In 3 0 order to determine when a stuff is necessary, the ~lip-flop 18 has the most significant bit (MSB) of the read address supplied to its data input D, and is clocked via its clock input C
by an output from the write address generator 14 when this reaches its mid-count (i.e. 16).
The -Q output of the flip flop 18 then constitutes the stuff request signal on the line 30.
Because of the asynchronous timing of the incoming DS I data signal on the line 3 5 24, phase comparisons which are effectively made by the flip-flop 1~ do not occur at precisely the same instants in each synchronized frame. The only phase detection and threshold level comparison which is of significance for the stuff1ng process is that which occurs last before the first 'C' bit, or stuff indication bit, in the respective frame. The : ' :
, asynchronous clocking of the flip-flop 18 means that this comparison can occur at any instant within a time interval or window of the synchronized signal frarne. The size of this window is a function of the size of the elastic store 12 and the amount of overhead information in the synchronized data on the line 26. For practical synchronization of a l~S 1 signal into the SONET format the window is suff~ciently large that the consecluent waiting time jitter is beyond acceptable limits.
Description of the Preferred Embodiment Fig. 2 illustrates a synchronizer in accordance with an embodiment of this invention in which this disadvantage is substantially eliminated. In the following description, only l 0 the di fferences between the synchronizer of Fig. 2 from that of Fig. I are described.
In the synchronizer of Fig. 2, ~he nip-flop 18 of Fig. I is replaced by a synchronous phase detector 32, a preferred form of which is illustrated in Fig. 3. The synchronous phase detector 32 is supplied with the full write address from the write address generator 14 via lines 34, the full read address from the read address generator 16 l 5 via lines 36, the recovered write clock from the clock recovery circuit 10 via a line 38, the read clock from the line 28, a sample time control signal from the circuit 20 via a line 40, and a sarmple phase control signal from the circuit 20 via a line 42. The phase detector supplies the stuff request signal to the circuit 20 via the line 30, as in the synchronizer of Fig. 1.
2 0 Referring to Fig. 3, the synchronous phase detector 32 comprises a read address latch 44, a binary subtracter 46, two edge-triggered D-type tlip-~lops 48 and S0, and a delay circuit 52. The latch 44 has a clock input C to which the read clock from the line 28 is supplied, a latch enable input E to ~vhich the sample time control signal on the line 40 is supplied, and data inputs to which the read address is supplied from the lines 36. The binary subtracter 46 is supplied with the output of the latch 44, the write address frorn the lines 34, and an offset which is discussed below. The offset may be provided as a signal to the subtracter 46, or it may be provided by the physical configuration of the subtracter.
The subtracter provides a one-bit output which is supplied to the data input D of the flip-flop 48, to the clock input C of which the write clock on the line 38 is supplied. The Q
output of the flip-flop 48 is supplied to the data input D of the flip-flop 50, the Q output of which constitutes the stuff request signal on the line 30. The flip-flop 50 is clocked at its clock input C by the output of the delay ciscuit 52, which is supplied with the read clock from the line 28 and the sarnple phase control signal on the line 42.
By way of example, in the synchronizer of Figs. 2 and 3 the store 12 may have a storage capacity of 40 bits, the generators 14 and 16 being modulo-40 counters with 6-bit outputs, and the binary subtracter 46 may correspondingly be a modulo-40 subtracter having 6-bit inputs. The timing and control circuit 20 may supply the sample time control signal at a predeterrnined instant in each synchronized data frame, for example at a given ~ 2~3~
number of bit periods following the so-called l-bit of the synchronized data signal in the SONET format. This I-bit is described for example in United States Patent No. 4,791,652 already referred to. This given number of bit periods, or unit interva]s, is sf~lected to be in advance of a desired synchronous phase compaAson time (in the synchronized data frame, 5 before the first 'C' or stuff indication bit in the frame) by an offset amount of, for example,
4 unit intervals. This offset amount is the same as the offset referred to above for the subtracter 46, in which compensation for this advancement is made.
The sample phase control signal is provided by the circuit 20 with a timing which is varied by one quarter of a unit interval in successive cycles of four frames, thereby to 1 0 variably control the triggering of the flip-flop 50 and hence distribute the production of stuff requests at the output of this flip-flop arnong frames, in the manner and for the reasons described in United States Patent No. 4,791,652 already referred to. In this respect it is observed that this timing or phase variation is directly equivalent to the threshold vari~ltion specifically described in the aforementioned patent.
I 5 In operation, the read address on the lines 36 is latched by the latch 44 at the sample time at which it is enabled via the line 40, synchronously under the control of the read clock from the line 28. The latched read address, modified by the compensating o~fset of four unit intervals provided to or within the binary subtracter 46, is subtracted from the write address on the lines 34 by the subtracter 46. The most significant bit of the subtracter 2 0 output constitutes the output of the subtracter. This bit is clocked through the flip-flop 48 in synchronism with the write clock, and hence in accordance with the (asynchronous) timing of the incoming DS I signal. The offset amount of four unit intervals discussed above provides an adequate time for performing the subtraction and stabilization of the outputs of the latch 44 and the subtracter 46.
2 5 The phase detection output of the flip-flop 48 is finally clocked through the flip-flop 50, in synchronism with the read clock as modified by the delay CilCUit 52 by the quarter unit interval steps as described above, to produce the stuff ~equest signal on the line 30 in synchronism with the SONET frames controlled by the circuit 20.
Thus it can be seen that the phase detector operates in a fully synchronous manner 3 0 for both the read and write phases, even though these are asynchronous with respect to one another. More specif~cally, the read address is latched, and the stuff request signal is produced, synchronously with the read address generation, in that the latch 44 and the flip-flop 50 are clocked in dependence upon the read clock. In addition, the phase detection and threshold comparison performed by the binary subtracter 46 are arranged to take effect synchronously with the incoming DSl signal, in that the flip-flop 48 is clocked in dependence upon the write clock.
It has been deterrnined that, in a SONET synchronizer in accordance with the prior art as shown in Fig. 1, the waiting time jitter in the synchronized DS I signal can be a ii3~
maximunn of about 2.4 UI p-p (unit intervals, peak-to-peak), which is well in excess of the required maximum of 1.0 UI p-p. Using a synchronizer in accordance with this invention and as described above with reference to Figs. 2 and 3, the maximum waiting time jitter is reduced to about 0.4 UI p-p or less.
Although the above description re]ates specifically to synchronization of an asynchronous DS I signal to the SONET format, the invention is not limited thereto but is more generally applicable to the synchronization of any asynchronous signal. In particular, the invention may be equally applied to the synchronization of an asynchronous DS3 signal at a nominal bit rate of 44.736Mb/s into the SONET format for producing an STS- I signal.
1 0 Furthermore, the invention may if desired be applied to the synchronization of signals to other formats, for example in producing a DS3 signal ~rom multiple DS I signals.Numerous other modifications, variations, and adaptations may be made to the described embodiment without departing from the scope of the invention as defined in the claims.
The sample phase control signal is provided by the circuit 20 with a timing which is varied by one quarter of a unit interval in successive cycles of four frames, thereby to 1 0 variably control the triggering of the flip-flop 50 and hence distribute the production of stuff requests at the output of this flip-flop arnong frames, in the manner and for the reasons described in United States Patent No. 4,791,652 already referred to. In this respect it is observed that this timing or phase variation is directly equivalent to the threshold vari~ltion specifically described in the aforementioned patent.
I 5 In operation, the read address on the lines 36 is latched by the latch 44 at the sample time at which it is enabled via the line 40, synchronously under the control of the read clock from the line 28. The latched read address, modified by the compensating o~fset of four unit intervals provided to or within the binary subtracter 46, is subtracted from the write address on the lines 34 by the subtracter 46. The most significant bit of the subtracter 2 0 output constitutes the output of the subtracter. This bit is clocked through the flip-flop 48 in synchronism with the write clock, and hence in accordance with the (asynchronous) timing of the incoming DS I signal. The offset amount of four unit intervals discussed above provides an adequate time for performing the subtraction and stabilization of the outputs of the latch 44 and the subtracter 46.
2 5 The phase detection output of the flip-flop 48 is finally clocked through the flip-flop 50, in synchronism with the read clock as modified by the delay CilCUit 52 by the quarter unit interval steps as described above, to produce the stuff ~equest signal on the line 30 in synchronism with the SONET frames controlled by the circuit 20.
Thus it can be seen that the phase detector operates in a fully synchronous manner 3 0 for both the read and write phases, even though these are asynchronous with respect to one another. More specif~cally, the read address is latched, and the stuff request signal is produced, synchronously with the read address generation, in that the latch 44 and the flip-flop 50 are clocked in dependence upon the read clock. In addition, the phase detection and threshold comparison performed by the binary subtracter 46 are arranged to take effect synchronously with the incoming DSl signal, in that the flip-flop 48 is clocked in dependence upon the write clock.
It has been deterrnined that, in a SONET synchronizer in accordance with the prior art as shown in Fig. 1, the waiting time jitter in the synchronized DS I signal can be a ii3~
maximunn of about 2.4 UI p-p (unit intervals, peak-to-peak), which is well in excess of the required maximum of 1.0 UI p-p. Using a synchronizer in accordance with this invention and as described above with reference to Figs. 2 and 3, the maximum waiting time jitter is reduced to about 0.4 UI p-p or less.
Although the above description re]ates specifically to synchronization of an asynchronous DS I signal to the SONET format, the invention is not limited thereto but is more generally applicable to the synchronization of any asynchronous signal. In particular, the invention may be equally applied to the synchronization of an asynchronous DS3 signal at a nominal bit rate of 44.736Mb/s into the SONET format for producing an STS- I signal.
1 0 Furthermore, the invention may if desired be applied to the synchronization of signals to other formats, for example in producing a DS3 signal ~rom multiple DS I signals.Numerous other modifications, variations, and adaptations may be made to the described embodiment without departing from the scope of the invention as defined in the claims.
Claims (8)
1. A method of synchronizing an asynchronous signal to produce a synchronized signal by stuffing the asynchronous signal in dependence upon a stuff request signal produced from a comparison with a threshold level of a phase difference between read and write phases with which the synchronized and asynchronous signals are respectively read from and written into a store, wherein the read phase is determined in synchronism with a time division multiplex frame of the synchronized signal, and the phase difference is determined in synchronism with a write clock for the store.
2. A method as claimed in claim 1 wherein the read phase is determined by latching a read address for the store in synchronism with a read clock for the store at a predetermined time during the frame of the synchronized signal, and the phase difference is subsequently determined from a difference between a write address for the store and the latched read address.
3. A method as claimed in claim 1 wherein the stuff request signal is produced in synchronism with the frame of the synchronized signal.
4 . A method as claimed in claim 2 wherein the stuff request signal is produced in synchronism with the frame of the synchronized signal.
5. A method as claimed in claim 4 wherein the asynchronous signal comprises a DS1 signal.
6. Synchronizing apparatus comprising:
a store;
means for writing data of an asynchronous signal into the store at a write address and means for reading data from the store at a read address to produce a synchronized data signal;
means for latching the read address in synchronism with a time division multiplex frame of the synchronized signal;
means responsive to a difference between the write address and the latched read address for producing a stuff request signal; and means responsive to the stuff request signal for providing stuffed information in the synchronized signal.
a store;
means for writing data of an asynchronous signal into the store at a write address and means for reading data from the store at a read address to produce a synchronized data signal;
means for latching the read address in synchronism with a time division multiplex frame of the synchronized signal;
means responsive to a difference between the write address and the latched read address for producing a stuff request signal; and means responsive to the stuff request signal for providing stuffed information in the synchronized signal.
7. Apparatus as claimed in claim 6 wherein the means responsive to the difference between the write address and the latched read address comprises subtracting means for producing a binary signal dependent upon the difference between the write and read addresses relative to a threshold level, means for latching the binary signal in synchronism with the writing of data in the store, and means for latching the latched binary signal in synchronism with the frame of the synchronized signal to produce the stuff request signal.
8. Apparatus as claimed in claim 7 wherein each means for latching the binary signal comprises an edge-triggered flip-flop.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CA000600837A CA1296394C (en) | 1989-05-26 | 1989-05-26 | Synchronization of asynchronous data signals |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CA000600837A CA1296394C (en) | 1989-05-26 | 1989-05-26 | Synchronization of asynchronous data signals |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CA1296394C true CA1296394C (en) | 1992-02-25 |
Family
ID=4140109
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CA000600837A Expired - Lifetime CA1296394C (en) | 1989-05-26 | 1989-05-26 | Synchronization of asynchronous data signals |
Country Status (1)
| Country | Link |
|---|---|
| CA (1) | CA1296394C (en) |
-
1989
- 1989-05-26 CA CA000600837A patent/CA1296394C/en not_active Expired - Lifetime
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4928275A (en) | Synchronization of asynchronous data signals | |
| US4791652A (en) | Synchronization of asynchronous data signals | |
| US5067126A (en) | Method and apparatus for mapping a digital signal carrier to another | |
| US5241543A (en) | Independent clocking local area network and nodes used for the same | |
| US4479142A (en) | Interface apparatus and method for asynchronous encoding of digital television | |
| EP0473338B1 (en) | Bit synchronization with elastic memory | |
| US6157659A (en) | Method of and apparatus for multiplexing and demultiplexing digital signal streams | |
| US6188693B1 (en) | ATM multiplexing apparatus, ATM demultiplexing apparatus, and communication network with the apparatus | |
| EP0248551B1 (en) | Synchronization of asynchronous data signals | |
| US6415006B2 (en) | Reducing waiting time jitter | |
| US5859882A (en) | Transmission system control circuit including comparator apparatus | |
| US5111485A (en) | Method of and circuit for synchronizing data | |
| US6347119B2 (en) | Communication apparatus, communication method and storage medium | |
| US5255293A (en) | Phase locked loop arrangement | |
| US5276688A (en) | Circuit arrangement for bit rate adjustment | |
| US4731646A (en) | Moving-image coder with self-identification of the stuffing characters | |
| EP0503657B1 (en) | Pulse stuffing apparatus and method | |
| US5680422A (en) | Method and apparatus for reducing waiting time jitter in pulse stuffing synchronized digital communications | |
| JPH0766814A (en) | Atm clock regeneration equipment | |
| US4803680A (en) | Destuffing circuit with a digital phase-locked loop | |
| CA1296394C (en) | Synchronization of asynchronous data signals | |
| JPH11266221A (en) | Payload relative position change request device and transmission device including the same | |
| US20010021203A1 (en) | Data transmission and reception system, data transmitter and data receiver | |
| CA1264876A (en) | Synchronization of asynchronous data signals | |
| US7440533B2 (en) | Modulated jitter attenuation filter |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| MKEX | Expiry |