The present invention relates to the field of data communication. More particularly, the present invention relates to devices and corresponding methods for restoring the DC component in a digital data stream with an acceptable amount of jitter. The present invention also relates to the use of DC restoration in combination with small signal amplifiers for use in optical and electrical receivers.
There can be several reasons why a transmitted digital signal may have lost its DC-component, or why it is required to have a DC restoration loop. For example, in a digital transmission path, it often happens that the signal has been AC coupled, i.e. ripped of its DC component. Further, CMOS signal amplifier stages themselves can also show offset due to transistor pair mismatches. In this case it is also required to adjust the DC level, anticipating this offset source in the amplification chain.
Often to make this DC restoration process easy, the transmitted signal is treated by making it DC balanced prior to transmission. A well-known way of doing this is by using 8B/10B coding. DC balanced digital signals are signals that have, within a certain run length, the same number of ONEs and ZEROs. Assuming this DC-balance, one can easily restore the signal offset in this case by AC-coupling.
Many applications, however, are not DC balanced. A state of the art method to recover the DC component is to bring the signal into a differential form, and to follow the top of the signals on both differential nodes by using peak detectors. The voltage difference of the output of the peak-detectors then forms an error signal that is further used for regulating away the offset in the signal and for as such restoring the DC level with low jitter. This system is not performing well in restoring the DC component when the data stream is sparse, i.e. when the maximum runlength of one symbol type is limited to one, while the maximum runlength of the opposite symbol type is 2 or higher for an extended period of time.
It is an object of the present invention to provide good apparatus and methods for performing DC restoration of digital signals.
The above objective is accomplished by a method and device according to the present invention.
In a first aspect, the present invention provides a device for restoring the DC component in a differential digital data stream. The device comprises
a first and second peak detector for detecting peaks in the differential digital data stream,
a memory element for storing an average of the first and second detected peak signals during rich data patterns,
an error signal selector for error signal selection,
a regulator for negative feedback of a selected error signal,
whereby the selected error signal is either the average of the detected peak signals stored on the memory element minus the signal at the output of the first peak detector, or the signal at the output of the second peak detector minus the average of the detected peak signals stored on the memory element.
It is an advantage of a device according to embodiments of the present invention that it provides a good restoration of the DC component. This leads to an acceptable amount of jitter for example when amplifying small amplitude signals into digital data streams. It is an advantage of a device according to embodiments of the present invention that it can handle very complicated, unbalanced sets of bit streams, including sparse data patterns.
In a device according to embodiments of the present invention, the error signal selector may comprise a set of switches, The error signal selector may furthermore be adapted for generating a set of complementary control signals for controlling the switches.
In particular embodiments of the present invention, four switches may be provided, a switch between each of output nodes of the peak detectors and differential input nodes of the regulator, and a switch between the memory element and each of the differential input nodes of the regulator.
The switches may be implemented by means of transistors.
In a device according to embodiments of the present invention, the regulator may be adapted for providing common mode and differential mode feedback.
In embodiments of the present invention, the error signal selector may comprise a comparator. The error signal selector may furthermore comprise an inverter for providing a complementary signal. The comparator may operate at a frequency below half the nyquist frequency of the data rate, preferably below 30% of the nyquist frequency, more preferred about 10% of the nyquist frequency. This way, the error signal selector is slow with respect to single bits, which is particularly useful in case of sparse data.
A device according to embodiments of the present invention may be coupled between differential input nodes of a first amplifying stage and differential output nodes of a last amplifying stage. The first amplifying stage and the last amplifying stage may be one and the same amplifying stage. Alternatively, they may be different amplifying stages in a sequence of amplifying stages, the output of the first amplifying stage being coupled, directly or indirectly, to the input of the last amplifying stage, i.e. with or without other elements, e.g. other amplifying stages, being coupled in between.
In a second aspect, the present invention provides a method for restoring a DC component in a differential digital data stream. The method comprises
detecting first and second peaks in the differential digital data stream, storing an average of the detected first and second peaks in the differential digital data stream during rich data patterns, and
selecting an error signal by switching between the stored average of the detected peak signals minus the detected peak signal and the detected peak signal minus the stored average of the detected peak signals, and
providing negative feedback of the selected error signal to the differential digital data stream.
It is an advantage of a method according to embodiments of the present invention that a good DC restoration is provided, leading to an acceptable amount of jitter e.g. when amplifying small amplitude signals into digital data streams. It is an advantage of a method according to embodiments of the present invention that it can handle very complicated, unbalanced sets of bit streams, including sparse data patterns.
Storing an average of the detected first and second peaks in the differential digital data signal may include a switched capacitor effect.
A method according to embodiments of the present invention may furthermore comprise generating control signals for controlling switching between the stored average of the detected peak signals minus the detected peak signal and the detected peak signal minus the stored average of the detected peak signals.
In a further aspect, the present invention provides the use of DC restoration method according to embodiments of the present invention in combination with small signal amplifiers for use in optical and electrical receivers.
In yet another aspect, the present invention provides the use of a device according to embodiments of the present invention for restoring the DC component in a differential digital data stream.
The teachings of the present invention permit the design of improved offset detectors for improved restoration of the DC-component, leading to a reduced output jitter when amplifying small amplitude signals into digital data streams. Offset detectors according to the present invention can handle very complicated, unbalanced sets of bit streams, including sparse data patterns.
Particular and preferred aspects of the invention are set out in the accompanying independent and dependent claims. Features from the dependent claims may be combined with features of the independent claims and with features of other dependent claims as appropriate and not merely as explicitly set out in the claims.
The above and other characteristics, features and advantages of the present invention will become apparent from the following detailed description, taken in conjunction with the accompanying drawings, which illustrate, by way of example, the principles of the invention. This description is given for the sake of example only, without limiting the scope of the invention, The reference figures quoted below refer to the attached drawings.
In the different figures, the same reference signs refer to the same or analogous elements.
In the drawings, most of the NMOS and PMOS transistors have an upper and a lower length indication. The upper one is always intended to be the width, and the lower one is always intended to be the length of the transistor. The given values are only indicative, and have been used in the simulation for demonstrating the merits of the invention. Also resistors and capacitors have been used in the simulations with values as indicated in the drawings, for the purpose of illustration only.
The present invention will be described with respect to particular embodiments and with reference to certain drawings but the invention is not limited thereto but only by the claims. The drawings described are only schematic and are non-limiting. In the drawings, the size of some of the elements may be exaggerated and not drawn on scale for illustrative purposes. The dimensions and the relative dimensions do not correspond to actual reductions to practice of the invention.
It is to be noticed that the term “comprising”, used in the claims, should not be interpreted as being restricted to the means listed thereafter. Thus, the scope of the expression “a device comprising means A and B” should not be limited to devices consisting only of components A and B. It means that with respect to the present invention, the only relevant components of the device are A and B.
Similarly, it is to be noticed that the term “coupled” should not be interpreted as being restricted to direct connections only. Thus, the scope of the expression “a device A coupled to a device B” should not be limited to devices or systems wherein an output of device A is directly connected to an input of device B. It means that there exists a path between an output of A and an input of B which may be a path including other devices or means.
The phrase “the data stream is sparse”, refers to when the maximum runlength of one symbol type is limited, while the maximum runlength of the opposite symbol type is higher, e.g. for an extended period of time. Hence a sparse data pattern is a sequence of one more values of one symbol type embedded in a longer sequence of the other symbol type. For example, sparse data strings can have only single ONEs for a long period, or only single ZEROs for a long period, Rich data is a non-sparse data pattern.
The invention will be described by a detailed description of several embodiments of the invention. It is obvious that other embodiments of the invention can be configured by a person skilled in the art without departing from the technical teaching of the present invention as defined by the claims, the invention therefore being limited only by the terms of the appended claims. It will be clear for a person skilled in the art that the present invention is also applicable to similar circuits that can be configured in any transistor technology, including for example, but not limited thereto, CMOS, BICMOS and SiGe BICMOS. It will furthermore be clear that similar merits of the invention can be obtained when single-ended signals are implemented as differential signals and vice-versa, without departing from the true spirit of the invention.
In this example of DC restoration, capacitors C1 and C2 are provided at the input, for having AC coupling. After this, zero, one or more amplifying stages are provided that each may provide gain; however, the amplifying stages are not intended to provide so much gain that the signals on the output nodes (OUT, OUTX) get clipped or saturated. As an example only, two amplifying stages, a first amplifying stage X3 and a second amplifying stage X4, are shown in
Retrieving information about the DC level is done by a DC restorer XDC, effectively using the signals at the output nodes (OUT, OUTX) at its input for correcting the DC level by applying a differential current into the input nodes (k0a, k0b) to the first amplifying stage X3. When the DC restorer XDC determines that the DC level is too high, it will lower the DC level by injecting a differential current that brings the DC level downwards. When the DC restorer XDC finds that the DC level is too low, it will increase the DC level by injecting a differential current that brings the DC level upwards.
Further, the voltage on node cm is indicative for the common mode voltage on the input nodes (k0a, k0b) to the first amplifying stage, allowing a regulator Xreg, being part of the DC restorer, as illustrated in
This way of adding the common- and differential mode error currents to the input through capacitors C1 and C2 can also be achieved in another way, i.e. by omitting the capacitors C1 and C2 and by adding the error signal to the input signals using conventional analogue adder principles. For this purpose, e.g. the first amplifying stage can be modified to have two differential inputs that allow addition (not shown).
The gain is further determined by the ratio of R1 and R3 and should be such that the output of the amplifying stage chain should never get clipped in the application where the DC-restorer XDC is to be applied. Such clipping will hide the DC offset at the differential output nodes (OUT; OUTX) such that any DC restorer would get confused.
An amplifying stage can further also be optimised to provide gain at higher frequencies (not shown here), such as to compensate for frequency dependent losses in the transmission channel. For cables and transmission lines, it is possible to replace resistors R3 and R4 by complex impedances for achieving a rising gain towards the Nyquist frequency of the data (a data rate of 2 Gbps has a nyquist frequency of 1 GHz). In that way the total transfer function of the transmission channel (or medium) and the amplification through the set of amplifying stages get equalized.
All circuit components, left of dashed line 99 in
The power supply voltage is for example 1.8V, and the circuits are for example made in a 180 nm CMOS technology. A digital rail-to-rail signal is thus HIGH when being close to the power supply voltage, e.g. 1.8V, and LOW when being close to 0V. In the high-speed path of the example illustrated a signal is considered to be a ONE to be when OUT is close to 1.4V and OUTX is close to 950 mV. A ZERO is the opposite, with OUT close to 950 mV and OUTX close to 1.4 V.
The signals applied at the differential input of the DC restoration circuit, with input nodes IN, INX are realistic curves of digital signals, having some attenuation at 0101 transitions, slightly deforming the bit shape. As can be seen in the top part of
Due to initial conditions the simulation starts with the wrong DC level that gets corrected within the first 200-ns by the DC restoration system as can be seen on curves 20 to 23 on
However, when applying the difficult sparse pattern, the system fails to operate at a low jitter level.
An embodiment of a DC restorer according to the present invention is illustrated in
The system works best when the latter two signals connectB&C and connectA&C are designed to be each other's complement. When the one signal is HIGH, the other is LOW, and vice versa. When connection signal connectA&C is HIGH and connectB&C is LOW, switches M70 and M72 get conductive, and switches M71 and M73 will be high impedance, i.e. non conductive. In other words, the a output of the peakdetector circuit X8, being node a_holdpre, will get connected to the input node a_hold of the regulator Xreg, and the node c_hold of the extra memory element will be connected to the input node b_hold of the regulator Xreg. Alternatively, when connectA&C is LOW and connectB&C is HIGH, switches M71 and M73 get conductive, and switches M70 and M72 will be high impedance, i.e. non-conductive. In other words, the b output of the peakdetector circuit X8, being node b_holdpre, will get connected to the input node b_hold of the regulator Xreg, and the node c_hold of the extra memory element will be connected to the input node a_hold of the regulator Xreg.
Assuming that the connection signals are alternating (HIGH-LOW), one can see that by charge sharing, a switched capacitor effect occurs, bringing the voltage on the node c_hold, close to, or exactly to, the average of the output signals on the nodes a_holdpre and b_holdpre of the peak detector circuit X8. The connection signals are preferably made such that enough transitions are present to keep the level on w hold updated. Further, when a sparse data pattern occurs having only single ONEs embedded in longer periods of ZEROs, it is desired that the b_holdpre drives the regulator Xreg, and thus is connected to the input node b_hold of the regulator Xreg. Therefore, the connect signal connectA&C should be LOW. The DC-level will then keep being updated by the OUTX level that is highest in voltage during most of the time, and that is not showing any reduced amplitude, since it is present during multiple ZEROs in a row. The uncertain OUT signal is thus not used during these sequences. For the second side of the comparison, the signal c_hold is connected to a_hold, making the comparison referred to the level that was earlier deduced during periods showing richer (non-sparse) data patterns.
Complementary, when a pattern occurs having only single ZEROs embedded in longer periods of ONEs, then it is desired that the a_holdpre drives the regulator Xreg, and thus is connected to the input node a_hold of the regulator Xreg. Therefore, the connect signal connectB&C should be LOW. The DC-level will then keep being updated by the OUT level that is highest in voltage during most of the time, and that is not showing any reduced amplitude, since it is present during multiple ONEs in a row. The uncertain OUTX signal is thus not used during these sequences. For the second side of the comparison, the signal c_hold is connected to b_hold, making the comparison referred to the level that was earlier deduced during periods showing richer (non sparse) data patterns.
The control signal generator circuit Xconnect should thus generate during non-sparse data pattern periods regularly switching connection signals connectA&C and connectB&C. During sparse data pattern periods, the peak detector following the non-sparse side of the data should be used for connection to the regulator in the DC restore circuit. The other side of the input of the regulator has then to be connected to the c_hold node.
The signals applied at the differential input (IN,INX) of the DC restorer circuit are the same as the ones earlier applied in the simulation of
Due to initial conditions the simulation starts with the wrong DC level that gets corrected within the first 200-ns by the DC restoration system as can be seen on curves 40 to 43 on the top of
Around 1100 ns, a zoomed-in diagram is shown in
This time however, when applying the difficult sparse data pattern, the DC restorer remains operating correctly.
As a result, the length 44 of a single bit ONE becomes as long as the length 45 of a single bit ZERO in
More simulations have been conducted showing also that other sparse data patterns are covered using the DC restorer of the present invention. Even long repetitions of 00000000000010000000000001 have been checked and are covered by the system.
Although the DC restorer of embodiments of the present invention is working fine, some possible issues can be taken care of.
A first element is that the voltage on c_hold being held at a constant level during the sparse pattern may start drifting when the sparse signal remains present for many milliseconds or seconds. If a sparse data pattern can occur for such long periods in the given application, extra measures may be taken to lower the leakage on node c_hold. For this, it can be considered to put the four PMOS switches M70 . . . M73 in a common N-well that gets biased by a unity gain amplifier to the voltage of c_hold itself. Since the leaking junctions in the PMOS switches M70 . . . M73 will then see zero volts, the leakage will be decreased by several orders of magnitude. This will extend the period that sparse data can be accepted to several hours or even days, since the leakage current is close to zero.
Secondly, there can be a possible start-up issue. When the voltage on the c_hold node is first brought to a level much higher than the average of a_holdpre and b_holdpre, and then released, the system can stall. This leads to a permanent ONE or a permanent ZERO at the output. To avoid this possible starting condition, the capacitor C20 connected to node c_hold can be referred with its other side to GND, as suggested by
It is to be understood that although preferred embodiments, specific constructions and configurations, as well as materials, have been discussed herein for devices according to the present invention, various changes or modifications in form and detail may be made without departing from the scope of this invention as defined by the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
07150167.0 | Dec 2007 | EP | regional |
08150379.9 | Jan 2008 | EP | regional |