CN107643434A - A kind of complicated wave form triggering method based on segmentation Chebyshev's distance - Google Patents

A kind of complicated wave form triggering method based on segmentation Chebyshev's distance Download PDF

Info

Publication number
CN107643434A
CN107643434A CN201710756491.6A CN201710756491A CN107643434A CN 107643434 A CN107643434 A CN 107643434A CN 201710756491 A CN201710756491 A CN 201710756491A CN 107643434 A CN107643434 A CN 107643434A
Authority
CN
China
Prior art keywords
waveform
sequence
similarity
signal
length
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.)
Granted
Application number
CN201710756491.6A
Other languages
Chinese (zh)
Other versions
CN107643434B (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.)
Jihe Technology Dongguan Co ltd
Original Assignee
University of Electronic Science and Technology of China
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 University of Electronic Science and Technology of China filed Critical University of Electronic Science and Technology of China
Priority to CN201710756491.6A priority Critical patent/CN107643434B/en
Publication of CN107643434A publication Critical patent/CN107643434A/en
Application granted granted Critical
Publication of CN107643434B publication Critical patent/CN107643434B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of complicated wave form triggering method based on segmentation Chebyshev's distance, solves multiple Trigger Problems by introducing waveform similarity measurement:Utilize similarity measurement principle, by real-time capture sample waveform compared with the reference waveform stored, similar value represents degree of approximation of the input waveform relative to reference waveform, and can produce trigger pulse according to similarity threshold, so that sophisticated signal waveform stabilization is shown.Meanwhile present invention introduces fuzzy membership function so that the ratio of waveform similarity is less influenceed by the actual magnitude of waveform and the multifarious of noise level so that it is more accurate that waveform similarity judges.On the other hand, in actual applications, the section length of algorithm can adjust according to particular hardware design platform dynamic, ensure the balance of algorithm response speed and hardware resource consumption.

Description

Complex waveform triggering method based on segmented Chebyshev distance
Technical Field
The invention belongs to the technical field of digital storage oscilloscope triggering, and particularly relates to a complex waveform triggering method based on a segmented Chebyshev distance.
Background
An important function of a digital storage oscilloscope is to capture and analyze waveforms of interest to a user. For simple waveforms, generating a trigger signal corresponding to the period of the input signal using conventional level-triggering techniques may allow the waveform to be displayed stably as shown in fig. 1.
However, for complex signals, a cycle may include multiple repeated signal features corresponding to multiple trigger points. As shown in fig. 2, when the same level characteristic occurs many times in a complex signal period, the digital storage oscilloscope will overlap signals with different edges as trigger points, thereby causing a waveform overlapping phenomenon, so that the waveform cannot be stably displayed.
Disclosure of Invention
The invention aims to overcome the defects of level triggering, provides a complex waveform triggering method based on a segmented Chebyshev distance, solves the difficulty of synchronous triggering of complex signals, and quickly and accurately presents a stable waveform of the complex signals on a digital storage oscilloscope.
In order to achieve the purpose, the invention discloses a complex waveform triggering method based on a segmented Chebyshev distance, which is characterized by comprising the following steps of:
(1) Firstly, collecting the tested signal, obtaining the reference sampling point sequence with length n, and recording as (R) 0 ,R 1 ,...,R n-1 ) Wherein n is determined according to the period estimation of the measured signal, and n is greater than the period of the measured signal, so that the reference sampling point sequence comprises a complete period of the measured signal;
(2) Dividing the reference sampling point sequence with the length of n into a plurality of sections, wherein the length of each section is m, and the ith section is as follows: (R) i*m ,R i*m+1 ,...,R i*m+m-1 ) Wherein i =0,1, ·, n/m-1;
(3) Acquiring a signal to be detected in real time to obtain a sampling sequence (x) with the length of n 0 ,x 1 ,...,x n-1 ) And calculating it with referenceSample sequence (R) 0 ,R 1 ,...,R n-1 ) Chebyshev distance between segments:
wherein i =0,1.., n/m-1;
in the ith segment, the position j is from 0 to m-1, and the maximum value of the difference between the sampling sequence and the reference sampling point sequence is used as the Chebyshev distance of the ith segment;
(4) And then calculating the segmental Chebyshev distance pcd:
(5) And calculating the similarity S between the reference sampling point sequence and the sampling sequence by using a fuzzy membership function:
wherein K is a constant, and K>0;
(6) And when the similarity S is larger than alpha, generating a trigger signal, and forbidding trigger generation at the next n-1 sampling points, wherein alpha is a set similarity threshold alpha (0 < alpha < 1).
The object of the invention is thus achieved.
The complex waveform triggering method based on the segmented Chebyshev distance introduces the waveform similarity measurement to solve the problem of multiple triggering: the real-time captured sample waveform is compared with a stored reference waveform using a similarity metric principle, a similarity value indicates the degree of approximation of the input waveform with respect to the reference waveform, and a trigger pulse may be generated according to a similarity threshold value, thereby enabling stable display of a complex signal waveform. Meanwhile, the fuzzy membership function is introduced, so that the comparison of the waveform similarity is not influenced by the actual amplitude of the waveform and the diversity of the noise level, and the judgment of the waveform similarity is more accurate. On the other hand, in practical application, the segment length of the algorithm can be dynamically adjusted according to a specific hardware design platform, and the balance between the response speed of the algorithm and the consumption of hardware resources is ensured.
Drawings
FIG. 1 is a schematic diagram of a simple waveform normal trigger stabilization display;
FIG. 2 is a schematic diagram of a waveform overlay due to a complex waveform trigger anomaly;
FIG. 3 is a flow chart of a complex waveform triggering method based on a piecewise Chebyshev distance;
FIG. 4 is a schematic diagram of the Chebyshev distance calculation of paragraph 0;
FIG. 5 is an implementation schematic of a segmented Chebyshev distance calculation;
FIG. 6 is a waveform diagram of a sequence of reference samples;
FIG. 7 is a timing diagram of a signal under test, a similarity, and a trigger signal.
Detailed Description
The following description of the embodiments of the present invention is provided in order to better understand the present invention for those skilled in the art with reference to the accompanying drawings. It is to be expressly noted that in the following description, a detailed description of known functions and designs will be omitted when it may obscure the subject matter of the present invention.
FIG. 3 is a flow diagram of a complex waveform triggering method based on a piecewise Chebyshev distance.
In this embodiment, as shown in fig. 3, the complex waveform triggering method based on the segmented chebyshev distance of the present invention includes the following steps:
step S1: reference sample sequence acquisition
Firstly, the measured signal is collected, and the reference sampling point sequence with the length n is obtained and recorded as (R) 0 ,R 1 ,...,R n-1 )Wherein n isAnd according to the period estimation determination of the measured signal, n is larger than the period of the measured signal, so that the reference sampling point sequence comprises a complete period of the measured signal. In practical implementation, the length n may be increased from a smaller length until a stable display waveform is obtained.
Step S2: reference sample sequence segmentation
Dividing the reference sampling point sequence with the length of n into a plurality of sections, wherein the length of each section is m, and the ith section is as follows: (R) i*m ,R i*m+1 ,...,R i*m+m-1 ) Wherein i =0,1. In a specific implementation process, n =2 may be selected for convenience of implementation p ,m=2 q To simplify the hardware design, wherein p is smaller than q, and p and q are positive integers.
And step S3: the sampling sequence is collected in real time, and the Chebyshev distance between each segment of the sampling sequence and the reference sampling point sequence is calculated
Real-time collecting the tested signal to obtain the sampling sequence (x) with length n 0 ,x 1 ,...,x n-1 ) And calculating it and a reference sample point sequence (R) 0 ,R 1 ,...,R n-1 ) Chebyshev distance between segments:
wherein, the first and the second end of the pipe are connected with each other,
i.e. the position j in the ith segment is from 0 to m-1, and the maximum value of the difference between the sampling sequence and the reference sampling point sequence is used as the Chebyshev distance of the ith segment.
In this embodiment, a sample sequence of length n (x) 0 ,x 1 ,...,x n-1 ) The method is obtained by adopting a first-in first-out mode and continuously storing the data into a FIFO memory with the length of n.
And step S4: calculating segmented Chebyshev distances
Calculating the segmented Chebyshev distance pcd by the following formula:
step S5: calculating the similarity S by using the fuzzy membership function
The similarity S is calculated by the following formula
Wherein K is a constant, and K>0。
Step S6: whether the similarity S is smaller than a set similarity threshold value alpha or not
When the similarity S > alpha, a trigger signal is generated, and trigger generation is prohibited at the next n-1 sampling points, wherein alpha is a set similarity threshold alpha (0 < alpha < 1).
From the flow, if the similarity S > alpha is not satisfied, the next sampling point is returned, namely the sampling point is moved by one bit to continue comparison. In hardware, the sampling points are stored continuously and calculated continuously according to time sequence, and when the similarity S is larger than alpha, a trigger signal is generated.
FIG. 4 is a schematic diagram of the Chebyshev distance calculation of paragraph 0.
In this embodiment, as shown in FIG. 4, the 0 th segment of the reference sample sequence is from position 0 to m-1(R 0 ,R 1 ,...,R m-1 ) And sample sequence (x) 0 ,x 1 ,...,x m-1 ) Performing one-to-one difference calculation from positions 0 to m-1, taking absolute value (abs), and selecting the maximum value as the Chebyshev distance of the 0 th segment in the comparator
Fig. 5 is an implementation schematic diagram of a segmented chebyshev distance calculation.
In the embodiment, as shown in fig. 5, the accumulated value can be obtained by accumulation, and then multiplied by m/n by a multiplier, so as to realize the calculation of the segment chebyshev distance pcd, where L = n/m-1.
In this embodiment, a user first takes the length n as 1024 according to the prior information of a signal to be measured, and acquires a sequence with the length n =1024 as a reference sampling point sequence (R) 0 ,R 1 ,...,R n-1 ) (ii) a Then, the length m of each segment is set to be 8, 128 segments of Chebyshev distance are calculated, and then accumulation and averaging are carried out.
In the present embodiment, let constant K = σ, where σ is the reference sample point sequence(R 0 ,R 1 ,...,R n-1 ) Standard deviation of (d); finally, the similarity threshold α is adjusted to display as a stable waveform. The invention can realize accurate triggering of the complex signal, so that the complex signal can be stably displayed.
Fig. 6 is a waveform diagram of a reference sample sequence.
In this embodiment, as shown in fig. 6, the length of the reference sample point sequence is 1024, which is equal to the period of the signal to be measured, and each period of the signal to be measured is a sinusoidal signal with gradually decreasing amplitude.
FIG. 7 is a timing diagram of a signal under test, a similarity, and a trigger signal.
In this embodiment, as shown in fig. 7, when the number of shift points of the sampling point is 2000, the trigger signal is obtained, so that the trigger signal is generated in the period of the signal to be tested and at different positions of the signal to be tested, and the problem of synchronous triggering of complex signals is solved.
Although the illustrative embodiments of the present invention have been described in order to facilitate those skilled in the art to understand the present invention, it is to be understood that the present invention is not limited to the scope of the embodiments, and that various changes may be made apparent to those skilled in the art as long as they are within the spirit and scope of the present invention as defined and defined in the appended claims, and all matters of the invention using the inventive concepts are protected.

Claims (2)

1. A complex waveform triggering method based on a segmented Chebyshev distance is characterized by comprising the following steps:
(1) Firstly, collecting the tested signal, obtaining the reference sampling point sequence with length n, and recording as (R) 0 ,R 1 ,...,R n-1 ) Wherein n is determined according to the period estimation of the measured signal, and n is greater than the period of the measured signal, so that the reference sampling point sequence comprises a complete period of the measured signal;
(2) Dividing the reference sampling point sequence with the length of n into a plurality of sections, wherein the length of each section is m, and the ith section is as follows: (R) i*m ,R i*m+1 ,...,R i*m+m-1 ) Wherein i =0,1, ·, n/m-1;
(3) Acquiring a signal to be detected in real time to obtain a sampling sequence (x) with the length of n 0 ,x 1 ,...,x n-1 ) And calculating it and a reference sample point sequence (R) 0 ,R 1 ,...,R n-1 ) Chebyshev distance between segments:
wherein i =0,1.., n/m-1;
in the ith segment, the position j is from 0 to m-1, and the maximum value of the difference between the sampling sequence and the reference sequence is used as the Chebyshev distance of the ith segment;
(4) And then calculating the segmented Chebyshev distance pcd:
(5) And calculating the similarity S between the reference sampling point sequence and the sampling sequence by using a fuzzy membership function:
wherein K is a constant, and K>0;
(6) And when the similarity S is larger than alpha, generating a trigger signal, and forbidding trigger generation at the next n-1 sampling points, wherein alpha is a set similarity threshold value alpha (0 < alpha < 1).
2. The complex beamforming triggering method according to claim 1, wherein the constant K = σ, wherein σ is a reference sample sequence (R £ R) 0 ,R 1 ,...,R n-1 ) Standard deviation of (d).
CN201710756491.6A 2017-08-29 2017-08-29 Complex waveform triggering method based on segmented Chebyshev distance Active CN107643434B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710756491.6A CN107643434B (en) 2017-08-29 2017-08-29 Complex waveform triggering method based on segmented Chebyshev distance

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710756491.6A CN107643434B (en) 2017-08-29 2017-08-29 Complex waveform triggering method based on segmented Chebyshev distance

Publications (2)

Publication Number Publication Date
CN107643434A true CN107643434A (en) 2018-01-30
CN107643434B CN107643434B (en) 2019-12-27

Family

ID=61111228

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710756491.6A Active CN107643434B (en) 2017-08-29 2017-08-29 Complex waveform triggering method based on segmented Chebyshev distance

Country Status (1)

Country Link
CN (1) CN107643434B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108646072A (en) * 2018-05-16 2018-10-12 电子科技大学 A kind of triggering generation device based on Hamming distance
CN111712691A (en) * 2018-02-16 2020-09-25 三菱电机株式会社 Display data generation device, display data generation method, and program

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101126772A (en) * 2007-09-11 2008-02-20 电子科技大学 Oscilloscope high speed signal reconstruction method
CN102594157A (en) * 2012-04-05 2012-07-18 重庆安谐新能源技术有限公司 Signal acquisition device and processing method for alternating current power current-sharing output system
CN103364602A (en) * 2012-03-29 2013-10-23 北京普源精电科技有限公司 Multipath synchronized clock generating oscilloscope
CN105933256A (en) * 2016-04-20 2016-09-07 广州视源电子科技股份有限公司 Signal filtering method and system
CN106355170A (en) * 2016-11-22 2017-01-25 Tcl集团股份有限公司 Photo classifying method and device
US20170089963A1 (en) * 2015-09-24 2017-03-30 Harman International Industries, Inc. Techniques for improving swept sine analyses

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101126772A (en) * 2007-09-11 2008-02-20 电子科技大学 Oscilloscope high speed signal reconstruction method
CN103364602A (en) * 2012-03-29 2013-10-23 北京普源精电科技有限公司 Multipath synchronized clock generating oscilloscope
CN102594157A (en) * 2012-04-05 2012-07-18 重庆安谐新能源技术有限公司 Signal acquisition device and processing method for alternating current power current-sharing output system
US20170089963A1 (en) * 2015-09-24 2017-03-30 Harman International Industries, Inc. Techniques for improving swept sine analyses
CN105933256A (en) * 2016-04-20 2016-09-07 广州视源电子科技股份有限公司 Signal filtering method and system
CN106355170A (en) * 2016-11-22 2017-01-25 Tcl集团股份有限公司 Photo classifying method and device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
D.R. WOODS ETC.: "《Submillimeter wave harmonic mixing》", 《PROCEEDINGS OF THE IEEE 》 *
李锦林等: "《数字示波器和数字化仪异曲同工和互为补充》", 《国外电子测量技术》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111712691A (en) * 2018-02-16 2020-09-25 三菱电机株式会社 Display data generation device, display data generation method, and program
CN108646072A (en) * 2018-05-16 2018-10-12 电子科技大学 A kind of triggering generation device based on Hamming distance
CN108646072B (en) * 2018-05-16 2019-12-27 电子科技大学 Trigger generating device based on Hamming distance

Also Published As

Publication number Publication date
CN107643434B (en) 2019-12-27

Similar Documents

Publication Publication Date Title
US9506951B2 (en) Method and apparatus for data acquisition with waveform trigger
US7860688B2 (en) Signal baseline processing device and processing method thereof
JP3378166B2 (en) Pulse signal classification device
CN109426809A (en) The method and apparatus that detecting event starts in the presence of noise
US9130583B2 (en) Method for full-digital random sampling
US9442136B2 (en) Real-time oscilloscope for generating a fast real-time eye diagram
JP2002107392A (en) Jitter-measuring device and method therefor, and testing device
CN107144781B (en) Measurement system with digital edge triggered detection circuit
CN109584232B (en) Equipment use state online monitoring method, system and terminal based on image recognition
CN108519511B (en) Time domain measurement method for frequency characteristic parameters of linear frequency modulation signals
CN112130142B (en) Method and system for extracting micro Doppler features of complex moving target
EP2720048A2 (en) Multi-signal covariance and correlation processing on a test and measurement instrument
Sakellariou et al. Counting forbidden patterns in irregularly sampled time series. II. Reliability in the presence of highly irregular sampling
JP5066073B2 (en) Measuring apparatus, measuring method, test apparatus, test method, and electronic device
CN115667947A (en) System and method for multi-level signal cycle loop image representation for measurement and machine learning
CN107643434B (en) Complex waveform triggering method based on segmented Chebyshev distance
US20070118315A1 (en) Jitter measurement algorithm using locally in-order strobes
CN108181492A (en) A kind of oscilloscope signal processing method, device and oscillograph
US7225093B1 (en) System and method for generating triggers based on predetermined trigger waveform and a measurement signal
JP5752481B2 (en) Passive radar device, guidance device, and radio wave detection method
JP4090989B2 (en) Jitter measuring apparatus and jitter measuring method
US20110199285A1 (en) Method and apparatus for waveform compression and display
JP4612286B2 (en) Apparatus for analyzing statistical characteristics of input signal, and integrated circuit and method for analyzing input signal
CN110632563B (en) Intra-pulse frequency coding signal parameter measuring method based on short-time Fourier transform
CN108646072B (en) Trigger generating device based on Hamming distance

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20230620

Address after: 523808 Room 502, Building 2, No. 6, Industrial North 1st Road, Songshan Lake Park, Dongguan City, Guangdong Province

Patentee after: Jihe Technology (Dongguan) Co.,Ltd.

Address before: 611731, No. 2006, West Avenue, Chengdu hi tech Zone (West District, Sichuan)

Patentee before: University of Electronic Science and Technology of China

TR01 Transfer of patent right