CN103675381B - A kind of oscillograph of the parallel sampling with cycle Trigger Function - Google Patents

A kind of oscillograph of the parallel sampling with cycle Trigger Function Download PDF

Info

Publication number
CN103675381B
CN103675381B CN201210362933.6A CN201210362933A CN103675381B CN 103675381 B CN103675381 B CN 103675381B CN 201210362933 A CN201210362933 A CN 201210362933A CN 103675381 B CN103675381 B CN 103675381B
Authority
CN
China
Prior art keywords
signal
data
roads
trigger
triggering
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
CN201210362933.6A
Other languages
Chinese (zh)
Other versions
CN103675381A (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.)
Rigol Technologies Inc
Original Assignee
Rigol Technologies Inc
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 Rigol Technologies Inc filed Critical Rigol Technologies Inc
Priority to CN201210362933.6A priority Critical patent/CN103675381B/en
Publication of CN103675381A publication Critical patent/CN103675381A/en
Application granted granted Critical
Publication of CN103675381B publication Critical patent/CN103675381B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Traffic Control Systems (AREA)
  • Measurement Of Unknown Time Intervals (AREA)

Abstract

The invention provides a kind of oscillograph of the parallel sampling with cycle Trigger Function, including:Data sampling unit, it is sampled to measured signal all the way, produces triggering clock and parallel n roads sampled data;Digital comparing unit, it is carried out to n roads sampled data and line level compares processing, produces n roads comparison signal;Trigger control unit, it is according to triggering clock, by the periodic quantity of the local signal in the acquisition measured signal of n roads comparison signal;And by periodic quantity compared with a predetermined period scope, trigger signal is produced according to comparative result;Samples storage unit, it is stored according to trigger signal to sampled data.The present invention can be obtained the periodic quantity of local signal in measured signal by comparison signal, when the periodic quantity meets certain condition, performance period triggers, because periodic quantity obtains from digitized comparison signal, therefore, the present invention is to make use of the mode of numeral, realizes cycle triggering.

Description

A kind of oscillograph of the parallel sampling with cycle Trigger Function
Technical field
The present invention relates to test field of measuring technique, more particularly to a kind of parallel sampling with cycle Trigger Function Oscillograph.
Background technology
Oscillograph is a kind of quite varied electronic measuring instrument of purposes, and it can be converted into electric signal invisible to the human eye The visible waveform image of human eye, it is easy to people to study the change procedure of various electric signals.Traditional analog oscilloscope is using simulation Circuit(Oscilloscope tube), its electron gun forms electron beam to screen emissions electronics, the electronics line focus of transmitting, and gets to inner surface painting Have on the screen of fluorescent material, the point that such electron beam hits will send light, so as to depict wavy curve.Stored digital is shown Ripple device(Digital Storage oscilloscopes, DSO), abbreviation digital oscilloscope, it is tested by analog-digital converter Amount signal is converted to digital information and stored, and using the data reconstruction waveform signal stored and on the screen of oscillograph Shown.
Triggering is one of Core Feature of oscillograph, so-called triggering, refers to set certain trigger condition as desired.When When waveform in measured signal meets the trigger condition, oscillograph captures the waveform and its corresponding part immediately, and is shown in On screen.Has there is digital triggering in current digital oscilloscope, i.e. the processing of trigger signal and the extension of triggering mode It can be completed by numerical portion.
For example, Chinese patent CN200710080005.X " trigger architecture, measuring system and application method ", discloses one kind Digital trigger 100, the digital trigger 100 can be used for digital oscilloscope.Reference picture 1, the data sampling of digital trigger 100 Unit 101 includes the parallel analog-digital converter ADC1 ~ ADCM of M, when it is in response to M frequency is identical, phase is different sampling Clock F1 ~ FM, parallel sampling is carried out to measured signal a, that is, from measured signal at the different time of a sampling clock cycle Parallel acquisition data sample, M >=1 in a;Wherein, each ADC can enter line number according to its corresponding sampling clock again According to sampling, multidiameter delay sampled data and triggering clock are produced, triggering clock all same caused by each ADC.For example, one Double-core ADC can produce 8 road parallel sampling data and 250MHz triggering clock according to 1GHz sampling clock.Multiple ADC are handed over After knitting sampling, n roads sampled data b1 ~ bn can be obtained, it is necessary to which explanation, data sampling unit 101 can only include one ADC;Digital comparing unit 102 includes n 1 ~ n of digital comparator, and it is parallel to enter line level ratio to n roads sampled data b1 ~ bn Compared with processing, n road comparison signal c1 ~ cn are produced;The triggering type that trigger control unit 103 is set according to user compares letter to n roads Number c1 ~ cn carries out logical process, and trigger signal d is produced when recognizing trigger event;Further, the sampling of digital oscilloscope is deposited Storage unit can store according to trigger signal d to sampled data b, waveform display data be produced, for waveform display unit Waveform is carried out to show.Because the data sampling unit 101 of digital trigger 100 is concurrently to be sampled, therefore, it is applied Oscillograph, the oscillograph of parallel sampling can also be referred to as.
In general, trigger control unit 103 can be used for the logical process for realizing a variety of triggering types, and triggering type can be Edging trigger, pulsewidth triggering, slope triggering etc..Assuming that by the data in the comparison signal c1 ~ cn of N roads according to sampling time priority Order is interleaved, then can be interweaved comparison signal all the way.If edging trigger, then obtained according to N road comparison signal c1 ~ cn The edge placement with the rising edge of intertexture comparison signal and/or trailing edge is taken, and trigger signal d is produced at edge placement;Such as Fruit is pulsewidth triggering, then according to positive pulsewidth of n road comparison signal c1 ~ cn acquisitions with intertexture comparison signal or negative pulsewidth, and in arteries and veins Trigger signal d is produced when width is in default pulse duration range.The logical process of above-mentioned triggering type belongs to the content of prior art, Here is omitted.For example, Chinese patent CN200710089788.8 " digital trigger circuit ", its disclosed trigger is just It can realize that edge event triggers logic(Equivalent to edging trigger);It can also realize that pulse width triggers logic(Equivalent to arteries and veins Width triggering)Etc..It is existing triggering type have it is a variety of, still, in existing triggering mode, not according to the week of measured signal Phase, to realize the technology of triggering.
The content of the invention
The technical problems to be solved by the invention are to provide a kind of oscillograph of the parallel sampling with cycle Trigger Function, Can be according to the cycle of measured signal, to realize triggering.
In order to solve the above problems, the invention discloses a kind of oscillograph of the parallel sampling with cycle Trigger Function, Including:
Data sampling unit, for being sampled to measured signal all the way, produce triggering clock and parallel n roads hits According to;
Digital comparing unit, compare processing for carrying out simultaneously line level to n roads sampled data, produce n roads and compare letter Number;
Trigger control unit, for according to the triggering clock, being obtained by n roads comparison signal in the measured signal Local signal periodic quantity;And acquired periodic quantity is produced compared with a predetermined period scope according to comparative result The raw trigger signal;
Samples storage unit, for being stored according to the trigger signal to n roads sampled data, produce for ripple The waveform display data that shape is shown.
The present invention can be obtained the periodic quantity of the local signal in the measured signal, Jin Eryu by n roads comparison signal Predetermined period scope is compared, and produces the trigger signal, that is, when the periodic quantity meets certain condition performance period touch Hair, because periodic quantity obtains from digitized comparison signal, therefore, the present invention is to make use of the mode of numeral, is realized Cycle triggering.
As one for example, in the present invention, the trigger control unit is used for according to the triggering clock, for Data in the comparison signal of the n roads, change according to the time sequencing searching data of sampling, obtain two adjacent same type numbers According to the time interval between change, as the periodic quantity of the local signal in the measured signal;And by acquired week Time value is handled compared with carrying out the cycle with the predetermined period scope, and the trigger signal is produced according to comparative result.
As one for example, in the present invention, the trigger control unit is used for according to the triggering clock, for Data in the comparison signal of the n roads, change according to the time sequencing searching data of sampling, obtain two adjacent data variations Time interval between " 01 ", it is worth as the period 1 of the local signal in the measured signal;And obtain adjacent Two data variations " 10 " between time interval, as the second round of the local signal in the measured signal Value;And handle acquired period 1 value and second week time value compared with the predetermined period scope progress cycle respectively, The trigger signal is produced according to comparative result.
In the present invention, triggering differentiation can be carried out merely with period 1 value, realizes that rising edge triggers;Can also be only sharp Triggering differentiation is carried out with second week time value, realizes that trailing edge triggers;Period 1 value and second week time value can also be utilized simultaneously Triggering differentiation is carried out, rising edge triggering has not only been realized while but also has realized that trailing edge triggers.The judgment mode of cycle triggering has more Kind, it can be configured according to the different demands of user.
As an example, in this illustration, the trigger control unit includes:
Rising edge triggers generation unit, for according to the triggering clock, for the data in the comparison signal of the n roads, Change according to the time sequencing searching data of sampling, the time interval between two adjacent data variations " 01 " is obtained, by it Period 1 as the local signal in acquired measured signal is worth;And the period 1 is worth and predetermined period scope It is compared, when the period 1, value was in the predetermined period scope, produces first start pulse signal;
Trailing edge triggers generation unit, for according to the triggering clock, for the data in the comparison signal of the n roads, Change according to the time sequencing searching data of sampling, the time interval between two adjacent data variations " 10 " is obtained, by it Second week time value as the local signal in acquired measured signal;And by the second week time value and predetermined period scope It is compared, when the second week time value is in the predetermined period scope, produces second start pulse signal;
First trigger signal generation unit, for selecting first start pulse signal and second trigger pulse to believe One in number, exported as the trigger signal.
As another example, in this illustration, the trigger control unit includes:
Rising edge triggers generation unit, for according to the triggering clock, for the data in the comparison signal of the n roads, Change according to the time sequencing searching data of sampling, the time interval between two adjacent data variations " 01 " is obtained, by it Period 1 as the local signal in acquired measured signal is worth;And the period 1 is worth and predetermined period scope It is compared, when the period 1, value was in the predetermined period scope, produces first start pulse signal;
Trailing edge triggers generation unit, for according to the triggering clock, for the data in the comparison signal of the n roads, Change according to the time sequencing searching data of sampling, the time interval between two adjacent data variations " 10 " is obtained, by it Second week time value as the local signal in acquired measured signal;And by the second week time value and predetermined period scope It is compared, when the second week time value is in the predetermined period scope, produces second start pulse signal;
Second trigger signal generation unit, for first start pulse signal and second start pulse signal Logic or processing are carried out, logic or the result of processing are exported as trigger signal.
As one embodiment, in this example, the trailing edge triggering generation unit is carried out to n roads comparison signal Anti-phase processing, obtain the anti-phase comparison signal in n roads;And according to the triggering clock, for the number in the anti-phase comparison signal in n roads According to, change according to the time sequencing searching data of sampling, obtain the time interval between two adjacent data variations " 01 ", work For the time interval between adjacent two data variation " 10 " of n roads comparison signal.
As one embodiment, in this example, the rising edge triggering generation unit includes:
Period 1 handles subelement, for according to the triggering clock, for the data in the comparison signal of the n roads, Change according to the time sequencing searching data of sampling, when there is data variation " 01 ", produce a pulsewidth as triggering clock week The positive pulse of phase, obtain first pulse signal for including at least two positive pulses;And at data variation " 01 ", obtain with Its corresponding period start time and end cycle moment;
Period 1 count sub-element, for according to the triggering clock, calculating adjacent two in first pulse signal Very first time interval between individual positive pulse;
Period 1 comparing subunit, for according to previous in the very first time interval, the two neighboring positive pulse The latter positive pulse is corresponding in the period start time of data variation " 01 ", the two neighboring positive pulse corresponding to individual positive pulse Data variation " 01 " the end cycle moment, obtain the period 1 value;And when period 1 value is in default week During phase scope, the rising edge of the latter positive pulse in the two neighboring positive pulse of the first pulse signal, described the is produced One start pulse signal.
As another embodiment, in this example, the period 1 count sub-element includes:
First number accumulator, for when first pulse signal is low level, to the data of the triggering clock Change frequency is added up, when it is high level that first pulse signal is by low transition, using accumulation result as first Count value exports, and accumulation result is reset resetted afterwards;
Period 1 acquisition module, for the cycle according to the triggering clock, first count value is converted into institute State very first time interval.
As one embodiment, in this example, the trailing edge triggering generation unit includes:
Anti-phase processing subelement, for carrying out anti-phase processing to n roads comparison signal, obtain the anti-phase comparison signal in n roads;
Second round handles subelement, for according to the triggering clock, for the number in the anti-phase comparison signal in n roads According to according to the time sequencing searching data change of sampling, when there is data variation " 01 ", it is triggering clock to produce a pulsewidth The positive pulse in cycle, obtain second pulse signal for including at least two positive pulses;And obtained at data variation " 01 " Corresponding period start time and end cycle moment;
Second round count sub-element, for according to the triggering clock, calculating adjacent two in second pulse signal The second time interval between individual positive pulse;
Second round comparing subunit, for according to previous in second time interval, the two neighboring positive pulse The latter positive pulse is corresponding in the period start time of data variation " 01 ", the two neighboring positive pulse corresponding to individual positive pulse Data variation " 01 " the end cycle moment, obtain the second week time value;And when the second week time value is in default week During phase scope, the rising edge of the latter positive pulse in the two neighboring positive pulse of the second pulse signal, described the is produced Two start pulse signals.
As another embodiment, in this example, the second round count sub-element includes:
Second number accumulator, for when second pulse signal is low level, to the data of the triggering clock Change frequency is added up, when it is high level that second pulse signal is by low transition, using accumulation result as second Count value exports, and accumulation result is reset resetted afterwards;
Second round acquisition module, for the cycle according to the triggering clock, second count value is converted into institute State the second time interval.
As another for example, in the present invention, the oscillograph also includes:
User input interface, for setting cycle comparison pattern and at least one Ct value time;
The trigger control unit was additionally operable to according to set Ct value time and selected cycle comparison pattern Generate the predetermined period scope.
Brief description of the drawings
Fig. 1 is a kind of structural representation of digital trigger for digital oscilloscope disclosed in prior art;
Fig. 2 is a kind of structural representation of the oscillograph embodiment of the parallel sampling with cycle Trigger Function of the present invention;
Fig. 3(a)It is the structural representation of an example of trigger control unit;
Fig. 3(b)It is the structural representation of another example of trigger control unit;
Fig. 3(c)It is the structural representation of another example of trigger control unit;
Fig. 4 is the structural representation of an illustration of rising edge triggering generation unit;
Fig. 5 is the structural representation of an illustration of trailing edge triggering generation unit;
Fig. 6(a)It is the time diagram that the first start pulse signal is produced in oscillograph embodiment of the present invention;
Fig. 6(b)It is when producing the second start pulse signal and logic or result in oscillograph embodiment of the present invention Sequence schematic diagram.
Embodiment
In order to illustrate the present invention a kind of parallel sampling with cycle Trigger Function oscillograph, below in conjunction with the accompanying drawings with The present invention is further detailed explanation for embodiment.
Reference picture 2, show a kind of knot of the oscillograph embodiment of the parallel sampling with cycle Trigger Function of the present invention Composition, the oscillograph 200 that the present embodiment proposes include:
Data sampling unit 201, measured signal a all the way is sampled, produce triggering clock f1 and the sampling of parallel n roads Data b1 ~ bn;
Digital comparing unit 202, it is carried out to n roads sampled data b1 ~ bn and line level compares processing, is produced n roads and is compared Signal c1 ~ cn;
Trigger control unit 203, it carries out triggering logical process according to n road comparison signal c1 ~ cn, produces trigger signal d; Wherein, when the triggering type that user is set triggers for the cycle, it is obtained according to triggering clock f1 by n roads comparison signal c1 ~ cn The periodic quantity of local signal in measured signal a;And by acquired periodic quantity compared with a predetermined period scope, according to Comparative result produces trigger signal d;
Samples storage unit 204, it stores to n roads sampled data b1 ~ bn according to trigger signal d, produced for ripple The waveform display data e that shape is shown.
Measured signal a described in the present embodiment is inputted into data sampling unit 201 by the passage all the way of oscillograph 200, Data sampling unit 201 includes the parallel analog-digital converter ADC1 ~ ADCM of M, and it is in response to M frequency be identical, phase is different Sampling clock F1 ~ FM respectively to measured signal a carry out analog to digital conversion, realize parallel data sample, each mould Number converter ADC obtains multi-channel sampling data and touched after being sampled according to a corresponding sampling clock to measured signal a Clock is sent out, for example, 4 tunnels, 8 tunnels or 16 tunnel sampled datas can be obtained after an ADC sampling.After multiple ADC interleave samples, press Parallel n roads sampled data b1 ~ bn can be obtained according to the sequencing in sampling time;Afterwards, data sampling unit 201 will obtain N roads sampled data b1 ~ bn be sent in samples storage unit 204.In general, also had before data sampling unit 201 One analog front circuit, for realizing that skew adjustment, gain control and bandwidth limitation to measured signal a etc. are a series of Function, it is suitable amplitude range to make measured signal a conditionings, for the reception of data sampling unit 201.Analog front circuit Specific implementation can use a variety of designs, not repeat herein.The desirable integers more than or equal to 2 of n described in the present embodiment.
As one for example, in embodiments of the present invention, oscillograph 200 can also have multiple passages, data are adopted Sample unit 201 can include multiple sampling subelements, correspond to multiple passages respectively, and each sampling subelement includes M parallel Analog-digital converter ADC1 ~ ADCM, parallel sampling is carried out to the measured signal that is inputted from corresponding passage, n roads is obtained and adopts Sample data.Accordingly, digital comparing unit 202 includes multiple comparing subunits, corresponds to multiple sampling subelements respectively, each Comparing subunit compares processing to entering line level from the n roads sampled data of sampling subelement output, produces n roads comparative result;Number Word comparing unit 202 can also include a channel to channel adapter, for the data source of selection cycle triggering, i.e. trigger port, choosing Select the n roads comparative result of one corresponding with trigger port sampling subelement output, inputted as comparison signal to tactile Send out in control unit 203.
In the present embodiment, can by carrying out frequency multiplication and phase shift to a main sampling clock, obtain multiple frequencies it is identical, There is identical phase difference between phase different sampling clock F1 ~ FM, each sampling clock F1 ~ FM.For example, data sampling list Member 201 includes two parallel analog-to-digital conversion device ADC1 and ADC2, ADC1 according to a 1GHz sampling clocks F1 to measured signal a After sampling, 4 tunnel sampled data b1 ~ b4 and 250MHz triggering clock is obtained, ADC1 sample rate is 1GSa/s;ADC2 is according to one After individual 1GHz sampling clocks F2 samples to measured signal a, 4 tunnel sampled data b5 ~ b8 and 250MHz triggering clock, ADC2 are obtained Sample rate be 1GSa/s;Sampling clock F1 differs П/2 with sampling clock F2 phase, passes through two ADC interleave samples Afterwards, the actual sample rate for realizing oscillograph 200 is 2GSa/s.
In the present embodiment, digital comparing unit 202 is made up of n digital comparator.As one for example, at this In inventive embodiments, digital comparator can be viscous comparator, and n viscous comparators are carried out simultaneously to n roads sampled data respectively Line level compares processing, and each viscous comparator can be that 8bit compares precision, and user can set comparative level and viscous Scope, to reduce the influence that signal noise is brought.Two physics can be obtained after comparative level and viscous range combinations to compare Level, referred to as upper level and lower level.If the sampled data b of viscous comparator input(8bit)It is more than upper level, then viscous Comparator exports logical one(1bit);If the sampled data b of input is less than lower level, viscous comparator exports logical zero (1bit);If the sampled data b of input is between lower level and upper level, the data of viscous comparator output and institute are defeated The adjacent previous data gone out are identical.With reference to Fig. 6(a), so that n takes 8 as an example, it can be seen that the measured signal a of sinusoidal waveform passes through After the level of digital comparing unit 202 with 8 viscous comparators compares processing, 8 road comparison signal c1 ~ c8 are obtained, can be with Find out, be the low and high level signal being made up of data " 1 " and data " 0 " per comparison signal c all the way.Illustrated as another Bright, in embodiments of the present invention, digital comparator can be common comparator, and it has a comparative level, if input Sampled data b be more than the comparative level, then digital comparator output logical one;If the sampled data b of input is less than institute Comparative level is stated, then digital comparator output logical zero.
In the present embodiment, trigger control unit 203 can be made up of FPGA, and it is according to the triggering type of setting and triggering Condition, n roads comparison signal c1 ~ cn is performed and triggers the triggering logical process such as judgement, decoding, for example, performing pulsewidth calculating, edge Judgement or various protocol-decodings(As RS232, SPI, CAN are decoded)Deng, when judging to meet trigger condition, generation triggering letter Number d, is stored for samples storage unit 204 to n roads sampled data b1 ~ bn.When the triggering type of user's selection is the cycle During triggering, trigger control unit 203 will be according to triggering clock f1, by measured signal a acquired in the comparison signal c1 ~ cn of n roads The periodic quantity of middle local signal produces trigger signal d compared with a predetermined period scope, according to comparative result.It is appreciated that , triggering clock all same caused by each ADC, when trigger control unit 203 caused by any one ADC according to triggering Clock f1 carries out triggering logical process, obtains the periodic quantity of local signal in measured signal a.
Measured signal a can be cyclical signal, can also make non-periodic signals.For cyclical signal, with reference to Fig. 6 (a), measured signal a is a periodic sinusoidal signal, and the local signal of the signal can be the signal between point w1 to point w3, The periodic quantity of this section of local signal is the time between point w1 to point w3;Local signal in measured signal a can also be a little Signal between w2 to point w4, the periodic quantity of this section of local signal are the time between point w2 to point w4.For aperiodicity Signal, the periodic quantity of each section of local signal may be identical, it is also possible to and it is different, due to the cycle of local signal in measured signal a Value be as acquired in the comparison signal c1 ~ cn of n roads, it is therefore, suitable according to the time of sampling for the data in the comparison signal of n roads Sequence searching data changes, and measured signal a one section of local signal is corresponded between adjacent two data variations " 01 ", or adjacent Two data variations " 01 " between correspond to measured signal a one section of local signal.
It should be noted that measured signal a may not be strict smooth waveform signal, such as Fig. 6(a)In, indicated by v Wave regions, it has certain burr, and this section of burr may also have certain periodicity, but measured signal a office The periodic quantity of portion's signal is not necessarily meant to refer to the cycle of this section of burr, sets the comparative level of the viscous comparator and viscous model Enclose to obtain level and lower level, if this section of burr is between upper level and lower level, the burr pair can be eliminated The influence brought is measured, this is as well known to those skilled in the art.If during this section of burr on upper level, when And under lower level, then the comparison signal with low and high level can be produced according to this section of burr, then measured signal a office The periodic quantity of portion's signal is relevant with this section of burr.Measured signal a local signal two data adjacent with the comparison signal of n roads The position of change is relevant, because the position of data variation is determined by entering comparative level when line level compares processing, therefore office The periodic quantity of portion's signal is relevant with the comparative level set by user.In Fig. 6(a)In, said by taking a comparative level as an example It is bright, for the level comparison process with two comparative levels, can mutually refer to.The level ratio of digital comparing unit 202 Content compared with processing for prior art, here is omitted.
In the present embodiment, reference picture 2, trigger control unit 203 obtain each section of measured signal a local signal successively Periodic quantity, carry out triggering judgement using the periodic quantity of each section of local signal successively.In embodiments of the present invention, can be by n roads Comparison signal c1 ~ cn obtains the periodic quantity of the local signal in measured signal a, and then compared with predetermined period scope, root Trigger signal d is produced according to comparative result, that is to say, that the signal of the corresponding complete mechanical periodicity of one section of local signal, root Complete whether a cycle change time used meets certain condition according to the local signal of measured signal, and then judge whether to produce Raw trigger signal.Because periodic quantity obtains from digitized comparison signal c1 ~ cn, therefore, the present invention is to make use of number The mode of word, realize cycle triggering.Triggered by the cycle, whether the cycle that can detect measured signal meets design requirement, The function can be applied in data analysis test.
As one for example, in embodiments of the present invention, the oscillograph 200 can also include user's input and connect Mouthful, it sets cycle comparison pattern and at least one Ct value time, for example, can be real by display interface and input keyboard Existing user input interface, in general, are at most set two Ct value times;The cycle comparison pattern is:More than one The Ct value time, less than a cycle threshold time, less than a cycle threshold time or more than another Ct value when Between or more than a cycle threshold time and be less than another Ct value time;Then trigger control unit 203 is according to set The Ct value time put and the cycle comparison pattern selected by user generate the predetermined period scope, it can be seen that user One or two set Ct value times, the as endpoint value of predetermined period scope.It is understood that above institute Trigger port, triggering type, comparative level and the viscous scope stated, and set by the user input interface.As one For example, in embodiments of the present invention, the predetermined period scope can be that pre-configured before dispatching from the factory one is solid Fixed default scoping, then need not set user input interface, and trigger control unit 203 can directly obtain the predetermined period model Enclose.
As one for example, in embodiments of the present invention, trigger control unit 203 can according to triggering clock f1, For the data in the comparison signal c1 ~ cn of n roads, change according to the time sequencing searching data of sampling, obtain two adjacent numbers According to the time interval between change " 01 ", it is worth as the period 1 of the local signal in measured signal a;And by acquired in Period 1 value and the predetermined period scope carry out the cycle compared with handle, trigger signal d is produced according to comparative result.At this In illustration, the time interval in the comparison signal c1 ~ cn of n roads between adjacent two data change " 01 " corresponds to measured signal a In local signal a cycle value, i.e., the period 1 be worth, carry out triggering judgement merely with period 1 value, work as the period 1 When value is in the predetermined period scope, then judges to meet cycle trigger condition, produce trigger signal d.
The data variation " 01 " refers to:The data and phase of comparison signal c1 ~ cn in previous trigger clock cycle will be worked as The data of comparison signal cn data composition n+1 bits, judge in the n+1 bit datas in adjacent previous trigger clock cycle There are data " 0 " to data " 1 " to change.Using data " 1 " in data variation " 01 " at the time of corresponding as data variation " 01 " when Carve.The data variation " 01 " is a kind of same type data variation.
In this illustration, as an example, with reference to Fig. 6, so that n takes 8 as an example, in 8 road comparison signal c1 ~ c8 Data, with t1、t2……t9、t10、t11……tx+1、tx+2... the time sequencing of sampling is indicated, according to the time of sampling Sequential search data variation, first data variation " 01 " is obtained, be t4Moment;Then adjacent next data variation is obtained " 01 ", it is tx+2Moment, then can be by t4To tx+2Between first week as the local signal in measured signal a of time interval Time value.
In the example above explanation, if the data in the comparison signal c1 ~ cn of n roads are interleaved according to the sampling time, Interweaved comparison signal all the way, then the rising edge of the corresponding intertexture comparison signal of data variation " 01 ", utilizes two adjacent numbers According to the time interval between change " 01 ", triggered performance period as the periodic quantity of measured signal a local signal, quite In carrying out triggering differentiation according to rising edge, therefore implementation method is simple.
As another for example, in embodiments of the present invention, trigger control unit 203 can be according to triggering clock F1, for the data in the comparison signal c1 ~ cn of n roads, change according to the time sequencing searching data of sampling, obtain adjacent two Time interval between data variation " 10 ", as the second week time value of the local signal in measured signal a;And it will be obtained The second week time value taken is handled compared with carrying out the cycle with the predetermined period scope, and trigger signal d is produced according to comparative result. In this illustration, the time interval in the comparison signal c1 ~ cn of n roads between adjacent two data change " 10 " corresponds to measured signal The a cycle value of local signal in a, i.e. second week time value, triggering judgement is carried out merely with second week time value, works as second week When time value is in the predetermined period scope, then judges to meet cycle trigger condition, produce trigger signal d.
The data variation " 10 " refers to, will work as the data and phase of comparison signal c1 ~ cn in previous trigger clock cycle The data of comparison signal cn data composition n+1 bits, judge in the n+1 bit datas in adjacent previous trigger clock cycle There are data " 1 " to data " 0 " to change.Using data " 0 " in data variation " 10 " at the time of corresponding as data variation " 10 " when Carve.The data variation " 10 " is another same type data variation.Time between two adjacent data variations " 10 " The acquisition process at interval, it see in the example above explanation, the time interval between adjacent two data variations " 01 " obtains Process is taken, the two is similar, herein no longer example.
In the example above explanation, if the data in the comparison signal c1 ~ cn of n roads are interleaved according to the sampling time, Interweaved comparison signal all the way, then the trailing edge of the corresponding intertexture comparison signal of data variation " 10 ", utilizes two adjacent numbers According to the time interval between change " 10 ", triggered performance period as the periodic quantity of measured signal a local signal, quite In carrying out triggering differentiation according to trailing edge, therefore implementation method is simple.
As another for example, in embodiments of the present invention, trigger control unit 203 can be according to triggering clock F1, for the data in the comparison signal c1 ~ cn of n roads, change according to the time sequencing searching data of sampling, obtain adjacent two Time interval between data variation " 01 ", it is worth as the period 1 of the local signal in the measured signal a;Together When, also according to triggering clock f1, for the data in the comparison signal c1 ~ cn of n roads, become according to the time sequencing searching data of sampling Change, obtain the time interval between two adjacent data variations " 10 ", as the of the local signal in measured signal a Two cycles value;And by acquired period 1 value and second week time value respectively compared with predetermined period scope, according to than Relatively result produces the trigger signal d.In this illustration, time interval between adjacent two data variations " 01 " and Time interval between two adjacent data variations " 10 " can represent the periodic quantity of the local signal in measured signal a, Triggering judgement is carried out using above-mentioned two time interval.
In the example above explanation, triggering performance period of period 1 value can be both utilized, i.e., had been carried out according to rising edge edge Triggering differentiates;Second week time value triggering performance period can be utilized again, i.e., carry out triggering differentiation, triggering mode spirit according to trailing edge Work is various.
As an example, in the example above explanation, such as Fig. 3(a)Shown, trigger control unit 203 can include:
Rising edge triggers generation unit 301, and it is according to triggering clock f1, for the data in the comparison signal c1 ~ cn of n roads, Change according to the time sequencing searching data of sampling, the time interval between two adjacent data variations " 01 " is obtained, by it Period 1 as the local signal in acquired measured signal is worth;And the period 1 is worth and predetermined period scope It is compared, when the period 1, value was in the predetermined period scope, produces a first start pulse signal i;
Trailing edge triggers generation unit 302, and it is according to triggering clock f1, for the data in the comparison signal c1 ~ cn of n roads, Change according to the time sequencing searching data of sampling, the time interval between two adjacent data variations " 10 " is obtained, by it Second week time value as the local signal in acquired measured signal;And by the second week time value and predetermined period scope It is compared, when the second week time value is in the predetermined period scope, produces a second start pulse signal j;
First trigger signal generation unit 303, it is selected in the first start pulse signal i and the second start pulse signal j One, as trigger signal d export.
Periodic quantity can be sample time order in the comparison signal c1 ~ cn of n roads adjacent two data variation " 01 " it Between time interval, corresponding rising edge triggering;Can also be adjacent two of sample time order in the comparison signal c1 ~ cn of n roads Time interval between individual data variation " 10 ", corresponding trailing edge triggering, therefore when realizing signal period triggering, it is necessary to two sets Same trigger mechanism, it is a set of according to rising edge calculating cycle value, it is another set of according to trailing edge calculating cycle value.In this example In, user can select to carry out triggering judgement according to two neighboring rising edge, also according to trailing edge by user input interface, Equivalent to one selecting switch of first trigger signal generation unit 303, when user's selection carries out triggering according to rising edge to be judged, First trigger signal generation unit 303 selects the first start pulse signal i as trigger signal d;When user is selected according to decline Along carry out triggering judge when, the first trigger signal generation unit 303 selection the second start pulse signal j as trigger signal d.
As another example, in the example above explanation, such as Fig. 3(b)Shown, trigger control unit 203 can include:
Rising edge triggers generation unit 301, and it is according to triggering clock f1, for the data in the comparison signal c1 ~ cn of n roads, Change according to the time sequencing searching data of sampling, the time interval between two adjacent data variations " 01 " is obtained, by it Period 1 as the local signal in acquired measured signal is worth;And the period 1 is worth and predetermined period scope It is compared, when the period 1, value was in the predetermined period scope, produces a first start pulse signal i;
Trailing edge triggers generation unit 302, and it is according to triggering clock f1, for the data in the comparison signal c1 ~ cn of n roads, Change according to the time sequencing searching data of sampling, the time interval between two adjacent data variations " 10 " is obtained, by it Second week time value as the local signal in acquired measured signal;And by the second week time value and predetermined period scope It is compared, when the second week time value is in the predetermined period scope, produces a second start pulse signal j;
Second trigger signal generation unit 304, it is carried out to the first start pulse signal i and the second start pulse signal j Logic or processing, logic or the result of processing are exported as trigger signal d.
With reference to Fig. 6(b), it illustrates the first start pulse signal i and the second start pulse signal j logical process sequential Figure.In this example, logic or processing, logic or processing are carried out to the first start pulse signal i and the second start pulse signal j Result s be in time sequencing, not only include the first start pulse signal i but also include the second start pulse signal j signal, Using logic or the result s of processing as trigger signal d, then it can ensure completely to judge n roads comparison signal c1 ~ cn, Both the time interval that can have changed according to adjacent two data between " 01 " carries out rising edge triggering and judged, generation includes first and touched Pulse signal i trigger signal is sent out, meanwhile, the time interval that can change again according to adjacent two data between " 10 " is carried out down Drop judges along triggering, produces the trigger signal for including the second start pulse signal j.
As another example, in the example above explanation, such as Fig. 3(c)Shown, trigger control unit 203 can include: Rising edge triggering generation unit 301, trailing edge triggering generation unit 302, the first trigger signal generation unit 303 and the second triggering Signal generation unit 304.In this example, trigger control unit 203 can both utilize the first trigger signal generation unit 303, One in the first start pulse signal i and the second start pulse signal j is selected, is exported as trigger signal d;It can utilize again Second trigger signal generation unit 304, logic or processing are carried out to the first start pulse signal i and the second start pulse signal j, Logic or the result of processing are exported as trigger signal d.It is understood that the first trigger signal generation unit 303 and Two trigger signal generation units 304 can only have one to be operated in synchronization.
As a modification, in above three example, trailing edge triggering generation unit 302 can be first respectively to n roads ratio Anti-phase processing is carried out compared with signal c1 ~ cn, obtains the anti-phase comparison signal in n roads;And according to triggering clock f1, it is anti-phase for the n roads Data in comparison signal, according to sampling time sequencing searching data change, obtain two adjacent data variations " 01 " it Between time interval, as the time interval between n roads comparison signal c1 ~ cn adjacent two data variation " 10 ".
As another modification, in above three example, as shown in figure 4, rising edge triggering generation unit 301 includes:
Period 1 handles subelement 401, and it is according to triggering clock f1, for the data in the comparison signal c1 ~ cn of n roads, Change according to the time sequencing searching data of sampling, when there is data variation " 01 ", produce a pulsewidth as triggering clock week The positive pulse of phase, obtain a first pulse signal k for including at least two positive pulses;And when there is data variation " 01 ", According to the way m and trigger clock cycle of comparison signal where data " 1 " in data variation " 01 ", obtain and data variation " 01 " Corresponding period start time T11 and end cycle moment T12;Wherein, m=1,2 ... ... n;When the positive pulse is with triggering Clock f1 is synchronous.
Period 1 count sub-element 402, its according to triggering clock f1, calculate the first pulse signal k in it is two neighboring just The very first time interval T1 of pulse;
Period 1 comparing subunit 403, it is according to previous in very first time interval T1, the two neighboring positive pulse The latter positive pulse pair in the period start time T11 of data variation corresponding to positive pulse " 01 ", the two neighboring positive pulse The end cycle moment T12 for the data variation " 01 " answered, obtain the period 1 value, namely in the comparison signal c1 ~ c2 of n roads it is adjacent Time interval between two data variations " 01 ";And will be worth the period 1 compared with predetermined period scope, when first week When time value is in predetermined period scope, the latter positive pulse is upper in the first pulse signal k two neighboring positive pulse Edge is risen, produces the first start pulse signal i.
With reference to Fig. 6(a), the course of work of rising edge triggering generation unit 301 is specifically described.From Fig. 6 As can be seen that period 1 processing subelement 401 is directed to the data in the comparison signal c1 ~ cn of n roads, occurring data change for the first time When changing " 01 ", a positive pulse p1 synchronous with triggering clock f1, pulsewidth is trigger clock cycle is produced;Occur at second During data variation " 01 ", a positive pulse p2 synchronous with triggering clock f1, pulsewidth is trigger clock cycle is produced, is wrapped P1 containing positive pulse and positive pulse p2 the first pulse signal k.It should be noted that may have in the comparison signal c1 ~ cn of n roads more Individual data variation " 01 ", accordingly, the first pulse signal k has multiple positive pulses, is only used as signal using two positive pulses herein.
The time only calculated according to two neighboring positive pulse can not represent adjacent two data in comparison signal c1 ~ cn and become Change the precise time between " 01 ", therefore, also need to judge the time location that data " 0 " arrive data " 1 " change, for accurately calculating Trigger the cycle.Period 1 handles subelement 401 at data variation " 01 ", from the acquisition cycle corresponding with the data variation Which begin moment and end cycle moment, specifically, according to trigger clock cycle, according to the data of change on road comparison signal Calculated, i.e., the way m of comparison signal where data " 1 " in data variation " 01 ".Assuming that change in data variation " 01 " Data " 1 " are on the comparison signal of m roads, then,
Period start time corresponding with data variation " 01 "
End cycle moment T12=trigger clock cycle * corresponding with data variation " 01 "(M-1)/n, m=1,2,3, 4……n。
As shown in table 1, data variation and its corresponding period start time, end cycle moment are given;Wherein, first The way m of comparison signal where the data " 1 " of change in data variation " 01 " is classified as, secondary series provides right with data variation " 01 " The period start time answered, the 3rd row provide period start time corresponding with data variation " 01 ".
Table 1
It should be noted that period start time T11 and end cycle moment T12 corresponding with data variation " 01 ", can Be the period 1 processing subelement 401 often detect it is that a data variation " 01 " is calculated in real time or right It is pre-configured with and stored, and passes through arriving of searching that pre-stored data directly obtains.
Further, period 1 processing subelement 401 inputs the period start time T11, end cycle moment T12 Into period 1 comparing subunit 403, period 1 count sub-element 402 is by adjacent two in the first pulse signal k of acquisition The very first time interval T1 of individual positive pulse is inputted into period 1 comparing subunit 403, carries out accurate computation of Period.First Cycle comparing subunit 403 calculates the period 1 value corresponding with rising edge, period 1 value=very first time interval T1+ phase The two neighboring positive pulses of period start time T11+ of data variation " 01 " corresponding to previous positive pulse in adjacent two positive pulses The end cycle moment T12 of data variation " 01 " corresponding to middle the latter positive pulse.When period 1 value is in predetermined period model When enclosing, the rising edge of the latter positive pulse in the two neighboring positive pulse, the first start pulse signal i is produced.
With reference to Fig. 6, as an example, data sampling unit 201 includes a double-core ADC, its sampling according to 1GHz Clock is sampled, and obtains 8 tunnel sampled datas and 125MHz triggering clock, trigger clock cycle 8ns.Period 1 is handled Subelement 401 is directed to the data in 8 road comparison signal c1 ~ c8, when occurring data variation " 01 " for the first time, i.e. at the t4 moment, obtains To change data " 1 " on the 4th road comparison signal, then obtaining its corresponding period start time T11 is:Trigger clock week Phase *(N-3)/n=8ns*5/8=5ns, obtaining its corresponding end cycle moment T12 is:Trigger clock cycle *(3/n)=8ns* 3/8=3ns.When occurring data variation " 01 " for the second time, i.e. tx+2At the moment, the data changed " 1 " are in the 2nd road comparison signal On, then obtaining its corresponding period start time T11 is:Trigger clock cycle *(N-1)/n=8ns*7/8=7ns, it is right to obtain its The end cycle moment T12 answered is:Trigger clock cycle *(1/n)=8ns*1/8=1ns.
In this example, as shown in figure 4, period 1 count sub-element 402 can include:
First number accumulator 404, it is according to the enable signal that a perseverance caused by trigger control unit 203 is high level U, when the first pulse signal k is low level, the data variation number for triggering clock f1 is added up, in the first pulse signal When k by low transition is high level, exported accumulation result as the first count value m, accumulation result is reset resetted afterwards;
Period 1 acquisition module 405, in its cycle according to triggering clock f1, the first count value m is converted to described the One time interval.
With reference to Fig. 6(a), first number accumulator 404 is when the first pulse signal k is low level, to triggering clock f1's Data variation number is added up, and by the end of the first pulse signal k high level, triggering clock f1 data variation number is 9, The first count value m is then exported as 9.Assuming that in this example, triggering clock f1 cycle is 8ns, then very first time acquisition module 405 The cycle for triggering clock f1 is multiplied by the first count value m, you can obtained for the first pulse signal k low level duration, be 72ns.From Fig. 6(a)In as can be seen that according to positive pulse p1 and positive pulse p2 rising edge, between the time for accurately calculating the two Every, it should be the first pulse signal k low level duration plus a positive pulse pulsewidth, therefore, conversion obtains the One time interval T1 should be:First count value m* triggering clocks f1 cycle+positive pulse p pulsewidth, is 80ns.The value is made Inputted for very first time interval T1 into period 1 comparing subunit 403.
Period 1 comparing subunit 403 calculates period 1 value:Number corresponding to very first time interval T1+ positive pulses p1 According to end cycle moment=80ns+5ns+ of data variation " 01 " corresponding to the period start time of change " 01 ", positive pulse p2 1ns=86ns。
It should be noted that period 1 count sub-element 402 can only will be low level lasting in the first pulse signal k Time, the time interval as two neighboring positive pulse;Then period 1 comparing subunit 403 first subtracts predetermined period scope One trigger clock cycle, then by period 1 value compared with the predetermined period scope for subtracting trigger clock cycle, together Sample can produce the first start pulse signal i according to comparative result.
Afterwards, period 1 comparing subunit 403 will be worth the period 1, compared with predetermined period scope, in this reality In example, period 1 value t1 is in predetermined period scope, then the latter positive pulse p2 in two neighboring positive pulse p1 and p2 Rising edge produce the first start pulse signal i.In this example, clock f1 and the first pulse signal k, the first triggering arteries and veins are triggered Rush signal i synchronizations.
As another modification, in above three example, as shown in figure 5, trailing edge triggering generation unit 302 includes:
Anti-phase processing subelement 504, it carries out anti-phase processing to n roads comparison signal c1 ~ cn, obtains the anti-phase relatively letter in n roads Number g1 ~ gn;
Second round handles subelement 501, for according to the triggering clock f1, for the anti-phase comparison signal in n roads Data in g1 ~ gn, change according to the time sequencing searching data of sampling, when there is data variation " 01 ", produce an arteries and veins The positive pulse of a width of trigger clock cycle, obtain a second pulse signal r for including at least two positive pulses;And there is number During according to change " 01 ", according to the way m and trigger clock cycle of comparison signal where data " 1 ", obtain and data variation " 01 " Corresponding period start time T21 and end cycle moment T22;
Second round count sub-element 502, for according to clock f1 is triggered, calculating two neighboring in the second pulse signal r The second time interval T2 between positive pulse;
Second round comparing subunit 503, it is according to previous in the second time interval T2, the two neighboring positive pulse The latter positive pulse pair in the period start time T21 of data variation corresponding to positive pulse " 01 ", the two neighboring positive pulse The end cycle moment T22 for the data variation " 01 " answered, obtain second week time value;And by second week time value and predetermined period scope It is compared, when second week time value is in predetermined period scope, in the second pulse signal r two neighboring positive pulse The rising edge of the latter positive pulse, produce the second start pulse signal.
The anti-phase comparison signal g1 ~ gn in the n roads low and high level that anti-phase processing subelement 504 obtains respectively with comparison signal c1 ~ cn is opposite.The signal timing diagram that the anti-phase comparison signal c1 ~ cn in n roads is obtained by comparison signal c1 ~ cn is omitted herein.Reference picture 6 (b), second round processing subelement 501 is directed to the data in the anti-phase comparison signal g1 ~ gn in n roads, according to the time sequencing of sampling Searching data changes, and when occurring data variation " 01 " for the first time, produces the positive pulse q1 that a pulsewidth is trigger clock cycle, When occurring data variation " 01 " for the second time, the positive pulse q2 that a pulsewidth is trigger clock cycle is produced, obtains including positive arteries and veins Rush q1 and positive pulse q2 the second pulse signal r.Equally, the second pulse signal r can have multiple positive pulses, herein only with two Individual positive pulse is as signal.Second round count sub-element 502 is calculated adjacent two in the second pulse signal r according to triggering clock f1 Time interval between individual positive pulse q1 and q2.
As an example, in above-mentioned modification, as shown in figure 5, second round count sub-element 502 includes:
Second number accumulator 505, it, according to the enable signal u that a perseverance is high level, is low in the second pulse signal r During level, the data variation number for triggering clock f1 is added up, by low transition is high level in the second pulse signal r When, exported accumulation result as the second count value n, accumulation result is reset resetted afterwards;
Second time-obtaining module 506, its cycle according to triggering clock f1, when the second count value n is converted into second Between be spaced T2.
It is understood that time interval between two data variations " 01 " adjacent in anti-phase comparison signal g with than The computational methods of time interval between two data variations " 01 " adjacent compared with signal c are similar.Rising edge triggering produces single The course of work that the course of work and the trailing edge of member 301 trigger generation unit 302 can be cross-referenced, its unit, module It is similar to build principle, here is omitted.The difference is that the calculation procedure that the calculation procedure of second week time value is worth than the period 1 More anti-phase processes.
Afterwards, second round comparing subunit 503 is according to data variation corresponding to the second time interval T2+ positive pulses q1 The end cycle moment T22 of data variation " 01 " corresponding to period start time T21, the positive pulse p2 of " 01 " calculates second round Value, and by second week time value compared with predetermined period scope, in this example, second week time value is in predetermined period model Enclose, then the rising edge of the latter positive pulse q2 in two neighboring positive pulse q1 and q2 produces the second start pulse signal j.
With reference to Fig. 3(a), Fig. 3(c)With Fig. 6(b), it is when user sets the cycle edge of cycle triggering:Rising edge to rise Edge, i.e., by the time interval between two data variations " 01 " adjacent in comparison signal c1 ~ cn, as in measured signal a When the periodic quantity of local signal carries out cycle triggering, the first trigger signal generation unit 303 can be selected to trigger rising edge and produced First start pulse signal i caused by raw unit 301, is exported as trigger signal d.
It is when user sets the cycle edge of cycle triggering:Trailing edge is to trailing edge, i.e., by two numbers adjacent in c1 ~ cn According to the second time interval T2 between change " 10 ", the periodic quantity as the local signal in measured signal a carries out cycle triggering When, the first trigger signal generation unit 303 can select trailing edge triggering the second trigger pulse letter caused by generation unit 302 Number j, exported as trigger signal d.
With reference to Fig. 3(b), Fig. 3(c)With Fig. 6(b), it is when user sets the cycle edge of cycle triggering:Rising edge to rise Edge, or trailing edge is to trailing edge, i.e. both can be by between two data variations " 01 " adjacent in comparison signal c1 ~ cn Time interval, the periodic quantity as the local signal in measured signal a carry out cycle triggering;Again can be by comparison signal c1 ~ cn In time interval between adjacent two data variations " 10 ", the periodic quantity as the local signal in measured signal a carries out Cycle is triggered, and now, rising edge is triggered the first triggering arteries and veins caused by generation unit 301 by the second trigger signal generation unit 304 Rush signal i and the first start pulse signal i caused by trailing edge triggering generation unit 302 and carry out logic or processing, obtain logic Or the result s of processing, exported as trigger signal d.
It should be noted that after trigger control unit 203 produces trigger signal, samples storage unit 204 is believed according to triggering Number d stores to sampled data b1 ~ bn, produces the waveform display data e shown for waveform.It is not to say that, often produces one Individual trigger signal d, samples storage unit 204 just store in response to trigger signal d to sampled data b.Because adopt Sample memory cell 204 carries out pre-sampling storage to sampled data first, within this period of pre-sampling storage, samples storage list Member 204 is not responding to trigger signal d.After pre-sampling storage terminates, trigger control unit 203 can produce the enabled letter of a triggering Number, hereafter, the ability of samples storage unit 204 proceeds by delay sampling storage to sampled data b1 ~ bn in response to trigger signal d. And within this period of subsequent delay samples storage, if trigger signal d is produced, samples storage unit 204 is to the triggering Signal d is also not make what is responded.In addition, delay sampling storage is completed, it is dead to having one between pre-sampling storage next time Area's time, in dead time, samples storage unit 204 does not also respond to trigger signal d.
With reference to Fig. 6(b), the result s of logic or processing be in time sequencing, not only comprising the first start pulse signal i but also The second start pulse signal j signal is included, if after trigger control unit 203 produces a triggering enable signal, samples storage Unit 204 receives the trigger signal d for including the first start pulse signal i, then in response to trigger signal d to sampled data b1 ~ Bn carries out delay sampling storage, and cycle triggering is carried out that is, being worth according to the period 1;If in subsequent delay samples storage This period in or delay sampling storage after the completion of dead time in, samples storage unit 204 receives subsequent production The raw trigger signal d for including the second start pulse signal j, then be not responsive to trigger signal d;If deposited in pre-sampling next time After storage is completed, trigger control unit 203 produces a triggering enable signal, samples storage unit 204 is received comprising the second triggering Pulse signal j trigger signal d, then delay sampling storage is carried out to sampled data b in response to trigger signal d, that is, pressing Cycle triggering is realized according to second week time value.
Samples storage unit 204 belongs to the content of prior art, this reality according to the process of trigger signal d progress samples storages Apply example and only make schematic illustration, here is omitted.
It should be noted that trigger control unit 203 is obtained the local signal in measured signal a by comparison signal c1 ~ cn Periodic quantity after, the periodic quantity can also be converted to frequency values;And the frequency values and a predeterminated frequency scope are carried out Compare, trigger signal d is produced according to comparative result, so as to realize that frequency triggers.The principle of frequency triggering is similar with cycle triggering, Simply more processes that frequency values are obtained by periodic quantity, here is omitted.
Above to a kind of oscillograph of the parallel sampling with cycle Trigger Function provided by the present invention, carry out in detail Introduce, specific case used herein is set forth to the principle and embodiment of the present invention, the explanation of above example It is only intended to help the method and its core concept for understanding the present invention;Meanwhile for those of ordinary skill in the art, according to this The thought of invention, there will be changes in specific embodiments and applications, in summary, this specification content should It is interpreted as limitation of the present invention.

Claims (11)

1. a kind of oscillograph of the parallel sampling with cycle Trigger Function, including:
Data sampling unit, for being sampled to measured signal all the way, produce triggering clock and parallel n roads sampled data;
Digital comparing unit, compare processing for carrying out simultaneously line level to n roads sampled data, produce n roads comparison signal;
Trigger control unit, for according to n roads comparison signal, producing trigger signal;
Samples storage unit, for being stored according to the trigger signal to n roads sampled data, produce and show for waveform The waveform display data shown;
Characterized in that,
The trigger control unit, for according to the triggering clock, being obtained by n roads comparison signal in the measured signal Local signal periodic quantity;And acquired periodic quantity is produced compared with a predetermined period scope according to comparative result The raw trigger signal.
2. oscillograph as claimed in claim 1, it is characterised in that
The trigger control unit is used for according to the triggering clock, for the data in the comparison signal of the n roads, according to sampling Time sequencing searching data change, the time interval between two adjacent same type data variations is obtained, as institute State the periodic quantity of the local signal in measured signal;And acquired periodic quantity and the predetermined period scope are subjected to cycle ratio Compared with processing, the trigger signal is produced according to comparative result.
3. oscillograph as claimed in claim 1, it is characterised in that
The trigger control unit is used for according to the triggering clock, for the data in the comparison signal of the n roads, according to sampling Time sequencing searching data change, the time interval between two adjacent data variations " 01 " is obtained, as described The period 1 value of local signal in measured signal;And obtain between time between adjacent two data variations " 10 " Every as the second week time value of the local signal in the measured signal;
And handle acquired period 1 value and second week time value compared with the predetermined period scope progress cycle respectively, The trigger signal is produced according to comparative result.
4. oscillograph as claimed in claim 3, it is characterised in that the trigger control unit includes:
Rising edge triggers generation unit, for according to the triggering clock, for the data in the comparison signal of the n roads, according to The time sequencing searching data change of sampling, obtains the time interval between two adjacent data variations " 01 ", as The period 1 value of local signal in acquired measured signal;And period 1 value is carried out with predetermined period scope Compare, when the period 1, value was in the predetermined period scope, produce first start pulse signal;
Trailing edge triggers generation unit, for according to the triggering clock, for the data in the comparison signal of the n roads, according to The time sequencing searching data change of sampling, obtains the time interval between two adjacent data variations " 10 ", as The second week time value of local signal in acquired measured signal;And the second week time value and predetermined period scope are carried out Compare, when the second week time value is in the predetermined period scope, produce second start pulse signal;
First trigger signal generation unit, for selecting in first start pulse signal and second start pulse signal One, as the trigger signal export.
5. oscillograph as claimed in claim 3, it is characterised in that the trigger control unit includes:
Rising edge triggers generation unit, for according to the triggering clock, for the data in the comparison signal of the n roads, according to The time sequencing searching data change of sampling, obtains the time interval between two adjacent data variations " 01 ", as The period 1 value of local signal in acquired measured signal;And period 1 value is carried out with predetermined period scope Compare, when the period 1, value was in the predetermined period scope, produce first start pulse signal;
Trailing edge triggers generation unit, for according to the triggering clock, for the data in the comparison signal of the n roads, according to The time sequencing searching data change of sampling, obtains the time interval between two adjacent data variations " 10 ", as The second week time value of local signal in acquired measured signal;And the second week time value and predetermined period scope are carried out Compare, when the second week time value is in the predetermined period scope, produce second start pulse signal;
Second trigger signal generation unit, for first start pulse signal and second start pulse signal progress Logic or processing, logic or the result of processing are exported as trigger signal.
6. the oscillograph as described in claim 4 or 5, it is characterised in that
The trailing edge triggering generation unit carries out anti-phase processing to n roads comparison signal, obtains the anti-phase comparison signal in n roads; And according to the triggering clock, for the data in the anti-phase comparison signal in n roads, according to the time sequencing searching data of sampling Change, obtains the time interval between two adjacent data variations " 01 ", adjacent two as n roads comparison signal Time interval between data variation " 10 ".
7. the oscillograph as described in claim 4 or 5, it is characterised in that the rising edge triggering generation unit includes:
Period 1 handles subelement, for according to the triggering clock, for the data in the comparison signal of the n roads, according to The time sequencing searching data change of sampling, when there is data variation " 01 ", a pulsewidth is produced as trigger clock cycle Positive pulse, obtain first pulse signal for including at least two positive pulses;And at data variation " 01 ", it is right with it to obtain The period start time answered and end cycle moment;
Period 1 count sub-element, for according to the triggering clock, calculate in first pulse signal it is two neighboring just Very first time interval between pulse;
Period 1 comparing subunit, for according in the very first time interval, the two neighboring positive pulse it is previous just Number corresponding to the latter positive pulse in the period start time of data variation corresponding to pulse " 01 ", the two neighboring positive pulse According to the end cycle moment of change " 01 ", the period 1 value is obtained;And when period 1 value is in predetermined period model When enclosing, the rising edge of the latter positive pulse in the two neighboring positive pulse of the first pulse signal, produce described first and touch Send out pulse signal.
8. oscillograph as claimed in claim 7, it is characterised in that the period 1 count sub-element includes:
First number accumulator, for when first pulse signal is low level, to the data variation of the triggering clock Number is added up, and when it is high level that first pulse signal is by low transition, is counted accumulation result as first Value output, accumulation result is reset resetted afterwards;
Period 1 acquisition module, for the cycle according to the triggering clock, first count value is converted to described the One time interval.
9. oscillograph as claimed in claim 6, it is characterised in that the trailing edge triggering generation unit includes:
Anti-phase processing subelement, for carrying out anti-phase processing to n roads comparison signal, obtain the anti-phase comparison signal in n roads;
Second round handles subelement, for according to the triggering clock, for the data in the anti-phase comparison signal in n roads, Change according to the time sequencing searching data of sampling, when there is data variation " 01 ", produce a pulsewidth as triggering clock week The positive pulse of phase, obtain second pulse signal for including at least two positive pulses;And at data variation " 01 " obtain with Its corresponding period start time and end cycle moment;
Second round count sub-element, for according to the triggering clock, calculate in second pulse signal it is two neighboring just The second time interval between pulse;
Second round comparing subunit, for according in second time interval, the two neighboring positive pulse it is previous just Number corresponding to the latter positive pulse in the period start time of data variation corresponding to pulse " 01 ", the two neighboring positive pulse According to the end cycle moment of change " 01 ", the second week time value is obtained;And when the second week time value is in predetermined period model When enclosing, the rising edge of the latter positive pulse in the two neighboring positive pulse of the second pulse signal, produce described second and touch Send out pulse signal.
10. oscillograph as claimed in claim 9, it is characterised in that the second round count sub-element includes:
Second number accumulator, for when second pulse signal is low level, to the data variation of the triggering clock Number is added up, and when it is high level that second pulse signal is by low transition, is counted accumulation result as second Value output, accumulation result is reset resetted afterwards;
Second round acquisition module, for the cycle according to the triggering clock, second count value is converted to described the Two time intervals.
11. oscillograph as claimed in claim 1, it is characterised in that also include:
User input interface, for setting cycle comparison pattern and at least one Ct value time;
The trigger control unit was additionally operable to according to set Ct value time and the generation of selected cycle comparison pattern The predetermined period scope.
CN201210362933.6A 2012-09-25 2012-09-25 A kind of oscillograph of the parallel sampling with cycle Trigger Function Active CN103675381B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210362933.6A CN103675381B (en) 2012-09-25 2012-09-25 A kind of oscillograph of the parallel sampling with cycle Trigger Function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210362933.6A CN103675381B (en) 2012-09-25 2012-09-25 A kind of oscillograph of the parallel sampling with cycle Trigger Function

Publications (2)

Publication Number Publication Date
CN103675381A CN103675381A (en) 2014-03-26
CN103675381B true CN103675381B (en) 2017-12-22

Family

ID=50313551

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210362933.6A Active CN103675381B (en) 2012-09-25 2012-09-25 A kind of oscillograph of the parallel sampling with cycle Trigger Function

Country Status (1)

Country Link
CN (1) CN103675381B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10872055B2 (en) * 2016-08-02 2020-12-22 Qualcomm Incorporated Triple-data-rate technique for a synchronous link
JP6773732B2 (en) * 2018-08-03 2020-10-21 ファナック株式会社 Trace device
CN109633228B (en) * 2018-12-28 2021-06-15 深圳市鼎阳科技股份有限公司 Sampling method and device in oscilloscope and oscilloscope
CN113777376B (en) * 2021-09-27 2024-03-22 广东工业大学 Triggering system and triggering method of oscilloscope
CN114910680B (en) * 2022-07-18 2022-10-14 深圳市鼎阳科技股份有限公司 Interleaved sampling oscilloscope and waveform reconstruction compensation method thereof

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002116225A (en) * 2000-10-04 2002-04-19 Yokogawa Electric Corp Serial pattern trigger circuit
CN101086510A (en) * 2006-03-24 2007-12-12 特克特朗尼克公司 Digital trigger circuit
CN201508381U (en) * 2009-07-21 2010-06-16 北京普源精电科技有限公司 Digital oscilloscope with video triggering function
CN102466748A (en) * 2010-11-03 2012-05-23 北京普源精电科技有限公司 Digital oscilloscope with equivalent sampling function, and equivalent sampling method for digital oscilloscope

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7072804B2 (en) * 2004-09-28 2006-07-04 Agilent Technologies, Inc. Digital trigger filter for a real time digital oscilloscope

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002116225A (en) * 2000-10-04 2002-04-19 Yokogawa Electric Corp Serial pattern trigger circuit
CN101086510A (en) * 2006-03-24 2007-12-12 特克特朗尼克公司 Digital trigger circuit
CN201508381U (en) * 2009-07-21 2010-06-16 北京普源精电科技有限公司 Digital oscilloscope with video triggering function
CN102466748A (en) * 2010-11-03 2012-05-23 北京普源精电科技有限公司 Digital oscilloscope with equivalent sampling function, and equivalent sampling method for digital oscilloscope

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
一种数字存储示波器智能触发技术研究;曾浩等;《仪表技术与传感器》;20101231(第6期);66 *

Also Published As

Publication number Publication date
CN103675381A (en) 2014-03-26

Similar Documents

Publication Publication Date Title
CN103713171B (en) It is a kind of that there is the oscillograph for postponing Trigger Function
CN103675381B (en) A kind of oscillograph of the parallel sampling with cycle Trigger Function
CN102495912B (en) Multi-channel high-speed data acquisition system with synchronous correction function
CN101783665B (en) Programmable stepping time-delay time base and sampling system
CN102497210B (en) Data synchronous identification device of multiple analog-to-digital converter (ADC) high-speed data acquisition system
CN106537786B (en) Asynchronous successive approximation register analog-digital converter (SAR ADC) in synchronization system
CN109274369B (en) Method and device for digitizing scintillation pulse
JPH1144710A (en) Automatic calibration of oscilloscope using square wave test signal
CN103901243B (en) A kind of oscillograph with high triggering precision
CN110166046B (en) Sequential equivalent sampling system based on phase delay
CN109901472A (en) A kind of sequential equivalent system based on FPGA
CN109582176A (en) A kind of touch screen anti-noise method and device
CN107589410B (en) A kind of no breakpoint Multiple Target Signals synthetic method
CN104022761B (en) A kind of method of testing of pulse-modulated signal
CN103869123B (en) It is a kind of that there is the oscillograph of pulse width measure
CN103675380B (en) A kind of oscillograph with cycle Trigger Function
CN104076178B (en) A kind of oscillograph with improvement Trigger Function
CN105136317A (en) Single-point sampling decision single-photon detector and sampling decision method thereof
CN108020803A (en) A kind of arbitrary waveform generator amplitude frequency sweep estimates calibration method
CN106153709A (en) Time interval measurement
CN109030934B (en) Method for improving peak power measurement speed
CN109948223A (en) A kind of impulse amplitude acquisition methods based on Lagrange's interpolation
CN112067870B (en) Automatic oscilloscope parameter measuring device and method based on FPGA
CN106936435B (en) Method for rapidly determining ADC splicing sequence
CN103018513B (en) A kind of oscillograph with video triggering function

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant