The present invention relates to a method of bit error rate analysis for signals sampled in a digital oscilloscope.
Bit error rate measurement is central to all serial data testing. All other measurements relate back to this one parameter which is the ultimate measurement of link quality. Oscilloscopes in general have typically measured bit error rates from an eye diagram or from a jitter bathtub curve. However, in very high sample acquisitions, these methods have proved unacceptable.
Software Bit Error Rate and Error Location Analysis
In accordance with the invention, the LeCroy® SDA computes a bit error rate by first collecting a long waveform acquisition of a bit pattern. Using a recovered periodic clock, the waveform is sampled at an optimum threshold level and the resulting sequence of bits is stored and compared with a known bit pattern. This bit pattern may be a standard pattern, a pseudo-randomly generated pattern, or a custom pattern. An automatic search algorithm is provided which aligns the known and measured patterns. Thus, only in the SDA in accordance with the invention may bit error rate be measured directly in software by using a software recovered clock to define a plurality of data segments, converting the data segments of the captured waveform to bits, which are then compared with a known data pattern.
Bit Error Rate (BER) measures the actual bit error rate of a particular received signal using appropriate software. The following measurements can be computed:
Total Number of bit errors
Number of “zero” errors
Number of “one” errors
BER (bit error rate)—number of errors for a given number of bits tested
This method of bit error rate measurement is limited to a minimum level set by the memory depth (size) and number of points per bit. Assuming 4 samples per bit,
However, in accordance with current memory lengths found in digital oscilloscopes, this sensitivity limits the software measurement mode to fairly high bit error rates. Most serial links are expected to operate at error rates below 1E-9. This mode is most useful, however, in uncovering pattern dependent errors that are often higher than the 1E-9 rate.
The software BER mode described in accordance with the invention enables the instrument to display error locations within the data stream, as is noted below. The minimum bit error rate can be reduced by the use of multiple data acquisitions, if it is assumed that the errors are random and stationary i.e. they are not correlated in time.
Still other objects and advantages of the invention will in part be obvious and will in part be apparent from the specification and the drawings.
The invention accordingly comprises the several steps and the relation of one or more of such steps with respect to each of the others, and the apparatus embodying features of construction, combination(s) of elements and arrangement of parts that are adapted to effect such steps, all as exemplified in the following detailed disclosure, and the scope of the invention will be indicated in the claims.
For a more complete understanding of the invention, reference is made to the following description and accompanying drawings, in which:
Bit Error Location
As is shown in
Clock Recovery
At step 310 of
The observed times of threshold crossing are compared to an expected time of threshold crossing at step 130. The expected times of threshold crossing correspond to the regular intervals of an entirely conceptual or virtual “periodic clock” that is intended to correspond, after correction as noted below, to the sequence of expected times of threshold crossing.
The phase of the recovered clock is then adjusted to properly synchronize with the observed times of threshold crossing in the recorded data signal in step 135. The amount of phase adjustment in each bit interval is determined by mathematical algorithms precisely defining the dynamic response of the software PLL. The dynamic response of the PLL can be matched to the communications standard associated with the data signal under analysis under software control.
Because the recorded waveform under analysis is not necessarily of a clock but rather of a data stream presumably generated in accordance with a clock, a transition will not occur for each bit interval. That is, some transitions in the actual data signal may not be present because some consecutive bit locations may have the same value (consecutive logic “1”, for example), and therefore not have a transition between them. It is possible to determine how many of these bit locations do not have transitions by assuming that the observed transitions have a correspondence with the closest expected transition of the generated virtual clock. As such, it is possible to associate every transition observed with a virtual clock transition, and to know exactly how many cycles of the generated virtual clock have passed since the previous observed transition.
As in an analog phase-locked-loop (PLL) a phase error (time interval error “TIE”) between the expected value of a threshold crossing time determined in accordance with the recovered virtual periodic clock and the actual observed value of the threshold crossing time can be used as a feedback signal to alter the expected value of a threshold crossing time, and thus the phase of the recovered virtual clock, as is shown in step 140. In step 145 this generated error feedback signal is fed back and used at step 135 to adjust the phase of the expected time of threshold crossing. This procedure is repeated and continued until all the expected values of threshold crossing times, and therefore phase of the recovered virtual clock is locked to the actual observed values of the threshold crossing times. In accordance with the invention, the implementation is in software; the expected times being calculated by adding floating-point numbers rather than using resonating circuits, but the result being quite similar. The result is also more repeatable than the analog counterpart because the functionality does not depend on manufactured components that have initial inaccuracies and change over time and varying environmental conditions, but rather is a mathematical calculation. Thus, any additional jitter generated in accordance with physical generation of a clock signal is avoided.
By locking the expected time values of a threshold crossing to the actual observed values of the threshold crossing time, this expected value of a threshold crossing time can be used to derive the ideal “sampling times” of the digitally encoded signal in the recorded waveform, as is shown in step 150. These times are between the expected times of threshold crossing (when that data is NOT changing, rather than when it is changing). Having determined these expected values of time of threshold crossing, and thus ideal sampling times, the recorded waveform can be decoded according to these ideal sampling times (recovered periodic clock) to determine bit states of the data during each “slice” of the data signal.
Each slice of data is therefore obtained from a recorded signal of many bit transitions and by using the clock recovery system in accordance with the invention. The waveform of the data signal can therefore be sliced up and represented as a series of smaller waveforms (each derived from the original) but which span some number of bits from the original data signal in a precisely prescribed period of time. As such, a “slicer” serves the purpose of supplying such waveforms each of which is a subset of the waveform of the input data signal, and that are synchronized with the recovered clock (extracted from the same waveform), and for which the state of the bits in each slice are (or can be) known. Specifically, as displayed on an oscilloscope, it supplies waveforms with an effective trigger time corresponding to, for example, the first division (of ten) and an end of one bit interval (unit-interval) at the 9th division on the oscilloscope display, although other timing sequences may be employed as desired. As such these waveforms are ideal for further processing as they are precisely synchronized and in phase with the recovered virtual clock.
Then having determined this series of times (the times between the expected transitions) we are well prepared to “sample” the recorded waveform to determine bit states.
Analog to Digital Conversion
Referring back to
Synchronization
Referring once again to
If at step 325 the inquiry is answered in the negative, and it is determined that a frame size has not been specified, the digital data is forwarded directly to step 335 where the generated digital data segments are compared to one of a plurality of predetermined patterns. These predetermined patterns may comprise one of a standard pattern, pseudo-randomly generated pattern, or custom pattern stored in a data file.
Once the pattern has been selected and aligned, thereafter, at step 340, the bits of the data segments are compared to the designated pattern generated in step 335. During these comparisons, Bit Error Rate statistics are accumulated at step 345. Then at step 350, the Bit Error Map of
The process of synchronization of frame data, if present, as described in step 335, and the comparison of the frame data or frameless data and either the standard pattern, the pseudo randomly generated pattern, or the custom pattern as described in step 340 will now be described with reference to
As is shown in
Bit Error Location Map
The bit comparison result from the bit tester at step 340 can also be inputted into the Error Map at step 350. The bit compare results are displayed on successive lines of the Y-axis, preferably one frame at a time. A frame is indicated by and is composed of the bits from the end of one frame sync to the start of the next one determined at step 325. If frame sync bits are not specified, the bits are laid out in fixed length rows, starting at the top left corner of the screen and proceeding from left to right and down in a raster pattern. Error bits are shown in different color from the correct bits.
Referring next to
When the acquired digital signal is to be processed an interface unit 735 of processing unit 705 retrieves the digitized data signal from acquisition memory 730, and provides the signal to a processor 740. Processor 740 includes a clock recovery unit therein for recovering a clock from the digitized data signal, as described above. Upon recovery of such a clock, the digital data signal is sliced into a plurality of data segments of a predefined length, and store these data segments in a disk storage, or other storage 745. A processor memory 750 is also provided for use by processor 740 during processing. Once the various data segments have been defined, processor 740 is able to perform the various bit error rate testing functions noted above, such as determining bit error rate as described above, and performing any of the other various display functions, and any other functions that might be performed on a plurality of data segments. Therefore, the various bit comparisons described in
It will thus be seen that the objects set forth above, among those made apparent from the preceding description, are efficiently attained and, because certain changes may be made in carrying out the above method and in the construction(s) set forth without departing from the spirit and scope of the invention, it is intended that all matter contained in the above description and shown in the accompanying drawings shall be interpreted as illustrative and not in a limiting sense.
It is also to be understood that the following claims are intended to cover all of the generic and specific features of the invention herein described and all statements of the scope of the invention which, as a matter of language, might be said to fall therebetween.
This application claims the benefit of U.S. Provisional Patent Application Ser. No. 60/415,155, filed Sep. 30, 2002, the entire contents of which is incorporated herein by reference.
Number | Name | Date | Kind |
---|---|---|---|
3449671 | Long | Jun 1969 | A |
3562710 | Halleck | Feb 1971 | A |
3778550 | David et al. | Dec 1973 | A |
4100531 | Fletcher | Jul 1978 | A |
4375694 | Kuhn | Mar 1983 | A |
4566100 | Mizuno et al. | Jan 1986 | A |
4615040 | Mojoli et al. | Sep 1986 | A |
4633465 | Fitch et al. | Dec 1986 | A |
4680778 | Krinock | Jul 1987 | A |
4694244 | Whiteside et al. | Sep 1987 | A |
4758963 | Gordon et al. | Jul 1988 | A |
4843309 | Kareem et al. | Jun 1989 | A |
4876655 | Carlton et al. | Oct 1989 | A |
4964117 | Shier | Oct 1990 | A |
5159609 | Palicot | Oct 1992 | A |
5180971 | Montijo | Jan 1993 | A |
5214784 | Ward et al. | May 1993 | A |
5222101 | Ariyavisitakul | Jun 1993 | A |
5305635 | James et al. | Apr 1994 | A |
5337403 | Klingman | Aug 1994 | A |
5402443 | Wong | Mar 1995 | A |
5432791 | Gancarcik | Jul 1995 | A |
5631759 | Bogdan et al. | May 1997 | A |
5654987 | Nakamura | Aug 1997 | A |
5714878 | Saito et al. | Feb 1998 | A |
5726607 | Brede et al. | Mar 1998 | A |
5761216 | Sotome | Jun 1998 | A |
5761434 | Hewitt | Jun 1998 | A |
5761537 | Sturges et al. | Jun 1998 | A |
5789954 | Toeppen et al. | Aug 1998 | A |
5825825 | Altmann et al. | Oct 1998 | A |
5900755 | Toeppen et al. | May 1999 | A |
5907587 | Sokoler | May 1999 | A |
5914592 | Saito | Jun 1999 | A |
5943378 | Keba et al. | Aug 1999 | A |
5953071 | Van Zon | Sep 1999 | A |
5966684 | Richardson et al. | Oct 1999 | A |
5978742 | Pirkerd | Nov 1999 | A |
5999163 | Ivers et al. | Dec 1999 | A |
6009132 | Sholtz | Dec 1999 | A |
6044123 | Takla | Mar 2000 | A |
6112160 | Salant et al. | Aug 2000 | A |
6188737 | Bruce et al. | Feb 2001 | B1 |
6212246 | Hendrickson | Apr 2001 | B1 |
6215363 | Conta et al. | Apr 2001 | B1 |
6278357 | Croushore et al. | Aug 2001 | B1 |
6295327 | Takla | Sep 2001 | B1 |
6311138 | Miller | Oct 2001 | B2 |
6356127 | Klipper et al. | Mar 2002 | B1 |
6366631 | Nakayama et al. | Apr 2002 | B1 |
6407970 | Verboom | Jun 2002 | B2 |
6445230 | Rupp et al. | Sep 2002 | B1 |
6463109 | McCormack et al. | Oct 2002 | B1 |
6522122 | Watanabe et al. | Feb 2003 | B2 |
6539318 | Miller et al. | Mar 2003 | B2 |
6546345 | Ghiasi | Apr 2003 | B1 |
6549859 | Ward | Apr 2003 | B1 |
6571186 | Ward | May 2003 | B1 |
6615148 | Pickerd | Sep 2003 | B2 |
6642926 | Letts | Nov 2003 | B1 |
6643346 | Pedrotti et al. | Nov 2003 | B1 |
6647523 | Manning | Nov 2003 | B2 |
6675328 | Krishnamachari | Jan 2004 | B1 |
6738922 | Warwar et al. | May 2004 | B1 |
6812688 | Tan et al. | Nov 2004 | B2 |
6836738 | Sepp et al. | Dec 2004 | B2 |
6850852 | Ferguson et al. | Feb 2005 | B1 |
6853696 | Moser et al. | Feb 2005 | B1 |
6922384 | Miyashita et al. | Jul 2005 | B2 |
6996202 | McCormack et al. | Feb 2006 | B2 |
20010021151 | Verboom et al. | Sep 2001 | A1 |
20020018572 | Rhoads | Feb 2002 | A1 |
20020034337 | Shekter | Mar 2002 | A1 |
20020128787 | Seng et al. | Sep 2002 | A1 |
20030004664 | Ward et al. | Jan 2003 | A1 |
20030163266 | Ward et al. | Aug 2003 | A1 |
20040123018 | Miller et al. | Jun 2004 | A1 |
20040123191 | Salant et al. | Jun 2004 | A1 |
20040123208 | Miller et al. | Jun 2004 | A1 |
20040153883 | Miller et al. | Aug 2004 | A1 |
Number | Date | Country |
---|---|---|
2462046 | Nov 1975 | DE |
0 241 142 | Oct 1987 | EP |
0 444 875 | Sep 1991 | EP |
0 631 143 | Dec 1994 | EP |
1 074 845 | Feb 2001 | EP |
1 118 866 | Jul 2001 | EP |
1 244 241 | Sep 2002 | EP |
2 138 575 | Oct 1984 | GB |
62003544 | Jan 1987 | JP |
4105070 | Apr 1992 | JP |
5196641 | Aug 1993 | JP |
5264595 | Oct 1993 | JP |
9005362 | Jan 1997 | JP |
10163859 | Jun 1998 | JP |
11098876 | Apr 1999 | JP |
8220144 | Jun 1999 | JP |
WO 0060806 | Oct 2000 | WO |
WO 2004 032049 | Apr 2004 | WO |
Number | Date | Country | |
---|---|---|---|
20040123191 A1 | Jun 2004 | US |
Number | Date | Country | |
---|---|---|---|
60415155 | Sep 2002 | US |