MIXTURE DETECTION METHOD AND DEVICE

Information

  • Patent Application
  • 20210109013
  • Publication Number
    20210109013
  • Date Filed
    November 28, 2017
    6 years ago
  • Date Published
    April 15, 2021
    3 years ago
  • Inventors
  • Original Assignees
    • CloudMinds (Shenzhen) Holdings Co., Ltd.
Abstract
A mixture detection method and device relating to substance detection technology. The proportion contents of substances contained in a mixture can be detected. The method includes: performing measurement spectrum line collection on a to-be-detected mixture to identify the kinds of substances in the to-be-detected mixture; selecting a characteristic peak of a measurement spectrum line of each kind of substance according to the kinds of substances, and obtaining an intensity proportion of the characteristic peak of each kind of substance; querying a relative activity database according to the kinds of the substances to obtain relative activity corresponding to each kind of substance; and determining the proportion contents of the substances contained in the mixture according to the intensity proportion of the characteristic peak of each kind of substance and the quotient of the relative activities.
Description
FIELD OF THE INVENTION

The embodiment of the present invention relates to substance detection technology, and more particularly to a mixture detection method and device.


BACKGROUND OF THE INVENTION

During substance detection, the detection by instrumental analysis at present is mainly based on the comparison of substance characteristics stored in databases, such as the comparison of the spectral characteristics of the substances. The volume is great when the database is constructed based on the mixture. For example, if the mixture database is constructed by using the original method, the data size is very large. If every two of 10,000 substances are mixed, there are 49,995,000 possibilities. If every three are mixed, there are 1.67*1011 possibilities. If different mixing proportions are considered, the types will increase by 100 times. These make the solution unfeasible. Therefore, the constructed database is mainly a single pure substance database, which can only satisfy the analysis and identification of a single substance. Moreover, by using the method, only the kinds of the substances can be identified, but the proportion contents of the substances contained in the mixture cannot be detected.


SUMMARY OF THE INVENTION

The embodiment of the present invention provides a mixture detection method and device capable of detecting the proportion contents of substances contained in a mixture.


In a first aspect, a mixture detection method is provided, including:


performing measurement spectrum line collection on a mixture to identify the kinds of substances in the mixture, wherein the solvent of the mixture is a first calibration substance;


selecting a characteristic peak of a measurement spectrum line of each kind of substance according to the kinds of substances, and obtaining an intensity proportion of the characteristic peak of each kind of substance;


querying a relative activity database according to the kinds of the substances to obtain relative activity corresponding to each kind of substance, wherein the relative activity database includes the relative activity L of at least one kind of standard sample substance, wherein







L
=

C





i
=
0

n




L


(
i
)


/
n




,




L(i)=I(i)/(T*W), and C is a constant; and when the first calibration substance is mixed with the standard sample substance according to a first predetermined proportion, T represents an integration time when the characteristic peak of the measurement spectrum line of the standard sample substance reaches an intensity value I(i), W represents the excitation intensity of a signal source of the measurement spectrum line, and n represents the collection times of the intensity value of the measurement spectrum line of the standard sample substance; and


determining the proportion contents of the substances contained in the mixture according to the intensity proportion of the characteristic peak of each kind of substance and a product of the relative activities.


In a second aspect, a mixture detection device is provided, including:


a detection unit, configured to perform measurement spectrum line collection on a mixture to identify the kinds of substances in the mixture, wherein the solvent of the mixture is a first calibration substance; and


a processing unit, configured to select a characteristic peak of a measurement spectrum line of each kind of substance according to the kinds of substances identified by the detection unit, and obtaining an intensity proportion of the characteristic peak of each kind of substance;


wherein the processing unit is configured to query a relative activity database according to the kinds of the substances identified by the detection unit to obtain relative activity corresponding to each kind of substance, wherein the relative activity database includes the relative activity L of at least one kind of standard sample substance, wherein







L
=

C





i
=
0

n




L


(
i
)


/
n




,




L(i)=I(i)/(T*W), and C is a constant; and when the first calibration substance is mixed with the standard sample substance according to a first predetermined proportion, T represents an integration time when the characteristic peak of the measurement spectrum line of the standard sample substance reaches an intensity value I(i), W represents the excitation intensity of a signal source of the measurement spectrum line, and n represents the collection times of the intensity value of the measurement spectrum line of the standard sample substance; and


the processing unit is further configured to determine the proportion contents of the substances contained in the mixture according to the intensity proportion of the characteristic peak of each kind of substance and a product of the relative activities.


In a third aspect, a mixture detection device is provided, including: a memory, an interface and a processor; the memory and a communication interface are coupled to the processor; and the memory is configured to store computer executable codes, the processor is configured to execute the computer executable codes to control the execution of the mixture detection method of the first aspect, and the interface is configured for data transmission of the mixture detection device and an external device.


In a fourth aspect, a computer readable storage medium storing one or more programs is provided, the one or more programs include instructions, and the instructions cause a computer to execute the mixture detection method of the first aspect when being executed by the computer.


In the above solutions, firstly, the measurement spectrum line collection is performed on the mixture to identify the kinds of substances in the mixture, and the solvent of the mixture is the first calibration substance; then, the characteristic peak of the measurement spectrum line of each kind of substance is selected according to the kinds of substances, and the intensity proportion of the characteristic peak of each kind of substance is obtained; the relative activity database is queried according to the kinds of the substances to obtain the relative activity corresponding to each kind of substance, wherein the relative activity database includes the relative activity L of at least one kind of standard sample substance, wherein







L
=

C





i
=
0

n




L


(
i
)


/
n




,




L(i)=I(i)/(T*W), and C is a constant; and when the first calibration substance is mixed with the standard sample substance according to the first predetermined proportion, T represents an integration time when the characteristic peak of the measurement spectrum line of the standard sample substance reaches an intensity value I(i), W represents the excitation intensity of a signal source of the measurement spectrum line, and n represents the collection times of the intensity value of the measurement spectrum line of the standard sample substance; and the proportion contents of the substances contained in the mixture are determined according to the intensity proportion of the characteristic peak of each kind of substance and the product of the relative activities. Therefore, the proportion contents of the substances contained in the mixture are detected.





BRIEF DESCRIPTION OF THE DRAWINGS

To illustrate technical solutions in the embodiments of the present invention more clearly, a brief introduction on the accompanying drawings which are needed in the description of the embodiments or the prior art is given below. Apparently, the accompanying drawings in the description below are merely some of the embodiments of the present invention, based on which other accompanying drawings can be obtained by those of ordinary skill in the art without any creative effort.



FIG. 1 is a flowchart of a mixture detection method provided by an embodiment of the present invention;



FIG. 2 is a flowchart of a mixture detection method provided by another embodiment of the present invention;



FIG. 3 is a flowchart of a mixture detection method provided by yet another embodiment of the present invention;



FIG. 4 is a structural schematic diagram of a mixture detection device provided by an embodiment of the present invention;



FIG. 5A is a structural schematic diagram of a mixture detection device provided by another embodiment of the present invention;



FIG. 5B is a structural schematic diagram of a mixture detection device provided by yet another embodiment of the present invention.





DETAILED DESCRIPTION OF THE EMBODIMENTS

It should be noted that, in the embodiment of the present invention, the words “exemplary” or “for example” and the like are used as examples, illustrations or descriptions. Any embodiment or design solution described as “exemplary” or “for example” in the embodiment of the present invention should not be construed as preferred or more advantageous over other embodiments or designs. Exactly, the words “exemplary” or “for example” and the like are used for presenting related concepts in a specific manner.


It should be noted that, in the embodiment of the present invention, “of”, “relevant” and “corresponding” can sometimes be used interchangeably. It should be noted that, when the difference is not emphasized, the meanings to be expressed are the same.


The mixture detection device provided by the embodiment of the present invention is a PC or the like installed with a software client or a software system or a software application that can execute the method provided by the embodiment of the present invention, and the specific hardware implementation environment can be a general-purpose computer form, or an ASIC manner, or FPGA, or some programmable extension platforms such as an Xtensa platform of Tensilica and so on. The basic components include a processor, a hard disk, a memory, a system bus and the like, which are similar to the general-purpose computer architecture.


Based on the above-mentioned mixture detection device, as shown in FIG. 1, the embodiment of the present invention provides a mixture detection method, including the following steps:



101, measurement spectrum line collection is performed on a mixture to identify the kinds of substances in the mixture, wherein the solvent of the mixture is a first calibration substance.



102, a characteristic peak of a measurement spectrum line of each kind of substance is selected according to the kinds of substances, and an intensity proportion of the characteristic peak of each kind of substance is obtained.



103, a relative activity database is queried according to the kinds of the substances to obtain relative activity corresponding to each kind of substance.


Wherein the relative activity database includes the relative activity L of at least one kind of standard sample substance.







L
=

C





i
=
0

n




L


(
i
)


/
n




,




L(i)=I(i)/(T*W), and C is a constant; and when the first calibration substance is mixed with the standard sample substance according to a first predetermined proportion, T represents an integration time when the characteristic peak of the measurement spectrum line of the standard sample substance reaches an intensity value I(i), W represents the excitation intensity of a signal source of the measurement spectrum line, and n represents the collection times of the intensity value of the measurement spectrum line of the standard sample substance. Wherein the standard sample substance is mixed with the first calibration substance in equal proportions, the measurement spectrum line includes at least one of the following: Raman spectrum, infrared spectrum, laser induced breakdown spectrum LIBS, mass spectrum, chromatography, and ionic migration spectrum; and n is at least one, and is 3-5 in a preferred example.



104, the proportion contents of the substances contained in the mixture are determined according to the intensity proportion of the characteristic peak of each kind of substance and a product of the relative activities.


In the above solution, firstly, the measurement spectrum line collection is performed on the mixture to identify the kinds of substances in the mixture, and the solvent of the mixture is the first calibration substance; then, the characteristic peak of the measurement spectrum line of each kind of substance is selected according to the kinds of substances, and the intensity proportion of the characteristic peak of each kind of substance is obtained; the relative activity database is queried according to the kinds of the substances to obtain the relative activity corresponding to each kind of substance, wherein the relative activity database includes the relative activity L of at least one kind of standard sample substance, wherein







L
=

C





i
=
0

n




L


(
i
)


/
n




,




L(i)=I(i)/(T*W), and C is a constant; and when the first calibration substance is mixed with the standard sample substance according to the first predetermined proportion, T represents an integration time when the characteristic peak of the measurement spectrum line of the standard sample substance reaches an intensity value I(i), W represents the excitation intensity of a signal source of the measurement spectrum line, and n represents the collection times of the intensity value of the measurement spectrum line of the standard sample substance; and the proportion contents of the substances contained in the mixture are determined according to the intensity proportion of the characteristic peak of each kind of substance and the product of the relative activities. Therefore, the proportion contents of the substances contained in the mixture are detected.


Before the step 101, the relative activity database needs to be constructed. As shown in FIG. 2, the method includes the following steps:



201, when the first calibration substance and the standard sample substance are mixed according to a first predetermined proportion, the excitation intensity W of the signal source is set, and the integration time T is set.



202, the relative activity L of the standard sample substance is obtained, when the characteristic peak of the measurement spectrum line of the standard sample substance reaches the intensity value I(i).



203, the relative activity L of at least one standard sample substance is added to the relative activity database.


It should be noted that, when the standard sample substances are different, the solvents (the first calibration substances) capable of dissolving the same are also different, therefore, in order to perform unified calculation, the relative activities can be converted into a unified relative activity with reference to a second calibration substance. For example, if a part of substances in the relative active database is soluble in water, a part of substances are soluble in ethanol, then the relative activities L of the substances soluble in water can be directly calculated, and the constant is set as C=1. The value of the constant C of the substances soluble in ethanol can be calculated according to the following method:


When the first calibration substance and the second calibration substance are mixed according to a second proportion, the excitation intensity W of the signal source is set, and the integration time T is set; the relative activity








L
1

=




i
=
0

n





L
1



(
i
)


/
n



,




L1(i)=I1(i)/(T*W) of the first calibration substance is obtained, when the characteristic peak of the measurement spectrum line of the first calibration substance reaches the intensity value I1(i); the relative activity








L
2

=




i
=
0

n





L
2



(
i
)


/
n



,




L2(i)=I2(i)/(T*W) of the first calibration substance is obtained, when the characteristic peak of the measurement spectrum line of the second calibration substance reaches the intensity value I2(i); and the constant C=L1\L2 is calculated. After ethanol and water are mixed, the ratio of the relative activity Lalcohol of the ethanol to the relative activity Lwater of water is set as C. Based on the above method, the relative activity L can be converted to the unified reference calibration substance, so that the subsequent calculation of the proportion contents of the substances contained in the mixture is not affected. Of course, the above descriptions are merely illustrations by using the ethanol and water as the calibration substances. When other substances are used as the calibration substances, the calculation method of the constant a is similar, and will not be described again.


Exemplarily, using an example that the measurement spectrum line is the Raman spectrum, the signal source is a laser, the to-be-detected mixture is a mixture of substances A and B, and the detection method thereof, as shown in FIG. 3, is specifically as follows:



301, the excitation intensity W of the laser is set, the integration time T is set, and the relative activity L of the standard sample substance is obtained, when the characteristic peak of the measurement spectrum line of the standard sample substance reaches the intensity value I(i).


Exemplarily, the value range of the integration time T is generally 0.1-10 seconds, the excitation intensity is 350 mW, the intensity value of the characteristic peak of the Raman spectrum of the standard sample substance can be collected for 3-5 times, and then averaging is performed to obtain the relative activity







L
=

C





i
=
0

n




L


(
i
)


/
n




,




of the standard sample substance. For the value of C herein, reference can be made to the above method and it is not described again.



302, the relative activity L of at least one standard sample substance is added to the relative activity database.


The relative activity of each substance is obtained by analogy via the steps 301-302, and the relative activity database is established.



303, Raman spectrum collection is performed on the to-be-detected mixture, and the kinds A and B of the substances in the to-be-detected mixture are identified.



304, an intensity proportion CA of the characteristic peak of the Raman spectrum of A and the intensity proportion CB of the characteristic peak of the Raman spectrum of B are obtained according to the characteristic peaks of the Raman spectra of A and B.



305, the relative activity database is queried to obtain the Raman relative activity LA of A and the Raman relative activity LB of B.



306, the proportion contents of A and B in the to-be-detected mixture are calculated as: (CA/LA):(CB/LB).


The above descriptions are merely illustrations by taking the mixture of two substances as an example, a plurality of mixtures can be sequentially calculated according to the method, the above analysis process of the proportion of the mixture can be applied to joint detection scenarios such as non-destructive detection reaction degree of a chemical reaction process, reaction completion degree in a substance synthesis process such as drugs and fertilizers and the like.


The embodiment of the present invention can divide the function modules of the mixture detection device according to the above method example. For example, the function modules can be divided according to the functions, and two or more functions can also be integrated into one processing module. The above integrated modules can be implemented in the form of hardware or in the form of software functional modules. It should be noted that, the division of the modules in the embodiment of the present invention is schematic and is only a logical function division, and there may be other division manners in the actual implementation.


An example is provided, FIG. 4 shows a possible structural schematic diagram of the mixture detection device provided involved in the embodiment of the present invention, and the mixture detection device includes a processing unit 41 and a detection unit 42. The processing unit 41 is configured to support the mixture detection device to execute the processes 102, 103 and 104 in FIG. 1; and the detection unit 42 is configured to support the mixture detection device to execute the process 101 in FIG. 1. All related contents in the steps involved in the above method embodiment can be quoted to the function descriptions of the corresponding functional modules, for example, it is not repeated redundantly herein.


Another example is provided, FIG. 5A show a possible structural schematic diagram of the mixture detection device provided involved in the embodiment of the present invention. The mixture detection device includes a communication module 51 and a processing module 52. The processing module 52 is configured to control and managing the actions of the mixture detection device, for example, the processing module 52 is configured to support the mixture detection device to execute the processes 101-104 in FIG. 1. The communication module 51 is configured to support the mixture detection device to perform data transmission with other external devices, such as the communication with a sensor, to obtain a collection result of the sensor on a measurement spectrum line. The mixture detection device can further include a storage module for storing program codes and data of the mixture detection device.


The processing module 52 can be a processor or a controller, for example, can be a central processing unit (CPU), a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic device, a transistor logic device, a hardware component, or any combination thereof. The processing module can implement or execute various illustrative logical blocks, modules and circuits described in combination with the contents disclosed in the present invention. The processor can also be a combination for achieving computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, or the like. The communication module 81 can be a transceiver, a transceiver circuit, a communication interface or the like. The storage module can be a memory.


Exemplarily, the processing module 52 can be a processor, the communication module 51 can be a communication interface, and the storage module can be a memory. As shown in FIG. 5B, a mixture detection device is provided, including: a processor 61, a communication interface 62, a memory 63 and a bus 64; the memory 63 and the communication interface 62 are coupled to the processor 61 via the bus 64; and the bus 64 can be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus or the like. The bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, the bus is just expressed by a thick line in FIG. 6B; however, it does not mean that there is only one bus or one type of buses.


The embodiment of the present invention further provides a computer readable storage medium storing one or more programs, wherein the one or more programs include instructions, and the instructions cause a computer to execute the mixture detection method of the above embodiment when being executed by the computer.


The embodiment of the present invention further provides a computer program product that can be directly loaded into an internal memory of a computer and contains software codes, and the computer program can be loaded and executed by the computer to implement the mixture detection method provided by the above embodiment.


The steps of the method or algorithm described in combination with the disclosed contents of the present invention can be implemented in a hardware form, or can be implemented by a processor executing software instructions. The software instructions can be composed of corresponding software modules, and the software modules can be stored in a random access memory (RAM), a flash memory, a read only memory (ROM), an erasable programmable read only memory (EPROM), an electrically erasable programmable read only memory (EEPROM), a register, a hard disk, a mobile hard disk, a compact disk read only (CD-ROM) or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor, so that the processor can read information from the storage medium and can write information into the storage medium. Of course, the storage medium can also be a constituent part of the processor. The processor and the storage medium can be located in an ASIC. Additionally, the ASIC can be located in a core network interface device. Of course, the processor and the storage medium can also exist as discrete components in the core network interface device.


Those skilled in the art will appreciate that, in one or more examples described above, the functions described by the present invention can be implemented by hardware, software, firmware, or any combination thereof. When implemented by the software, these functions can be stored in a computer readable medium or transmitted as one or more instructions or codes on the computer readable medium. The computer readable media includes a computer storage medium and a communication medium, wherein the communication medium includes any medium that is convenient for transmitting a computer program from one location to another. The storage medium can be any available medium that can be accessed by a general purpose or special purpose computer.


The objectives, the technical solutions and the beneficial effects of the present invention are further described in detail in the above specific embodiments. It should be understood that the foregoing descriptions are only exemplary embodiments of the present invention and are not intended to limit the present invention, and any modifications, equivalent substitutions, improvements and the like made on the basis of the technical solutions of the present invention should be included in the protection scope of the present invention

Claims
  • 1. A mixture detection method, comprising: performing measurement spectrum line collection on a mixture to identify the kinds of substances in the mixture, wherein the solvent of the mixture is a first calibration substance;selecting a characteristic peak of a measurement spectrum line of each kind of substance according to the kinds of substances, and obtaining an intensity proportion of the characteristic peak of each kind of substance;querying a relative activity database according to the kinds of the substances to obtain relative activity corresponding to each kind of substance, wherein the relative activity database comprises the relative activity L of at least one kind of standard sample substance, wherein
  • 2. The method according to claim 1, further comprising: when the first calibration substance and the standard sample substance are mixed according to a first predetermined proportion, setting the excitation intensity W of the signal source, and setting the integration time T;obtaining the relative activity L of the standard sample substance, when the characteristic peak of the measurement spectrum line of the standard sample substance reaches the intensity value I(i); andadding the relative activity L of at least one standard sample substance to the relative activity database.
  • 3. The method according to claim 1, further comprising: when the first calibration substance and the standard sample substance are mixed according to a second predetermined proportion, setting the excitation intensity W of the signal source, and setting the integration time T;obtaining the relative activity
  • 4. The method according to claim 1, wherein the standard sample substance is mixed with the first calibration substance in equal proportions.
  • 5. The method according to claim 1, wherein the measurement spectrum line comprises at least one of the following: Raman spectrum, infrared spectrum, laser induced breakdown spectrum LIBS, mass spectrum, chromatography, and ionic migration spectrum.
  • 6.-10. (canceled)
  • 11. A mixture detection device, comprising: a memory, an interface and a processor; the memory and a communication interface are coupled to the processor; the memory is configured to store computer executable codes, the interface is configured for data transmission of the mixture detection device and an external device, and the processor is configured to execute the computer executable codes to control the execution of a mixture detection method comprising: performing measurement spectrum line collection on a mixture to identify the kinds of substances in the mixture, wherein the solvent of the mixture is a first calibration substance;selecting a characteristic peak of a measurement spectrum line of each kind of substance according to the kinds of substances, and obtaining an intensity proportion of the characteristic peak of each kind of substance;querying a relative activity database according to the kinds of the substances to obtain relative activity corresponding to each kind of substance, wherein the relative activity database comprises the relative activity L of at least one kind of standard sample substance, wherein
  • 12-13. (canceled)
  • 14. The mixture detection device according to claim 11, wherein the processor is further configured to execute the computer executable instructions to implement the following steps: when the first calibration substance and the standard sample substance are mixed according to a first predetermined proportion, setting the excitation intensity W of the signal source, and setting the integration time T;obtaining the relative activity L of the standard sample substance, when the characteristic peak of the measurement spectrum line of the standard sample substance reaches the intensity value I(i); andadding the relative activity L of at least one standard sample substance to the relative activity database.
  • 15. The mixture detection device according to claim 11, wherein the processor is further configured to execute the computer executable instructions to implement the following steps: when the first calibration substance and the standard sample substance are mixed according to a second predetermined proportion, setting the excitation intensity W of the signal source, and setting the integration time T;obtaining the relative activity
  • 16. A computer readable storage medium storing one or more programs, wherein the one or more programs comprise instructions, and when being executed by the computer the instructions cause a computer to execute the mixture detection method comprising: performing measurement spectrum line collection on a mixture to identify the kinds of substances in the mixture, wherein the solvent of the mixture is a first calibration substance;selecting a characteristic peak of a measurement spectrum line of each kind of substance according to the kinds of substances, and obtaining an intensity proportion of the characteristic peak of each kind of substance;
CROSS-REFERENCE TO RELATED APPLICATION

This application claims the benefit of PCT application No. PCT/CN2017/113420 filed on Nov. 28, 2017, the contents of which are incorporated herein by reference.

PCT Information
Filing Document Filing Date Country Kind
PCT/CN2017/113420 11/28/2017 WO 00