DEMULTIPLEXOR CIRCUIT, MULTIPLEXOR CIRCUIT, DELAY LINE CIRCUIT AND CLOCK MULTIPLYING CIRCUIT

Abstract: The invention i.a. relates to a bit demultiplexing circuit, comprising an internal clock generator (50) which by means of a reference clock (CKin) generates a number of accurately mutually time delayed clock signals (56, 58, 60, 62). Clock aligning means (52) are controlled by incoming serial data (Din) for providing, by means of the time delayed clock signals (56, 58, 60, 62), a number of differently phased clock signals, the phase positions of which are set in dependence of said phase position of incoming data. First demultiplexing means (86, 88, 90, 92) clock, by means of said differently phase clock signals, incoming serial data to a parallel data flow. Second demultiplexing means (86, 94, 96, 98) align, by means of one of the differently phased clock signals, this data flow to outgoing parallel data (D1, D2, D3, D4). The invention also relates to a multiplexing circuit and delay line and clock multiplying circuits.

Description: DEMULTIPLEXOR CIRCUIT, MULTIPLEXOR CIRCUIT, DELAY LINE CIRCUIT AND CLOCK MULTIPLYING CIRCUIT Technical area. The present invention relates to a bit demultiplexer circuit for demultiplexing a serial data stream, and a delay line circuit/clock multiplying circuit, in particular for use in a multiplexor and/or demultiplexer circuit- Furthermore the invention also relates to a bit multiplexor circuit, including an internal clock generator, which by means of a reference clock generates a number of accurately mutually time delayed clock signals, aligning means arranged to align, by means of one of said clock signals, all incoming parallel data bits with respect to the same clock, delay means for delaying, by means of another one of said clock signals, a number of said data bits, multiplexing means for multiplexing the aligned and delayed data bits by means of said time delayed clocks. State of the art. Through PCT/SE92/00809 a method for clock recovery of a digital data signal is known, wherein a number of mutually phase shifted auxiliary clock signals are used to generate a recovered clock signal for the data signal based upon the result of detection of a phase position error, if any, between the data signal and its recovered clock signal. If the phase position error is different from zero and the phase position of the recovered clock signal is between the phase positions of two auxiliary clock signals, these two auxiliary clock signals are mixed for generating an adjusted recovered clock signal with the same phase position as the data signal. Description of the invention A first object of the invention is to provide a bit demultiplexor of the kind indicated by way of introduction which requires a clock speed for regenerating data, which as a rule is lower than the bit speed of incoming data. Normally the clock speed is the same as that of output data, but shall be able to be changed to different multiples, or parts thereof, booth upwardly and downwardly depending on setting or implementation. Also demultiplexing and clock aligning shall be possible to be performed with a low clock speed. A second object of the invention is to provide a delay line circuit or clock multiplying circuit, which is particularly well suited to be used i.a. in an internal clock generator of multiplexor and demultiplexor circuits. A third object of the invention is to provide a bit multiplexor of the kind indicated by way of introduction, which has internal clock generation and only requires a low speed clock for working, e.g. the same speed as that of input data. The first object of the invention is attained by means of a bit demultiplexing circuit including according to the invention an internal clock generator which by means of a reference clock generates a number of accurately mutually time delayed clock signals, clock aligning means controlled by incoming serial data for providing, by means of the time delayed clock signals a number of differently phased clock signals, the phase positions of which are set in dependence of the phase position of incoming data, first demultiplexing means arranged to clock, by means of said differently phases clock signals, incoming serial data to a parallel data flow, and second demultiplexing means arranged to align, by means of one of the differently phased clock signals, this data flow to outgoing parallel data. According to a particularly preferred embodiment said clock aligning means include a phase correcting device with selector means for selecting from the mutually time delayed clock signals two, between the phases of which a desired output phase from the phase correcting device is situated, and mixing means for mixing the two selected clock signals for generating a signal with the desired phase, a delay circuit receiving said signal with a desired phase and including means for imparting to it a successively increasing phase shift, and outputs on which such successively phase shifted signals appear as said differently phased clock signals, and control means arranged for providing, by sensing the phase positions of incoming data and of said successively phase shifted signals, a control signal for the generation of said signal with the desired phase by the phase correcting device. Suitably the control signal to the phase correcting device is obtained via a digital filter. For attaining the second object a delay line circuit includes, according to a first aspect, phase shifting means for imparting to the reference clock successively increasing phase shift, with a number of outputs for such successively phase shifted signals, first combining means for combining the phase shifted signals in groups for obtaining a number of pulses with a length corresponding to the phase shift between the outputs of the corresponding group and the same frequency as that of the reference signal, second combining means for combining the pulses while maintaining the pulse length for obtaining a number of pulse signals with a frequency consisting of a multiple of the reference clock, a clock signal generating circuit for generating, from said pulse signals, said accurately mutually time delayed clock signals in the form of a desired number of clock signals with a desired mutual phase shift. The second object of the invention is, however, also attained, in accordance with a second aspect, by means of a clock multiplying circuit, including phase shifting means for imparting to a reference clock successively increasing phase shift, with a number of outputs for such successively phase shifted signals, first combining means for combining the phase shifted signals in groups for obtaining a number of pulses with a length corresponding to the phase shift between the outputs of the corresponding group and the same frequency as that of the reference clock, second combining means for combining the pulses while maintaining the pulse length for obtaining a clock signal with a frequency consisting of a multiple of the reference clock. In the solutions for attaining the second object the said outputs are advantageously combined in pairs. Furthermore, also very advantageously, said phase shifting means may consist of series connected phase shifting steps, where the input and output of each step are combined for obtaining one of said pulses with a length corresponding to the phase shift of the step. The said first combining means may preferably consist of AND-gates with an inverting input and the said second combining means may consist of OR-gates. According to a very preferred embodiment of the delay line and clock multiplying circuits there is a control circuit, which is arranged to control the time delay of the delay line circuit and includes means connected to receive at least two mutually phase shifted signals from said outputs and sense any delay error, and to generate a control signal for the delay line circuit, the magnitude of which depends upon the error. Preferably the control circuit includes means for preventing the phase detector from false locking on multiples of the period of the reference clock. The third object has been attained with a bit multiplexor circuit, of the kind defined by way of introduction, wherein the clock generator includes phase shifting means for imparting to a reference clock successively increasing phase shift, with a number of outputs for such successively phase shifted signals, first combining means for combining the phase shifted signals in groups to obtain a number of clock phases with a length corresponding to the phase shift between the outputs of the corresponding group and with the same frequency as that of the reference clock, second combining means for combining the clock phases while maintaining the pulse length for obtaining an outgoing clock signal with a frequency being a multiple of the reference clock, the outputs of said aligning means and delay means being connected for transferring the aligned and delayed data bits to data inputs of a selector, said selector also having a number of control inputs and a data output, the outputs from said first combining means being connected for transferring said clock phases to the control inputs of the selector, via which the clock phases control the selector so that one data input at a time is connected to the data output of the selector, said outgoing clock signal forming the clock of the outgoing data stream. According to a very advantageous embodiment of the multiplexor and demultiplexor circuits according to the invention, the internal clock generator may include at least one phase locked delay line circuit with means for clock multiplying, and in the demultiplexor also the delay circuit of said clock aligning means may include at least one phase locked delay line circuit having means for clock multiplying. Description of the drawings. The invention will now be described more closely below with reference to embodiments shown on the drawings. On the drawings Figure 1 shows a schematic block diagram of a multiplexo circuit, Figure 2a-e show signal lapse diagrams of a phase shifting device in Figure 1 for deriving 90° phase shifted auxiliary clock signals, Figure 3 shows a schematic block diagram of a first embodiment of a demultiplexor circuit according to the invention, Figure 3a shows diagrams illustrating a signal sequence in a portion of the circuit according to Figure 3, Figure 4 is a schematic block diagram of a second embodiment of a demultiplexor circuit according to the invention, Figure 5 shows a diagram of one embodiment of a phase variation circuit included in the circuits according to Figures 3 and 4, Figures 6 and 7 show portions of the diagram according to Figure 5 more in detail, Figures 8a-d show diagrams illustrating control signals derived in the phase variation device for enabling continuous variation of the phase of recovered clock signal, Figure 9 is a state graph illustrating the way of operation of the phase variation device, Figure 10 is a vector diagram illustrating the variation of the amplitude of the recovered clock signal with phase changes, Figure 11 is a circuit diagram of a first embodiment of a phase locked delay line with an associated control circuit, Figure 12 is a diagram of signals appearing in the delay line according to Figure 11, Figure 13 is a circuit diagram of a second embodiment of phase locked delay line with an associated control circuit, Figure 14 is a diagram of signals appearing in the delay line according to Figure 13, Figure 15 is a circuit diagram of a third embodiment of a phase locked delay line with an associated control circuit. Figure 16 is a diagram of signals appearing in the delay line in Figure 15, Figures 17 and 18 are diagrams of signals appearing in the control circuits in Figures 11, 13 and 15, Figures 19a-c are schematic block diagrams for illustrating the use of a clock multiplier according to the invention, Figure 20 is a schematic block diagram of an embodiment of a multiplexor circuit according to the invention, and Figure 21 illustrates diagrams of data signals appearing in the multiplexor circuit according to Fig. 20. Preferred embodiments. The multiplexor circuit shown in Figure 1 includes on its input a circuit, generally designated 2, which from a reference clock signal CK jLn derives a number of mutually accurately phase shifted auxiliary clock signals. The circuit 2 includes two phase delay and differential steps 4 and 6 consisting of differential amplifiers, the speed and band width of which may be controlled by means of an external reference current generated in a way described below. The delay step 4 on an input 8 receives the clock signal and delays it 90°, and emits this 90° signal and its antiphase signal, i.e. a signal phase shifted 270° with respect to the incoming clock signal CK^ n , on a respective output. The 90° phase delayed signal is fed to an input 10 of the delay step 6 which in turn shifts the phase thereof further by 90°, i.e. to 180° with respect to the incoming clock signal, and emits this signal and its 360° antiphase signal on a respective output. In Figure 1 and further below the four thus obtained phase delayed signals are indicated with their respective phase delay values with respect to the clock signal CK j ^. The clock signal CK^ and the 360° signal are fed to a +input and a -input, respectively, of an integrator 12, the bandwidth of which is so low that the output current may be regarded as a direct current. The integrator 12 has an extra gate input 14 for making the integrator active only when a positive signal is received on this input. The 90° signal is fed to the gate input 14 of the integrator. Thereby the integrator 12 is arranged to generate the above mentioned external reference signal for the delay steps 4 and 6 and emits the same on an output 16 which is fed back to respective control inputs 18 and 20 of the two delay steps 4 and 6 and thereby by means of said reference signal controls the latter so that they are set to 90° phase delay. Figures 2a-d show the clock signal CK^ n , the 90° signal, the 360° signal and the output signal Ii n l of tne integrato 12 above each other for three different cases following each other in the horizontal direction. These are phase shift wit exactly 90°, less than 90° and more than 90°, respectively. of the delay steps. The latter two cases involve, as appears from a comparison of Figure 2a and 2c, a corresponding phase shift between the clock signal CK^ n and the 360° signal, and provides rise to positive and negative current pulses from the integrator 12 with a width corresponding to the phase shift, as appears from Figure 2d. Figure 2e shows the mean current as a function of the phase shift or angular error ψ over a delay step. The output current of the integrator is thus zero at 90° phase shift. The design and operation of the delay steps 4 and 6 designed as differential amplifiers according to the above, as well as of the integrator 12 should be evident to the ordinary man of the art and need therefore not be described more closely below. From the circuit 2 the 0° signal and 90° signal are tapped at 22 and 24, respectively and are supplied to the multiplexor circuit described below. The multiplexor circuit proper in Figure 1 is generally designated 26. It includes on its input 4 MS-flip-flops 28, 30, 32, 34 arranged in parallel. The outputs of the flip-flops 28 and 30 are connected to a multiplexor stage 36. The outputs of the flip- flops 32 and 34 are connected to the D-input of a respective further MS-flip-flop 38 and 40. The outputs of the flip-flops 38 and 40 are connected to a multiplexor stage 42. The output of the multiplexor stages 36 and 42 are connected to a further multiplexor stage 44. The clock inputs of the flip-flops 28, 30, 32, 34 and of the multiplexor stage 36 are connected for receiving the 0° signal from the output 22 of the circuit 2. The clock inputs of the flip-flops 38 and 40 as well as of the multiplexor stage 42 are connected for receiving the 90° signal from the output 24 of the circuit 2. Furthermore, the clock input of the multiplexor stage 44 is connected to the output of an exclusive OR-gate 46, the two inputs of which are connected for receiving the 0° signal and 90° signal, respectively, from the circuit 2. The described multiplexor circuit 26 only requires a low speed clock, the same clock speed as for input data, for being able to work. For generating the necessary different clock phases the circuit 2 is used, which provides accurate time delays. The obtained multi-phase clock is used for driving the multiplexing circuits. At first all data bits Dl, D3, D2 and D4 are entered with the 0° clock signal into the respective data inputs of flip- flops 28, 30, 32 and 34. Thereby all incoming data will be aligned with respect to the correct clock. The data bits D2 and D4 are delayed 90° by means of the flip-flops 38 and 40, respectively. Thereafter multiplexing in pairs of Dl and D3, on the one hand, and of D2 and D4, on the other hand, is carried through by means of the respective 0° and 90° clock signals in the multiplexor stages 36 and 42, respectively. In the last multiplexor stage 44, the two data streams are multiplexed together by means of the composite clock which has been received from the gate 46 and has half the bit- frequency. The clock CK ut received from the gate 46 together with data D ut from the output of the multiplexor stage 44 thus only has half the bit-frequency. This is part of a principle of not having a higher speed anywhere than maximum data speed. The great advantage of this solution is that it does not require any external clock with the high frequency otherwise needed for being able to operate. Other multiplexing quotients than the one appearing from the description above are conceivable. The demultiplexing circuit shown in Figure 3 includes an input delay circuit 50 exactly corresponding to the delay circuit 2 of Figure 1. Furthermore it includes a clock aligning circuit 52 and a demultiplexor proper 54, which will be described more closely below. The clock aligning circuit 52 includes a phase variation circuit 55, also called "clock rotator" and described more closely below. In short this clock rotator receives the 0°, 90°, 180° and 270° output signals on inputs 56, 58, 60 and 62, respectively. The output 64 of the clock rotator 55 is connected to a delay circuit 66 of the same type as the delay circuit 50. The reference current controlling the delay of the delay circuit 66, has the same source as in the case of the delay circuit 50, i.e. the integrator included in the latter, from which the reference current is supplied to the circuit 66 via a connection 68. From the first stage of the delay circuit 66 the 0° and 90° signals are taken and mixed and supplied to the clock input of a MS-flip-flop 70, i.e. a edge trigged D-flip-flop. To the D-input of the flip-flop 70 incoming data D^ n are supplied. From the second stage of the delay circuit 66 the 90° and 180° signals are extracted and mixed and supplied to a further MS-flip-flop 72, to the D-input of which incoming data D^ j . are likewise supplied. The outputs from the flip- flops 70 and 72 are connected to one input of each an exclusive OR-gate 74 and 76, respectively, the other inputs of which are connected, in a way to be described more closely below, to the demultiplexor 54 via a connection 78. The outputs of gates 74 and 76 are connected to the inputs of a digital filter 80, the output 82 of which is connected to a control input 84 of the clock rotator 54. The demultiplexor 54 includes seven MS-flip-flops 86, 88, 90, 92, 94, 96 and 98, respectively. The flip-flops 86, 88, 90 and 92 receive incoming data on the respective D-inputs and their clock inputs are connected for receiving the 0° signal, 90° signal, 180° signal and 270° signal from the delay circuit 66. The outputs of flip-flops 88, 90 and 92 are connected to the D-inputs of flip-flops 94, 96 and 98, respectively, the clock inputs of flip-flops 94, 96 and 98 being connected for receiving the 0° signal from the delay circuit 66. The output of flip-flop 92 is also, via the connection 78, connected to the above-mentioned second input of gates 74 and 76. Thus, this implies that these gates 74, 76 on their respective second inputs receive the data clocked out with the 270° signal in the flip-flop 92. The circuit consisting of elements 70-80 forms a digital phase detector, the way of operation of which will be described below in short with reference to Figure 3a which illustrates signals appearing in the circuit. The output signals of D-flip-flops 70 and 72 are associated with A and C, respectively in Figure 3a, whereas the output signal from the flip-flop 92 is associated with B. By carrying through these three readings and comparing them it is possible to see how the reading points are located in the "data eye". If the reading occurs too early, A will deviate from B, which results in the gate 74 emitting a signal implying that the clock phase should be increased. Correspondingly C will deviate at late reading resulting in the gate 76 emitting a signal implying that the clock phase should be decreased. As to their nature, the mentioned signals are digital and do not contain any information about the magnitude of the deviation. Therefore it is suitable to make some form of digital filtering or, in other words, some form of statistic judgement of the received information before decision is taken to change phase. Said digital filtering is obtained by means of the filter 82. It would also be conceivable with a simpler analogue filtering, which however could make it more difficult to affect the characteristics of the adjustment. By means of elements 64 - 84 the clock aligning circuit 52 forms a phase locked loop controlled by incoming data D^ n , which are clocked by flip-flops 70, 72 and 92 by means of the incoming two-phase clock from the two stages of the delay circuit 66. By controlling proportion and sign of the two incoming signals it is possible to mix together a clock with an arbitrary phase in the clock rotator 55. By controlling the mixing continuously it is possible to shift the phase of the output signal unlimitedly forward or backward and thereby adjust the clock appearing after incoming data also if it slides away with time, without losing information. The denomination digital clock aligning circuit is due to the control of the clock rotation or clock shift since the digital filter is made in discrete stages for being able to stand still when in-data lacks information regarding the phase position, i.e. longer sequences of ones or zeros. It is well conceivable to make this function analogous but this would require external decoupling of parasitic capacitances at 84 or in the proceeding circuits, depending i.a. upon the nature of incoming data. By the output signal from the clock rotator 55 being corrected to the delay circuit 66 of the same type as the delay circuit 50 and controlled by the same reference currents, the multiphase clocks needed for the demultiplexor circuit 54 are generated. The clock aligning circuit 52 attends to making the phase of the clocks to be positioned correctly, and the circuit 50 controls that the clocks have a correct mutual distance. The demultiplexing in the demultiplexor 54 is thus carried through by the four first flip-flops 86 - 92 by means of the respective multiphase clock clocking incoming data. The flip-flop 86 and the three last flip-flops 94 - 98 by means of the 0° signal align the outgoing data Dl, D2, D3 and D4, respectively. The demultiplexing circuit according to Figure 4 differs from the one in Figure 3 by the delay circuit 50 of the latter being replaced by an analogous PLL-circuit. This PLL consists of a free wheeling current controlled oscillator 100 controlled by the input signal via a feed-back loop. The feed-back loop includes a divider 102 receiving a signal CKrate, which determines the dividing factor of the divider. The output of the divider 102 is connected to one input of a phase detector 104, which on a second input receives CK^ n . Finally a low pass filter 106 is located after the phase detector 104. This feed-back loop makes it possible to multiply the output clock further. The design and function of the phase varying circuit 16 will now be described more closely below with reference to Figures 2 and 4-9. The 90°, 180°, 270° and 360° output signals derived from the delay steps 4' and 6' are fed to a respective switching element 138, 140, 142, and 144, included in the phase varying circuit 55. The switching elements 138-144 can consist of some form of controllable impedances, e.g. FET resistances or MOS transistors. The recovered clock signal CK ut is obtained, in a way to be described more closely below, on the outputs of the switching elements 138-144, said outputs being connected in parallel to the output 64 of the circuit 55. The control input 84 receiving the above-mentioned current signal from the output of the digital filter 182 forms the input of an analog selector circuit 146 which, via outputs 148, 150, 152, 154, controls the let through of the respective switching elements 138, 140, 142 and 144, of their respective phase shifted signal. An embodiment of the selector circuit 146 is shown in more detail in Figure 5. The current signal to the selector circuit 146 is led, on the one hand, to an input 155 of a logic control network 156 to be described more closely below, which contains digital logic, and, on the other hand, to an analog switch 158 receiving the current signal on an input 160 and, via an inverting amplifier 162, its inverted value on an input 164. The switch 158 has an output connected to an analog selector 166 with four outputs 168, 170, 172, and 174 connected to each one of the respective outputs 148, 150, 152 and 154 of the selector circuit 146, and to each one of four inputs 176, 178, 180 and 182, respectively, of the logic control network 156. The latter has two outputs connected to a control input 184 of the analog switch 158 and, respectively, to a control input 186 of the analog selector 166. The capacitances designated 188, 190, 192 and 194 in Figure 5 of the outputs 148-154 represent parasitic capacitances and extra capacitance, if any. The design of each of the inputs 176, 178, 180, 182 appears more closely from Figure 6. Between each input and the digital logic there are two comparators 196 and 198 arranged in parallel. The comparator 196 on its ÷input receives a control voltage derived in a way to be disclosed more closely below from the current signal, and on its -input a set first reference value refl, and provides maximum output signal if said control voltage exceeds this reference value. The comparator 198 in the same way receives on its -input a control voltage derived in a way to be disclosed more closely below from the current signal and on its +input a set second reference value ref2, and provides minimum output signal if this control voltage is lower than this reference value. By means of the above described function of the two comparators 196 and 198 a detection is carried through with respect to when the outputs from the selector 166 are fully set to minimum or maximum value, as will be likewise described more closely below. Each of the inputs 176-182 furthermore includes two schematically indicated holding functions in the form of MOS transistors 200 and 202 of n and p type, respectively, connected as shown, which are controlled by signals from the digital logic for holding the corresponding output of the selector 166 when it has such a phase position that it shall keep a fixed level 0 or 1 (Figure 8) , said levels being defined more closely below. With reference to Figure 7 the input 155 of the logic control network 156 is connected to the digital logic included therein via a comparator 204, more particularly its +input. Comparison with a reference value ref3 on the -input of the comparator is carried through for detecting whether the control signal at 84 has a positive or negative sign. This provides a detection of whether the output signal at 64 precedes cr lags, and enables the digital logic to change the phase in the correct direction. The digital technic of the logic control network 156 provides for the control signal at 84, in accordance with that which will be described more closely below, to be periodically connected to the outputs 168, 170, 172 and/or 174 in accordance with a predetermined scheme by means of the analog selector 166, and so that it becomes the correct sign by means of the analog switch 158. The current signal charges the respective capacitances 188, 190, 192 or 194, the resulting charging voltage of which being applied to the control electrode of the respective switching elements 138, 140, 142 or 144. The scheme mentioned above is illustrated most simply by means of the diagrams of Figures 8a-d. These diagrams illustrate the charging voltages u a , u b , u c , u^ of the capacitances 188-194, the degree signs on the lower horizontal common axis representing the phase shift between cκ in and κ uf τhe leve l s ° and ! i n tne diagrams mean that the respective signal is completely disconnected or completely connected into circuit, respectively, which is obtained by means of the arrangements described above with reference to Figure 6. The ramps represent charge and discharge of the respective capacitances 188-194, which enables a continuous control of the switching elements 138- 144 and thereby of the phase of the recovered clock signal CK ut . More particularly, this is attained by such a design of the digital logic that its function can be described by the state graph shown in Figure 9. In the state graph according to Figure 9 the state rings represent the successively varying states of the switching elements 138, 140, 142 and 144, the degree sign at the respective ring indicating the starting point for the state according to this ring as seen along the horizontal axis in Figure 8, the letters a-d represent the respective diagrams a-d in Figure 8, "=0" and "=i" in association with the letter indicating the state 0 and 1, respectively, of the respective voltage M + M or "-" in association with the letter indicating a state on the positive and negative edge, respectively, of the respective diagram, and "max" or "min" in association with the letter indicating the end of a positive or a negative edge, respectively, +Ctrl 84 and -Ctrl 84 represent information as to whether the sign of the control signal at 84 is + or -, respectively. In the ring at 0° in the state graph b=c=0, d=l involves that the logic of the logic control network 156 via the holding functions 100 and 102 holds the inputs 178 and 180 on the fixed level 0, and the input 182 on the fixed level 1. Regarding "a+", "a" involves that the logic controls the selector 166 to keep the output 168 open, and "+" means that the switch 158, by the logic detecting the sign of Ctrl g4 at the input 155 (Figure 6) , is controlled to keep its input 160 open, i.e. Ctrl 84 is let through non-inverted by the selector. As a result the switching element 144 is kept completely open for the 360° (°) signal, and the capacitance 188 is charged by the current from the output 168 so that the switching element 148 successively opens for the 90° signal. A mixing of the two mentioned signals on the common output from the switching elements is obtained, and results in the phase of the resulting signal (CK ut ) successively increasing from 0° as the amplitude of the 90° signal increases. This corresponds to moving upwardly along the positive edge of the curve a in Figure 8. If the control signal at 84 stops turning up the logic stops, and the charging of the capacitance 188 stops. On one hand, this results in the switching element 144 henceforth being kept open due to the fact that the state on the logic input 182 is kept fixed, and on the other hand, that the capacitance 188 keeps its attained charge, and its voltage maintains the attained open state of the switch element 138. The input signal at 64 has been brought into phase with D^ n . However, if Ctrl 84 continues to come with a positive sign a state is attained at last where both of the switching elements 138 and 144 are completely open, which implies that the phase of the output signal at 64 has moved halfway between 0° and 90°, i.e. 45°. The logic now via the respective comparator pair 196, 198 (Figures 5, 6) senses that its inputs 176 have exceeded the reference value refl, and via its input 155 (Figure 7) that the control signal continues to have a positive sign. This state, which is characterized by the state change arrow "+Ctrl 84 & a max " pointing clockwise from the upper state circle in Figure 9, brings the logic to keep the attained state on the input 176, change over the control signal to the input 164 of the switch 158, and to open the output 174 for decharging the capacitance 174 by the changed current flow direction, cf. also "d-" in the 45° circle of Figure 9. The state defined by the 45°-circle of the state graph has now been attained. The resulting decrease of the amplitude of the 360° signal results in the phase of the signal at 64 being continuously changed (along the negative edge of d in Figure 8) toward 90° which is attained when the capacitance 194 is entirely decharged, if the control signal at 84 does not become zero before that, in which case the phase of the signal at 64 stops on a value between 45° and 90°. The state "+Ctrl 84 & d-^" defined in association with the clockwise directed state change arrow between the 45° and 90° state circles has now been attained and is sensed by the logic as implying that the inputs 178, 180 and 182 take the same state. If the sign of the control signal at 84 furthermore continues to be positive, the logic is now set to open the input 160 of the switch 158 and the output 170 of the selector 166 for Ctrl 84 with positive sign, that charges the capacitance 190, following the positive edge of curve b in Figure 8, cf. also "b+" in the 90° circle in Figure 9. As long as the control signal at 84 is different from zero the logic continuous to continuously work through the state graph according to Figure 9 for continuous change of the phase of the output signal at 64, in the same way as has been described above. The direction is determined by the sign of Ctrl g4 i.e. it is counter clockwise in the graph at negative Ctrl 84 , following the inner state change arrows. If Ctrl 84 is small, i.e. if a small phase error appears, a relatively slow recharge is obtained at the respective output 148-154, whereby a relatively slow phase change is obtained via the controllable impedances 138-144. The result becomes, however, a slow movement around according to Figures 8 and 9, and thereby a continuous phase change. A greater control signal at 84 results in a faster recharge of the capacitances at the outputs from the analog selector 166 and thereby a faster phase change. The magnitude of the capacitances 188-194 also affects the speed such as at increasing magnitude the process becomes slower. The above described can also be illustrated by means of the vector diagram according to Figure 10, where the magnitude of the arrow ^ χ , which represents the signal resulting from the mixing of two signals, i.e. the output signal at 64, provides the amplitude of this signal for a certain phase shift φ between the signal at 64 and CK^ n . As can be seen the amplitude has maximum at four occasions, i.e. when the 90°, 180°, 270° and 360° signals, respectively, are let through unmixed alone. The implementation in practice of the logic control network 156, in order to be able to carry through that described above with reference to the state graph, is easily conceivable by the man of the art and need therefore not be described more closely here. Shortly there can be the question of a sequence circuit of a conventional implementation per se, e.g. built from i.a. MOS-transistors. For each one of the inputs 160 and 164, and the outputs 168, 170, 172, 174, respectively, the switches 158 and 166 can be equipped with suitably connected transmission gates including MOS-transistors digitally controlled from the control network 156. The inputs 184 and 186 represented in Figure 5 as each a single input, would then in practice correspond to two and four control inputs, respectively. Also here the man of the art understands how to carry this through in practice. The circuit 2 illustrated in Figure 1 is the most simple form of a phase locked delay line for extracting a four-phase clock or, as shown in the Figure, a two-phase clock. The disadvantage of this construction is that it is sensitive to the pulse/pause relationship of the incoming clock CK^ due to the fact that it does only have two delay elements and that booth negative and positive edge of the incoming clock are used. If there are great demands for a small pulse/pause distortion in the following steps a more complicated solution must be used according to what appears from the following embodiments. In Figure 11 a phase locked delay line, generally designated 300, extracts an accurate four-phase clock from a reference clock. This delay line consists of four delay elements 301, 302, 304 and 306, respectively, plus an extra one at each end, 308 and 310, respectively. The element 308 is intended for increasing the accuracy and the element 310 to provide a pulse phase shifted 360° with respect to the first pulse to a phase detector, generally designated 312, which will be described in more detail below. By using only positive edges from the delay line a four-phase clock is obtained, which is independent of the pulse/pause relationship of the incoming clock CK^ n , and which thereby attains the greatest possible accuracy for the position of the positive edges with respect to each other. The incoming clock is delayed 90° per delay stage 301- 306. By gating together, by means of AND-gates 314-318, the different clock phases in pairs an accurate four-phase clock is obtained, the phases of which are designated A-D in Figure 11. The last clock phase, designated E, from an AND-gate 320 at the stage 310 normally lies 360° after A. A and E are used by the phase detector 312 for generating a control signal dT- reference, which is needed for controlling the delay line. An extra clock phase C is needed for fulfilling the boundary conditions for obtaining that the phase detector 312 shall not land in an undefined condition at start. By gating together the four-phase clocks A-D in pair, by means of OR-gates 322 and 324 two clocks X and Y with the double frequency of the input clock CK^ n is obtained. The positive edge of these two signals has a high accuracy in its positions, the negative one can however deviate somewhat. Y is therefore not exactly the inverse of X. These two signals are made to clock a respective D-flip-flop 326 and 328, respectively, whereby a two-phase clock CkO and Ck90 is obtained, which has a high accuracy on both the negative and positive edges. Figure 12 illustrate the mutual phase position of the above discussed signals. Figure 13 illustrates a phase locked delay line, generally designated 330, which extracts an accurate phase clock from a reference clock CK j ^. The essential construction of this delay line is the same as in the one in Figure 11, but it is lengthened by four steps so as to provide an eight- phase clock. By this it is possible to halve the speed of the incoming reference clock CK^ n and yet get a four-phase clock with the same function as in the preceding solution. More particularly, the delay line 330 contains eight delay elements 332, 334, 336, 338, 340, 342, 344, 346. An extra delay element 348 and 350, respectively, is arranged at each end, the first one to increase the accuracy and the last one for providing a pulse which is phase shifted 360° with respect to the first pulse in the phase detector, as in the embodiment according to Figure 12. By using only positive edges from the delay line 330 an eight-phase clock is obtained, which is independent of the pulse/pause relationship of the incoming clock CK^ n and which in this way obtains the greatest possible accuracy for the position of the positive edges with respect to each other. The incoming clock CK j ^ is delayed 45° per delay step, corresponding with respect to time 90° with the fastest clock in the preceding embodiment. By gating together the different clock phases in pairs, by means of AND-gates 352, 354 ... 366 the accurate eight-phase clock is obtained, the phases of which are designated A-H in Figure l. The last clock phase I, from the AND-gate 368 normally lies 360° behind A. A and I are used by the phase-detector, generally designated 370, for generating a control signal dT-reference from the output 372, needed for controlling the delay line. Two extra clock phases C and E are needed for fulfilling the boundary conditions to attain that the phase detector shall not land in any undefined condition at start. By gating together the four-phase clocks in pairs (by means of OR-gates 374, 376, 378, 380, 382, 384) two clocks X and Y are obtained having a frequency which is four times greater than that of the input clock CK^ n . The positive edge of these two signals has a high accuracy in its positions, but the negative one can deviate somewhat, involving that Y is not exactly the inverse of X. These two signals are used for clocking each D-flip-flop 386 and 388, respectively, whereby a two-phase clock, CkO and Ck9 is obtained, which has a high accuracy both at the negative and at the positive edge. In Figure 14 the relative appearance and phase position of the above discussed signals are illustrated. Figure 15 illustrates a phase locked delay line, generally designated 390, extracting an eight-phase clock from a reference clock CK^ n . The constructions of this delay line is essentially the same as of the one in Figure 13 although it is simplified in a way that only the inverted clock signal X is used as the Y-signal. The same references as in Figure 13 have been used in Figure 15 for elements with the same function. The embodiment according to Figure 15 provides a simpler design, but has not the same accuracy with respect to the positive clock edges of the Y-signal due to the fact that these are the negative ones in the X-signal, although this can provide a sufficient accuracy in certain applications and by means of an optimized design. The appearance and phase of the pulses appearing in Figure 15 is illustrated in Figure 16. To sum up, and more generally, the delay line circuits in Figures 11, 13 and 15 may be defined as comprising: phase shifting means 301-310 and 332-350, respectively, for imparting to the reference clock successively increasing phase shift, with a number of outputs for such successively phase shifted signals, first combining means 314-320 and 352-368, respectively, for combining the phase shifted signals in groups for obtaining a number of pulses A-E and A-I, respectively, with a length corresponding to the phase shift between the outputs of the corresponding group and the same frequency as that of the reference signal, second combining means 322,324 and 374-384, respectively, for combining the pulses while maintaining the pulse length for obtaining a number of pulse signals X and X,Y, respectively, with a frequency consisting of a multiple of the reference clock, a clock signal generating circuit 326,328 and 386,388, respectively, for generating, from the pulse signals, the accurately mutually time delayed clock signals CK0 and CK90 in the form of a desired number of clock signals with a desired mutual phase shift. The way of operation of the above-mentioned phase detectors 312 and 370 will now be described somewhat closer. It is the question of two types of control circuits. The basic circuit is a three position phase detector modified with a number of different set signals for avoiding different false locking cases. Figures 17 and 18 show how it looks like for the four- phase detector 312 around its point of operation, which shall be 360°. Figure 17 shows a too short time delay. Since the signal C via an OR-gate 400 in Figure 11 always provides a reset signal to two flip-flops, designated 402 and 404, respectively, in Figure 11, there will always be a defined start position. The flip-flop 404 which is the first flip- flop to be set, is the one affected by E resulting in a -input 406 of the integrator 408 becoming a longer pulse than a -f-input 410, this in turn implying that the output current or output voltage dT-reference of the integrator decreases in order for the time delay in the delay elements 301-310 to increase. When the delay increases, the -pulse is shortened and comes at last equally short as the +pulse, which in turn shall be the correct point of operation of the integrator. If the delay time is too long, as illustrated by Figure 18, the opposite reasoning is true, the +pulses being longer here resulting in an increased current or voltage dT-reference, this in turn resulting in a shorter delay time in the delay stages. A similar reasoning is true with respect to the eight- phase detector. The upper input C in the 4-phase detector 312, E in the eight-phase detector in Figure 13, is therefore providing for the detector a correct sequence order in the flip-flops 402 and 404 when the delay is at minimum position, i.e. the current in the delay stages is at maximum and thereby the delay at minimum. The input signals A and C to an AND-gate 411 in the four-phase detector is therefor providing reset of the phase detector if the delay would happen to become 720°, i.e. double the normal delay. Reset is made by controlling the integrator 408 to provide maximum current or voltage and thereby minimum time delay by affecting a set input 412. If the total phase delay should be greater than 720° the signal E fades away and attains any fixed position. Thereby the integrator acts for decreasing the delay by the A-signal remaining longer than the E-signal. In the eight-phase detector 370 in Figure 13 gating together is made at 414 of the signals A and C or A and E, this preventing the phase detector 370 to lock erroneously on 720, 1080 and 1440 degrees. If the total phase delay would be greater than 1440 degrees, the signal I fades away and takes some fixed position. Thereby the integrator acts for decreasing the delay by the A-signal remaining longer than the I-signal. The different clock multiplication embodiments described above with reference to Figures 11-18 illustrate how it is possible to generate a four-phase or eight-phase clock from a reference clock. If it is desirable in both cases to have one and the same speed of the output clock, the input clock in the eight-phase clock solution must have half the speed of the input clock of the four-phase clock solution, i.e. also a clock doubling is obtained with the eight-phase clock solution. By e.g. lengthening the delay line with eight further steps so as to obtain a sixteen-phase clock, a clock multiplication with 8 is carried through. This implies that it is possible to use an input clock having only one fourth of the speed of the input clock to the four-phase clock solution. Also other multiplication factors than 4, 8 or 16 are conceivable. Multiplication is also possible by means of odd numbers. It is also conceivable to connect together several separate clock multiplication solutions with each other with intermediate frequency dividers which have mutually different multiplication factors, whereby it is possible to obtain arbitrary clock frequencies in a similar way as obtained by means of PLL-solutions where it is possible to divide and multiply sequences simultaneously. An example of that stated above is illustrated in Figure 19. To begin, Figure 19a symbolically represents as an example the delay line circuit according to Figure 15 except for the step for generating the clocks CKO and CK90, CKin being the input clock to the delay step 308 and CKut being the signal out from the gate 382. This multiplier has a multiplying factor 4. Clock multipliers with an arbitrary desired multiplication factor can be built according to this principle and used together with dividers for obtaining other frequencies which are not an integral multiple of the input frequency. Thus, Figure 19b illustrates how it is possible to use a divider 500 with the dividing factor 19 and a multiplier 502 with a multiplication factor 16 to obtain e.g. the clock frequency 155 MHz from a 184 MHz clock. In Figure 19c the opposite is obtained by means of a divider 504 with a dividing factor 16 and a multiplier 506 with a multiplying factor 19. The dividing relationship between 155 and 184 is 16/19. A division is conventionally very simple to obtain by means of a counter with a desired length. The bounds are set by the quality of the incoming clock, the jitter of which with time being directly transferred without damping to the output clock. This implies that the relative jitter obtained in the output clock with respect to the input clock is multiplied with the clock multiplying factor. In the applications used in a mux/demux-solution with a low speed clock these clock multiplying solutions can advantageously be used, either entirely or in parts thereof. For the mux circuit the multi phase clock obtained can be used for multiplying together the different data streams. A solution alternative to the multiplying circuit according to Figure 1 is shown in Figure 20. Here one can e.g. start from the delay line circuit according to Figure 11, although the generation of clocks Y, CKO and CK90 is omitted and instead the clocks A-D, X and CKin are used in the way shown in Figure 20. In Figure 20 the same reference characters have been used for the same or similarly acting elements as in Figure 1. More particularly, the outputs of the flip-flops 28-34 and the flip-flops 38-40 are connected for transmitting the aligned and delayed, respectively, data bits to data inputs 602-608 of a selector 600, which also has a number of control inputs 610-616 and a data output 618. The outputs from the AND-gates 314-318 are connected for transferring the clock phases A-D to the control inputs of the selector. Via the control inputs the clock phases A-D control the selector 600 so that one data input at a time is connected to the data output of the selector, the clock signal X, see also Figure 11, forming the clock of the outgoing data stream. The aligning of data and delay is effected precisely as in Figure l, although the order is somewhat reversed. Referring to Figure 21, Dl'-D4', DX' in Figure 21, designate the aligned data bits or data streams, and D3" and D4", DX" in Figure 21, designate the delayed data bits. Thus, in place of the simple delay circuit according to Figure 1, the more refined variant with a four-phase clock has been chosen. The four clock phases A-D are made to directly control a simple multiplexor 600 or, more correctly, a four route selector. The four clock phases control the selector so that one data channel at a time is connected to the output. For the demux circuit the composite two-phase clock, CkO and Ck90, respectively, can be used by the clock rotating circuit, simultaneously as the delay time reference, dTref, can be used for controlling the band width of the clock rotator 55 and the delays of the following delay line 66. In order to refine the solution further, the second delay line 66 can be provided with its own control step for further decreasing any phase errors. It is also conceivable to change the clock multiplying factor for being able to use another input clock, which in turn may imply that the second delay line 66 must have its own control step. The great advantage of the described technique is that it is possible to externally use a clock with a considerably lower rate than the rate needed internally in the circuit. Otherwise, what is used is different PLL-solutions for changing up to the highest rate needed. As a rule, the frequency becomes the double of that obtained in the preceding solution. In addition this implies, normally, greater solutions which take more space and draw more power.

Claims: Claims . 1. A bit demultiplexing circuit, for demultiplexing a serial data stream, characterized by an internal clock generator (50) which by means of a reference clock (CK j ^) generates a number of accurately mutually time delayed clock signals (56,58,60,62). clock aligning means (52) controlled by incoming serial data (Di n ) for providing, by means of said time delayed clock signals (56,58,60,62), a number of differently phased clock signals, the phase positions of which are set in dependence of the phase position of incoming data, first demultiplexing means (86,88,90,92) arranged to clock, by means of said differently phases clock signals, incoming serial data to a parallel data flow, and second demultiplexing means (86,94,96,98) arranged to align, by means of one of said differently phased clock signals, this data flow to outgoing parallel data (D1,D2,D3,D4) . 2. A circuit according to claim 1, characterized in that said clock aligning means (52) include a phase correcting device (55) with selector means (146) for selecting from said mutually time delayed clock signals (56-62) two, between the phases of which a desired output phase from said phase correcting device (55) is situated, and mixing means (138-144) for mixing said two selected clock signals for generating a signal (64) with the desired phase, a delay circuit (66) receiving said signal (64) with a desired phase and including means for imparting to it a successively increasing phase shift, and outputs on which such successively phase shifted signals appear as said differently phased clock signals, and control means (70-84) arranged for providing, by sensing the phase positions of incoming data and of said successively phase shifted signals, a control signal (84) for the generation of said signal (64) with said desired phase by said phase correcting device (55) . 3. A circuit according to claim 2, characterized in that said control signal (84) to said phase correcting device (55) is obtained via a digital filter (80) . 4. A delay line circuit, characterized by phase shifting means (301-310;332-350) for imparting to a reference clock successively increasing phase shift, with a number of outputs for such successively phase shifted signals, first combining means (314-320;352-368) for combining said phase shifted signals in groups for obtaining a number of pulses (A-I) with a length corresponding to the phase shift between the outputs of the corresponding group and the same frequency as that of said reference clock, second combining means (322,324;374-384) for combining the pulses while maintaining the pulse length for obtaining a number of pulse signals (X;X,Y) with a frequency consisting of a multiple of said reference clock, a clock signal generating circuit (326,328;386,388) for generating, from said pulse signals, said accurately mutually time delayed clock signals (CKO, CK90) in the form of a desired number of clock signals with a desired mutual phase shift. 5. A clock multiplying circuit, characterized by phase shifting means (332-350) for imparting to a reference clock successively increasing phase shift, with a number of outputs for such successively phase shifted signals, first combining means (352-368) for combining said phase shifted signals in groups for obtaining a number of pulses (A-I) with a length corresponding to the phase shift between the outputs of the corresponding group and the same frequency as that of said reference clock, second combining means (374-378) for combining said pulses while maintaining the pulse length for obtaining a clock signal (X) with a frequency consisting of a multiple of said reference clock. 6. A circuit according to claim 4 or 5, characterized in that said outputs are combined in pairs. 7. A circuit according to any of claims 4-6, characterized in that said phase shifting means consist of series connected phase shifting steps (308;332-350) , where the input and output of each step are combined for obtaining one of said pulses with a length corresponding to the phase shift of the step. 8. A circuit according to any of claims 4-7, characterized in that said first combining means consist of AND-gates (314-320;352-368) with an inverting input. 9. A circuit according to any of claims 4-8, characterized in that said second combining means consists of OR-gates (323-324;374-384) . 10. A circuit according to any of claims 4-9, characterized in that a control circuit (312;370) arranged to control the time delay of said delay line circuit includes means (402-412) connected to receive at least two mutually phase shifted signals from said outputs and sense any delay error, and to generate a control signal for said delay line circuit, the magnitude of which depends upon.the error. 11. A circuit according to claim 10, characterized in that said control circuit includes means (411;414) for preventing said phase detector from false locking on multiples of the period of said reference clock. 12. A bit multiplexor circuit, including an internal clock generator (2,300,330,390), which by means of a reference clock (CKi n ) generates a number of accurately mutually time delayed clock signals (CkO, CK90, CKin,A,B,C,D) , aligning means (28,34) arranged to align, by means of one (CKO; CKin) of said clock signals, all incoming parallel data bits (D1-D4) with respect to the same clock, delay means (38,40) for delaying, by means of another one (CK90;invCKin) of said clock signals, a number (D2,D4;D3,D4) of said data bits, multiplexing means (36,42,44,600) for multiplexing the aligned and delayed data bits by means of said time delayed clocks (CKO, CK90; A,B,C,D), characterized in that the clock generator includes phase shifting means (301-310) for imparting to a reference clock (CKin) successively increasing phase shift, with a number of outputs for such successively phase shifted signals, first combining means (314-320) for combining said phase shifted signals in groups to obtain a number of clock phases (A-D) with a length corresponding to the phase shift between the outputs of the corresponding group and with the same frequency as that of said reference clock, second combining means (322) for combining said clock phases while maintaining the pulse length for obtaining an outgoing clock signal (X) with a frequency being a multiple of said reference clock, and that the outputs of said aligning means (28-34) and delay means (38,40) are connected for transferring said aligned and delayed data bits to data inputs (602-608) of a selector (600) , said selector also having a number of control inputs (610-616) and a data output (618) , the outputs from said first combining means (114-320) are connected for transferring said clock phases (A-D) to the control inputs of said selector, via which said clock phases (A-D) control said selector (600) so that one data input at a time is connected to said data output of said selector, said outgoing clock signal (X) forming said clock of said outgoing data stream. 13. A circuit according to claim 12, characterized in that said internal clock generator includes at least one phase locked delay line circuit (300;330;390) with means for clock multiplying. 14. A circuit according to any of claims l or 13, characterized in that said internal clock generator and/or said delay circuit of said clock aligning means (52) include at least one phase locked delay line circuit (300;330;390) having means for clock multiplying. 15. A circuit according to claim 13 or 14, characterized in that said delay line circuit includes phase shifting means (301-310;332-350) for imparting to said reference clock successively increasing phase shift, with a number of outputs for such successively phase shifted signals, first combining means (314-320;352-368) for combining said phase shifted signals in groups for obtaining a number of pulses (A-I) with a length corresponding to the phase shift between the outputs of the corresponding group and the same frequency as that of said reference signal, second combining means (322,324;374-384) for combining said pulses while maintaining the pulse length for obtaining a number of pulse signals (X;X,Y) with a frequency consisting of a multiple of said reference clock, a clock signal generating circuit (326,328;386,388) for generating, from said pulse signals, said accurately mutually time delayed clock signals (CKO, CK90) in the form of a desired number of clock signals with a desired mutual phase shift.

Inventors: HEDBERG MATS OLOF JOAKIM, HEDBERG, MATS, OLOF, JOAKIM
Applicants: ERICSSON TELEFON AB L M, TELEFONAKTIEBOLAGET L M ERICSSON
Application year: 1993
Main classification: H04J3
IPC codes: H03K5, H04J3, H04L7