The present invention is particularly concerned with a digital storage oscilloscope (DSO) employing a sequential sampling scheme, an equivalent time sampling method that allows a user to measure repetitive input signals with fine time resolution and a targeted delay range. A digital oscilloscope based on this invention can acquire waveforms with high time resolution while greatly reducing deterministic jitter.
A sequential time base acts as a kind of pulse generator, the input to which is an external repetitive (but sometimes aperiodic) trigger signal, and the output of which is a sampling pulse that is delayed from the trigger signal by a known, programmable amount of time.
A sequential sampling time-base is a variable delay generator that receives trigger signals and generates sampling pulses. These sampling pulses are positioned at predetermined delays from a stable trigger, thereby allowing the sampling point to progress a small amount each sampling interval, and therefore over time, sample enough points on a repetitive signal to reproduce the signal. The timing delay that is to be employed must allow for a particular precise delay to be generated so that the sampling point moves uniformly through the repetitive signal.
As will be described below, methods for generating this delay have used both analog and digital techniques for obtaining high time accuracy, typically a combination of a ramp generator and a startable oscillator. However the latter is burdened with a choice between overall stability and a quick response. As a result, the jitter specification employing such a system degrades rapidly as the delay time increases.
Prior attempts at providing such a predictable delay for a sequential timebase have met with less than complete success and generally fall into three categories. As is shown in
Referring next to
The output of the startable oscillator is used as a coarse time delay for a strobe generator. The strobe generator has a digital counter that is loaded with a coarse delay value from a controller. The output of the startable oscillator is applied to the counter which increments or decrements the counter. The counter increments to a terminal count or decrements to zero whereupon a strobe pulse is generated. This strobe pulse is applied to an analog time interpolator circuit that generates the fine time interval. The controller provides a digital threshold value to a digital-to-analog converter which converts the digital value to an analog threshold value which is applied to the interpolator circuit. The strobe signal from the counter initiates the generation of a ramp signal in the interpolator circuit. The interpolator circuit generates an output strobe pulse to a sampler circuit when the ramp signal equals the analog threshold value.
However, there are a number of problems with this type of system. Indeed, U.S. Pat. No. 5,959,479 issued to Woodward, titled “Sampling Timebase System” (1999) describes that in such a sequential timebase system, the frequency stability of the startable oscillator is compromised since the startable oscillator is designed to have a quick startup time. As a result, jitter becomes larger as the time delay increases.
Another approach is to use an internal high-Q oscillator as a coarse delay clock for counting clock cycles. While this produces a stable oscillation, in order to consider non-integer time intervals, an analog ramp is used, a first portion of the ramp time being used to track timing from trigger to a predetermined oscillation of the stable clock and a second portion of the ramp being used to track timing from the end of a predetermined number of clock oscillations to a predetermined voltage threshold indicative of the desired timing interval. This configuration is described, for example, in U.S. Pat. No. 4,260,912 issued to M. D. Bjorke, titled “Digital Delay Generator” (1981) in addition to a number of other patents. Such a scheme is depicted in
U.S. Pat. No. 5,402,019 issued to Drummond, and titled “Phase Startable Clock Device” describes a phase startable clock device having a crystal referenced clock. The phase startable clock device generates a sinusoidal signal, the phase of which corresponds to a time difference between a trigger input and an internal clock generated time. While the name “a phase startable clock device” is similar to a conventional startable oscillator, its principal operation is almost the same as the system depicted in
U.S. Pat. No. 6,411,244 issued to Dobos et al., titled “Phase Startable Clock Device For A Digitizing Instrument Having Deterministic Phase Error Correction” (2002), U.S. Pat. No. 6,384,657 issued to Dobos et al., titled “Phase Startable Clock Device Having Improved Stability” (2002), and U.S. Pat. No. 6,522,983 issued to Dobos et al., titled “Timebase Calibration Method For An Equivalent Time Sampling Digitizing Instrument (2003) recognize the shortcomings of the above system of
Therefore, it would be beneficial to provide an improved system and apparatus allowing for a more stable timebase in a sequential timebase system that sufficiently reduced deterministic jitter.
In accordance with the invention, the inventors have recognized that prior solutions have produced results that are insufficient to provide a stable timing delay. A typical sampling rate of a sequential sampling oscilloscope has been 100 KSps for more than 40 years. However, with the advent of ever faster electronic components, the inventors of the present invention have determined that data acquisition throughput may be raised, employing modem samplers from various manufacturers that may work at rates at 1 MSps or more, and also employing data-conversion devices that work at several tens of MSps with sufficient resolution.
In an oscilloscope, such as a LeCroy® sampling digital oscilloscope employing the present invention and operating at such a data acquisition speed, a periodic strobe output from a pulse generator may be generated, and correlated to a repetitive input signal, having less than 1 picosecond time resolution and less than a few picoseconds jitter for a delay range from about 20 nanoseconds to more than 1 microsecond. The invention employs a three part scheme for generating such a result. These include generating a fine analog delay by using a dual stage ramp providing a high time resolution, counting using a high-Q stabilized internal clock for generating a long delay and less jitter, and greatly reducing deterministic jitter caused by the combination of a finite settling time of a ramp hold signal. Aberrations of the ramp hold signal include hold decay and ramp non-linearity, and are addressed by using time difference information between the trigger and the internal clock, obtained by a TDC (time-to-digital converter) and a predetermined coarse delay count, to generate a calibration table to correct for various timing delays.
It is therefore an object of the invention to provide an improved method and apparatus for generating a stable, low jitter sequential timebase.
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:
a, 1b and 1c are graphs depicting operation of prior art instruments;
a is a flowchart diagram for generating a look up calibration table in accordance with a preferred embodiment of the invention;
b-9i-2 depict data at various stages of generating look up calibration tables in accordance with the invention; and
One possible architecture for a Delaying Pulse Generator (DPG) employing a dual stage ramp is presented in accordance with the invention in an attempt to provide a more precise elapsed time interval Td 205. As is shown in
After reaching the end of the first portion of the ramp 220, a digital counting scheme is initiated to count a number of clock pulses spanning a time Tc equal to a desired integer number of digital clock pulses. In
The generated delay Td is expressed by the following equation, provided that the ramps do not have any non-linearity and there is no drift of the voltage value 222 (Vcomp) between the end of the first ramp portion 220 and the beginning of the second ramp portion 230.
Td=Vcomp/SR+n*Tc+(Vthresh−Vcomp)/SR=Vthresh/SR+n*Tc (1)
where SR is the slew rate of both ramps.
As is seen from Equation 1, Td is determined depending on Vthresh and n, but not on Vcomp. In turn, the Vthresh 235 is selected to define a fine delay, finer than can be achieved by the coarse clock. The lower this value, the earlier the ramp portion 230 reaches Vthresh, and therefore the earlier after the final clock pulse that the sample pulse will be issued. In a preferred embodiment, the clock pulse operates at 1.25 GHz, thereby defining a time between each clock pulse of 800 picoseconds. The value of Vthresh 235 is maintained in a 13 bit DAC, and therefore defines approximately 8000 different values or levels. As the ramp moves up at a constant slope, these 8000 values for Vthresh correspond to dividing the 800 picosecond time frame into 8000 divisions, or 100 femtosecond time intervals. Thus, in accordance with a preferred embodiment of the invention, it is possible to progress along a repetitive waveform and sample waveform points separated by 100 femtoseconds. Along with this progression, a TDC value 320 (see
A timing chart depicting the sequence of operation for acquiring one sample data, in accordance with a preferred embodiment of the invention is next shown in
After a predetermined number of clock cycles have been counted by delay counter 310, time n*Tc has been reached, and ramp generation 230 begins and continues until the voltage 230 reaches a predefined threshold value 235. As noted above, the predefined threshold value 235 may be one of approximately 8000 values, corresponding to one of 8000 timing intervals for a single clock pulse. While 8000 points is a maximum number, the number of points actually depends on the actual defined time window. Thus, to sample each of the 8000 points within a clock pulse, during each iteration for collecting a sample, the 13 bit DAC for setting the voltage level 235 is incremented by a predefined amount equal to one of a plurality of predefined levels, or another desired increase level based upon the actual defined time window. When the ramp voltage 230 equals the predefined voltage Vthresh the system is at time 240, and the sample pulse is generated. During a following time period 345, the ramp voltage 230 is then discharged back to substantially zero volts (not shown in
Simultaneously with the counting of asynchronous clock cycles and the second ramp generation voltage rise, until the delay time has elapsed, the value of Vcomp is digitized within 250 nanoseconds by “TDC” and its result is sent to a processor for time compensation as will be discussed below. A holdoff count 340 is provided for approximately 750 nanoseconds. This holdoff period allows for a maximum sampling rate of 1 MHz. A longer holdoff period can be employed if a lower sampling rate were to be acceptable. Once reset, the system is once again placed in a trigger waiting state 305, awaiting a next trigger.
Referring back to
The trailing edge of the 9th burst clock is also sent to the D/A converter and acts as a write clock. The D/A converter outputs an analog level value equal to the previously measured Vcomp. Then SW3 is driven from off to on, and the analog level equal to Vcomp is output to a hold capacitor via a high resistance resistor (in this example, approximately 100KΩ, or more) for holding the stored ramp value equal to the measured Vcomp for a relatively long period of time. Since the feedback of Vcomp is performed through a high resistance resistor, there is no abrupt change in the ramp hold value, so that there is no discontinuity between different delay times.
Two flags are sent to the processor respectively. Flag 1 is generated after the trigger pulse is output. Flag 2 is generated after SW3 is switched to the on position. Receiving both flags, the processor generates a reset pulse for the time base. In this example, if the reset pulse is received more than 750 ns since Flag 2 has arrived, the processor immediately (within approximately 16 ns) releases the holdoff signal. If the reset pulse is received less than 750 ns after Flag 2 arrives, the processor waits the full 750 ns interval and then releases the holdoff signal to ensure that the maximum sampling rate is no more than 1 MHz.
Referring next to
When a trigger 210 is received, ramp generation is started. However because the trigger and the clock are asynchronous in nature, the actual value achieved for the ramp hold voltage may vary, thus giving a range of values 422 that might be measured as the Vcomp value 222. This range of values 422 refers to variation in Vcomp for a given timing relationship between the trigger pulse and the clock edge.
If ramp 220 were linear, the Vcomp value 222 would represent the time difference between trigger 210 and clock pulse 223 precisely. However if a range of possible ramps 420 (corresponding to ideal linear ramp 220) are not linear, the Vcomp value 222 does not precisely represents the time difference between the trigger 210 and the clock 223. Similarly, if ramp 230 is linear and the start level of Vcomp 222 represents the time difference precisely, the delay time between the trigger 210 and the sample pulse generation 240 is generated at the intersection of the ramp voltage 230 and the predetermined threshold 235, is the same regardless of any different value of Vcomp 222 chosen from the range 422. However because the actual ramp corresponding to ideal linear ramp 220 is not perfectly linear, and is instead represented by a range of possible ramps 430 so that Vcomp 222 does not precisely represent the time difference between the trigger 210 and clock pulse 223. Also hold waveform of Vcomp 222 may have a number of different aberrations such as overshoot, ringing or rounding error. Furthermore, the level of hold decay (the amount of decay of the ramp hold voltage level during the clock pulse counting stage) depends on the actual of value 422. Also because an actual ramp chosen from the range of possible ramps 430 (corresponding to ideal ramp 230) is not linear, so that the delay between the start time of ramp 430 and the sample pulse generation 240 does not precisely represent the voltage difference between the predetermined threshold 235 and Vcomp 222. Thus, as is shown in
As is clear from the explanation above, in case that the ramps chosen from the possible ramps 420 and 430 have non-linearities (usually different non-linearity), different waveform shapes, and different hold characteristics, the precise timing of the issuance of the sampling command at the end of time Td fluctuates depending on the time difference between the trigger 210 and clock pulse 223. In turn, delay time between trigger 210 and generation of sampling pulse 240 exhibits jitter. This jitter is a function of both the time difference between trigger 210 and clock pulse 223 and the hold period. Therefore, in accordance with the invention, for each combination of time difference and hold period a calibration procedure can be performed as described below so that each time a particular time difference and hold period are employed in the future, a known correction to the timing of the signals can be provided.
This calibration is particularly applicable to the dual ramp generator of the type described in accordance with the invention. Indeed, in the case of a startable oscillator such as that described in
a shows a flow-chart for generating a look up table (calibration table) in accordance with a preferred embodiment of the invention to provide the appropriate time to be added to, or subtracted from, the designated sampling time to correct for inconsistencies in the timing of the sampling pulses due to the various nonlinearities and inconsistencies noted above.
As is shown in
At step 903, a known signal, such as a 10 GHz sinusoid (in a preferred embodiment) is input into both a sampler input and a trigger input of an oscilloscope. After an appropriate period of time has passed, corresponding to the designated coarse and fine delay values set in steps 901 and 902, therefore corresponding to a nominal fine delay of “td”, and a coarse delay count of “n”, the oscilloscope samples the input 10 GHz waveform at a number of trigger times and acquires instantaneous level “Vin” of the sinusoidal input. At the same time, the sequential time-base acquires the TDC value as described above, which corresponds to time difference between each trigger input time and clock generated time. After acquiring N samples (for example N=200) for each nominal delay (in order to average out random jitter, thereby being left with only deterministic jitter that can be compensated for) the following set of data is obtained. Namely, for a single delay value td1, samples are taken for a first TDC value (1,1) and a first Vin level (1,1). Then, for the same td1, a a sample is taken for a second TDC value (1,2) and Vin value (1,2). This process continues for the first td1 until N values for TDC and Vin are sampled, as represented as follows:
{(td1,TDC11,Vin11), (td1,TDC12,Vin12) - - - (td1,TDC1N,Vin1N)},
Thereafter, a new delay value td2 is set and a corresponding N time samples are taken again. As a result, for the first and second td values, the following data is obtained:
{(td1,TDC11,Vin11), (td1,TDC12,Vin12) - - - (td1,TDC1N,Vin1N)},
{(td2,TDC21,Vin21), (td2,TDC22,Vin22) - - - (td2,TDC2N,Vin2N)}.
This process continues over a range of delays, defined as a nominal fine delay range (tdmax-tdmin). The value of the fine delay is incremented Δtd during each iteration to cover all desired td values, and to therefore to cover the entire range of fine delay times corresponding to a particular coarse delay time. The incremental value Δtd is determined as follows:
M=80 (dividing the fine delay range is into 80 fine levels) is considered to be appropriate for making a calibration table in accordance with the preferred embodiment of the invention;
Δtd=Tc/M=10 ps, where Tc is the clock period (800 ps)
td max=Tc+(0.05*M−1)*Δtd=832 ps,
td min=−0.05*M*Δtd=−40 ps
As can be recognized from the above, tdmin and tdmax extend beyond the clock period Tc, to allow for any delay time uncertainty, which is caused by random and deterministic jitter in the system. As a result, there are 88(=1.1*M) data points of fine delay.
Changing tdi 87 times during the above noted sampling acquisition for each coarse delay count, a data table including data sampled for each of 88 tdi time points* 200 measured values for each of the time points is generated. By sorting data (defining the first priority as td, and the second priority as TDCij), the following raw waveform table is generated as shown. (Note that TDCik≠TDCjk, even though they are arranged in the same column. However TDCij≦TDCi(j+1).)
{(td1,TDC11,Vin11), (td1,TDC12,Vin12), - - - , (td1,TDC1,200,Vin1,200)}
{(td2,TDC21,Vin21), (td2,TDC22,Vin22), - - - , (td2,TDC2,200,Vin2,200)}
{(td88,TDC88,1,Vin88,1), (td88,TDC88,2,Vin88,2), - - - , (td88,TDC88,200,Vin88,200)}
b shows a three dimensional representation of this table as an example, which includes content is as follows:
{Vin11, Vin12, - - - , Vin1,200}
{Vin21, Vin22, - - - , Vin2,200}
{Vin88,1, Vin88,2, - - - , Vin88,200}
Along the td-axis (labeled delay order), a sinusoidal waveform {Vink1, Vink2, - - - , Vink,200} is observed. However its shape is rough because corresponding TDCs are different.
c shows a 2 dimensional representation of {TDC, Vin} for a specific td “tdi”, which includes content as follows:
{(TDCi1,Vini1), (TDCi2,Vini2), - - - , (TDCi,200,Vini,200)}
Therefore, in step 904 of
y=6856.53−32871.3x+67056.3x2−75498.1x3+50696.3x4−20312.6x5+4498.43x6−424.941x7
By comparing
Using these fitting equations, at step 905, a new Reference Waveform Table is calculated for each calculated Vin′. Its content is as follows;
{(td1,TDC1,Vin′11), (td1,TDC2,Vin′12), - - - , (td1,TDC89,Vin′1,89)}
{(td2,TDC1,Vin′21), (td2,TDC2,Vin′22), - - - , (td2,TDC89,Vin′2,89)}
{(td88,TDC1,Vin′88,1), (td88,TDC2,Vin′88,2), - - - , (td88,TDC89,Vin′88,89)}
Each new TDCk is determined as follows, (M=80 is considered to be appropriate for making calibration table, and estimated values for TDCmin and TDCmax are 1.3 and 1.8 respectively).
TDCk=(TDCmax−TDCmin)/(M−1)*k+TDCmin, where −M/20≦k≦M+M/20 and is 89.
Extended k(from k=−M/20 to 0, and from k=M to M+M/20) are provided to account for the case that actual TDC values might exceed estimated TDCmin or TDCmax by an amount attributable to noise or jitter in the system. At step 906, this process is completed for each value of the find delay.
Next, at step 907,
{Vin′11, Vin′12, - - - , Vin′1,89}
{Vin′21, Vin′22, - - - , Vin′2,89}
{Vin′88,1, Vin′88,2, - - - , Vin′88,89}
In
First at step 909,
f(t)=1.00007*sin [20π(0.0285048+t)] (2)
Next, time differences between 88 dots and the fitting curve in
Δt+to=ArcSin [Vin′i,45/Amp/(2π*10 GHz)]−Mod [tdi, 1/10 GHz] (3)
where to=28.5048 ps and Amp=1.00007 in Equation (2), and Mod [m,n] gives the remainder based upon the division of m by n. The relationship between these differences is shown in
h and Equation (4), below, show a polynomial fitting result for
f4(x)=−562371+203561x−27609.9x2+1663.26x3−37.5508x4 Eq.D
Next, in step 913, iterating the same procedure for all columns from TDC1 to TDC89, a calibration table is obtained for tdi from 10.6 ns to 11.47 ns in step 914, thus accounting for all fine delay values (Coarse delay is 7.2 ns(=Tc*9) and delay offset is 3.4 ns. A fundamental fine delay range is from 10.6 ns to 11.39 ns, and an additional range from 11.40 ns to 11.47 ns is provided to account for any overlap). This table is shown in
Additional range from 11.32 ns to 11.39 ns is provided for overlap). Because of the overlap times provided, there may be different compensated times Δts for the same value of time delay {tdi,TDCj}, in the overlapping range (in this case the overlapped range (from tdi=11.32 ns to tdi=11.47 ns) Thus, depending on the coarse delay value, the correct compensated value is selected
Referring to
By preparing calibration tables for each coarse delay count (i.e. each Td corresponding to the number of clock cycles to be included when Vcomp is maintained at a constant level, deterministic jitter is reduced over the entire timing delay range (from less than 10 ns to 1 m second).
The first graph in
It can be seen that the δt Figure changes rapidly at every coarse delay of 0.8 ns in a short delay time range, and the δt Figure remains almost the same at every coarse delay of 0.8 ns in long delay time range. The rapidly changing δt Figure change mainly corresponds to aberration (waveform distortion) of the hold signal Vcomp 222 about range 422 (see
In accordance with the invention, a timebase can be calibrated from a short delay range to a long delay range and can reduce deterministic jitter over a very wide range. Therefore, the use of a startable clock device for short delay range to guarantee desirable jitter characteristics (shown in U.S. Pat. No. 6,411,244 as gated OSC 16) is not necessary.
While this feature of calibration is quite valuable for shorter delay times, it is not necessary to prepare such calibration tables for large delay counts (long Td). Because the switching aberration non-linearity at the time of generating the ramp does not last a long time (usually switching settling time to 0.1% is 100 ns or less), for large delay counts, this variation is not important. The following simulation results agree with this consideration. As is shown in
While this invention has been described as applicable to a dual ramp generator, it is equally applicable to a system employing a phase startable clock device. The additional independent variables used for generating the calibration table improves upon any calibration that may have been performed related to such an apparatus.
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/650,985, entitled “Sampling Scope”, filed Feb. 7, 2005, and U.S. Provisional Patent Application Ser. No. 60/656,617, entitled “Sequential Timebase”, filed Feb. 25, 2005.
Number | Name | Date | Kind |
---|---|---|---|
4260912 | Bjorke | Apr 1981 | A |
5349612 | Guo et al. | Sep 1994 | A |
5402019 | Drummond et al. | Mar 1995 | A |
5959479 | Woodward | Sep 1999 | A |
6384657 | Dobos | May 2002 | B1 |
6411244 | Dobos et al. | Jun 2002 | B1 |
6522983 | Dobos et al. | Feb 2003 | B1 |
6917229 | Cho | Jul 2005 | B2 |
Number | Date | Country | |
---|---|---|---|
20060178850 A1 | Aug 2006 | US |
Number | Date | Country | |
---|---|---|---|
60656617 | Feb 2005 | US | |
60650985 | Feb 2005 | US |