Digital phase-locked-loop clock extractor for bipolar signals

Abstract: The clock extractor comprises a frequency divider (30) which takes the clock signal from a frequency signal which is a multiple of that of the received bipolar signal. A correction logic (24) included in the divider compares the logic state of the frequency divider with a transition detection signal taken by sampling the bipolar signal at said multiple frequency and, on the basis of the phase error detected, commands phase correction of the clock signal.

Description: The present invention relates to a digital phase-locked-loop clock extractor for bipolar signals comprising at least one shift register supplied with the bipolar signal received and sampled with a sampling signal having a frequency which is a multiple of that of said received signal, a transition detector associated with a combination of outputs of said shift register to generate a transition detection signal of the received signal upon reaching a certain sequence of logic states at said register outputs, a frequency divider comprising a counter clocked with said multiple-frequency sampling signal and programmed in such a manner as to give at output an extracted clock signal at the same frequency as said received signal. In particular the extractor in accordance with the invention consists of a circuit designed to allow taking from a PCM (pulse code modulation) input signal a clock signal phase locked to the input signal so as to allow sampling of the latter with said clock signal without loss of information even in the presence of jitter (phase distorsion) and frequency tolerance. The function of extraction of the clock signal from a received data signal constituting the input signal has heretofore been done principally in the analog mode and recently also in the digital mode both with discrete and integrated components. The analog solution uses a tuned circuit or a frequency-controlled oscillator. Maintenance of an appropriate phase between the input signal and the clock signal takes place continuously and the clock signal extracted does not display phase jumps. These circuits have been developed by some manufacturers of integrated circuits and can be made as well with discrete components. They display however criticality of operation, the need for calibration and poor reliability. Diqital clock extractors of the known type do not display the abovementioned drawbacks. In order to meet the CCITT (International Telegraph and Telephone Consultative Committee) recommendations relative to jitter of the input data signal said circuits produce however a single considerable phase jump of the extracted clock. Said phase jump appears even with low jitter at the input to compensate for the inevitable frequency differences between the line clock and the local clock. Digital clock extractors are known in the art, for example from United States Patents US-A-4667333 and US-A-4216544. Both circuits have an input data shift register, a transition detector of the input data, an output frequency divider giving at the output the recovered clock signal and fed by a multifrequency sampling signal whose phase is adjusted by a control circuitry comparing the output of the transition detector and the signal at the input of the frequency divider, to evaluate the relative phase error and effecting a phase correction on said input signal of the frequency divider. Both circuits however have the drawback that the phase correction is effected by either adding or subtracting a fixed-amount portion of clock period at the clock input of the frequency divider, for a given number of times depending on the amount of phase error to be recovered. This leads to a sort of smoothing or integration of the effect of phase recovery, not only for little phase corrections where this effect solves the problem of the continuous phase jumps of the clock signal, but also for large phase corrections, where the problem raises of an unacceptable delay in the overall compensation process. Faced with this state of the art the object of the present invention is to develop a clock signal extractor of the digital type which would allow having in normal conditions a low phase jump capable of compensating for the frequency difference between the local clock and the line clock in the presence of low input jitter, and at the same time in the presence of high jitter, allows sampling of the data signal received without loss of information, producing a higher instantaneous phase correction of the generated clock signal. In accordance with the invention said object is achieved by a digital clock extractor for bipolar signals comprising at least one shift register supplied with the bipolar signal received and sampled with a sampling signal having a frequency which is a multiple of that of said received signal, a transition detector associated with a combination of outputs of said shift register to generate a transition detection signal of the signal received upon reaching a certain sequence of logic states at said register outputs, a frequency divider comprising a counter clocked with said multiple-frequency sampling signal and programmed in such a manner as to give at the output an extracted clock signal at the same frequency as said received signal, characterized in that it further comprises a phase correction logic which compares said transition detection signal with the logic state of the outputs of said counter to evaluate the phase error existing between the extracted clock signal and the received signal and commands said counter to effect an instantaneous phase correction of said clock signal the magnitude of which is a progressively increasing function of said phase error. With the correction effected it is possible to reposition the leading edge of the extracted clock signal in such a manner as to cause it to fall within the pulse of the bipolar signal received even in the presence of momentary variations of phase due to the applied jitter. At the same time the progressively increasing function which is essentially logarithmic, between the phase error and the phase correction, acts in such a manner that with a very small phase error, i.e. with the counter essentially in phase with the transition detection signal, no correction is effected. This permits avoiding continuous phase jumps of the clock signal phase locked to the input signal. In conclusion, the correction effected permits meeting of the CCITT recommendations without loss of information and to have under normal conditions (with low jitter) an extremely small phase jump. An example of a practical embodiment of the clock signal extractor in accordance with the invention will now be described in detail for greater clarity but with no limiting intent and with reference to the annexed drawings wherein: FIG. 1 shows a block diagram of the clock signal extractor in accordance with the invention, FIG. 2 shows some representative diagrams of the shape in time of the bipolar input signal and of two separate signals with all positive pulses which can be taken from said bipolar signal, FIG. 3 shows a more detailed diagram of the shift register which receives the bipolar signal at the input of the clock signal extractor of FIG. 1, FIG. 4 shows a more detailed diagram of the transition detector associated with said shift register, FIG. 5 shows a more detailed diagram of the frequency divider and of the associated correction logic included in the clock signal extractor of FIG. 1, FIG. 6 shows a series of diagrams representing the shape in time of the signals in the clock signal extractor of FIG. 1, and FIGS. 7 and 8 show tables representative of the mode of operation of the correction unit on the frequency divider on the basis of the phase error detected. The digital clock extractor illustrated as an example in FIG. 1 comprises a shift register 21 which receives at its input a 2.048 2Mbit/s bipolar PCM (Pulse Code Modulation) signal sampled with a sampling signal C at 32.768 MHz, i.e. at a frequency 16 times that of the input signal or received data signal I. A bipolar PCM signal is known to consist of a sequence of negative and positive return-to-zero pulses. Appropriate means are therefore provided but not shown in the figure and placed upstream of the register 21 to subdivide the bipolar signal I on two lines in such a manner as to bring the positive pulses I' onto one of the lines and the negative pulses I'' onto the other with the logic convention that level '0' indicates absence of signal and level "1" indicates presence of the pulse. Said shape of the two signals thus obtained is shown as an example in FIG. 2. In reality the shift register 21 is thus made up of a pair of registers 21'-21'' in parallel, each of which receives the signal (I', I'') present on one of the two lines. The shift register 21 has 7 pairs of parallel outputs U1-U7 corresponding to the same number of successive stages of the registers 21' and 21'' and of another pair of serial outputs U, one for each register. More precisely, as shown in FIG. 3, each register 21', 22'' comprises a sequence of bistable multivibrators 31', 31'' which receives at its input a respective signal I', I'' and supplies a respective serial output U', U'' corresponding to the output of FIG. 1 and respective parallel outputs U1'-U7', U1''-U7'' (only the U1'-U3' and the U1''-U3'' illustrated in FIG. 3) corresponding to the outputs U1-U7 of FIG. 1. Due to the effect of the two registers, the input data signal is delayed by 7.5 periods of the sampling signal C, said delay being selected on the basis of the pulse duration of the data signal I received, as an example equal to 244 ns, characteristic of the return-to-zero 2.048 Mbit/s signals. As will be better explained below this has the purpose of permitting the extracted clock signal to sample the data at the output U of the register 21 during the pulse of said data, preferably in the central part thereof. The first three parallel outputs U1, U2 and U3 of the register 21 (i.e. U1', U2', U3'; U1'', U2'', U3'' of the registers 21', 21'') are combined in a transition detector logic 22 which through the combination of their logic states obtained through logic gates OR 32 and NAND 33 shown in FIG. 4 detects the presence or absence of a transition of the data received from 0 to 1 on either one of the two inputs. More precisely, the detector 22 detects the presence of the transition 0--1, which indicates the instant of beginning of the data received by decodification of the 011 sequence at the outputs U3, U2, U1 of the register 21. This allows filtering of any spikes present in the input signal I which with the sequence 010 do not produce recognition of the beginning of the data. The output of the detector 22 then consists of the logic OR function, carried out by NAND gate 33, of the two decoding logics related to the registers 21′ and 21″. Through a bistable multivibrator (flip-flop) 23 activated by the sampling signal C the transition detection signal T generated by the detector 22, is applied, as a delayed transition detector signal T′, to an input of a combinatory logic 24 which fulfills the functions of phase correction and frequency division of a programmable frequency divider 30. The output of the combinatory logic 24 is applied to the input of a register 25 clocked with the sampling signal C, said register constituting the sequential part of the divider 30. All the outputs of the register 25 are brought back to other inputs of the combinatory logic 24 while the most significant output of the register constitutes the extracted clock signal S having the same frequency as the received signal I. Said clock signal is used for example for sampling of the data signal U (U'+U'') present at the output of the register 21 through a bistable multivibrator 26 (in reality a multivibrator 26', 26'' for every register 21', 21'') at the output of which the sampled data D is made available. As better shown in FIG. 5 the frequency divider 30 is in reality a 4-bit counter with 16 logic states which normally performs the division by 16 of the frequency of 32.768MHz of the sampling signal C. This comprises four bistable multivibrators or flip-flops 27 constituting the register 25 and having at one data input the output signal of the combinatory logic 24, at the clock input the sampling signal C and at the output a binary signal B0-B3 and an inverted binary signal B0 - B3 . The signal B3, constituting the most significant bit of the overall 4-bit signal available at the output of the register 25, represents the extracted clock signal S (FIG. 1), also available externally. The four noninverted binary outputs B0-B3 of the register 25 and the related inverted outputs B0 - B3 together with the noninverted output B4(corresponding to signal T' of FIG. 1) and the inverted output B4 of the flip-flop 23 are applied to the respective inputs of the correction logic 24, which is made by AND 28 and OR 29 logic gates as illustrated in FIG. 5. The embodiment of the correction logic 24 does not constitute a problem for those skilled in the art once the following mode of operation of the described circuit is known. The mode of operation of the circuit of FIG. 1 can be understood by observing the diagrams of FIG. 6 and taking into account the tables shown in FIGS 7 and 8. The high-frequency sampling signal C periodially samples, with its leading edge (indicated by arrows in diagram C of FIG. 6) the signal I incoming in the shift register 21. When one of said leading edges coincides with the presence of a logic '1' of one of the signals I', I'' in which is divided the received data I, the first output U1 of the register changes to logic level 1, and also at the following leading edge the second output U2 and then the third output U3 and so on change to logic level 1 until they reproduce with a delay of 7.5 periods the same signal at the output U. When at the outputs U1, U2 and U3 the combination 110 occurs, indicative of a 0--1 transition in the input signal I, the transition detector 22 generates the transition detection signal T which, through the flip-flop 23, is applied as signal T' (signal B4 in FIG. 5) delayed by one step at the input of the correction logic 24 where it combines with the present logic state available at the output of the register 25. As already mentioned, the 4-bit register 25 gives at its outputs the 16 logic states of a 4-bit counter at the counting frequency determined by the sampling signal C. In the absence of the delayed transition detector signal T′ the divider 30 performs a simple division by 16. In the presence of a detected transition the new logic state at the output 25 depends on the coincidence of the pulse of signal T′ with one of the 16 logic states of the counter. The possible states of the outputs of the divider 30 can be grouped in five zones Z1-Z5, in which the central zone Z1 comprises the states 15 and 0, the two adjacent zones Z2 and Z3 comprise the states 1-2-3 and 12-13-14 respectively and the two end zones Z4 and Z5 comprise the states 4-5-6-7 and 8-9-10-11 as shown in FIG. 7. If the pulse of signal T′ coincides with the central zone Z1, as shown by the diagram S1 in FIG. 6, no correction is made so that continuous phase jumps of the clock signal, already phase locked to the input data I are avoided. As can be seen by comparing the diagrams U and S1 in FIG. 6 the leading edge of the extracted clock signal falls within the data pulse to be sampled, making possible sampling through the bistable multivibrators 26′, 26″. But if the pulse T' coincides with the zone Z2, e.g. with the logic state 3 as shown by the diagram S2 in FIG. 6, indicating that the leading edge of the extracted clock signal (shown in dash and dot lines) is too early in relation to the data U at the output of the register 21, a correction delayed by one step is made, i.e. logic state 3 is maintained in the subsequent step so that the leading edge of the clock signal is delayed by one step. In this manner said leading edge (in unbroken lines) is still positioned within the pulse of the data to be sampled. If the pulse of signal T' coincides with the zone Z5, for example with the logic state 10 as shown by diagram S5 in FIG. 6, meaning that the leading edge of the extracted clock signal (shown in dot and dash lines) is too delayed relative to the data at output of the register 21, a correction is made in advance by two steps, i.e. the counter jumps directly from logic state 10 to logic state 13 and the leading edge of the clock signal is consequently advanced by two steps (in unbroken lines) to fall again within the pulse of the data to be sampled. In a similar manner coincidence of the pulse T' with the zones Z3 and Z4 of the counter causes advance of one step and delay of two steps respectively of the leading edge of the extracted clock signal. As seen, the correction made is essentially a logarithmic function of the phase error detected. The only exception is the central zone of the counter which was modified to have less arbitrariness of phase between the input data and the extracted clock in the absence of jitter and frequency drift. The overall behaviour of the divider 30 on the basis of the commanded correction can be seen in the table of FIG. 8 where S′ represents the state of the outputs of the counter at the moment of coincidence with the delayed transition detector pulse T′, and S″ represents the state of the outputs of said counter immediately following S′. The important fact is that in each case the extracted clock signal after correction is in phase with the data at the output of the register 21. The digital clock extractor shown in the drawings was assumed for use with 2 Mbit/s bipolar PCM input signals. This can however be modified and used for received signals with frequency up to about 3MHz.

Claims: Digital clock extractor for bipolar signals comprising at least one shift register (21) supplied with the bipolar signal received and sampled with a sampling signal having a frequency which is a multiple of that of said received signal, a transition detector (22) associated with a combination of outputs (U1, U2, U3) of said shift register to generate a transition detection signal of the received signal upon reaching a certain sequence of logic states at said register outputs (U1, U2, U3), a frequency divider (30) comprising a counter clocked with said multiple-frequency sampling signal and programmed in such a manner as to give at output an extracted clock signal at the same frequency as said received signal, characterized in that it further comprises a phase correction logic (24) which compares said transition detection signal with the logic state of the outputs of said counter (30) to evaluate the phase error existing between the extracted clock signal and the received signal and command said counter (30) to effect an instantaneous phase correction of said clock signal, the magnitude of which is a progressively increasing function of said phase error. Digital clock extractor for bipolar signals as in claim 1, characterized in that the correction logic (24) groups the logic states of the outputs of the counter (30) in a predetermined number of zones (Z1-Z5) and associates to each zone a given instantaneous phase correction of a number of steps of the counter in advance or delay, depending on the amount of advance or delay of the transition detection signal compared with the phase of the extracted clock signal, said number of steps of the counter in advance or delay constituting said progressively increasing function. Digital clock extractor for bipolar signals as in claim 2, characterized in that said number of correction steps is zero, falling within a first of said zones, if the transition detection signal is essentially in phase with the extracted clock signal, and said number of steps is one or two in advance or delay, falling within further respective zones, depending on whether the transition detection signal is advanced or delayed by 1 to 3 steps or by 4 to 7 steps respectively, compared with the extracted clock signal.

Inventors: RAUCCI MICHELE, RAUCCI, MICHELE
Applicants: SITS SOC IT TELECOM SIEMENS, SIEMENS TELECOMUNICAZIONI S.P.A.
Application year: 1988
Main classification: H04L7
IPC codes: H04L7