The present disclosure relates generally to an integrated circuit, and more particularly to a decision feedback equalizer (DFE).
A DFE is used to try to equalize the frequency response of a received signal through a channel and increase the eye opening without amplifying noise. Some received signals are interfered by prolonged reflections of previously received signals, making it difficult for the DFE to equalize the frequency response.
Reference is now made to the following descriptions taken in conjunction with the accompanying drawings.
The making and using of various embodiments are discussed in detail below. It should be appreciated, however, that the present disclosure provides many applicable inventive concepts that can be embodied in a wide variety of specific contexts. The specific embodiments discussed are merely illustrative of specific ways to make and use, and do not limit the scope of the disclosure.
Delay elements (e.g., flip-flops) 108a, 108b, 108c, and 108d are coupled to the slicer 106. The delay elements 108a, 108b, 108c, and 108d are operated by a clock signal clk that has a clock cycle T. Even though four delay elements 108a, 108b, 108c, and 108d are shown for the DFE 100, different numbers of delay elements can be used in other embodiments. The number of delay elements may depend on how many delay elements are enough to cover the entire impulse response of the channel. The delay elements 108a, 108b, 108c, and 108d are connected in series. Delay element 108a provides a delayed signal N1 of its input signal Yd. Delay element 108b provides a delayed signal N2 of its input N1. Delay element 108c provides a delayed signal N3 of its input N2. Delay element 108d provides a delayed signal N4 of its input N3.
An arithmetic logic unit (ALU) 112 includes a weight generator 113 and a tap enable control circuit 114. The weight generator 113 generates tap weights W1-W4. A tap is the combination of a delayed signal, e.g., N1, N2, N3, or N4, and a tap weight, e.g., W1, W2, W3, or W4. The tap weight is multiplied to the respective delayed signal for feedback to the summer 104.
At each gain element, e.g., 110a, 110b, 110c, or 110d, each tap weight, e.g., W1, W2, W3, or W4, is multiplied to the respective delayed signal, e.g., N1, N2, N3, or N4, from the respective delay element, e.g., 108a, 108b, 108c, or 108d, to provide a respective tap output, e.g., 111a, 111b, 111c, or 111d. For example, at the gain element 110a, the tap weight W1 is multiplied to the delayed signal n1 from the delay element 108a to provide a tap output 111a. Each tap output, e.g., 111a, 111b, 111c, or 111d, is selectively enabled to be added to the summer 104 or disabled based on a comparison of a threshold value Vth and each impulse response (from a respective delayed signal as shown in
Each impulse response value 120b, 120c, 120d, or 120e is matched with the respective delayed signal N1, N2, N3, or N4. There are more impulse response values with further delays that are not used. For example, an impulse response value 120f is a delayed response by six clock cycles 6T, but it is not matched to a delayed signal since there are only four delay elements 108a, 108b, 108c, and 108d.
Referring back to
In some embodiments, up to a specified maximum number of tap outputs are enabled (e.g., four in the DFE in
In one example, Vth1 is equal to +Vth, and Vth2 is equal to −Vth.
The comparator 115 output is coupled to four delay elements (e.g., flip-flops) 116a, 116b, 116c, and 116d. During a setup period, a pulse signal is transmitted through the channel 102 and all tap outputs 111a, 111b, 111c, and 111d are disabled. Then the DFE input signal Xr is received by the summer 104 that provides Ya representing an impulse response to the comparator 115. After four clock cycles, impulse response values (e.g. 120b, 120c, 120d, and 120e) are compared to Vth to generate enable signals W1_EN, W2_EN, W3_EN, and W4_EN, for respective tap outputs 111a, 111b, 111c, and 111d.
After the setup period, tap outputs 111a, 111b, 111c, and 111d are enabled or disabled according to the enable signals W1_EN, W2_EN, W3_EN, and W4_EN, respectively. Then data can be transmitted through the channel 102 to update tap weight values W1, W2, W3, and W4 according to a specified algorithm. In one embodiment, tap weights are updated at each clock cycle based on a Sign Sign Least Mean Square (SSLMS) algorithm, and the SSLMS algorithm can be expressed by the following equation:
W
i(n+1)=Wi(n)+Ui·sign{Err(n)}·sign{Yd(n−i)} Equation (1),
where n is an integer denoting the clock cycle; i is a positive integer; Ui is a step size for each tap weight Wi; Err=Yd−Ya; sign(x)=+1 if x>0, 0 if x=0, −1 if x<0. Each tap weight Wi(n) is updated for the next Wi(n+1) by adding the term Ui·sign{Err(n)}·sign{Yd(n−i)}. Also, the Ya after the summer 104 at each clock cycle is given by the following equation:
Y
a(n)=Xr(n)+ΣWi(n)Ni(n)=Xr(n)+ΣWi(n)Yd(n−i) Equation (2),
where Yd(n−i) is delayed signal Ni (delayed by i times the clock cycle), n is an integer denoting the clock cycle, and i is a positive integer.
For example, if the DFE input signal is given as Xr=[1−1.2−0.7−0.9] (from the first to the fourth clock cycle) and two tap weights W1 and W2 are used, W1 and W2 are given by the following according to Equation (1):
W1(n+1)=W1(n)+U1*sign[Err(n)]*sign[Yd(n−1)];
W2(n+1)=W2(n)+U2*sign[Err(n)]*sign[Yd(n−2)]; Equation (3),
where the initial values are U1=U2=0.01, Yd(0)=Yd(−1)=0, W1(1)=W1(2)=W2(1)=W2(2)=0.
From the above, Ya(1)=Xr(1)+W1(1)*Yd(0)+W2(1)*Yd(−1)=1+0*(0)+0*(0)=1, and Yd(1)=1. From Ya(2)=Xr(2)+W1(2)*Yd(1)+W2(2)*Yd(0)=−1.2+0*(1)+0*(0)=−1.2, Yd(2)=−1. Thus, Err(2)=Yd(2)−Ya(1)=(−1)−(−1.2)=0.2, and sign(Err(2))=1. The W1 and W2 values are updated as the following:
W1(3)=W1(2)+U1*sign(Err(2))*sign(Yd(1))=0+0.01*(1)*(1)=0.01.
W2(3)=W2(2)+U2*sign(Err(2))*sign(Yd(0))=0+0.01*(1)*(0)=0.
Likewise, for the next clock cycle, Ya(3)=Xr(3)+W1(3)*Yd(2)+W2(3)*Yd(1)=−0.7+0.01*(−1)+0*(1)=−0.71, thus Yd(3)=−1, and Err(3)=Yd(3)−Ya(3)=(−1)−(−0.71)=−0.29. Therefore, W1(4)=W1(3)+0.01*sign(Err(3))*sign(Y(2))=0.01+0.01*(−1)*(−1)=0.02; W2(4)=W2(3)+0.01*sign(Err(3))*sign(Y(1))=0+0.01*(−1)*(1)=−0.01.
Likewise, for the next clock cycle, Ya(4)=−0.9+0.02*(−1)+(−0.01)*(−1)=−0.91, thus Err(4)=(−1)−(−0.91)=−0.09. And W1(5)=W1(4)+0.01*sign((4))*sign(Yd(3))=0.02+0.01*(−1)*(−1)=0.03; W2(5)=W2(4)+0.01*sign(Err(4))*sign(Yd(2))=−0.01+0.01*(−1)*(1)=0; and so on for the following clock cycles.
The tap weights Wi are updated at each clock cycle and will converge to certain values after a certain time that depends on the different application, channel, and embodiments. After the tap weight values are converged, the change in the tap weight values is relatively small. The step size Ui is adjusted in some embodiments. For example, the step size Ui can be reduced for finer adjustment. There is less operational interruptions between the DFE 100 and other circuits, e.g., a clock and data recovery (CDR), when step size Ui is smaller, because of the smaller tap weight Wi change at each clock cycle. For disabled tap outputs, the corresponding step size is zero in some embodiments.
For some applications, the first tap output results from multiplying the first tap weight (e.g., W1) and the first delayed signal (N1, which is delayed one clock cycle from the DFE input signal) from the beginning and stays enabled in some embodiments. This is because the first tap output improves the eye opening significantly for those applications.
For the DFE 100, the enabled tap outputs, i.e., the tap locations that are programmable, allows the DFE 100 to deal with the channel 102 having different impulse response (reflection) characteristics. Because tap outputs are selectively enabled (when the corresponding impulse response is above a certain threshold value), the DFE 100 saves power and can be applied for impulse responses that arrive significantly later than the incident data if there are sufficient number of tap outputs. The number of enabled tap outputs is programmable. While with a reduced number of enabled tap outputs, the tap weights Wi may converge faster, with a greater number of enabled tap outputs, more impulse responses can be accounted for.
A weight generator 213 in an arithmetic logic unit (ALU) 212 is based on the Sign Sign Least Mean Square (SSLMS) algorithm to update tap weights, and its operation is similar to weight generator 113 described above in reference to
In the DFE 200, after tap weights W1-W7 have converged with certain training bits or certain clock cycles, a tap enable control circuit 214 compares each tap weight to a threshold value Vth, and tap weights greater than the threshold value Vth are selected to enable corresponding tap outputs (that are added in the summer 204). For example, if the maximum number tap weights for enablement is five and four tap weights (W1, W2, W3, and W6) are greater than Vth, then the corresponding four tap outputs are enabled by the enable signals (i.e., W1_EN, W2_EN, W3_EN, and W6_EN are asserted). If five tap weights (W1, W2, W4, W6, and W7) are greater than Vth, then the corresponding five tap outputs are enabled by the enable signals (i.e., W1_EN, W2_EN, W4_EN, W6_EN, and W7_EN are asserted). If there are more than five tap weights greater than the threshold value, five tap weights can be selected based on any user defined criteria. For example, if W1, W2, W4, W5, W6, W7 are greater than Vth, then W1, W2, W4, W5, and W6 can be selected.
Bias factors k1-k7 corresponding to tap weights W1-W7 are also sent from the tap enable control circuit 214 for scaling purpose to the summer 204. In some embodiments, if each respective tap weight (Wi) is less than a specified value, the bias element ki is decreased to adjust the tap weight scaling. For example, if the tap weight Wi having 5 bits <4:0> is less than 16 (10000 in binary), the corresponding bias element ki is reduced. If the current control bits for the bias element k1=11 (binary), then k1 is decreased to k1=10 (binary) in some embodiments. More details regarding bias factors ki are described below in
Currents through resistors R and NMOS transistors T1 and T2 are controlled by the DFE input signal Xr and contribute to the voltage level at nodes 306a. Currents through NMOS transistors T3 and T4 are controlled by the delayed signal N1 and contribute to the voltage level at nodes 306b. Currents through NMOS transistors T5 and T6 are controlled by the delayed signal N2 and contribute to the voltage level at nodes 306c. Currents through NMOS transistors T7 and T8 are controlled by the delayed signal N7 and contribute to the voltage level at nodes 306d. Similar circuits for delayed signals N3, N4, N5, and N6 are omitted for simplicity in
A weight bias generator 308a provides a bias voltage VBN to the gate of an NMOS transistor T9, based on control bits WMB (e.g., 3 bits <2:0>). A weight bias generator 308b provides a bias voltage VBW1 to the gate of an NMOS transistor T10, based on the tap weight W1 (e.g., 5 bits <4:0>). The enable signals (i.e., W1_EN, W2_EN, . . . , and W7_EN) are provided to the weight bias generator 308a to allow a respective bias voltage (i.e., VBW1, VBW2, . . . , and VBW7) be provided when the enable signals are enabled. A weight bias generator 308c provides a bias voltage VBW2 to the gate of an NMOS transistor T11, based on the tap weight W2 (e.g., 5 bits <4:0>). A weight bias generator 308d provides a bias voltage VBW7 to the gate of an NMOS transistor T12, based on the tap weight W7 (e.g., 5 bits <4:0>). Similar circuits for tap weights W3, W4, W5, and W6 are omitted for simplicity in
Each current source I1, I2, I3, I4, or I5, is connected to a respective transistor T13, T14, T15, T16, or T17, which is controlled by the tap output enable signal Wi_EN (where i=1, 2, . . . , 7). The currents from the enabled current sources I1, I2, I3, I4, and I5 flow through a tunable transistor block 402 and provides an output voltage VBWi (where i=1, 2, . . . , 7). The tunable transistor block 402 includes multiple NMOS transistors T18a, T18b, T18c, and T18d controlled by enable bits en1, en2, en3, and en4, and their complementary enable bits en1b, en2b, en3b, and en4b.
Enable bits en1, en2, en3, and en4, when activated (e.g., a logical 1) connect NMOS transistors T18a, T18b, T18c, and T18d in a diode-connected mode and control the current amount through the tunable transistor block 402 by turning on NMOS transistors T19a, T19b, T19c, and T19d. The complementary enable bits en1b, en2b, en3b, and en4b have opposite values of the enable bits en1, en2, en3, and en4. When the complementary enable bits en1b, en2b, en3b, and en4b have a logical 1, the gates of respective NMOS transistors T18a, T18b, T18c, and T18d are connected to ground by turning on respective NMOS transistors T20a, T20b, T20c, and T20d.
The bias factor ki is received by the enable bit generator 404, which generates enable bits en1, en2, en3, and en4 (and their complements en1b, en2b, en3b, and en4b). For example, if ki=00, then en1=1, en2=1, en3=1, and en4=1; if ki=01, then en1=1, en2=1, en3=1, and en4=0; if ki=10, then en1=1, en2=1, en3=0, and en4=0; if ki=11, then en1=1, en2=0, en3=0, and en4=0. By changing the number of enabled diode-connected transistors with bias factor ki control bits, the effective transistor width from the tunable transistor block 402 is changed. When ki is decreased, more diode-connected transistors are enabled, thus more current will flow through the tunable transistor block 402, and VBWi decreases. When ki is increased, less diode-connected transistors are enabled, thus less current will flow through the tunable transistor block 402, and VBWi increases.
The weight bias generator 308 receives a respective bias factor ki, e.g. k1, k2, . . . , or k7, from the tap enable control circuit 214. Bias factors k1-k7 corresponding to each tap weight W1-W7 is also sent from the tap enable control circuit 214 for scaling purposes to the summer 204. In some embodiments, if each respective tap weight (Wi) is less than a specified value, the bias element ki is decreased to adjust the tap weight scaling. For example, if the tap weight Wi having 5 bits <4:0> is less than 16 (10000 in binary), the corresponding bias element ki is reduced. If the current control bits for the bias element is ki=11 (binary), then ki can be decreased to ki=10 (binary), which decreases VBWi as described above.
With decreased VBWi, the tap weight Wi converges to an increased value and brings the VBWi close to the previous VBWi value (prior to adjusting ki). In one embodiment, when the current through the tunable transistor block 402 is doubled with ki adjustment, the tap weight Wi is also doubled. After Wi converges to a higher value, the same value change in Wi has relatively less overall change on the Wi. Thus, having a smaller ki may reduce interference between the DFE 200 and other circuits, e.g., a clock and data recovery (CDR) in some applications, because of the relatively smaller tap weight Wi change at each clock cycle.
On the other hand, with a higher ki, VBWi is increased as described above. With increased VBWi, the tap weight Wi converges to a decreased value and brings the VBWi close to the previous VBWi value (prior to adjusting ki). After Wi converges to a lower value, the same value change in Wi when updated at each clock cycle has relatively more overall change on the Wi. Thus, having a higher ki can help to produce a faster convergence of Wi.
In various embodiments, a slicer is coupled between the summer and the first delay element. The other delay elements are connected in series after the first delay element. The tap weights are updated at each clock cycle based on a Sign Sign Least Mean Square (SSLMS) algorithm. The first sign element of the SSLMS algorithm is calculated based on the subtraction of a slicer input from a slicer output. The second sign element of the SSLMS algorithm is calculated based on the slicer output. A bias factor of the summer is decreased if each respective tap weight is less than a specified value, so that a tap weight change at each clock cycle has relatively less overall effect on the tap weight.
In various embodiments, up to a specified maximum number of tap outputs are enabled and the maximum number is programmable. Each tap output is selectively enabled or disabled based on a comparison of a lower threshold value and each impulse response or each tap weight corresponding to the respective tap output. The first tap output that results from multiplying the first tap weight and the first delayed signal, which is delayed one clock cycle from the DFE input signal, is enabled.
An aspect of this description relates to an apparatus comprises a plurality of delay elements connected in series. Each delay element of the plurality of delay elements is configured to delay a respective input signal and to output a respective delayed signal. The apparatus also comprises a weight generator coupled with the delay elements of the plurality of delay elements. The weight generator is configured to generate a plurality of tap weights based on the delayed signals output by the delay elements of the plurality of delay elements. The apparatus further comprises a tap controller coupled with the weight generator. The tap controller is configured to (1) generate tap weight enabling signals corresponding to one or more of the tap weights based on a determination that the corresponding tap weights are greater than a predetermined threshold value, and (2) generate a set of bias factors, each of the bias factors of the set of bias factors being based on a corresponding tap weight of the plurality of tap weights. The apparatus additionally comprises a summer coupled with the delay elements of the plurality of delay elements and the tap controller. The summer is configured to output a weighted signal based on the delayed signals output by the delay elements of the plurality of delay elements, the tap weight enabling signals, the tap weights of the plurality of tap weights that correspond to the tap weight enabling signals, and the bias factors of the plurality of bias factors.
Another aspect of this description relates to a method that comprises generating a plurality of tap weights based on a plurality of delayed signals output by a plurality of delay elements coupled in series using a weight generator coupled with the delay elements of the plurality of delay elements. The delayed signals of the plurality of delayed signals are individually generated by each delay element of the plurality of delay elements. The method also comprises generating, using a tap controller coupled with the weight generator, tap weight enabling signals corresponding to one or more of the tap weights based on a determination that the corresponding tap weights are greater than a predetermined threshold value. The method further comprises generating, using the tap controller, a set of bias factors. Each of the bias factors of the set of bias factors is based on a corresponding tap weight of the plurality of tap weights. The method additionally comprises generating, using a summer coupled with the delay elements of the plurality of delay elements and the tap controller, a weighted signal based on the delayed signals output by the delay elements of the plurality of delay elements, the tap weight enabling signals, the tap weights of the plurality of tap weights that correspond to the tap weight enabling signals, and the bias factors of the plurality of bias factors.
A further aspect of this description relates to an apparatus that comprises a plurality of delay elements connected in series. Each delay element of the plurality of delay elements is configured to delay a respective input signal and to output a respective delayed signal. The apparatus also comprises a weight generator coupled with the delay elements of the plurality of delay elements. The weight generator is configured to generate a plurality of tap weights based on the delayed signals output by the delay elements of the plurality of delay elements. The apparatus further comprises a tap controller coupled with the weight generator. The tap controller is configured to (1) generate tap weight enabling signals corresponding to one or more of the tap weights based on a determination that the corresponding tap weights are greater than a predetermined threshold value, and (2) generate a set of bias factors, each of the bias factors of the set of bias factors being based on a corresponding tap weight of the plurality of tap weights. The apparatus additionally comprises a summer coupled with the delay elements of the plurality of delay elements and the tap controller. The summer is configured to output a weighted signal based on the delayed signals output by the delay elements of the plurality of delay elements, the tap weight enabling signals, the tap weights of the plurality of tap weights that correspond to the tap weight enabling signals, and the bias factors of the plurality of bias factors. The apparatus also comprises an analog to digital converter coupled with the summer. The analog to digital converter is configured to convert the weighted signal to a digital signal. The digital signal is a first input signal received by a first delay unit of the plurality of delay units. The apparatus further comprises an error generator coupled with the summer and the analog to digital converter. The error generator is configured to compare the weighted signal with the digital signal The weight generator is configured to change the tap weights of the plurality of tap weights based on an output of the error generator.
A skilled person in the art will appreciate that there can be many embodiment variations of this disclosure. Although the embodiments and their features have been described in detail, it should be understood that various changes, substitutions and alterations can be made herein without departing from the spirit and scope of the embodiments. Moreover, the scope of the present application is not intended to be limited to the particular embodiments of the process, machine, manufacture, and composition of matter, means, methods and steps described in the specification. As one of ordinary skill in the art will readily appreciate from the disclosed embodiments, processes, machines, manufacture, compositions of matter, means, methods, or steps, presently existing or later to be developed, that perform substantially the same function or achieve substantially the same result as the corresponding embodiments described herein may be utilized according to the present disclosure.
The above method embodiment shows exemplary steps, but they are not necessarily required to be performed in the order shown. Steps may be added, replaced, changed order, and/or eliminated as appropriate, in accordance with the spirit and scope of embodiment of the disclosure. Embodiments that combine different claims and/or different embodiments are within the scope of the disclosure and will be apparent to those skilled in the art after reviewing this disclosure.
The present application is a continuation of U.S. application Ser. No. 13/293,513, filed Nov. 10, 2011, which is incorporated herein by reference in its entirety.
Number | Date | Country | |
---|---|---|---|
Parent | 13293513 | Nov 2011 | US |
Child | 14602900 | US |