Chromatographic peak estimation method, system, storage medium and computer equipment based on CKF

Through the chromatographic peak estimation method based on CKF, the volumetric Kalman filter algorithm is used to deal with the noise in the liquid phase mass spectrometry experiment, which solves the problem of inaccurate calculation of the chromatographic peak area and improves the accuracy and calculation efficiency of the experiment.

CN114662544BInactive Publication Date: 2024-09-24TIANJIN GUOKE MEDICAL ENG & TECH DEV CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210344837.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-02
Publication Date
2024-09-24
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

In liquid phase mass spectrometry experiments, the calculation of chromatographic peak areas is easily affected by noise, leading to inaccuracies in quantitative calculations. Existing linear noise reduction methods fail for nonlinear chromatograms, losing part of the peak information and reducing the accuracy of the experiment.

Method used

A chromatographic peak estimation method based on CKF is adopted. By abstracting the chromatogram into a Markov process, the volumetric Kalman filter algorithm is used for noise reduction calculations, and a cubic functional relationship is constructed to retain peak information, simplify processing and reduce computational complexity.

Benefits of technology

It achieves the maximum reduction of noise impact while retaining chromatographic peak information as much as possible, improves the accuracy of peak area, is suitable for real-time processing, and adapts to the noise reduction needs of different chromatographic peaks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114662544B
    Figure CN114662544B
Patent Text Reader

Abstract

The present invention discloses a chromatographic peak estimation method, system, storage medium and computer equipment based on CKF. The chromatographic peak estimation method based on CKF provided by the present invention models the relationship between the intensities of two adjacent moments of a chromatographic peak and constructs a cubic function relationship. The method can reduce the computational complexity and the integral error to the greatest extent under the premise of retaining the chromatographic peak information as much as possible, wherein the integral error is 0 when the cubic function relationship is used. The present invention uses a volumetric Kalman filter (CKF) algorithm for noise reduction calculation for the chromatographic peak model, simplifies and reduces the dimension of the CKF, has lower computational complexity and is more suitable for real-time processing of chromatograms. The present invention performs calculation based on a Bayesian filtering framework, and can flexibly adjust input parameters, so as to better adapt to the noise reduction requirements of different chromatographic peaks.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of chromatogram processing, and in particular to a chromatogram peak estimation method, system, storage medium and computer equipment based on CKF. Background Art

[0002] In scientific or medical experiments based on liquid phase mass spectrometry, the calculation of the chromatographic peak area of ​​the target object often plays a crucial role, because it involves the accuracy of quantitative calculation. Especially for samples with low concentration or low response, the chromatographic peak intensity is low and easily affected by noise. It can be imagined that a series of obvious noises are superimposed on the chromatographic peak, and the result is that the noise greatly affects the size of the chromatographic peak area. Since the noise is random, the chromatographic peak area becomes difficult to accurately measure. Correspondingly, the concentration of the target object to be measured cannot be accurately measured. As can be seen, Figure 1 The peak area caused by noise is inaccurate and cannot be corrected by the internal standard method, which greatly reduces the accuracy of the experiment. If a linear noise reduction method is used, some chromatographic peak information will be lost for nonlinear chromatograms, making it difficult to ensure the accuracy of the peak area.

[0003] Therefore, a more reliable solution is needed now. Summary of the invention

[0004] The technical problem to be solved by the present invention is to provide a chromatographic peak estimation method, system, storage medium and computer equipment based on CKF in view of the deficiencies in the above-mentioned prior art, so as to better process the noise in the chromatographic peak and obtain a more accurate peak area.

[0005] To achieve the above object, the technical solution adopted by the present invention is: a chromatographic peak estimation method based on CKF, comprising the following steps:

[0006] First, the process of the chromatogram changing over time is abstracted as a Markov process, and the relationship between the intensity of the chromatographic peak at a certain moment and the intensity at the previous moment is expressed as follows:

[0007]

[0008] where x k is the chromatographic peak intensity at time k, x k-1 is the chromatographic peak intensity at time k-1, w is a random noise that obeys Gaussian distribution, A, B, C and D are known constants; the observed value of the chromatographic peak intensity has the following relationship with the chromatographic peak intensity: z k =x k +v (1-2);

[0009] where z kis the chromatographic peak intensity observed at time k, x k is the chromatographic peak intensity at time k, v is a random noise that obeys Gaussian distribution;

[0010] Then, according to equations (1-1) and (1-2), chromatographic peak estimation is performed based on CKF:

[0011] 1) Initialization, set the initial variance P 0|0 , estimated expectations

[0012] 2) Variance of decomposition error:

[0013]

[0014] Among them, P k|k-1 represents the variance of the prediction error, S k-1|k-1 is the standard deviation of the estimation error;

[0015] 3) Calculate the volume point set according to the following formula:

[0016]

[0017]

[0018] Among them, X 1,k-1|k-1 and X 2,k-1|k-1 is the volume point set, represents the predicted state estimate of the chromatogram;

[0019] 4) Based on the volume point set, calculate the volume function points used for propagation, and the calculation is as follows:

[0020]

[0021]

[0022] Wherein, F() is the functional relationship of formula (1);

[0023] 5) Calculate the predicted state estimate of the chromatogram and the variance of the prediction error P k|k-1 , calculated as follows:

[0024]

[0025]

[0026] 6) Calculate the predicted estimated points for the observations, as follows:

[0027]

[0028]

[0029] Among them, Z 1,k|k-1 and Z 2,k|k-1 is the predicted estimated point for the observation;

[0030] 7) The forecast estimate expectation, forecast estimate error autocovariance and cross-covariance of the observed value are:

[0031]

[0032]

[0033]

[0034] in, Estimate the expectation for the observed forecast, P zz,k|k-1 is the autocovariance of the observation prediction error, R is the noise variance, P xz,k|k-1 is the observation-forecast error cross-covariance;

[0035] 8) Calculate the gain K:

[0036]

[0037] 9) Calculate the state estimate after chromatogram filtering The variance of the filtering error P k|k , as shown below:

[0038]

[0039]

[0040] Among them, z k is the current observed chromatographic intensity; return to step 2), iterate, and continue calculating; the output of each iterative calculation is Input signal z k The length is N. When the number of iterations reaches N, the iteration stops, and the vector composed of the output values ​​of N iterations That is, for the noisy signal (z1…z k …z N ) is estimated (filtered); the chromatogram formed as the output is the estimated chromatogram.

[0041] Preferably, in step 1), the variance P is set 0|0 =1, estimated expectation

[0042] Preferably, in step 7), R=1 is set.

[0043] The present invention also provides a CKF-based chromatographic peak estimation system, which uses the above-mentioned method to perform chromatographic peak estimation.

[0044] The present invention also provides a storage medium on which a computer program is stored, and when the program is executed, it is used to implement the method as described above.

[0045] The present invention also provides a computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method described above when executing the computer program.

[0046] The beneficial effects of the present invention are:

[0047] 1. The CKF-based chromatographic peak estimation method provided by the present invention models the relationship between the intensities of two adjacent moments of the chromatographic peak and constructs a cubic function relationship, which can minimize the computational complexity and integration error while retaining the chromatographic peak information as much as possible. When the cubic function relationship is used, the integration error is 0;

[0048] 2. The present invention uses a volumetric Kalman filter (CKF) algorithm to perform noise reduction calculations on the chromatographic peak model, and simplifies and reduces the dimension of the CKF, which has lower computational complexity and is more suitable for real-time processing of chromatograms;

[0049] 3. The present invention performs calculations based on a Bayesian filtering framework, and the input parameters can be flexibly adjusted, which can better meet the noise reduction requirements of different chromatographic peaks. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] Figure 1 Schematic diagram of the error of the chromatogram integration affected by noise;

[0051] Figure 2 The experimental results of VD3 tested on LC-HTQ2020 tandem mass spectrometry;

[0052] Figure 3 The results after being processed by the method of Example 1 of the present invention;

[0053] Figure 4 For comparison results. DETAILED DESCRIPTION

[0054] The present invention is further described in detail below in conjunction with embodiments so that those skilled in the art can implement the invention with reference to the description.

[0055] It should be understood that the terms such as “having”, “including” and “comprising” used herein do not exclude the existence or addition of one or more other elements or combinations thereof.

[0056] Example 1

[0057] This embodiment provides a chromatographic peak estimation method based on CKF, comprising the following steps:

[0058] First, the process of the chromatogram changing over time is abstracted as a Markov process, and the relationship between the intensity of the chromatographic peak at a certain moment and the intensity at the previous moment is expressed as follows:

[0059]

[0060] where x k is the chromatographic peak intensity at time k, x k-1 is the chromatographic peak intensity at time k-1, w is a random noise that obeys Gaussian distribution, A, B, C and D are known constants; the observed value of the chromatographic peak intensity has the following relationship with the chromatographic peak intensity: z k =x k +v (1-2);

[0061] where z k is the chromatographic peak intensity observed at time k, x k is the chromatographic peak intensity at time k, v is a random noise that obeys Gaussian distribution;

[0062] Then, according to equations (1-1) and (1-2), chromatographic peak estimation is performed based on CKF:

[0063] 1) Initialization, set the initial variance P 0|0 =1, estimated expectation

[0064] 2) Variance of decomposition error:

[0065]

[0066] Among them, P k|k-1 represents the variance of the prediction error, S k-1|k-1 is the standard deviation of the estimation error;

[0067] 3) Calculate the volume point set according to the following formula:

[0068]

[0069]

[0070] Among them, X 1,k-1|k-1 and X 2,k-1|k-1 is the volume point set, represents the predicted state estimate of the chromatogram;

[0071] 4) Based on the volume point set, calculate the volume function points used for propagation, and the calculation is as follows:

[0072]

[0073]

[0074] Wherein, F() is the functional relationship of formula (1);

[0075] 5) Calculate the predicted state estimate of the chromatogram and the variance of the prediction error P k|k-1 , calculated as follows:

[0076]

[0077]

[0078] 6) Calculate the predicted estimated points for the observations, as follows:

[0079]

[0080]

[0081] Among them, Z 1,k|k-1 and Z 2,k|k-1 is the predicted estimated point for the observation;

[0082] 7) The forecast estimate expectation, forecast estimate error autocovariance and cross-covariance of the observed value are:

[0083]

[0084]

[0085]

[0086] in, Estimate the expectation for the observed forecast, P zz,k|k-1 is the observed prediction error autocovariance, R is the noise variance, in this embodiment, R=1; P xz,k|k-1 is the observation-forecast error cross-covariance;

[0087] 8) Calculate the gain K:

[0088]

[0089] 9) Calculate the state estimate after chromatogram filtering The variance of the filtering error P k|k , as shown below:

[0090]

[0091]

[0092] Among them, z k is the current observed chromatographic intensity; return to step 2), iterate, and continue calculating; the output of each iterative calculation is Input signal z k The length is N. When the number of iterations reaches N, the iteration stops, and the vector composed of the output values ​​of N iterations That is, for the noisy signal (z1…z k …z N ) is estimated (filtered); the chromatogram formed as the output is the estimated chromatogram.

[0093] Reference Figure 2 , are the experimental results of VD3 testing in LC-HTQ2020 tandem mass spectrometry. It can be seen that the peak shape of low-concentration VD3 is often easily affected by noise: in addition to the main peak, there are some unnecessary interference peaks, and the main peak at 3min is also significantly interfered.

[0094] Reference Figure 3 , is the result after being processed by the method of Example 1 of the present invention, Figure 4 Comparing the two results, it can be clearly seen that the miscellaneous peaks are filtered out and the noise on the main peak is eliminated.

[0095] Example 2

[0096] This embodiment provides a chromatographic peak estimation system based on CKF, which uses the method of Embodiment 1 to perform chromatographic peak estimation.

[0097] Example 3

[0098] This embodiment provides a storage medium on which a computer program is stored. When the program is executed, it is used to implement the method of embodiment 1.

[0099] Example 4

[0100] This embodiment provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the method of Embodiment 1 is implemented when the processor executes the computer program.

[0101] Although the embodiments of the present invention have been disclosed as above, they are not limited to the applications listed in the specification and the implementation modes. They can be fully applied to various fields suitable for the present invention. For those familiar with the art, additional modifications can be easily implemented. Therefore, without departing from the general concept defined by the claims and the scope of equivalents, the present invention is not limited to specific details.

Claims

1. A chromatographic peak estimation method based on CKF, It is characterized in that The following steps are involved: First, the process of the chromatogram changing over time is abstracted as a Markov process, and the relationship between the intensity of the chromatographic peak at a certain moment and the intensity at the previous moment is expressed as follows: where x k is the chromatographic peak intensity at time k, x k-1 is the chromatographic peak intensity at time k-1, w is a random noise that follows a Gaussian distribution, A, B, C and D are known constants; the observed value of the chromatographic peak intensity is related to the chromatographic peak intensity. The peak intensity has the following relationship: k =x k +v (1-2); where z k is the chromatographic peak intensity observed at time k, x k is the chromatographic peak intensity at time k, v is a random noise that obeys Gaussian distribution; Then, according to equations (1-1) and (1-2), chromatographic peak estimation is performed based on CKF: 1) Initialization, set the initial variance P 0|0 , estimated expectations 2) Variance of decomposition error: Among them, P k|k-1 represents the variance of the prediction error, S k-1|k-1 is the standard deviation of the estimation error; 3) Calculate the volume point set according to the following formula: Among them, X 1,k-1|k-1 and X 2,k-1|k-1 is the volume point set, represents the predicted state estimate of the chromatogram; 4) Based on the volume point set, calculate the volume function points used for propagation, and the calculation is as follows: Wherein, F() is the functional relationship of formula (1); 5) Calculate the predicted state estimate of the chromatogram and the variance of the prediction error P k|k-1 , calculated as follows: 6) Calculate the predicted estimated points for the observations, as follows: Among them, Z 1,k|k-1 and Z 2,k|k-1 is the predicted estimated point for the observation; 7) The forecast estimate expectation, forecast estimate error autocovariance and cross-covariance of the observed value are: in, Estimate the expectation for the observed forecast, P zz,k|k-1 is the autocovariance of the observation prediction error, R is the noise variance, P xz,k|k-1 is the observation-forecast error cross-covariance; 8) Calculate the gain K: 9) Calculate the state estimate after chromatogram filtering The variance of the filtering error P k|k , as shown below: P k|k =P k|k-1 -K 2 P zz,k|k-1 (16); Among them, z k is the current observed chromatographic intensity; return to step 2), iterate, and continue calculating; the output of each iterative calculation is Input signal z k The length is N. When the number of iterations reaches N, the iteration stops, and the vector composed of the output values ​​of N iterations That is, for the noisy signal (z 1 …z k …z N ) is estimated; the chromatogram formed as the output is the estimated chromatogram.

2. The chromatographic peak estimation method based on CKF according to claim 1, It is characterized in that In step 1), the variance P is set 0|0 =1, estimated expectation 3. The chromatographic peak estimation method based on CKF according to claim 1, It is characterized in that In the step 7), R=1 is set.

4. A chromatographic peak estimation system based on CKF, It is characterized in that The method according to any one of claims 1 to 3 is used to estimate the chromatographic peak.

5. A storage medium having a computer program stored thereon, It is characterized in that When the program is executed, it is used to implement the method according to any one of claims 1 to 3.

6. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the computer program, the method according to any one of claims 1 to 3 is implemented.