A pipeline filter pile-up correction method and system
Through the pipeline filtering accumulation correction method, the optimal filtering method and time amplitude restriction conditions are used to directly deduct the previous signal waveform in the time offset sequence, which solves the problem of calculating dead time in the traditional method and achieves efficient correction of high-speed real-time signals. .
Patent Information
- Application Number
- CN202410944642.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-15
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2044-07-15
AI Technical Summary
The traditional stacking correction method has insufficient real-time performance under high case rates and has a computational dead time of 2L cycles, which cannot meet the real-time requirements in high-brightness applications.
The pipeline filter stacking correction method is used to obtain the time offset sequence and amplitude sequence through the optimal filtering method, and the set time and amplitude constraints are used for screening, and the previous signal waveform is directly deducted from the time offset sequence to avoid Return the original waveform for calculation to achieve pipeline processing.
It reduces the processing dead time of the algorithm, ensures the real-time nature of the calculation, improves the processing efficiency, and is suitable for pipeline correction of high-speed real-time signals.
Smart Images

Figure CN118473369B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of signal processing technology, and in particular to a pipeline filtering pile-up correction method and system. Background Art
[0002] In the electronic systems of modern particle experiments, due to the high event rate, the signal will pile up. The pile-up problem, especially the pile-up problem of low-energy events, will have a certain impact on the energy resolution under high event rates, and thus affect the system performance. At present, some electronic readout systems use special designs to reduce the width of the signal trailing edge so that the signal returns to the baseline level as soon as possible, which can alleviate the signal pile-up problem to a certain extent. However, when the event rate requirements of the electronic system are higher, the signal pile-up problem still exists. Therefore, consider using pile-up correction methods to deal with the high-speed real-time signal pile-up problem.
[0003] In signal measurement, when the interval between two signals is too close, the previous signal has not fully recovered to the baseline, and the next signal has arrived. Therefore, the actual measurement result of the next signal is no longer the real signal, but the sum of the real signal and the trailing edge of the previous signal, which results in measurement errors. For such signal pileup problems, pileup correction methods need to be used for relevant processing. The pileup correction method is mainly based on the fact that the width of the signal front edge is determined by the detector's time performance, and the signal shape remains unchanged. Therefore, the signal shape can be used as template information for the processing of subsequent signals.
[0004] The core idea of the pile-up correction method is: for the two stacked signals, if the signal is detected to be over-threshold, prepare to start fitting the first signal; use the template information to fit the front edge of the first signal to obtain its time offset sequence and amplitude sequence and infer the entire waveform of the first signal, and then deduct it; get the second waveform after de-piling. At present, there are algorithms such as optimal filtering, template matching, maximum likelihood estimation, and high-yield pile-up time recovery, which use template fitting to obtain the time information and amplitude information of the first signal.
[0005] The traditional pile-up correction method uses the obtained time-amplitude sequence and template information to deduct the previous waveform from the original sampling sequence to obtain a new time-amplitude sequence (i.e., time offset sequence and amplitude sequence) and then calculate to obtain the information of the second waveform. Assume that there are two valid signals piled together at the i-th and i+2-th sampling points, and assume that the extraction and calculation of the time-amplitude sequence requires L cycles. In the traditional pile-up correction method, the time-amplitude sequence of the previous waveform is obtained after L cycles, and the previous waveform is deducted from the original waveform, and then calculated after L cycles to obtain the time-amplitude sequence of the second waveform. Therefore, the traditional pile-up correction method has a calculation dead time of 2L cycles, during which subsequent information processing cannot be performed. Therefore, the real-time performance of the traditional pile-up correction method is insufficient, and the processing efficiency is not fast enough. In high-brightness or high-event rate calorimeter readout applications, algorithm dead time and event discard are not desired, so a more real-time pile-up correction method is required for pipeline correction processing to reduce or eliminate the algorithm processing dead time.
[0006] In view of this, the present invention is proposed. Summary of the invention
[0007] The purpose of the present invention is to provide a pipeline filtering pile-up correction method and system, which can realize pipeline correction of high-speed real-time pile-up signals.
[0008] The objective of the present invention is achieved through the following technical solutions:
[0009] A pipeline filtering pile-up correction method, comprising:
[0010] Perform signal measurement and fitting in advance to obtain template information, and use an optimal filtering method to calculate the time offset sequence and amplitude sequence corresponding to the original sampling sequence in combination with the template information; wherein the optimal filtering method is to obtain the time offset sequence and the amplitude sequence by calculating while minimizing the influence of noise;
[0011] The time offset sequence and the amplitude sequence are screened according to the set time and amplitude restriction conditions to obtain the screened time offset sequence and the amplitude sequence, from which the previous signal waveform information contained in the original sampling sequence is deducted to obtain a new time offset sequence and the amplitude sequence, and the processing is continued in a pipeline manner, that is, the new time offset sequence and the amplitude sequence are continuously screened according to the set time and amplitude restriction conditions.
[0012] A pipeline filtering pile-up correction system, comprising:
[0013] A template information generating unit, used for performing signal measurement in advance and fitting to obtain template information;
[0014] An optimal filtering unit, used to calculate the time offset sequence and the amplitude sequence corresponding to the original sampling sequence by using the optimal filtering method in combination with the template information; wherein the optimal filtering method is to obtain the time offset sequence and the amplitude sequence by calculating while minimizing the influence of noise;
[0015] The pipeline pile-up correction unit is used to screen the time offset sequence and amplitude sequence according to the set time and amplitude restriction conditions, obtain the screened time offset sequence and amplitude sequence, deduct the previous signal waveform information contained in the original sampling sequence, obtain a new time offset sequence and amplitude sequence, and continue processing in a pipeline manner, that is, continue to screen the new time offset sequence and amplitude sequence according to the set time and amplitude restriction conditions.
[0016] It can be seen from the technical solution provided by the present invention that the optimal filtering method is adopted, and the sampling sequence and template information are used for optimization calculation to extract the time-amplitude sequence (i.e., the time offset sequence and the amplitude sequence); each value of the extracted time offset sequence should be near the current sampling point, and the points that do not meet the time restriction condition are ignored. At the same time, the sampling points that do not meet the requirements are ignored according to the amplitude restriction condition, and the sampling points that meet both the time and amplitude restriction conditions are considered to be one-time cases and are retained; according to the time-amplitude sequence and template information, the waveform of the previous signal is inferred, and the previous waveform is directly deducted from the time offset sequence and the amplitude sequence without returning to the original waveform for calculation, and no additional calculation time is introduced. There is only pipeline delay, and there is no dead time, which ensures the real-time nature of the calculation. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.
[0018] Figure 1 A flow chart of a pipeline filtering pile-up correction method provided by an embodiment of the present invention;
[0019] Figure 2 A schematic diagram of a pipeline filtering pile-up correction method provided by an embodiment of the present invention;
[0020] Figure 3 A schematic diagram of a pipeline filtering pile-up correction method provided by an embodiment of the present invention;
[0021] Figure 4 A simulation test pile-up correction effect diagram provided in an embodiment of the present invention;
[0022] Figure 5 A schematic diagram of a pipeline filtering pile-up correction system provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0023] The following is a clear and complete description of the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only 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 protection scope of the present invention.
[0024] First, the terms that may be used in this article are explained as follows:
[0025] The terms "include", "comprises", "contains", "has" or other descriptions with similar semantics should be interpreted as non-exclusive inclusion. For example, including certain technical feature elements (such as raw materials, components, ingredients, carriers, dosage forms, materials, dimensions, parts, components, mechanisms, devices, steps, procedures, methods, reaction conditions, processing conditions, parameters, algorithms, signals, data, products or products, etc.) should be interpreted as including not only certain technical feature elements explicitly listed, but also other technical feature elements known in the art that are not explicitly listed.
[0026] The term "consisting of..." means excluding any technical feature elements not explicitly listed. If this term is used in a claim, it will make the claim closed, so that it does not contain technical feature elements other than the technical feature elements explicitly listed, except for the conventional impurities related to them. If this term only appears in a clause of a claim, it only limits the elements explicitly listed in the clause, and the elements recorded in other clauses are not excluded from the overall claim.
[0027] The following is a detailed description of a pipeline filter pile-up correction method and system provided by the present invention. The contents not described in detail in the embodiments of the present invention belong to the prior art known to professional and technical personnel in the field. If the specific conditions are not specified in the embodiments of the present invention, they are carried out according to the conventional conditions in the field or the conditions recommended by the manufacturer. The reagents or instruments used in the embodiments of the present invention, if the manufacturer is not specified, are all conventional products that can be purchased commercially.
[0028] Embodiment 1
[0029] The embodiment of the present invention provides a pipeline filtering pile-up correction method, which mainly includes: performing signal measurement and fitting to obtain template information in advance, using an optimal filtering method, and calculating a time offset sequence and an amplitude sequence corresponding to an original sampling sequence in combination with the template information (also referred to as a time offset sequence and an amplitude sequence after optimal filtering, or simply referred to as a time-amplitude sequence); wherein the optimal filtering method obtains the time offset sequence and the amplitude sequence by calculation while minimizing the influence of noise; screening the time offset sequence and the amplitude sequence according to set time and amplitude restriction conditions to obtain the screened time offset sequence and the amplitude sequence, deducting the previous signal waveform information contained in the original sampling sequence, obtaining a new time offset sequence and the amplitude sequence, and continuing to process in a pipeline manner, that is, continuing to screen the new time offset sequence and the amplitude sequence according to the set time and amplitude restriction conditions.
[0030] Those skilled in the art can understand that the time offset sequence and the amplitude sequence can be fitted to obtain the corresponding waveform. Similarly, waveform sampling can obtain the corresponding sequence. That is to say, obtaining a new time offset sequence and amplitude sequence can obtain the signal waveform after removing the pile-up. Similarly, deducting the previous signal waveform information from the filtered time offset sequence and amplitude sequence is equivalent to deducting the sequence information corresponding to the previous signal waveform.
[0031] In an embodiment of the present invention, the waveform information of the previous signal can be inferred based on the template information and the sampling points near the front edge of the previous signal. This part belongs to the scope of conventional technology (for example, the background technology records the relevant scheme), so it will not be described in detail. Through the pipeline processing provided by the present invention, the new time offset sequence and amplitude sequence are continuously processed, that is, the signal waveform after the accumulation is continuously processed until the processing is completed. The above process does not need to return to the original waveform (that is, the waveform corresponding to the original sampling sequence) for calculation, and will not introduce additional calculation time. There is only a pipeline delay, and there is no dead time, which ensures the real-time nature of the calculation.
[0032] In order to more clearly demonstrate the technical solution and technical effects provided by the present invention, the method provided by the embodiment of the present invention is described in detail with reference to specific embodiments below.
[0033] Figure 1The main process of the present invention is presented, wherein pipeline filtering mainly refers to the optimal filtering method used in the present invention; the time-amplitude sequence mainly refers to the time offset sequence and amplitude sequence obtained by the optimal filtering method; the time-amplitude information judgment mainly refers to screening the time offset sequence and amplitude sequence using the set time and amplitude constraints. If the time constraint or the amplitude constraint is not met, it is ignored; if the set time and amplitude constraints are met at the same time, it is retained, thereby obtaining a time offset sequence and amplitude sequence that meet the constraints (i.e., the screened time offset sequence and amplitude sequence), and deducting the inferred previous waveform from the time offset sequence and amplitude sequence that meet the constraints in a pipeline manner to obtain a new time offset sequence and amplitude sequence, i.e., a de-stacked signal waveform.
[0034] In the embodiment of the present invention, the use of the optimal filtering method to calculate the time offset sequence and amplitude sequence corresponding to the original sampling sequence in combination with the template information includes: using the optimal filtering method to form a linear combination of the original sampling sequence S, and obtaining the signal parameter, i.e., the time offset sequence With amplitude series ; Since the width of the detector output signal frontier is determined by the detector time performance, the signal shape will not change. By inputting multiple signals of the same size and independent of each other without accumulation into the detector, the detector output signal is sampled, and multiple sampling sequences with basically consistent amplitudes are collected. The multiple measurement results are fitted to calculate the detector response function, which is the template information. , in the specific implementation of the optimal filtering method: use Lagrange multiplication to calculate so that and The vector with the smallest variance and , select the appropriate sampling point (n+1 consecutive signal sampling samples) in the original sampling sequence S and the vector , Calculate and you can get the corresponding time offset sequence With amplitude series The resulting time offset sequence , amplitude sequence After the set time and amplitude conditions are filtered, the effective time and amplitude sequence is obtained and retained. In order to correct the accumulation introduced by the previous case to the subsequent case, the pipeline uses the time and amplitude sequence and template information to deduct the previous waveform to obtain a new time offset sequence and amplitude sequence, thereby obtaining the time and amplitude information of the de-accumulated signal.
[0035] In the embodiment of the present invention, the optimal filtering method is used to obtain the corresponding time offset sequence and amplitude sequence. The main process is as follows:
[0036] Defining vectors and , and the linear sum of the original sampling sequence S , :
[0037] , ;
[0038] in, , are the linear sum of the original sampling sequence S, and Respectively, vector and The i-th item of is the i-th item of the original sampling sequence S, which is a signal sampling sample (that is, a sampling point).
[0039] Combine template information , sample the signal It is expressed as:
[0040] ;
[0041] Among them, template information The time derivative of , is the differential symbol, and t represents time.
[0042] The present invention uses convenient symbols to represent: template information , Indicates time Template information, abbreviated as , is the i-th sampling point (i.e., the signal sampling sample ) time, similarly, for The time derivative of Sample the signal The noise term.
[0043] make The expectation is , The expectation is , then:
[0044] ;
[0045] .
[0046] Let the noise term average to 0 and list the following four equations as constraints:
[0047] , ,
[0048] , .
[0049] and The variance of is expressed as follows:
[0050] ;
[0051] ;
[0052] Among them, Var is the variance symbol, Refers to the signal sampling sample The noise term Sample with signal The noise term The autocorrelation matrix of the signal sampling sample is the jth item of the original sampling sequence, and Respectively, vector and The jth item of .
[0053] Under the constraints of the equation, the Lagrange multiplier method is used to make and The variance of is the smallest, and the minimized function is obtained:
[0054] ;
[0055] ;
[0056] in, and are two functions to be minimized, , , , is the Lagrangian operator.
[0057] Taking partial derivatives we get:
[0058] ;
[0059] ;
[0060] in, is the symbol of partial derivative.
[0061] Solve to get and When the variance is minimum, the vector and for:
[0062] ;
[0063] ;
[0064] in, For template information The time derivative of , the matrix is the autocorrelation matrix The inverse matrix of Is the identity symbol.
[0065] At this time, the Lagrangian operator is: , , , , where the alternative .
[0066] ;
[0067] ;
[0068] ;
[0069] in, , , There are three substitutes, mainly to simplify the expression of the Lagrangian operator. for The transpose of For the matrix The value at position (i, j) of .
[0070] As mentioned before, in determining the vector and After that, select the appropriate sampling points and vectors in the original sampling sequence , By calculating, we can easily get the corresponding amplitude sequence and time offset sequence .
[0071] In the embodiment of the present invention, for the obtained time offset sequence and amplitude sequence, in order to ensure that there is a signal crossing the threshold near each sampling point, the extracted time value is near the current sampling point, neither advanced nor delayed. For example, if the sampling rate is 100MSPS (MSPS is one million samples per second), the extracted time offset sequence It should be in the range of (-10ns, 10ns), where ns is nanoseconds (time unit). Points that do not meet the time conditions are ignored. At the same time, according to the amplitude screening conditions such as thresholds, points that do not meet the requirements are ignored. Sampling points that meet both the time and amplitude restrictions are screened out to form the screened time offset sequence and amplitude sequence, which are valid time and amplitude sequences and are retained. Figure 2 As shown, the relevant principles are demonstrated.
[0072] In the embodiment of the present invention, since the above calculation method is a linear method, the time-amplitude sequence obtained by the optimal filtering method is a linear combination of the original sampling sequence. Figure 3 As shown, the previous waveform can be directly deducted from the time offset sequence and amplitude sequence obtained by the optimal filtering method, without returning to the original sampling sequence for calculation and performing pipeline pile-up correction, thereby improving the real-time performance of the solution.
[0073] The following is a logical introduction: The original sampling sequence is recorded as: , the template information is recorded as: , each symbol S with a subscript value is a signal sample, the subscript value is the index of the signal sample, and each symbol with a subscript value is is the template information of the time at which the signal sampling sample corresponding to the subscript value is located. The obtained time offset sequence is , the amplitude sequence is , each item in the above sequence represents an information in the sequence to which it belongs, and the subscript represents the index of the corresponding item, for example, is the first item of the amplitude sequence, each item corresponds to a signal sampling sample, is the amplitude value of the first signal sample, and has the following equation: , , n+1 is the number of signal sampling samples selected from the original sampling sequence, k is the index of the signal sampling sample number point, and Respectively, vector and The kth item of is the i+kth item of the original sampling sequence, is the i-th term of the amplitude sequence, is the i-th item of the time offset sequence. According to the time offset sequence, amplitude sequence and template information, the previous waveform is directly deducted to obtain a new time offset sequence and amplitude sequence. The new time offset sequence is expressed as , the new amplitude sequence is expressed as: ; Each item in the above sequence represents an information in the sequence to which it belongs, and the subscript represents the index of the corresponding item; the i+1th item of the new amplitude sequence , , thereby calculating the i+1th item of the new time offset sequence , ; is the i+1+kth item of the original sampling sequence, For template information The 1+kth item of the template information, each item of the template information represents the template information of the time at which the corresponding signal sampling sample is located, for The time offset sequence and amplitude sequence are iteratively calculated (pipeline calculation), so here Meaningless, can be regarded as equal to .
[0074] In order to demonstrate the effectiveness of the present invention, the effect is verified through simulation tests. Figure 4 As shown, the upper part is the stacked waveform generated by simulation, and the lower part is the result obtained after processing by the method provided by the present invention. Figure 4 From the simulation test results shown, it can be seen that all waveforms are effectively identified and subtracted, which shows that the pile-up correction effect of this method is good.
[0075] Embodiment 2
[0076] The present invention also provides a pipeline filtering pile-up correction system, which is mainly used to implement the method provided in the above embodiment, such as Figure 5 As shown, the system mainly includes:
[0077] A template information generating unit, used for performing signal measurement in advance and fitting to obtain template information;
[0078] An optimal filtering unit, used to calculate the time offset sequence and the amplitude sequence corresponding to the original sampling sequence by using the optimal filtering method in combination with the template information; wherein the optimal filtering method is to obtain the time offset sequence and the amplitude sequence by calculating while minimizing the influence of noise;
[0079] The pipeline pile-up correction unit is used to screen the time offset sequence and amplitude sequence according to the set time and amplitude restriction conditions, obtain the screened time offset sequence and amplitude sequence, deduct the previous signal waveform information contained in the original sampling sequence, obtain a new time offset sequence and amplitude sequence, and continue processing in a pipeline manner, that is, continue to screen the new time offset sequence and amplitude sequence according to the set time and amplitude restriction conditions.
[0080] In the embodiment of the present invention, the use of the optimal filtering method to calculate the time offset sequence and amplitude sequence corresponding to the original sampling sequence in combination with the template information includes: using the optimal filtering method to form a linear combination of the original sampling sequence S, and obtaining the signal parameter, i.e., the time offset sequence With amplitude series ; In the optimal filtering method, Lagrange multiplication is used to calculate and The vector with the smallest variance and , select n+1 consecutive signal sampling samples and vector in the original sampling sequence S and Calculate and get the corresponding time offset sequence With amplitude series .
[0081] In the embodiment of the present invention, the Lagrange multiplication method is used to calculate and The vector with the smallest variance and include:
[0082] Defining vectors and , and the linear sum of the original sampling sequence S , :
[0083] , ;
[0084] in, , are the linear sum of the original sampling sequence S, and Respectively, vector and The i-th item of is the i-th item of the original sampling sequence S, which is a signal sampling sample;
[0085] Combine template information , sample the signal It is expressed as:
[0086] ;
[0087] in, Indicates time Template information, is the signal sample The time you are in, for The time derivative of Sample the signal The noise term of
[0088] make The expectation is , The expectation is , then:
[0089] ;
[0090] ;
[0091] Let the noise term average to 0 and list the following four equations as constraints:
[0092] , ,
[0093] , ;
[0094] and The variance of is expressed as follows:
[0095] ;
[0096] ;
[0097] Among them, Var is the variance symbol, Refers to the signal sampling sample The noise term Sample with signal The noise term The autocorrelation matrix of the signal sampling sample is the jth item of the original sampling sequence, and Respectively, vector and The jth item of ;
[0098] Under the constraints of the equation, the Lagrange multiplier method is used to make and The variance of is the smallest, and the minimized function is obtained:
[0099] ;
[0100] ;
[0101] in, and are two functions to be minimized, , , , is the Lagrangian operator;
[0102] Taking partial derivatives we get:
[0103] ;
[0104] ;
[0105] in, is the symbol of partial derivative;
[0106] Solve to get and When the variance is minimum, the vector and for:
[0107] ;
[0108] ;
[0109] in, For template information The time derivative of , the matrix is the autocorrelation matrix The inverse matrix of Is the identity symbol.
[0110] In the embodiment of the present invention, the obtained time offset sequence is: , the amplitude sequence is , each item in the above sequence represents an information in the sequence to which it belongs, the subscript represents the index of the corresponding item, and there is the following equation: , , n+1 is the number of signal sampling samples selected from the original sampling sequence, k is the index of the signal sampling sample, and Respectively, vector and The kth item of is the i+kth item of the original sampling sequence, is the i-th term of the amplitude sequence, is the i-th item in the time offset sequence.
[0111] In the embodiment of the present invention, the new time offset sequence is expressed as , the new amplitude sequence is expressed as: ; Each item in the above sequence represents an information in the sequence to which it belongs, and the subscript represents the index of the corresponding item;
[0112] The i+1th term of the new amplitude sequence Calculated by the following formula: ,
[0113] Recombining the formula , calculate the i+1th item of the new time offset sequence ;in, ; is the i+1+kth item of the original sampling sequence, For template information The 1+kth item of the template information, each item of the template information represents the template information of the time at which the corresponding signal sampling sample is located, for When using the pipeline method, Considered equal to .
[0114] Considering that the relevant technical details involved in the above system have been introduced in detail in the above embodiments, they will not be repeated here.
[0115] Technical personnel in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the system can be divided into different functional modules to complete all or part of the functions described above.
[0116] The above is only a preferred specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed in the present invention should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims
1. A pipeline filter pile-up correction method, It is characterized in that include: Perform signal measurement and fitting in advance to obtain template information, and use an optimal filtering method to calculate the time offset sequence and amplitude sequence corresponding to the original sampling sequence in combination with the template information; wherein the optimal filtering method is to obtain the time offset sequence and the amplitude sequence by calculating while minimizing the influence of noise; The time offset sequence and the amplitude sequence are screened according to the set time and amplitude restriction conditions to obtain the screened time offset sequence and the amplitude sequence, from which the previous signal waveform information contained in the original sampling sequence is deducted to obtain a new time offset sequence and the amplitude sequence, and the processing is continued in a pipeline manner, that is, the new time offset sequence and the amplitude sequence are continuously screened according to the set time and amplitude restriction conditions; The using of the optimal filtering method and the combination of the template information to calculate the time offset sequence and the amplitude sequence corresponding to the original sampling sequence comprises: Use the optimal filtering method to form a linear combination of the original sampling sequence S and obtain the signal parameters, i.e., the time offset sequence With amplitude series ; In the optimal filtering method, Lagrange multiplication is used to calculate and The vector with the smallest variance and , select n+1 consecutive signal sampling samples and vector in the original sampling sequence S and Calculate and get the corresponding time offset sequence With amplitude series ; The Lagrange multiplication method is used to calculate the and The vector with the smallest variance and include: Defining vectors and , and the linear sum of the original sampling sequence S , : , ; in, , are the linear sum of the original sampling sequence S, and Respectively, vector and The i-th item of is the i-th item of the original sampling sequence S, which is a signal sampling sample; Combine template information , sample the signal It is expressed as: ; in, Indicates time Template information, is the signal sample The time you are in, for The time derivative of Sample the signal The noise term of make The expectation of the magnitude sequence , The expectation is , then: ; ; Let the noise term average to 0 and list the following four equations as constraints: , , , ; and The variance of is expressed as follows: ; ; Among them, Var is the variance symbol, Refers to the signal sampling sample The noise term Sample with signal The noise term The autocorrelation matrix of the signal sampling sample is the jth item of the original sampling sequence, and Respectively, vector and The jth item of ; Under the constraints of the equation, the Lagrange multiplier method is used to make and The variance of is the smallest, and the minimized function is obtained: ; ; in, and are two functions to be minimized, , , , is the Lagrangian operator; Taking partial derivatives we get: ; ; in, is the symbol of partial derivative; Solve to get and When the variance is minimum, the vector and for: ; ; in, For template information The time derivative of , the matrix is the autocorrelation matrix The inverse matrix of is the identity symbol; Also included: The obtained time offset sequence is , the amplitude sequence is , each item in the above sequence represents an information in the sequence to which it belongs, the subscript represents the index of the corresponding item, and there is the following equation: , , n+1 is the number of signal sampling samples selected from the original sampling sequence, k is the index of the signal sampling sample, and Respectively, vector and The kth item of is the i+kth item of the original sampling sequence, is the i-th term of the amplitude sequence, is the i-th item of the time offset sequence; Also includes: getting a new time offset sequence represented as , the new amplitude sequence is expressed as: ; Each item in the above sequence represents an information in the sequence to which it belongs, and the subscript represents the index of the corresponding item; The i+1th term of the new amplitude sequence Calculated by the following formula: , Recombining the formula , calculate the i+1th item of the new time offset sequence ;in, ; is the i+1+kth item of the original sampling sequence, For template information The 1+kth item of the template information, each item of the template information represents the template information of the time at which the corresponding signal sampling sample is located, for When using the pipeline method, equal .
2. A pipeline filter pile-up correction system, It is characterized in that include: A template information generating unit, used for performing signal measurement in advance and fitting to obtain template information; An optimal filtering unit, used to calculate the time offset sequence and the amplitude sequence corresponding to the original sampling sequence by using the optimal filtering method in combination with the template information; wherein the optimal filtering method is to obtain the time offset sequence and the amplitude sequence by calculating while minimizing the influence of noise; The pipeline pile-up correction unit is used to screen the time offset sequence and the amplitude sequence according to the set time and amplitude restriction conditions, obtain the screened time offset sequence and the amplitude sequence, deduct the previous signal waveform information contained in the original sampling sequence, obtain a new time offset sequence and the amplitude sequence, and continue processing in a pipeline manner, that is, continue to screen the new time offset sequence and the amplitude sequence according to the set time and amplitude restriction conditions; The using of the optimal filtering method and the combination of the template information to calculate the time offset sequence and the amplitude sequence corresponding to the original sampling sequence comprises: Use the optimal filtering method to form a linear combination of the original sampling sequence S and obtain the signal parameters, i.e., the time offset sequence With amplitude series ; In the optimal filtering method, Lagrange multiplication is used to calculate and The vector with the smallest variance and , select n+1 consecutive signal sampling samples and vector in the original sampling sequence S and Calculate and obtain the corresponding time offset sequence and amplitude sequence; The Lagrange multiplication method is used to calculate the and The vector with the smallest variance and include: Defining vectors and , and the linear sum of the original sampling sequence S , : , ; in, , are the linear sum of the original sampling sequence S, and Respectively, vector and The i-th item of is the i-th item of the original sampling sequence S, which is a signal sampling sample; Combine template information , sample the signal It is expressed as: ; in, Indicates time Template information, is the signal sample The time you are in, for The time derivative of Sample the signal The noise term of make The expectation of the magnitude sequence , The expectation is , then: ; ; Let the noise term average to 0 and list the following four equations as constraints: , , , ; and The variance of is expressed as follows: ; ; Among them, Var is the variance symbol, Refers to the signal sampling sample The noise term Sample with signal The noise term The autocorrelation matrix of the signal sampling sample is the jth item of the original sampling sequence, and Respectively, vector and The jth item of ; Under the constraints of the equation, the Lagrange multiplier method is used to make and The variance of is the smallest, and the minimized function is obtained: ; ; in, and are two functions to be minimized, , , , is the Lagrangian operator; Taking partial derivatives we get: ; ; in, is the symbol of partial derivative; Solve to get and When the variance is minimum, the vector and for: ; ; in, For template information The time derivative of , the matrix is the autocorrelation matrix The inverse matrix of is the identity symbol; Also included: The obtained time offset sequence is , the amplitude sequence is , each item in the above sequence represents an information in the sequence to which it belongs, the subscript represents the index of the corresponding item, and there is the following equation: , , n+1 is the number of signal sampling samples selected from the original sampling sequence, k is the index of the signal sampling sample, and Respectively, vector and The kth item of is the i+kth item of the original sampling sequence, is the i-th term of the amplitude sequence, is the i-th item of the time offset sequence; Also includes: getting a new time offset sequence represented as , the new amplitude sequence is expressed as: ; Each item in the above sequence represents an information in the sequence to which it belongs, and the subscript represents the index of the corresponding item; The i+1th term of the new amplitude sequence Calculated by the following formula: , Recombining the formula , calculate the i+1th item of the new time offset sequence ;in, ; is the i+1+kth item of the original sampling sequence, For template information The 1+kth item of the template information, each item of the template information represents the template information of the time at which the corresponding signal sampling sample is located, for When using the pipeline method, equal .
