CN1330965C - Oscilloscope condition triggering method based on finit state machine - Google Patents

Oscilloscope condition triggering method based on finit state machine Download PDF

Info

Publication number
CN1330965C
CN1330965C CNB2005100407362A CN200510040736A CN1330965C CN 1330965 C CN1330965 C CN 1330965C CN B2005100407362 A CNB2005100407362 A CN B2005100407362A CN 200510040736 A CN200510040736 A CN 200510040736A CN 1330965 C CN1330965 C CN 1330965C
Authority
CN
China
Prior art keywords
condition
triggering
edge
sets
user
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.)
Expired - Fee Related
Application number
CNB2005100407362A
Other languages
Chinese (zh)
Other versions
CN1710429A (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.)
Southeast University
Original Assignee
Southeast University
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 Southeast University filed Critical Southeast University
Priority to CNB2005100407362A priority Critical patent/CN1330965C/en
Publication of CN1710429A publication Critical patent/CN1710429A/en
Application granted granted Critical
Publication of CN1330965C publication Critical patent/CN1330965C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Measuring Frequencies, Analyzing Spectra (AREA)
  • Sewing Machines And Sewing (AREA)

Abstract

The present invention relates to an oscilloscope condition triggering method based on a finite state machine. The condition triggering method comprises the steps that a user sets the series of the state machine to n according to the complication degree of a waveform and the n is an integer which is greater than or equal to 1; a system provides four kinds of selectable conditions for the user, namely (1) an automatic condition, (2) an edge condition, (3) a time-out condition and (4) a forbidden condition, wherein the automatic condition is a secondary condition and is true forever; the edge condition is a true condition when the specific edge polarity of a specific electric level is satisfied; the time-out condition is a true condition when specific delay time is satisfied; the forbidden condition is a condition which is never true. The method has strong versatility and specificity and the user can arbitrarily set very complicated triggering conditions to trigger the waveform. As long as the triggering conditions are correctly set, various complicated triggering modes in a modern oscilloscope can be realized, such as edge triggering, pulse width triggering, glitch triggering, time-out triggering, delay triggering, insufficient amplitude triggering, jump triggering, etc.

Description

A kind of oscilloscope condition triggering method based on finite state machine
Technical field:
The present invention is a kind of triggering method of electronic measuring instrument, especially for the oscillographic technical field of waveform demonstration.
Background technology:
" triggering " is a requisite important step in the oscillograph.Do not have the effect of triggering, the demonstration of waveform just is difficult to be stablized.And for the catching and observing of some special waveforms, complicated trigger mechanism also is inevasible.The typical facility that trigger have an input end and an output terminal, and input end generally connects measured signal and output terminal connection waveform sampling controller.Its groundwork process is: the continuous continuous monitoring measured signal of triggering machine, in case find to meet trigger condition, triggering machine just output triggers enable signal.Therefore, the core that triggers machine is exactly whether qualified continuous monitoring to measured signal, and different triggering modes, function just corresponding above-mentioned " condition ".
The mode that existing oscillograph adopts the edge to trigger mostly, detectability is limited.At present some high-grade oscillographs are supported triggering modes that some are comparatively complicated, just as TV triggerings, pulsewidth triggerings, burr triggering, Event triggered, delay trigger, jumping triggering etc., the analysis of signal is had very big benefit.But the waveform of the required detection of modern oscillograph is diversified.At some special occasions, measured signal and spurious signal mix, and the appearance of measured signal sometimes just in a flash.How in various spuious waveforms, to find out the waveform segment of wanting and be one and make very pain in the neck feelings of slip-stick artist.Each is to trigger at certain specific situation mostly for those complicated triggering functions that high-grade oscillograph is provided, and for some distinctive signals, particularly the special waveform of shape often just seems powerless.For example, in a psk signal, find out a specific phase hit, in a series of sinusoidal wave strings, find out specific triangular wave of slope or the like.
Summary of the invention
Technical matters: the purpose of this invention is to provide a kind of oscilloscope condition triggering method based on finite state machine, this method has very strong versatility and specificity.Versatility is: the user can be provided with very complicated trigger condition arbitrarily and carry out the waveform triggering, and, just can realize edge triggering, pulsewidth triggering, burr triggering, overtime triggering, postpone to trigger, owe diversified complicated triggering mode in the modern oscillographs such as width of cloth triggering, saltus step triggering as long as it is carried out correct setting; Specificity is that the user can use this triggering method to filter out the very strong waveform of specificity, as specific amplitude, specific slope and specific time.
Technical scheme:
Condition triggering method is based on the finite state machine with N+1 state of a complexity.N in the following formula can be for arbitrarily more than or equal to 1 integer, the programmable trigger waiting status of expression programmable trigger machine: and " 1 " in the following formula is " triggering enables " state, for all triggering machines common.
In this state machine, except that triggering enabled state, each state (being each programmable trigger waiting status) can jump to other any one state.For making things convenient for device, can represent the jump condition of setting able to programme with " Con m:n " from the m state to the n state.Jump condition add up to M, general, M = P N 2 + 1 。Each condition can be selected from 4 preset condition.Preset condition comprises " condition automatically ", " disable condition ", " overtime condition " and " edge condition ".Wherein, automatically condition refers to that this condition sets up forever, the edge condition refers to satisfy the condition (level and edge polarity be set by the user) of the certain edges thereof of particular level along the polarity chron establishment, overtime condition refers to satisfy the condition of setting up after the specific time of time-delay (time is set by the user), and disable condition refers to that this condition never sets up.
Condition triggering method is: the user is n according to the progression that the complexity of waveform is provided with state machine, n be one more than or equal to 1 integer: system provides four kinds of optional conditioies to the user, is respectively: 1. condition, 2. edge condition, 3. overtime condition, 4. disable condition automatically; Wherein, automatically condition refers to that time condition sets up forever, and the edge condition refers to satisfy the condition that the certain edges thereof of particular level is set up along polarity chron, and overtime condition refers to satisfy the condition of setting up after the specific time of time-delay, and disable condition refers to that this condition never sets up; In order to reach correct triggering, the user need come each jump condition is selected according to the shape of waveform.The system of selection of condition is as follows:
A) if want to make this condition to set up forever, can select " condition automatically ", this condition generally is used for the unconditional transfer of determining step;
B) if want that condition is set up when waveform reaches specific level and meets specific edge polarity, can select " edge condition ";
C) if the special time postcondition of wanting to delay time is set up, can select " overtime condition ";
D) if want to make this condition never to set up, can select " disable condition ";
(i, j are the natural number that is less than or equal to n and i ≠ j) to the user as condition i: j by one in four conditions to be selected that system provided by waveform to be measured and above-described system of selection;
Condition triggering method is as follows:
1) system's Rule of judgment 1: 2~1 successively: whether n sets up, in case find 1: i set up (2≤i≤n), then jump to step I, this step that then stays on of all being false is else if judged;
2) system's Rule of judgment 2: 1~2 successively: whether n sets up, in case find 2: i sets up (1≤i≤n and i ≠ 2), then jumps to step I, and this step that then stays on of all being false is else if judged;
3) system's Rule of judgment 3: 1~3 successively: whether n sets up, in case find 3: i sets up (1≤i≤n and i ≠ 3), then jumps to step I, and this step that then stays on of all being false is else if judged;
......
N-1) system successively Rule of judgment n-1: 1~n-1: n whether set up, in case find n-1: i set up (1≤i≤n and i ≠ n-1), then jump to step I, this step that then stays on of all being false is else if judged;
N) system successively Rule of judgment n: 1~n: n-1 whether set up, in case find n: i set up (1≤i≤n-1), then jump to step I, all being false else if then jumps to step n+1; N+1) whether system's Rule of judgment n: t sets up, if set up then jump to step n+2, all being false else if then jumps to step n;
N+2) system's output triggers enable signal;
N+3) finish.
The automatic condition that system provides refers to that this condition is set up forever; System runs to the jump method that should set up according to condition immediately when judging this condition and carries out the redirect of step.
The edge condition that system provides refers to, reaches particular level and satisfies specific edge polarity chron when importing waveform, and this condition is set up; Its level should be set arbitrarily in maximum signal level and minimum signal level by the user, and edge polarity should be selected in " rising edge ", " negative edge " and " two edge " by the user.
The overtime condition that system provides refers to: pick up counting from entering the step of judging this condition, finish timing up to the specific time; This condition is false during the timing, and this condition is set up immediately after reaching the special time timing and stopping; This time should be set arbitrarily by the user.
After selection was finished, the triggering machine was started working.The redirect of the state of state machine along with the variation of input waveform.In case the state of state machine jumps to " triggering enables " state, illustrate that the input waveform has satisfied user's requirement fully.At this moment, one of triggering machine output triggers enable signal, and the condition of finishing triggers.
Beneficial effect: as long as N is enough big, this triggering method can trigger the waveform of any complexity almost.N=3 is worked as in the engineering practice explanation, just can satisfy the application of most occasions in the time of P=7.
The suitable condition setting of carrying out, this triggering method can also equivalence be other triggering method.For example, Con1, Con2 in accompanying drawing 2 are " automatically ", and Con4 is that the edge triggers, and other conditions are when forbidding, this triggering mode just equivalence is the edge triggering of ordinary oscilloscope; Con2 in accompanying drawing 2 is overtime, and Con1, Con4 are that the edge triggers, and other conditions are when forbidding, the equivalence of this triggering mode triggers for postponing.Similarly, by the user to the triggering machine correctly, condition setting cleverly, this triggering mode can equivalence for edge triggerings, pulsewidth triggering, burr triggering, overtime triggering, delay triggering, owe diversified triggering mode in the modern oscillographs such as width of cloth triggering, saltus step triggering.
Description of drawings
Fig. 1 is the principle schematic that the present invention triggers finite state machine.
Fig. 2 is the principle schematic that triggers finite state machine when N=3.
Fig. 3 is a workflow synoptic diagram of the present invention.
Fig. 4 is a specific implementation method of the present invention.
Embodiment
Enforcement of the present invention can be divided into two parts: finite state machine and condition generator.Wherein, finite state machine can be by logical device, comprise programmable logic array (Field Programmable GateArray, FPGA) or special IC (ASIC) etc. realize very easily.And the condition generator can be realized by the method for analog to digital converter (ADC)+logical device or level comparator+logical device.
In the oscilloscope condition triggering method based on finite state machine of the present invention, condition triggering method is:
The user is n according to the progression that the complexity of waveform is provided with state machine, n be one more than or equal to 1 integer; System provides four kinds of optional conditioies to the user, is respectively: 1. automatically condition, 2. edge condition, 3. overtime condition, 4. disable condition; Wherein, automatically condition refers to that time condition sets up forever, and the edge condition refers to satisfy the condition that the certain edges thereof of particular level is set up along polarity chron, and overtime condition refers to satisfy the condition of setting up after the specific time of time-delay, and disable condition refers to that this condition never sets up; The system of selection of condition is as follows:
E) if want to make this condition to set up forever, can select " condition automatically ", this condition generally is used for the unconditional transfer of determining step;
F) if want that condition is set up when waveform reaches specific level and meets specific edge polarity, can select " edge condition ";
G) if the special time postcondition of wanting to delay time is set up, can select " overtime condition ";
H) if want to make this condition never to set up, can select " disable condition ";
(i, j are the natural number that is less than or equal to n and i ≠ j) to the user as condition i: j by one in four conditions to be selected that system provided by waveform to be measured and above-described system of selection; Condition triggering method is as follows:
1) Rule of judgment 1: 2~1 successively of uniting: whether n sets up, in case find 1: i set up (2≤i≤n), then jump to step I, this step that then stays on of all being false is else if judged;
2) system's Rule of judgment 2: 1~2 successively: whether n sets up, in case find 2: i sets up (1≤i≤n and i ≠ 2), then jumps to step I, and this step that then stays on of all being false is else if judged;
3) Rule of judgment 3: 1~3 successively: whether n sets up, in case find 3: i sets up (1≤i≤n and i ≠ 3), then jumps to step I, and this step that then stays on of all being false is else if judged;
......
N-1) system successively Rule of judgment n-1: 1~n-1: n whether set up, in case find n-1: i set up (1≤i≤n and i ≠ n-1), then jump to step I, this step that then stays on of all being false is else if judged;
N) system successively Rule of judgment n: 1~n: n-1 whether set up, in case find n: i set up (1≤i≤n-1), then jump to step I, all being false else if then jumps to step n+1; N+1) whether system's Rule of judgment n: t sets up, if set up then jump to step n+2, all being false else if then jumps to step n;
N+2) system's output triggers enable signal;
N+3) finish.
The automatic condition that system provides refers to that this condition is set up forever; System runs to the jump method that should set up according to condition immediately when judging this condition and carries out the redirect of step.
The edge condition that system provides refers to, reaches particular level and satisfies specific edge polarity chron when importing waveform, and this condition is set up; Its level should be set arbitrarily in maximum signal level and minimum signal level by the user, and edge polarity should be selected in " rising edge ", " negative edge " and " two edge " by the user.
The overtime condition that system provides refers to: pick up counting from entering the step of judging this condition, finish timing up to the specific time; This condition is false during the timing, and this condition is set up immediately after reaching the special time timing and stopping; This time should be set arbitrarily by the user.
An embodiment when accompanying drawing 6 is this method P=7.Among the figure, DA is a digital to analog converter.Level comparator+digital to analog converter has constituted complete edge comparer and has been used for producing required edge trigger condition.Conditions such as that this condition and FPGA internal algorithm produce is overtime, automatic, forbid are through sending into the finite state machine in the FPGA after selecting.Finite state machine is finished final triggering task.The advantage of this method is to have than in real time edge compare facility and higher overall operation speed faster.

Claims (1)

1, a kind of oscilloscope condition triggering method based on finite state machine is characterized in that condition triggering method is: the user is n according to the progression that the complexity of waveform is provided with state machine, n be one more than or equal to 1 integer; System provides four kinds of optional conditioies to the user, is respectively: 1. automatically condition, 2. edge condition, 3. overtime condition, 4. disable condition; Wherein, automatically condition refers to that time condition sets up forever, and the edge condition refers to satisfy the condition that the certain edges thereof of particular level is set up along polarity chron, and overtime condition refers to satisfy the condition of setting up after the specific time of time-delay, and disable condition refers to that this condition never sets up; The system of selection of condition is as follows:
I) if want to make this condition to set up forever, can select " condition automatically ", this condition generally is used for the unconditional transfer of determining step;
J) if want that condition is set up when waveform reaches specific level and meets specific edge polarity, can select " edge condition ";
K) if the special time postcondition of wanting to delay time is set up, can select " overtime condition ";
L) if want to make this condition never to set up, can select " disable condition ";
The user by waveform to be measured and above-described system of selection by one in four conditions to be selected that system provided as condition i: j, wherein: i, j are natural number and the i ≠ j that is less than or equal to n;
Condition triggering method is as follows:
1.) the Rule of judgment 1: 2~1 successively of uniting: whether n sets up, in case find 1: i sets up, and then jumps to step I, and this step that then stays on of all being false is else if judged; Wherein:
2≤i≤n
2.) system's Rule of judgment 2: 1~2 successively: whether n sets up, in case find 2: i sets up, and then jumps to step I, and this step that then stays on of all being false is else if judged; Wherein:
1≤i≤n and i ≠ 2,
3) system's Rule of judgment 3: 1~3 successively: whether n sets up, in case find 3: i sets up, and then jumps to step I, and this step that then stays on of all being false is else if judged; Wherein:
1≤i≤n and i ≠ 3,
......
N-1) system successively Rule of judgment n-1: 1~n-1: n whether set up, set up in case find n-1: i, then jump to step I, this step that then stays on of all being false is else if judged;
Wherein: 1≤i≤n and i ≠ n-1,
N) system successively Rule of judgment n: 1~n: n-1 whether set up, set up then jump to step I in case find n: i, all being false else if then jumps to step n+1; Wherein: 1≤i≤n-1, n+1) whether system's Rule of judgment n: t sets up, if set up then jump to step n+2, all being false else if then jumps to step n;
N+2) system's output triggers enable signal;
N+3) finish;
The automatic condition that system provides refers to that this condition is set up forever; System runs to the jump method that should set up according to condition immediately when judging this condition and carries out the redirect of step;
The edge condition that system provides refers to, reaches particular level and satisfies specific edge polarity chron when importing waveform, and this condition is set up; Its level should be set arbitrarily in maximum signal level and minimum signal level by the user, and edge polarity should be selected in " rising edge ", " negative edge " and " two edge " by the user;
The overtime condition that system provides refers to: pick up counting from entering the step of judging this condition, finish timing up to the specific time; This condition is false during the timing, and this condition is set up immediately after reaching the special time timing and stopping; This time should be set arbitrarily by the user.
CNB2005100407362A 2005-06-24 2005-06-24 Oscilloscope condition triggering method based on finit state machine Expired - Fee Related CN1330965C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2005100407362A CN1330965C (en) 2005-06-24 2005-06-24 Oscilloscope condition triggering method based on finit state machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2005100407362A CN1330965C (en) 2005-06-24 2005-06-24 Oscilloscope condition triggering method based on finit state machine

Publications (2)

Publication Number Publication Date
CN1710429A CN1710429A (en) 2005-12-21
CN1330965C true CN1330965C (en) 2007-08-08

Family

ID=35706696

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005100407362A Expired - Fee Related CN1330965C (en) 2005-06-24 2005-06-24 Oscilloscope condition triggering method based on finit state machine

Country Status (1)

Country Link
CN (1) CN1330965C (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102053189B (en) * 2009-11-10 2016-08-10 北京普源精电科技有限公司 A kind of digital oscilloscope with sequence Trigger Function and control method thereof
CN103869128B (en) * 2012-12-13 2019-02-26 北京普源精电科技有限公司 Digital oscilloscope triggering method and digital oscilloscope with Trigger Function
CN103631161A (en) * 2013-09-17 2014-03-12 北京理工大学 Filtering method based on state machine
US9268321B2 (en) * 2014-06-24 2016-02-23 Keysight Technologies, Inc. Digital tiggering using finite state machines
US20160179073A1 (en) 2014-12-19 2016-06-23 Keysight Technologies, Inc. Real Time Trigger Using A Finite State Machine Having A Counting State
CN107092436B (en) * 2017-03-07 2020-04-14 深圳市鼎阳科技股份有限公司 Oscilloscope and timing setting method and system thereof in automatic acquisition mode
CN109388445B (en) * 2017-08-03 2022-04-12 深圳市道通科技股份有限公司 Software oscilloscope input signal processing method and device and software oscilloscope

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3868568A (en) * 1972-06-20 1975-02-25 Takeda Riken Ind Co Ltd Spectrum analyzer
CN2107023U (en) * 1991-12-02 1992-06-10 北京无线电技术研究所 Power frequency parameter measuring apparatus
US6101454A (en) * 1998-11-23 2000-08-08 The United States Of America As Represented By The Secretary Of The Navy Apparatus to oscillograph single sub-nanosecond events
CN2613763Y (en) * 2003-04-24 2004-04-28 李维森 Video exciting device for digital oscilloscope

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3868568A (en) * 1972-06-20 1975-02-25 Takeda Riken Ind Co Ltd Spectrum analyzer
CN2107023U (en) * 1991-12-02 1992-06-10 北京无线电技术研究所 Power frequency parameter measuring apparatus
US6101454A (en) * 1998-11-23 2000-08-08 The United States Of America As Represented By The Secretary Of The Navy Apparatus to oscillograph single sub-nanosecond events
CN2613763Y (en) * 2003-04-24 2004-04-28 李维森 Video exciting device for digital oscilloscope

Also Published As

Publication number Publication date
CN1710429A (en) 2005-12-21

Similar Documents

Publication Publication Date Title
CN1330965C (en) Oscilloscope condition triggering method based on finit state machine
CN101923113B (en) The frequency mask that time limits triggers
CN100388267C (en) Periodic signal equivalent sampling method based on parametric model
CN108120919B (en) integrated circuit time parameter testing circuit and method
CN105245203B (en) High-precision low-speed clock duty ratio detecting system and method
CN108982940A (en) A kind of external trigger device and external trigger method, oscillograph based on serial receiver
CN103901243B (en) A kind of oscillograph with high triggering precision
CN103713171A (en) Oscilloscope having delayed trigger function
CN103487649A (en) Method and device capable of measuring both frequency of continuous waves and frequency of pulse modulation carrier waves
CN104022761B (en) A kind of method of testing of pulse-modulated signal
CN201749316U (en) Intelligent electric energy meter clock multi-function quick tester
CN103472276A (en) Electric energy meter electricity stealing judgment method and electric energy measurement system with same
CN102053189B (en) A kind of digital oscilloscope with sequence Trigger Function and control method thereof
CN107478883B (en) A kind of method and apparatus for realizing any N times of equivalent sampling
CN103675381B (en) A kind of oscillograph of the parallel sampling with cycle Trigger Function
CN104536282A (en) Time-digital converter and time measuring device and method
CN104076178B (en) A kind of oscillograph with improvement Trigger Function
CN104079265B (en) High-frequency clock dutycycle detecting system
CN107463759A (en) The simulating, verifying device and emulation verification method of a kind of timer
CN106918731A (en) A kind of digital oscilloscope and its signal frequency measuring method
CN106291349A (en) The method of testing of microwave components based on frequency conversion square-wave signal switch response time
CN105388437A (en) Method for testing waveform capture rate of digital storage oscilloscope
CN103675380A (en) An oscilloscope with a periodic trigger function
CN101975888A (en) Power trigger with time qualified and sequential event capability
CN108362940A (en) A kind of dynamic harmonic frequency extraction method of half cycles distorted signal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20070808

Termination date: 20100624