[go: up one dir, main page]

CN105403747B - Multi-template synchronous detecting method and oscillograph - Google Patents

Multi-template synchronous detecting method and oscillograph Download PDF

Info

Publication number
CN105403747B
CN105403747B CN201510742693.6A CN201510742693A CN105403747B CN 105403747 B CN105403747 B CN 105403747B CN 201510742693 A CN201510742693 A CN 201510742693A CN 105403747 B CN105403747 B CN 105403747B
Authority
CN
China
Prior art keywords
template
data
detecting method
measured signal
synchronous detecting
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
CN201510742693.6A
Other languages
Chinese (zh)
Other versions
CN105403747A (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.)
CETC 41 Research Institute
Original Assignee
CETC 41 Research Institute
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 CETC 41 Research Institute filed Critical CETC 41 Research Institute
Priority to CN201510742693.6A priority Critical patent/CN105403747B/en
Publication of CN105403747A publication Critical patent/CN105403747A/en
Application granted granted Critical
Publication of CN105403747B publication Critical patent/CN105403747B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R13/00Arrangements for displaying electric variables or waveforms

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Measuring And Recording Apparatus For Diagnosis (AREA)
  • Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)

Abstract

本发明公开了一种多模板同步测试方法及示波器,该方法包括调取存储在数据存储模块中的所需类型的模板数据,并传送至主控制器模块;主控制器模块将所有所需类型的模板数据中的违例区域求并集,获得合成模板的违例区域信息,并将合成模板的违例区域信息发送至数据存储模块以数组形式存储;数组的前n位为标记位,一个标记位与一种模板一一对应,n为生成的模板种类;信号采集模块进行采集被测信号,获取被测信号的各个采样点的位置信息,并传送至主控制器模块;主控制器模块调取数据存储模块的合成模板的违例区域信息,将被测信号的各个采样点的位置信息与合成模板的违例区域位置比较,获得被测信号的多模板同步测试结果。

The invention discloses a multi-template synchronous testing method and an oscilloscope. The method includes calling template data of required types stored in a data storage module and transmitting them to a main controller module; The illegal areas in the template data are combined to obtain the illegal area information of the synthetic template, and the illegal area information of the synthetic template is sent to the data storage module to be stored in the form of an array; the first n bits of the array are flag bits, and one flag bit and One kind of template corresponds one to one, n is the generated template type; the signal acquisition module collects the measured signal, obtains the position information of each sampling point of the measured signal, and transmits it to the main controller module; the main controller module retrieves the data The violation area information of the synthesis template of the storage module is compared with the position information of each sampling point of the signal under test with the violation area position of the synthesis template to obtain the multi-template synchronous test result of the signal under test.

Description

多模板同步测试方法及示波器Multi-template synchronous testing method and oscilloscope

技术领域technical field

本发明涉及一种测试方法,尤其涉及一种多模板同步测试方法及示波器。The invention relates to a test method, in particular to a multi-template synchronous test method and an oscilloscope.

背景技术Background technique

模板测试功能首先要根据实际测试需要选择模板类型,然后判断采集的信号波形与模板间的关系,若波形点落在模板区域内则判定为发生违例。用户可设置测试时间或测试波形数量及违例阈值,通过一段时间或一定采集波形数量的测试后,比较统计的违例数值是否达到设定的违例阈值从而判断测试通过或失败。The mask test function first selects the template type according to the actual test needs, and then judges the relationship between the collected signal waveform and the template. If the waveform point falls within the template area, it is judged as a violation. The user can set the test time or the number of test waveforms and the violation threshold. After a period of time or a certain number of collected waveforms is tested, compare whether the statistical violation value reaches the set violation threshold to judge whether the test is passed or failed.

模板类型包括标准模板、定制模板和极限模板。标准模板通常有ITU-T、ANSIT1.102、USB等各类标准信号对应的模板,这些标准模板都是固定的,遵循各自的标准;定制模板是在标准模板的基础上根据设置的垂直余量形成的新模板,可调节模板垂直方向的大小,可在标准模板测试时改变余量来观测信号;极限模板是在具有良好质量的信号源波形的基础上创建的模板,可根据设置的水平、垂直余量调节模板与源波形间的距离。Template types include standard templates, custom templates, and extreme templates. Standard templates usually have templates corresponding to various standard signals such as ITU-T, ANSIT1.102, USB, etc. These standard templates are fixed and follow their own standards; customized templates are based on the standard templates according to the vertical margin set The new template formed can adjust the size of the vertical direction of the template, and the margin can be changed to observe the signal during the standard template test; the limit template is a template created on the basis of a signal source waveform with good quality, which can be set according to the set level, Vertical Margin adjusts the distance between the template and the source waveform.

目前,部分示波器推出了一种用户创建模板的功能,即用户可在屏幕上画任意图形作为模板区域,并进行模板测试。在中、高端示波器的测试功能中,一般均可选配模板测试功能,包括标准模板、定制模板和极限模板。标准模板通常有ITU-T、ANSI T1.102、USB等各类标准信号对应的模板;定制模板是在标准模板的基础上调节垂直余量形成的新模板;极限模板是在信号源波形的基础上创建的模板,可调节模板与源波形间的水平、垂直余量。目前的示波器模板测试功能基本都是选择这几类基于固定数据的模板,并且只针对其中的一种模板进行测试。At present, some oscilloscopes have launched a user-created mask function, that is, users can draw arbitrary graphics on the screen as the mask area and perform mask testing. In the test functions of middle and high-end oscilloscopes, the mask test function is generally optional, including standard masks, customized masks and limit masks. Standard templates usually have templates corresponding to various standard signals such as ITU-T, ANSI T1.102, and USB; custom templates are new templates formed by adjusting the vertical margin on the basis of standard templates; limit templates are based on signal source waveforms The template created above can adjust the horizontal and vertical margins between the template and the source waveform. The current mask test function of the oscilloscope basically selects these types of templates based on fixed data, and only tests one of them.

在示波器的模板测试时,选择的标准模板,是基于标准的、固定的模板;极限模板是根据源波形数据创建的模板,模板是和原波形一致的。标准模板仅能在垂直方向调节余量,极限模板可在水平、垂直方向调节余量,但是都不能任意调节。During the mask test of the oscilloscope, the selected standard template is based on a standard and fixed template; the limit template is a template created based on the source waveform data, and the template is consistent with the original waveform. The standard template can only adjust the margin in the vertical direction, and the limit template can adjust the margin in the horizontal and vertical directions, but they cannot be adjusted arbitrarily.

现有的示波器进行模板测试,无论是选择标准模板、极限模板,或是用户任意创建的模板,仅针对一种模板进行测试,不能完成多个模板的同步测试。这样使得模板测试的成本高、效率低而且耗时间。Existing oscilloscopes perform mask testing, whether they choose a standard mask, limit mask, or a user-created mask, only one mask is tested, and simultaneous testing of multiple masks cannot be completed. This makes mask testing costly, inefficient and time-consuming.

发明内容Contents of the invention

为了解决现有技术的缺点,本发明提供一种多模板同步测试方法及示波器。该方法可读取一个或多个模板,采用多模板合成的方法进行模板处理,读取采集数据后,在进行波形显示的同时,通过一次判断即可实现高效的多模板同步测试。In order to solve the shortcomings of the prior art, the invention provides a multi-template synchronous testing method and an oscilloscope. The method can read one or more templates, and adopts a multi-template synthesis method for template processing. After reading the collected data, while performing waveform display, an efficient multi-template synchronous test can be realized through one judgment.

为实现上述目的,本发明采用以下技术方案:To achieve the above object, the present invention adopts the following technical solutions:

一种多模板同步测试方法,所述模板分割为违例区域和正常区域,包括:A method for synchronous testing of multiple templates, wherein the template is divided into a violation area and a normal area, comprising:

步骤(1):调取存储在数据存储模块中的所需类型的模板数据,并传送至主控制器模块;Step (1): Retrieving template data of the required type stored in the data storage module and sending it to the main controller module;

步骤(2):主控制器模块将所有所需类型的模板数据中的违例区域求并集,获得合成模板的违例区域信息,并将合成模板的违例区域信息发送至数据存储模块以数组形式存储;其中,数组的前n位为标记位,一个标记位与一种模板一一对应,n为生成的模板种类;同时,将合成模板的违例区域内任一点处所包含的模板相对应的标记位置1,其余标记位置0;Step (2): The main controller module sums the illegal areas in all required types of template data to obtain the illegal area information of the synthesized template, and sends the illegal area information of the synthesized template to the data storage module for storage in the form of an array ; Wherein, the first n bits of the array are marker bits, and a marker bit corresponds to a template one by one, and n is the generated template type; at the same time, the marker position corresponding to the template contained in any point in the violation area of the synthesized template 1, the remaining mark positions are 0;

步骤(3):信号采集模块进行采集被测信号,获取被测信号的各个采样点的位置信息,并传送至主控制器模块;Step (3): The signal acquisition module collects the measured signal, obtains the position information of each sampling point of the measured signal, and transmits it to the main controller module;

步骤(4):主控制器模块调取数据存储模块的合成模板的违例区域信息,将被测信号的各个采样点的位置信息与合成模板的违例区域位置比较,获得被测信号的多模板同步测试结果。Step (4): The main controller module retrieves the illegal area information of the synthetic template of the data storage module, compares the position information of each sampling point of the signal under test with the illegal area position of the synthetic template, and obtains the multi-template synchronization of the measured signal Test Results.

在步骤(4)中,若被测信号的所有采样点均未落在合成模板的违例区域内,则被测信号测试通过;否则,被测信号发生违例,再根据被测信号发生违例的位置处相对应的标记位是否置1,最终同步获得被测信号的所有违例的模板。In step (4), if all sampling points of the signal under test do not fall within the violation area of the synthetic template, the signal under test passes the test; Whether the corresponding flag bit is set to 1, and finally obtain all violation templates of the signal under test synchronously.

所述步骤(1)中,存储在数据存储模块中的模板,包括标准模板、定制模板和极限模板。In the step (1), the templates stored in the data storage module include standard templates, customized templates and extreme templates.

所述步骤(1)中,存储在数据存储模块中的模板,还包括自定义的图像文件模板;所述图像文件模板中的违例区域和正常区域均可自定义设置。In the step (1), the template stored in the data storage module also includes a self-defined image file template; both the violation area and the normal area in the image file template can be customized.

所述图像文件模板包括BMP图像、JPG图像、PNG图像和灰度图像。The image file template includes BMP image, JPG image, PNG image and grayscale image.

所述步骤(1)中所需模板的数据还包括所需模板中每个像素点的颜色。The data of the required template in the step (1) also includes the color of each pixel in the required template.

在步骤(2)中,还通过将所有所需模板中每个像素点的颜色叠加的方法,获得合成模板中每个像素点的颜色。In step (2), the color of each pixel in the synthesized template is also obtained by superimposing the colors of each pixel in all required templates.

一种示波器,该示波器为应用所述多模板同步测试方法的示波器。An oscilloscope, which is an oscilloscope applying the multi-template synchronous testing method.

本发明的有益效果为:The beneficial effects of the present invention are:

(1)本发明提出的多模板同步测试方法,在现有模板测试的基础上,采用多模板合成可进行高效的多模板同步测试,在提高用户模板测试效率的同时,大大增强了模板测试的灵活性。(1) The multi-template synchronous testing method that the present invention proposes, on the basis of existing template testing, adopts multi-template synthesis and can carry out efficient multi-template synchronous testing, while improving user template testing efficiency, has strengthened template testing greatly flexibility.

(2)用户根据测试需求,灵活读取一个或多个模板,采用多模板合成进行模板处理,读采集数据后,在进行波形显示的同时,通过一次判断即可实现高效的多模板同步测试;该方法最后实现多模板组合同步测试。(2) The user can flexibly read one or more templates according to the test requirements, and use multi-template synthesis for template processing. After reading the collected data, while performing waveform display, an efficient multi-template synchronous test can be realized through one judgment; Finally, the method realizes multi-template combined synchronous testing.

附图说明Description of drawings

图1是本发明的多模板同步测试方法的流程图;Fig. 1 is the flowchart of multi-template synchronous testing method of the present invention;

图2是本发明的多模板同步测试方法的实施例。Fig. 2 is an embodiment of the multi-template synchronous testing method of the present invention.

具体实施方式detailed description

下面结合附图与实施例对本发明做进一步说明:Below in conjunction with accompanying drawing and embodiment the present invention will be further described:

图1是本发明的多模板同步测试方法的流程图,下面结合图1详细介绍本发明的该测试方法的具体过程。概括地说,该方法包括:FIG. 1 is a flow chart of the multi-template synchronous testing method of the present invention. The specific process of the testing method of the present invention will be described in detail below in conjunction with FIG. 1 . In a nutshell, the method includes:

步骤(1):调取存储在数据存储模块中的所需类型的模板数据,并传送至主控制器模块。Step (1): Retrieve template data of the required type stored in the data storage module, and transmit to the main controller module.

其中,存储在数据存储模块中的模板,包括标准模板、定制模板和极限模板。Wherein, the templates stored in the data storage module include standard templates, customized templates and extreme templates.

存储在数据存储模块中的模板,还包括自定义的图像文件模板;所述图像文件模板中的违例区域和正常区域均可自定义设置。The template stored in the data storage module also includes a custom image file template; the violation area and the normal area in the image file template can be customized.

所述图像文件模板包括BMP图像、JPG图像、PNG图像和灰度图像。The image file template includes BMP image, JPG image, PNG image and grayscale image.

图像文件模板可以根据需要自行编辑获得,并通过USB或其他外界存储器,将图像文件模板数据传送至数据存储器中进行存储。The image file template can be edited and obtained as required, and the data of the image file template can be transferred to the data memory through USB or other external storage for storage.

其中,数据存储器包括随机存储器、FLASH存储器以及其他存储器。Wherein, the data memory includes random access memory, FLASH memory and other memories.

步骤(2):主控制器模块将所有所需类型的模板数据中的违例区域求并集,获得合成模板的违例区域信息,并将合成模板的违例区域信息发送至数据存储模块以数组形式存储;其中,数组的前n位为标记位,一个标记位与一种模板一一对应,n为生成的模板种类;同时,将合成模板的违例区域内任一点处所包含的模板相对应的标记位置1,其余标记位置0。Step (2): The main controller module sums the illegal areas in all required types of template data to obtain the illegal area information of the synthesized template, and sends the illegal area information of the synthesized template to the data storage module for storage in the form of an array ; Wherein, the first n bits of the array are marker bits, and a marker bit corresponds to a template one by one, and n is the generated template type; at the same time, the marker position corresponding to the template contained in any point in the violation area of the synthesized template 1, and the remaining mark positions are 0.

步骤(3):信号采集模块进行采集被测信号,获取被测信号的各个采样点的位置信息,并传送至主控制器模块。Step (3): The signal acquisition module collects the signal under test, obtains the position information of each sampling point of the signal under test, and transmits it to the main controller module.

步骤(4):主控制器模块调取数据存储模块的合成模板的违例区域信息,将被测信号的各个采样点的位置信息与合成模板的违例区域位置比较,获得被测信号的多模板同步测试结果。Step (4): The main controller module retrieves the illegal area information of the synthetic template of the data storage module, compares the position information of each sampling point of the signal under test with the illegal area position of the synthetic template, and obtains the multi-template synchronization of the measured signal Test Results.

若被测信号的所有采样点均未落在合成模板的违例区域内,则被测信号测试通过;否则,被测信号发生违例,再根据被测信号发生违例的位置处相对应的标记位,最终同步获得被测信号的所有违例的模板。If all the sampling points of the signal under test do not fall within the violation area of the synthetic template, the signal under test has passed the test; otherwise, the signal under test has a violation, and then according to the corresponding flag position at the position where the signal under test occurs, Finally, all violation templates of the signal under test are obtained synchronously.

该方法采用多模板合成可进行高效的多模板同步测试,在提高用户模板测试效率的同时,大大增强了模板测试的灵活性。在读采集数据后,进行波形显示的同时,通过一次判断即可实现高效的多模板同步测试。The method adopts multi-template synthesis to carry out efficient multi-template synchronous testing, and greatly enhances the flexibility of template testing while improving the efficiency of user template testing. After reading the collected data, while displaying the waveform, an efficient multi-template synchronous test can be realized through one judgment.

所述步骤(1)中所需模板的数据还包括所需模板中每个像素点的颜色。The data of the required template in the step (1) also includes the color of each pixel in the required template.

在步骤(2)中,还通过将所有所需模板中每个像素点的颜色叠加的方法,获得合成模板中每个像素点的颜色。In step (2), the color of each pixel in the synthesized template is also obtained by superimposing the colors of each pixel in all required templates.

基于本发明的应用多模板同步测试方法的示波器,包括:主控制器模块,所述主控制器模块与数据存储模块和信号采集模块分别相连。The oscilloscope based on the multi-template synchronous testing method of the present invention includes: a main controller module connected to a data storage module and a signal acquisition module respectively.

(1)数据存储模块,其用于存储所需类型的模板数据。(1) A data storage module, which is used to store required types of template data.

存储在数据存储模块中的模板,包括标准模板、定制模板和极限模板。The templates stored in the data storage module include standard templates, customized templates and extreme templates.

存储在数据存储模块中的模板,还包括自定义的图像文件模板;所述图像文件模板中的违例区域和正常区域均可自定义设置。The template stored in the data storage module also includes a custom image file template; the violation area and the normal area in the image file template can be customized.

所述图像文件模板包括BMP图像、JPG图像、PNG图像和灰度图像。The image file template includes BMP image, JPG image, PNG image and grayscale image.

(2)信号采集模块,其用于采集被测信号,获取被测信号的各个采样点的位置信息,并传送至主控制器模块。(2) A signal collection module, which is used to collect the signal under test, obtain the position information of each sampling point of the signal under test, and transmit it to the main controller module.

(3)主控制器模块,其包括模板数据获取模块、模板合成模块和同步测试模块。(3) The main controller module, which includes a template data acquisition module, a template synthesis module and a synchronous testing module.

(3.1)模板数据获取模块,其用于调取存储在数据存储模块中的所需类型的模板数据,以及调取数据存储模块的合成模板的违例区域信息;(3.1) template data acquisition module, which is used to call template data of the required type stored in the data storage module, and call the violation area information of the synthetic template of the data storage module;

(3.2)模板合成模块,其用于通过所有所需模板数据中的违例区域求并集的方法获得合成模板的违例区域信息,并将合成模板的违例区域信息发送至数据存储模块以数组形式存储;(3.2) template synthesis module, which is used to obtain the violation area information of the synthesis template by the method of obtaining the union of the violation areas in all required template data, and send the violation area information of the synthesis template to the data storage module to store in the form of an array ;

(3.3)同步测试模块,其用于将被测信号的各个采样点的位置信息与合成模板的违例区域位置相比较:(3.3) synchronous test module, it is used for comparing the location information of each sampling point of the signal under test with the violation region location of synthetic template:

若被测信号的所有采样点均未落在合成模板的违例区域内,则被测信号测试通过;否则,被测信号发生违例,再根据被测信号发生违例的位置处相对应的标记位,最终同步获得被测信号的所有违例的模板。If all the sampling points of the signal under test do not fall within the violation area of the synthetic template, the signal under test has passed the test; otherwise, the signal under test has a violation, and then according to the corresponding flag position at the position where the signal under test occurs, Finally, all violation templates of the signal under test are obtained synchronously.

进一步地,数据存储模块中存储的所需模板的数据还包括所需模板中每个像素点的颜色。Further, the data of the required template stored in the data storage module also includes the color of each pixel in the required template.

进一步地,模板合成模块,还用于通过将所有所需模板中每个像素点的颜色叠加的方法,获得合成模板中每个像素点的颜色。Further, the template synthesis module is also used to obtain the color of each pixel in the synthesized template by superimposing the colors of each pixel in all required templates.

最后,结合图2本发明的多模板同步测试方法的实施例来说明该方法的测试实施例,如图2所示,本发明的测试的一个实施例:Finally, in conjunction with the embodiment of the multi-template synchronous testing method of the present invention in Fig. 2, the test embodiment of the method is described, as shown in Fig. 2, an embodiment of the test of the present invention:

一、首先进行模板测试设置,包括模板数量、模板颜色、测试结束条件、违例阈值。1. First, set the template test settings, including the number of templates, template color, test end conditions, and violation threshold.

模板颜色包括各模板对应的颜色及各模板相交区域的颜色;The template color includes the color corresponding to each template and the color of the intersecting area of each template;

测试结束条件可为测试时间或测试波形数量。The test end condition can be the test time or the number of test waveforms.

二、根据设置的模板颜色生成调色板数据,即建立模板的索引值及对应的颜色表。2. Generating palette data according to the set template color, that is, establishing the index value of the template and the corresponding color table.

三、根据模板类型及数据,生成合成模板数据:3. Generate synthetic template data according to the template type and data:

1.定义合成模板的违例区域位置信息存储至数组MultiMaskSign,数组初始化为全0。1. Define the position information of the violation area of the composite template and store it in the array MultiMaskSign, and the array is initialized to all 0s.

数组MultiMaskSign的前n位为标记位,每个模板占用1个数据位,从低到高依次对应模板1、模板2、……、模板n,若某位置是模板,则置相应位为1,否则置相应位为0。The first n bits of the array MultiMaskSign are marker bits, and each template occupies 1 data bit, corresponding to template 1, template 2, ..., template n in turn from low to high, if a certain position is a template, set the corresponding bit to 1, Otherwise set the corresponding bit to 0.

2.标准模板:读取模板对应的多边形的顶点数据,计算多边形内部的模板区域范围,将模板区域内对应的MultiMaskSign相应位置1。2. Standard template: Read the vertex data of the polygon corresponding to the template, calculate the range of the template area inside the polygon, and set the corresponding position of the corresponding MultiMaskSign in the template area to 1.

3.定制模板:读取对应标准模板的多边形顶点数据,乘以设置的垂直余量参数,计算出定制模板的新顶点位置,计算多边形内部的模板区域范围,将模板区域内对应的MultiMaskSign相应位置1。3. Customized template: Read the polygon vertex data corresponding to the standard template, multiply it by the set vertical margin parameter, calculate the new vertex position of the customized template, calculate the template area range inside the polygon, and set the corresponding MultiMaskSign corresponding position in the template area 1.

4.极限模板:读取源波形数据,乘以设置的水平、垂直余量参数,计算出模板对应各点的位置,计算模板区域范围,将模板区域内对应的MultiMaskSign相应位置1。4. Limit mask: Read the source waveform data, multiply it by the set horizontal and vertical margin parameters, calculate the position of each point in the mask, calculate the range of the mask area, and set the corresponding position of the corresponding MultiMaskSign in the template area to 1.

5.图像文件模板:读取图像文件,判断图像文件的类型,如BMP和JPG,根据相应文件格式的定义,依次读取图像数据,判断对应各像素点颜色,若为模板区域则置MultiMaskSign相应位为1。5. Image file template: read the image file, judge the type of the image file, such as BMP and JPG, read the image data sequentially according to the definition of the corresponding file format, and judge the corresponding pixel color, if it is a template area, set MultiMaskSign accordingly bit is 1.

6.定义合成测试模板的显示数组MultiMaskColor,其中,数组初始化为全0。6. Define the display array MultiMaskColor of the synthetic test template, where the array is initialized to all 0s.

7.依次读取合成测试模板标记数组中的数据,以此为索引值读取对应颜色表中的颜色数据,并将此颜色数据放入MultiMaskColor中的相应位置。7. Read the data in the synthetic test template tag array sequentially, use this as the index value to read the color data in the corresponding color table, and put this color data into the corresponding position in the MultiMaskColor.

8.根据合成测试模板的显示数据,在屏幕上显示多模板的合成结果。8. According to the displayed data of the synthesized test template, the synthesized result of multiple templates is displayed on the screen.

四、读取输入信号的采集数据,判断波形点位置对应的合成测试模板标记数组MultiMaskSign中的数据,若有模板将此位置上包含的所有模板的违例计数值加1,并更新测试结果显示。4. Read the collected data of the input signal, judge the data in the synthetic test template mark array MultiMaskSign corresponding to the waveform point position, if there is a template, add 1 to the violation count value of all the templates contained in this position, and update the test result display.

五、判断是否满足测试结束条件,若不满足结束条件,则返回第四步继续测试,若满足结束条件,则完成模板测试。5. Determine whether the test end condition is met. If the end condition is not met, return to the fourth step to continue the test. If the end condition is met, the template test is completed.

上述虽然结合附图对本发明的具体实施方式进行了描述,但并非对本发明保护范围的限制,所属领域技术人员应该明白,在本发明的技术方案的基础上,本领域技术人员不需要付出创造性劳动即可做出的各种修改或变形仍在本发明的保护范围以内。Although the specific implementation of the present invention has been described above in conjunction with the accompanying drawings, it does not limit the protection scope of the present invention. Those skilled in the art should understand that on the basis of the technical solution of the present invention, those skilled in the art do not need to pay creative work Various modifications or variations that can be made are still within the protection scope of the present invention.

Claims (8)

1. a kind of multi-template synchronous detecting method, the template are divided into fault region and normal region, it is characterised in that bag Include:
Step(1):The template data for the required type being stored in data memory module is transferred, and is sent to master controller mould Block;
Step(2):Union is sought in fault region in the template data of all required types by main controller module, obtains synthesis mould The fault area information of plate, and the fault area information for synthesizing template is sent to data memory module and stored with array form; Wherein, the preceding n positions of array are marker bit, and a marker bit corresponds with a kind of template, and n is the institute for generating synthesis template Need the templating species of type;Meanwhile the corresponding mark of the template included in the fault region of template at any point will be synthesized Position 1, remaining mark position 0;
Step(3):Signal acquisition module is acquired measured signal, obtains the positional information of each sampled point of measured signal, And it is sent to main controller module;
Step(4):The fault area information of the synthesis template of main controller module called data memory module, by measured signal The positional information of each sampled point obtains the multi-template synchronism detection of measured signal compared with synthesizing the fault regional location of template As a result.
2. a kind of multi-template synchronous detecting method as claimed in claim 1, it is characterised in that in step(4)In, if tested letter Number all sampled points do not fall within synthesis template fault region in, then measured signal test pass through;Otherwise, measured signal is sent out Raw to break rules, whether the corresponding marker bit of the opening position that breaks rules further according to measured signal puts 1, and final synchronization gain is tested to be believed Number all fault template.
A kind of 3. multi-template synchronous detecting method as claimed in claim 1, it is characterised in that the step(1)In, it is stored in Template in data memory module, including standard form, custom built forms and limit template.
A kind of 4. multi-template synchronous detecting method as claimed in claim 3, it is characterised in that the step(1)In, it is stored in Template in data memory module, in addition to customized image file template;Fault region in described image file template Setting is can customize with normal region.
5. a kind of multi-template synchronous detecting method as claimed in claim 4, it is characterised in that described image file template includes BMP images, JPG images, PNG images and gray level image.
A kind of 6. multi-template synchronous detecting method as claimed in claim 1, it is characterised in that the step(1)Needed for mould The data of plate also include the color of each pixel in required template.
7. a kind of multi-template synchronous detecting method as claimed in claim 6, it is characterised in that in step(2)In, also pass through by The method of the color addition of each pixel in template needed for all, obtain the color of each pixel in synthesis template.
8. a kind of oscillograph, it is characterised in that the oscillograph is to apply multi-template synchronous detecting method as claimed in claim 1 Oscillograph.
CN201510742693.6A 2015-11-04 2015-11-04 Multi-template synchronous detecting method and oscillograph Active CN105403747B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510742693.6A CN105403747B (en) 2015-11-04 2015-11-04 Multi-template synchronous detecting method and oscillograph

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510742693.6A CN105403747B (en) 2015-11-04 2015-11-04 Multi-template synchronous detecting method and oscillograph

Publications (2)

Publication Number Publication Date
CN105403747A CN105403747A (en) 2016-03-16
CN105403747B true CN105403747B (en) 2018-01-02

Family

ID=55469355

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510742693.6A Active CN105403747B (en) 2015-11-04 2015-11-04 Multi-template synchronous detecting method and oscillograph

Country Status (1)

Country Link
CN (1) CN105403747B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106771454B (en) * 2016-12-21 2019-08-13 东南大学 A kind of limit test template generation method based on FPGA
CN114217298B (en) * 2021-12-07 2023-10-27 电子科技大学 An adaptive waveform template construction method

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6642926B1 (en) * 1999-09-24 2003-11-04 Tektronix, Inc. Test and measurement instrument having telecommunications mask testing capability with a mask zoom feature
US6778931B1 (en) * 1999-09-24 2004-08-17 Tektronix, Inc. Test and measurement instrument having multi-channel telecommunications mask testing capability
US7019746B2 (en) * 2001-10-26 2006-03-28 Agilent Technologies, Inc. Graphical presentation of spectral information for aid in compliance measurements
CN101126771B (en) * 2007-09-11 2010-11-17 电子科技大学 Intelligent triggering method and system of digital storage oscilloscope
US20110274150A1 (en) * 2010-05-05 2011-11-10 Tektronix, Inc Logical triggering in the frequency domain
CN103808999B (en) * 2012-11-13 2017-10-24 北京普源精电科技有限公司 A kind of oscillograph with template test function
US9846184B2 (en) * 2012-11-20 2017-12-19 Tektronix, Inc. Combinatorial mask triggering in time or frequency domain
CN103033663A (en) * 2012-12-24 2013-04-10 电子科技大学 Anomaly detection method for three-dimensional waveform data
US10235339B2 (en) * 2013-02-19 2019-03-19 Keysight Technologies, Inc. Digital measurement instrument triggered by signal pattern
CN103760394B (en) * 2014-01-15 2017-02-15 广东威创视讯科技股份有限公司 Automatic processing method and device for measured data of oscilloscope

Also Published As

Publication number Publication date
CN105403747A (en) 2016-03-16

Similar Documents

Publication Publication Date Title
WO2019096178A1 (en) Fiber detection method and apparatus, and electronic device
WO2019096179A1 (en) Clothes logo effect detection method and apparatus, and electronic device
CN111640095B (en) Quantification method of cerebral micro hemorrhage and computer readable storage medium
CN204392460U (en) A kind of online white balance debugging system
CN103686152B (en) The method of adjustment of display device image reproduction rate and display device
JP3674000B2 (en) Measuring instrument and mask test method
CN105403747B (en) Multi-template synchronous detecting method and oscillograph
US8817109B1 (en) Techniques for capturing and generating a DVI signal
CN111127559A (en) Method, device, equipment and storage medium for detecting marker post in optical dynamic capturing system
CN108962105A (en) A kind of liquid crystal module testing device for touch screens and method based on FPGA
CN106598846A (en) Application interface test method and apparatus
CN109257549A (en) A kind of device and method in liquid crystal module real-time display OTP state
US20140286569A1 (en) Robust automatic determination and location of macbeth color checker charts
WO2019037424A1 (en) 3d spectrum display device and method and computer readable storage medium
CN103905817A (en) Automatic video measuring system based on LabVIEW and VideoMASTER
CN110706203A (en) Method and system for automatically detecting key points of lateral skull tablets based on deep learning
CN117194124A (en) Signal testing method, device, computer equipment and storage medium
CN202385229U (en) Signal source applicable to stereotelevision crosstalk measurement
CN104143303B (en) Arbitrary order gridiron pattern screen component based on FPGA generates method
CN102348127B (en) Television picture quality detection system and method
CN113657190B (en) Driving method of face image and training method and related device of related model
CN101853393B (en) Automatic production and automatic learning method of machine vision system detection algorithm
CN106657985B (en) Method and system for customizing image of video signal generator
CN107592523A (en) A kind of detection method, storage device and the detection means of TV images uniformity
CN102006496A (en) Data processing equipment and method for implementing video signal measurement

Legal Events

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