Methods, apparatus, equipment, media and products for processing chromatographic signal data

By using Savitzky-Golay filters for noise reduction and cubic spline interpolation for baseline fitting, combined with the symmetric zero-area method, the problems of noise interference and baseline drift in chromatographic signal processing were solved, thus improving the accuracy of chromatographic peak identification.

CN120294227BActive Publication Date: 2026-11-17JIANGSU HANBON SCI & TECH CO
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202510413512.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-04-02
Publication Date
2026-11-17
Estimated Expiration
2045-04-02

AI Technical Summary

Technical Problem

Noise interference and baseline drift in chromatographic signal processing make it difficult to identify signal peak features, affecting the accuracy of analytical results.

Method used

A Savitzky-Golay filter was used to remove high-frequency noise, a cubic spline interpolation was used to fit the baseline, and peak identification was performed using the symmetric zero-area method.

Benefits of technology

It effectively removes noise and baseline drift, improves the accuracy of chromatographic peak identification, and ensures the reliability of analytical results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120294227B_ABST
    Figure CN120294227B_ABST
Patent Text Reader

Abstract

This application discloses a method, apparatus, device, medium, and product for processing chromatographic signal data, relating to the field of data processing technology. The method includes: acquiring a raw chromatographic signal; filtering out high-frequency noise in the raw chromatographic signal using a Savitzky-Golay filter to obtain a denoised signal; fitting the baseline of the denoised signal using cubic spline interpolation; subtracting the baseline from the denoised signal to obtain a corrected signal; and performing peak identification on the corrected signal using the symmetric zero-area method to generate an identification result. This application can improve the accuracy of chromatographic signal identification.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of data processing technology, and in particular to a method, apparatus, equipment, medium and product for processing chromatographic signal data. Background Technology

[0002] Chromatography is an important analytical technique widely used in chemistry, biology, pharmaceuticals, and environmental science. It enables qualitative and quantitative analysis of complex mixtures by detecting the retention time and signal intensity of various components in a sample. However, chromatographic signal processing often faces two major challenges: first, noise interference makes it difficult to identify signal peak characteristics; second, baseline drift can severely affect the accuracy of peak area and peak height, thus impacting the reliability of analytical results.

[0003] Traditional chromatographic signal processing methods mainly rely on techniques such as polynomial fitting or moving averages for baseline correction and simple thresholding or derivative methods for peak identification. However, these methods are prone to inaccurate identification when faced with complex baselines, low signal-to-noise ratios, or overlapping peaks. Summary of the Invention

[0004] The purpose of this application is to provide a method, apparatus, device, medium, and product for processing chromatographic signal data, which can improve the accuracy of chromatographic signal recognition.

[0005] To achieve the above objectives, this application provides the following solution:

[0006] In a first aspect, this application provides a method for processing chromatographic signal data, the method comprising:

[0007] Acquire the raw chromatographic signal;

[0008] The high-frequency noise in the original chromatographic signal was filtered out using a Savitzky-Golay filter to obtain a denoised signal;

[0009] The baseline of the denoised signal is fitted using cubic spline interpolation;

[0010] The baseline is subtracted from the denoised signal to obtain the corrected signal;

[0011] Peak identification is performed on the corrected signal using the symmetric zero-area method to generate identification results.

[0012] Secondly, this application provides a chromatographic signal data processing apparatus, characterized in that the chromatographic signal data processing apparatus includes:

[0013] The raw chromatographic signal acquisition module is used to acquire raw chromatographic signals;

[0014] The noise reduction signal acquisition module is used to filter out high-frequency noise in the original chromatographic signal using a Savitzky-Golay filter to obtain a noise reduction signal.

[0015] A baseline acquisition module is used to fit the baseline of the denoised signal using cubic spline interpolation;

[0016] The corrected signal acquisition module is used to subtract the baseline from the denoised signal to obtain the corrected signal;

[0017] The identification module is used to identify peaks in the corrected signal using the symmetrical zero-area method and generate identification results.

[0018] Thirdly, this application provides a computer device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the method for processing chromatographic signal data as described above.

[0019] Fourthly, this application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the method for processing chromatographic signal data as described above.

[0020] Fifthly, this application provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the method for processing chromatographic signal data as described above.

[0021] According to the specific embodiments provided in this application, the following technical effects are disclosed:

[0022] This scheme employs a Savitzky-Golay filter for denoising. This filter can remove noise while preserving the original waveform of the signal to the greatest extent possible, achieving high-fidelity denoising even at low signal-to-noise ratios. It effectively avoids waveform distortion caused by improper denoising, laying a solid foundation for subsequent analysis. Next, cubic spline interpolation is used to correct nonlinear baseline drift. This method can accurately fit the baseline even when it is complex, effectively reducing baseline correction errors and allowing subsequent analysis to proceed on a more accurate baseline. Finally, peak feature recognition technology based on symmetric zero area is used to identify the feature points corresponding to peaks in the chromatographic data. Even with overlapping peaks, the feature points corresponding to peaks can be accurately located, solving the problem of inaccurate feature point identification in traditional methods. Because it effectively eliminates noise and baseline drift in the chromatographic signal, it accurately preserves the true chromatographic peak information and accurately identifies feature points in the chromatographic data, thereby improving the accuracy of chromatographic peak identification. Attached Figure Description

[0023] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0024] Figure 1 This is a flowchart illustrating a method for processing chromatographic signal data according to an exemplary embodiment;

[0025] Figure 2 It is a chromatogram of the original signal shown according to an exemplary embodiment;

[0026] Figure 3 This is a denoised signal illustrated according to an exemplary embodiment;

[0027] Figure 4 This is the corrected signal shown according to an exemplary embodiment;

[0028] Figure 5 The peak start point, peak apex, and peak end point are shown according to an exemplary embodiment;

[0029] Figure 6 This is a schematic diagram of the functional modules of a chromatographic signal data processing apparatus according to an exemplary embodiment;

[0030] Figure 7 This is a schematic diagram of the structure of a computer device provided in an embodiment of this application. Detailed Implementation

[0031] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0032] To make the above-mentioned objectives, features and advantages of this application more apparent and understandable, the application will be further described in detail below with reference to the accompanying drawings and specific embodiments.

[0033] Figure 1 This is a flowchart illustrating a method for processing chromatographic signal data according to an exemplary embodiment, such as... Figure 1 As shown, the method includes the following steps S101-S105:

[0034] In step S101, the raw chromatographic signal is acquired.

[0035] Chromatographic signals refer to the measurable electrical signals or other types of signals generated by the detector in response to the separated components during chromatographic analysis.

[0036] It is usually presented in the form of a chromatogram, such as Figure 2 The image shows the chromatogram of the original signal. The vertical axis of the chromatogram represents the detector response signal, i.e., the signal intensity, and the horizontal axis represents time.

[0037] If a large amount of historical chromatographic data is already stored in a dedicated database, the required raw chromatographic signals can be obtained through appropriate database management software and programming language interfaces. For example, SQL statements can be used to query chromatographic signal data that meet specific conditions (such as sample name, experiment date, etc.) from a relational database.

[0038] If the raw chromatographic signal data is stored in common formats such as plain text files or CSV files, it can be read directly using file reading functions.

[0039] In a laboratory environment, specialized chromatographic analysis instruments, such as gas chromatographs and liquid chromatographs, are used. After the sample is injected into the instrument, the detector inside the instrument records the response signal of the sample components as they change over time in real time.

[0040] In step S102, a Savitzky-Golay filter is used to filter out high-frequency noise in the original chromatographic signal to obtain a denoised signal.

[0041] The Savitzky-Golay filter achieves smoothing by performing polynomial fitting on local data points of the signal. It effectively removes high-frequency noise while preserving signal characteristics (such as peaks and valleys) relatively well. Figure 2 The original chromatogram was obtained after passing through the Savitzky-Golay filter, as shown below. Figure 3 The denoised signal is shown.

[0042] In one embodiment, step S102, which uses a Savitzky-Golay filter to remove high-frequency noise from the original chromatographic signal to obtain a denoised signal, includes the following sub-steps S1021-S1024:

[0043] S1021. Obtain the frequency characteristics in the original chromatographic signal.

[0044] Frequency characteristics reflect the distribution of different frequency components in a signal. To obtain the frequency characteristics of the original chromatographic signal, Fourier transform is usually used to convert the signal from the time domain to the frequency domain, so that the energy distribution of the signal at different frequencies can be seen intuitively.

[0045] The frequency characteristics of the original chromatographic signal can be obtained through Discrete Fourier Transform (DFT) or Fast Fourier Transform (FFT).

[0046] S1022. Obtain the noise level in the original chromatographic signal.

[0047] Estimating the noise level helps determine the parameters of the filter. A common approach is to estimate the standard deviation of the noise by analyzing the statistical properties of the signal.

[0048] In the raw chromatographic signal, some relatively stable regions can usually be found. The fluctuations in these regions are mainly caused by noise. Data from these stable segments can be selected, and their standard deviation can be calculated as an estimate of the noise level.

[0049] S1023. Obtain the window width and polynomial order of the Savitzky-Golay filter based on the frequency characteristics and noise level to obtain the target Savitzky-Golay filter.

[0050] The performance of the Savitzky-Golay filter depends primarily on two parameters: the window width and the polynomial order. The window width determines the number of data points the filter considers when performing polynomial fitting, while the polynomial order determines the complexity of the fitted polynomial.

[0051] Based on experience, the window width is usually chosen as an odd number, generally between 5 and 25; the polynomial order is usually chosen between 2 and 4. An exploratory selection can be made within this range based on the frequency characteristics and noise level, and then the optimal parameters can be determined by observing the filtering effect.

[0052] Some optimization algorithms (such as grid search, genetic algorithm, etc.) can be used to automatically search for the optimal window width and polynomial order.

[0053] S1024. Use the target Savitzky-Golay filter to filter out high-frequency noise in the original chromatographic signal.

[0054] Once the window width and polynomial order of the target Savitzky-Golay filter are determined, the filter can be used to filter the original chromatographic signal and remove high-frequency noise.

[0055] By following the steps above, you can complete the task of filtering out high-frequency noise from the original chromatographic signal using the Savitzky-Golay filter.

[0056] In step S103, cubic spline interpolation is used to fit the baseline of the denoised signal.

[0057] In chromatographic signal processing, the baseline refers to the background level of the signal when no target substance peaks are observed. Due to various factors, the baseline of the original chromatographic signal may drift or fluctuate, which can interfere with subsequent peak identification, quantitative analysis, and other operations. Therefore, baseline fitting is required for the filtered signal to accurately determine the true baseline. This disclosure uses cubic spline interpolation to fit the baseline of the denoised signal. This method can approximate the true baseline well while ensuring the smoothness of the interpolation curve.

[0058] In one embodiment, step S103 includes the following sub-steps S1031-S1032:

[0059] S1031. Starting from the starting point of the denoised signal, the entire denoised signal is traversed sequentially using the first sliding window to obtain the baseline point in each first sliding window.

[0060] The sliding window is a commonly used signal processing method that analyzes and processes the data within a fixed-length window that slides across the signal. In this step, the first sliding window is used to iterate through the entire denoised signal, with the aim of finding a point within each window that represents the baseline level of that local area, i.e., the baseline point.

[0061] In one embodiment, step S1031 involves starting from the starting point of the denoised signal and traversing the entire denoised signal sequentially using a first sliding window to obtain the baseline point in each first sliding window. This includes performing the following sub-steps S10311-S10313 on the chromatographic signal intensity within each first sliding window:

[0062] S10311. Obtain the minimum value of the chromatographic signal intensity within the current first sliding window.

[0063] Determining the minimum chromatographic signal intensity within the current first sliding window is to find the lowest signal level in that local area, which can largely represent the baseline situation of that area.

[0064] In one embodiment, obtaining the minimum value of the chromatographic signal intensity within the current first preset sliding window in step S10311 includes the following sub-steps S103111-S103112:

[0065] S103111, Perform minimum value condition determination for each chromatographic signal intensity within the current first sliding window.

[0066] In practice, for a given first sliding window, it contains a certain number of chromatographic signal intensity data points, which need to be processed to obtain the minimum value.

[0067] To determine the minimum value more accurately, instead of simply comparing sizes, a minimum value condition is set, and this condition is applied to each data point with chromatographic signal intensity within the current first sliding window. This avoids misjudging special cases (such as abnormally small values ​​under noise interference) as the minimum value, making the determined minimum value more representative of the true baseline level.

[0068] The minimum value condition is:

[0069] Y(t i ) <Y(t i-1 ); Y(t) i ) <Y(t i+1 );

[0070] Y′(t i )≈0;

[0071] Y(t i )<∈;

[0072] Wherein Y(t) i ) represents time point t i The corresponding chromatographic signal intensity, Y(t) i-1 ) represents time point t i-1 The corresponding chromatographic signal intensity, Y(t) i+1 ) represents time point t i+1 The corresponding chromatographic signal intensity, ∈ represents the upper limit of the baseline point signal amplitude, Y′(t i ) represents time point t i The derivative of the corresponding chromatographic signal intensity, where i is an integer greater than 0.

[0073] Starting from the first data point in the window, the minimum value condition is checked for each data point in turn.

[0074] S103112. Determine the chromatographic signal intensity that satisfies the minimum value condition as the minimum value of the chromatographic signal intensity within the current first sliding window.

[0075] S10312. Obtain the time interval between the time point corresponding to the minimum value and the adjacent time point.

[0076] After determining the minimum chromatographic signal intensity within the current first sliding window, it is necessary to further analyze the characteristics of this minimum value over time. By obtaining the time interval between the time point corresponding to the minimum value and the adjacent time points, we can understand the distribution of the minimum value in the time dimension. This helps to determine whether the minimum value is caused by noise or other abnormal factors, or whether it truly represents the characteristics of the baseline.

[0077] After finding the minimum chromatographic signal intensity within the first sliding window, the specific time point corresponding to this minimum value needs to be determined. This is because the chromatographic signal changes over time, and each chromatographic signal intensity value corresponds to a time point. Finding this time point t... i Then, look at its adjacent time points (if they exist), one of which is the time point t before it. i-1 One is at time point t after it. i+1 Then calculate the time interval t between the time point corresponding to this minimum value and the previous time point. i -t i-1 and the time interval t between the current time point and the subsequent time point. i+1 -t i .

[0078] S10313. If the time interval meets the preset time range, then the minimum value is determined to be the baseline point in the first sliding window.

[0079] This public notice will first specify a suitable time frame [Δt] min ,Δt max This range is set based on the characteristics of chromatographic analysis and our needs. After calculating the time interval between the time point corresponding to the minimum value and the adjacent time points, we check whether these time intervals are within the preset time range. If these time intervals are all within the preset time range, that is, Δt min ≤t i+1 -t i ≤Δt max And Δt min ≤t i -t i-1 ≤Δt max If the minimum value meets the criteria for judging the baseline point, then the point corresponding to the minimum value is the baseline point in the first sliding window. If it does not meet the preset time range, then the minimum value is marked as an abnormal point and removed, thereby ensuring that the spacing between the baseline points is uniform and the distribution of the points is reasonable.

[0080] S1032. Perform cubic spline interpolation on each baseline point to obtain the baseline of the denoised signal.

[0081] In signal processing scenarios such as chromatographic analysis, the filtered signal may still exhibit irregular baseline fluctuations. The preceding steps have identified a series of baseline points representing baseline characteristics. The purpose of the step "performing cubic spline interpolation on each baseline point to obtain the baseline of the denoised signal" is to construct a continuous, smooth curve based on these discrete baseline points that accurately reflects the overall baseline trend of the denoised signal. This lays the foundation for more precise analysis of the effective components (such as chromatographic peaks) in the signal.

[0082] The previous steps have identified multiple baseline points, each containing two key pieces of information: the time corresponding to that point and the intensity of the chromatographic signal at that time. These baseline points can be imagined as landmarks on a map, with time representing the longitude of the landmark and signal intensity representing its latitude. Arranging these baseline points in order facilitates subsequent processing.

[0083] Cubic spline interpolation is a mathematical method used to construct a smooth curve between known discrete data points. Its core idea is to construct a cubic polynomial function between every two adjacent baseline points, requiring these polynomial functions to satisfy certain continuity conditions at the connection points to ensure the smoothness of the entire interpolation curve.

[0084] For the detected baseline point (t) i ,Y i Perform cubic spline interpolation to construct the baseline function H(t), i.e.:

[0085] H(t) = a i (tt i ) 3 +b i (tt i ) 2 +c i (tt i )+d i ,t i ≤t≤t i+1 ;

[0086] Among them, t i For a time series, a i ,b i ,c i ,d i These are the interpolation coefficients, which can be calculated using boundary conditions and baseline points.

[0087] In step S104, the baseline is subtracted from the denoised signal to obtain the corrected signal.

[0088] The fitted baseline H(t) is subtracted from the denoised signal to obtain the corrected signal b(t), as follows: Figure 4 As shown, Figure 3 The corrected signal corresponding to the denoised signal in the image.

[0089] Raw chromatographic signals often contain various noises. To analyze signal characteristics more clearly, tools such as the Savitzky-Golay filter are used to process the raw chromatographic signal, removing high-frequency noise. The resulting relatively clean and smooth signal is the denoised signal. It still contains chromatographic peak information and baseline fluctuation information. The denoised signal can be imagined as a curve containing various fluctuations (both the chromatographic peaks we are interested in and the upper and lower fluctuations of the baseline).

[0090] By further analyzing the denoised signal, cubic spline interpolation and other methods were used to fit a curve representing the baseline trend in the signal, i.e., the baseline, according to specific rules (such as first determining the baseline point and then interpolating the baseline point). This baseline reflects the background fluctuations in the signal, excluding effective components such as chromatographic peaks.

[0091] Since both the denoised signal and the baseline are a series of numerical points that change over time, for each time point in the denoised signal, we find the corresponding denoised signal intensity value at that time point, and simultaneously find the corresponding intensity value on the baseline at the same time point. Then, we subtract the baseline intensity value at the same time point from the denoised signal intensity value at that time point.

[0092] For example, at a certain time t1, the intensity of the denoised signal is S1, and the intensity of the baseline at that time is B1. Then, the intensity of the corrected signal at that time is S1-B1. This subtraction operation is performed on each time point in the denoised signal to obtain a series of new intensity values, which constitute the corrected signal.

[0093] After the baseline subtraction process described above, the influence of the baseline is largely eliminated in the corrected signal. The corrected signal now primarily retains the chromatographic peaks and other effective components, along with any possible small amount of low-frequency noise. This allows for more accurate detection and analysis of peak positions, heights, and areas during subsequent signal analysis, such as peak identification using the symmetric zero-area method. It avoids interference from baseline fluctuations in peak identification results, improving the accuracy and reliability of the analysis and leading to more precise analysis of sample components.

[0094] In step S105, the peaks of the corrected signal are identified using the symmetrical zero-area method to generate identification results.

[0095] In the chromatographic signal processing workflow, after a series of operations such as acquiring the original chromatographic signal, filtering out high-frequency noise (to obtain a denoised signal), fitting the baseline and subtracting the baseline (to obtain a corrected signal), the next task is to perform peak identification on the corrected signal to determine the relevant characteristics of the chromatographic peaks, such as the peak apex, peak start point, and peak end point. Figure 5 As shown, Figure 4 The peak start point, peak apex, and peak end point in the corrected signal.

[0096] In one embodiment, step S105 performs peak identification on the corrected signal using the symmetrical zero-area method, generating the identification result including:

[0097] Starting from the beginning of the corrected signal, the entire corrected signal is traversed sequentially using the second sliding window. For each data point corresponding to the corrected signal in each second sliding window, the following steps A1-A4 are performed:

[0098] The symmetrical zero-area method is used to process the corrected signal to accurately identify the key positions of the chromatographic peaks and ultimately generate identification results containing this information. This process will provide a foundation for further analysis of the chromatographic peaks (such as calculating peak area, peak height, peak width, etc., to infer sample composition and content).

[0099] Starting from the beginning of the calibrated signal, a second sliding window of a specific size is used to sequentially traverse the entire calibrated signal. For each calibrated signal data point within the second sliding window, the following four steps (A1-A4) are performed to determine whether the point is the peak apex, peak start point, or peak end point of the chromatographic peak.

[0100] A1. Obtain the area difference on both sides of each data point corresponding to the corrected signal in the current second sliding window.

[0101] Within the current second sliding window, for each data point of the corrected signal, the area on both sides of that point needs to be calculated. Here, "area" typically refers to the area enclosed by the corrected signal curve within a certain range (the specific range depends on the sliding window) to the left and right of that data point, along with a baseline (such as the zero baseline). By calculating the area to the left and right of that point, and then determining the difference between them, the area difference for each data point is obtained. This area difference reflects the imbalance in signal distribution on both sides of the data point and is an important basis for subsequent judgments.

[0102] Specifically, set the initial width L of the second sliding window and calculate the difference in area ΔI between the left and right sides of each point. ω (j), that is:

[0103]

[0104] in, denoted by weight coefficient, b(t) is the corrected signal, and j represents the position of the current data point in the second sliding window.

[0105] A2. If the area difference is zero, and the data point corresponding to the zero area difference is a local maximum, then the data point corresponding to the zero area difference is determined to be the peak.

[0106] When the area difference of a data point is zero, it indicates that the signal distribution on both sides of that point has reached a state of equilibrium in terms of area. Simultaneously, if this data point represents the maximum signal intensity within a certain range around it (usually referring to adjacent data points within a sliding window), i.e., a local maximum, then this data point can be considered the peak position of the chromatographic peak. This is because the signal intensity reaches its maximum at the top of the chromatographic peak, and gradually decreases from the peak to both sides, ideally resulting in equal areas on both sides of the peak (i.e., zero area difference).

[0107] Specifically, the peak determination is as follows: a point that satisfies the following two conditions is a peak.

[0108] Condition 1: Area difference ΔI ω (j) = 0 (or within the allowable range);

[0109] Condition 2: The corrected signal b(t) is a local maximum at this point, that is: b'(t)=0, b”(t)<0.

[0110] A3. If the area difference is zero, and the preceding area difference adjacent to the zero area difference is negative, determine the peak starting point of the data point corresponding to the zero area difference.

[0111] When the area difference of a data point is zero, and the area difference of the data point immediately preceding this data point is negative, it indicates that before this data point, the area enclosed by the signal curve and the baseline is smaller on the left than on the right (negative area difference), and at this data point, the area reaches equilibrium (zero area difference). This situation matches the characteristics of a chromatographic peak starting to rise; that is, from this point, the signal intensity begins to increase, forming a chromatographic peak. Therefore, it can be determined that this data point with zero area difference is the starting point of the chromatographic peak.

[0112] That is, ΔI ω (j) The point where the signal changes from negative to zero indicates that the signal gradually changes from asymmetric to symmetric.

[0113] A4. If the area difference is zero, and the next area difference adjacent to the zero area difference is positive, determine the peak endpoint of the data point corresponding to the zero area difference.

[0114] When the area difference of a data point is zero, and the area difference of the data point immediately following it is positive, it means that after this data point, the area enclosed by the signal curve and the baseline is larger on the left than on the right (area difference is positive), while at this data point, the areas are balanced (area difference is zero). This is consistent with the characteristic that the chromatographic peak begins to decline after reaching its peak; that is, from this point, the signal intensity begins to decrease. Therefore, it can be determined that this data point with zero area difference is the endpoint of the chromatographic peak.

[0115] That is, ΔI ω (j) The point where the signal changes from zero to a positive value indicates the end of the signal symmetry.

[0116] By sequentially performing steps A1-A4 on each data point in the calibrated signal, and after traversing the entire calibrated signal, the key position information such as the peak apex, peak start point, and peak end point of all chromatographic peaks in the calibrated signal can be determined. Finally, peak identification results containing this information are generated, providing accurate data support for subsequent chromatographic analysis.

[0117] Traditional chromatographic data analysis methods have several limitations. On the one hand, a single algorithm often struggles to achieve a good balance between processing speed and accuracy, making it unsuitable for complex scenarios in practical applications. On the other hand, traditional methods are prone to problems such as peak shape distortion, baseline correction errors, and inaccurate feature point identification. To address these pain points, this disclosure proposes a comprehensively optimized solution.

[0118] First, this scheme employs a Savitzky-Golay filter for denoising. This filter can remove noise while preserving the original waveform of the signal to the greatest extent possible, achieving high-fidelity denoising and effectively avoiding waveform distortion caused by improper denoising, thus laying a good foundation for subsequent analysis. Next, cubic spline interpolation is used to correct nonlinear baseline drift. In this way, the baseline can be accurately fitted, effectively reducing baseline correction errors and allowing subsequent analysis to be carried out on a more accurate baseline. Finally, peak feature recognition technology based on symmetric zero area is used to identify the feature points corresponding to peaks in the chromatographic data. This technology can accurately locate the feature points corresponding to peaks, solving the problem of inaccurate feature point identification in traditional methods, and it can also identify the feature points corresponding to peaks well, even when dealing with overlapping peaks.

[0119] By organically combining the aforementioned technologies, this solution significantly improves the analytical accuracy of complex chromatographic data while ensuring processing speed. It provides effective strategies to address challenges such as high noise interference, complex baseline conditions, and overlapping peaks, bringing new ideas and methods to the field of chromatographic data analysis.

[0120] This application also provides an application scenario in which the above-described method for processing chromatographic signal data is applied. Specifically, the method for processing chromatographic signal data provided in this embodiment can be applied in compound separation and identification. In chemical experiments such as organic synthesis and natural product research, chromatographic analysis can separate various compounds from complex mixtures, and the compounds can be identified and their structure and composition determined based on retention time, peak shape, and other data combined with techniques such as mass spectrometry. It can also be applied to pesticide and veterinary drug residue detection: detecting pesticide and veterinary drug residues in food is a crucial step in ensuring food safety. Chromatographic analysis can accurately detect trace amounts of pesticide and veterinary drug residues in food, ensuring that food meets safety standards and protecting consumer health.

[0121] Based on the same inventive concept, this application also provides a chromatographic signal data processing apparatus for implementing the above-described chromatographic signal data processing method. The solution provided by this apparatus is similar to the implementation described in the above-described method; therefore, the specific limitations in one or more embodiments of the chromatographic signal data processing apparatus provided below can be found in the limitations of the chromatographic signal data processing method described above, and will not be repeated here.

[0122] In one exemplary embodiment, such as Figure 6 As shown, a chromatographic signal data processing apparatus is provided, comprising:

[0123] The raw chromatographic signal acquisition module 11 is used to acquire the raw chromatographic signal;

[0124] The noise reduction signal acquisition module 12 is used to filter out high-frequency noise in the original chromatographic signal using a Savitzky-Golay filter to obtain a noise reduction signal.

[0125] The baseline acquisition module 13 is used to fit the baseline of the denoised signal using cubic spline interpolation;

[0126] The corrected signal acquisition module 14 is used to subtract the baseline from the denoised signal to obtain the corrected signal;

[0127] The identification module 15 is used to identify peaks in the corrected signal using the symmetrical zero-area method and generate identification results.

[0128] In one embodiment, the noise reduction signal acquisition module 12 is specifically used for:

[0129] Obtain the frequency characteristics of the original chromatographic signal;

[0130] Obtain the noise level in the original chromatographic signal;

[0131] The window width and polynomial order of the Savitzky-Golay filter are obtained based on the frequency characteristics and the noise level to obtain the target Savitzky-Golay filter.

[0132] The target Savitzky-Golay filter is used to filter out high-frequency noise in the original chromatographic signal.

[0133] In one embodiment, the baseline acquisition module 13 is specifically used for:

[0134] Starting from the starting point of the denoised signal, the entire denoised signal is traversed sequentially using a first sliding window to obtain the baseline point in each of the first sliding windows;

[0135] Cubic spline interpolation is performed on each baseline point to obtain the baseline of the denoised signal.

[0136] In one embodiment, the baseline acquisition module 13 is specifically used for:

[0137] For each of the first sliding windows, the following steps are performed on the chromatographic signal intensity:

[0138] Obtain the minimum value of the chromatographic signal intensity within the current first sliding window;

[0139] Obtain the time interval between the time point corresponding to the minimum value and the adjacent time points;

[0140] If the time interval meets the preset time range, then the minimum value is determined to be the baseline point in the first sliding window.

[0141] In one embodiment, the baseline acquisition module 13 is specifically used for:

[0142] For each of the chromatographic signal intensities within the current first sliding window, a minimum value condition is determined;

[0143] The chromatographic signal intensity that satisfies the minimum value condition is determined to be the minimum value of the chromatographic signal intensity within the current first sliding window;

[0144] The minimum value condition is:

[0145] Y(t i ) <Y(t i-1 ); Y(t) i ) <Y(t i+1 );

[0146] Y'(t i )≈0;

[0147] Y(t i )<∈;

[0148] Wherein Y(t) i ) represents time point t i The corresponding chromatographic signal intensity, Y(t) i-1 ) represents time point t i-1 The corresponding chromatographic signal intensity, Y(t) i+1 ) represents time point t i+1 The corresponding chromatographic signal intensity, where ∈ represents the upper limit of the baseline point signal amplitude, Y′(t i ) represents time point t i The derivative of the corresponding chromatographic signal intensity.

[0149] In one embodiment, the identification module 15 is specifically used for:

[0150] Starting from the starting point of the corrected signal, the entire corrected signal is traversed sequentially using a second sliding window. For each data point corresponding to the corrected signal in each of the second sliding windows, the following steps are performed:

[0151] Obtain the area difference on both sides of each data point corresponding to the corrected signal in the current second sliding window;

[0152] If the area difference is zero, and the data point corresponding to the zero area difference is a local maximum value, then the data point corresponding to the zero area difference is determined to be the peak vertex.

[0153] If the area difference is zero, and the preceding area difference adjacent to the zero area difference is negative, determine the peak starting point of the data point corresponding to the zero area difference;

[0154] If the area difference is zero, and the next area difference adjacent to the zero area difference is positive, determine the peak endpoint of the data point corresponding to the zero area difference.

[0155] In one exemplary embodiment, a computer device is provided, which may be a server or a terminal, and its internal structure diagram may be as follows. Figure 7As shown, this computer device includes a processor, memory, input / output (I / O) interfaces, and a communication interface. The processor, memory, and I / O interfaces are connected via a system bus, and the communication interface is also connected to the system bus via the I / O interfaces. The processor provides computational and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system, computer programs, and databases. The internal memory provides the environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The I / O interfaces are used for exchanging information between the processor and external devices. The communication interface is used for communication with external terminals via a network connection. When the computer program is executed by the processor, it implements a method for processing chromatographic signal data.

[0156] Those skilled in the art will understand that Figure 7 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0157] In one exemplary embodiment, a computer device is also provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps in the above-described method embodiments.

[0158] In one exemplary embodiment, a computer-readable storage medium is provided storing a computer program that, when executed by a processor, implements the steps in the above-described method embodiments.

[0159] In one exemplary embodiment, a computer program product is provided, including a computer program that, when executed by a processor, implements the steps in the above-described method embodiments.

[0160] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of the relevant data must comply with relevant regulations.

[0161] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM).

[0162] The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.

[0163] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0164] This document uses specific examples to illustrate the principles and implementation methods of this application. The descriptions of the above embodiments are only for the purpose of helping to understand the methods and core ideas of this application. Furthermore, those skilled in the art will recognize that, based on the ideas of this application, there will be changes in the specific implementation methods and application scope. Therefore, the content of this specification should not be construed as a limitation of this application.

Claims

1. A method of processing chromatographic signal data, characterized by, The method for processing the chromatographic signal data includes: Acquire the raw chromatographic signal; The high-frequency noise in the original chromatographic signal was filtered out using a Savitzky-Golay filter to obtain a denoised signal; The baseline of the denoised signal is fitted using cubic spline interpolation; The baseline is subtracted from the denoised signal to obtain the corrected signal; Peak identification is performed on the corrected signal using the symmetric zero-area method to generate identification results; The Savitzky-Golay filter is used to remove high-frequency noise from the original chromatographic signal to obtain a denoised signal, including: Obtain the frequency characteristics of the original chromatographic signal; Obtain the noise level in the original chromatographic signal; The window width and polynomial order of the Savitzky-Golay filter are obtained based on the frequency characteristics and the noise level to obtain the target Savitzky-Golay filter. The target Savitzky-Golay filter is used to filter out high-frequency noise in the original chromatographic signal.

2. The method of processing chromatographic signal data according to claim 1, characterized in that, The method of fitting the baseline of the denoised signal using cubic spline interpolation includes: Starting from the starting point of the denoised signal, the entire denoised signal is traversed sequentially using a first sliding window to obtain the baseline point in each of the first sliding windows; Cubic spline interpolation is performed on each baseline point to obtain the baseline of the denoised signal.

3. The method of processing chromatographic signal data according to claim 2, wherein, The step of obtaining the baseline point in each of the first sliding windows includes: For each of the first sliding windows, the following steps are performed on the chromatographic signal intensity: Obtain the minimum value of the chromatographic signal intensity within the current first sliding window; Obtain the time interval between the time point corresponding to the minimum value and the adjacent time points; If the time interval meets the preset time range, then the minimum value is determined to be the baseline point in the first sliding window.

4. The method of processing chromatographic signal data according to claim 3, wherein, The step of obtaining the minimum value of the chromatographic signal intensity within the current first sliding window includes: For each of the chromatographic signal intensities within the current first sliding window, a minimum value condition is determined; The chromatographic signal intensity that satisfies the minimum value condition is determined to be the minimum value of the chromatographic signal intensity within the current first sliding window; The minimum value condition is: ; ; ; wherein denotes a time point the corresponding chromatographic signal intensity, denotes a time point the corresponding chromatographic signal intensity, denotes a time point the corresponding chromatographic signal intensity, the denotes an upper limit of the baseline point signal amplitude, denotes a time point the derivative of the corresponding chromatographic signal intensity, i being an integer greater than 0.

5. The method for processing chromatographic signal data according to claim 1, characterized in that, The step of peak identification of the corrected signal using the symmetric zero-area method to generate identification results includes: Starting from the starting point of the corrected signal, the entire corrected signal is traversed sequentially using a second sliding window. For each data point corresponding to the corrected signal in each of the second sliding windows, the following steps are performed: Obtain the area difference on both sides of each data point corresponding to the corrected signal in the current second sliding window; If the area difference is zero, and the data point corresponding to the zero area difference is a local maximum value, then the data point corresponding to the zero area difference is determined to be the peak vertex. If the area difference is zero, and the preceding area difference adjacent to the zero area difference is negative, the data point corresponding to the zero area difference is determined as the peak starting point; If the area difference is zero, and the next area difference adjacent to the zero area difference is positive, the data point corresponding to the zero area difference is determined as the peak endpoint.

6. A device for processing chromatographic signal data, characterized in that, The device for processing the chromatographic signal data includes: The raw chromatographic signal acquisition module is used to acquire raw chromatographic signals; The noise reduction signal acquisition module is used to filter out high-frequency noise in the original chromatographic signal using a Savitzky-Golay filter to obtain a noise reduction signal. A baseline acquisition module is used to fit the baseline of the denoised signal using cubic spline interpolation; The corrected signal acquisition module is used to subtract the baseline from the denoised signal to obtain the corrected signal; The identification module is used to identify peaks in the corrected signal using the symmetrical zero-area method and generate identification results. Specifically, the noise reduction signal acquisition module is used for: Obtain the frequency characteristics of the original chromatographic signal; Obtain the noise level in the original chromatographic signal; The window width and polynomial order of the Savitzky-Golay filter are obtained based on the frequency characteristics and the noise level to obtain the target Savitzky-Golay filter. The target Savitzky-Golay filter is used to filter out high-frequency noise in the original chromatographic signal.

7. A computer device, comprising: A memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that the processor executes the computer program to implement the steps of the method for processing chromatographic signal data according to any one of claims 1-5.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that, When executed by a processor, the computer program implements the steps of the method for processing chromatographic signal data according to any one of claims 1-5.

9. A computer program product, comprising a computer program, characterized in that, When executed by a processor, the computer program implements the steps of the method for processing chromatographic signal data according to any one of claims 1-5.

Citation Information

Patent Citations

  • Method for carrying out adaptive baseline correction and peak identification on chromatogram

    CN117434195A