CN101666819B - Digital oscilloscope signal equivalent sampling method - Google Patents

Digital oscilloscope signal equivalent sampling method Download PDF

Info

Publication number
CN101666819B
CN101666819B CN200910108939A CN200910108939A CN101666819B CN 101666819 B CN101666819 B CN 101666819B CN 200910108939 A CN200910108939 A CN 200910108939A CN 200910108939 A CN200910108939 A CN 200910108939A CN 101666819 B CN101666819 B CN 101666819B
Authority
CN
China
Prior art keywords
sampling
pos
digital oscilloscope
waveform
time
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN200910108939A
Other languages
Chinese (zh)
Other versions
CN101666819A (en
Inventor
秦轲
邵海涛
赵亚锋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Siglent Technologies Co Ltd
Original Assignee
Shenzhen Siglent Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Siglent Technologies Co Ltd filed Critical Shenzhen Siglent Technologies Co Ltd
Priority to CN200910108939A priority Critical patent/CN101666819B/en
Publication of CN101666819A publication Critical patent/CN101666819A/en
Application granted granted Critical
Publication of CN101666819B publication Critical patent/CN101666819B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Measurement Of Current Or Voltage (AREA)

Abstract

The invention relates to a digital oscilloscope signal equivalent sampling method, comprising the following steps: acquiring the time difference deltat between the trigger time of a signal waveform and the first sampling time after the trigger time; amplifying time pulses of deltat and sampling clock cycle t0 time pulses by N times; calculating the time t of a sampling point in the sampling clock cycle t0 with the computational formula t=deltat/t0; calculating the position pos of the sampling point in the sampling clock cycle with the computational formula pos=t*N; judging whether pos is within a presupposed range, if yes, placing the sampling point in a corresponding position in the waveform of the frame according to the pos value, and if not, discarding the sampling point; changing the phase of the sampling point by 180 degrees; and repeating the above steps. In the digital oscilloscope signal equivalent sampling method, a sampling clock with two inverse ways is utilized for sampling, thereby effectively eliminating the phenomena of uplift and burr.

Description

Digital oscilloscope signal equivalent sampling method
Technical field
The present invention relates to the digital oscilloscope field, relate in particular to a kind of digital oscilloscope signal equivalent sampling method.
Background technology
The digital oscilloscope signal method of sampling mainly contains real-time sampling mode and equivalent sampling mode.The triggering of the signal waveform of digital oscilloscope sampling exists a mistiming constantly and between first initial sampling instant of sampling clock; Delivering to that stretch circuit amplifies by certain multiple (for example N doubly) to this mistiming should the mistiming; Then calculate position pos according to this mistiming, sampled point that again will this time is placed in the correct position in this frame waveform by the pos value.This just is equivalent to a sampling clock cycle has been amplified N doubly, and through repeatedly sampling, it has constituted a frame waveform.But deliver to different module constantly and measure owing to implement to need to trigger, cause different module wherein to have the mistiming constantly, cause the waveform of reproduction phenomenon or burr phenomena often to occur swelling for the triggering of measurement.
Summary of the invention
In view of this, be necessary the problem of phenomenon or burr phenomena to occur swelling, a kind of digital oscilloscope signal equivalent sampling method that can eliminate protuberance phenomenon or burr phenomena is provided to the conventional digital oscilloscope signal equivalent sampling method.
A kind of digital oscilloscope signal equivalent sampling method comprises: the mistiming Δ t between first sampling instant after obtaining the triggering moment of signal waveform and triggering constantly; With Δ t and sampling clock cycle t 0Time pulse amplifies N doubly; Calculate certain sampled point at sampling clock cycle t 0In moment t, computing formula is t=Δ t/t 0Calculate this sampled point at the position pos of sampling clock in the cycle, computing formula is pos=t*N; Judge pos whether in preset scope, the difference of the two-end-point of said preset scope is N/2, if, then this sampled point is placed in the position corresponding in this frame waveform by pos value, if deny, then give up this sampled point; With 180 ° of the phase changes of sampling clock; Repeat above-mentioned steps.
Preferably, said preset scope is [N/2, N].
Preferably, said preset scope is [N/4,3N/4].
Preferably, the number of times of above-mentioned steps repetition is greater than N time.
According to long-term debugging and test; We find the waveform of that section protuberance or a certain section (for example a certain section of first half) that jagged waveform generally appears at a sampling clock cycle; Therefore above-mentioned improved digital oscilloscope signal equivalent sampling method is through giving up this section waveform; A certain portion waveshape to beyond this section waveform is sampled; The waveform that this section of waveform polishing that utilizes the opposite sampling clock in another road to gather then given up so just can obtain the waveform in a complete sampling clock cycle, thereby has effectively eliminated protuberance phenomenon and burr phenomena.
Description of drawings
Fig. 1 is the schematic diagram that adopts the signal sampling method of equivalent sampling mode.
Fig. 2 is the process flow diagram of improved digital oscilloscope signal equivalent sampling method.
Embodiment
Equivalent sampling is that signal waveform is repeatedly sampled, and is placed in the size of the data of each sampling according to the mistiming Δ t between first sampling instant after triggering the moment and triggering constantly on the time corresponding axle, thereby forms a complete waveform.For example the frequency of sampling clock is 100MHZ, and the Δ t of each sampling is at random, but all between 0-10ns.If current we need equivalence to become the waveform of 50G; Then we need be accurate to 20ps with the time interval between per two sampled points; Promptly in 0-10ns, comprised one section waveform that has 500 sampled points; The time interval of each point is 20ps, and Δ t then is that one section 10ns, minimum precision are a numerical value on the time shaft of 20ps.Because the precision of measuring is not enough; We need deliver to stretch circuit to Δ t; Amplify pulse width by needed enlargement factor; Here be to amplify 500 times, so just can the data based Δ t that repeatedly gathers be placed in the correct position on one section 10ns time shaft, thereby reappear a complete waveform.
Fig. 1 is the schematic diagram that adopts the signal sampling method of equivalent sampling mode.In Fig. 1, the triggering of signal waveform constantly representes that with A the initial sampling instant of sampling clock is represented with B.Go to measure owing to will deliver to 2 different module to A, and this time of wherein delivering to different module can be different, just poor if having time here, the A that each module is seen is different, will cause the illusion of two A like this, i.e. A and A '.In the triggering of measuring-signal waveform constantly and during the mistiming Δ t between the initial sampling instant of sampling clock; If the initial sampling instant of sampling clock is between A and A '; For A '; It can think that sampling clock is initial sampling instant at the sampling instant B ' in next sampling period, will obtain two mistiming Δ t so 1With Δ t 2, Δ t 1Be the mistiming of A to B, Δ t 2It is the mistiming of A to B '.Will cause the deviation of one-period like this, from the oscillograph screen, can see the waveform that occurs one section protuberance the waveform.If t is very little for Δ, because there is shake in the triggered time, the point that can cause current sampling like this is uncertain point, from the oscillograph screen, can see that burr phenomena appears in waveform.
Fig. 2 is the process flow diagram of improved digital oscilloscope signal equivalent sampling method.Improved digital oscilloscope signal equivalent sampling method comprises:
S0: the initial value that variable n is set is 0.
S1: the mistiming Δ t between first sampling instant after obtaining the triggering moment of signal waveform and triggering constantly;
S2: with Δ t and sampling clock cycle t 0Time pulse amplifies N doubly;
S3: calculate certain sampled point at sampling clock cycle t 0In moment t, computing formula is t=Δ t/t 0
S4: calculate this sampled point at the position pos of sampling clock in the cycle, computing formula is pos=t*N;
S5: judge pos whether in preset scope, if, carry out S6, if not, carry out S7;
S6: this sampled point is placed in the position corresponding in this frame waveform by the pos value, carries out S8 then;
S7: give up this sampled point, carry out S8 then;
S8: with 180 ° of the phase changes of sampling clock;
S9: make n=n+1;
S10: whether judge n greater than N, if, carry out S11, if not, carry out S1;
S11: finish.
Among the above-mentioned steps S5, preset scope can freely be set, but will guarantee that the difference of two-end-point equals N/2.For example, preset scope can be [N/2, N], [N/4,3N/4] or the like.
According to long-term debugging and test; We find the waveform of that section protuberance or a certain section (for example a certain section of first half) that jagged waveform generally appears at a sampling clock cycle; Therefore above-mentioned improved digital oscilloscope signal equivalent sampling method is through giving up this section waveform; A certain portion waveshape to beyond this section waveform is sampled; The waveform that this section of waveform polishing that utilizes the opposite sampling clock in another road to gather then given up so just can obtain the waveform in a complete sampling clock cycle, thereby has effectively eliminated protuberance phenomenon and burr phenomena.
The above embodiment has only expressed several kinds of embodiments of the present invention, and it describes comparatively concrete and detailed, but can not therefore be interpreted as the restriction to claim of the present invention.Should be pointed out that for the person of ordinary skill of the art under the prerequisite that does not break away from the present invention's design, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection domain of patent of the present invention should be as the criterion with accompanying claims.

Claims (4)

1. digital oscilloscope signal equivalent sampling method is characterized in that: comprising:
The initial value that variable n is set is 0;
Mistiming Δ t between first sampling instant after obtaining the triggering moment of signal waveform and triggering constantly;
With Δ t and sampling clock cycle t 0Time pulse amplifies N doubly;
Calculate certain sampled point at sampling clock cycle t 0In moment t, computing formula is t=Δ t/t 0
Calculate this sampled point at the position pos of sampling clock in the cycle, computing formula is pos=t*N;
Judge pos whether in preset scope, the difference of said preset range two-end-point is N/2, if, then this sampled point is placed in the position of correspondence in this frame waveform by pos value, if not, then give up this sampled point;
With 180 ° of the phase changes of sampling clock;
Make n=n+1, and whether judge n, if fruit is that end if not, repeats above-mentioned steps greater than N.
2. digital oscilloscope signal equivalent sampling method according to claim 1 is characterized in that: said preset scope is [N/2, N].
3. digital oscilloscope signal equivalent sampling method according to claim 1 is characterized in that: said preset scope is [N/4,3N/4].
4. digital oscilloscope signal equivalent sampling method according to claim 1 is characterized in that: the number of times that above-mentioned steps repeats is greater than N time.
CN200910108939A 2009-07-21 2009-07-21 Digital oscilloscope signal equivalent sampling method Active CN101666819B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910108939A CN101666819B (en) 2009-07-21 2009-07-21 Digital oscilloscope signal equivalent sampling method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910108939A CN101666819B (en) 2009-07-21 2009-07-21 Digital oscilloscope signal equivalent sampling method

Publications (2)

Publication Number Publication Date
CN101666819A CN101666819A (en) 2010-03-10
CN101666819B true CN101666819B (en) 2012-10-10

Family

ID=41803523

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910108939A Active CN101666819B (en) 2009-07-21 2009-07-21 Digital oscilloscope signal equivalent sampling method

Country Status (1)

Country Link
CN (1) CN101666819B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104391148A (en) * 2014-11-25 2015-03-04 苏州立瓷电子技术有限公司 Oscilloscope with high power and low error
CN104391146A (en) * 2014-11-25 2015-03-04 苏州立瓷电子技术有限公司 Oscilloscope based on layered amplifying circuit
CN104734692B (en) * 2015-01-28 2017-09-29 西北核技术研究所 Based on frequency-difference method and DDS the high sampling rate equivalent sampling method realized and system
CN106841729B (en) * 2016-12-14 2019-09-03 东南大学 A kind of digital fluorescence oscilloscope waveform shows the conversion calculation method of data
CN107478883B (en) * 2017-03-16 2019-10-08 深圳市鼎阳科技有限公司 A kind of method and apparatus for realizing any N times of equivalent sampling

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
刘宪力等.基于等效和实时采样的数字示波器设计.《电子设计工程》.2009,第17卷(第6期),69-71. *
戴志坚等.具有自校准能力的随机采样技术的研究.《仪器仪表学报》.2004,第25卷(第4期),82-84. *

Also Published As

Publication number Publication date
CN101666819A (en) 2010-03-10

Similar Documents

Publication Publication Date Title
CN101666819B (en) Digital oscilloscope signal equivalent sampling method
CN107728460B (en) A kind of high-resolution time interval measurement method
CN100529766C (en) Equivalent sampling device
CN101706521B (en) Digital storage oscilloscope with function of time base fine tuning
CN101281224B (en) Method for testing digital oscilloscope waveform capturing rate
CN102565484B (en) There is the digital oscilloscope of fine trigger function
US9523717B2 (en) Method for measuring the waveform capture rate of parallel digital storage oscilloscope
CN107290578B (en) Triggering upon final occurrence
CN104897962A (en) Single-frequency signal short sample high precision frequency measurement method and device based on relatively prime perception
CN104121956B (en) Time difference measuring method of time difference type ultrasonic flow meter
US11169564B2 (en) Timing circuit and timing method
CN102928677A (en) Nano pulse signal acquiring method
CN102128981A (en) Method for measuring pulse signal period
CN106645952B (en) A kind of detection method and system of signal phase difference
CN106124033A (en) A kind of vibration measurement with laser calibration accumulation calibration steps of big trigger delay
CN110836992A (en) Oscillography power meter acquisition system based on FPGA
CN204422648U (en) A kind of modulation domain frequency counter
CN106645780A (en) Rotating speed detection method and system base on DSP
CN103869123B (en) It is a kind of that there is the oscillograph of pulse width measure
CN104635046A (en) Modulation domain frequency counter and continuous frequency measurement method thereof
CN106656114A (en) Method and system for measuring pulse width of continuous narrow pulses
CN107908097B (en) Using the time interval measurement system and measurement method of mixing interpolation cascade structure
CN103197108B (en) The equivalent sampling method of data collecting card
CN105629062B (en) A kind of frequency detecting method of variable frequency sine-wave
CN108957174B (en) Voltage sag detection device and method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
ASS Succession or assignment of patent right

Owner name: SHENZHEN SIGLENT TECHNOLOGIES CO., LTD.

Free format text: FORMER OWNER: QIN KE

Effective date: 20120803

Free format text: FORMER OWNER: SHAO HAITAO ZHAO YAFENG

Effective date: 20120803

C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20120803

Address after: 518055, 5 floor, 8 A industrial district, Nanshan District, Guangdong, Shenzhen, China

Applicant after: Shenzhen Siglent Technologies Co., Ltd.

Address before: 518055, building 8, building 5, Tong Lang Industrial Area, Shenzhen,, Guangdong, Nanshan District

Applicant before: Qin Ke

Co-applicant before: Shao Haitao

Co-applicant before: Zhao Yafeng

C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address

Address after: 518000 Guangdong Province, Baoan District, Baoan District, Xin'an Street, Xingdong Community, 68 District, Antongda Industrial Factory Area, 4 factories, 3 floors, 5 office buildings, 1-3 floors

Patentee after: Shenzhen dingyang Technology Co., Ltd

Address before: 518055, building 8, building 5, Tong Lang Industrial Area, Shenzhen,, Guangdong, Nanshan District

Patentee before: SHENZHEN CITY SIGLENT TECHNOLOGIES Co.,Ltd.

CP03 Change of name, title or address