Method and device for signal pattern recognition

EP4437350A1Pending Publication Date: 2024-10-02H NEXT GMBH
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
EP2022821897
Authority / Receiving Office
EP · EP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2021-11-24
Filing Date
2022-11-22
Publication Date
2024-10-02

AI Technical Summary

Technical Problem

Existing signal pattern recognition methods face challenges with high computational effort for complex trigger conditions, leading to dead times in signal analysis and increased equipment requirements, especially when dealing with high data rates and complex signal patterns.

Method used

A method for signal pattern recognition that involves time-discrete sampling, subdivision of data into blocks, construction of min-max trees, and parallel data processing to generate envelope curves and test trigger conditions, allowing for efficient evaluation of signal patterns without interruption, even at high clock frequencies.

Benefits of technology

This approach reduces computational effort and enables continuous signal evaluation with a favorable equipment-to-complexity ratio, allowing for real-time analysis of high-data-rate signals with complex trigger conditions without dead times.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 1.1
    Figure 1.1
Patent Text Reader

Abstract

The invention relates to a method, which can in particular be used for triggering, for signal pattern recognition on the basis of the maintenance or violation of signal amplitude corridors, proceeding from a continuous data stream which is sampled in a time-discrete manner and is divided into blocks which are each formed from a number of sampling values given as a power of two (2n). On each of these blocks, a tree structure of minimum and maximum pairs is built, wherein each of these pairs is a node of the tree and comprises the minimum value and the maximum value of the two directly assigned pairs or values in the next level down. Corridors of a mask which is used for signal pattern recognition are shifted from sampling value to sampling value via the data blocks. The trees are built up, like the depth-first searches, by means of parallel data processing.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] Method and device for signal pattern recognition

[0002] The invention relates to a method for signal pattern recognition, in particular for triggering purposes. Furthermore, the invention relates to a device suitable for carrying out such a method.

[0003] US 2007 / 0217694 A1 discloses a digital acquisition system that compresses sampled data before storage. The acquisition system comprises a device for digitizing an electrical signal, thereby generating a sampled data stream. Furthermore, the digital acquisition system includes means for parallel compression of the sampled data stream. Various compression schemes, including a low-pass filter scheme, are used for this purpose. At the same time, the digital acquisition system is intended to be particularly suitable for peak detection. For this purpose, for example, a data block comprising 128 values ​​is first divided into 64 value pairs. Each value pair is understood to be a combination of a minimum value and a maximum value. In the next step of the data acquisition and processing system according to US 2007 / 0217694 A1, the maximum value of two adjacent min-max pairs is determined.The same procedure is followed for the minimum values. In this way, a next layer of data is constructed, containing only 32 maximum values ​​and 32 minimum values. This process is continued until the two extreme values ​​of all original 128 values ​​have been extracted.

[0004] US 2009 / 0153559 A1 discloses a method for automatically generating a frequency domain mask for a selected input signal. Within the known method, frequency domain data representing the selected input signal is reduced to generate a reduced waveform. The reduced waveform can be plotted using a user-selected frequency offset. US 2008 / 0054967 A1 describes a method for correcting errors in a sequential sampling timebase, wherein a sampling time for the sequential sampling timebase is defined by a duration of a combination of a fine analog delay and a coarse delay. The method according to US 2008 / 0054967 A1 includes measuring a time difference between a trigger, at which the fine analog delay starts the measurement time, and the occurrence of a digital pulse of a stable clock.

[0005] A digital oscilloscope with noise detection described in US 2010 / 0052653 A1 includes, among other things, a synchronous random access memory, a digital signal processing unit, an analog-to-digital converter, and a digital signal processor. The latter processor includes a plurality of processing blocks designed to process the digitized analog signal data and detect noise peaks in this data.

[0006] WO 2014 / 072271 A1 discloses a device for determining a trigger condition for a rare signal event. Using this device, level- or time-based statistical parameters are recorded and frequency distributions are continuously updated. The trigger condition can be a level-based and / or time-based threshold that the detected signal must exceed or fall below. Frequency distributions can be determined for different level-based thresholds.

[0007] US 4,585,975 A discloses a multi-channel oscilloscope with digital trigger signal channels. The oscilloscope includes a trigger threshold generator and operates, among other things, with Boolean functions.

[0008] US 4,843,309 A describes a method for timing a waveform for digital oscilloscopes. This method involves taking first and second data recordings from a periodic signal, which relate to a first and second waveform, respectively. For the first waveform, an autocorrelation value is generated from the first data recording. Furthermore, a cross-correlation value is generated between the first and second waveforms. Misalignment between the waveforms is detectable by comparing the autocorrelation value with the cross-correlation value.

[0009] DE 10 2014208464 A1 discloses a digital oscilloscope with parallel acquisition and signal post-processing. This involves acquiring signal samples in individual time domains, each defined in relation to a trigger time of a trigger event. Subsequent post-processing of the samples acquired in individual time domains is provided.

[0010] Another device for digital triggering is described in DE 10 2006 021 075 A1. In this case, a measurement signal is superimposed with a noise signal.

[0011] In principle, triggering can be initiated by an analog or digital signal. In the simplest case, triggering means that a trigger signal is triggered when a threshold is exceeded or undershot. If more complex trigger patterns are present, which is particularly relevant in digital signal processing, generating a trigger signal requires greater computational effort. More complex trigger conditions, particularly in the form of temporally extended signal amplitude corridors, require such a large amount of computational effort that time gaps arise in which the signal cannot be analyzed. To avoid such dead times, redundant means for signal acquisition and processing can be provided, which inevitably increases the equipment required.

[0012] The invention is based on the object of expanding the possibilities of signal pattern recognition, in particular in connection with triggering, compared to the cited prior art, wherein the signal analysis effort is essentially independent of the complexity of the trigger condition and can be parallelized across a large number of arithmetic units, so that even with a high data rate and complex trigger conditions, a seamless signal evaluation should be possible and a particularly favorable relationship between the complexity of a signal pattern to be recognized and the equipment effort required for the recognition is sought.

[0013] This object is achieved according to the invention by a method for signal pattern recognition according to claim 1. The method can be carried out with a device according to claim 15. Embodiments and advantages of the invention explained below in connection with the signal pattern recognition device also apply mutatis mutandis to the pattern recognition method and vice versa.

[0014] The signal pattern recognition process includes the following steps:

[0015] Time-discrete sampling of a continuous data stream, i.e. capturing sample values ​​that form a signal curve,

[0016] Division of the data stream into blocks, where the number of samples per block corresponds to a power of two,

[0017] Construction of at least one min-max tree on each block by defining the sample values ​​as the first layer of the tree and constructing further layers of the tree on this layer, which, in contrast to the first layer, are formed from min-max pairs, wherein each min-max pair is formed from the minimum and the maximum of the two pairs or sample values ​​lying in the last created or already existing layer, and wherein the tree construction is carried out by parallel data processing at least in a part of the layers, which includes the first layer,

[0018] Carrying out tree traversals that partially cross block boundaries, i.e., extend beyond a tree into at least one neighboring tree, for each sampling time, each starting in the first layer, for at least one corridor length specified by a signal mask, wherein within the entire corridor length, each individual sample value is initially defined as a min-max candidate and two consecutive min-max candidates are replaced by the min-max pair lying as the associated node in the next layer, provided that all samples assigned to this min-max pair also lie within the corridor, and identifying the minimum value and maximum value assigned to the respective sampling time and the corridor length on the basis of the min-max candidates found by the tree traversal, wherein one and the same min-max tree is used for a plurality of tree traversals to be carried out in parallel,

[0019] Generation of an envelope curve belonging to the signal curve from the minimum and maximum values ​​specific to the corridor length, each assigned to a sampling time,

[0020] Testing a trigger condition given by the signal mask for each sampling time by comparison with the envelope instead of the original signal, wherein at least part of the testing procedure is carried out by parallel data processing and Boolean trigger value signals are generated sample by sample.

[0021] Thus, parallel data processing occurs in several phases of the process. The first step involves constructing the min-max trees for the individual blocks into which the data stream is divided. Only one min-max tree needs to be created per block. The min-max trees represent a multiply used foundation for the subsequent process.

[0022] The invention is based on the consideration that two fundamentally different approaches can be used to check whether a section of a signal sequence fulfills a condition given by a mask, in particular a trigger condition:

[0023] According to a first conceivable approach, a mask used to examine a data stream is shifted in the smallest possible steps, i.e., from sample to sample. For example, if a signal sequence has a clock rate of 1 ns, a mask used to examine this signal sequence could, in an extreme case, also only extend over a duration of 1 ns. Masks with significantly longer corridors are also conceivable. For example, a corridor could extend over a duration of 1 ms, i.e., 1 million samples. Accordingly, in this case, 10 6possible mask positions within the corridor length. If all comparisons between sample values ​​falling within the mask are to be performed for every possible mask position, the limits of conventional data processing systems are quickly reached. Conversely, this means that only a few, not too long masks can be used in this way.

[0024] Another conceivable approach involves evaluating the data stream using an incremental search algorithm. This approach assumes that the time required to execute the search algorithm for each new sample is shorter than the time interval between two samples. Otherwise, the difference between the time required by the search algorithm and the timing of the data stream from sample to sample would add up, making real-time analysis of the data stream impossible over an extended period. This shortcoming could be addressed, for example, by not including each consecutive sample in the analysis or by preprocessing several consecutive samples. However, such measures could be at the expense of information originally contained in the data stream, which may be present, for example, in the form of very short-term signal changes.

[0025] The invention departs from the described approaches by performing block-by-block processing, in which adjacent blocks of the data stream are processed separately, only in an initial process step. A very high processing speed can already be achieved in this process step due to the parallelism of the data processing. This parallelism can, in principle, enable higher sampling rate evaluation rates than the clock frequency of a single arithmetic unit. Starting with a number of 2 n samples per data block, the first level of the min-max tree can be divided into up to 1 x 2 n simultaneously running calculation steps. In higher levels, the degree of possible parallelism is reduced. The structure of the second level can still be up to 1 / 4 x 2 n simultaneous calculation steps; in the third level there are still a maximum of 1 / 8 x 2 nparallel processes, and so on. The top of the tree is finally formed by a single pair of a minimum value and a maximum value. Thus, on a sufficiently large number of parallel arithmetic units, only n serial computation steps are required to construct a tree over 2 n To achieve the highest possible degree of parallelism, it is assumed that the number of arithmetic units is at least half the number of samples per data block.

[0026] Each tree contains the min-max pairs of sample intervals starting at index positions that are integer multiples of powers of two. The interval lengths are also powers of two. More precisely, at level k = {l...n}, the min-max values ​​are

[0027] (min,max){j*2 k -2 k +l ... j*2 k -l} for j = {0... 2 n k -l} is saved.

[0028] In a second, parallelizable step of data processing within the framework of the method according to the application, the desired min-max pairs with any given corridor length are obtained at each sample position in the form of tree traversals.

[0029] For corridors with temporally increasing or decreasing upper and lower limits of the gradients A and B per sample, the recursive min-max union of two adjacent min-max pairs (min,max){i+l...j}, (min,max){j+l...k} is carried out during tree generation and tree traversals according to min {i+1... k} = min( min{i+l,j}+B(kj), min{j+l..k} ) max {i+1... k} = max( max{i+l,j}+A(kj), max(j+l..k} ).

[0030] Each corridor gradient A or B requires its own tree and its own tree passes to generate its own envelope signal. Unlike the structure of the min-max trees, these tree passes are not tied to the block boundaries, but can extend into one or more adjacent neighboring trees, allowing the resulting envelope to be generated seamlessly.

[0031] The computational effort required to find the desired min-max pairs for each corridor position and length by tree generation and subsequent tree traversals is far less than the computational effort required to sequentially record the number of samples in the corresponding corridor length for each corridor position. Thus, at this point in the Signa I pattern recognition process, there is already a significant reduction in data processing steps compared to conventional data processing methods, in which all values ​​of each interval to be examined must be explicitly included in the analysis. Furthermore, it is possible to parallelize each of the two computational steps across a large number of arithmetic units, so that the absolute time required to analyze a block of samples is proportionally reduced and a correspondingly larger number of samples can be analyzed per unit of time.

[0032] Separate tree traversals must be performed for each corridor length and each corridor gradient. If different corridors in the signal mask have the same length, tree traversals are performed for the corresponding majority of corridors. Regardless of the extent to which corridor lengths occur multiple times, each corridor length is preferably shorter than the block length into which the data stream is divided.

[0033] From the individual Boolean test results of the signal against the individual corridors, i.e. the min-max pairs against the corridor lower and upper limit values, a common Boolean trigger function is generated for each possible mask position along the data stream, which represents whether the signal satisfies the entire signal mask or not.

[0034] In any case, the method for signal pattern recognition that can be used for triggering based on the compliance or violation of signal amplitude corridors is based on a time-discrete sampled continuous data stream, which is divided into blocks, each consisting of a power of two (2 n) given number of samples. A tree structure of minimum-maximum pairs is built on each of these blocks, with each of these pairs representing a node of the tree and containing the minimum and maximum values ​​of the two directly associated pairs or values ​​(exclusively in the zeroth level, i.e. the level of the samples) in the next lower level of the tree. Corridors of a mask used for signal pattern recognition are moved from sample to sample across the data blocks, regardless of their boundaries, with depth-level traversals through at least one of the already created trees being performed for each position in the corridor, depending on the corridor length. The construction of the trees, like the depth-level traversals, is carried out using parallel data processing.Compared to a block-by-block data analysis of all samples falling within a corridor for every possible mask position, analysis based on existing tree structures requires only a much less extensive comparison between previously detected minimum and maximum values. The method is thus capable of analyzing the data stream without interruption, even at a high sampling frequency of, for example, more than 100 MHz.

[0035] The signal pattern recognition method is suitable, for example, for signal masks with a single corridor or multiple corridors, where each corridor has a constant upper and lower boundary. In this case, there can also be an overlap between different corridors in terms of time and / or in terms of the upper and lower boundaries of the corridors. Likewise, corridor boundaries can be defined not absolutely, but in relation to the boundaries of other corridors.

[0036] In contrast to known methods, such as those described, among others, in document US 2007 / 0217694 A1, the method according to the application does not operate with data decimation. Rather, minimum and maximum values ​​that lie within a time interval specified by a signal mask, i.e., corresponding to a corridor length, are determined for each individual sample value, i.e., digitized value of the input signal. The original sampling rate at which the continuous data stream is sampled is retained. In further developed embodiments, the signal pattern recognition method is designed for use with signal masks that have at least one corridor with a lower and / or upper limit that varies along its length. In such a case, the envelope curves are generated with a distortion that reflects the deviations of the corridor boundaries from constant limits.In this way, as with corridors with constant boundaries, compliance with a trigger condition can be verified for each sampling time point by comparing the corresponding sample value with a single min-max pair defined by the envelope curve. The sampling time point represents a test point.

[0037] If a corridor is not defined by corridor boundaries that are constant over the entire length of the corridor, for example, upper and lower limits of the corridor with a constant gradient can be given for certain sections. In particular, the corridor can only have sections in which the gradients of the upper limit of the section in question and the lower limit of the same section have different signs. If two such adjacent sections exist, the corridor as a whole can, for example, have the shape of a rhombus or a dovetail. If it is required that a signal lies above a lower limit and below an upper limit of a corridor, this corridor represents a so-called positive window.Conversely, if there is a requirement that a signal either falls below a lower limit of a corridor or exceeds an upper limit of the same corridor, a negative window is defined.

[0038] Regarding the size of the blocks into which the continuous data stream is divided, there are a wide range of design possibilities. For example, the block on which the min-max tree is to be built comprises at least 2 10 and a maximum of 2 30 Sample values.

[0039] Likewise, a wide variety of design variants are possible regarding the parallelism of data processing. For example, the min-max tree, which is generated based on the sample values, can be constructed using parallel data processing up to at least half of the layers, i.e., the levels of the tree. The number of parallel tree iterations performed corresponds, in particular, to at least the square root of the number of samples per block.

[0040] The signal pattern recognition method is particularly suitable for use with signal sequences with short clock cycles, for example, acquisition of sample values ​​at time intervals of no more than 10 ns, in particular no more than 2 ns or 1 ns. A particular advantage achieved by the parallelism of data processing in multiple processing phases is that the construction of the min-max trees and the tree traversals can be performed in calculation steps that are longer than the time interval between two consecutive sample values. Due to the parallelism of the data processing, the total number of serial calculation steps per position of the signal mask is less than one.

[0041] Regardless of the complexity of the signal mask, a trigger time is set, for example, when the Boolean trigger value signal changes from "true" to "false." In this case, the detected trigger time is entered into a list. Entries in the list can be made without any other conditions or, for example, taking into account a trigger hold-off period. It is also possible, for example, to make entries in the list only after approval by a trigger counter, for example, only every second or third event that is considered a trigger event.

[0042] The device for signal pattern recognition generally comprises a data acquisition device provided for receiving a clocked signal and a trigger device coupled to this device and designed to carry out the method according to the application. The trigger device can have 128 or more, in particular 1,000 or more, arithmetic units designed for parallel data processing during the construction of the min-max trees and the tree traversals. Optionally, the arithmetic units are also used for the graphical display of sample values. According to various possible embodiments, the trigger device comprises a ring buffer provided for storing at least three blocks of the data stream, whereby the trigger device is designed for the uninterrupted processing of unfiltered sample values.

[0043] The advantage of the invention lies in the fact that, even in a fast-clocked, discrete-time sampled continuous data stream, the temporal positions of a given signal pattern can be identified without dead times. This applies, among other things, to the detection of data frames, eye diagrams, and their errors, which occur particularly in the form of so-called glitches and can be of extremely short duration.

[0044] Several embodiments of the invention are explained in more detail below with reference to a drawing. In the drawings:

[0045] Fig. 1 shows a schematic representation of a method suitable as a digital trigger method for signal pattern recognition, starting from a sequence of sample values,

[0046] Fig. 2 shows a signal mask that can be used in the trigger method,

[0047] Fig. 3 shows the structure of a min-max tree, which is based on the sequence of samples and is used multiple times within the triggering process,

[0048] Fig. 4 shows a diagram of a possible sequence of sample values ​​and an envelope formed using a corridor of the signal mask,

[0049] Fig. 5 a signal mask designed as a negative mask,

[0050] Fig. 6 and 7 each show a sequence of sample values ​​in a diagram and a sequence of values

[0051] Mask according to Fig. 5 formed envelope, Fig. 8 in a block diagram a device for carrying out the signal pattern recognition method.

[0052] Unless otherwise stated, the following explanations refer to all embodiments.

[0053] A trigger method generally referred to as a method for signal pattern recognition can be carried out using a signal processing device 1, symbolically represented in Figure 8. Components of the signal processing device 1 are a data acquisition device 2, which is designed to acquire a data stream DS, and a trigger device 3 connected downstream of the data acquisition device 2. The trigger device 3 comprises a ring buffer 4 and a plurality of arithmetic units 5, in the present case more than a thousand. Embodiments with a smaller number of arithmetic units 5, for example 128, are also possible. A display device 6 can be used in particular as a display of an oscilloscope, in particular for displaying data frames or eye diagrams, which are recognized by the trigger device 3.

[0054] The data stream DS is sampled in a time-discrete manner, subdivided into data blocks DB, which are also referred to as blocks for short. Regarding the processing of the data blocks DB by the signal processing device 1, reference is made below to Figure 1. In Figure 1, the left half of the diagram illustrates available data and the right half of the diagram illustrates the processing of the data. The start of the data processing procedure is designated PS. The designation LV is used for read operations, and SV for write operations. Data blocks DB are read into the ring buffer 4. As soon as a complete data block DB is available, the construction of a min-max tree BA can begin in a first parallel process PPI.

[0055] The digitized samples of the data stream DS, from which the data block DB is formed, represent the zeroth level E0 of the min-max tree BA. The width of the min-max tree BA corresponds to a power of two of the sample values. In the case outlined in Figure 3, the min-max tree BA extends over 64=2 6 Sample values, for which the designation s is generally used. The sample values ​​s acquired at equal time intervals result in a signal curve, generally designated SK. The data blocks DB, into which the signal curve SK is divided, can actually each extend over far more than sixty-four sample values ​​s. For example, one data block DB can contain on the order of one million or more sample values ​​s.

[0056] The construction of the min-max tree BA occurs independently of the subsequent application of a mask MA. In level E0, pairs of sample values ​​s are formed, which in the case of Figure 3 means a total of thirty-two pairs. One of the two values ​​of each pair represents a minimum value, the other a maximum value, whereby both values ​​can also coincide. In each case, the corresponding min-max pair is written to level E1. This is done, as indicated in Figure 1 in step PPI, on the basis of a large number of parallel data processing operations, which are carried out by the arithmetic and logic units 5.

[0057] From level E1 onwards, pairs of values ​​are compared rather than individual values. For each comparison, there are therefore a total of four values ​​from which the minimum and maximum are selected. The next min-max pair selected in this way is written to the next higher level E2. This process also occurs using parallel data processing. If necessary, synchronization takes place, referred to as sync in Figure 1. The construction of the min-max tree BA is complete when the min-max pair of the entire tree BA, located in the sixth level in Figure 3, has been found. The min-max trees BA, each of which is built on a data block DB, represent static structures for the further process that can be used multiple times, in particular for different masks MA.

[0058] After the parallel tree generation, which took place in step PPI, depth-first traversals are performed in step PP2, also using parallel processes. At this point, the shape of the applied mask MA plays a role. A possible mask MA is visualized in Figure 2. This mask MA comprises three temporally separated corridors KO, Kl, K2, which extend over different durations and each define a lower and upper limit for a

[0059] Determine the signal. The lengths of the corridors KO, Kl, K2 are designated L0, LI, L2.

[0060] If one wanted to check in the conventional way whether a trigger condition is met for the entire duration of a corridor, one would have to individually compare all signal values ​​that fall within the corresponding time interval determined by the corridor length with the corridor boundaries. This process would have to be repeated at every possible starting point of the corridor, i.e., for every possible mask position. The very high effort required for this is largely avoided by the method for signal pattern recognition according to the application by accessing the already generated trees BA in step PP2. In the arbitrary example according to Figure 3, a corridor of the mask MA extends from the seventh position to the forty-fourth position of the data block DB. During the depth-first scan, the seventh position is considered first.

[0061] Starting from this position, the corresponding min-max pair in the next level, that of level E1, is examined. From this position in level E1, the search is then carried out for associated values ​​in the lower level, i.e., level E0, which in this case are the values ​​in the sixth and seventh positions. The value in the sixth position lies outside the interval under investigation, so the min-max pair in level E1, which is associated with the values ​​in the sixth and seventh positions, has no significance with regard to minima and maxima in the interval under consideration, i.e., the interval from the seventh to the forty-fourth position. Rather, in this case, the value in the seventh position itself already represents a min-max candidate for the interval under investigation.

[0062] The search for min-max candidates, designated MMK in Figure 3, is then continued at the eighth position of the data block DB, i.e., at the second position of the interval under consideration. The eighth and ninth values ​​of the data block DB are assigned a common node in level E1 of the min-max tree BA. This node is initially considered the new min-max candidate. Similarly, the sample values ​​at the tenth and eleventh positions of the data block DB are assigned a common min-max candidate in level E1. Thus, at this point in the tree traversal, i.e., the depth-first traversal, two adjacent min-max candidates already exist in level E1. A large number of such individual steps of the depth-first traversal are processed in parallel by the arithmetic units 5.

[0063] As long as a node is considered a min-max candidate MMK in a certain level E1, E2, ... of the tree BA and the node directly adjacent to it in the same level E1, E2, ... also represents a min-max candidate, a check is carried out to determine whether the corresponding node in the next level E2, E3, ... can also be classified as a min-max candidate MIVIK. In the example shown in Figure 3, this method finds, among other things, a common min-max candidate MMK located in level E3 for the values ​​in the eighth to fifteenth positions. If one goes one level up from this min-max candidate MMK, i.e., to level E4, one no longer finds a min-max candidate at this point, since the corresponding sample values ​​are distributed over the range from the zeroth to the fifteenth position and thus partly lie outside the interval under investigation.The found min-max candidate MMK located in the plane E3 is thus retained as the final min-max candidate.

[0064] The search for min-max candidates then continues at the sixteenth position of the data block DB. In the manner described, another min-max candidate MMK is found, which covers the range from the sixteenth to the thirty-first position and is located in level E4. Further min-max candidates MMK cover the range from the thirty-second to the thirty-ninth and from the fortieth to the forty-third position, respectively. Finally, at the end of the interval under investigation, comparable to the beginning of the interval, a sample is found that also serves as a min-max candidate, since all associated nodes located in higher layers are also assigned samples that lie outside the interval under consideration.

[0065] Thus, in the case considered in Figure 3, apart from the two

[0066] Four min-max candidate MMKs were found for samples lying within interval boundaries. The number of min-max candidate MMKs is thus significantly lower than the number of samples in the interval under investigation. This effect is amplified for longer intervals. This also applies to cases where interval boundaries extend beyond data block boundaries.

[0067] The depth-level sweeps are performed for all mask lengths LO, LI, L2 and for all N possible positions of the mask MA. Here, N denotes the length of the data block DB. As a result of the depth-level sweeps, a table with N rows, the number of columns of which corresponds to the number of different corridor lengths in LO, LI, L2, is filled with minimum and maximum values, also in step PP2. Each sampling time and each corridor length LO, LI, L2 is assigned a pair of a minimum value and a maximum value, which was obtained by comparing the min-max candidate MMK of the interval under consideration. In the case of Figure 3, the minimum and maximum values ​​must therefore be selected from two individual values ​​located in level E0 and four value pairs located in levels E2 to E4. The minimum and maximum values ​​found are assigned to corridor endpoints KE-0, KE-1, and KE-2, based on the representation in Figure 2.This makes it possible to verify trigger conditions by performing tests that refer only to individual points in time at which the corridor endpoints KE-0, KE-1, and KE-2 are located as test points. Scanning the entire window of the MA mask, which has lengths LO, LI, and L2, is thus replaced by much faster, simple comparisons.

[0068] From the minimum and maximum values ​​entered in table TA, an envelope curve Tmin, Tmax is obtained, also in step PP2, which depends on the signal curve SK and the applied mask MA, specifically the corridor length L, and is shown as an example in Figure 4. The signal curve SK has a modified sinusoidal shape according to Figure 4. It is clearly visible that, due to the specified corridor length L, minima and maxima are each retained for the corresponding duration, which is expressed in horizontal sections of the envelope curve Tmin, Tmax. If it is to be checked at a specific time whether the signal fulfills the trigger condition not only at this time, but also in the entire previous time interval, which extends over the duration L of the applied corridor KO, Kl, K2, a comparison of Tmin and Tmax with the corridor limits is sufficient.In this way, compliance with the trigger condition is checked for each of the samples, which are indexed with j, for example, and this takes place in step PP3. As a result of this check, a trigger function list TFL is filled out for each data block DB. Boolean values ​​are entered into the trigger function list TFL, which indicate whether the trigger condition is met at the respective sampling position j. These values ​​are referred to as trigger value signals. Step PP3 is also carried out using parallel data processing. A key advantage here is the fact that the check for compliance with the trigger condition can be carried out simultaneously for a large number of sampling times using the envelope curve Tmin, Tmax. The evaluation at point j+1 therefore does not have to wait for the result of the evaluation at point j.

[0069] After the trigger function list TFL has been completely filled, step PP4 determines the points at which the Boolean trigger value signal changes. If such a change is detected, entries jO, j1, j2 are made in a trigger list TLI. The entries jO, j1, j2, ... are used as trigger times for the oscillographic display.

[0070] Figures 5 to 7 refer to a modified mask MA compared to Figure 2. In contrast to Figure 2, in this case the mask MA is designed as a negative window. This means that all values ​​that lie either above an upper limit or below a lower limit are considered to lie within the mask MA.

[0071] In the case of Figure 5, the mask MA is composed of two corridors KO, Kl. The corridor KO has a rising upper limit and a falling lower limit. Conversely, the corridor Kl has a falling upper limit and a rising lower limit, so that the mask MA as a whole describes a diamond shape. The envelope curves Tmin, Tmax, which are assigned to the corridors KO, Kl, are generated in principle in the same way as in the case of Figures 2 to 4. However, in the case of Figure 5, it must be taken into account that the corridor boundaries do not represent constant values. The corridor boundaries, which vary over the course of the corridors KO, Kl, are incorporated into the construction of the curves Tmin, Tmax in such a way that the gradients of the boundaries of the corridors KO, Kl are also expressed as gradients of the envelope curves Tmin, Tmax. At the corridor endpoints KE-0, KE-1, the sample values ​​are used unchanged for the construction of the envelope curves Tmin, Tmax.

[0072] The further a point in time is from the corridor endpoints KE-0, KE-1, the more the measured value sampled at that point in time is increased or decreased according to the gradient of the boundaries of the corridors KO, Kl, in order to replicate the shape of the corridors KO, Kl. Overall, this means that the signal curve SK is distorted to match the shape of the corridors KO, Kl in order to form the envelopes Tmin, Tmax. This is expressed in Figures 6 and 7 in rising and falling sections of the envelopes Tmin, Tmax that follow the minima and maxima of the signal curve SK. Once the modified envelopes Tmin, Tmax have been generated, data processing continues according to the procedure already explained with reference to Figure 1.

[0073] List of reference symbols

[0074] 1 signal processing device

[0075] 2 Data acquisition device

[0076] 3 Trigger device

[0077] 4 ring buffers

[0078] 5 Calculator

[0079] 6 Display device

[0080] BA min-max tree

[0081] DB data block

[0082] DS data stream

[0083] E0, El, E2, ... levels

[0084] K0, Kl, K2, ... corridors

[0085] KE-O, KE-1, ... corridor endpoints, test points

[0086] L0, LI, L2, ... corridor lengths

[0087] LV reading process

[0088] MA Mask

[0089] MMK min-max candidate

[0090] PPI ... PP4 parallel processes

[0091] PS, PE start or end point

[0092] SK signal curve

[0093] SV write process

[0094] TA table

[0095] TFL trigger function list

[0096] TLI trigger list

[0097] Tmin, Tmax envelope

Claims

The patent claims relate to signal pattern recognition, comprising the following steps: time-discrete sampling of a continuous data stream (DS), i.e., capturing sample values ​​which form a signal curve (SK), subdivision of the data stream (DS) into blocks (DB), wherein the number of sample values ​​per block (DB) corresponds to a power of two, Construction of at least one min-max tree (BA) on each block (DB) by defining the sampled values ​​as the first layer (E0) of the tree (BA) and constructing further layers (El, E2, ...) of the tree (BA) on this layer (E0), which, unlike the first layer (E0), are formed from min-max pairs, wherein each min-max pair is formed from the minimum and the maximum of the two pairs or samples located in the last constructed or already existing layer (E0, El, E2, ...), and wherein the tree construction is carried out by parallel data processing at least in a part of the layers (E0, El, E2, ...) which includes the first layer (E0). Execution of tree traverses, partially crossing block boundaries, for each sampling time, for at least one corridor length (L0, LI, L2) specified by a signal mask (MA), wherein within the entire corridor length (L0, LI, L2) each individual sample value is first defined as a min-max candidate (MMK) and two consecutive min-max candidates (MMK) are replaced by the min-max pair located as the corresponding node in the layer above (El, E2, ...), provided that all sample values ​​assigned to this min-max pair also lie within a corridor (KO, Kl, K2) having the aforementioned corridor length (L0, LI, L2), and identification of the minimum and maximum values ​​assigned to the respective sampling time and corridor length (L0, LI, L2) based on the min-max candidates (MMK) found by the tree traverse, wherein one and the same min-max- Tree (BA) is used for multiple parallel tree iterations, Generation of an envelope (Tmin, Tmax) belonging to the signal curve (SK) from the minimum and maximum values ​​specific to the corridor length (L0, LI, L2), each assigned to a sampling time; verification of a trigger condition given by the signal mask (MA) for each sampling time by comparison with the envelope (Tmin, Tmax), wherein at least part of the verification procedure is carried out by parallel data processing and Boolean trigger value signals are generated sample by sample. Method according to claim 1, characterized in that the corridor length (L0, LI, L2) for which the tree traverses are performed is less than the block length of each data block (DB). Method according to claim 1 or 2, characterized in that at least one envelope (Tmin, Tmax) is generated for a corridor (KO, Kl, K2) with constant upper and lower limits over the entire corridor length (L0, LI, L2).A method according to any one of claims 1 to 3, characterized in that at least one envelope (Tmin, Tmax) is generated for a corridor (KO, Kl) with an upper and / or lower limit that varies over the corridor length (L0, LI), wherein the envelope (Tmin, Tmax) is distorted according to the deviation of the upper or lower limit from a limit given at a test point (KE-0, KE-1) of the corridor (KO, Kl) compared to an envelope for a corridor (KO, Kl, K2) with a constant upper and lower limit. A method according to claim 4, characterized in that the envelope (Tmin, Tmax) is generated for a corridor (KO, Kl) with a sectionally constant slope of the upper and / or lower limit.Method according to claim 4 or 5, characterized in that the envelope (Tmin, Tmax) is generated for a corridor (KO, Kl) which has exclusively sections in which the slopes of the upper limit of the section in question on the one hand and the lower limit of the same section on the other hand have different signs. Method according to any one of claims 1 to 6, characterized in that the block (DB) on which the min-max tree (BA) is to be built has at least 2 10 and at most 2 30The method comprises sampled values. A method according to any one of claims 1 to 7, characterized in that the construction of the min-max tree (BA), starting from the sampled values, is carried out by parallel data processing up to at least half of the layers (EO, El, E2, ...) of the tree (BA). A method according to any one of claims 1 to 8, characterized in that the number of parallel tree iterations corresponds at least to the square root of the number of sampled values ​​per block (DB). A method according to any one of claims 1 to 9, characterized in that the sampled values ​​are acquired at time intervals of no more than 10 ns.A method according to any one of claims 1 to 10, characterized in that the construction of the min-max trees (BA) and the tree traversals are performed in computational steps that are longer than the time interval between two successive samples, wherein, due to the parallelism of the data processing, the total number of serial computational steps per position of the signal mask (MA) is less than one. A method according to any one of claims 1 to 11, characterized by setting a trigger time when the Boolean trigger value signal changes from "true" to "false" and entering the trigger times into a list (TLI). A method according to claim 12, characterized in that entries into the list (TLI) are made taking into account a trigger hold-off period. A method according to claim 12 or 13, characterized in that entries into the list (TLI) are made exclusively after release by a trigger counter.Device for signal pattern recognition, comprising a data acquisition device (2) and a trigger device (3) coupled thereto and configured for carrying out the method according to claim 1. Device according to claim 15, characterized in that the trigger device (3) has at least 128 for parallel data processing in the course of. The device comprises arithmetic units (5) designed for the construction of the min-max trees (BA) and the tree traverses. The device according to claim 16 is characterized in that the arithmetic units (5) are additionally provided for the graphical display of sampled values. The device according to any one of claims 15 to 17 is characterized in that the trigger device (3) comprises a ring buffer (4) which is provided for storing at least three blocks (DB) of the data stream (DS), whereby the trigger device (3) is designed for the uninterrupted processing of unfiltered sampled values.

Citation Information

Patent Citations

  • Waveform compression and display

    US20070217694A1

  • Sequential timebase

    US20080054967A1

  • Automatic generation of frequency domain mask

    US20090153559A1

  • Digital Oscilloscope Module with Glitch Detection

    US20100052653A1