METHOD FOR MEASURING THE WAVEFORM CAPTURE RATE OF A DIGITAL STORAGE OSCILLOSCOPE BASED ON AVERAGE DEAD TIME MEASUREMENT
A method for measuring waveform capture rate (WRC) of DSO based on average dead time measurement. First generating ramp signal or symmetric triangular wave signal as base signal, a trigger signal, the frequency which is higher than the nominal maximum waveform capture rate of the DSO under measurement; secondly, setting the parameters of DSO for measuring; then obtaining a plurality of test signals by delaying base signal K times with different delay time, for each test signal, inputting it the trigger signal simultaneously to DSO, calculating dead time between two adjacent captured waveforms according to their initial voltages, finally calculating waveform capture rate based on average dead times. The waveform capture rate obtained can effectively reflect the overall capturing capacity of DSO, more tellingly, the waveform capturing capacity of acquisition system of DSO.
Latest UNIVERSITY OF ELECTRONIC SCIENCE AND TECHNOLOGY OF CHINA Patents:
- LATERAL POWER SEMICONDUCTOR DEVICE
- ENDOSCOPIC IMAGE SEGMENTATION METHOD BASED ON SINGLE IMAGE AND DEEP LEARNING NETWORK
- Ranging systems of a dual optical frequency comb time-of-flight manner based on dispersive Fourier transform
- Low-noise millimeter-wave fractional-N frequency synthesizer
- Terahertz full-duplex co-local oscillator solid-state front-end transmitting circuit
This application claims priority under the Paris Convention to Chinese Patent Application No. 201510372830.1, Filed Jun. 30, 2015, the entirety of which is hereby incorporated by reference for all purposes as if fully set forth herein.
The present invention relates to digital storage oscilloscope (DSO), more particularly to a method for measuring the waveform capture rate (WRC) of a DSO based on average dead time measurement.
BACKGROUND OF THE INVENTIONDigital storage oscilloscope is increasingly used in time-domain measurement, and the waveform capture rate is an important indicator of performance for the data acquisition and processing of a DSO. Waveform capture rate can be defined as “the number of waveforms which an oscilloscope can capture and display in unit time”, and usually be expressed as waveforms per second (wfms/s), it indicates the size of amount of information acquired and displayed by an acquisition system in unit time. A higher waveform capture rate indicates the stronger capacity of an oscilloscope for capturing accidental event.
The novel parallel digital storage oscilloscope, also called as digital three-dimensional oscilloscope, differs from conventional digital storage oscilloscope. The first difference is what displayed on parallel DSO is three dimensional waveform information: time, amplitude, and amplitude distribution along with the time. The second difference is the acquisition and processing of waveform data and the operation of MPU are parallel, so the dead time is greatly reduced. Although the dead time is reduced in parallel DSO, no matter how short the dead time is, it still exists. For parallel DSO, which emphasizes the capture of waveform details, the waveform capture rate is also an important indicator of performance, it determines the capacity to capture the information of waveform. Therefore, it is very necessary to measure the waveform capture rate of a parallel DSO.
We have put forward a method for measuring the waveform capture rate of a DSO, which has been granted a patent on Jun. 1, 2011 with No. CN101281224B. The method is also called as “Double Pulses Measurement”, and fills the gap of measuring the WCR of a DSO. However, with this method, only the transient waveform capture rate of a DSO can be measured, and the results just reflect the waveform capture rate at the moment of measurement.
On the basis of double pulse measurement, and considering the asymmetry of acquisition and the refreshing time of parallel DSO, the U.S. Patent Application Publication No. U.S. 2014/0188419 A1, filed by us on Oct. 18, 2013, entitled “Method for Measuring the Waveform Capture Rate of Parallel Digital Storage Oscilloscope”, herein incorporated by reference, provides a step amplitude-frequency combined pulse measurement to measure the time for waveform acquisition and mapping Tmap, the number of captured waveforms before LCD refreshing Wacq and the dead time caused by LCD refreshing TDDT, and then calculates the actual measured average waveform capture rate of a parallel DSO, according to the measured data, so that the waveform capture rate of a parallel DSO can be measured. The described “Method for Measuring the Waveform Capture Rate of Parallel Digital Storage Oscilloscope” has improved the accuracy of measuring the waveform capture rate, however, it is too many steps to proceed with. For example, when locating the position of dead time caused by LCD refreshing of Tektronix DPO4034, 27 step amplitude-frequency combined pulses are needed, the efficiency of measuring the waveform capture rate is comparatively low.
SUMMARY OF THE INVENTIONThe present invention aims to overcome the deficiencies of prior art and provides method for measuring the waveform capture rate (WRC) of a DSO based on average dead time measurement, so that the waveform capture rate can be obtained more accurately with more efficiency.
To achieve these objectives, in accordance with the present invention, a method for measuring the waveform capture rate of a DSO based on average dead time measurement is provided, comprising the following steps:
S1: generating a ramp signal or symmetric triangular wave signal as a base signal, its lasting time is T, its difference between the maximum amplitude and the minimum amplitude is S;
S2: generating a trigger signal, the frequency g of which is higher than the nominal maximum waveform capture rate of a DSO under measurement;
S3: setting trigger parameters of the DSO according to the base signal and the trigger signal as edge trigger, normal trigger mode, and the trigger source is the input channel of the trigger signal; setting the horizontal scale of the DSO under the fastest real-time sampling rate or the given maximum waveform capture rate, the corresponding acquisition time is h; setting the display mode of the DSO as dot display and infinite persistence; setting the memory depth of the DSO as minimum;
S4: obtaining a plurality of test signals by delaying the base signal K times, the k th delay time is τk, τk+1>τk, where k is a serial number of the delays, and 1≦k≦K; for each test signal, a plurality of dead times are obtained according to the following steps:
inputting the trigger signal and the test signal simultaneously to the DSO; under the action of the trigger signal, the DSO samples the test signal at maximum waveform capture rate;
after the pre-set testing time τk+T passes, closing the trigger signal, and measuring the initial voltage of each captured waveform displayed on the DSO, where the waveform having the same slope belongs to one group, the initial voltage of each captured waveform is noted as vij along the sequence in vertical direction, where i is the group number of captured waveforms, the value scope of i is 1≦i≦M, M is the number of groups of captured waveforms, j indicates the j th captured waveform in the i th group of captured waveforms; then calculating the dead time between two adjacent captured waveforms according to the following equation:
recording each dead time dij,j+1 between two adjacent captured waveforms to obtain the plurality of dead times;
S5: calculating the average of the plurality of dead times of the k th signal to obtain a average dead time Dk;
then recording each average dead time of each test signal to obtain a collection of average dead times D={D1, D2, . . . , Dk, . . . , DK}, then calculating the average value
S6: calculating the waveform capture rate W of the DSO according to the following equation:
The objectives of the present invention are realized as follows:
The present invention comprises the following steps: first generating a ramp signal or symmetric triangular wave signal as a base signal, and a trigger signal, the frequency of which is higher than the nominal maximum waveform capture rate of the DSO under measurement; secondly, setting the parameters of the DSO for measuring; then obtaining a plurality of test signals by delaying the base signal K times with different delay time, for each test signal, inputting it and the trigger signal simultaneously to the DSO, under the action of the trigger signal, the DSO sampling the test signal at maximum waveform capture rate, and obtaining the initial voltage of each captured waveform along the sequence in vertical direction, calculating the dead time between two adjacent captured waveforms according to the their initial voltages, finally calculating the waveform capture rate based on average dead times.
The present invention proposes a method for measuring the average waveform capture rate based on the relationship between the waveform capture rate of system and dead time. Using a ramp signal or symmetric triangular wave signal, the waveform capture rate of a DSO can be calculated by measuring the average dead time. The present invention is simple and easy for use, and the waveform capture rate obtained can effectively reflect the overall capturing capacity of a DSO, more tellingly, the waveform capturing capacity of the acquisition system of a DSO.
The above and other objectives, features and advantages of the present invention will be more apparent from the following detailed description taken in conjunction with the accompanying drawings, in which:
Hereinafter, preferred embodiments of the present invention will be described with reference to the accompanying drawings. It should be noted that the similar modules are designated by similar reference numerals although they are illustrated in different drawings. Also, in the following description, a detailed description of known functions and configurations incorporated herein will be omitted when it may obscure the subject matter of the present invention.
EmbodimentsS201: Generating a base signal
The base signal used in present invention is a signal with linear variation of voltage amplitude. For example, the ramp signal, as shown in
S202: Generating a trigger signal
The frequency g of the trigger signal is higher than the nominal maximum waveform capture rate of a DSO under measurement;
S203: Setting the DSO
According to the base signal and the trigger signal, trigger parameters of the DSO are set as edge trigger, normal trigger mode, and the trigger source is the input channel of the trigger signal; and the horizontal scale of the DSO is set under the fastest real-time sampling rate or the given maximum waveform capture rate, the corresponding capture time is h; the display mode of the DSO is set as dot display and infinite persistence; and the memory depth of the DSO is set as minimum. In addition, the vertical scale is adjusted to an appropriate sensitivity range according to the amplitude of the test signal, so that the test signal can be observed clearly;
S204: Letting the serial number k=1;
S205: Setting the delay time to obtain a test signal;
The delay time of the k th test signal is set as τk, τk>τk−1. Since the delay time determines the effective time scope of measurement, the actual delay time is set according to the requirement of the actual measurement. And the k th test signal is obtained by delaying the base signal for delay time τk;
S206: Inputting the trigger signal and the test signal simultaneously to the DSO
The input channels of the trigger signal and the test signal is selected in light of actual condition of the DSO. Under the action of the trigger signal, the DSO samples the test signal at maximum waveform capture rate. As shown in
S207: Measuring the initial voltages of the captured waveforms
Timing starts when the trigger signal and the test signal are inputted simultaneously to the DSO; After the pre-set testing time τk+T passes, the trigger signal will be closed, then we can measure the initial voltage, i.e. the voltage at the start point of each captured waveform displayed on the DSO, where the waveform having the same slope belongs to one group, the number of waveforms of each group is greater than 1, the initial voltage of each captured waveform is noted as vij along the sequence in vertical direction, where i is the group number of captured waveforms, the value scope of i is 1≦i≦M, M is the number of groups of captured waveforms, j indicates the j th captured waveform in the i th group of captured waveforms;
S208: Calculating the dead time between two adjacent captured waveforms;
According to the initial voltages of two adjacent captured waveforms, the dead time between the two adjacent captured waveforms can be calculated, The calculation formula of the capture cycle tij of the j th captured waveform is:
The dead time dij,j+1 calculation formula of two adjacent captured waveforms can be derived based on the above formula as:
-
- the average dead time Dk is obtained by calculating the average of the plurality of dead times of the k th signal;
S209: Determining whether k<K , where K stands for maximum test times, i.e the number of test signals, and if so, going to step S210; otherwise, step S211;
S210: Letting k=k+1, returning to step S205;
S211: Recording all the average dead times;
Each test signal corresponds to a plurality of dead times and different test signal may result in different number of dead time. Recording all the average dead times acquired from K test signals to obtain a collection of dead times D={D1, D2, . . . , Dk, . . . , DK } where K is the total number of average dead times, k is the serial number of the collection of dead times, Dk is the k th dead time of the collection of dead times,
S212: Calculating average value;
The calculation formula for average value
S213: Calculating the waveform capture rate W of the DSO;
According to the average value
In the measuring, the programmable arbitrary waveform generator is AWG5014B from the Agilent, its sample rate is 1.2 Gs/S, the vertical resolution is 14-bits and the memory depth is 32 M. The ramp signal is generated by programming it.
In accordance with the present invention, the measured WCRs of 4 typical DSOs are shown in Table 1.
From the Table 1, it can be seen that measured WCRs of DPO4064B, WaveRunner 104Xi-A, and DS4024 are lower than their nominal WCR respectively, And only DP07254C conforms to its nominal WCR.
While illustrative embodiments of the invention have been described above, it is, of course, understood that various modifications will be apparent to those of ordinary skill in the art. Such modifications are within the spirit and scope of the invention, which is limited and defined only by the appended claims.
Claims
1. A method for measuring the waveform capture rate of a DSO based on average dead time measurement, comprising the following steps: d i j, j + 1 = ( v i j + 1 - v i j ) T MS - h; D _ = 1 K ∑ k = 1 K D k; W _ = 1 D _ + h.
- S1: generating a ramp signal or symmetric triangular wave signal as a base signal, its lasting time is T, its difference between the maximum amplitude and the minimum amplitude is S;
- S2: generating a trigger signal, the frequency g of which is higher than the nominal maximum waveform capture rate of a DSO under measurement;
- S3: setting trigger parameters of the DSO according to the base signal and the trigger signal as edge trigger, normal trigger mode, and the trigger source is the input channel of the trigger signal; setting the horizontal scale of the DSO under the fastest real-time sampling rate or the given maximum waveform capture rate, the corresponding acquisition time is h; setting the display mode of the DSO as dot display and infinite persistence; setting the memory depth of the DSO as minimum;
- S4: obtaining a plurality of test signals by delaying the base signal K times, the k th delay time is τk, τk+1>τk, where k is a serial number of the delays, and 1≦k≦K; for each test signal, a plurality of dead times are obtained according to the following steps:
- inputting the trigger signal and the test signal simultaneously to the DSO; under the action of the trigger signal, the DSO samples the test signal at maximum waveform capture rate; after the pre-set testing time τk+T passes, closing the trigger signal, and measuring the initial voltage of each captured waveform displayed on the DSO, where the waveform having the same slope belongs to one group, the initial voltage of each captured waveform is noted as vij along the sequence in vertical direction, where i is the group number of captured waveforms, the value scope of i is 1≦i≦M, M is the number of groups of captured waveforms, j indicates the j th captured waveform in the i th group of captured waveforms; then calculating the dead time between two adjacent captured waveforms according to the following equation:
- recording each dead time dij,j+1 between two adjacent captured waveforms to obtain the plurality of dead times;
- S5: calculating the average of the plurality of dead times of the k th signal to obtain a average dead time Dk;
- then recording each average dead time of each test signal to obtain a collection of average dead times D={D1, D2,..., Dk,..., DK},; then calculating the average value D of all average dead times, according to the following equation:
- S6: calculating the waveform capture rate W of the DSO according to the following equation:
Type: Application
Filed: May 4, 2016
Publication Date: Jan 5, 2017
Patent Grant number: 10119997
Applicant: UNIVERSITY OF ELECTRONIC SCIENCE AND TECHNOLOGY OF CHINA (Chengdu)
Inventors: Qinchuan ZHANG (Chengdu), Kuojun YANG (Chengdu), Lianping GUO (Chengdu), Hao ZENG (Chengdu), Jia ZHAO (Chengdu), Jinpeng SONG (Chengdu)
Application Number: 15/146,227