CN100578232C - Method and circuit of obtaining wave shape trigger signal of oscilloscope - Google Patents

Method and circuit of obtaining wave shape trigger signal of oscilloscope Download PDF

Info

Publication number
CN100578232C
CN100578232C CN200610063314A CN200610063314A CN100578232C CN 100578232 C CN100578232 C CN 100578232C CN 200610063314 A CN200610063314 A CN 200610063314A CN 200610063314 A CN200610063314 A CN 200610063314A CN 100578232 C CN100578232 C CN 100578232C
Authority
CN
China
Prior art keywords
signal
triggering level
wave shape
converter
latch
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
CN200610063314A
Other languages
Chinese (zh)
Other versions
CN1948973A (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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN200610063314A priority Critical patent/CN100578232C/en
Publication of CN1948973A publication Critical patent/CN1948973A/en
Application granted granted Critical
Publication of CN100578232C publication Critical patent/CN100578232C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Analogue/Digital Conversion (AREA)

Abstract

The invention discloses oscilloscope obtaining waveform trigger signal method and circuit. The method includes the following steps: real time sampling for the trigger source signal to gain waveform digital signal; setting trigger level and storing it in trigger level register; using digital comparator to compare waveform digital signal with trigger level to gain compared impulse; using latch to store rising edge or falling edge of the compared impulse to gain waveform trigger signal. It has the advantages of simple circuit, precise and reliable gained waveform trigger signal, low circuit cost etc.

Description

The Method and circuits of obtaining wave shape trigger signal of oscilloscope
Technical field
The present invention relates to the oscillograph technology, relate in particular to the method and a kind of circuit that produces wave shape trigger signal that obtain wave shape trigger signal in the oscillograph.
Background technology
Oscillograph is widely used in each technical field, and develops to the digital circuit direction gradually from original mimic channel mode, and the volume that has of digital circuit urinates in carrying, and the circuit performance excellence more and more wins people's favor.No matter and be analog oscilloscope or digital oscilloscope circuit, obtain wave shape trigger signal and be necessary means and process that oscillograph realizes showing synchronously and stably tested waveform.
The oscillograph of prior art adopts Method and circuits as shown in Figure 1 to obtain wave shape trigger signal.At first adopt mechanical switch or electronic switch to switch and select the triggering source, promptly selecting A channel or the measured signal of B passage as required still is the triggering source of external signal as wave shape trigger signal, and adopt mechanical switch or electronic switch switching signal coupling channel, select triggering source coupling scheme; Because the trigger signal source difference of selecting for use; its signal amplitude, frequency, input impedance are also different, therefore need to use the amplifier that has than high input impedance and input protection circuit, strong overload capacity and enough bandwidth that trigger source signal is amplified to certain amplitude.In order to obtain wave shape trigger signal, also adjustable triggering level to be arranged, prior art is generally produced different data and sends digital to analog converter (D/A converter) to by data line according to user demand control by CPU, exports corresponding different DC level as triggering comparative level by D/A converter; At last, trigger source signal and triggering comparative level produce the square wave trigger pip with certain amplitude by a comparer and shaping circuit.
As can be seen from the above description, select triggering source and the source of triggering coupling scheme owing to will adopt mechanical switch or electronic switch to switch, and signaling switch must satisfy the bandwidth and the amplitude requirement of signal, therefore the device that uses is many and to the requirement on devices height; Because comparer produces wave shape trigger signal by two simulating signals are compared, the circuit devcie that trigger source signal is handled is to work under emulation mode always, therefore to the requirement height of device, be difficult to guarantee the consistance of device performance, cause the circuit consistance poor; And, be easy to occur the problem of phase mutual interference between the signal source owing to the flow process complexity of signal.
Summary of the invention
Technical matters to be solved by this invention is: a kind of Method and circuits that obtains wave shape trigger signal is provided, uses this Method and circuits on oscillograph, can obtain wave shape trigger signal simple and direct, reliably, and circuit cost is low.
The present invention solves the problems of the technologies described above the technical scheme that is adopted to be:
A kind of method of obtaining wave shape trigger signal may further comprise the steps:
A, at least one trigger source signal is set;
B, one trigger source signal is carried out real-time sampling, obtain waveform digital signal with A/D converter; Set triggering level, and triggering level is deposited with in the triggering level register, described triggering level is set according to user demand by the CPU of system of Oscillograph, and described system CPU is regulated triggering level by the data content of rewriting the triggering level register;
C, employing digital comparator compare in real time to described waveform digital signal and triggering level, obtain relatively pulse in real time;
D, utilize latch that the rising edge or the negative edge of described relatively pulse are latched, obtain wave shape trigger signal;
E, before new round sampling beginning, remove described latch by a control signal, make latch put 0.
Described method, wherein: described step C comprises following processing: it is identical with the figure place of described A/D converter and triggering level register that described digital comparator is set, when the waveform digital signal of A/D converter output during more than or equal to triggering level, digital comparator is output as high level, when the waveform digital signal of A/D converter output during less than triggering level, digital comparator is output as low level, obtains relatively pulse in real time.
Described method, wherein: when trigger source signal when being a plurality of, described method is obtained the wave shape trigger signal of the different trigger source signal of a plurality of correspondences according to step B, C, D, E, and selects wherein a wave shape trigger signal as the wave shape trigger signal of current use by system CPU control.
A kind of wave shape trigger signal circuit that obtains comprises system CPU, system's A/D converter, and triggering level register, and described system A/D converter is used for trigger source signal is carried out real-time sampling, obtains waveform digital signal; Described triggering level register is used to deposit triggering level, and this register is connected with described system CPU, and described system CPU changes triggering level by the content of rewriting the triggering level register, also comprises:
Digital comparator and latch, wherein, described digital comparator is connected with the triggering level register with described A/D converter respectively, be used for waveform digital signal and triggering level are compared, obtain the comparison pulse, described digital comparator is identical with the figure place of described A/D converter and triggering level register;
Described latch, be connected with system CPU with described digital comparator respectively, be used for the rising or the negative edge of relatively pulse are latched, obtain wave shape trigger signal, and before new sampling begins, send a control signal by described system CPU and remove described latch, make latch output zero setting.
Described circuit, wherein: described triggering level register, digital comparator and latch are arranged in the fpga chip.
Beneficial effect of the present invention is: because the present invention adopts the digital processing mode to obtain wave shape trigger signal, its method is simple and direct, has simplified circuit structure, has the wave shape trigger signal of obtaining simultaneously accurately, reliably, the advantage that circuit cost is low; And realize because the adjusting of triggering level changes the triggering level content of registers by system CPU, thus the selection of trigger pip and control procedure is simple, easily.
Description of drawings
Fig. 1 obtains the circuit block diagram of wave shape trigger signal for prior art;
Fig. 2 obtains the circuit block diagram of wave shape trigger signal for the present invention;
Fig. 3 is a comparer course of work synoptic diagram of the present invention.
Embodiment
With embodiment the present invention is described in further detail with reference to the accompanying drawings below:
Main thought of the present invention is with the digital mode processing signals, all converts oscillograph trigger source signal and triggering level to digital signal, and by digital comparator they is compared, and produces real-time digital trigger signal.
The circuit that obtains wave shape trigger signal as shown in Figure 2, CPU and A/D converter are the intrinsic circuit of digital oscilloscope system among the figure, A/D converter is used for trigger source signal is carried out real-time sampling, obtain waveform digital signal, trigger source signal can have a plurality of in the oscillograph, as trigger source signal, or external signal is as trigger source signal as the measured signal of A channel or B passage, and A/D converter only carries out real-time sampling to one of them trigger source signal.With the exception of this, obtain the wave shape trigger signal circuit and also comprise a triggering level register, this register is used to deposit triggering level, and register is connected with system CPU, the size of triggering level is controlled by system CPU, system CPU changes the triggering level value according to user demand by the content of rewriting the triggering level register, this shows, the control of triggering level is become very easy.A digital comparator that is connected with the triggering level register with A/D converter respectively, digital comparator is identical with the figure place of A/D converter and triggering level register, the port of digital comparator delivered to waveform digital signal and triggering level respectively by A/D converter and triggering level register, in digital comparator, compare, thereby obtain a string relatively pulse.Can be well understood to very much the course of work of digital comparator from Fig. 3, the figure place of supposing digital comparator, A/D converter, triggering level register three all is 4, and the triggering level data are set is 2, according to the digital comparator principle as can be known, when the waveform digital signal of A/D converter output during less than triggering level 2, digital comparator is output as low level " 0 ", when the waveform digital signal of A/D converter output during more than or equal to triggering level 2, digital comparator is output as high level " 1 ", obtains a string relatively pulse thus.For the output noise of filtering digital comparator, also adopt the output signal of the global clock signal real-time sampling digital comparator of system of Oscillograph.
Obtain the wave shape trigger signal circuit and also comprise a latch that is connected with digital comparator, latch latchs the rising or the negative edge of relatively pulse, promptly when rising edge that compares pulse or decline arrival, latches high level ' 1 ' signal finally obtains the wave shape trigger signal with a rising edge (or negative edge).Simultaneously, latch is controlled by system CPU, before new sampling begins, sends a control signal by system CPU and removes described latch, makes latch output put 0, so that wait for new trigger pip.Preferred implementation of the present invention is that latch latchs the rising edge of relatively pulse, finally obtains the wave shape trigger signal with a rising edge.The principle of work of latch and circuit structure are those skilled in the art to be known, and does not repeat them here.
In order to satisfy the demand on using, oscillograph need switch the wave shape trigger signal that obtains to derive from different trigger source signal.For the present invention, a plurality of trigger source signal that the corresponding oscillograph of the present invention is provided with are provided with multichannel and obtain the wave shape trigger signal circuit, every road obtain the wave shape trigger signal circuit to the trigger source signal of correspondence carry out real-time sampling, waveform digital signal that sampling is obtained compares and latchs with triggering level, obtain wave shape trigger signal that should trigger source signal, system CPU respectively obtains the wave shape trigger signal circuit by control, selects and switch to obtain required trigger pip.Therefore this shows that the present invention no longer needs electronics or mechanical switch to switch and selects the triggering source, the selection of trigger pip and control procedure are become very simple, easily, and be easy to integratedly, help reducing system cost, reduced volume.
Because what circuit of the present invention adopted all is digital units, the programmable logic device (PLD) that can utilize digital oscilloscope is integrated into triggering level register, digital comparator and the latch on each road in the programmable logic device (PLD), as be arranged in the fpga chip, the clock signal is produced by the phase locked-loop unit in the fpga chip, the content of its triggering level register by system CPU by reading and writing with the data communication bus of FPGA, so, reduce cost significantly, also improved reliability of products simultaneously.
Should be understood that, for those of ordinary skills, can be equal to replacement or change according to technical scheme of the present invention and design thereof, and all these changes or replacement all should belong to the protection domain of the appended claim of the present invention.

Claims (5)

1, a kind of method of obtaining wave shape trigger signal may further comprise the steps:
A, at least one trigger source signal is set;
B, one trigger source signal is carried out real-time sampling, obtain waveform digital signal with A/D converter; Set triggering level, and triggering level is deposited with in the triggering level register, described triggering level is set according to user demand by the CPU of system of Oscillograph, and described system CPU is regulated triggering level by the data content of rewriting the triggering level register;
C, employing digital comparator compare in real time to described waveform digital signal and triggering level, obtain relatively pulse in real time;
D, utilize latch that the rising edge or the negative edge of described relatively pulse are latched, obtain wave shape trigger signal;
E, before new round sampling beginning, remove described latch by a control signal, make latch put 0.
2, method according to claim 1, it is characterized in that: described step C comprises following processing: it is identical with the figure place of described A/D converter and triggering level register that described digital comparator is set, when the waveform digital signal of A/D converter output during more than or equal to triggering level, digital comparator is output as high level, when the waveform digital signal of A/D converter output during less than triggering level, digital comparator is output as low level, obtains relatively pulse in real time.
3, method according to claim 2, it is characterized in that: when trigger source signal when being a plurality of, described method is obtained the wave shape trigger signal of the different trigger source signal of a plurality of correspondences according to step B, C, D, E, and selects wherein a wave shape trigger signal as the wave shape trigger signal of current use by system CPU control.
4, a kind of wave shape trigger signal circuit that obtains, comprise system CPU, system's A/D converter, and triggering level register, described system A/D converter is used for trigger source signal is carried out real-time sampling, obtains waveform digital signal, and described triggering level register is used to deposit triggering level, this register is connected with described system CPU, and described system CPU changes triggering level by the content of rewriting the triggering level register; It is characterized in that: also comprise digital comparator and latch, wherein, described digital comparator is connected with the triggering level register with described A/D converter respectively, be used for waveform digital signal and triggering level are compared, obtain the comparison pulse, described digital comparator is identical with the figure place of described A/D converter and triggering level register;
Described latch, be connected with system CPU with described digital comparator respectively, be used for the rising or the negative edge of relatively pulse are latched, obtain wave shape trigger signal, and before new sampling begins, send a control signal by described system CPU and remove described latch, make latch output zero setting.
5, circuit according to claim 4 is characterized in that: described triggering level register, digital comparator and latch are arranged in the fpga chip.
CN200610063314A 2006-10-26 2006-10-26 Method and circuit of obtaining wave shape trigger signal of oscilloscope Expired - Fee Related CN100578232C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200610063314A CN100578232C (en) 2006-10-26 2006-10-26 Method and circuit of obtaining wave shape trigger signal of oscilloscope

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200610063314A CN100578232C (en) 2006-10-26 2006-10-26 Method and circuit of obtaining wave shape trigger signal of oscilloscope

Publications (2)

Publication Number Publication Date
CN1948973A CN1948973A (en) 2007-04-18
CN100578232C true CN100578232C (en) 2010-01-06

Family

ID=38018549

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200610063314A Expired - Fee Related CN100578232C (en) 2006-10-26 2006-10-26 Method and circuit of obtaining wave shape trigger signal of oscilloscope

Country Status (1)

Country Link
CN (1) CN100578232C (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103901243A (en) * 2012-12-25 2014-07-02 北京普源精电科技有限公司 High-trigger-accuracy oscilloscope

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101068264B (en) * 2007-07-20 2011-02-16 北京中星微电子有限公司 Signal collecting device in USB test and USB signal testing method
CN100504400C (en) * 2007-09-11 2009-06-24 电子科技大学 Oscilloscope high speed signal reconstruction method
CN102147426B (en) * 2010-11-18 2013-01-16 电子科技大学 Broadband triggering circuit of digital oscilloscope
CN103439648B (en) * 2013-08-08 2016-05-04 北京华大信安科技有限公司 A kind of verification method, device and chip
CN105548641A (en) * 2015-12-15 2016-05-04 大豪信息技术(威海)有限公司 Waveform triggering device and method and oscilloscope for waveform triggering
CN106053908A (en) * 2016-07-06 2016-10-26 电子科技大学 Analog-to-digital signal conversion device of digital oscilloscope
CN106568996B (en) * 2016-11-17 2019-03-05 中国电子科技集团公司第四十一研究所 A kind of efficient low distortion digital oscilloscope training signal generating circuit and method
WO2019169524A1 (en) * 2018-03-05 2019-09-12 深圳市汇顶科技股份有限公司 Method and device for detecting waveform signal
CN110501546A (en) * 2019-07-31 2019-11-26 苏州浪潮智能科技有限公司 A kind of oscillograph
CN111487447B (en) * 2020-05-09 2022-06-28 深圳市鼎阳科技股份有限公司 Digital oscilloscope for realizing rapid measurement
CN113777376B (en) * 2021-09-27 2024-03-22 广东工业大学 Triggering system and triggering method of oscilloscope

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
一种基于FPGA的逻辑分析仪触发电路的设计. 杜晓斌,陈兴文.现代电子技术,第11期. 2004
一种基于FPGA的逻辑分析仪触发电路的设计. 杜晓斌,陈兴文.现代电子技术,第11期. 2004 *
多次重触发技术的研究. 李新娥,原彦飞.华北工学院测试技术学报,第13卷第3期. 1999
多次重触发技术的研究. 李新娥,原彦飞.华北工学院测试技术学报,第13卷第3期. 1999 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103901243A (en) * 2012-12-25 2014-07-02 北京普源精电科技有限公司 High-trigger-accuracy oscilloscope

Also Published As

Publication number Publication date
CN1948973A (en) 2007-04-18

Similar Documents

Publication Publication Date Title
CN100578232C (en) Method and circuit of obtaining wave shape trigger signal of oscilloscope
US20090167572A1 (en) Serial/Parallel data conversion apparatus and method thereof
CN103353725A (en) PCI interface protocol based array expandable data collection system realized by adopting FPGA (field programmable gate array)
CN108736897B (en) Parallel-serial conversion circuit and device applied to high-speed interface physical layer chip
CN103324132A (en) Multichannel dynamic signal acquisition card based on PXI bus
CN110687858A (en) Synchronous acquisition and transmission system of multichannel pulse signal
CN102868406A (en) Multichannel high-speed parallel alternate ADC (Analog to Digital Converter) sampling circuit
CN100527267C (en) Method and apparatus for reading and sampling data of DDR and DDR2 memory controller
CN103018512A (en) Oscilloscope with external triggering function
WO2018120612A1 (en) Data sampling method, chip and computer storage medium
AU683645B2 (en) Bit synchronizer
CN105306068A (en) Parallel-serial conversion circuit based on clock phase modulation
CN102611447A (en) Noise adding signal synchronization clock extraction device based on FPGA (field programmable gate array)
CN114128146A (en) Circuit and method for calibrating circuit in integrated circuit device
CN103592631A (en) Radar signal control system and method
CN104380273B (en) The adaptive offset synchronous of data based on circular buffer
CN102480296B (en) Analog-to-digital converter, sound processing device, and analog-to-digital conversion method
CN102088374A (en) Stimulating module for testing universal performance of serial interface
CN203691617U (en) Audio processing circuit with zero-crossing detection function
CN112017702B (en) Memory interface circuit, PHY chip and processor
CN105137295A (en) Cable fault detection device and test method
CN204165946U (en) Multichannel ultrasonic signal synchronous
CN1309169C (en) Multipath clock detecting device
CN104518755A (en) Digital circuit noise filter and digital filtering method
CN100533335C (en) Method and circuit for data smapling of serial data source

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
DD01 Delivery of document by public notice

Addressee: Shi Songtao

Document name: Notification of Passing Examination on Formalities

DD01 Delivery of document by public notice

Addressee: Shi Songtao

Document name: Notification to Pay the Fees

DD01 Delivery of document by public notice

Addressee: Shi Songtao

Document name: Notification of Termination of Patent Right

C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20100106

Termination date: 20121026