Spectral multi-metal ion concentration detection method based on temperature modulation

Through the spectral detection method based on temperature modulation, the neural network extracts the higher-order features of metal ion spectrum, solving the problem of signal overlap and difficulty in distinguishing in the detection of multimetal ion concentration, and achieving high accuracy and anti-interference detection of multimetal ion concentration.

CN119935921AActive Publication Date: 2025-05-06CHANGSHA UNIVERSITY OF SCIENCE AND TECHNOLOGY
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202510439339.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-09
Publication Date
2025-05-06
Estimated Expiration
2045-04-09

AI Technical Summary

Technical Problem

The prior art is difficult to accurately and synchronously determine the concentration of multiple metal ions, especially when the signal overlap in water and the signals of each ion are difficult to distinguish, it cannot meet the detection needs of environmental safety and human health.

Method used

Using a spectral polymetal ion concentration detection method based on temperature modulation, high-order features are constructed by analyzing the shape and intensity differences of metal ion spectrum under temperature changes, and features are extracted using neural networks and ion concentration regression models are established to achieve separation and extraction of features of each component.

Benefits of technology

The accuracy and anti-interference of the information separation and analysis of each component of the overlapping spectrum are improved, and the concentration of each metal ions can be accurately identified and measured in complex samples, solving the problems of similar properties of polymetal ions and high overlap of spectral signals.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119935921A_ABST
    Figure CN119935921A_ABST
Patent Text Reader

Abstract

The invention discloses a spectrum multi-metal ion concentration detection method based on temperature modulation, and relates to the technical field of spectrum quantitative analysis, and the method comprises the following steps: S1, designing a temperature modulation strategy, and obtaining a spectrum signal of temperature modulation; s2, constructing a spectrum two-dimensional matrix based on temperature modulation; s3, constructing a high-order feature extraction network based on a neural network, and establishing an ion concentration regression network; s4, training a feature extraction network and an ion concentration regression network; s5, obtaining a temperature modulation spectrum matrix of the to-be-detected sample; and step S6, inputting the temperature modulation spectrum of the sample to be detected into the trained model to obtain the concentration of the metal ion component. According to the detection method disclosed by the invention, the light absorption characteristic and the temperature-sensitive characteristic are analyzed according to the spectral shape and intensity change difference of each metal ion under the temperature change, and the high-order characteristic is constructed for characteristic separation and extraction, so that the accuracy and the anti-interference performance of information separation and analysis of each component of the overlapped spectrum are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of spectral quantitative analysis, and in particular to a spectral multi-metal ion concentration detection method based on temperature modulation. Background Art

[0002] Heavy metal ions are one of the common pollutants in water. In particular, industrial wastewater, metallurgical liquid, electroplating wastewater and other solutions contain a variety of metal ions. The ratio of different metal ion concentrations may vary greatly. For example, the concentration ratio of zinc ions to trace metal ions can be as high as 10. 3 This complexity requires that the detection method must be able to accurately and simultaneously measure the concentrations of multiple metal ions to ensure environmental safety and human health.

[0003] Commonly used physical and chemical methods, such as electrochemical methods, have limited accuracy when analyzing complex systems, and the electrode processing process is relatively cumbersome; although the colorimetric method has an intuitive measurement process, its lower limit of measurement is relatively high, and its sensitivity to heavy metal ions depends largely on the thickness of the membrane; the chemical precipitation method is suitable for measuring water bodies with high heavy metal ion content, but it is more sensitive to the pH of the measurement environment. These methods often require a pretreatment step to separate different metal ions using physical and chemical means, and then measure their concentrations separately. Therefore, most instruments using the corresponding methods can only measure the concentration of a single ion. When it is necessary to measure the concentration of multiple heavy metal ions, these methods are often difficult to meet the needs of multi-metal ion concentration detection due to the complex and time-consuming pretreatment process.

[0004] In recent years, spectral analysis has become an important qualitative, quantitative and structural analysis method for substances due to its advantages of sensitivity and rapidity. It has broad application prospects in industrial online component detection. It is a powerful tool for online detection of multiple metal ion concentrations due to its simple operation, fast detection speed and low construction and operation costs. However, the signals in water bodies have high overlap and mutual interference, and are affected by factors such as the on-site environment, stray light, and light source fluctuations, making it difficult to distinguish the spectral signals of each metal ion. Summary of the invention

[0005] In view of the problems that multiple metal ions in water have similar properties, high spectral signal overlap, and it is difficult to distinguish the signals of each ion, the present invention provides a spectral multi-metal ion concentration detection method based on temperature modulation. By examining the differences in the spectral shape and intensity changes of each metal ion under temperature changes, the absorption characteristics and temperature sensitivity of the metal ion spectra are comprehensively analyzed, and the corresponding high-order features are constructed. It is possible to separate and extract the characteristics of each component, thereby improving the accuracy and anti-interference of the separation and analysis of the information of each component in the overlapping spectra.

[0006] In order to solve the above technical problems, the technical solution proposed by the present invention is: A method for detecting the concentration of multi-metal ions by spectroscopy based on temperature modulation comprises the following steps: Step S1, designing a temperature modulation strategy to obtain a temperature modulated spectral signal; Step S2, constructing a two-dimensional spectrum matrix based on temperature modulation; Step S3, constructing a high-order feature extraction network based on a neural network, extracting spectral features in a two-dimensional matrix, and establishing an ion concentration regression network; Step S4, training a feature extraction network and an ion concentration regression network; Step S5, obtaining a temperature modulation spectrum matrix of the sample to be tested; Step S6, inputting the temperature modulation spectrum of the sample to be tested into the network model trained in step S4 to obtain the concentration of each metal ion component; In step S1, the temperature modulation spectrum signal acquisition steps are as follows: S11: Determine the fluctuation range of the concentration of each metal ion and analyze the law of the change of the spectrum of each metal ion with temperature; S12: Acquire spectral data collected from the sample at different temperature points to form an original data set, thereby forming a spectral curve of the sample.

[0007] As a further improvement of the above technical solution: Preferably, in step S2, the process of constructing a two-dimensional spectrum matrix is: S21: Obtain a set of standard sample spectral signals for modeling And the corresponding component content , the spectral data of each sample is a one-dimensional array, which contains the response values ​​of L spectral wavelengths at k temperature points, and the entire standard sample data set is a two-dimensional array; S22: Arrange the spectral data of the one-dimensional array in sequence according to the temperature modulation order to construct a two-dimensional spectral matrix of training samples based on temperature modulation ,The one-dimensional spectral data of each sample is reconstructed into a two-dimensional matrix, and each element in the two-dimensional matrix represents the spectral response value at a specific spectral wavelength and a specific temperature point.

[0008] Preferably, the step S3 specifically includes the following steps: S31: Constructing a spectral high-order feature extraction network based on neural network N F , used to capture complex patterns and features in spectral data; among them, the high-order feature extraction network N F The input is the two-dimensional spectral matrix of the training sample in step S2 ; S32: Using high-order feature extraction network N F Extract the two-dimensional spectral matrix of training samples The high-order features of , and transferred to the ion concentration regression model; S33: Ion concentration regression model N R Receive from the high-order feature extraction network N F The output of , through the calculation of the regression network, the predicted value of the metal ion concentration of each sample is obtained .

[0009] Preferably, in step S3, the feature extraction network N F Using convolutional neural network.

[0010] Preferably, the feature extraction network N F Based on two-dimensional convolutional layers; including convolutional layers, BatchNorm normalization layers, and LeakyRelu non-linear activation layers.

[0011] Preferably, the ion concentration regression model N R It consists of a fully connected layer and a regression layer. The fully connected layer maps the features extracted by the convolutional layer to a high-dimensional space, and the regression layer predicts the concentration value of the ion based on the features.

[0012] Preferably, in step S4, a back propagation algorithm is used to train the network weights.

[0013] Preferably, the step S4 specifically includes the following steps: S41: Define the loss function, take the mean square error as the main loss term, and add the L2 regularization term to the loss function; S42: Training model, using error back propagation algorithm to update ion concentration regression model N R And feature extraction network N F The weight in S43: Repeat S42 until the training is completed and the model is established.

[0014] Preferably, the step S5 specifically includes the following steps: S51: Obtain the spectral signal of the sample to be tested ; S52: Arrange the spectral curves of the samples in sequence according to the modulation order, and construct a two-dimensional spectral matrix of the test samples based on temperature modulation .

[0015] Preferably, the step S6 specifically includes the following steps: S61: Modulate the temperature of the sample to be tested to test the sample two-dimensional spectrum matrix Input high-order feature extraction network N F, get the high-order feature map of the sample to be tested ; S62: High-order feature map Input the quantitative analysis model to obtain the concentration results of each metal ion component in the sample.

[0016] The temperature modulation-based spectral multi-metal ion concentration detection method provided by the present invention has the following advantages compared with the prior art: (1) The temperature modulation-based spectral multi-metal ion concentration detection method of the present invention introduces the difference in temperature sensitivity of metal ion spectra, obtains the temperature-sensitive characteristics of ion spectra through temperature modulation, analyzes the temperature-sensitive characteristics of each metal ion, forms high-order characteristics, and realizes the separation and extraction of the characteristics of each component. Through this method, the characteristics of each component in a complex sample can be effectively separated and extracted, and the concentration of each metal ion can be accurately identified and determined even when the spectral signals are highly overlapped.

[0017] (2) The temperature modulation-based spectral multi-metal ion concentration detection method of the present invention can realize the separation and extraction of the characteristics of each component, improve the accuracy and anti-interference of the separation and analysis of the information of each component of the overlapping spectrum, and solve the problem that the properties of multi-metal ions are similar, the spectral signal overlap is high, and the signals of each ion are difficult to distinguish. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1 The present invention is a flow chart of the spectral multi-metal ion concentration detection method based on temperature modulation.

[0019] Figure 2 In the embodiment of the present invention, 16 mg / L Zn + , 1.6 mg / L Cu + and 1.6mg / L Ni + Schematic diagram of the solution spectrum curve changing with temperature.

[0020] Figure 3 In the embodiment of the present invention, 8 mg / L Zn + 、8mg / L Cu + and 1.6mg / L Ni + Schematic diagram of the solution spectrum curve changing with temperature.

[0021] Figure 4 In the embodiment of the present invention, 8 mg / L Zn + 、1.6mg / L Cu + and 4mg / L Ni + Schematic diagram of the solution spectrum curve changing with temperature.

[0022] Figure 5Schematic diagram of the intensity and shape of the zinc ion spectrum curve changing with temperature in an embodiment of the present invention.

[0023] Figure 6 Schematic diagram of the intensity and shape of the copper ion spectrum curve changing with temperature in an embodiment of the present invention.

[0024] Figure 7 Schematic diagram of the intensity and shape of the nickel ion spectrum curve changing with temperature in an embodiment of the present invention.

[0025] Figure 8 Schematic diagram of the feature extraction network and ion concentration regression model in an embodiment of the present invention. DETAILED DESCRIPTION

[0026] The specific implementation methods of the present invention are described in detail below. It should be understood that the described embodiments are only some embodiments of the present invention, not all. Based on these examples, those skilled in the art can understand and implement all other possible implementation methods of the present technical solution without performing creative work, and these implementation methods also belong to the protection scope of the present technical solution. The protection of the present technical solution is not limited to the specific embodiments described in the text, but also includes all equivalent implementation methods, which are all organic parts of the present invention.

[0027] like Figure 1 As shown, the spectral multi-metal ion concentration detection method based on temperature modulation of the present invention comprises the following steps: Step S1, designing a temperature modulation strategy to obtain a temperature modulated spectral signal.

[0028] The implementation steps are as follows: S11: Determine the fluctuation range of each metal ion concentration based on field collection and historical data, and analyze the law of each metal ion spectrum changing with temperature. Understand the concentration changes of metal ions in the sample and provide a basis for the subsequent temperature point design.

[0029] S12: Acquire spectral data collected at different temperature points of the sample to form an original data set. Collect the spectrum of the sample at the selected spectral measurement temperature point to obtain spectral data under different temperature conditions. Integrate the spectral data collected at different temperature points to form a spectral curve of the sample, and form an original spectral data set based on temperature modulation.

[0030] Step S2, arranging the spectral curves of the samples in sequence according to the modulation order, and constructing a spectral two-dimensional matrix based on temperature modulation.

[0031] The two-dimensional spectral matrix of the training samples is constructed The process is as follows: S21: Obtain a set of standard sample spectral signals for modeling And its corresponding component content , It consists of M samples. The spectral data of each sample contains the spectral response of the sample at L spectral wavelengths at k temperature points. The spectral data of each sample is regarded as a one-dimensional array, which contains the response values ​​of L spectral wavelengths at k temperature points. The entire standard sample data set is represented as a two-dimensional array of size M×(L×k).

[0032] S22: Arrange the spectral data of the one-dimensional array in sequence according to the temperature modulation order to construct a two-dimensional spectral matrix of training samples based on temperature modulation , the one-dimensional spectral data of each sample is reconstructed into a two-dimensional matrix with a size of L×k. Each element in this two-dimensional matrix represents the spectral response value at a specific spectral wavelength and a specific temperature point. It contains the spectral response information of the sample at different temperatures, and in a structured form, provides a basis for subsequent data analysis and model building.

[0033] Step S3, constructing a feature extraction network based on deep learning, extracting spectral features in the two-dimensional matrix, and establishing an ion concentration regression network.

[0034] The specific steps include: S31: Constructing a spectral high-order feature extraction network based on a two-dimensional convolutional neural network (CNN) F , which is used to process two-dimensional spectral matrices and capture complex patterns and features in spectral data. F The input is the two-dimensional spectral matrix of the training sample in step S2 .

[0035] Feature extraction network N F The design adopts the convolutional neural network (CNN) architecture in deep learning. F It consists of two layers of two-dimensional convolutional layers, namely Conv1 and Conv2, where Conv1 includes 8 convolution kernels, each of which is 3×3 in size, and Conv2 includes 16 convolution kernels, each of which is 3×3 in size. The operation process of the two-dimensional convolutional layer includes convolution operation, BatchNorm normalization operation and LeakyRelu non-linear activation operation. The convolution operation is the core of CNN. It performs weighted summation of input data through sliding convolution kernels to extract local features. BatchNorm normalization operation is used to adjust and normalize the output of the layer to speed up the training process and improve the stability of the model. The LeakyRelu activation operation introduces nonlinearity, allowing the model to learn more complex feature representations.

[0036] S32: Using high-order feature extraction network NF Extract the two-dimensional spectral matrix of training samples The network gradually extracts the deep features of the spectral data through multiple convolutional layers and activation functions to form a high-order feature map , and transferred to the ion concentration regression model. The high-order characteristic graph can more accurately reflect the spectral characteristics of the sample and provide rich information for subsequent regression analysis.

[0037] S33: Regression Network N R Receive from the high-order feature extraction network N F The output of , and further processing and analysis are carried out to obtain the predicted value of metal ion concentration of each sample through regression network calculation. .

[0038] Ion concentration regression model N R It consists of a fully connected layer and a regression layer. The fully connected layer maps the features extracted by the convolutional layer to a high-dimensional space, while the regression layer is responsible for predicting the concentration value of the ion based on these features.

[0039] Step S4, training the feature extraction network and the ion concentration regression network.

[0040] Network Figure 8 As shown in Figure 1, the network weights are trained using the back propagation method and the Adamw optimizer. Adamw is an improved Adam optimizer that uses a more rigorous weight decay. Unlike traditional weight decay, its weight decay is only used in the final update formula and does not include momentum calculation.

[0041] The specific steps include: S41: Define the loss function Loss, take the mean square error as the main loss term, and add the L2 regular term to the loss function to prevent the model from overfitting. The expression of the loss function Loss is: ; in, Indicates i The predicted concentration value of samples, Indicates i The true concentration value of the sample, w represents N R and N F All weight matrices in , M represents the number of training samples, and λ is the regularization parameter.

[0042] S42: Update N using the error back propagation algorithm R and N F The weight in .

[0043] Assume that the model parameter to be optimized is θ, the learning rate is η, the iteration period is epoch t, ​​and the gradient at the tth epoch is , first calculate the exponentially weighted average of the squared gradients : ; Then calculate the exponentially weighted average of the gradients : ; in and They are the decay rates of the two moving averages, 0.9 and 0.999 respectively.

[0044] Correction for deviation: ; ; Calculate parameters and update parameters: ; in, is the learning rate, is a small constant used to avoid the denominator being 0, usually with a value of 1e-8. is the regularization coefficient used to prevent overfitting.

[0045] S43: Repeat S42 until the training is completed and the final model is established.

[0046] Step S5, obtaining the temperature modulation spectrum of the sample to be tested.

[0047] The specific steps include: S51: Obtain the spectral signal of the sample to be tested .

[0048] S52: Arrange the spectral curves of the samples in sequence according to the modulation order, and construct a two-dimensional spectral matrix of the test samples based on temperature modulation .

[0049] Step S6: input the temperature modulation spectrum of the sample to be tested into the trained high-order feature extraction network N F And the regression network N R The concentration of each metal ion component is obtained.

[0050] The specific steps include: S61: Modulate the temperature of the sample to be tested to test the sample two-dimensional spectrum matrix Input high-order feature extraction network N F , get the high-order feature map of the sample to be tested .

[0051] S62: High-order feature map Input regression model N R , and obtain the concentration results of each metal ion component in the sample.

[0052] Experimental verification: Taking zinc, copper and nickel as examples, the difference of spectral temperature sensitivity characteristics is detected. Figure 2 , 3 As shown in Figure 4, the spectral curves of solutions containing different concentrations of zinc, copper, and nickel ions change with temperature. Taking solutions containing different concentrations of zinc, copper, and nickel metal ions as the object, the spectrum of the solution is temperature modulated, and a spectral two-dimensional matrix based on temperature modulation is constructed. Then, a high-order feature extraction network N based on a neural network is used to extract the spectral matrix. F Extract high-order feature maps and then input them into the regression network N R The prediction results of the samples are obtained. The loss function is calculated based on the deviation between the predicted value and the true value, and the network weights are updated using the error back propagation algorithm, and finally a multi-metal ion concentration detection model is obtained.

[0053] The specific process is as follows: Step S1, designing a temperature modulation strategy to obtain a temperature modulated spectral signal.

[0054] First, if Figure 5 , Figure 6 and Figure 7 As shown in the figure, the intensity and shape of the spectral curves of zinc, copper and nickel ions show obvious differences with temperature changes, providing the information required for separation and analysis of overlapping signals. According to the concentration range of zinc, copper and nickel ions commonly found in hydrometallurgical zinc smelting liquid, a series of solutions containing metal ions are prepared. The ion concentration of the solution is controlled in the range of 0 mg / L to 10.0 mg / L to simulate the different concentration levels that may be encountered in actual industrial processes.

[0055] Next, at different test temperatures, a UV-visible spectrophotometer was used to measure the UV-visible absorption spectrum intensity of the solution. When designing the temperature points for spectral modulation and spectral acquisition, the principle of maximizing the spectral difference between ions was followed. This means that the selected temperature point can maximize the difference between the spectra of different ions, thereby improving the discrimination and accuracy of spectral analysis. Specifically, in the temperature range of 40°C to 90°C, the spectral signal of the ion solution is measured every 10°C, and a series of spectral data collected at different temperature points are obtained. The collected spectral data are integrated to form the spectral curve of the sample, forming an original spectral data set based on temperature modulation.

[0056] Step S2, arranging the spectral curves of the samples in sequence according to the modulation order, and constructing a spectral two-dimensional matrix based on temperature modulation.

[0057] The spectral matrix consists of 100 samples, including the spectral response data of these samples at 400 wavelengths (400~800nm) at 6 temperature points (40℃-90℃). Through the SPXY segmentation method, 80 samples are selected from these 100 samples to form the training set signal and , the remaining 20 samples constitute the test set signal and , The size is 80×2400, The size is 20×2400.

[0058] In the process of constructing a two-dimensional spectral matrix, the collected sample spectral response data are first arranged according to the temperature point sequence, i.e., 40°C, 50°C, 60°C, 70°C, 80°C, and 90°C, to maintain the consistency and comparability of the data and obtain a two-dimensional spectral matrix.

[0059] Next, the spectral signals at the same temperature in the dataset are normalized to eliminate the dimensional differences by scaling the data to a common range. The two-dimensional spectral matrix of the training set is The size is 80×400×6.

[0060] Step S3: construct a high-order feature extraction network N based on a neural network F , extract the spectral features in the two-dimensional matrix and establish the ion concentration regression model N R .

[0061] Step S4, training feature extraction network N F and ion concentration regression network N R .

[0062] When the error increases for 10 consecutive cycles or the preset number of training epochs is completed, the final quantitative analysis model is established.

[0063] Step S5, obtaining a two-dimensional spectrum matrix of the temperature-modulated test sample of the sample to be tested .

[0064] Use the spectral signal of the sample to be tested Test the performance of the regression model. According to steps S1 and S2, we can obtain , whose size is 20×400×6, contains the spectral response data of 20 samples at 400 wavelengths at 6 temperature points.

[0065] Step S6: Modulate the temperature of the sample to be tested to obtain a two-dimensional spectrum matrix of the sample The data are input into the trained high-order feature extraction network and regression network to obtain the concentration of each metal ion component.

[0066] The test sample two-dimensional spectrum matrix Input the trained feature extraction network and regression network to get the output To evaluate the performance of the model, we calculated and RMSE and R 2 , these two indicators are commonly used indicators to measure the prediction accuracy of regression models. RMSE measures the difference between the predicted value and the actual value, while R 2 It measures how well the model explains the variability in the data. RMSE and R 2 The calculation formula is as follows: ; ; Where N is the number of test set samples, N is 20, and Respectively represent i The actual and predicted values ​​of samples.

[0067] The measurement results of the solution were compared and analyzed based on the original spectrum at room temperature, the spectrum at each temperature point combined with one-dimensional CNN, and the temperature-modulated two-dimensional spectrum combined with two-dimensional CNN. In order to ensure the reliability of the results, each method was used to repeat the modeling 100 times and the results were statistically analyzed. The determination coefficient R 2 The root mean square error (RMSE) is shown in Table 1.

[0068] Table 1: method RMSE <![CDATA[R 2 ]]> Normal temperature-CNN 0.0439±0.0058 0.9329±0.0162 40℃-CNN 0.0484±0.0053 0.9225±0.0184 50℃-CNN 0.0527±0.0063 0.9128±0.0201 60℃-CNN 0.0517±0.0065 0.9369±0.0128 70℃-CNN 0.0491±0.0069 0.9326±0.0228 80℃-CNN 0.0489±0.0061 0.9291±0.0161 90℃-CNN 0.0512±0.0049 0.9339±0.0148 Temperature Modulated Two-Dimensional Spectroscopy - 2DCNN 0.0382±0.0021 0.9541±0.0042 As shown in Table 1, the RMSE of the spectral multi-metal ion concentration detection method based on temperature modulation of the present invention is 0.0382±0.0021, R 2 It is 0.9541±0.0042. Compared with other methods, the model of this method not only has higher explanatory power, but also shows good stability.

[0069] In summary, the temperature-modulated spectral multi-metal ion concentration detection method and device of the present invention can effectively separate and extract the characteristics of each component, solving the problems of similar properties of multi-metal ions, high overlap of spectral signals, and difficulty in distinguishing signals of each ion. Through the combination of temperature modulation and deep learning technology, this method provides a new and efficient solution for multi-component analysis in complex samples.

[0070] The above implementation cases are only preferred embodiments of the present invention and are not intended to limit the present invention in any form. Although the present invention has been disclosed as above with preferred embodiments, they are not intended to limit the present invention. Therefore, any simple modification, equivalent changes and modifications made to the above embodiments according to the technical essence of the present invention without departing from the content of the technical solution of the present invention shall fall within the scope of protection of the technical solution of the present invention.

Claims

1. A spectral multi-metal ion concentration detection method based on temperature modulation, characterized in that: The following steps are involved: Step S1, designing a temperature modulation strategy to obtain a temperature modulated spectral signal; Step S2, constructing a two-dimensional spectrum matrix based on temperature modulation; Step S3, constructing a high-order feature extraction network based on a neural network, extracting spectral features in a two-dimensional matrix, and establishing an ion concentration regression network; Step S4, training a feature extraction network and an ion concentration regression network; Step S5, obtaining a temperature modulation spectrum matrix of the sample to be tested; Step S6, inputting the temperature modulation spectrum of the sample to be tested into the network model trained in step S4 to obtain the concentration of each metal ion component; In step S1, the temperature modulation spectrum signal acquisition steps are as follows: S11: Determine the fluctuation range of the concentration of each metal ion and analyze the law of the change of the spectrum of each metal ion with temperature; S12: Acquire spectral data collected from the sample at different temperature points to form an original data set, thereby forming a spectral curve of the sample.

2. The temperature modulation-based spectral multi-metal ion concentration detection method according to claim 1, characterized in that: In step S2, a two-dimensional spectrum matrix of training samples is constructed. The process is: S21: Obtain a set of standard sample spectral signals for modeling And the corresponding component content , the spectral data of each sample is a one-dimensional array, which contains the response values ​​of L spectral wavelengths at k temperature points, and the entire standard sample data set is a two-dimensional array; S22: Arrange the spectral data of the one-dimensional array in sequence according to the temperature modulation order to construct a two-dimensional spectral matrix of training samples based on temperature modulation ,The one-dimensional spectral data of each sample is reconstructed into a two-dimensional matrix, and each element in the two-dimensional matrix represents the spectral response value at a specific spectral wavelength and a specific temperature point.

3. The temperature modulation-based spectral multi-metal ion concentration detection method according to claim 2, characterized in that: The step S3 specifically includes the following steps: S31: Constructing a spectral high-order feature extraction network based on neural network N F , used to capture complex patterns and features in spectral data; among them, the high-order feature extraction network N F The input is the two-dimensional spectral matrix of the training sample in step S2 ; S32: Using high-order feature extraction network N F Extract the two-dimensional spectral matrix of training samples The high-order features of , and transferred to the ion concentration regression model; S33: Ion concentration regression model N R Receive from the high-order feature extraction network N F The output of , through the calculation of the regression network, the predicted value of the metal ion concentration of each training sample is obtained .

4. The temperature modulation-based spectral multi-metal ion concentration detection method according to claim 3 is characterized in that: In step S3, the feature extraction network N F Using convolutional neural network.

5. The temperature modulation-based spectral multi-metal ion concentration detection method according to claim 4, characterized in that: In step S3, the feature extraction network N F Based on two-dimensional convolutional layers; including convolutional layers, BatchNorm normalization layers, and LeakyRelu non-linear activation layers.

6. The temperature modulation-based spectral multi-metal ion concentration detection method according to claim 3, characterized in that: The ion concentration regression model N R It consists of a fully connected layer and a regression layer. The fully connected layer maps the features extracted by the convolutional layer to a high-dimensional space, and the regression layer predicts the concentration value of the ion based on the features.

7. The method for detecting the concentration of multi-metal ions by spectroscopy based on temperature modulation according to claim 3, characterized in that: In step S4, the network weights are trained using a back propagation algorithm.

8. The temperature modulation-based spectral multi-metal ion concentration detection method according to claim 7, characterized in that: The step S4 specifically includes the following steps: S41: Define the loss function, take the mean square error as the main loss term, and add the L2 regularization term to the loss function; S42: Training model, using error back propagation algorithm to update ion concentration regression model N R And feature extraction network N F The weight in S43: Repeat S42 until the training is completed and the model is established.

9. The method for detecting the concentration of multi-metal ions by spectroscopy based on temperature modulation according to claim 8, characterized in that: The step S5 specifically includes the following steps: S51: Obtain the spectral signal of the sample to be tested ; S52: Arrange the spectral curves of the samples in sequence according to the modulation order, and construct a two-dimensional spectral matrix of the test samples based on temperature modulation .

10. The method for detecting the concentration of multi-metal ions by spectroscopy based on temperature modulation according to claim 8, characterized in that: The step S6 specifically includes the following steps: S61: Modulate the temperature of the sample to be tested to test the sample two-dimensional spectrum matrix Input high-order feature extraction network N F , get the high-order feature map of the sample to be tested ; S62: High-order feature map Input the quantitative analysis model to obtain the concentration results of each metal ion component in the sample.

Citation Information

Patent Citations

  • Mixed substance component concentration detection method, device and equipment and storage medium

    CN111289459A

  • Water quality detection method and device for eliminating temperature influence and computer equipment

    CN111678877A

  • Detection method for simultaneously determining multiple heavy metals in electroplating discharge wastewater

    CN114778467A

  • Spectral quantitative analysis method based on two-dimensional reconstruction

    CN115859029A

  • Method for analysing multicomponent aqueous solution

    JP1998030982A