The present invention relates to signal display systems. More specifically, the present invention relates to the method and apparatus for displaying signal waveforms of data transmissions.
Traditionally, in optical digital communication systems, non-return-to-zero (NRZ) modulated signals have been used at rates as fast as ten Gbs (Giga bits per second). However, as the speeds and distances for optical transmissions increase, return-to-zero (RZ) modulated signals become more desirable for various reasons. NRZ modulated signals are digital signals in which each binary value (a low or a high state represented by a zero (0) and one (1), respectively) are transmitted by a specific and constant direct-current (DC) voltage. RZ modulated signals are digital signals that, at each bit, or bit period, the value of the signal returns to zero.
Both the NRZ modulated and RZ modulated signals are analyzed, in part, by displaying the waveforms of the signal on an oscilloscope (“scope”), and in particular multivalue waveform display format. For example, test equipment receives an input signal (NRZ modulated or RZ modulated) and automatically scales (“autoscale”) the scope to show a multiple the waveforms (bits) of the input signal. To automatically scale the scope, the test equipment determines a range of signal strength values, typically in volts. This range is usually displayed as the Y-axis on the display. Further, the test equipment determines the period of a bit, the bit period, of the input signal. The period is typically measured in units of fractional seconds such as a picosecond (ps). Then, the measured period is used to display one or more bits of the input signal.
Accordingly, the existing NRZ autoscaling methods are ill suited to scale RZ signals. There is a need for a method and apparatus to autoscale incoming RZ modulated signals for displaying on test equipment.
These needs are met by the present invention. According to one aspect of the present invention, a method of displaying an input signal is disclosed. First, the input signal is sampled and searched for a zero space pattern. If zero space pattern is not found, then determining whether non-return-to-zero (NRZ) autoscale is applicable. If zero space pattern is found, the following steps are performed. A first zero space and a second zero space are located. Bit period of the input signal is calculated by determining time period between the first zero space and the second zero space. Finally, the input signal is displayed using the calculated bit period as the basis for a scale.
According to another aspect of the present invention, an apparatus for displaying an input signal is disclosed. The apparatus includes a processor and storage connected to the processor. The storage includes instructions for the processor perform the following operations: to sample the input signal and search for a zero space pattern in the sampled signal; to determine, if zero space pattern is not found, whether non-return-to-zero (NRZ) autoscale is applicable; to perform, if zero space pattern is found, the following: locate a first zero space; locate a second zero space, following the first zero space; calculate bit period of the input signal by determining time period between the first zero space and the second zero space; and display the input signal using the calculated bit period as the basis for a scale.
According to yet another aspect of the present invention, a machine readable medium includes program for the machine to display an input signal. The program includes instructions for the machine to: sample the input signal; search for a zero space pattern in the sampled signal; determine, if zero space pattern is not found, whether non-return-to-zero (NRZ) autoscale is applicable; perform, if zero space pattern is found, the following: locate a first zero space; locate a second zero space, following the first zero space; calculate bit period of the input signal by determining time period between the first zero space and the second zero space; and display the input signal using the calculated bit period as the basis for a scale.
Other aspects and advantages of the present invention will become apparent from the following detailed description, taken in conjunction with the accompanying drawings, illustrating by way of example the principles of the invention.
As shown in the drawings for purposes of illustration, the present invention is embodied in a method of and apparatus (for example, a testing equipment) for displaying an incoming signal (“input signal”) by automatically scaling the X-axis by determining the bit period, or frequency, of the incoming signal. In summary, the technique includes a first step of sampling the signal. The sampled signal is searched for a zero space pattern. Then, a first zero space is located and a second zero space, following the first zero space, is located. A bit period of the input signal is calculated. Finally, the input signal is displayed using the calculated bit period as the basis for a scale.
A flowchart 20 of
Sampling the Input Signal
Referring to
TINTERVAL=(2 ps*10)/3,000
Search For a Zero Space Pattern
The step 30 of
Depending on the application or the implementation, the minimum number of data points may be a fixed number or a percentage of the total number of data points sampled. For example, in the illustrated sample graph, the total number of sampled points is 33. Here, the minimum number of data points below the threshold, VTHRES, used to define the zero space is 20 percent, or seven.
Accordingly, in the illustrated sample, points such as 33a, 33b, and 33c would not trigger or otherwise lead to finding of a zero space. Such is the correct result. In real life applications, the total number of data points sampled may be in the order of thousands or tens of thousands, and the percentage of the total number of data points to determine the minimum number of data points used in locating the zero space may range from ten to thirty percent, for example, twenty percent.
Referring again to
If the NRZ modulated signal autoscaling methods are applicable, then the NRZ modulated signal autoscaling techniques are used to autoscale the X-axis for displaying the input signal. Step 36. Various techniques are known in the art to autoscale and display NRZ modulated signals and are implemented in instruments such as Agilent 83480A Digital Communication Analyzer by Agilent Technologies, Inc. and Tektronix CSA8000 Digital Sampling Oscilloscope by Tektronix, Inc.
If the NRZ modulated signal autoscaling methods are not applicable, then the scale is adjusted (step 38), samples taken with the adjusted scale (Step 26), and the steps 31, 32, and 34 are repeated. To adjust the scale, the current scale can be increased by 50 percent. For example, if the current scale, TSCALE, is increased from two picoseconds to three picoseconds. However, if the adjusted scale is equal to or greater than a limit, then the autoscale operation terminates. Steps 40 and 42.
Locate a First Zero Space
If a zero space is found within the sample signal at decision step 32, then the zero space is located within the sampled signal. Step 50 of
The sampled (or re-sampled) signal is searched for a first zero space. Step 54. If found, the first zero space is defined by a first transition X1 and a second transition X2. The first transition X1 and the second transition time X2 of the first zero space are illustrated in
Locate a Second Zero Space
If the first zero space is found within the sample signal at decision step 56, then the sampled signal is searched for a second zero space. Step 70 of
If the second zero space is not found, decision step 76, then the time scale is adjusted and the input signal is sampled again. Step 78. For example, the time scale can be increased by 50 percent. Then, the steps 74 and 76 are repeated. If the adjusted time scale is equal to or greater than a limit (decision step 80), then the input signal is displayed using the scale from the first zero space only. Step 82. That is, the bit period is set as the duration of the first zero space, for X2−X1. Then, the time scale (X-axis) is set at some multiple of the but period, for example, 1.5 times the bit period when displaying the input signal.
Calculate the Bit Period and Display the Input Signal
If the second zero space is found within the sample signal at decision step 76, then bit period is calculated as period X3−X1. Step 90. Then, the time scale (X-axis) is set at some multiple of the but period, for example, 1.5 times the bit period when displaying the input signal to ensure that a complete period is displayed. Step 92.
Apparatus and Medium
The storage 66 is typically a machine readable medium such as a magnetic disc, optical disc, read only memory (ROM), random access memory (RAM), harddrive, compact disc (CD), flash memory, and solid state memory.
Although specific embodiments of the invention have been described and illustrated, the invention is not to be limited to the specific forms or arrangements of parts so described and illustrated. The invention is limited only by the claims.
This continuation-in-part (CIP) application claims the benefit under 35 U.S.C. Section 120 of U.S. patent application Ser. No. 10/027,604, entitled “Scaling Method and Apparatus for Displaying Signals” by Chenjing Fernando filed Oct. 19, 2001.
Number | Date | Country | |
---|---|---|---|
Parent | 10027604 | Oct 2001 | US |
Child | 11491600 | Jul 2006 | US |