Component detection method, device, system and medium
By irradiating the coated sample with light within a characteristic wavelength range and filtering out interference information, the problems of high cost and low efficiency in the detection of components in coated samples are solved, achieving low-cost, high-efficiency and accurate component detection.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- CHINA TOBACCO FUJIAN IND
- Filing Date
- 2026-02-10
- Publication Date
- 2026-05-05
AI Technical Summary
In the production process of tobacco product raw materials, the chemical composition detection of coated samples is costly and inefficient, and existing offline detection methods are difficult to guarantee intra-batch stability and inter-batch consistency.
The coated sample is irradiated with light within a characteristic wavelength range. The presence of characteristic peaks is determined by characteristic spectral analysis, thereby enabling the detection of the analyte in the coated sample. A filter is used to filter out light outside the characteristic wavelength range to reduce interference and improve the accuracy of the spectrum.
It achieves low-cost, efficient and accurate component detection, improves the accuracy and consistency of chemical component detection in coated samples, and reduces detection costs.
Smart Images

Figure CN121978043A_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of tobacco production technology, and in particular to a component detection method, a wavelength determination method, a component detection device, a component detection system, a computer-readable storage medium, and a computer program product. Background Technology
[0002] In the production process of tobacco product raw materials (such as reconstituted tobacco), the chemical composition of the coating substrate is relatively fixed and has good batch consistency. However, the stability of the chemical composition in the coated sample after coating with coating liquid has a significant impact on the intra-batch stability and inter-batch consistency of the tobacco product raw materials.
[0003] In related technologies, in order to evaluate the stability of various chemical components in the coated sample, offline detection of various chemical components in the coated sample is carried out through chemical experiments. Summary of the Invention
[0004] The inventors of this disclosure have discovered the following problems in the aforementioned related technologies: high cost and low efficiency of component detection.
[0005] To address the aforementioned problems, the present disclosure provides the following solutions.
[0006] According to some embodiments of this disclosure, a component detection method is provided, comprising: irradiating a coated sample prepared by adding a coating liquid to a coated substrate with light whose wavelength is within a characteristic wavelength range corresponding to the component to be measured, thereby obtaining a characteristic spectrum corresponding to the coated sample, wherein the characteristic wavelength corresponding to the component to be measured is within the characteristic wavelength range, and the characteristic wavelength range is set according to the half-peak width and height of the characteristic peak corresponding to the characteristic wavelength; determining whether the characteristic peak corresponding to the characteristic wavelength exists in the characteristic spectrum; and detecting the component to be measured in the coated sample according to the result of the determination.
[0007] In some embodiments, the size of the characteristic wavelength range is inversely correlated with the full width at half maximum (FWHM) of the characteristic peak.
[0008] In some embodiments, the component to be tested includes multiple components, the characteristic wavelength includes multiple sets of wavelengths corresponding to the multiple components, the characteristic wavelength range includes multiple wavelength ranges corresponding to the multiple sets of wavelengths, and the step of irradiating a coated sample made by adding a coating liquid to a coated substrate with light whose wavelength is within the characteristic wavelength range corresponding to the component to be tested includes: filtering the light in the full wavelength range using a filter configured with multiple filter components corresponding to the multiple wavelength ranges, wherein each of the multiple filter components is configured to allow light in the wavelength range corresponding to each filter component to pass through.
[0009] In some embodiments, the characteristic wavelength is determined as follows: a first spectrum corresponding to the coated substrate and a second spectrum corresponding to the component to be measured are obtained, wherein the first spectrum includes a plurality of first absorption peaks and a first wavelength corresponding to each of the plurality of first absorption peaks, and the second spectrum includes a plurality of second absorption peaks and a second wavelength corresponding to each of the plurality of second absorption peaks; the characteristic wavelength is determined based on the difference between the first wavelength and the second wavelength.
[0010] In some embodiments, determining the characteristic wavelength based on the difference between the first wavelength and the second wavelength includes: determining the characteristic wavelength based on a second wavelength among the plurality of second wavelengths whose difference from the first wavelength is greater than a threshold.
[0011] In some embodiments, determining the characteristic wavelength based on a second wavelength among the plurality of second wavelengths whose difference from the first wavelength is greater than a threshold includes: determining a target wavelength corresponding to a target functional group from the plurality of second wavelengths; determining whether the difference between the target wavelength and the first wavelength is greater than the threshold to obtain a wavelength determination result; and determining the characteristic wavelength based on the wavelength determination result.
[0012] In some embodiments, determining the characteristic wavelength based on the wavelength determination result includes: determining the at least some wavelengths as the characteristic wavelength in response to the wavelength determination result being that the difference between at least some wavelengths in the target wavelength and the first wavelength is greater than the threshold; and determining the second wavelengths among the plurality of second wavelengths that are other than the target wavelength and whose difference between them and the first wavelength is greater than the threshold as the characteristic wavelength in response to the wavelength determination result being that the difference between all wavelengths in the target wavelength and the first wavelength is not greater than the threshold.
[0013] In some embodiments, determining the at least some wavelengths as the characteristic wavelength in response to the result of the wavelength determination being that the difference between at least some wavelengths in the target wavelengths and the first wavelength is greater than the threshold includes: determining the at least some wavelengths as the characteristic wavelengths, and selecting one or more non-target wavelengths from the plurality of second wavelengths that are other than the target wavelengths and whose difference between them and the first wavelength is greater than the threshold as the characteristic wavelengths.
[0014] In some embodiments, the analyte includes nicotine, and the target functional group includes a pyrrolidine ring, N-methyl, pyrrole group, and aromatic tertiary amine.
[0015] In some embodiments, the characteristic wavelength includes multiple wavelengths, and determining whether there is a characteristic peak in the characteristic spectrum corresponding to the characteristic wavelength includes: determining whether there are multiple characteristic peaks in the characteristic spectrum corresponding to the multiple wavelengths, not less than a preset number.
[0016] In some embodiments, determining whether the analyte exists in the coated sample based on the result of the judgment includes: in response to a yes result of the judgment, determining that the analyte exists in the coated sample and determining the content of the analyte based on the characteristic peak; in response to a no result of the judgment, determining that the analyte does not exist in the coated sample.
[0017] According to some other embodiments of this disclosure, a component detection device is provided, comprising: an acquisition module configured to irradiate a coated sample prepared by adding a coating liquid to a coated substrate with light whose wavelength is within a characteristic wavelength range corresponding to the component to be measured, thereby obtaining a characteristic spectrum corresponding to the coated sample, wherein the characteristic wavelength corresponding to the component to be measured is within the characteristic wavelength range, and the characteristic wavelength range is set according to the half-peak width and height of the characteristic peak corresponding to the characteristic wavelength; a judgment module configured to determine whether the characteristic peak corresponding to the characteristic wavelength exists in the characteristic spectrum; and a detection module configured to detect the component to be measured in the coated sample according to the judgment result.
[0018] According to further embodiments of this disclosure, a component detection device is provided, comprising:
[0019] A memory; and a processor coupled to the memory, the processor being configured to execute the component detection method of any of the above embodiments based on instructions stored in the memory device.
[0020] According to further embodiments of this disclosure, a component detection system is provided, comprising: the component detection device of any of the above embodiments and a filter. The filter is configured to allow light with wavelengths within a characteristic wavelength range corresponding to the component to be measured to irradiate a coated sample prepared by adding a coating liquid to a coated substrate.
[0021] In some embodiments, the filter is configured with a plurality of filter components corresponding to a plurality of wavelength ranges, each of the plurality of filter components being configured to allow light within a wavelength range corresponding to each filter component to pass through.
[0022] According to further embodiments of the present disclosure, a computer-readable storage medium is provided that stores computer instructions thereon, which, when executed by a processor, implement the component detection method of any of the above embodiments.
[0023] According to further embodiments of this disclosure, a computer program product is also provided, including instructions that, when executed by a processor, cause the processor to perform the component detection method according to any of the foregoing embodiments.
[0024] In the above embodiments, the characteristic spectrum used for component detection is generated by the interaction between light within the characteristic wavelength range and the analyte (e.g., absorption of light at the characteristic wavelength). This avoids interference from non-analyte components after the sample is irradiated with light across the entire wavelength range, thus improving the accuracy of the acquired characteristic spectrum. Therefore, the accuracy of component detection based on the acquired characteristic spectrum is improved, achieving low-cost, efficient, and accurate component detection. Attached Figure Description
[0025] The accompanying drawings, which form part of this specification, illustrate embodiments of this disclosure and, together with the specification, serve to explain the principles of this disclosure.
[0026] This disclosure will become clearer with reference to the accompanying drawings and the following detailed description, wherein:
[0027] Figure 1 A flowchart illustrating a component detection method according to some embodiments of the present disclosure is shown;
[0028] Figure 2 A schematic diagram of the structure of a filter according to some embodiments of the present disclosure is shown;
[0029] Figure 3 A flowchart illustrating a wavelength determination method according to some embodiments of the present disclosure is shown;
[0030] Figure 4 A schematic diagram of a first and a second spectrum according to some embodiments of the present disclosure is shown;
[0031] Figure 5 A block diagram of a component detection apparatus according to some embodiments of the present disclosure is shown;
[0032] Figure 6 Block diagrams of component detection apparatus according to other embodiments of the present disclosure are shown;
[0033] Figure 7 A block diagram of a component detection apparatus according to some embodiments of the present disclosure is shown. Detailed Implementation
[0034] Various exemplary embodiments of the present disclosure will now be described in detail with reference to the accompanying drawings. It should be noted that, unless otherwise specifically stated, the relative arrangement, numerical expressions, and values of the components and steps set forth in these embodiments do not limit the scope of the present disclosure.
[0035] At the same time, it should be understood that, for ease of description, the dimensions of the various parts shown in the accompanying drawings are not drawn according to actual scale.
[0036] The following description of at least one exemplary embodiment is merely illustrative and is in no way intended to limit this disclosure or its application or use.
[0037] Techniques, methods, and equipment known to those skilled in the art may not be discussed in detail, but where appropriate, such techniques, methods, and equipment should be considered part of the specification.
[0038] In all examples shown and discussed herein, any specific values should be interpreted as merely exemplary and not as limitations. Therefore, other examples of exemplary embodiments may have different values.
[0039] It should be noted that similar labels and letters in the following figures indicate similar items; therefore, once an item is defined in one figure, it does not need to be discussed further in subsequent figures.
[0040] As mentioned earlier, offline detection of various chemical components in coated samples is costly and inefficient.
[0041] The inventors of this disclosure have discovered that spectroscopic analysis technology can simultaneously determine the content of multiple chemical components using small sample quantities, by utilizing the differences in absorption wavelengths and intensities produced by different functional groups or the same functional group in different chemical environments. This improves the efficiency and reduces the cost of component detection. For example, continuous spectroscopy techniques include full-spectrum techniques (such as Fourier transform and scanning monochromatic grating) and regional spectroscopy techniques (such as diode arrays and acousto-optic modulation). Continuous spectroscopy techniques comprehensively scan and capture information from the sample, and then detect the analyte.
[0042] However, due to the complex and diverse chemical composition of the coating solution, irradiating the coated sample (made by adding the coating solution to the substrate) with light across the entire wavelength range can easily introduce interference information from other components in the coated sample into the acquired spectrum. This makes it difficult to accurately distinguish the spectral characteristics caused by the analyte in the acquired spectrum, resulting in low accuracy in component analysis based on the acquired spectrum.
[0043] In view of this, this disclosure proposes a component detection method that can achieve low-cost, efficient and accurate component detection.
[0044] For example, this component detection method can be implemented according to the following embodiments.
[0045] Figure 1A flowchart illustrating a component detection method according to some embodiments of the present disclosure is shown.
[0046] like Figure 1 As shown, in step 110, the coated sample, which is made by adding coating liquid to a coated substrate, is irradiated with light whose wavelength is within the characteristic wavelength range corresponding to the component to be measured, so as to obtain the characteristic spectrum corresponding to the coated sample.
[0047] Here, the characteristic wavelength corresponding to the component to be measured is located within the characteristic wavelength range, and the characteristic wavelength range is set according to the half-peak height and width of the characteristic peak corresponding to the characteristic wavelength.
[0048] It should be noted that the half-width at half-maximum (FWHM) of a characteristic peak refers to the full width (wavelength range) at half the height of the characteristic peak (also known as the characteristic peak height). The FWHM of a characteristic peak can reflect the sharpness of the characteristic peak. For example, the wider the FWHM of a characteristic peak, the smoother the characteristic peak, that is, the lower its sharpness; the narrower the FWHM of a characteristic peak, the sharper the characteristic peak, that is, the higher its sharpness.
[0049] In step 120, it is determined whether there is a characteristic peak in the characteristic spectrum that corresponds to the characteristic wavelength.
[0050] In step 130, based on the judgment result, the analyte in the coated sample is detected. For example, the presence of the analyte in the coated sample is detected based on the judgment result.
[0051] In the above embodiments, the coated sample is irradiated with light whose wavelength is within the characteristic wavelength range corresponding to the component to be measured to obtain the corresponding characteristic spectrum, and the component to be measured in the coated sample is detected based on whether there is a characteristic peak in the characteristic spectrum corresponding to the characteristic wavelength.
[0052] In this way, the characteristic spectrum used for component detection is generated by the interaction between light within the characteristic wavelength range and the component to be measured (e.g., the absorption of light at the characteristic wavelength). This avoids interference information caused by the effect of non-components after the sample is irradiated with light across the entire wavelength range, thus improving the accuracy of the obtained characteristic spectrum.
[0053] Furthermore, by using the full width at half maximum (FWHM) of the characteristic peaks to define the characteristic wavelength range, the energy of the light source is concentrated in the effective wavelength band, avoiding energy waste at ineffective wavelengths. This ensures that the energy of the incident light is concentrated in the most effective excitation region, which helps improve the accuracy of the acquired characteristic spectra. Therefore, the accuracy of component detection based on the acquired characteristic spectra is improved, achieving low-cost, efficient, and accurate component detection.
[0054] In some embodiments, the size of the characteristic wavelength range is inversely related to the full width at half maximum (FWHM) of the characteristic peak. For example, the wider the FWHM of the characteristic peak, i.e., the flatter the characteristic peak, the smaller the allowable characteristic wavelength range can be set; the narrower the FWHM of the characteristic peak, i.e., the sharper the characteristic peak, the larger the allowable characteristic wavelength range can be set.
[0055] For example, a filter can be used to filter light across the entire wavelength range to allow light with wavelengths within the characteristic wavelength range to illuminate the coated sample. For instance, the filter can be configured with filtering components corresponding to the characteristic wavelength range. These filtering components can be, for example, optical filters.
[0056] As one implementation method, after determining the characteristic wavelength corresponding to the component to be measured, the range of characteristic wavelengths that the filter can allow to pass through can be set by adjusting the half-width at half-maximum (HWHM) of the filter. Here, the HWHM of the filter refers to the bandwidth at half the peak transmittance in the transmittance curve of the filter for filtering light.
[0057] The full width at half maximum (FWHM) of a filter indicates the range of wavelengths that the filter allows to pass through. The narrower the FWHM, the smaller the range of characteristic wavelengths that the filter allows to pass through, indicating that the filter has higher selectivity for characteristic wavelengths, and thus can better transmit light of other wavelengths in the non-characteristic wavelength range.
[0058] For example, if the sharpness of the characteristic peak is high, that is, the narrower the half-width at half-maximum (WHM) of the characteristic peak, the WHM of the filter can be widened to allow the filter to pass through a wider range of characteristic wavelengths; if the sharpness of the characteristic peak is low, that is, the wider the WHM of the characteristic peak, the WHM of the filter can be narrowed to allow the filter to pass through a smaller range of characteristic wavelengths.
[0059] In the above embodiments, if the characteristic peak corresponding to the analyte is relatively flat (i.e., the half-maximum width is large), it indicates that the response intensity change caused by the interaction between light and the analyte is small over a wide wavelength range, resulting in low spectral selectivity. In this case, if the sample is still allowed to be irradiated with light over a wide wavelength range, the effective light energy will be dispersed across multiple wavelengths with insignificant response differences, which will not only reduce the excitation response at the characteristic wavelength but may also introduce unnecessary interference information. Therefore, appropriately narrowing the allowed wavelength range can improve the accuracy of the obtained characteristic spectrum.
[0060] If the characteristic peak is sharp (i.e., the half-maximum width at half-maximum is small), it indicates that the analyte produces a strong response only within a very narrow wavelength band, with significant differences in response between different wavelengths. However, excessively narrow wavelength restrictions can easily lead to instability in the filtered optical signal. Therefore, in this case, appropriately widening the permissible wavelength range can improve the reliability of the obtained characteristic spectrum while ensuring the main excitation response.
[0061] In this way, by setting the characteristic wavelength range according to the inverse correlation between the half-peak height and width corresponding to the characteristic peak, the accuracy and reliability of the characteristic spectrum can be effectively improved, thereby helping to improve the accuracy of component detection.
[0062] In some embodiments, the component to be measured includes multiple components, and the characteristic wavelengths include multiple sets of wavelengths corresponding to the multiple components, with each set of wavelengths including at least one wavelength.
[0063] The characteristic peaks may include multiple sets of characteristic peaks corresponding to multiple sets of wavelengths, and each set of characteristic peaks includes at least one peak corresponding to at least one wavelength.
[0064] In these embodiments, for each component, the coated sample is irradiated with a set of characteristic wavelengths corresponding to that component to obtain the corresponding characteristic spectrum. Then, it is determined whether a set of characteristic peaks corresponding to that set of characteristic wavelengths exists in the characteristic spectrum, and the component in the coated sample is detected based on the determination result.
[0065] In some embodiments, when the analyte includes multiple components, the characteristic wavelength range may include multiple wavelength ranges corresponding to multiple sets of wavelengths.
[0066] In these embodiments, light across the entire wavelength range can be filtered using a filter configured with multiple filter components corresponding to multiple wavelength ranges, wherein each of the multiple filter components is configured to allow light within its corresponding wavelength range to pass through. For example, the light across the entire wavelength range can be raw light emitted by a light source (such as a light-emitting element).
[0067] In some embodiments, the rated speed of the motor of the filter is greater than a first specified threshold, and the scanning speed of the filter is greater than a second specified threshold.
[0068] For example, the rated speed of the filter's motor is greater than a first specified threshold (e.g., 5500 rpm) to ensure that light of each characteristic wavelength range can illuminate the sample under test (e.g., a coated sample) in real time. The real-time scanning speed of the filter is greater than a second specified threshold (e.g., 100 scans / second), with a response time between 200 ms and 1000 s. This response time can be dynamically set according to actual filtering requirements.
[0069] In this way, by setting the rated speed and scanning speed of the filter motor to a relatively high value, the time delay in the process of detecting the sample by irradiating it with light in each characteristic wavelength range can be reduced, thereby helping to improve the accuracy and efficiency of component detection.
[0070] Figure 2A schematic diagram of the structure of a filter according to some embodiments of the present disclosure is shown.
[0071] As some implementation methods, such Figure 2 As shown, the filter can be a filter wheel, and the filter assembly can be a filter sheet. The shape of the filter sheet is designed for easy and secure installation, and is not limited to circular, elliptical, square, rectangular, wedge-shaped, etc. Figure 2 The filter is schematically shown to be circular.
[0072] like Figure 2 As shown, light emitted from light source 1 across its entire wavelength range is reflected by condenser mirror 2 and then filtered by filter 4 on filter wheel 3. High-speed motor 5 drives filter wheel 3 to rotate, allowing light emitted from light source 1 to pass through different filters 4 in sequence for rapid filtering. This allows light with different characteristic wavelength ranges to pass through instantaneously through different filters 4.
[0073] Figure 2 The diagram schematically illustrates the light transmission path 7 (also known as optical path 7) after being filtered by a filter 4. For example, a coated sample can be placed on optical path 7. Figure 3 (Not shown) Light with wavelengths within the characteristic wavelength range corresponding to filter 4 passes through the coated sample and interacts with the corresponding components in the coated sample. Then, a signal acquisition device 6 acquires the reflected light signal from the coated sample to obtain a characteristic spectrum. For example, the signal acquisition device 6 is connected to a processing device 9 (e.g., a computer) via a signal transmission line 8. In this way, the characteristic spectrum acquired by the signal acquisition device 6 can be transmitted to the processing device 9 for processing, so as to detect the corresponding components in the coated sample based on the characteristic spectrum.
[0074] It should be noted that light with wavelengths within the characteristic wavelength range corresponding to the filter 4 interacts with the corresponding components after passing through the coated sample. This interaction causes changes in the relevant information of the light signal reflected by the coated sample (such as the intensity of the light signal), thereby forming the corresponding characteristic spectrum.
[0075] In the above embodiments, if it is necessary to detect multiple components, a set of characteristic wavelengths (which may include one or more characteristic wavelengths) and a characteristic wavelength range corresponding to each component can be determined according to the method for determining characteristic wavelengths described above. Then, multiple filter components can be integrated in a filter, and each filter component is configured to allow light within the characteristic wavelength range corresponding to a certain component to pass through, while light outside the characteristic wavelength range does not pass through, so as to suppress interference light signals in other irrelevant wavelength bands.
[0076] In this way, by configuring multiple filter components, multiple characteristic spectra required for detecting multiple components can be acquired simultaneously through a single filter, thereby achieving efficient detection of multiple components.
[0077] The implementation of steps 120 and 130 will be illustrated below with reference to some embodiments.
[0078] In some embodiments, in response to a determination that the analyte is present in the coated sample, the content of the analyte in the coated sample is determined based on the characteristic peak. For example, if the analyte is found to be present in the coated sample, the content of the analyte can be determined using spectral analysis techniques based on the peak value of the characteristic peak.
[0079] For example, the component to be measured may have multiple characteristic peaks. At least one characteristic peak that is free from other interfering or overlapping peaks in the vicinity can be selected for quantitative calculation.
[0080] In some embodiments, multiple characteristic spectra corresponding to multiple coated samples with known contents are obtained. A quantitative calculation model for calculating the content of the analyte is established based on the multiple characteristic spectra and the characteristic peaks in each characteristic spectrum, wherein the known contents of the analyte in each coated sample are different. Based on the quantitative calculation model and the characteristic peaks in the characteristic spectra corresponding to the coated sample to be tested, the content of the analyte in the coated sample is determined.
[0081] For example, multiple coated samples containing different known amounts of the analyte are prepared, and the characteristic spectra corresponding to each coated sample are obtained. Based on the characteristic peaks in the characteristic spectra of each coated sample and the known amount of the analyte in each coated sample, a quantitative calculation model for the analyte is established.
[0082] For example, the quantitative calculation model is g = k * f + b, where g represents the content of the analyte, f is the peak value of the characteristic peak (such as the absorption signal intensity), and k and b represent the model parameters. The model parameters in this quantitative calculation model are determined based on the characteristic peaks in the characteristic spectrum corresponding to each coated sample and the known content of the analyte in each coated sample.
[0083] For a specific coated sample to be tested, the peak value (response signal) of the characteristic peak in the corresponding characteristic spectrum is substituted into the quantitative calculation model to quantitatively calculate the content of the component to be tested in the coated sample.
[0084] In some embodiments, in response to a negative result, it is determined that the sample to be tested does not exist after coating.
[0085] In some embodiments, the characteristic wavelengths include multiple wavelengths. In these embodiments, it is determined whether there are multiple characteristic peaks in the characteristic spectrum that correspond to these multiple wavelengths, and then the analyte in the coated sample is detected based on the determination result.
[0086] For example, the preset number is no greater than the total number of characteristic peaks (i.e., the number of peaks corresponding to multiple wavelengths). Suppose a component corresponds to 5 characteristic wavelengths, meaning the characteristic wavelengths include 5 wavelengths, and the preset number is set to 3. If at least 3 of the 5 characteristic peaks corresponding to these 5 wavelengths are detected in the characteristic spectrum, the result is "yes," confirming the presence of the component in the coated sample; if fewer than 3 characteristic peaks are detected, the result is "no," confirming the absence of the component in the coated sample.
[0087] In the above embodiments, when there are multiple characteristic wavelengths corresponding to the analyte, the presence of the analyte in the coated sample is determined only if characteristic peaks corresponding to these characteristic wavelengths are detected in the characteristic spectrum, and the number of identified characteristic peaks is not less than a preset number. This reduces the risk of misjudgment that may be introduced by relying solely on a single characteristic peak, and improves the accuracy of component detection.
[0088] The following examples illustrate the method for determining the characteristic wavelength corresponding to the component to be measured in step 110.
[0089] Figure 3 A flowchart illustrating a wavelength determination method according to some embodiments of the present disclosure is shown.
[0090] like Figure 3 As shown, in step 210, the first spectrum corresponding to the coated substrate and the second spectrum corresponding to the component to be measured are obtained.
[0091] Here, the first spectrum includes a plurality of first absorption peaks and a first wavelength corresponding to each of the plurality of first absorption peaks, and the second spectrum includes a plurality of second absorption peaks and a second wavelength corresponding to each of the plurality of second absorption peaks.
[0092] It should be noted that the second spectrum corresponding to the analyte refers to the spectrum obtained by performing spectral analysis on the analyte alone. The spectral characteristics in the second spectrum originate from the interaction between the analyte and light. For example, a coating solution containing only the analyte can be irradiated with light across the entire wavelength range to obtain the second spectrum corresponding to the analyte.
[0093] In some embodiments, the first spectrum, the second spectrum, and the characteristic spectrum can all be infrared spectra. If the first spectrum and / or the second spectrum are displayed as a graph, the horizontal axis represents wavelength variation, for example, in micrometers (µm), and the vertical axis represents the degree of light absorption by the chemical components, for example, expressed as transmittance, in percentages (%). For example, the horizontal axis can also be represented by wavenumber, and the conversion formula between wavenumber and wavelength is: wavenumber (cm²) = wavenumber(cm²) / wavelength( ... -1 ) = 10 4 / wavelength (µm).
[0094] It should be noted that infrared spectroscopy is an analytical technique that observes the emission of infrared light by a substance after absorbing light of a specific wavelength. The basic principle of infrared spectroscopy is to obtain molecular dynamics information by recording the relationship between the intensity and wavelength of the infrared light emitted by a sample after excitation. It is suitable for the component analysis of chemical components with infrared properties (such as aromatic compounds).
[0095] Depending on the measurement mode, infrared spectroscopy can be divided into excitation spectroscopy and emission spectroscopy. The horizontal axis of the infrared spectrum curve represents the excitation wavelength or emission wavelength (e.g., in nanometers (nm)), and the vertical axis represents the infrared intensity.
[0096] In step 220, the characteristic wavelength corresponding to the component to be measured is determined based on the difference between the first wavelength and the second wavelength.
[0097] Here, the characteristic wavelength corresponding to the component to be measured is used to obtain the characteristic spectrum of the coated sample. The coated sample is made by adding coating liquid to the coating substrate. The characteristic spectrum is used to detect the component to be measured in the coated sample.
[0098] For example, the characteristic wavelength of the analyte can be determined based on the difference between the first wavelength corresponding to the peak value of each first absorption peak and the second wavelength corresponding to each second absorption peak.
[0099] In the above embodiments, by comparing the differences between the spectrum of the coated substrate and the spectrum of the component to be tested (e.g., the differences between the wavelengths corresponding to the peaks), the specific spectral response introduced by the component to be tested can be effectively identified.
[0100] This eliminates interference from non-analytical chemical components in the coating substrate and coating solution, accurately locates the characteristic wavelengths that can be used to identify the analytes, and provides a reliable basis for subsequent qualitative and quantitative analysis of the analytes. This improves the accuracy of subsequent component detection based on the characteristic spectrum obtained by irradiating the coated sample with light of the characteristic wavelength.
[0101] In some embodiments, the characteristic wavelength corresponding to the component to be measured is determined based on a second wavelength among a plurality of second wavelengths whose difference from the first wavelength is greater than a threshold.
[0102] In some embodiments, the number of characteristic wavelengths corresponding to the component to be measured can be one or more.
[0103] It should be noted that the difference between the second wavelength and the first wavelength can be an absolute difference or a relative difference. The second wavelength with a larger absolute or relative difference from the first wavelength is determined as the characteristic wavelength.
[0104] For example, the difference between each second wavelength and each first wavelength can be compared, and one or more second wavelengths whose differences satisfy a threshold can be identified as characteristic wavelengths corresponding to the component to be measured. Alternatively, the difference between each second wavelength and each first wavelength can be compared, and one or more second wavelengths with larger differences can be selected as characteristic wavelengths in descending order of value.
[0105] In the above embodiments, the characteristic wavelength is selected based on a second wavelength that is significantly different from the first wavelength. This allows the characteristic spectrum obtained by irradiating the coated sample with light of the selected characteristic wavelength to more accurately reflect the specific spectral response caused by the analyte, thereby improving the accuracy of subsequent component detection based on the characteristic spectrum.
[0106] In some embodiments, a target wavelength corresponding to a target functional group is determined from a plurality of second wavelengths; it is determined whether the difference between the target wavelength and the first wavelength is greater than a threshold to obtain a wavelength determination result; and a characteristic wavelength is determined based on the wavelength determination result.
[0107] In the above embodiments, considering that some target functional groups in the analyte exhibit specific responses after absorbing light of specific wavelengths, accurately reflecting the characteristics that distinguish the analyte from other components, target wavelengths corresponding to these target functional groups are first screened from multiple second wavelengths. Then, characteristic wavelengths are selected based on target wavelengths that differ significantly from the first wavelength. This allows for accurate detection of the analyte based on characteristic peaks generated by the specific responses of functional groups, thereby improving the accuracy of subsequent component detection based on characteristic spectra.
[0108] In some embodiments, in response to the result of wavelength determination that the difference between at least a portion of the target wavelengths and the first wavelength is greater than a threshold, at least a portion of the wavelengths are determined as characteristic wavelengths; in response to the result of wavelength determination that the difference between all the target wavelengths and the first wavelength is not greater than a threshold, the second wavelengths among a plurality of second wavelengths that are other than the target wavelengths and whose difference between them and the first wavelength is greater than a threshold are determined as characteristic wavelengths.
[0109] In the above embodiments, when the target wavelength corresponding to the target functional group differs significantly from the first wavelength, the target wavelength corresponding to the target functional group is preferentially selected as the characteristic wavelength. When the target wavelength differs slightly from the first wavelength, the wavelength that differs significantly from the first wavelength among the non-target wavelengths is selected as the characteristic wavelength.
[0110] Thus, considering that some functional groups in the target molecular structure of the analyte have specific responses after absorbing light of a specific wavelength, which can accurately reflect the characteristics that distinguish the analyte from other components, when the target wavelength differs significantly from the first wavelength, selecting the target wavelength as the characteristic wavelength can accurately detect the analyte based on the characteristic peaks generated by the specific responses of the functional groups, thereby improving the accuracy of component detection. Conversely, when the target wavelength differs slightly from the first wavelength, selecting other non-target wavelengths that differ significantly from the first wavelength as characteristic wavelengths can avoid confusion and interference of response signals, thereby improving the robustness of component detection.
[0111] In some embodiments, there is a one-to-one correspondence between target functional groups and target wavelengths. There may be one or more target wavelengths corresponding to target functional groups.
[0112] For example, there is one target wavelength. If the difference between the target wavelength and the first wavelength is greater than a threshold, the target wavelength is determined as the characteristic wavelength; if the difference between the target wavelength and the first wavelength is not greater than the threshold, the second wavelength other than the target wavelength and whose difference from the first wavelength is greater than the threshold is determined as the characteristic wavelength.
[0113] In some embodiments, at least a portion of the target wavelengths whose difference from the first wavelength is greater than a threshold are determined as characteristic wavelengths, and one or more non-target wavelengths other than the target wavelengths whose difference from the first wavelength is greater than a threshold are selected as characteristic wavelengths.
[0114] For example, there are multiple target wavelengths. When there are multiple target wavelengths, some or all of the target wavelengths whose difference from the first wavelength is greater than a threshold are determined as the characteristic wavelengths corresponding to the component to be measured. In addition, one or more non-target wavelengths other than the target wavelengths and whose difference from the first wavelength is greater than a threshold are selected as the characteristic wavelengths corresponding to the component to be measured.
[0115] In other words, the characteristic wavelengths corresponding to the components to be measured can include target wavelengths and non-target wavelengths whose difference from the first wavelength is greater than a threshold.
[0116] In this case, if the characteristic spectrum shows a characteristic peak corresponding to the target wavelength, and at least some characteristic peaks not corresponding to the target wavelength, it can be determined that the analyte is present in the coated sample, and the content of the analyte in the coated sample can be determined based on the characteristic peaks. If the characteristic spectrum does not show a characteristic peak corresponding to the target wavelength, it can be determined that the analyte is not present in the coated sample. For example, if the characteristic spectrum does not show a characteristic peak corresponding to the target wavelength, even if characteristic peaks not corresponding to the target wavelength are present, it cannot be determined that the analyte is present in the coated sample. To ensure the reliability of the component detection results, the result in this case is "the analyte is not present in the coated sample".
[0117] For example, there are multiple second wavelengths comprising eight wavelengths, of which five are target wavelengths. However, only three target wavelengths have a difference greater than a threshold compared to the first wavelength. These three target wavelengths are selected as characteristic wavelengths. Furthermore, among the eight wavelengths, two of the three non-target wavelengths (excluding the five target wavelengths) have a difference greater than a threshold compared to the first wavelength. These two non-target wavelengths are also selected as characteristic wavelengths. That is, the final determined characteristic wavelengths include three target wavelengths and two non-target wavelengths.
[0118] In some embodiments, the analyte includes nicotine, and the target functional groups of nicotine include pyrrolidine rings, N-methyl groups, pyrrole groups, and aromatic tertiary amines. For example, the target wavelengths corresponding to the target functional groups of nicotine include target wavelength r1 corresponding to the pyrrolidine ring, target wavelength r2 corresponding to the N-methyl group, target wavelength r3 corresponding to the pyrrole group, and target wavelength r4 corresponding to the aromatic tertiary amine.
[0119] Assuming the difference between the target wavelength r1 and the first wavelength is small, causing the absorption peak corresponding to the target wavelength r1 to overlap with the absorption peak corresponding to the first wavelength, then the target wavelength r1 is not determined to be the characteristic wavelength corresponding to nicotine. That is, the characteristic wavelengths corresponding to nicotine include at least the target wavelengths r2, r3, and r4. Thus, during subsequent component detection, if the characteristic peaks corresponding to at least the target wavelengths r2, r3, and r4 are detected in the characteristic spectrum, it can be determined that nicotine is present in the coated sample.
[0120] Based on this, if one or more of the non-target wavelengths (excluding the four target wavelengths) among the multiple second wavelengths have a difference greater than a threshold between themselves and the first wavelength, then these one or more non-target wavelengths are selected as characteristic wavelengths. That is, the characteristic wavelengths corresponding to nicotine include the target wavelengths r2, r3, and r4, as well as these one or more non-target wavelengths. Thus, during subsequent component detection, if the characteristic peaks corresponding to the target wavelengths r2, r3, and r4, and at least some characteristic peaks corresponding to one or more non-target wavelengths (e.g., some characteristic peaks corresponding to one or more non-target wavelengths, or all characteristic peaks corresponding to one or more non-target wavelengths) are detected in the characteristic spectrum, it can be determined that nicotine is present in the coated sample.
[0121] In this approach, based on the target wavelength as the characteristic wavelength for component detection, non-target wavelengths as characteristic wavelengths can be combined to assist in component detection, thereby improving the accuracy of component detection.
[0122] The following is combined Figure 4 Further illustrative descriptions are provided for the technical solutions proposed in this disclosure.
[0123] Figure 4 A schematic diagram of a first and a second spectrum according to some embodiments of the present disclosure is shown.
[0124] like Figure 4 As shown, Figure 4 The first spectrum (as shown by the red solid line) corresponding to the obtained coated substrate and the second spectrum (as shown by the blue solid line) corresponding to nicotine are schematically shown.
[0125] Figure 4 The diagram schematically shows that the second spectrum corresponding to nicotine contains nine absorption peaks at nine different wavelengths, with the second wavelength being 2990 nm (i.e., wavenumber 3343.55 cm⁻¹). -1 The absorption peak corresponding to nicotine has little difference from the first wavelength in the first spectrum, resulting in overlap between the two absorption peaks. Therefore, the second wavelength of 2990 nm is not determined as a characteristic wavelength. That is, the characteristic wavelengths corresponding to nicotine are determined based on the eight second wavelengths in the second spectrum that have significant differences from the first wavelength, excluding the second wavelength of 2990 nm.
[0126] Nicotine possesses unique absorption peaks due to its molecular structure, which includes functional groups such as pyrrolidine rings, N-methyl groups, pyrrole groups, and aromatic tertiary amines, distinguishing it from other components. Therefore, when selecting characteristic wavelengths for nicotine detection, target wavelengths corresponding to these target functional groups are determined from multiple second wavelengths in the second spectrum. For example, target wavelengths include 3366 nm (i.e., wavenumber 2970.37 cm⁻¹). -1 ), 6816nm (i.e., wavenumber 1467.05cm).-1 ), 7246 nm (i.e., wavenumber 1378.76 cm⁻¹) -1 ), 8621 nm (i.e., wavenumber 1160.74 cm⁻¹) -1 ), 8865 nm (i.e., wavenumber 1128.87 cm⁻¹) -1 ).
[0127] It should be noted that the target wavelength is 3366nm (i.e., wavenumber 2970.37cm). -1 The corresponding absorption peak is generated by the aliphatic C–H stretching vibrations of the pyrrolidine ring and the N-methyl group; the target wavelength is 6816 nm (i.e., wavenumber 1467.05 cm⁻¹). -1 The corresponding absorption peak is generated by the stretching vibration of C=C and is the absorption peak of the pyrrole group; the target wavelength is 7246 nm (i.e., wavenumber 1378.76 cm⁻¹). -1 The absorption peak corresponding to this is generated by the stretching vibration of CN in aromatic tertiary amines; the target wavelength is 8621 nm (i.e., wavenumber 1160.74 cm⁻¹). -1 ) and target wavelength 8865 nm (i.e., wavenumber 1128.87 cm⁻¹) -1 The corresponding absorption peaks are generated by the C–N bond stretching vibrations of aliphatic amines and aromatic amines.
[0128] Since the differences between the above five target wavelengths and the first wavelength are all significant, these five target wavelengths are all determined to be the characteristic wavelengths corresponding to nicotine.
[0129] Based on this, since the eight second wavelengths also include three non-target wavelengths, namely wavelength 7639 nm (i.e., wavenumber 1309.08 cm⁻¹), -1 ), wavelength 10504 nm (i.e., wavenumber 951.95 cm⁻¹) -1 ), wavelength 12240 nm (i.e., wavenumber 817.04 cm⁻¹) -1 Furthermore, these three non-target wavelengths differ significantly from the first wavelength. Therefore, these three non-target wavelengths can be selected together as characteristic wavelengths corresponding to nicotine to assist in the detection of nicotine components.
[0130] Table 1 shows Figure 4 The characteristic wavelength corresponding to nicotine determined in the example shown
[0131] Table 1
[0132] As shown in Table 1, Table 1 also shows the wavelength range (i.e., characteristic wavelength range) corresponding to the half-peak width and height settings of the characteristic peaks detected in the second spectrum based on nicotine.
[0133] Prepare eight filter components (e.g., narrowband filters) to allow light within eight characteristic wavelength ranges to pass through. Mount these eight filter components onto a filter (e.g., Figure 3 (The filter wheel shown). When the filter is illuminated by light emanating from the light source across the entire wavelength range, each filter element on the filter only allows light within its corresponding characteristic wavelength range to pass through. Then, the light across the entire wavelength range is filtered using a filter equipped with eight filter elements corresponding to nicotine, and the filtered light is then used to illuminate the coated sample to obtain the characteristic spectrum.
[0134] exist Figure 4 In the example shown, for instance, if at least some of the characteristic peaks corresponding to five target wavelengths and three non-target wavelengths (e.g., one, two, or three non-target wavelengths) are detected in the characteristic spectrum, it can be determined that nicotine is present in the coated sample, and the nicotine content can be determined based on the characteristic peaks present in the characteristic spectrum.
[0135] Figure 5 A block diagram of a component detection apparatus according to some embodiments of the present disclosure is shown.
[0136] like Figure 5 As shown, the component detection device 500 includes an acquisition module 501, a judgment module 502, and a detection module 503.
[0137] The acquisition module 501 can be configured to irradiate a coated sample made by adding a coating liquid to a coated substrate with light whose wavelength is within the characteristic wavelength range corresponding to the component to be measured, so as to obtain the characteristic spectrum corresponding to the coated sample. The characteristic wavelength corresponding to the component to be measured is within the characteristic wavelength range, and the characteristic wavelength range is set according to the half-peak width and height of the characteristic peak corresponding to the characteristic wavelength.
[0138] The judgment module 502 can be configured to determine whether there is a characteristic peak in the characteristic spectrum that corresponds to the characteristic wavelength.
[0139] The detection module 503 can be configured to detect the analyte in the coated sample based on the judgment result.
[0140] In some embodiments, the size of the characteristic wavelength range is inversely correlated with the full width at half maximum (FWHM) of the characteristic peak.
[0141] In some embodiments, the component to be measured includes multiple components, the characteristic wavelength includes multiple sets of wavelengths corresponding to the multiple components, and the characteristic wavelength range includes multiple wavelength ranges corresponding to the multiple sets of wavelengths. The obtaining module 501 can be configured to filter light across the entire wavelength range using a filter configured with multiple filter components corresponding to the multiple wavelength ranges, wherein each of the multiple filter components is configured to allow light within the wavelength range corresponding to each filter component to pass through.
[0142] In some embodiments, the component detection device 500 may further include an acquisition module and a determination module. Figure 5 (Not shown). The acquisition module can be configured to acquire a first spectrum corresponding to the coated substrate and a second spectrum corresponding to the analyte. The first spectrum includes multiple first absorption peaks and a first wavelength corresponding to each of the multiple first absorption peaks. The second spectrum includes multiple second absorption peaks and a second wavelength corresponding to each of the multiple second absorption peaks. The determination module can be configured to determine a characteristic wavelength based on the difference between the first wavelength and the second wavelength.
[0143] In some embodiments, the determining module is configured to determine a characteristic wavelength based on a second wavelength among a plurality of second wavelengths whose difference from the first wavelength is greater than a threshold.
[0144] In some embodiments, the determining module is configured to determine the target wavelength corresponding to the target functional group from a plurality of second wavelengths; determine whether the difference between the target wavelength and the first wavelength is greater than a threshold to obtain the wavelength determination result; and determine the characteristic wavelength based on the wavelength determination result.
[0145] In some embodiments, the determining module is configured to determine at least a portion of the wavelengths as characteristic wavelengths in response to the result of wavelength determination that the difference between at least a portion of the target wavelengths and the first wavelength is greater than a threshold; and to determine the second wavelengths among a plurality of second wavelengths that are other than the target wavelengths and whose difference between them and the first wavelength is greater than a threshold as characteristic wavelengths in response to the result of wavelength determination that the difference between all the target wavelengths and the first wavelength is not greater than a threshold.
[0146] In some embodiments, the determining module is configured to determine at least a portion of the wavelengths as characteristic wavelengths, and to select one or more non-target wavelengths from a plurality of second wavelengths that are other than the target wavelength and whose difference from the first wavelength is greater than a threshold as characteristic wavelengths.
[0147] In some embodiments, the component to be tested includes nicotine, and the target functional groups include pyrrolidine ring, N-methyl, pyrrole group and aromatic tertiary amine.
[0148] In some embodiments, the characteristic wavelengths include multiple wavelengths, and the judgment module 502 can be configured to determine whether there are multiple characteristic peaks in the characteristic spectrum that correspond to multiple wavelengths, not less than a preset number.
[0149] In some embodiments, the detection module 503 can be configured to determine that the analyte exists in the coated sample in response to a yes result, and to determine the content of the analyte based on the characteristic peak; and to determine that the analyte does not exist in the coated sample in response to a no result.
[0150] Figure 6 A block diagram of a component detection apparatus according to other embodiments of the present disclosure is shown.
[0151] like Figure 6 As shown, the component detection device 600 of this embodiment includes a memory 601 and a processor 602 coupled to the memory 601. The processor 602 is configured to execute the component detection method or wavelength determination method in any embodiment of this disclosure based on instructions stored in the memory 601.
[0152] The memory 601 may include, for example, system memory, fixed non-volatile storage media, etc. The system memory may store, for example, an operating system, application programs, a boot loader, a database, and other programs.
[0153] Figure 7 A block diagram of a component detection apparatus according to some embodiments of the present disclosure is shown.
[0154] like Figure 7 As shown, the component detection device 700 of this embodiment includes a memory 701 and a processor 702 coupled to the memory 701. The processor 702 is configured to execute the component detection method or wavelength determination method in any of the foregoing embodiments based on instructions stored in the memory 701.
[0155] The memory 701 may include, for example, system memory, fixed non-volatile storage media, etc. The system memory stores, for example, the operating system, application programs, boot loader, and other programs.
[0156] The electronic device 700 may also include an input / output interface 703, a network interface 704, and a storage interface 705. These interfaces 703, 704, and 705, as well as the memory 701 and processor 702, can be connected, for example, via a bus 706. Specifically, the input / output interface 703 provides a connection interface for input / output devices such as monitors, mice, keyboards, touchscreens, microphones, and speakers. The network interface 704 provides a connection interface for various networked devices. The storage interface 705 provides a connection interface for external storage devices such as SD cards and USB flash drives.
[0157] This disclosure also provides a component detection system, including: a component detection device (e.g., component detection device 500 / 600 / 700) from any of the above embodiments and a filter. The filter is configured to allow light with wavelengths within a characteristic wavelength range corresponding to the component to be measured to irradiate a coated sample prepared by adding a coating liquid to a coated substrate.
[0158] In some embodiments, the filter is configured with a plurality of filter components corresponding to a plurality of wavelength ranges, each of the plurality of filter components being configured to allow light within a wavelength range corresponding to each filter component to pass through.
[0159] This disclosure also provides a computer-readable storage medium including computer program instructions that, when executed by a processor, implement the component detection method of any of the above embodiments.
[0160] This disclosure also provides a computer program product, including a computer program that, when executed by a processor, implements the component detection method of any of the above embodiments.
[0161] Those skilled in the art will understand that embodiments of this disclosure can be provided as methods, systems, or computer program products. Therefore, this disclosure can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this disclosure can take the form of a computer program product embodied on one or more computer-usable non-transitory storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0162] The component detection technology solution according to this disclosure has now been described in detail. To avoid obscuring the concept of this disclosure, some details known in the art have not been described. Those skilled in the art can fully understand how to implement the disclosed technology solution based on the above description.
[0163] The methods and systems of this disclosure may be implemented in many ways. For example, they may be implemented by software, hardware, firmware, or any combination of software, hardware, and firmware. The above-described order of steps for the methods is for illustrative purposes only, and the steps of the methods of this disclosure are not limited to the specific order described above unless otherwise specifically stated. Furthermore, in some embodiments, this disclosure may also be implemented as a program recorded on a recording medium, the program including machine-readable instructions for implementing the methods according to this disclosure. Thus, this disclosure also covers recording media storing programs for performing the methods according to this disclosure.
[0164] While specific embodiments of this disclosure have been described in detail by way of example, those skilled in the art should understand that the examples are for illustrative purposes only and not intended to limit the scope of this disclosure. Those skilled in the art should understand that modifications can be made to the above embodiments without departing from the scope and spirit of this disclosure. The scope of this disclosure is defined by the appended claims.
Claims
1. A method for component detection, comprising: The coated sample, prepared by adding a coating liquid to a coated substrate, is irradiated with light whose wavelength is within the characteristic wavelength range corresponding to the component to be measured, to obtain the characteristic spectrum corresponding to the coated sample. The characteristic wavelength corresponding to the component to be measured is within the characteristic wavelength range, and the characteristic wavelength range is set according to the half-peak width and height of the characteristic peak corresponding to the characteristic wavelength. Determine whether the characteristic peak corresponding to the characteristic wavelength exists in the characteristic spectrum; Based on the judgment result, the component to be tested in the coated sample is detected.
2. The component detection method according to claim 1, wherein, The size of the characteristic wavelength range is inversely correlated with the half-peak height and width of the characteristic peak.
3. The component detection method according to claim 1, wherein, The analyte includes multiple components, the characteristic wavelength includes multiple sets of wavelengths corresponding to the multiple components, and the characteristic wavelength range includes multiple wavelength ranges corresponding to the multiple sets of wavelengths. The coated sample, prepared by adding a coating liquid to a coating substrate and irradiating it with light whose wavelength is within the characteristic wavelength range corresponding to the component to be measured, includes: A filter with multiple filter components corresponding to the multiple wavelength ranges is used to filter light across the entire wavelength range, wherein each of the multiple filter components is configured to allow light within the wavelength range corresponding to each filter component to pass through.
4. The component detection method according to claim 1, wherein, The characteristic wavelength is determined as follows: Obtain a first spectrum corresponding to the coated substrate and a second spectrum corresponding to the component to be measured. The first spectrum includes a plurality of first absorption peaks and a first wavelength corresponding to each of the plurality of first absorption peaks. The second spectrum includes a plurality of second absorption peaks and a second wavelength corresponding to each of the plurality of second absorption peaks. The characteristic wavelength is determined based on the difference between the first wavelength and the second wavelength.
5. The component detection method according to claim 4, wherein, Determining the characteristic wavelength based on the difference between the first wavelength and the second wavelength includes: The characteristic wavelength is determined based on the second wavelength among the plurality of second wavelengths whose difference from the first wavelength is greater than a threshold.
6. The component detection method according to claim 5, wherein, The step of determining the characteristic wavelength based on a second wavelength among the plurality of second wavelengths whose difference from the first wavelength is greater than a threshold includes: The target wavelength corresponding to the target functional group is determined from the plurality of second wavelengths; Determine whether the difference between the target wavelength and the first wavelength is greater than the threshold to obtain the wavelength determination result; Based on the result of the wavelength determination, the characteristic wavelength is determined.
7. The component detection method according to claim 6, wherein, The determination of the characteristic wavelength based on the wavelength determination result includes: In response to the result of the wavelength determination being that the difference between at least a portion of the target wavelengths and the first wavelength is greater than the threshold, the at least a portion of the wavelengths is determined as the characteristic wavelength; In response to the result of the wavelength determination being that the difference between all wavelengths in the target wavelength and the first wavelength is not greater than the threshold, the second wavelength among the plurality of second wavelengths that is other than the target wavelength and whose difference from the first wavelength is greater than the threshold is determined as the characteristic wavelength.
8. The component detection method according to claim 7, wherein, The step of determining the at least some wavelengths as the characteristic wavelength in response to the wavelength determination result being that the difference between at least some wavelengths in the target wavelengths and the first wavelength is greater than the threshold includes: The at least some wavelengths are determined as the characteristic wavelengths, and one or more non-target wavelengths, other than the target wavelengths, whose difference from the first wavelength is greater than the threshold are selected from the plurality of second wavelengths as the characteristic wavelengths.
9. The component detection method according to claim 6, wherein, The analyte includes nicotine, and the target functional groups include pyrrolidine ring, N-methyl, pyrrole group and aromatic tertiary amine.
10. The component detection method according to claim 1, wherein, The characteristic wavelengths include multiple wavelengths. The step of determining whether a characteristic peak corresponding to the characteristic wavelength exists in the characteristic spectrum includes: Determine whether there are multiple characteristic peaks in the characteristic spectrum that correspond to the multiple wavelengths, not less than a preset number.
11. The component detection method according to claim 1, wherein, The step of determining whether the analyte exists in the coated sample based on the result of the judgment includes: If the result of the judgment is yes, it is determined that the analyte is present in the coated sample, and the content of the analyte is determined according to the characteristic peak. If the result of the judgment is negative, it is determined that the component to be tested does not exist in the coated sample.
12. A component detection device, comprising: The acquisition module is configured to irradiate a coated sample made by adding a coating liquid to a coated substrate with light whose wavelength is within the characteristic wavelength range corresponding to the component to be measured, so as to obtain the characteristic spectrum corresponding to the coated sample. The characteristic wavelength corresponding to the component to be measured is within the characteristic wavelength range, and the characteristic wavelength range is set according to the half-peak width and height of the characteristic peak corresponding to the characteristic wavelength. The judgment module is configured to determine whether the characteristic peak corresponding to the characteristic wavelength exists in the characteristic spectrum; The detection module is configured to detect the analyte in the coated sample based on the result of the judgment.
13. A component detection device, comprising: Memory; and A processor coupled to the memory, the processor being configured to execute the component detection method according to any one of claims 1-11 based on instructions stored in the memory.
14. A component detection system, comprising: The component detection device according to claim 12 or 13; as well as A filter is configured to allow light with wavelengths within a characteristic wavelength range corresponding to the analyte to illuminate a coated sample prepared by adding a coating liquid to a coated substrate.
15. The component detection system according to claim 14, wherein, The filter is configured with multiple filter components corresponding to multiple wavelength ranges. Each of the plurality of filter components is configured to allow light within a wavelength range corresponding to each filter component to pass through.
16. A computer-readable storage medium having stored thereon computer instructions that, when executed by a processor, implement the component detection method according to any one of claims 1-11.
17. A computer program product comprising instructions that, when executed by a processor, cause the processor to perform the component detection method according to any one of claims 1-11.