Water content detection method, device and system
By obtaining the transmission spectrum of the liquid, determining the characteristic wavelength points and calculating the water content, it solves the problem of traditional water content detection that is time-consuming and costly and the sample is easily damaged, realizes automated water content detection, and improves detection efficiency and accuracy.
Patent Information
- Application Number
- CN202410917859.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-09
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2044-07-09
AI Technical Summary
Traditional water content detection methods require a lot of time and expense, and may damage the sample, affecting subsequent analysis or verification.
By obtaining the transmission spectrum of the liquid to be detected, determining the characteristic wavelength points, calculating the absorbance spectrum, extracting the absorbance, and calculating the water content of the liquid based on the molar extinction coefficient, automated detection is achieved.
It improves the efficiency of water content detection, reduces the risk of sample damage, and simplifies the detection process.
Smart Images

Figure CN118730969A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of data processing technology, and in particular to a water content detection method, device and system. Background Art
[0002] In the production process, the control of water content is crucial to optimize process conditions and improve production efficiency. By measuring water content, the best drying conditions, mixing ratio or reaction time and other parameters can be determined, thereby improving product quality and output. In the process of research and development of new products, determining the water content helps to understand the performance changes of products under different conditions and provide valuable data support for product development and production process improvement.
[0003] Traditional methods for testing water content, such as the drying method, require the collection of part of the sample to be completed under chemical laboratory conditions, which costs a lot of money and time, and may damage the sample, affecting subsequent analysis or verification. Summary of the invention
[0004] In view of this, the present disclosure proposes a water content detection method, device and system, which can realize automatic testing of the water content of a liquid to be tested, thereby improving the efficiency of water content detection.
[0005] According to a first aspect of the present disclosure, a method for detecting water content is provided, comprising:
[0006] Acquire a first transmission spectrum of the liquid to be detected, and determine a characteristic wavelength point from the first transmission spectrum;
[0007] Calculating the absorbance spectrum of the liquid to be detected based on the first transmission spectrum;
[0008] Extracting the absorbance corresponding to the characteristic wavelength point from the absorbance spectrum;
[0009] The water content of the liquid to be detected is calculated based on the absorbance, the distance the light passes through the liquid to be detected, and the molar extinction coefficient corresponding to the liquid to be detected.
[0010] In a possible implementation manner, when the first transmission spectrum graph is obtained, the method further includes:
[0011] An operation of removing wavelength points in the first transmission spectrum that do not provide information is performed.
[0012] In a possible implementation, when the wavelength points that do not provide information in the first transmission spectrum are removed, it is implemented based on a non-information variable screening method.
[0013] In a possible implementation manner, when determining a characteristic wavelength point from the first transmission spectrum graph, the method includes:
[0014] Extracting the transmission light intensity corresponding to each wavelength point in the first transmission spectrum;
[0015] Based on the transmitted light intensity corresponding to each wavelength point, the mean data of the transmitted light intensity is calculated;
[0016] Based on the average data of the transmitted light intensity, a characteristic wavelength point is determined from the first transmission spectrum.
[0017] In a possible implementation manner, when determining a characteristic wavelength point from the first transmission spectrum graph, the method includes:
[0018] Obtaining a second transmission spectrum of the liquid to be detected;
[0019] Calculating the difference in transmission light intensity between each wavelength point in the first transmission spectrum graph and the second transmission spectrum graph;
[0020] A preset number of wavelength points with the largest transmitted light intensity difference are screened out as characteristic wavelength points.
[0021] In a possible implementation, the molar extinction coefficient is calculated based on a pre-constructed multivariate linear regression equation.
[0022] In a possible implementation, when calculating the molar extinction coefficient based on the multivariate linear regression equation, it includes:
[0023] Obtaining the molar concentration of water components in at least three samples of liquids to be tested with different water contents, characteristic wavelengths, absorbance intensity corresponding to the characteristic wavelengths, and distances traveled by light through the solutions to be tested;
[0024] The molar concentration of the water component in each liquid to be detected with different water content, the characteristic wavelength, the absorbance intensity corresponding to the characteristic wavelength, and the distance the light passes through the solution to be detected are substituted into the multivariate linear regression equation to calculate the molar extinction coefficient.
[0025] According to a second aspect of the present disclosure, there is provided a device for detecting water content, comprising:
[0026] A spectrum acquisition module, used for acquiring a first transmission spectrum of the liquid to be detected, and determining a characteristic wavelength point from the first transmission spectrum;
[0027] an absorption spectrum calculation module, used for calculating an absorbance spectrum of the liquid to be detected based on the first transmission spectrum;
[0028] An absorbance calculation module, used for extracting 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 detected based on the absorbance, the distance the light passes through the liquid to be detected, and the molar extinction coefficient corresponding to the liquid to be detected.
[0030] According to a third aspect of the present disclosure, a water content detection system is provided, comprising: a near-infrared spectrometer, the water content detection device according to the second aspect of the present disclosure, and a host computer;
[0031] The near-infrared spectrometer is used to obtain a 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 a characteristic wavelength point from the first transmission spectrum; calculate the absorbance spectrum of the liquid to be detected based on the first transmission spectrum; extract the absorbance corresponding to the characteristic wavelength point from the absorbance spectrum; calculate the water content of the liquid to be detected based on the absorbance, the distance of light passing through the liquid to be detected and the molar extinction coefficient corresponding to the liquid to be detected; and send the water content to the host computer;
[0033] The host computer is used to receive the water content and push and display the water content.
[0034] In a possible implementation, the system further includes: a power supply;
[0035] The power supply is used to provide working power for the near-infrared spectrometer, the water content detection device and the host computer.
[0036] The present disclosure provides a method, device and system for detecting water content, the method comprising: obtaining a first transmission spectrum of a liquid to be detected, and determining a characteristic wavelength point from the first transmission spectrum; calculating an absorbance spectrum of the liquid to be detected based on the first transmission spectrum; extracting the absorbance corresponding to the characteristic wavelength point from the absorbance spectrum; calculating the water content of the liquid to be detected based on the absorbance, the distance of light passing through the liquid to be detected and the molar extinction coefficient corresponding to the liquid to be detected. The method disclosed in the present disclosure can realize automatic testing of the water content of the liquid to be detected, thereby improving the efficiency of water content detection.
[0037] Further features and aspects of the present disclosure will become apparent from the following detailed description of exemplary embodiments with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate exemplary embodiments, features, and aspects of the disclosure and, together with the description, serve to explain the principles of the disclosure.
[0039] Figure 1 A flow chart showing a method for detecting water content according to an embodiment of the present disclosure is shown;
[0040] Figure 2 A schematic block diagram of a water content detection device according to an embodiment of the present disclosure is shown;
[0041] Figure 3 A schematic block diagram of a water content detection system according to an embodiment of the present disclosure is shown. DETAILED DESCRIPTION
[0042] Various exemplary embodiments, features and aspects of the present disclosure will be described in detail below with reference to the accompanying drawings. The same reference numerals in the accompanying drawings represent elements with the same or similar functions. Although various aspects of the embodiments are shown in the accompanying drawings, the drawings are not necessarily drawn to scale unless otherwise specified.
[0043] The word “exemplary” is used exclusively herein to mean “serving as an example, example, or illustration.” Any embodiment described herein as “exemplary” is not necessarily to be construed as preferred or advantageous over other embodiments.
[0044] In addition, in order to better illustrate the present disclosure, numerous specific details are given in the following specific embodiments. It should be understood by those skilled in the art that the present disclosure can also be implemented without certain specific details. In some examples, methods, means, components and circuits well known to those skilled in the art are not described in detail in order to highlight the subject matter of the present disclosure.
[0045] <Method Example>
[0046] Figure 1 FIG. 1 is a flow chart showing a method for detecting water content according to an embodiment of the present disclosure. Figure 1 As shown, the method includes steps S1100-S1400.
[0047] S1100, obtaining a first transmission spectrum of the liquid to be detected, and determining a characteristic wavelength point from the first transmission spectrum.
[0048] The liquid to be detected is the liquid whose water content is to be detected. When the water content of the liquid to be detected is detected, the near-infrared optical probe of the near-infrared spectrometer needs to be arranged in the liquid to be detected, so as to collect the transmission light signal of the preset distance through the liquid to be detected through the near-infrared optical probe, and send the collected transmission light signal to the near-infrared spectrometer. After receiving the transmission light signal, the near-infrared spectrometer generates a first transmission spectrum of the liquid to be detected based on the collected transmission light signal, and sends the generated first transmission spectrum to the water content detection device that executes the method disclosed in the present invention, so that the water content detection device can obtain the first transmission spectrum of the liquid to be detected.
[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 in the transmitted light signal; then, the filtered transmitted light signal is subjected to a series advance linear correction to obtain a corrected transmitted light signal; finally, based on the corrected transmitted light signal, a first transmission spectrum of the liquid to be detected is generated.
[0050] In a possible implementation, when the near-infrared spectrometer performs linear advance correction on the transmitted light signal after filtering, the following steps may be included: Determine the open-loop gain K value according to the steady-state error requirement. Use the open-loop gain K value to draw the logarithmic frequency characteristic curve before correction. Based on the amplitude margin degree and phase margin ωc of the logarithmic frequency characteristic curve before correction, and combined with the Euler constant γ, determine the phase advance angle that needs to be increased. Among them, the value of Euler constant γ is set to 0.277, and the phase advance angle to be increased is The calculation formula is as follows:
[0051]
[0052] After determining the phase advance angle that needs to be increased After that, increase the phase advance angle as needed Determine the corresponding a value, where the phase advance angle The relationship between the value and a is as follows:
[0053]
[0054] After the a value is determined, the phase advance angle to be increased is calculated based on the determined a value. The corresponding angular frequency ω m , where the angular frequency ω m The calculation formula is as follows:
[0055]
[0056] Where T is the linear frequency corresponding to the angular frequency.
[0057] The calculated angular frequency ω m The cutoff frequency of the corrected logarithmic frequency characteristic curve is used as the cutoff frequency of the corrected logarithmic frequency characteristic curve, and the transmitted light signal is linearly advanced corrected based on the corrected logarithmic frequency characteristic curve.
[0058] In a possible implementation, when the water content detection device obtains the first transmission spectrum, it also includes: removing the wavelength points that do not provide information in the first transmission spectrum, and then performing subsequent operations such as determining the characteristic wavelength from the first transmission spectrum after removing the wavelength points that do not provide information in the first transmission spectrum, thereby improving the accuracy and efficiency of subsequent water content calculations.
[0059] In a possible implementation, the removal of wavelength points that do not provide information in the first transmission spectrum can be implemented based on the uninformative variable screening method (UVE). The specific steps are as follows:
[0060] First, n sample solutions are prepared using the stock solution of the liquid to be detected, wherein the molar concentration of water in each sample solution is known.
[0061] Second, collect the first transmission spectrum corresponding to each sample solution, obtain n first transmission spectrums, and construct a spectrum matrix X (n×m) based on the obtained n first transmission spectrums. Wherein, m is the number of wavelength points contained in the first transmission spectrum. Specifically, after obtaining n first transmission spectrums, traverse the first transmission spectrum of each sample solution in order. For the first transmission spectrum of the current sample solution traversed, extract the transmission light intensity corresponding to each wavelength point in the first transmission spectrum of the current sample solution in order, and generate a matrix of 1 row and m columns, which is the corresponding transmission light intensity matrix of the current sample solution. After the traversal is completed, the corresponding transmission light intensity matrix of each sample solution can be obtained. Combine all the obtained transmission light intensity matrices into an n×m matrix, and the n×m matrix is the spectrum matrix X. Wherein, the first row of the spectrum matrix X is the transmission light intensity matrix corresponding to sample solution 1, the second row is the transmission light intensity matrix corresponding to sample solution 2, ..., and the nth row is the transmission light intensity matrix corresponding to sample solution n.
[0062] Third, the molar concentrations of water in n sample solutions are combined into a 1-column and n-row matrix, which is the concentration matrix Y (n×1), where 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 so on, 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 and the noise matrix R to form a combined matrix XR (n×2m). In the combined matrix XR (n×2m), the first m columns 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. After each regression analysis, perform leave-one-out cross-validation and obtain a PLS regression coefficient vector b. After the regression analysis is completed, n PLS regression coefficient vectors b will be obtained. Combine the n PLS regression coefficient vectors b to form a regression coefficient matrix B (n×2m).
[0066] Seventh, calculate the standard deviation S(b) and the mean value mean(b) of the regression coefficient matrix B (n×2m) column by column, and then calculate Ci = mean(bi) / S(bi), where i = 1, 2,..., 2m.
[0067] Eighth, in the interval [m + 1, 2m], take the maximum absolute value Cmax = max(abs(C)).
[0068] Ninth, in the interval [[1, m], remove the variables in the spectral matrix X corresponding to Ci < Cmax, and form a new matrix XUVE selected by the UVE method with the remaining variables.
[0069] The wavelength variables in the spectral matrix X corresponding to Ci < Cmax are the wavelength variables that do not provide information. Therefore, these corresponding wavelength variables in the first transmission spectrogram can be deleted, and the removal of the wavelength points that do not provide information in the first transmission spectrogram can be achieved.
[0070] In a possible implementation manner, when determining the characteristic wavelength points from the first transmission spectrogram, the following steps may be included:
[0071] First, extract the transmitted light intensities corresponding to each wavelength point in the first transmission spectrogram.
[0072] Second, based on the transmitted light intensities corresponding to each wavelength point, calculate the mean data of the transmitted light intensities. Among them, the mean data includes at least one of the mean value of the transmitted light intensity, the mean value of the variance of the transmitted light intensity, and the mean value of the standard deviation of the transmitted light intensity.
[0073] Third, based on the mean data of the transmitted light intensity, the characteristic wavelength point is determined from the first transmission spectrum. Specifically, all the transmitted light intensities greater than the mean data in the first transmission spectrum can be screened out as the initial transmitted light intensity, and then the two transmitted light intensities with the largest transmitted light intensities can be screened out from the initial transmitted light intensity as the target transmitted light intensity, and the wavelength point corresponding to the target transmitted light intensity can be determined as the characteristic wavelength point in the first transmission spectrum.
[0074] In an embodiment in which the mean data includes three mean data, namely the mean of the transmitted light intensity, the mean of the variance of the transmitted light intensity and the mean of the standard deviation of the transmitted light intensity, the transmitted light intensity greater than the three mean data will be screened out as the initial transmitted light intensity, and then the two transmitted light intensities with the largest transmitted light intensities will be screened out from the initial transmitted light intensities as the target transmitted light intensities, and the wavelength points corresponding to the target transmitted light intensities will be determined as the characteristic wavelength points in the first transmission spectrum diagram, that is, when the target transmitted light intensities are 2, the obtained characteristic wavelength points are also 2, among which the wavelength point corresponding to the smaller target transmitted light intensity is the characteristic wavelength point corresponding to the hydrogen component in water, and the wavelength point corresponding to the larger target transmitted light intensity is the characteristic wavelength point corresponding to the hydroxyl component in water.
[0075] In another possible implementation, the characteristic wavelength point in the first transmission spectrum can also be determined in combination with the second transmission spectrum of the stock solution. The specific steps are as follows:
[0076] First, obtain a second transmission spectrum of the original liquid to be detected. The original liquid is the original solution for configuring the liquid to be detected. The liquid to be detected mentioned in this application can be obtained by adding a certain amount of water to the original solution. The method for obtaining the second transmission spectrum of the original liquid is the same as the first transmission spectrum, which will not be repeated here.
[0077] Second, the difference in transmission light intensity between each wavelength point in the first transmission spectrum graph and the second transmission spectrum graph is calculated.
[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 according to the elemental composition of the component to be detected. Specifically, in the present disclosure, the water content in the liquid to be detected is determined, and water is composed of two elements, hydrogen and hydroxide, so the preset number should be set to 2.
[0079] It should be noted here that since the water content in the liquid to be tested needs to be detected in the present application, and water is composed of hydrogen and hydroxyl, the two largest transmitted light intensities screened out in the above manner are the transmitted light intensity corresponding to the hydrogen component in water and the transmitted light intensity corresponding to the hydroxyl component in water, respectively. Among them, the larger of the transmitted light intensity is the transmitted light intensity corresponding to the hydroxyl component, and the smaller is the transmitted light intensity corresponding to the hydrogen component.
[0080] In order to improve the accuracy of subsequent water content detection, it is necessary to further analyze the elemental composition of the original solution of the liquid to be tested. When the original solution of the liquid to be tested includes hydrogen, the larger target transmission light intensity will be screened out from the two target transmission light intensities, that is, the target transmission light intensity corresponding to the hydroxide in water will be screened out as the final target transmission light intensity. Then, based on the final target transmission light intensity, the characteristic wavelength point corresponding to the hydroxide is determined. Then, based on the characteristic wavelength point corresponding to the hydroxide, the light absorption intensity corresponding to the hydroxide is determined. Then, based on the light absorption intensity corresponding to the hydroxide, the molar concentration of the hydroxide is calculated. Finally, the water content in the liquid to be tested is calculated based on the molar concentration of the hydroxide. On the contrary, when the original solution of the liquid to be tested includes hydroxide, the smaller target transmission light intensity will be screened out from the two target transmission light intensities, that is, the target transmission light intensity corresponding to the hydrogen component in water will be screened out as the final target transmission light intensity. Then, based on the final target transmission light intensity, the characteristic wavelength point corresponding to the hydrogen component is determined. Then, based on the characteristic wavelength point corresponding to the hydrogen component, the light absorption intensity corresponding to the hydrogen component is determined. Next, the molar concentration of hydroxide is calculated based on the light absorption intensity corresponding to hydroxide. Finally, the water content in the liquid to be detected is calculated based on the molar concentration of hydroxide.
[0081] S1200, based on the first transmission spectrum, calculate the absorbance spectrum of the liquid to be detected. Specifically, extract the transmission light intensity at each wavelength point from the first transmission spectrum, calculate the absorption light intensity at each wavelength point based on the transmission light intensity at each wavelength point, and then generate the absorbance spectrum of the liquid to be detected based on the absorption light intensity at each wavelength point. Among them, how to calculate the absorption intensity based on the transmission light intensity, and how to generate the absorbance spectrum of the liquid to be detected based on the absorption light intensity at each wavelength point are common knowledge in the art and will not be repeated here.
[0082] S1300, extracting the absorbance corresponding to the characteristic wavelength point from the absorbance spectrum.
[0083] S1400, based on the absorbance, the distance that the light passes through the liquid to be detected, and the molar extinction coefficient corresponding to the liquid to be detected, calculate the water content of the liquid to be detected. Specifically, first calculate the molar concentration of the constituent elements of water in the liquid to be detected based on the absorbance, the distance that the light passes through the liquid to be detected, and the molar extinction coefficient corresponding to the liquid to be detected, and then calculate the water content in the liquid to be detected based on the molar concentration of the constituent elements of water. The calculation formula for the molar concentration of the constituent elements of water in the liquid to be detected is as follows:
[0084] A=ε×C×L
[0085] In the formula, A is absorbance, C is the molar concentration of the component, ε is the molar extinction coefficient corresponding to the liquid to be detected, and L is the distance that the light passes through the liquid to be detected. Among them, the distance that the light passes through the liquid to be detected is the preset distance described in the above.
[0086] After calculating the absorbance intensity corresponding to the hydrogen component in water, substitute the absorbance intensity A corresponding to the hydrogen component, the molar extinction coefficient ε corresponding to the liquid to be detected, and the distance L of light passing through the liquid to be detected into the above formula to calculate the molar concentration of the hydrogen component, and then calculate the water content in the liquid to be detected based on the molar concentration of the hydrogen component.
[0087] Similarly, after calculating the absorbance intensity corresponding to hydroxide in water, the absorbance intensity A corresponding to hydroxide, the molar extinction coefficient ε corresponding to the liquid to be detected, and the distance L of light passing through the liquid to be detected are substituted into the above formula to calculate the molar concentration of hydroxide, and then the water content in the liquid to be detected is calculated based on the molar concentration of hydroxide.
[0088] In a 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, first construct the following equation group based on the molar concentration y of the water component in the liquid to be detected, the characteristic wavelength x1, the absorbance intensity amplitude x2 corresponding to the characteristic wavelength x1, the distance n that the light passes through the liquid to be detected, and the model coefficients b0, b1, and b2:
[0089]
[0090] Then, based on the above equations, the following multiple linear regression equation is constructed:
[0091]
[0092] After constructing the multivariate linear regression equation shown below, the molar extinction coefficient ε in the formula can be calculated based on the constructed multivariate linear regression equation. The specific steps are as follows:
[0093] First, obtain the molar concentration, characteristic wavelength, absorbance intensity corresponding to the characteristic wavelength, and the distance that light passes through the solution to be detected corresponding to the water component in at least three portions of the liquid to be detected with different water contents. Specifically, at least three samples of the liquid to be detected with different water contents are configured based on the original solution of the liquid to be detected. The water content in each sample is determined during the sample configuration process. After the water content in each sample is determined, the molar concentration corresponding to the water component in each sample can be determined. At the same time, the transmission spectrum of each sample is collected to obtain the transmission spectrum of each sample. After the transmission spectrum of each sample is collected, the characteristic wavelength corresponding to the water component in each sample and the absorbance intensity corresponding to the characteristic wavelength can be determined by referring to the method above. The distance that light passes through the solution to be detected is a fixed value. At this point, the molar concentration, characteristic wavelength, absorbance intensity corresponding to the characteristic wavelength, and the distance that light passes through the solution to be detected can be obtained.
[0094] Second, the molar concentration of the water component in each liquid to be tested with different water content, the characteristic wavelength, the absorbance intensity corresponding to the characteristic wavelength, and the distance of light passing through the solution to be tested are substituted into the constructed multiple linear regression equation to calculate the molar extinction coefficient. 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 above water content calculation can be performed.
[0096] The present disclosure provides a method for detecting water content, comprising: obtaining a first transmission spectrum of a liquid to be detected, and determining a characteristic wavelength point from the first transmission spectrum; calculating an absorbance spectrum of the liquid to be detected based on the first transmission spectrum; extracting the absorbance corresponding to the characteristic wavelength point from the absorbance spectrum; and calculating the water content of the liquid to be detected based on the absorbance, the distance of light passing through the liquid to be detected, and the molar extinction coefficient corresponding to the liquid to be detected. The method disclosed in the present disclosure can realize automatic testing of the water content of the liquid to be detected, thereby improving the efficiency of water content detection.
[0097] <Device Example>
[0098] Figure 2 FIG. 1 is a schematic block diagram of a water content detection device according to an embodiment of the present disclosure. Figure 2 As shown, the device 100 includes:
[0099] The spectrum acquisition module 110 is used to acquire a first transmission spectrum of the liquid to be detected, and determine a characteristic wavelength point 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 detected based on the absorbance, the distance the light passes through the liquid to be detected, and the molar extinction coefficient corresponding to the liquid to be detected.
[0103] <System Embodiment>
[0104] Figure 3 FIG. 1 is a schematic block diagram of a water content detection system according to an embodiment of the present disclosure. Figure 3 As shown, the system 200 includes: a near infrared spectrometer 210, a water content detection device 220 described in the device embodiment, and a host computer 230;
[0105] A near infrared spectrometer 210 is used to obtain a first transmission spectrum of the liquid to be detected, and send the first transmission spectrum to the water content detection device;
[0106] The water content detection device 220 is used to determine the characteristic wavelength point from the first transmission spectrum; calculate the absorbance spectrum of the liquid to be detected based on the first transmission spectrum; extract the absorbance corresponding to the characteristic wavelength point from the absorbance spectrum; calculate the water content of the liquid to be detected based on the absorbance, the distance of light passing through the liquid to be detected and the molar extinction coefficient corresponding to the liquid to be detected; and send the water content to the host computer;
[0107] The host computer 230 is used to receive the water content and push the water content for display.
[0108] In a possible implementation, it also includes: a power supply; a power supply, which is used to provide working power for the near-infrared spectrometer, the water content detection device and the host computer.
[0109] The embodiments of the present disclosure have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The selection of terms used herein is intended to best explain the principles of the embodiments, practical applications, or technical improvements to the technology in the market, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein.
Claims
1. A method for detecting water content, It is characterized in that include: Acquire a first transmission spectrum of the liquid to be detected, and determine a characteristic wavelength point from the first transmission spectrum; Calculating the absorbance spectrum of the liquid to be detected based on the first transmission spectrum; Extracting the absorbance corresponding to the characteristic wavelength point from the absorbance spectrum; The water content of the liquid to be detected is calculated based on the absorbance, the distance the light passes through the liquid to be detected, and the molar extinction coefficient corresponding to the liquid to be detected.
2. The method according to claim 1, It is characterized in that When the first transmission spectrum is obtained, the method further includes: An operation of removing wavelength points in the first transmission spectrum that do not provide information is performed.
3. The method according to claim 2, It is characterized in that When the wavelength points that do not provide information in the first transmission spectrum are removed, it is achieved based on the non-information variable screening method.
4. The method according to claim 1, It is characterized in that When determining a characteristic wavelength point from the first transmission spectrum, the method includes: Extracting the transmission 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 the transmitted light intensity is calculated; Based on the average data of the transmitted light intensity, a characteristic wavelength point is determined from the first transmission spectrum.
5. The method according to claim 1, It is characterized in that When determining a characteristic wavelength point from the first transmission spectrum, the method includes: Obtaining a second transmission spectrum of the liquid to be detected; Calculating the difference in transmission light intensity between each wavelength point in the first transmission spectrum graph and the second transmission spectrum graph; A preset number of wavelength points with the largest transmitted light intensity difference are screened out as characteristic wavelength points.
6. The method according to claim 1, It is characterized in that The molar extinction coefficient is calculated based on a pre-constructed multiple linear regression equation.
7. The method according to claim 5, It is characterized in that When calculating the molar extinction coefficient based on the multivariate linear regression equation, it includes: Obtaining the molar concentration of water components in at least three samples of liquids to be tested with different water contents, characteristic wavelengths, absorbance intensity corresponding to the characteristic wavelengths, and distances traveled by light through the solutions to be tested; The molar concentration of the water component in each liquid to be detected with different water content, the characteristic wavelength, the absorbance intensity corresponding to the characteristic wavelength, and the distance the light passes through the solution to be detected are substituted into the multivariate linear regression equation to calculate the molar extinction coefficient.
8. A water content detection device, It is characterized in that include: A spectrum acquisition module, used for acquiring a first transmission spectrum of the liquid to be detected, and determining a characteristic wavelength point from the first transmission spectrum; an absorbance spectrum calculation module, used for calculating the absorbance spectrum of the liquid to be detected based on the first transmission spectrum; An absorbance calculation module, used for extracting the absorbance corresponding to the characteristic wavelength point from the absorbance spectrum; The water content calculation module is used to calculate the water content of the liquid to be detected based on the absorbance, the distance the light passes through the liquid to be detected, and the molar extinction coefficient corresponding to the liquid to be detected.
9. A water content detection system, It is characterized in that include: A near-infrared spectrometer, a water content detection device as claimed in claim 8, and a host computer; The near-infrared spectrometer is used to obtain a first transmission spectrum of the liquid to be detected, and send the first transmission spectrum to the water content detection device; The water content detection device is used to determine the characteristic wavelength point from the first transmission spectrum; Based on the first transmission spectrum, calculate the absorbance spectrum of the liquid to be detected; extract the absorbance corresponding to the characteristic wavelength point from the absorbance spectrum; calculate the water content of the liquid to be detected based on the absorbance, the distance of light passing through the liquid to be detected and the molar extinction coefficient corresponding to the liquid to be detected; send the water content to the host computer; The host computer is used to receive the water content and push and display the water content.
10. The system according to claim 9, It is characterized in that Also includes: Power supply; The power supply is used to provide working power for the near-infrared spectrometer, the water content detection device and the host computer.
Citation Information
Patent Citations
Leaf water near infrared non-destructive testing device and method in light open environment
CN101949825A
Transmission-type nondestructive measuring device and method of water content of plant leaves
CN101975759A
Method for exploring and detecting optimal soil moisture content of soil nitrogen by using near-infrared spectroscopy
CN108982407A
Seed vigor determining method and system based on NIRS and storage medium
CN109520964A
Method and apparatus for determining water content in liquids based on oil and in similar liquids
DE3712879A1
