CN115144457B - Portable mass spectrum analyzer, analysis method and terminal - Google Patents

Portable mass spectrum analyzer, analysis method and terminal Download PDF

Info

Publication number
CN115144457B
CN115144457B CN202210735322.5A CN202210735322A CN115144457B CN 115144457 B CN115144457 B CN 115144457B CN 202210735322 A CN202210735322 A CN 202210735322A CN 115144457 B CN115144457 B CN 115144457B
Authority
CN
China
Prior art keywords
standard
mass
spectral line
pesticide residue
sample
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210735322.5A
Other languages
Chinese (zh)
Other versions
CN115144457A (en
Inventor
赵叶祺
陈启振
邓汝明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhongyan Detection Co ltd
Zhongyan Scientific Instruments Fujian Co ltd
Original Assignee
Zhongyan Detection Co ltd
Zhongyan Scientific Instruments Fujian Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhongyan Detection Co ltd, Zhongyan Scientific Instruments Fujian Co ltd filed Critical Zhongyan Detection Co ltd
Priority to CN202210735322.5A priority Critical patent/CN115144457B/en
Publication of CN115144457A publication Critical patent/CN115144457A/en
Application granted granted Critical
Publication of CN115144457B publication Critical patent/CN115144457B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N27/00Investigating or analysing materials by the use of electric, electrochemical, or magnetic means
    • G01N27/62Investigating or analysing materials by the use of electric, electrochemical, or magnetic means by investigating the ionisation of gases, e.g. aerosols; by investigating electric discharges, e.g. emission of cathode

Landscapes

  • Chemical & Material Sciences (AREA)
  • Chemical Kinetics & Catalysis (AREA)
  • Electrochemistry (AREA)
  • Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Analytical Chemistry (AREA)
  • Biochemistry (AREA)
  • General Health & Medical Sciences (AREA)
  • General Physics & Mathematics (AREA)
  • Immunology (AREA)
  • Pathology (AREA)
  • Other Investigation Or Analysis Of Materials By Electrical Means (AREA)

Abstract

The invention provides a portable mass spectrometer, an analysis method and a terminal, and belongs to the technical field of mass spectrometry. The analyzer comprises a mass spectrogram acquisition unit, a standard mass spectrogram query unit, a data extraction unit, a threshold value adjusting unit and a model loading unit. Inputting the first characteristic spectral line length serving as a query parameter into a standard mass spectrogram query unit to query to obtain a plurality of standard mass spectrograms, and determining potential pesticide residue categories contained in the sample to be tested based on the standard mass spectrograms; and the model loading unit loads the corresponding pesticide residue identification model based on the potential pesticide residue category to identify the pesticide residue content in the sample to be detected. The analysis method further comprises the step of adjusting a threshold value of the characteristic spectral line length when a first number of standard spectral lines obtained through query of the first characteristic spectral line length in the cloud standard spectral database does not meet a preset condition. The invention also provides portable terminal equipment for realizing the method. The invention can realize the rapid identification of various pesticide residues.

Description

Portable mass spectrum analyzer, analysis method and terminal
Technical Field
The invention belongs to the technical field of mass spectrometry, and particularly relates to a portable mass spectrometer, an analysis method and a terminal.
Background
Mass spectrometry is an analysis method for analyzing by measuring the mass-to-charge ratio (m/z) of ions of a sample to be tested. The sample to be tested is firstly ionized, then ions are separated according to the mass-to-charge ratio by utilizing different motion behaviors of different ions in an electric field or a magnetic field to obtain a mass spectrum, and the qualitative and quantitative results of the mass spectrum can be obtained through the mass spectrum information of the sample.
Mass spectrometry is one of the important means for detecting pesticide residues. The molecular weight, molecular formula and molecular structure of the pesticide residue compound can be determined by mass spectrometry, and qualitative analysis of unknown pesticide residues can be performed according to the property; the peak intensity (line length/amplitude) is closely related to the content of the compound, and the quantitative analysis of the pesticide residue in the category can be carried out after the category is determined. As a specific example, a certain (determined) standard sample of the target a to be detected can be prepared in advance, and then the mass spectrum a (also called spectrum a) thereof is measured; and then, performing mass spectrometry on a sample O to be detected which (possibly) contains the target to be detected to obtain a mass spectrogram O to be detected, and comparing the mass spectrogram A of the standard sample with the mass spectrogram O to be detected to analyze whether the sample O to be detected contains the target A to be detected and specific concentration numerical values (proportion, content and the like). In the detection process, what kind of target needs to be detected is known before detection, so that the corresponding mass spectrometry method can be called correspondingly when subsequent product spectrum matching is performed.
However, in practical application, it is found that agricultural products relate to a variety of chemical drugs and are continuously updated and changed, the spectral library and the detection method are relatively updated and delayed, a failure phenomenon exists, and potential pesticide residue types and content cannot be effectively detected.
Disclosure of Invention
In order to solve the technical problems, the invention provides a portable mass spectrum analyzer, an analysis method and a terminal.
In a first aspect of the present invention, a portable mass spectrometer is provided, which comprises a mass spectrum acquisition unit, a data extraction unit, a standard mass spectrum query unit, a threshold adjustment unit, and a model loading unit;
the mass spectrogram acquisition unit is used for acquiring mass spectrogram data of a sample to be detected;
the data extraction unit is used for extracting the length of a first characteristic spectral line in the mass spectrogram data, wherein the first characteristic spectral line is the spectral line with the longest length in the mass spectrogram of the sample to be detected and other spectral lines larger than a first set threshold value;
the first set threshold is dynamically set within a preset range by the threshold adjusting unit;
inputting the first characteristic spectral line length as a query parameter to the standard mass spectrogram query unit, querying by the standard mass spectrogram query unit to obtain a plurality of standard mass spectrograms, and determining potential pesticide residue categories contained in the sample to be tested based on the standard mass spectrograms;
and the model loading unit loads a corresponding pesticide residue identification model based on the potential pesticide residue category, and identifies the pesticide residue content in the sample to be detected by using the pesticide residue identification model.
Further, the portable mass spectrum analyzer further comprises a wireless communication unit, the standard mass spectrum query unit is in communication with a cloud standard mass spectrum database through the wireless communication unit, and the standard mass spectrum query unit queries in the cloud standard mass spectrum database through the first characteristic spectral line length to obtain a plurality of standard mass spectra.
The cloud standard mass spectrum database is stored with a plurality of standard mass spectrograms and second characteristic spectral line lengths corresponding to the standard mass spectrograms in advance;
the second characteristic spectral line is the spectral line with the longest length in the standard mass spectrogram and other spectral lines larger than a second set threshold.
The standard mass spectrum query unit obtains a plurality of standard mass spectra in the cloud standard mass spectrum database through the query of the first characteristic spectral line length, and specifically includes:
and if the second characteristic spectral line and the first characteristic spectral line of the current standard mass spectrogram meet a first preset condition, taking the current standard mass spectrogram as the standard mass spectrogram obtained by the query of the standard mass spectrogram query unit.
The standard mass spectrogram query unit queries a first number of standard mass spectrograms;
if the first quantity meets a second preset condition, the threshold value adjusting unit resets the first set threshold value within a preset range.
The scheme can further consider all possible deletion conditions, and the matching range is expanded as much as possible, which is determined by the safety of the food and is closely related to the detection object (pesticide residue) of the application.
In a second aspect of the invention, a portable mass spectrometry method is provided, which is implemented on the basis of the portable mass spectrometer of the first aspect.
Specifically, the method comprises the following steps:
s710: acquiring mass spectrogram data of a sample to be detected;
s720: extracting a first characteristic spectral line length in the mass spectrogram data; the first characteristic spectral line is a spectral line with the longest length in a mass spectrogram of the sample to be detected and other spectral lines larger than a first set threshold;
s730: querying the cloud standard mass spectrum database through the first characteristic spectral line length to obtain a first number of standard mass spectra;
s740: judging whether the first quantity meets a second preset condition, if so, entering a step S750;
otherwise, adjusting the first set threshold, and returning to step S720;
s750: determining potential pesticide residue categories contained in the sample to be detected based on the first number of standard mass spectrograms;
s760: and loading a corresponding pesticide residue identification model based on the potential pesticide residue category, and identifying the pesticide residue content in the sample to be detected by using the pesticide residue identification model.
When the method is executed, a plurality of standard mass spectrograms and second characteristic spectral line lengths corresponding to the standard mass spectrograms are stored in the cloud standard mass spectrum database in advance;
the second characteristic spectral line is a spectral line with the longest length in the standard mass spectrogram and other spectral lines larger than a second set threshold;
the step S730 specifically includes: and if the second characteristic spectral line and the first characteristic spectral line of the current standard mass spectrogram meet a first preset condition, taking the current standard mass spectrogram as one of the first number of standard mass spectrograms.
The step S750 is to determine a first number of categories of potential pesticide residues contained in the sample to be tested based on the first number of standard mass spectrograms;
the step S760 loads the corresponding pesticide residue identification model based on the potential pesticide residues of the first number of categories, and the pesticide residue identification model quantitatively identifies a specific numerical value of the potential pesticide residues of each category.
The above-described method may also be implemented in the form of computer program instructions, in the form of computer storage media, by computer devices, portable terminal devices, visualization terminals, and the like.
Accordingly, in a third aspect of the present invention, there is also provided a portable terminal comprising a memory and a processor, the memory storing computer program instructions for execution by the processor for implementing all the steps of a portable mass spectrometry method according to the second aspect.
According to the technical scheme, before pesticide residue detection is executed, the specific type of pesticide residue to be detected does not need to be preset, and the pesticide residue identification model to be loaded is determined to execute quantitative analysis after the potential pesticide residue range of the sample to be detected is determined based on the sample mass spectrogram and the standard mass spectrum database, so that the defect that only targeted analysis can be realized in the prior art is overcome; meanwhile, the method for determining the potential pesticide residue range adopts the modes of matching such as spectral line amplitude value ratio (difference, square) and the like, so that the matching result is still not influenced when some affine transformation or rotation transformation occurs in a mass spectrogram.
In addition, it should be noted that the technical solution of the present invention is used for pesticide residue detection in the field of food safety, and therefore, the detection range needs to be expanded as much as possible, and therefore, the analysis method further includes adjusting the threshold of the characteristic spectral line length when the first number of the standard spectral lines obtained by querying the cloud standard spectral line database through the first characteristic spectral line length does not meet the preset condition, and can further consider all possible missing situations, and expand the matching range as much as possible, which is determined by the safety of the food itself and is closely related to the detection object (pesticide residue) of the present application.
Further advantages of the invention will be apparent in the detailed description section in conjunction with the drawings attached hereto.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required in the embodiments will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a schematic block diagram of a portable mass spectrometer according to one embodiment of the present invention;
FIG. 2 is a schematic diagram of a further preferred embodiment of a portable mass spectrometer in accordance with an embodiment of the invention;
FIG. 3 is a schematic diagram of a mass spectrum and a standard mass spectrum of a sample to be tested according to various embodiments of the present invention;
FIG. 4 is a schematic block flow diagram of a method of portable mass spectrometry in accordance with an embodiment of the present invention;
fig. 5 is a schematic diagram of a portable terminal and a storage medium for implementing one of the portable mass spectrometry methods described in fig. 4.
Detailed Description
The invention is further described with reference to the following drawings and detailed description.
Different embodiments of this section solve one or more of the above-mentioned technical problems separately, and achieve the corresponding technological effect, different embodiment combinations can solve all technical problems mentioned and achieve all technical effects; however, it is not required that every single embodiment of the present invention solve all technical problems or achieve all improvements. The solution to a problem or the improved corresponding embodiment of a single technical effect may both constitute independent technical solutions of the present invention.
Meanwhile, in this section, in order to enable a person skilled in the art to better understand the technical solutions, some prior art documents or technical principle descriptions are introduced, and these prior art documents or technical principle descriptions also form a part of the technical solutions of the present invention.
First, refer to fig. 1. FIG. 1 is a schematic block diagram of a portable mass spectrometer according to one embodiment of the present invention.
In fig. 1, the portable mass spectrometer comprises a mass spectrum acquisition unit, a standard mass spectrum query unit, a data extraction unit, a threshold adjustment unit, and a model loading unit;
the mass spectrogram acquisition unit is used for acquiring mass spectrogram data of a sample to be detected;
the data extraction unit is used for extracting the length of a first characteristic spectral line in the mass spectrogram data, wherein the first characteristic spectral line is a spectral line with the longest length in the mass spectrogram of the sample to be detected and other spectral lines larger than a first set threshold;
the first set threshold is dynamically set within a preset range by the threshold adjusting unit;
inputting the first characteristic spectral line length as a query parameter to the standard mass spectrogram query unit, querying by the standard mass spectrogram query unit to obtain a plurality of standard mass spectrograms, and determining potential pesticide residue categories contained in the sample to be tested based on the standard mass spectrograms;
and the model loading unit loads a corresponding pesticide residue identification model based on the potential pesticide residue category, and identifies the pesticide residue content in the sample to be detected by using the pesticide residue identification model.
See, more particularly, fig. 2. FIG. 2 is a schematic diagram of a further preferred embodiment of a portable mass spectrometer in accordance with an embodiment of the invention.
In fig. 2, the portable mass spectrometer further includes a wireless communication unit, the standard mass spectrum query unit communicates with a cloud standard mass spectrum database through the wireless communication unit, and the standard mass spectrum query unit queries in the cloud standard mass spectrum database through the first characteristic spectral line length to obtain a plurality of standard mass spectra.
Next, referring to fig. 3, fig. 3 is a schematic diagram of a mass spectrum and a standard mass spectrum of a sample to be tested according to various embodiments of the present invention, and further introduces the principle of the technical solution of the present invention.
In the examples of the present invention, for convenience of description, the sample to be tested is a Food (Food) sample, which is assumed to contain a certain pesticide residue compound Pre (or certain pesticide residues);
of course, the sample to be tested may also be vegetables, fruits, etc. Generally speaking, for such samples to be tested related to food safety, the industry standards or national standards have corresponding food safety standards, and it is clear that some compounds cannot be added (or are not detected), and the content of some compounds which can be added needs to be lower than a certain standard threshold.
Therefore, the categories of pesticide residues (compounds) to which embodiments of the present invention relate are also specified according to the above-mentioned industry or national standards.
However, in either case, the class of pesticide residue (compound) is not just one, but many, and it is not known which one is to be tested, i.e., the "non-targeted" test, prior to testing.
In fig. 3, four standard mass spectrograms are schematically shown on the left side of the dotted line, and are stored in the cloud standard mass spectrogram database, and are mass spectrograms obtained by a mass spectrometer aiming at a standard sample (containing a certain standard pesticide residue) in advance, and certain standardization processing is performed, including noise reduction, normalization and other means.
For convenience of description, four standard mass spectrograms in FIG. 3 were assumed to be standard food sample FOO 1 、DFOO 2 、DFOO 3 、DFOO 4 D spectrum Spe of standard substance 1 、Spe 2 、Spe 3 、Spe 4 The pesticide residues (compounds) respectively corresponding to the compounds are Res 1 、Res 2 、Res 3 、Res 4
The mass spectrogram data Spe of the sample to be detected is arranged on the right side of the dotted line o Schematically, fig. 3 shows two different mass spectra in a sample to be tested;
as can be seen, the mass spectrum Spe of the sample to be detected o There is significant noise and the amplitude range of some mass spectra are not normalized.
It can be understood that, if the second amplitude value of each spectral line in the sample mass spectrogram is the same as the first amplitude value of each spectral line in the corresponding standard spectrogram, it indicates that the two are completely matched, that is, the standard pesticide residue (compound) corresponding to the current standard spectrogram is contained in the current sample to be detected.
However, this is quite rare in the actual detection process, as mentioned above, the standard spectrum of the pesticide residue (compound) sample is the standard spectrum after standardization, but the sample mass spectrum of the sample to be detected has various changes, including detection time period, upper and lower detection limit values, proportional transformation, affine transformation, etc., and various noises.
For this purpose, the invention proposes the concept of "characteristic lines".
Specifically, the data extraction unit is configured to extract a first characteristic spectral line length in the mass spectrogram data, where the first characteristic spectral line is a spectral line with the longest length in the mass spectrogram of the sample to be detected and other spectral lines greater than a first set threshold;
correspondingly, a plurality of standard mass spectrograms and second characteristic spectral line lengths corresponding to the standard mass spectrograms are stored in the cloud standard mass spectrum database in advance;
the second characteristic spectral line is the spectral line with the longest length in the standard mass spectrogram and other spectral lines larger than a second set threshold.
At this time, the standard mass spectrum database stores spectrograms Spe of each standard substance i Maximum spectral line amplitude value maxsep of (1) i The shortest spectral line amplitude value MinSpe greater than a second set threshold value i And longest line-shortest line difference MaxSpe i -MinSpe i
Therefore, the specific implementation principle of the invention can be summarized as follows:
the mass spectrogram of the sample to be detected is Spe o Mass spectrum Spe of the sample o The longest amplitude value of the mid-spectral line is MaxSpe o The shortest (length) amplitude value of the spectral line length greater than the first set threshold is MinSpe o
The standard mass spectrum query unit obtains a plurality of standard mass spectra in the cloud standard mass spectrum database through the query of the first characteristic spectral line length, and specifically includes:
if the second characteristic spectral line and the first characteristic spectral line of the current standard mass spectrogram meet a first preset condition, taking the current standard mass spectrogram as the standardThe standard mass spectrogram obtained by the query of the mass spectrogram query unit, namely Res corresponding to the current standard mass spectrogram i As a potential pesticide residue class of the sample to be detected.
Specifically, when the mass spectrum Spe of the sample is o With each standard spectrum Spe i When one of the following conditions is satisfied, res is set i As potential pesticide residue classes for the sample to be tested:
(1)
Figure BDA0003715107380000091
(2)
Figure BDA0003715107380000092
(3)
Figure BDA0003715107380000093
(4)
Figure BDA0003715107380000101
wherein, Δ H i (i =1,2, 3) is greater than 0 and less than 0.2, Δ H is a preset disturbance amount, 0 < Δ H < 0.05.
Obviously, the preset condition is that the second amplitude value of each spectral line in the sample mass spectrogram is not directly compared with the first amplitude value of each spectral line in the corresponding standard mass spectrogram, but various changes of ratio, proportion, difference and square are performed, so that the influences of noise, affine change and the like are avoided, and the matching result is still not influenced when some affine transformation or rotation transformation occurs in the actual sample mass spectrogram.
It can be understood that when one of the preset conditions is satisfied, it can be determined that the sample to be detected currently has a high possibility of containing pesticide residue Res i
At this time, the type of pesticide residue in the sample is basically determined, but the specific value thereof cannot be determined.
Next, the model loading unit loads a corresponding pesticide residue identification model based on the potential pesticide residue category, and identifies the pesticide residue content in the sample to be detected by using the pesticide residue identification model.
Since the pesticide residue type is known, a quantitative analysis model corresponding to the pesticide residue type can be adopted, which belongs to the prior art, and the quantitative analysis model is not developed in the embodiment, and the improvement of the embodiment is not carried out.
For example, the following documents describe various quantitative analysis methods that can be used when the type of agricultural residue to be detected is known, and the systems or models used in these quantitative analysis methods can be used as the quantitative analysis models in the present embodiment.
[1] Huangjian, xue run Ping, wei jin Ping, zhan Qian, xie Zheng Ming, zheng.
In an implementation, the first set threshold is dynamically set within a preset range by the threshold adjustment unit.
In the initial case of the operation of the apparatus,
Figure BDA0003715107380000111
in subsequent implementation, the standard mass spectrogram query unit queries to obtain a first number of standard mass spectrograms;
if the first quantity meets a second preset condition, the threshold value adjusting unit resets the first set threshold value within a preset range.
Specifically, if the first number is lower than a set number, the first set threshold is decreased, otherwise, the first set threshold is increased.
Preferably, the set number is greater than 3, more specifically, 5 or 10.
Obviously, the improvement of the above preferred embodiment can further consider all possible deletion situations, and expand the matching range as much as possible, which is determined by the safety of the food itself and is closely related to the detection object (pesticide residue) of the present application.
On the basis of fig. 1-3, see fig. 4-5.
FIG. 4 shows a schematic block flow diagram of a method of portable mass spectrometry in accordance with an embodiment of the present invention;
in fig. 4, the method includes the loop execution steps of steps S710-S760, and each step is specifically executed as follows:
s710: acquiring mass spectrogram data of a sample to be detected;
s720: extracting a first characteristic spectral line length in the mass spectrogram data; the first characteristic spectral line is a spectral line with the longest length in a mass spectrogram of the sample to be detected and other spectral lines larger than a first set threshold;
s730: querying the cloud standard mass spectrum database through the first characteristic spectral line length to obtain a first number of standard mass spectrograms;
s740: judging whether the first quantity meets a second preset condition, if so, entering a step S750;
otherwise, adjusting the first set threshold value, and returning to the step S720;
s750: determining potential pesticide residue categories contained in the sample to be detected based on the first number of standard mass spectrograms;
s760: and loading a corresponding pesticide residue identification model based on the potential pesticide residue category, and identifying the pesticide residue content in the sample to be detected by using the pesticide residue identification model.
The cloud standard mass spectrum database is stored with a plurality of standard mass spectrograms and second characteristic spectral line lengths corresponding to the standard mass spectrograms in advance;
the second characteristic spectral line is a spectral line with the longest length in the standard mass spectrogram and other spectral lines larger than a second set threshold;
the step S730 specifically includes: and if the second characteristic spectral line and the first characteristic spectral line of the current standard mass spectrogram meet a first preset condition, taking the current standard mass spectrogram as one of the first number of standard mass spectrograms.
Specifically, in contrast to the foregoing embodiments of fig. 1-3, the steps are specifically implemented as follows:
s710: acquiring mass spectrogram data of a sample to be detected;
preferably, the mass spectrum comprises a plurality; setting mass spectrogram data Spe of the sample to be detected o
S720: extracting a first characteristic spectral line length in each mass spectrogram data; the first characteristic spectral line is a spectral line with the longest length in a mass spectrogram of the sample to be detected and other spectral lines larger than a first set threshold;
specifically, the mass spectrum of the sample to be detected is obtained as Spe o Mass spectrum Spe of the sample o The longest amplitude value of the mid-spectral line is MaxSpe o The shortest (length) amplitude value of the spectral line length greater than the first set threshold is MinSpe o
S730: querying the cloud standard mass spectrum database through the first characteristic spectral line length to obtain a first number of standard mass spectrograms;
the cloud standard mass spectrum database stores spectrograms Spe of each standard product i Maximum spectral line amplitude value MaxSpe i The shortest spectral line amplitude value MinSpe greater than a second set threshold value i And longest line-shortest line difference MaxSpe i -MinSpe i
S740: judging whether the first quantity meets a second preset condition, if so, entering a step S750;
otherwise, adjusting the first set threshold, and returning to step S720;
specifically, if the first number is lower than a set number, the first set threshold is decreased, otherwise, the first set threshold is increased.
Preferably, the set number is greater than 3, more specifically, 5 or 10.
S750: determining potential pesticide residue categories contained in the sample to be detected based on the first number of standard mass spectrograms;
in particular, the method comprises the following steps of,
mass spectrum Spe of sample o And a standard product spectrogram Spe i When one of the following conditions is satisfied, res is set i As potential pesticide residue categories of the sample to be detected:
(1)
Figure BDA0003715107380000131
(2)
Figure BDA0003715107380000132
(3)
Figure BDA0003715107380000133
(4)
Figure BDA0003715107380000141
wherein, Δ H i (i =1,2, 3) is greater than 0 and less than 0.2, Δ H is a preset disturbance amount, 0 < Δ H < 0.05.
It can be seen that the above conditions are subjected to various changes of ratio, proportion, difference and square, so that the influences of noise, affine change and the like are avoided, the matching result is still not influenced when some affine transformation or rotation transformation occurs on the actual sample mass spectrogram, and certain tolerance and disturbance resistance exist.
S760: and loading a corresponding pesticide residue identification model based on the potential pesticide residue category, and identifying the pesticide residue content in the sample to be detected by using the pesticide residue identification model.
The method steps illustrated in fig. 4 may be implemented by automated programming of the electronic device in the form of computer program instructions, and thus, referring to fig. 5, fig. 5 is a schematic diagram of a portable terminal and a storage medium for implementing one of the portable mass spectrometry methods illustrated in fig. 4.
Fig. 5 shows a schematic block diagram of an example terminal device that may be used to implement the method described in fig. 4. Terminal devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices.
Specifically, fig. 5 may be a portable terminal comprising a memory and a processor, wherein the memory stores computer program instructions, and the processor executes the program instructions to implement all the steps of the portable mass spectrometry method of fig. 4.
According to the technical scheme, before pesticide residue detection is executed, the specific type of pesticide residue to be detected does not need to be preset, and the pesticide residue identification model to be loaded is determined to execute quantitative analysis after the potential pesticide residue range of the sample to be detected is determined based on the sample mass spectrogram and the standard mass spectrum database, so that the defect that only targeted analysis can be realized in the prior art is overcome; meanwhile, the method for determining the potential pesticide residue range adopts the modes of matching such as spectral line amplitude value ratio (difference, square) and the like, so that the matching result is still not influenced when some affine transformation or rotation transformation occurs in a mass spectrogram.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solutions of the present invention and not for limiting the same, and although the present invention is described in detail with reference to the above embodiments, those of ordinary skill in the art should understand that: modifications and equivalents may be made to the embodiments of the invention without departing from the spirit and scope of the invention, which is to be covered by the claims.
The present invention is not limited to the specific module configuration described in the related art. The prior art mentioned in the background section can be used as part of the invention to understand the meaning of some technical features or parameters. The scope of the present invention is defined by the claims.

Claims (7)

1. A portable mass spectrum analyzer comprises a mass spectrum acquisition unit, a standard mass spectrum query unit, a data extraction unit, a threshold adjustment unit and a model loading unit;
the method is characterized in that:
the mass spectrogram acquisition unit is used for acquiring mass spectrogram data of a sample to be detected;
the data extraction unit is used for extracting the length of a first characteristic spectral line in the mass spectrogram data, wherein the first characteristic spectral line is a spectral line with the longest length in the mass spectrogram of the sample to be detected and other spectral lines larger than a first set threshold;
the first set threshold is dynamically set within a preset range by the threshold adjusting unit;
the standard mass spectrum inquiring unit acquires a plurality of standard mass spectra through inquiring the first characteristic spectral line length in a cloud standard mass spectrum database;
the cloud standard spectrum database stores a plurality of standard spectrum diagrams and second characteristic spectrum lengths corresponding to the standard spectrum diagrams in advance;
the second characteristic spectral line is a spectral line with the longest length in the standard mass spectrogram and other spectral lines larger than a second set threshold;
if the second characteristic spectral line and the first characteristic spectral line of the current standard mass spectrogram meet a first preset condition, taking the current standard mass spectrogram as the standard mass spectrogram obtained by the query of the standard mass spectrogram query unit;
determining potential pesticide residue categories contained in the sample to be detected based on the standard mass spectrogram;
and the model loading unit loads a corresponding pesticide residue identification model based on the potential pesticide residue category, and identifies the pesticide residue content in the sample to be detected by using the pesticide residue identification model.
2. The portable mass spectrometer of claim 1, wherein:
the portable mass spectrum analyzer further comprises a wireless communication unit, and the standard mass spectrum query unit is in communication with the cloud standard mass spectrum database through the wireless communication unit.
3. The portable mass spectrometer of claim 1, wherein:
the standard mass spectrogram query unit queries a first number of standard mass spectrograms;
if the first number does not meet a second preset condition, the threshold value adjusting unit resets the first set threshold value within a preset range.
4. A portable mass spectrometry method based on a portable mass spectrometer as claimed in any one of claims 1 to 3.
5. A portable mass spectrometry method is used for detecting the pesticide residue category and the pesticide residue content in a sample, and is characterized by comprising the following steps:
s710: acquiring mass spectrogram data of a sample to be detected;
s720: extracting a first characteristic spectral line length in the mass spectrogram data; the first characteristic spectral line is a spectral line with the longest length in a mass spectrogram of the sample to be detected and other spectral lines larger than a first set threshold;
s730: querying the cloud standard mass spectrum database through the first characteristic spectral line length to obtain a first number of standard mass spectra;
s740: judging whether the first quantity meets a second preset condition, if so, entering a step S750;
otherwise, adjusting the first set threshold value, and returning to the step S720;
s750: determining potential pesticide residue categories contained in the sample to be detected based on the first number of standard mass spectrograms;
s760: loading a corresponding pesticide residue identification model based on the potential pesticide residue category, and identifying the pesticide residue content in the sample to be detected by using the pesticide residue identification model;
the cloud standard mass spectrum database is stored with a plurality of standard mass spectrograms and second characteristic spectral line lengths corresponding to the standard mass spectrograms in advance;
the second characteristic spectral line is a spectral line with the longest length in the standard mass spectrogram and other spectral lines larger than a second set threshold;
the step S730 specifically includes: and if the second characteristic spectral line and the first characteristic spectral line of the current standard mass spectrogram meet a first preset condition, taking the current standard mass spectrogram as one of the first number of standard mass spectrograms.
6. A portable mass spectrometry method according to claim 5 wherein:
the step S750 is to determine a first number of categories of potential pesticide residues contained in the sample to be tested based on the first number of standard mass spectrograms;
the step S760 loads the corresponding pesticide residue identification model based on the potential pesticide residues of the first number of categories, and the pesticide residue identification model quantitatively identifies a specific numerical value of the potential pesticide residues of each category.
7. A portable terminal comprising a memory and a processor, the memory storing computer program instructions for execution by the processor for performing all the steps of a portable mass spectrometry method according to any one of claims 5 or 6.
CN202210735322.5A 2022-06-27 2022-06-27 Portable mass spectrum analyzer, analysis method and terminal Active CN115144457B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210735322.5A CN115144457B (en) 2022-06-27 2022-06-27 Portable mass spectrum analyzer, analysis method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210735322.5A CN115144457B (en) 2022-06-27 2022-06-27 Portable mass spectrum analyzer, analysis method and terminal

Publications (2)

Publication Number Publication Date
CN115144457A CN115144457A (en) 2022-10-04
CN115144457B true CN115144457B (en) 2023-03-24

Family

ID=83407798

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210735322.5A Active CN115144457B (en) 2022-06-27 2022-06-27 Portable mass spectrum analyzer, analysis method and terminal

Country Status (1)

Country Link
CN (1) CN115144457B (en)

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011116028A1 (en) * 2010-03-15 2011-09-22 Anderson Forschung Group, Inc. Improved mass spectrometric assays for peptides
US10381207B2 (en) * 2013-09-04 2019-08-13 Shimadzu Corporation Data processing system for chromatographic mass spectrometry
CN105467057A (en) * 2015-12-28 2016-04-06 中国检验检疫科学研究院 GC-Q-TOF/MS detection technology for 708 pesticide residues in citrus fruits
TWI613445B (en) * 2016-04-01 2018-02-01 行政院農業委員會農業藥物毒物試驗所 Method and system for inspecting pesticide residue in argicultural products using mass spectrometry imaging analysis
US11879879B2 (en) * 2017-01-30 2024-01-23 Shimadzu Corporation Spectrum data processing device
CN108760909A (en) * 2017-04-17 2018-11-06 中国检验检疫科学研究院 A kind of edible Practice for Pesticide Residue in Agricultural Products is non-target, multi objective, rapid detection electronic method
CN110110743B (en) * 2019-03-26 2019-12-31 中国检验检疫科学研究院 Automatic recognition system and method for seven-class mass spectrum
CN111830141A (en) * 2019-04-15 2020-10-27 上海出入境检验检疫局动植物与食品检验检疫技术中心 Method for screening pesticide residues in medicine-food homology food by using pesticide residue mass spectrum database
CN111721829B (en) * 2020-05-29 2022-02-01 清华大学 Detection method based on portable mass spectrometer

Also Published As

Publication number Publication date
CN115144457A (en) 2022-10-04

Similar Documents

Publication Publication Date Title
Hastings et al. New algorithms for processing and peak detection in liquid chromatography/mass spectrometry data
Domingo-Almenara et al. Metabolomics data processing using XCMS
Courant et al. Development of a metabolomic approach based on liquid chromatography-high resolution mass spectrometry to screen for clenbuterol abuse in calves
US8884218B2 (en) Method and systems for mass spectrometry for identification and structural analysis of unknown substance
CN107818298B (en) General Raman spectrum feature extraction method for machine learning substance identification algorithm
JP2007005303A (en) Apparatus and method for processing of mass spectrometry data
US11423331B2 (en) Analytical data analysis method and analytical data analyzer
US20140142865A1 (en) Automatic Reconstruction of MS-2 Spectra from all Ions Fragmentation to Recognize Previously Detected Compounds
Kanawati et al. Fourier transform (FT)‐artifacts and power‐function resolution filter in Fourier transform mass spectrometry
CN111551644A (en) Method for tracing origin of imported fragrant rice based on ion mobility spectrometry technology
US9989505B2 (en) Mass spectrometry (MS) identification algorithm
US20140336951A1 (en) Identification of related peptides for mass spectrometry processing
Cai et al. Orbitool: a software tool for analyzing online Orbitrap mass spectrometry data
CN115144457B (en) Portable mass spectrum analyzer, analysis method and terminal
CN102042967A (en) Glucose aqueous solution quick identification method based on near infrared spectrum technology
CN108205042B (en) Anhua dark tea identification method
JP2022545666A (en) LC problem diagnosis from pressure traces using machine learning
Nielsen et al. A pre-processing strategy for liquid chromatography time-of-flight mass spectrometry metabolic fingerprinting data
Yang et al. Rapid classification of coffee origin by combining mass spectrometry analysis of coffee aroma with deep learning
Li et al. An effective two-stage spectral library search approach based on lifting wavelet decomposition for complicated mass spectra
CN104798174B (en) System, method and apparatus for carrying out compound identification with different collision energies using multiple spectrum
CN115184445B (en) Method and system for rapidly acquiring and analyzing drugs based on mass spectrometry
CN111337448A (en) Method for identifying cosmetics based on infrared spectrum technology
JP5627338B2 (en) Mass spectrometry method
WO2005015199A1 (en) Methods and systems for chromatography/mass-spectrometry analysis

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant