A device and method for online rapid detection of total nitrogen based on aliased fluorescence spectrum with low-rank characterization

Through low-rank characterization algorithm and wide-spectrum fluorescence excitation technology, a total nitrogen detection model is constructed, which solves the problem of limited speed and accuracy in traditional detection technology, achieves fast and accurate online detection of total nitrogen, and reduces the risk of environmental pollution.

CN114739959BActive Publication Date: 2024-09-03CENT SOUTH UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210247492.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-14
Publication Date
2024-09-03
Estimated Expiration
2042-03-14

AI Technical Summary

Technical Problem

The speed and accuracy of traditional total nitrogen online detection technology are limited by the long oxidation and digestion process, and the chemical reagents used may cause secondary environmental pollution if not properly handled, and cannot meet the needs for rapid and accurate water quality monitoring.

Method used

An online rapid detection method of total nitrogen in the aliased fluorescence spectrum based on low-rank characterization is adopted. The light intensity is adjusted by a wide-spectrum fluorescence excitation light source and a collimating mirror to collect fluorescence information under different excitation light intensities. The feature information is extracted using a low-rank characterization algorithm. Construct a total nitrogen concentration detection model to avoid oxidation and digestion reaction steps and improve detection speed and accuracy.

Benefits of technology

It achieves rapid and accurate online detection of total nitrogen, reduces redundant information and calculations during the detection process, improves the generalization ability and independent learning ability of the model, and avoids environmental pollution.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114739959B
    Figure CN114739959B
Patent Text Reader

Abstract

The present invention discloses an online rapid detection device and method for total nitrogen based on aliased fluorescence spectra based on low-rank characterization. By changing the light intensity of the excitation light source through an adjustable wide-spectrum excitation light source, the solution to be tested is stimulated to produce aliased fluorescence spectra under different light intensities; at the same time, a micro-fluorescence spectrometer is used to record the entire fluorescence spectrum change process of the solution to be tested under the change of the excitation light intensity in situ at high frequency; combined with a low-rank characterization feature extraction algorithm, according to the different excitation characteristics of the fluorescence spectrum under different light intensities, redundant noise is eliminated, and a low-dimensional atomic feature characterization subspace is adaptively established; and a sparsity constraint assumption is added, and a least squares regression term is introduced to construct a total nitrogen spectrum detection model based on variable light intensity aliased fluorescence spectra, so as to realize rapid online detection of the total nitrogen concentration of the water sample to be tested.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of automatic detection, and in particular relates to an online rapid detection device and method for total nitrogen by aliased fluorescence spectroscopy based on low-rank characterization. Background Art

[0002] Water shortage will have a great impact on social production and people's lives. As a key link in the recycling of water resources, sewage treatment has great significance for its stable and efficient normal operation. Water quality parameters, as parameters that characterize the physical, chemical and biochemical properties of various substances in water bodies, are characteristic indicators for measuring the quality and changing trends of water bodies, and are also important bases for optimizing and controlling sewage treatment processes. As the main water pollution parameter, total nitrogen can intuitively reflect the degree of nitrogen pollution in water bodies. Its rapid and stable detection is of great significance for preventing water quality and environmental pollution disasters such as eutrophication. However, the traditional online detection technology of total nitrogen requires a long oxidation and digestion process, which limits the speed and accuracy of online detection of total nitrogen. If the various chemical reagents used in the detection process are not properly handled, they will also cause secondary pollution to the environment. To this end, the present invention proposes an online rapid detection method for total nitrogen in aliased fluorescence spectra based on low-rank characterization. By changing the excitation light intensity of a broadband excitation light source, the fluorescence spectrum of the sample liquid to be tested under different excitation light intensities is obtained. Based on a low-rank characterization feature extraction algorithm, the fluorescent substance information in the variable-intensity fluorescence aliased spectrum is adaptively extracted. Finally, a total nitrogen rapid detection model based on variable-intensity fluorescence spectra is constructed to achieve the purpose of rapid detection of total nitrogen concentration in the water sample to be tested.

[0003] Fluorescence spectroscopy is a type of excitation spectrum. The principle is that after a substance absorbs electromagnetic radiation, it is excited. During the de-excitation process, the molecules or atoms re-emit radiation with the same or different wavelengths as the excitation radiation wave. It has the characteristics of high sensitivity, strong selectivity, small sample quantity and simple method. Traditional fluorescence water sample detection is often based on the use of monochromatic lasers to excite the water body to produce fluorescence. However, considering the complex composition of actual water substances, the fluorescence spectrum produced by a single excitation light intensity cannot reflect the rich material information in the water body. For this reason, the present invention proposes a method for detecting water substances using a more general wide-spectrum light source to excite aliased fluorescence spectra: using the differences in fluorescence performance of different water quality components under different excitation light intensities, supplemented by feature extraction algorithms, the main fluorescent substance components in the water body are qualitatively and quantitatively analyzed to overcome the defects of different wavelengths of fluorescence excitation caused by wide-spectrum excitation fluorescence, and the difficulty in extracting material information.

[0004] As a new high-dimensional data analysis and processing method, low-rank representation has been used in many popular fields such as machine vision, statistical analysis, and signal processing. Low-rank representation can be seen as the promotion and development of compressed sensing theory. It uses the rank of the matrix as a sparse measure, and discovers its low-dimensional feature subspace from high-dimensional observation samples, so as to effectively extract the characteristic information of the observation samples and eliminate noise and redundancy. However, in the existing technical solutions, there is no better optimization method to apply low-rank representation to water sample detection, while the rapidity and accuracy of water sample detection have a wide market demand and are valued by various research groups and institutions. Summary of the invention

[0005] In view of the problems existing in the prior art, the first purpose of the present invention is to provide an online rapid detection device for total nitrogen based on aliased fluorescence spectrum of low-rank characterization, which uses a wide-spectrum fluorescence excitation light source to excite the fluorescence aliased spectrum of the sample liquid to be tested, and adjusts the light intensity of the excitation light source by changing the light transmission area of ​​the collimator to induce different fluorescence excitation reactions of the fluorescent substances in the water body to be tested, thereby collecting water sample information more comprehensively. The device has a wide spectral measurement range, high sensitivity, fast response speed, and accurate test results, which can meet the needs of rapid and accurate water body detection.

[0006] The second purpose of the present invention is to provide a method for online rapid detection of total nitrogen by aliased fluorescence spectra based on low-rank characterization. By using the detection device provided by the present invention, a low-rank characterization algorithm is used to intelligently extract the characteristic information of fluorescence aliased spectra under changes in excitation light intensity, establish a total nitrogen concentration detection model based on fluorescence aliased spectra, and realize rapid online detection of total nitrogen concentration in actual water samples.

[0007] To achieve the above technical objectives, the present invention provides an online rapid detection device for total nitrogen by aliasing fluorescence spectroscopy based on low-rank characterization, comprising: a light source, a backlight condenser, a focusing prism, a light shielding baffle, a collimator, a cuvette and a CCD probe; the backlight condenser, light source, focusing prism, light shielding baffle, collimator and cuvette are distributed in sequence on the same axis, and the CCD probe is distributed perpendicular to the axis on one side of the smooth surface of the cuvette.

[0008] As a preferred solution, the light source is a wide-spectrum excitation light source; the light-shielding baffle is adjustable. By adjusting the area of ​​the wide-spectrum excitation light source passing through the collimating mirror and changing the excitation light intensity of the light source from weak to strong, the aliased fluorescence spectrum changes of the test solution under different excitation light intensities can be detected in situ, and multiple groups of aliased fluorescence change spectra of calibration water samples with different total nitrogen concentrations can be collected. In order to cooperate with the subsequent spectroscopic process, traditional light sources generally use narrow light sources. Although the test accuracy is guaranteed, a large amount of water sample information is lost. Compared with traditional spectral excitation light sources, the use of wide-spectrum excitation light sources can excite and collect more water sample information, and subsequent algorithm optimization can better utilize this water sample information, making the model more accurate and faster.

[0009] As a preferred solution, the CCD probe pixel matrix is ​​4K×4K or 3K×3K, and the pixel size is 108 μm or 140 μm.

[0010] The present invention also provides a method for online rapid detection of total nitrogen by aliased fluorescence spectra based on low-rank characterization, the main steps of which are: 1) dividing the sample to be tested into two equal parts, one for obtaining the true value, and the other for obtaining a high-dimensional aliased matrix by matrixing the aliased fluorescence spectrum; 2) extracting and optimizing the low-rank matrix in the high-dimensional aliased matrix; 3) constructing and training a total nitrogen detection SVM model based on the optimized low-rank matrix.

[0011] The low-rank characterization algorithm is used for feature extraction of fluorescence aliasing spectra under variable light intensity, which can effectively extract the spectral information of different fluorescent substances in water samples excited by changing excitation light intensity, and further eliminate redundant information irrelevant to total nitrogen concentration detection through sparse weight distribution, thereby constructing a total nitrogen detection model and improving the accuracy and speed of total nitrogen online detection.

[0012] As a preferred solution, the test liquid is urban sewage of different concentrations; the true value is the national standard test value of total nitrogen of the test liquid. The test sample liquid of different concentrations of total nitrogen is divided into two parts in equal proportion, one part is tested by the national standard test method of total nitrogen GB11894-89 as the true value; the other part is used to collect the fluorescence spectrum change data during the change of excitation light intensity. The test liquid should be diluted before adding it to the cuvette, and the diluent is ultrapure water with a resistivity of not less than 18.3 megohms.

[0013] As a preferred solution, the aliased fluorescence spectrum is an aliasing of the fluorescence change spectra of the in-situ test solution under different test excitation light intensities, the measurement range of the fluorescence spectrum is 200nm~1100nm, the scanning time interval t is 0.1~0.5s, and the shading plate moving speed is 0.02~0.1cm / s.

[0014] As a preferred solution, the matrixing is a process of collecting fluorescence changes in situ using changes in the intensity of the excitation light and constructing a high-dimensional aliasing matrix.

[0015] As a preferred solution, the low-rank matrix extraction process is: constructing a low-rank feature extraction target loss function through a high-dimensional aliasing matrix, and then introducing low-rank constraints and structured sparse constraints on the low-rank matrix.

[0016] As a preferred solution, the optimization method is the augmented Lagrange multiplier method, which is optimized until the low rank constraint and the sparse constraint converge.

[0017] As a preferred solution, the target loss function of the low-rank feature extraction is the least squares loss function of the product of the low-rank matrix and the sparse representation and the high-dimensional matrix. The low-rank target loss function is: P, X, and W come from the matrixization process, where P is the original high-dimensional sample data, X is the separated low-rank representation subspace, and W is the sparse representation of the sample data.

[0018] As a preferred solution, the low-rank constraint of the low-rank matrix is ​​introduced by the nuclear norm, and the sparse constraint of the low-rank matrix is ​​introduced by the combined norm. After introducing the low-rank constraint and the sparse constraint, the low-rank objective loss function becomes: λ is the loss weight. Low-rank constraints are introduced to separate the effective information of aliased fluorescence spectra and to explore the low-rank representation of different nitrogen-containing substances in high-dimensional aliased spectra. The fundamental purpose of low-rank constraints is to constrain the rank of the matrix, and the nuclear norm is convexly approximated to the rank of the matrix, so low-rank constraints are introduced through the nuclear norm. The introduction of sparse constraints on low-rank matrices is to ensure the sparsity of the matrix, which is to ignore elements in the matrix that have little or no correlation with the calculation results.

[0019] As a preferred solution, the penalty term of the augmented Lagrange multiplier method is obtained by at least one of an inner product method, an outer product method and a hybrid method.

[0020] As a preferred solution, the total nitrogen detection model construction process is: constructing the target loss function through the total nitrogen concentration, then introducing the sparse constraints of the time regression weight and the sparse constraints of the space regression weight and optimizing through the linear alternating direction multiplier method. Since the function contains two variables, the time regression weight and the space regression weight, it is more complicated to directly use the augmented Lagrange multiplier method, while the optimization using the linear alternating direction multiplier method can well solve the optimization problem of multivariate variables.

[0021] As a preferred solution, the target loss function constructed with the total nitrogen concentration as the true value is the least squares loss function of the time regression weight multiplied by the sparse constraint multiplied by the spatial regression weight and the total nitrogen concentration. The target loss function of the total nitrogen concentration is: Y is the total nitrogen concentration of the test liquid, W is the sparse representation of the sample data, T is the time regression weight of the sparse representation of the regression model, and D is the spatial regression weight of the sparse representation of the regression model.

[0022] As a preferred solution, the sparse constraints of the temporal regression weights and the sparse constraints of the spatial regression weights are introduced by the bi-norm. After the constraint terms are introduced, we obtain: λ D and λ T is the sparse constraint loss weight of T and D. The L2 norm limits the size of the parameters, thereby limiting the size of the components. Therefore, the L2 norm can improve the generalization ability of the model. In addition, when the condition number is large, it is difficult to directly invert the matrix. In addition, a large cond value will also lead to λ-strongly convex, and the L2 norm can effectively solve these problems.

[0023] Beneficial technical effects of the present invention:

[0024] 1. The present invention proposes to utilize the fluorescence aliasing spectrum excited by a wide-spectrum light source under changing light intensity, introduces sparse constraints based on a low-rank characterization feature extraction algorithm to establish a rapid total nitrogen detection model, thereby avoiding the lengthy oxidation and digestion reaction steps in the traditional total nitrogen detection process and improving the speed and accuracy of online total nitrogen detection.

[0025] 2. The present invention eliminates redundant information in the spectrum through algorithm optimization. While ensuring the accuracy of the model, it also reduces the dimension and calculation amount of the model, thereby achieving rapid detection. In addition, as the detection data increases, the model can also learn and adjust autonomously to further improve the accuracy of the model. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] Figure 1 This is a flow chart of the online rapid detection method of total nitrogen by aliased fluorescence spectroscopy based on low-rank characterization;

[0027] Figure 2 This is a schematic diagram of the structure principle of the total nitrogen variable light intensity fluorescence aliasing spectrum measurement system of the present method;

[0028] Figure 3 It is a schematic diagram of the low-rank feature representation subspace feature extraction algorithm;

[0029] Figure 4 It is the variable intensity fluorescence aliasing spectrum of the actual water sample. DETAILED DESCRIPTION

[0030] Model building and training:

[0031] Step 1: By adjusting the transmission area of ​​the collimator of the wide spectrum excitation light source, the excitation light intensity of the light source is changed from weak to strong. At the same time, a micro fluorescence spectrometer is used to detect the aliased fluorescence spectrum changes of the test solution under different excitation light intensities in situ, and the aliased fluorescence change spectra of multiple groups of calibration water samples with different total nitrogen concentrations are collected;

[0032] Step 1: Divide the total nitrogen sample solution with different concentrations into two equal proportions, one of which is tested using the national standard test method for total nitrogen GB11894-89 as the true value; the other is used to collect the fluorescence spectrum change data during the change of the excitation light intensity;

[0033] Step 2: Figure 2 0.4 ml of the solution to be tested is injected into the quartz test dish shown, and diluted to 4 ml with water;

[0034] The dilution water is ultrapure water prepared by a water purification instrument, and its resistivity meets the national standard of 18.3 megohms or more;

[0035] Step 3: Detect the fluorescence spectrum change of the diluted test solution at time intervals t, while moving at a speed v Figure 2 The light shielding plate shown changes the intensity of the excitation light source from weak to strong until the excitation light intensity reaches the rated value;

[0036] The measurement range of the fluorescence spectrum is 200nm~1100nm, the scanning time interval t is 0.5s, and the moving speed of the light shield is 0.1cm / s;

[0037] Step 2: Use a low-rank representation feature extraction algorithm to simultaneously extract features from multiple groups of calibration water samples collected in step 1, remove redundant information and noise in the original variable-intensity fluorescence aliasing spectrum, adaptively learn the low-dimensional feature representation subspace under the current water body, and extract the main material information of the aliased fluorescence spectrum;

[0038] Step 1: Divide the total nitrogen sample solution with different concentrations into two equal proportions, one of which is tested using the national standard test method for total nitrogen GB11894-89 as the true value; the other is used to collect the fluorescence spectrum change data during the change of the excitation light intensity;

[0039] Step 2: Figure 2 0.4 ml of the solution to be tested is injected into the quartz test dish shown, and diluted to 4 ml with water;

[0040] The dilution water is ultrapure water prepared by a water purification instrument, and its resistivity meets the national standard of 18.3 megohms or more;

[0041] Step 3: Detect the fluorescence spectrum change of the diluted test solution at time intervals t, while moving at a speed v Figure 2The light shielding plate shown changes the intensity of the excitation light source from weak to strong until the excitation light intensity reaches the rated value;

[0042] The measurement range of the fluorescence spectrum is 200nm~1100nm, the scanning time interval t is 0.5s, and the moving speed of the light shield is 0.1cm / s;

[0043] Step 3: Introduce sparsity constraints and least squares regression terms, and based on the calibrated total nitrogen concentration values ​​of water samples, construct a rapid detection model for total nitrogen based on variable intensity fluorescence aliasing spectra to achieve online detection of total nitrogen based on aliasing fluorescence spectra.

[0044] Step 1: Using the least squares loss function of formula (4) as the main objective loss function, a fluorescence spectrum regression model for total nitrogen detection is constructed;

[0045] The objective loss function of the least squares is:

[0046]

[0047] Y is the total nitrogen concentration value of the calibration sample, T is the time regression weight of the sparse representation of the regression model, and D is the spatial regression weight of the sparse representation of the regression model;

[0048] Step 2: Introduce sparse feature constraints to ensure the sparsity of regression weights T and D;

[0049] The sparse constraint is introduced by the bi-norm, and the target loss function of the sparse constraint is:

[0050]

[0051] λ D and λ T is the sparse constraint loss weight of T and D;

[0052] Step 3: Use the linear alternating direction multiplier method to optimize the optimization algorithm to solve the optimal values ​​of T and D respectively, minimize the target loss function, and then build an online detection model for total nitrogen based on variable intensity aliased fluorescence spectroscopy.

[0053] Example:

[0054] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0055] Take the rapid online detection of total nitrogen concentration in a community's urban sewage pipe as an example. The first step is to use Figure 2 The variable intensity fluorescence aliasing spectrum measurement system shown collects spectrum data ( Figure 4 ), and determine the total nitrogen concentration of the sample liquid to be tested as the true value according to the national standard method; the second step is to use the low-rank characterization algorithm to construct a low-rank atomic subspace and its sparse feature representation based on the variable-intensity fluorescence aliasing spectrum data collected in the first step, eliminate the noise interference in the observed high-dimensional spectrum, and extract the material information in the variable-intensity fluorescence aliasing spectrum; the third step is to take the least squares loss function as the core, introduce the sparse constraint term, construct the regression model target loss function, and then optimize the target function loss value through the linear alternating direction multiplier method, so as to establish a total nitrogen rapid detection model based on variable-intensity fluorescence aliasing spectrum. This method is compared with the traditional total nitrogen online detection method in terms of detection error, repeatability, detection time, etc. The results are shown in Table 1. It can be seen from Table 1 that this method is superior to the traditional detection method in terms of relative error, repeatability, detection time, etc.

[0056] Table 1 Comparison of detection performance between total nitrogen rapid detection method and traditional online detection method

[0057]

Claims

1. An online rapid detection device for total nitrogen based on aliased fluorescence spectrum with low-rank characterization, characterized in that: include: A light source, a backlight condenser, a focusing prism, a light shielding plate, a collimator, a cuvette and a CCD probe; the backlight condenser, the light source, the focusing prism, the light shielding plate, the collimator and the cuvette are sequentially distributed on the same axis, and the CCD probe is distributed perpendicular to the axis on one side of the smooth surface of the cuvette; the testing method of the detection device is as follows: 1) the sample to be tested is divided into two equal parts, one part is used to obtain the true value, and the other part is matrixed by aliasing fluorescence spectra to obtain a high-dimensional aliasing matrix; 2) the low-rank matrix in the high-dimensional aliasing matrix is ​​extracted and optimized; 3) the total nitrogen detection SVM model is constructed according to the optimized low-rank matrix and trained, that is, The low-rank matrix extraction process is as follows: a low-rank feature extraction target loss function is constructed through a high-dimensional aliasing matrix, and then low-rank constraints and structured sparse constraints on the low-rank matrix are introduced, and the augmented Lagrange multiplier method is used to optimize until the low-rank constraints and sparse constraints converge.

2. According to claim 1, the device for online rapid detection of total nitrogen by aliased fluorescence spectrum based on low-rank characterization is characterized in that: The light source is a wide-spectrum excitation light source; the light-shielding baffle is adjustable.

3. According to claim 1, the device for online rapid detection of total nitrogen by aliased fluorescence spectrum based on low-rank characterization is characterized in that: The pixel matrix of the CCD probe is 4K×4K or 3K×3K, and the pixel size is 108 μm or 140 μm.

4. According to claim 1, the device for online rapid detection of total nitrogen by aliased fluorescence spectrum based on low-rank characterization is characterized in that: The samples to be tested are urban sewage of different concentrations; The true value is the national standard detection value of total nitrogen in the test solution; the aliased fluorescence spectrum is the aliasing of the fluorescence change spectrum of the in-situ test solution under different test excitation light intensities, the measurement range of the fluorescence spectrum is 200nm~1100nm, and the scanning time interval is t The moving speed of the light shield is 0.1~0.5s, and the moving speed of the light shield is 0.02~0.1cm / s; the matrixing is a process of collecting fluorescence changes in situ by using the changes in the intensity of the excitation light and constructing a high-dimensional aliasing matrix.

5. The online rapid detection device for total nitrogen by aliased fluorescence spectrum based on low-rank characterization according to claim 1 is characterized in that: The target loss function of the low-rank feature extraction is the least squares loss function of the product of the low-rank matrix and the sparse representation and the high-dimensional matrix; the low-rank constraint of the low-rank matrix is ​​introduced through the nuclear norm, and the sparse constraint of the low-rank matrix is ​​introduced through the combinatorial norm; the penalty term of the augmented Lagrange multiplier method is obtained by at least one of the inner product method, the outer product method and the hybrid method.

6. The online rapid detection device for total nitrogen based on aliased fluorescence spectrum with low-rank characterization according to claim 1 is characterized in that: The total nitrogen detection SVM model construction process is as follows: constructing a target loss function through total nitrogen concentration, introducing sparse constraints of time regression weights and sparse constraints of space regression weights, and optimizing through a linear alternating direction multiplier method.

7. The online rapid detection device for total nitrogen by aliased fluorescence spectrum based on low-rank characterization according to claim 6 is characterized in that: The target loss function constructed by the total nitrogen concentration is the least squares loss function of the time regression weight multiplied by the sparse constraint multiplied by the spatial regression weight and the total nitrogen concentration; the sparse constraint of the time regression weight and the sparse constraint of the spatial regression weight are introduced by the bi-norm.