A demodulation method for multi-parameter optical fiber sensing signals of seawater temperature, salinity and pressure

The particle swarm algorithm is used to optimize the support vector machine regression model, which solves the problem of error amplification in the multi-parameter demodulation of optical fiber sensing signals, and achieves high-accuracy measurement of seawater temperature, salinity, and pressure, which is superior to traditional methods and other machines. learning methods.

CN115355932BInactive Publication Date: 2024-09-17OCEAN UNIV OF CHINA
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110486831.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-05-02
Publication Date
2024-09-17
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Traditional optical fiber sensing signal demodulation methods have large demodulation errors in multi-parameter sensing. Especially when the parameters increase to three or more, the error caused by cross-sensitivity is amplified in a series, making it difficult to achieve accurate Measurement.

Method used

The particle swarm algorithm is used to optimize the support vector machine regression model. By collecting the transmission spectrum signal of the microfiber coaxial Mach-Zehnder interferometer, a sample library is established and trained. The radial basis function is used as the kernel function to optimize the penalty factor C and kernel. Function parameter σ improves the accuracy of model prediction.

Benefits of technology

It significantly reduces the measurement error in multi-parameter sensing and improves the measurement accuracy of temperature, salinity and pressure. It performs better than traditional methods and other machine learning methods, especially in small sample learning and processing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115355932B
    Figure CN115355932B
Patent Text Reader

Abstract

The present invention relates to a method for demodulating multi-parameter optical fiber sensing signals of seawater temperature, salinity and pressure. The method solves the problem of large errors that often occur when demodulating signals of interference-type optical fiber devices in multi-parameter measurements of temperature, salinity and pressure. The steps of the present invention are: (1) using a micro-fiber coaxial Mach-Zehnder interferometer sensor to measure the transmission spectrum of seawater under different temperatures, salinities and pressures; (2) smoothing the spectrum signal and extracting several peak or trough wavelength values; building a sample library of the wavelength value and the temperature, salinity and pressure data corresponding to the spectrum, randomly selecting most of the data as a training set, and the remaining data as a test set; (3) sending the training set data obtained in step (2) to the particle swarm algorithm to optimize the support vector machine regression model training to obtain the temperature, salinity and pressure prediction model of the sensor; (4) selecting several peak or trough wavelength values ​​under any temperature, salinity and pressure condition in the test set, and sending them to the trained model in step (3) to predict the temperature, salinity and pressure value of the test environment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a method for accurately demodulating multi-parameter sensing signals by using machine learning when sensing multiple parameters with cross-sensitivity in the field of optical fiber sensing. The method is applicable to measuring instruments or systems including interferometric photonic devices such as micro-fiber coaxial Mach-Zehnder interferometers. The method specifically relates to an optical fiber sensing signal processing method using a particle swarm algorithm to optimize a support vector machine regression model. Technical Background

[0002] The micro-fiber coaxial Mach-Zehnder interferometer uses the interference between the higher-order modes excited in the non-adiabatic taper region of the micro-fiber and the fundamental mode to form an interference spectrum. Since the evanescent field in the waist region of the micro-fiber can diffuse into the external environment, when the external environment changes, it will cause changes in the propagation constants of each mode, thereby causing the spectral resonance peak to move or the light intensity to change, thereby realizing the sensing function. Therefore, the changes in temperature, salinity, and pressure parameters in seawater can be measured by the movement of the spectral resonance peak.

[0003] Micro-fiber Mach-Zehnder interferometer sensors have been applied in many fields and experiments such as physics, biology, chemistry, environmental protection and health monitoring. However, when there is cross-sensitivity between the sensing objects, it will bring difficulties to signal demodulation. The traditional sensitivity matrix demodulation method can solve the demodulation problem of two parameters with cross-sensitivity, but when the parameters increase to three or more, the demodulation error caused by the cross-sensitivity is amplified exponentially, resulting in a large demodulation error. Summary of the invention

[0004] The present invention proposes a seawater temperature, salinity and pressure multi-parameter optical fiber sensing signal demodulation method, which can significantly improve the accuracy of demodulation of multiple parameters in multi-parameter sensing and reduce measurement errors.

[0005] In order to achieve the purpose of the present invention, the present invention provides a method for processing optical fiber sensing signals based on a particle swarm algorithm to optimize a support vector machine regression model.

[0006] The technical solution of the present invention is as follows:

[0007] Step (1) collecting the transmission spectrum of the sensor under different temperatures, salinities and pressures (temperature, salinity and pressure) of seawater measured by a micro-fiber coaxial Mach-Zehnder interferometer sensor;

[0008] Step (2) smoothing all the collected spectral signals and extracting the wavelength values ​​of multiple peaks / troughs in each spectrum, establishing a sample library with the extracted wavelength values ​​and the temperature, salt and pressure data corresponding to the spectrum, randomly selecting most of the data and putting them into the training set (for model training), and the remaining small amount of data into the test set (for model verification);

[0009] Step (3) using the multiple wavelength values ​​of the spectrum contained in the training set obtained in step (2) and the temperature-salinity-pressure data corresponding to the set of wavelength values ​​as the training set data of the support vector machine regression model, and using the particle swarm algorithm to optimize the parameters and train the model;

[0010] Step (4) sends the multiple wavelength values ​​of any spectrum contained in the test set obtained in step (2) to the model trained in step (3), predicts the temperature, salinity, and pressure values ​​of the test environment corresponding to the spectrum, and then realizes the measurement of temperature, salinity, and pressure values ​​under any temperature, salt, and pressure conditions.

[0011] The kernel function used in the above step (3) is the radial basis function because it has the advantages of good determination coefficient performance, stable calculation time and strong spatial representation ability.

[0012] In the above step (3), the particle swarm algorithm is used to optimize two parameters in the support vector regression model: the penalty factor C and kernel function parameters σ , find the optimal parameters to make the prediction in the support vector regression machine model most accurate.

[0013] Compared with the prior art, the advantages of the present invention are:

[0014] 1. The advantage of the present invention is that compared with the traditional processing method of optical fiber sensor signals (such as the column sensitivity matrix method), the use of this method greatly reduces the error amount and improves the accuracy of the test results.

[0015] 2. Compared with other machine learning methods such as BP neural network, the support vector machine regression model optimized based on particle swarm algorithm is more suitable for learning and processing small samples (the same data set can be used, different models can be trained, the predicted results can be compared with the measured results, and the average error between the predicted results and the measured results can be calculated for verification). BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 It is the work flow chart of the present invention.

[0017] Figure 2 The spectral signal of a typical micro-fiber coaxial Mach Zehnder interferometer sensor after smoothing changes with temperature, salinity and pressure.

[0018] Figure 3 Flowchart for optimizing a support vector machine regression model for a particle swarm optimization algorithm.

[0019] Figure 4 This is the error comparison between the regression model prediction results proposed in the present invention and the CTD measured results.

[0020] Figure 5The error comparison between the results obtained by the traditional sensitivity matrix method and the CTD measured results. DETAILED DESCRIPTION

[0021] The present invention will be further described below in conjunction with the accompanying drawings and examples of the present invention.

[0022] See also Figure 1 The present invention provides a method for demodulating multi-parameter optical fiber sensing signals of seawater temperature, salinity and pressure, which specifically comprises the following steps:

[0023] Step (1): Use a supercontinuum light source and a spectrometer to test the transmission spectrum of the micro-fiber coaxial Mach Zehnder interferometer sensor under certain temperature, salinity, and pressure conditions; change the temperature, salinity, and pressure conditions of the test environment to obtain multiple sets of sensor transmission spectra under different temperature, salinity, and pressure conditions (the sensors and experimental equipment used during the experiment are not changed to ensure the validity and accuracy of the data). Typical spectra are shown in the figure below. Figure 2 As shown, a temperature, salinity and pressure information of the test environment is recorded synchronously using a temperature-salinity-depth instrument (CTD).

[0024] Step (2): Smooth the transmission spectrum signal obtained above and extract the wavelength values ​​of multiple peaks in each spectrum signal. The extracted wavelength values ​​and the temperature, salt and pressure data corresponding to the spectrum are established into a sample library, and the sample library data is randomly divided into two groups at a ratio of about 8:2, the group with more data is used as the training set, and the group with less data is used as the test set.

[0025] Step (3): The peak or trough wavelength value of the spectral signal in the training set obtained in step (2) and the temperature, salinity and pressure data corresponding to the spectrum are input into the particle swarm algorithm optimized support vector machine regression model to train the model, thereby obtaining the optical fiber sensing signal demodulation model:

[0026] The fitting function for the training set is:

[0027]

[0028] The radial basis function is selected as the kernel function of the support vector machine regression model, and its expression is:

[0029]

[0030] When the support vector regression model is learned, the particle swarm algorithm is used to calculate the penalty factor in the support vector regression model. C , the kernel function parameter σ is optimized until the training is completed.

[0031] The particle swarm algorithm process is as follows: first, the particle swarm is randomly initialized, then the fitness function is defined, the fitness of each particle is calculated, and then the optimal value is found for each particle. From these optimal values, a global value is found, which is called the current global optimal value. It is compared with the previous optimal value and updated. In each iteration, each particle changes its position according to the new speed, and the update formula is:

[0032]

[0033] in xBest and gBest Represent the optimal particle position and the optimal group position respectively, and the parameters ω、c 1 、c 2 、r 1 and r 2 are inertia weight, two positive constants and two random parameters in [0,1]. The training flow chart of particle swarm algorithm to optimize support vector machine regression model is as follows: Figure 3 shown.

[0034] Step (4): The wavelength value of any sample spectrum in the test set obtained in step (2) is sent to the model trained in step (3) to predict the temperature, salinity, and pressure values ​​of the test environment corresponding to the spectrum, thereby realizing the measurement of temperature, salinity, and pressure values ​​under any temperature, salt, and pressure conditions.

[0035] In this example, step (1) is specifically as follows: connect one end of the micro-fiber Mach-Zehnder interferometer sensor to the supercontinuum light source and the other end to the spectrometer, and place the micro-fiber Mach-Zehnder interferometer sensor itself and the CTD in a pressure tank (the initial salinity in the pressure tank is 0‰). After the pressure tank is sealed, the pressure tank is heated slightly. When it stabilizes at a certain temperature, the pressure tank is pressurized. When the pressure indication number is stable, the spectrum is displayed, recorded and exported from the spectrometer. The temperature of the pressure tank is changed to obtain spectra under different temperature conditions.

[0036] Open the pressure tank, change the salinity of the liquid in the pressure tank, seal the pressure tank, and repeat the above process. Then, 400 sets of spectral data of the micro-fiber Mach-Zehnder interferometer sensor under different temperature, salinity, and pressure conditions are obtained, among which the typical spectrum is shown in Figure 2 As shown, (a) is the transmission spectrum of the micro-fiber sensor at different temperatures; (b) is the transmission spectrum of the micro-fiber sensor at different pressures; (c) is the transmission spectrum of the micro-fiber sensor at different salinities.

[0037] In this example, the equipment used for measuring the spectrum is a supercontinuum light source, an AQ6370C spectrometer, a pressure tank, a pressure pump (with a pressure gauge), and a CTD.

[0038] In this example, step (2) is as follows: import all spectra derived from the spectrometer into a computer, use origin software to smooth them, and find 5 peaks or troughs from the spectrum; at the same time, use CTD to automatically record the ambient temperature, salinity, and pressure during the spectrum test. The extracted wavelength values ​​and the temperature, salinity, and pressure data corresponding to the spectrum are established as a sample library, and the sample library data is randomly divided into two groups at a ratio of about 8:2. The group with more data is used as the training set (the number of samples is 325), and the group with less data is used as the test set (the number of samples is 75).

[0039] In this example, step (3) is to establish a mapping relationship between the five interference trough wavelength values ​​and temperature, pressure and salinity through the model training process. The input of the model is a training set containing about 325 feature vectors.

[0040] In this example, step (4) is to use the trained model to predict the temperature-salinity-pressure value. Substitute any data in the test set (the five trough values ​​in any test spectrum) into the model, and the model predicts the temperature-salinity-pressure corresponding to the spectrum, and uses the CTD measured data to verify the predicted value; repeating this step can achieve prediction and verification of multiple different data in the test set.

[0041] We randomly select 5 data from the test set to predict and test them. The results are as follows Figure 4 As shown in Figure 2, the minimum average relative error of the three parameters is 1.9%, the maximum average relative error is 7.1%, and the overall average relative error is 3.7%. The error results obtained by processing the same spectral data using the traditional sensitivity matrix data processing method are as follows: Figure 5 As shown in the figure, the minimum average relative error of the three parameters is 8.2%, the maximum average relative error is 34.3%, and the overall average relative error is 23.5%. It is obvious that the use of particle swarm optimization to optimize the support vector machine regression model to process the spectral signals of the micro-fiber coaxial Mach-Zehnder interferometer sensor measuring seawater temperature, salinity, and pressure parameters can effectively reduce the error.

[0042] When all 75 data of the test set were used for prediction and testing, the average relative error of temperature was 4.3%, the average relative error of salinity was 6.9%, the average relative error of pressure was 3.6%, and the average error of the three parameters was 4.9%. When the BP neural network model was trained with the same training set, and the same five data used in the sensitivity matrix method were predicted and tested, the average error of the three parameters was 15.3%, which was 4-5 times larger than the error of the prediction result of the support vector regression machine model by the particle swarm algorithm.

[0043] The above description is only a preferred embodiment of the present invention. All equivalent changes and modifications made according to the scope of the patent application of the present invention should fall within the scope of the present invention.

Claims

1. A method for demodulating multi-parameter optical fiber sensing signals of seawater temperature, salinity and pressure, characterized by: The following steps are involved: Step (1) using a micro-fiber coaxial Mach-Zehnder interferometer sensor to measure the transmission spectrum of the sensor at different temperatures, salinities, and pressures of seawater, i.e., different temperatures, salinities, and pressures; Step (2) smoothing all the collected spectral signals, and extracting the wavelength values ​​of multiple peaks / troughs from each spectrum, establishing a sample library with the extracted wavelength values ​​and the temperature, salt and pressure data corresponding to the spectrum, randomly selecting most of the data and putting them into the training set for model training, and the remaining small amount of data into the test set for model verification; Step (3) using the wavelength values ​​of multiple peaks / troughs in the training set obtained in step (2) and the temperature-salinity-pressure data corresponding to the spectrum as data inputs of the support vector machine regression model, using the particle swarm algorithm to optimize the parameters, and then using the training set data to train the model; Step (4) uses the wavelength values ​​of several peaks or troughs of the sensor in the test set under arbitrary temperature, salinity and pressure conditions extracted in step (2) and feeds them into the model trained in step (3) to predict the temperature, salinity and pressure values ​​of the test environment corresponding to the spectrum.

2. The method for demodulating multi-parameter optical fiber sensing signals of seawater temperature, salinity and pressure according to claim 1 is characterized in that The particle swarm algorithm is used to optimize the support vector machine regression model to process the spectral signals of seawater temperature, salinity and pressure parameters measured by the micro-fiber coaxial Mach-Zehnder interferometer sensor.

3. The method for demodulating multi-parameter optical fiber sensing signals of seawater temperature, salinity and pressure according to claim 1 is characterized in that The radial basis function is selected as the kernel function of support vector regression, and its expression is: where σ is the kernel function parameter.

4. The method for demodulating seawater temperature, salinity and pressure multi-parameter optical fiber sensing signals according to claim 1 is characterized in that Parameters in the support vector regression machine optimization model using particle swarm optimization: penalty factor C And the kernel function parameters σ are continuously optimized until the training is completed.