Method, device and system for detecting water content

By acquiring the transmission spectrum of the liquid, determining the characteristic wavelength points and calculating the absorbance, and using the molar extinction coefficient to calculate the liquid water content, the problem of time-consuming and labor-intensive traditional detection methods is solved, and the automated detection of liquid water content is realized.

CN118730969BActive Publication Date: 2026-11-27BEIJING EDTEK INTELLIGENT TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410917859.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-09
Publication Date
2026-11-27
Estimated Expiration
2044-07-09

AI Technical Summary

Technical Problem

Traditional methods for detecting water content require chemical laboratories, which are time-consuming, labor-intensive, and may damage samples, affecting subsequent analysis.

Method used

By acquiring the transmission spectrum of the liquid to be tested, determining the characteristic wavelength points, calculating the absorbance spectrum, and using the molar extinction coefficient to calculate the water content of the liquid, automatic testing is achieved by combining a near-infrared spectrometer and a water content detection device.

Benefits of technology

It enables automated detection of liquid water content, improving detection efficiency and avoiding sample damage and time costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118730969B_ABST
    Figure CN118730969B_ABST
Patent Text Reader

Abstract

The present disclosure provides a kind of water content detection method, device and system, the method comprises: obtaining the first transmission spectrum diagram of liquid to be detected, and determining feature wavelength point from the first transmission spectrum diagram;Based on the first transmission spectrum diagram, the absorbance spectrum diagram of the liquid to be detected is calculated;The absorbance corresponding to the feature wavelength point is extracted from the absorbance spectrum diagram;Based on the absorbance, the distance of light through the liquid to be detected and the corresponding molar extinction coefficient of the liquid to be detected, the water content of the liquid to be detected is calculated.The method of the present disclosure can realize the automatic test of the water content of the liquid to be measured, and then the water content detection efficiency can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of data processing technology, and in particular to a method, apparatus and system for detecting moisture content. Background Technology

[0002] In the production process, controlling the water content is crucial for optimizing process conditions and improving production efficiency. By measuring the water content, optimal drying conditions, mixing ratios, and reaction times can be determined, thereby improving product quality and yield. In the development of new products, determining the water content helps understand how the product's performance changes under different conditions, providing valuable data support for product development and production process improvements.

[0003] Traditional methods for testing water content, such as the drying method, require collecting samples under chemical laboratory conditions, which is costly and time-consuming, and may damage the samples, affecting subsequent analysis or verification. Summary of the Invention

[0004] In view of this, this disclosure proposes a method, apparatus and system for detecting water content, which can realize the automatic testing of the water content of the liquid to be tested, thereby improving the efficiency of water content detection.

[0005] According to a first aspect of this disclosure, a method for detecting moisture content is provided, comprising:

[0006] Obtain the first transmission spectrum of the liquid to be tested, and determine the characteristic wavelength points from the first transmission spectrum;

[0007] Based on the first transmission spectrum, the absorbance spectrum of the liquid to be detected is calculated;

[0008] The absorbance corresponding to the characteristic wavelength point is extracted from the absorbance spectrum.

[0009] The water content of the liquid to be tested is calculated based on the absorbance, the path length of light through the liquid to be tested, and the molar extinction coefficient of the liquid to be tested.

[0010] In one possible implementation, when obtaining the first transmission spectrum, the method further includes:

[0011] The operation involves removing wavelengths that do not provide information from the first transmission spectrum.

[0012] In one possible implementation, the removal of wavelengths that do not provide information in the first transmission spectrum is based on a non-informative variable screening method.

[0013] In one possible implementation, determining the characteristic wavelength point from the first transmission spectrum includes:

[0014] Extract the transmitted light intensity corresponding to each wavelength point in the first transmission spectrum;

[0015] Calculate the mean value of the transmitted light intensity based on the transmitted light intensity corresponding to each wavelength point.

[0016] Based on the average data of transmitted light intensity, characteristic wavelength points are determined from the first transmission spectrum.

[0017] In one possible implementation, determining the characteristic wavelength point from the first transmission spectrum includes:

[0018] Obtain the second transmission spectrum of the original liquid to be tested;

[0019] Calculate the difference in transmitted light intensity between each wavelength point in the first and second transmission spectra;

[0020] The wavelength points with the largest difference in transmitted light intensity are selected as characteristic wavelength points.

[0021] In one possible implementation, the molar extinction coefficient is calculated based on a pre-constructed multiple linear regression equation.

[0022] In one possible implementation, calculating the molar extinction coefficient based on the multiple linear regression equation includes:

[0023] Obtain at least three samples of water components in the test liquid with different water contents, including the molar concentration of the water component, the characteristic wavelength, the absorbance intensity corresponding to the characteristic wavelength, and the path length of light through the test solution;

[0024] The molar extinction coefficient is calculated by substituting the molar concentration of water component, characteristic wavelength, absorbance intensity corresponding to the characteristic wavelength, and path length of light through the solution into the multiple linear regression equation for each liquid to be tested with different water contents.

[0025] According to a second aspect of this disclosure, an apparatus for detecting moisture content is provided, comprising:

[0026] The spectrum acquisition module is used to acquire the first transmission spectrum of the liquid to be detected, and to determine the characteristic wavelength points from the first transmission spectrum.

[0027] An absorption spectroscopy calculation module is used to calculate the absorbance spectrum of the liquid to be detected based on the first transmission spectrum.

[0028] An absorbance calculation module is used to extract the absorbance corresponding to the characteristic wavelength point from the absorbance spectrum.

[0029] The water content calculation module is used to calculate the water content of the liquid to be tested based on the absorbance, the path length of light through the liquid to be tested, and the molar extinction coefficient of the liquid to be tested.

[0030] According to a third aspect of this disclosure, a moisture content detection system is provided, comprising: a near-infrared spectrometer, the moisture content detection device described in the second aspect of this disclosure, and a host computer;

[0031] The near-infrared spectrometer is used to acquire the first transmission spectrum of the liquid to be detected and send the first transmission spectrum to the water content detection device.

[0032] The water content detection device is used to determine characteristic wavelength points from the first transmission spectrum; calculate the absorbance spectrum of the liquid to be tested based on the first transmission spectrum; extract the absorbance corresponding to the characteristic wavelength points from the absorbance spectrum; calculate the water content of the liquid to be tested based on the absorbance, the path length of light through the liquid to be tested, and the molar extinction coefficient of the liquid to be tested; and send the water content to the host computer.

[0033] The host computer is used to receive the moisture content and push the moisture content for display.

[0034] In one possible implementation, the system further includes: a power supply;

[0035] The power supply is used to provide operating power for the near-infrared spectrometer, the moisture content detection device, and the host computer.

[0036] This disclosure provides a method, apparatus, and system for detecting water content. The method includes: acquiring a first transmission spectrum of a liquid to be tested and determining characteristic wavelength points from the first transmission spectrum; calculating an absorbance spectrum of the liquid to be tested based on the first transmission spectrum; extracting the absorbance corresponding to the characteristic wavelength points from the absorbance spectrum; and calculating the water content of the liquid to be tested based on the absorbance, the path length of light through the liquid to be tested, and the molar extinction coefficient of the liquid to be tested. The method of this disclosure enables automated testing of the water content of the liquid to be tested, thereby improving the efficiency of water content detection.

[0037] Other features and aspects of this disclosure will become clear from the following detailed description of exemplary embodiments with reference to the accompanying drawings. Attached Figure Description

[0038] The accompanying drawings, which are included in and form part of this specification, illustrate exemplary embodiments, features, and aspects of this disclosure together with the specification and serve to explain the principles of this disclosure.

[0039] Figure 1 A flowchart of a moisture content detection method according to an embodiment of the present disclosure is shown;

[0040] Figure 2 A schematic block diagram of a moisture content detection device according to an embodiment of the present disclosure is shown;

[0041] Figure 3 A schematic block diagram of a moisture content detection system according to an embodiment of the present disclosure is shown. Detailed Implementation

[0042] Various exemplary embodiments, features, and aspects of this disclosure will now be described in detail with reference to the accompanying drawings. The same reference numerals in the drawings denote elements that have the same or similar functions. Although various aspects of the embodiments are shown in the drawings, they are not necessarily drawn to scale unless specifically indicated otherwise.

[0043] The term “exemplary” as used herein means “serving as an example, embodiment, or illustration.” Any embodiment illustrated herein as “exemplary” is not necessarily to be construed as superior to or better than other embodiments.

[0044] Furthermore, to better illustrate this disclosure, numerous specific details are set forth in the following detailed description. Those skilled in the art will understand that this disclosure can be practiced without certain specific details. In some instances, methods, means, components, and circuits well known to those skilled in the art have not been described in detail in order to highlight the main points of this disclosure.

[0045] <Method Implementation>

[0046] Figure 1 A flowchart illustrating a moisture content detection method according to an embodiment of the present disclosure is shown. Figure 1 As shown, the method includes steps S1100-S1400.

[0047] S1100: Obtain the first transmission spectrum of the liquid to be tested, and determine the characteristic wavelength points from the first transmission spectrum.

[0048] The liquid to be tested is the liquid whose water content is to be measured. When measuring the water content of the liquid, the near-infrared optical probe of a near-infrared spectrometer is placed in the liquid. The near-infrared optical probe collects the transmitted light signal that travels a predetermined path through the liquid and sends the collected transmitted light signal to the near-infrared spectrometer. After receiving the transmitted light signal, the near-infrared spectrometer generates a first transmission spectrum of the liquid based on the collected transmitted light signal and sends the generated first transmission spectrum to the water content detection device executing the method of this disclosure. Thus, the water content detection device can obtain the first transmission spectrum of the liquid.

[0049] In one possible implementation, after receiving the transmitted light signal, the near-infrared spectrometer first filters the transmitted light signal to remove optical noise; then, it performs cascaded lead linear correction on the filtered transmitted light signal to obtain the corrected transmitted light signal; finally, based on the corrected transmitted light signal, it generates the first transmission spectrum of the liquid to be detected.

[0050] In one possible implementation, when a near-infrared spectrometer performs linear lead correction on the filtered transmitted light signal, it may include the following steps: determining the open-loop gain K value based on the steady-state error requirement; plotting the logarithmic frequency response curve before correction using the open-loop gain K value; and determining the required phase lead angle based on the gain margin (degree) and phase margin (ωc) of the logarithmic frequency response curve before correction, combined with the Euler constant γ. The Euler constant γ is set to 0.277, and the required phase lead angle is... The calculation formula is as follows:

[0051]

[0052] After determining the required increase in phase lead angle Then, the phase lead angle is increased as needed. Determine the corresponding value of 'a', where the phase lead angle is... The relationship between the value of 'a' and the value of 'a' is shown below:

[0053]

[0054] After determining the value of 'a', the required increase in phase lead angle is calculated based on that value. The corresponding angular frequency ω m , where the angular frequency ω m The calculation formula is as follows:

[0055]

[0056] In the formula, T is the linear frequency corresponding to the angular frequency.

[0057] The calculated angular frequency ω m The cutoff frequency is used as the corrected logarithmic frequency response curve, and the transmitted light signal is linearly advanced based on the corrected logarithmic frequency response curve.

[0058] In one possible implementation, when the moisture content detection device acquires the first transmission spectrum, it further includes: removing wavelength points in the first transmission spectrum that do not provide information; and performing subsequent operations such as determining the characteristic wavelength from the first transmission spectrum after removing the wavelength points that do not provide information, thereby improving the accuracy and efficiency of subsequent moisture content calculation.

[0059] In one possible implementation, removing wavelengths that do not provide information in the first transmission spectrum can be based on the Uninformation Variable Selection (UVE) method. The specific steps are as follows:

[0060] First, n sample solutions are prepared using the stock solution of the liquid to be tested, wherein the molar concentration of water in each sample solution is known.

[0061] Second, the first transmission spectrum corresponding to each sample solution is collected, resulting in n first transmission spectra. Based on these n first transmission spectra, a spectral matrix X (n×m) is constructed. Here, m represents the number of wavelength points contained in the first transmission spectrum. Specifically, after obtaining the n first transmission spectra, the first transmission spectra of each sample solution are sequentially traversed. For the first transmission spectrum of the current sample solution, the transmitted light intensity corresponding to each wavelength point in the current sample solution's first transmission spectrum is extracted sequentially, generating a 1x1m matrix, which is the transmitted light intensity matrix corresponding to the current sample solution. After the traversal is complete, the transmitted light intensity matrix corresponding to each sample solution is obtained. All the obtained transmitted light intensity matrices are combined into an n×m matrix, which is the spectral matrix X. The first row of the spectral matrix X is the transmitted light intensity matrix corresponding to sample solution 1, the second row is the transmitted light intensity matrix corresponding to sample solution 2, ..., and the nth row is the transmitted light intensity matrix corresponding to sample solution n.

[0062] Third, the molar concentrations of water in the n sample solutions are combined into a matrix with 1 column and n rows. This matrix is ​​the concentration matrix Y (n×1). The first row of the concentration matrix Y is the molar concentration of water in sample solution 1, the second row is the molar concentration of water in sample solution 2, ..., and the nth row is the molar concentration of water in sample solution n.

[0063] Fourth, perform PLS regression on the spectral matrix X (n×m) and the concentration matrix Y (n×1), and select the optimal number of principal factors f.

[0064] Fifth, obtain a randomly generated noise matrix R (n×m), combine the spectral matrix X with the noise matrix R to form a combined matrix XR (n×2m), where the first m columns of the combined matrix XR (n×2m) are the spectral matrix X, and the last m columns are the noise matrix R (n×m).

[0065] Sixth, perform PLS regression analysis on the combined matrix XR and the concentration matrix Y, conduct interactive validation by removing one sample after each regression analysis, and obtain a PLS regression coefficient vector b. After the regression analysis is completed, n PLS regression coefficient vectors b will be obtained, and these n PLS regression coefficient vectors b are formed into a regression coefficient matrix B (n×2m) of size n×2m.

[0066] Seventh, calculate the standard deviation S(b) and mean value mean(b) of the regression coefficient matrix B (n×2m) by column, then calculate Ci = mean(bi) / S(bi), where i = 1, 2, ..., 2m.

[0067] Eighth, take the maximum absolute value Cmax = max(abs(C)) of C in the interval [m+1, 2m].

[0068] Ninth, remove the variables in the spectral matrix X corresponding to Ci < Cmax in the interval [1, m], and form the remaining variables into a new matrix XUVE selected by the UVE method.

[0069] For the spectral matrix X, the wavelength variables corresponding to Ci < Cmax are wavelength variables that do not provide information, so these corresponding wavelength variables in the first transmission spectrum can be deleted, thereby realizing the removal of wavelength points that do not provide information in the first transmission spectrum.

[0070] In a possible implementation manner, when determining characteristic wavelength points from the first transmission spectrum, the following steps may be included:

[0071] First, extract the transmitted light intensity corresponding to each wavelength point in the first transmission spectrum.

[0072] Second, calculate the mean data of the transmitted light intensity based on the transmitted light intensity corresponding to each wavelength point. The mean data includes at least one of the mean transmitted light intensity, the mean transmitted light intensity variance, and the mean standard deviation of the transmitted light intensity.

[0073] Third, based on the average transmitted light intensity data, characteristic wavelength points are determined from the first transmission spectrum. Specifically, all transmitted light intensities greater than the average data in the first transmission spectrum can be selected as initial transmitted light intensities. Then, the two transmitted light intensities with the highest transmitted light intensities from the initial transmitted light intensities can be selected as target transmitted light intensities, and the wavelength points corresponding to the target transmitted light intensities are determined as characteristic wavelength points in the first transmission spectrum.

[0074] In an embodiment where the mean data includes three mean values: mean transmitted light intensity, mean variance of transmitted light intensity, and mean standard deviation of transmitted light intensity, the transmitted light intensity with values ​​greater than all three mean values ​​will be selected as the initial transmitted light intensity. Then, the two transmitted light intensities with the highest values ​​from the initial transmitted light intensities will be selected as the target transmitted light intensities. The wavelength points corresponding to each target transmitted light intensity will be determined as the characteristic wavelength points in the first transmission spectrum. That is, when there are two target transmitted light intensities, there are also two characteristic wavelength points. The wavelength point corresponding to the smaller target transmitted light intensity is the characteristic wavelength point corresponding to the hydrogen component in the water, and the wavelength point corresponding to the larger target transmitted light intensity is the characteristic wavelength point corresponding to the hydroxide component in the water.

[0075] In another possible implementation, the characteristic wavelength points in the first transmission spectrum can be determined by combining the second transmission spectrum of the original solution. The specific steps are as follows:

[0076] First, obtain the second transmission spectrum of the original liquid to be tested. The original liquid is the initial solution used to prepare the liquid to be tested, which is obtained by adding a certain amount of water to the initial solution. The method for obtaining the second transmission spectrum of the original liquid is the same as that for the first transmission spectrum, and will not be repeated here.

[0077] Second, calculate the difference in transmitted light intensity between each wavelength point in the first and second transmission spectra.

[0078] Third, a preset number of wavelength points with the largest difference in transmitted light intensity are selected as characteristic wavelength points. The preset number is determined by the elemental composition of the component to be detected. Specifically, in this disclosure, the preset number is set to 2 to determine the water content in the liquid to be detected. Since water is composed of hydrogen and hydroxide ions, the preset number should be set to 2.

[0079] It should be noted that, since this application requires the detection of water content in the test liquid, and water is composed of hydrogen and hydroxide ions, the two largest transmitted light intensities selected according to the above method are the transmitted light intensity corresponding to the hydrogen component in the water and the transmitted light intensity corresponding to the hydroxide component in the water. Among them, the larger transmitted light intensity is the transmitted light intensity corresponding to the hydroxide component, and the smaller transmitted light intensity is the transmitted light intensity corresponding to the hydrogen component.

[0080] To improve the accuracy of subsequent water content detection, further analysis of the elemental composition of the stock solution containing the test liquid is needed. If the stock solution contains hydrogen, the larger target transmitted light intensity (corresponding to hydroxide ions in the water) is selected as the final target transmitted light intensity. Next, based on this final target transmitted light intensity, the characteristic wavelength point corresponding to hydroxide ions is determined. Then, based on this characteristic wavelength point, the absorbance intensity corresponding to hydroxide ions is determined. Finally, the molar concentration of hydroxide ions is calculated based on their absorbance intensity. Finally, the water content in the test liquid is calculated based on the molar concentration of hydroxide ions. Conversely, if the stock solution contains hydroxide ions, the smaller target transmitted light intensity (corresponding to hydrogen ions in the water) is selected as the final target transmitted light intensity. Then, based on this final target transmitted light intensity, the characteristic wavelength point corresponding to hydrogen ions is determined. Finally, based on this characteristic wavelength point, the absorbance intensity corresponding to hydrogen ions is determined. Next, the molar concentration of hydroxide ions is calculated based on the absorbance intensity corresponding to the hydroxide ions. Finally, the water content in the liquid being tested is calculated based on the molar concentration of hydroxide ions.

[0081] S1200: Based on the first transmission spectrum, calculate the absorbance spectrum of the liquid to be tested. Specifically, extract the transmitted light intensity at each wavelength point from the first transmission spectrum, calculate the absorbed light intensity at each wavelength point based on the transmitted light intensity, and then generate the absorbance spectrum of the liquid to be tested based on the absorbed light intensity at each wavelength point. How to calculate the absorbed light intensity based on the transmitted light intensity and how to generate the absorbance spectrum of the liquid to be tested based on the absorbed light intensity at each wavelength point are common knowledge in the field and will not be elaborated here.

[0082] S1300 extracts the absorbance corresponding to the characteristic wavelength point from the absorbance spectrum.

[0083] S1400 calculates the water content of the liquid being tested based on absorbance, the path length of light through the liquid, and the molar extinction coefficient of the liquid. Specifically, it first calculates the molar concentration of the constituent elements of water in the liquid based on absorbance, the path length of light through the liquid, and the molar extinction coefficient of the liquid. Then, it calculates the water content in the liquid based on the molar concentration of the constituent elements of water. The formula for calculating the molar concentration of the constituent elements of water in the liquid is as follows:

[0084] A=ε×C×L

[0085] In the formula, A is the absorbance, C is the molar concentration of the component, ε is the molar extinction coefficient of the liquid to be tested, and L is the path length of light through the liquid to be tested. The path length of light through the liquid to be tested is the preset path length mentioned above.

[0086] After calculating the light absorption intensity corresponding to the hydrogen component in the water, the light absorption intensity A corresponding to the hydrogen component, the molar extinction coefficient ε corresponding to the liquid to be tested, and the path length L of the light passing through the liquid to be tested are substituted into the above formula to calculate the molar concentration of the hydrogen component. Then, based on the molar concentration of the hydrogen component, the water content in the liquid to be tested can be calculated.

[0087] Similarly, after calculating the light absorption intensity corresponding to hydroxide ions in water, the light absorption intensity A corresponding to hydroxide ions, the molar extinction coefficient ε of the liquid to be tested, and the path length L of light through the liquid to be tested are substituted into the above formula to calculate the molar concentration of hydroxide ions. Then, based on the molar concentration of hydroxide ions, the water content in the liquid to be tested can be calculated.

[0088] In one possible implementation, the molar extinction coefficient ε in the formula is calculated based on a pre-constructed multiple linear regression equation. When constructing the multiple linear regression equation, the following set of equations is first built based on the molar concentration y of the water component in the liquid to be detected, the characteristic wavelength x1, the absorbance amplitude x2 corresponding to the characteristic wavelength x1, the path length n of light through the liquid to be detected, and the model coefficients b0, b1, and b2:

[0089]

[0090] Based on the above system of equations, the following multiple linear regression equation is constructed:

[0091]

[0092] After constructing the multiple linear regression equation as shown below, the molar extinction coefficient ε in the formula can be calculated based on the constructed multiple linear regression equation. The specific steps are as follows:

[0093] First, obtain at least three samples of the test liquid with different water contents, including the molar concentration, characteristic wavelength, absorbance intensity corresponding to the characteristic wavelength, and the path length of light through the test solution. Specifically, prepare at least three samples of the test liquid with different water contents based on the stock solution used to prepare the test liquid. During sample preparation, the water content in each sample is determined. Once the water content in each sample is determined, the molar concentration of the water component in each sample can be determined. Simultaneously, acquire the transmission spectrum of each sample to obtain its transmission spectrum. After acquiring the transmission spectrum of each sample, the characteristic wavelength and absorbance intensity corresponding to the water component in each sample can be determined using the method described above. The path length of light through the test solution is a fixed value. Therefore, the molar concentration, characteristic wavelength, absorbance intensity corresponding to the characteristic wavelength, and path length of light through the test solution for each sample can be obtained.

[0094] Second, by substituting the molar concentration of water components, characteristic wavelength, absorbance intensity corresponding to the characteristic wavelength, and path length of light through the solution into the constructed multiple linear regression equation for each liquid under different water contents, the molar extinction coefficient can be calculated. Specifically, by substituting these parameters corresponding to each sample into the multiple linear regression equation, the model coefficients b0, b1, and b2 in the multiple linear regression equation can be solved, and the model coefficient b0 is the molar extinction coefficient ε.

[0095] After calculating the molar extinction coefficient, the water content can be calculated as described above.

[0096] This disclosure provides a method for detecting water content, comprising: acquiring a first transmission spectrum of the liquid to be tested, and determining characteristic wavelength points from the first transmission spectrum; calculating an absorbance spectrum of the liquid to be tested based on the first transmission spectrum; extracting the absorbance corresponding to the characteristic wavelength points from the absorbance spectrum; and calculating the water content of the liquid to be tested based on the absorbance, the path length of light through the liquid to be tested, and the molar extinction coefficient of the liquid to be tested. This method enables automated testing of the water content of the liquid to be tested, thereby improving the efficiency of water content detection.

[0097] <Device Embodiment>

[0098] Figure 2 A schematic block diagram of a moisture content detection device according to an embodiment of the present disclosure is shown. Figure 2 As shown, the device 100 includes:

[0099] The spectrum acquisition module 110 is used to acquire the first transmission spectrum of the liquid to be detected and to determine the characteristic wavelength points from the first transmission spectrum.

[0100] The absorbance spectrum calculation module 120 is used to calculate the absorbance spectrum of the liquid to be detected based on the first transmission spectrum.

[0101] The absorbance calculation module 130 is used to extract the absorbance corresponding to the characteristic wavelength point from the absorbance spectrum.

[0102] The water content calculation module 140 is used to calculate the water content of the liquid to be tested based on absorbance, the path of light through the liquid to be tested, and the molar extinction coefficient of the liquid to be tested.

[0103] <System Implementation Example>

[0104] Figure 3 A schematic block diagram of a moisture content detection system according to an embodiment of the present disclosure is shown. Figure 3 As shown, the system 200 includes: a near-infrared spectrometer 210, a moisture content detection device 220 as described in the device embodiment, and a host computer 230;

[0105] The near-infrared spectrometer 210 is used to acquire the first transmission spectrum of the liquid to be tested and send the first transmission spectrum to the water content detection device.

[0106] The water content detection device 220 is used to determine characteristic wavelength points from the first transmission spectrum; calculate the absorbance spectrum of the liquid to be tested based on the first transmission spectrum; extract the absorbance corresponding to the characteristic wavelength points from the absorbance spectrum; calculate the water content of the liquid to be tested based on the absorbance, the path length of light through the liquid to be tested, and the molar extinction coefficient of the liquid to be tested; and send the water content to the host computer.

[0107] The host computer 230 is used to receive moisture content data and push the moisture content data for display.

[0108] One possible implementation also includes: a power supply; the power supply is used to provide operating power for the near-infrared spectrometer, the moisture content detection device, and the host computer.

[0109] The various embodiments of this disclosure have been described above. These descriptions are exemplary and not exhaustive, and are not limited to the disclosed embodiments. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is chosen to best explain the principles, practical applications, or technical improvements to the technology in the market, or to enable others skilled in the art to understand the embodiments disclosed herein.

Claims

1. A method for detecting moisture content, characterized in that, include: Obtain the first transmission spectrum of the liquid to be tested, and determine the characteristic wavelength points from the first transmission spectrum; Based on the first transmission spectrum, the absorbance spectrum of the liquid to be detected is calculated; The absorbance corresponding to the characteristic wavelength point is extracted from the absorbance spectrum. The water content of the liquid to be tested is calculated based on the absorbance, the path length of light through the liquid to be tested, and the molar extinction coefficient of the liquid to be tested. When acquiring the first transmission spectrum of the liquid to be tested, the following steps are included: A near-infrared optical probe is placed in the liquid to be tested using a near-infrared spectrometer to collect transmitted light signals that have traveled a predetermined distance through the liquid to be tested. Based on the transmitted light signal passing through a preset path of the liquid to be tested, a first transmission spectrum of the liquid to be tested is generated. Specifically, the transmitted light signal is first filtered to remove optical noise; then, the filtered transmitted light signal is subjected to series lead linear correction to obtain the corrected transmitted light signal; finally, based on the corrected transmitted light signal, a first transmission spectrum of the liquid to be tested is generated. When performing linear lead correction on the filtered transmitted light signal, the following steps are included: Determine the open-loop gain K value based on the steady-state error requirement; plot the logarithmic frequency response curve before correction using the open-loop gain K value; and determine the required phase lead angle based on the gain margin (degree) and phase margin (ωc) of the logarithmic frequency response curve before correction, combined with the Euler constant γ. The Euler constant γ is set to 0.277, and the required phase lead angle is... The calculation formula is as follows: ( )+(5-10) / degree After determining the required increase in phase lead angle Then, the phase lead angle is increased as needed. Determine the corresponding value of 'a', where the phase lead angle is... The relationship between the value of 'a' and the value of 'a' is shown below: After determining the value of 'a', the required increase in phase lead angle is calculated based on that value. corresponding angular frequency , where angular frequency The calculation formula is as follows: In the formula, T is the linear frequency corresponding to the angular frequency; The calculated angular frequency The cutoff frequency of the corrected logarithmic frequency response curve is used as the cutoff frequency, and the transmitted light signal is linearly led based on the corrected logarithmic frequency response curve. When determining the characteristic wavelength point from the first transmission spectrum, the process includes: Extract the transmitted light intensity corresponding to each wavelength point in the first transmission spectrum; Based on the transmitted light intensity corresponding to each wavelength point, the mean data of transmitted light intensity is calculated, wherein the mean data includes at least one of the mean transmitted light intensity, the mean variance of transmitted light intensity, and the mean standard deviation of transmitted light intensity. All transmitted light intensities greater than the mean value in the first transmission spectrum are selected as initial transmitted light intensities. The two transmitted light intensities with the largest transmitted light intensities are selected from the initial transmitted light intensities as target transmitted light intensities. The wavelength points corresponding to the target transmitted light intensities are determined as characteristic wavelength points in the first transmission spectrum. The process, after selecting the two highest transmitted light intensities from the initial transmitted light intensities as the target transmitted light intensities, further includes: Obtain the elemental composition of the original liquid to be tested; If the liquid sample to be tested contains hydrogen, the larger target transmitted light intensity is selected from the two target transmitted light intensities as the final target transmitted light intensity, and the characteristic wavelength point corresponding to hydroxide ions is determined based on the final target transmitted light intensity. If the liquid sample to be tested contains hydroxide ions, the smaller target transmitted light intensity is selected from the two target transmitted light intensities as the final target transmitted light intensity, and the characteristic wavelength point corresponding to hydrogen is determined based on the final target transmitted light intensity. Based on the characteristic wavelength point corresponding to the hydroxide ion or the characteristic wavelength point corresponding to the hydrogen, the corresponding light absorption intensity is determined, and the water content of the liquid to be tested is calculated based on the light absorption intensity.

2. The method according to claim 1, characterized in that, When obtaining the first transmission spectrum, the method further includes: The operation involves removing wavelengths that do not provide information from the first transmission spectrum.

3. The method according to claim 2, characterized in that, When removing wavelengths that do not provide information from the first transmission spectrum, the method of filtering out non-information variables is used.

4. The method according to claim 1, characterized in that, When determining the characteristic wavelength point from the first transmission spectrum, the process includes: Obtain the second transmission spectrum of the original liquid to be tested; Calculate the difference in transmitted light intensity between each wavelength point in the first and second transmission spectra; The wavelength points with the largest difference in transmitted light intensity are selected as characteristic wavelength points.

5. The method according to claim 1, characterized in that, The molar extinction coefficient is calculated based on a pre-constructed multiple linear regression equation.

6. The method according to claim 5, characterized in that, Calculating the molar extinction coefficient based on the aforementioned multiple linear regression equation includes: Obtain at least three samples of water components in the test liquid with different water contents, including the molar concentration of the water component, the characteristic wavelength, the absorbance intensity corresponding to the characteristic wavelength, and the path length of light through the test solution; The molar extinction coefficient is calculated by substituting the molar concentration of water component, characteristic wavelength, absorbance intensity corresponding to the characteristic wavelength, and path length of light through the solution into the multiple linear regression equation for each liquid to be tested with different water contents.

7. A moisture content detection device, characterized in that, include: The spectrum acquisition module is used to acquire the first transmission spectrum of the liquid to be detected, and to determine the characteristic wavelength points from the first transmission spectrum. An absorbance spectral calculation module is used to calculate the absorbance spectrum of the liquid to be detected based on the first transmission spectrum. An absorbance calculation module is used to extract the absorbance corresponding to the characteristic wavelength point from the absorbance spectrum. A water content calculation module is used to calculate the water content of the liquid to be tested based on the absorbance, the path length of light through the liquid to be tested, and the molar extinction coefficient of the liquid to be tested. When acquiring the first transmission spectrum of the liquid to be tested, the following steps are included: A near-infrared optical probe is placed in the liquid to be tested using a near-infrared spectrometer to collect transmitted light signals that have traveled a predetermined distance through the liquid to be tested. Based on the transmitted light signal passing through a preset path of the liquid to be tested, a first transmission spectrum of the liquid to be tested is generated. Specifically, the transmitted light signal is first filtered to remove optical noise; then, the filtered transmitted light signal is subjected to series lead linear correction to obtain the corrected transmitted light signal; finally, based on the corrected transmitted light signal, a first transmission spectrum of the liquid to be tested is generated. When performing linear lead correction on the filtered transmitted light signal, the following steps are included: Determine the open-loop gain K value based on the steady-state error requirement; plot the logarithmic frequency response curve before correction using the open-loop gain K value; and determine the required phase lead angle based on the gain margin (degree) and phase margin (ωc) of the logarithmic frequency response curve before correction, combined with the Euler constant γ. The Euler constant γ is set to 0.277, and the required phase lead angle is... The calculation formula is as follows: ( )+(5-10) / degree After determining the required increase in phase lead angle Then, the phase lead angle is increased as needed. Determine the corresponding value of 'a', where the phase lead angle is... The relationship between the value of 'a' and the value of 'a' is shown below: After determining the value of 'a', the required increase in phase lead angle is calculated based on that value. corresponding angular frequency , where angular frequency The calculation formula is as follows: In the formula, T is the linear frequency corresponding to the angular frequency; The calculated angular frequency The cutoff frequency of the corrected logarithmic frequency response curve is used as the cutoff frequency, and the transmitted light signal is linearly led based on the corrected logarithmic frequency response curve. When determining the characteristic wavelength point from the first transmission spectrum, the process includes: Extract the transmitted light intensity corresponding to each wavelength point in the first transmission spectrum; Based on the transmitted light intensity corresponding to each wavelength point, the mean data of transmitted light intensity is calculated, wherein the mean data includes at least one of the mean transmitted light intensity, the mean variance of transmitted light intensity, and the mean standard deviation of transmitted light intensity. All transmitted light intensities greater than the mean value in the first transmission spectrum are selected as initial transmitted light intensities. The two transmitted light intensities with the largest transmitted light intensities are selected from the initial transmitted light intensities as target transmitted light intensities. The wavelength points corresponding to the target transmitted light intensities are determined as characteristic wavelength points in the first transmission spectrum. The process, after selecting the two highest transmitted light intensities from the initial transmitted light intensities as the target transmitted light intensities, further includes: Obtain the elemental composition of the original liquid to be tested; If the liquid sample to be tested contains hydrogen, the larger target transmitted light intensity is selected from the two target transmitted light intensities as the final target transmitted light intensity, and the characteristic wavelength point corresponding to hydroxide ions is determined based on the final target transmitted light intensity. If the liquid sample to be tested contains hydroxide ions, the smaller target transmitted light intensity is selected from the two target transmitted light intensities as the final target transmitted light intensity, and the characteristic wavelength point corresponding to hydrogen is determined based on the final target transmitted light intensity. Based on the characteristic wavelength point corresponding to the hydroxide ion or the characteristic wavelength point corresponding to the hydrogen, the corresponding light absorption intensity is determined, and the water content of the liquid to be tested is calculated based on the light absorption intensity.

8. A moisture content detection system, characterized in that, include: Near-infrared spectrometer, the moisture content detection device as described in claim 7, and host computer; The near-infrared spectrometer is used to acquire the first transmission spectrum of the liquid to be detected and send the first transmission spectrum to the water content detection device. The moisture content detection device is used to determine characteristic wavelength points from the first transmission spectrum. Based on the first transmission spectrum, the absorbance spectrum of the liquid to be tested is calculated; the absorbance corresponding to the characteristic wavelength point is extracted from the absorbance spectrum; based on the absorbance, the path length of light through the liquid to be tested, and the molar extinction coefficient corresponding to the liquid to be tested, the water content of the liquid to be tested is calculated; and the water content is sent to the host computer. The host computer is used to receive the moisture content and push the moisture content for display.

9. The system according to claim 8, characterized in that, Also includes: Power supply; The power supply is used to provide operating power for the near-infrared spectrometer, the moisture content detection device, and the host computer.

Citation Information

Patent Citations

  • A photometric light absorption measuring apparatus

    EP0121404A2

  • Measuring Component Concentrations of Nonhomogeneous Immiscible Mixtures in Multiphase Flows using Near-Infrared (NIR) Filter Photometry

    US20210116276A1