Incremental phase smoothing desynchronizer and calculation apparatus

Abstract: A desynchronizer (20) for desynchronizing data stored within synchronous payload envelopes of a synchronous communication protocol such as SONET (Synchronous Optical Network), provides for smoothing the periodically discontinuous clock signal associated with that data after the synchronous communication protocol overhead has been removed. The desynchronizer accommodates for shifts in the position of the payload envelope and hence, the data within the synchronous communication frame as well as adjustments within the data itself due to asynchronous bit stuff information. The desynchronizer utilizes a leak filter (26) having a linear branch (54) and an integrator branch (56), both branches having adjustable factors (61, 63, 65, 88, 90, 91, 93, 95, 100, 102, 105) regarding their operation, wherein the adjustable factors are selected depending upon threshold values (86, 87, 89, 62) which in turn are based upon the difference between the average write address and read address for the associated elastic store (22) within which the incoming data removed from the synchronous communication system frame is temporarily stored. The leak filter (26) forms part of a phase locked loop which in turn adjusts the read clock frequency (46) in a manner which minimizes overflow or underflow of the elastic store while simultaneously minimizing the rate of change of the read clock rate so as to limit jitter. A fault recovery apparatus forms part of the desynchronizer for enabling fastlock high gain factors (67, 97, 107) to quickly adjust the read clock when elastic store overflow or underflow occurs. The gain factor associated with both the linear branch and integrator branch are provisionable (118, 120) as well as elastic store size and thresholds resulting in a desynchronizer which can be modified to meet the particular jitter requirements of a particular synchronous communication system. A calculation engine (82) performs iterative calculations to generate the leak filter output value using a reduced number of logic gates for ASIC implementation.

Description: TECHNICAL FIELD The present invention is directed to synchronous digital communication systems and specifically, desynchronizers used in such systems. It is specifically directed toward smoothing a payload clock associated with a digital signal carried by a SONET (Synchronous Optical NETwork) protocol signal which has been pointer processed. The digital signal may also be adjusted through use of asynchronous stuff bits. BACKGROUND OF THE INVENTION As discussed generally in Digital Telephony , Second Edition (John Bellamy, John Wiley & Sons, Inc.) at Chapter 7, the problems associated with network synchronization control and management include maintaining a smooth payload clock at a network node. As noted there, a number of factors are associated with the problem of variations in the clock signal as received downstream from the original sender, including clock instability, noise and interference, effective changes in the length of the transmission medium, changes in the velocity of propagation, doppler shifts, irregular timing information, etc., all of which affect the received clock downstream from the sending source. Typically, elastic stores have been used in the recovery of clock information with using phase locked loops in association with a variable control oscillator to adjust the read signal associated with the data stored in the elastic store for transmission further downstream. In addition, since the adoption of synchronous optical network standards, such as SONET and the CCITT counterpart known as Synchronous Digital Hierarchy (SDH), standard ways for formating digital signals, such as DS-1, DS-1C, DS-2, DS-3 and CCITT counterparts, within a synchronous payload envelope (SPE, called a virtual container -VC- by CCITT) have existed. The SONET and the SDH standards provide for movement of the SPE within the SONET or SDH defined frame. Movement of the payload effectively means a change in the rate at which the digital signal is being written at a node of the synchronous network. Desynchronizers attempt to smooth this rate as read from the node so that the extracted digital signal has a payload clock frequency as constant as possible, thereby minimizing this rate change, otherwise known as jitter. As the payload is remove from the synchronous frame containing line and section overhead, the resulting periodically discontinuous payload clock signal must be smoothed to a periodically continuous clock signal associated with the resynchronized payload output data. An elastic store provides straightforward means for accomplishing this result. The payload data as removed from the synchronous frame is thus written into the elastic store at the periodically discontinuous rate. This discontinuous rate, as averaged over many synchronous frames, is then used to read data from the elastic store at the digital signal's periodically continuous rate. The pointer mechanism comprises a set (pointer word is actually in 2 bytes) of information which is used to define the start of the next SONET synchronous payload envelope (SPE) in order to allow the envelope to move within the SONET frame. When there is a pointer adjustment, the amount of data within the SPE for the curent SONET frame changes by one byte. However, it is not desirable to make an instantaneous adjustment in the elastic store read clock to reflect this change. Rather, it is desirous that the read clock rate gradually increase or decrease to accommodate the pointer adjustment so as to minimize output jitter and to bring the read clock frequency back to average write clock frequency. The slower the adjustment is made to the read clock frequency, the less output jitter (rate of change of the read clock) is generated. Ideally if the payload (digital signal) did not move within the synchronous frame and if synchronous stuff bits were not required within the payload itself, no jitter would be seen on the elastic store read clock. However, both payload movement within the synchronous frame, known as pointer movement, and synchronous stuff bits to accommodate data rate fluctuation within the payload itself, do occur. A listing of prior art documents which are directed to the problems associated with desynchronizers, including SONET desynchronizers is presented in Table 1. REFERENCES 1. T1.105-1991 "Digital Hierarchy - Optical Interface Rates and Formats Specification (SONET), Section 7 Synchronization 2. T1X1.6/88-028 "Analysis of Jitter & Wander Associated with Pointer Adjustments," British Telecom. (2a) T1X1.6/88-029 "A Possible Design for a Desynchronizer Accommodating Pointer Adjustments," British Telecom. 3. T1X1.6/89-029 "Results of Simulations of a Possible Desynchronizer Design," British Telecom. 4. T1X1.6/88-026 "A Synchronous Desynchronizer." Bellcore Signals," Bellcore. 5. T1X1.6/88-041 "Pointer Spreading Desynchronizer," Northern Telecom. (5a) T1X1.3/92-071 "Jitter Accumulation Results in SONET Islands for Milli-Hertz NE Clock Bandwidths," Alcatel. (5b) T1X1.3/92-072 "DS3 Payload Output Jitter Proposal," Alcatel. (5c) T1X1.3/92-017 "Additional SONET Islands Jitter Simulation Results," Alcatel. (5d) T1X1.3/92-006 "Initial Draft of SONET Jitter Standard," Tellabs. 6. "Short Term Stability Specification of SONET Timing Reference Signals," Bellcore. 7. T1 LB280 "A Technical Report on the Effects of SONET on Payload Output Jitter," T1X1.3 8. T1X1.6/90-005 "STS-1 and OC-N Jitter Proposal," Alcatel 9 "Design and Performance Verification of a SONET-TO-DS3 Desynchronizer", Hamlin, Jr., TranSwitch Corp., Shelton, Connecticut, published before February 25, 1992. 10. U.S. Patent 4,996,698 - Nelson - February 26, 1991 11. U.S. Patent 5,052,025 - Duff et al - September 24, 1991 The problem addressed in prior art devices is thus to smooth the receive clock of the digital signals contained within the SPE, such as a DS-3 signal or a DS-1 signal so as to minimize output jitter while simultaneously inhibiting elastic store overflow or underflow. Prior art techniques associated with SONET to DS-3 desynchronizers typically cause output phase transitions in the one unit interval (UI) range (one bit), which at the DS-3 rate corresponds to 22 nanoseconds (ns) (1/44.736 mb/sec). Such large phase steps can cause high levels of jitter on the recovered clock since they are only filtered with relatively high bandwidth phase lock loops (PLL's). Various manufactures have devices which cause such levels of jitter, as noted in Table 1. In the technique disclosed in U.S. patent 4,996,698, the pointer changes are smoothed using a high-pass filter and summing the output of this filter with the periodically discontinuous payload clock and then applying this summed signal to a type 2 low-pass filter using a phase locked loop synchronizing technique. U.S. patent 5,052,025 discloses an adaptive bit leaking arrangement in conjunction with a digital phase locked loop and synchronizing elastic store to achieve improved jitter performance. An estimate of a bit leaking interval is adaptively obtained based on the intervals between a sequence of consecutive pointer adjustments in the received signal. Although these prior art techniques have been able to reduce output jitter associated with pointer adjustments, recent SONET/asynchronous jitter studies such as the Alcatel T1X1.3 contributions to T1X1.3/92-017, -041 have shown that peak jitter levels of 0.2 -0.25 (UI) unit interval per pointer, or lower are required to limit pointer generated jitter to reasonable allocation levels, At the present time it has been found that the filtering algorithm used in a DS-1 rate desynchronizer as disclosed in applicant's co-pending application serial no. 771,037, is not readily adaptable to a DS-3 rate. This is due to the fact that a high frequency over sampling clock must be used which is not practicable at the present time for a DS-3 rate. The present invention overcomes such problems associated with the prior art while providing improved fault recovery and programmability of the desynchronizer parameters. It also uses an iterative calculation engine which is able to calculate the bit leaking value a a repetitive basis while dramatically reducing the number of gates necessary to implement the circuitry as a ASIC. SUMMARY OF THE INVENTION A desynchronizer according to the present invention uses an "in-line" filtering approach in which the (PLL) phase locked loop VCO frequency, and thus the output phase of the desynchronizer, is determined by a offset position from elastic store center, through use of digital filtering techniques and discrete thresholds. A leak filter having a linear branch and a integrator branch is used, wherein the linear branch and integrator branch incorporate shift factors that are selectably based upon detected threshold values, wherein the threshold values represent the amount the elastic store fill position is off-center. Thus an extensive fault recovery procedure is used so as to gracefully degrade jitter performance of the desynchronizer under fault conditions. In addition, all significant parameters of the desynchronizers are externally processor programmable, including bit leaking bandwidths, elastic store thresholds, and effective elastic store size. Such programmability allows for field changes to be made in the desynchronizer characteristics, thereby yielding flexibility as standards and customer requirements evolve. A dither module is also used to effectively increase the output resolution of the D/A converter, thereby providing smooth phase transitions on the read payload clock as the elastic store nears its center position. In the present assignee's patent application serial no. 771,037 filed October 2, 1991 for In-line Piece-Wise Linear Desynchronizer, a type of digital filtering algorithm is used which yields incrementally small phase adjustments. The technique disclosed uses a filtering algorithm that is fundamentally different from that disclosed in the present application, especially in the area of the elastic store fill detector, digital filtering algorithms, fault recovery and provisioning capability. Other techniques are also disclosed in applicant's co-pending application filed on the same date herewith entitled "Desynchronizer for Digital Communication System", which is directed to a fractional-bit leaking desynchronizer. In such a desynchronizer, a "subtractive" filtering method is employed. That is, the pointer adjustments and changes in asynchronous stuff bit activity are hidden from a higher bandwidth analog PLL by subtracting their effects before they reach the PLL. Then the subtracted pointer is slowly and incrementally leaked from the desynchronizer with very small or fractional phase steps which are much less then one UI. Such a subtractive approach allows the selective filtering of either pointer adjustments or both pointer adjustments plus asynchronous stuff bits. However,this subtractive technique requires the use of a programmable read only memory (PROM) to store correction co-efficients which depend on where the payload pointer is located within the SONET frame. The present desynchronizer avoids use of a "subtractive" approach by providing a desynchronizer based upon a in-line filtering approach. Thus there is no error generated due to the subtractive effect found in other architectures and no external correction co-efficient information needs to be stored in memory such as a PROM. Filtering of all payload phase effects such as pointer adjustments, asynchronous stuff bit rate changes, and SONET frame changes, are performed in an imbedded digital filter typically implemented in major part as an ASIC. The overall result is a desynchronizer which meets all known requirements for desynchronizing a DS-3 signal. Levels of jitter from 2 to 100 times lower than prior art devices are obtained, while the extensive fault recovery circuitry is able to accommodate fault conditions from 5 to 20 times worse than known existing desynchronizer designs. In addition, the desynchronizer's transfer function, although different at different thresholds, is nevertheless continuous, thereby resulting in a more stable system. Furthermore, external PROM's and D/A converters are eliminated with the present invention. Implementation of the digital filtering and threshold detection is accomplished through use of a calculation engine which greatly simplifies such implementation and which is applicable to algorithmic calculating situations in general. Objects of the Invention It is therefore a principal object of the present invention to provide a desynchronizer for desynchronizing an asynchronous digital signal transported in a payload envelope within a synchronous frame by use of a digital filtering techniques that adjust linear and integrator constants based upon detected thresholds and thereby be able to accommodate pointer adjustments and other variations in the received digital signal so as to minimize jitter of the payload clock reading the digital signal at the output of the desynchronizer. Another object of the present invention is to provide a desynchronizer that includes fault recovery circuitry which incrementally increases the digital filter bandwidth as the fill position in the elastic store is moved further from the center of the elastic store such that thresholds, when exceeded, cause constants associated with the nominal filtering bandwidth and integrator constants associated with the phase locked loop to change so as to help prevent elastic store overflow or underflow at the expense of increased payload clock jitter. Another object of the present invention is to provide a desynchronizer of the above description which includes an output dither circuit that effectively increases the output resolution of the desynchronizer and its internal D/A converter so as to allow smooth phase transitions on the desynchronizer output clock as the elastic store nears its center position. Another object of the present invention is to provide a desynchronizer of the above description in which a calculation engine is used to perform linear branch filtering, integrator branch filtering and fault recovery through use of iterative calculation and storage of intermediate results. A still further object of the present invention is to provide such a calculation engine for performing general arithmetic and logic problems. Other objects of the present invention will in part be obvious and will in part appear hereinafter. Brief Description of the Drawings For a fuller understanding of the nature and objects of the present invention, reference should be made to the following detailed description taken in connection with the accompanying drawings, in which: Figure 1 is a diagram illustrating two consecutive synchronous transport signal (STS) frames associated with a SONET protocol system, showing how the synchronous payload envelope (SPE) containing the desired digital signal (such as a DS-3 digital signal) can span across such frames. Figure 2 is an overall block diagram of the desynchronizer according to the present invention, including circuitry which is fabricated within a ASIC. Figure 3 is a functional block diagram of the leak filter used in the desynchronizer shown in Figure 1. Figure 4 is a detailed functional block diagram of the leak filter shown in Figure 3. Figure 5 is a schematic diagram of the sequencer and control circuitry of the calculation engine used to perform the linear branch filtering, integrator branch filtering and fault recovery portions of the desynchronizer. Figure 6 is a schematic diagram of the iterative calculating portion of the calculation engine. Figure 6A is a diagram of the iterative steps and overall calculations performed by the calculation engine. Figure 7 illustrates the partial product results of the calculation engine. Figure 8A is a diagram that illustrates the values of the desynchronizer registers for two set conditions. Figure 8B illustrates the dither, HALFDAC, and integrator output gain values. Figure 9 illustrates the register contents per shift factor for fast lock and normal states. Figure 10 is a flow diagram of the fault recovery procedure. Figure 11 illustrates waveforms associated with the threshold signal generation, in particular showing the relationship between time and phase response versus various thresholds. Figure 12 is a diagram illustrating the effective phase detector transfer function associated with the desynchronizer. BEST MODE FOR CARRYING OUT THE INVENTION As is well-known in the art, since the adoption of SONET as described in Digital Hierarchy - Optical Interface Rates and Formats Specification (SONET), ANSI TI.105-1991, and its European counterpart, the CCITT SDH, a standard has existed for the synchronous transport of digital signals, such as DS-1 or DS-3 signals within the synchronous payload envelope (SPE) of the synchronous transport envelope (frame). Since the SPE does not reside at a fixed byte location within the synchronous frame, but in fact may move as required, by means of pointer adjustments, within the non-overhead bytes of the synchronous frame as seen in Figure 1, it is necessary that a means be provided for extracting the clock associated with the digital signal stored within the SPE. The SONET and other synchronous transport standards provide for pointer movement, including a periodic pointer action byte (SONET H3 byte) for adjusting the fill of pointer processor buffers. The task is therefore to extract the data bytes from the non-data synchronous overhead bytes and store this incoming periodically discontinuous data stream in a buffer (elastic store) and to extract this data at a rate as close as possible to its original rate (payload clock or read clock), while accommodating for shifts in the instantaneous incoming data rate as a result of such pointer adjustment and synchronous stuff bits associated with the payload data itself. This latter requirement is complicated by the need to maintain minimal variation in the payload clock rate, since changes in this clock rate are undesirable. It is of course further necessary that such smooth adjustments in the read clock rate occur at a rate that prevents overflow or underflow of the input buffer (elastic store). The present invention as best seen in Figure 2, achieves this desired result by a desynchronizer 20 which comprises an elastic store 22 ,a nine row averager 24 , a leak filter 26, a limiter 28 , a pulse width modulation circuit acting as a digital to analog converter 30 and a parallel to serial divide by 8 module 32 , all of which can be preferably fabricated as an application specific integrated circuit (ASIC). The overall desynchronizer also incorporates an AC to DC converter 34 and a voltage controlled crystal oscillator (VCXO) 36 , the latter two modules typically fabricated on a printed circuit assembly associated with the ASIC fabricated modules. The specific design shown in Figure 2 is specifically directed to a desynchronizer for desynchronizing a DS-3 or DS-1 signal from a received SONET signal. The design however is applicable to any synchronous network which uses a payload envelope for containing a digital signal. As seen in Figure 2, incoming serial data is received on line 40 at input 41 with clock information received on line 42 at input 31 and gapping information on line 44 . Gapping information is provided so that only data bytes associated with the digital signal are stored within the elastic store. The data is stored in the elastic store as 64 words each 8 bits in length. A read clock signal on line 46 is presented to read clock input 33 and the write and read address are respectively output on lines 35 and 37 . The essence of the desynchronizer operation is of course, to read data from the elastic store based upon a read clock signal on line 46 so as to transfer the parallel data to a parallel/serial converter 32 as received on bus 48 . The output of the parallel/serial converter is a serial bit stream on output 50 (such as a DS-3 signal) which is then used by any interconnected device. In the example shown, the data is a DS3 signal extracted from an incoming SONET signal on line 40 . However, because of the pointer adjustments, asynchronous bit stuff information and other variations in the incoming clock signal on bus 40 , the desynchronizing of the DS3 signal must account for the variations in the rate of the received data. The elastic store thus provides the physical medium for storing incoming data so that the proper data can be extracted therefrom as smoothly as possible. The desynchronizer operates as a phase-locked loop (PLL) which comprises four primary components, a phase detector comprising elastic store 22 and 9-row averager 24 , the leak filter 26 , the VCXO 36 , and the parallel/serial divider 32 . The phase detector 23 comprises elastic store 22 and 9-row averager 24 . The output of the 9-row averager is the scaled phase difference between the write and read clocks determined from the elastic store write and read addresses. The 9-row averager output 52 thus represents the difference between the rate data is being written into the elastic store and the rate it is being read from the elastic store. It is referred to herein as the W-R value. By averaging nine rows, this difference is computed over a entire synchronous frame. It is important to average over an integral number of rows since the jitter pattern repeats every row. The gain from the 9-row averager is a function of the number of 26 MHz clock periods in a 8 KHz frame time (125 microseconds). The output 52 of the 9-row averager is a normalized write address minus read address multiplied by the number 26 MHz clock cycles in the 8 KHz frame time. This results in a gain of 3240 counts per byte or 405 counts per bit which can also be represented as 405/(2*PI) counts/radian. Leak filter 26 is the device which causes modification of the read clock rate associated with elastic store 32 (DS3 byte clock 46 ). The bandwidth of the leak filter is determined by the coefficients used within leak filter branches 54 and 56 . Table 2 sets forth the bandwidth of the in-line linear branch 54 based upon the operating mode of the leak filter as discussed later. OPERATING MODE SET 1 OPTION SET 2 OPTION Normal .0886 (Hz) .17 (Hz) T1 .80 (Hz) 1.06 (Hz) T2 2.21 (Hz) 2.48 (Hz) T2a 5.05 (Hz) 5.316 (Hz) Fast Lock 45.4 (Hz) 45.4 (Hz) The peaking of the leak filter transfer function is controlled by the location of the pole form the integrator module 56 . There is also a programmable down counter used to implement the D/A converter 30 . The gain of this section is determined from the number of 26 MHz clock cycles in the 8 KHz period and the maximum output voltage, such as 5 volts per 3,240 counts. Since the VCXO 36 requires a bi-polar input with no DC offset, there is an external filter 34 to add gain and offset to the output of the D to A converter 30 . This filter 34 has a gain of 2 with a minus 5 volt offset. It also incorporates two poles at 400 hertz so as to attenuate the 8 KHz fundamental frequency component from digital to analog converter 30 . The VCXO 36 is a discrete implementation having a gain of 5731 radians/seconds/volt maximum and 4776 radians/seconds/volt minimum. As is readily apparent to those of ordinary skill in the art, any modifications to the gain of any of the components within the desynchronizer must be compensated by a change in the coefficients in the bit leaking circuitry so as to maintain the proper bandwidths for minimal jitter. Detailed Block Description The desynchronizer bit leaking capability is shown in increasing detail in Figures 3 and 4. As shown generally in Figures 3, 4, 11 and 12, the linear branch 54 of the leak filter has a nominal gain factor 88 and three increasing gain factors 61 (G1), 63 (G2) AND 65 (G2A) which are successively added at summer 70 as corresponding W-R threshold values 86 (THR_T1), 87 (THR_T2) and 89 (THR_T2A) are exceeded. Output 71 of summer 70 also includes the integrator branch output 73 . This output is a result of integrator module 114 comprising summer 112 , storage register 57 and output shifter 75 . Gate 110 selects one of the integrator shift factors 90 , 91 , 93 , 95 or 97 and corresponding update rate factors 100 , 101 , 103 , 105 and 107 based upon the presence or absence of W-R thresholds 86 , 87 , 89 and 60 . Gate 116 selects the appropriate update rate factor which in turn causes a specific update rate from clock signal 117 to be presented to storage register 57 . (The integrator consists of the integrator shift factors 90 , 91 , 93 , 95 , 97 , the selector 110 , the adder 112 , and the register 57 , as well as the output scaling factor 75 .) The integrator branch thus provides a long-term storage of the payload read clock frequency. The filter when combined with the VCXO transfer function yields an overall type 2 PLL design. (Type 2 means 2 poles at 0 frequency; one from the VXCO, and one from the integrator.) The disclosed shift factor constants are chosen to limit peaking to a value less than 0.1dB for the closed loop phase response. It should be noted that integrator shift factor module 49 shown in Figure 3 is a composite of the integrator shift factors and update rate factors. Additional Desynchronizer Implementation Features It should be noted that the 23-bit sum which is generated by the leak filter ( 26 ) is forced to an output equal to 3240 if the sum is greater than 3240 and to 0 if the sum is negative. All sums between 0 and 3240 are passed by the limiter ( 28 ) unchanged. The D/A converter 30 is actually a decrement counter which functions as a digital to analog converter so as to generate an analog representation of the elastic store fill position. The output value of the limiter 28 is loaded into the counter at the beginning of each frame period. Once the counter has loaded the output signal, HALFUL* goes low and remains low until the counter reaches a terminating count of 0. The counter decrements at a 26 MHz clock rate. If for example the value loaded into the desynchronizer was 1621, the value of HALFUL* would be low for 1,621 clock cycles and high for 1,619 clock cycles, indicating that the elastic store was just over half full. If the values of TXES representing the store position of the elastic store is half full, then the write minus read difference is 32. That is, 32 X 3240 = 103,680. The value of 103,680 divided by 64 is 1,620. Therefore, the output, HALFUL* is low for 1,620 clock cycles and high for 1,620 clock cycles, which is exactly half full. The loop filter is required to generate a true analog signal. The analog signal controls the external VXCO 36 which provides the clock rate for the DS3 byte clock 46 . The byte clock 46 in turn is used to read the data out of the elastic store. As seen in Figure 4, dither module 69 generates a 5 bit resolution pseudo random number which is input to summer 55 . This random number provides for interpolation between the least significant bits of leak filter output 58 which results in increased resolution of the desynchronizer when operating near the center of the elastic store (W-R≈O). In addition, the HALFDAC module 53 is input to summer 55 to provide a value to the system when the integrator branch is initialized. The HALFDAC value represents the nominal frequency of read clock 46 (see Figure 2) based upon the specification of the digital signal being extracted (e.g. a 44,736 mb/sec ± 20 ppm for a DS-3 signal). The desynchronizer thus performs the primary functions as set forth in Table 3. 1) Selects the proper threshold values and shift factors. 2) Detects threshold crossings which in turn control the path flow through the desynchronizer. 3) Provides the linear path transfer function. 4) Provides the integrator path transfer function. It is readily apparent by review of Figures 3, 4, 11, and 12, that as the value of W-R increases, indicative of pointer adjustments and other changes in the write rate for the incoming data to the elastic store, the linear branch linear shift factors, ( 61 , 63 and 65 ) as well as integrator branch integrator shift factors ( 91 , 93 and 95 ) and update rate factors ( 101 , 103 and 105 ) associated with the integrator branch 56 are adjusted from their respective nominal values ( 88 , 90 and 100 ) so as to force the W-R value to decrease in a manner so as to cause minimal output jitter on the output data from parallel to serial divider module 32 on output line 50 . As also seen in Figures 3, 4, 11 and 12, when an overflow or underflow condition occurs such as detected by module 60 , a fast lock timeout signal is generated from module 62 which as transferred to gate 64 via output line 66 causes the fast lock linear shift factor 67 to be input to summer 70 . Similarly, for integrator branch 56 , the integrator fast lock shift factor 97 is selected by gate 110 for presentation to summer 112 , of integrator 114 , while gate 116 selects the fast lock update rate factor 107 for changing the update rate of integrator 57 . With these shift factors, a very high gain, high bandwidth PLL is implemented so as to quickly bring the read clock rate near to the write clock rate. Transfer line 68 in Figure 12 shows the resulting transfer function. Of course, during such overflow or underflow conditions, some data within the payload will be lost as the elastic store is re-centered. Figure 12 also shows the addition of the normal transfer line 59 with the G1 transfer line 72 , the G2 transfer line 74 and the G2A transfer line 76 , resulting in higher gain for the linear branch as increasing thresholds are detected as defined by the magnitude of the W-R value on output 52 . A combination of these transfers for the G1 plus G2 thresholds is shown by composite transfer line segment 78 , whereas line segment 77 shows the combination of the normal plus G1 gains and line segment 79 shows the transfer function of the normal plus G1 plus G2 plus G2A gains. A definition of the inputs associated with the desynchronizer are set forth in Table 4 while the outputs generated by the desynchronizer are defined in Table 5. DESYNCHRONIZER OUTPUT SIGNAL DESCRIPTIONS OUT〈22..0〉 The 23 bit desynchronizer output. T1 This output signal flags the system that the normalized phase detector output has exceeded Threshold #1. T2 This output signal flags the system that the normalized phase detector output has exceeded Threshold #2. T2A This output signal flags the system that the normalized phase detector output has exceeded Threshold #2A. EXTDB〈7..0〉 This bus is the data read from the working Integrator/Position store register destined for the microprocessor interface. A1FLG This output, when active, will mark the start of an STS-1 frame. Operation of the Calculation Engine The present invention by use of a calculation engine 82' and 82'' as shown in Figures 5 and 6 is able to perform the functions of the block diagram shown in Figure 4 with a limited number of hardware modules. The iterative operation of the calculation engine is described in Figure 6A for each of the event sequences with the column identified as CONDITIONS indicating when that event sequence is performed and the column identified as OTHER FUNCTIONS setting forth what other actions are taken for the execution of that particular sequence. As can be seen in Figure 6, a single adder 80 is used instead of a plurality of adders as shown in Figure 4 to obtain the result of Figure 4. The circuit shown in Figure 6 as implemented by the steps shown in Figure 6A, thereby results in a significant reduction in the number of gates necessary for implementation of the bit leaking circuitry shown in Figure 4. In addition, the calculation engine shown in Figure 6 is configurable to achieve whatever summing operation and other logic operations are desired. Although the disclosed implementation is for a bit leaker, it is readily apparent that this calculation engine can be configured for other arithmetic and logic operations. Furthermore, although eighteen separate events are calculated to determine the leak filter output value at a given instant of time, since this value only needs to be determined once per frame (125 µsec), there is sufficient time to perform the iterative calculations when operating at a sufficiently high clock rate, such as 6 MHz. Thus 9 seen in Figures 2, 4 and 6A, the first event sequence (event number 0) takes the output 52 of the 9-row averager as passed through a 2 9 block 25 (which is part of the 9-row averager module 24 shown in Figure 2) and subtracts the value identified by the ESS module 85 (elastic store center shift value). The partial output is identified as POS and represents elastic store position relative to the center, and is performed under all conditions. The ESS module provides the ability to have a effectively variable size elastic store, by changing the value of the ESS parameter (85-Fig. 4). This changes the average offset between the read and write clocks in the store, effectively giving a programmable variable sized store (or data delay). ESS =1/2 [405 counts/bit x 8 bits/byte x 64 bytes ]. Thus, for a 64 byte store, the equation is reduced as follows: ESS = 1/2 [207,360] ESS = 103,680. This represents an average delay between the write and read clocks of 32 bytes (as found in fig. 8A). If ESS is halved, the average delay would go to 16 bytes - the effective average delay of a 32 byte elastic store. Also, this parameter is changeable with a system software update, as are all other significant parameters. In event number one, the value of the POS variable is added to 0 and shifted to the right by the value of LIN_NO variable which is shown by module 88 to be 2 -11 . The result is defined as variable TMP (or TEMP). This technique is repeated for the remaining events shown in Figure 6A. The overall result is the determination of the value for SUM output 72 as shown in Figure 4. Thus a single adder which can operate as both an adder or a subtractor, depending upon control signal 90 (see below), is iteratively used with the storage of partial results in registers 132 so as to achieve the particular logic functions for obtaining a bit leaking desynchronizer as shown in Figure 4. The partial product results for the operations shown in Figure 6A are more fully set forth in Figure 7. Calculation Engine Implementation The leak filter shown in Figures 3 and 4 is thus implemented in a recursive fashion so as to avoid separate loops for each adder shown. In a preferred embodiment of the present invention, partial products of the linear and integrator branches are iteratively determined in a loop-like fashion. The synchronizing of the data path flow through the loop is accomplished by a sequencer 92 and associated control logic shown in Figure 5. One of the features of the present invention is that all the linear branch and integrator branch shift factors and threshold values are provisionable depending upon particular desired configurations. Figures 8A and 8B set forth two sets of values which can be selected in a preferred embodiment of the present invention. Figure 6 shows that gates 118 , 120 , 122 , and 124 , upon receipt of appropriate control signals select the particular shift factors and other inputs required at each sequence event shown in Figure 6A. The ALU control encoder 126 controls adder 80 by output 90 while the register control encoder 128 generates control signals on outputs 129 that control registers 132 . The multiplexer control encoder 130 via control signals on outputs 131 control gates 118 , 120 , 122 , and 124 while register 133 under input control, controls generation of the desired output on line 72 . Referring to Figure 5, each gain factor requires two consecutive passes through the loop. The control logic shown in Figure 5 dictates which of the gain factors are added during a given frame. The event sequence and partial products of the loop are shown in Figures 6A and 7 respectively. The sequence is followed on every frame boundary. The contents of the loop register after each shift factor is shown in Figure 9. The control logic detects threshold crossings (that is W-R values exceeding predetermined thresholds 86 , 87 , 89 , and 60 shown in Figure 4) during specific time sequences in a given frame and adds the respective gain factors to the loop. The loop monitors these threshold values, namely; gain 1, gain 2, and gain 2a associated with the corresponding linear branch and integrator branch shift factors. Figures 10, 11 and 12 illustrate the behavior of the fault recovery circuit. It is thus seen that this use of a calculation engine can be used to generate a desired result through iterative calculations provided that the end result can be performed over a period of time greater than that necessary to execute all of the partial events. Summary From the foregoing description, it is readily seen that based upon predetermined thresholds, the gain of the bit leaking filter is adjusted so as to minimize the jitter associated with the generated DS3 byte clock signal 46 and as a result, the read data from the elastic store on output 50 . With this desynchronizer, jitter on the order of 0.1 to 0.2 unit intervals during pointer events (where one byte equals 8 UI) is easily achieveable, or even lower if desired. Thus what has been described is a desynchronizer for obtaining the read clock associated with a payload data signal, such as a DS3 signal embedded within the synchronous payload envelope of a SONET synchronous frame, so as to accommodate pointer movements and asynchronous stuff bit changes in a manner so as to minimize instantaneous change of the read clock rate and thereby instantaneous change of the output frequency associated with the data signal. Furthermore, the overall bit leaking circuitry is implemented using a calculation engine which minimizes the number of gates needed to perform the required arithmetic and logic functions through use of an iterative addition/subtraction process wherein partial results are stored in registers and combined in a manner so that the overall result is the same as if the circuitry were implemented in a non-time sequential fashion. It will thus be seen that the objects set forth above and those made apparent from the preceding description are efficiently attained and, since certain changes may be made in the above construction and methodology without departing from the scope of the invention, it is intended that all matter contained in the above description shall be interpreted as illustrative and not in a limiting sense. It is also to be understood that the following claims are intended to cover all of the generic and specific features of the invention herein described, and all statements of the scope of the invention which, as a matter of language, might be said to fall therebetween.

Claims: A desynchronizer (20) for smoothing the read clock (46) associated with data from a digital signal transported within a payload envelope of a synchronous communication protocol comprising a plurality of frames, each frame comprising a plurality of rows of information, in which the payload is stored within a portion of one or more frames and wherein the position of the payload may vary from frame to frame, comprising: A) a elastic store (22) having a write address input (31), a read address input (33), a data input (41), a data output (48), and an input (44) for receipt of information regarding the presence of data on said data input (41), said elastic store having a memory for storing said data as that data is received on the data input, said elastic store generating outputs (35, 37) representative of the write and read address values; B) difference means (24) connected to the write address and read address output (35, 37) of the elastic store so as to determine an output (52) (W-R) proportional to the difference between the write and read address for a plurality of rows associated with the incoming synchronous frames; C) a leak filter (26) connected to the output (52) of said difference means (24), the leak filter for generating an output (71) so as to cause an adjustment in the read data rate associated with the elastic store, said leak filter comprising a linear branch (54) connected to the output (52) of the difference means, the linear branch having a first nominal linear shift factor (88) and at least a second linear shift factor (61) selected when a first threshold (86) is exceeded, each linear shift factor for adjusting the gain of the linear branch, and an integrator branch (56) connected to the output (52) of the difference means having a first nominal integrator shift factor (90) and at least a second integrator shift factor (91) selected when said first threshold is exceeded, each integrator shift factor for adjusting the value of the W-R output, and further wherein the integrator branch has a integrator (57) selectably connected to the W-R output as passed through one of the integrator shift factors for repetitively integrating said shifted W-R output, said leak filter further comprising a summer (70) for combining the outputs of the linear branch and integrator branch for providing a leak filter output (71); and D) means (28, 30, 34, 36, 32) for converting the output (71) of the leak filter into a variable frequency rate (46) as determined by the value of the leak filter output so as to read data from the elastic store; whereby the read data rate approximates the write data rate and the change in the read data rate is minimized for changes in the average write data and the rate of change in the read data rate is increased as the detected threshold is exceeded. A desynchronizer as defined in claim 1, wherein the integrator branch includes a nominal update rate factor (100) and at least a second update rate factor (101) selected when the first threshold (86) is exceeded, each rate factor for adjusting the integrator rate of the integrator. A desynchronizer as defined in claim 2, wherein the linear shift factor, integrator shift factor and update rate shift factors are changed as the W-R output exceeds at least one separate threshold value (86) so that the rate at which the rate of change of the read clock changes is increased as each higher threshold is exceeded. A desynchronizer as defined in claim 3, further compromising a dither module (69) connected to the output summer (70) of the leak filter, the dither mode supplying a pseudo random value to the leak filter output value so as to effectively increase the resolution of the desynchronizer and thereby allow smooth phase transitions for small changes in the write data rate for the read clock as the W-R output value approaches a value representative of the elastic store center position. A desynchronizer as defined in claim 4, wherein at least a portion of the leak filter linear branch and integrator branch includes a calculation means (82', 82'') comprising an adder (80), temporary storage means (132) for the storage of partial arithmetic and logic results, and control means (118, 120, 122, 124) for selectively controlling the input of the shift factor values and partial results to the adder for iterative calculations for ultimate generation of the output value of the leak filter. A desynchronizer as defined in claim 5, wherein the calculation means performs all of its iterative calculations for generation of a leak filter output value during the time period of one frame of the synchronous communication protocol. A desynchronizer as defined in claim 3, wherein a fast lock mode linear shift factor (67), integrator shift (97) and update rate (107) factors are enabled when a fast lock threshold (60) indicative of elastic store near overflow or near underflow is exceeded, these factors causing the linear branch and integrator to have much higher gains than otherwise so as to quickly adjust the read rate when such a near overflow or near underflow condition occurs, and where said fast lock mode persists for a predetermined time. A desynchronizer as defined in claim 1, wherein a fast lock mode linear shift factor (67) integrator shift (97), and update rate (107) factors are enabled when a fast lock threshold (60) indicative of elastic store near overflow or near underflow is exceeded, these factors causing the linear branch and integrator to have much higher gains than otherwise so as to quickly adjust the read rate when such a near overflow or near underflow condition occurs, and where said fast lock mode persists for a predetermined time. A desynchronizer as defined in claim 1, comprising a calculation apparatus (82', 82'') for performing algebraic and logic computations comprising a plurality iterative calculations and storage of intermediate results for implementing the operation of the leak filter, said calculation apparatus comprising: A) arithmetic computation means (80) for generating at a output the algebraic manipulation of one or more inputs values from a plurality of inputs; B) input control means (118, 120, 122, 124) for selecting said input values; C) intermediate storage means (132) connected to the output of the arithmetic computation means for the storage of outputs therefrom representing intermediate results, said storage means having outputs connected to the input control means; and D) result output control means (133) for outputting a final computational result of the calculation apparatus. A desynchronizer as defined in claim 9, wherein the arithmetic computation means comprises two inputs for adding or subtracting the input values and further has a control input for determining whether an addition or subtraction of the two inputs is to be determined. A desynchronizer as defined in claim 10, wherein the input control means comprises two multiplexers (122, 124), each having a plurality of inputs and control inputs for receipts of control signals, each having an output connected to one of the inputs of the arithmetic computation means, each multiplexer also having a control input for determining which of the plurality of inputs is to be selected. A desynchronizer as defined in claim 11, wherein the control signals are generated by a sequencer (92) and control means (126, 128, 130) containing the desired sequence of intermediate operations and storage of intermediate results for generating the final computational result. A desynchronizer as defined in claim 12, for use in determining the adjustment of a read clock in response to the difference value between the position of the read clock address and a write clock address associated with an elastic store, wherein a leak filter comprising a linear branch having multiple linear shift factors and an integrator branch having multiple integrator shift factors and update rate factors, wherein the sequencer and control means control a number of intermediate steps for causing the arithmetic computation means, multiplexers, and intermediate storage means and result output control means to select one of the plurality of linear shift factors, integrator shift factors and update rate factors depending upon said difference value. A desynchronizer as defined in claim 13, further comprising a dither module (69) for generating a pseudo random number, wherein one of the multiplexers has an input connected to the dither module so as to increase the effective resolution the leak filter when the difference value represents nearly equal write and read rates. A desynchronizer as defined in claim 9, further comprising a shift multiplexer (1000) used for dividing by powers of two by left shift operation on parallel data. A desynchronizer as defined in claim 1, wherein said means (24) comprises: A) a row averager (24', 25), responsive to the write address and read address outputs (35, 37) of the elastic store, for providing a row average signal; B) an elastic store center shift (ESS) module (85) for producing an ESS parameter signal for indicating the average offset; and C) a summer (85a), responsive to the row average signal and the ESS parameter signal, for providing said output (52). A desynchronizer as defined in claim 16, wherein said ESS module is programmable so as to provide a programmable ESS parameter signal. A desynchronizer as defined in claim 1, wherein the leak filter (26) has means for provisioning the linear branch shift factors and the integrator branch (56) shift factors. A desynchronizer as defined in claim 1, wherein the leak filter (26) linear branch (54) and integrator branch (56) shift factors result in a desynchronizer overall transfer function that is smooth when a different shift factor is selected as said threshold is exceeded. A desynchronizer as defined in claim 1, wherein the memory of the elastic store comprises N locations, where N is a positive integer greater than two and wherein the center position of the elastic store is the midpoint of the N locations, and wherein the first threshold is symmetrically positioned about the center position of the elastic store. A desynchronizer as defined in claim 20, wherein there are M thresholds, where M is an integer greater than one, and there are M + 1 shift factors for the linear branch (54) and for the integrator branch (56) of the leak filter (26) so as to increase the bandwidth of the leak filter and thereby minimize the probability of elastic store overflow or underflow as the position away from the elastic store center position increases and further where N is at least equal to 2 M + 1.

Inventors: AFIFY MANAL ELSAYED, POWELL WILLIAM EDWARD, WEEBER WILLIAM BERNARD, AFIFY, MANAL ELSAYED, POWELL, WILLIAM EDWARD, WEEBER, WILLIAM BERNARD
Applicants: CIT ALCATEL, ALCATEL
Application year: 1993
Main classification: H04J3
IPC codes: H04Q11, H04J3