A waveform segmentation processing device

By designing a waveform segmentation processing device to perform filtering and voltage edge detection, the problem of voltage waveform analysis is solved, automatic processing of voltage waveforms and key information extraction are realized, and the analysis efficiency is improved.

CN118364233BActive Publication Date: 2024-10-18P&R MEASUREMENT INC
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410462272.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-08-01
Publication Date
2024-10-18
Estimated Expiration
2043-08-01

AI Technical Summary

Technical Problem

In the field of testing, burrs and interference often exist in the voltage sampling of circuit boards, causing the collected voltage waveforms to be inconsistent with expectations and difficult to analyze and process.

Method used

Design a waveform segmentation processing device to achieve automated analysis and processing of voltage waveforms by acquiring waveform data, performing filtering, rising edge and falling edge detection, and calculating measurement accuracy and level.

Benefits of technology

It achieves reliable extraction of key technical information from the collected voltage waveforms, improves the efficiency of voltage waveform analysis and processing, and reduces the effects of burrs and interference.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118364233B_ABST
    Figure CN118364233B_ABST
Patent Text Reader

Abstract

The present invention relates to a waveform data segmentation processing method and device, wherein the method comprises: obtaining at least one waveform data to form a group of waveform data; preprocessing the waveform data; filtering each waveform data; performing rising edge detection on the corresponding waveform data to obtain the rising starting point and rising ending point of each rising edge; performing falling edge detection on each waveform data to obtain the falling starting point and falling ending point of each falling edge; mapping the rising starting point and rising ending point of each rising edge and the falling starting point and falling ending point of each falling edge to the corresponding waveform data to obtain the mapped rising starting point, mapped rising ending point, mapped falling starting point and mapped falling ending point of the current waveform data. The present invention can realize the automatic analysis and processing of the collected voltage waveform, and achieve the technical effect of reliably extracting the key technical information of the waveform.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the field of testing technology, and in particular relates to a waveform segmentation processing device. Background Art

[0002] In the testing field, it is often necessary to sample and analyze the voltage points to be tested on the circuit board to determine whether the sampled voltage points meet the design requirements. In actual sampling, there are many factors such as glitches and interference, which cause the collected voltage waveform to not meet expectations and is difficult to analyze and process. Summary of the invention

[0003] The present invention provides a waveform data segmentation processing method and device, aiming to solve at least one of the technical problems existing in the prior art. The waveform segmentation processing device proposed in the present invention can realize automatic analysis and processing of the collected voltage waveform, so as to achieve the technical effect of reliably extracting key technical information of the waveform.

[0004] The technical solution of the present invention relates to a waveform segmentation processing device, and the waveform data segmentation processing device comprises:

[0005] A waveform acquisition device, used to acquire at least one piece of waveform data to form a set of waveform data;

[0006] A waveform processing device, used for processing at least one waveform data to obtain all rising edges and falling edges, the waveform processing device is connected to the waveform acquisition device;

[0007] A waveform storage device, used to store the waveform acquired by the waveform acquisition device, the waveform processed by the waveform processing device and the processing result, the waveform storage device is connected to the waveform processing device;

[0008] Wherein, the waveform acquisition device is used to perform the following steps:

[0009] S100, obtaining at least one piece of waveform data to form a set of waveform data;

[0010] Wherein, the waveform processing device is used to perform the following steps:

[0011] S200, preprocessing the waveform data;

[0012] S300, filtering each piece of waveform data to obtain a filtered data waveform of each piece of waveform data;

[0013] S400, based on the filtered data waveform, performing rising edge detection on the corresponding waveform data to obtain a rising start point and a rising end point of each rising edge;

[0014] The step S400 includes:

[0015] S410, based on the maximum level and the minimum level, starting from time zero, marking a rising start point and a rising end point, wherein the rising start point is the first measured voltage value whose measured voltage value is greater than the minimum level multiplied by the first threshold, and the rising end point is the last measured voltage value whose measured voltage value is less than the maximum level multiplied by the second threshold;

[0016] S420, if all measured voltage values ​​from the rising start point to the rising end point rise monotonically, then record the line segment composed of all measured voltage sampling points from the rising start point to the rising end point as a rising edge;

[0017] S430, repeating step S410 to step S420 until the current waveform data is traversed and all rising edges are obtained;

[0018] S500, based on the filtered data waveform, performing falling edge detection on each waveform data to obtain a falling start point and a falling end point of each falling edge;

[0019] S600, mapping the rising start point and rising end point of each rising edge and the falling start point and falling end point of each falling edge to the corresponding waveform data, to obtain the mapped rising start point, mapped rising end point, mapped falling start point and mapped falling end point of the current waveform data;

[0020] S700, repeating steps S300 to S600, traversing all waveform data of a group of waveform data, and obtaining the mapping rising start point, mapping rising end point, mapping falling start point and mapping falling end point of all waveform data.

[0021] Further, the step S200 includes:

[0022] S210, calculating the measurement accuracy of a set of waveform data;

[0023] S220, calculating the ripple of each waveform data;

[0024] S230, calculating the maximum level and the minimum level of each waveform data.

[0025] Further, the step S210 includes:

[0026] S211, obtaining the measurement accuracy of each waveform data in a set of waveform data;

[0027] S212. Compare the measurement accuracy of each piece of waveform data, and take the minimum value as the measurement accuracy of the current set of waveform data.

[0028] Further, the step S230 includes:

[0029] S231, performing a histogram analysis on each waveform data to obtain the frequency and proportion of the maximum value and the minimum value;

[0030] S232, performing peak value calculation on each waveform data to obtain the maximum level and the minimum level.

[0031] Further, the step S500 includes:

[0032] S510, based on the maximum level and the minimum level, starting from time zero, marking a decrease start point and a decrease end point, wherein the decrease start point is the first measured voltage value whose measured voltage value is less than the maximum level multiplied by the third threshold, and the decrease end point is the last measured voltage value whose measured voltage value is greater than the minimum level multiplied by the fourth threshold;

[0033] S520, if all measured voltage values ​​from the falling start point to the falling end point decrease monotonically, then record the line segment composed of all voltage measurement points from the falling start point to the falling end point as a falling edge;

[0034] S530, repeating step S510 to step S520 until the current waveform data is traversed and all falling edges are obtained.

[0035] Further, the step S600 includes:

[0036] S610, for a single rising edge, starting from the horizontal coordinate of the rising end point and ending at the horizontal coordinate of the rising start point, find the first point whose vertical coordinate of the waveform data is equal to the vertical coordinate of the rising start point as the mapping rising start point;

[0037] S620, for a single rising edge, starting from the abscissa of the rising start point and ending at the abscissa of the rising end point, find the first point whose ordinate of the waveform data is equal to the ordinate of the rising end point as the mapping rising end point;

[0038] S630, repeating step S610 to step S620 until the current waveform data is traversed to obtain the mapping rising start points and mapping rising end points corresponding to all rising edges.

[0039] Furthermore, the step S600 further includes:

[0040] S640, for a single falling edge, starting from the abscissa of the falling end point and ending at the abscissa of the falling start point, find the first point whose ordinate of the waveform data is equal to the ordinate of the falling start point as the mapping falling start point;

[0041] S650, for a single falling edge, starting from the abscissa of the falling start point and ending at the abscissa of the falling end point, find the first point whose ordinate of the waveform data is equal to the ordinate of the falling end point as the mapping falling end point;

[0042] S660, repeating step S640 to step S650 until the current waveform data is traversed to obtain the mapped falling start point and the mapped falling end point corresponding to all falling edges.

[0043] Furthermore, the present invention also provides a computer-readable storage medium, characterized in that program instructions are stored thereon, and the method implemented when the program instructions are executed by a processor includes:

[0044] S100, obtaining at least one piece of waveform data to form a set of waveform data;

[0045] S200, preprocessing the waveform data;

[0046] S300, filtering each piece of waveform data to obtain a filtered data waveform of each piece of waveform data;

[0047] S400, based on the filtered data waveform, performing rising edge detection on the corresponding waveform data to obtain a rising start point and a rising end point of each rising edge;

[0048] S430, repeating step S410 to step S420 until the current waveform data is traversed and all rising edges are obtained;

[0049] S500 , based on the filtered data waveform, perform falling edge detection on each waveform data to obtain a falling start point and a falling end point of each falling edge.

[0050] Furthermore, the method implemented when the program instruction is executed by the processor also includes:

[0051] S600, mapping the rising start point and rising end point of each rising edge and the falling start point and falling end point of each falling edge to the corresponding waveform data, to obtain the mapped rising start point, mapped rising end point, mapped falling start point and mapped falling end point of the current waveform data;

[0052] The step S600 includes:

[0053] S610, for a single rising edge, starting from the horizontal coordinate of the rising end point and ending at the horizontal coordinate of the rising start point, find the first point whose vertical coordinate of the waveform data is equal to the vertical coordinate of the rising start point as the mapping rising start point;

[0054] S620, for a single rising edge, starting from the abscissa of the rising start point and ending at the abscissa of the rising end point, find the first point whose ordinate of the waveform data is equal to the ordinate of the rising end point as the mapping rising end point;

[0055] S630, repeating step S610 to step S620 until the current waveform data is traversed to obtain the mapping rising start points and mapping rising end points corresponding to all rising edges.

[0056] Furthermore, the method implemented when the program instruction is executed by the processor also includes:

[0057] S700, repeating steps S300 to S600, traversing all waveform data of a group of waveform data, and obtaining the mapping rising start point, mapping rising end point, mapping falling start point and mapping falling end point of all waveform data.

[0058] According to some embodiments of the present invention, the beneficial effects of the present invention are as follows:

[0059] A waveform segmentation processing device proposed in the present invention can realize automatic analysis and processing of the collected voltage waveform, thereby achieving the technical effect of reliably extracting key technical information of the waveform.

[0060] In addition, additional aspects and advantages of the present invention will be given in part in the following description, and in part will be obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0061] Figure 1 is a flow chart of a waveform data segmentation processing method according to the present invention.

[0062] Figure 2 It is a flow chart of rising edge detection of the waveform data segmentation processing method according to the present invention.

[0063] Figure 3 4 is a flowchart of falling edge detection of the waveform data segmentation processing method according to the present invention.

[0064] Figure 4 4 is a flowchart of a rising edge and a falling edge mapping method of a waveform data segmentation processing method according to the present invention.

[0065] Figure 5 It is a schematic diagram of rising edge mapping of the waveform data segmentation processing method according to the present invention.

[0066] Figure 6 3 is a schematic diagram of falling edge mapping of the waveform data segmentation processing method according to the present invention.

[0067] Figure 7Schematic diagram of step detection according to the waveform data segmentation processing method of the present invention.

[0068] Figure 8 2 is a schematic diagram of a waveform data segmentation processing device according to the present invention. DETAILED DESCRIPTION

[0069] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0070] The concept, specific structure and technical effects of the present invention will be clearly and completely described below in combination with the embodiments and drawings to fully understand the purpose, scheme and effect of the present invention.

[0071] It should be noted that, unless otherwise specified, when a feature is referred to as being "fixed" or "connected" to another feature, it may be directly fixed or connected to another feature, or it may be indirectly fixed or connected to another feature. The singular forms "a", "said" and "the" used herein are also intended to include the plural forms, unless the context clearly indicates otherwise. In addition, unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art. The terms used in this specification are intended only to describe specific embodiments and are not intended to limit the invention. The term "and / or" used herein includes any combination of one or more of the related listed items.

[0072] It should be understood that although the terms first, second, third, etc. may be used to describe various elements in the present disclosure, these elements should not be limited to these terms. These terms are only used to distinguish elements of the same type from each other. For example, without departing from the scope of the present disclosure, the first element may also be referred to as the second element, and similarly, the second element may also be referred to as the first element. The use of any and all examples or exemplary language ("for example", "such as", etc.) provided herein is intended only to better illustrate embodiments of the present invention, and unless otherwise required, will not impose limitations on the scope of the present invention. In addition, the industry term "posture" used herein refers to the position and attitude of a certain element relative to a spatial coordinate system.

[0073] Reference Figures 1 to 8 , a waveform data segmentation processing method and device, referring to Figure 1 , the method comprises the following steps:

[0074] S100, obtaining at least one piece of waveform data to form a set of waveform data;

[0075] S200, preprocessing the waveform data;

[0076] S300, filtering each piece of waveform data to obtain a filtered data waveform of each piece of waveform data;

[0077] S400, based on the filtered data waveform, performing rising edge detection on the corresponding waveform data to obtain a rising start point and a rising end point of each rising edge;

[0078] S500, based on the filtered data waveform, performing falling edge detection on each waveform data to obtain a falling start point and a falling end point of each falling edge;

[0079] S600, mapping the rising start point and rising end point of each rising edge and the falling start point and falling end point of each falling edge to the corresponding waveform data, to obtain the mapped rising start point, mapped rising end point, mapped falling start point and mapped falling end point of the current waveform data;

[0080] S700, repeating steps S300 to S600, traversing all waveform data of a group of waveform data, and obtaining the mapping rising start point, mapping rising end point, mapping falling start point and mapping falling end point of all waveform data.

[0081] According to some embodiments of the present invention, the beneficial effects of the present invention are as follows:

[0082] The present invention provides a waveform data segmentation processing method and device, which can realize automatic analysis and processing of collected voltage waveforms, thereby achieving the technical effect of reliably extracting key technical information of the waveform.

[0083] Further, the step S200 includes:

[0084] S210, calculating the measurement accuracy of a set of waveform data;

[0085] S220, calculating the ripple of each waveform data;

[0086] S230, calculating the maximum level and the minimum level of each waveform data.

[0087] Specifically, a set of waveform data includes a plurality of waveform data curves, each of which is a voltage timing diagram of a measured point of the circuit board.

[0088] Ripple is used to measure the fluctuation of data. For example, under the premise of stable output of 1V, in actual application, the measured data will fluctuate between 0.9V-1.1V, and this ripple is 0.2V, that is, it is considered that all values ​​before 0.9-1.1 are 1V. The specific calculation is: take the 1-second data of the starting segment, because the data is processed in a stable 0V state before the test starts, use the moving average method to filter and remove interference, and then calculate the peak-to-peak value. This value is the ripple of the current channel.

[0089] Specifically, to calculate the ripple of each waveform data, it is necessary to calculate the waveform of each curve for error judgment. For example, when measuring a voltage of 0V, the measured value is not stable at 0, but fluctuates up and down. In some embodiments, the values ​​of -0.02V-0.02V are all considered to be 0V, and the ripple needs to be taken into account when judging the level.

[0090] Further, the step S210 includes:

[0091] S211, obtaining the measurement accuracy of each waveform data in a set of waveform data;

[0092] S212. Compare the measurement accuracy of each piece of waveform data, and take the minimum value as the measurement accuracy of the current set of waveform data.

[0093] In some embodiments, the measurement accuracy of waveform data is related to the device that collects the data. The minimum accuracy of the data collection device for multiple waveform data is used as the accuracy of a group of waveform data. The measurement accuracy (precision) is calculated by first calculating the difference between every two values ​​of each curve, and then calculating the minimum value of different curves of the same group of waveform data as the measurement accuracy of the current device.

[0094] Further, the step S230 includes:

[0095] S231, performing a histogram analysis on each waveform data to obtain the frequency and proportion of the maximum value and the minimum value;

[0096] S232, performing peak value calculation on each waveform data to obtain the maximum level and the minimum level.

[0097] Specifically, the maximum value area and the minimum value area are confirmed by means of a histogram, and then the specific maximum level and minimum level are determined by finding the peak value (find_peaks). Finally, the ripple is added to determine the maximum level and minimum level within the error range.

[0098] Corresponding to step S300, refer to Figure 5 and Figure 6, use the sliding average algorithm (convolve) to filter and get a thumbnail of the entire curve, using the moving average data, Figure 5 and Figure 6 In the figure, the dotted line is the filtered data, which can effectively reduce the impact of burrs on the segmentation processing of waveform data.

[0099] Further, refer to Figure 2 , the step S400 includes:

[0100] S410, based on the maximum level and the minimum level, starting from time zero, marking a rising start point and a rising end point, wherein the rising start point is the first measured voltage value whose measured voltage value is greater than the minimum level multiplied by the first threshold, and the rising end point is the last measured voltage value whose measured voltage value is less than the maximum level multiplied by the second threshold;

[0101] S420, if all measured voltage values ​​from the rising start point to the rising end point rise monotonically, then record the line segment composed of all measured voltage sampling points from the rising start point to the rising end point as a rising edge;

[0102] S430, repeating step S410 to step S420 until the current waveform data is traversed and all rising edges are obtained.

[0103] Specifically, refer to Figure 5 , the detection of the rising edge uses the sliding average data as the detection source. The detection of the rising edge is divided into the detection of the rising starting point and the rising ending point. The rising starting point starts from time zero in sequence, and the sliding average data curve is scanned and judged in turn. When the first detection is that the size of the collected voltage value is equal to the minimum level * the first threshold, this point is the rising starting point. The first threshold is a decimal greater than 1 and close to 1, such as 1.05, 1.1, 1.15, etc.

[0104] Reference Figure 5 , point A is the starting point of the rise.

[0105] After determining the rising starting point, it is necessary to determine the rising ending point, which is the last measured voltage value where the measured voltage value is less than the maximum level multiplied by the second threshold, wherein the second threshold is a decimal less than 1 and close to 1, such as 0.95, 0.9, 0.85, etc.

[0106] Reference Figure 5 , point B is the end point of the rise.

[0107] After detecting point A and point B, it is necessary to judge all the data points between point A and point B. Only when all the measured voltage values ​​starting from the rising starting point (point A) to the rising ending point (point B) are monotonically rising, can the line segment composed of all the measured voltage sampling points from the rising starting point to the rising ending point be recorded as a rising edge.

[0108] Reference Figure 3 , the step S500 comprises:

[0109] S510, based on the maximum level and the minimum level, starting from time zero, marking a decrease start point and a decrease end point, wherein the decrease start point is the first measured voltage value whose measured voltage value is less than the maximum level multiplied by the third threshold, and the decrease end point is the last measured voltage value whose measured voltage value is greater than the minimum level multiplied by the fourth threshold;

[0110] S520, if all measured voltage values ​​from the falling start point to the falling end point decrease monotonically, then record the line segment composed of all voltage measurement points from the falling start point to the falling end point as a falling edge;

[0111] S530, repeating step S510 to step S520 until the current waveform data is traversed and all falling edges are obtained.

[0112] Specifically, refer to Figure 6 , the detection of the falling edge uses the sliding average data as the detection source. The detection of the falling edge is divided into detecting the falling starting point and the falling ending point. The falling starting point starts from time zero in sequence, and the sliding average data curve is scanned and judged in turn. When it is detected for the first time that the collected voltage value is less than the maximum level multiplied by the third threshold, this point is the rising starting point. The third threshold is a decimal less than 1 and close to 1, such as 0.95, 0.9, 0.85, etc.

[0113] Reference Figure 6 , point C is the starting point of descent.

[0114] After determining the starting point of the decline, it is necessary to determine the end point of the decline, which is the last measured voltage value greater than the minimum level multiplied by the fourth threshold, where the fourth threshold is a decimal greater than 1 and close to 1, such as 1.05, 1.1, 1.15, etc.

[0115] Reference Figure 6 , point D is the end point of the rise.

[0116] After detecting point C and point D, it is necessary to judge all the data points between point C and point D. Only when all the measured voltage values ​​starting from the falling starting point (point C) to the falling ending point (point D) are monotonically decreasing, can the line segment composed of all the measured voltage sampling points from the falling starting point to the falling ending point be recorded as a falling edge.

[0117] Further, refer to Figure 4 , the step S600 comprises:

[0118] S610, for a single rising edge, starting from the horizontal coordinate of the rising end point and ending at the horizontal coordinate of the rising start point, find the first point whose vertical coordinate of the waveform data is equal to the vertical coordinate of the rising start point as the mapping rising start point;

[0119] S620, for a single rising edge, starting from the abscissa of the rising start point and ending at the abscissa of the rising end point, find the first point whose ordinate of the waveform data is equal to the ordinate of the rising end point as the mapping rising end point;

[0120] S630, repeating step S610 to step S620 until the current waveform data is traversed to obtain the mapping rising start points and mapping rising end points corresponding to all rising edges.

[0121] Further, refer to Figure 4 , the step S600 further includes:

[0122] S640, for a single falling edge, starting from the abscissa of the falling end point and ending at the abscissa of the falling start point, find the first point whose ordinate of the waveform data is equal to the ordinate of the falling start point as the mapping falling start point;

[0123] S650, for a single falling edge, starting from the abscissa of the falling start point and ending at the abscissa of the falling end point, find the first point whose ordinate of the waveform data is equal to the ordinate of the falling end point as the mapping falling end point;

[0124] S660, repeating step S640 to step S650 until the current waveform data is traversed to obtain the mapped falling start point and the mapped falling end point corresponding to all falling edges.

[0125] Specifically, refer to Figure 5 and Figure 6, it is necessary to map the rising starting point (point A), the rising ending point (point B), the falling starting point (point C) and the falling ending point (point D) to the real waveform data. Taking the rising starting point (point A) as an example, the X coordinate of the rising starting point (point A) will directly fall on the level and cannot be used directly. It is necessary to use the Y coordinate of the rising starting point (point A) and find the first point whose Y value is smaller than the rising starting point (point A) from right to left in the interval from X to X+window width (window width is the value used when using sliding average). At this time, point A' will fall on the rising edge of the real waveform data.

[0126] Specifically, it should be noted that in the timing diagram, the starting point of the rise (point A), the ending point of the rise (point B), the starting point of the fall (point C) and the ending point of the fall (point D) are restored to the real waveform data, and the starting point needs to be from right to left, and the ending point needs to be from left to right.

[0127] In some embodiments, after the coordinates of the rising edge and the falling edge of the actual waveform data have been found, errors may occur and the actual starting point of the rising edge needs to be adjusted. The ripple calculated in step S220 is used to achieve accurate search. Taking A' as an example, the minimum level + ripple value is used as the target value, and the first point that is less than or equal to the target value is searched from right to left from A'. This point is the starting point of the rising edge.

[0128] Reference Figure 7 In some embodiments, it is necessary to determine the steps. During the rising or falling process, some parts will not directly rise from the lowest voltage to the maximum voltage or the maximum voltage to the minimum voltage. One or more steps will appear. At this time, it is necessary to round the ripple of the complete falling / rising edge curve data to obtain new data, and then use the new data to search for the peak value. If a peak value is detected, it means that there may be a step. It is necessary to further calculate the step length and the total length ratio of the current rise or fall to determine whether the step exists.

[0129] The present invention also proposes a waveform data segmentation processing device for implementing a waveform data segmentation processing method, referring to Figure 8 , the device comprises:

[0130] A waveform acquisition device, used to acquire at least one piece of waveform data to form a set of waveform data;

[0131] A waveform processing device, used for processing at least one waveform data to obtain all rising edges and falling edges, the waveform processing device is connected to the waveform acquisition device;

[0132] The waveform storage device is used to store the waveform acquired by the waveform acquisition device, the waveform processed by the waveform processing device and the processing result, and the waveform storage device is connected to the waveform processing device.

[0133] The present invention also provides a computer-readable storage medium on which program instructions are stored. When the program instructions are executed by a processor, a waveform data segmentation processing method is implemented.

[0134] It should be appreciated that the method steps in the embodiments of the present invention can be implemented or implemented by computer hardware, a combination of hardware and software, or by computer instructions stored in a non-transitory computer readable memory. The method can use standard programming techniques. Each program can be implemented in a high-level process or object-oriented programming language to communicate with a computer system. However, if necessary, the program can be implemented in an assembly or machine language. In any case, the language can be a compiled or interpreted language. In addition, the program can be run on a programmed ASIC for this purpose.

[0135] Furthermore, the operations of the processes described herein may be performed in any suitable order unless otherwise indicated herein or otherwise clearly contradicted by context. The processes described herein (or variations and / or combinations thereof) may be performed under the control of one or more computer systems configured with executable instructions, and may be implemented as code (e.g., executable instructions, one or more computer programs, or one or more applications) that is executed collectively on one or more processors, by hardware, or a combination thereof. The computer program includes a plurality of instructions that may be executed by one or more processors.

[0136] Further, the method can be implemented in any type of computing platform that is operably connected to a suitable computer, including but not limited to a personal computer, a minicomputer, a mainframe, a workstation, a network or distributed computing environment, a separate or integrated computer platform, or in communication with a charged particle tool or other imaging device, etc. Various aspects of the present invention can be implemented in machine-readable code stored on a non-transitory storage medium or device, whether removable or integrated into a computing platform, such as a hard disk, an optical read and / or write storage medium, a RAM, a ROM, etc., so that it can be read by a programmable computer, and when the storage medium or device is read by the computer, it can be used to configure and operate the computer to perform the process described herein. In addition, the machine-readable code, or portions thereof, can be transmitted via a wired or wireless network. When such media includes instructions or programs that implement the steps described above in conjunction with a microprocessor or other data processor, the invention described herein includes these and other different types of non-transitory computer-readable storage media. When programmed according to the methods and techniques of the present invention, the present invention can also include the computer itself.

[0137] The computer program can be applied to input data to perform the functions described herein, thereby converting the input data to generate output data stored in a non-volatile memory. The output information can also be applied to one or more output devices such as a display. In a preferred embodiment of the present invention, the converted data represents physical and tangible objects, including specific visual depictions of physical and tangible objects produced on the display.

[0138] The above is only a preferred embodiment of the present invention. The present invention is not limited to the above implementation. As long as the technical effect of the present invention is achieved by the same means, any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the scope of protection of the present invention. Within the scope of protection of the present invention, its technical scheme and / or implementation method may have various modifications and changes.

Claims

1. A waveform segmentation processing device, characterized in that: The waveform segmentation processing device comprises: A waveform acquisition device, used to acquire at least one piece of waveform data to form a set of waveform data; A waveform processing device, used for processing at least one waveform data to obtain all rising edges and falling edges, the waveform processing device is connected to the waveform acquisition device; A waveform storage device, used to store the waveform acquired by the waveform acquisition device, the waveform processed by the waveform processing device and the processing result, the waveform storage device is connected to the waveform processing device; Wherein, the waveform acquisition device is used to perform the following steps: S100, obtaining at least one piece of waveform data to form a set of waveform data; Wherein, the waveform processing device is used to perform the following steps: S200, preprocessing the waveform data; S300, filtering each piece of waveform data to obtain a filtered data waveform of each piece of waveform data; S400, based on the filtered data waveform, performing rising edge detection on the corresponding waveform data to obtain a rising start point and a rising end point of each rising edge; The step S400 includes: S410, based on the maximum level and the minimum level, starting from time zero, marking a rising start point and a rising end point, wherein the rising start point is the first measured voltage value whose measured voltage value is greater than the minimum level multiplied by the first threshold, and the rising end point is the last measured voltage value whose measured voltage value is less than the maximum level multiplied by the second threshold; S420, if all measured voltage values ​​from the rising start point to the rising end point rise monotonically, then record the line segment composed of all measured voltage sampling points from the rising start point to the rising end point as a rising edge; S430, repeating step S410 to step S420 until the current waveform data is traversed and all rising edges are obtained; S500, based on the filtered data waveform, performing falling edge detection on each waveform data to obtain a falling start point and a falling end point of each falling edge; S600, mapping the rising start point and rising end point of each rising edge and the falling start point and falling end point of each falling edge to the corresponding waveform data, to obtain the mapped rising start point, mapped rising end point, mapped falling start point and mapped falling end point of the current waveform data; S700, repeating steps S300 to S600, traversing all waveform data of a group of waveform data, and obtaining the mapping rising start point, mapping rising end point, mapping falling start point and mapping falling end point of all waveform data.

2. The waveform segmentation processing device according to claim 1, characterized in that: The step S200 includes: S210, calculating the measurement accuracy of a set of waveform data; S220, calculating the ripple of each waveform data; S230, calculating the maximum level and the minimum level of each waveform data.

3. The waveform segmentation processing device according to claim 2, characterized in that: The step S210 includes: S211, obtaining the measurement accuracy of each waveform data in a set of waveform data; S212. Compare the measurement accuracy of each piece of waveform data, and take the minimum value as the measurement accuracy of the current set of waveform data.

4. The waveform segmentation processing device according to claim 2, characterized in that: The step S230 includes: S231, performing a histogram analysis on each waveform data to obtain the frequency and proportion of the maximum value and the minimum value; S232, performing peak value calculation on each waveform data to obtain the maximum level and the minimum level.

5. The waveform segmentation processing device according to claim 4, characterized in that: The step S500 includes: S510, based on the maximum level and the minimum level, starting from time zero, marking a decrease start point and a decrease end point, wherein the decrease start point is the first measured voltage value whose measured voltage value is less than the maximum level multiplied by the third threshold, and the decrease end point is the last measured voltage value whose measured voltage value is greater than the minimum level multiplied by the fourth threshold; S520, if all measured voltage values ​​from the falling start point to the falling end point decrease monotonically, then record the line segment composed of all voltage measurement points from the falling start point to the falling end point as a falling edge; S530, repeating step S510 to step S520 until the current waveform data is traversed and all falling edges are obtained.

6. The waveform segmentation processing device according to claim 1, characterized in that: The step S600 includes: S610, for a single rising edge, starting from the horizontal coordinate of the rising end point and ending at the horizontal coordinate of the rising start point, find the first point whose vertical coordinate of the waveform data is equal to the vertical coordinate of the rising start point as the mapping rising start point; S620, for a single rising edge, starting from the abscissa of the rising start point and ending at the abscissa of the rising end point, find the first point whose ordinate of the waveform data is equal to the ordinate of the rising end point as the mapping rising end point; S630, repeating step S610 to step S620 until the current waveform data is traversed to obtain the mapping rising start points and mapping rising end points corresponding to all rising edges.

7. The waveform segmentation processing device according to claim 1, characterized in that: The step S600 further includes: S640, for a single falling edge, starting from the abscissa of the falling end point and ending at the abscissa of the falling start point, find the first point whose ordinate of the waveform data is equal to the ordinate of the falling start point as the mapping falling start point; S650, for a single falling edge, starting from the abscissa of the falling start point and ending at the abscissa of the falling end point, find the first point whose ordinate of the waveform data is equal to the ordinate of the falling end point as the mapping falling end point; S660, repeating step S640 to step S650 until the current waveform data is traversed to obtain the mapped falling start point and the mapped falling end point corresponding to all falling edges.

8. A computer-readable storage medium, characterized in that: Program instructions are stored thereon, and the method implemented when the program instructions are executed by the processor includes: S100, obtaining at least one piece of waveform data to form a set of waveform data; S200, preprocessing the waveform data; S300, filtering each piece of waveform data to obtain a filtered data waveform of each piece of waveform data; S400, based on the filtered data waveform, performing rising edge detection on the corresponding waveform data to obtain a rising start point and a rising end point of each rising edge; S500, based on the filtered data waveform, performing falling edge detection on each waveform data to obtain a falling start point and a falling end point of each falling edge; S600, mapping the rising start point and rising end point of each rising edge and the falling start point and falling end point of each falling edge to the corresponding waveform data, to obtain the mapped rising start point, mapped rising end point, mapped falling start point and mapped falling end point of the current waveform data; The step S600 includes: S610, for a single rising edge, starting from the horizontal coordinate of the rising end point and ending at the horizontal coordinate of the rising start point, find the first point whose vertical coordinate of the waveform data is equal to the vertical coordinate of the rising start point as the mapping rising start point; S620, for a single rising edge, starting from the abscissa of the rising start point and ending at the abscissa of the rising end point, find the first point whose ordinate of the waveform data is equal to the ordinate of the rising end point as the mapping rising end point; S630, repeating step S610 to step S620 until the current waveform data is traversed to obtain the mapping rising start points and mapping rising end points corresponding to all rising edges; S700, repeating steps S300 to S600, traversing all waveform data of a group of waveform data, and obtaining the mapping rising start point, mapping rising end point, mapping falling start point and mapping falling end point of all waveform data.

Citation Information

Patent Citations

  • Feature extraction method for turnout action current curve

    CN107368779A

  • Recognition method and device of R waves of electrocardiosignals and computer equipment

    CN109820501A